react-timelane 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/.storybook/main.ts +11 -0
  2. package/.storybook/package.json +3 -0
  3. package/.storybook/preview.ts +14 -0
  4. package/LICENSE +21 -0
  5. package/README.md +5 -16
  6. package/dist/components/Timelane/Timelane.d.ts +38 -0
  7. package/dist/components/Timelane/Timelane.stories.d.ts +19 -0
  8. package/dist/components/TimelaneAllocation/TimelaneAllocation.d.ts +10 -0
  9. package/dist/components/{TimelaneAside.d.ts → TimelaneAside/TimelaneAside.d.ts} +2 -3
  10. package/dist/components/{TimelaneBackground.d.ts → TimelaneBackground/TimelaneBackground.d.ts} +1 -2
  11. package/dist/components/{TimelaneBody.d.ts → TimelaneBody/TimelaneBody.d.ts} +1 -2
  12. package/dist/components/{TimelaneBodyInner.d.ts → TimelaneBody/TimelaneBodyInner.d.ts} +1 -1
  13. package/dist/components/TimelaneHeader/DaysHeader.d.ts +1 -2
  14. package/dist/components/TimelaneHeader/MonthsHeader.d.ts +1 -2
  15. package/dist/components/TimelaneHeader/TimelaneHeader.d.ts +1 -2
  16. package/dist/components/TimelaneHeader/WeeksHeader.d.ts +1 -2
  17. package/dist/components/TimelaneHeader/index.d.ts +4 -4
  18. package/dist/components/TimelaneLane/TimelaneLane.d.ts +1 -2
  19. package/dist/components/TimelaneLane/TimelaneLane.stories.d.ts +9 -0
  20. package/dist/components/{TimelaneSettingsContext.d.ts → TimelaneSettingsProvider/TimelaneSettingsContext.d.ts} +1 -1
  21. package/dist/components/TimelaneSettingsProvider/TimelaneSettingsProvider.d.ts +11 -0
  22. package/dist/components/TimelaneSettingsProvider/TimelaneSettingsProvider.stories.d.ts +9 -0
  23. package/dist/hooks/useTimelaneContext.d.ts +1 -1
  24. package/dist/index.d.ts +7 -7
  25. package/dist/react-timelane.css +1 -1
  26. package/dist/react-timelane.js +3465 -3406
  27. package/dist/stories/FullExamplePage/FullExamplePage.d.ts +4 -0
  28. package/dist/stories/FullExamplePage/FullExamplePage.stories.d.ts +19 -0
  29. package/dist/stories/FullExamplePage/MyTimelane.d.ts +20 -0
  30. package/dist/stories/constants.d.ts +7 -0
  31. package/dist/stories/hooks/useLocalStorage.d.ts +2 -0
  32. package/dist/stories/models/Allocation.d.ts +11 -0
  33. package/dist/stories/models/AllocationId.d.ts +1 -0
  34. package/dist/stories/models/Resource.d.ts +7 -0
  35. package/dist/stories/models/ResourceId.d.ts +1 -0
  36. package/dist/types/EnableResizing.d.ts +6 -0
  37. package/dist/types/Pixels.d.ts +1 -1
  38. package/dist/types/TimelaneSettings.d.ts +4 -1
  39. package/dist/types/index.d.ts +1 -0
  40. package/eslint.config.js +21 -21
  41. package/package.json +11 -2
  42. package/storybook-static/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
  43. package/storybook-static/assets/Color-AVL7NMMY-B90CyoR2.js +1 -0
  44. package/storybook-static/assets/DocsRenderer-PQXLIZUC-Bq83urOe.js +2 -0
  45. package/storybook-static/assets/FullExamplePage-DfmTY2HY.css +1 -0
  46. package/storybook-static/assets/FullExamplePage.stories-2F7rFo1o.js +18 -0
  47. package/storybook-static/assets/Timelane-Dz9QoO0k.css +1 -0
  48. package/storybook-static/assets/Timelane-S9mAxniK.js +177 -0
  49. package/storybook-static/assets/Timelane.stories-eJTFFqOc.js +15 -0
  50. package/storybook-static/assets/TimelaneLane.stories-D-gkVkkl.js +37 -0
  51. package/storybook-static/assets/TimelaneSettingsProvider.stories-Ca_yRNCX.js +28 -0
  52. package/storybook-static/assets/blocks-Cs-T3qmo.js +658 -0
  53. package/storybook-static/assets/iframe-CoOaxin5.js +1124 -0
  54. package/storybook-static/assets/index-BFqcmZp8.js +9 -0
  55. package/storybook-static/assets/index-CKqcs_aQ.js +9 -0
  56. package/storybook-static/assets/index-Dn1Kba0m.js +1 -0
  57. package/storybook-static/assets/react-18-CSTqcdyU.js +25 -0
  58. package/storybook-static/components/Timelane/Timelane.d.ts +38 -0
  59. package/storybook-static/components/Timelane/Timelane.stories.d.ts +19 -0
  60. package/storybook-static/components/TimelaneAllocation/TimelaneAllocation.d.ts +10 -0
  61. package/storybook-static/components/TimelaneAside/TimelaneAside.d.ts +12 -0
  62. package/storybook-static/components/TimelaneBackground/TimelaneBackground.d.ts +4 -0
  63. package/storybook-static/components/TimelaneBody/TimelaneBody.d.ts +5 -0
  64. package/storybook-static/components/TimelaneBody/TimelaneBodyInner.d.ts +16 -0
  65. package/storybook-static/components/TimelaneBody/TimelaneSelectionLayer.d.ts +6 -0
  66. package/storybook-static/components/TimelaneHeader/DaysHeader.d.ts +14 -0
  67. package/storybook-static/components/TimelaneHeader/MonthsHeader.d.ts +14 -0
  68. package/storybook-static/components/TimelaneHeader/TimelaneHeader.d.ts +23 -0
  69. package/storybook-static/components/TimelaneHeader/WeeksHeader.d.ts +14 -0
  70. package/storybook-static/components/TimelaneHeader/index.d.ts +5 -0
  71. package/storybook-static/components/TimelaneHeader/renderingUtils.d.ts +4 -0
  72. package/storybook-static/components/TimelaneItem/DragResizeComponent.d.ts +20 -0
  73. package/storybook-static/components/TimelaneItem/TimelaneItem.d.ts +14 -0
  74. package/storybook-static/components/TimelaneLane/AvailableSpaceIndicator.d.ts +21 -0
  75. package/storybook-static/components/TimelaneLane/DropPreview.d.ts +9 -0
  76. package/storybook-static/components/TimelaneLane/DropTarget.d.ts +11 -0
  77. package/storybook-static/components/TimelaneLane/OverlapIndicator.d.ts +6 -0
  78. package/storybook-static/components/TimelaneLane/TimelaneLane.d.ts +15 -0
  79. package/storybook-static/components/TimelaneLane/TimelaneLane.stories.d.ts +9 -0
  80. package/storybook-static/components/TimelaneLayout/TimelaneLayout.d.ts +23 -0
  81. package/storybook-static/components/TimelaneSettingsProvider/TimelaneSettingsContext.d.ts +7 -0
  82. package/storybook-static/components/TimelaneSettingsProvider/TimelaneSettingsProvider.d.ts +11 -0
  83. package/storybook-static/components/TimelaneSettingsProvider/TimelaneSettingsProvider.stories.d.ts +9 -0
  84. package/storybook-static/components/utils.d.ts +27 -0
  85. package/storybook-static/favicon.svg +1 -0
  86. package/storybook-static/hooks/useScroll.d.ts +10 -0
  87. package/storybook-static/hooks/useTimelaneContext.d.ts +1 -0
  88. package/storybook-static/iframe.html +685 -0
  89. package/storybook-static/index.d.ts +12 -0
  90. package/storybook-static/index.html +152 -0
  91. package/storybook-static/index.json +1 -0
  92. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  93. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  94. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  95. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  96. package/storybook-static/project.json +1 -0
  97. package/storybook-static/sb-addons/chromatic-com-storybook-1/manager-bundle.js +356 -0
  98. package/storybook-static/sb-addons/chromatic-com-storybook-1/manager-bundle.js.LEGAL.txt +40 -0
  99. package/storybook-static/sb-addons/docs-2/manager-bundle.js +151 -0
  100. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
  101. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  102. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  103. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  104. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  105. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  106. package/storybook-static/sb-manager/globals-module-info.js +797 -0
  107. package/storybook-static/sb-manager/globals-runtime.js +72136 -0
  108. package/storybook-static/sb-manager/globals.js +34 -0
  109. package/storybook-static/sb-manager/runtime.js +13002 -0
  110. package/storybook-static/stories/FullExamplePage/FullExamplePage.d.ts +4 -0
  111. package/storybook-static/stories/FullExamplePage/FullExamplePage.stories.d.ts +19 -0
  112. package/storybook-static/stories/FullExamplePage/MyTimelane.d.ts +20 -0
  113. package/storybook-static/stories/constants.d.ts +7 -0
  114. package/storybook-static/stories/hooks/useLocalStorage.d.ts +2 -0
  115. package/storybook-static/stories/models/Allocation.d.ts +11 -0
  116. package/storybook-static/stories/models/AllocationId.d.ts +1 -0
  117. package/storybook-static/stories/models/Resource.d.ts +7 -0
  118. package/storybook-static/stories/models/ResourceId.d.ts +1 -0
  119. package/storybook-static/types/AvailableSpace.d.ts +6 -0
  120. package/storybook-static/types/DateBounds.d.ts +4 -0
  121. package/storybook-static/types/Dimensions.d.ts +4 -0
  122. package/storybook-static/types/EnableResizing.d.ts +6 -0
  123. package/storybook-static/types/GrabInfo.d.ts +5 -0
  124. package/storybook-static/types/Grid.d.ts +6 -0
  125. package/storybook-static/types/Item.d.ts +12 -0
  126. package/storybook-static/types/ItemId.d.ts +1 -0
  127. package/storybook-static/types/Lane.d.ts +5 -0
  128. package/storybook-static/types/LaneId.d.ts +1 -0
  129. package/storybook-static/types/OffsetBounds.d.ts +4 -0
  130. package/storybook-static/types/Pixels.d.ts +4 -0
  131. package/storybook-static/types/Position.d.ts +4 -0
  132. package/storybook-static/types/Rectangle.d.ts +6 -0
  133. package/storybook-static/types/TimeRange.d.ts +4 -0
  134. package/storybook-static/types/TimelaneSettings.d.ts +14 -0
  135. package/storybook-static/types/index.d.ts +16 -0
  136. package/dist/components/Timelane.d.ts +0 -17
  137. package/dist/components/TimelaneSettingsProvider.d.ts +0 -7
  138. package/dist/components/TimelaneWrapper.d.ts +0 -20
  139. /package/dist/components/{TimelaneSelectionLayer.d.ts → TimelaneBody/TimelaneSelectionLayer.d.ts} +0 -0
@@ -0,0 +1,1124 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Timelane.stories-eJTFFqOc.js","./index-BFqcmZp8.js","./index-CKqcs_aQ.js","./Timelane-S9mAxniK.js","./Timelane-Dz9QoO0k.css","./TimelaneLane.stories-D-gkVkkl.js","./TimelaneSettingsProvider.stories-Ca_yRNCX.js","./FullExamplePage.stories-2F7rFo1o.js","./blocks-Cs-T3qmo.js","./FullExamplePage-DfmTY2HY.css","./react-18-CSTqcdyU.js","./DocsRenderer-PQXLIZUC-Bq83urOe.js"])))=>i.map(i=>d[i]);
2
+ var NB=Object.defineProperty;var jB=(e,t,r)=>t in e?NB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Et=(e,t,r)=>jB(e,typeof t!="symbol"?t+"":t,r);function BB(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();var Fd={},qB=Object.create,Es=Object.defineProperty,MB=Object.getOwnPropertyDescriptor,LB=Object.getOwnPropertyNames,$B=Object.getPrototypeOf,UB=Object.prototype.hasOwnProperty,s=(e,t)=>Es(e,"name",{value:t,configurable:!0}),Xs=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),VB=(e,t)=>()=>(e&&(t=e(e=0)),t),R=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xt=(e,t)=>{for(var r in t)Es(e,r,{get:t[r],enumerable:!0})},AC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of LB(t))!UB.call(e,a)&&a!==r&&Es(e,a,{get:()=>t[a],enumerable:!(n=MB(t,a))||n.enumerable});return e},xt=(e,t,r)=>(r=e!=null?qB($B(e)):{},AC(t||!e||!e.__esModule?Es(r,"default",{value:e,enumerable:!0}):r,e)),HB=e=>AC(Es({},"__esModule",{value:!0}),e),xC=R((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function i(c,p){if(!a[c]){if(!n[c]){var d=typeof Xs=="function"&&Xs;if(!p&&d)return d(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[c]={exports:{}};n[c][0].call(f.exports,function(m){var y=n[c][1][m];return i(y||m)},f,f.exports,r,n,a,o)}return a[c].exports}s(i,"s");for(var l=typeof Xs=="function"&&Xs,u=0;u<o.length;u++)i(o[u]);return i},"e")({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}s(o,"Similar"),o.prototype.get=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(l=this.indexOf(i),l>=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var u;for(u=0;u<this.size;u++)i.call(l||this,this.list[u].val,this.list[u].key,this)},o.prototype.indexOf=function(i){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,i))return l;return-1},o.prototype.isEqual=function(i,l){return i===l||i!==i&&l!==l},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(c){var p=new o(!1),d=[];return function(h){var f=s(function(){var m=p,y,g,b=arguments.length-1,v=Array(b+1),T=!0,x;if((f.numArgs||f.numArgs===0)&&f.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(x=0;x<b;x++){if(v[x]={cacheItem:m,arg:arguments[x]},m.has(arguments[x])){m=m.get(arguments[x]);continue}T=!1,y=new o(!1),m.set(arguments[x],y),m=y}return T&&(m.has(arguments[b])?g=m.get(arguments[b]):T=!1),T||(g=h.apply(null,arguments),m.set(arguments[b],g)),c>0&&(v[b]={cacheItem:m,arg:arguments[b]},T?i(d,v):d.push(v),d.length>c&&l(d.shift())),f.wasMemoized=T,f.numArgs=b+1,g},"memoizerific");return f.limit=c,f.wasMemoized=!1,f.cache=p,f.lru=d,f}};function i(c,p){var d=c.length,h=p.length,f,m,y;for(m=0;m<d;m++){for(f=!0,y=0;y<h;y++)if(!u(c[m][y].arg,p[y].arg)){f=!1;break}if(f)break}c.push(c.splice(m,1)[0])}s(i,"moveToMostRecentLru");function l(c){var p=c.length,d=c[p-1],h,f;for(d.cacheItem.delete(d.arg),f=p-2;f>=0&&(d=c[f],h=d.cacheItem.get(d.arg),!h||!h.size);f--)d.cacheItem.delete(d.arg)}s(l,"removeCachedResult");function u(c,p){return c===p||c!==c&&p!==p}s(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),zB=R(()=>{}),JB=R((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}),GB=R((e,t)=>{var r=JB();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}),WB=R((e,t)=>{t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}),SC=R((e,t)=>{var r=GB(),n=WB();t.exports=(a,o=0,i)=>n(r(a),o,i)}),YB=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,a={"@@iterator":s(function(){return a},"iterator"),next:s(function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}},"next")};return a}s(t,"iteratorProxy"),e.default=t}),Cs=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(YB());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),KB=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Cs());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,g,b,v=[],T=!0,x=!1;try{if(g=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;T=!1}else for(;!(T=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);T=!0);}catch(_){x=!0,y=_}finally{try{if(!T&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(x)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];d.call(h,b,g,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),XB=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Cs());function r(d){return d&&d.__esModule?d:{default:d}}s(r,"_interopRequireDefault");function n(d,h){return u(d)||l(d,h)||o(d,h)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(d,h){if(d){if(typeof d=="string")return i(d,h);var f={}.toString.call(d).slice(8,-1);return f==="Object"&&d.constructor&&(f=d.constructor.name),f==="Map"||f==="Set"?Array.from(d):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?i(d,h):void 0}}s(o,"_unsupportedIterableToArray");function i(d,h){(h==null||h>d.length)&&(h=d.length);for(var f=0,m=Array(h);f<h;f++)m[f]=d[f];return m}s(i,"_arrayLikeToArray");function l(d,h){var f=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(f!=null){var m,y,g,b,v=[],T=!0,x=!1;try{if(g=(f=f.call(d)).next,h===0){if(Object(f)!==f)return;T=!1}else for(;!(T=(m=g.call(f)).done)&&(v.push(m.value),v.length!==h);T=!0);}catch(_){x=!0,y=_}finally{try{if(!T&&f.return!=null&&(b=f.return(),Object(b)!==b))return}finally{if(x)throw y}}return v}}s(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}s(u,"_arrayWithHoles");var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:s(function(){return c},"entries"),forEach:s(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,f=0,m=c;f<m.length;f++){var y=n(m[f],2),g=y[0],b=y[1];d.call(h,b,g,c)}},"forEach"),get:s(function(d){var h=c.filter(function(f){return f[0]===d})[0];return h&&h[1]},"get"),has:s(function(d){return!!p.get(d)},"has"),keys:s(function(){return c.map(function(d){var h=n(d,1),f=h[0];return f})},"keys"),values:s(function(){return c.map(function(d){var h=n(d,2),f=h[1];return f})},"values")};e.default=(0,t.default)(p,p.entries())}),QB=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),ZB=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),eq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),tq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),rq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),nq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),aq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),oq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),iq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),sq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),lq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),uq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),cq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(QB()),r=f(ZB()),n=f(eq()),a=f(tq()),o=f(rq()),i=f(nq()),l=f(aq()),u=f(oq()),c=f(iq()),p=f(sq()),d=f(lq()),h=f(uq());function f(y){return y&&y.__esModule?y:{default:y}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]];e.default=m}),pq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),dq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),fq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),hq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),mq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),yq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:[{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"]]};e.default=t}),bq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),vq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Eq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Cq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),wq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],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"]]};e.default=t}),Aq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),xq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Sq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),_q=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Tq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Pq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),Dq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),Oq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),Rq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Fq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),Iq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),kq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Nq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),jq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),Bq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),qq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Mq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Lq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),$q=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Uq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),Vq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Hq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the size attribute value is greater than 1"],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"]]};e.default=t}),zq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Jq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Gq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Wq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Yq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Kq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Xq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Qq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),Zq=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),eM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),tM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),rM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),nM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),aM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),oM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),iM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),sM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),lM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),uM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),cM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),pM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),dM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),fM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),hM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),mM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),yM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),gM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),bM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),vM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),EM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),CM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),wM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),AM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),xM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),SM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),_M=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),TM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),PM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),DM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),OM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),RM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),FM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),IM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),kM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),NM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),jM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),BM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),qM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),MM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),LM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(pq()),r=D(dq()),n=D(fq()),a=D(hq()),o=D(mq()),i=D(yq()),l=D(gq()),u=D(bq()),c=D(vq()),p=D(Eq()),d=D(Cq()),h=D(wq()),f=D(Aq()),m=D(xq()),y=D(Sq()),g=D(_q()),b=D(Tq()),v=D(Pq()),T=D(Dq()),x=D(Oq()),_=D(Rq()),w=D(Fq()),E=D(Iq()),C=D(kq()),P=D(Nq()),k=D(jq()),N=D(Bq()),G=D(qq()),Y=D(Mq()),O=D(Lq()),q=D($q()),B=D(Uq()),K=D(Vq()),Q=D(Hq()),ne=D(zq()),$=D(Jq()),J=D(Gq()),U=D(Wq()),X=D(Yq()),ee=D(Kq()),se=D(Xq()),te=D(Qq()),pe=D(Zq()),de=D(eM()),We=D(tM()),rt=D(rM()),Z=D(nM()),ce=D(aM()),ge=D(oM()),be=D(iM()),Ee=D(sM()),xe=D(lM()),Se=D(uM()),ze=D(cM()),ct=D(pM()),It=D(dM()),Zt=D(fM()),Ot=D(hM()),Yt=D(mM()),Mt=D(yM()),Te=D(gM()),pt=D(bM()),Ae=D(vM()),dt=D(EM()),et=D(CM()),sa=D(wM()),la=D(AM()),Lt=D(xM()),In=D(SM()),br=D(_M()),nt=D(TM()),kn=D(PM()),ua=D(DM()),tt=D(OM()),_t=D(RM()),Dr=D(FM()),Ur=D(IM()),Vr=D(kM()),Nn=D(NM()),vr=D(jM()),S=D(BM()),j=D(qM()),F=D(MM());function D(ie){return ie&&ie.__esModule?ie:{default:ie}}s(D,"_interopRequireDefault");var V=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",T.default],["document",x.default],["emphasis",_.default],["feed",w.default],["figure",E.default],["form",C.default],["generic",P.default],["grid",k.default],["gridcell",N.default],["group",G.default],["heading",Y.default],["img",O.default],["insertion",q.default],["link",B.default],["list",K.default],["listbox",Q.default],["listitem",ne.default],["log",$.default],["main",J.default],["mark",U.default],["marquee",X.default],["math",ee.default],["menu",se.default],["menubar",te.default],["menuitem",pe.default],["menuitemcheckbox",de.default],["menuitemradio",We.default],["meter",rt.default],["navigation",Z.default],["none",ce.default],["note",ge.default],["option",be.default],["paragraph",Ee.default],["presentation",xe.default],["progressbar",Se.default],["radio",ze.default],["radiogroup",ct.default],["region",It.default],["row",Zt.default],["rowgroup",Ot.default],["rowheader",Yt.default],["scrollbar",Mt.default],["search",Te.default],["searchbox",pt.default],["separator",Ae.default],["slider",dt.default],["spinbutton",et.default],["status",sa.default],["strong",la.default],["subscript",Lt.default],["superscript",In.default],["switch",br.default],["tab",nt.default],["table",kn.default],["tablist",ua.default],["tabpanel",tt.default],["term",_t.default],["textbox",Dr.default],["time",Ur.default],["timer",Vr.default],["toolbar",Nn.default],["tooltip",vr.default],["tree",S.default],["treegrid",j.default],["treeitem",F.default]];e.default=V}),$M=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),UM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),VM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),HM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),zM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],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"]]};e.default=t}),JM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),GM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),WM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),YM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),KM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),XM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),QM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),ZM=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),eL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),tL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),rL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),nL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),aL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),oL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),iL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),sL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),lL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),uL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),cL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),pL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),dL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),fL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),hL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),mL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),yL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),gL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),bL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),vL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),EL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),CL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),wL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),AL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),xL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),SL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),_L=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),TL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),PL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=te($M()),r=te(UM()),n=te(VM()),a=te(HM()),o=te(zM()),i=te(JM()),l=te(GM()),u=te(WM()),c=te(YM()),p=te(KM()),d=te(XM()),h=te(QM()),f=te(ZM()),m=te(eL()),y=te(tL()),g=te(rL()),b=te(nL()),v=te(aL()),T=te(oL()),x=te(iL()),_=te(sL()),w=te(lL()),E=te(uL()),C=te(cL()),P=te(pL()),k=te(dL()),N=te(fL()),G=te(hL()),Y=te(mL()),O=te(yL()),q=te(gL()),B=te(bL()),K=te(vL()),Q=te(EL()),ne=te(CL()),$=te(wL()),J=te(AL()),U=te(xL()),X=te(SL()),ee=te(_L()),se=te(TL());function te(de){return de&&de.__esModule?de:{default:de}}s(te,"_interopRequireDefault");var pe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",T.default],["doc-errata",x.default],["doc-example",_.default],["doc-footnote",w.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",P.default],["doc-index",k.default],["doc-introduction",N.default],["doc-noteref",G.default],["doc-notice",Y.default],["doc-pagebreak",O.default],["doc-pagefooter",q.default],["doc-pageheader",B.default],["doc-pagelist",K.default],["doc-part",Q.default],["doc-preface",ne.default],["doc-prologue",$.default],["doc-pullquote",J.default],["doc-qna",U.default],["doc-subtitle",X.default],["doc-tip",ee.default],["doc-toc",se.default]];e.default=pe}),DL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),OL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),RL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]};e.default=t}),FL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(DL()),r=a(OL()),n=a(RL());function a(i){return i&&i.__esModule?i:{default:i}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}),pm=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(cq()),r=i(LM()),n=i(PL()),a=i(FL()),o=i(Cs());function i(g){return g&&g.__esModule?g:{default:g}}s(i,"_interopRequireDefault");function l(g,b){var v=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!v){if(Array.isArray(g)||(v=p(g))||b&&g&&typeof g.length=="number"){v&&(g=v);var T=0,x=s(function(){},"F");return{s:x,n:s(function(){return T>=g.length?{done:!0}:{done:!1,value:g[T++]}},"n"),e:s(function(C){throw C},"e"),f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _,w=!0,E=!1;return{s:s(function(){v=v.call(g)},"s"),n:s(function(){var C=v.next();return w=C.done,C},"n"),e:s(function(C){E=!0,_=C},"e"),f:s(function(){try{w||v.return==null||v.return()}finally{if(E)throw _}},"f")}}s(l,"_createForOfIteratorHelper");function u(g,b){return f(g)||h(g,b)||p(g,b)||c()}s(u,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(c,"_nonIterableRest");function p(g,b){if(g){if(typeof g=="string")return d(g,b);var v={}.toString.call(g).slice(8,-1);return v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set"?Array.from(g):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(g,b):void 0}}s(p,"_unsupportedIterableToArray");function d(g,b){(b==null||b>g.length)&&(b=g.length);for(var v=0,T=Array(b);v<b;v++)T[v]=g[v];return T}s(d,"_arrayLikeToArray");function h(g,b){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var T,x,_,w,E=[],C=!0,P=!1;try{if(_=(v=v.call(g)).next,b===0){if(Object(v)!==v)return;C=!1}else for(;!(C=(T=_.call(v)).done)&&(E.push(T.value),E.length!==b);C=!0);}catch(k){P=!0,x=k}finally{try{if(!C&&v.return!=null&&(w=v.return(),Object(w)!==w))return}finally{if(P)throw x}}return E}}s(h,"_iterableToArrayLimit");function f(g){if(Array.isArray(g))return g}s(f,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,a.default);m.forEach(function(g){var b=u(g,2),v=b[1],T=l(v.superClass),x;try{for(T.s();!(x=T.n()).done;){var _=x.value,w=l(_),E;try{var C=s(function(){var P=E.value,k=m.filter(function(q){var B=u(q,1),K=B[0];return K===P})[0];if(k)for(var N=k[1],G=0,Y=Object.keys(N.props);G<Y.length;G++){var O=Y[G];Object.prototype.hasOwnProperty.call(v.props,O)||(v.props[O]=N.props[O])}},"_loop");for(w.s();!(E=w.n()).done;)C()}catch(P){w.e(P)}finally{w.f()}}}catch(P){T.e(P)}finally{T.f()}});var y={entries:s(function(){return m},"entries"),forEach:s(function(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=l(m),T;try{for(v.s();!(T=v.n()).done;){var x=u(T.value,2),_=x[0],w=x[1];g.call(b,w,_,m)}}catch(E){v.e(E)}finally{v.f()}},"forEach"),get:s(function(g){var b=m.filter(function(v){return v[0]===g})[0];return b&&b[1]},"get"),has:s(function(g){return!!y.get(g)},"has"),keys:s(function(){return m.map(function(g){var b=u(g,1),v=b[0];return v})},"keys"),values:s(function(){return m.map(function(g){var b=u(g,2),v=b[1];return v})},"values")};e.default=(0,o.default)(y,y.entries())}),IL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Cs()),r=n(pm());function n(w){return w&&w.__esModule?w:{default:w}}s(n,"_interopRequireDefault");function a(w,E){return c(w)||u(w,E)||i(w,E)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(w,E){if(w){if(typeof w=="string")return l(w,E);var C={}.toString.call(w).slice(8,-1);return C==="Object"&&w.constructor&&(C=w.constructor.name),C==="Map"||C==="Set"?Array.from(w):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?l(w,E):void 0}}s(i,"_unsupportedIterableToArray");function l(w,E){(E==null||E>w.length)&&(E=w.length);for(var C=0,P=Array(E);C<E;C++)P[C]=w[C];return P}s(l,"_arrayLikeToArray");function u(w,E){var C=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(C!=null){var P,k,N,G,Y=[],O=!0,q=!1;try{if(N=(C=C.call(w)).next,E===0){if(Object(C)!==C)return;O=!1}else for(;!(O=(P=N.call(C)).done)&&(Y.push(P.value),Y.length!==E);O=!0);}catch(B){q=!0,k=B}finally{try{if(!O&&C.return!=null&&(G=C.return(),Object(G)!==G))return}finally{if(q)throw k}}return Y}}s(u,"_iterableToArrayLimit");function c(w){if(Array.isArray(w))return w}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(b=0;b<d.length;b++)if(h=d[b],f=r.default.get(h),f)for(m=[].concat(f.baseConcepts,f.relatedConcepts),y=s(function(){var w=m[g];if(w.module==="HTML"){var E=w.concept;if(E){var C=p.filter(function(G){return T(G[0],E)})[0],P;C?P=C[1]:P=[];for(var k=!0,N=0;N<P.length;N++)if(P[N]===h){k=!1;break}k&&P.push(h),C||p.push([E,P])}}},"_loop"),g=0;g<m.length;g++)y();var h,f,m,y,g,b,v={entries:s(function(){return p},"entries"),forEach:s(function(w){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,P=p;C<P.length;C++){var k=a(P[C],2),N=k[0],G=k[1];w.call(E,G,N,p)}},"forEach"),get:s(function(w){var E=p.filter(function(C){return w.name===C[0].name&&_(w.attributes,C[0].attributes)})[0];return E&&E[1]},"get"),has:s(function(w){return!!v.get(w)},"has"),keys:s(function(){return p.map(function(w){var E=a(w,1),C=E[0];return C})},"keys"),values:s(function(){return p.map(function(w){var E=a(w,2),C=E[1];return C})},"values")};function T(w,E){return w.name===E.name&&x(w.constraints,E.constraints)&&_(w.attributes,E.attributes)}s(T,"ariaRoleRelationConceptEquals");function x(w,E){if(w===void 0&&E!==void 0||w!==void 0&&E===void 0)return!1;if(w!==void 0&&E!==void 0){if(w.length!==E.length)return!1;for(var C=0;C<w.length;C++)if(w[C]!==E[C])return!1}return!0}s(x,"ariaRoleRelationConstraintsEquals");function _(w,E){if(w===void 0&&E!==void 0||w!==void 0&&E===void 0)return!1;if(w!==void 0&&E!==void 0){if(w.length!==E.length)return!1;for(var C=0;C<w.length;C++){if(w[C].name!==E[C].name||w[C].value!==E[C].value||w[C].constraints===void 0&&E[C].constraints!==void 0||w[C].constraints!==void 0&&E[C].constraints===void 0)return!1;if(w[C].constraints!==void 0&&E[C].constraints!==void 0){if(w[C].constraints.length!==E[C].constraints.length)return!1;for(var P=0;P<w[C].constraints.length;P++)if(w[C].constraints[P]!==E[C].constraints[P])return!1}}}return!0}s(_,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),kL=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Cs()),r=n(pm());function n(_){return _&&_.__esModule?_:{default:_}}s(n,"_interopRequireDefault");function a(_,w){return c(_)||u(_,w)||i(_,w)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(_,w){if(_){if(typeof _=="string")return l(_,w);var E={}.toString.call(_).slice(8,-1);return E==="Object"&&_.constructor&&(E=_.constructor.name),E==="Map"||E==="Set"?Array.from(_):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(_,w):void 0}}s(i,"_unsupportedIterableToArray");function l(_,w){(w==null||w>_.length)&&(w=_.length);for(var E=0,C=Array(w);E<w;E++)C[E]=_[E];return C}s(l,"_arrayLikeToArray");function u(_,w){var E=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(E!=null){var C,P,k,N,G=[],Y=!0,O=!1;try{if(k=(E=E.call(_)).next,w===0){if(Object(E)!==E)return;Y=!1}else for(;!(Y=(C=k.call(E)).done)&&(G.push(C.value),G.length!==w);Y=!0);}catch(q){O=!0,P=q}finally{try{if(!Y&&E.return!=null&&(N=E.return(),Object(N)!==N))return}finally{if(O)throw P}}return G}}s(u,"_iterableToArrayLimit");function c(_){if(Array.isArray(_))return _}s(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(T=0;T<d.length;T++)if(h=d[T],f=r.default.get(h),m=[],f){for(y=[].concat(f.baseConcepts,f.relatedConcepts),v=0;v<y.length;v++)g=y[v],g.module==="HTML"&&(b=g.concept,b!=null&&m.push(b));m.length>0&&p.push([h,m])}var h,f,m,y,g,b,v,T,x={entries:s(function(){return p},"entries"),forEach:s(function(_){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,C=p;E<C.length;E++){var P=a(C[E],2),k=P[0],N=P[1];_.call(w,N,k,p)}},"forEach"),get:s(function(_){var w=p.filter(function(E){return E[0]===_})[0];return w&&w[1]},"get"),has:s(function(_){return!!x.get(_)},"has"),keys:s(function(){return p.map(function(_){var w=a(_,1),E=w[0];return E})},"keys"),values:s(function(){return p.map(function(_){var w=a(_,2),E=w[1];return E})},"values")};e.default=(0,t.default)(x,x.entries())}),_C=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(KB()),r=i(XB()),n=i(pm()),a=i(IL()),o=i(kL());function i(l){return l&&l.__esModule?l:{default:l}}s(i,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=a.default,e.roleElements=o.default}),NL=R((e,t)=>{t.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]}}),TC=R((e,t)=>{var r=NL(),n={};for(let i of Object.keys(r))n[r[i]]=i;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},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"]}};t.exports=a;for(let i of Object.keys(a)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=a[i];delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:l}),Object.defineProperty(a[i],"labels",{value:u})}a.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(l,u,c),d=Math.max(l,u,c),h=d-p,f,m;d===p?f=0:l===d?f=(u-c)/h:u===d?f=2+(c-l)/h:c===d&&(f=4+(l-u)/h),f=Math.min(f*60,360),f<0&&(f+=360);let y=(p+d)/2;return d===p?m=0:y<=.5?m=h/(d+p):m=h/(2-d-p),[f,m*100,y*100]},a.rgb.hsv=function(i){let l,u,c,p,d,h=i[0]/255,f=i[1]/255,m=i[2]/255,y=Math.max(h,f,m),g=y-Math.min(h,f,m),b=s(function(v){return(y-v)/6/g+1/2},"diffc");return g===0?(p=0,d=0):(d=g/y,l=b(h),u=b(f),c=b(m),h===y?p=c-u:f===y?p=1/3+l-c:m===y&&(p=2/3+u-l),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,y*100]},a.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],p=a.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[p,d*100,c*100]},a.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.min(1-l,1-u,1-c),d=(1-l-p)/(1-p)||0,h=(1-u-p)/(1-p)||0,f=(1-c-p)/(1-p)||0;return[d*100,h*100,f*100,p*100]};function o(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}s(o,"comparativeDistance"),a.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let p of Object.keys(r)){let d=r[p],h=o(i,d);h<u&&(u=h,c=p)}return c},a.keyword.rgb=function(i){return r[i]},a.rgb.xyz=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let p=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[p*100,d*100,h*100]},a.rgb.lab=function(i){let l=a.rgb.xyz(i),u=l[0],c=l[1],p=l[2];u/=95.047,c/=100,p/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let d=116*c-16,h=500*(u-c),f=200*(c-p);return[d,h,f]},a.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p,d,h;if(u===0)return h=c*255,[h,h,h];c<.5?p=c*(1+u):p=c+u-c*u;let f=2*c-p,m=[0,0,0];for(let y=0;y<3;y++)d=l+1/3*-(y-1),d<0&&d++,d>1&&d--,6*d<1?h=f+(p-f)*6*d:2*d<1?h=p:3*d<2?h=f+(p-f)*(2/3-d)*6:h=f,m[y]=h*255;return m},a.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,p*=d<=1?d:2-d;let h=(c+u)/2,f=c===0?2*p/(d+p):2*u/(c+u);return[l,f*100,h*100]},a.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,p=Math.floor(l)%6,d=l-Math.floor(l),h=255*c*(1-u),f=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,p){case 0:return[c,m,h];case 1:return[f,c,h];case 2:return[h,c,m];case 3:return[h,f,c];case 4:return[m,h,c];case 5:return[c,h,f]}},a.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,p=Math.max(c,.01),d,h;h=(2-u)*c;let f=(2-u)*p;return d=u*p,d/=f<=1?f:2-f,d=d||0,h/=2,[l,d*100,h*100]},a.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,p=u+c,d;p>1&&(u/=p,c/=p);let h=Math.floor(6*l),f=1-c;d=6*l-h,(h&1)!==0&&(d=1-d);let m=u+d*(f-u),y,g,b;switch(h){default:case 6:case 0:y=f,g=m,b=u;break;case 1:y=m,g=f,b=u;break;case 2:y=u,g=f,b=m;break;case 3:y=u,g=m,b=f;break;case 4:y=m,g=u,b=f;break;case 5:y=f,g=u,b=m;break}return[y*255,g*255,b*255]},a.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p=i[3]/100,d=1-Math.min(1,l*(1-p)+p),h=1-Math.min(1,u*(1-p)+p),f=1-Math.min(1,c*(1-p)+p);return[d*255,h*255,f*255]},a.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,p,d,h;return p=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),h=Math.min(Math.max(0,h),1),[p*255,d*255,h*255]},a.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*u-16,d=500*(l-u),h=200*(u-c);return[p,d,h]},a.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],p,d,h;d=(l+16)/116,p=u/500+d,h=d-c/200;let f=d**3,m=p**3,y=h**3;return d=f>.008856?f:(d-16/116)/7.787,p=m>.008856?m:(p-16/116)/7.787,h=y>.008856?y:(h-16/116)/7.787,p*=95.047,d*=100,h*=108.883,[p,d,h]},a.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],p;p=Math.atan2(c,u)*360/2/Math.PI,p<0&&(p+=360);let d=Math.sqrt(u*u+c*c);return[l,d,p]},a.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,p=u*Math.cos(c),d=u*Math.sin(c);return[l,p,d]},a.rgb.ansi16=function(i,l=null){let[u,c,p]=i,d=l===null?a.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let h=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(h+=60),h},a.hsv.ansi16=function(i){return a.rgb.ansi16(a.hsv.rgb(i),i[2])},a.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,p=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,p,d]},a.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,p=l%6/5*255;return[u,c,p]},a.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),p=c>>16&255,d=c>>8&255,h=c&255;return[p,d,h]},a.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,p=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),h=p-d,f,m;return h<1?f=d/(1-h):f=0,h<=0?m=0:p===l?m=(u-c)/h%6:p===u?m=2+(c-l)/h:m=4+(l-u)/h,m/=6,m%=1,[m*360,h*100,f*100]},a.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),p=0;return c<1&&(p=(u-.5*c)/(1-c)),[i[0],c*100,p*100]},a.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return[c*255,c*255,c*255];let p=[0,0,0],d=l%1*6,h=d%1,f=1-h,m=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=h,p[2]=0;break;case 1:p[0]=f,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=h;break;case 3:p[0]=0,p[1]=f,p[2]=1;break;case 4:p[0]=h,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=f}return m=(1-u)*c,[(u*p[0]+m)*255,(u*p[1]+m)*255,(u*p[2]+m)*255]},a.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),p=0;return c>0&&(p=l/c),[i[0],p*100,c*100]},a.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},a.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return[i[0],(c-l)*100,(1-c)*100]},a.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,p=0;return c<1&&(p=(u-c)/(1-c)),[i[0],c*100,p*100]},a.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},a.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},a.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},a.gray.hsl=function(i){return[0,0,i[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(i){return[0,100,i[0]]},a.gray.cmyk=function(i){return[0,0,0,i[0]]},a.gray.lab=function(i){return[i[0],0,0]},a.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}),jL=R((e,t)=>{var r=TC();function n(){let l={},u=Object.keys(r);for(let c=u.length,p=0;p<c;p++)l[u[p]]={distance:-1,parent:null};return l}s(n,"buildGraph");function a(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let p=c.pop(),d=Object.keys(r[p]);for(let h=d.length,f=0;f<h;f++){let m=d[f],y=u[m];y.distance===-1&&(y.distance=u[p].distance+1,y.parent=p,c.unshift(m))}}return u}s(a,"deriveBFS");function o(l,u){return function(c){return u(l(c))}}s(o,"link");function i(l,u){let c=[u[l].parent,l],p=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),p=o(r[u[d].parent][d],p),d=u[d].parent;return p.conversion=c,p}s(i,"wrapConversion"),t.exports=function(l){let u=a(l),c={},p=Object.keys(u);for(let d=p.length,h=0;h<d;h++){let f=p[h];u[f].parent!==null&&(c[f]=i(f,u))}return c}}),BL=R((e,t)=>{var r=TC(),n=jL(),a={},o=Object.keys(r);function i(u){let c=s(function(...p){let d=p[0];return d==null?d:(d.length>1&&(p=d),u(p))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(i,"wrapRaw");function l(u){let c=s(function(...p){let d=p[0];if(d==null)return d;d.length>1&&(p=d);let h=u(p);if(typeof h=="object")for(let f=h.length,m=0;m<f;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}s(l,"wrapRounded"),o.forEach(u=>{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(p=>{let d=c[p];a[u][p]=l(d),a[u][p].raw=i(d)})}),t.exports=a}),qL=R((e,t)=>{var r=s((d,h)=>(...f)=>`\x1B[${d(...f)+h}m`,"wrapAnsi16"),n=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),a=s((d,h)=>(...f)=>{let m=d(...f);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),o=s(d=>d,"ansi2ansi"),i=s((d,h,f)=>[d,h,f],"rgb2rgb"),l=s((d,h,f)=>{Object.defineProperty(d,h,{get:s(()=>{let m=f();return Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=s((d,h,f,m)=>{u===void 0&&(u=BL());let y=m?10:0,g={};for(let[b,v]of Object.entries(u)){let T=b==="ansi16"?"ansi":b;b===h?g[T]=d(f,y):typeof v=="object"&&(g[T]=d(v[h],y))}return g},"makeDynamicStyles");function p(){let d=new Map,h={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]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[f,m]of Object.entries(h)){for(let[y,g]of Object.entries(m))h[y]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[y]=h[y],d.set(g[0],g[1]);Object.defineProperty(h,f,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:d,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",o,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",o,!1)),l(h.color,"ansi16m",()=>c(a,"rgb",i,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),l(h.bgColor,"ansi16m",()=>c(a,"rgb",i,!0)),h}s(p,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:p})}),ML=R((e,t)=>{t.exports={stdout:!1,stderr:!1}}),LL=R((e,t)=>{var r=s((a,o,i)=>{let l=a.indexOf(o);if(l===-1)return a;let u=o.length,c=0,p="";do p+=a.substr(c,l-c)+o+i,c=l+u,l=a.indexOf(o,c);while(l!==-1);return p+=a.substr(c),p},"stringReplaceAll"),n=s((a,o,i,l)=>{let u=0,c="";do{let p=a[l-1]==="\r";c+=a.substr(u,(p?l-1:l)-u)+o+(p?`\r
9
+ `:`
10
+ `)+i,u=l+1,l=a.indexOf(`
11
+ `,u)}while(l!==-1);return c+=a.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),$L=R((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",`
12
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let h=d[0]==="u",f=d[1]==="{";return h&&!f&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):h&&f?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}s(l,"unescape");function u(d,h){let f=[],m=h.trim().split(/\s*,\s*/g),y;for(let g of m){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(y=g.match(a))f.push(y[2].replace(o,(v,T,x)=>T?l(T):x));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return f}s(u,"parseArguments");function c(d){n.lastIndex=0;let h=[],f;for(;(f=n.exec(d))!==null;){let m=f[1];if(f[2]){let y=u(m,f[2]);h.push([m].concat(y))}else h.push([m])}return h}s(c,"parseStyle");function p(d,h){let f={};for(let y of h)for(let g of y.styles)f[g[0]]=y.inverse?null:g.slice(1);let m=d;for(let[y,g]of Object.entries(f))if(Array.isArray(g)){if(!(y in m))throw new Error(`Unknown Chalk style: ${y}`);m=g.length>0?m[y](...g):m[y]}return m}s(p,"buildStyle"),t.exports=(d,h)=>{let f=[],m=[],y=[];if(h.replace(r,(g,b,v,T,x,_)=>{if(b)y.push(l(b));else if(T){let w=y.join("");y=[],m.push(f.length===0?w:p(d,f)(w)),f.push({inverse:v,styles:c(T)})}else if(x){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(p(d,f)(y.join(""))),y=[],f.pop()}else y.push(_)}),m.push(y.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}),PC=R((e,t)=>{var r=qL(),{stdout:n,stderr:a}=ML(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:i}=LL(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=s((w,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;w.level=E.level===void 0?C:E.level},"applyOptions"),p=class{constructor(E){return h(E)}};s(p,"ChalkClass");var d=p,h=s(w=>{let E={};return c(E,w),E.template=(...C)=>x(E.template,...C),Object.setPrototypeOf(E,f.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=d,E.template},"chalkFactory");function f(w){return h(w)}s(f,"Chalk");for(let[w,E]of Object.entries(r))u[w]={get(){let C=b(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,w,{value:C}),C}};u.visible={get(){let w=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:w}),w}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let w of m)u[w]={get(){let{level:E}=this;return function(...C){let P=g(r.color[l[E]][w](...C),r.color.close,this._styler);return b(this,P,this._isEmpty)}}};for(let w of m){let E="bg"+w[0].toUpperCase()+w.slice(1);u[E]={get(){let{level:C}=this;return function(...P){let k=g(r.bgColor[l[C]][w](...P),r.bgColor.close,this._styler);return b(this,k,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(w){this._generator.level=w}}}),g=s((w,E,C)=>{let P,k;return C===void 0?(P=w,k=E):(P=C.openAll+w,k=E+C.closeAll),{open:w,close:E,openAll:P,closeAll:k,parent:C}},"createStyler"),b=s((w,E,C)=>{let P=s((...k)=>v(P,k.length===1?""+k[0]:k.join(" ")),"builder");return P.__proto__=y,P._generator=w,P._styler=E,P._isEmpty=C,P},"createBuilder"),v=s((w,E)=>{if(w.level<=0||!E)return w._isEmpty?"":E;let C=w._styler;if(C===void 0)return E;let{openAll:P,closeAll:k}=C;if(E.indexOf("\x1B")!==-1)for(;C!==void 0;)E=o(E,C.close,C.open),C=C.parent;let N=E.indexOf(`
13
+ `);return N!==-1&&(E=i(E,k,P,N)),P+E+k},"applyStyle"),T,x=s((w,...E)=>{let[C]=E;if(!Array.isArray(C))return E.join(" ");let P=E.slice(1),k=[C.raw[0]];for(let N=1;N<C.length;N++)k.push(String(P[N-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[N]));return T===void 0&&(T=$L()),T(w,k.join(""))},"chalkTag");Object.defineProperties(f.prototype,u);var _=f();_.supportsColor=n,_.stderr=f({level:a?a.level:0}),_.stderr.supportsColor=a,_.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=_}),UL=R((e,t)=>{function r(){this.__data__=[],this.size=0}s(r,"listCacheClear"),t.exports=r}),DC=R((e,t)=>{function r(n,a){return n===a||n!==n&&a!==a}s(r,"eq"),t.exports=r}),Mu=R((e,t)=>{var r=DC();function n(a,o){for(var i=a.length;i--;)if(r(a[i][0],o))return i;return-1}s(n,"assocIndexOf"),t.exports=n}),VL=R((e,t)=>{var r=Mu(),n=Array.prototype,a=n.splice;function o(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():a.call(l,u,1),--this.size,!0}s(o,"listCacheDelete"),t.exports=o}),HL=R((e,t)=>{var r=Mu();function n(a){var o=this.__data__,i=r(o,a);return i<0?void 0:o[i][1]}s(n,"listCacheGet"),t.exports=n}),zL=R((e,t)=>{var r=Mu();function n(a){return r(this.__data__,a)>-1}s(n,"listCacheHas"),t.exports=n}),JL=R((e,t)=>{var r=Mu();function n(a,o){var i=this.__data__,l=r(i,a);return l<0?(++this.size,i.push([a,o])):i[l][1]=o,this}s(n,"listCacheSet"),t.exports=n}),Lu=R((e,t)=>{var r=UL(),n=VL(),a=HL(),o=zL(),i=JL();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),GL=R((e,t)=>{var r=Lu();function n(){this.__data__=new r,this.size=0}s(n,"stackClear"),t.exports=n}),WL=R((e,t)=>{function r(n){var a=this.__data__,o=a.delete(n);return this.size=a.size,o}s(r,"stackDelete"),t.exports=r}),YL=R((e,t)=>{function r(n){return this.__data__.get(n)}s(r,"stackGet"),t.exports=r}),KL=R((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"stackHas"),t.exports=r}),OC=R((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),Dn=R((e,t)=>{var r=OC(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}),dm=R((e,t)=>{var r=Dn(),n=r.Symbol;t.exports=n}),XL=R((e,t)=>{var r=dm(),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,i=r?r.toStringTag:void 0;function l(u){var c=a.call(u,i),p=u[i];try{u[i]=void 0;var d=!0}catch{}var h=o.call(u);return d&&(c?u[i]=p:delete u[i]),h}s(l,"getRawTag"),t.exports=l}),QL=R((e,t)=>{var r=Object.prototype,n=r.toString;function a(o){return n.call(o)}s(a,"objectToString"),t.exports=a}),$u=R((e,t)=>{var r=dm(),n=XL(),a=QL(),o="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?i:o:l&&l in Object(c)?n(c):a(c)}s(u,"baseGetTag"),t.exports=u}),RC=R((e,t)=>{function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}s(r,"isObject"),t.exports=r}),FC=R((e,t)=>{var r=$u(),n=RC(),a="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var p=r(c);return p==o||p==i||p==a||p==l}s(u,"isFunction"),t.exports=u}),ZL=R((e,t)=>{var r=Dn(),n=r["__core-js_shared__"];t.exports=n}),e3=R((e,t)=>{var r=ZL(),n=function(){var o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function a(o){return!!n&&n in o}s(a,"isMasked"),t.exports=a}),IC=R((e,t)=>{var r=Function.prototype,n=r.toString;function a(o){if(o!=null){try{return n.call(o)}catch{}try{return o+""}catch{}}return""}s(a,"toSource"),t.exports=a}),t3=R((e,t)=>{var r=FC(),n=e3(),a=RC(),o=IC(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,d=c.hasOwnProperty,h=RegExp("^"+p.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(m){if(!a(m)||n(m))return!1;var y=r(m)?h:l;return y.test(o(m))}s(f,"baseIsNative"),t.exports=f}),r3=R((e,t)=>{function r(n,a){return n==null?void 0:n[a]}s(r,"getValue"),t.exports=r}),Go=R((e,t)=>{var r=t3(),n=r3();function a(o,i){var l=n(o,i);return r(l)?l:void 0}s(a,"getNative"),t.exports=a}),fm=R((e,t)=>{var r=Go(),n=Dn(),a=r(n,"Map");t.exports=a}),Uu=R((e,t)=>{var r=Go(),n=r(Object,"create");t.exports=n}),n3=R((e,t)=>{var r=Uu();function n(){this.__data__=r?r(null):{},this.size=0}s(n,"hashClear"),t.exports=n}),a3=R((e,t)=>{function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}s(r,"hashDelete"),t.exports=r}),o3=R((e,t)=>{var r=Uu(),n="__lodash_hash_undefined__",a=Object.prototype,o=a.hasOwnProperty;function i(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return o.call(u,l)?u[l]:void 0}s(i,"hashGet"),t.exports=i}),i3=R((e,t)=>{var r=Uu(),n=Object.prototype,a=n.hasOwnProperty;function o(i){var l=this.__data__;return r?l[i]!==void 0:a.call(l,i)}s(o,"hashHas"),t.exports=o}),s3=R((e,t)=>{var r=Uu(),n="__lodash_hash_undefined__";function a(o,i){var l=this.__data__;return this.size+=this.has(o)?0:1,l[o]=r&&i===void 0?n:i,this}s(a,"hashSet"),t.exports=a}),l3=R((e,t)=>{var r=n3(),n=a3(),a=o3(),o=i3(),i=s3();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),u3=R((e,t)=>{var r=l3(),n=Lu(),a=fm();function o(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}s(o,"mapCacheClear"),t.exports=o}),c3=R((e,t)=>{function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}s(r,"isKeyable"),t.exports=r}),Vu=R((e,t)=>{var r=c3();function n(a,o){var i=a.__data__;return r(o)?i[typeof o=="string"?"string":"hash"]:i.map}s(n,"getMapData"),t.exports=n}),p3=R((e,t)=>{var r=Vu();function n(a){var o=r(this,a).delete(a);return this.size-=o?1:0,o}s(n,"mapCacheDelete"),t.exports=n}),d3=R((e,t)=>{var r=Vu();function n(a){return r(this,a).get(a)}s(n,"mapCacheGet"),t.exports=n}),f3=R((e,t)=>{var r=Vu();function n(a){return r(this,a).has(a)}s(n,"mapCacheHas"),t.exports=n}),h3=R((e,t)=>{var r=Vu();function n(a,o){var i=r(this,a),l=i.size;return i.set(a,o),this.size+=i.size==l?0:1,this}s(n,"mapCacheSet"),t.exports=n}),kC=R((e,t)=>{var r=u3(),n=p3(),a=d3(),o=f3(),i=h3();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}s(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=o,l.prototype.set=i,t.exports=l}),m3=R((e,t)=>{var r=Lu(),n=fm(),a=kC(),o=200;function i(l,u){var c=this.__data__;if(c instanceof r){var p=c.__data__;if(!n||p.length<o-1)return p.push([l,u]),this.size=++c.size,this;c=this.__data__=new a(p)}return c.set(l,u),this.size=c.size,this}s(i,"stackSet"),t.exports=i}),y3=R((e,t)=>{var r=Lu(),n=GL(),a=WL(),o=YL(),i=KL(),l=m3();function u(c){var p=this.__data__=new r(c);this.size=p.size}s(u,"Stack"),u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=i,u.prototype.set=l,t.exports=u}),g3=R((e,t)=>{var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}s(n,"setCacheAdd"),t.exports=n}),b3=R((e,t)=>{function r(n){return this.__data__.has(n)}s(r,"setCacheHas"),t.exports=r}),v3=R((e,t)=>{var r=kC(),n=g3(),a=b3();function o(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}s(o,"SetCache"),o.prototype.add=o.prototype.push=n,o.prototype.has=a,t.exports=o}),E3=R((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length;++o<i;)if(a(n[o],o,n))return!0;return!1}s(r,"arraySome"),t.exports=r}),C3=R((e,t)=>{function r(n,a){return n.has(a)}s(r,"cacheHas"),t.exports=r}),NC=R((e,t)=>{var r=v3(),n=E3(),a=C3(),o=1,i=2;function l(u,c,p,d,h,f){var m=p&o,y=u.length,g=c.length;if(y!=g&&!(m&&g>y))return!1;var b=f.get(u),v=f.get(c);if(b&&v)return b==c&&v==u;var T=-1,x=!0,_=p&i?new r:void 0;for(f.set(u,c),f.set(c,u);++T<y;){var w=u[T],E=c[T];if(d)var C=m?d(E,w,T,c,u,f):d(w,E,T,u,c,f);if(C!==void 0){if(C)continue;x=!1;break}if(_){if(!n(c,function(P,k){if(!a(_,k)&&(w===P||h(w,P,p,d,f)))return _.push(k)})){x=!1;break}}else if(!(w===E||h(w,E,p,d,f))){x=!1;break}}return f.delete(u),f.delete(c),x}s(l,"equalArrays"),t.exports=l}),w3=R((e,t)=>{var r=Dn(),n=r.Uint8Array;t.exports=n}),A3=R((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i,l){o[++a]=[l,i]}),o}s(r,"mapToArray"),t.exports=r}),x3=R((e,t)=>{function r(n){var a=-1,o=Array(n.size);return n.forEach(function(i){o[++a]=i}),o}s(r,"setToArray"),t.exports=r}),S3=R((e,t)=>{var r=dm(),n=w3(),a=DC(),o=NC(),i=A3(),l=x3(),u=1,c=2,p="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Map]",m="[object Number]",y="[object RegExp]",g="[object Set]",b="[object String]",v="[object Symbol]",T="[object ArrayBuffer]",x="[object DataView]",_=r?r.prototype:void 0,w=_?_.valueOf:void 0;function E(C,P,k,N,G,Y,O){switch(k){case x:if(C.byteLength!=P.byteLength||C.byteOffset!=P.byteOffset)return!1;C=C.buffer,P=P.buffer;case T:return!(C.byteLength!=P.byteLength||!Y(new n(C),new n(P)));case p:case d:case m:return a(+C,+P);case h:return C.name==P.name&&C.message==P.message;case y:case b:return C==P+"";case f:var q=i;case g:var B=N&u;if(q||(q=l),C.size!=P.size&&!B)return!1;var K=O.get(C);if(K)return K==P;N|=c,O.set(C,P);var Q=o(q(C),q(P),N,G,Y,O);return O.delete(C),Q;case v:if(w)return w.call(C)==w.call(P)}return!1}s(E,"equalByTag"),t.exports=E}),_3=R((e,t)=>{function r(n,a){for(var o=-1,i=a.length,l=n.length;++o<i;)n[l+o]=a[o];return n}s(r,"arrayPush"),t.exports=r}),hm=R((e,t)=>{var r=Array.isArray;t.exports=r}),T3=R((e,t)=>{var r=_3(),n=hm();function a(o,i,l){var u=i(o);return n(o)?u:r(u,l(o))}s(a,"baseGetAllKeys"),t.exports=a}),P3=R((e,t)=>{function r(n,a){for(var o=-1,i=n==null?0:n.length,l=0,u=[];++o<i;){var c=n[o];a(c,o,n)&&(u[l++]=c)}return u}s(r,"arrayFilter"),t.exports=r}),D3=R((e,t)=>{function r(){return[]}s(r,"stubArray"),t.exports=r}),O3=R((e,t)=>{var r=P3(),n=D3(),a=Object.prototype,o=a.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(c){return o.call(u,c)}))}:n;t.exports=l}),R3=R((e,t)=>{function r(n,a){for(var o=-1,i=Array(n);++o<n;)i[o]=a(o);return i}s(r,"baseTimes"),t.exports=r}),Hu=R((e,t)=>{function r(n){return n!=null&&typeof n=="object"}s(r,"isObjectLike"),t.exports=r}),F3=R((e,t)=>{var r=$u(),n=Hu(),a="[object Arguments]";function o(i){return n(i)&&r(i)==a}s(o,"baseIsArguments"),t.exports=o}),I3=R((e,t)=>{var r=F3(),n=Hu(),a=Object.prototype,o=a.hasOwnProperty,i=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&o.call(u,"callee")&&!i.call(u,"callee")};t.exports=l}),k3=R((e,t)=>{function r(){return!1}s(r,"stubFalse"),t.exports=r}),jC=R((e,t)=>{var r=Dn(),n=k3(),a=typeof e=="object"&&e&&!e.nodeType&&e,o=a&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===a,l=i?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}),N3=R((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(o,i){var l=typeof o;return i=i??r,!!i&&(l=="number"||l!="symbol"&&n.test(o))&&o>-1&&o%1==0&&o<i}s(a,"isIndex"),t.exports=a}),BC=R((e,t)=>{var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}s(n,"isLength"),t.exports=n}),j3=R((e,t)=>{var r=$u(),n=BC(),a=Hu(),o="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object WeakMap]",v="[object ArrayBuffer]",T="[object DataView]",x="[object Float32Array]",_="[object Float64Array]",w="[object Int8Array]",E="[object Int16Array]",C="[object Int32Array]",P="[object Uint8Array]",k="[object Uint8ClampedArray]",N="[object Uint16Array]",G="[object Uint32Array]",Y={};Y[x]=Y[_]=Y[w]=Y[E]=Y[C]=Y[P]=Y[k]=Y[N]=Y[G]=!0,Y[o]=Y[i]=Y[v]=Y[l]=Y[T]=Y[u]=Y[c]=Y[p]=Y[d]=Y[h]=Y[f]=Y[m]=Y[y]=Y[g]=Y[b]=!1;function O(q){return a(q)&&n(q.length)&&!!Y[r(q)]}s(O,"baseIsTypedArray"),t.exports=O}),B3=R((e,t)=>{function r(n){return function(a){return n(a)}}s(r,"baseUnary"),t.exports=r}),q3=R((e,t)=>{var r=OC(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,i=o&&r.process,l=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();t.exports=l}),qC=R((e,t)=>{var r=j3(),n=B3(),a=q3(),o=a&&a.isTypedArray,i=o?n(o):r;t.exports=i}),M3=R((e,t)=>{var r=R3(),n=I3(),a=hm(),o=jC(),i=N3(),l=qC(),u=Object.prototype,c=u.hasOwnProperty;function p(d,h){var f=a(d),m=!f&&n(d),y=!f&&!m&&o(d),g=!f&&!m&&!y&&l(d),b=f||m||y||g,v=b?r(d.length,String):[],T=v.length;for(var x in d)(h||c.call(d,x))&&!(b&&(x=="length"||y&&(x=="offset"||x=="parent")||g&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||i(x,T)))&&v.push(x);return v}s(p,"arrayLikeKeys"),t.exports=p}),L3=R((e,t)=>{var r=Object.prototype;function n(a){var o=a&&a.constructor,i=typeof o=="function"&&o.prototype||r;return a===i}s(n,"isPrototype"),t.exports=n}),$3=R((e,t)=>{function r(n,a){return function(o){return n(a(o))}}s(r,"overArg"),t.exports=r}),U3=R((e,t)=>{var r=$3(),n=r(Object.keys,Object);t.exports=n}),V3=R((e,t)=>{var r=L3(),n=U3(),a=Object.prototype,o=a.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))o.call(l,c)&&c!="constructor"&&u.push(c);return u}s(i,"baseKeys"),t.exports=i}),H3=R((e,t)=>{var r=FC(),n=BC();function a(o){return o!=null&&n(o.length)&&!r(o)}s(a,"isArrayLike"),t.exports=a}),z3=R((e,t)=>{var r=M3(),n=V3(),a=H3();function o(i){return a(i)?r(i):n(i)}s(o,"keys"),t.exports=o}),J3=R((e,t)=>{var r=T3(),n=O3(),a=z3();function o(i){return r(i,a,n)}s(o,"getAllKeys"),t.exports=o}),G3=R((e,t)=>{var r=J3(),n=1,a=Object.prototype,o=a.hasOwnProperty;function i(l,u,c,p,d,h){var f=c&n,m=r(l),y=m.length,g=r(u),b=g.length;if(y!=b&&!f)return!1;for(var v=y;v--;){var T=m[v];if(!(f?T in u:o.call(u,T)))return!1}var x=h.get(l),_=h.get(u);if(x&&_)return x==u&&_==l;var w=!0;h.set(l,u),h.set(u,l);for(var E=f;++v<y;){T=m[v];var C=l[T],P=u[T];if(p)var k=f?p(P,C,T,u,l,h):p(C,P,T,l,u,h);if(!(k===void 0?C===P||d(C,P,c,p,h):k)){w=!1;break}E||(E=T=="constructor")}if(w&&!E){var N=l.constructor,G=u.constructor;N!=G&&"constructor"in l&&"constructor"in u&&!(typeof N=="function"&&N instanceof N&&typeof G=="function"&&G instanceof G)&&(w=!1)}return h.delete(l),h.delete(u),w}s(i,"equalObjects"),t.exports=i}),W3=R((e,t)=>{var r=Go(),n=Dn(),a=r(n,"DataView");t.exports=a}),Y3=R((e,t)=>{var r=Go(),n=Dn(),a=r(n,"Promise");t.exports=a}),K3=R((e,t)=>{var r=Go(),n=Dn(),a=r(n,"Set");t.exports=a}),X3=R((e,t)=>{var r=Go(),n=Dn(),a=r(n,"WeakMap");t.exports=a}),Q3=R((e,t)=>{var r=W3(),n=fm(),a=Y3(),o=K3(),i=X3(),l=$u(),u=IC(),c="[object Map]",p="[object Object]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",y=u(r),g=u(n),b=u(a),v=u(o),T=u(i),x=l;(r&&x(new r(new ArrayBuffer(1)))!=m||n&&x(new n)!=c||a&&x(a.resolve())!=d||o&&x(new o)!=h||i&&x(new i)!=f)&&(x=s(function(_){var w=l(_),E=w==p?_.constructor:void 0,C=E?u(E):"";if(C)switch(C){case y:return m;case g:return c;case b:return d;case v:return h;case T:return f}return w},"getTag")),t.exports=x}),Z3=R((e,t)=>{var r=y3(),n=NC(),a=S3(),o=G3(),i=Q3(),l=hm(),u=jC(),c=qC(),p=1,d="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype,y=m.hasOwnProperty;function g(b,v,T,x,_,w){var E=l(b),C=l(v),P=E?h:i(b),k=C?h:i(v);P=P==d?f:P,k=k==d?f:k;var N=P==f,G=k==f,Y=P==k;if(Y&&u(b)){if(!u(v))return!1;E=!0,N=!1}if(Y&&!N)return w||(w=new r),E||c(b)?n(b,v,T,x,_,w):a(b,v,P,T,x,_,w);if(!(T&p)){var O=N&&y.call(b,"__wrapped__"),q=G&&y.call(v,"__wrapped__");if(O||q){var B=O?b.value():b,K=q?v.value():v;return w||(w=new r),_(B,K,T,x,w)}}return Y?(w||(w=new r),o(b,v,T,x,_,w)):!1}s(g,"baseIsEqualDeep"),t.exports=g}),e$=R((e,t)=>{var r=Z3(),n=Hu();function a(o,i,l,u,c){return o===i?!0:o==null||i==null||!n(o)&&!n(i)?o!==o&&i!==i:r(o,i,l,u,a,c)}s(a,"baseIsEqual"),t.exports=a}),MC=R((e,t)=>{var r=e$();function n(a,o,i){i=typeof i=="function"?i:void 0;var l=i?i(a,o):void 0;return l===void 0?r(a,o,void 0,i):!!l}s(n,"isEqualWith"),t.exports=n}),LC=R((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=s(function(a){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(a),i=o.length,l=-1,u,c="",p=o.charCodeAt(0);++l<i;){if(u=o.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&p==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+o.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(l);continue}c+="\\"+o.charAt(l)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),$C=R((e,t)=>{var r=s((o=0)=>i=>`\x1B[${38+o};5;${i}m`,"wrapAnsi256"),n=s((o=0)=>(i,l,u)=>`\x1B[${38+o};2;${i};${l};${u}m`,"wrapAnsi16m");function a(){let o=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,p]of Object.entries(u))i[c]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},u[c]=i[c],o.set(p[0],p[1]);Object.defineProperty(i,l,{value:u,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:s((l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:s(l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let p=Number.parseInt(c,16);return[p>>16&255,p>>8&255,p&255]},"value"),enumerable:!1},hexToAnsi256:{value:s(l=>i.rgbToAnsi256(...i.hexToRgb(l)),"value"),enumerable:!1}}),i}s(a,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:a})}),zu=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=s((i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c)}),u},"getKeysOfEnumerableProperties");function r(i,l,u,c,p,d,h=": "){let f="",m=i.next();if(!m.done){f+=l.spacingOuter;let y=u+l.indent;for(;!m.done;){let g=d(m.value[0],l,y,c,p),b=d(m.value[1],l,y,c,p);f+=y+g+h+b,m=i.next(),m.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}s(r,"printIteratorEntries");function n(i,l,u,c,p,d){let h="",f=i.next();if(!f.done){h+=l.spacingOuter;let m=u+l.indent;for(;!f.done;)h+=m+d(f.value,l,m,c,p),f=i.next(),f.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}s(n,"printIteratorValues");function a(i,l,u,c,p,d){let h="";if(i.length){h+=l.spacingOuter;let f=u+l.indent;for(let m=0;m<i.length;m++)h+=f,m in i&&(h+=d(i[m],l,f,c,p)),m<i.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}s(a,"printListItems");function o(i,l,u,c,p,d){let h="",f=t(i,l.compareKeys);if(f.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<f.length;y++){let g=f[y],b=d(g,l,m,c,p),v=d(i[g],l,m,c,p);h+=m+b+": "+v,y<f.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}s(o,"printObjectProperties")}),t$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=zu(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",i=s((p,d,h,f,m,y)=>{let g=p.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"["+(0,t.printListItems)(p.sample,d,h,f,m,y)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"{"+(0,t.printObjectProperties)(p.sample,d,h,f,m,y)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+o+y(p.sample,d,h,f,m):p.toAsymmetricMatcher()},"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),r$=R((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\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(n,r?void 0:"g")}}),n$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(r$()),r=n($C());function n(c){return c&&c.__esModule?c:{default:c}}s(n,"_interopRequireDefault");var a=s(c=>c.replace((0,t.default)(),p=>{switch(p){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),o=s(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=o;var i=s((c,p,d,h,f,m)=>m(a(c),p,d,h,f),"serialize");e.serialize=i;var l={serialize:i,test:o},u=l;e.default=u}),a$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=zu(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=s(d=>n.indexOf(d)!==-1||a.test(d),"testName"),i=s(d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name),"test");e.test=i;var l=s(d=>d.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=s((d,h,f,m,y,g)=>{let b=d.constructor.name;return++m>h.maxDepth?"["+b+"]":(h.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,T)=>(v[T.name]=T.value,v),{}):{...d},h,f,m,y,g)+"}":"["+(0,t.printListItems)(Array.from(d),h,f,m,y,g)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:i},p=c;e.default=p}),o$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}s(t,"escapeHTML")}),mm=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(o$());function r(c){return c&&c.__esModule?c:{default:c}}s(r,"_interopRequireDefault");var n=s((c,p,d,h,f,m,y)=>{let g=h+d.indent,b=d.colors;return c.map(v=>{let T=p[v],x=y(T,d,g,f,m);return typeof T!="string"&&(x.indexOf(`
14
+ `)!==-1&&(x=d.spacingOuter+g+x+d.spacingOuter+h),x="{"+x+"}"),d.spacingInner+h+b.prop.open+v+b.prop.close+"="+b.value.open+x+b.value.close}).join("")},"printProps");e.printProps=n;var a=s((c,p,d,h,f,m)=>c.map(y=>p.spacingOuter+d+(typeof y=="string"?o(y,p):m(y,p,d,h,f))).join(""),"printChildren");e.printChildren=a;var o=s((c,p)=>{let d=p.colors.content;return d.open+(0,t.default)(c)+d.close},"printText");e.printText=o;var i=s((c,p)=>{let d=p.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close},"printComment");e.printComment=i;var l=s((c,p,d,h,f)=>{let m=h.colors.tag;return m.open+"<"+c+(p&&m.close+p+h.spacingOuter+f+m.open)+(d?">"+m.close+d+h.spacingOuter+f+m.open+"</"+c:(p&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=l;var u=s((c,p)=>{let d=p.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close},"printElementAsLeaf");e.printElementAsLeaf=u}),i$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=mm(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,l=s(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=s(g=>{let b=g.constructor.name,{nodeType:v,tagName:T}=g,x=typeof T=="string"&&T.includes("-")||l(g);return v===r&&(i.test(b)||x)||v===n&&b==="Text"||v===a&&b==="Comment"||v===o&&b==="DocumentFragment"},"testNode"),c=s(g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)},"test");e.test=c;function p(g){return g.nodeType===n}s(p,"nodeIsText");function d(g){return g.nodeType===a}s(d,"nodeIsComment");function h(g){return g.nodeType===o}s(h,"nodeIsFragment");var f=s((g,b,v,T,x,_)=>{if(p(g))return(0,t.printText)(g.data,b);if(d(g))return(0,t.printComment)(g.data,b);let w=h(g)?"DocumentFragment":g.tagName.toLowerCase();return++T>b.maxDepth?(0,t.printElementAsLeaf)(w,b):(0,t.printElement)(w,(0,t.printProps)(h(g)?[]:Array.from(g.attributes).map(E=>E.name).sort(),h(g)?{}:Array.from(g.attributes).reduce((E,C)=>(E[C.name]=C.value,E),{}),b,v+b.indent,T,x,_),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,v+b.indent,T,x,_),b,v)},"serialize");e.serialize=f;var m={serialize:f,test:c},y=m;e.default=y}),s$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=zu(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",d=s(C=>"Immutable."+C,"getImmutableName"),h=s(C=>"["+C+"]","printAsLeaf"),f=" ",m="…",y=s((C,P,k,N,G,Y,O)=>++N>P.maxDepth?h(d(O)):d(O)+f+"{"+(0,t.printIteratorEntries)(C.entries(),P,k,N,G,Y)+"}","printImmutableEntries");function g(C){let P=0;return{next(){if(P<C._keys.length){let k=C._keys[P++];return{done:!1,value:[k,C.get(k)]}}return{done:!0,value:void 0}}}}s(g,"getRecordEntries");var b=s((C,P,k,N,G,Y)=>{let O=d(C._name||"Record");return++N>P.maxDepth?h(O):O+f+"{"+(0,t.printIteratorEntries)(g(C),P,k,N,G,Y)+"}"},"printImmutableRecord"),v=s((C,P,k,N,G,Y)=>{let O=d("Seq");return++N>P.maxDepth?h(O):C[a]?O+f+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),P,k,N,G,Y):m)+"}":O+f+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),P,k,N,G,Y):m)+"]"},"printImmutableSeq"),T=s((C,P,k,N,G,Y,O)=>++N>P.maxDepth?h(d(O)):d(O)+f+"["+(0,t.printIteratorValues)(C.values(),P,k,N,G,Y)+"]","printImmutableValues"),x=s((C,P,k,N,G,Y)=>C[o]?y(C,P,k,N,G,Y,C[i]?"OrderedMap":"Map"):C[n]?T(C,P,k,N,G,Y,"List"):C[c]?T(C,P,k,N,G,Y,C[i]?"OrderedSet":"Set"):C[p]?T(C,P,k,N,G,Y,"Stack"):C[u]?v(C,P,k,N,G,Y):b(C,P,k,N,G,Y),"serialize");e.serialize=x;var _=s(C=>C&&(C[r]===!0||C[l]===!0),"test");e.test=_;var w={serialize:x,test:_},E=w;e.default=E}),l$=R(e=>{var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,l=60110,u=60112,c=60113,p=60120,d=60115,h=60116,f=60121,m=60122,y=60117,g=60129,b=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),a=v("react.strict_mode"),o=v("react.profiler"),i=v("react.provider"),l=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),p=v("react.suspense_list"),d=v("react.memo"),h=v("react.lazy"),f=v("react.block"),m=v("react.server.block"),y=v("react.fundamental"),g=v("react.debug_trace_mode"),b=v("react.legacy_hidden"));var v;function T(O){if(typeof O=="object"&&O!==null){var q=O.$$typeof;switch(q){case t:switch(O=O.type,O){case n:case o:case a:case c:case p:return O;default:switch(O=O&&O.$$typeof,O){case l:case u:case h:case d:case i:return O;default:return q}}case r:return q}}}s(T,"y");var x=i,_=t,w=u,E=n,C=h,P=d,k=r,N=o,G=a,Y=c;e.ContextConsumer=l,e.ContextProvider=x,e.Element=_,e.ForwardRef=w,e.Fragment=E,e.Lazy=C,e.Memo=P,e.Portal=k,e.Profiler=N,e.StrictMode=G,e.Suspense=Y,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(O){return T(O)===l},e.isContextProvider=function(O){return T(O)===i},e.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===t},e.isForwardRef=function(O){return T(O)===u},e.isFragment=function(O){return T(O)===n},e.isLazy=function(O){return T(O)===h},e.isMemo=function(O){return T(O)===d},e.isPortal=function(O){return T(O)===r},e.isProfiler=function(O){return T(O)===o},e.isStrictMode=function(O){return T(O)===a},e.isSuspense=function(O){return T(O)===c},e.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===n||O===o||O===g||O===a||O===c||O===p||O===b||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===d||O.$$typeof===i||O.$$typeof===l||O.$$typeof===u||O.$$typeof===y||O.$$typeof===f||O[0]===m)},e.typeOf=T}),u$=R((e,t)=>{t.exports=l$()}),c$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(u$()),r=mm();function n(h){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=s(function(y){return y?m:f},"_getRequireWildcardCache"))(h)}s(n,"_getRequireWildcardCache");function a(h,f){if(!f&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(f);if(m&&m.has(h))return m.get(h);var y={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in h)if(b!=="default"&&Object.prototype.hasOwnProperty.call(h,b)){var v=g?Object.getOwnPropertyDescriptor(h,b):null;v&&(v.get||v.set)?Object.defineProperty(y,b,v):y[b]=h[b]}return y.default=h,m&&m.set(h,y),y}s(a,"_interopRequireWildcard");var o=s((h,f=[])=>(Array.isArray(h)?h.forEach(m=>{o(m,f)}):h!=null&&h!==!1&&f.push(h),f),"getChildren"),i=s(h=>{let f=h.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(f.displayName)return f.displayName;let m=f.render.displayName||f.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=f.displayName||f.type.displayName||f.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),l=s(h=>{let{props:f}=h;return Object.keys(f).filter(m=>m!=="children"&&f[m]!==void 0).sort()},"getPropKeys"),u=s((h,f,m,y,g,b)=>++y>f.maxDepth?(0,r.printElementAsLeaf)(i(h),f):(0,r.printElement)(i(h),(0,r.printProps)(l(h),h.props,f,m+f.indent,y,g,b),(0,r.printChildren)(o(h.props.children),f,m+f.indent,y,g,b),f,m),"serialize");e.serialize=u;var c=s(h=>h!=null&&t.isElement(h),"test");e.test=c;var p={serialize:u,test:c},d=p;e.default=d}),p$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=mm(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s(p=>{let{props:d}=p;return d?Object.keys(d).filter(h=>d[h]!==void 0).sort():[]},"getPropKeys"),i=s((p,d,h,f,m,y)=>++f>d.maxDepth?(0,t.printElementAsLeaf)(p.type,d):(0,t.printElement)(p.type,p.props?(0,t.printProps)(o(p),p.props,d,h+d.indent,f,m,y):"",p.children?(0,t.printChildren)(p.children,d,h+d.indent,f,m,y):"",d,h),"serialize");e.serialize=i;var l=s(p=>p&&p.$$typeof===a,"test");e.test=l;var u={serialize:i,test:l},c=u;e.default=c}),d$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=de,e.plugins=void 0;var t=p($C()),r=zu(),n=p(t$()),a=p(n$()),o=p(a$()),i=p(i$()),l=p(s$()),u=p(c$()),c=p(p$());function p(Z){return Z&&Z.__esModule?Z:{default:Z}}s(p,"_interopRequireDefault");var d=Object.prototype.toString,h=Date.prototype.toISOString,f=Error.prototype.toString,m=RegExp.prototype.toString,y=s(Z=>typeof Z.constructor=="function"&&Z.constructor.name||"Object","getConstructorName"),g=s(Z=>typeof window<"u"&&Z===window,"isWindow"),b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,T=class extends Error{constructor(ce,ge){super(ce),this.stack=ge,this.name=this.constructor.name}};s(T,"PrettyFormatPluginError");var x=T;function _(Z){return Z==="[object Array]"||Z==="[object ArrayBuffer]"||Z==="[object DataView]"||Z==="[object Float32Array]"||Z==="[object Float64Array]"||Z==="[object Int8Array]"||Z==="[object Int16Array]"||Z==="[object Int32Array]"||Z==="[object Uint8Array]"||Z==="[object Uint8ClampedArray]"||Z==="[object Uint16Array]"||Z==="[object Uint32Array]"}s(_,"isToStringedArrayType");function w(Z){return Object.is(Z,-0)?"-0":String(Z)}s(w,"printNumber");function E(Z){return`${Z}n`}s(E,"printBigInt");function C(Z,ce){return ce?"[Function "+(Z.name||"anonymous")+"]":"[Function]"}s(C,"printFunction");function P(Z){return String(Z).replace(b,"Symbol($1)")}s(P,"printSymbol");function k(Z){return"["+f.call(Z)+"]"}s(k,"printError");function N(Z,ce,ge,be){if(Z===!0||Z===!1)return""+Z;if(Z===void 0)return"undefined";if(Z===null)return"null";let Ee=typeof Z;if(Ee==="number")return w(Z);if(Ee==="bigint")return E(Z);if(Ee==="string")return be?'"'+Z.replace(/"|\\/g,"\\$&")+'"':'"'+Z+'"';if(Ee==="function")return C(Z,ce);if(Ee==="symbol")return P(Z);let xe=d.call(Z);return xe==="[object WeakMap]"?"WeakMap {}":xe==="[object WeakSet]"?"WeakSet {}":xe==="[object Function]"||xe==="[object GeneratorFunction]"?C(Z,ce):xe==="[object Symbol]"?P(Z):xe==="[object Date]"?isNaN(+Z)?"Date { NaN }":h.call(Z):xe==="[object Error]"?k(Z):xe==="[object RegExp]"?ge?m.call(Z).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(Z):Z instanceof Error?k(Z):null}s(N,"printBasicValue");function G(Z,ce,ge,be,Ee,xe){if(Ee.indexOf(Z)!==-1)return"[Circular]";Ee=Ee.slice(),Ee.push(Z);let Se=++be>ce.maxDepth,ze=ce.min;if(ce.callToJSON&&!Se&&Z.toJSON&&typeof Z.toJSON=="function"&&!xe)return B(Z.toJSON(),ce,ge,be,Ee,!0);let ct=d.call(Z);return ct==="[object Arguments]"?Se?"[Arguments]":(ze?"":"Arguments ")+"["+(0,r.printListItems)(Z,ce,ge,be,Ee,B)+"]":_(ct)?Se?"["+Z.constructor.name+"]":(ze||!ce.printBasicPrototype&&Z.constructor.name==="Array"?"":Z.constructor.name+" ")+"["+(0,r.printListItems)(Z,ce,ge,be,Ee,B)+"]":ct==="[object Map]"?Se?"[Map]":"Map {"+(0,r.printIteratorEntries)(Z.entries(),ce,ge,be,Ee,B," => ")+"}":ct==="[object Set]"?Se?"[Set]":"Set {"+(0,r.printIteratorValues)(Z.values(),ce,ge,be,Ee,B)+"}":Se||g(Z)?"["+y(Z)+"]":(ze||!ce.printBasicPrototype&&y(Z)==="Object"?"":y(Z)+" ")+"{"+(0,r.printObjectProperties)(Z,ce,ge,be,Ee,B)+"}"}s(G,"printComplexValue");function Y(Z){return Z.serialize!=null}s(Y,"isNewPlugin");function O(Z,ce,ge,be,Ee,xe){let Se;try{Se=Y(Z)?Z.serialize(ce,ge,be,Ee,xe,B):Z.print(ce,ze=>B(ze,ge,be,Ee,xe),ze=>{let ct=be+ge.indent;return ct+ze.replace(v,`
15
+ `+ct)},{edgeSpacing:ge.spacingOuter,min:ge.min,spacing:ge.spacingInner},ge.colors)}catch(ze){throw new x(ze.message,ze.stack)}if(typeof Se!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Se}".`);return Se}s(O,"printPlugin");function q(Z,ce){for(let ge=0;ge<Z.length;ge++)try{if(Z[ge].test(ce))return Z[ge]}catch(be){throw new x(be.message,be.stack)}return null}s(q,"findPlugin");function B(Z,ce,ge,be,Ee,xe){let Se=q(ce.plugins,Z);if(Se!==null)return O(Se,Z,ce,ge,be,Ee);let ze=N(Z,ce.printFunctionName,ce.escapeRegex,ce.escapeString);return ze!==null?ze:G(Z,ce,ge,be,Ee,xe)}s(B,"printer");var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Q=Object.keys(K),ne={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};e.DEFAULT_OPTIONS=ne;function $(Z){if(Object.keys(Z).forEach(ce=>{if(!ne.hasOwnProperty(ce))throw new Error(`pretty-format: Unknown option "${ce}".`)}),Z.min&&Z.indent!==void 0&&Z.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Z.theme!==void 0){if(Z.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Z.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Z.theme}".`)}}s($,"validateOptions");var J=s(Z=>Q.reduce((ce,ge)=>{let be=Z.theme&&Z.theme[ge]!==void 0?Z.theme[ge]:K[ge],Ee=be&&t.default[be];if(Ee&&typeof Ee.close=="string"&&typeof Ee.open=="string")ce[ge]=Ee;else throw new Error(`pretty-format: Option "theme" has a key "${ge}" whose value "${be}" is undefined in ansi-styles.`);return ce},Object.create(null)),"getColorsHighlight"),U=s(()=>Q.reduce((Z,ce)=>(Z[ce]={close:"",open:""},Z),Object.create(null)),"getColorsEmpty"),X=s(Z=>Z&&Z.printFunctionName!==void 0?Z.printFunctionName:ne.printFunctionName,"getPrintFunctionName"),ee=s(Z=>Z&&Z.escapeRegex!==void 0?Z.escapeRegex:ne.escapeRegex,"getEscapeRegex"),se=s(Z=>Z&&Z.escapeString!==void 0?Z.escapeString:ne.escapeString,"getEscapeString"),te=s(Z=>{var ce;return{callToJSON:Z&&Z.callToJSON!==void 0?Z.callToJSON:ne.callToJSON,colors:Z&&Z.highlight?J(Z):U(),compareKeys:Z&&typeof Z.compareKeys=="function"?Z.compareKeys:ne.compareKeys,escapeRegex:ee(Z),escapeString:se(Z),indent:Z&&Z.min?"":pe(Z&&Z.indent!==void 0?Z.indent:ne.indent),maxDepth:Z&&Z.maxDepth!==void 0?Z.maxDepth:ne.maxDepth,min:Z&&Z.min!==void 0?Z.min:ne.min,plugins:Z&&Z.plugins!==void 0?Z.plugins:ne.plugins,printBasicPrototype:(ce=Z==null?void 0:Z.printBasicPrototype)!==null&&ce!==void 0?ce:!0,printFunctionName:X(Z),spacingInner:Z&&Z.min?" ":`
16
+ `,spacingOuter:Z&&Z.min?"":`
17
+ `}},"getConfig");function pe(Z){return new Array(Z+1).join(" ")}s(pe,"createIndent");function de(Z,ce){if(ce&&($(ce),ce.plugins)){let be=q(ce.plugins,Z);if(be!==null)return O(be,Z,te(ce),"",0,[])}let ge=N(Z,X(ce),ee(ce),se(ce));return ge!==null?ge:G(Z,te(ce),"",0,[])}s(de,"format");var We={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=We;var rt=de;e.default=rt}),f$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":s(function(){return o},"iterator"),next:s(function(){if(a<n.length){var i=n[a];return a=a+1,{done:!1,value:i}}else return{done:!0}},"next")};return o}s(t,"iteratorProxy");var r=t;e.default=r}),ws=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(f$());function r(o){return o&&o.__esModule?o:{default:o}}s(r,"_interopRequireDefault");function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(o)}s(n,"_typeof");function a(o,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(i)}),o}s(a,"iterationDecorator")}),h$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ws());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,T,x;try{for(y=y.call(f);!(b=(T=y.next()).done)&&(g.push(T.value),!(m&&g.length===m));b=!0);}catch(_){v=!0,x=_}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw x}}return g}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(_){throw _},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,T=!1,x;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var _=y.next();return v=_.done,_},"n"),e:s(function(_){T=!0,x=_},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(T)throw x}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var p=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],T=b[1];f.call(m,T,v,p)}}catch(x){y.e(x)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),m$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ws());function r(f){return f&&f.__esModule?f:{default:f}}s(r,"_interopRequireDefault");function n(f,m){return i(f)||o(f,m)||u(f,m)||a()}s(n,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(a,"_nonIterableRest");function o(f,m){var y=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(y!=null){var g=[],b=!0,v=!1,T,x;try{for(y=y.call(f);!(b=(T=y.next()).done)&&(g.push(T.value),!(m&&g.length===m));b=!0);}catch(_){v=!0,x=_}finally{try{!b&&y.return!=null&&y.return()}finally{if(v)throw x}}return g}}s(o,"_iterableToArrayLimit");function i(f){if(Array.isArray(f))return f}s(i,"_arrayWithHoles");function l(f,m){var y=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!y){if(Array.isArray(f)||(y=u(f))||m&&f&&typeof f.length=="number"){y&&(f=y);var g=0,b=s(function(){},"F");return{s:b,n:s(function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},"n"),e:s(function(_){throw _},"e"),f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,T=!1,x;return{s:s(function(){y=y.call(f)},"s"),n:s(function(){var _=y.next();return v=_.done,_},"n"),e:s(function(_){T=!0,x=_},"e"),f:s(function(){try{!v&&y.return!=null&&y.return()}finally{if(T)throw x}},"f")}}s(l,"_createForOfIteratorHelper");function u(f,m){if(f){if(typeof f=="string")return c(f,m);var y=Object.prototype.toString.call(f).slice(8,-1);if(y==="Object"&&f.constructor&&(y=f.constructor.name),y==="Map"||y==="Set")return Array.from(f);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return c(f,m)}}s(u,"_unsupportedIterableToArray");function c(f,m){(m==null||m>f.length)&&(m=f.length);for(var y=0,g=new Array(m);y<m;y++)g[y]=f[y];return g}s(c,"_arrayLikeToArray");var p=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:s(function(){return p},"entries"),forEach:s(function(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(p),g;try{for(y.s();!(g=y.n()).done;){var b=n(g.value,2),v=b[0],T=b[1];f.call(m,T,v,p)}}catch(x){y.e(x)}finally{y.f()}},"forEach"),get:s(function(f){var m=p.find(function(y){return y[0]===f});return m&&m[1]},"get"),has:s(function(f){return!!d.get(f)},"has"),keys:s(function(){return p.map(function(f){var m=n(f,1),y=m[0];return y})},"keys"),values:s(function(){return p.map(function(f){var m=n(f,2),y=m[1];return y})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),y$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),g$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),b$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),v$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),E$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),C$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),w$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),A$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),x$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),S$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),_$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),T$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),P$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(y$()),r=f(g$()),n=f(b$()),a=f(v$()),o=f(E$()),i=f(C$()),l=f(w$()),u=f(A$()),c=f(x$()),p=f(S$()),d=f(_$()),h=f(T$());function f(g){return g&&g.__esModule?g:{default:g}}s(f,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",h.default]],y=m;e.default=y}),D$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),O$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),R$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),F$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),I$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),k$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),N$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:[{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"]]},r=t;e.default=r}),j$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),B$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),q$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),M$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),L$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],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"]]},r=t;e.default=r}),$$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),U$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),V$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),H$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),z$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),J$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),G$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),W$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Y$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),K$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),X$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),Q$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),Z$=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),e5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),t5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),r5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),n5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),a5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),o5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),i5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),s5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),l5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the size attribute value is greater than 1"],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"]]},r=t;e.default=r}),u5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),c5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),p5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),d5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),f5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),h5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),m5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),y5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),g5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),b5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),v5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),E5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),C5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),w5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),A5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),x5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),S5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),T5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),P5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),D5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),O5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),R5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),F5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),I5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),k5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),N5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),j5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),B5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),q5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),M5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),L5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),$5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),U5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),V5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),H5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),z5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),J5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),G5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),W5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Y5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),K5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),X5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Q5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),Z5=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),e6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),t6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),r6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),n6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),a6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(D$()),r=D(O$()),n=D(R$()),a=D(F$()),o=D(I$()),i=D(k$()),l=D(N$()),u=D(j$()),c=D(B$()),p=D(q$()),d=D(M$()),h=D(L$()),f=D($$()),m=D(U$()),y=D(V$()),g=D(H$()),b=D(z$()),v=D(J$()),T=D(G$()),x=D(W$()),_=D(Y$()),w=D(K$()),E=D(X$()),C=D(Q$()),P=D(Z$()),k=D(e5()),N=D(t5()),G=D(r5()),Y=D(n5()),O=D(a5()),q=D(o5()),B=D(i5()),K=D(s5()),Q=D(l5()),ne=D(u5()),$=D(c5()),J=D(p5()),U=D(d5()),X=D(f5()),ee=D(h5()),se=D(m5()),te=D(y5()),pe=D(g5()),de=D(b5()),We=D(v5()),rt=D(E5()),Z=D(C5()),ce=D(w5()),ge=D(A5()),be=D(x5()),Ee=D(S5()),xe=D(_5()),Se=D(T5()),ze=D(P5()),ct=D(D5()),It=D(O5()),Zt=D(R5()),Ot=D(F5()),Yt=D(I5()),Mt=D(k5()),Te=D(N5()),pt=D(j5()),Ae=D(B5()),dt=D(q5()),et=D(M5()),sa=D(L5()),la=D($5()),Lt=D(U5()),In=D(V5()),br=D(H5()),nt=D(z5()),kn=D(J5()),ua=D(G5()),tt=D(W5()),_t=D(Y5()),Dr=D(K5()),Ur=D(X5()),Vr=D(Q5()),Nn=D(Z5()),vr=D(e6()),S=D(t6()),j=D(r6()),F=D(n6());function D(le){return le&&le.__esModule?le:{default:le}}s(D,"_interopRequireDefault");var V=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",h.default],["combobox",f.default],["complementary",m.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",T.default],["document",x.default],["emphasis",_.default],["feed",w.default],["figure",E.default],["form",C.default],["generic",P.default],["grid",k.default],["gridcell",N.default],["group",G.default],["heading",Y.default],["img",O.default],["insertion",q.default],["link",B.default],["list",K.default],["listbox",Q.default],["listitem",ne.default],["log",$.default],["main",J.default],["mark",U.default],["marquee",X.default],["math",ee.default],["menu",se.default],["menubar",te.default],["menuitem",pe.default],["menuitemcheckbox",de.default],["menuitemradio",We.default],["meter",rt.default],["navigation",Z.default],["none",ce.default],["note",ge.default],["option",be.default],["paragraph",Ee.default],["presentation",xe.default],["progressbar",Se.default],["radio",ze.default],["radiogroup",ct.default],["region",It.default],["row",Zt.default],["rowgroup",Ot.default],["rowheader",Yt.default],["scrollbar",Mt.default],["search",Te.default],["searchbox",pt.default],["separator",Ae.default],["slider",dt.default],["spinbutton",et.default],["status",sa.default],["strong",la.default],["subscript",Lt.default],["superscript",In.default],["switch",br.default],["tab",nt.default],["table",kn.default],["tablist",ua.default],["tabpanel",tt.default],["term",_t.default],["textbox",Dr.default],["time",Ur.default],["timer",Vr.default],["toolbar",Nn.default],["tooltip",vr.default],["tree",S.default],["treegrid",j.default],["treeitem",F.default]],ie=V;e.default=ie}),o6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),i6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),s6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),l6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),u6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],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"]]},r=t;e.default=r}),c6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),p6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),d6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),f6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),h6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),m6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),y6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),g6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),b6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),v6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),E6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),C6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),w6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),A6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),x6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),S6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),_6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),T6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),P6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),D6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),O6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),R6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),F6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),I6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),k6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),N6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),j6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),B6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),q6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),M6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),L6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),$6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),U6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),V6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),H6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(o6()),r=ee(i6()),n=ee(s6()),a=ee(l6()),o=ee(u6()),i=ee(c6()),l=ee(p6()),u=ee(d6()),c=ee(f6()),p=ee(h6()),d=ee(m6()),h=ee(y6()),f=ee(g6()),m=ee(b6()),y=ee(v6()),g=ee(E6()),b=ee(C6()),v=ee(w6()),T=ee(A6()),x=ee(x6()),_=ee(S6()),w=ee(_6()),E=ee(T6()),C=ee(P6()),P=ee(D6()),k=ee(O6()),N=ee(R6()),G=ee(F6()),Y=ee(I6()),O=ee(k6()),q=ee(N6()),B=ee(j6()),K=ee(B6()),Q=ee(q6()),ne=ee(M6()),$=ee(L6()),J=ee($6()),U=ee(U6()),X=ee(V6());function ee(pe){return pe&&pe.__esModule?pe:{default:pe}}s(ee,"_interopRequireDefault");var se=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",f.default],["doc-credits",m.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",T.default],["doc-errata",x.default],["doc-example",_.default],["doc-footnote",w.default],["doc-foreword",E.default],["doc-glossary",C.default],["doc-glossref",P.default],["doc-index",k.default],["doc-introduction",N.default],["doc-noteref",G.default],["doc-notice",Y.default],["doc-pagebreak",O.default],["doc-pagelist",q.default],["doc-part",B.default],["doc-preface",K.default],["doc-prologue",Q.default],["doc-pullquote",ne.default],["doc-qna",$.default],["doc-subtitle",J.default],["doc-tip",U.default],["doc-toc",X.default]],te=se;e.default=te}),z6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),J6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),G6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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"]]},r=t;e.default=r}),W6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(z6()),r=a(J6()),n=a(G6());function a(l){return l&&l.__esModule?l:{default:l}}s(a,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=o;e.default=i}),ym=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(P$()),r=i(a6()),n=i(H6()),a=i(W6()),o=i(ws());function i(v){return v&&v.__esModule?v:{default:v}}s(i,"_interopRequireDefault");function l(v,T,x){return T in v?Object.defineProperty(v,T,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[T]=x,v}s(l,"_defineProperty");function u(v,T){var x=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!x){if(Array.isArray(v)||(x=d(v))||T&&v&&typeof v.length=="number"){x&&(v=x);var _=0,w=s(function(){},"F");return{s:w,n:s(function(){return _>=v.length?{done:!0}:{done:!1,value:v[_++]}},"n"),e:s(function(k){throw k},"e"),f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
22
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,C=!1,P;return{s:s(function(){x=x.call(v)},"s"),n:s(function(){var k=x.next();return E=k.done,k},"n"),e:s(function(k){C=!0,P=k},"e"),f:s(function(){try{!E&&x.return!=null&&x.return()}finally{if(C)throw P}},"f")}}s(u,"_createForOfIteratorHelper");function c(v,T){return m(v)||f(v,T)||d(v,T)||p()}s(c,"_slicedToArray");function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(p,"_nonIterableRest");function d(v,T){if(v){if(typeof v=="string")return h(v,T);var x=Object.prototype.toString.call(v).slice(8,-1);if(x==="Object"&&v.constructor&&(x=v.constructor.name),x==="Map"||x==="Set")return Array.from(v);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return h(v,T)}}s(d,"_unsupportedIterableToArray");function h(v,T){(T==null||T>v.length)&&(T=v.length);for(var x=0,_=new Array(T);x<T;x++)_[x]=v[x];return _}s(h,"_arrayLikeToArray");function f(v,T){var x=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(x!=null){var _=[],w=!0,E=!1,C,P;try{for(x=x.call(v);!(w=(C=x.next()).done)&&(_.push(C.value),!(T&&_.length===T));w=!0);}catch(k){E=!0,P=k}finally{try{!w&&x.return!=null&&x.return()}finally{if(E)throw P}}return _}}s(f,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}s(m,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,a.default);y.forEach(function(v){var T=c(v,2),x=T[1],_=u(x.superClass),w;try{for(_.s();!(w=_.n()).done;){var E=w.value,C=u(E),P;try{var k=s(function(){var N=P.value,G=y.find(function(K){var Q=c(K,1),ne=Q[0];return ne===N});if(G)for(var Y=G[1],O=0,q=Object.keys(Y.props);O<q.length;O++){var B=q[O];Object.prototype.hasOwnProperty.call(x.props,B)||Object.assign(x.props,l({},B,Y.props[B]))}},"_loop");for(C.s();!(P=C.n()).done;)k()}catch(N){C.e(N)}finally{C.f()}}}catch(N){_.e(N)}finally{_.f()}});var g={entries:s(function(){return y},"entries"),forEach:s(function(v){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=u(y),_;try{for(x.s();!(_=x.n()).done;){var w=c(_.value,2),E=w[0],C=w[1];v.call(T,C,E,y)}}catch(P){x.e(P)}finally{x.f()}},"forEach"),get:s(function(v){var T=y.find(function(x){return x[0]===v});return T&&T[1]},"get"),has:s(function(v){return!!g.get(v)},"has"),keys:s(function(){return y.map(function(v){var T=c(v,1),x=T[0];return x})},"keys"),values:s(function(){return y.map(function(v){var T=c(v,2),x=T[1];return x})},"values")},b=(0,o.default)(g,g.entries());e.default=b}),UC={};Xt(UC,{dequal:()=>jl});function jl(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&jl(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Id.call(e,r)&&++n&&!Id.call(t,r)||!(r in t)||!jl(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var Id,Y6=VB(()=>{Id=Object.prototype.hasOwnProperty,s(jl,"dequal")}),K6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(Y6(),HB(UC)),r=a(ws()),n=a(ym());function a(w){return w&&w.__esModule?w:{default:w}}s(a,"_interopRequireDefault");function o(w,E){return u(w)||l(w,E)||p(w,E)||i()}s(o,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
24
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(i,"_nonIterableRest");function l(w,E){var C=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(C!=null){var P=[],k=!0,N=!1,G,Y;try{for(C=C.call(w);!(k=(G=C.next()).done)&&(P.push(G.value),!(E&&P.length===E));k=!0);}catch(O){N=!0,Y=O}finally{try{!k&&C.return!=null&&C.return()}finally{if(N)throw Y}}return P}}s(l,"_iterableToArrayLimit");function u(w){if(Array.isArray(w))return w}s(u,"_arrayWithHoles");function c(w,E){var C=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!C){if(Array.isArray(w)||(C=p(w))||E&&w&&typeof w.length=="number"){C&&(w=C);var P=0,k=s(function(){},"F");return{s:k,n:s(function(){return P>=w.length?{done:!0}:{done:!1,value:w[P++]}},"n"),e:s(function(O){throw O},"e"),f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
25
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,G=!1,Y;return{s:s(function(){C=C.call(w)},"s"),n:s(function(){var O=C.next();return N=O.done,O},"n"),e:s(function(O){G=!0,Y=O},"e"),f:s(function(){try{!N&&C.return!=null&&C.return()}finally{if(G)throw Y}},"f")}}s(c,"_createForOfIteratorHelper");function p(w,E){if(w){if(typeof w=="string")return d(w,E);var C=Object.prototype.toString.call(w).slice(8,-1);if(C==="Object"&&w.constructor&&(C=w.constructor.name),C==="Map"||C==="Set")return Array.from(w);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(w,E)}}s(p,"_unsupportedIterableToArray");function d(w,E){(E==null||E>w.length)&&(E=w.length);for(var C=0,P=new Array(E);C<E;C++)P[C]=w[C];return P}s(d,"_arrayLikeToArray");var h=[],f=n.default.keys();for(T=0;T<f.length;T++)if(m=f[T],y=n.default.get(m),y)for(g=[].concat(y.baseConcepts,y.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&function(){var w=b.concept;if(w){var E=h.find(function(N){return(0,t.dequal)(N,w)}),C;E?C=E[1]:C=[];for(var P=!0,k=0;k<C.length;k++)if(C[k]===m){P=!1;break}P&&C.push(m),h.push([w,C])}}();var m,y,g,b,v,T,x={entries:s(function(){return h},"entries"),forEach:s(function(w){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(h),P;try{for(C.s();!(P=C.n()).done;){var k=o(P.value,2),N=k[0],G=k[1];w.call(E,G,N,h)}}catch(Y){C.e(Y)}finally{C.f()}},"forEach"),get:s(function(w){var E=h.find(function(C){return w.name===C[0].name&&(0,t.dequal)(w.attributes,C[0].attributes)});return E&&E[1]},"get"),has:s(function(w){return!!x.get(w)},"has"),keys:s(function(){return h.map(function(w){var E=o(w,1),C=E[0];return C})},"keys"),values:s(function(){return h.map(function(w){var E=o(w,2),C=E[1];return C})},"values")},_=(0,r.default)(x,x.entries());e.default=_}),X6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ws()),r=n(ym());function n(E){return E&&E.__esModule?E:{default:E}}s(n,"_interopRequireDefault");function a(E,C){return l(E)||i(E,C)||c(E,C)||o()}s(a,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
26
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(o,"_nonIterableRest");function i(E,C){var P=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(P!=null){var k=[],N=!0,G=!1,Y,O;try{for(P=P.call(E);!(N=(Y=P.next()).done)&&(k.push(Y.value),!(C&&k.length===C));N=!0);}catch(q){G=!0,O=q}finally{try{!N&&P.return!=null&&P.return()}finally{if(G)throw O}}return k}}s(i,"_iterableToArrayLimit");function l(E){if(Array.isArray(E))return E}s(l,"_arrayWithHoles");function u(E,C){var P=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!P){if(Array.isArray(E)||(P=c(E))||C&&E&&typeof E.length=="number"){P&&(E=P);var k=0,N=s(function(){},"F");return{s:N,n:s(function(){return k>=E.length?{done:!0}:{done:!1,value:E[k++]}},"n"),e:s(function(q){throw q},"e"),f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
27
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G=!0,Y=!1,O;return{s:s(function(){P=P.call(E)},"s"),n:s(function(){var q=P.next();return G=q.done,q},"n"),e:s(function(q){Y=!0,O=q},"e"),f:s(function(){try{!G&&P.return!=null&&P.return()}finally{if(Y)throw O}},"f")}}s(u,"_createForOfIteratorHelper");function c(E,C){if(E){if(typeof E=="string")return p(E,C);var P=Object.prototype.toString.call(E).slice(8,-1);if(P==="Object"&&E.constructor&&(P=E.constructor.name),P==="Map"||P==="Set")return Array.from(E);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return p(E,C)}}s(c,"_unsupportedIterableToArray");function p(E,C){(C==null||C>E.length)&&(C=E.length);for(var P=0,k=new Array(C);P<C;P++)k[P]=E[P];return k}s(p,"_arrayLikeToArray");var d=[],h=r.default.keys();for(x=0;x<h.length;x++)if(f=h[x],m=r.default.get(f),y=[],m){for(g=[].concat(m.baseConcepts,m.relatedConcepts),T=0;T<g.length;T++)b=g[T],b.module==="HTML"&&(v=b.concept,v!=null&&y.push(v));y.length>0&&d.push([f,y])}var f,m,y,g,b,v,T,x,_={entries:s(function(){return d},"entries"),forEach:s(function(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=u(d),k;try{for(P.s();!(k=P.n()).done;){var N=a(k.value,2),G=N[0],Y=N[1];E.call(C,Y,G,d)}}catch(O){P.e(O)}finally{P.f()}},"forEach"),get:s(function(E){var C=d.find(function(P){return P[0]===E});return C&&C[1]},"get"),has:s(function(E){return!!_.get(E)},"has"),keys:s(function(){return d.map(function(E){var C=a(E,1),P=C[0];return P})},"keys"),values:s(function(){return d.map(function(E){var C=a(E,2),P=C[1];return P})},"values")},w=(0,t.default)(_,_.entries());e.default=w}),Q6=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(h$()),r=i(m$()),n=i(ym()),a=i(K6()),o=i(X6());function i(h){return h&&h.__esModule?h:{default:h}}s(i,"_interopRequireDefault");var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var p=a.default;e.elementRoles=p;var d=o.default;e.roleElements=d}),Z6=R((e,t)=>{var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,p){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][p]}s(l,"getBaseValue");var u={compressToBase64:s(function(c){if(c==null)return"";var p=u._compress(c,6,function(d){return a.charAt(d)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},"compressToBase64"),decompressFromBase64:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(p){return l(a,c.charAt(p))})},"decompressFromBase64"),compressToUTF16:s(function(c){return c==null?"":u._compress(c,15,function(p){return n(p+32)})+" "},"compressToUTF16"),decompressFromUTF16:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(p){return c.charCodeAt(p)-32})},"decompressFromUTF16"),compressToUint8Array:s(function(c){for(var p=u.compress(c),d=new Uint8Array(p.length*2),h=0,f=p.length;h<f;h++){var m=p.charCodeAt(h);d[h*2]=m>>>8,d[h*2+1]=m%256}return d},"compressToUint8Array"),decompressFromUint8Array:s(function(c){if(c==null)return u.decompress(c);for(var p=new Array(c.length/2),d=0,h=p.length;d<h;d++)p[d]=c[d*2]*256+c[d*2+1];var f=[];return p.forEach(function(m){f.push(n(m))}),u.decompress(f.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:s(function(c){return c==null?"":u._compress(c,6,function(p){return o.charAt(p)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:s(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(p){return l(o,c.charAt(p))}))},"decompressFromEncodedURIComponent"),compress:s(function(c){return u._compress(c,16,function(p){return n(p)})},"compress"),_compress:s(function(c,p,d){if(c==null)return"";var h,f,m={},y={},g="",b="",v="",T=2,x=3,_=2,w=[],E=0,C=0,P;for(P=0;P<c.length;P+=1)if(g=c.charAt(P),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=x++,y[g]=!0),b=v+g,Object.prototype.hasOwnProperty.call(m,b))v=b;else{if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<_;h++)E=E<<1,C==p-1?(C=0,w.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<_;h++)E=E<<1|f,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}T--,T==0&&(T=Math.pow(2,_),_++),delete y[v]}else for(f=m[v],h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;T--,T==0&&(T=Math.pow(2,_),_++),m[b]=x++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(y,v)){if(v.charCodeAt(0)<256){for(h=0;h<_;h++)E=E<<1,C==p-1?(C=0,w.push(d(E)),E=0):C++;for(f=v.charCodeAt(0),h=0;h<8;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}else{for(f=1,h=0;h<_;h++)E=E<<1|f,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=0;for(f=v.charCodeAt(0),h=0;h<16;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1}T--,T==0&&(T=Math.pow(2,_),_++),delete y[v]}else for(f=m[v],h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;T--,T==0&&(T=Math.pow(2,_),_++)}for(f=2,h=0;h<_;h++)E=E<<1|f&1,C==p-1?(C=0,w.push(d(E)),E=0):C++,f=f>>1;for(;;)if(E=E<<1,C==p-1){w.push(d(E));break}else C++;return w.join("")},"_compress"),decompress:s(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(p){return c.charCodeAt(p)})},"decompress"),_decompress:s(function(c,p,d){var h=[],f=4,m=4,y=3,g="",b=[],v,T,x,_,w,E,C,P={val:d(0),position:p,index:1};for(v=0;v<3;v+=1)h[v]=v;for(x=0,w=Math.pow(2,2),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;switch(x){case 0:for(x=0,w=Math.pow(2,8),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;C=n(x);break;case 1:for(x=0,w=Math.pow(2,16),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;C=n(x);break;case 2:return""}for(h[3]=C,T=C,b.push(C);;){if(P.index>c)return"";for(x=0,w=Math.pow(2,y),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;switch(C=x){case 0:for(x=0,w=Math.pow(2,8),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;h[m++]=n(x),C=m-1,f--;break;case 1:for(x=0,w=Math.pow(2,16),E=1;E!=w;)_=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=d(P.index++)),x|=(_>0?1:0)*E,E<<=1;h[m++]=n(x),C=m-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,y),y++),h[C])g=h[C];else if(C===m)g=T+T.charAt(0);else return null;b.push(g),h[m++]=T+g.charAt(0),f--,T=g,f==0&&(f=Math.pow(2,y),y++)}},"_decompress")};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),e8=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return s(function i(l,u,c){var p,d,h,f=t.call(l),m=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),f!=m||(p=n(l),d=n(u),p.length!=d.length||p.some(function(y){return!i(l[y],u[y],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":p=l.entries(),d=u.entries();do if(!i((h=p.next()).value,d.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!i(l[h],u[h],c)))return!1;return!0;case"Object":return i(r(l),r(u),c);default:return!1}},"n")(a,o,[])}}()}),VC=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(a,o)=>"%"+((o<16?"0":"")+o.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(a){let o=a.length;if(o===0)return"";let i="",l=0,u=0;e:for(;u<o;u++){let c=a.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(i+=a.slice(l,u)),l=u+1,i+=t[c]),++u===o)break e;c=a.charCodeAt(u)}if(l<u&&(i+=a.slice(l,u)),c<2048){l=u+1,i+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=o)throw new Error("URI malformed");let p=a.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|p),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?a:l<o?i+a.slice(l):i}s(n,"encodeString")}),gm=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=VC(),r=s(o=>{switch(typeof o){case"string":return(0,t.encodeString)(o);case"bigint":case"boolean":return""+o;case"number":if(Number.isFinite(o))return o<1e21?""+o:(0,t.encodeString)(""+o);break}return o instanceof Date?(0,t.encodeString)(o.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=s(o=>o instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var a=s(o=>o,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}}),HC=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=a,e.stringifyObject=p;var t=gm(),r=VC();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}s(n,"isPrototypeKey");function a(d,h,f,m,y){if(n(h))return d;let g=d[h];return typeof g=="object"&&g!==null?g:!m&&(y||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?d[h]=[]:d[h]={}}s(a,"getDeepObject");var o=20,i="[]",l="[",u="]",c=".";function p(d,h,f=0,m,y){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:b=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:T=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:_=t.defaultOptions.valueSerializer,shouldSerializeObject:w=t.defaultOptions.shouldSerializeObject}=h,E=typeof x=="number"?String.fromCharCode(x):x,C=y===!0&&b,P=g==="dot"||g==="js"&&!y;if(f>o)return"";let k="",N=!0,G=!1;for(let Y in d){let O=d[Y],q;m?(q=m,C?v==="bracket"&&(q+=i):P?(q+=c,q+=Y):(q+=l,q+=Y,q+=u)):q=Y,N||(k+=E),typeof O=="object"&&O!==null&&!w(O)?(G=O.pop!==void 0,(T||b&&G)&&(k+=p(O,h,f+1,q,G))):(k+=(0,r.encodeString)(q),k+="=",k+=_(O,Y)),N&&(N=!1)}return k}s(p,"stringifyObject")}),t8=R((e,t)=>{var r=12,n=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function o(u){var c=u.indexOf("%");if(c===-1)return u;for(var p=u.length,d="",h=0,f=0,m=c,y=r;c>-1&&c<p;){var g=l(u[c+1],4),b=l(u[c+2],0),v=g|b,T=a[v];if(y=a[256+y+T],f=f<<6|v&a[364+T],y===r)d+=u.slice(h,m),d+=f<=65535?String.fromCharCode(f):String.fromCharCode(55232+(f>>10),56320+(f&1023)),f=0,h=c+3,c=m=u.indexOf("%",h);else{if(y===n)return null;if(c+=3,c<p&&u.charCodeAt(c)===37)continue;return null}}return d+u.slice(h)}s(o,"decodeURIComponent");var i={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var p=i[u];return p===void 0?255:p<<c}s(l,"hexCodeToInt"),t.exports=o}),r8=R(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=HC(),n=gm(),a=t(t8()),o=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberKeyDeserializer");e.numberKeyDeserializer=o;var i=s(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberValueDeserializer");e.numberValueDeserializer=i;var l=/\+/g,u=s(function(){},"Empty");u.prototype=Object.create(null);function c(d,h,f,m,y){let g=d.substring(h,f);return m&&(g=g.replace(l," ")),y&&(g=(0,a.default)(g)||g),g}s(c,"computeKeySlice");function p(d,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:b=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:T=n.defaultOptions.delimiter}=h??{},x=typeof T=="string"?T.charCodeAt(0):T,_=v==="js",w=new u;if(typeof d!="string")return w;let E=d.length,C="",P=-1,k=-1,N=-1,G=w,Y,O="",q="",B=!1,K=!1,Q=!1,ne=!1,$=!1,J=!1,U=!1,X=0,ee=-1,se=-1,te=-1;for(let pe=0;pe<E+1;pe++){if(X=pe!==E?d.charCodeAt(pe):x,X===x){if(U=k>P,U||(k=pe),N!==k-1&&(q=c(d,N+1,ee>-1?ee:k,Q,B),O=m(q),Y!==void 0&&(G=(0,r.getDeepObject)(G,Y,O,_&&$,_&&J))),U||O!==""){U&&(C=d.slice(k+1,pe),ne&&(C=C.replace(l," ")),K&&(C=(0,a.default)(C)||C));let de=f(C,O);if(b){let We=G[O];We===void 0?ee>-1?G[O]=[de]:G[O]=de:We.pop?We.push(de):G[O]=[We,de]}else G[O]=de}C="",P=pe,k=pe,B=!1,K=!1,Q=!1,ne=!1,$=!1,J=!1,ee=-1,N=pe,G=w,Y=void 0,O=""}else X===93?(b&&y==="bracket"&&te===91&&(ee=se),g&&(v==="index"||_)&&k<=P&&(N!==se&&(q=c(d,N+1,pe,Q,B),O=m(q),Y!==void 0&&(G=(0,r.getDeepObject)(G,Y,O,void 0,_)),Y=O,Q=!1,B=!1),N=pe,J=!0,$=!1)):X===46?g&&(v==="dot"||_)&&k<=P&&(N!==se&&(q=c(d,N+1,pe,Q,B),O=m(q),Y!==void 0&&(G=(0,r.getDeepObject)(G,Y,O,_)),Y=O,Q=!1,B=!1),$=!0,J=!1,N=pe):X===91?g&&(v==="index"||_)&&k<=P&&(N!==se&&(q=c(d,N+1,pe,Q,B),O=m(q),_&&Y!==void 0&&(G=(0,r.getDeepObject)(G,Y,O,_)),Y=O,Q=!1,B=!1,$=!1,J=!0),N=pe):X===61?k<=P?k=pe:K=!0:X===43?k>P?ne=!0:Q=!0:X===37&&(k>P?K=!0:B=!0);se=pe,te=X}return w}s(p,"parse")}),n8=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=HC();function r(n,a){if(n===null||typeof n!="object")return"";let o=a??{};return(0,t.stringifyObject)(n,o)}s(r,"stringify")}),bm=R(e=>{var t=e&&e.__createBinding||(Object.create?function(o,i,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(i,l);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:s(function(){return i[l]},"get")}),Object.defineProperty(o,u,c)}:function(o,i,l,u){u===void 0&&(u=l),o[u]=i[l]}),r=e&&e.__exportStar||function(o,i){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(i,l)&&t(i,o,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=r8();Object.defineProperty(e,"parse",{enumerable:!0,get:s(function(){return n.parse},"get")});var a=n8();Object.defineProperty(e,"stringify",{enumerable:!0,get:s(function(){return a.stringify},"get")}),r(gm(),e)}),zC=R((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
28
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),a8=R((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),JC=R((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),o8=R((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),i8=R(e=>{var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(o8()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}s(a,"decodeCodePoint"),e.default=a}),T0=R(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(zC()),n=t(a8()),a=t(JC()),o=t(i8()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(a.default),e.decodeHTMLStrict=l(r.default);function l(p){var d=c(p);return function(h){return String(h).replace(i,d)}}s(l,"getStrictDecoder");var u=s(function(p,d){return p<d?1:-1},"sorter");e.decodeHTML=function(){for(var p=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),h=0,f=0;h<d.length;h++)p[f]===d[h]?(d[h]+=";?",f++):d[h]+=";";var m=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=c(r.default);function g(b){return b.substr(-1)!==";"&&(b+=";"),y(b)}return s(g,"replacer"),function(b){return String(b).replace(m,g)}}();function c(p){return s(function(d){if(d.charAt(1)==="#"){var h=d.charAt(2);return h==="X"||h==="x"?o.default(parseInt(d.substr(3),16)):o.default(parseInt(d.substr(2),10))}return p[d.slice(1,-1)]||d},"replace")}s(c,"getReplacer")}),P0=R(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(JC()),n=u(r.default),a=c(n);e.encodeXML=b(n);var o=t(zC()),i=u(o.default),l=c(i);e.encodeHTML=f(i,l),e.encodeNonAsciiHTML=b(i);function u(v){return Object.keys(v).sort().reduce(function(T,x){return T[v[x]]="&"+x+";",T},{})}s(u,"getInverseObj");function c(v){for(var T=[],x=[],_=0,w=Object.keys(v);_<w.length;_++){var E=w[_];E.length===1?T.push("\\"+E):x.push(E)}T.sort();for(var C=0;C<T.length-1;C++){for(var P=C;P<T.length-1&&T[P].charCodeAt(1)+1===T[P+1].charCodeAt(1);)P+=1;var k=1+P-C;k<3||T.splice(C,k,T[C]+"-"+T[P])}return x.unshift("["+T.join("")+"]"),new RegExp(x.join("|"),"g")}s(c,"getInverseReplacer");var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?function(v){return v.codePointAt(0)}:function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536};function h(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}s(h,"singleCharReplacer");function f(v,T){return function(x){return x.replace(T,function(_){return v[_]}).replace(p,h)}}s(f,"getInverse");var m=new RegExp(a.source+"|"+p.source,"g");function y(v){return v.replace(m,h)}s(y,"escape"),e.escape=y;function g(v){return v.replace(a,h)}s(g,"escapeUTF8"),e.escapeUTF8=g;function b(v){return function(T){return T.replace(m,function(x){return v[x]||h(x)})}}s(b,"getASCIIEncoder")}),s8=R(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=T0(),r=P0();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}s(n,"decode"),e.decode=n;function a(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}s(a,"decodeStrict"),e.decodeStrict=a;function o(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}s(o,"encode"),e.encode=o;var i=P0();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:s(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:s(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:s(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:s(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:s(function(){return i.encodeHTML},"get")});var l=T0();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:s(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:s(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:s(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:s(function(){return l.decodeXML},"get")})}),l8=R((e,t)=>{function r(O,q){if(!(O instanceof q))throw new TypeError("Cannot call a class as a function")}s(r,"_classCallCheck");function n(O,q){for(var B=0;B<q.length;B++){var K=q[B];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(O,K.key,K)}}s(n,"_defineProperties");function a(O,q,B){return q&&n(O.prototype,q),B&&n(O,B),O}s(a,"_createClass");function o(O,q){var B=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(!B){if(Array.isArray(O)||(B=i(O))||q&&O&&typeof O.length=="number"){B&&(O=B);var K=0,Q=s(function(){},"F");return{s:Q,n:s(function(){return K>=O.length?{done:!0}:{done:!1,value:O[K++]}},"n"),e:s(function(U){throw U},"e"),f:Q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
29
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne=!0,$=!1,J;return{s:s(function(){B=B.call(O)},"s"),n:s(function(){var U=B.next();return ne=U.done,U},"n"),e:s(function(U){$=!0,J=U},"e"),f:s(function(){try{!ne&&B.return!=null&&B.return()}finally{if($)throw J}},"f")}}s(o,"_createForOfIteratorHelper");function i(O,q){if(O){if(typeof O=="string")return l(O,q);var B=Object.prototype.toString.call(O).slice(8,-1);if(B==="Object"&&O.constructor&&(B=O.constructor.name),B==="Map"||B==="Set")return Array.from(O);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return l(O,q)}}s(i,"_unsupportedIterableToArray");function l(O,q){(q==null||q>O.length)&&(q=O.length);for(var B=0,K=new Array(q);B<q;B++)K[B]=O[B];return K}s(l,"_arrayLikeToArray");var u=s8(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var O={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(q){v(0,5).forEach(function(B){v(0,5).forEach(function(K){return d(q,B,K,O)})})}),v(0,23).forEach(function(q){var B=q+232,K=h(q*10+8);O[B]="#"+K+K+K}),O}s(p,"getDefaultColors");function d(O,q,B,K){var Q=16+O*36+q*6+B,ne=O>0?O*40+55:0,$=q>0?q*40+55:0,J=B>0?B*40+55:0;K[Q]=f([ne,$,J])}s(d,"setStyleColor");function h(O){for(var q=O.toString(16);q.length<2;)q="0"+q;return q}s(h,"toHexString");function f(O){var q=[],B=o(O),K;try{for(B.s();!(K=B.n()).done;){var Q=K.value;q.push(h(Q))}}catch(ne){B.e(ne)}finally{B.f()}return"#"+q.join("")}s(f,"toColorHexString");function m(O,q,B,K){var Q;return q==="text"?Q=_(B,K):q==="display"?Q=g(O,B,K):q==="xterm256Foreground"?Q=C(O,K.colors[B]):q==="xterm256Background"?Q=P(O,K.colors[B]):q==="rgb"&&(Q=y(O,B)),Q}s(m,"generateOutput");function y(O,q){q=q.substring(2).slice(0,-1);var B=+q.substr(0,2),K=q.substring(5).split(";"),Q=K.map(function(ne){return("0"+Number(ne).toString(16)).substr(-2)}).join("");return E(O,(B===38?"color:#":"background-color:#")+Q)}s(y,"handleRgb");function g(O,q,B){q=parseInt(q,10);var K={"-1":s(function(){return"<br/>"},"_"),0:s(function(){return O.length&&b(O)},"_"),1:s(function(){return w(O,"b")},"_"),3:s(function(){return w(O,"i")},"_"),4:s(function(){return w(O,"u")},"_"),8:s(function(){return E(O,"display:none")},"_"),9:s(function(){return w(O,"strike")},"_"),22:s(function(){return E(O,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:s(function(){return k(O,"i")},"_"),24:s(function(){return k(O,"u")},"_"),39:s(function(){return C(O,B.fg)},"_"),49:s(function(){return P(O,B.bg)},"_"),53:s(function(){return E(O,"text-decoration:overline")},"_")},Q;return K[q]?Q=K[q]():4<q&&q<7?Q=w(O,"blink"):29<q&&q<38?Q=C(O,B.colors[q-30]):39<q&&q<48?Q=P(O,B.colors[q-40]):89<q&&q<98?Q=C(O,B.colors[8+(q-90)]):99<q&&q<108&&(Q=P(O,B.colors[8+(q-100)])),Q}s(g,"handleDisplay");function b(O){var q=O.slice(0);return O.length=0,q.reverse().map(function(B){return"</"+B+">"}).join("")}s(b,"resetStyles");function v(O,q){for(var B=[],K=O;K<=q;K++)B.push(K);return B}s(v,"range");function T(O){return function(q){return(O===null||q.category!==O)&&O!=="all"}}s(T,"notCategory");function x(O){O=parseInt(O,10);var q=null;return O===0?q="all":O===1?q="bold":2<O&&O<5?q="underline":4<O&&O<7?q="blink":O===8?q="hide":O===9?q="strike":29<O&&O<38||O===39||89<O&&O<98?q="foreground-color":(39<O&&O<48||O===49||99<O&&O<108)&&(q="background-color"),q}s(x,"categoryForCode");function _(O,q){return q.escapeXML?u.encodeXML(O):O}s(_,"pushText");function w(O,q,B){return B||(B=""),O.push(q),"<".concat(q).concat(B?' style="'.concat(B,'"'):"",">")}s(w,"pushTag");function E(O,q){return w(O,"span",q)}s(E,"pushStyle");function C(O,q){return w(O,"span","color:"+q)}s(C,"pushForegroundColor");function P(O,q){return w(O,"span","background-color:"+q)}s(P,"pushBackgroundColor");function k(O,q){var B;if(O.slice(-1)[0]===q&&(B=O.pop()),B)return"</"+q+">"}s(k,"closeTag");function N(O,q,B){var K=!1,Q=3;function ne(){return""}s(ne,"remove");function $(Ee,xe){return B("xterm256Foreground",xe),""}s($,"removeXterm256Foreground");function J(Ee,xe){return B("xterm256Background",xe),""}s(J,"removeXterm256Background");function U(Ee){return q.newline?B("display",-1):B("text",Ee),""}s(U,"newline");function X(Ee,xe){K=!0,xe.trim().length===0&&(xe="0"),xe=xe.trimRight(";").split(";");var Se=o(xe),ze;try{for(Se.s();!(ze=Se.n()).done;){var ct=ze.value;B("display",ct)}}catch(It){Se.e(It)}finally{Se.f()}return""}s(X,"ansiMess");function ee(Ee){return B("text",Ee),""}s(ee,"realText");function se(Ee){return B("rgb",Ee),""}s(se,"rgb");var te=[{pattern:/^\x08+/,sub:ne},{pattern:/^\x1b\[[012]?K/,sub:ne},{pattern:/^\x1b\[\(B/,sub:ne},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:$},{pattern:/^\x1b\[48;5;(\d+)m/,sub:J},{pattern:/^\n/,sub:U},{pattern:/^\r+\n/,sub:U},{pattern:/^\r/,sub:U},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:X},{pattern:/^\x1b\[\d?J/,sub:ne},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ne},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ne},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ee}];function pe(Ee,xe){xe>Q&&K||(K=!1,O=O.replace(Ee.pattern,Ee.sub))}s(pe,"process");var de=[],We=O,rt=We.length;e:for(;rt>0;){for(var Z=0,ce=0,ge=te.length;ce<ge;Z=++ce){var be=te[Z];if(pe(be,Z),O.length!==rt){rt=O.length;continue e}}if(O.length===rt)break;de.push(0),rt=O.length}return de}s(N,"tokenize");function G(O,q,B){return q!=="text"&&(O=O.filter(T(x(B))),O.push({token:q,data:B,category:x(B)})),O}s(G,"updateStickyStack");var Y=function(){function O(q){r(this,O),q=q||{},q.colors&&(q.colors=Object.assign({},c.colors,q.colors)),this.options=Object.assign({},c,q),this.stack=[],this.stickyStack=[]}return s(O,"Filter"),a(O,[{key:"toHtml",value:s(function(q){var B=this;q=typeof q=="string"?[q]:q;var K=this.stack,Q=this.options,ne=[];return this.stickyStack.forEach(function($){var J=m(K,$.token,$.data,Q);J&&ne.push(J)}),N(q.join(""),Q,function($,J){var U=m(K,$,J,Q);U&&ne.push(U),Q.stream&&(B.stickyStack=G(B.stickyStack,$,J))}),K.length&&ne.push(b(K)),ne.join("")},"toHtml")}]),O}();t.exports=Y}),u8=R((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,c){for(var p=0;p<c.length;p++){var d=c[p];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,(h=d.key,f=void 0,typeof(f=function(m,y){if(typeof m!="object"||m===null)return m;var g=m[Symbol.toPrimitive];if(g!==void 0){var b=g.call(m,y);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)}(h,"string"))=="symbol"?f:String(f)),d)}var h,f}s(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},a={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},o=s(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(c);return p?p[0]:null},"n"),i=s(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function u(h){var f;(function(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=h||((f=i())===null||f===void 0?void 0:f.userAgent)||null}s(u,"t");var c,p,d;return c=u,p=[{key:"parseUserAgent",value:s(function(h){var f,m,y,g={},b=h||this.userAgent||"",v=b.toLowerCase().replace(/\s\s+/g," "),T=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],x=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],_=T[5]||T[3]||T[1]||null,w=x[0]||null,E=T[4]||T[2]||null,C=i();_==="chrome"&&typeof(C==null||(f=C.brave)===null||f===void 0?void 0:f.isBrave)=="function"&&(_="brave"),_&&(g[_]=!0),w&&(g[w]=!0);var P=!!(g.tablet||g.android||g.androidTablet),k=!!(g.ipad||g.tablet||g.androidTablet),N=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),G=!!(g.cros||g.mac||g.linux||g.win),Y=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),O=!!(g.msie||g.rv);return{name:(m=n[_])!==null&&m!==void 0?m:null,platform:(y=a[w])!==null&&y!==void 0?y:null,userAgent:b,version:E,shortVersion:E?o(parseFloat(E),2):null,isAndroid:P,isTablet:k,isMobile:N,isDesktop:G,isWebkit:Y,isIE:O}},"value")},{key:"getBrowserInfo",value:s(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],d=[{key:"VERSION",get:s(function(){return"3.4.0"},"get")}],p&&r(c.prototype,p),d&&r(c,d),Object.defineProperty(c,"prototype",{writable:!1}),u}();return l})}),vm={};Xt(vm,{ARGTYPES_INFO_REQUEST:()=>pw,ARGTYPES_INFO_RESPONSE:()=>Bd,CHANNEL_CREATED:()=>p8,CHANNEL_WS_DISCONNECT:()=>GC,CONFIG_ERROR:()=>WC,CREATE_NEW_STORYFILE_REQUEST:()=>d8,CREATE_NEW_STORYFILE_RESPONSE:()=>f8,CURRENT_STORY_WAS_SET:()=>kd,DOCS_PREPARED:()=>YC,DOCS_RENDERED:()=>Cm,FILE_COMPONENT_SEARCH_REQUEST:()=>h8,FILE_COMPONENT_SEARCH_RESPONSE:()=>m8,FORCE_REMOUNT:()=>Bl,FORCE_RE_RENDER:()=>wm,GLOBALS_UPDATED:()=>Gi,NAVIGATE_URL:()=>y8,PLAY_FUNCTION_THREW_EXCEPTION:()=>KC,PRELOAD_ENTRIES:()=>QC,PREVIEW_BUILDER_PROGRESS:()=>g8,PREVIEW_KEYDOWN:()=>ZC,REGISTER_SUBSCRIPTION:()=>b8,REQUEST_WHATS_NEW_DATA:()=>D8,RESET_STORY_ARGS:()=>Am,RESULT_WHATS_NEW_DATA:()=>O8,SAVE_STORY_REQUEST:()=>I8,SAVE_STORY_RESPONSE:()=>k8,SELECT_STORY:()=>v8,SET_CONFIG:()=>E8,SET_CURRENT_STORY:()=>xm,SET_FILTER:()=>C8,SET_GLOBALS:()=>ew,SET_INDEX:()=>w8,SET_STORIES:()=>A8,SET_WHATS_NEW_CACHE:()=>R8,SHARED_STATE_CHANGED:()=>x8,SHARED_STATE_SET:()=>S8,STORIES_COLLAPSE_ALL:()=>_8,STORIES_EXPAND_ALL:()=>T8,STORY_ARGS_UPDATED:()=>tw,STORY_CHANGED:()=>rw,STORY_ERRORED:()=>nw,STORY_FINISHED:()=>jd,STORY_HOT_UPDATED:()=>P8,STORY_INDEX_INVALIDATED:()=>aw,STORY_MISSING:()=>Nd,STORY_PREPARED:()=>ow,STORY_RENDERED:()=>ql,STORY_RENDER_PHASE_CHANGED:()=>Oa,STORY_SPECIFIED:()=>iw,STORY_THREW_EXCEPTION:()=>sw,STORY_UNCHANGED:()=>lw,TELEMETRY_ERROR:()=>cw,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>F8,UNHANDLED_ERRORS_WHILE_PLAYING:()=>XC,UPDATE_GLOBALS:()=>Sm,UPDATE_QUERY_PARAMS:()=>uw,UPDATE_STORY_ARGS:()=>_m,default:()=>c8});var Em=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(Em||{}),c8=Em,{CHANNEL_WS_DISCONNECT:GC,CHANNEL_CREATED:p8,CONFIG_ERROR:WC,CREATE_NEW_STORYFILE_REQUEST:d8,CREATE_NEW_STORYFILE_RESPONSE:f8,CURRENT_STORY_WAS_SET:kd,DOCS_PREPARED:YC,DOCS_RENDERED:Cm,FILE_COMPONENT_SEARCH_REQUEST:h8,FILE_COMPONENT_SEARCH_RESPONSE:m8,FORCE_RE_RENDER:wm,FORCE_REMOUNT:Bl,GLOBALS_UPDATED:Gi,NAVIGATE_URL:y8,PLAY_FUNCTION_THREW_EXCEPTION:KC,UNHANDLED_ERRORS_WHILE_PLAYING:XC,PRELOAD_ENTRIES:QC,PREVIEW_BUILDER_PROGRESS:g8,PREVIEW_KEYDOWN:ZC,REGISTER_SUBSCRIPTION:b8,RESET_STORY_ARGS:Am,SELECT_STORY:v8,SET_CONFIG:E8,SET_CURRENT_STORY:xm,SET_FILTER:C8,SET_GLOBALS:ew,SET_INDEX:w8,SET_STORIES:A8,SHARED_STATE_CHANGED:x8,SHARED_STATE_SET:S8,STORIES_COLLAPSE_ALL:_8,STORIES_EXPAND_ALL:T8,STORY_ARGS_UPDATED:tw,STORY_CHANGED:rw,STORY_ERRORED:nw,STORY_INDEX_INVALIDATED:aw,STORY_MISSING:Nd,STORY_PREPARED:ow,STORY_RENDER_PHASE_CHANGED:Oa,STORY_RENDERED:ql,STORY_FINISHED:jd,STORY_SPECIFIED:iw,STORY_THREW_EXCEPTION:sw,STORY_UNCHANGED:lw,STORY_HOT_UPDATED:P8,UPDATE_GLOBALS:Sm,UPDATE_QUERY_PARAMS:uw,UPDATE_STORY_ARGS:_m,REQUEST_WHATS_NEW_DATA:D8,RESULT_WHATS_NEW_DATA:O8,SET_WHATS_NEW_CACHE:R8,TOGGLE_WHATS_NEW_NOTIFICATIONS:F8,TELEMETRY_ERROR:cw,SAVE_STORY_REQUEST:I8,SAVE_STORY_RESPONSE:k8,ARGTYPES_INFO_REQUEST:pw,ARGTYPES_INFO_RESPONSE:Bd}=Em,dw={};Xt(dw,{global:()=>he});var he=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),fw={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},N8=Object.keys(fw),hw={};Xt(hw,{Channel:()=>Ju,HEARTBEAT_INTERVAL:()=>SA,HEARTBEAT_MAX_LATENCY:()=>_A,PostMessageTransport:()=>xA,WebsocketTransport:()=>PA,createBrowserChannel:()=>DA,default:()=>sU});function qe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
30
+ [ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
31
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
32
+ `)&&(d=String(l).split(`
33
+ `).map(function(h,f){return f===0?h:""+p+h}).join(`
34
+ `)),i+=d+n[u+1]}),i}s(qe,"dedent");var j8=qe,D0=new Map,B8="UNIVERSAL_STORE:",Er={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Bn=class De{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=s(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=s((n,a)=>{let o=typeof n=="function",i=o?"*":n,l=o?n:a;if(this.debug("subscribe",{eventType:i,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(l),()=>{var u;this.debug("unsubscribe",{eventType:i,listener:l}),this.listeners.has(i)&&(this.listeners.get(i).delete(l),((u=this.listeners.get(i))==null?void 0:u.size)===0&&this.listeners.delete(i))}},"subscribe"),this.send=s(n=>{if(this.debug("send",{event:n}),this.status!==De.Status.READY)throw new TypeError(qe`Cannot send event before store is ready. You can get the current status with store.status,
35
+ or await store.readyPromise to wait for the store to be ready before sending events.
36
+ ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!De.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(De.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?De.ActorType.LEADER:De.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${B8}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===De.ActorType.LEADER)this.syncing={state:Er.RESOLVED,promise:Promise.resolve()};else{let n,a,o=new Promise((i,l)=>{n=s(()=>{this.syncing.state===Er.PENDING&&(this.syncing.state=Er.RESOLVED,i())},"syncingResolve"),a=s(u=>{this.syncing.state===Er.PENDING&&(this.syncing.state=Er.REJECTED,l(u))},"syncingReject")});this.syncing={state:Er.PENDING,promise:o,resolve:n,reject:a}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??De.preparation.channel,this.environment=(r==null?void 0:r.environment)??De.preparation.environment,this.channel&&this.environment?(De.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):De.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((a,o)=>{t=s(i=>{a(i)},"resolveRef"),r=s((...i)=>{o(i)},"rejectRef")});De.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??De.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return De.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case Er.PENDING:case void 0:return De.Status.SYNCING;case Er.REJECTED:return De.Status.ERROR;case Er.RESOLVED:default:return De.Status.READY}}untilReady(){var t;return Promise.all([De.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(qe`[UniversalStore]
37
+ create`,{options:t});let r=D0.get(t.id);if(r)return console.warn(qe`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
38
+ You should reuse the existing instance instead of trying to create a new one.`),r;De.isInternalConstructing=!0;let n=new De(t);return D0.set(t.id,n),n}static __prepare(t,r){De.preparation.channel=t,De.preparation.environment=r,De.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==De.Status.READY)throw new TypeError(qe`Cannot set state before store is ready. You can get the current status with store.status,
39
+ or await store.readyPromise to wait for the store to be ready before sending events.
40
+ ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let a={type:De.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(De.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===De.ActorType.LEADER?this.emitToChannel({type:De.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:De.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:De.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:a}),[...n??[],...a??[]].forEach(o=>o(t,r))}handleChannelEvents(t){var a,o,i,l,u;let{event:r,eventInfo:n}=t;if([n.actor.id,(a=n.forwardingActor)==null?void 0:a.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((o=this.syncing)==null?void 0:o.state)===Er.PENDING&&r.type!==De.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===De.ActorType.LEADER){let c=!0;switch(r.type){case De.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let p={type:De.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:p}),this.emitToChannel(p,{actor:this.actor}),this.emitToListeners(p,{actor:this.actor});break;case De.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=Er.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(qe`Detected multiple UniversalStore leaders created with the same id "${this.id}".
41
+ Only one leader can exists at a time, your stores are now in an invalid state.
42
+ Leaders detected:
43
+ this: ${JSON.stringify(this.actor,null,2)}
44
+ other: ${JSON.stringify(n.actor,null,2)}`);break}c&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===De.ActorType.FOLLOWER)switch(r.type){case De.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((i=this.syncing)==null?void 0:i.state)!==Er.PENDING)break;(u=(l=this.syncing).resolve)==null||u.call(l);let c={type:De.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case De.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(qe`[UniversalStore::${this.id}::${this.environment??De.Environment.UNKNOWN}]
45
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){De.preparation.reject(new Error("reset")),De.setupPreparationPromise(),De.isInternalConstructing=!1}};s(Bn,"UniversalStore"),Bn.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Bn.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Bn.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Bn.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Bn.isInternalConstructing=!1,Bn.setupPreparationPromise();var qp=Bn,q8=s(e=>e.transports!==void 0,"isMulti"),M8=s(()=>Math.random().toString(16).slice(2),"generateRandomId"),mw=class{constructor(t={}){this.sender=M8(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,q8(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let o=s(()=>{this.transports.forEach(i=>{i.send(n,a)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(o):o()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(a=>a!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=s((...a)=>(this.removeListener(t,n),r(...a)),"onceListener");return n}};s(mw,"Channel");var Ju=mw,yw={};Xt(yw,{deprecate:()=>Tm,logger:()=>ut,once:()=>At,pretty:()=>mr});var{LOGLEVEL:L8}=he,$n={trace:1,debug:2,info:3,warn:4,error:5,silent:10},$8=L8,Ka=$n[$8]||$n.info,ut={trace:s((e,...t)=>{Ka<=$n.trace&&console.trace(e,...t)},"trace"),debug:s((e,...t)=>{Ka<=$n.debug&&console.debug(e,...t)},"debug"),info:s((e,...t)=>{Ka<=$n.info&&console.info(e,...t)},"info"),warn:s((e,...t)=>{Ka<=$n.warn&&console.warn(e,...t)},"warn"),error:s((e,...t)=>{Ka<=$n.error&&console.error(e,...t)},"error"),log:s((e,...t)=>{Ka<$n.silent&&console.log(e,...t)},"log")},qd=new Set,At=s(e=>(t,...r)=>{if(!qd.has(t))return qd.add(t),ut[e](t,...r)},"once");At.clear=()=>qd.clear();At.trace=At("trace");At.debug=At("debug");At.info=At("info");At.warn=At("warn");At.error=At("error");At.log=At("log");var Tm=At("warn"),mr=s(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,a=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(a,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let i=1;i<t.length;i++)r.push(t[i])}ut[e].apply(ut,r)},"pretty");mr.trace=mr("trace");mr.debug=mr("debug");mr.info=mr("info");mr.warn=mr("warn");mr.error=mr("error");var U8=Object.create,gw=Object.defineProperty,V8=Object.getOwnPropertyDescriptor,bw=Object.getOwnPropertyNames,H8=Object.getPrototypeOf,z8=Object.prototype.hasOwnProperty,Ne=s((e,t)=>s(function(){return t||(0,e[bw(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),J8=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of bw(t))!z8.call(e,a)&&a!==r&&gw(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=V8(t,a))||n.enumerable});return e},"__copyProps"),Pm=s((e,t,r)=>(r=e!=null?U8(H8(e)):{},J8(t||!e||!e.__esModule?gw(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),G8=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],W8=["detail"];function vw(e){let t=G8.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of W8.filter(n=>e[n]!==void 0))t[r]=e[r];return t}s(vw,"extractEventHiddenProperties");var Ew=Ne({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),Y8=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),K8=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),X8=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),Q8=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),Z8=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Dm=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),e9=Ne({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),t9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),r9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),n9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),a9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),o9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),i9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),s9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||s(function(r){return r!==r},"isNaN2")}}),l9=Ne({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=s9();t.exports=s(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),u9=Ne({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Om=Ne({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=u9();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),c9=Ne({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),Cw=Ne({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=s(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var i in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ww=Ne({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Cw();t.exports=s(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),Aw=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),xw=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=Ew();t.exports=r.getPrototypeOf||null}}),p9=Ne({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,a=Math.max,o="[object Function]",i=s(function(c,p){for(var d=[],h=0;h<c.length;h+=1)d[h]=c[h];for(var f=0;f<p.length;f+=1)d[f+c.length]=p[f];return d},"concatty2"),l=s(function(c,p){for(var d=[],h=p||0,f=0;h<c.length;h+=1,f+=1)d[f]=c[h];return d},"slicy2"),u=s(function(c,p){for(var d="",h=0;h<c.length;h+=1)d+=c[h],h+1<c.length&&(d+=p);return d},"joiny");t.exports=s(function(c){var p=this;if(typeof p!="function"||n.apply(p)!==o)throw new TypeError(r+p);for(var d=l(arguments,1),h,f=s(function(){if(this instanceof h){var v=p.apply(this,i(d,arguments));return Object(v)===v?v:this}return p.apply(c,i(d,arguments))},"binder"),m=a(0,p.length-d.length),y=[],g=0;g<m;g++)y[g]="$"+g;if(h=Function("binder","return function ("+u(y,",")+"){ return binder.apply(this,arguments); }")(f),p.prototype){var b=s(function(){},"Empty2");b.prototype=p.prototype,h.prototype=new b,b.prototype=null}return h},"bind")}}),Gu=Ne({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=p9();t.exports=Function.prototype.bind||r}}),Rm=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),Sw=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),d9=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),f9=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=Gu(),n=Sw(),a=Rm(),o=d9();t.exports=o||r.call(a,n)}}),_w=Ne({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=Gu(),n=Dm(),a=Rm(),o=f9();t.exports=s(function(i){if(i.length<1||typeof i[0]!="function")throw new n("a function is required");return o(r,a,i)},"callBindBasic")}}),h9=Ne({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=_w(),n=Om(),a;try{a=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var o=!!a&&n&&n(Object.prototype,"__proto__"),i=Object,l=i.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof l=="function"?s(function(u){return l(u==null?u:i(u))},"getDunder"):!1}}),m9=Ne({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=Aw(),n=xw(),a=h9();t.exports=r?s(function(o){return r(o)},"getProto"):n?s(function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)},"getProto"):a?s(function(o){return a(o)},"getProto"):null}}),Tw=Ne({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,a=Gu();t.exports=a.call(r,n)}}),y9=Ne({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=Ew(),a=Y8(),o=K8(),i=X8(),l=Q8(),u=Z8(),c=Dm(),p=e9(),d=t9(),h=r9(),f=n9(),m=a9(),y=o9(),g=i9(),b=l9(),v=Function,T=s(function(Z){try{return v('"use strict"; return ('+Z+").constructor;")()}catch{}},"getEvalledConstructor"),x=Om(),_=c9(),w=s(function(){throw new c},"throwTypeError"),E=x?function(){try{return arguments.callee,w}catch{try{return x(arguments,"callee").get}catch{return w}}}():w,C=ww()(),P=m9(),k=xw(),N=Aw(),G=Sw(),Y=Rm(),O={},q=typeof Uint8Array>"u"||!P?r:P(Uint8Array),B={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":C&&P?P([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":O,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&P?P(P([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!P?r:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!P?r:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&P?P(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":q,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":Y,"%Function.prototype.apply%":G,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":k,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":m,"%Math.pow%":y,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":N};if(P)try{null.error}catch(Z){K=P(P(Z)),B["%Error.prototype%"]=K}var K,Q=s(function Z(ce){var ge;if(ce==="%AsyncFunction%")ge=T("async function () {}");else if(ce==="%GeneratorFunction%")ge=T("function* () {}");else if(ce==="%AsyncGeneratorFunction%")ge=T("async function* () {}");else if(ce==="%AsyncGenerator%"){var be=Z("%AsyncGeneratorFunction%");be&&(ge=be.prototype)}else if(ce==="%AsyncIteratorPrototype%"){var Ee=Z("%AsyncGenerator%");Ee&&P&&(ge=P(Ee.prototype))}return B[ce]=ge,ge},"doEval2"),ne={__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"]},$=Gu(),J=Tw(),U=$.call(Y,Array.prototype.concat),X=$.call(G,Array.prototype.splice),ee=$.call(Y,String.prototype.replace),se=$.call(Y,String.prototype.slice),te=$.call(Y,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,de=/\\(\\)?/g,We=s(function(Z){var ce=se(Z,0,1),ge=se(Z,-1);if(ce==="%"&&ge!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(ge==="%"&&ce!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var be=[];return ee(Z,pe,function(Ee,xe,Se,ze){be[be.length]=Se?ee(ze,de,"$1"):xe||Ee}),be},"stringToPath3"),rt=s(function(Z,ce){var ge=Z,be;if(J(ne,ge)&&(be=ne[ge],ge="%"+be[0]+"%"),J(B,ge)){var Ee=B[ge];if(Ee===O&&(Ee=Q(ge)),typeof Ee>"u"&&!ce)throw new c("intrinsic "+Z+" exists, but is not available. Please file an issue!");return{alias:be,name:ge,value:Ee}}throw new u("intrinsic "+Z+" does not exist!")},"getBaseIntrinsic2");t.exports=s(function(Z,ce){if(typeof Z!="string"||Z.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ce!="boolean")throw new c('"allowMissing" argument must be a boolean');if(te(/^%?[^%]*%?$/,Z)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ge=We(Z),be=ge.length>0?ge[0]:"",Ee=rt("%"+be+"%",ce),xe=Ee.name,Se=Ee.value,ze=!1,ct=Ee.alias;ct&&(be=ct[0],X(ge,U([0,1],ct)));for(var It=1,Zt=!0;It<ge.length;It+=1){var Ot=ge[It],Yt=se(Ot,0,1),Mt=se(Ot,-1);if((Yt==='"'||Yt==="'"||Yt==="`"||Mt==='"'||Mt==="'"||Mt==="`")&&Yt!==Mt)throw new u("property names with quotes must have matching quotes");if((Ot==="constructor"||!Zt)&&(ze=!0),be+="."+Ot,xe="%"+be+"%",J(B,xe))Se=B[xe];else if(Se!=null){if(!(Ot in Se)){if(!ce)throw new c("base intrinsic for "+Z+" exists, but the property is not available.");return}if(x&&It+1>=ge.length){var Te=x(Se,Ot);Zt=!!Te,Zt&&"get"in Te&&!("originalValue"in Te.get)?Se=Te.get:Se=Se[Ot]}else Zt=J(Se,Ot),Se=Se[Ot];Zt&&!ze&&(B[xe]=Se)}}return Se},"GetIntrinsic")}}),Fm=Ne({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=y9(),n=_w(),a=n([r("%String.prototype.indexOf%")]);t.exports=s(function(o,i){var l=r(o,!!i);return typeof l=="function"&&a(o,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),g9=Ne({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=Cw();t.exports=s(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),Pw=Ne({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Fm(),n=g9()(),a=Tw(),o=Om(),i;n?(l=r("RegExp.prototype.exec"),u={},c=s(function(){throw u},"throwRegexMarker"),p={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=c),i=s(function(f){if(!f||typeof f!="object")return!1;var m=o(f,"lastIndex"),y=m&&a(m,"value");if(!y)return!1;try{l(f,p)}catch(g){return g===u}},"isRegex")):(d=r("Object.prototype.toString"),h="[object RegExp]",i=s(function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h},"isRegex"));var l,u,c,p,d,h;t.exports=i}}),b9=Ne({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}s(n,"isFunction3")}}),v9=Ne({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Fm(),n=Pw(),a=r("RegExp.prototype.exec"),o=Dm();t.exports=s(function(i){if(!n(i))throw new o("`regex` must be a RegExp");return s(function(l){return a(i,l)!==null},"test")},"regexTester")}}),E9=Ne({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Fm(),n=r("Object.prototype.toString"),a=ww()(),o=v9();a?(i=r("Symbol.prototype.toString"),l=o(/^Symbol\(.*\)$/),u=s(function(c){return typeof c.valueOf()!="symbol"?!1:l(i(c))},"isRealSymbolObject"),t.exports=s(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=s(function(c){return!1},"isSymbol3");var i,l,u}}),C9=Pm(Pw()),w9=Pm(b9()),A9=Pm(E9());function Dw(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}s(Dw,"isObject");var x9=typeof global=="object"&&global&&global.Object===Object&&global,S9=x9,_9=typeof self=="object"&&self&&self.Object===Object&&self,T9=S9||_9||Function("return this")(),Im=T9,P9=Im.Symbol,So=P9,Ow=Object.prototype,D9=Ow.hasOwnProperty,O9=Ow.toString,pi=So?So.toStringTag:void 0;function Rw(e){var t=D9.call(e,pi),r=e[pi];try{e[pi]=void 0;var n=!0}catch{}var a=O9.call(e);return n&&(t?e[pi]=r:delete e[pi]),a}s(Rw,"getRawTag");var R9=Rw,F9=Object.prototype,I9=F9.toString;function Fw(e){return I9.call(e)}s(Fw,"objectToString");var k9=Fw,N9="[object Null]",j9="[object Undefined]",O0=So?So.toStringTag:void 0;function Iw(e){return e==null?e===void 0?j9:N9:O0&&O0 in Object(e)?R9(e):k9(e)}s(Iw,"baseGetTag");var kw=Iw;function Nw(e){return e!=null&&typeof e=="object"}s(Nw,"isObjectLike");var B9=Nw,q9="[object Symbol]";function jw(e){return typeof e=="symbol"||B9(e)&&kw(e)==q9}s(jw,"isSymbol");var km=jw;function Bw(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}s(Bw,"arrayMap");var M9=Bw,L9=Array.isArray,Nm=L9,R0=So?So.prototype:void 0,F0=R0?R0.toString:void 0;function jm(e){if(typeof e=="string")return e;if(Nm(e))return M9(e,jm)+"";if(km(e))return F0?F0.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(jm,"baseToString");var $9=jm;function qw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}s(qw,"isObject2");var Mw=qw,U9="[object AsyncFunction]",V9="[object Function]",H9="[object GeneratorFunction]",z9="[object Proxy]";function Lw(e){if(!Mw(e))return!1;var t=kw(e);return t==V9||t==H9||t==U9||t==z9}s(Lw,"isFunction");var J9=Lw,G9=Im["__core-js_shared__"],Mp=G9,I0=function(){var e=/[^.]+$/.exec(Mp&&Mp.keys&&Mp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function $w(e){return!!I0&&I0 in e}s($w,"isMasked");var W9=$w,Y9=Function.prototype,K9=Y9.toString;function Uw(e){if(e!=null){try{return K9.call(e)}catch{}try{return e+""}catch{}}return""}s(Uw,"toSource");var X9=Uw,Q9=/[\\^$.*+?()[\]{}|]/g,Z9=/^\[object .+?Constructor\]$/,e4=Function.prototype,t4=Object.prototype,r4=e4.toString,n4=t4.hasOwnProperty,a4=RegExp("^"+r4.call(n4).replace(Q9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Vw(e){if(!Mw(e)||W9(e))return!1;var t=J9(e)?a4:Z9;return t.test(X9(e))}s(Vw,"baseIsNative");var o4=Vw;function Hw(e,t){return e==null?void 0:e[t]}s(Hw,"getValue");var i4=Hw;function zw(e,t){var r=i4(e,t);return o4(r)?r:void 0}s(zw,"getNative");var Jw=zw;function Gw(e,t){return e===t||e!==e&&t!==t}s(Gw,"eq");var s4=Gw,l4=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u4=/^\w*$/;function Ww(e,t){if(Nm(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||km(e)?!0:u4.test(e)||!l4.test(e)||t!=null&&e in Object(t)}s(Ww,"isKey");var c4=Ww,p4=Jw(Object,"create"),Wi=p4;function Yw(){this.__data__=Wi?Wi(null):{},this.size=0}s(Yw,"hashClear");var d4=Yw;function Kw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}s(Kw,"hashDelete");var f4=Kw,h4="__lodash_hash_undefined__",m4=Object.prototype,y4=m4.hasOwnProperty;function Xw(e){var t=this.__data__;if(Wi){var r=t[e];return r===h4?void 0:r}return y4.call(t,e)?t[e]:void 0}s(Xw,"hashGet");var g4=Xw,b4=Object.prototype,v4=b4.hasOwnProperty;function Qw(e){var t=this.__data__;return Wi?t[e]!==void 0:v4.call(t,e)}s(Qw,"hashHas");var E4=Qw,C4="__lodash_hash_undefined__";function Zw(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Wi&&t===void 0?C4:t,this}s(Zw,"hashSet");var w4=Zw;function $a(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s($a,"Hash");$a.prototype.clear=d4;$a.prototype.delete=f4;$a.prototype.get=g4;$a.prototype.has=E4;$a.prototype.set=w4;var k0=$a;function eA(){this.__data__=[],this.size=0}s(eA,"listCacheClear");var A4=eA;function tA(e,t){for(var r=e.length;r--;)if(s4(e[r][0],t))return r;return-1}s(tA,"assocIndexOf");var Wu=tA,x4=Array.prototype,S4=x4.splice;function rA(e){var t=this.__data__,r=Wu(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():S4.call(t,r,1),--this.size,!0}s(rA,"listCacheDelete");var _4=rA;function nA(e){var t=this.__data__,r=Wu(t,e);return r<0?void 0:t[r][1]}s(nA,"listCacheGet");var T4=nA;function aA(e){return Wu(this.__data__,e)>-1}s(aA,"listCacheHas");var P4=aA;function oA(e,t){var r=this.__data__,n=Wu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}s(oA,"listCacheSet");var D4=oA;function Ua(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Ua,"ListCache");Ua.prototype.clear=A4;Ua.prototype.delete=_4;Ua.prototype.get=T4;Ua.prototype.has=P4;Ua.prototype.set=D4;var O4=Ua,R4=Jw(Im,"Map"),F4=R4;function iA(){this.size=0,this.__data__={hash:new k0,map:new(F4||O4),string:new k0}}s(iA,"mapCacheClear");var I4=iA;function sA(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}s(sA,"isKeyable");var k4=sA;function lA(e,t){var r=e.__data__;return k4(t)?r[typeof t=="string"?"string":"hash"]:r.map}s(lA,"getMapData");var Yu=lA;function uA(e){var t=Yu(this,e).delete(e);return this.size-=t?1:0,t}s(uA,"mapCacheDelete");var N4=uA;function cA(e){return Yu(this,e).get(e)}s(cA,"mapCacheGet");var j4=cA;function pA(e){return Yu(this,e).has(e)}s(pA,"mapCacheHas");var B4=pA;function dA(e,t){var r=Yu(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}s(dA,"mapCacheSet");var q4=dA;function Va(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}s(Va,"MapCache");Va.prototype.clear=I4;Va.prototype.delete=N4;Va.prototype.get=j4;Va.prototype.has=B4;Va.prototype.set=q4;var fA=Va,M4="Expected a function";function Ku(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(M4);var r=s(function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i},"memoized");return r.cache=new(Ku.Cache||fA),r}s(Ku,"memoize");Ku.Cache=fA;var L4=Ku,$4=500;function hA(e){var t=L4(e,function(n){return r.size===$4&&r.clear(),n}),r=t.cache;return t}s(hA,"memoizeCapped");var U4=hA,V4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H4=/\\(\\)?/g,z4=U4(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(V4,function(r,n,a,o){t.push(a?o.replace(H4,"$1"):n||r)}),t}),J4=z4;function mA(e){return e==null?"":$9(e)}s(mA,"toString");var G4=mA;function yA(e,t){return Nm(e)?e:c4(e,t)?[e]:J4(G4(e))}s(yA,"castPath");var W4=yA;function gA(e){if(typeof e=="string"||km(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}s(gA,"toKey");var Y4=gA;function bA(e,t){t=W4(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Y4(t[r++])];return r&&r==n?e:void 0}s(bA,"baseGet");var K4=bA;function vA(e,t,r){var n=e==null?void 0:K4(e,t);return n===void 0?r:n}s(vA,"get");var X4=vA,Bm=Dw,Q4=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,qm=s(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Mm(e){if(!Bm(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=vw(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}s(Mm,"convertUnconventionalData");var Z4=s(function(e){let t,r,n,a;return s(function(o,i){var l;try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===Number.NEGATIVE_INFINITY?"_-Infinity_":i===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return Q4.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,C9.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,w9.default)(i))return;if((0,A9.default)(i)){if(!e.allowSymbol)return;let p=Symbol.keyFor(i);return p!==void 0?`_gsymbol_${p}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if((l=i==null?void 0:i.constructor)!=null&&l.name&&i.constructor.name!=="Object"&&!Array.isArray(i)){let p=t.get(i);if(!p){let d={__isClassInstance__:!0,__className__:i.constructor.name,...Object.getOwnPropertyNames(i).reduce((h,f)=>{try{h[f]=i[f]}catch{}return h},{})};return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${p}`}let c=t.get(i);if(!c){let p=Array.isArray(i)?i:Mm(i);return a.push(o),n.unshift(p),t.set(i,JSON.stringify(a)),i!==p&&r.set(i,p),p}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),eU=s(function(e){let t=[],r;return s(function(n,a){if(n===""&&(r=a,t.forEach(({target:o,container:i,replacement:l})=>{let u=qm(l)?JSON.parse(l):l.split(".");u.length===0?i[o]=r:i[o]=X4(r,u)})),n==="_constructor-name_")return a;if(Bm(a)&&a.__isConvertedError__){let{message:o,...i}=a.errorProperties,l=new Error(o);return Object.assign(l,i),l}if(typeof a=="string"&&a.startsWith("_regexp_")&&e.allowRegExp){let[,o,i]=a.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(i,o)}return typeof a=="string"&&a.startsWith("_date_")&&e.allowDate?new Date(a.replace("_date_","")):typeof a=="string"&&a.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:a.replace(/^_duplicate_/,"")}),null):typeof a=="string"&&a.startsWith("_symbol_")&&e.allowSymbol?Symbol(a.replace("_symbol_","")):typeof a=="string"&&a.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(a.replace("_gsymbol_","")):typeof a=="string"&&a==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof a=="string"&&a==="_Infinity_"?Number.POSITIVE_INFINITY:typeof a=="string"&&a==="_NaN_"?Number.NaN:typeof a=="string"&&a.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(a.replace("_bigint_","")):a},"revive")},"reviver2"),EA={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},CA=s((e,t={})=>{let r={...EA,...t};return JSON.stringify(Mm(e),Z4(r),t.space)},"stringify"),tU=s(()=>{let e=new Map;return s(function t(r){Bm(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),wA=s((e,t={})=>{let r={...EA,...t},n=JSON.parse(e,eU(r));return tU()(n),n},"parse"),rU="Invariant failed";function rn(e,t){if(!e)throw new Error(rU)}s(rn,"invariant");var nU=s(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(o=>{var u,c;try{return((u=o.contentWindow)==null?void 0:u.location.origin)===e.source.location.origin&&((c=o.contentWindow)==null?void 0:c.location.pathname)===e.source.location.pathname}catch{}try{return o.contentWindow===e.source}catch{}let i=o.getAttribute("src"),l;try{if(!i)return!1;({origin:l}=new URL(i,document.location.toString()))}catch{return!1}return l===e.origin}),a=r==null?void 0:r.getAttribute("src");if(a&&n.length===0){let{protocol:o,host:i,pathname:l}=new URL(a,document.location.toString());return`${o}//${i}${l}`}return n.length>0&&ut.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:Lp,location:di}=he,N0="storybook-channel",aU={maxDepth:25},AA=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(he==null?void 0:he.addEventListener)=="function"&&he.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}=r||{},d=Object.fromEntries(Object.entries({allowRegExp:a,allowSymbol:o,allowDate:i,allowError:l,allowUndefined:u,maxDepth:c,space:p}).filter(([g,b])=>typeof b<"u")),h={...aU,...he.CHANNEL_OPTIONS||{},...d},f=this.getFrames(n),m=new URLSearchParams((di==null?void 0:di.search)||""),y=CA({key:N0,event:t,refId:m.get("refId")},h);return f.length?(this.buffer.length&&this.flush(),f.forEach(g=>{try{g.postMessage(y,"*")}catch{ut.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,b)=>{this.buffer.push({event:t,resolve:g,reject:b})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(Lp.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return he&&he.parent&&he.parent!==he.self?[he.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Lp.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Lp.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:a,refId:o}=typeof r=="string"&&qm(r)?wA(r,he.CHANNEL_OPTIONS||{}):r;if(n===N0){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(vm).includes(a.type)?`<span style="color: #FF4785">${a.type}</span>`:`<span style="color: #FFAE00">${a.type}</span>`;if(o&&(a.refId=o),a.source=this.config.page==="preview"?t.origin:nU(t),!a.source){mr.error(`${i} received ${l} but was unable to determine the source of the event`);return}let u=`${i} received ${l} (${r.length})`;mr.debug(di.origin!==a.source?u:`${u} <span style="color: gray">(on ${di.origin} from ${a.source})</span>`,...a.args),rn(this.handler,"ChannelHandler should be set"),this.handler(a)}}catch(r){ut.error(r)}}};s(AA,"PostMessageTransport");var xA=AA,{WebSocket:oU}=he,SA=15e3,_A=5e3,TA=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new oU(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:a})=>{let o=typeof a=="string"&&qm(a)?wA(a):a;rn(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=a=>{rn(this.handler),this.handler({type:GC,args:[{reason:a.reason,code:a.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},SA+_A)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=CA(t,{maxDepth:15,...he.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};s(TA,"WebsocketTransport");var PA=TA,{CONFIG_TYPE:iU}=he,sU=Ju;function DA({page:e,extraTransports:t=[]}){let r=[new xA({page:e}),...t];if(iU==="DEVELOPMENT"){let a=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,l=`${a}://${o}:${i}/storybook-server-channel`;r.push(new PA({url:l,onError:s(()=>{},"onError"),page:e}))}let n=new Ju({transports:r});return qp.__prepare(n,e==="manager"?qp.Environment.MANAGER:qp.Environment.PREVIEW),n}s(DA,"createBrowserChannel");var OA={};Xt(OA,{CalledExtractOnStoreError:()=>MA,CalledPreviewMethodBeforeInitializationError:()=>dr,Category:()=>IA,ElementA11yParameterError:()=>fU,EmptyIndexError:()=>WA,ImplicitActionsDuringRendering:()=>BA,MdxFileWithNoCsfReferencesError:()=>JA,MissingRenderToCanvasError:()=>$A,MissingStoryAfterHmrError:()=>NA,MissingStoryFromCsfFileError:()=>QA,MountMustBeDestructuredError:()=>Lm,NextJsSharpError:()=>uU,NextjsRouterMocksNotAvailable:()=>cU,NoRenderFunctionError:()=>nx,NoStoryMatchError:()=>KA,NoStoryMountedError:()=>ox,StatusTypeIdMismatchError:()=>lU,StoryIndexFetchError:()=>HA,StoryStoreAccessedBeforeInitializationError:()=>ex,UnknownArgTypesError:()=>pU,UnsupportedViewportDimensionError:()=>dU});function Md({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}s(Md,"parseErrorCode");var RA=class FA extends Error{constructor(t){super(FA.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Md({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:a}){let o;return t===!0?o=`https://storybook.js.org/error/${Md({code:r,category:n})}`:typeof t=="string"?o=t:Array.isArray(t)&&(o=`
46
+ ${t.map(i=>` - ${i}`).join(`
47
+ `)}`),`${a}${o!=null?`
48
+
49
+ More info: ${o}
50
+ `:""}`}};s(RA,"StorybookError");var St=RA,IA=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(IA||{}),kA=class extends St{constructor(t){super({category:"PREVIEW_API",code:1,message:qe`
51
+ Couldn't find story matching id '${t.storyId}' after HMR.
52
+ - Did you just rename a story?
53
+ - Did you remove it from your CSF file?
54
+ - Are you sure a story with the id '${t.storyId}' exists?
55
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
56
+ - Also check the browser console and terminal for potential error messages.`}),this.data=t}};s(kA,"MissingStoryAfterHmrError");var NA=kA,jA=class extends St{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:qe`
57
+ We detected that you use an implicit action arg while ${t.phase} of your story.
58
+ ${t.deprecated?`
59
+ This is deprecated and won't work in Storybook 8 anymore.
60
+ `:""}
61
+ Please provide an explicit spy to your args like this:
62
+ import { fn } from 'storybook/test';
63
+ ...
64
+ args: {
65
+ ${t.name}: fn()
66
+ }`}),this.data=t}};s(jA,"ImplicitActionsDuringRendering");var BA=jA,qA=class extends St{constructor(){super({category:"PREVIEW_API",code:3,message:qe`
67
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
68
+
69
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}};s(qA,"CalledExtractOnStoreError");var MA=qA,LA=class extends St{constructor(){super({category:"PREVIEW_API",code:4,message:qe`
70
+ Expected your framework's preset to export a \`renderToCanvas\` field.
71
+
72
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};s(LA,"MissingRenderToCanvasError");var $A=LA,UA=class extends St{constructor(t){super({category:"PREVIEW_API",code:5,message:qe`
73
+ Called \`Preview.${t.methodName}()\` before initialization.
74
+
75
+ The preview needs to load the story index before most methods can be called. If you want
76
+ to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
77
+
78
+ If you didn't call the above code, then likely it was called by an addon that needs to
79
+ do the above.`}),this.data=t}};s(UA,"CalledPreviewMethodBeforeInitializationError");var dr=UA,VA=class extends St{constructor(t){super({category:"PREVIEW_API",code:6,message:qe`
80
+ Error fetching \`/index.json\`:
81
+
82
+ ${t.text}
83
+
84
+ If you are in development, this likely indicates a problem with your Storybook process,
85
+ check the terminal for errors.
86
+
87
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
88
+ build.`}),this.data=t}};s(VA,"StoryIndexFetchError");var HA=VA,zA=class extends St{constructor(t){super({category:"PREVIEW_API",code:7,message:qe`
89
+ Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
90
+ references, or autodocs for a CSF file that some doesn't refer to itself.
91
+
92
+ This likely is an internal error in Storybook's indexing, or you've attached the
93
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};s(zA,"MdxFileWithNoCsfReferencesError");var JA=zA,GA=class extends St{constructor(){super({category:"PREVIEW_API",code:8,message:qe`
94
+ Couldn't find any stories in your Storybook.
95
+
96
+ - Please check your stories field of your main.js config: does it match correctly?
97
+ - Also check the browser console and terminal for error messages.`})}};s(GA,"EmptyIndexError");var WA=GA,YA=class extends St{constructor(t){super({category:"PREVIEW_API",code:9,message:qe`
98
+ Couldn't find story matching '${t.storySpecifier}'.
99
+
100
+ - Are you sure a story with that id exists?
101
+ - Please check your stories field of your main.js config.
102
+ - Also check the browser console and terminal for error messages.`}),this.data=t}};s(YA,"NoStoryMatchError");var KA=YA,XA=class extends St{constructor(t){super({category:"PREVIEW_API",code:10,message:qe`
103
+ Couldn't find story matching id '${t.storyId}' after importing a CSF file.
104
+
105
+ The file was indexed as if the story was there, but then after importing the file in the browser
106
+ we didn't find the story. Possible reasons:
107
+ - You are using a custom story indexer that is misbehaving.
108
+ - You have a custom file loader that is removing or renaming exports.
109
+
110
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};s(XA,"MissingStoryFromCsfFileError");var QA=XA,ZA=class extends St{constructor(){super({category:"PREVIEW_API",code:11,message:qe`
111
+ Cannot access the Story Store until the index is ready.
112
+
113
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
114
+ remove access to the store entirely`})}};s(ZA,"StoryStoreAccessedBeforeInitializationError");var ex=ZA,tx=class extends St{constructor(t){super({category:"PREVIEW_API",code:12,message:qe`
115
+ Incorrect use of mount in the play function.
116
+
117
+ To use mount in the play function, you must satisfy the following two requirements:
118
+
119
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
120
+ This makes sure that Storybook does not start rendering the story before the play function begins.
121
+
122
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
123
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
124
+ which prevents Storybook from recognizing your usage of \`mount\`.
125
+
126
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
127
+
128
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
129
+
130
+ Received the following play function:
131
+ ${t.playFunction}`}),this.data=t}};s(tx,"MountMustBeDestructuredError");var Lm=tx,rx=class extends St{constructor(t){super({category:"PREVIEW_API",code:14,message:qe`
132
+ No render function available for storyId '${t.id}'
133
+ `}),this.data=t}};s(rx,"NoRenderFunctionError");var nx=rx,ax=class extends St{constructor(){super({category:"PREVIEW_API",code:15,message:qe`
134
+ No component is mounted in your story.
135
+
136
+ This usually occurs when you destructure mount in the play function, but forget to call it.
137
+
138
+ For example:
139
+
140
+ async play({ mount, canvasElement }) {
141
+ // 👈 mount should be called: await mount();
142
+ const canvas = within(canvasElement);
143
+ const button = await canvas.findByRole('button');
144
+ await userEvent.click(button);
145
+ };
146
+
147
+ Make sure to either remove it or call mount in your play function.
148
+ `})}};s(ax,"NoStoryMountedError");var ox=ax,ix=class extends St{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};s(ix,"StatusTypeIdMismatchError");var lU=ix,sx=class extends St{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:qe`
149
+ You are importing avif images, but you don't have sharp installed.
150
+
151
+ You have to install sharp in order to use image optimization features in Next.js.
152
+ `})}};s(sx,"NextJsSharpError");var uU=sx,lx=class extends St{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:qe`
153
+ Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
154
+ `}),this.data=t}};s(lx,"NextjsRouterMocksNotAvailable");var cU=lx,ux=class extends St{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:qe`
155
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
156
+ ${JSON.stringify(t.type,null,2)}
157
+
158
+ Storybook will fall back to use a generic type description instead.
159
+
160
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
161
+ If you think this is a bug, please detail it as much as possible in the Github issue.
162
+ `}),this.data=t}};s(ux,"UnknownArgTypesError");var pU=ux,cx=class extends St{constructor(t){super({category:"ADDON_VITEST",code:1,message:qe`
163
+ Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
164
+
165
+ The Storybook plugin only supports values in the following units:
166
+ - px, vh, vw, em, rem and %.
167
+
168
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
169
+ `}),this.data=t}};s(cx,"UnsupportedViewportDimensionError");var dU=cx,px=class extends St{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};s(px,"ElementA11yParameterError");var fU=px,dx={};Xt(dx,{Addon_TypesEnum:()=>fx});var fx=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(fx||{}),hx={};Xt(hx,{ADDON_ID:()=>Xu,CLEAR_ID:()=>yU,CYCLIC_KEY:()=>gU,EVENT_ID:()=>mx,PANEL_ID:()=>mU,PARAM_KEY:()=>hU,action:()=>ii,actions:()=>WY,config:()=>gs,configureActions:()=>zY});var hU="actions",Xu="storybook/actions",mU=`${Xu}/panel`,mx=`${Xu}/action-event`,yU=`${Xu}/action-clear`,gU="$___storybook.isCyclic",Ld={};Xt(Ld,{DocsContext:()=>Gv,HooksContext:()=>Um,Preview:()=>uN,PreviewWeb:()=>LY,PreviewWithSelection:()=>vN,ReporterAPI:()=>Hv,StoryStore:()=>aN,UrlStore:()=>_N,WebView:()=>DN,addons:()=>rr,applyHooks:()=>Ex,combineArgs:()=>Ru,combineParameters:()=>Ma,composeConfigs:()=>La,composeStepRunners:()=>$v,composeStories:()=>eN,composeStory:()=>Jv,createPlaywrightTest:()=>tN,decorateStory:()=>kv,defaultDecorateStory:()=>jv,definePreview:()=>bx,emitTransformCode:()=>IN,filterArgTypes:()=>Wk,getCoreAnnotations:()=>Ep,getCsfFactoryAnnotations:()=>zv,inferControls:()=>Lv,makeDecorator:()=>CU,mockChannel:()=>$m,normalizeProjectAnnotations:()=>ys,normalizeStory:()=>ms,pauseAnimations:()=>Ap,prepareMeta:()=>Bv,prepareStory:()=>wp,sanitizeStoryContextUpdate:()=>Nv,setDefaultProjectAnnotations:()=>Xk,setProjectAnnotations:()=>Zk,simulateDOMContentLoaded:()=>ju,simulatePageLoad:()=>FN,sortStoriesV7:()=>TY,useArgs:()=>Px,useCallback:()=>_o,useChannel:()=>_x,useEffect:()=>Kn,useGlobals:()=>Dx,useMemo:()=>zm,useParameter:()=>Tx,useReducer:()=>Sx,useRef:()=>wx,useState:()=>xx,useStoryContext:()=>xs,userOrAutoTitle:()=>xY,userOrAutoTitleFromSpecifier:()=>iN,waitForAnimations:()=>xp});function $m(){let e={setHandler:s(()=>{},"setHandler"),send:s(()=>{},"send")};return new Ju({transport:e})}s($m,"mockChannel");var yx=class{constructor(){this.getChannel=s(()=>{if(!this.channel){let t=$m();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=s(()=>this.promise,"ready"),this.hasChannel=s(()=>!!this.channel,"hasChannel"),this.setChannel=s(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};s(yx,"AddonStore");var bU=yx,$p="__STORYBOOK_ADDONS_PREVIEW";function gx(){return he[$p]||(he[$p]=new bU),he[$p]}s(gx,"getAddonsStore");var rr=gx();function bx(e){return e}s(bx,"definePreview");var vx=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=s(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),rr.getChannel().on(ql,this.renderListener)}removeRenderListeners(){rr.getChannel().removeListener(ql,this.renderListener)}};s(vx,"HooksContext");var Um=vx;function $d(e){let t=s((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],a=n.currentPhase,o=n.currentHooks,i=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=he.STORYBOOK_HOOKS_CONTEXT;he.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(he.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=a,n.currentHooks=o,n.nextHookIndex=i,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}s($d,"hookify");var Up=0,vU=25,Ex=s(e=>(t,r)=>{let n=e($d(t),r.map(a=>$d(a)));return a=>{let{hooks:o}=a;o.prevMountedDecorators??(o.prevMountedDecorators=new Set),o.mountedDecorators=new Set([t,...r]),o.currentContext=a,o.hasUpdates=!1;let i=n(a);for(Up=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],i=n(a),Up+=1,Up>vU)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),i}},"applyHooks"),EU=s((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Vm=s(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Hm(){return he.STORYBOOK_HOOKS_CONTEXT||null}s(Hm,"getHooksContextOrNull");function Qu(){let e=Hm();if(e==null)throw Vm();return e}s(Qu,"getHooksContextOrThrow");function Cx(e,t,r){let n=Qu();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ut.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:e,deps:r};return n.currentHooks.push(a),t(a),a}if(n.currentPhase==="UPDATE"){let a=n.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==e&&ut.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&a.deps==null&&ut.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&a.deps!=null&&r.length!==a.deps.length&&ut.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
170
+ Previous: ${a.deps}
171
+ Incoming: ${r}`),(r==null||a.deps==null||!EU(r,a.deps))&&(t(a),a.deps=r),a}throw Vm()}s(Cx,"useHook");function As(e,t,r){let{memoizedState:n}=Cx(e,a=>{a.memoizedState=t()},r);return n}s(As,"useMemoLike");function zm(e,t){return As("useMemo",e,t)}s(zm,"useMemo");function _o(e,t){return As("useCallback",()=>e,t)}s(_o,"useCallback");function Jm(e,t){return As(e,()=>({current:t}),[])}s(Jm,"useRefLike");function wx(e){return Jm("useRef",e)}s(wx,"useRef");function Ax(){let e=Hm();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{rr.getChannel().emit(wm)}catch{ut.warn("State updates of Storybook preview hooks work only in browser")}}s(Ax,"triggerUpdate");function Gm(e,t){let r=Jm(e,typeof t=="function"?t():t),n=s(a=>{r.current=typeof a=="function"?a(r.current):a,Ax()},"setState");return[r.current,n]}s(Gm,"useStateLike");function xx(e){return Gm("useState",e)}s(xx,"useState");function Sx(e,t,r){let n=r!=null?()=>r(t):t,[a,o]=Gm("useReducer",n);return[a,s(i=>o(l=>e(l,i)),"dispatch")]}s(Sx,"useReducer");function Kn(e,t){let r=Qu(),n=As("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}s(Kn,"useEffect");function _x(e,t=[]){let r=rr.getChannel();return Kn(()=>(Object.entries(e).forEach(([n,a])=>r.on(n,a)),()=>{Object.entries(e).forEach(([n,a])=>r.removeListener(n,a))}),[...Object.keys(e),...t]),_o(r.emit.bind(r),[r])}s(_x,"useChannel");function xs(){let{currentContext:e}=Qu();if(e==null)throw Vm();return e}s(xs,"useStoryContext");function Tx(e,t){let{parameters:r}=xs();if(e)return r[e]??t}s(Tx,"useParameter");function Px(){let e=rr.getChannel(),{id:t,args:r}=xs(),n=_o(o=>e.emit(_m,{storyId:t,updatedArgs:o}),[e,t]),a=_o(o=>e.emit(Am,{storyId:t,argNames:o}),[e,t]);return[r,n,a]}s(Px,"useArgs");function Dx(){let e=rr.getChannel(),{globals:t}=xs(),r=_o(n=>e.emit(Sm,{globals:n}),[e]);return[t,r]}s(Dx,"useGlobals");var CU=s(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let a=s(o=>(i,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!o&&!u?i(l):r(i,l,{options:o,parameters:u})},"decorator");return(...o)=>typeof o[0]=="function"?a()(...o):(...i)=>{if(i.length>1)return o.length>1?a(o)(...i):a(...o)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed,
172
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function Ox(){}s(Ox,"noop");function Ud(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}s(Ud,"getSymbols");function Vd(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}s(Vd,"getTag");var wU="[object RegExp]",AU="[object String]",xU="[object Number]",SU="[object Boolean]",j0="[object Arguments]",_U="[object Symbol]",TU="[object Date]",PU="[object Map]",DU="[object Set]",OU="[object Array]",RU="[object Function]",FU="[object ArrayBuffer]",Vp="[object Object]",IU="[object Error]",kU="[object DataView]",NU="[object Uint8Array]",jU="[object Uint8ClampedArray]",BU="[object Uint16Array]",qU="[object Uint32Array]",MU="[object BigUint64Array]",LU="[object Int8Array]",$U="[object Int16Array]",UU="[object Int32Array]",VU="[object BigInt64Array]",HU="[object Float32Array]",zU="[object Float64Array]";function Br(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}s(Br,"isPlainObject");function To(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}s(To,"mapValues");function Rx(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];t(i,o)&&(r[o]=i)}return r}s(Rx,"pickBy");function Fx(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}s(Fx,"eq");function Ix(e,t,r){return lo(e,t,void 0,void 0,void 0,void 0,r)}s(Ix,"isEqualWith");function lo(e,t,r,n,a,o,i){let l=i(e,t,r,n,a,o);if(l!==void 0)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return bo(e,t,o,i)}return bo(e,t,o,i)}s(lo,"isEqualWithImpl");function bo(e,t,r,n){if(Object.is(e,t))return!0;let a=Vd(e),o=Vd(t);if(a===j0&&(a=Vp),o===j0&&(o=Vp),a!==o)return!1;switch(a){case AU:return e.toString()===t.toString();case xU:{let u=e.valueOf(),c=t.valueOf();return Fx(u,c)}case SU:case TU:case _U:return Object.is(e.valueOf(),t.valueOf());case wU:return e.source===t.source&&e.flags===t.flags;case RU:return e===t}r=r??new Map;let i=r.get(e),l=r.get(t);if(i!=null&&l!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(a){case PU:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!lo(c,t.get(u),u,e,t,r,n))return!1;return!0}case DU:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let p=0;p<u.length;p++){let d=u[p],h=c.findIndex(f=>lo(d,f,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case OU:case NU:case jU:case BU:case qU:case MU:case LU:case $U:case UU:case VU:case HU:case zU:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!lo(e[u],t[u],u,e,t,r,n))return!1;return!0}case FU:return e.byteLength!==t.byteLength?!1:bo(new Uint8Array(e),new Uint8Array(t),r,n);case kU:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:bo(new Uint8Array(e),new Uint8Array(t),r,n);case IU:return e.name===t.name&&e.message===t.message;case Vp:{if(!(bo(e.constructor,t.constructor,r,n)||Br(e)&&Br(t)))return!1;let u=[...Object.keys(e),...Ud(e)],c=[...Object.keys(t),...Ud(t)];if(u.length!==c.length)return!1;for(let p=0;p<u.length;p++){let d=u[p],h=e[d];if(!Object.hasOwn(t,d))return!1;let f=t[d];if(!lo(h,f,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}s(bo,"areObjectsEqual");function kx(e,t){return Ix(e,t,Ox)}s(kx,"isEqual");var Hp=xt(xC(),1),Nx={};Xt(Nx,{argsEnhancers:()=>WU});var jx=s((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),JU=s(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:a}}=e;if(!a||a.disable||!a.argTypesRegex||!r)return{};let o=new RegExp(a.argTypesRegex);return Object.entries(r).filter(([i])=>!!o.test(i)).reduce((i,[l,u])=>(jx(l,t)&&(i[l]=ii(l,{implicit:!0,id:n})),i),{})},"inferActionsFromArgTypesRegex"),GU=s(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([a,o])=>!!o.action).reduce((a,[o,i])=>(jx(o,t)&&(a[o]=ii(typeof i.action=="string"?i.action:o)),a),{})},"addActionsFromArgTypes"),WU=[GU,JU],Bx={};Xt(Bx,{loaders:()=>dW});var qx={};Xt(qx,{buildQueries:()=>JJ,clearAllMocks:()=>Db,configure:()=>GJ,createEvent:()=>WJ,expect:()=>cW,findAllByAltText:()=>KJ,findAllByDisplayValue:()=>XJ,findAllByLabelText:()=>QJ,findAllByPlaceholderText:()=>ZJ,findAllByRole:()=>eG,findAllByTestId:()=>tG,findAllByText:()=>rG,findAllByTitle:()=>nG,findByAltText:()=>aG,findByDisplayValue:()=>oG,findByLabelText:()=>iG,findByPlaceholderText:()=>sG,findByRole:()=>lG,findByTestId:()=>uG,findByText:()=>cG,findByTitle:()=>pG,fireEvent:()=>YJ,fn:()=>Tb,getAllByAltText:()=>dG,getAllByDisplayValue:()=>fG,getAllByLabelText:()=>hG,getAllByPlaceholderText:()=>mG,getAllByRole:()=>yG,getAllByTestId:()=>gG,getAllByText:()=>bG,getAllByTitle:()=>vG,getByAltText:()=>EG,getByDisplayValue:()=>CG,getByLabelText:()=>wG,getByPlaceholderText:()=>AG,getByRole:()=>xG,getByTestId:()=>SG,getByText:()=>_G,getByTitle:()=>TG,getConfig:()=>PG,getDefaultNormalizer:()=>DG,getElementError:()=>OG,getNodeText:()=>RG,getQueriesForElement:()=>FG,getRoles:()=>IG,getSuggestedQuery:()=>kG,isInaccessible:()=>NG,isMockFunction:()=>Eo,logDOM:()=>jG,logRoles:()=>BG,mocked:()=>bO,mocks:()=>Ms,onMockCall:()=>_b,prettyDOM:()=>qG,prettyFormat:()=>lW,queries:()=>MG,queryAllByAltText:()=>LG,queryAllByAttribute:()=>$G,queryAllByDisplayValue:()=>UG,queryAllByLabelText:()=>VG,queryAllByPlaceholderText:()=>HG,queryAllByRole:()=>zG,queryAllByTestId:()=>JG,queryAllByText:()=>GG,queryAllByTitle:()=>WG,queryByAltText:()=>YG,queryByAttribute:()=>KG,queryByDisplayValue:()=>XG,queryByLabelText:()=>QG,queryByPlaceholderText:()=>ZG,queryByRole:()=>eW,queryByTestId:()=>tW,queryByText:()=>rW,queryByTitle:()=>nW,queryHelpers:()=>aW,resetAllMocks:()=>Ob,restoreAllMocks:()=>Rb,screen:()=>oW,spyOn:()=>Mz,uninstrumentedUserEvent:()=>ck,userEvent:()=>uW,waitFor:()=>iW,waitForElementToBeRemoved:()=>sW,within:()=>uk});var YU={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},KU=Object.entries(YU);function Zu(e){return String(e)}s(Zu,"a");Zu.open="";Zu.close="";function Mx(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}s(Mx,"C");function Lx(e=!1){let t=Mx(e),r=s((i,l,u,c)=>{let p="",d=0;do p+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return p+i.substring(d)},"i"),n=s((i,l,u=i)=>{let c=s(p=>{let d=String(p),h=d.indexOf(l,i.length);return~h?i+r(d,l,u,h)+l:i+d+l},"o");return c.open=i,c.close=l,c},"g"),a={isColorSupported:t},o=s(i=>`\x1B[${i}m`,"d");for(let[i,l]of KU)a[i]=t?n(o(l[0]),o(l[1]),l[2]):Zu;return a}s(Lx,"p");var Je=Lx();function Wm(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(Wm,"_mergeNamespaces");function $x(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}s($x,"getKeysOfEnumerableProperties");function Wo(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,p,n,a),h=o(c.value[1],t,p,n,a);l+=d+i+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(Wo,"printIteratorEntries");function ec(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}s(ec,"printIteratorValues");function Yi(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<u;p++){if(i+=c,p===t.maxWidth){i+="…";break}(l(e)||p in e)&&(i+=o(l(e)?e.getInt8(p):e[p],t,c,n,a)),p<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(Yi,"printListItems");function tc(e,t,r,n,a,o){let i="",l=$x(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],d=o(p,t,u,n,a),h=o(e[p],t,u,n,a);i+=`${u+d}: ${h}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(tc,"printObjectProperties");var XU=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,zp=" ",QU=s((e,t,r,n,a,o)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+zp}[${Yi(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+zp}{${tc(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+zp+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),ZU=s(e=>e&&e.$$typeof===XU,"test$5"),e7={serialize:QU,test:ZU},t7=" ",Ux=new Set(["DOMStringMap","NamedNodeMap"]),r7=/^(?:HTML\w*Collection|NodeList)$/;function Vx(e){return Ux.has(e)||r7.test(e)}s(Vx,"testName");var n7=s(e=>e&&e.constructor&&!!e.constructor.name&&Vx(e.constructor.name),"test$4");function Hx(e){return e.constructor.name==="NamedNodeMap"}s(Hx,"isNamedNodeMap");var a7=s((e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+t7)+(Ux.has(i)?`{${tc(Hx(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${Yi([...e],t,r,n,a,o)}]`)},"serialize$4"),o7={serialize:a7,test:n7};function Ym(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}s(Ym,"escapeHTML");function rc(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.includes(`
173
+ `)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}s(rc,"printProps");function nc(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Km(i,t):o(i,t,r,n,a))).join("")}s(nc,"printChildren");function Km(e,t){let r=t.colors.content;return r.open+Ym(e)+r.close}s(Km,"printText");function zx(e,t){let r=t.colors.comment;return`${r.open}<!--${Ym(e)}-->${r.close}`}s(zx,"printComment");function ac(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}s(ac,"printElement");function oc(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(oc,"printElementAsLeaf");var i7=1,Jx=3,Gx=8,Wx=11,s7=/^(?:(?:HTML|SVG)\w*)?Element$/;function Yx(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(Yx,"testHasAttribute");function Kx(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Yx(e);return r===i7&&(s7.test(t)||a)||r===Jx&&t==="Text"||r===Gx&&t==="Comment"||r===Wx&&t==="DocumentFragment"}s(Kx,"testNode");var l7=s(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Kx(e)},"test$3");function Xx(e){return e.nodeType===Jx}s(Xx,"nodeIsText");function Qx(e){return e.nodeType===Gx}s(Qx,"nodeIsComment");function hl(e){return e.nodeType===Wx}s(hl,"nodeIsFragment");var u7=s((e,t,r,n,a,o)=>{if(Xx(e))return Km(e.data,t);if(Qx(e))return zx(e.data,t);let i=hl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?oc(i,t):ac(i,rc(hl(e)?[]:Array.from(e.attributes,l=>l.name).sort(),hl(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),nc(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},"serialize$3"),c7={serialize:u7,test:l7},p7="@@__IMMUTABLE_ITERABLE__@@",d7="@@__IMMUTABLE_LIST__@@",f7="@@__IMMUTABLE_KEYED__@@",h7="@@__IMMUTABLE_MAP__@@",B0="@@__IMMUTABLE_ORDERED__@@",m7="@@__IMMUTABLE_RECORD__@@",y7="@@__IMMUTABLE_SEQ__@@",g7="@@__IMMUTABLE_SET__@@",b7="@@__IMMUTABLE_STACK__@@",Po=s(e=>`Immutable.${e}`,"getImmutableName"),ic=s(e=>`[${e}]`,"printAsLeaf"),Ki=" ",q0="…";function Zx(e,t,r,n,a,o,i){return++n>t.maxDepth?ic(Po(i)):`${Po(i)+Ki}{${Wo(e.entries(),t,r,n,a,o)}}`}s(Zx,"printImmutableEntries");function eS(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}s(eS,"getRecordEntries");function tS(e,t,r,n,a,o){let i=Po(e._name||"Record");return++n>t.maxDepth?ic(i):`${i+Ki}{${Wo(eS(e),t,r,n,a,o)}}`}s(tS,"printImmutableRecord");function rS(e,t,r,n,a,o){let i=Po("Seq");return++n>t.maxDepth?ic(i):e[f7]?`${i+Ki}{${e._iter||e._object?Wo(e.entries(),t,r,n,a,o):q0}}`:`${i+Ki}[${e._iter||e._array||e._collection||e._iterable?ec(e.values(),t,r,n,a,o):q0}]`}s(rS,"printImmutableSeq");function ml(e,t,r,n,a,o,i){return++n>t.maxDepth?ic(Po(i)):`${Po(i)+Ki}[${ec(e.values(),t,r,n,a,o)}]`}s(ml,"printImmutableValues");var v7=s((e,t,r,n,a,o)=>e[h7]?Zx(e,t,r,n,a,o,e[B0]?"OrderedMap":"Map"):e[d7]?ml(e,t,r,n,a,o,"List"):e[g7]?ml(e,t,r,n,a,o,e[B0]?"OrderedSet":"Set"):e[b7]?ml(e,t,r,n,a,o,"Stack"):e[y7]?rS(e,t,r,n,a,o):tS(e,t,r,n,a,o),"serialize$2"),E7=s(e=>e&&(e[p7]===!0||e[m7]===!0),"test$2"),C7={serialize:v7,test:E7};function Xm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Xm,"getDefaultExportFromCjs");var M0={exports:{}},Qe={},L0;function nS(){if(L0)return Qe;L0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case a:case n:case u:case c:case h:return y;default:switch(y=y&&y.$$typeof,y){case i:case l:case d:case p:return y;case o:return y;default:return g}}case t:return g}}}return s(m,"typeOf"),Qe.ContextConsumer=o,Qe.ContextProvider=i,Qe.Element=e,Qe.ForwardRef=l,Qe.Fragment=r,Qe.Lazy=d,Qe.Memo=p,Qe.Portal=t,Qe.Profiler=a,Qe.StrictMode=n,Qe.Suspense=u,Qe.SuspenseList=c,Qe.isContextConsumer=function(y){return m(y)===o},Qe.isContextProvider=function(y){return m(y)===i},Qe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Qe.isForwardRef=function(y){return m(y)===l},Qe.isFragment=function(y){return m(y)===r},Qe.isLazy=function(y){return m(y)===d},Qe.isMemo=function(y){return m(y)===p},Qe.isPortal=function(y){return m(y)===t},Qe.isProfiler=function(y){return m(y)===a},Qe.isStrictMode=function(y){return m(y)===n},Qe.isSuspense=function(y){return m(y)===u},Qe.isSuspenseList=function(y){return m(y)===c},Qe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===a||y===n||y===u||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===p||y.$$typeof===i||y.$$typeof===o||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},Qe.typeOf=m,Qe}s(nS,"requireReactIs_production");var $0;function aS(){return $0||($0=1,M0.exports=nS()),M0.exports}s(aS,"requireReactIs$1");var oS=aS(),w7=Xm(oS),A7=Wm({__proto__:null,default:w7},[oS]),U0={exports:{}},Ye={},V0;function iS(){if(V0)return Ye;V0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case a:case n:case c:case p:return g;default:switch(g=g&&g.$$typeof,g){case l:case i:case u:case h:case d:case o:return g;default:return b}}case t:return b}}}return s(y,"v"),Ye.ContextConsumer=i,Ye.ContextProvider=o,Ye.Element=e,Ye.ForwardRef=u,Ye.Fragment=r,Ye.Lazy=h,Ye.Memo=d,Ye.Portal=t,Ye.Profiler=a,Ye.StrictMode=n,Ye.Suspense=c,Ye.SuspenseList=p,Ye.isAsyncMode=function(){return!1},Ye.isConcurrentMode=function(){return!1},Ye.isContextConsumer=function(g){return y(g)===i},Ye.isContextProvider=function(g){return y(g)===o},Ye.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ye.isForwardRef=function(g){return y(g)===u},Ye.isFragment=function(g){return y(g)===r},Ye.isLazy=function(g){return y(g)===h},Ye.isMemo=function(g){return y(g)===d},Ye.isPortal=function(g){return y(g)===t},Ye.isProfiler=function(g){return y(g)===a},Ye.isStrictMode=function(g){return y(g)===n},Ye.isSuspense=function(g){return y(g)===c},Ye.isSuspenseList=function(g){return y(g)===p},Ye.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===a||g===n||g===c||g===p||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===o||g.$$typeof===i||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ye.typeOf=y,Ye}s(iS,"requireReactIs_production_min");var H0;function sS(){return H0||(H0=1,U0.exports=iS()),U0.exports}s(sS,"requireReactIs");var lS=sS(),x7=Xm(lS),S7=Wm({__proto__:null,default:x7},[lS]),_7=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],da=Object.fromEntries(_7.map(e=>[e,t=>S7[e](t)||A7[e](t)]));function Qm(e,t=[]){if(Array.isArray(e))for(let r of e)Qm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(Qm,"getChildren");function Hd(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(da.isFragment(e))return"React.Fragment";if(da.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(da.isContextProvider(e))return"Context.Provider";if(da.isContextConsumer(e))return"Context.Consumer";if(da.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(da.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(Hd,"getType");function uS(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(uS,"getPropKeys$1");var T7=s((e,t,r,n,a,o)=>++n>t.maxDepth?oc(Hd(e),t):ac(Hd(e),rc(uS(e),e.props,t,r+t.indent,n,a,o),nc(Qm(e.props.children),t,r+t.indent,n,a,o),t,r),"serialize$1"),P7=s(e=>e!=null&&da.isElement(e),"test$1"),D7={serialize:T7,test:P7},O7=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function cS(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(cS,"getPropKeys");var R7=s((e,t,r,n,a,o)=>++n>t.maxDepth?oc(e.type,t):ac(e.type,e.props?rc(cS(e),e.props,t,r+t.indent,n,a,o):"",e.children?nc(e.children,t,r+t.indent,n,a,o):"",t,r),"serialize"),F7=s(e=>e&&e.$$typeof===O7,"test"),I7={serialize:R7,test:F7},pS=Object.prototype.toString,k7=Date.prototype.toISOString,N7=Error.prototype.toString,z0=RegExp.prototype.toString;function Ri(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(Ri,"getConstructorName");function dS(e){return typeof window<"u"&&e===window}s(dS,"isWindow");var j7=/^Symbol\((.*)\)(.*)$/,B7=/\n/g,fS=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(fS,"PrettyFormatPluginError");var hS=fS;function mS(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}s(mS,"isToStringedArrayType");function yS(e){return Object.is(e,-0)?"-0":String(e)}s(yS,"printNumber");function gS(e){return`${e}n`}s(gS,"printBigInt");function zd(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(zd,"printFunction");function Jd(e){return String(e).replace(j7,"Symbol($1)")}s(Jd,"printSymbol");function Gd(e){return`[${N7.call(e)}]`}s(Gd,"printError");function Zm(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return yS(e);if(a==="bigint")return gS(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return zd(e,t);if(a==="symbol")return Jd(e);let o=pS.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?zd(e,t):o==="[object Symbol]"?Jd(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":k7.call(e):o==="[object Error]"?Gd(e):o==="[object RegExp]"?r?z0.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):z0.call(e):e instanceof Error?Gd(e):null}s(Zm,"printBasicValue");function ey(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return En(e.toJSON(),t,r,n,a,!0);let u=pS.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Yi(e,t,r,n,a,En)}]`:mS(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Yi(e,t,r,n,a,En)}]`:u==="[object Map]"?i?"[Map]":`Map {${Wo(e.entries(),t,r,n,a,En," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${ec(e.values(),t,r,n,a,En)}}`:i||dS(e)?`[${Ri(e)}]`:`${l||!t.printBasicPrototype&&Ri(e)==="Object"?"":`${Ri(e)} `}{${tc(e,t,r,n,a,En)}}`}s(ey,"printComplexValue");var q7={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a,e];let i=++n>t.maxDepth,{message:l,cause:u,...c}=e,p={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:Ri(e);return i?`[${d}]`:`${d} {${Wo(Object.entries(p).values(),t,r,n,a,o)}}`}};function bS(e){return e.serialize!=null}s(bS,"isNewPlugin");function ty(e,t,r,n,a,o){let i;try{i=bS(e)?e.serialize(t,r,n,a,o,En):e.print(t,l=>En(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(B7,`
174
+ ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new hS(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}s(ty,"printPlugin");function ry(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new hS(n.message,n.stack)}return null}s(ry,"findPlugin");function En(e,t,r,n,a,o){let i=ry(t.plugins,e);if(i!==null)return ty(i,e,t,r,n,a);let l=Zm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:ey(e,t,r,n,a,o)}s(En,"printer");var ny={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},vS=Object.keys(ny),Fr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ny};function ES(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Fr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}s(ES,"validateOptions");function CS(){return vS.reduce((e,t)=>{let r=ny[t],n=r&&Je[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}s(CS,"getColorsHighlight");function wS(){return vS.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(wS,"getColorsEmpty");function ay(e){return(e==null?void 0:e.printFunctionName)??Fr.printFunctionName}s(ay,"getPrintFunctionName");function oy(e){return(e==null?void 0:e.escapeRegex)??Fr.escapeRegex}s(oy,"getEscapeRegex");function iy(e){return(e==null?void 0:e.escapeString)??Fr.escapeString}s(iy,"getEscapeString");function Wd(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Fr.callToJSON,colors:e!=null&&e.highlight?CS():wS(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Fr.compareKeys,escapeRegex:oy(e),escapeString:iy(e),indent:e!=null&&e.min?"":AS((e==null?void 0:e.indent)??Fr.indent),maxDepth:(e==null?void 0:e.maxDepth)??Fr.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Fr.maxWidth,min:(e==null?void 0:e.min)??Fr.min,plugins:(e==null?void 0:e.plugins)??Fr.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:ay(e),spacingInner:e!=null&&e.min?" ":`
175
+ `,spacingOuter:e!=null&&e.min?"":`
176
+ `}}s(Wd,"getConfig");function AS(e){return Array.from({length:e+1}).join(" ")}s(AS,"createIndent");function Nr(e,t){if(t&&(ES(t),t.plugins)){let n=ry(t.plugins,e);if(n!==null)return ty(n,e,Wd(t),"",0,[])}let r=Zm(e,ay(t),oy(t),iy(t));return r!==null?r:ey(e,Wd(t),"",0,[])}s(Nr,"format");var sy={AsymmetricMatcher:e7,DOMCollection:o7,DOMElement:c7,Immutable:C7,ReactElement:D7,ReactTestComponent:I7,Error:q7},J0={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},M7={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Do="…";function xS(e,t){let r=J0[M7[t]]||J0[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(xS,"colorise");function SS({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=xS),d}s(SS,"normaliseOptions");function _S(e){return e>="\uD800"&&e<="\uDBFF"}s(_S,"isHighSurrogate");function On(e,t,r=Do){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&_S(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(On,"truncate");function Tr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${Do}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${Do}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(Tr,"inspectList");function TS(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(TS,"quoteComplexKey");function Oo([e,t],r){return r.truncate-=2,typeof e=="string"?e=TS(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(Oo,"inspectProperty");function PS(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Tr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Tr(r.map(o=>[o,e[o]]),t,Oo)),`[ ${n}${a?`, ${a}`:""} ]`}s(PS,"inspectArray");var L7=s(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Wr(e,t){let r=L7(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(On(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${Do}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=Tr(n.map(i=>[i,e[i]]),t,Oo)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Wr,"inspectTypedArray");function DS(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${On(n[1],t.truncate-a.length-1)}`,"date")}s(DS,"inspectDate");function Yd(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${On(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(Yd,"inspectFunction");function OS([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(OS,"inspectMapEntry");function RS(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(RS,"mapToEntries");function FS(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Tr(RS(e),t,OS)} }`)}s(FS,"inspectMap");var $7=Number.isNaN||(e=>e!==e);function Kd(e,t){return $7(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(On(String(e),t.truncate),"number")}s(Kd,"inspectNumber");function Xd(e,t){let r=On(e.toString(),t.truncate-1);return r!==Do&&(r+="n"),t.stylize(r,"bigint")}s(Xd,"inspectBigInt");function IS(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${On(a,n)}/${r}`,"regexp")}s(IS,"inspectRegExp");function kS(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(kS,"arrayFromSet");function NS(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Tr(kS(e),t)} }`)}s(NS,"inspectSet");var G0=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),U7={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},V7=16;function jS(e){return U7[e]||`\\u${`0000${e.charCodeAt(0).toString(V7)}`.slice(-4)}`}s(jS,"escape");function Qd(e,t){return G0.test(e)&&(e=e.replace(G0,jS)),t.stylize(`'${On(e,t.truncate-2)}'`,"string")}s(Qd,"inspectString");function Zd(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(Zd,"inspectSymbol");var BS=s(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(BS=s((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var H7=BS;function Fi(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Tr(r.map(l=>[l,e[l]]),t,Oo),o=Tr(n.map(l=>[l,e[l]]),t,Oo);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(Fi,"inspectObject");var Jp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function qS(e,t){let r="";return Jp&&Jp in e&&(r=e[Jp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Fi(e,t)}`}s(qS,"inspectClass");function MS(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Tr(e,t)} ]`)}s(MS,"inspectArguments");var z7=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function LS(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>z7.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=On(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Tr(r.map(i=>[i,e[i]]),t,Oo);return`${n}${a}${o?` { ${o} }`:""}`}s(LS,"inspectObject");function $S([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s($S,"inspectAttribute");function Ml(e,t){return Tr(e,t,ly,`
177
+ `)}s(Ml,"inspectHTMLCollection");function ly(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Tr(r.map(p=>[p,e.getAttribute(p)]),t,$S," ")),t.truncate-=l.length;let u=t.truncate,c=Ml(e.children,t);return c&&c.length>u&&(c=`${Do}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(ly,"inspectHTML");var J7=typeof Symbol=="function"&&typeof Symbol.for=="function",Gp=J7?Symbol.for("chai/inspect"):"@@chai/inspect",uo=!1;try{let e=zB();uo=e.inspect?e.inspect.custom:!1}catch{uo=!1}var W0=new WeakMap,Y0={},K0={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Kd,Number:Kd,bigint:Xd,BigInt:Xd,string:Qd,String:Qd,function:Yd,Function:Yd,symbol:Zd,Symbol:Zd,Array:PS,Date:DS,Map:FS,Set:NS,RegExp:IS,Promise:H7,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:MS,Int8Array:Wr,Uint8Array:Wr,Uint8ClampedArray:Wr,Int16Array:Wr,Uint16Array:Wr,Int32Array:Wr,Uint32Array:Wr,Float32Array:Wr,Float64Array:Wr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:LS,HTMLCollection:Ml,NodeList:Ml},G7=s((e,t,r)=>Gp in e&&typeof e[Gp]=="function"?e[Gp](t):uo&&uo in e&&typeof e[uo]=="function"?e[uo](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&W0.has(e.constructor)?W0.get(e.constructor)(e,t):Y0[r]?Y0[r](e,t):"","inspectCustom"),W7=Object.prototype.toString;function Xi(e,t={}){let r=SS(t,Xi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=W7.call(e).slice(8,-1)),a in K0)return K0[a](e,r);if(n&&e){let i=G7(e,r,a);if(i)return typeof i=="string"?i:Xi(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Fi(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?ly(e,r):"constructor"in e?e.constructor!==Object?qS(e,r):Fi(e,r):e===Object(e)?Fi(e,r):r.stylize(String(e),a)}s(Xi,"inspect");var{AsymmetricMatcher:Y7,DOMCollection:K7,DOMElement:X7,Immutable:Q7,ReactElement:Z7,ReactTestComponent:eV}=sy,X0=[eV,Z7,X7,K7,Q7,Y7];function Ro(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=Nr(e,{maxDepth:t,escapeString:!1,plugins:X0,...n})}catch{o=Nr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:X0,...n})}return o.length>=a&&t>1?Ro(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}s(Ro,"stringify");var tV=/%[sdjifoOc%]/g;function US(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i<e.length;i++)o.push(eo(e[i],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(tV,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():eo(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return eo(e[r++],{showHidden:!0,showProxy:!0});case"%O":return eo(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?a+=` ${o}`:a+=` ${eo(o)}`;return a}s(US,"format");function eo(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Xi(e,t)}s(eo,"inspect");function VS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(VS,"getDefaultExportFromCjs");function HS(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(HS,"isFinalObj");function Ll(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(Ll,"getType");function zS(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(zS,"collectOwnProperties");function uy(e){let t=new Set;return HS(e)?[]:(zS(e,t),Array.from(t))}s(uy,"getOwnProperties");var JS={forceWritable:!1};function ef(e,t=JS){return $l(e,new WeakMap,t)}s(ef,"deepClone");function $l(e,t,r=JS){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=$l(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=uy(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=$l(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}s($l,"clone");var Jt=-1,kt=1,Ct=0,GS=class{constructor(t,r){Et(this,0);Et(this,1);this[0]=t,this[1]=r}};s(GS,"Diff");var yt=GS;function WS(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(o,a)===t.substring(o,a)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(WS,"diff_commonPrefix");function cy(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(e.length-a,e.length-o)===t.substring(t.length-a,t.length-o)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(cy,"diff_commonSuffix");function tf(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let o=0,i=1;for(;;){let l=e.substring(a-i),u=t.indexOf(l);if(u===-1)return o;i+=u,(u===0||e.substring(a-i)===t.substring(0,i))&&(o=i,i++)}}s(tf,"diff_commonOverlap_");function YS(e){let t=!1,r=[],n=0,a=null,o=0,i=0,l=0,u=0,c=0;for(;o<e.length;)e[o][0]===Ct?(r[n++]=o,i=u,l=c,u=0,c=0,a=e[o][1]):(e[o][0]===kt?u+=e[o][1].length:c+=e[o][1].length,a&&a.length<=Math.max(i,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new yt(Jt,a)),e[r[n-1]+1][0]=kt,n--,n--,o=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&py(e),KS(e),o=1;o<e.length;){if(e[o-1][0]===Jt&&e[o][0]===kt){let p=e[o-1][1],d=e[o][1],h=tf(p,d),f=tf(d,p);h>=f?(h>=p.length/2||h>=d.length/2)&&(e.splice(o,0,new yt(Ct,d.substring(0,h))),e[o-1][1]=p.substring(0,p.length-h),e[o+1][1]=d.substring(h),o++):(f>=p.length/2||f>=d.length/2)&&(e.splice(o,0,new yt(Ct,p.substring(0,f))),e[o-1][0]=kt,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=Jt,e[o+1][1]=p.substring(f),o++),o++}o++}}s(YS,"diff_cleanupSemantic");var Q0=/[^a-z0-9]/i,Z0=/\s/,eE=/[\r\n]/,rV=/\n\r?\n$/,nV=/^\r?\n\r?\n/;function KS(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Ct&&e[t+1][0]===Ct){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],o=cy(r,n);if(o){let p=n.substring(n.length-o);r=r.substring(0,r.length-o),n=p+n.substring(0,n.length-o),a=p+a}let i=r,l=n,u=a,c=vi(r,n)+vi(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let p=vi(r,n)+vi(n,a);p>=c&&(c=p,i=r,l=n,u=a)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(KS,"diff_cleanupSemanticLossless");function py(e){e.push(new yt(Ct,""));let t=0,r=0,n=0,a="",o="",i;for(;t<e.length;)switch(e[t][0]){case kt:n++,o+=e[t][1],t++;break;case Jt:r++,a+=e[t][1],t++;break;case Ct:r+n>1?(r!==0&&n!==0&&(i=WS(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ct?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new yt(Ct,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=cy(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new yt(Jt,a)),t++),o.length&&(e.splice(t,0,new yt(kt,o)),t++),t++):t!==0&&e[t-1][0]===Ct?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ct&&e[t+1][0]===Ct&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&py(e)}s(py,"diff_cleanupMerge");function vi(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(Q0),o=n.match(Q0),i=a&&r.match(Z0),l=o&&n.match(Z0),u=i&&r.match(eE),c=l&&n.match(eE),p=u&&e.match(rV),d=c&&t.match(nV);return p||d?5:u||c?4:a&&!i&&l?3:i||l?2:a||o?1:0}s(vi,"diff_cleanupSemanticScore_");var XS="Compared values have no visual difference.",aV="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Qs={},tE;function QS(){if(tE)return Qs;tE=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.default=h;let e="diff-sequences",t=0,r=s((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),a=s((f,m,y,g,b,v,T)=>{let x=0,_=-f,w=v[x],E=w;v[x]+=r(w+1,m,g+w-_+1,y,b);let C=f<T?f:T;for(x+=1,_+=2;x<=C;x+=1,_+=2){if(x!==f&&E<v[x])w=v[x];else if(w=E+1,m<=w)return x-1;E=v[x],v[x]=w+r(w+1,m,g+w-_+1,y,b)}return T},"extendPathsF"),o=s((f,m,y,g,b,v,T)=>{let x=0,_=f,w=v[x],E=w;v[x]-=n(m,w-1,y,g+w-_-1,b);let C=f<T?f:T;for(x+=1,_-=2;x<=C;x+=1,_-=2){if(x!==f&&v[x]<E)w=v[x];else if(w=E-1,w<m)return x-1;E=v[x],v[x]=w-n(m,w-1,y,g+w-_-1,b)}return T},"extendPathsR"),i=s((f,m,y,g,b,v,T,x,_,w,E)=>{let C=g-m,P=y-m,k=b-g-P,N=-k-(f-1),G=-k+(f-1),Y=t,O=f<x?f:x;for(let q=0,B=-f;q<=O;q+=1,B+=2){let K=q===0||q!==f&&Y<T[q],Q=K?T[q]:Y,ne=K?Q:Q+1,$=C+ne-B,J=r(ne+1,y,$+1,b,v),U=ne+J;if(Y=T[q],T[q]=U,N<=B&&B<=G){let X=(f-1-(B+k))/2;if(X<=w&&_[X]-1<=U){let ee=C+Q-(K?B+1:B-1),se=n(m,Q,g,ee,v),te=Q-se,pe=ee-se,de=te+1,We=pe+1;E.nChangePreceding=f-1,f-1===de+We-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=de,E.bEndPreceding=We),E.nCommonPreceding=se,se!==0&&(E.aCommonPreceding=de,E.bCommonPreceding=We),E.nCommonFollowing=J,J!==0&&(E.aCommonFollowing=ne+1,E.bCommonFollowing=$+1);let rt=U+1,Z=$+J+1;return E.nChangeFollowing=f-1,f-1===y+b-rt-Z?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=rt,E.bStartFollowing=Z),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,g,b,v,T,x,_,w,E)=>{let C=b-y,P=y-m,k=b-g-P,N=k-f,G=k+f,Y=t,O=f<w?f:w;for(let q=0,B=f;q<=O;q+=1,B-=2){let K=q===0||q!==f&&_[q]<Y,Q=K?_[q]:Y,ne=K?Q:Q-1,$=C+ne-B,J=n(m,ne-1,g,$-1,v),U=ne-J;if(Y=_[q],_[q]=U,N<=B&&B<=G){let X=(f+(B-k))/2;if(X<=x&&U-1<=T[X]){let ee=$-J;if(E.nChangePreceding=f,f===U+ee-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=U,E.bEndPreceding=ee),E.nCommonPreceding=J,J!==0&&(E.aCommonPreceding=U,E.bCommonPreceding=ee),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=b;else{let se=C+Q-(K?B-1:B+1),te=r(Q,y,se,b,v);E.nCommonFollowing=te,te!==0&&(E.aCommonFollowing=Q,E.bCommonFollowing=se);let pe=Q+te,de=se+te;f-1===y+b-pe-de?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=pe,E.bStartFollowing=de)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,g,b,v,T,x,_)=>{let w=g-m,E=b-y,C=y-m,P=b-g,k=P-C,N=C,G=C;if(T[0]=m-1,x[0]=y,k%2===0){let Y=(f||k)/2,O=(C+P)/2;for(let q=1;q<=O;q+=1)if(N=a(q,y,b,w,v,T,N),q<Y)G=o(q,m,g,E,v,x,G);else if(l(q,m,y,g,b,v,T,N,x,G,_))return}else{let Y=((f||k)+1)/2,O=(C+P+1)/2,q=1;for(N=a(q,y,b,w,v,T,N),q+=1;q<=O;q+=1)if(G=o(q-1,m,g,E,v,x,G),q<Y)N=a(q,y,b,w,v,T,N);else if(i(q,m,y,g,b,v,T,N,x,G,_))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=s((f,m,y,g,b,v,T,x,_,w)=>{if(b-g<y-m){if(v=!v,v&&T.length===1){let{foundSubsequence:X,isCommon:ee}=T[0];T[1]={foundSubsequence:s((se,te,pe)=>{X(se,pe,te)},"foundSubsequence"),isCommon:s((se,te)=>ee(te,se),"isCommon")}}let J=m,U=y;m=g,y=b,g=J,b=U}let{foundSubsequence:E,isCommon:C}=T[v?1:0];u(f,m,y,g,b,C,x,_,w);let{nChangePreceding:P,aEndPreceding:k,bEndPreceding:N,nCommonPreceding:G,aCommonPreceding:Y,bCommonPreceding:O,nCommonFollowing:q,aCommonFollowing:B,bCommonFollowing:K,nChangeFollowing:Q,aStartFollowing:ne,bStartFollowing:$}=w;m<k&&g<N&&c(P,m,k,g,N,v,T,x,_,w),G!==0&&E(G,Y,O),q!==0&&E(q,B,K),ne<y&&$<b&&c(Q,ne,y,$,b,v,T,x,_,w)},"findSubsequences"),p=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),d=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){p("aLength",f),p("bLength",m),d("isCommon",y),d("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,T=b,x=n(v,f-1,T,m-1,y),_=f-x,w=m-x,E=b+x;f!==E&&m!==E&&c(0,v,_,T,w,!1,[{foundSubsequence:g,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&g(x,_,w)}}return s(h,"diffSequence"),Qs}s(QS,"requireBuild");var oV=QS(),ZS=VS(oV);function e_(e,t){return e.replace(/\s+$/,r=>t(r))}s(e_,"formatTrailingSpaces");function sc(e,t,r,n,a,o){return e.length!==0?r(`${n} ${e_(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}s(sc,"printDiffLine");function dy(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return sc(e,t,r,n,a,o)}s(dy,"printDeleteLine");function fy(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return sc(e,t,r,n,a,o)}s(fy,"printInsertLine");function hy(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return sc(e,t,r,n,a,o)}s(hy,"printCommonLine");function rf(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(rf,"createPatchMark");function t_(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let x=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(x!==u)if(x===0)u>n&&(o-=u-n,i=!0);else if(u===r){let _=u-x;_>n&&(o-=_-n,i=!0)}else{let _=u-x;_>a&&(o-=_-a,l+=1)}for(;u!==r&&e[u][0]!==Ct;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let p=o-1,d=[],h=0;c&&d.push("");let f=0,m=0,y=0,g=0,b=s(x=>{let _=d.length;d.push(hy(x,_===0||_===p,t)),y+=1,g+=1},"pushCommonLine"),v=s(x=>{let _=d.length;d.push(dy(x,_===0||_===p,t)),y+=1},"pushDeleteLine"),T=s(x=>{let _=d.length;d.push(fy(x,_===0||_===p,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let x=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(x!==u)if(x===0){u>n&&(x=u-n,f=x,m=x,y=f,g=m);for(let _=x;_!==u;_+=1)b(e[_][1])}else if(u===r){let _=u-x>n?x+n:u;for(let w=x;w!==_;w+=1)b(e[w][1])}else{let _=u-x;if(_>a){let w=x+n;for(let C=x;C!==w;C+=1)b(e[C][1]);d[h]=rf(f,y,m,g,t),h=d.length,d.push("");let E=_-a;f=y+E,m=g+E,y=f,g=m;for(let C=u-n;C!==u;C+=1)b(e[C][1])}else for(let w=x;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Jt;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===kt;)T(e[u][1]),u+=1}return c&&(d[h]=rf(f,y,m,g,t)),d.join(`
178
+ `)}s(t_,"joinAlignedDiffsNoExpand");function r_(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case Jt:return dy(o,i,t);case kt:return fy(o,i,t);default:return hy(o,i,t)}}).join(`
179
+ `)}s(r_,"joinAlignedDiffsExpand");var Wp=s(e=>e,"noColor"),n_=5,iV=0;function a_(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:Wp,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Wp,compareKeys:void 0,contextLines:n_,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:iV,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Wp}}s(a_,"getDefaultOptions");function o_(e){return e&&typeof e=="function"?e:void 0}s(o_,"getCompareKeys");function i_(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:n_}s(i_,"getContextLines");function ra(e={}){return{...a_(),...e,compareKeys:o_(e.compareKeys),contextLines:i_(e.contextLines)}}s(ra,"normalizeDiffOptions");function ya(e){return e.length===1&&e[0].length===0}s(ya,"isEmptyString");function s_(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Jt:t+=1;break;case kt:r+=1;break}}),{a:t,b:r}}s(s_,"countChanges");function l_({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",p="";if(i){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,T=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${T}${f}`,p=`${b} ${o} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${o} ${n}${p}`;return`${t(d)}
180
+ ${a(h)}
181
+
182
+ `}s(l_,"printAnnotation");function lc(e,t,r){return l_(r,s_(e))+(r.expand?r_(e,r):t_(e,r))+(t?r.truncateAnnotationColor(`
183
+ ${r.truncateAnnotation}`):"")}s(lc,"printDiffLines");function Ss(e,t,r){let n=ra(r),[a,o]=my(ya(e)?[]:e,ya(t)?[]:t,n);return lc(a,o,n)}s(Ss,"diffLinesUnified");function u_(e,t,r,n,a){if(ya(e)&&ya(r)&&(e=[],r=[]),ya(t)&&ya(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Ss(e,t,a);let[o,i]=my(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case Jt:c[1]=e[l],l+=1;break;case kt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),lc(o,i,ra(a))}s(u_,"diffLinesUnified2");function my(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=[],p=0,d=0;for(ZS(o,i,u,s((h,f,m)=>{for(;p!==f;p+=1)c.push(new yt(Jt,e[p]));for(;d!==m;d+=1)c.push(new yt(kt,t[d]));for(;h!==0;h-=1,p+=1,d+=1)c.push(new yt(Ct,t[d]))},"foundSubsequence"));p!==o;p+=1)c.push(new yt(Jt,e[p]));for(;d!==i;d+=1)c.push(new yt(kt,t[d]));return[c,l]}s(my,"diffLinesRaw");function nf(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}s(nf,"getType");function af(e){return e.includes(`\r
184
+ `)?`\r
185
+ `:`
186
+ `}s(af,"getNewLineSymbol");function c_(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,i=t.length;if(n){let h=e.includes(`
187
+ `),f=t.includes(`
188
+ `),m=af(e),y=af(t),g=h?`${e.split(m,a).join(m)}
189
+ `:e,b=f?`${t.split(y,a).join(y)}
190
+ `:t;o=g.length,i=b.length}let l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,p=0,d=[];return ZS(o,i,u,s((h,f,m)=>{c!==f&&d.push(new yt(Jt,e.slice(c,f))),p!==m&&d.push(new yt(kt,t.slice(p,m))),c=f+h,p=m+h,d.push(new yt(Ct,t.slice(m,p)))},"foundSubsequence")),c!==o&&d.push(new yt(Jt,e.slice(c))),p!==i&&d.push(new yt(kt,t.slice(p))),[d,l]}s(c_,"diffStrings");function p_(e,t,r){return t.reduce((n,a)=>n+(a[0]===Ct?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}s(p_,"concatenateRelevantDiffs");var d_=class{constructor(t,r){Et(this,"op");Et(this,"line");Et(this,"lines");Et(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new yt(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new yt(this.op,p_(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new yt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
191
+ `)){let n=r.split(`
192
+ `),a=n.length-1;n.forEach((o,i)=>{i<a?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};s(d_,"ChangeBuffer");var rE=d_,f_=class{constructor(t,r){Et(this,"deleteBuffer");Et(this,"insertBuffer");Et(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
193
+ `)){let a=n.split(`
194
+ `),o=a.length-1;a.forEach((i,l)=>{if(l===0){let u=new yt(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<o?this.pushDiffCommonLine(new yt(r,i)):i.length!==0&&this.pushDiffChangeLines(new yt(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(f_,"CommonBuffer");var sV=f_;function h_(e,t){let r=new rE(Jt,t),n=new rE(kt,t),a=new sV(r,n);return e.forEach(o=>{switch(o[0]){case Jt:r.align(o);break;case kt:n.align(o);break;default:a.align(o)}}),a.getLines()}s(h_,"getAlignedDiffs");function m_(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===Ct&&(a!==r||n[1]!==`
195
+ `))}return e.some(r=>r[0]===Ct)}s(m_,"hasCommonDiff");function y_(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
196
+ `)||t.includes(`
197
+ `),[a,o]=yy(n?`${e}
198
+ `:e,n?`${t}
199
+ `:t,!0,r);if(m_(a,n)){let i=ra(r),l=h_(a,i.changeColor);return lc(l,o,i)}}return Ss(e.split(`
200
+ `),t.split(`
201
+ `),r)}s(y_,"diffStringsUnified");function yy(e,t,r,n){let[a,o]=c_(e,t,n);return r&&YS(a),[a,o]}s(yy,"diffStringsRaw");function Ul(e,t){let{commonColor:r}=ra(t);return r(e)}s(Ul,"getCommonMessage");var{AsymmetricMatcher:lV,DOMCollection:uV,DOMElement:cV,Immutable:pV,ReactElement:dV,ReactTestComponent:fV}=sy,g_=[fV,dV,cV,uV,pV,lV,sy.Error],of={maxDepth:20,plugins:g_},b_={callToJSON:!1,maxDepth:8,plugins:g_};function v_(e,t,r){if(Object.is(e,t))return"";let n=nf(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==nf(t)){let i=function(T){return T.length<=g?T:`${T.slice(0,g)}...`};s(i,"truncate");let{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:p,bColor:d,bIndicator:h}=ra(r),f=Vl(b_,r),m=Nr(e,f),y=Nr(t,f),g=1e5;m=i(m),y=i(y);let b=`${u(`${c} ${l}:`)}
202
+ ${m}`,v=`${d(`${h} ${p}:`)}
203
+ ${y}`;return`${b}
204
+
205
+ ${v}`}if(!o)switch(n){case"string":return Ss(e.split(`
206
+ `),t.split(`
207
+ `),r);case"boolean":case"number":return E_(e,t,r);case"map":return yl(sf(e),sf(t),r);case"set":return yl(lf(e),lf(t),r);default:return yl(e,t,r)}}s(v_,"diff");function E_(e,t,r){let n=Nr(e,of),a=Nr(t,of);return n===a?"":Ss(n.split(`
208
+ `),a.split(`
209
+ `),r)}s(E_,"comparePrimitive");function sf(e){return new Map(Array.from(e.entries()).sort())}s(sf,"sortMap");function lf(e){return new Set(Array.from(e.values()).sort())}s(lf,"sortSet");function yl(e,t,r){let n,a=!1;try{let i=Vl(of,r);n=uf(e,t,i,r)}catch{a=!0}let o=Ul(XS,r);if(n===void 0||n===o){let i=Vl(b_,r);n=uf(e,t,i,r),n!==o&&!a&&(n=`${Ul(aV,r)}
210
+
211
+ ${n}`)}return n}s(yl,"compareObjects");function Vl(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:a}=ra(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:a??e.maxDepth}}s(Vl,"getFormatOptions");function uf(e,t,r,n){let a={...r,indent:0},o=Nr(e,a),i=Nr(t,a);if(o===i)return Ul(XS,n);{let l=Nr(e,r),u=Nr(t,r);return u_(l.split(`
212
+ `),u.split(`
213
+ `),o.split(`
214
+ `),i.split(`
215
+ `),n)}}s(uf,"getObjectsDifference");var nE=2e4;function cf(e){return Ll(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(cf,"isAsymmetricMatcher");function pf(e,t){let r=Ll(e),n=Ll(t);return r===n&&(r==="Object"||r==="Array")}s(pf,"isReplaceable");function C_(e,t,r){let{aAnnotation:n,bAnnotation:a}=ra(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=nE&&e.length<=nE&&t!==e){if(t.includes(`
216
+ `)||e.includes(`
217
+ `))return y_(t,e,r);let[c]=yy(t,e,!0),p=c.some(m=>m[0]===Ct),d=w_(n,a),h=d(n)+x_(df(c,Jt,p)),f=d(a)+A_(df(c,kt,p));return`${h}
218
+ ${f}`}let o=ef(t,{forceWritable:!0}),i=ef(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=gy(i,o);return v_(l,u,r)}s(C_,"printDiffOrStringify");function gy(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):pf(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),uy(t).forEach(a=>{let o=t[a],i=e[a];if(cf(o))o.asymmetricMatch(i)&&(e[a]=o);else if(cf(i))i.asymmetricMatch(o)&&(t[a]=i);else if(pf(i,o)){let l=gy(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(gy,"replaceAsymmetricMatcher");function w_(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(w_,"getLabelPrinter");var hV="·";function by(e){return e.replace(/\s+$/gm,t=>hV.repeat(t.length))}s(by,"replaceTrailingSpaces");function A_(e){return Je.red(by(Ro(e)))}s(A_,"printReceived");function x_(e){return Je.green(by(Ro(e)))}s(x_,"printExpected");function df(e,t,r){return e.reduce((n,a)=>n+(a[0]===Ct?a[1]:a[0]===t?r?Je.inverse(a[1]):a[1]:""),"")}s(df,"getCommonAndChangedSubstrings");var mV="@@__IMMUTABLE_RECORD__@@",yV="@@__IMMUTABLE_ITERABLE__@@";function S_(e){return e&&(e[yV]||e[mV])}s(S_,"isImmutable");var gV=Object.getPrototypeOf({});function ff(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(ff,"getUnserializableMessage");function ga(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(S_(e))return ga(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${US(e.sample)}`;if(typeof e.toJSON=="function")return ga(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=ga(n,t)}catch(o){r[a]=ff(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==gV;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=ga(e[a],t)}catch(o){delete r[a],r[a]=ff(o)}}),n=Object.getPrototypeOf(n);return r}}s(ga,"serializeValue");function __(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(__,"normalizeErrorMessage");function vy(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=C_(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ro(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ro(n.actual,10));try{typeof n.message=="string"&&(n.message=__(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=vy(n.cause,t,r))}catch{}try{return ga(n)}catch(a){return ga(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message}
219
+ Inner error message: ${n==null?void 0:n.message}`))}}s(vy,"processError");var dn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Yp=globalThis.__STORYBOOK_ADDONS_PREVIEW,bV=new Error("This function ran after the play function completed. Did you forget to `await` it?"),aE=s(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),vV=s(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),EV=s(e=>{if(!aE(e)&&!vV(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!aE(t)},"isInstrumentable"),CV=s(e=>{try{return new e.constructor}catch{return{}}},"construct"),Kp=s(()=>({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}),"getInitialState"),oE=s((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),T_=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=s(()=>{var u,c;try{this.state=((c=(u=he.window)==null?void 0:u.parent)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=s(()=>{try{he.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=s(({storyId:u,isPlaying:c=!0,isDebugging:p=!1})=>{let d=this.getState(u);this.setState(u,{...Kp(),...oE(d,p),shadowCalls:p?d.shadowCalls:[],chainedCallIds:p?d.chainedCallIds:new Set,playUntil:p?d.playUntil:void 0,isPlaying:c,isDebugging:p}),this.sync(u)},"resetState"),r=s(u=>({storyId:c,playUntil:p})=>{this.getState(c).isDebugging||this.setState(c,({calls:h})=>({calls:[],shadowCalls:h.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:h})=>{var m;if(p||!d.length)return{playUntil:p};let f=h.findIndex(y=>y.id===d[0].callId);return{playUntil:(m=h.slice(0,f).filter(y=>{var g;return y.interceptable&&!((g=y.ancestors)!=null&&g.length)}).slice(-1)[0])==null?void 0:m.id}}),u.emit(Bl,{storyId:c,isDebugging:!0})},"start"),n=s(u=>({storyId:c})=>{var h;let p=this.getLog(c).filter(f=>{var m;return!((m=f.ancestors)!=null&&m.length)}),d=p.reduceRight((f,m,y)=>f>=0||m.status==="waiting"?f:y,-1);r(u)({storyId:c,playUntil:(h=p[d-1])==null?void 0:h.callId})},"back"),a=s(u=>({storyId:c,callId:p})=>{var g;let{calls:d,shadowCalls:h,resolvers:f}=this.getState(c),m=d.find(({id:b})=>b===p),y=h.find(({id:b})=>b===p);if(!m&&y&&Object.values(f).length>0){let b=(g=this.getLog(c).find(v=>v.status==="waiting"))==null?void 0:g.callId;y.id!==b&&this.setState(c,{playUntil:y.id}),Object.values(f).forEach(v=>v())}else r(u)({storyId:c,playUntil:p})},"goto"),o=s(u=>({storyId:c})=>{var d;let{resolvers:p}=this.getState(c);if(Object.values(p).length>0)Object.values(p).forEach(h=>h());else{let h=(d=this.getLog(c).find(f=>f.status==="waiting"))==null?void 0:d.callId;h?r(u)({storyId:c,playUntil:h}):i({storyId:c})}},"next"),i=s(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(c=>c())},"end"),l=s(({storyId:u,newPhase:c})=>{let{isDebugging:p}=this.getState(u);this.setState(u,{renderPhase:c}),c==="preparing"&&p&&t({storyId:u}),c==="playing"&&t({storyId:u,isDebugging:p}),c==="played"&&this.setState(u,{isLocked:!1,isPlaying:!1,isDebugging:!1}),c==="errored"&&this.setState(u,{isLocked:!1,isPlaying:!1})},"renderPhaseChanged");Yp&&Yp.ready().then(()=>{this.channel=Yp.getChannel(),this.channel.on(Bl,t),this.channel.on(Oa,l),this.channel.on(xm,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(dn.START,r(this.channel)),this.channel.on(dn.BACK,n(this.channel)),this.channel.on(dn.GOTO,a(this.channel)),this.channel.on(dn.NEXT,o(this.channel)),this.channel.on(dn.END,i)})}getState(t){return this.state[t]||Kp()}setState(t,r){let n=this.getState(t),a=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...a}},this.updateParentWindowState()}cleanup(){var r;this.state=Object.entries(this.state).reduce((n,[a,o])=>{let i=oE(o);return i&&(n[a]=Object.assign(Kp(),i)),n},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(r=this.channel)==null||r.emit(dn.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),a=[...n];r.forEach((i,l)=>{a[l]=i});let o=new Set;return a.reduceRight((i,l)=>(l.args.forEach(u=>{u!=null&&u.__callId__&&o.add(u.__callId__)}),l.path.forEach(u=>{u.__callId__&&o.add(u.__callId__)}),(l.interceptable||l.exception)&&!o.has(l.id)&&(i.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),o.add(l.id)),i),[])}instrument(t,r,n=0){if(!EV(t))return t;let{mutate:a=!1,path:o=[]}=r,i=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,i.reduce((l,u)=>{let c=P_(t,u);if(typeof(c==null?void 0:c.get)=="function"){if(c.configurable){let d=s(()=>{var h,f;return(f=(h=c==null?void 0:c.get)==null?void 0:h.bind(t))==null?void 0:f()},"getter");Object.defineProperty(l,u,{get:s(()=>this.instrument(d(),{...r,path:o.concat(u)},n),"get")})}return l}let p=t[u];return typeof p!="function"?(l[u]=this.instrument(p,{...r,path:o.concat(u)},n),l):"__originalFn__"in p&&typeof p.__originalFn__=="function"?(l[u]=p,l):(l[u]=(...d)=>this.track(u,p,t,d,r),l[u].__originalFn__=p,Object.defineProperty(l[u],"name",{value:u,writable:!1}),Object.keys(p).length>0&&Object.assign(l[u],this.instrument({...p},{...r,path:o.concat(u)},n)),l)},a?t:CV(t))}track(t,r,n,a,o){var g,b,v,T;let i=((g=a==null?void 0:a[0])==null?void 0:g.__storyId__)||((T=(v=(b=he.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:v.selection)==null?void 0:T.storyId),{cursor:l,ancestors:u}=this.getState(i);this.setState(i,{cursor:l+1});let c=`${u.slice(-1)[0]||i} [${l}] ${t}`,{path:p=[],intercept:d=!1,retain:h=!1}=o,f=typeof d=="function"?d(t,p):d,m={id:c,cursor:l,storyId:i,ancestors:u,path:p,method:t,args:a,interceptable:f,retain:h},y=(f&&!u.length?this.intercept:this.invoke).call(this,r,n,m,o);return this.instrument(y,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,a){let{chainedCallIds:o,isDebugging:i,playUntil:l}=this.getState(n.storyId),u=o.has(n.id);return!i||u||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,a)):new Promise(c=>{this.setState(n.storyId,({resolvers:p})=>({isLocked:!1,resolvers:{...p,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:p,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(t,r,n,a)))}invoke(t,r,n,a){let{callRefsByResult:o,renderPhase:i}=this.getState(n.storyId),l=25,u=s((d,h,f)=>{var m,y,g;if(f.includes(d))return"[Circular]";if(f=[...f,d],h>l)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(b=>u(b,++h,f));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:b,message:v,stack:T}=d;return{__error__:{name:b,message:v,stack:T}}}if(d instanceof RegExp){let{flags:b,source:v}=d;return{__regexp__:{flags:b,source:v}}}if(d instanceof((m=he.window)==null?void 0:m.HTMLElement)){let{prefix:b,localName:v,id:T,classList:x,innerText:_}=d,w=Array.from(x);return{__element__:{prefix:b,localName:v,id:T,classNames:w,innerText:_}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&((y=d==null?void 0:d.constructor)!=null&&y.name)&&((g=d==null?void 0:d.constructor)==null?void 0:g.name)!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([b,v])=>[b,u(v,++h,f)])):d},"serializeValues"),c={...n,args:n.args.map(d=>u(d,0,[]))};n.path.forEach(d=>{d!=null&&d.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(d.__callId__))}))});let p=s(d=>{var h;if(d instanceof Error){let{name:f,message:m,stack:y,callId:g=n.id}=d,{showDiff:b=void 0,diff:v=void 0,actual:T=void 0,expected:x=void 0}=d.name==="AssertionError"?vy(d):d,_={name:f,message:m,stack:y,callId:g,showDiff:b,diff:v,actual:T,expected:x};if(this.update({...c,status:"error",exception:_}),this.setState(n.storyId,w=>({callRefsByResult:new Map([...Array.from(w.callRefsByResult.entries()),[d,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:n.id}),d}throw d},"handleException");try{if(i==="played"&&!n.retain)throw bV;let d=(a.getArgs?a.getArgs(n,this.getState(n.storyId)):n.args).map(f=>typeof f!="function"||D_(f)||Object.keys(f).length?f:(...m)=>{let{cursor:y,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let b=s(()=>this.setState(n.storyId,{cursor:y,ancestors:g}),"restore"),v=!1;try{let T=f(...m);return T instanceof Promise?(v=!0,T.finally(b)):T}finally{v||b()}}),h=t.apply(r,d);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(f=>(this.update({...c,status:"done"}),f),p):h}catch(d){return p(d)}}update(t){var r;(r=this.channel)==null||r.emit(dn.CALL,t),this.setState(t.storyId,({calls:n})=>{let a=n.concat(t).reduce((o,i)=>Object.assign(o,{[i.id]:i}),{});return{calls:Object.values(a).sort((o,i)=>o.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=s(()=>{var p,d,h;let{isLocked:n,isPlaying:a}=this.getState(t),o=this.getLog(t),i=(p=o.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:p.callId,l=o.some(f=>f.status==="active");if(this.detached||n||l||o.length===0){let f={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};(d=this.channel)==null||d.emit(dn.SYNC,f);return}let u=o.some(f=>f.status==="done"||f.status==="error"),c={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:a,end:a},logItems:o,pausedAt:i};(h=this.channel)==null||h.emit(dn.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};s(T_,"Instrumenter");var wV=T_;function Yo(e,t={}){var r,n,a,o,i,l,u,c;try{let p=!1,d=!1;return(a=(n=(r=he.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?p=!0:(l=(i=(o=he.window)==null?void 0:o.location)==null?void 0:i.search)!=null&&l.includes("instrument=false")&&(d=!0),((u=he.window)==null?void 0:u.parent)===he.window&&!p||d?e:(he.window&&!he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new wV),((c=he.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(p){return At.warn(p),e}}s(Yo,"instrument");function P_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}s(P_,"getPropertyDescriptor");function D_(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}s(D_,"isClass");var O_=Object.defineProperty,AV=Object.getOwnPropertyNames,ae=s((e,t)=>O_(e,"name",{value:t,configurable:!0}),"__name"),xV=s((e,t)=>s(function(){return t||(0,e[AV(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Ey=s((e,t)=>{for(var r in t)O_(e,r,{get:t[r],enumerable:!0})},"__export"),SV=xV({"(disabled):util"(){}}),Zr={};Ey(Zr,{addChainableMethod:s(()=>Ec,"addChainableMethod"),addLengthGuard:s(()=>Qo,"addLengthGuard"),addMethod:s(()=>gc,"addMethod"),addProperty:s(()=>yc,"addProperty"),checkError:s(()=>pr,"checkError"),compareByInspect:s(()=>ts,"compareByInspect"),eql:s(()=>I_,"eql"),expectTypes:s(()=>Ty,"expectTypes"),flag:s(()=>Oe,"flag"),getActual:s(()=>Ts,"getActual"),getMessage:s(()=>pc,"getMessage"),getName:s(()=>Ds,"getName"),getOperator:s(()=>xc,"getOperator"),getOwnEnumerableProperties:s(()=>Ac,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:s(()=>wc,"getOwnEnumerablePropertySymbols"),getPathInfo:s(()=>mc,"getPathInfo"),hasProperty:s(()=>Ps,"hasProperty"),inspect:s(()=>Ue,"inspect"),isNaN:s(()=>au,"isNaN"),isNumeric:s(()=>Dt,"isNumeric"),isProxyEnabled:s(()=>Xo,"isProxyEnabled"),isRegExp:s(()=>rs,"isRegExp"),objDisplay:s(()=>zn,"objDisplay"),overwriteChainableMethod:s(()=>Cc,"overwriteChainableMethod"),overwriteMethod:s(()=>vc,"overwriteMethod"),overwriteProperty:s(()=>bc,"overwriteProperty"),proxify:s(()=>Ha,"proxify"),test:s(()=>uc,"test"),transferFlags:s(()=>Pr,"transferFlags"),type:s(()=>Xe,"type")});var pr={};Ey(pr,{compatibleConstructor:s(()=>Ay,"compatibleConstructor"),compatibleInstance:s(()=>wy,"compatibleInstance"),compatibleMessage:s(()=>xy,"compatibleMessage"),getConstructorName:s(()=>Sy,"getConstructorName"),getMessage:s(()=>_y,"getMessage")});function _s(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}s(_s,"isErrorInstance");ae(_s,"isErrorInstance");function Cy(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(Cy,"isRegExp");ae(Cy,"isRegExp");function wy(e,t){return _s(t)&&e===t}s(wy,"compatibleInstance");ae(wy,"compatibleInstance");function Ay(e,t){return _s(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}s(Ay,"compatibleConstructor");ae(Ay,"compatibleConstructor");function xy(e,t){let r=typeof e=="string"?e:e.message;return Cy(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}s(xy,"compatibleMessage");ae(xy,"compatibleMessage");function Sy(e){let t=e;return _s(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}s(Sy,"getConstructorName");ae(Sy,"getConstructorName");function _y(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}s(_y,"getMessage");ae(_y,"getMessage");function Oe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}s(Oe,"flag");ae(Oe,"flag");function uc(e,t){var r=Oe(e,"negate"),n=t[0];return r?!n:n}s(uc,"test");ae(uc,"test");function Xe(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Xe,"type");ae(Xe,"type");var _V="captureStackTrace"in Error,fi,He=(fi=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);Et(this,"message");this.message=t,_V&&Error.captureStackTrace(this,n||fi);for(let a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},s(fi,"_AssertionError"),ae(fi,"AssertionError"),fi);function Ty(e,t){var r=Oe(e,"message"),n=Oe(e,"ssfi");r=r?r+": ":"",e=Oe(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var a=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),o=Xe(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new He(r+"object tested must be "+a+", but "+o+" given",void 0,n)}s(Ty,"expectTypes");ae(Ty,"expectTypes");function Ts(e,t){return t.length>4?t[4]:e._obj}s(Ts,"getActual");ae(Ts,"getActual");var iE={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},TV={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Fo="…";function Py(e,t){let r=iE[TV[t]]||iE[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}s(Py,"colorise");ae(Py,"colorise");function Dy({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=Py),d}s(Dy,"normaliseOptions");ae(Dy,"normaliseOptions");function Oy(e){return e>="\uD800"&&e<="\uDBFF"}s(Oy,"isHighSurrogate");ae(Oy,"isHighSurrogate");function sn(e,t,r=Fo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Oy(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}s(sn,"truncate");ae(sn,"truncate");function yr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;c<a;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${Fo}(${e.length-c})`;let h=e[c];t.truncate=o-i.length-(p?0:n.length);let f=l||r(h,t)+(p?"":n),m=i.length+f.length,y=m+u.length;if(p&&m>o&&i.length+u.length<=o||!p&&!d&&y>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&y>o&&m+l.length>o))break;if(i+=f,!p&&!d&&m+l.length>=o){u=`${Fo}(${e.length-c-1})`;break}u=""}return`${i}${u}`}s(yr,"inspectList");ae(yr,"inspectList");function Ry(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}s(Ry,"quoteComplexKey");ae(Ry,"quoteComplexKey");function Ra([e,t],r){return r.truncate-=2,typeof e=="string"?e=Ry(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}s(Ra,"inspectProperty");ae(Ra,"inspectProperty");function Fy(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=yr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=yr(r.map(o=>[o,e[o]]),t,Ra)),`[ ${n}${a?`, ${a}`:""} ]`}s(Fy,"inspectArray");ae(Fy,"inspectArray");var PV=ae(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Rr(e,t){let r=PV(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i<e.length;i++){let l=`${t.stylize(sn(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){a+=`${Fo}(${e.length-e[i]+1})`;break}a+=l}let o="";return n.length&&(o=yr(n.map(i=>[i,e[i]]),t,Ra)),`${r}[ ${a}${o?`, ${o}`:""} ]`}s(Rr,"inspectTypedArray");ae(Rr,"inspectTypedArray");function Iy(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${sn(n[1],t.truncate-a.length-1)}`,"date")}s(Iy,"inspectDate");ae(Iy,"inspectDate");function Hl(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${sn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}s(Hl,"inspectFunction");ae(Hl,"inspectFunction");function ky([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}s(ky,"inspectMapEntry");ae(ky,"inspectMapEntry");function Ny(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}s(Ny,"mapToEntries");ae(Ny,"mapToEntries");function jy(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${yr(Ny(e),t,ky)} }`)}s(jy,"inspectMap");ae(jy,"inspectMap");var DV=Number.isNaN||(e=>e!==e);function zl(e,t){return DV(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(sn(String(e),t.truncate),"number")}s(zl,"inspectNumber");ae(zl,"inspectNumber");function Jl(e,t){let r=sn(e.toString(),t.truncate-1);return r!==Fo&&(r+="n"),t.stylize(r,"bigint")}s(Jl,"inspectBigInt");ae(Jl,"inspectBigInt");function By(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${sn(a,n)}/${r}`,"regexp")}s(By,"inspectRegExp");ae(By,"inspectRegExp");function qy(e){let t=[];return e.forEach(r=>{t.push(r)}),t}s(qy,"arrayFromSet");ae(qy,"arrayFromSet");function My(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${yr(qy(e),t)} }`)}s(My,"inspectSet");ae(My,"inspectSet");var sE=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),OV={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},RV=16;function Ly(e){return OV[e]||`\\u${`0000${e.charCodeAt(0).toString(RV)}`.slice(-4)}`}s(Ly,"escape");ae(Ly,"escape");function Gl(e,t){return sE.test(e)&&(e=e.replace(sE,Ly)),t.stylize(`'${sn(e,t.truncate-2)}'`,"string")}s(Gl,"inspectString");ae(Gl,"inspectString");function Wl(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}s(Wl,"inspectSymbol");ae(Wl,"inspectSymbol");var R_=ae(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(R_=ae((n,a)=>{let[o,i]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var FV=R_;function vo(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=yr(r.map(l=>[l,e[l]]),t,Ra),o=yr(n.map(l=>[l,e[l]]),t,Ra);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}s(vo,"inspectObject");ae(vo,"inspectObject");var Xp=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function $y(e,t){let r="";return Xp&&Xp in e&&(r=e[Xp]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${vo(e,t)}`}s($y,"inspectClass");ae($y,"inspectClass");function Uy(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${yr(e,t)} ]`)}s(Uy,"inspectArguments");ae(Uy,"inspectArguments");var IV=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Vy(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>IV.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=sn(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=yr(r.map(i=>[i,e[i]]),t,Ra);return`${n}${a}${o?` { ${o} }`:""}`}s(Vy,"inspectObject2");ae(Vy,"inspectObject");function Hy([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}s(Hy,"inspectAttribute");ae(Hy,"inspectAttribute");function Qi(e,t){return yr(e,t,cc,`
220
+ `)}s(Qi,"inspectHTMLCollection");ae(Qi,"inspectHTMLCollection");function cc(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=yr(r.map(p=>[p,e.getAttribute(p)]),t,Hy," ")),t.truncate-=l.length;let u=t.truncate,c=Qi(e.children,t);return c&&c.length>u&&(c=`${Fo}(${e.children.length})`),`${a}${l}${o}${c}${i}`}s(cc,"inspectHTML");ae(cc,"inspectHTML");var kV=typeof Symbol=="function"&&typeof Symbol.for=="function",Qp=kV?Symbol.for("chai/inspect"):"@@chai/inspect",co=!1;try{let e=SV();co=e.inspect?e.inspect.custom:!1}catch{co=!1}var lE=new WeakMap,uE={},cE={undefined:s((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:s((e,t)=>t.stylize("null","null"),"null"),boolean:s((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:s((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:zl,Number:zl,bigint:Jl,BigInt:Jl,string:Gl,String:Gl,function:Hl,Function:Hl,symbol:Wl,Symbol:Wl,Array:Fy,Date:Iy,Map:jy,Set:My,RegExp:By,Promise:FV,WeakSet:s((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:s((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Uy,Int8Array:Rr,Uint8Array:Rr,Uint8ClampedArray:Rr,Int16Array:Rr,Uint16Array:Rr,Int32Array:Rr,Uint32Array:Rr,Float32Array:Rr,Float64Array:Rr,Generator:s(()=>"","Generator"),DataView:s(()=>"","DataView"),ArrayBuffer:s(()=>"","ArrayBuffer"),Error:Vy,HTMLCollection:Qi,NodeList:Qi},NV=ae((e,t,r)=>Qp in e&&typeof e[Qp]=="function"?e[Qp](t):co&&co in e&&typeof e[co]=="function"?e[co](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&lE.has(e.constructor)?lE.get(e.constructor)(e,t):uE[r]?uE[r](e,t):"","inspectCustom"),jV=Object.prototype.toString;function Zi(e,t={}){let r=Dy(t,Zi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=jV.call(e).slice(8,-1)),a in cE)return cE[a](e,r);if(n&&e){let i=NV(e,r,a);if(i)return typeof i=="string"?i:Zi(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?vo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?cc(e,r):"constructor"in e?e.constructor!==Object?$y(e,r):vo(e,r):e===Object(e)?vo(e,r):r.stylize(String(e),a)}s(Zi,"inspect");ae(Zi,"inspect");var Kt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ue(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Kt.truncateThreshold?Kt.truncateThreshold:1/0};return Zi(e,a)}s(Ue,"inspect2");ae(Ue,"inspect");function zn(e){var t=Ue(e),r=Object.prototype.toString.call(e);if(Kt.truncateThreshold&&t.length>=Kt.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}s(zn,"objDisplay");ae(zn,"objDisplay");function pc(e,t){var r=Oe(e,"negate"),n=Oe(e,"object"),a=t[3],o=Ts(e,t),i=r?t[2]:t[1],l=Oe(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return zn(n)}).replace(/#\{act\}/g,function(){return zn(o)}).replace(/#\{exp\}/g,function(){return zn(a)}),l?l+": "+i:i}s(pc,"getMessage2");ae(pc,"getMessage");function Pr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}s(Pr,"transferFlags");ae(Pr,"transferFlags");function Yl(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}s(Yl,"type2");ae(Yl,"type");function dc(){this._key="chai/deep-eql__"+Math.random()+Date.now()}s(dc,"FakeMap");ae(dc,"FakeMap");dc.prototype={get:ae(s(function(e){return e[this._key]},"get"),"get"),set:ae(s(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var F_=typeof WeakMap=="function"?WeakMap:dc;function Kl(e,t,r){if(!r||Xn(e)||Xn(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}s(Kl,"memoizeCompare");ae(Kl,"memoizeCompare");function po(e,t,r,n){if(!(!r||Xn(e)||Xn(t))){var a=r.get(e);a?a.set(t,n):(a=new F_,a.set(t,n),r.set(e,a))}}s(po,"memoizeSet");ae(po,"memoizeSet");var I_=Ko;function Ko(e,t,r){if(r&&r.comparator)return Xl(e,t,r);var n=fc(e,t);return n!==null?n:Xl(e,t,r)}s(Ko,"deepEqual");ae(Ko,"deepEqual");function fc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Xn(e)||Xn(t)?!1:null}s(fc,"simpleEqual");ae(fc,"simpleEqual");function Xl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new F_;var n=r&&r.comparator,a=Kl(e,t,r.memoize);if(a!==null)return a;var o=Kl(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return po(e,t,r.memoize,i),i;var l=fc(e,t);if(l!==null)return l}var u=Yl(e);if(u!==Yl(t))return po(e,t,r.memoize,!1),!1;po(e,t,r.memoize,!0);var c=zy(e,t,u,r);return po(e,t,r.memoize,c),c}s(Xl,"extensiveDeepEqual");ae(Xl,"extensiveDeepEqual");function zy(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ko(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return hc(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return _n(e,t,n);case"RegExp":return Jy(e,t);case"Generator":return Gy(e,t,n);case"DataView":return _n(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return _n(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ql(e,t,n);case"Map":return Ql(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return Yy(e,t,n)}}s(zy,"extensiveDeepEqualByType");ae(zy,"extensiveDeepEqualByType");function Jy(e,t){return e.toString()===t.toString()}s(Jy,"regexpEqual");ae(Jy,"regexpEqual");function Ql(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(ae(s(function(o,i){n.push([o,i])},"gatherEntries"),"gatherEntries")),t.forEach(ae(s(function(o,i){a.push([o,i])},"gatherEntries"),"gatherEntries")),_n(n.sort(),a.sort(),r)}s(Ql,"entriesEqual");ae(Ql,"entriesEqual");function _n(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Ko(e[a],t[a],r)===!1)return!1;return!0}s(_n,"iterableEqual");ae(_n,"iterableEqual");function Gy(e,t,r){return _n(es(e),es(t),r)}s(Gy,"generatorEqual");ae(Gy,"generatorEqual");function Wy(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}s(Wy,"hasIteratorFunction");ae(Wy,"hasIteratorFunction");function Zl(e){if(Wy(e))try{return es(e[Symbol.iterator]())}catch{return[]}return[]}s(Zl,"getIteratorEntries");ae(Zl,"getIteratorEntries");function es(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}s(es,"getGeneratorEntries");ae(es,"getGeneratorEntries");function eu(e){var t=[];for(var r in e)t.push(r);return t}s(eu,"getEnumerableKeys");ae(eu,"getEnumerableKeys");function tu(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}s(tu,"getEnumerableSymbols");ae(tu,"getEnumerableSymbols");function hc(e,t,r,n){var a=r.length;if(a===0)return!0;for(var o=0;o<a;o+=1)if(Ko(e[r[o]],t[r[o]],n)===!1)return!1;return!0}s(hc,"keysEqual");ae(hc,"keysEqual");function Yy(e,t,r){var n=eu(e),a=eu(t),o=tu(e),i=tu(t);if(n=n.concat(o),a=a.concat(i),n.length&&n.length===a.length)return _n(ru(n).sort(),ru(a).sort())===!1?!1:hc(e,t,n,r);var l=Zl(e),u=Zl(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),_n(l,u,r)):n.length===0&&l.length===0&&a.length===0&&u.length===0}s(Yy,"objectEqual");ae(Yy,"objectEqual");function Xn(e){return e===null||typeof e!="object"}s(Xn,"isPrimitive");ae(Xn,"isPrimitive");function ru(e){return e.map(ae(s(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}s(ru,"mapSymbols");ae(ru,"mapSymbols");function Ps(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}s(Ps,"hasProperty");ae(Ps,"hasProperty");function Ky(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}s(Ky,"parsePath");ae(Ky,"parsePath");function nu(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let i=t[o];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}s(nu,"internalGetPathValue");ae(nu,"internalGetPathValue");function mc(e,t){let r=Ky(t),n=r[r.length-1],a={parent:r.length>1?nu(e,r,r.length-1):e,name:n.p||n.i,value:nu(e,r)};return a.exists=Ps(a.parent,a.name),a}s(mc,"getPathInfo");ae(mc,"getPathInfo");function z(e,t,r,n){return Oe(this,"ssfi",r||z),Oe(this,"lockSsfi",n),Oe(this,"object",e),Oe(this,"message",t),Oe(this,"eql",Kt.deepEqual||I_),Ha(this)}s(z,"Assertion");ae(z,"Assertion");Object.defineProperty(z,"includeStack",{get:s(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Kt.includeStack},"get"),set:s(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Kt.includeStack=e},"set")});Object.defineProperty(z,"showDiff",{get:s(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Kt.showDiff},"get"),set:s(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Kt.showDiff=e},"set")});z.addProperty=function(e,t){yc(this.prototype,e,t)};z.addMethod=function(e,t){gc(this.prototype,e,t)};z.addChainableMethod=function(e,t,r){Ec(this.prototype,e,t,r)};z.overwriteProperty=function(e,t){bc(this.prototype,e,t)};z.overwriteMethod=function(e,t){vc(this.prototype,e,t)};z.overwriteChainableMethod=function(e,t,r){Cc(this.prototype,e,t,r)};z.prototype.assert=function(e,t,r,n,a,o){var i=uc(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Kt.showDiff!==!0&&(o=!1),!i){t=pc(this,arguments);var l=Ts(this,arguments),u={actual:l,expected:n,showDiff:o},c=xc(this,arguments);throw c&&(u.operator=c),new He(t,u,Kt.includeStack?this.assert:Oe(this,"ssfi"))}};Object.defineProperty(z.prototype,"_obj",{get:s(function(){return Oe(this,"object")},"get"),set:s(function(e){Oe(this,"object",e)},"set")});function Xo(){return Kt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}s(Xo,"isProxyEnabled");ae(Xo,"isProxyEnabled");function yc(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:ae(s(function n(){!Xo()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var o=new z;return Pr(this,o),o},"propertyGetter"),"propertyGetter"),configurable:!0})}s(yc,"addProperty");ae(yc,"addProperty");var BV=Object.getOwnPropertyDescriptor(function(){},"length");function Qo(e,t,r){return BV.configurable&&Object.defineProperty(e,"length",{get:s(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}s(Qo,"addLengthGuard");ae(Qo,"addLengthGuard");function Xy(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}s(r,"addProperty2"),ae(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}s(Xy,"getProperties");ae(Xy,"getProperties");var pE=["__flags","__methods","_obj","assert"];function Ha(e,t){return Xo()?new Proxy(e,{get:ae(s(function r(n,a){if(typeof a=="string"&&Kt.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,i=4;throw Xy(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&pE.indexOf(l)===-1){var u=Qy(a,l,i);u<i&&(o=l,i=u)}}),Error(o!==null?"Invalid Chai property: "+a+'. Did you mean "'+o+'"?':"Invalid Chai property: "+a)}return pE.indexOf(a)===-1&&!Oe(n,"lockSsfi")&&Oe(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter"),"proxyGetter")}):e}s(Ha,"proxify");ae(Ha,"proxify");function Qy(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){var a=e.charCodeAt(o-1);for(let i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(a===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}s(Qy,"stringDistanceCapped");ae(Qy,"stringDistanceCapped");function gc(e,t,r){var n=ae(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new z;return Pr(this,o),o},"methodWrapper");Qo(n,t,!1),e[t]=Ha(n,t)}s(gc,"addMethod");ae(gc,"addMethod");function bc(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=ae(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:ae(s(function o(){!Xo()&&!Oe(this,"lockSsfi")&&Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).call(this);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new z;return Pr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}s(bc,"overwriteProperty");ae(bc,"overwriteProperty");function vc(e,t,r){var n=e[t],a=ae(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=ae(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var i=Oe(this,"lockSsfi");Oe(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(Oe(this,"lockSsfi",i),l!==void 0)return l;var u=new z;return Pr(this,u),u},"overwritingMethodWrapper");Qo(o,t,!1),e[t]=Ha(o,t)}s(vc,"overwriteMethod");ae(vc,"overwriteMethod");var qV=typeof Object.setPrototypeOf=="function",dE=ae(function(){},"testFn"),MV=Object.getOwnPropertyNames(dE).filter(function(e){var t=Object.getOwnPropertyDescriptor(dE,e);return typeof t!="object"?!0:!t.configurable}),LV=Function.prototype.call,$V=Function.prototype.apply;function Ec(e,t,r,n){typeof n!="function"&&(n=ae(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:ae(s(function(){a.chainingBehavior.call(this);var o=ae(function(){Oe(this,"lockSsfi")||Oe(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new z;return Pr(this,c),c},"chainableMethodWrapper");if(Qo(o,t,!0),qV){var i=Object.create(this);i.call=LV,i.apply=$V,Object.setPrototypeOf(o,i)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(MV.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return Pr(this,o),Ha(o)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}s(Ec,"addChainableMethod");ae(Ec,"addChainableMethod");function Cc(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=ae(s(function(){var l=n(o).call(this);if(l!==void 0)return l;var u=new z;return Pr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var i=a.method;a.method=ae(s(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new z;return Pr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}s(Cc,"overwriteChainableMethod");ae(Cc,"overwriteChainableMethod");function ts(e,t){return Ue(e)<Ue(t)?-1:1}s(ts,"compareByInspect");ae(ts,"compareByInspect");function wc(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}s(wc,"getOwnEnumerablePropertySymbols");ae(wc,"getOwnEnumerablePropertySymbols");function Ac(e){return Object.keys(e).concat(wc(e))}s(Ac,"getOwnEnumerableProperties");ae(Ac,"getOwnEnumerableProperties");var au=Number.isNaN;function Zy(e){var t=Xe(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}s(Zy,"isObjectType");ae(Zy,"isObjectType");function xc(e,t){var r=Oe(e,"operator"),n=Oe(e,"negate"),a=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!!o&&!/\shave\s/.test(o)){var i=Zy(a);return/\snot\s/.test(o)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}s(xc,"getOperator");ae(xc,"getOperator");function Ds(e){return e.name}s(Ds,"getName");ae(Ds,"getName");function rs(e){return Object.prototype.toString.call(e)==="[object RegExp]"}s(rs,"isRegExp2");ae(rs,"isRegExp");function Dt(e){return["Number","BigInt"].includes(Xe(e))}s(Dt,"isNumeric");ae(Dt,"isNumeric");var{flag:re}=Zr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){z.addProperty(e)});z.addProperty("not",function(){re(this,"negate",!0)});z.addProperty("deep",function(){re(this,"deep",!0)});z.addProperty("nested",function(){re(this,"nested",!0)});z.addProperty("own",function(){re(this,"own",!0)});z.addProperty("ordered",function(){re(this,"ordered",!0)});z.addProperty("any",function(){re(this,"any",!0),re(this,"all",!1)});z.addProperty("all",function(){re(this,"all",!0),re(this,"any",!1)});var fE={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Sc(e,t){t&&re(this,"message",t),e=e.toLowerCase();var r=re(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let a=Xe(r).toLowerCase();fE.function.includes(e)?this.assert(fE[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}s(Sc,"an");ae(Sc,"an");z.addChainableMethod("an",Sc);z.addChainableMethod("a",Sc);function eg(e,t){return au(e)&&au(t)||e===t}s(eg,"SameValueZero");ae(eg,"SameValueZero");function Zo(){re(this,"contains",!0)}s(Zo,"includeChainingBehavior");ae(Zo,"includeChainingBehavior");function ei(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=Xe(r).toLowerCase(),a=re(this,"message"),o=re(this,"negate"),i=re(this,"ssfi"),l=re(this,"deep"),u=l?"deep ":"",c=l?re(this,"eql"):eg;a=a?a+": ":"";var p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new He(a+"unable to use .deep.include with WeakSet",void 0,i);p=r.has(e);break;case"map":r.forEach(function(m){p=p||c(m,e)});break;case"set":l?r.forEach(function(m){p=p||c(m,e)}):p=r.has(e);break;case"array":l?p=r.some(function(m){return c(m,e)}):p=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new He(a+"the given combination of arguments ("+n+" and "+Xe(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Xe(e).toLowerCase(),void 0,i);var d=Object.keys(e),h=null,f=0;if(d.forEach(function(m){var y=new z(r);if(Pr(this,y,!0),re(y,"lockSsfi",!0),!o||d.length===1){y.property(m,e[m]);return}try{y.property(m,e[m])}catch(g){if(!pr.compatibleConstructor(g,He))throw g;h===null&&(h=g),f++}},this),o&&d.length>1&&f===d.length)throw h;return}this.assert(p,"expected #{this} to "+u+"include "+Ue(e),"expected #{this} to not "+u+"include "+Ue(e))}s(ei,"include");ae(ei,"include");z.addChainableMethod("include",ei,Zo);z.addChainableMethod("contain",ei,Zo);z.addChainableMethod("contains",ei,Zo);z.addChainableMethod("includes",ei,Zo);z.addProperty("ok",function(){this.assert(re(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});z.addProperty("true",function(){this.assert(re(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!re(this,"negate"))});z.addProperty("numeric",function(){let e=re(this,"object");this.assert(["Number","BigInt"].includes(Xe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!re(this,"negate"))});z.addProperty("callable",function(){let e=re(this,"object"),t=re(this,"ssfi"),r=re(this,"message"),n=r?`${r}: `:"",a=re(this,"negate"),o=a?`${n}expected ${Ue(e)} not to be a callable function`:`${n}expected ${Ue(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Xe(e));if(i&&a||!i&&!a)throw new He(o,void 0,t)});z.addProperty("false",function(){this.assert(re(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!re(this,"negate"))});z.addProperty("null",function(){this.assert(re(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});z.addProperty("undefined",function(){this.assert(re(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});z.addProperty("NaN",function(){this.assert(au(re(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function _c(){var e=re(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}s(_c,"assertExist");ae(_c,"assertExist");z.addProperty("exist",_c);z.addProperty("exists",_c);z.addProperty("empty",function(){var e=re(this,"object"),t=re(this,"ssfi"),r=re(this,"message"),n;switch(r=r?r+": ":"",Xe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new He(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+Ds(e);throw new He(a.trim(),void 0,t);default:if(e!==Object(e))throw new He(r+".empty was passed non-string primitive "+Ue(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Tc(){var e=re(this,"object"),t=Xe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}s(Tc,"checkArguments");ae(Tc,"checkArguments");z.addProperty("arguments",Tc);z.addProperty("Arguments",Tc);function Os(e,t){t&&re(this,"message",t);var r=re(this,"object");if(re(this,"deep")){var n=re(this,"lockSsfi");re(this,"lockSsfi",!0),this.eql(e),re(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}s(Os,"assertEqual");ae(Os,"assertEqual");z.addMethod("equal",Os);z.addMethod("equals",Os);z.addMethod("eq",Os);function Pc(e,t){t&&re(this,"message",t);var r=re(this,"eql");this.assert(r(e,re(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}s(Pc,"assertEql");ae(Pc,"assertEql");z.addMethod("eql",Pc);z.addMethod("eqls",Pc);function Rs(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new z(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new He(o+"the argument to above must be a date",void 0,i);if(!Dt(e)&&(n||Dt(r)))throw new He(o+"the argument to above must be a number",void 0,i);if(!n&&l!=="date"&&!Dt(r)){var c=l==="string"?"'"+r+"'":r;throw new He(o+"expected "+c+" to be a number or a date",void 0,i)}if(n){var p="length",d;l==="map"||l==="set"?(p="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}s(Rs,"assertAbove");ae(Rs,"assertAbove");z.addMethod("above",Rs);z.addMethod("gt",Rs);z.addMethod("greaterThan",Rs);function Fs(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new z(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!Dt(e)&&(n||Dt(r)))c=o+"the argument to least must be a number";else if(!n&&l!=="date"&&!Dt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}s(Fs,"assertLeast");ae(Fs,"assertLeast");z.addMethod("least",Fs);z.addMethod("gte",Fs);z.addMethod("greaterThanOrEqual",Fs);function Is(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new z(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!Dt(e)&&(n||Dt(r)))c=o+"the argument to below must be a number";else if(!n&&l!=="date"&&!Dt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}s(Is,"assertBelow");ae(Is,"assertBelow");z.addMethod("below",Is);z.addMethod("lt",Is);z.addMethod("lessThan",Is);function ks(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"doLength"),a=re(this,"message"),o=a?a+": ":"",i=re(this,"ssfi"),l=Xe(r).toLowerCase(),u=Xe(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new z(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to most must be a date";else if(!Dt(e)&&(n||Dt(r)))c=o+"the argument to most must be a number";else if(!n&&l!=="date"&&!Dt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new He(c,void 0,i);if(n){var h="length",f;l==="map"||l==="set"?(h="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}s(ks,"assertMost");ae(ks,"assertMost");z.addMethod("most",ks);z.addMethod("lte",ks);z.addMethod("lessThanOrEqual",ks);z.addMethod("within",function(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"doLength"),o=re(this,"message"),i=o?o+": ":"",l=re(this,"ssfi"),u=Xe(n).toLowerCase(),c=Xe(e).toLowerCase(),p=Xe(t).toLowerCase(),d,h=!0,f=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new z(n,o,l,!0).to.have.property("length"),!a&&u==="date"&&(c!=="date"||p!=="date"))d=i+"the arguments to within must be dates";else if((!Dt(e)||!Dt(t))&&(a||Dt(n)))d=i+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!Dt(n)){var m=u==="string"?"'"+n+"'":n;d=i+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new He(d,void 0,l);if(a){var y="length",g;u==="map"||u==="set"?(y="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+y+" within "+f,"expected #{this} to not have a "+y+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function Dc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"ssfi"),a=re(this,"message");try{var o=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new He(a+"The instanceof assertion needs a constructor but "+Xe(e)+" was given.",void 0,n)):l}var i=Ds(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}s(Dc,"assertInstanceOf");ae(Dc,"assertInstanceOf");z.addMethod("instanceof",Dc);z.addMethod("instanceOf",Dc);function Oc(e,t,r){r&&re(this,"message",r);var n=re(this,"nested"),a=re(this,"own"),o=re(this,"message"),i=re(this,"object"),l=re(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new He(o+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new He(o+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new He(o+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new He(o+"Target cannot be null or undefined.",void 0,l);var c=re(this,"deep"),p=re(this,"negate"),d=n?mc(i,e):null,h=n?d.value:i[e],f=c?re(this,"eql"):(g,b)=>g===b,m="";c&&(m+="deep "),a&&(m+="own "),n&&(m+="nested "),m+="property ";var y;a?y=Object.prototype.hasOwnProperty.call(i,e):n?y=d.exists:y=Ps(i,e),(!p||arguments.length===1)&&this.assert(y,"expected #{this} to have "+m+Ue(e),"expected #{this} to not have "+m+Ue(e)),arguments.length>1&&this.assert(y&&f(t,h),"expected #{this} to have "+m+Ue(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ue(e)+" of #{act}",t,h),re(this,"object",h)}s(Oc,"assertProperty");ae(Oc,"assertProperty");z.addMethod("property",Oc);function Rc(e,t,r){re(this,"own",!0),Oc.apply(this,arguments)}s(Rc,"assertOwnProperty");ae(Rc,"assertOwnProperty");z.addMethod("ownProperty",Rc);z.addMethod("haveOwnProperty",Rc);function Fc(e,t,r){typeof t=="string"&&(r=t,t=null),r&&re(this,"message",r);var n=re(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=re(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+Ue(e)+" on #{this} to match "+Ue(t)+", got "+Ue(a),"expected the own property descriptor for "+Ue(e)+" on #{this} to not match "+Ue(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+Ue(e),"expected #{this} to not have an own property descriptor for "+Ue(e)),re(this,"object",a)}s(Fc,"assertOwnPropertyDescriptor");ae(Fc,"assertOwnPropertyDescriptor");z.addMethod("ownPropertyDescriptor",Fc);z.addMethod("haveOwnPropertyDescriptor",Fc);function Ic(){re(this,"doLength",!0)}s(Ic,"assertLengthChain");ae(Ic,"assertLengthChain");function kc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=Xe(r).toLowerCase(),a=re(this,"message"),o=re(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new z(r,a,o,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l)}s(kc,"assertLength");ae(kc,"assertLength");z.addChainableMethod("length",kc,Ic);z.addChainableMethod("lengthOf",kc,Ic);function Nc(e,t){t&&re(this,"message",t);var r=re(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}s(Nc,"assertMatch");ae(Nc,"assertMatch");z.addMethod("match",Nc);z.addMethod("matches",Nc);z.addMethod("string",function(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi");new z(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ue(e),"expected #{this} to not contain "+Ue(e))});function jc(e){var t=re(this,"object"),r=Xe(t),n=Xe(e),a=re(this,"ssfi"),o=re(this,"deep"),i,l="",u,c=!0,p=re(this,"message");p=p?p+": ":"";var d=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=o?"deeply ":"",u=[],t.forEach(function(v,T){u.push(T)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Ac(t),n){case"Array":if(arguments.length>1)throw new He(d,void 0,a);break;case"Object":if(arguments.length>1)throw new He(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new He(p+"keys required",void 0,a);var h=e.length,f=re(this,"any"),m=re(this,"all"),y=e,g=o?re(this,"eql"):(v,T)=>v===T;if(!f&&!m&&(m=!0),f&&(c=y.some(function(v){return u.some(function(T){return g(v,T)})})),m&&(c=y.every(function(v){return u.some(function(T){return g(v,T)})}),re(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(v){return Ue(v)});var b=e.pop();m&&(i=e.join(", ")+", and "+b),f&&(i=e.join(", ")+", or "+b)}else i=Ue(e[0]);i=(h>1?"keys ":"key ")+i,i=(re(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,y.slice(0).sort(ts),u.sort(ts),!0)}s(jc,"assertKeys");ae(jc,"assertKeys");z.addMethod("keys",jc);z.addMethod("key",jc);function Ns(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"ssfi"),o=re(this,"message"),i=re(this,"negate")||!1;new z(n,o,a,!0).is.a("function"),(rs(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(v){u=!0,l=v}var c=e===void 0&&t===void 0,p=!!(e&&t),d=!1,h=!1;if(c||!c&&!i){var f="an error";e instanceof Error?f="#{exp}":e&&(f=pr.getConstructorName(e));let v=l;if(l instanceof Error)v=l.toString();else if(typeof l=="string")v=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{v=pr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&l){if(e instanceof Error){var m=pr.compatibleInstance(l,e);m===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()))}var y=pr.compatibleConstructor(l,e);y===i&&(p&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&pr.getConstructorName(e),l instanceof Error?l.toString():l&&pr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";rs(t)&&(g="matching");var b=pr.compatibleMessage(l,t);b===i&&(p&&i?h=!0:this.assert(i,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,pr.getMessage(l)))}d&&h&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&pr.getConstructorName(e),l instanceof Error?l.toString():l&&pr.getConstructorName(l)),re(this,"object",l)}s(Ns,"assertThrows");ae(Ns,"assertThrows");z.addMethod("throw",Ns);z.addMethod("throws",Ns);z.addMethod("Throw",Ns);function Bc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+Ue(e),"expected #{this} to not respond to "+Ue(e))}s(Bc,"respondTo");ae(Bc,"respondTo");z.addMethod("respondTo",Bc);z.addMethod("respondsTo",Bc);z.addProperty("itself",function(){re(this,"itself",!0)});function qc(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+zn(e),"expected #{this} to not satisfy"+zn(e),!re(this,"negate"),n)}s(qc,"satisfy");ae(qc,"satisfy");z.addMethod("satisfy",qc);z.addMethod("satisfies",qc);function Mc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new z(n,a,o,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new He(a?`${a}: ${i}`:i,void 0,o);if(new z(t,a,o,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new He(a?`${a}: ${i}`:i,void 0,o);new z(e,a,o,!0).is.numeric;let l=ae(c=>c<0n?-c:c,"abs"),u=ae(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}s(Mc,"closeTo");ae(Mc,"closeTo");z.addMethod("closeTo",Mc);z.addMethod("approximately",Mc);function tg(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(l,u){if(a)return r?r(l,o[u]):l===o[u];if(!r){var c=o.indexOf(l);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(p,d){return r(l,p)?(n||o.splice(d,1),!0):!1})})}s(tg,"isSubsetOf");ae(tg,"isSubsetOf");z.addMethod("members",function(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi");new z(r,n,a,!0).to.be.iterable,new z(e,n,a,!0).to.be.iterable;var o=re(this,"contains"),i=re(this,"ordered"),l,u,c;o?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var p=re(this,"deep")?re(this,"eql"):void 0;this.assert(tg(e,r,p,o,i),u,c,e,r,!0)});z.addProperty("iterable",function(e){e&&re(this,"message",e);var t=re(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function rg(e,t){t&&re(this,"message",t);var r=re(this,"object"),n=re(this,"message"),a=re(this,"ssfi"),o=re(this,"contains"),i=re(this,"deep"),l=re(this,"eql");new z(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}s(rg,"oneOf");ae(rg,"oneOf");z.addMethod("oneOf",rg);function Lc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new z(n,a,o,!0).is.a("function");var i;t?(new z(e,a,o,!0).to.have.property(t),i=e[t]):(new z(e,a,o,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","change"),re(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change")}s(Lc,"assertChanges");ae(Lc,"assertChanges");z.addMethod("change",Lc);z.addMethod("changes",Lc);function $c(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new z(n,a,o,!0).is.a("function");var i;t?(new z(e,a,o,!0).to.have.property(t),i=e[t]):(new z(e,a,o,!0).is.a("function"),i=e()),new z(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","increase"),re(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}s($c,"assertIncreases");ae($c,"assertIncreases");z.addMethod("increase",$c);z.addMethod("increases",$c);function Uc(e,t,r){r&&re(this,"message",r);var n=re(this,"object"),a=re(this,"message"),o=re(this,"ssfi");new z(n,a,o,!0).is.a("function");var i;t?(new z(e,a,o,!0).to.have.property(t),i=e[t]):(new z(e,a,o,!0).is.a("function"),i=e()),new z(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;re(this,"deltaMsgObj",u),re(this,"initialDeltaValue",i),re(this,"finalDeltaValue",l),re(this,"deltaBehavior","decrease"),re(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}s(Uc,"assertDecreases");ae(Uc,"assertDecreases");z.addMethod("decrease",Uc);z.addMethod("decreases",Uc);function ng(e,t){t&&re(this,"message",t);var r=re(this,"deltaMsgObj"),n=re(this,"initialDeltaValue"),a=re(this,"finalDeltaValue"),o=re(this,"deltaBehavior"),i=re(this,"realDelta"),l;o==="change"?l=Math.abs(a-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}s(ng,"assertDelta");ae(ng,"assertDelta");z.addMethod("by",ng);z.addProperty("extensible",function(){var e=re(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});z.addProperty("sealed",function(){var e=re(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});z.addProperty("frozen",function(){var e=re(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});z.addProperty("finite",function(e){var t=re(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function ns(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return ns(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?ns(n,a):typeof n=="function"?n(a):a===n}):!1}s(ns,"compareSubset");ae(ns,"compareSubset");z.addMethod("containSubset",function(e){let t=Oe(this,"object"),r=Kt.showDiff;this.assert(ns(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Jn(e,t){return new z(e,t)}s(Jn,"expect");ae(Jn,"expect");Jn.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new He(r,{actual:e,expected:t,operator:n},Jn.fail)};var k_={};Ey(k_,{Should:s(()=>VV,"Should"),should:s(()=>UV,"should")});function Vc(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new z(this.valueOf(),null,e):new z(this,null,e)}s(e,"shouldGetter"),ae(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}s(t,"shouldSetter"),ae(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new He(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new z(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new z(n,i).to.Throw(a,o)},r.exist=function(n,a){new z(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new z(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new z(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new z(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}s(Vc,"loadShould");ae(Vc,"loadShould");var UV=Vc,VV=Vc;function H(e,t){var r=new z(null,null,H,!0);r.assert(e,t,"[ negation message unavailable ]")}s(H,"assert");ae(H,"assert");H.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new He(r,{actual:e,expected:t,operator:n},H.fail)};H.isOk=function(e,t){new z(e,t,H.isOk,!0).is.ok};H.isNotOk=function(e,t){new z(e,t,H.isNotOk,!0).is.not.ok};H.equal=function(e,t,r){var n=new z(e,r,H.equal,!0);n.assert(t==Oe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};H.notEqual=function(e,t,r){var n=new z(e,r,H.notEqual,!0);n.assert(t!=Oe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};H.strictEqual=function(e,t,r){new z(e,r,H.strictEqual,!0).to.equal(t)};H.notStrictEqual=function(e,t,r){new z(e,r,H.notStrictEqual,!0).to.not.equal(t)};H.deepEqual=H.deepStrictEqual=function(e,t,r){new z(e,r,H.deepEqual,!0).to.eql(t)};H.notDeepEqual=function(e,t,r){new z(e,r,H.notDeepEqual,!0).to.not.eql(t)};H.isAbove=function(e,t,r){new z(e,r,H.isAbove,!0).to.be.above(t)};H.isAtLeast=function(e,t,r){new z(e,r,H.isAtLeast,!0).to.be.least(t)};H.isBelow=function(e,t,r){new z(e,r,H.isBelow,!0).to.be.below(t)};H.isAtMost=function(e,t,r){new z(e,r,H.isAtMost,!0).to.be.most(t)};H.isTrue=function(e,t){new z(e,t,H.isTrue,!0).is.true};H.isNotTrue=function(e,t){new z(e,t,H.isNotTrue,!0).to.not.equal(!0)};H.isFalse=function(e,t){new z(e,t,H.isFalse,!0).is.false};H.isNotFalse=function(e,t){new z(e,t,H.isNotFalse,!0).to.not.equal(!1)};H.isNull=function(e,t){new z(e,t,H.isNull,!0).to.equal(null)};H.isNotNull=function(e,t){new z(e,t,H.isNotNull,!0).to.not.equal(null)};H.isNaN=function(e,t){new z(e,t,H.isNaN,!0).to.be.NaN};H.isNotNaN=function(e,t){new z(e,t,H.isNotNaN,!0).not.to.be.NaN};H.exists=function(e,t){new z(e,t,H.exists,!0).to.exist};H.notExists=function(e,t){new z(e,t,H.notExists,!0).to.not.exist};H.isUndefined=function(e,t){new z(e,t,H.isUndefined,!0).to.equal(void 0)};H.isDefined=function(e,t){new z(e,t,H.isDefined,!0).to.not.equal(void 0)};H.isCallable=function(e,t){new z(e,t,H.isCallable,!0).is.callable};H.isNotCallable=function(e,t){new z(e,t,H.isNotCallable,!0).is.not.callable};H.isObject=function(e,t){new z(e,t,H.isObject,!0).to.be.a("object")};H.isNotObject=function(e,t){new z(e,t,H.isNotObject,!0).to.not.be.a("object")};H.isArray=function(e,t){new z(e,t,H.isArray,!0).to.be.an("array")};H.isNotArray=function(e,t){new z(e,t,H.isNotArray,!0).to.not.be.an("array")};H.isString=function(e,t){new z(e,t,H.isString,!0).to.be.a("string")};H.isNotString=function(e,t){new z(e,t,H.isNotString,!0).to.not.be.a("string")};H.isNumber=function(e,t){new z(e,t,H.isNumber,!0).to.be.a("number")};H.isNotNumber=function(e,t){new z(e,t,H.isNotNumber,!0).to.not.be.a("number")};H.isNumeric=function(e,t){new z(e,t,H.isNumeric,!0).is.numeric};H.isNotNumeric=function(e,t){new z(e,t,H.isNotNumeric,!0).is.not.numeric};H.isFinite=function(e,t){new z(e,t,H.isFinite,!0).to.be.finite};H.isBoolean=function(e,t){new z(e,t,H.isBoolean,!0).to.be.a("boolean")};H.isNotBoolean=function(e,t){new z(e,t,H.isNotBoolean,!0).to.not.be.a("boolean")};H.typeOf=function(e,t,r){new z(e,r,H.typeOf,!0).to.be.a(t)};H.notTypeOf=function(e,t,r){new z(e,r,H.notTypeOf,!0).to.not.be.a(t)};H.instanceOf=function(e,t,r){new z(e,r,H.instanceOf,!0).to.be.instanceOf(t)};H.notInstanceOf=function(e,t,r){new z(e,r,H.notInstanceOf,!0).to.not.be.instanceOf(t)};H.include=function(e,t,r){new z(e,r,H.include,!0).include(t)};H.notInclude=function(e,t,r){new z(e,r,H.notInclude,!0).not.include(t)};H.deepInclude=function(e,t,r){new z(e,r,H.deepInclude,!0).deep.include(t)};H.notDeepInclude=function(e,t,r){new z(e,r,H.notDeepInclude,!0).not.deep.include(t)};H.nestedInclude=function(e,t,r){new z(e,r,H.nestedInclude,!0).nested.include(t)};H.notNestedInclude=function(e,t,r){new z(e,r,H.notNestedInclude,!0).not.nested.include(t)};H.deepNestedInclude=function(e,t,r){new z(e,r,H.deepNestedInclude,!0).deep.nested.include(t)};H.notDeepNestedInclude=function(e,t,r){new z(e,r,H.notDeepNestedInclude,!0).not.deep.nested.include(t)};H.ownInclude=function(e,t,r){new z(e,r,H.ownInclude,!0).own.include(t)};H.notOwnInclude=function(e,t,r){new z(e,r,H.notOwnInclude,!0).not.own.include(t)};H.deepOwnInclude=function(e,t,r){new z(e,r,H.deepOwnInclude,!0).deep.own.include(t)};H.notDeepOwnInclude=function(e,t,r){new z(e,r,H.notDeepOwnInclude,!0).not.deep.own.include(t)};H.match=function(e,t,r){new z(e,r,H.match,!0).to.match(t)};H.notMatch=function(e,t,r){new z(e,r,H.notMatch,!0).to.not.match(t)};H.property=function(e,t,r){new z(e,r,H.property,!0).to.have.property(t)};H.notProperty=function(e,t,r){new z(e,r,H.notProperty,!0).to.not.have.property(t)};H.propertyVal=function(e,t,r,n){new z(e,n,H.propertyVal,!0).to.have.property(t,r)};H.notPropertyVal=function(e,t,r,n){new z(e,n,H.notPropertyVal,!0).to.not.have.property(t,r)};H.deepPropertyVal=function(e,t,r,n){new z(e,n,H.deepPropertyVal,!0).to.have.deep.property(t,r)};H.notDeepPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};H.ownProperty=function(e,t,r){new z(e,r,H.ownProperty,!0).to.have.own.property(t)};H.notOwnProperty=function(e,t,r){new z(e,r,H.notOwnProperty,!0).to.not.have.own.property(t)};H.ownPropertyVal=function(e,t,r,n){new z(e,n,H.ownPropertyVal,!0).to.have.own.property(t,r)};H.notOwnPropertyVal=function(e,t,r,n){new z(e,n,H.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};H.deepOwnPropertyVal=function(e,t,r,n){new z(e,n,H.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};H.notDeepOwnPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};H.nestedProperty=function(e,t,r){new z(e,r,H.nestedProperty,!0).to.have.nested.property(t)};H.notNestedProperty=function(e,t,r){new z(e,r,H.notNestedProperty,!0).to.not.have.nested.property(t)};H.nestedPropertyVal=function(e,t,r,n){new z(e,n,H.nestedPropertyVal,!0).to.have.nested.property(t,r)};H.notNestedPropertyVal=function(e,t,r,n){new z(e,n,H.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};H.deepNestedPropertyVal=function(e,t,r,n){new z(e,n,H.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};H.notDeepNestedPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};H.lengthOf=function(e,t,r){new z(e,r,H.lengthOf,!0).to.have.lengthOf(t)};H.hasAnyKeys=function(e,t,r){new z(e,r,H.hasAnyKeys,!0).to.have.any.keys(t)};H.hasAllKeys=function(e,t,r){new z(e,r,H.hasAllKeys,!0).to.have.all.keys(t)};H.containsAllKeys=function(e,t,r){new z(e,r,H.containsAllKeys,!0).to.contain.all.keys(t)};H.doesNotHaveAnyKeys=function(e,t,r){new z(e,r,H.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};H.doesNotHaveAllKeys=function(e,t,r){new z(e,r,H.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};H.hasAnyDeepKeys=function(e,t,r){new z(e,r,H.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};H.hasAllDeepKeys=function(e,t,r){new z(e,r,H.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};H.containsAllDeepKeys=function(e,t,r){new z(e,r,H.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};H.doesNotHaveAnyDeepKeys=function(e,t,r){new z(e,r,H.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};H.doesNotHaveAllDeepKeys=function(e,t,r){new z(e,r,H.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};H.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new z(e,n,H.throws,!0).to.throw(t,r);return Oe(a,"object")};H.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new z(e,n,H.doesNotThrow,!0).to.not.throw(t,r)};H.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new He(n+'Invalid operator "'+t+'"',void 0,H.operator)}var o=new z(a,n,H.operator,!0);o.assert(Oe(o,"object")===!0,"expected "+Ue(e)+" to be "+t+" "+Ue(r),"expected "+Ue(e)+" to not be "+t+" "+Ue(r))};H.closeTo=function(e,t,r,n){new z(e,n,H.closeTo,!0).to.be.closeTo(t,r)};H.approximately=function(e,t,r,n){new z(e,n,H.approximately,!0).to.be.approximately(t,r)};H.sameMembers=function(e,t,r){new z(e,r,H.sameMembers,!0).to.have.same.members(t)};H.notSameMembers=function(e,t,r){new z(e,r,H.notSameMembers,!0).to.not.have.same.members(t)};H.sameDeepMembers=function(e,t,r){new z(e,r,H.sameDeepMembers,!0).to.have.same.deep.members(t)};H.notSameDeepMembers=function(e,t,r){new z(e,r,H.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};H.sameOrderedMembers=function(e,t,r){new z(e,r,H.sameOrderedMembers,!0).to.have.same.ordered.members(t)};H.notSameOrderedMembers=function(e,t,r){new z(e,r,H.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};H.sameDeepOrderedMembers=function(e,t,r){new z(e,r,H.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};H.notSameDeepOrderedMembers=function(e,t,r){new z(e,r,H.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};H.includeMembers=function(e,t,r){new z(e,r,H.includeMembers,!0).to.include.members(t)};H.notIncludeMembers=function(e,t,r){new z(e,r,H.notIncludeMembers,!0).to.not.include.members(t)};H.includeDeepMembers=function(e,t,r){new z(e,r,H.includeDeepMembers,!0).to.include.deep.members(t)};H.notIncludeDeepMembers=function(e,t,r){new z(e,r,H.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};H.includeOrderedMembers=function(e,t,r){new z(e,r,H.includeOrderedMembers,!0).to.include.ordered.members(t)};H.notIncludeOrderedMembers=function(e,t,r){new z(e,r,H.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};H.includeDeepOrderedMembers=function(e,t,r){new z(e,r,H.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};H.notIncludeDeepOrderedMembers=function(e,t,r){new z(e,r,H.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};H.oneOf=function(e,t,r){new z(e,r,H.oneOf,!0).to.be.oneOf(t)};H.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ue(e)} to be an iterable`:`expected ${Ue(e)} to be an iterable`,new He(t,void 0,H.isIterable)};H.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.changes,!0).to.change(t,r)};H.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.changesBy,!0).to.change(t,r).by(n)};H.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotChange,!0).to.not.change(t,r)};H.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.changesButNotBy,!0).to.change(t,r).but.not.by(n)};H.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.increases,!0).to.increase(t,r)};H.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.increasesBy,!0).to.increase(t,r).by(n)};H.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotIncrease,!0).to.not.increase(t,r)};H.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};H.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.decreases,!0).to.decrease(t,r)};H.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.decreasesBy,!0).to.decrease(t,r).by(n)};H.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotDecrease,!0).to.not.decrease(t,r)};H.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);return new z(e,a,H.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};H.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,a=o}else arguments.length===3&&(n=r,r=null);new z(e,a,H.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};H.ifError=function(e){if(e)throw e};H.isExtensible=function(e,t){new z(e,t,H.isExtensible,!0).to.be.extensible};H.isNotExtensible=function(e,t){new z(e,t,H.isNotExtensible,!0).to.not.be.extensible};H.isSealed=function(e,t){new z(e,t,H.isSealed,!0).to.be.sealed};H.isNotSealed=function(e,t){new z(e,t,H.isNotSealed,!0).to.not.be.sealed};H.isFrozen=function(e,t){new z(e,t,H.isFrozen,!0).to.be.frozen};H.isNotFrozen=function(e,t){new z(e,t,H.isNotFrozen,!0).to.not.be.frozen};H.isEmpty=function(e,t){new z(e,t,H.isEmpty,!0).to.be.empty};H.isNotEmpty=function(e,t){new z(e,t,H.isNotEmpty,!0).to.not.be.empty};H.containsSubset=function(e,t,r){new z(e,r).to.containSubset(t)};H.doesNotContainSubset=function(e,t,r){new z(e,r).to.not.containSubset(t)};var HV=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of HV)H[t]=H[e];var hE=[];function Sa(e){let t={use:Sa,AssertionError:He,util:Zr,config:Kt,expect:Jn,assert:H,Assertion:z,...k_};return~hE.indexOf(e)||(e(t,Zr),hE.push(e)),t}s(Sa,"use");ae(Sa,"use");var N_={};Xt(N_,{toBeChecked:()=>Lg,toBeDisabled:()=>Fg,toBeEmpty:()=>gg,toBeEmptyDOMElement:()=>bg,toBeEnabled:()=>Ig,toBeInTheDOM:()=>iu,toBeInTheDocument:()=>yg,toBeInvalid:()=>jg,toBePartiallyChecked:()=>Ug,toBeRequired:()=>kg,toBeValid:()=>Bg,toBeVisible:()=>Tg,toContainElement:()=>su,toContainHTML:()=>vg,toHaveAccessibleDescription:()=>lu,toHaveAccessibleErrorMessage:()=>Cg,toHaveAccessibleName:()=>cu,toHaveAttribute:()=>wg,toHaveClass:()=>Ag,toHaveDescription:()=>Vg,toHaveDisplayValue:()=>Mg,toHaveErrorMessage:()=>Hg,toHaveFocus:()=>xg,toHaveFormValues:()=>Sg,toHaveRole:()=>uu,toHaveSelection:()=>zg,toHaveStyle:()=>pu,toHaveTextContent:()=>Eg,toHaveValue:()=>qg});var mE=xt(SC(),1);function ag(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}s(ag,"$parcel$defineInteropFlag");function Hc(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}s(Hc,"$parcel$export");var j_={};ag(j_);Hc(j_,"default",()=>q_);var B_=class extends Error{constructor(t,r,n,a,o){super(t+":"+n+":"+a+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=a,this.source=o}};s(B_,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var q_=B_,M_={};ag(M_);Hc(M_,"default",()=>$_);var L_=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};s(L_,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var $_=L_,zV={};Hc(zV,"CssTypes",()=>Rt);var Rt=function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e}({}),Zp=/\/\*[^]*?(?:\*\/|$)/g,JV=s((e,t)=>{t=t||{};let r=1,n=1;function a(U){let X=U.match(/\n/g);X&&(r+=X.length);let ee=U.lastIndexOf(`
221
+ `);n=~ee?U.length-ee:n+U.length}s(a,"updatePosition");function o(){let U={line:r,column:n};return function(X){return X.position=new $_(U,{line:r,column:n},(t==null?void 0:t.source)||""),f(),X}}s(o,"position");let i=[];function l(U){let X=new q_((t==null?void 0:t.source)||"",U,r,n,e);if(t!=null&&t.silent)i.push(X);else throw X}s(l,"error");function u(){let U=d();return{type:Rt.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:U,parsingErrors:i}}}s(u,"stylesheet");function c(){return h(/^{\s*/)}s(c,"open");function p(){return h(/^}/)}s(p,"close");function d(){let U,X=[];for(f(),m(X);e.length&&e.charAt(0)!=="}"&&(U=$()||J());)U&&(X.push(U),m(X));return X}s(d,"rules");function h(U){let X=U.exec(e);if(!X)return;let ee=X[0];return a(ee),e=e.slice(ee.length),X}s(h,"match");function f(){h(/^\s*/)}s(f,"whitespace");function m(U){let X;for(U=U||[];X=y();)X&&U.push(X);return U}s(m,"comments");function y(){let U=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let X=h(/^\/\*[^]*?\*\//);return X?U({type:Rt.comment,comment:X[0].slice(2,-2)}):l("End of comment missing")}s(y,"comment");function g(U,X,ee){let se=X+1,te=!1,pe=U.indexOf(")",se);for(;!te&&pe!==-1;){let de=U.indexOf("(",se);de!==-1&&de<pe?(se=g(U,de+1)+1,pe=U.indexOf(")",se)):te=!0}return te&&pe!==-1?pe:-1}s(g,"findClosingParenthese");function b(){let U=h(/^([^{]+)/);if(!U)return;let X=lr(U[0]).replace(Zp,"");if(X.indexOf(",")===-1)return[X];let ee=0,se=X.indexOf("(",ee);for(;se!==-1;){let te=g(X,se);if(te===-1)break;ee=te+1,X=X.substring(0,se)+X.substring(se,te).replace(/,/g,"‌")+X.substring(te),se=X.indexOf("(",ee)}return X=X.replace(/("|')(?:\\\1|.)*?\1/g,te=>te.replace(/,/g,"‌")),X.split(",").map(te=>lr(te.replace(/\u200C/g,",")))}s(b,"selector");function v(){let U=o(),X=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!X)return;let ee=lr(X[0]);if(!h(/^:\s*/))return l("property missing ':'");let se=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),te=U({type:Rt.declaration,property:ee.replace(Zp,""),value:se?lr(se[0]).replace(Zp,""):""});return h(/^[;\s]*/),te}s(v,"declaration");function T(){let U=[];if(!c())return l("missing '{'");m(U);let X;for(;X=v();)X&&(U.push(X),m(U));return p()?U:l("missing '}'")}s(T,"declarations");function x(){let U,X=[],ee=o();for(;U=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)X.push(U[1]),h(/^,\s*/);if(X.length)return ee({type:Rt.keyframe,values:X,declarations:T()||[]})}s(x,"keyframe");function _(){let U=o(),X=h(/^@([-\w]+)?keyframes\s*/);if(!X)return;let ee=X[1],se=h(/^([-\w]+)\s*/);if(!se)return l("@keyframes missing name");let te=se[1];if(!c())return l("@keyframes missing '{'");let pe,de=m();for(;pe=x();)de.push(pe),de=de.concat(m());return p()?U({type:Rt.keyframes,name:te,vendor:ee,keyframes:de}):l("@keyframes missing '}'")}s(_,"atkeyframes");function w(){let U=o(),X=h(/^@supports *([^{]+)/);if(!X)return;let ee=lr(X[1]);if(!c())return l("@supports missing '{'");let se=m().concat(d());return p()?U({type:Rt.supports,supports:ee,rules:se}):l("@supports missing '}'")}s(w,"atsupports");function E(){let U=o();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let X=m().concat(d());return p()?U({type:Rt.host,rules:X}):l("@host missing '}'")}s(E,"athost");function C(){let U=o(),X=h(/^@container *([^{]+)/);if(!X)return;let ee=lr(X[1]);if(!c())return l("@container missing '{'");let se=m().concat(d());return p()?U({type:Rt.container,container:ee,rules:se}):l("@container missing '}'")}s(C,"atcontainer");function P(){let U=o(),X=h(/^@layer *([^{;@]+)/);if(!X)return;let ee=lr(X[1]);if(!c())return h(/^[;\s]*/),U({type:Rt.layer,layer:ee});let se=m().concat(d());return p()?U({type:Rt.layer,layer:ee,rules:se}):l("@layer missing '}'")}s(P,"atlayer");function k(){let U=o(),X=h(/^@media *([^{]+)/);if(!X)return;let ee=lr(X[1]);if(!c())return l("@media missing '{'");let se=m().concat(d());return p()?U({type:Rt.media,media:ee,rules:se}):l("@media missing '}'")}s(k,"atmedia");function N(){let U=o(),X=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(X)return U({type:Rt.customMedia,name:lr(X[1]),media:lr(X[2])})}s(N,"atcustommedia");function G(){let U=o();if(!h(/^@page */))return;let X=b()||[];if(!c())return l("@page missing '{'");let ee=m(),se;for(;se=v();)ee.push(se),ee=ee.concat(m());return p()?U({type:Rt.page,selectors:X,declarations:ee}):l("@page missing '}'")}s(G,"atpage");function Y(){let U=o(),X=h(/^@([-\w]+)?document *([^{]+)/);if(!X)return;let ee=lr(X[1]),se=lr(X[2]);if(!c())return l("@document missing '{'");let te=m().concat(d());return p()?U({type:Rt.document,document:se,vendor:ee,rules:te}):l("@document missing '}'")}s(Y,"atdocument");function O(){let U=o();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let X=m(),ee;for(;ee=v();)X.push(ee),X=X.concat(m());return p()?U({type:Rt.fontFace,declarations:X}):l("@font-face missing '}'")}s(O,"atfontface");function q(){let U=o();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let X=m().concat(d());return p()?U({type:Rt.startingStyle,rules:X}):l("@starting-style missing '}'")}s(q,"atstartingstyle");let B=ne("import"),K=ne("charset"),Q=ne("namespace");function ne(U){let X=new RegExp("^@"+U+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let ee=o(),se=h(X);if(!se)return;let te={type:U};return te[U]=se[1].trim(),ee(te)}}s(ne,"_compileAtrule");function $(){if(e[0]==="@")return _()||k()||N()||w()||B()||K()||Q()||Y()||G()||E()||O()||C()||q()||P()}s($,"atrule");function J(){let U=o(),X=b();return X?(m(),U({type:Rt.rule,selectors:X,declarations:T()||[]})):l("selector missing")}return s(J,"rule"),ou(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function lr(e){return e?e.trim():""}s(lr,"$d708735ed1303b43$var$trim");function ou(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(i=>{ou(i,n)}):o&&typeof o=="object"&&ou(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}s(ou,"$d708735ed1303b43$var$addParent");var GV=JV,WV=GV,YV=Object.prototype.toString;function hf(e){return typeof e=="function"||YV.call(e)==="[object Function]"}s(hf,"isCallable");function U_(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(U_,"toInteger");var KV=Math.pow(2,53)-1;function V_(e){var t=U_(e);return Math.min(Math.max(t,0),KV)}s(V_,"toLength");function Ar(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!hf(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=V_(n.length),o=hf(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(Ar,"arrayFrom");function Io(e){"@babel/helpers - typeof";return Io=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Io(e)}s(Io,"_typeof");function H_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(H_,"_classCallCheck");function mf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,og(n.key),n)}}s(mf,"_defineProperties");function z_(e,t,r){return t&&mf(e.prototype,t),r&&mf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(z_,"_createClass");function J_(e,t,r){return t=og(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(J_,"_defineProperty");function og(e){var t=G_(e,"string");return Io(t)==="symbol"?t:String(t)}s(og,"_toPropertyKey");function G_(e,t){if(Io(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Io(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(G_,"_toPrimitive");var XV=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];H_(this,e),J_(this,"items",void 0),this.items=t}return s(e,"SetLike"),z_(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),QV=typeof Set>"u"?Set:XV;function jt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(jt,"getLocalName");var ZV={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"},eH={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 W_(e,t){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(r){var n;return e.hasAttribute(r)&&!((n=eH[t])!==null&&n!==void 0&&n.has(r))})}s(W_,"hasGlobalAriaAttributes");function ig(e,t){return W_(e,t)}s(ig,"ignorePresentationalRole");function Y_(e){var t=X_(e);if(t===null||yf.indexOf(t)!==-1){var r=K_(e);if(yf.indexOf(t||"")===-1||ig(e,r||""))return r}return t}s(Y_,"getRole");function K_(e){var t=ZV[jt(e)];if(t!==void 0)return t;switch(jt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!ig(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(K_,"getImplicitRole");function X_(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(X_,"getExplicitRole");var yf=["presentation","none"];function st(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(st,"isElement");function sg(e){return st(e)&&jt(e)==="caption"}s(sg,"isHTMLTableCaptionElement");function Ii(e){return st(e)&&jt(e)==="input"}s(Ii,"isHTMLInputElement");function Q_(e){return st(e)&&jt(e)==="optgroup"}s(Q_,"isHTMLOptGroupElement");function Z_(e){return st(e)&&jt(e)==="select"}s(Z_,"isHTMLSelectElement");function eT(e){return st(e)&&jt(e)==="table"}s(eT,"isHTMLTableElement");function tT(e){return st(e)&&jt(e)==="textarea"}s(tT,"isHTMLTextAreaElement");function rT(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(rT,"safeWindow");function nT(e){return st(e)&&jt(e)==="fieldset"}s(nT,"isHTMLFieldSetElement");function aT(e){return st(e)&&jt(e)==="legend"}s(aT,"isHTMLLegendElement");function oT(e){return st(e)&&jt(e)==="slot"}s(oT,"isHTMLSlotElement");function iT(e){return st(e)&&e.ownerSVGElement!==void 0}s(iT,"isSVGElement");function sT(e){return st(e)&&jt(e)==="svg"}s(sT,"isSVGSVGElement");function lT(e){return iT(e)&&jt(e)==="title"}s(lT,"isSVGTitleElement");function as(e,t){if(st(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(as,"queryIdRefs");function en(e,t){return st(e)?t.indexOf(Y_(e))!==-1:!1}s(en,"hasAnyConcreteRoles");function uT(e){return e.trim().replace(/\s\s+/g," ")}s(uT,"asFlatString");function cT(e,t){if(!st(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(cT,"isHidden");function pT(e){return en(e,["button","combobox","listbox","textbox"])||lg(e,"range")}s(pT,"isControl");function lg(e,t){if(!st(e))return!1;switch(t){case"range":return en(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(lg,"hasAbstractRole");function gf(e,t){var r=Ar(e.querySelectorAll(t));return as(e,"aria-owns").forEach(function(n){r.push.apply(r,Ar(n.querySelectorAll(t)))}),r}s(gf,"querySelectorAllSubtree");function dT(e){return Z_(e)?e.selectedOptions||gf(e,"[selected]"):gf(e,'[aria-selected="true"]')}s(dT,"querySelectedOptions");function fT(e){return en(e,yf)}s(fT,"isMarkedPresentational");function hT(e){return sg(e)}s(hT,"isNativeHostLanguageTextAlternativeElement");function mT(e){return en(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(mT,"allowsNameFromContent");function yT(e){return!1}s(yT,"isDescendantOfNativeHostLanguageTextAlternativeElement");function gT(e){return Ii(e)||tT(e)?e.value:e.textContent||""}s(gT,"getValueOfTextbox");function bf(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(bf,"getTextualContent");function ug(e){var t=jt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(ug,"isLabelableElement");function cg(e){if(ug(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&st(r)){var n=cg(r);n!==null&&(t=n)}}),t}s(cg,"findLabelableElement");function bT(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):cg(e)}s(bT,"getControlOfLabel");function vT(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ar(t);if(!ug(e))return null;var r=e.ownerDocument;return Ar(r.querySelectorAll("label")).filter(function(n){return bT(n)===e})}s(vT,"getLabels");function ET(e){var t=e.assignedNodes();return t.length===0?Ar(e.childNodes):t}s(ET,"getSlotContents");function pg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new QV,n=rT(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(b,v){var T="";if(st(b)&&l){var x=c(b,"::before"),_=bf(x);T="".concat(_," ").concat(T)}var w=oT(b)?ET(b):Ar(b.childNodes).concat(as(b,"aria-owns"));if(w.forEach(function(P){var k=g(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=st(P)?c(P).getPropertyValue("display"):"inline",G=N!=="inline"?" ":"";T+="".concat(G).concat(k).concat(G)}),st(b)&&l){var E=c(b,"::after"),C=bf(E);T="".concat(T," ").concat(C)}return T.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var T=b.getAttributeNode(v);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}s(f,"useAttribute");function m(b){return st(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!st(b))return null;if(nT(b)){r.add(b);for(var v=Ar(b.childNodes),T=0;T<v.length;T+=1){var x=v[T];if(aT(x))return g(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(eT(b)){r.add(b);for(var _=Ar(b.childNodes),w=0;w<_.length;w+=1){var E=_[w];if(sg(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(sT(b)){r.add(b);for(var C=Ar(b.childNodes),P=0;P<C.length;P+=1){var k=C[P];if(lT(k))return k.textContent}return null}else if(jt(b)==="img"||jt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(Q_(b)){var G=f(b,"label");if(G!==null)return G}if(Ii(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var Y=f(b,"value");if(Y!==null)return Y;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var O=vT(b);if(O!==null&&O.length!==0)return r.add(b),Ar(O).map(function(Q){return g(Q,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Q){return Q.length>0}).join(" ");if(Ii(b)&&b.type==="image"){var q=f(b,"alt");if(q!==null)return q;var B=f(b,"title");return B!==null?B:"Submit Query"}if(en(b,["button"])){var K=h(b,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!d&&cT(b,c)&&!v.isReferenced)return r.add(b),"";var T=st(b)?b.getAttributeNode("aria-labelledby"):null,x=T!==null&&!r.has(T)?as(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&x.length>0)return r.add(T),x.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var _=v.recursion&&pT(b)&&o==="name";if(!_){var w=(st(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!fT(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(en(b,["menu"]))return r.add(b),"";if(_||v.isEmbeddedInLabel||v.isReferenced){if(en(b,["combobox","listbox"])){r.add(b);var C=dT(b);return C.length===0?Ii(b)?b.value:"":Ar(C).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(lg(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(en(b,["textbox"]))return r.add(b),gT(b)}if(mT(b)||st(b)&&v.isReferenced||hT(b)||yT()){var P=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(b);return k!==null?(r.add(b),k):(r.add(b),"")}return s(g,"computeTextAlternative"),uT(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(pg,"computeTextAlternative");function ko(e){"@babel/helpers - typeof";return ko=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ko(e)}s(ko,"_typeof");function vf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(vf,"ownKeys");function Ef(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vf(Object(r),!0).forEach(function(n){CT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(Ef,"_objectSpread");function CT(e,t,r){return t=wT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(CT,"_defineProperty");function wT(e){var t=AT(e,"string");return ko(t)==="symbol"?t:String(t)}s(wT,"_toPropertyKey");function AT(e,t){if(ko(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ko(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(AT,"_toPrimitive");function xT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=as(e,"aria-describedby").map(function(o){return pg(o,Ef(Ef({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}s(xT,"computeAccessibleDescription");function ST(e){return en(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}s(ST,"prohibitsNaming");function _T(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ST(e)?"":pg(e,t)}s(_T,"computeAccessibleName");var dg=xt(_C(),1),tH=xt(PC(),1),fg=xt(MC(),1),rH=xt(LC(),1),TT=class extends Error{constructor(t,r,n,a){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let o="";try{o=a.utils.printWithType("Received",r,a.utils.printReceived)}catch{}this.message=[a.utils.matcherHint(`${a.isNot?".not":""}.${n.name}`,"received",""),"",`${a.utils.RECEIVED_COLOR("received")} value must ${t}.`,o].join(`
222
+ `)}};s(TT,"GenericTypeError");var PT=TT,DT=class extends PT{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};s(DT,"HtmlElementTypeError");var yE=DT,OT=class extends PT{constructor(...t){super("be a Node",...t)}};s(OT,"NodeTypeError");var gE=OT;function hg(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}s(hg,"checkHasWindow");function RT(e,...t){hg(e,gE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new gE(e,...t)}s(RT,"checkNode");function Ge(e,...t){hg(e,yE,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new yE(e,...t)}s(Ge,"checkHtmlElement");var FT=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
223
+ `)}};s(FT,"InvalidCSSError");var nH=FT;function IT(e,...t){let r=WV(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new nH({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:o})=>Object.assign(n,{[a]:o}),{})}s(IT,"parseCSS");function Cf(e,t){return typeof t=="string"?t:e.utils.stringify(t)}s(Cf,"display");function Ft(e,t,r,n,a,o){return[`${t}
224
+ `,`${r}:
225
+ ${e.utils.EXPECTED_COLOR((0,mE.default)(Cf(e,n),2))}`,`${a}:
226
+ ${e.utils.RECEIVED_COLOR((0,mE.default)(Cf(e,o),2))}`].join(`
227
+ `)}s(Ft,"getMessage");function kT(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}s(kT,"matches");function js(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}s(js,"deprecate");function Bs(e){return e.replace(/\s+/g," ").trim()}s(Bs,"normalize");function Tn(e){return e.tagName&&e.tagName.toLowerCase()}s(Tn,"getTag");function NT({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}s(NT,"getSelectValue");function jT(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}s(jT,"getInputValue");var aH=["meter","progressbar","slider","spinbutton"];function BT(e){if(aH.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}s(BT,"getAccessibleValue");function mg(e){if(e)switch(e.tagName.toLowerCase()){case"input":return jT(e);case"select":return NT(e);default:return e.value??BT(e)}}s(mg,"getSingleElementValue");function qT(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}s(qT,"toSentence");function zc(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}s(zc,"compareArraysAsSet");function iu(e,t){return js("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Ge(e,iu,this),t&&Ge(t,iu,this),{pass:t?t.contains(e):!!e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
228
+ `),"message")}}s(iu,"toBeInTheDOM");function yg(e){(e!==null||!this.isNot)&&Ge(e,yg,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=s(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=s(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
229
+ `),"message")}}s(yg,"toBeInTheDocument");function gg(e){return js("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Ge(e,gg,this),{pass:e.innerHTML==="",message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
230
+ `),"message")}}s(gg,"toBeEmpty");function bg(e){return Ge(e,bg,this),{pass:MT(e),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
231
+ `),"message")}}s(bg,"toBeEmptyDOMElement");function MT(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}s(MT,"isEmptyElement");function su(e,t){return Ge(e,su,this),t!==null&&Ge(t,su,this),{pass:e.contains(t),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
232
+ `)].join(`
233
+ `),"message")}}s(su,"toContainElement");function LT(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}s(LT,"getNormalizedHtml");function vg(e,t){if(Ge(e,vg,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(LT(e,t)),message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
234
+ `),"message")}}s(vg,"toContainHTML");function Eg(e,t,r={normalizeWhitespace:!0}){RT(e,Eg,this);let n=r.normalizeWhitespace?Bs(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&kT(n,t),message:s(()=>{let o=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)},"message")}}s(Eg,"toHaveTextContent");function lu(e,t){Ge(e,lu,this);let r=xT(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.${lu.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)},"message")}}s(lu,"toHaveAccessibleDescription");var hi="aria-invalid",oH=["false"];function Cg(e,t){var l;Ge(e,Cg,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:s(()=>Ft(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`),"message")};let o=e.getAttribute(hi);if(!e.hasAttribute(hi)||oH.includes(o))return{pass:!1,message:s(()=>Ft(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${hi}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${hi}="${e.getAttribute(hi)}`:null),"message")};let i=Bs(((l=e.ownerDocument.getElementById(a))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:s(()=>Ft(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i),"message")}}s(Cg,"toHaveAccessibleErrorMessage");var iH=VT(dg.elementRoles);function uu(e,t){Ge(e,uu,this);let r=$T(e);return{pass:r.some(n=>n===t),message:s(()=>{let n=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.${uu.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}s(uu,"toHaveRole");function $T(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):UT(e)}s($T,"getExplicitOrImplicitRoles");function UT(e){for(let{match:t,roles:r}of iH)if(t(e))return[...r];return[]}s(UT,"getImplicitAriaRoles");function VT(e){function t({name:i,attributes:l}){return`${i}${l.map(({name:u,value:c,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}s(t,"makeElementSelector");function r({attributes:i=[]}){return i.length}s(r,"getSelectorSpecificity");function n({specificity:i},{specificity:l}){return l-i}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(VT,"buildElementRoleList");function cu(e,t){Ge(e,cu,this);let r=_T(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:s(()=>{let o=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.${cu.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)},"message")}}s(cu,"toHaveAccessibleName");function wf(e,t,r){return r===void 0?t:`${t}=${e(r)}`}s(wf,"printAttribute");function HT(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}s(HT,"getAttributeComment");function wg(e,t,r){Ge(e,wg,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:s(()=>{let i=this.isNot?"not to":"to",l=a?wf(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:HT(this.utils.stringify,t,r)});return Ft(this,u,`Expected the element ${i} have attribute`,wf(this.utils.stringify,t,r),"Received",l)},"message")}}s(wg,"toHaveAttribute");function zT(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}s(zT,"getExpectedClassNamesAndOptions");function Af(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}s(Af,"splitClassNames");function xf(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}s(xf,"isSubset$1");function Ag(e,...t){Ge(e,Ag,this);let{expectedClassNames:r,options:n}=zT(t),a=Af(e.getAttribute("class")),o=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?Af(u):u),[]),i=o.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:xf(o,a)&&o.length===a.length,message:s(()=>{let l=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))},"message")}:o.length>0?{pass:xf(o,a),message:s(()=>{let l=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have class`,o.join(" "),"Received",a.join(" "))},"message")}:{pass:this.isNot?a.length>0:!1,message:s(()=>this.isNot?Ft(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
235
+ `),"message")}}s(Ag,"toHaveClass");function JT(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}s(JT,"getStyleDeclaration");function GT(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}s(GT,"isSubset");function Sf(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
236
+ `)}s(Sf,"printoutStyles");function WT(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(Sf(t),Sf(n)).replace(`${tH.default.red("+ Received")}
237
+ `,"")}s(WT,"expectedDiff");function pu(e,t){Ge(e,pu,this);let r=typeof t=="object"?t:IT(t,pu,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=JT(e.ownerDocument,r),o=n(e);return{pass:GT(a,o),message:s(()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),WT(this.utils.diff,a,o)].join(`
238
+
239
+ `)},"message")}}s(pu,"toHaveStyle");function xg(e){return Ge(e,xg,this),{pass:e.ownerDocument.activeElement===e,message:s(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
240
+ `),"message")}}s(xg,"toHaveFocus");function YT(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}s(YT,"getMultiElementValue");function KT(e,t){let r=[...e.querySelectorAll(`[name="${(0,rH.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return mg(r[0]);default:return YT(r)}}s(KT,"getFormValue");function XT(e){return/\[\]$/.test(e)?e.slice(0,-2):e}s(XT,"getPureName");function QT(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[XT(r)]:KT(e,r)}),{})}s(QT,"getAllFormValues");function Sg(e,t){if(Ge(e,Sg,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=QT(e);return{pass:Object.entries(t).every(([n,a])=>(0,fg.default)(r[n],a,zc)),message:s(()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
241
+
242
+ `)},"message")}}s(Sg,"toHaveFormValues");function ZT(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}s(ZT,"isStyleVisible");function eP(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}s(eP,"isAttributeVisible");function _g(e,t){return ZT(e)&&eP(e,t)&&(!e.parentElement||_g(e.parentElement,e))}s(_g,"isElementVisible");function Tg(e){Ge(e,Tg,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&_g(e);return{pass:r,message:s(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
+ `)},"message")}}s(Tg,"toBeVisible");var sH=["fieldset","input","select","optgroup","option","button","textarea"];function tP(e,t){return Tn(e)==="legend"&&Tn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Tn(r)==="legend"))}s(tP,"isFirstLegendChildOfFieldset");function rP(e,t){return Dg(t)&&!tP(e,t)}s(rP,"isElementDisabledByParent");function nP(e){return e.includes("-")}s(nP,"isCustomElement");function Pg(e){let t=Tn(e);return sH.includes(t)||nP(t)}s(Pg,"canElementBeDisabled");function Dg(e){return Pg(e)&&e.hasAttribute("disabled")}s(Dg,"isElementDisabled");function Og(e){let t=e.parentElement;return!!t&&(rP(e,t)||Og(t))}s(Og,"isAncestorDisabled");function Rg(e){return Pg(e)&&(Dg(e)||Og(e))}s(Rg,"isElementOrAncestorDisabled");function Fg(e){Ge(e,Fg,this);let t=Rg(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
244
+ `)},"message")}}s(Fg,"toBeDisabled");function Ig(e){Ge(e,Ig,this);let t=!Rg(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
245
+ `)},"message")}}s(Ig,"toBeEnabled");var lH=["select","textarea"],uH=["input","select","textarea"],cH=["color","hidden","range","submit","image","reset"],pH=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function aP(e){return lH.includes(Tn(e))&&e.hasAttribute("required")}s(aP,"isRequiredOnFormTagsExceptInput");function oP(e){return Tn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!cH.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}s(oP,"isRequiredOnSupportedInput");function iP(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(uH.includes(Tn(e))||e.hasAttribute("role")&&pH.includes(e.getAttribute("role")))}s(iP,"isElementRequiredByARIA");function kg(e){Ge(e,kg,this);let t=aP(e)||oP(e)||iP(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
246
+ `)},"message")}}s(kg,"toBeRequired");var dH=["form","input","select","textarea"];function sP(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}s(sP,"isElementHavingAriaInvalid");function lP(e){return dH.includes(Tn(e))}s(lP,"isSupportsValidityMethod");function Ng(e){let t=sP(e);return lP(e)?t||!e.checkValidity():t}s(Ng,"isElementInvalid");function jg(e){Ge(e,jg,this);let t=Ng(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
247
+ `)},"message")}}s(jg,"toBeInvalid");function Bg(e){Ge(e,Bg,this);let t=!Ng(e);return{pass:t,message:s(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
248
+ `)},"message")}}s(Bg,"toBeValid");function qg(e,t){if(Ge(e,qg,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.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 r=mg(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,fg.default)(r,t,zc):!!r,message:s(()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ft(this,l,`Expected the element ${i} have value`,n?a:"(any)","Received",o)},"message")}}s(qg,"toHaveValue");function Mg(e,t){Ge(e,Mg,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=uP(r,e),a=cP(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=o===n.length,l=o===a.length;return{pass:i&&l,message:s(()=>Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}s(Mg,"toHaveDisplayValue");function uP(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}s(uP,"getValues");function cP(e){return e instanceof Array?e:[e]}s(cP,"getExpectedValues");function Lg(e){Ge(e,Lg,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=s(()=>$g(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>`only inputs with type="checkbox" or type="radio" or elements with ${pP()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=s(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
249
+ `)},"message")}}s(Lg,"toBeChecked");function pP(){return qT(dP().map(e=>`role="${e}"`),{lastWordConnector:" or "})}s(pP,"supportedRolesSentence");function dP(){return dg.roles.keys().filter($g)}s(dP,"supportedRoles");function $g(e){var t;return((t=dg.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}s($g,"roleSupportsChecked");function Ug(e){Ge(e,Ug,this);let t=s(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=s(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:s(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=s(()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a},"isPartiallyChecked");return{pass:n(),message:s(()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
250
+ `)},"message")}}s(Ug,"toBePartiallyChecked");function Vg(e,t){js("toHaveDescription","Please use toHaveAccessibleDescription."),Ge(e,Vg,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Bs(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Vg,"toHaveDescription");function Hg(e,t){if(js("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Ge(e,Hg,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:s(()=>Ft(this,this.utils.matcherHint(`${o}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Bs(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:s(()=>{let o=this.isNot?"not to":"to";return Ft(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))},"message")}}s(Hg,"toHaveErrorMessage");function fP(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let o=e===r.startContainer||e.contains(r.startContainer),i=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||i)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),i&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let a=t.toString();return t.removeAllRanges(),t.addRange(r),a}s(fP,"getSelection");function zg(e,t){Ge(e,zg,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=fP(e);return{pass:r?(0,fg.default)(n,t,zc):!!n,message:s(()=>{let a=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Ft(this,o,`Expected the element ${a} have selection`,r?t:"(any)","Received",n)},"message")}}s(zg,"toHaveSelection");xt(SC(),1);xt(_C(),1);xt(PC(),1);xt(MC(),1);xt(LC(),1);function Jg(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:s(function(){return r[n]},"get")})}})}),Object.freeze(e)}s(Jg,"_mergeNamespaces");function hP(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}s(hP,"getKeysOfEnumerableProperties");function ti(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,p,n,a),h=o(c.value[1],t,p,n,a);l+=d+i+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}s(ti,"printIteratorEntries");function Jc(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}s(Jc,"printIteratorValues");function os(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=s(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<u;p++){if(i+=c,p===t.maxWidth){i+="…";break}(l(e)||p in e)&&(i+=o(l(e)?e.getInt8(p):e[p],t,c,n,a)),p<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(os,"printListItems");function Gc(e,t,r,n,a,o){let i="",l=hP(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],d=o(p,t,u,n,a),h=o(e[p],t,u,n,a);i+=`${u+d}: ${h}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}s(Gc,"printObjectProperties");var fH=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ed=" ",hH=s((e,t,r,n,a,o)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ed}[${os(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ed}{${Gc(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+ed+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),mH=s(e=>e&&e.$$typeof===fH,"test$5"),yH={serialize:hH,test:mH},gH=" ",mP=new Set(["DOMStringMap","NamedNodeMap"]),bH=/^(?:HTML\w*Collection|NodeList)$/;function yP(e){return mP.has(e)||bH.test(e)}s(yP,"testName");var vH=s(e=>e&&e.constructor&&!!e.constructor.name&&yP(e.constructor.name),"test$4");function gP(e){return e.constructor.name==="NamedNodeMap"}s(gP,"isNamedNodeMap");var EH=s((e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+gH)+(mP.has(i)?`{${Gc(gP(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${os([...e],t,r,n,a,o)}]`)},"serialize$4"),CH={serialize:EH,test:vH};function Gg(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}s(Gg,"escapeHTML");function Wc(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.includes(`
251
+ `)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}s(Wc,"printProps");function Yc(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Wg(i,t):o(i,t,r,n,a))).join("")}s(Yc,"printChildren");function Wg(e,t){let r=t.colors.content;return r.open+Gg(e)+r.close}s(Wg,"printText");function bP(e,t){let r=t.colors.comment;return`${r.open}<!--${Gg(e)}-->${r.close}`}s(bP,"printComment");function Kc(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}s(Kc,"printElement");function Xc(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}s(Xc,"printElementAsLeaf");var wH=1,vP=3,EP=8,CP=11,AH=/^(?:(?:HTML|SVG)\w*)?Element$/;function wP(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}s(wP,"testHasAttribute");function AP(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||wP(e);return r===wH&&(AH.test(t)||a)||r===vP&&t==="Text"||r===EP&&t==="Comment"||r===CP&&t==="DocumentFragment"}s(AP,"testNode");var xH=s(e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&AP(e)},"test$3");function xP(e){return e.nodeType===vP}s(xP,"nodeIsText");function SP(e){return e.nodeType===EP}s(SP,"nodeIsComment");function gl(e){return e.nodeType===CP}s(gl,"nodeIsFragment");var SH=s((e,t,r,n,a,o)=>{if(xP(e))return Wg(e.data,t);if(SP(e))return bP(e.data,t);let i=gl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Xc(i,t):Kc(i,Wc(gl(e)?[]:Array.from(e.attributes,l=>l.name).sort(),gl(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),Yc(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},"serialize$3"),_H={serialize:SH,test:xH},TH="@@__IMMUTABLE_ITERABLE__@@",PH="@@__IMMUTABLE_LIST__@@",DH="@@__IMMUTABLE_KEYED__@@",OH="@@__IMMUTABLE_MAP__@@",bE="@@__IMMUTABLE_ORDERED__@@",RH="@@__IMMUTABLE_RECORD__@@",FH="@@__IMMUTABLE_SEQ__@@",IH="@@__IMMUTABLE_SET__@@",kH="@@__IMMUTABLE_STACK__@@",No=s(e=>`Immutable.${e}`,"getImmutableName"),Qc=s(e=>`[${e}]`,"printAsLeaf"),is=" ",vE="…";function _P(e,t,r,n,a,o,i){return++n>t.maxDepth?Qc(No(i)):`${No(i)+is}{${ti(e.entries(),t,r,n,a,o)}}`}s(_P,"printImmutableEntries");function TP(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}s(TP,"getRecordEntries");function PP(e,t,r,n,a,o){let i=No(e._name||"Record");return++n>t.maxDepth?Qc(i):`${i+is}{${ti(TP(e),t,r,n,a,o)}}`}s(PP,"printImmutableRecord");function DP(e,t,r,n,a,o){let i=No("Seq");return++n>t.maxDepth?Qc(i):e[DH]?`${i+is}{${e._iter||e._object?ti(e.entries(),t,r,n,a,o):vE}}`:`${i+is}[${e._iter||e._array||e._collection||e._iterable?Jc(e.values(),t,r,n,a,o):vE}]`}s(DP,"printImmutableSeq");function bl(e,t,r,n,a,o,i){return++n>t.maxDepth?Qc(No(i)):`${No(i)+is}[${Jc(e.values(),t,r,n,a,o)}]`}s(bl,"printImmutableValues");var NH=s((e,t,r,n,a,o)=>e[OH]?_P(e,t,r,n,a,o,e[bE]?"OrderedMap":"Map"):e[PH]?bl(e,t,r,n,a,o,"List"):e[IH]?bl(e,t,r,n,a,o,e[bE]?"OrderedSet":"Set"):e[kH]?bl(e,t,r,n,a,o,"Stack"):e[FH]?DP(e,t,r,n,a,o):PP(e,t,r,n,a,o),"serialize$2"),jH=s(e=>e&&(e[TH]===!0||e[RH]===!0),"test$2"),BH={serialize:NH,test:jH};function Yg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Yg,"getDefaultExportFromCjs");var EE={exports:{}},Ze={},CE;function OP(){if(CE)return Ze;CE=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");function m(y){if(typeof y=="object"&&y!==null){var g=y.$$typeof;switch(g){case e:switch(y=y.type,y){case r:case a:case n:case u:case c:return y;default:switch(y=y&&y.$$typeof,y){case i:case l:case d:case p:return y;case o:return y;default:return g}}case t:return g}}}return s(m,"typeOf"),Ze.ContextConsumer=o,Ze.ContextProvider=i,Ze.Element=e,Ze.ForwardRef=l,Ze.Fragment=r,Ze.Lazy=d,Ze.Memo=p,Ze.Portal=t,Ze.Profiler=a,Ze.StrictMode=n,Ze.Suspense=u,Ze.SuspenseList=c,Ze.isContextConsumer=function(y){return m(y)===o},Ze.isContextProvider=function(y){return m(y)===i},Ze.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ze.isForwardRef=function(y){return m(y)===l},Ze.isFragment=function(y){return m(y)===r},Ze.isLazy=function(y){return m(y)===d},Ze.isMemo=function(y){return m(y)===p},Ze.isPortal=function(y){return m(y)===t},Ze.isProfiler=function(y){return m(y)===a},Ze.isStrictMode=function(y){return m(y)===n},Ze.isSuspense=function(y){return m(y)===u},Ze.isSuspenseList=function(y){return m(y)===c},Ze.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===a||y===n||y===u||y===c||y===h||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===p||y.$$typeof===i||y.$$typeof===o||y.$$typeof===l||y.$$typeof===f||y.getModuleId!==void 0)},Ze.typeOf=m,Ze}s(OP,"requireReactIs_production");var wE;function RP(){return wE||(wE=1,EE.exports=OP()),EE.exports}s(RP,"requireReactIs$1");var FP=RP(),qH=Yg(FP),MH=Jg({__proto__:null,default:qH},[FP]),AE={exports:{}},Ke={},xE;function IP(){if(xE)return Ke;xE=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case r:case a:case n:case c:case p:return g;default:switch(g=g&&g.$$typeof,g){case l:case i:case u:case h:case d:case o:return g;default:return b}}case t:return b}}}return s(y,"v"),Ke.ContextConsumer=i,Ke.ContextProvider=o,Ke.Element=e,Ke.ForwardRef=u,Ke.Fragment=r,Ke.Lazy=h,Ke.Memo=d,Ke.Portal=t,Ke.Profiler=a,Ke.StrictMode=n,Ke.Suspense=c,Ke.SuspenseList=p,Ke.isAsyncMode=function(){return!1},Ke.isConcurrentMode=function(){return!1},Ke.isContextConsumer=function(g){return y(g)===i},Ke.isContextProvider=function(g){return y(g)===o},Ke.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ke.isForwardRef=function(g){return y(g)===u},Ke.isFragment=function(g){return y(g)===r},Ke.isLazy=function(g){return y(g)===h},Ke.isMemo=function(g){return y(g)===d},Ke.isPortal=function(g){return y(g)===t},Ke.isProfiler=function(g){return y(g)===a},Ke.isStrictMode=function(g){return y(g)===n},Ke.isSuspense=function(g){return y(g)===c},Ke.isSuspenseList=function(g){return y(g)===p},Ke.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===a||g===n||g===c||g===p||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===o||g.$$typeof===i||g.$$typeof===u||g.$$typeof===m||g.getModuleId!==void 0)},Ke.typeOf=y,Ke}s(IP,"requireReactIs_production_min");var SE;function kP(){return SE||(SE=1,AE.exports=IP()),AE.exports}s(kP,"requireReactIs");var NP=kP(),LH=Yg(NP),$H=Jg({__proto__:null,default:LH},[NP]),UH=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],fa=Object.fromEntries(UH.map(e=>[e,t=>$H[e](t)||MH[e](t)]));function Kg(e,t=[]){if(Array.isArray(e))for(let r of e)Kg(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}s(Kg,"getChildren");function _f(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(fa.isFragment(e))return"React.Fragment";if(fa.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(fa.isContextProvider(e))return"Context.Provider";if(fa.isContextConsumer(e))return"Context.Consumer";if(fa.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(fa.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}s(_f,"getType");function jP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}s(jP,"getPropKeys$1");var VH=s((e,t,r,n,a,o)=>++n>t.maxDepth?Xc(_f(e),t):Kc(_f(e),Wc(jP(e),e.props,t,r+t.indent,n,a,o),Yc(Kg(e.props.children),t,r+t.indent,n,a,o),t,r),"serialize$1"),HH=s(e=>e!=null&&fa.isElement(e),"test$1"),zH={serialize:VH,test:HH},JH=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function BP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}s(BP,"getPropKeys");var GH=s((e,t,r,n,a,o)=>++n>t.maxDepth?Xc(e.type,t):Kc(e.type,e.props?Wc(BP(e),e.props,t,r+t.indent,n,a,o):"",e.children?Yc(e.children,t,r+t.indent,n,a,o):"",t,r),"serialize"),WH=s(e=>e&&e.$$typeof===JH,"test"),YH={serialize:GH,test:WH},qP=Object.prototype.toString,KH=Date.prototype.toISOString,XH=Error.prototype.toString,_E=RegExp.prototype.toString;function ki(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}s(ki,"getConstructorName");function MP(e){return typeof window<"u"&&e===window}s(MP,"isWindow");var QH=/^Symbol\((.*)\)(.*)$/,ZH=/\n/g,LP=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};s(LP,"PrettyFormatPluginError");var $P=LP;function UP(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}s(UP,"isToStringedArrayType");function VP(e){return Object.is(e,-0)?"-0":String(e)}s(VP,"printNumber");function HP(e){return`${e}n`}s(HP,"printBigInt");function Tf(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}s(Tf,"printFunction");function Pf(e){return String(e).replace(QH,"Symbol($1)")}s(Pf,"printSymbol");function Df(e){return`[${XH.call(e)}]`}s(Df,"printError");function Xg(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return VP(e);if(a==="bigint")return HP(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return Tf(e,t);if(a==="symbol")return Pf(e);let o=qP.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Tf(e,t):o==="[object Symbol]"?Pf(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":KH.call(e):o==="[object Error]"?Df(e):o==="[object RegExp]"?r?_E.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):_E.call(e):e instanceof Error?Df(e):null}s(Xg,"printBasicValue");function Qg(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Cn(e.toJSON(),t,r,n,a,!0);let u=qP.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${os(e,t,r,n,a,Cn)}]`:UP(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${os(e,t,r,n,a,Cn)}]`:u==="[object Map]"?i?"[Map]":`Map {${ti(e.entries(),t,r,n,a,Cn," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${Jc(e.values(),t,r,n,a,Cn)}}`:i||MP(e)?`[${ki(e)}]`:`${l||!t.printBasicPrototype&&ki(e)==="Object"?"":`${ki(e)} `}{${Gc(e,t,r,n,a,Cn)}}`}s(Qg,"printComplexValue");var ez={test:s(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a,e];let i=++n>t.maxDepth,{message:l,cause:u,...c}=e,p={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:ki(e);return i?`[${d}]`:`${d} {${ti(Object.entries(p).values(),t,r,n,a,o)}}`}};function zP(e){return e.serialize!=null}s(zP,"isNewPlugin");function Zg(e,t,r,n,a,o){let i;try{i=zP(e)?e.serialize(t,r,n,a,o,Cn):e.print(t,l=>Cn(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(ZH,`
252
+ ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new $P(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}s(Zg,"printPlugin");function eb(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new $P(n.message,n.stack)}return null}s(eb,"findPlugin");function Cn(e,t,r,n,a,o){let i=eb(t.plugins,e);if(i!==null)return Zg(i,e,t,r,n,a);let l=Xg(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Qg(e,t,r,n,a,o)}s(Cn,"printer");var tb={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},JP=Object.keys(tb),Ir={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:tb};function GP(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ir,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}s(GP,"validateOptions");function WP(){return JP.reduce((e,t)=>{let r=tb[t],n=r&&Je[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}s(WP,"getColorsHighlight");function YP(){return JP.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}s(YP,"getColorsEmpty");function rb(e){return(e==null?void 0:e.printFunctionName)??Ir.printFunctionName}s(rb,"getPrintFunctionName");function nb(e){return(e==null?void 0:e.escapeRegex)??Ir.escapeRegex}s(nb,"getEscapeRegex");function ab(e){return(e==null?void 0:e.escapeString)??Ir.escapeString}s(ab,"getEscapeString");function Of(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ir.callToJSON,colors:e!=null&&e.highlight?WP():YP(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ir.compareKeys,escapeRegex:nb(e),escapeString:ab(e),indent:e!=null&&e.min?"":KP((e==null?void 0:e.indent)??Ir.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ir.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ir.maxWidth,min:(e==null?void 0:e.min)??Ir.min,plugins:(e==null?void 0:e.plugins)??Ir.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:rb(e),spacingInner:e!=null&&e.min?" ":`
253
+ `,spacingOuter:e!=null&&e.min?"":`
254
+ `}}s(Of,"getConfig");function KP(e){return Array.from({length:e+1}).join(" ")}s(KP,"createIndent");function jr(e,t){if(t&&(GP(t),t.plugins)){let n=eb(t.plugins,e);if(n!==null)return Zg(n,e,Of(t),"",0,[])}let r=Xg(e,rb(t),nb(t),ab(t));return r!==null?r:Qg(e,Of(t),"",0,[])}s(jr,"format");var ob={AsymmetricMatcher:yH,DOMCollection:CH,DOMElement:_H,Immutable:BH,ReactElement:zH,ReactTestComponent:YH,Error:ez},{AsymmetricMatcher:tz,DOMCollection:rz,DOMElement:nz,Immutable:az,ReactElement:oz,ReactTestComponent:iz}=ob,TE=[iz,oz,nz,rz,az,tz];function nr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=jr(e,{maxDepth:t,escapeString:!1,plugins:TE,...n})}catch{o=jr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:TE,...n})}return o.length>=a&&t>1?nr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}s(nr,"stringify");var sz=/%[sdjifoOc%]/g;function XP(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i<e.length;i++)o.push(to(e[i],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(sz,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?typeof i.toString=="function"&&i.toString!==Object.prototype.toString?i.toString():to(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return to(e[r++],{showHidden:!0,showProxy:!0});case"%O":return to(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?a+=` ${o}`:a+=` ${to(o)}`;return a}s(XP,"format");function to(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Xi(e,t)}s(to,"inspect");function QP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(QP,"getDefaultExportFromCjs");function Yr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}s(Yr,"assertTypes");function Ni(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(Ni,"isObject");function ZP(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}s(ZP,"isFinalObj");function du(e){return Object.prototype.toString.apply(e).slice(8,-1)}s(du,"getType");function eD(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}s(eD,"collectOwnProperties");function ib(e){let t=new Set;return ZP(e)?[]:(eD(e,t),Array.from(t))}s(ib,"getOwnProperties");var tD={forceWritable:!1};function Rf(e,t=tD){return fu(e,new WeakMap,t)}s(Rf,"deepClone");function fu(e,t,r=tD){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=fu(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=ib(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=fu(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}s(fu,"clone");var td,PE;function rD(){if(PE)return td;PE=1;var e,t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,f=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,a=/[^<>{}]+/y,b=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,i=/^(?:return|throw|yield)$/,c=RegExp(l.source),td=s(function*(T,{jsx:x=!1}={}){var _,w,E,C,P,k,N,G,Y,O,q,B,K,Q;for({length:k}=T,C=0,P="",Q=[{tag:"JS"}],_=[],q=0,B=!1;C<k;){switch(G=Q[Q.length-1],G.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(T[C]==="/"&&(b.test(P)||o.test(P))&&(h.lastIndex=C,N=h.exec(T))){C=h.lastIndex,P=N[0],B=!0,yield{type:"RegularExpressionLiteral",value:N[0],closed:N[1]!==void 0&&N[1]!=="\\"};continue}if(d.lastIndex=C,N=d.exec(T)){switch(K=N[0],Y=d.lastIndex,O=K,K){case"(":P==="?NonExpressionParenKeyword"&&Q.push({tag:"JSNonExpressionParen",nesting:q}),q++,B=!1;break;case")":q--,B=!0,G.tag==="JSNonExpressionParen"&&q===G.nesting&&(Q.pop(),O="?NonExpressionParenEnd",B=!1);break;case"{":d.lastIndex=0,E=!g.test(P)&&(b.test(P)||o.test(P)),_.push(E),B=!1;break;case"}":switch(G.tag){case"InterpolationInTemplate":if(_.length===G.nesting){y.lastIndex=C,N=y.exec(T),C=y.lastIndex,P=N[0],N[1]==="${"?(P="?InterpolationInTemplate",B=!1,yield{type:"TemplateMiddle",value:N[0]}):(Q.pop(),B=!0,yield{type:"TemplateTail",value:N[0],closed:N[1]==="`"});continue}break;case"InterpolationInJSX":if(_.length===G.nesting){Q.pop(),C+=1,P="}",yield{type:"JSXPunctuator",value:"}"};continue}}B=_.pop(),O=B?"?ExpressionBraceEnd":"}";break;case"]":B=!0;break;case"++":case"--":O=B?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(x&&(b.test(P)||o.test(P))){Q.push({tag:"JSXTag"}),C+=1,P="<",yield{type:"JSXPunctuator",value:K};continue}B=!1;break;default:B=!1}C=Y,P=O,yield{type:"Punctuator",value:K};continue}if(e.lastIndex=C,N=e.exec(T)){switch(C=e.lastIndex,O=N[0],N[0]){case"for":case"if":case"while":case"with":P!=="."&&P!=="?."&&(O="?NonExpressionParenKeyword")}P=O,B=!o.test(N[0]),yield{type:N[1]==="#"?"PrivateIdentifier":"IdentifierName",value:N[0]};continue}if(m.lastIndex=C,N=m.exec(T)){C=m.lastIndex,P=N[0],B=!0,yield{type:"StringLiteral",value:N[0],closed:N[2]!==void 0};continue}if(p.lastIndex=C,N=p.exec(T)){C=p.lastIndex,P=N[0],B=!0,yield{type:"NumericLiteral",value:N[0]};continue}if(y.lastIndex=C,N=y.exec(T)){C=y.lastIndex,P=N[0],N[1]==="${"?(P="?InterpolationInTemplate",Q.push({tag:"InterpolationInTemplate",nesting:_.length}),B=!1,yield{type:"TemplateHead",value:N[0]}):(B=!0,yield{type:"NoSubstitutionTemplate",value:N[0],closed:N[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=C,N=r.exec(T)){switch(C=r.lastIndex,O=N[0],N[0]){case"<":Q.push({tag:"JSXTag"});break;case">":Q.pop(),P==="/"||G.tag==="JSXTagEnd"?(O="?JSX",B=!0):Q.push({tag:"JSXChildren"});break;case"{":Q.push({tag:"InterpolationInJSX",nesting:_.length}),O="?InterpolationInJSX",B=!1;break;case"/":P==="<"&&(Q.pop(),Q[Q.length-1].tag==="JSXChildren"&&Q.pop(),Q.push({tag:"JSXTagEnd"}))}P=O,yield{type:"JSXPunctuator",value:N[0]};continue}if(t.lastIndex=C,N=t.exec(T)){C=t.lastIndex,P=N[0],yield{type:"JSXIdentifier",value:N[0]};continue}if(n.lastIndex=C,N=n.exec(T)){C=n.lastIndex,P=N[0],yield{type:"JSXString",value:N[0],closed:N[2]!==void 0};continue}break;case"JSXChildren":if(a.lastIndex=C,N=a.exec(T)){C=a.lastIndex,P=N[0],yield{type:"JSXText",value:N[0]};continue}switch(T[C]){case"<":Q.push({tag:"JSXTag"}),C++,P="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":Q.push({tag:"InterpolationInJSX",nesting:_.length}),C++,P="?InterpolationInJSX",B=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=C,N=v.exec(T)){C=v.lastIndex,yield{type:"WhiteSpace",value:N[0]};continue}if(l.lastIndex=C,N=l.exec(T)){C=l.lastIndex,B=!1,i.test(P)&&(P="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:N[0]};continue}if(u.lastIndex=C,N=u.exec(T)){C=u.lastIndex,c.test(N[0])&&(B=!1,i.test(P)&&(P="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:N[0],closed:N[1]!==void 0};continue}if(f.lastIndex=C,N=f.exec(T)){C=f.lastIndex,B=!1,yield{type:"SingleLineComment",value:N[0]};continue}w=String.fromCodePoint(T.codePointAt(C)),C+=w.length,P=w,B=!1,yield{type:G.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:w}}},"jsTokens_1"),td}s(rD,"requireJsTokens");rD();var nD={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(nD.keyword);new Set(nD.strict);var Gt=-1,Nt=1,wt=0,aD=class{constructor(t,r){Et(this,0);Et(this,1);this[0]=t,this[1]=r}};s(aD,"Diff");var gt=aD;function oD(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(o,a)===t.substring(o,a)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(oD,"diff_commonPrefix");function sb(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;r<a;)e.substring(e.length-a,e.length-o)===t.substring(t.length-a,t.length-o)?(r=a,o=r):n=a,a=Math.floor((n-r)/2+r);return a}s(sb,"diff_commonSuffix");function Ff(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let a=Math.min(r,n);if(e===t)return a;let o=0,i=1;for(;;){let l=e.substring(a-i),u=t.indexOf(l);if(u===-1)return o;i+=u,(u===0||e.substring(a-i)===t.substring(0,i))&&(o=i,i++)}}s(Ff,"diff_commonOverlap_");function iD(e){let t=!1,r=[],n=0,a=null,o=0,i=0,l=0,u=0,c=0;for(;o<e.length;)e[o][0]===wt?(r[n++]=o,i=u,l=c,u=0,c=0,a=e[o][1]):(e[o][0]===Nt?u+=e[o][1].length:c+=e[o][1].length,a&&a.length<=Math.max(i,l)&&a.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new gt(Gt,a)),e[r[n-1]+1][0]=Nt,n--,n--,o=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&lb(e),sD(e),o=1;o<e.length;){if(e[o-1][0]===Gt&&e[o][0]===Nt){let p=e[o-1][1],d=e[o][1],h=Ff(p,d),f=Ff(d,p);h>=f?(h>=p.length/2||h>=d.length/2)&&(e.splice(o,0,new gt(wt,d.substring(0,h))),e[o-1][1]=p.substring(0,p.length-h),e[o+1][1]=d.substring(h),o++):(f>=p.length/2||f>=d.length/2)&&(e.splice(o,0,new gt(wt,p.substring(0,f))),e[o-1][0]=Nt,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=Gt,e[o+1][1]=p.substring(f),o++),o++}o++}}s(iD,"diff_cleanupSemantic");var DE=/[^a-z0-9]/i,OE=/\s/,RE=/[\r\n]/,lz=/\n\r?\n$/,uz=/^\r?\n\r?\n/;function sD(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===wt&&e[t+1][0]===wt){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],o=sb(r,n);if(o){let p=n.substring(n.length-o);r=r.substring(0,r.length-o),n=p+n.substring(0,n.length-o),a=p+a}let i=r,l=n,u=a,c=Ei(r,n)+Ei(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let p=Ei(r,n)+Ei(n,a);p>=c&&(c=p,i=r,l=n,u=a)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}s(sD,"diff_cleanupSemanticLossless");function lb(e){e.push(new gt(wt,""));let t=0,r=0,n=0,a="",o="",i;for(;t<e.length;)switch(e[t][0]){case Nt:n++,o+=e[t][1],t++;break;case Gt:r++,a+=e[t][1],t++;break;case wt:r+n>1?(r!==0&&n!==0&&(i=oD(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===wt?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new gt(wt,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=sb(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new gt(Gt,a)),t++),o.length&&(e.splice(t,0,new gt(Nt,o)),t++),t++):t!==0&&e[t-1][0]===wt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===wt&&e[t+1][0]===wt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&lb(e)}s(lb,"diff_cleanupMerge");function Ei(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(DE),o=n.match(DE),i=a&&r.match(OE),l=o&&n.match(OE),u=i&&r.match(RE),c=l&&n.match(RE),p=u&&e.match(lz),d=c&&t.match(uz);return p||d?5:u||c?4:a&&!i&&l?3:i||l?2:a||o?1:0}s(Ei,"diff_cleanupSemanticScore_");var lD="Compared values have no visual difference.",cz="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Zs={},FE;function uD(){if(FE)return Zs;FE=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=h;let e="diff-sequences",t=0,r=s((f,m,y,g,b)=>{let v=0;for(;f<m&&y<g&&b(f,y);)f+=1,y+=1,v+=1;return v},"countCommonItemsF"),n=s((f,m,y,g,b)=>{let v=0;for(;f<=m&&y<=g&&b(m,g);)m-=1,g-=1,v+=1;return v},"countCommonItemsR"),a=s((f,m,y,g,b,v,T)=>{let x=0,_=-f,w=v[x],E=w;v[x]+=r(w+1,m,g+w-_+1,y,b);let C=f<T?f:T;for(x+=1,_+=2;x<=C;x+=1,_+=2){if(x!==f&&E<v[x])w=v[x];else if(w=E+1,m<=w)return x-1;E=v[x],v[x]=w+r(w+1,m,g+w-_+1,y,b)}return T},"extendPathsF"),o=s((f,m,y,g,b,v,T)=>{let x=0,_=f,w=v[x],E=w;v[x]-=n(m,w-1,y,g+w-_-1,b);let C=f<T?f:T;for(x+=1,_-=2;x<=C;x+=1,_-=2){if(x!==f&&v[x]<E)w=v[x];else if(w=E-1,w<m)return x-1;E=v[x],v[x]=w-n(m,w-1,y,g+w-_-1,b)}return T},"extendPathsR"),i=s((f,m,y,g,b,v,T,x,_,w,E)=>{let C=g-m,P=y-m,k=b-g-P,N=-k-(f-1),G=-k+(f-1),Y=t,O=f<x?f:x;for(let q=0,B=-f;q<=O;q+=1,B+=2){let K=q===0||q!==f&&Y<T[q],Q=K?T[q]:Y,ne=K?Q:Q+1,$=C+ne-B,J=r(ne+1,y,$+1,b,v),U=ne+J;if(Y=T[q],T[q]=U,N<=B&&B<=G){let X=(f-1-(B+k))/2;if(X<=w&&_[X]-1<=U){let ee=C+Q-(K?B+1:B-1),se=n(m,Q,g,ee,v),te=Q-se,pe=ee-se,de=te+1,We=pe+1;E.nChangePreceding=f-1,f-1===de+We-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=de,E.bEndPreceding=We),E.nCommonPreceding=se,se!==0&&(E.aCommonPreceding=de,E.bCommonPreceding=We),E.nCommonFollowing=J,J!==0&&(E.aCommonFollowing=ne+1,E.bCommonFollowing=$+1);let rt=U+1,Z=$+J+1;return E.nChangeFollowing=f-1,f-1===y+b-rt-Z?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=rt,E.bStartFollowing=Z),!0}}}return!1},"extendOverlappablePathsF"),l=s((f,m,y,g,b,v,T,x,_,w,E)=>{let C=b-y,P=y-m,k=b-g-P,N=k-f,G=k+f,Y=t,O=f<w?f:w;for(let q=0,B=f;q<=O;q+=1,B-=2){let K=q===0||q!==f&&_[q]<Y,Q=K?_[q]:Y,ne=K?Q:Q-1,$=C+ne-B,J=n(m,ne-1,g,$-1,v),U=ne-J;if(Y=_[q],_[q]=U,N<=B&&B<=G){let X=(f+(B-k))/2;if(X<=x&&U-1<=T[X]){let ee=$-J;if(E.nChangePreceding=f,f===U+ee-m-g?(E.aEndPreceding=m,E.bEndPreceding=g):(E.aEndPreceding=U,E.bEndPreceding=ee),E.nCommonPreceding=J,J!==0&&(E.aCommonPreceding=U,E.bCommonPreceding=ee),E.nChangeFollowing=f-1,f===1)E.nCommonFollowing=0,E.aStartFollowing=y,E.bStartFollowing=b;else{let se=C+Q-(K?B-1:B+1),te=r(Q,y,se,b,v);E.nCommonFollowing=te,te!==0&&(E.aCommonFollowing=Q,E.bCommonFollowing=se);let pe=Q+te,de=se+te;f-1===y+b-pe-de?(E.aStartFollowing=y,E.bStartFollowing=b):(E.aStartFollowing=pe,E.bStartFollowing=de)}return!0}}}return!1},"extendOverlappablePathsR"),u=s((f,m,y,g,b,v,T,x,_)=>{let w=g-m,E=b-y,C=y-m,P=b-g,k=P-C,N=C,G=C;if(T[0]=m-1,x[0]=y,k%2===0){let Y=(f||k)/2,O=(C+P)/2;for(let q=1;q<=O;q+=1)if(N=a(q,y,b,w,v,T,N),q<Y)G=o(q,m,g,E,v,x,G);else if(l(q,m,y,g,b,v,T,N,x,G,_))return}else{let Y=((f||k)+1)/2,O=(C+P+1)/2,q=1;for(N=a(q,y,b,w,v,T,N),q+=1;q<=O;q+=1)if(G=o(q-1,m,g,E,v,x,G),q<Y)N=a(q,y,b,w,v,T,N);else if(i(q,m,y,g,b,v,T,N,x,G,_))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${y} bStart=${g} bEnd=${b}`)},"divide"),c=s((f,m,y,g,b,v,T,x,_,w)=>{if(b-g<y-m){if(v=!v,v&&T.length===1){let{foundSubsequence:X,isCommon:ee}=T[0];T[1]={foundSubsequence:s((se,te,pe)=>{X(se,pe,te)},"foundSubsequence"),isCommon:s((se,te)=>ee(te,se),"isCommon")}}let J=m,U=y;m=g,y=b,g=J,b=U}let{foundSubsequence:E,isCommon:C}=T[v?1:0];u(f,m,y,g,b,C,x,_,w);let{nChangePreceding:P,aEndPreceding:k,bEndPreceding:N,nCommonPreceding:G,aCommonPreceding:Y,bCommonPreceding:O,nCommonFollowing:q,aCommonFollowing:B,bCommonFollowing:K,nChangeFollowing:Q,aStartFollowing:ne,bStartFollowing:$}=w;m<k&&g<N&&c(P,m,k,g,N,v,T,x,_,w),G!==0&&E(G,Y,O),q!==0&&E(q,B,K),ne<y&&$<b&&c(Q,ne,y,$,b,v,T,x,_,w)},"findSubsequences"),p=s((f,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${f} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${f} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${f} value ${m} is a negative integer`)},"validateLength"),d=s((f,m)=>{let y=typeof m;if(y!=="function")throw new TypeError(`${e}: ${f} typeof ${y} is not a function`)},"validateCallback");function h(f,m,y,g){p("aLength",f),p("bLength",m),d("isCommon",y),d("foundSubsequence",g);let b=r(0,f,0,m,y);if(b!==0&&g(b,0,0),f!==b||m!==b){let v=b,T=b,x=n(v,f-1,T,m-1,y),_=f-x,w=m-x,E=b+x;f!==E&&m!==E&&c(0,v,_,T,w,!1,[{foundSubsequence:g,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&g(x,_,w)}}return s(h,"diffSequence"),Zs}s(uD,"requireBuild");var pz=uD(),cD=QP(pz);function pD(e,t){return e.replace(/\s+$/,r=>t(r))}s(pD,"formatTrailingSpaces");function Zc(e,t,r,n,a,o){return e.length!==0?r(`${n} ${pD(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}s(Zc,"printDiffLine");function ub(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Zc(e,t,r,n,a,o)}s(ub,"printDeleteLine");function cb(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Zc(e,t,r,n,a,o)}s(cb,"printInsertLine");function pb(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Zc(e,t,r,n,a,o)}s(pb,"printCommonLine");function If(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}s(If,"createPatchMark");function dD(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let x=u;for(;u!==r&&e[u][0]===wt;)u+=1;if(x!==u)if(x===0)u>n&&(o-=u-n,i=!0);else if(u===r){let _=u-x;_>n&&(o-=_-n,i=!0)}else{let _=u-x;_>a&&(o-=_-a,l+=1)}for(;u!==r&&e[u][0]!==wt;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let p=o-1,d=[],h=0;c&&d.push("");let f=0,m=0,y=0,g=0,b=s(x=>{let _=d.length;d.push(pb(x,_===0||_===p,t)),y+=1,g+=1},"pushCommonLine"),v=s(x=>{let _=d.length;d.push(ub(x,_===0||_===p,t)),y+=1},"pushDeleteLine"),T=s(x=>{let _=d.length;d.push(cb(x,_===0||_===p,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let x=u;for(;u!==r&&e[u][0]===wt;)u+=1;if(x!==u)if(x===0){u>n&&(x=u-n,f=x,m=x,y=f,g=m);for(let _=x;_!==u;_+=1)b(e[_][1])}else if(u===r){let _=u-x>n?x+n:u;for(let w=x;w!==_;w+=1)b(e[w][1])}else{let _=u-x;if(_>a){let w=x+n;for(let C=x;C!==w;C+=1)b(e[C][1]);d[h]=If(f,y,m,g,t),h=d.length,d.push("");let E=_-a;f=y+E,m=g+E,y=f,g=m;for(let C=u-n;C!==u;C+=1)b(e[C][1])}else for(let w=x;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Gt;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Nt;)T(e[u][1]),u+=1}return c&&(d[h]=If(f,y,m,g,t)),d.join(`
255
+ `)}s(dD,"joinAlignedDiffsNoExpand");function fD(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case Gt:return ub(o,i,t);case Nt:return cb(o,i,t);default:return pb(o,i,t)}}).join(`
256
+ `)}s(fD,"joinAlignedDiffsExpand");var rd=s(e=>e,"noColor"),hD=5,dz=0;function mD(){return{aAnnotation:"Expected",aColor:Je.green,aIndicator:"-",bAnnotation:"Received",bColor:Je.red,bIndicator:"+",changeColor:Je.inverse,changeLineTrailingSpaceColor:rd,commonColor:Je.dim,commonIndicator:" ",commonLineTrailingSpaceColor:rd,compareKeys:void 0,contextLines:hD,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Je.yellow,printBasicPrototype:!1,truncateThreshold:dz,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:rd}}s(mD,"getDefaultOptions");function yD(e){return e&&typeof e=="function"?e:void 0}s(yD,"getCompareKeys");function gD(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:hD}s(gD,"getContextLines");function na(e={}){return{...mD(),...e,compareKeys:yD(e.compareKeys),contextLines:gD(e.contextLines)}}s(na,"normalizeDiffOptions");function ba(e){return e.length===1&&e[0].length===0}s(ba,"isEmptyString");function bD(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Gt:t+=1;break;case Nt:r+=1;break}}),{a:t,b:r}}s(bD,"countChanges");function vD({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",p="";if(i){let f=String(u.a),m=String(u.b),y=n.length-e.length,g=" ".repeat(Math.max(0,y)),b=" ".repeat(Math.max(0,-y)),v=m.length-f.length,T=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${T}${f}`,p=`${b} ${o} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${o} ${n}${p}`;return`${t(d)}
257
+ ${a(h)}
258
+
259
+ `}s(vD,"printAnnotation");function ep(e,t,r){return vD(r,bD(e))+(r.expand?fD(e,r):dD(e,r))+(t?r.truncateAnnotationColor(`
260
+ ${r.truncateAnnotation}`):"")}s(ep,"printDiffLines");function qs(e,t,r){let n=na(r),[a,o]=db(ba(e)?[]:e,ba(t)?[]:t,n);return ep(a,o,n)}s(qs,"diffLinesUnified");function ED(e,t,r,n,a){if(ba(e)&&ba(r)&&(e=[],r=[]),ba(t)&&ba(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return qs(e,t,a);let[o,i]=db(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case Gt:c[1]=e[l],l+=1;break;case Nt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),ep(o,i,na(a))}s(ED,"diffLinesUnified2");function db(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=[],p=0,d=0;for(cD(o,i,u,s((h,f,m)=>{for(;p!==f;p+=1)c.push(new gt(Gt,e[p]));for(;d!==m;d+=1)c.push(new gt(Nt,t[d]));for(;h!==0;h-=1,p+=1,d+=1)c.push(new gt(wt,t[d]))},"foundSubsequence"));p!==o;p+=1)c.push(new gt(Gt,e[p]));for(;d!==i;d+=1)c.push(new gt(Nt,t[d]));return[c,l]}s(db,"diffLinesRaw");function kf(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}s(kf,"getType");function Nf(e){return e.includes(`\r
261
+ `)?`\r
262
+ `:`
263
+ `}s(Nf,"getNewLineSymbol");function CD(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,i=t.length;if(n){let h=e.includes(`
264
+ `),f=t.includes(`
265
+ `),m=Nf(e),y=Nf(t),g=h?`${e.split(m,a).join(m)}
266
+ `:e,b=f?`${t.split(y,a).join(y)}
267
+ `:t;o=g.length,i=b.length}let l=o!==e.length||i!==t.length,u=s((h,f)=>e[h]===t[f],"isCommon"),c=0,p=0,d=[];return cD(o,i,u,s((h,f,m)=>{c!==f&&d.push(new gt(Gt,e.slice(c,f))),p!==m&&d.push(new gt(Nt,t.slice(p,m))),c=f+h,p=m+h,d.push(new gt(wt,t.slice(m,p)))},"foundSubsequence")),c!==o&&d.push(new gt(Gt,e.slice(c))),p!==i&&d.push(new gt(Nt,t.slice(p))),[d,l]}s(CD,"diffStrings");function wD(e,t,r){return t.reduce((n,a)=>n+(a[0]===wt?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}s(wD,"concatenateRelevantDiffs");var AD=class{constructor(t,r){Et(this,"op");Et(this,"line");Et(this,"lines");Et(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new gt(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new gt(this.op,wD(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new gt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
268
+ `)){let n=r.split(`
269
+ `),a=n.length-1;n.forEach((o,i)=>{i<a?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};s(AD,"ChangeBuffer");var IE=AD,xD=class{constructor(t,r){Et(this,"deleteBuffer");Et(this,"insertBuffer");Et(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
270
+ `)){let a=n.split(`
271
+ `),o=a.length-1;a.forEach((i,l)=>{if(l===0){let u=new gt(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<o?this.pushDiffCommonLine(new gt(r,i)):i.length!==0&&this.pushDiffChangeLines(new gt(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};s(xD,"CommonBuffer");var fz=xD;function SD(e,t){let r=new IE(Gt,t),n=new IE(Nt,t),a=new fz(r,n);return e.forEach(o=>{switch(o[0]){case Gt:r.align(o);break;case Nt:n.align(o);break;default:a.align(o)}}),a.getLines()}s(SD,"getAlignedDiffs");function _D(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===wt&&(a!==r||n[1]!==`
272
+ `))}return e.some(r=>r[0]===wt)}s(_D,"hasCommonDiff");function TD(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
273
+ `)||t.includes(`
274
+ `),[a,o]=fb(n?`${e}
275
+ `:e,n?`${t}
276
+ `:t,!0,r);if(_D(a,n)){let i=na(r),l=SD(a,i.changeColor);return ep(l,o,i)}}return qs(e.split(`
277
+ `),t.split(`
278
+ `),r)}s(TD,"diffStringsUnified");function fb(e,t,r,n){let[a,o]=CD(e,t,n);return r&&iD(a),[a,o]}s(fb,"diffStringsRaw");function hu(e,t){let{commonColor:r}=na(t);return r(e)}s(hu,"getCommonMessage");var{AsymmetricMatcher:hz,DOMCollection:mz,DOMElement:yz,Immutable:gz,ReactElement:bz,ReactTestComponent:vz}=ob,PD=[vz,bz,yz,mz,gz,hz,ob.Error],jf={plugins:PD},DD={callToJSON:!1,maxDepth:8,plugins:PD};function za(e,t,r){if(Object.is(e,t))return"";let n=kf(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==kf(t)){let i=s(function(T){return T.length<=g?T:`${T.slice(0,g)}...`},"truncate2"),{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:p,bColor:d,bIndicator:h}=na(r),f=mu(DD,r),m=jr(e,f),y=jr(t,f),g=1e5;m=i(m),y=i(y);let b=`${u(`${c} ${l}:`)}
279
+ ${m}`,v=`${d(`${h} ${p}:`)}
280
+ ${y}`;return`${b}
281
+
282
+ ${v}`}if(!o)switch(n){case"string":return qs(e.split(`
283
+ `),t.split(`
284
+ `),r);case"boolean":case"number":return OD(e,t,r);case"map":return vl(Bf(e),Bf(t),r);case"set":return vl(qf(e),qf(t),r);default:return vl(e,t,r)}}s(za,"diff");function OD(e,t,r){let n=jr(e,jf),a=jr(t,jf);return n===a?"":qs(n.split(`
285
+ `),a.split(`
286
+ `),r)}s(OD,"comparePrimitive");function Bf(e){return new Map(Array.from(e.entries()).sort())}s(Bf,"sortMap");function qf(e){return new Set(Array.from(e.values()).sort())}s(qf,"sortSet");function vl(e,t,r){let n,a=!1;try{let i=mu(jf,r);n=Mf(e,t,i,r)}catch{a=!0}let o=hu(lD,r);if(n===void 0||n===o){let i=mu(DD,r);n=Mf(e,t,i,r),n!==o&&!a&&(n=`${hu(cz,r)}
287
+
288
+ ${n}`)}return n}s(vl,"compareObjects");function mu(e,t){let{compareKeys:r,printBasicPrototype:n}=na(t);return{...e,compareKeys:r,printBasicPrototype:n}}s(mu,"getFormatOptions");function Mf(e,t,r,n){let a={...r,indent:0},o=jr(e,a),i=jr(t,a);if(o===i)return hu(lD,n);{let l=jr(e,r),u=jr(t,r);return ED(l.split(`
289
+ `),u.split(`
290
+ `),o.split(`
291
+ `),i.split(`
292
+ `),n)}}s(Mf,"getObjectsDifference");var kE=2e4;function Lf(e){return du(e)==="Object"&&typeof e.asymmetricMatch=="function"}s(Lf,"isAsymmetricMatcher");function $f(e,t){let r=du(e),n=du(t);return r===n&&(r==="Object"||r==="Array")}s($f,"isReplaceable");function hb(e,t,r){let{aAnnotation:n,bAnnotation:a}=na(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=kE&&e.length<=kE&&t!==e){if(t.includes(`
293
+ `)||e.includes(`
294
+ `))return TD(t,e,r);let[c]=fb(t,e,!0),p=c.some(m=>m[0]===wt),d=RD(n,a),h=d(n)+ID(Uf(c,Gt,p)),f=d(a)+FD(Uf(c,Nt,p));return`${h}
295
+ ${f}`}let o=Rf(t,{forceWritable:!0}),i=Rf(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=mb(i,o);return za(l,u,r)}s(hb,"printDiffOrStringify");function mb(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):$f(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),ib(t).forEach(a=>{let o=t[a],i=e[a];if(Lf(o))o.asymmetricMatch(i)&&(e[a]=o);else if(Lf(i))i.asymmetricMatch(o)&&(t[a]=i);else if($f(i,o)){let l=mb(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}s(mb,"replaceAsymmetricMatcher");function RD(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}s(RD,"getLabelPrinter");var Ez="·";function yb(e){return e.replace(/\s+$/gm,t=>Ez.repeat(t.length))}s(yb,"replaceTrailingSpaces");function FD(e){return Je.red(yb(nr(e)))}s(FD,"printReceived");function ID(e){return Je.green(yb(nr(e)))}s(ID,"printExpected");function Uf(e,t,r){return e.reduce((n,a)=>n+(a[0]===wt?a[1]:a[0]===t?r?Je.inverse(a[1]):a[1]:""),"")}s(Uf,"getCommonAndChangedSubstrings");function ji(e,t){if(!e)throw new Error(t)}s(ji,"d");function va(e,t){return typeof t===e}s(va,"y");function kD(e){return e instanceof Promise}s(kD,"w");function yu(e,t,r){Object.defineProperty(e,t,r)}s(yu,"f");function _a(e,t,r){Object.defineProperty(e,t,{value:r})}s(_a,"l");var Bi=Symbol.for("tinyspy:spy"),Cz=new Set,wz=s(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),Az=s(e=>(yu(e,Bi,{value:{reset:s(()=>wz(e[Bi]),"reset")}}),e[Bi]),"K"),gu=s(e=>e[Bi]||Az(e),"T");function ND(e){ji(va("function",e)||va("undefined",e),"cannot spy on a non-function value");let t=s(function(...n){let a=gu(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[p,d]=o;if(p==="ok")return d;throw d}let i,l="ok",u=a.results.length;if(a.impl)try{new.target?i=Reflect.construct(a.impl,n,new.target):i=a.impl.apply(this,n),l="ok"}catch(p){throw i=p,l="error",a.results.push([l,p]),p}let c=[l,i];return kD(i)&&i.then(p=>a.resolves[u]=["ok",p],p=>a.resolves[u]=["error",p]),a.results.push(c),i},"t");_a(t,"_isMockFunction",!0),_a(t,"length",e?e.length:0),_a(t,"name",e&&e.name||"spy");let r=gu(t);return r.reset(),r.impl=e,t}s(ND,"m");var NE=s((e,t)=>Object.getOwnPropertyDescriptor(e,t),"k"),jE=s((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"O");function gb(e,t,r){ji(!va("undefined",e),"spyOn could not find an object to spy upon"),ji(va("object",e)||va("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!va("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=NE(e,n),i=Object.getPrototypeOf(e),l=i&&NE(i,n),u=o||l;ji(u||n in e,`${String(n)} does not exist`);let c=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",c=!0,r=u.get());let p;u?p=u[a]:a!=="value"?p=s(()=>e[n],"o"):p=e[n];let d=s(y=>{let{value:g,...b}=u||{configurable:!0,writable:!0};a!=="value"&&delete b.writable,b[a]=y,yu(e,n,b)},"g"),h=s(()=>u?yu(e,n,u):d(p),"b");r||(r=p);let f=ND(r);a==="value"&&jE(f,p);let m=f[Bi];return _a(m,"restore",h),_a(m,"getOriginal",()=>c?p():p),_a(m,"willCall",y=>(m.impl=y,f)),d(c?()=>(jE(f,r),f):f),Cz.add(f),f}s(gb,"C");var Ms=new Set;function Eo(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}s(Eo,"isMockFunction");function jD(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,a=gb(e,n);return bb(a)}s(jD,"spyOn");var xz=0;function bb(e){let t=e,r,n=[],a=[],o=[],i=gu(e),l={get calls(){return i.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return o},get results(){return i.results.map(([f,m])=>({type:f==="error"?"throw":"return",value:m}))},get settledResults(){return i.resolves.map(([f,m])=>({type:f==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return i.calls[i.calls.length-1]}},u=[],c=!1;function p(...f){return n.push(this),a.push(this),o.push(++xz),(c?r:u.shift()||r||i.getOriginal()||(()=>{})).apply(this,f)}s(p,"mockCall");let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(i.reset(),n=[],a=[],o=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,u=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),t),t.getMockImplementation=()=>c?r:u.at(0)||r,t.mockImplementation=f=>(r=f,i.willCall(p),t),t.mockImplementationOnce=f=>(u.push(f),t);function h(f,m){let y=r;r=f,i.willCall(p),c=!0;let g=s(()=>{r=y,c=!1},"reset"),b=m();return b instanceof Promise?b.then(()=>(g(),t)):(g(),t)}return s(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:s(()=>l,"get")}),i.willCall(p),Ms.add(t),t}s(bb,"enhanceSpy");function Vf(e){let t=bb(gb({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}s(Vf,"fn");var Sz="@@__IMMUTABLE_RECORD__@@",_z="@@__IMMUTABLE_ITERABLE__@@";function BD(e){return e&&(e[_z]||e[Sz])}s(BD,"isImmutable");var Tz=Object.getPrototypeOf({});function Hf(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}s(Hf,"getUnserializableMessage");function Ea(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(BD(e))return Ea(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${XP(e.sample)}`;if(typeof e.toJSON=="function")return Ea(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=Ea(n,t)}catch(o){r[a]=Hf(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Tz;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=Ea(e[a],t)}catch(o){delete r[a],r[a]=Hf(o)}}),n=Object.getPrototypeOf(n);return r}}s(Ea,"serializeValue");function qD(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}s(qD,"normalizeErrorMessage");function vb(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=hb(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=nr(n.expected,10)),typeof n.actual!="string"&&(n.actual=nr(n.actual,10));try{typeof n.message=="string"&&(n.message=qD(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=vb(n.cause,t,r))}catch{}try{return Ea(n)}catch(a){return Ea(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message}
296
+ Inner error message: ${n==null?void 0:n.message}`))}}s(vb,"processError");var ss=Symbol.for("matchers-object"),ls=Symbol.for("$$jest-matchers-object-storybook"),Eb=Symbol.for("expect-global"),zf=Symbol.for("asymmetric-matchers-object"),Pz={toSatisfy(e,t,r){let{printReceived:n,printExpected:a,matcherHint:o}=this.utils,i=t(e);return{pass:i,message:s(()=>i?`${o(".not.toSatisfy","received","")}
297
+
298
+ Expected value to not satisfy:
299
+ ${r||a(t)}
300
+ Received:
301
+ ${n(e)}`:`${o(".toSatisfy","received","")}
302
+
303
+ Expected value to satisfy:
304
+ ${r||a(t)}
305
+
306
+ Received:
307
+ ${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:a,printExpected:o,matcherHint:i}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${i(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(u=>r(u,e,n));return{pass:l,message:s(()=>l?`${i(".not.toBeOneOf","received","")}
308
+
309
+ Expected value to not be one of:
310
+ ${o(t)}
311
+ Received:
312
+ ${a(e)}`:`${i(".toBeOneOf","received","")}
313
+
314
+ Expected value to be one of:
315
+ ${o(t)}
316
+
317
+ Received:
318
+ ${a(e)}`,"message")}}},bu=Je.green,Cb=Je.red,Dz=Je.inverse,Oz=Je.bold,qn=Je.dim;function MD(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=bu,receivedColor:p=Cb,secondArgumentColor:d=bu}=n,h="",f="expect";return!o&&t!==""&&(h+=qn(`${f}(`)+p(t),f=")"),l!==""&&(h+=qn(`${f}.`)+l,f=""),i&&(h+=`${qn(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(h+=qn(`${f}.`)+e,f=""),r===""?f+="()":(h+=qn(`${f}(`)+c(r),u&&(h+=qn(", ")+d(u)),f=")"),a!==""&&(f+=` // ${a}`),f!==""&&(h+=qn(f)),h}s(MD,"matcherHint");var Rz="·";function wb(e){return e.replace(/\s+$/gm,t=>Rz.repeat(t.length))}s(wb,"replaceTrailingSpaces");function LD(e){return Cb(wb(nr(e)))}s(LD,"printReceived");function $D(e){return bu(wb(nr(e)))}s($D,"printExpected");function Ab(){return{EXPECTED_COLOR:bu,RECEIVED_COLOR:Cb,INVERTED_COLOR:Dz,BOLD_WEIGHT:Oz,DIM_COLOR:qn,diff:za,matcherHint:MD,printReceived:LD,printExpected:$D,printDiffOrStringify:hb}}s(Ab,"getMatcherUtils");function tp(){return globalThis[ls].customEqualityTesters}s(tp,"getCustomEqualityTesters");function Ve(e,t,r,n){return r=r||[],Co(e,t,[],[],r,n?xb:HD)}s(Ve,"equals");function Jf(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&_r("Function",e.asymmetricMatch)}s(Jf,"isAsymmetric");function UD(e,t){let r=Jf(e),n=Jf(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}s(UD,"asymmetricMatch");function Co(e,t,r,n,a,o){let i=!0,l=UD(e,t);if(l!==void 0)return l;let u={equals:Ve};for(let m=0;m<a.length;m++){let y=a[m].call(u,e,t,a);if(y!==void 0)return y}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,y=+t;return m===y||Number.isNaN(m)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Wf(e)&&Wf(t))return e.isEqualNode(t);let p=r.length;for(;p--;){if(r[p]===e)return n[p]===t;if(n[p]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return VD(e,t,r,n,a,o)}finally{r.pop(),n.pop()}let d=Gf(e,o),h,f=d.length;if(Gf(t,o).length!==f)return!1;for(;f--;)if(h=d[f],i=o(t,h)&&Co(e[h],t[h],r,n,a,o),!i)return!1;return r.pop(),n.pop(),i}s(Co,"eq");function VD(e,t,r,n,a,o){let i=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&i&&(i=Co(e.cause,t.cause,r,n,a,o)),e instanceof AggregateError&&t instanceof AggregateError&&i&&(i=Co(e.errors,t.errors,r,n,a,o)),i&&(i=Co({...e},{...t},r,n,a,o)),i}s(VD,"isErrorEqual");function Gf(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}s(Gf,"keys");function HD(e,t){return xb(e,t)&&e[t]!==void 0}s(HD,"hasDefinedKey");function xb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}s(xb,"hasKey");function _r(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}s(_r,"isA");function Wf(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}s(Wf,"isDomNode");var zD="@@__IMMUTABLE_KEYED__@@",JD="@@__IMMUTABLE_SET__@@",Fz="@@__IMMUTABLE_LIST__@@",rp="@@__IMMUTABLE_ORDERED__@@",Iz="@@__IMMUTABLE_RECORD__@@";function GD(e){return!!(e&&e[zD]&&!e[rp])}s(GD,"isImmutableUnorderedKeyed");function WD(e){return!!(e&&e[JD]&&!e[rp])}s(WD,"isImmutableUnorderedSet");function Ls(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}s(Ls,"isObjectLiteral");function YD(e){return!!(e&&Ls(e)&&e[Fz])}s(YD,"isImmutableList");function KD(e){return!!(e&&Ls(e)&&e[zD]&&e[rp])}s(KD,"isImmutableOrderedKeyed");function XD(e){return!!(e&&Ls(e)&&e[JD]&&e[rp])}s(XD,"isImmutableOrderedSet");function QD(e){return!!(e&&Ls(e)&&e[Iz])}s(QD,"isImmutableRecord");var ZD=Symbol.iterator;function Yf(e){return!!(e!=null&&e[ZD])}s(Yf,"hasIterator");function hr(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Yf(e)||!Yf(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let i=[...r.filter(c=>c!==hr),l];function l(c,p){return hr(c,p,[...r],[...n],[...a])}if(s(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(_r("Set",e)||WD(e)){let c=!0;for(let p of e)if(!t.has(p)){let d=!1;for(let h of t)Ve(p,h,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(_r("Map",e)||GD(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!Ve(p[1],t.get(p[0]),i)){let d=!1;for(let h of t){let f=Ve(p[0],h[0],i),m=!1;f===!0&&(m=Ve(p[1],h[1],i)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[ZD]();for(let c of e){let p=u.next();if(p.done||!Ve(c,p.value,i))return!1}if(!u.next().done)return!1;if(!YD(e)&&!KD(e)&&!XD(e)&&!QD(e)){let c=Object.entries(e),p=Object.entries(t);if(!Ve(c,p))return!1}return n.pop(),a.pop(),!0}s(hr,"iterableEquality");function np(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||np(Object.getPrototypeOf(e),t)}s(np,"hasPropertyInObject");function eO(e){return Ni(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}s(eO,"isObjectWithKeys");function ri(e,t,r=[]){let n=r.filter(o=>o!==ri),a=s((o=new WeakMap)=>(i,l)=>{if(eO(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(o.has(l[u]))return Ve(i[u],l[u],n);o.set(l[u],!0)}let c=i!=null&&np(i,u)&&Ve(i[u],l[u],[...n,a(o)]);return o.delete(l[u]),c})},"subsetEqualityWithContext");return a()(e,t)}s(ri,"subsetEquality");function Kf(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}s(Kf,"typeEquality");function Xf(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;a<r.byteLength;a++)if(r.getUint8(a)!==n.getUint8(a))return!1;return!0}s(Xf,"arrayBufferEquality");function vu(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),a=Object.keys(t),o=r.filter(i=>i!==vu);return Ve(e,t,o,!0)&&Ve(n,a)}s(vu,"sparseArrayEquality");function tO(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
319
+
320
+ If it should pass with deep equality, replace "toBe" with "${e}"
321
+
322
+ Expected: ${t}
323
+ Received: serializes to the same string
324
+ `:n}s(tO,"generateToBeMessage");function rO(e,t){return`${t} ${e}${t===1?"":"s"}`}s(rO,"pluralize");function El(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}s(El,"getObjectKeys");function nO(e,t,r){let n=0,a=s((o=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>a(o)(i[c],u))}else{if(i instanceof Date)return i;if(Ni(i)&&Ni(l)){if(Ve(i,l,[...r,hr,ri]))return l;let u={};o.set(i,u),typeof i.constructor=="function"&&typeof i.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:i.constructor});for(let c of El(i))np(l,c)?u[c]=o.has(i[c])?o.get(i[c]):a(o)(i[c],l[c]):o.has(i[c])||(n+=1,Ni(i[c])&&(n+=El(i[c]).length),a(o)(i[c],l[c]));if(El(u).length>0)return u}}return i},"getObjectSubsetWithContext");return{subset:a()(e,t),stripped:n}}s(nO,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,ss)){let e=new WeakMap;Object.defineProperty(globalThis,ss,{get:s(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,ls)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,ls,{configurable:!0,get:s(()=>({state:globalThis[ss].get(globalThis[Eb]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,zf)){let e=Object.create(null);Object.defineProperty(globalThis,zf,{get:s(()=>e,"get")})}function us(e){return globalThis[ss].get(e)}s(us,"getState");function Cl(e,t){let r=globalThis[ss],n=r.get(t)||{},a=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,a)}s(Cl,"setState");var aO=class{constructor(t,r=!1){Et(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...us(t||globalThis[Eb]),equals:Ve,isNot:this.inverse,customTesters:tp(),utils:{...Ab(),diff:za,stringify:nr,iterableEquality:hr,subsetEquality:ri}}}};s(aO,"AsymmetricMatcher");var Rn=aO;Rn.prototype[Symbol.for("chai/inspect")]=function(e){let t=nr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var oO=class extends Rn{constructor(t,r=!1){if(!_r("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=_r("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};s(oO,"StringContaining");var BE=oO,iO=class extends Rn{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};s(iO,"Anything");var kz=iO,sO=class extends Rn{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let a in this.sample)if(!this.hasProperty(t,a)||!Ve(this.sample[a],t[a],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};s(sO,"ObjectContaining");var qE=sO,lO=class extends Rn{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(a=>t.some(o=>Ve(a,o,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};s(lO,"ArrayContaining");var ME=lO,uO=class extends Rn{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t 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)}>`}};s(uO,"Any");var Nz=uO,cO=class extends Rn{constructor(t,r=!1){if(!_r("String",t)&&!_r("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=_r("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};s(cO,"StringMatching");var LE=cO,pO=class extends Rn{constructor(r,n=2,a=!1){if(!_r("Number",r))throw new Error("Expected is not a Number");if(!_r("Number",n))throw new Error("Precision is not a Number");super(r);Et(this,"precision");this.inverse=a,this.precision=n}asymmetricMatch(r){if(!_r("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${rO("digit",this.precision)})`].join(" ")}};s(pO,"CloseTo");var $E=pO,jz=s((e,t)=>{t.addMethod(e.expect,"anything",()=>new kz),t.addMethod(e.expect,"any",r=>new Nz(r)),t.addMethod(e.expect,"stringContaining",r=>new BE(r)),t.addMethod(e.expect,"objectContaining",r=>new qE(r)),t.addMethod(e.expect,"arrayContaining",r=>new ME(r)),t.addMethod(e.expect,"stringMatching",r=>new LE(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new $E(r,n)),e.expect.not={stringContaining:s(r=>new BE(r,!0),"stringContaining"),objectContaining:s(r=>new qE(r,!0),"objectContaining"),arrayContaining:s(r=>new ME(r,!0),"arrayContaining"),stringMatching:s(r=>new LE(r,!0),"stringMatching"),closeTo:s((r,n)=>new $E(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function Qf(e,t,r){let n=e.flag(t,"negate")?"not.":"",a=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${a}`}s(Qf,"createAssertionMessage");function Zf(e,t,r,n){let a=e;if(a&&t instanceof Promise){t=t.finally(()=>{if(!a.promises)return;let i=a.promises.indexOf(t);i!==-1&&a.promises.splice(i,1)}),a.promises||(a.promises=[]),a.promises.push(t);let o=!1;return a.onFinished??(a.onFinished=[]),a.onFinished.push(()=>{var i;if(!o){let l=(((i=globalThis.__vitest_worker__)==null?void 0:i.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
325
+ `,l].join(""))}}),{then(i,l){return o=!0,t.then(i,l)},catch(i){return t.catch(i)},finally(i){return t.finally(i)},[Symbol.toStringTag]:"Promise"}}return t}s(Zf,"recordAsyncExpect");function Sb(e,t,r){return function(...n){var a;if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return r.apply(this,n)}catch(i){o.result||(o.result={state:"fail"}),o.result.state="fail",(a=o.result).errors||(a.errors=[]),o.result.errors.push(vb(i))}}}s(Sb,"wrapAssertion");var Bz=s((e,t)=>{let{AssertionError:r}=e,n=tp();function a(c,p){let d=s(h=>{let f=Sb(t,h,p);t.addMethod(e.Assertion.prototype,h,f),t.addMethod(globalThis[ls].matchers,h,f)},"addMethod");Array.isArray(c)?c.forEach(h=>d(h)):d(c)}s(a,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...d){let h=t.flag(this,"promise"),f=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw f});else if(h==="resolves"&&typeof f!="function"){if(m)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}p.apply(this,d)})}),a("withTest",function(c){return t.flag(this,"vitest-test",c),this}),a("toEqual",function(c){let p=t.flag(this,"object"),d=Ve(p,c,[...n,hr]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),a("toStrictEqual",function(c){let p=t.flag(this,"object"),d=Ve(p,c,[...n,hr,Kf,vu,Xf],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),a("toBe",function(c){let p=this._obj,d=Object.is(p,c),h="";return d||(Ve(p,c,[...n,hr,Kf,vu,Xf],!0)?h="toStrictEqual":Ve(p,c,[...n,hr])&&(h="toEqual")),this.assert(d,tO(h),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),a("toMatchObject",function(c){let p=this._obj,d=Ve(p,c,[...n,hr,ri]),h=t.flag(this,"negate"),{subset:f,stripped:m}=nO(p,c,n);if(d&&h||!d&&!h){let y=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,f,!1]),g=m===0?y:`${y}
326
+ (${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:f})}}),a("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),a("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){Yr(c,"class name",["string"]);let d=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,d,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),a("toContainEqual",function(c){let p=t.flag(this,"object"),d=Array.from(p).findIndex(h=>Ve(h,c,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),a("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),a("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),a("toBeGreaterThan",function(c){let p=this._obj;return Yr(p,"actual",["number","bigint"]),Yr(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,c,p,!1)}),a("toBeGreaterThanOrEqual",function(c){let p=this._obj;return Yr(p,"actual",["number","bigint"]),Yr(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,c,p,!1)}),a("toBeLessThan",function(c){let p=this._obj;return Yr(p,"actual",["number","bigint"]),Yr(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,c,p,!1)}),a("toBeLessThanOrEqual",function(c){let p=this._obj;return Yr(p,"actual",["number","bigint"]),Yr(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,c,p,!1)}),a("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),a("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),a("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),a("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),a("toBeTypeOf",function(c){let p=typeof this._obj,d=c===p;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),a("toBeInstanceOf",function(c){return this.instanceOf(c)}),a("toHaveLength",function(c){return this.have.length(c)}),a("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[d,h]=c,f=s(()=>Object.prototype.hasOwnProperty.call(p,d)?{value:p[d],exists:!0}:t.getPathInfo(p,d),"getValue"),{value:m,exists:y}=f(),g=y&&(c.length===1||Ve(h,m,n)),b=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${d}"${b}`,`expected #{this} to not have property "${d}"${b}`,h,y?m:void 0)}),a("toBeCloseTo",function(c,p=2){let d=this._obj,h=!1,f=0,m=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?h=!0:(f=10**-p/2,m=Math.abs(d-c),h=m<f),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${f}`,c,d,!1)});function o(c){if(!Eo(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}s(o,"assertIsMock");function i(c){return o(c),c._obj}s(i,"getSpy"),a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length;return this.assert(h===c,`expected "${d}" to be called #{exp} times, but got ${h} times`,`expected "${d}" to not be called #{exp} times`,c,h,!1)}),a("toHaveBeenCalledOnce",function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${p}" to be called once, but got ${d} times`,`expected "${p}" to not be called once`,1,d,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let c=i(this),p=c.getMockName(),d=c.mock.calls.length,h=d>0,f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${d} times`,!0,h]);if(h&&f&&(m=wl(c,m)),h&&f||!h&&!f)throw new r(m)});function l(c,p){return c.length===p.length&&c.every((d,h)=>Ve(d,p[h],[...n,hr]))}s(l,"equalsArgumentArray"),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.some(y=>l(y,c)),f=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(h&&f||!h&&!f)throw new r(wl(p,m,c))}),a("toHaveBeenCalledExactlyOnceWith",function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls.length,f=p.mock.calls.some(g=>l(g,c))&&h===1,m=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,c]);if(f&&m||!f&&!m)throw new r(wl(p,y,c))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let d=i(this),h=d.getMockName(),f=d.mock.calls[c-1],m=d.mock.calls.length,y=c<=m;this.assert(f&&l(f,p),`expected ${wo(c)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${m} times`}`,`expected ${wo(c)} "${h}" call to not have been called with #{exp}`,p,f,y)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=i(this),d=p.getMockName(),h=p.mock.calls[p.mock.calls.length-1];this.assert(h&&l(h,c),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,h)});function u(c,p,d){let h=c.mock.invocationCallOrder,f=p.mock.invocationCallOrder;return h.length===0?!d:f.length===0?!1:h[0]<f[0]}s(u,"isSpyCalledBeforeAnotherSpy"),a(["toHaveBeenCalledBefore"],function(c,p=!0){let d=i(this);if(!Eo(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(d,c,p),`expected "${d.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${c.getMockName()}"`,c,d)}),a(["toHaveBeenCalledAfter"],function(c,p=!0){let d=i(this);if(!Eo(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,d,p),`expected "${d.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${c.getMockName()}"`,c,d)}),a(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let p=this._obj,d=t.flag(this,"promise"),h=t.flag(this,"negate"),f=null;if(d==="rejects")f=p;else if(d==="resolves"&&typeof p!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(m,y,t.flag(this,"ssfi"))}}else{let m=!1;try{p()}catch(y){m=!0,f=y}if(!m&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(y,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(f&&f instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,f)}if(c instanceof Error){let m=Ve(f,c,[...n,hr]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,f)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(f&&m.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:s(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s(c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(){let h=i(this),f=h.getMockName(),m=p(h);this.assert(m,`expected "${f}" to be successfully ${d} at least once`,`expected "${f}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:s((c,p)=>c.mock.settledResults.reduce((d,{type:h})=>h==="fulfilled"?++d:d,0)===p,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:s((c,p)=>c.mock.results.reduce((d,{type:h})=>h==="throw"?d:++d,0)===p,"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=f.getMockName(),y=p(f,h);this.assert(y,`expected "${m}" to be successfully ${d} ${h} times`,`expected "${m}" to not be successfully ${d} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:s((c,p)=>c.mock.settledResults.some(({type:d,value:h})=>d==="fulfilled"&&Ve(p,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:s((c,p)=>c.mock.results.some(({type:d,value:h})=>d==="return"&&Ve(p,h)),"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=p(f,h),y=t.flag(this,"negate");if(m&&y||!m&&!y){let g=f.getMockName(),b=t.getMessage(this,[m,`expected "${g}" to ${d} with: #{exp} at least once`,`expected "${g}" to not ${d} with: #{exp}`,h]),v=d==="return"?f.mock.results:f.mock.settledResults;throw new r(dO(f,v,b,h))}})}),[{name:"toHaveLastResolvedWith",condition:s((c,p)=>{let d=c.mock.settledResults[c.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Ve(d.value,p)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:s((c,p)=>{let d=c.mock.results[c.mock.results.length-1];return d&&d.type==="return"&&Ve(d.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h){let f=i(this),m=d==="return"?f.mock.results:f.mock.settledResults,y=m[m.length-1],g=f.getMockName();this.assert(p(f,h),`expected last "${g}" call to ${d} #{exp}`,`expected last "${g}" call to not ${d} #{exp}`,h,y==null?void 0:y.value)})}),[{name:"toHaveNthResolvedWith",condition:s((c,p,d)=>{let h=c.mock.settledResults[p-1];return h&&h.type==="fulfilled"&&Ve(h.value,d)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:s((c,p,d)=>{let h=c.mock.results[p-1];return h&&h.type==="return"&&Ve(h.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{a(c,function(h,f){let m=i(this),y=m.getMockName(),g=(d==="return"?m.mock.results:m.mock.settledResults)[h-1],b=`${wo(h)} call`;this.assert(p(m,h,f),`expected ${b} "${y}" call to ${d} #{exp}`,`expected ${b} "${y}" call to not ${d} #{exp}`,f,g==null?void 0:g.value)})}),a("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",s(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(d==null?void 0:d.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let h=new Proxy(this,{get:s((f,m,y)=>{let g=Reflect.get(f,m,y);return typeof g!="function"?g instanceof e.Assertion?h:g:(...b)=>{t.flag(this,"_name",m);let v=d.then(T=>(t.flag(this,"object",T),g.call(this,...b)),T=>{let x=new r(`promise rejected "${t.inspect(T)}" instead of resolving`,{showDiff:!1});throw x.cause=T,x.stack=c.stack.replace(c.message,x.message),x});return Zf(p,v,Qf(t,this,!!b.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",s(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object"),h=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let f=new Proxy(this,{get:s((m,y,g)=>{let b=Reflect.get(m,y,g);return typeof b!="function"?b instanceof e.Assertion?f:b:(...v)=>{t.flag(this,"_name",y);let T=h.then(x=>{let _=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw _.stack=c.stack.replace(c.message,_.message),_},x=>(t.flag(this,"object",x),b.call(this,...v)));return Zf(p,T,Qf(t,this,!!v.length),c)}},"get")});return f},"__VITEST_REJECTS__"))},"JestChaiExpect");function wo(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}s(wo,"ordinalOf");function wl(e,t,r){return e.mock.calls&&(t+=Je.gray(`
327
+
328
+ Received:
329
+
330
+ ${e.mock.calls.map((n,a)=>{let o=Je.bold(` ${wo(a+1)} ${e.getMockName()} call:
331
+
332
+ `);return r?o+=za(r,n,{omitAnnotationLines:!0}):o+=nr(n).split(`
333
+ `).map(i=>` ${i}`).join(`
334
+ `),o+=`
335
+ `,o}).join(`
336
+ `)}`)),t+=Je.gray(`
337
+
338
+ Number of calls: ${Je.bold(e.mock.calls.length)}
339
+ `),t}s(wl,"formatCalls");function dO(e,t,r,n){return r+=Je.gray(`
340
+
341
+ Received:
342
+
343
+ ${t.map((a,o)=>{let i=Je.bold(` ${wo(o+1)} ${e.getMockName()} call return:
344
+
345
+ `);return n?i+=za(n,a.value,{omitAnnotationLines:!0}):i+=nr(a).split(`
346
+ `).map(l=>` ${l}`).join(`
347
+ `),i+=`
348
+ `,i}).join(`
349
+ `)}`),r+=Je.gray(`
350
+
351
+ Number of calls: ${Je.bold(e.mock.calls.length)}
352
+ `),r}s(dO,"formatReturns");function fO(e,t){let r=e._obj,n=Zr.flag(e,"negate"),a=Zr.flag(e,"promise")||"",o={...Ab(),diff:za,stringify:nr,iterableEquality:hr,subsetEquality:ri};return{state:{...us(t),customTesters:tp(),isNot:n,utils:o,promise:a,equals:Ve,suppressedErrors:[],soft:Zr.flag(e,"soft"),poll:Zr.flag(e,"poll")},isNot:n,obj:r}}s(fO,"getMatcherState");var hO=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};s(hO,"JestExtendError");var UE=hO;function mO(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,i])=>{function l(...h){let{state:f,isNot:m,obj:y}=fO(this,t),g=i.call(f,y,...h);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:_,message:w,actual:E,expected:C})=>{if(_&&m||!_&&!m)throw new UE(w(),E,C)});let{pass:b,message:v,actual:T,expected:x}=g;if(b&&m||!b&&!m)throw new UE(v(),T,x)}s(l,"expectWrapper");let u=Sb(a,o,l);a.addMethod(globalThis[ls].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);let c=class extends Rn{constructor(f=!1,...m){super(m,f)}asymmetricMatch(f){let{pass:m}=i.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>nr(f)).join(", ")}>`}};s(c,"CustomMatcher");let p=c,d=s((...h)=>new p(!1,...h),"customMatcher");Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:s((...h)=>new p(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[zf],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}s(mO,"JestExtendPlugin");var qz=s((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Sa(mO(e,r,n))})},"JestExtend");function yO(){Sa(qz),Sa(Bz),Sa(jz);let e=s((n,a)=>{let{assertionCalls:o}=us(e);return Cl({assertionCalls:o+1,soft:!1},e),Jn(n,a)},"expect");Object.assign(e,Jn),e.getState=()=>us(e),e.setState=n=>Cl(n,e),e.extend=n=>Jn.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.extend(Pz),e.unreachable=n=>{H.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=s(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}s(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return s(r,"hasAssertions"),Cl({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Zr.addMethod(e,"assertions",t),Zr.addMethod(e,"hasAssertions",r),e.extend(N_),e}s(yO,"createExpect");var gO=yO();Object.defineProperty(globalThis,Eb,{value:gO,writable:!0,configurable:!0});var eh=new Set;function _b(e){return eh.add(e),()=>void eh.delete(e)}s(_b,"onMockCall");var Mz=s((...e)=>{let t=jD(...e);return Pb(t)},"spyOn");function Tb(e){let t=e?Vf(e):Vf();return Pb(t)}s(Tb,"fn");function Pb(e){let t=th(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>th(r(n)),t}s(Pb,"reactiveMock");function th(e){let t=gu(e),r=t.impl;return t.willCall(function(...n){return eh.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}s(th,"listenWhenCalled");function Db(){Ms.forEach(e=>e.mockClear())}s(Db,"clearAllMocks");function Ob(){Ms.forEach(e=>e.mockReset())}s(Ob,"resetAllMocks");function Rb(){Ms.forEach(e=>e.mockRestore())}s(Rb,"restoreAllMocks");function bO(e,t={}){return e}s(bO,"mocked");var vO={};Xt(vO,{buildQueries:()=>un,configure:()=>gR,createEvent:()=>Mi,findAllByAltText:()=>pF,findAllByDisplayValue:()=>oF,findAllByLabelText:()=>qR,findAllByPlaceholderText:()=>GR,findAllByRole:()=>SF,findAllByTestId:()=>RF,findAllByText:()=>ZR,findAllByTitle:()=>gF,findByAltText:()=>dF,findByDisplayValue:()=>iF,findByLabelText:()=>MR,findByPlaceholderText:()=>WR,findByRole:()=>_F,findByTestId:()=>FF,findByText:()=>eF,findByTitle:()=>bF,fireEvent:()=>Mo,getAllByAltText:()=>uF,getAllByDisplayValue:()=>nF,getAllByLabelText:()=>LR,getAllByPlaceholderText:()=>zR,getAllByRole:()=>AF,getAllByTestId:()=>DF,getAllByText:()=>XR,getAllByTitle:()=>mF,getByAltText:()=>cF,getByDisplayValue:()=>aF,getByLabelText:()=>$R,getByPlaceholderText:()=>JR,getByRole:()=>xF,getByTestId:()=>OF,getByText:()=>QR,getByTitle:()=>yF,getConfig:()=>Le,getDefaultNormalizer:()=>ip,getElementError:()=>Us,getMultipleElementsFoundError:()=>Vs,getNodeText:()=>ni,getQueriesForElement:()=>wu,getRoles:()=>Xb,getSuggestedQuery:()=>ps,isInaccessible:()=>$s,logDOM:()=>lh,logRoles:()=>lJ,makeFindQuery:()=>Ia,makeGetAllQuery:()=>up,makeSingleQuery:()=>Fa,prettyDOM:()=>qo,prettyFormat:()=>Fb,queries:()=>Cu,queryAllByAltText:()=>sF,queryAllByAttribute:()=>oa,queryAllByDisplayValue:()=>tF,queryAllByLabelText:()=>UR,queryAllByPlaceholderText:()=>VR,queryAllByRole:()=>CF,queryAllByTestId:()=>TF,queryAllByText:()=>YR,queryAllByTitle:()=>fF,queryByAltText:()=>lF,queryByAttribute:()=>Zb,queryByDisplayValue:()=>rF,queryByLabelText:()=>jR,queryByPlaceholderText:()=>HR,queryByRole:()=>wF,queryByTestId:()=>PF,queryByText:()=>KR,queryByTitle:()=>hF,queryHelpers:()=>uJ,screen:()=>DJ,waitFor:()=>lp,waitForElementToBeRemoved:()=>kF,within:()=>wu,wrapAllByQueryWithSuggestion:()=>ar,wrapSingleQueryWithSuggestion:()=>Gn});var Fb=xt(d$()),Lz=Object.prototype.toString;function rh(e){return typeof e=="function"||Lz.call(e)==="[object Function]"}s(rh,"isCallable");function EO(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}s(EO,"toInteger");var $z=Math.pow(2,53)-1;function CO(e){var t=EO(e);return Math.min(Math.max(t,0),$z)}s(CO,"toLength");function xr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!rh(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=CO(n.length),o=rh(r)?Object(new r(a)):new Array(a),i=0,l;i<a;)l=n[i],t?o[i]=t(l,i):o[i]=l,i+=1;return o.length=a,o}s(xr,"arrayFrom");function jo(e){"@babel/helpers - typeof";return jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jo(e)}s(jo,"_typeof");function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}s(wO,"_classCallCheck");function nh(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ib(n.key),n)}}s(nh,"_defineProperties");function AO(e,t,r){return t&&nh(e.prototype,t),r&&nh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}s(AO,"_createClass");function xO(e,t,r){return t=Ib(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(xO,"_defineProperty");function Ib(e){var t=SO(e,"string");return jo(t)==="symbol"?t:String(t)}s(Ib,"_toPropertyKey");function SO(e,t){if(jo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(jo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(SO,"_toPrimitive");var Uz=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];wO(this,e),xO(this,"items",void 0),this.items=t}return s(e,"SetLike"),AO(e,[{key:"add",value:s(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:s(function(){this.items=[]},"clear")},{key:"delete",value:s(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:s(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:s(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:s(function(){return this.items.length},"get")}]),e}(),Vz=typeof Set>"u"?Set:Uz;function Bt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}s(Bt,"getLocalName");var Hz={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"},zz={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 _O(e,t){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(r){var n;return e.hasAttribute(r)&&!((n=zz[t])!==null&&n!==void 0&&n.has(r))})}s(_O,"hasGlobalAriaAttributes");function kb(e,t){return _O(e,t)}s(kb,"ignorePresentationalRole");function TO(e){var t=DO(e);if(t===null||t==="presentation"){var r=PO(e);if(t!=="presentation"||kb(e,r||""))return r}return t}s(TO,"getRole");function PO(e){var t=Hz[Bt(e)];if(t!==void 0)return t;switch(Bt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!kb(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}s(PO,"getImplicitRole");function DO(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}s(DO,"getExplicitRole");function lt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}s(lt,"isElement");function Nb(e){return lt(e)&&Bt(e)==="caption"}s(Nb,"isHTMLTableCaptionElement");function qi(e){return lt(e)&&Bt(e)==="input"}s(qi,"isHTMLInputElement");function OO(e){return lt(e)&&Bt(e)==="optgroup"}s(OO,"isHTMLOptGroupElement");function RO(e){return lt(e)&&Bt(e)==="select"}s(RO,"isHTMLSelectElement");function FO(e){return lt(e)&&Bt(e)==="table"}s(FO,"isHTMLTableElement");function IO(e){return lt(e)&&Bt(e)==="textarea"}s(IO,"isHTMLTextAreaElement");function kO(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}s(kO,"safeWindow");function NO(e){return lt(e)&&Bt(e)==="fieldset"}s(NO,"isHTMLFieldSetElement");function jO(e){return lt(e)&&Bt(e)==="legend"}s(jO,"isHTMLLegendElement");function BO(e){return lt(e)&&Bt(e)==="slot"}s(BO,"isHTMLSlotElement");function qO(e){return lt(e)&&e.ownerSVGElement!==void 0}s(qO,"isSVGElement");function MO(e){return lt(e)&&Bt(e)==="svg"}s(MO,"isSVGSVGElement");function LO(e){return qO(e)&&Bt(e)==="title"}s(LO,"isSVGTitleElement");function cs(e,t){if(lt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}s(cs,"queryIdRefs");function tn(e,t){return lt(e)?t.indexOf(TO(e))!==-1:!1}s(tn,"hasAnyConcreteRoles");function $O(e){return e.trim().replace(/\s\s+/g," ")}s($O,"asFlatString");function UO(e,t){if(!lt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}s(UO,"isHidden");function VO(e){return tn(e,["button","combobox","listbox","textbox"])||jb(e,"range")}s(VO,"isControl");function jb(e,t){if(!lt(e))return!1;switch(t){case"range":return tn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}s(jb,"hasAbstractRole");function ah(e,t){var r=xr(e.querySelectorAll(t));return cs(e,"aria-owns").forEach(function(n){r.push.apply(r,xr(n.querySelectorAll(t)))}),r}s(ah,"querySelectorAllSubtree");function HO(e){return RO(e)?e.selectedOptions||ah(e,"[selected]"):ah(e,'[aria-selected="true"]')}s(HO,"querySelectedOptions");function zO(e){return tn(e,["none","presentation"])}s(zO,"isMarkedPresentational");function JO(e){return Nb(e)}s(JO,"isNativeHostLanguageTextAlternativeElement");function GO(e){return tn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}s(GO,"allowsNameFromContent");function WO(e){return!1}s(WO,"isDescendantOfNativeHostLanguageTextAlternativeElement");function YO(e){return qi(e)||IO(e)?e.value:e.textContent||""}s(YO,"getValueOfTextbox");function oh(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}s(oh,"getTextualContent");function Bb(e){var t=Bt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}s(Bb,"isLabelableElement");function qb(e){if(Bb(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&lt(r)){var n=qb(r);n!==null&&(t=n)}}),t}s(qb,"findLabelableElement");function KO(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):qb(e)}s(KO,"getControlOfLabel");function XO(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return xr(t);if(!Bb(e))return null;var r=e.ownerDocument;return xr(r.querySelectorAll("label")).filter(function(n){return KO(n)===e})}s(XO,"getLabels");function QO(e){var t=e.assignedNodes();return t.length===0?xr(e.childNodes):t}s(QO,"getSlotContents");function Mb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vz,n=kO(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function h(b,v){var T="";if(lt(b)&&l){var x=c(b,"::before"),_=oh(x);T="".concat(_," ").concat(T)}var w=BO(b)?QO(b):xr(b.childNodes).concat(cs(b,"aria-owns"));if(w.forEach(function(P){var k=g(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=lt(P)?c(P).getPropertyValue("display"):"inline",G=N!=="inline"?" ":"";T+="".concat(G).concat(k).concat(G)}),lt(b)&&l){var E=c(b,"::after"),C=oh(E);T="".concat(T," ").concat(C)}return T.trim()}s(h,"computeMiscTextAlternative");function f(b,v){var T=b.getAttributeNode(v);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}s(f,"useAttribute");function m(b){return lt(b)?f(b,"title"):null}s(m,"computeTooltipAttributeValue");function y(b){if(!lt(b))return null;if(NO(b)){r.add(b);for(var v=xr(b.childNodes),T=0;T<v.length;T+=1){var x=v[T];if(jO(x))return g(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(FO(b)){r.add(b);for(var _=xr(b.childNodes),w=0;w<_.length;w+=1){var E=_[w];if(Nb(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(MO(b)){r.add(b);for(var C=xr(b.childNodes),P=0;P<C.length;P+=1){var k=C[P];if(LO(k))return k.textContent}return null}else if(Bt(b)==="img"||Bt(b)==="area"){var N=f(b,"alt");if(N!==null)return N}else if(OO(b)){var G=f(b,"label");if(G!==null)return G}if(qi(b)&&(b.type==="button"||b.type==="submit"||b.type==="reset")){var Y=f(b,"value");if(Y!==null)return Y;if(b.type==="submit")return"Submit";if(b.type==="reset")return"Reset"}var O=XO(b);if(O!==null&&O.length!==0)return r.add(b),xr(O).map(function(Q){return g(Q,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(Q){return Q.length>0}).join(" ");if(qi(b)&&b.type==="image"){var q=f(b,"alt");if(q!==null)return q;var B=f(b,"title");return B!==null?B:"Submit Query"}if(tn(b,["button"])){var K=h(b,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}s(y,"computeElementTextAlternative");function g(b,v){if(r.has(b))return"";if(!d&&UO(b,c)&&!v.isReferenced)return r.add(b),"";var T=lt(b)?b.getAttributeNode("aria-labelledby"):null,x=T!==null&&!r.has(T)?cs(b,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&x.length>0)return r.add(T),x.map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var _=v.recursion&&VO(b)&&o==="name";if(!_){var w=(lt(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!zO(b)){var E=y(b);if(E!==null)return r.add(b),E}}if(tn(b,["menu"]))return r.add(b),"";if(_||v.isEmbeddedInLabel||v.isReferenced){if(tn(b,["combobox","listbox"])){r.add(b);var C=HO(b);return C.length===0?qi(b)?b.value:"":xr(C).map(function(N){return g(N,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(jb(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(tn(b,["textbox"]))return r.add(b),YO(b)}if(GO(b)||lt(b)&&v.isReferenced||JO(b)||WO()){var P=h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(P!=="")return r.add(b),P}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(v.recursion)return r.add(b),h(b,{isEmbeddedInLabel:v.isEmbeddedInLabel});var k=m(b);return k!==null?(r.add(b),k):(r.add(b),"")}return s(g,"computeTextAlternative"),$O(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}s(Mb,"computeTextAlternative");function Bo(e){"@babel/helpers - typeof";return Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bo(e)}s(Bo,"_typeof");function ih(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}s(ih,"ownKeys");function sh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ih(Object(r),!0).forEach(function(n){ZO(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ih(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}s(sh,"_objectSpread");function ZO(e,t,r){return t=eR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(ZO,"_defineProperty");function eR(e){var t=tR(e,"string");return Bo(t)==="symbol"?t:String(t)}s(eR,"_toPropertyKey");function tR(e,t){if(Bo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Bo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}s(tR,"_toPrimitive");function Lb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=cs(e,"aria-describedby").map(function(a){return Mb(a,sh(sh({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}s(Lb,"computeAccessibleDescription");function rR(e){return tn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}s(rR,"prohibitsNaming");function ap(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return rR(e)?"":Mb(e,t)}s(ap,"computeAccessibleName");var wr=xt(Q6()),Jz=xt(Z6());function $b(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}s($b,"escapeHTML");var Gz=s((e,t,r,n,a,o,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=i(p,r,l,a,o);return typeof p!="string"&&(d.indexOf(`
353
+ `)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},"printProps"),Wz=3,Yz=s((e,t,r,n,a,o)=>e.map(i=>{let l=typeof i=="string"?nR(i,t):o(i,t,r,n,a);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==Wz?"":t.spacingOuter+r+l}).join(""),"printChildren"),nR=s((e,t)=>{let r=t.colors.content;return r.open+$b(e)+r.close},"printText"),Kz=s((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+$b(e)+"-->"+r.close},"printComment"),Xz=s((e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},"printElement"),Qz=s((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),Zz=1,aR=3,oR=8,iR=11,eJ=/^((HTML|SVG)\w*)?Element$/,sR=s(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),tJ=s(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Zz&&(eJ.test(t)||sR(e))||r===aR&&t==="Text"||r===oR&&t==="Comment"||r===iR&&t==="DocumentFragment"},"testNode");function lR(e){return e.nodeType===aR}s(lR,"nodeIsText");function uR(e){return e.nodeType===oR}s(uR,"nodeIsComment");function Al(e){return e.nodeType===iR}s(Al,"nodeIsFragment");function cR(e){return{test:s(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||sR(t))&&tJ(t)},"test"),serialize:s((t,r,n,a,o,i)=>{if(lR(t))return nR(t.data,r);if(uR(t))return Kz(t.data,r);let l=Al(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?Qz(l,r):Xz(l,Gz(Al(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Al(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,i),Yz(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)},"serialize")}}s(cR,"createDOMElementFilter");var pR=null,Ub=null,Vb=null;try{let e=module&&module.require;Ub=e.call(module,"fs").readFileSync,Vb=e.call(module,"@babel/code-frame").codeFrameColumns,pR=e.call(module,"chalk")}catch{}function dR(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=Ub(o,"utf-8")}catch{return""}let c=Vb(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return pR.dim(n)+`
354
+ `+c+`
355
+ `}s(dR,"getCodeFrame");function fR(){if(!Ub||!Vb)return"";let e=new Error().stack.split(`
356
+ `).slice(1).find(t=>!t.includes("node_modules/"));return dR(e)}s(fR,"getUserCodeFrame");var hR=3;function xl(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}s(xl,"jestFakeTimersAreEnabled");function op(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}s(op,"getDocument");function Hb(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.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(e)?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 e.debug=="function"&&typeof e.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 e+".")}s(Hb,"getWindowFromNode");function ln(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}s(t,"getTypeName")}s(ln,"checkContainerType");var rJ=s(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Fd)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:nJ}=Fb.plugins,aJ=1,oJ=8;function mR(e){return e.nodeType!==oJ&&(e.nodeType!==aJ||!e.matches(Le().defaultIgnore))}s(mR,"filterCommentsAndDefaultIgnoreTagsTags");function qo(e,t,r){if(r===void 0&&(r={}),e||(e=op().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Fd<"u"&&Fd.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=mR,...o}=r,i=Fb.format(e,{plugins:[cR(a),nJ],printFunctionName:!1,highlight:rJ(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}s(qo,"prettyDOM");var lh=s(function(){let e=fR();console.log(e?qo(...arguments)+`
357
+
358
+ `+e:qo(...arguments))},"logDOM"),Ta={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:s(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:s(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:s(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=qo(t),n=new Error([e,"Ignored nodes: comments, "+Ta.defaultIgnore+`
359
+ `+r].filter(Boolean).join(`
360
+
361
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function yR(e){try{return Ta._disableExpensiveErrorDiagnostics=!0,e()}finally{Ta._disableExpensiveErrorDiagnostics=!1}}s(yR,"runWithExpensiveErrorDiagnosticsDisabled");function gR(e){typeof e=="function"&&(e=e(Ta)),Ta={...Ta,...e}}s(gR,"configure");function Le(){return Ta}s(Le,"getConfig");var iJ=["button","meter","output","progress","select","textarea","input"];function zb(e){return iJ.includes(e.nodeName.toLowerCase())?"":e.nodeType===hR?e.textContent:Array.from(e.childNodes).map(t=>zb(t)).join("")}s(zb,"getTextContent");function Eu(e){let t;return e.tagName.toLowerCase()==="label"?t=zb(e):t=e.value||e.textContent,t}s(Eu,"getLabelContent");function Jb(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!bR(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}s(Jb,"getRealLabels");function bR(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}s(bR,"isLabelable");function Gb(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:Eu(l),formControl:null}:{content:"",formControl:null}}):Array.from(Jb(t)).map(i=>{let l=Eu(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}s(Gb,"getLabels");function Wb(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}s(Wb,"assertNotNullOrUndefined");function Ja(e,t,r,n){if(typeof e!="string")return!1;Wb(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Yb(r,a)}s(Ja,"fuzzyMatches");function nn(e,t,r,n){if(typeof e!="string")return!1;Wb(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Yb(r,a):a===String(r)}s(nn,"matches");function ip(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}s(ip,"getDefaultNormalizer");function aa(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return ip({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"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 n}s(aa,"makeNormalizer");function Yb(e,t){let r=e.test(t);return e.global&&e.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."),e.lastIndex=0),r}s(Yb,"matchRegExp");function ni(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===hR&&!!t.textContent).map(t=>t.textContent).join("")}s(ni,"getNodeText");var sJ=vR(wr.elementRoles);function Kb(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}s(Kb,"isSubtreeInaccessible");function $s(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Kb}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}s($s,"isInaccessible");function sp(e){for(let{match:t,roles:r}of sJ)if(t(e))return[...r];return[]}s(sp,"getImplicitAriaRoles");function vR(e){function t(i){let{name:l,attributes:u}=i;return""+l+u.map(c=>{let{name:p,value:d,constraints:h=[]}=c,f=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof d<"u"?"["+p+'="'+d+'"]':f?":not(["+p+"])":m?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}s(t,"makeElementSelector");function r(i){let{attributes:l=[]}=i;return l.length}s(r,"getSelectorSpecificity");function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}s(n,"bySelectorSpecificity");function a(i){let{attributes:l=[]}=i,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}s(a,"match");let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}s(vR,"buildElementRoleList");function Xb(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return s(n,"flattenDOM"),n(e).filter(a=>r===!1?$s(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=sp(o),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],o]}:{...l,[u]:[o]},a)},{})}s(Xb,"getRoles");function Qb(e,t){let{hidden:r,includeDescription:n}=t,a=Xb(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,l]=o,u="-".repeat(50),c=l.map(p=>{let d='Name "'+ap(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
362
+ `,h=qo(p.cloneNode(!1));if(n){let f='Description "'+Lb(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
363
+ `;return""+d+f+h}return""+d+h}).join(`
364
+
365
+ `);return i+`:
366
+
367
+ `+c+`
368
+
369
+ `+u}).join(`
370
+ `)}s(Qb,"prettyRoles");var lJ=s(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Qb(e,{hidden:r}))},"logRoles");function ER(e){return e.tagName==="OPTION"?e.selected:ai(e,"aria-selected")}s(ER,"computeAriaSelected");function CR(e){return e.getAttribute("aria-busy")==="true"}s(CR,"computeAriaBusy");function wR(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ai(e,"aria-checked")}s(wR,"computeAriaChecked");function AR(e){return ai(e,"aria-pressed")}s(AR,"computeAriaPressed");function xR(e){var t,r;return(t=(r=ai(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}s(xR,"computeAriaCurrent");function SR(e){return ai(e,"aria-expanded")}s(SR,"computeAriaExpanded");function ai(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}s(ai,"checkBooleanAttribute");function _R(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}s(_R,"computeHeadingLevel");function TR(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}s(TR,"computeAriaValueNow");function PR(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}s(PR,"computeAriaValueMax");function DR(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}s(DR,"computeAriaValueMin");function OR(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}s(OR,"computeAriaValueText");var VE=ip();function RR(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}s(RR,"escapeRegExp");function uh(e){return new RegExp(RR(e.toLowerCase()),"i")}s(uh,"getRegExpMatcher");function mn(e,t,r,n){let{variant:a,name:o}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:uh(r)];o&&(l.name=uh(o)),e==="Role"&&$s(t)&&(l.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
371
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
372
+ `),Object.keys(l).length>0&&u.push(l);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[p,d]=u;return p=typeof p=="string"?"'"+p+"'":p,d=d?", { "+Object.entries(d).map(h=>{let[f,m]=h;return f+": "+m}).join(", ")+" }":"",c+"("+p+d+")"}}}s(mn,"makeSuggestion");function yn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}s(yn,"canSuggest");function ps(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=sp(e))==null?void 0:a[0];if(o!=="generic"&&yn("Role",r,o))return mn("Role",e,o,{variant:t,name:ap(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});let i=Gb(document,e).map(h=>h.content).join(" ");if(yn("LabelText",r,i))return mn("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(yn("PlaceholderText",r,l))return mn("PlaceholderText",e,l,{variant:t});let u=VE(ni(e));if(yn("Text",r,u))return mn("Text",e,u,{variant:t});if(yn("DisplayValue",r,e.value))return mn("DisplayValue",e,VE(e.value),{variant:t});let c=e.getAttribute("alt");if(yn("AltText",r,c))return mn("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(yn("Title",r,p))return mn("Title",e,p,{variant:t});let d=e.getAttribute(Le().testIdAttribute);if(yn("TestId",r,d))return mn("TestId",e,d,{variant:t})}s(ps,"getSuggestedQuery");function Ci(e,t){e.stack=t.stack.replace(t.message,e.message)}s(Ci,"copyStackTrace");function FR(e,t){let{container:r=op(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:a=Le().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:l=s(c=>(Object.defineProperty(c,"message",{value:Le().getElementError(c.message,r).message}),c),"onTimeout"),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,p)=>{let d,h,f,m=!1,y="idle",g=setTimeout(_,n),b=xl();if(b){let{unstable_advanceTimersWrapper:w}=Le();for(x();!m;){if(!xl()){let E=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");a||Ci(E,o),p(E);return}if(await w(async()=>{jest.advanceTimersByTime(i)}),m)break;x()}}else{try{ln(r)}catch(E){p(E);return}h=setInterval(T,i);let{MutationObserver:w}=Hb(r);f=new w(T),f.observe(r,u),x()}function v(w,E){m=!0,clearTimeout(g),b||(clearInterval(h),f.disconnect()),w?p(w):c(E)}s(v,"onDone");function T(){if(xl()){let w=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 a||Ci(w,o),p(w)}else return x()}s(T,"checkRealTimersCallback");function x(){if(y!=="pending")try{let w=yR(e);typeof(w==null?void 0:w.then)=="function"?(y="pending",w.then(E=>{y="resolved",v(null,E)},E=>{y="rejected",d=E})):v(null,w)}catch(w){d=w}}s(x,"checkCallback");function _(){let w;d?(w=d,!a&&w.name==="TestingLibraryElementError"&&Ci(w,o)):(w=new Error("Timed out in waitFor."),a||Ci(w,o)),v(l(w),null)}s(_,"handleTimeout")})}s(FR,"waitFor");function lp(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>FR(e,{stackTraceError:r,...t}))}s(lp,"waitForWrapper");function Us(e,t){return Le().getElementError(e,t)}s(Us,"getElementError");function Vs(e,t){return Us(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}s(Vs,"getMultipleElementsFoundError");function oa(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=n===void 0?{}:n,u=a?nn:Ja,c=aa({collapseWhitespace:o,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>u(p.getAttribute(e),p,r,c))}s(oa,"queryAllByAttribute");function Zb(e,t,r,n){let a=oa(e,t,r,n);if(a.length>1)throw Vs("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}s(Zb,"queryByAttribute");function Fa(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(i.length>1){let l=i.map(u=>Us(null,u).message).join(`
373
+
374
+ `);throw Vs(t(r,...a)+`
375
+
376
+ Here are the matching elements:
377
+
378
+ `+l,r)}return i[0]||null}}s(Fa,"makeSingleQuery");function ev(e,t){return Le().getElementError(`A better query is available, try this:
379
+ `+e.toString()+`
380
+ `,t)}s(ev,"getSuggestionError");function up(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];let i=e(r,...a);if(!i.length)throw Le().getElementError(t(r,...a),r);return i}}s(up,"makeGetAllQuery");function Ia(e){return(t,r,n,a)=>lp(()=>e(t,r,n),{container:t,...a})}s(Ia,"makeFindQuery");var Gn=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l&&u){let c=ps(l,r);if(c&&!t.endsWith(c.queryName))throw ev(c.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),ar=s((e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l.length&&u){let c=[...new Set(l.map(p=>{var d;return(d=ps(p,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(ps(l[0],r).queryName))throw ev(c[0],n)}return l},"wrapAllByQueryWithSuggestion");function un(e,t,r){let n=Gn(Fa(e,t),e.name,"query"),a=up(e,r),o=Fa(a,t),i=Gn(o,e.name,"get"),l=ar(a,e.name.replace("query","get"),"getAll"),u=Ia(ar(a,e.name,"findAll")),c=Ia(Gn(o,e.name,"find"));return[n,l,i,u,c]}s(un,"buildQueries");var uJ=Object.freeze({__proto__:null,getElementError:Us,wrapAllByQueryWithSuggestion:ar,wrapSingleQueryWithSuggestion:Gn,getMultipleElementsFoundError:Vs,queryAllByAttribute:oa,queryByAttribute:Zb,makeSingleQuery:Fa,makeGetAllQuery:up,makeFindQuery:Ia,buildQueries:un});function IR(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Eu(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}s(IR,"queryAllLabels");var cJ=s(function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r,l=n?nn:Ja,u=aa({collapseWhitespace:o,trim:a,normalizer:i});return IR(e).filter(c=>{let{node:p,textToMatch:d}=c;return l(d,p,t,u)}).map(c=>{let{node:p}=c;return p})},"queryAllLabelsByText"),ds=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=r===void 0?{}:r;ln(e);let u=a?nn:Ja,c=aa({collapseWhitespace:o,trim:i,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(d=>Jb(d).length||d.hasAttribute("aria-labelledby")).reduce((d,h)=>{let f=Gb(e,h,{selector:n});f.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,c)&&y.formControl&&d.push(y.formControl)});let m=f.filter(y=>!!y.content).map(y=>y.content);return u(m.join(" "),h,t,c)&&d.push(h),m.length>1&&m.forEach((y,g)=>{u(y,h,t,c)&&d.push(h);let b=[...m];b.splice(g,1),b.length>1&&u(b.join(" "),h,t,c)&&d.push(h)}),d},[]).concat(oa("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(p)).filter(d=>d.matches(n))},"queryAllByLabelText"),ka=s(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];let o=ds(e,t,...n);if(!o.length){let i=cJ(e,t,...n);if(i.length){let l=i.map(u=>kR(e,u)).filter(u=>!!u);throw l.length?Le().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
381
+
382
+ `),e):Le().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Le().getElementError("Unable to find a label with the text of: "+t,e)}return o},"getAllByLabelText");function kR(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}s(kR,"getTagNameOfElementAssociatedWithLabelViaFor");var NR=s((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),jR=Gn(Fa(ds,NR),ds.name,"query"),BR=Fa(ka,NR),qR=Ia(ar(ka,ka.name,"findAll")),MR=Ia(Gn(BR,ka.name,"find")),LR=ar(ka,ka.name,"getAll"),$R=Gn(BR,ka.name,"get"),UR=ar(ds,ds.name,"queryAll"),ch=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ln(t[0]),oa("placeholder",...t)},"queryAllByPlaceholderText"),pJ=s((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),dJ=s((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),VR=ar(ch,ch.name,"queryAll"),[HR,zR,JR,GR,WR]=un(ch,pJ,dJ),ph=s(function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:l=Le().defaultIgnore,normalizer:u}=r===void 0?{}:r;ln(e);let c=a?nn:Ja,p=aa({collapseWhitespace:o,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(ni(h),h,t,p))},"queryAllByText"),fJ=s((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),hJ=s(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,l=aa({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". 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."},"getMissingError$5"),YR=ar(ph,ph.name,"queryAll"),[KR,XR,QR,ZR,eF]=un(ph,fJ,hJ),dh=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;ln(e);let l=n?nn:Ja,u=aa({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(ni(p),p,t,u)):l(c.value,c,t,u))},"queryAllByDisplayValue"),mJ=s((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),yJ=s((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),tF=ar(dh,dh.name,"queryAll"),[rF,nF,aF,oF,iF]=un(dh,mJ,yJ),gJ=/^(img|input|area|.+-.+)$/i,fh=s(function(e,t,r){return r===void 0&&(r={}),ln(e),oa("alt",e,t,r).filter(n=>gJ.test(n.tagName))},"queryAllByAltText"),bJ=s((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),vJ=s((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),sF=ar(fh,fh.name,"queryAll"),[lF,uF,cF,pF,dF]=un(fh,bJ,vJ),EJ=s(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),hh=s(function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;ln(e);let l=n?nn:Ja,u=aa({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||EJ(c)&&l(ni(c),c,t,u))},"queryAllByTitle"),CJ=s((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),wJ=s((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),fF=ar(hh,hh.name,"queryAll"),[hF,mF,yF,gF,bF]=un(hh,CJ,wJ),mh=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:p,current:d,level:h,expanded:f,value:{now:m,min:y,max:g,text:b}={}}=r===void 0?{}:r;if(ln(e),l!==void 0){var v;if(((v=wr.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=wr.roles.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var x;if(((x=wr.roles.get(t))==null?void 0:x.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var _;if(((_=wr.roles.get(t))==null?void 0:_.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=wr.roles.get(t))==null?void 0:w.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var E;if(((E=wr.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var C;if(((C=wr.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var P;if(((P=wr.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var k;if(((k=wr.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=wr.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let G=new WeakMap;function Y(O){return G.has(O)||G.set(O,Kb(O)),G.get(O)}return s(Y,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(vF(t))).filter(O=>{if(O.hasAttribute("role")){let q=O.getAttribute("role");if(i)return q.split(" ").filter(Boolean).some(K=>K===t);let[B]=q.split(" ");return B===t}return sp(O).some(q=>q===t)}).filter(O=>{if(l!==void 0)return l===ER(O);if(u!==void 0)return u===CR(O);if(c!==void 0)return c===wR(O);if(p!==void 0)return p===AR(O);if(d!==void 0)return d===xR(O);if(f!==void 0)return f===SR(O);if(h!==void 0)return h===_R(O);if(m!==void 0||g!==void 0||y!==void 0||b!==void 0){let B=!0;if(m!==void 0&&B&&(B=m===TR(O)),g!==void 0&&B&&(B=g===PR(O)),y!==void 0&&B&&(B=y===DR(O)),b!==void 0){var q;B&&(B=nn((q=OR(O))!=null?q:null,O,b,K=>K))}return B}return!0}).filter(O=>a===void 0?!0:nn(ap(O,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),O,a,q=>q)).filter(O=>o===void 0?!0:nn(Lb(O,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),O,o,q=>q)).filter(O=>n===!1?$s(O,{isSubtreeInaccessible:Y})===!1:!0)},"queryAllByRole");function vF(e){var t;let r='*[role~="'+e+'"]',n=(t=wr.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}s(vF,"makeRoleSelector");var EF=s(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),AJ=s(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+EF(n)},"getMultipleError$1"),xJ=s(function(e,t,r){let{hidden:n=Le().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+EF(a);let i="";Array.from(e.children).forEach(p=>{i+=Qb(p,{hidden:n,includeDescription:o!==void 0})});let l;i.length===0?n===!1?l="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":l="There are no available roles.":l=(`
383
+ Here are the `+(n===!1?"accessible":"available")+` roles:
384
+
385
+ `+i.replace(/\n/g,`
386
+ `).replace(/\n\s\s\n/g,`
387
+
388
+ `)+`
389
+ `).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(`
390
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
391
+
392
+ `+l).trim()},"getMissingError$1"),CF=ar(mh,mh.name,"queryAll"),[wF,AF,xF,SF,_F]=un(mh,AJ,xJ),tv=s(()=>Le().testIdAttribute,"getTestIdAttribute"),yh=s(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ln(t[0]),oa(tv(),...t)},"queryAllByTestId"),SJ=s((e,t)=>"Found multiple elements by: ["+tv()+'="'+t+'"]',"getMultipleError"),_J=s((e,t)=>"Unable to find an element by: ["+tv()+'="'+t+'"]',"getMissingError"),TF=ar(yh,yh.name,"queryAll"),[PF,DF,OF,RF,FF]=un(yh,SJ,_J),Cu=Object.freeze({__proto__:null,queryAllByLabelText:UR,queryByLabelText:jR,getAllByLabelText:LR,getByLabelText:$R,findAllByLabelText:qR,findByLabelText:MR,queryByPlaceholderText:HR,queryAllByPlaceholderText:VR,getByPlaceholderText:JR,getAllByPlaceholderText:zR,findAllByPlaceholderText:GR,findByPlaceholderText:WR,queryByText:KR,queryAllByText:YR,getByText:QR,getAllByText:XR,findAllByText:ZR,findByText:eF,queryByDisplayValue:rF,queryAllByDisplayValue:tF,getByDisplayValue:aF,getAllByDisplayValue:nF,findAllByDisplayValue:oF,findByDisplayValue:iF,queryByAltText:lF,queryAllByAltText:sF,getByAltText:cF,getAllByAltText:uF,findAllByAltText:pF,findByAltText:dF,queryByTitle:hF,queryAllByTitle:fF,getByTitle:yF,getAllByTitle:mF,findAllByTitle:gF,findByTitle:bF,queryByRole:wF,queryAllByRole:CF,getAllByRole:AF,getByRole:xF,findAllByRole:SF,findByRole:_F,queryByTestId:PF,queryAllByTestId:TF,getByTestId:OF,getAllByTestId:DF,findAllByTestId:RF,findByTestId:FF});function wu(e,t,r){return t===void 0&&(t=Cu),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}s(wu,"getQueriesForElement");var IF=s(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function gh(e){if(IF(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}s(gh,"initialCheck");async function kF(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){gh(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=s(()=>n.map(a=>a()).filter(Boolean),"callback")}return gh(e()),lp(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!IF(n))throw r},t)}s(kF,"waitForElementToBeRemoved");var HE={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}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},zE={doubleClick:"dblClick"};function Mo(e,t){return Le().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}s(Mo,"fireEvent");function Mi(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...o,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&NF(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=Hb(t),d=p[a]||p.Event,h;if(typeof d=="function")h=new d(e,i);else{h=p.document.createEvent(a);let{bubbles:f,cancelable:m,detail:y,...g}=i;h.initEvent(e,f,m,y),Object.keys(g).forEach(b=>{h[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let m=i[f];typeof m=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(h,f,{value:Object.getOwnPropertyNames(m).reduce((y,g)=>(Object.defineProperty(y,g,{value:m[g]}),y),new p.DataTransfer)}):Object.defineProperty(h,f,{value:m}))}),h}s(Mi,"createEvent");Object.keys(HE).forEach(e=>{let{EventType:t,defaultInit:r}=HE[e],n=e.toLowerCase();Mi[e]=(a,o)=>Mi(n,a,o,{EventType:t,defaultInit:r}),Mo[e]=(a,o)=>Mo(a,Mi[e](a,o))});function NF(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}s(NF,"setNativeValue");Object.keys(zE).forEach(e=>{let t=zE[e];Mo[e]=function(){return Mo[t](...arguments)}});function jF(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
393
+ `)}s(jF,"unindent");function BF(e){return Jz.default.compressToEncodedURIComponent(jF(e))}s(BF,"encode");function qF(e){return"https://testing-playground.com/#markup="+BF(e)}s(qF,"getPlaygroundUrl");var TJ=s((e,t,r)=>Array.isArray(e)?e.forEach(n=>lh(n,t,r)):lh(e,t,r),"debug"),PJ=s(function(e){if(e===void 0&&(e=op().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=qF(e.innerHTML);return console.log(`Open this URL in your browser
394
+
395
+ `+t),t},"logTestingPlaygroundURL"),JE={debug:TJ,logTestingPlaygroundURL:PJ},DJ=typeof document<"u"&&document.body?wu(document.body,Cu,JE):Object.keys(Cu).reduce((e,t)=>(e[t]=()=>{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")},e),JE);function ke(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}s(ke,"isElementType");function gr(e){var t;if(MF(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${LF(e)}`)}s(gr,"getWindow");function MF(e){return e.nodeType===9}s(MF,"isDocument");function LF(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}s(LF,"describe");function rv(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}s(rv,"readBlobText");function cp(e,t){let r={...t,length:t.length,item:s(n=>r[n],"item"),[Symbol.iterator]:s(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}s(cp,"createFileList");function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(wn,"_define_property");var $F=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){wn(this,"kind",void 0),wn(this,"type",void 0),wn(this,"file",null),wn(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};s($F,"DataTransferItemStub");var UF=$F,VF=class extends Array{add(...t){let r=new UF(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};s(VF,"DataTransferItemListStub");var OJ=VF;function wi(e,t){let[r,n]=e.split("/"),a=!n||n==="*";return o=>t?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}s(wi,"getTypeMatcher");function HF(e){var t;return new(t=class{getData(r){var n;let a=(n=this.items.find(wi(r,!0)))!==null&&n!==void 0?n:this.items.find(wi(r,!1)),o="";return a==null||a.getAsString(i=>{o=i}),o}setData(r,n){let a=this.items.findIndex(wi(r,!0)),o=new UF(n,r);a>=0?this.items.splice(a,1,o):this.items.push(o)}clearData(r){if(r){let n=this.items.findIndex(wi(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){wn(this,"dropEffect","none"),wn(this,"effectAllowed","uninitialized"),wn(this,"items",new OJ),wn(this,"files",cp(e,[]))}},s(t,"DataTransferStub"),t)}s(HF,"createDataTransferStub");function pp(e,t=[]){let r=typeof e.DataTransfer>"u"?HF(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:s(()=>cp(e,t),"get")}),r}s(pp,"createDataTransfer");async function zF(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}s(zF,"getBlobFromDataTransferItem");function nv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(nv,"_define_property");function av(e,...t){var r;let n=Object.fromEntries(t.map(a=>[typeof a=="string"?"text/plain":a.type,Promise.resolve(a)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(a){let o=await this.data[a];if(!o)throw new Error(`${a} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:a})}constructor(a){nv(this,"data",void 0),this.data=a}},s(r,"ClipboardItem"),r)(n)}s(av,"createClipboardItem");var Lo=Symbol("Manage ClipboardSub");function bh(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let a of this.items){let o=a.types.includes("text/plain")?"text/plain":a.types.find(i=>i.startsWith("text/"));o&&(n+=await a.getType(o).then(i=>rv(i,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[av(e,n)]}constructor(...n){super(...n),nv(this,"items",[])}},s(r,"Clipboard"),r),{[Lo]:t})}s(bh,"createClipboardStub");function dp(e){return!!(e!=null&&e[Lo])}s(dp,"isClipboardStub");function JF(e){if(dp(e.navigator.clipboard))return e.navigator.clipboard[Lo];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:s(()=>{r=bh(e,n)},"resetClipboardStub"),detachClipboardStub:s(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=bh(e,n),Object.defineProperty(e.navigator,"clipboard",{get:s(()=>r,"get"),configurable:!0}),r[Lo]}s(JF,"attachClipboardStubToView");function GF(e){dp(e.navigator.clipboard)&&e.navigator.clipboard[Lo].resetClipboardStub()}s(GF,"resetClipboardStubOnView");function WF(e){dp(e.navigator.clipboard)&&e.navigator.clipboard[Lo].detachClipboardStub()}s(WF,"detachClipboardStubFromView");async function YF(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=pp(t);for(let o of n)for(let i of o.types)a.setData(i,await o.getType(i).then(l=>rv(l,t.FileReader)));return a}s(YF,"readDataTransferFromClipboard");async function ov(e,t){let r=gr(e),n=r.navigator.clipboard,a=[];for(let o=0;o<t.items.length;o++){let i=t.items[o],l=await zF(r,i);a.push(av(r,l))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}s(ov,"writeDataTransferToClipboard");var Au=globalThis;typeof Au.afterEach=="function"&&Au.afterEach(()=>{typeof globalThis.window<"u"&&GF(globalThis.window)});typeof Au.afterAll=="function"&&Au.afterAll(()=>{typeof globalThis.window<"u"&&WF(globalThis.window)});var KF=["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 fp(e){return e.matches(KF)}s(fp,"isFocusable");function XF(e){return new e.constructor(e.type,e)}s(XF,"cloneEvent");function on(e){for(let r=e;r;r=r.parentElement)if(ke(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ke(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}s(on,"isDisabled");function oi(e){let t=e.activeElement;return t!=null&&t.shadowRoot?oi(t.shadowRoot):on(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}s(oi,"getActiveElement");function Sl(e){var t;return(t=oi(e))!==null&&t!==void 0?t:e.body}s(Sl,"getActiveElementOrBody");function QF(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}s(QF,"findClosest");function Qn(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}s(Qn,"isContentEditable");function $o(e){let t=ZF(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}s($o,"getContentEditable");function ZF(e){return e.nodeType===1?e:e.parentElement}s(ZF,"getElement");var eI=function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e}(eI||{});function iv(e){return ke(e,"button")||ke(e,"input")&&e.type in eI}s(iv,"isClickableInput");function Na(e){return sv(e)&&!e.readOnly||Qn(e)}s(Na,"isEditable");var tI=function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e}(tI||{});function sv(e){return ke(e,"textarea")||ke(e,"input")&&e.type in tI}s(sv,"isEditableInputOrTextArea");function qr(e){return lv(e)&&sv(e)}s(qr,"hasOwnSelection");function rI(e){return lv(e)&&iv(e)}s(rI,"hasNoSelection");function lv(e){return e.nodeType===1}s(lv,"isElement");function nI(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&qr(e)){let n=$o(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}s(nI,"updateSelectionOnFocus");function ja(e,t){return Le().eventWrapper(e)}s(ja,"wrapEvent");function Pn(e){let t=QF(e,fp),r=oi(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(ja(t?()=>t.focus():()=>r==null?void 0:r.blur()),nI(t??e.ownerDocument.body))}s(Pn,"focusElement");function aI(e){!fp(e)||oi(e.ownerDocument)!==e||ja(()=>e.blur())}s(aI,"blurElement");var Zn={};Zn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&ke(n,"label")&&n.control;if(a&&a!==t)return()=>{fp(a)&&(Pn(a),r.dispatchEvent(a,XF(e)))};if(ke(t,"input",{type:"file"}))return()=>{aI(t),t.dispatchEvent(new(gr(t)).Event("fileDialog")),Pn(t)}};var Uo=Symbol("Displayed value in UI"),An=Symbol("Displayed selection in UI"),xu=Symbol("Initial value to compare on blur");function oI(e){return typeof e=="object"&&Uo in e}s(oI,"isUIValue");function iI(e){return!!e&&typeof e=="object"&&An in e}s(iI,"isUISelectionStart");function sI(e,t){e[xu]===void 0&&(e[xu]=e.value),e[Uo]=t,e.value=Object.assign(new String(t),{[Uo]:!0})}s(sI,"setUIValue");function Mr(e){return e[Uo]===void 0?e.value:String(e[Uo])}s(Mr,"getUIValue");function hp(e){e[Uo]=void 0}s(hp,"setUIValueClean");function uv(e){e[xu]=void 0}s(uv,"clearInitialValue");function lI(e){return e[xu]}s(lI,"getInitialValue");function uI(e,t){e[An]=t}s(uI,"setUISelectionRaw");function Ga(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=Mr(e).length,o=s(d=>Math.max(0,Math.min(a,d)),"sanitizeOffset"),i=n==="replace"||e[An]===void 0?o(r):e[An].anchorOffset,l=o(t),u=Math.min(i,l),c=Math.max(i,l);if(e[An]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let p=Object.assign(new Number(u),{[An]:!0});try{e.setSelectionRange(p,c)}catch{}}s(Ga,"setUISelection");function Vo(e){var t,r,n;let a=(n=e[An])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}s(Vo,"getUISelection");function cI(e){return!!e[An]}s(cI,"hasUISelection");function Li(e){e[An]=void 0}s(Li,"setUISelectionClean");var Su=globalThis.parseInt;function pI(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Su(t[0],10),n=Su(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,vh(t,a)}return e.length===2?e:vh(t,2)}s(pI,"buildTimeValue");function vh(e,t){let r=e.slice(0,t),n=Math.min(Su(r,10),23),a=e.slice(t),o=Su(a,10),i=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}s(vh,"build");function cv(e,t){let r=e.cloneNode();return r.value=t,r.value===t}s(cv,"isValidDateOrTimeValue");var dI=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(dI||{});function fI(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}s(fI,"getMaxLength");function hI(e){return ke(e,"textarea")||ke(e,"input")&&e.type in dI}s(hI,"supportsMaxLength");function pv(e,t,r,n){if($i(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Eh(e,t,r);if(a){if($i(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(ke(a,"br")){let o=Eh(a,void 0,r);return o?$i(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&ke(o,"br")?{node:a.parentNode,offset:Ai(a)}:{node:o.parentNode,offset:Ai(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Ai(a)}:void 0}else return{node:a.parentNode,offset:Ai(a)+(r>0?1:0)}}}s(pv,"getNextCursorPosition");function Eh(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&mp(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),yI(e,r===1?"next":"previous",mI)}s(Eh,"getNextCharacterContentNode");function mI(e){if($i(e))return!0;if(mp(e)){if(ke(e,["input","textarea"]))return e.type!=="hidden";if(ke(e,"br"))return!0}return!1}s(mI,"isTreatedAsCharacterContent");function Ai(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}s(Ai,"getOffset");function mp(e){return e.nodeType===1}s(mp,"isElement");function $i(e){return e.nodeType===3}s($i,"isTextNode");function yI(e,t,r){for(;;){var n;let a=e[`${t}Sibling`];if(a){if(e=gI(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!mp(e.parentNode)||!Qn(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}s(yI,"walkNodes");function gI(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}s(gI,"getDescendant");var fs=Symbol("Track programmatic changes for React workaround");function bI(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&gr(e).REACT_VERSION===17}s(bI,"isReact17Element");function vI(e){bI(e)&&(e[fs]={previousValue:String(e.value),tracked:[]})}s(vI,"startTrackValue");function EI(e,t){var r,n;(n=e[fs])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[fs]||(hp(e),Ga(e,{focusOffset:t.length}))}s(EI,"trackOrSetValue");function CI(e,t){var r;let n=e[fs];if(e[fs]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||hp(e),cI(e)&&Ga(e,{focusOffset:a?t:e.value.length})}s(CI,"commitValueAfterInput");function dv(e){let t=wI(e);if(t&&qr(t))return{type:"input",selection:Vo(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:$o(e)&&(r!=null&&r.anchorNode)&&$o(r.anchorNode)?"contenteditable":"default",selection:r}}s(dv,"getTargetTypeAndSelection");function wI(e){return e.nodeType===1?e:e.parentElement}s(wI,"getElement");function AI(e){let t=dv(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}s(AI,"getInputRange");function ea({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(dv(e).type==="input")return Ga(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}s(ea,"setSelection");function fv(e){return ke(e,"input")&&["date","time"].includes(e.type)}s(fv,"isDateOrTime");function Ba(e,t,r,n="insertText"){let a=AI(t);a&&(!fv(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?xI(e,t,a,r,n):SI(e,t,a,r,n)))}s(Ba,"input");function xI(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let i=pv(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}s(xI,"editContenteditable");function SI(e,t,r,n,a){let o=n;if(hI(t)){let c=fI(t);if(c!==void 0&&n.length>0){let p=c-t.value.length;if(p>0)o=n.substring(0,p);else return}}let{newValue:i,newOffset:l,oldValue:u}=_I(o,t,r,a);i===u&&l===r.startOffset&&l===r.endOffset||ke(t,"input",{type:"number"})&&!TI(i)||(sI(t,i),ea({focusNode:t,anchorOffset:l,focusOffset:l}),fv(t)?cv(t,i)&&(Ch(e,t,l,{}),e.dispatchUIEvent(t,"change"),uv(t)):Ch(e,t,l,{data:n,inputType:a}))}s(SI,"editInputElement");function _I(e,t,{startOffset:r,endOffset:n},a){let o=Mr(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),p=`${l}${e}${c}`,d=i+e.length;if(ke(t,"input",{type:"time"})){let h=pI(p);h!==""&&cv(t,h)&&(p=h,d=h.length)}return{oldValue:o,newValue:p,newOffset:d}}s(_I,"calculateNewValue");function Ch(e,t,r,n){e.dispatchUIEvent(t,"input",n),CI(t,r)}s(Ch,"commitInput");function TI(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}s(TI,"isValidNumberInput");Zn.cut=(e,t,r)=>()=>{Na(t)&&Ba(r,t,"","deleteByCut")};function PI(e){return e?Qn(e)?e.textContent:Mr(e):null}s(PI,"getValueOrTextContent");function DI(e){let t=gr(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}s(DI,"isVisible");function OI(e,t){let r=e.ownerDocument,n=r.querySelectorAll(KF),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||on(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let p=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return p===d?0:p===0?1:d===0?-1:p-d});let o={},i=[r.body],l=ke(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(ke(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(p=>!ke(p,"input",{type:"radio",name:c.name})),i.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}i.push(c)});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||DI(i[u]))return i[u]}s(OI,"getTabDestination");function wh(e,t){if(qr(e)){let r=Vo(e);ea({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=pv(r.focusNode,r.focusOffset,t);n&&ea({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}s(wh,"moveSelection");function hv(e){if(qr(e))return ea({focusNode:e,anchorOffset:0,focusOffset:Mr(e).length});var t;let r=(t=$o(e))!==null&&t!==void 0?t:e.ownerDocument.body;ea({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}s(hv,"selectAll");function RI(e){if(qr(e))return Vo(e).startOffset===0&&Vo(e).endOffset===Mr(e).length;var t;let r=(t=$o(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}s(RI,"isAllSelected");function fo(e,t,r){var n;if(qr(e))return ea({focusNode:e,anchorOffset:t,focusOffset:r});if(Qn(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ea({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}s(fo,"setSelectionRange");function xi(e,t,r){let n=gr(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;if(!on(a[o])){Pn(a[o]),e.dispatchUIEvent(a[o],"click");return}}}s(xi,"walkRadio");Zn.keydown=(e,t,r)=>{var n,a;return(a=(n=GE[e.key])===null||n===void 0?void 0:n.call(GE,e,t,r))!==null&&a!==void 0?a:RJ(e,t,r)};var GE={ArrowDown:s((e,t,r)=>{if(ke(t,"input",{type:"radio"}))return()=>xi(r,t,1)},"ArrowDown"),ArrowLeft:s((e,t,r)=>ke(t,"input",{type:"radio"})?()=>xi(r,t,-1):()=>wh(t,-1),"ArrowLeft"),ArrowRight:s((e,t,r)=>ke(t,"input",{type:"radio"})?()=>xi(r,t,1):()=>wh(t,1),"ArrowRight"),ArrowUp:s((e,t,r)=>{if(ke(t,"input",{type:"radio"}))return()=>xi(r,t,-1)},"ArrowUp"),Backspace:s((e,t,r)=>{if(Na(t))return()=>{Ba(r,t,"","deleteContentBackward")}},"Backspace"),Delete:s((e,t,r)=>{if(Na(t))return()=>{Ba(r,t,"","deleteContentForward")}},"Delete"),End:s((e,t)=>{if(ke(t,["input","textarea"])||Qn(t))return()=>{var r,n;let a=(n=(r=PI(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;fo(t,a,a)}},"End"),Home:s((e,t)=>{if(ke(t,["input","textarea"])||Qn(t))return()=>{fo(t,0,0)}},"Home"),PageDown:s((e,t)=>{if(ke(t,["input"]))return()=>{let r=Mr(t).length;fo(t,r,r)}},"PageDown"),PageUp:s((e,t)=>{if(ke(t,["input"]))return()=>{fo(t,0,0)}},"PageUp"),Tab:s((e,t,r)=>()=>{let n=OI(t,r.system.keyboard.modifiers.Shift);Pn(n),qr(n)&&Ga(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},RJ=s((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>hv(t)},"combinationBehavior");Zn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ke(t,"button")||ke(t,"input")&&FJ.includes(t.type)||ke(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ke(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&IJ.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Na(t)){let n=e.key==="Enter"?Qn(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
396
+ `:e.key;return()=>Ba(r,t,a,n)}};var FJ=["button","color","file","image","reset","submit"],IJ=["email","month","password","search","tel","text","url","week"];Zn.keyup=(e,t,r)=>{var n;return(n=WE[e.key])===null||n===void 0?void 0:n.call(WE,e,t,r)};var WE={" ":s((e,t,r)=>{if(iv(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Zn.paste=(e,t,r)=>{if(Na(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Ba(r,t,a,"insertFromPaste")}};var FI={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,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}},focus:{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}},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 mv(e){return FI[e].EventType}s(mv,"getEventClass");var kJ=["MouseEvent","PointerEvent"];function II(e){return kJ.includes(mv(e))}s(II,"isMouseEvent");function kI(e){return mv(e)==="KeyboardEvent"}s(kI,"isKeyboardEvent");var NJ={ClipboardEvent:[jI],Event:[],FocusEvent:[ro,BI],InputEvent:[ro,qI],MouseEvent:[ro,_l,Ah],PointerEvent:[ro,_l,Ah,LI],KeyboardEvent:[ro,_l,MI]};function yv(e,t,r){let n=gr(t),{EventType:a,defaultInit:o}=FI[e],i=new(NI(n))[a](e,o);return NJ[a].forEach(l=>l(i,r??{})),i}s(yv,"createEvent");function NI(e){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g;let b=(g=e.Event)!==null&&g!==void 0?g:(t=class{},s(t,"Event"),t);var v;let T=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends b{},s(r,"AnimationEvent"),r);var x;let _=(x=e.ClipboardEvent)!==null&&x!==void 0?x:(n=class extends b{},s(n,"ClipboardEvent"),n);var w;let E=(w=e.PopStateEvent)!==null&&w!==void 0?w:(a=class extends b{},s(a,"PopStateEvent"),a);var C;let P=(C=e.ProgressEvent)!==null&&C!==void 0?C:(o=class extends b{},s(o,"ProgressEvent"),o);var k;let N=(k=e.TransitionEvent)!==null&&k!==void 0?k:(i=class extends b{},s(i,"TransitionEvent"),i);var G;let Y=(G=e.UIEvent)!==null&&G!==void 0?G:(l=class extends b{},s(l,"UIEvent"),l);var O;let q=(O=e.CompositionEvent)!==null&&O!==void 0?O:(u=class extends Y{},s(u,"CompositionEvent"),u);var B;let K=(B=e.FocusEvent)!==null&&B!==void 0?B:(c=class extends Y{},s(c,"FocusEvent"),c);var Q;let ne=(Q=e.InputEvent)!==null&&Q!==void 0?Q:(p=class extends Y{},s(p,"InputEvent"),p);var $;let J=($=e.KeyboardEvent)!==null&&$!==void 0?$:(d=class extends Y{},s(d,"KeyboardEvent"),d);var U;let X=(U=e.MouseEvent)!==null&&U!==void 0?U:(h=class extends Y{},s(h,"MouseEvent"),h);var ee;let se=(ee=e.DragEvent)!==null&&ee!==void 0?ee:(f=class extends X{},s(f,"DragEvent"),f);var te;let pe=(te=e.PointerEvent)!==null&&te!==void 0?te:(m=class extends X{},s(m,"PointerEvent"),m);var de;let We=(de=e.TouchEvent)!==null&&de!==void 0?de:(y=class extends Y{},s(y,"TouchEvent"),y);return{Event:b,AnimationEvent:T,ClipboardEvent:_,PopStateEvent:E,ProgressEvent:P,TransitionEvent:N,UIEvent:Y,CompositionEvent:q,FocusEvent:K,InputEvent:ne,KeyboardEvent:J,MouseEvent:X,DragEvent:se,PointerEvent:pe,TouchEvent:We}}s(NI,"getEventConstructors");function Fn(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:s(()=>n??null,"get")})}s(Fn,"assignProps");function mt(e){return Number(e??0)}s(mt,"sanitizeNumber");function jI(e,{clipboardData:t}){Fn(e,{clipboardData:t})}s(jI,"initClipboardEvent");function BI(e,{relatedTarget:t}){Fn(e,{relatedTarget:t})}s(BI,"initFocusEvent");function qI(e,{data:t,inputType:r,isComposing:n}){Fn(e,{data:t,isComposing:!!n,inputType:String(r)})}s(qI,"initInputEvent");function ro(e,{view:t,detail:r}){Fn(e,{view:t,detail:mt(r??0)})}s(ro,"initUIEvent");function _l(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:p,modifierSymbol:d,modifierSymbolLock:h}){Fn(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:p,Shift:a,Symbol:d,SymbolLock:h}[f]}})}s(_l,"initUIEventModifiers");function MI(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){Fn(e,{key:String(t),code:String(r),location:mt(n),repeat:!!a,isComposing:!!o,charCode:i})}s(MI,"initKeyboardEvent");function Ah(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:l,buttons:u,relatedTarget:c,offsetX:p,offsetY:d,pageX:h,pageY:f}){Fn(e,{screenX:mt(n),screenY:mt(a),clientX:mt(o),x:mt(o),clientY:mt(i),y:mt(i),button:mt(l),buttons:mt(u),relatedTarget:c,offsetX:mt(p),offsetY:mt(d),pageX:mt(h),pageY:mt(f)})}s(Ah,"initMouseEvent");function LI(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:p}){Fn(e,{pointerId:mt(t),width:mt(r??1),height:mt(n??1),pressure:mt(a),tangentialPressure:mt(o),tiltX:mt(i),tiltY:mt(l),twist:mt(u),pointerType:String(c),isPrimary:!!p})}s(LI,"initPointerEvent");function $I(e,t,r,n=!1){(II(t)||kI(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=yv(t,e,r);return gv.call(this,e,a,n)}s($I,"dispatchUIEvent");function gv(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=Zn[a])===null||n===void 0?void 0:n.call(Zn,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:s(()=>i,"get")}),Object.defineProperty(t,"preventDefault",{value:s(()=>{i=t.cancelable},"value")}),ja(()=>e.dispatchEvent(t)),i||o(),!i}return ja(()=>e.dispatchEvent(t))}s(gv,"dispatchEvent");function Un(e,t,r){let n=yv(t,e,r);ja(()=>e.dispatchEvent(n))}s(Un,"dispatchDOMEvent");var YE=Symbol("patched focus/blur methods");function bv(e){if(e.prototype[YE])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:s(()=>a,"get")},blur:{configurable:!0,get:s(()=>o,"get")},[YE]:{configurable:!0,get:s(()=>({focus:t,blur:r}),"get")}});let n;function a(i){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,i);let l=xh(this.ownerDocument);if(l===this)return;let u=Symbol("focus call");n=u,l&&(r.call(l),Un(l,"blur",{relatedTarget:this}),Un(l,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,i),Un(this,"focus",{relatedTarget:l})),n===u&&Un(this,"focusin",{relatedTarget:l})}s(a,"patchedFocus");function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let i=xh(this.ownerDocument);i===this&&(n=Symbol("blur call"),r.call(this),Un(i,"blur",{relatedTarget:null}),Un(i,"focusout",{relatedTarget:null}))}s(o,"patchedBlur")}s(bv,"patchFocus");function xh(e){let t=oi(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}s(xh,"getActiveTarget");var nd=Symbol("Interceptor for programmatical calls");function Ca(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[o])!="function"||n[o][nd])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:p}=r.call(this,...l),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),p==null||p()}s(i,"intercept"),i[nd]=nd,Object.defineProperty(e,t,{...a??n,[o]:i})}s(Ca,"prepareInterceptor");function UI(e){Ca(e,"value",s(function(t){let r=oI(t);return r&&vI(this),{applyNative:!!r,realArgs:VI(this,t),then:r?void 0:()=>EI(this,String(t))}},"interceptorImpl"))}s(UI,"prepareValueInterceptor");function VI(e,t){return ke(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}s(VI,"sanitizeValue");function HI(e){Ca(e,"setSelectionRange",s(function(t,...r){let n=iI(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:s(()=>n?void 0:Li(e),"then")}},"interceptorImpl")),Ca(e,"selectionStart",s(function(t){return{realArgs:t,then:s(()=>Li(e),"then")}},"interceptorImpl")),Ca(e,"selectionEnd",s(function(t){return{realArgs:t,then:s(()=>Li(e),"then")}},"interceptorImpl")),Ca(e,"select",s(function(){return{realArgs:[],then:s(()=>uI(e,{anchorOffset:0,focusOffset:Mr(e).length}),"then")}},"interceptorImpl"))}s(HI,"prepareSelectionInterceptor");function zI(e){Ca(e,"setRangeText",s(function(...t){return{realArgs:t,then:s(()=>{hp(e),Li(e)},"then")}},"interceptorImpl"))}s(zI,"prepareRangeTextInterceptor");var Ao=Symbol("Node prepared with document state workarounds");function vv(e){e[Ao]||(e.addEventListener("focus",t=>{let r=t.target;Sh(r)},{capture:!0,passive:!0}),e.activeElement&&Sh(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=lI(r);n!==void 0&&(r.value!==n&&Un(r,"change"),uv(r))},{capture:!0,passive:!0}),e[Ao]=Ao)}s(vv,"prepareDocument");function Sh(e){e[Ao]||(ke(e,["input","textarea"])&&(UI(e),HI(e),zI(e)),e[Ao]=Ao)}s(Sh,"prepareElement");function JI(e){return GI(e)?e:e.ownerDocument}s(JI,"getDocumentFromNode");function GI(e){return e.nodeType===9}s(GI,"isDocument");var fr=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function ho(e,t){e.levelRefs[t]={}}s(ho,"setLevelRef");function Si(e,t){return e.levelRefs[t]}s(Si,"getLevelRef");function qa(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}s(qa,"wait");var Tl=function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e}({});function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Mn,"_define_property");var Hr=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),jJ=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function _h(e){return jJ.includes(e)}s(_h,"isModifierKey");var BJ=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Th(e){return BJ.includes(e)}s(Th,"isModifierLock");var WI=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),a=String(r.code),o=Sl(t.config.document);this.setKeydownTarget(o),this.pressed.add(a,r),_h(n)&&(this.modifiers[n]=!0);let i=t.dispatchUIEvent(o,"keydown",{key:n,code:a});Th(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),i&&this.pressed.setUnprevented(a),i&&this.hasKeyPress(n)&&t.dispatchUIEvent(Sl(t.config.document),"keypress",{key:n,code:a,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),a=String(r.code),o=this.pressed.isUnprevented(a);this.pressed.delete(a),_h(n)&&!this.pressed.values().find(i=>i.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(Sl(t.config.document),"keyup",{key:n,code:a},!o),Th(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Mn(this,"system",void 0),Mn(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}),Mn(this,"pressed",new class{add(r,n){var a,o,i;(i=(a=this.registry)[o=r])!==null&&i!==void 0||(a[o]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Mn(this,"registry",{})}}),Mn(this,"carryChar",""),Mn(this,"lastKeydownTarget",void 0),Mn(this,"modifierLockStart",{}),this.system=t}};s(WI,"KeyboardHost");var qJ=WI,MJ=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Hr.LEFT},{code:"AltRight",key:"Alt",location:Hr.RIGHT},{code:"ShiftLeft",key:"Shift",location:Hr.LEFT},{code:"ShiftRight",key:"Shift",location:Hr.RIGHT},{code:"ControlLeft",key:"Control",location:Hr.LEFT},{code:"ControlRight",key:"Control",location:Hr.RIGHT},{code:"MetaLeft",key:"Meta",location:Hr.LEFT},{code:"MetaRight",key:"Meta",location:Hr.RIGHT},{code:"OSLeft",key:"OS",location:Hr.LEFT},{code:"OSRight",key:"OS",location:Hr.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{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"}],LJ=[{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 YI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(YI,"_define_property");var KI=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=_u(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=_u(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){YI(this,"pressed",{})}};s(KI,"Buttons");var XI=KI,KE={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function _u(e=0){return e in KE?KE[e]:Number(e)}s(_u,"getMouseButtonId");var XE={1:2,2:1};function Tu(e){return e=_u(e),e in XE?XE[e]:e}s(Tu,"getMouseEventButton");function QI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(QI,"_define_property");var ZI=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){QI(this,"pressedKeys",new Set)}};s(ZI,"Device");var $J=ZI;function xo(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}s(xo,"getTreeDiff");function Pu({target:e,node:t,offset:r}){return qr(e)?{node:e,offset:r??Mr(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Ev(e,r)}s(Pu,"resolveCaretPosition");function Ev(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(o.nodeType===1)return Ev(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}s(Ev,"findNodeAtTextOffset");function e2({document:e,target:t,clickCount:r,node:n,offset:a}){if(rI(t))return;let o=qr(t),i=String(o?Mr(t):t.textContent),[l,u]=n?[a,a]:t2(i,a,r);if(o)return Ga(t,{anchorOffset:l??i.length,focusOffset:u??i.length}),{node:t,start:l??0,end:u??i.length};{let{node:c,offset:p}=Pu({target:t,node:n,offset:l}),{node:d,offset:h}=Pu({target:t,node:n,offset:u}),f=t.ownerDocument.createRange();try{f.setStart(c,p),f.setEnd(d,h)}catch{throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(f.cloneRange()),f}}s(e2,"setSelectionPerMouseDown");function t2(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}s(t2,"getTextRange");function r2(e,{document:t,target:r,node:n,offset:a}){let o=Pu({target:r,node:n,offset:a});if("node"in e){if(o.node===e.node){let i=o.offset<e.start?e.end:e.start,l=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ga(e.node,{anchorOffset:i,focusOffset:l})}}else{let i=e.cloneRange(),l=i.comparePoint(o.node,o.offset);l<0?i.setStart(o.node,o.offset):l>0&&i.setEnd(o.node,o.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(i.cloneRange())}}s(r2,"modifySelectionPerMouseMove");function Cv(e,t){var r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v,T,x,_,w,E,C,P;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.coords)===null||i===void 0?void 0:i.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((f=t.coords)===null||f===void 0?void 0:f.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((b=t.coords)===null||b===void 0?void 0:b.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((T=t.coords)===null||T===void 0?void 0:T.screenX)||((x=e.coords)===null||x===void 0?void 0:x.screenY)!==((_=t.coords)===null||_===void 0?void 0:_.screenY)||((w=e.caret)===null||w===void 0?void 0:w.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((P=t.caret)===null||P===void 0?void 0:P.offset)}s(Cv,"isDifferentPointerPosition");function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Ln,"_define_property");var n2=class{move(t,r,n){let a=this.position,o=this.getTarget(t);if(this.position=r,!Cv(a,r))return;let i=this.getTarget(t),l=this.getEventInit("mousemove"),[u,c]=xo(o,i);return{leave:s(()=>{o!==i&&(t.dispatchUIEvent(o,"mouseout",l),u.forEach(p=>t.dispatchUIEvent(p,"mouseleave",l)))},"leave"),enter:s(()=>{o!==i&&(t.dispatchUIEvent(i,"mouseover",l),c.forEach(p=>t.dispatchUIEvent(p,"mouseenter",l)))},"enter"),move:s(()=>{n||(t.dispatchUIEvent(i,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let a=this.buttons.down(r);if(a===void 0)return;let o=this.getTarget(t);this.buttonDownTarget[a]=o;let i=this.getEventInit("mousedown",r.button),l=on(o);!n&&(l||t.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(t,i.detail),Pn(o)),!l&&Tu(r.button)===2&&t.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let a=this.buttons.up(r);if(a===void 0)return;let o=this.getTarget(t);if(!on(o)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(o,"mouseup",l),this.endSelecting()}let i=xo(this.buttonDownTarget[a],o)[2][0];if(i){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(i,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Tu(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,a;this.selecting=e2({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(a=this.position.caret)===null||a===void 0?void 0:a.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&r2(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){Ln(this,"position",{}),Ln(this,"buttons",new XI),Ln(this,"selecting",void 0),Ln(this,"buttonDownTarget",{}),Ln(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){Ln(this,"down",{}),Ln(this,"count",{})}})}};s(n2,"Mouse");var UJ=n2;function hs(e,t){var r;return((r=wv(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}s(hs,"hasPointerEvents");function a2(e){let t=gr(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}s(a2,"closestPointerEventsDeclaration");var QE=Symbol("Last check for pointer-events");function wv(e,t){let r=t[QE];if(!(e.config.pointerEventsCheck!==Tl.Never&&(!r||Ph(e.config.pointerEventsCheck,Tl.EachApiCall)&&r[fr.Call]!==Si(e,fr.Call)||Ph(e.config.pointerEventsCheck,Tl.EachTrigger)&&r[fr.Trigger]!==Si(e,fr.Trigger))))return r==null?void 0:r.result;let n=a2(t);return t[QE]={[fr.Call]:Si(e,fr.Call),[fr.Trigger]:Si(e,fr.Trigger),result:n},n}s(wv,"checkPointerEvents");function mo(e,t){let r=wv(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",o2(r.tree)].join(`
397
+ `))}s(mo,"assertPointerEvents");function o2(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,i2(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
398
+ `)}s(o2,"printTree");function i2(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(ke(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return(l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(ke(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}s(i2,"getLabelDescr");function Ph(e,t){return(e&t)>0}s(Ph,"hasBitFlag");function Kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Kr,"_define_property");var s2=class{init(t){let r=this.getTarget(t),[,n]=xo(null,r),a=this.getEventInit();return mo(t,r),t.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerenter",a)),this}move(t,r){let n=this.position,a=this.getTarget(t);if(this.position=r,!Cv(n,r))return;let o=this.getTarget(t),i=this.getEventInit(-1),[l,u]=xo(a,o);return{leave:s(()=>{hs(t,a)&&a!==o&&(t.dispatchUIEvent(a,"pointerout",i),l.forEach(c=>t.dispatchUIEvent(c,"pointerleave",i)))},"leave"),enter:s(()=>{mo(t,o),a!==o&&(t.dispatchUIEvent(o,"pointerover",i),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",i)))},"enter"),move:s(()=>{t.dispatchUIEvent(o,"pointermove",i)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);mo(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);mo(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=xo(r,null),a=this.getEventInit();hs(t,r)&&(t.dispatchUIEvent(r,"pointerout",a),n.forEach(o=>t.dispatchUIEvent(o,"pointerleave",a))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Tu(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},a){Kr(this,"pointerId",void 0),Kr(this,"pointerType",void 0),Kr(this,"isPrimary",void 0),Kr(this,"buttons",void 0),Kr(this,"isMultitouch",!1),Kr(this,"isCancelled",!1),Kr(this,"isDown",!1),Kr(this,"isPrevented",!1),Kr(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=a}};s(s2,"Pointer");var VJ=s2;function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(gn,"_define_property");var l2=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let a=this.getPointerName(r),o=r.pointerType==="touch"?this.pointers.new(a,r.pointerType,this.buttons):this.pointers.get(a);o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),o.pointerType==="touch"&&o.init(t),o.down(t,r.button),o.pointerType!=="touch"&&this.mouse.down(t,r,o.isPrevented)}async move(t,r,n){let a=this.pointers.get(r),o=a.move(t,n),i=a.pointerType==="touch"?void 0:this.mouse.move(t,n,a.isPrevented);o==null||o.leave(),i==null||i.leave(),o==null||o.enter(),i==null||i.enter(),o==null||o.move(),i==null||i.move()}async release(t,r,n){let a=this.devices.get(r.pointerType);a.removePressed(r),this.buttons.up(r);let o=this.pointers.get(this.getPointerName(r)),i=o.isPrevented;if(o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),a.countPressed===0&&o.up(t,r.button),o.pointerType==="touch"&&o.release(t),o.pointerType==="touch"&&!o.isMultitouch){let l=this.mouse.move(t,n,i);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.down(t,r,i)}if(!o.isMultitouch){let l=this.mouse.move(t,n,i);l==null||l.leave(),l==null||l.enter(),l==null||l.move(),this.mouse.up(t,r,i)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){gn(this,"system",void 0),gn(this,"mouse",void 0),gn(this,"buttons",void 0),gn(this,"devices",new class{get(r){var n,a,o;return(o=(n=this.registry)[a=r])!==null&&o!==void 0?o:n[a]=new $J}constructor(){gn(this,"registry",{})}}),gn(this,"pointers",new class{new(r,n,a){let o=n!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===n&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[r]=new VJ({pointerId:this.nextId++,pointerType:n,isPrimary:o},a),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){gn(this,"registry",{}),gn(this,"nextId",1)}}),this.system=t,this.buttons=new XI,this.mouse=new UJ,this.pointers.new("mouse","mouse",this.buttons)}};s(l2,"PointerHost");var HJ=l2;function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}s(Dh,"_define_property");var u2=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(){Dh(this,"keyboard",new qJ(this)),Dh(this,"pointer",new HJ(this))}};s(u2,"System");var c2=u2;async function p2(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}s(p2,"click");async function d2(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}s(d2,"dblClick");async function f2(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}s(f2,"tripleClick");async function h2(e){return this.pointer({target:e})}s(h2,"hover");async function m2(e){return mo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}s(m2,"unhover");async function y2({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}s(y2,"tab");var Av=function(e){return e["{"]="}",e["["]="]",e}(Av||{});function xv(e,t){let r=0,n=e[r]in Av?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?g2(e,r,t):b2(e,r,a,t)}}s(xv,"readNextDescriptor");function g2(e,t,r){let n=e[t];return Sv(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}s(g2,"readPrintableChar");function b2(e,t,r,n){var a,o;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Sv(u,e,t,n),t+=u.length;var c;let p=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=p.length;let d=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=d.length;let h=Av[r],f=e[t]===h?h:"";if(!f)throw new Error(_v([!p&&"repeat modifier",!d&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:v2(d,p)}}s(b2,"readTag");function Sv(e,t,r,n){if(!e)throw new Error(_v("key descriptor",t[r],t,n))}s(Sv,"assertDescriptor");function v2(e,t){if(e)return e==="/";if(t)return!1}s(v2,"hasReleaseSelf");function _v(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
399
+ See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
400
+ for more information about how userEvent parses your input.`}s(_v,"getErrorMessage");function E2(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=xv(t,"keyboard");var n;let p=(n=e.find(d=>{if(a==="["){var h;return((h=d.code)===null||h===void 0?void 0:h.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:p,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i)}while(t);return r}s(E2,"parseKeyDef");async function C2(e){let t=E2(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await qa(this.config),await w2(this,t[r])}s(C2,"keyboard");async function w2(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let i=1;i<=a;i++)await o.keyboard.keydown(e,t),i<a&&await qa(e.config);n&&await o.keyboard.keyup(e,t)}}s(w2,"keyboardAction");async function A2(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}s(A2,"releaseAllKeys");function Tv(e){let t=qr(e)?{"text/plain":x2(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=pp(gr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}s(Tv,"copySelection");function x2(e){let t=Vo(e);return Mr(e).substring(t.startOffset,t.endOffset)}s(x2,"readSelectedValueFromInput");async function S2(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Tv(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ov(e,n),n}s(S2,"copy");async function _2(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=Tv(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ov(r.ownerDocument,n),n}s(_2,"cut");async function T2(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;let o=(a=typeof e=="string"?P2(t,e):e)!==null&&a!==void 0?a:await YF(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}s(T2,"paste");function P2(e,t){let r=pp(gr(e));return r.setData("text",t),r}s(P2,"getClipboardDataFromString");function Oh(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=xv(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}s(Oh,"parseKeyDef");async function D2(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Oh(t,n)):"keys"in n?r.push(...Oh(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await qa(this.config),await O2(this,r[n]);this.system.pointer.resetClickCount()}s(D2,"pointer");async function O2(e,t){var r,n;let a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(a);var i,l,u,c;let p={target:(i=t.target)!==null&&i!==void 0?i:R2(e,o),coords:(l=t.coords)!==null&&l!==void 0?l:o==null?void 0:o.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Rh(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Rh(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(ho(e,fr.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(ho(e,fr.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(ho(e,fr.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(ho(e,fr.Trigger),await e.system.pointer.move(e,a,p))}s(O2,"pointerAction");function Rh(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}s(Rh,"hasCaretPosition");function R2(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}s(R2,"getPrevTarget");async function F2(e){if(!Na(e)||on(e))throw new Error("clear()` is only supported on editable elements.");if(Pn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(hv(e),!RI(e))throw new Error("The element content to be cleared could not be selected.");Ba(this,e,"","deleteContentBackward")}s(F2,"clear");async function I2(e,t){return Pv.call(this,!0,e,t)}s(I2,"selectOptions");async function k2(e,t){return Pv.call(this,!1,e,t)}s(k2,"deselectOptions");async function Pv(e,t,r){if(!e&&!t.multiple)throw Le().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],a=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(l=>{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Le().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!on(l));if(on(t)||!o.length)return;let i=s(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ke(t,"select"))if(t.multiple)for(let l of o){let u=this.config.pointerEventsCheck===0?!0:hs(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Pn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await qa(this.config)}else if(o.length===1){let l=this.config.pointerEventsCheck===0?!0:hs(this,t);l?await this.click(t):Pn(t),i(o[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await qa(this.config)}else throw Le().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of o)await this.click(l),await this.unhover(l);else throw Le().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}s(Pv,"selectOptionsBase");async function N2(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&fo(e,a,o??a),await this.keyboard(t),n||await A2(this))}s(N2,"type");var ZE=Symbol("files and value properties are mocked");function Pl(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}s(Pl,"restoreProperty");function j2(e,t){var r;(r=e[ZE])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){Pl(e,"type",n),Pl(e,"value",a),Pl(e,"files",o)}s(i,"restore"),e[ZE]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:s(()=>t,"get")},value:{configurable:!0,get:s(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")i();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:s(()=>"file","get"),set(l){l!=="file"&&(i(),e.type=l)}}})}s(j2,"setFiles");async function B2(e,t){let r=ke(e,"label")?e.control:e;if(!r||!ke(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(on(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||q2(o,r.accept)).slice(0,r.multiple?void 0:1),a=s(()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(j2(r,cp(gr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}s(B2,"upload");function _i(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}s(_i,"normalize");function q2(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return _i(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?_i(e.name).endsWith(n):r.includes(n)?_i(e.type).startsWith(n.replace("*","")):_i(e.type)===n)}s(q2,"isAcceptableFile");var e1={click:p2,dblClick:d2,tripleClick:f2,hover:h2,unhover:m2,tab:y2,keyboard:C2,copy:S2,cut:_2,paste:T2,pointer:D2,clear:F2,deselectOptions:k2,selectOptions:I2,type:N2,upload:B2};function M2(e){return Le().asyncWrapper(e)}s(M2,"wrapAsync");var L2={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:MJ,pointerMap:LJ,pointerEventsCheck:Tl.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:s(()=>Promise.resolve(),"advanceTimers")},zJ={...L2,writeToClipboard:!0};function Dv(e={},t=zJ,r){let n=H2(e,r,t);return{...t,...e,document:n}}s(Dv,"createConfig");function $2(e={}){let t=Dv(e);vv(t.document),bv(gr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return JF(n),yp(t).api}s($2,"setupMain");function qt({keyboardState:e,pointerState:t,...r}={},n){let a=Dv(r,L2,n);vv(a.document),bv(gr(a.document).HTMLElement);var o;let i=(o=t??e)!==null&&o!==void 0?o:new c2;return{api:yp(a,i).api,system:i}}s(qt,"setupDirect");function U2(e){return yp({...this.config,...e},this.system).api}s(U2,"setupSub");function V2(e,t){function r(...n){return ho(e,fr.Call),M2(()=>t.apply(e,n).then(async a=>(await qa(e.config),a)))}return s(r,"method"),Object.defineProperty(r,"name",{get:s(()=>t.name,"get")}),r}s(V2,"wrapAndBindImpl");function yp(e,t=new c2){let r={};return Object.assign(r,{config:e,dispatchEvent:gv.bind(r),dispatchUIEvent:$I.bind(r),system:t,levelRefs:{},...e1}),{instance:r,api:{...Object.fromEntries(Object.entries(e1).map(([n,a])=>[n,V2(r,a)])),setup:U2.bind(r)}}}s(yp,"createInstance");function H2(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&JI(t))!==null&&a!==void 0?a:r.document}s(H2,"getDocument");var z2={};Xt(z2,{clear:()=>J2,click:()=>G2,copy:()=>W2,cut:()=>Y2,dblClick:()=>K2,deselectOptions:()=>X2,hover:()=>Q2,keyboard:()=>Z2,paste:()=>tk,pointer:()=>ek,selectOptions:()=>rk,tab:()=>sk,tripleClick:()=>nk,type:()=>ak,unhover:()=>ok,upload:()=>ik});function J2(e){return qt().api.clear(e)}s(J2,"clear");function G2(e,t={}){return qt(t,e).api.click(e)}s(G2,"click");function W2(e={}){return qt(e).api.copy()}s(W2,"copy");function Y2(e={}){return qt(e).api.cut()}s(Y2,"cut");function K2(e,t={}){return qt(t).api.dblClick(e)}s(K2,"dblClick");function X2(e,t,r={}){return qt(r).api.deselectOptions(e,t)}s(X2,"deselectOptions");function Q2(e,t={}){return qt(t).api.hover(e)}s(Q2,"hover");async function Z2(e,t={}){let{api:r,system:n}=qt(t);return r.keyboard(e).then(()=>n)}s(Z2,"keyboard");async function ek(e,t={}){let{api:r,system:n}=qt(t);return r.pointer(e).then(()=>n)}s(ek,"pointer");function tk(e,t){return qt(t).api.paste(e)}s(tk,"paste");function rk(e,t,r={}){return qt(r).api.selectOptions(e,t)}s(rk,"selectOptions");function nk(e,t={}){return qt(t).api.tripleClick(e)}s(nk,"tripleClick");function ak(e,t,r={}){return qt(r,e).api.type(e,t,r)}s(ak,"type");function ok(e,t={}){let{api:r,system:n}=qt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}s(ok,"unhover");function ik(e,t,r={}){return qt(r).api.upload(e,t)}s(ik,"upload");function sk(e={}){return qt().api.tab(e)}s(sk,"tab");var lk={...z2,setup:$2},Fh=Yo({...vO},{intercept:s((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});Fh.screen=new Proxy(Fh.screen,{get(e,t,r){return At.warn(j8`
401
+ You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
402
+ More info: https://storybook.js.org/docs/essentials/interactions
403
+ `),Reflect.get(e,t,r)}});var{buildQueries:JJ,configure:GJ,createEvent:WJ,fireEvent:YJ,findAllByAltText:KJ,findAllByDisplayValue:XJ,findAllByLabelText:QJ,findAllByPlaceholderText:ZJ,findAllByRole:eG,findAllByTestId:tG,findAllByText:rG,findAllByTitle:nG,findByAltText:aG,findByDisplayValue:oG,findByLabelText:iG,findByPlaceholderText:sG,findByRole:lG,findByTestId:uG,findByText:cG,findByTitle:pG,getAllByAltText:dG,getAllByDisplayValue:fG,getAllByLabelText:hG,getAllByPlaceholderText:mG,getAllByRole:yG,getAllByTestId:gG,getAllByText:bG,getAllByTitle:vG,getByAltText:EG,getByDisplayValue:CG,getByLabelText:wG,getByPlaceholderText:AG,getByRole:xG,getByTestId:SG,getByText:_G,getByTitle:TG,getConfig:PG,getDefaultNormalizer:DG,getElementError:OG,getNodeText:RG,getQueriesForElement:FG,getRoles:IG,getSuggestedQuery:kG,isInaccessible:NG,logDOM:jG,logRoles:BG,prettyDOM:qG,queries:MG,queryAllByAltText:LG,queryAllByAttribute:$G,queryAllByDisplayValue:UG,queryAllByLabelText:VG,queryAllByPlaceholderText:HG,queryAllByRole:zG,queryAllByTestId:JG,queryAllByText:GG,queryAllByTitle:WG,queryByAltText:YG,queryByAttribute:KG,queryByDisplayValue:XG,queryByLabelText:QG,queryByPlaceholderText:ZG,queryByRole:eW,queryByTestId:tW,queryByText:rW,queryByTitle:nW,queryHelpers:aW,screen:oW,waitFor:iW,waitForElementToBeRemoved:sW,within:uk,prettyFormat:lW}=Fh,ck=lk,{userEvent:uW}=Yo({userEvent:lk},{intercept:!0}),{expect:cW}=Yo({expect:gO},{getKeys:s((e,t)=>{if("constructor"in e&&e.constructor===z){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:s(e=>e!=="expect","intercept")}),t1=!1,pW=s(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||t1||(_b((n,a)=>{let o=n.getMockName();o!=="spy"&&(!/^next\/.*::/.test(o)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(i=>o.startsWith(i)))&&ii(o)(a)}),t1=!0)},"logActionsWhenMockCalled"),dW=[pW],r1=s(()=>({...Nx,...Bx}),"default"),Du="backgrounds",fW={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:kr}=globalThis,hW=s(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),n1=s(e=>{(Array.isArray(e)?e:[e]).forEach(mW)},"clearStyles"),mW=s(e=>{if(!kr)return;let t=kr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),yW=s((e,t)=>{if(!kr)return;let r=kr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=kr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,kr.head.appendChild(n)}},"addGridStyle"),gW=s((e,t,r)=>{var a;if(!kr)return;let n=kr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=kr.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,l=kr.getElementById(i);l?(a=l.parentElement)==null||a.insertBefore(o,l):kr.head.appendChild(o)}},"addBackgroundStyle"),bW={cellSize:100,cellAmount:10,opacity:.8},a1="addon-backgrounds",o1="addon-backgrounds-grid",vW=hW()?"":"transition: background-color 0.3s;",EW=s((e,t)=>{let{globals:r={},parameters:n={},viewMode:a,id:o}=t,{options:i=fW,disable:l,grid:u=bW}=n[Du]||{},c=r[Du]||{},p=typeof c=="string"?c:c==null?void 0:c.value,d=p?i[p]:void 0,h=typeof d=="string"?d:(d==null?void 0:d.value)||"transparent",f=typeof c=="string"?!1:c.grid||!1,m=!!d&&!l,y=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",g=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",b=n.layout===void 0||n.layout==="padded",v=a==="docs"?20:b?16:0,{cellAmount:T,cellSize:x,opacity:_,offsetX:w=v,offsetY:E=v}=u,C=a==="docs"?`${a1}-docs-${o}`:`${a1}-color`,P=a==="docs"?o:null;Kn(()=>{let N=`
404
+ ${y} {
405
+ background: ${h} !important;
406
+ ${vW}
407
+ }`;if(!m){n1(C);return}gW(C,N,P)},[y,C,P,m,h]);let k=a==="docs"?`${o1}-docs-${o}`:`${o1}`;return Kn(()=>{if(!f){n1(k);return}let N=[`${x*T}px ${x*T}px`,`${x*T}px ${x*T}px`,`${x}px ${x}px`,`${x}px ${x}px`].join(", "),G=`
408
+ ${g} {
409
+ background-size: ${N} !important;
410
+ background-position: ${w}px ${E}px, ${w}px ${E}px, ${w}px ${E}px, ${w}px ${E}px !important;
411
+ background-blend-mode: difference !important;
412
+ background-image: linear-gradient(rgba(130, 130, 130, ${_}) 1px, transparent 1px),
413
+ linear-gradient(90deg, rgba(130, 130, 130, ${_}) 1px, transparent 1px),
414
+ linear-gradient(rgba(130, 130, 130, ${_/2}) 1px, transparent 1px),
415
+ linear-gradient(90deg, rgba(130, 130, 130, ${_/2}) 1px, transparent 1px) !important;
416
+ }
417
+ `;yW(k,G)},[T,x,g,k,f,w,E,_]),e()},"withBackgroundAndGrid"),vC,CW=(vC=globalThis.FEATURES)!=null&&vC.backgrounds?[EW]:[],wW={[Du]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},AW={[Du]:{value:void 0,grid:!1}},i1=s(()=>({decorators:CW,parameters:wW,initialGlobals:AW}),"default"),{step:xW}=Yo({step:s(async(e,t,r)=>t(r),"step")},{intercept:!0}),s1=s(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:xW}),"default"),gp="storybook/highlight",SW=`${gp}/add`,_W=`${gp}/remove`,TW=`${gp}/reset`,PW=`${gp}/scroll-into-view`,l1=2147483647,Vn=28,u1={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},DW="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Tt=s((e,t={},r)=>{let n=DW.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([a,o])=>{/[A-Z]/.test(a)?(a==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),o())})),a==="onMouseEnter"&&n.addEventListener("mouseenter",o),a==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(a,o)}),r==null||r.forEach(a=>{if(!(a==null||a===!1))try{n.appendChild(a)}catch{n.appendChild(document.createTextNode(String(a)))}}),n},"createElement"),el=s(e=>u1[e]&&Tt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},u1[e].map(t=>Tt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),OW=s(e=>{if("elements"in e){let{elements:n,color:a,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${a}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),RW=s(e=>e instanceof Function,"isFunction"),mi=new Map,pa=new Map,tl=new Map,fn=s(e=>{let t=Symbol();return pa.set(t,[]),mi.set(t,e),{get:s(()=>mi.get(t),"get"),set:s(r=>{var o;let n=mi.get(t),a=RW(r)?r(n):r;a!==n&&(mi.set(t,a),(o=pa.get(t))==null||o.forEach(i=>{var l;(l=tl.get(i))==null||l(),tl.set(i,i(a))}))},"set"),subscribe:s(r=>{var n;return(n=pa.get(t))==null||n.push(r),()=>{let a=pa.get(t);a&&pa.set(t,a.filter(o=>o!==r))}},"subscribe"),teardown:s(()=>{var r;(r=pa.get(t))==null||r.forEach(n=>{var a;(a=tl.get(n))==null||a(),tl.delete(n)}),pa.delete(t),mi.delete(t)},"teardown")}},"useStore"),c1=s(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:a=0}=n;for(let o of n.selectors){let i=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(o))||[]];for(let l of i){let u=r.get(l);(!u||u.priority<=a)&&r.set(l,{...n,priority:a,selectors:Array.from(new Set(((u==null?void 0:u.selectors)||[]).concat(o)))})}}}return r},"mapElements"),FW=s(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i}])=>{let{top:l,left:u,width:c,height:p}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:a,focusStyles:o,menu:i,top:d==="fixed"?l:l+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:c,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),p1=s((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:a}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&a>=r.top&&a<=r.top+r.height},"isOverMenu"),d1=s((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:a,width:o,height:i}=e;i<Vn&&(a=a-Math.round((Vn-i)/2),i=Vn),o<Vn&&(n=n-Math.round((Vn-o)/2),o=Vn),t.style.position==="fixed"&&(n+=window.scrollX,a+=window.scrollY);let{x:l,y:u}=r;return l>=n&&l<=n+o&&u>=a&&u<=a+i},"isTargeted"),IW=s((e,t,r={})=>{let{x:n,y:a}=t,{margin:o=5,topOffset:i=0,centered:l=!1}=r,{scrollX:u,scrollY:c,innerHeight:p,innerWidth:d}=window,h=Math.min(e.style.position==="fixed"?a-c:a,p-e.clientHeight-o-i+c),f=l?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-u,d-f-o),f+o):Math.max(Math.min(n,d-f-o+u),f+o+u);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==a&&{top:`${h}px`}})},"keepInViewport"),f1=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),kW=s(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),NW=s(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),at="storybook-highlights-menu",h1="storybook-highlights-root",jW="storybook-root",BW=s(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=fn([]),n=fn(new Map),a=fn([]),o=fn(),i=fn(),l=fn([]),u=fn([]),c=fn(),p=fn(),d=t.getElementById(h1);r.subscribe(()=>{d||(d=Tt("div",{id:h1}),t.body.appendChild(d))}),r.subscribe(E=>{let C=t.getElementById(jW);if(!C)return;n.set(c1(E));let P=new MutationObserver(()=>n.set(c1(E)));return P.observe(C,{subtree:!0,childList:!0}),()=>{P.disconnect()}}),n.subscribe(E=>{let C=s(()=>requestAnimationFrame(()=>a.set(FW(E))),"updateBoxes"),P=new ResizeObserver(C);P.observe(t.body),Array.from(E.keys()).forEach(N=>P.observe(N));let k=Array.from(t.body.querySelectorAll("*")).filter(N=>{let{overflow:G,overflowX:Y,overflowY:O}=window.getComputedStyle(N);return["auto","scroll"].some(q=>[G,Y,O].includes(q))});return k.forEach(N=>N.addEventListener("scroll",C)),()=>{P.disconnect(),k.forEach(N=>N.removeEventListener("scroll",C))}}),n.subscribe(E=>{let C=Array.from(E.keys()).filter(({style:k})=>k.position==="sticky"),P=s(()=>requestAnimationFrame(()=>{a.set(k=>k.map(N=>{if(C.includes(N.element)){let{top:G,left:Y}=N.element.getBoundingClientRect();return{...N,top:G+window.scrollY,left:Y+window.scrollX}}return N}))}),"updateBoxes");return t.addEventListener("scroll",P),()=>t.removeEventListener("scroll",P)}),n.subscribe(E=>{l.set(C=>C.filter(({element:P})=>E.has(P)))}),l.subscribe(E=>{E.length?(p.set(C=>E.some(P=>P.element===(C==null?void 0:C.element))?C:void 0),c.set(C=>E.some(P=>P.element===(C==null?void 0:C.element))?C:void 0)):(p.set(void 0),c.set(void 0),o.set(void 0))});let h=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:C})=>{if(C){let P=h.get(C);P||(P=t.createElement("style"),P.setAttribute("data-highlight","keyframes"),h.set(C,P),t.head.appendChild(P)),P.innerHTML=C}}),h.forEach((C,P)=>{E.some(k=>k.keyframes===P)||(C.remove(),h.delete(P))})});let f=new Map(new Map);a.subscribe(E=>{E.forEach(C=>{let P=f.get(C.element);if(d&&!P){let k={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};P=d.appendChild(Tt("div",k,[Tt("div")])),f.set(C.element,P)}}),f.forEach((C,P)=>{E.some(({element:k})=>k===P)||(C.remove(),f.delete(P))})}),a.subscribe(E=>{let C=E.filter(k=>k.menu);if(!C.length)return;let P=s(k=>{requestAnimationFrame(()=>{let N=t.getElementById(at),G={x:k.pageX,y:k.pageY};if(N&&!p1(N,G)){let Y=C.filter(O=>{let q=f.get(O.element);return d1(O,q,G)});o.set(Y.length?G:void 0),l.set(Y)}})},"onClick");return t.addEventListener("click",P),()=>t.removeEventListener("click",P)});let m=s(()=>{let E=t.getElementById(at),C=i.get();!C||E&&p1(E,C)||u.set(P=>{let k=a.get().filter(O=>{let q=f.get(O.element);return d1(O,q,C)}),N=P.filter(O=>k.includes(O)),G=k.filter(O=>!P.includes(O)),Y=P.length-N.length;return G.length||Y?[...N,...G]:P})},"updateHovered");i.subscribe(m),a.subscribe(m);let y=s(()=>{let E=p.get(),C=E?[E]:l.get(),P=C.length===1?C[0]:c.get(),k=o.get()!==void 0;a.get().forEach(N=>{var Y;let G=f.get(N.element);if(G){let O=P===N,q=k?P?O:C.includes(N):(Y=u.get())==null?void 0:Y.includes(N);Object.assign(G.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...N.styles,...q?N.hoverStyles:{},...O?N.focusStyles:{},position:getComputedStyle(N.element).position==="fixed"?"fixed":"absolute",zIndex:l1-10,top:`${N.top}px`,left:`${N.left}px`,width:`${N.width}px`,height:`${N.height}px`,margin:0,padding:0,cursor:N.menu&&q?"pointer":"default",pointerEvents:N.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(G.children[0].style,{width:"100%",height:"100%",minHeight:`${Vn}px`,minWidth:`${Vn}px`,boxSizing:"content-box",padding:G.style.outlineWidth||"0px"}),f1(G)}})},"updateBoxStyles");a.subscribe(y),l.subscribe(y),u.subscribe(y),c.subscribe(y),p.subscribe(y);let g=s(()=>{var N;if(!d)return;let E=t.getElementById(at);if(E)E.innerHTML="";else{let G={id:at,popover:"manual"};E=d.appendChild(Tt("div",G)),d.appendChild(Tt("style",{},[`
418
+ #${at} {
419
+ position: absolute;
420
+ z-index: ${l1};
421
+ width: 300px;
422
+ padding: 0px;
423
+ margin: 15px 0 0 0;
424
+ transform: translateX(-50%);
425
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
426
+ font-size: 12px;
427
+ background: white;
428
+ border: none;
429
+ border-radius: 6px;
430
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
431
+ color: #2E3438;
432
+ }
433
+ #${at} ul {
434
+ list-style: none;
435
+ margin: 0;
436
+ padding: 0;
437
+ }
438
+ #${at} > ul {
439
+ max-height: 300px;
440
+ overflow-y: auto;
441
+ padding: 4px 0;
442
+ }
443
+ #${at} li {
444
+ padding: 0 4px;
445
+ margin: 0;
446
+ }
447
+ #${at} li > :not(ul) {
448
+ display: flex;
449
+ padding: 8px;
450
+ margin: 0;
451
+ align-items: center;
452
+ gap: 8px;
453
+ border-radius: 4px;
454
+ }
455
+ #${at} button {
456
+ width: 100%;
457
+ border: 0;
458
+ background: transparent;
459
+ color: inherit;
460
+ text-align: left;
461
+ font-family: inherit;
462
+ font-size: inherit;
463
+ }
464
+ #${at} button:focus-visible {
465
+ outline-color: #029CFD;
466
+ }
467
+ #${at} button:hover {
468
+ background: rgba(2, 156, 253, 0.07);
469
+ color: #029CFD;
470
+ cursor: pointer;
471
+ }
472
+ #${at} li code {
473
+ white-space: nowrap;
474
+ overflow: hidden;
475
+ text-overflow: ellipsis;
476
+ line-height: 16px;
477
+ font-size: 11px;
478
+ }
479
+ #${at} li svg {
480
+ flex-shrink: 0;
481
+ margin: 1px;
482
+ color: #73828C;
483
+ }
484
+ #${at} li > button:hover svg, #${at} li > button:focus-visible svg {
485
+ color: #029CFD;
486
+ }
487
+ #${at} .element-list li svg {
488
+ display: none;
489
+ }
490
+ #${at} li.selectable svg, #${at} li.selected svg {
491
+ display: block;
492
+ }
493
+ #${at} .menu-list {
494
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
495
+ }
496
+ #${at} .menu-list > li:not(:last-child) {
497
+ padding-bottom: 4px;
498
+ margin-bottom: 4px;
499
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
500
+ }
501
+ #${at} .menu-items, #${at} .menu-items li {
502
+ padding: 0;
503
+ }
504
+ #${at} .menu-item {
505
+ display: flex;
506
+ }
507
+ #${at} .menu-item-content {
508
+ display: flex;
509
+ flex-direction: column;
510
+ flex-grow: 1;
511
+ }
512
+ `]))}let C=p.get(),P=C?[C]:l.get();if(P.length&&(E.style.position=getComputedStyle(P[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(Tt("ul",{class:"element-list"},P.map(G=>{var B;let Y=P.length>1&&!!((B=G.menu)!=null&&B.some(K=>K.some(Q=>!Q.selectors||Q.selectors.some(ne=>G.selectors.includes(ne))))),O=Y?{class:"selectable",onClick:s(()=>p.set(G),"onClick"),onMouseEnter:s(()=>c.set(G),"onMouseEnter"),onMouseLeave:s(()=>c.set(void 0),"onMouseLeave")}:C?{class:"selected",onClick:s(()=>p.set(void 0),"onClick")}:{},q=Y||C;return Tt("li",O,[Tt(q?"button":"div",q?{type:"button"}:{},[C?el("chevronLeft"):null,Tt("code",{},[G.element.outerHTML]),Y?el("chevronRight"):null])])})))),p.get()||l.get().length===1){let G=p.get()||l.get()[0],Y=(N=G.menu)==null?void 0:N.filter(O=>O.some(q=>!q.selectors||q.selectors.some(B=>G.selectors.includes(B))));Y!=null&&Y.length&&E.appendChild(Tt("ul",{class:"menu-list"},Y.map(O=>Tt("li",{},[Tt("ul",{class:"menu-items"},O.map(({id:q,title:B,description:K,iconLeft:Q,iconRight:ne,clickEvent:$})=>{let J=$&&(()=>e.emit($,q,NW(G)));return Tt("li",{},[Tt(J?"button":"div",J?{class:"menu-item",type:"button",onClick:J}:{class:"menu-item"},[Q?el(Q):null,Tt("div",{class:"menu-item-content"},[Tt(K?"strong":"span",{},[B]),K&&Tt("span",{},[K])]),ne?el(ne):null])])}))]))))}let k=o.get();k?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?k.x-window.scrollX:k.x}px`,top:`${E.style.position==="fixed"?k.y-window.scrollY:k.y}px`}),f1(E),requestAnimationFrame(()=>IW(E,k,{topOffset:15,centered:!0}))):(kW(E),Object.assign(E.style,{display:"none"}))},"renderMenu");l.subscribe(g),p.subscribe(g);let b=s(E=>{let C=OW(E);r.set(P=>{var N;let k=C.id?P.filter(G=>G.id!==C.id):P;return(N=C.selectors)!=null&&N.length?[...k,C]:k})},"addHighlight"),v=s(E=>{E&&r.set(C=>C.filter(P=>P.id!==E))},"removeHighlight"),T=s(()=>{r.set([]),n.set(new Map),a.set([]),o.set(void 0),i.set(void 0),l.set([]),u.set([]),c.set(void 0),p.set(void 0)},"resetState"),x,_=s((E,C)=>{let P="scrollIntoView-highlight";clearTimeout(x),v(P);let k=t.querySelector(E);if(!k){console.warn(`Cannot scroll into view: ${E} not found`);return}k.scrollIntoView({behavior:"smooth",block:"center",...C});let N=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(G=>[...G,{id:P,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${N} 3s linear forwards`},keyframes:`@keyframes ${N} {
513
+ 0% { outline: 2px solid #1EA7FD; }
514
+ 20% { outline: 2px solid #1EA7FD00; }
515
+ 40% { outline: 2px solid #1EA7FD; }
516
+ 60% { outline: 2px solid #1EA7FD00; }
517
+ 80% { outline: 2px solid #1EA7FD; }
518
+ 100% { outline: 2px solid #1EA7FD00; }
519
+ }`}]),x=setTimeout(()=>v(P),3500)},"scrollIntoView"),w=s(E=>{requestAnimationFrame(()=>i.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",w),e.on(SW,b),e.on(_W,v),e.on(TW,T),e.on(PW,_),e.on(Oa,({newPhase:E})=>{E==="loading"&&T()})},"useHighlights"),EC;(EC=globalThis==null?void 0:globalThis.FEATURES)!=null&&EC.highlight&&(rr!=null&&rr.ready)&&rr.ready().then(BW);var m1=s(()=>({}),"default"),qW="measureEnabled";function Ov(){let e=he.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}s(Ov,"getDocumentWidthAndHeight");function pk(){let e=he.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");rn(t!=null);let{width:r,height:n}=Ov();return Ou(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",he.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}s(pk,"createCanvas");function Ou(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let a=he.window.devicePixelRatio;e.width=Math.floor(r*a),e.height=Math.floor(n*a),t.scale(a,a)}s(Ou,"setCanvasWidthAndHeight");var Pt={};function dk(){Pt.canvas||(Pt=pk())}s(dk,"init");function Rv(){Pt.context&&Pt.context.clearRect(0,0,Pt.width??0,Pt.height??0)}s(Rv,"clear");function fk(e){Rv(),e(Pt.context)}s(fk,"draw");function hk(){rn(Pt.canvas),rn(Pt.context),Ou(Pt.canvas,Pt.context,{width:0,height:0});let{width:e,height:t}=Ov();Ou(Pt.canvas,Pt.context,{width:e,height:t}),Pt.width=e,Pt.height=t}s(hk,"rescale");function mk(){var e;Pt.canvas&&(Rv(),(e=Pt.canvas.parentNode)==null||e.removeChild(Pt.canvas),Pt={})}s(mk,"destroy");var Xa={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},xn=6;function Ih(e,{x:t,y:r,w:n,h:a,r:o}){t=t-n/2,r=r-a/2,n<2*o&&(o=n/2),a<2*o&&(o=a/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+a,o),e.arcTo(t+n,r+a,t,r+a,o),e.arcTo(t,r+a,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}s(Ih,"roundedRect");function yk(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom,c=i+r.left+t.left,p=o+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,p+=u/2):e==="bottom"?(c+=l/2,p+=u):e==="left"?p+=u/2:e==="center"&&(c+=l/2,p+=u/2),{x:c,y:p}}s(yk,"positionCoordinate");function gk(e,t,{margin:r,border:n,padding:a},o,i){let l=s(h=>0,"shift"),u=0,c=0,p=i?1:.5,d=i?o*2:0;return e==="padding"?l=s(h=>a[h]*p+d,"shift"):e==="border"?l=s(h=>a[h]+n[h]*p+d,"shift"):e==="margin"&&(l=s(h=>a[h]+n[h]+r[h]*p+d,"shift")),t==="top"?c=-l("top"):t==="right"?u=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(u=-l("left")),{offsetX:u,offsetY:c}}s(gk,"offset");function bk(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}s(bk,"collide");function vk(e,t,r){return e==="top"?t.y=r.y-r.h-xn:e==="right"?t.x=r.x+r.w/2+xn+t.w/2:e==="bottom"?t.y=r.y+r.h+xn:e==="left"&&(t.x=r.x-r.w/2-xn-t.w/2),{x:t.x,y:t.y}}s(vk,"overlapAdjustment");function Fv(e,t,{x:r,y:n,w:a,h:o},i){return Ih(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${Xa[t]}dd`,e.fill(),e.strokeStyle=Xa[t],e.stroke(),e.fillStyle=Xa.text,e.fillText(i,r,n),Ih(e,{x:r,y:n,w:a,h:o,r:3}),e.fillStyle=`${Xa[t]}dd`,e.fill(),e.strokeStyle=Xa[t],e.stroke(),e.fillStyle=Xa.text,e.fillText(i,r,n),{x:r,y:n,w:a,h:o}}s(Fv,"textWithRect");function Iv(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,a=r.width+xn*2,o=n+xn*2;return{w:a,h:o}}s(Iv,"configureText");function Ek(e,t,{type:r,position:n="center",text:a},o,i=!1){let{x:l,y:u}=yk(n,t),{offsetX:c,offsetY:p}=gk(r,n,t,xn+1,i);l+=c,u+=p;let{w:d,h}=Iv(e,a);if(o&&bk({x:l,y:u,w:d,h},o)){let f=vk(n,{x:l,y:u,w:d},o);l=f.x,u=f.y}return Fv(e,r,{x:l,y:u,w:d,h},a)}s(Ek,"drawLabel");function Ck(e,{w:t,h:r}){let n=t*.5+xn,a=r*.5+xn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*a}}s(Ck,"floatingOffset");function wk(e,t,{type:r,text:n}){let{floatingAlignment:a,extremities:o}=t,i=o[a.x],l=o[a.y],{w:u,h:c}=Iv(e,n),{offsetX:p,offsetY:d}=Ck(a,{w:u,h:c});return i+=p,l+=d,Fv(e,r,{x:i,y:l,w:u,h:c},n)}s(wk,"drawFloatingLabel");function no(e,t,r,n){let a=[];r.forEach((o,i)=>{let l=n&&o.position==="center"?wk(e,t,o):Ek(e,t,o,a[i-1],n);a[i]=l})}s(no,"drawStack");function Ak(e,t,r,n){let a=r.reduce((o,i)=>{var l;return Object.prototype.hasOwnProperty.call(o,i.position)||(o[i.position]=[]),(l=o[i.position])==null||l.push(i),o},{});a.top&&no(e,t,a.top,n),a.right&&no(e,t,a.right,n),a.bottom&&no(e,t,a.bottom,n),a.left&&no(e,t,a.left,n),a.center&&no(e,t,a.center,n)}s(Ak,"labelStacks");var bp={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},y1=30;function ur(e){return parseInt(e.replace("px",""),10)}s(ur,"pxToNumber");function wa(e){return Number.isInteger(e)?e:e.toFixed(2)}s(wa,"round");function vp(e){return e.filter(t=>t.text!==0&&t.text!=="0")}s(vp,"filterZeroValues");function xk(e){let t={top:he.window.scrollY,bottom:he.window.scrollY+he.window.innerHeight,left:he.window.scrollX,right:he.window.scrollX+he.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}s(xk,"floatingAlignment");function Sk(e){let t=he.getComputedStyle(e),{top:r,left:n,right:a,bottom:o,width:i,height:l}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:p,marginRight:d,paddingTop:h,paddingBottom:f,paddingLeft:m,paddingRight:y,borderBottomWidth:g,borderTopWidth:b,borderLeftWidth:v,borderRightWidth:T}=t;r=r+he.window.scrollY,n=n+he.window.scrollX,o=o+he.window.scrollY,a=a+he.window.scrollX;let x={top:ur(u),bottom:ur(c),left:ur(p),right:ur(d)},_={top:ur(h),bottom:ur(f),left:ur(m),right:ur(y)},w={top:ur(b),bottom:ur(g),left:ur(v),right:ur(T)},E={top:r-x.top,bottom:o+x.bottom,left:n-x.left,right:a+x.right};return{margin:x,padding:_,border:w,top:r,left:n,bottom:o,right:a,width:i,height:l,extremities:E,floatingAlignment:xk(E)}}s(Sk,"measureElement");function _k(e,{margin:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n+t.bottom+t.top;e.fillStyle=bp.margin,e.fillRect(o,a-t.top,r,t.top),e.fillRect(l,a-t.top,t.right,u),e.fillRect(o,i,r,t.bottom),e.fillRect(o-t.left,a-t.top,t.left,u);let c=[{type:"margin",text:wa(t.top),position:"top"},{type:"margin",text:wa(t.right),position:"right"},{type:"margin",text:wa(t.bottom),position:"bottom"},{type:"margin",text:wa(t.left),position:"left"}];return vp(c)}s(_k,"drawMargin");function Tk(e,{padding:t,border:r,width:n,height:a,top:o,left:i,bottom:l,right:u}){let c=n-r.left-r.right,p=a-t.top-t.bottom-r.top-r.bottom;e.fillStyle=bp.padding,e.fillRect(i+r.left,o+r.top,c,t.top),e.fillRect(u-t.right-r.right,o+t.top+r.top,t.right,p),e.fillRect(i+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(i+r.left,o+t.top+r.top,t.left,p);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return vp(d)}s(Tk,"drawPadding");function Pk(e,{border:t,width:r,height:n,top:a,left:o,bottom:i,right:l}){let u=n-t.top-t.bottom;e.fillStyle=bp.border,e.fillRect(o,a,r,t.top),e.fillRect(o,i-t.bottom,r,t.bottom),e.fillRect(o,a+t.top,t.left,u),e.fillRect(l-t.right,a+t.top,t.right,u);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return vp(c)}s(Pk,"drawBorder");function Dk(e,{padding:t,border:r,width:n,height:a,top:o,left:i}){let l=n-r.left-r.right-t.left-t.right,u=a-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=bp.content,e.fillRect(i+r.left+t.left,o+r.top+t.top,l,u),[{type:"content",position:"center",text:`${wa(l)} x ${wa(u)}`}]}s(Dk,"drawContent");function Ok(e){return t=>{if(e&&t){let r=Sk(e),n=_k(t,r),a=Tk(t,r),o=Pk(t,r),i=Dk(t,r),l=r.width<=y1*3||r.height<=y1;Ak(t,r,[...i,...a,...o,...n],l)}}}s(Ok,"drawBoxModel");function Rk(e){fk(Ok(e))}s(Rk,"drawSelectedElement");var MW=s((e,t)=>{let r=he.document.elementFromPoint(e,t),n=s(a=>{if(a&&a.shadowRoot){let o=a.shadowRoot.elementFromPoint(e,t);return a.isEqualNode(o)?a:o.shadowRoot?n(o):o}return a},"crawlShadows");return n(r)||r},"deepElementFromPoint"),g1,rl={x:0,y:0};function kh(e,t){g1=MW(e,t),Rk(g1)}s(kh,"findAndDrawElement");var LW=s((e,t)=>{let{measureEnabled:r}=t.globals||{};return Kn(()=>{if(typeof globalThis.document>"u")return;let n=s(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),rl.x=a.clientX,rl.y=a.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Kn(()=>{let n=s(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),kh(o.clientX,o.clientY)})},"onPointerOver"),a=s(()=>{window.requestAnimationFrame(()=>{hk()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),dk(),globalThis.window.addEventListener("resize",a),kh(rl.x,rl.y)),()=>{globalThis.window.removeEventListener("resize",a),mk()}},[r,t.viewMode]),e()},"withMeasure"),CC,$W=(CC=globalThis.FEATURES)!=null&&CC.measure?[LW]:[],UW={[qW]:!1},b1=s(()=>({decorators:$W,initialGlobals:UW}),"default"),Fk="outline",v1=s(e=>{(Array.isArray(e)?e:[e]).forEach(VW)},"clearStyles"),VW=s(e=>{let t=typeof e=="string"?e:e.join(""),r=he.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),HW=s((e,t)=>{let r=he.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=he.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,he.document.head.appendChild(n)}},"addOutlineStyles");function Ik(e){return qe`
520
+ ${e} body {
521
+ outline: 1px solid #2980b9 !important;
522
+ }
523
+
524
+ ${e} article {
525
+ outline: 1px solid #3498db !important;
526
+ }
527
+
528
+ ${e} nav {
529
+ outline: 1px solid #0088c3 !important;
530
+ }
531
+
532
+ ${e} aside {
533
+ outline: 1px solid #33a0ce !important;
534
+ }
535
+
536
+ ${e} section {
537
+ outline: 1px solid #66b8da !important;
538
+ }
539
+
540
+ ${e} header {
541
+ outline: 1px solid #99cfe7 !important;
542
+ }
543
+
544
+ ${e} footer {
545
+ outline: 1px solid #cce7f3 !important;
546
+ }
547
+
548
+ ${e} h1 {
549
+ outline: 1px solid #162544 !important;
550
+ }
551
+
552
+ ${e} h2 {
553
+ outline: 1px solid #314e6e !important;
554
+ }
555
+
556
+ ${e} h3 {
557
+ outline: 1px solid #3e5e85 !important;
558
+ }
559
+
560
+ ${e} h4 {
561
+ outline: 1px solid #449baf !important;
562
+ }
563
+
564
+ ${e} h5 {
565
+ outline: 1px solid #c7d1cb !important;
566
+ }
567
+
568
+ ${e} h6 {
569
+ outline: 1px solid #4371d0 !important;
570
+ }
571
+
572
+ ${e} main {
573
+ outline: 1px solid #2f4f90 !important;
574
+ }
575
+
576
+ ${e} address {
577
+ outline: 1px solid #1a2c51 !important;
578
+ }
579
+
580
+ ${e} div {
581
+ outline: 1px solid #036cdb !important;
582
+ }
583
+
584
+ ${e} p {
585
+ outline: 1px solid #ac050b !important;
586
+ }
587
+
588
+ ${e} hr {
589
+ outline: 1px solid #ff063f !important;
590
+ }
591
+
592
+ ${e} pre {
593
+ outline: 1px solid #850440 !important;
594
+ }
595
+
596
+ ${e} blockquote {
597
+ outline: 1px solid #f1b8e7 !important;
598
+ }
599
+
600
+ ${e} ol {
601
+ outline: 1px solid #ff050c !important;
602
+ }
603
+
604
+ ${e} ul {
605
+ outline: 1px solid #d90416 !important;
606
+ }
607
+
608
+ ${e} li {
609
+ outline: 1px solid #d90416 !important;
610
+ }
611
+
612
+ ${e} dl {
613
+ outline: 1px solid #fd3427 !important;
614
+ }
615
+
616
+ ${e} dt {
617
+ outline: 1px solid #ff0043 !important;
618
+ }
619
+
620
+ ${e} dd {
621
+ outline: 1px solid #e80174 !important;
622
+ }
623
+
624
+ ${e} figure {
625
+ outline: 1px solid #ff00bb !important;
626
+ }
627
+
628
+ ${e} figcaption {
629
+ outline: 1px solid #bf0032 !important;
630
+ }
631
+
632
+ ${e} table {
633
+ outline: 1px solid #00cc99 !important;
634
+ }
635
+
636
+ ${e} caption {
637
+ outline: 1px solid #37ffc4 !important;
638
+ }
639
+
640
+ ${e} thead {
641
+ outline: 1px solid #98daca !important;
642
+ }
643
+
644
+ ${e} tbody {
645
+ outline: 1px solid #64a7a0 !important;
646
+ }
647
+
648
+ ${e} tfoot {
649
+ outline: 1px solid #22746b !important;
650
+ }
651
+
652
+ ${e} tr {
653
+ outline: 1px solid #86c0b2 !important;
654
+ }
655
+
656
+ ${e} th {
657
+ outline: 1px solid #a1e7d6 !important;
658
+ }
659
+
660
+ ${e} td {
661
+ outline: 1px solid #3f5a54 !important;
662
+ }
663
+
664
+ ${e} col {
665
+ outline: 1px solid #6c9a8f !important;
666
+ }
667
+
668
+ ${e} colgroup {
669
+ outline: 1px solid #6c9a9d !important;
670
+ }
671
+
672
+ ${e} button {
673
+ outline: 1px solid #da8301 !important;
674
+ }
675
+
676
+ ${e} datalist {
677
+ outline: 1px solid #c06000 !important;
678
+ }
679
+
680
+ ${e} fieldset {
681
+ outline: 1px solid #d95100 !important;
682
+ }
683
+
684
+ ${e} form {
685
+ outline: 1px solid #d23600 !important;
686
+ }
687
+
688
+ ${e} input {
689
+ outline: 1px solid #fca600 !important;
690
+ }
691
+
692
+ ${e} keygen {
693
+ outline: 1px solid #b31e00 !important;
694
+ }
695
+
696
+ ${e} label {
697
+ outline: 1px solid #ee8900 !important;
698
+ }
699
+
700
+ ${e} legend {
701
+ outline: 1px solid #de6d00 !important;
702
+ }
703
+
704
+ ${e} meter {
705
+ outline: 1px solid #e8630c !important;
706
+ }
707
+
708
+ ${e} optgroup {
709
+ outline: 1px solid #b33600 !important;
710
+ }
711
+
712
+ ${e} option {
713
+ outline: 1px solid #ff8a00 !important;
714
+ }
715
+
716
+ ${e} output {
717
+ outline: 1px solid #ff9619 !important;
718
+ }
719
+
720
+ ${e} progress {
721
+ outline: 1px solid #e57c00 !important;
722
+ }
723
+
724
+ ${e} select {
725
+ outline: 1px solid #e26e0f !important;
726
+ }
727
+
728
+ ${e} textarea {
729
+ outline: 1px solid #cc5400 !important;
730
+ }
731
+
732
+ ${e} details {
733
+ outline: 1px solid #33848f !important;
734
+ }
735
+
736
+ ${e} summary {
737
+ outline: 1px solid #60a1a6 !important;
738
+ }
739
+
740
+ ${e} command {
741
+ outline: 1px solid #438da1 !important;
742
+ }
743
+
744
+ ${e} menu {
745
+ outline: 1px solid #449da6 !important;
746
+ }
747
+
748
+ ${e} del {
749
+ outline: 1px solid #bf0000 !important;
750
+ }
751
+
752
+ ${e} ins {
753
+ outline: 1px solid #400000 !important;
754
+ }
755
+
756
+ ${e} img {
757
+ outline: 1px solid #22746b !important;
758
+ }
759
+
760
+ ${e} iframe {
761
+ outline: 1px solid #64a7a0 !important;
762
+ }
763
+
764
+ ${e} embed {
765
+ outline: 1px solid #98daca !important;
766
+ }
767
+
768
+ ${e} object {
769
+ outline: 1px solid #00cc99 !important;
770
+ }
771
+
772
+ ${e} param {
773
+ outline: 1px solid #37ffc4 !important;
774
+ }
775
+
776
+ ${e} video {
777
+ outline: 1px solid #6ee866 !important;
778
+ }
779
+
780
+ ${e} audio {
781
+ outline: 1px solid #027353 !important;
782
+ }
783
+
784
+ ${e} source {
785
+ outline: 1px solid #012426 !important;
786
+ }
787
+
788
+ ${e} canvas {
789
+ outline: 1px solid #a2f570 !important;
790
+ }
791
+
792
+ ${e} track {
793
+ outline: 1px solid #59a600 !important;
794
+ }
795
+
796
+ ${e} map {
797
+ outline: 1px solid #7be500 !important;
798
+ }
799
+
800
+ ${e} area {
801
+ outline: 1px solid #305900 !important;
802
+ }
803
+
804
+ ${e} a {
805
+ outline: 1px solid #ff62ab !important;
806
+ }
807
+
808
+ ${e} em {
809
+ outline: 1px solid #800b41 !important;
810
+ }
811
+
812
+ ${e} strong {
813
+ outline: 1px solid #ff1583 !important;
814
+ }
815
+
816
+ ${e} i {
817
+ outline: 1px solid #803156 !important;
818
+ }
819
+
820
+ ${e} b {
821
+ outline: 1px solid #cc1169 !important;
822
+ }
823
+
824
+ ${e} u {
825
+ outline: 1px solid #ff0430 !important;
826
+ }
827
+
828
+ ${e} s {
829
+ outline: 1px solid #f805e3 !important;
830
+ }
831
+
832
+ ${e} small {
833
+ outline: 1px solid #d107b2 !important;
834
+ }
835
+
836
+ ${e} abbr {
837
+ outline: 1px solid #4a0263 !important;
838
+ }
839
+
840
+ ${e} q {
841
+ outline: 1px solid #240018 !important;
842
+ }
843
+
844
+ ${e} cite {
845
+ outline: 1px solid #64003c !important;
846
+ }
847
+
848
+ ${e} dfn {
849
+ outline: 1px solid #b4005a !important;
850
+ }
851
+
852
+ ${e} sub {
853
+ outline: 1px solid #dba0c8 !important;
854
+ }
855
+
856
+ ${e} sup {
857
+ outline: 1px solid #cc0256 !important;
858
+ }
859
+
860
+ ${e} time {
861
+ outline: 1px solid #d6606d !important;
862
+ }
863
+
864
+ ${e} code {
865
+ outline: 1px solid #e04251 !important;
866
+ }
867
+
868
+ ${e} kbd {
869
+ outline: 1px solid #5e001f !important;
870
+ }
871
+
872
+ ${e} samp {
873
+ outline: 1px solid #9c0033 !important;
874
+ }
875
+
876
+ ${e} var {
877
+ outline: 1px solid #d90047 !important;
878
+ }
879
+
880
+ ${e} mark {
881
+ outline: 1px solid #ff0053 !important;
882
+ }
883
+
884
+ ${e} bdi {
885
+ outline: 1px solid #bf3668 !important;
886
+ }
887
+
888
+ ${e} bdo {
889
+ outline: 1px solid #6f1400 !important;
890
+ }
891
+
892
+ ${e} ruby {
893
+ outline: 1px solid #ff7b93 !important;
894
+ }
895
+
896
+ ${e} rt {
897
+ outline: 1px solid #ff2f54 !important;
898
+ }
899
+
900
+ ${e} rp {
901
+ outline: 1px solid #803e49 !important;
902
+ }
903
+
904
+ ${e} span {
905
+ outline: 1px solid #cc2643 !important;
906
+ }
907
+
908
+ ${e} br {
909
+ outline: 1px solid #db687d !important;
910
+ }
911
+
912
+ ${e} wbr {
913
+ outline: 1px solid #db175b !important;
914
+ }`}s(Ik,"outlineCSS");var zW=s((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[Fk]),a=t.viewMode==="docs",o=zm(()=>Ik(a?'[data-story-block="true"]':".sb-show-main"),[t]);return Kn(()=>{let i=a?`addon-outline-docs-${t.id}`:"addon-outline";return n?HW(i,o):v1(i),()=>{v1(i)}},[n,o,t]),e()},"withOutline"),wC,JW=(wC=globalThis.FEATURES)!=null&&wC.outline?[zW]:[],GW={[Fk]:!1},E1=s(()=>({decorators:JW,initialGlobals:GW}),"default"),WW=s(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?Ob():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?Db():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&Rb()},"resetAllMocksLoader"),Nh=s((e,t=0,r)=>{var n,a;if(t>5||e==null)return e;if(Eo(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=Tb(e);return r&&o.mockName(r),o}if(Array.isArray(e)){t++;for(let o=0;o<e.length;o++)(n=Object.getOwnPropertyDescriptor(e,o))!=null&&n.writable&&(e[o]=Nh(e[o],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(a=Object.getOwnPropertyDescriptor(e,o))!=null&&a.writable&&(e[o]=Nh(i,t,o));return e}return e},"traverseArgs"),YW=s(({initialArgs:e})=>{Nh(e)},"nameSpiesAndWrapActionsInSpies"),C1=!1,KW=s(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=uk(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=Yo({userEvent:ck.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:s(()=>t,"get"),configurable:!0});let a=HTMLElement.prototype.focus;C1||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:s(o=>{a=o,C1=!0},"set"),get:s(()=>a,"get")}})}},"enhanceContext"),w1=s(()=>({loaders:[WW,YW,KW]}),"default"),XW="viewport",QW={[XW]:{value:void 0,isRotated:!1}},A1=s(()=>({initialGlobals:QW}),"default");function Ep(){return[(b1.default??b1)(),(i1.default??i1)(),(m1.default??m1)(),(E1.default??E1)(),(A1.default??A1)(),(r1.default??r1)(),(s1.default??s1)(),(w1.default??w1)()]}s(Ep,"getCoreAnnotations");var ao=Symbol("incompatible"),jh=s((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?ao:e.reduce((n,a,o)=>{let i=jh(a,{type:r.value});return i!==ao&&(n[o]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?ao:Object.entries(e).reduce((n,[a,o])=>{let i=jh(o,{type:r.value[a]});return i===ao?n:Object.assign(n,{[a]:i})},{});default:return ao}},"map"),ZW=s((e,t)=>Object.entries(e).reduce((r,[n,a])=>{if(!t[n])return r;let o=jh(a,t[n]);return o===ao?r:Object.assign(r,{[n]:o})},{}),"mapArgsToTypes"),Ru=s((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,a)=>(r[a]=Ru(e[a],t[a]),r),[...e]).filter(r=>r!==void 0):!Br(e)||!Br(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let a=Ru(e[n],t[n]);a!==void 0&&(r[n]=a)}else r[n]=e[n];return r},{}),"combineArgs"),eY=s((e,t)=>Object.entries(t).reduce((r,[n,{options:a}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(s(o,"allowArg"),!a)return o();if(!Array.isArray(a))return At.error(qe`
915
+ Invalid argType: '${n}.options' should be an array.
916
+
917
+ More info: https://storybook.js.org/docs/api/arg-types
918
+ `),o();if(a.some(d=>d&&["object","function"].includes(typeof d)))return At.error(qe`
919
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
920
+
921
+ More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
922
+ `),o();let i=Array.isArray(e[n]),l=i&&e[n].findIndex(d=>!a.includes(d)),u=i&&l===-1;if(e[n]===void 0||a.includes(e[n])||u)return o();let c=i?`${n}[${l}]`:n,p=a.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return At.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),Ui=Symbol("Deeply equal"),Fu=s((e,t)=>{if(typeof e!=typeof t)return t;if(kx(e,t))return Ui;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,a,o)=>{let i=Fu(e[o],a);return i!==Ui&&(n[o]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Br(e)&&Br(t)?Object.keys({...e,...t}).reduce((r,n)=>{let a=Fu(e==null?void 0:e[n],t==null?void 0:t[n]);return a===Ui?r:Object.assign(r,{[n]:a})},{}):t},"deepDiff"),kk="UNTARGETED";function Nk({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,a])=>{let{target:o=kk}=t[n]||{};r[o]=r[o]||{},r[o][n]=a}),r}s(Nk,"groupArgsByTarget");function jk(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}s(jk,"deleteUndefined");var Bk=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Fu(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ui&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=eY(r,t.argTypes);this.argsByStoryId[t.id]=Ru(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=ZW(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=jk({...this.argsByStoryId[t],...r})}};s(Bk,"ArgsStore");var tY=Bk,qk=s((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Mk=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Fu(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let a=qk(r);this.initialGlobals={...a,...t},this.globals=this.initialGlobals,n&&n!==Ui&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,a])=>(this.allowedGlobalNames.has(n)?r[n]=a:ut.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};s(Mk,"GlobalsStore");var rY=Mk,nY=xt(xC(),1),aY=(0,nY.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Lk=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(o=>o.id.startsWith(t));let{name:n,title:a}=t;return r.find(o=>o.name===n&&o.title===a)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new NA({storyId:t});return r}importPathToEntry(t){return aY(this.entries)[t]}};s(Lk,"StoryIndexStore");var oY=Lk,iY=s(e=>typeof e=="string"?{name:e}:e,"normalizeType"),sY=s(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),lY=s((e,t)=>{let{type:r,control:n,...a}=e,o={name:t,...a};return r&&(o.type=iY(r)),n?o.control=sY(n):n===!1&&(o.control={disable:!0}),o},"normalizeInputType"),Iu=s(e=>To(e,lY),"normalizeInputTypes");function $k(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,a)=>`${r} ${n}${a}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}s($k,"toStartCaseStr");var x1=xt(e8(),1),Uk=s(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),uY=s((e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Uk([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,x1.isEqual)(t,n);if(typeof a<"u")return!(0,x1.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},"testValue"),cY=s((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Uk([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return uY(e.if,o)},"includeConditionalArg");function Cp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}s(Cp,"isStory");var Vk=s(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),S1=s((e,t)=>{let r=Vk(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),pY=s((e,t)=>`${S1(e,"kind")}${t?`--${S1(t,"name")}`:""}`,"toId"),dY=s(e=>$k(e),"storyNameFromExport");function Bh(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}s(Bh,"matches");function ku(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Bh(e,t))&&(!r||!Bh(e,r))}s(ku,"isExportStory");var fY=s((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags"),it=s(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),hY=qe`
923
+ CSF .story annotations deprecated; annotate story functions directly:
924
+ - StoryFn.story.name => StoryFn.storyName
925
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
926
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
927
+ `;function ms(e,t,r){let n=t,a=typeof t=="function"?t:null,{story:o}=n;o&&(ut.debug("deprecated story",o),Tm(hY));let i=dY(e),l=typeof n!="function"&&n.name||n.storyName||(o==null?void 0:o.name)||i,u=[...it(n.decorators),...it(o==null?void 0:o.decorators)],c={...o==null?void 0:o.parameters,...n.parameters},p={...o==null?void 0:o.args,...n.args},d={...o==null?void 0:o.argTypes,...n.argTypes},h=[...it(n.loaders),...it(o==null?void 0:o.loaders)],f=[...it(n.beforeEach),...it(o==null?void 0:o.beforeEach)],m=[...it(n.afterEach),...it(o==null?void 0:o.afterEach)],{render:y,play:g,tags:b=[],globals:v={}}=n,T=c.__id||pY(r.id,i);return{moduleExport:t,id:T,name:l,tags:b,decorators:u,parameters:c,args:p,argTypes:Iu(d),loaders:h,beforeEach:f,afterEach:m,globals:v,...y&&{render:y},...a&&{userStoryFn:a},...g&&{play:g}}}s(ms,"normalizeStory");function Nu(e,t=e.title,r){let{id:n,argTypes:a}=e;return{id:Vk(n||t),...e,title:t,...a&&{argTypes:Iu(a)},parameters:{fileName:r,...e.parameters}}}s(Nu,"normalizeComponentAnnotations");var mY=s(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ut.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),yY=s(e=>{let{options:t}=e;t!=null&&t.storySort&&ut.error("The storySort option parameter can only be set globally")},"checkStorySort"),nl=s(e=>{e&&(mY(e),yY(e))},"checkDisallowedParameters");function Hk(e,t,r){let{default:n,__namedExportsOrder:a,...o}=e,i=Object.values(o)[0];if(Cp(i)){let c=Nu(i.meta.input,r,t);nl(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(o).forEach(d=>{if(ku(d,c)){let h=ms(d,o[d].input,c);nl(h.parameters),p.stories[h.id]=h}}),p.projectAnnotations=i.meta.preview.composed,p}let l=Nu(n,r,t);nl(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(o).forEach(c=>{if(ku(c,l)){let p=ms(c,o[c],l);nl(p.parameters),u.stories[p.id]=p}}),u}s(Hk,"processCSFFile");function zk(e){return e!=null&&Jk(e).includes("mount")}s(zk,"mountDestructured");function Jk(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=qh(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?qh(n.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}s(Jk,"getUsedProps");function qh(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let i=e.substring(n,o).trim();i&&t.push(i),n=o+1}let a=e.substring(n).trim();return a&&t.push(a),t}s(qh,"splitByComma");function kv(e,t,r){let n=r(e);return a=>t(n,a)}s(kv,"decorateStory");function Nv({componentId:e,title:t,kind:r,id:n,name:a,story:o,parameters:i,initialArgs:l,argTypes:u,...c}={}){return c}s(Nv,"sanitizeStoryContextUpdate");function jv(e,t){let r={},n=s(o=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Nv(i)},o(r.value)},"bindWithContext"),a=t.reduce((o,i)=>kv(o,i,n),e);return o=>(r.value=o,a(o))}s(jv,"defaultDecorateStory");var Ma=s((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:Br(l)&&Br(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>Br(i))?n[a]=Ma(...o):n[a]=o[o.length-1]}),n},"combineParameters");function wp(e,t,r){let{moduleExport:n,id:a,name:o}=e||{},i=qv(e,t,r),l=s(async w=>{let E={};for(let C of[it(r.loaders),it(t.loaders),it(e.loaders)]){if(w.abortSignal.aborted)return E;let P=await Promise.all(C.map(k=>k(w)));Object.assign(E,...P)}return E},"applyLoaders"),u=s(async w=>{let E=new Array;for(let C of[...it(r.beforeEach),...it(t.beforeEach),...it(e.beforeEach)]){if(w.abortSignal.aborted)return E;let P=await C(w);P&&E.push(P)}return E},"applyBeforeEach"),c=s(async w=>{let E=[...it(r.afterEach),...it(t.afterEach),...it(e.afterEach)].reverse();for(let C of E){if(w.abortSignal.aborted)return;await C(w)}},"applyAfterEach"),p=s(w=>w.originalStoryFn(w.args,w),"undecoratedStoryFn"),{applyDecorators:d=jv,runStep:h}=r,f=[...it(e==null?void 0:e.decorators),...it(t==null?void 0:t.decorators),...it(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,y=Ex(d)(p,f),g=s(w=>y(w),"unboundStoryFn"),b=(e==null?void 0:e.play)??(t==null?void 0:t.play),v=zk(b);if(!m&&!v)throw new nx({id:a});let T=s(w=>async()=>(await w.renderToCanvas(),w.canvas),"defaultMount"),x=e.mount??t.mount??r.mount??T,_=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:a,name:o,story:o,originalStoryFn:m,undecoratedStoryFn:p,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:b,runStep:h,mount:x,testingLibraryRender:_,renderToCanvas:r.renderToCanvas,usesMount:v}}s(wp,"prepareStory");function Bv(e,t,r){return{...qv(void 0,e,t),moduleExport:r}}s(Bv,"prepareMeta");function qv(e,t,r){var b;let n=["dev","test"],a=((b=he.DOCS_OPTIONS)==null?void 0:b.autodocs)===!0?["autodocs"]:[],o=fY(...n,...a,...r.tags??[],...t.tags??[],...(e==null?void 0:e.tags)??[]),i=Ma(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Ma(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let v=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;i.__isArgsStory=v&&v.length>0}let p={...r.args,...t.args,...e==null?void 0:e.args},d={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:o,parameters:i,initialArgs:p,argTypes:c,storyGlobals:d};h.argTypes=l.reduce((v,T)=>T({...h,argTypes:v}),h.argTypes);let f={...p};h.initialArgs=[...u].reduce((v,T)=>({...v,...T({...h,initialArgs:v})}),f);let{name:m,story:y,...g}=h;return g}s(qv,"preparePartialAnnotations");function Mv(e){var o;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((o=he.FEATURES)!=null&&o.argTypeTargetsV7){let i=Nk(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[kk]||{}}}let n=Object.entries(r.args).reduce((i,[l,u])=>{var p;if(!((p=r.argTypes[l])!=null&&p.mapping))return i[l]=u,i;let c=s(d=>{let h=r.argTypes[l].mapping;return h&&d in h?h[d]:d},"mappingFn");return i[l]=Array.isArray(u)?u.map(c):c(u),i},{}),a=Object.entries(n).reduce((i,[l,u])=>{let c=r.argTypes[l]||{};return cY(c,n,r.globals)&&(i[l]=u),i},{});return{...r,unmappedArgs:t,args:a}}s(Mv,"prepareContext");var Mh=s((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(ut.warn(qe`
928
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
929
+
930
+ Consider using the mapping feature or fully custom args:
931
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
932
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
933
+ `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Mh(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:To(e,a=>Mh(a,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Gk=s(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=To(n,(i,l)=>({name:l,type:Mh(i,`${t}.${l}`,new Set)})),o=To(r,(i,l)=>({name:l}));return Ma(a,o,r)},"inferArgTypes");Gk.secondPass=!0;var _1=s((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Wk=s((e,t,r)=>!t&&!r?e:e&&Rx(e,(n,a)=>{let o=n.name||a.toString();return!!(!t||_1(o,t))&&(!r||!_1(o,r))}),"filterArgTypes"),gY=s((e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&ut.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:(o==null?void 0:o.length)<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),Lv=s(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=Wk(t,n,a),l=To(i,(u,c)=>(u==null?void 0:u.type)&&gY(u,c.toString(),o));return Ma(l,i)},"inferControls");Lv.secondPass=!0;function ys({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:a,beforeEach:o,afterEach:i,initialGlobals:l,...u}){return{...e&&{argTypes:Iu(e)},...t&&{globalTypes:Iu(t)},decorators:it(n),loaders:it(a),beforeEach:it(o),afterEach:it(i),argTypesEnhancers:[...r||[],Gk,Lv],initialGlobals:l,...u}}s(ys,"normalizeProjectAnnotations");var bY=s(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function $v(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}s($v,"composeStepRunners");function Ho(e,t){return e.map(r=>{var n;return((n=r.default)==null?void 0:n[t])??r[t]}).filter(Boolean)}s(Ho,"getField");function bn(e,t,r={}){return Ho(e,t).reduce((n,a)=>{let o=it(a);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}s(bn,"getArrayField");function Ti(e,t){return Object.assign({},...Ho(e,t))}s(Ti,"getObjectField");function oo(e,t){return Ho(e,t).pop()}s(oo,"getSingletonField");function La(e){var a;let t=bn(e,"argTypesEnhancers"),r=Ho(e,"runStep"),n=bn(e,"beforeAll");return{parameters:Ma(...Ho(e,"parameters")),decorators:bn(e,"decorators",{reverseFileOrder:!(((a=he.FEATURES)==null?void 0:a.legacyDecoratorFileOrder)??!1)}),args:Ti(e,"args"),argsEnhancers:bn(e,"argsEnhancers"),argTypes:Ti(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],initialGlobals:Ti(e,"initialGlobals"),globalTypes:Ti(e,"globalTypes"),loaders:bn(e,"loaders"),beforeAll:bY(n),beforeEach:bn(e,"beforeEach"),afterEach:bn(e,"afterEach"),render:oo(e,"render"),renderToCanvas:oo(e,"renderToCanvas"),applyDecorators:oo(e,"applyDecorators"),runStep:$v(r),tags:bn(e,"tags"),mount:oo(e,"mount"),testingLibraryRender:oo(e,"testingLibraryRender")}}s(La,"composeConfigs");function Uv(){try{return!!globalThis.__vitest_browser__||!!globalThis.__playwright__binding__}catch{return!1}}s(Uv,"isTestEnvironment");function Ap(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
934
+ animation: none !important;
935
+ }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
936
+ animation-delay: 0s !important;
937
+ animation-direction: ${e?"reverse":"normal"} !important;
938
+ animation-play-state: paused !important;
939
+ transition: none !important;
940
+ }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}s(Ap,"pauseAnimations");async function xp(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...Vv(globalThis.document)],a=s(async()=>{if(t||e!=null&&e.aborted)return;let o=n.flatMap(i=>{var l;return((l=i==null?void 0:i.getAnimations)==null?void 0:l.call(i))||[]}).filter(i=>i.playState==="running"&&!Yk(i));o.length>0&&(await Promise.all(o.map(i=>i.finished)),await a())},"checkAnimationsFinished");a().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}s(xp,"waitForAnimations");function Vv(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Vv(r.shadowRoot)),t),[])}s(Vv,"getShadowRoots");function Yk(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}s(Yk,"isInfiniteAnimation");var Kk=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};s(Kk,"ReporterAPI");var Hv=Kk;function zv(e,t,r){return Cp(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}s(zv,"getCsfFactoryAnnotations");function Xk(e){globalThis.defaultProjectAnnotations=e}s(Xk,"setDefaultProjectAnnotations");var vY="ComposedStory",EY="Unnamed Story";function Qk(e){return e?La([e]):{}}s(Qk,"extractAnnotation");function Zk(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=La([...Ep(),globalThis.defaultProjectAnnotations??{},La(t.map(Qk))]),globalThis.globalProjectAnnotations??{}}s(Zk,"setProjectAnnotations");var Hn=[];function Jv(e,t,r,n,a){var b;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??vY;let o=Nu(t),i=a||e.storyName||((b=e.story)==null?void 0:b.name)||e.name||EY,l=ms(i,e,o),u=ys(La([n??globalThis.globalProjectAnnotations??{},r??{}])),c=wp(l,o,u),p={...qk(u.globalTypes),...u.initialGlobals,...c.storyGlobals},d=new Hv,h=s(()=>{let v=Mv({hooks:new Um,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:s((T,x)=>c.runStep(T,x,v),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,c.renderToCanvas&&(v.renderToCanvas=async()=>{var x;let T=await((x=c.renderToCanvas)==null?void 0:x.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:s(()=>{},"showMain"),showError:s(_=>{throw new Error(`${_.title}
941
+ ${_.description}`)},"showError"),showException:s(_=>{throw _},"showException"),forceRemount:!0,storyContext:v,storyFn:s(()=>c.unboundStoryFn(v),"storyFn"),unboundStoryFn:c.unboundStoryFn},v.canvasElement));T&&Hn.push(T)}),v.mount=c.mount(v),v},"initializeContext"),f,m=s(async v=>{var x;let T=h();return T.canvasElement??(T.canvasElement=(x=globalThis==null?void 0:globalThis.document)==null?void 0:x.body),f&&(T.loaded=f.loaded),Object.assign(T,v),c.playFunction(T)},"play"),y=s(v=>{let T=h();return Object.assign(T,v),rN(c,T)},"run"),g=c.playFunction?m:void 0;return Object.assign(s(function(v){let T=h();return f&&(T.loaded=f.loaded),T.args={...T.initialArgs,...v},c.unboundStoryFn(T)},"storyFn"),{id:c.id,storyName:i,load:s(async()=>{for(let T of[...Hn].reverse())await T();Hn.length=0;let v=h();v.loaded=await c.applyLoaders(v),Hn.push(...(await c.applyBeforeEach(v)).filter(Boolean)),f=v},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:y,reporting:d,tags:c.tags})}s(Jv,"composeStory");var CY=s((e,t,r,n)=>Jv(e,t,r,{},n),"defaultComposeStory");function eN(e,t,r=CY){let{default:n,__esModule:a,__namedExportsOrder:o,...i}=e,l=n;return Object.entries(i).reduce((u,[c,p])=>{let{story:d,meta:h}=zv(p);return!l&&h&&(l=h),ku(c,l)?Object.assign(u,{[c]:r(d,l,t,c)}):u},{})}s(eN,"composeStories");function tN(e){return e.extend({mount:s(async({mount:t,page:r},n)=>{await n(async(a,...o)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(qe`
942
+ Portable stories in Playwright CT only work when referencing JSX elements.
943
+ Please use JSX format for your components such as:
944
+
945
+ instead of:
946
+ await mount(MyComponent, { props: { foo: 'bar' } })
947
+
948
+ do:
949
+ await mount(<MyComponent foo="bar"/>)
950
+
951
+ More info: https://storybook.js.org/docs/api/portable-stories-playwright
952
+ `);await r.evaluate(async l=>{var c,p,d;let u=await((c=globalThis.__pwUnwrapObject)==null?void 0:c.call(globalThis,l));return(d=(p="__pw_type"in u?u.type:u)==null?void 0:p.load)==null?void 0:d.call(p)},a);let i=await t(a,...o);return await r.evaluate(async l=>{var d,h;let u=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,l)),c="__pw_type"in u?u.type:u,p=document.querySelector("#root");return(h=c==null?void 0:c.play)==null?void 0:h.call(c,{canvasElement:p})},a),i})},"mount")})}s(tN,"createPlaywrightTest");async function rN(e,t){var o,i;for(let l of[...Hn].reverse())await l();if(Hn.length=0,!t.canvasElement){let l=document.createElement("div");(i=(o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body)==null||i.appendChild(l),t.canvasElement=l,Hn.push(()=>{var u,c,p,d;(c=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)!=null&&c.contains(l)&&((d=(p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body)==null||d.removeChild(l))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Hn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Lm({playFunction:r.toString()})}),await r(t));let a;Uv()?a=Ap():await xp(t.abortSignal),await e.applyAfterEach(t),await(a==null?void 0:a())}s(rN,"runStory");var T1=1e3,wY=1e4,nN=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new oY(t),this.projectAnnotations=ys(La([...Ep(),n]));let{initialGlobals:a,globalTypes:o}=this.projectAnnotations;this.args=new tY,this.userGlobals=new rY({globals:a,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Hp.default)(T1)(Hk),this.prepareMetaWithCache=(0,Hp.default)(T1)(Bv),this.prepareStoryWithCache=(0,Hp.default)(wY)(wp)}setProjectAnnotations(t){this.projectAnnotations=ys(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),a=await this.importFn(r);return this.processCSFFileWithCache(a,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:a})=>(r[n]=a,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new QA({storyId:t});let a=r.meta,o=this.prepareStoryWithCache(n,a,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new Um,o}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[a,...o]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let l=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:a,csfFiles:o}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,o=new Hv;return Mv({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:o,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new MA;return Object.entries(this.storyIndex.entries).reduce((n,[a,{type:o,importPath:i}])=>{if(o==="docs")return n;let l=r[i],u=this.storyFromCSFFile({storyId:a,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[a]=Object.entries(u).reduce((c,[p,d])=>p==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[p]:d.slice().sort()}):Object.assign(c,{[p]:d}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};s(nN,"StoryStore");var aN=nN;function oN(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(oN,"slash");var AY=s(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t==null?void 0:t.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Lh(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}s(Lh,"pathJoin");var iN=s((e,t,r)=>{let{directory:n,importPathMatcher:a,titlePrefix:o=""}=t||{};typeof e=="number"&&At.warn(qe`
953
+ CSF Auto-title received a numeric fileName. This typically happens when
954
+ webpack is mis-configured in production mode. To force webpack to produce
955
+ filenames, set optimization.moduleIds = "named" in your webpack config.
956
+ `);let i=oN(String(e));if(a.exec(i)){if(!r){let l=i.replace(n,""),u=Lh([o,l]).split("/");return u=AY(u),u.join("/")}return o?Lh([o,r]):r}},"userOrAutoTitleFromSpecifier"),xY=s((e,t,r)=>{for(let n=0;n<t.length;n+=1){let a=iN(e,t[n],r);if(a)return a}return r||void 0},"userOrAutoTitle"),P1=/\s*\/\s*/,SY=s((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",a=e.order||[],o=t.title.trim().split(P1),i=r.title.trim().split(P1);e.includeNames&&(o.push(t.name),i.push(r.name));let l=0;for(;o[l]||i[l];){if(!o[l])return-1;if(!i[l])return 1;let u=o[l],c=i[l];if(u!==c){let d=a.indexOf(u),h=a.indexOf(c),f=a.indexOf("*");return d!==-1||h!==-1?(d===-1&&(f!==-1?d=f:d=a.length),h===-1&&(f!==-1?h=f:h=a.length),d-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=a.indexOf(u);p===-1&&(p=a.indexOf("*")),a=p!==-1&&Array.isArray(a[p+1])?a[p+1]:[],l+=1}return 0},"storySort"),_Y=s((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=SY(t),e.sort(n)}else e.sort((n,a)=>r.indexOf(n.importPath)-r.indexOf(a.importPath));return e},"sortStoriesCommon"),TY=s((e,t,r)=>{try{return _Y(e,t,r)}catch(n){throw new Error(qe`
957
+ Error sorting stories with sort parameter ${t}:
958
+
959
+ > ${n.message}
960
+
961
+ Are you using a V6-style sort function in V7 mode?
962
+
963
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
964
+ `)}},"sortStoriesV7"),Sp=new Error("prepareAborted"),{AbortController:D1}=globalThis;function $h(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}s($h,"serializeError");var sN=class{constructor(t,r,n,a,o,i,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=a,this.id=o,this.viewMode=i,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=s(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new D1,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Oa,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Oa,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Sp}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var T,x,_,w,E,C,P,k;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:i,title:l,name:u,tags:c,applyLoaders:p,applyBeforeEach:d,applyAfterEach:h,unboundStoryFn:f,playFunction:m,runStep:y}=a;r&&!t&&(this.cancelRender(),this.abortController=new D1);let g=this.abortController.signal,b=!1,v=a.usesMount;try{let N={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:s((J,U)=>y(J,U,N),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:s(async()=>{let J=await this.renderToScreen(G,n);this.teardownRender=J||(()=>{}),b=!0},"renderToCanvas"),mount:s(async(...J)=>{var X,ee;(ee=(X=this.callbacks).showStoryDuringRender)==null||ee.call(X);let U=null;return await this.runPhase(g,"rendering",async()=>{U=await a.mount(N)(...J)}),v&&await this.runPhase(g,"playing"),U},"mount")};N.context=N;let G={componentId:i,title:l,kind:l,id:o,name:u,story:u,tags:c,...this.callbacks,showError:s(J=>(this.phase="errored",this.callbacks.showError(J)),"showError"),showException:s(J=>(this.phase="errored",this.callbacks.showException(J)),"showException"),forceRemount:r||this.notYetRendered,storyContext:N,storyFn:s(()=>f(N),"storyFn"),unboundStoryFn:f};if(await this.runPhase(g,"loading",async()=>{N.loaded=await p(N)}),g.aborted)return;let Y=await d(N);if(this.store.addCleanupCallbacks(a,...Y),this.checkIfAborted(g)||(!b&&!v&&await N.mount(),this.notYetRendered=!1,g.aborted))return;let O=((x=(T=this.story.parameters)==null?void 0:T.test)==null?void 0:x.dangerouslyIgnoreUnhandledErrors)===!0,q=new Set,B=s(J=>{J.error&&q.add(J.error)},"onError"),K=s(J=>{J.reason&&q.add(J.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){(_=window==null?void 0:window.addEventListener)==null||_.call(window,"error",B),(w=window==null?void 0:window.addEventListener)==null||w.call(window,"unhandledrejection",K),this.disableKeyListeners=!0;try{if(v?await m(N):(N.mount=async()=>{throw new Lm({playFunction:m.toString()})},await this.runPhase(g,"playing",async()=>m(N))),!b)throw new ox;this.checkIfAborted(g),!O&&q.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(J){if((C=(E=this.callbacks).showStoryDuringRender)==null||C.call(E),await this.runPhase(g,"errored",async()=>{this.channel.emit(KC,$h(J))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw J;console.error(J)}if(!O&&q.size>0&&this.channel.emit(XC,Array.from(q).map($h)),this.disableKeyListeners=!1,(P=window==null?void 0:window.removeEventListener)==null||P.call(window,"unhandledrejection",K),(k=window==null?void 0:window.removeEventListener)==null||k.call(window,"error",B),g.aborted)return}await this.runPhase(g,"completing",async()=>{Uv()?this.store.addCleanupCallbacks(a,Ap()):await xp(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(ql,o)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await h(N)});let Q=!O&&q.size>0,ne=N.reporting.reports.some(J=>J.status==="failed"),$=Q||ne;await this.runPhase(g,"finished",async()=>this.channel.emit(jd,{storyId:o,status:$?"error":"success",reporters:N.reporting.reports}))}catch(N){this.phase="errored",this.callbacks.showException(N),await this.runPhase(g,"finished",async()=>this.channel.emit(jd,{storyId:o,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var t;(t=this.abortController)==null||t.abort()}async teardown(){var t,r;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let n=0;n<3;n+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(a=>setTimeout(a,0))}(r=(t=window==null?void 0:window.location)==null?void 0:t.reload)==null||r.call(t),await new Promise(()=>{})}};s(sN,"StoryRender");var Uh=sN,{fetch:PY}=he,DY="./index.json",lN=class{constructor(t,r,n=rr.getChannel(),a=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,i)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=i}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:s((t,r)=>{if(this.storyStoreValue)return Tm("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new ex},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(aw,this.onStoryIndexChanged.bind(this)),this.channel.on(Sm,this.onUpdateGlobals.bind(this)),this.channel.on(_m,this.onUpdateArgs.bind(this)),this.channel.on(pw,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Am,this.onResetArgs.bind(this)),this.channel.on(wm,this.onForceReRender.bind(this)),this.channel.on(Bl,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new $A;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(a){throw this.renderPreviewEntryError("Error in beforeAll hook:",a),a}}async getStoryIndexFromServer(){let t=await PY(DY);if(t.status===200)return t.json();throw new HA({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new aN(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new dr({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(ew,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new dr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new dr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:a,userGlobals:o,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Gi,{initialGlobals:n,userGlobals:o,storyGlobals:a,globals:i})}else{let{initialGlobals:n,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(Gi,{initialGlobals:n,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new dr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(tw,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let a=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit(Bd,{id:t,success:!0,payload:{argTypes:(a==null?void 0:a.argTypes)||{}},error:null})}catch(a){this.channel.emit(Bd,{id:t,success:!1,error:a==null?void 0:a.message})}}async onResetArgs({storyId:t,argNames:r}){var o;if(!this.storyStoreValue)throw new dr({methodName:"onResetArgs"});let n=((o=this.storyRenders.find(i=>i.id===t))==null?void 0:o.story)||await this.storyStoreValue.loadStory({storyId:t}),a=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,l)=>(i[l]=n.initialArgs[l],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new dr({methodName:"renderStoryToElement"});let o=new Uh(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",a,t);return o.renderToElement(r),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(a=>a!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new dr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new dr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new dr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ut.error(t),ut.error(r),this.channel.emit(WC,r)}};s(lN,"Preview");var uN=lN,cN=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=s(o=>{let i=this.nameToStoryId.get(o);if(i)return i;throw new Error(`No story found with that name: ${o}`)},"storyIdByName"),this.componentStories=s(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=s(o=>this.store.componentStoriesFromCSFFile({csfFile:o}),"componentStoriesFromCSFFile"),this.storyById=s(o=>{if(!o){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(o);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:i})},"storyById"),this.getStoryContext=s(o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=s(o=>this.store.loadStory({storyId:o}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((o,i)=>{this.referenceCSFFile(o)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Cp(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let a=t;n=this.resolveAttachedModuleExportType(a)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let a=n.type==="component"?"component or unknown":n.type;throw new Error(qe`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${r.join(", ")}.
965
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
966
+ - ... or vice versa?
967
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};s(cN,"DocsContext");var Gv=cN,pN=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Sp;let{importPath:n,title:a}=this.entry,o=this.store.processCSFFileWithCache(t,n,a),i=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:o}),this.csfFiles=[o,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Gv(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await a.renderer(),{render:i}=o,l=s(async()=>{try{await i(n,a,t),this.channel.emit(Cm,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||o.unmount(t)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(pN,"CsfDocsRender");var O1=pN,dN=class{constructor(t,r,n,a){this.channel=t,this.store=r,this.entry=n,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Sp;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Gv(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:a}=this.store.projectAnnotations.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...a,page:this.exports.default},i=await a.renderer(),{render:l}=i,u=s(async()=>{try{await l(n,o,t),this.channel.emit(Cm,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};s(dN,"MdxDocsRender");var R1=dN,OY=globalThis;function fN(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}s(fN,"focusInInput");var hN="attached-mdx",RY="unattached-mdx";function mN({tags:e}){return(e==null?void 0:e.includes(RY))||(e==null?void 0:e.includes(hN))}s(mN,"isMdxEntry");function Dl(e){return e.type==="story"}s(Dl,"isStoryRender");function yN(e){return e.type==="docs"}s(yN,"isDocsRender");function gN(e){return yN(e)&&e.subtype==="csf"}s(gN,"isCsfDocsRender");var bN=class extends uN{constructor(t,r,n,a){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),OY.onkeydown=this.onKeydown.bind(this),this.channel.on(xm,this.onSetCurrentStory.bind(this)),this.channel.on(uw,this.onUpdateQueryParams.bind(this)),this.channel.on(QC,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new dr({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new dr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new WA):this.renderStoryLoadingException(t,new KA({storySpecifier:t.toString()}));return}let{id:a,type:o}=n;this.selectionStore.setSelection({storyId:a,viewMode:o}),this.channel.emit(iw,this.selectionStore.selection),this.channel.emit(kd,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!fN(t)){let{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}=t;this.channel.emit(ZC,{event:{altKey:r,ctrlKey:n,metaKey:a,shiftKey:o,key:i,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(kd,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,a;let r=this.currentRender instanceof Uh&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof R1||this.currentRender instanceof O1)&&await((a=(n=this.currentRender).rerender)==null?void 0:a.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,f,m,y;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new dr({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=n,o;try{o=await this.storyStoreValue.storyIdToEntry(a)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,g);return}let i=((h=this.currentSelection)==null?void 0:h.storyId)!==a,l=((f=this.currentRender)==null?void 0:f.type)!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let u;o.type==="story"?u=new Uh(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):mN(o)?u=new R1(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a)):u=new O1(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(a));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(g){p&&await this.teardownRender(p),g!==Sp&&this.renderStoryLoadingException(a,g);return}let d=!i&&p&&!u.isEqual(p);if(t&&Dl(u)&&(rn(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),p&&!p.torndown&&!i&&!d&&!l){this.currentRender=p,this.channel.emit(lw,a),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:l}),c&&(i||l)&&this.channel.emit(rw,a),Dl(u)){rn(!!u.story);let{parameters:g,initialArgs:b,argTypes:v,unmappedArgs:T,initialGlobals:x,userGlobals:_,storyGlobals:w,globals:E}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(ow,{id:a,parameters:g,initialArgs:b,argTypes:v,args:T}),this.channel.emit(Gi,{userGlobals:_,storyGlobals:w,globals:E,initialGlobals:x})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(Gi,{globals:v,initialGlobals:b,storyGlobals:{},userGlobals:v}),gN(u)||((y=u.entry.tags)==null?void 0:y.includes(hN))){if(!u.csfFiles)throw new JA({storyId:a});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(YC,{id:a,parameters:g})}Dl(u)?(rn(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(a=>a!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:s(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:s(()=>this.view.showMain(),"showMain"),showError:s(r=>this.renderError(t,r),"showError"),showException:s(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Nd)}renderStoryLoadingException(t,r){ut.error(r),this.view.showErrorDisplay(r),this.channel.emit(Nd,t)}renderException(t,r){let{name:n="Error",message:a=String(r),stack:o}=r;this.channel.emit(sw,{name:n,message:a,stack:o}),this.channel.emit(Oa,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ut.error(`Error rendering story '${t}':`),ut.error(r)}renderError(t,{title:r,description:n}){ut.error(`Error rendering story ${r}: ${n}`),this.channel.emit(nw,{title:r,description:n}),this.channel.emit(Oa,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};s(bN,"PreviewWithSelection");var vN=bN,Vh=xt(bm(),1),FY=xt(bm(),1),F1=/^[a-zA-Z0-9 _-]*$/,EN=/^-?[0-9]+(\.[0-9]+)?$/,IY=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,CN=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Hh=s((e="",t)=>e===null||e===""||!F1.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?F1.test(t)||EN.test(t)||IY.test(t)||CN.test(t):Array.isArray(t)?t.every(r=>Hh(e,r)):Br(t)?Object.entries(t).every(([r,n])=>Hh(r,n)):!1,"validateArgs"),kY={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(CN);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return EN.test(e)?Number(e):e}},I1=s(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,FY.parse)(t.join(";"),kY)).reduce((r,[n,a])=>Hh(n,a)?Object.assign(r,{[n]:a}):(At.warn(qe`
968
+ Omitted potentially unsafe URL args.
969
+
970
+ More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
971
+ `),r),{})},"parseArgsParam"),{history:wN,document:an}=he;function AN(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}s(AN,"pathToId");var xN=s(({selection:e,extraParams:t})=>{let r=an==null?void 0:an.location.search.slice(1),{path:n,selectedKind:a,selectedStory:o,...i}=(0,Vh.parse)(r);return`?${(0,Vh.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),NY=s(e=>{if(!e)return;let t=xN({selection:e}),{hash:r=""}=an.location;an.title=e.storyId,wN.replaceState({},"",`${an.location.pathname}${t}${r}`)},"setPath"),jY=s(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Vi=s(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Vi(e[0]);if(jY(e))return Vi(Object.values(e).filter(Boolean))}},"getFirstString"),BY=s(()=>{if(typeof an<"u"){let e=an.location.search.slice(1),t=(0,Vh.parse)(e),r=typeof t.args=="string"?I1(t.args):void 0,n=typeof t.globals=="string"?I1(t.globals):void 0,a=Vi(t.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let o=Vi(t.path),i=o?AN(o):Vi(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:a}}return null},"getSelectionSpecifierFromPath"),SN=class{constructor(){this.selectionSpecifier=BY()}setSelection(t){this.selection=t,NY(this.selection)}setQueryParams(t){let r=xN({extraParams:t}),{hash:n=""}=an.location;wN.replaceState({},"",`${an.location.pathname}${r}${n}`)}};s(SN,"UrlStore");var _N=SN,qY=xt(l8(),1),MY=xt(bm(),1),{document:Vt}=he,k1=100,TN=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(TN||{}),ad={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},od={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},N1=new qY.default({escapeXML:!0}),PN=class{constructor(){if(this.testing=!1,typeof Vt<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,MY.parse)(Vt.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Vt.documentElement.scrollTop=0,Vt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Vt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Vt.documentElement.scrollTop=0,Vt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Vt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Vt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=od[t];Vt.body.classList.remove(this.currentLayoutClass),Vt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){od[t]||ut.warn(qe`
972
+ The desired layout: ${t} is not a valid option.
973
+ The possible options are: ${Object.keys(od).join(", ")}, none.
974
+ `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(TN).forEach(r=>{r===t?Vt.body.classList.add(ad[r]):Vt.body.classList.remove(ad[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,a=r,o=t.split(`
975
+ `);o.length>1&&([n]=o,a=o.slice(1).join(`
976
+ `).replace(/^\n/,"")),Vt.getElementById("error-message").innerHTML=N1.toHtml(n),Vt.getElementById("error-stack").innerHTML=N1.toHtml(a),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),k1)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),k1)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Vt.body.classList.add(ad.MAIN)}};s(PN,"WebView");var DN=PN,ON=class extends vN{constructor(t,r){super(t,r,new _N,new DN),this.importFn=t,this.getProjectAnnotations=r,he.__STORYBOOK_PREVIEW__=this}};s(ON,"PreviewWeb");var LY=ON,{document:Pa}=he,$Y=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],UY="script",j1="scripts-root";function ju(){let e=Pa.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Pa.dispatchEvent(e)}s(ju,"simulateDOMContentLoaded");function RN(e,t,r){let n=Pa.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Pa.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}s(RN,"insertScript");function Wv(e,t,r=0){e[r](()=>{r++,r===e.length?t():Wv(e,t,r)})}s(Wv,"insertScriptsSequentially");function FN(e){let t=Pa.getElementById(j1);t?t.innerHTML="":(t=Pa.createElement("div"),t.id=j1,Pa.body.appendChild(t));let r=Array.from(e.querySelectorAll(UY));if(r.length){let n=[];r.forEach(a=>{let o=a.getAttribute("type");(!o||$Y.includes(o))&&n.push(i=>RN(a,i,t))}),n.length&&Wv(n,ju,void 0)}else ju()}s(FN,"simulatePageLoad");var VY="storybook/docs",HY=`${VY}/snippet-rendered`;async function IN(e,t){var l,u,c;let r=(c=(u=(l=t.parameters)==null?void 0:l.docs)==null?void 0:u.source)==null?void 0:c.transform,{id:n,unmappedArgs:a}=t,o=r&&e?r==null?void 0:r(e,t):e,i=o?await o:void 0;rr.getChannel().emit(HY,{id:n,source:i,args:a})}s(IN,"emitTransformCode");var gs={depth:10,clearOnStoryChange:!0,limit:50},zY=s((e={})=>{Object.assign(gs,e)},"configureActions"),kN=s((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:kN(r,t)},"findProto"),JY=s(e=>!!(typeof e=="object"&&e&&kN(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),GY=s(e=>{if(JY(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function ii(e,t={}){let r={...gs,...t},n=s(function(...a){var d,h;if(t.implicit){let f=(d="__STORYBOOK_PREVIEW__"in he?he.__STORYBOOK_PREVIEW__:void 0)==null?void 0:d.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(f){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),y=new BA({phase:f.phase,name:e,deprecated:m});if(m)console.warn(y);else throw y}}let o=rr.getChannel(),i=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,u=a.map(GY),c=a.length>1?u:u[0],p={id:i,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};o.emit(mx,p)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}s(ii,"action");var WY=s((...e)=>{let t=gs,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...gs,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let a={};return Object.keys(n).forEach(o=>{a[o]=ii(n[o],t)}),a},"actions"),YY={"@storybook/global":dw,"storybook/test":qx,"storybook/actions":hx,"storybook/preview-api":Ld,"storybook/internal/channels":hw,"storybook/internal/client-logger":yw,"storybook/internal/core-events":vm,"storybook/internal/types":dx,"storybook/internal/preview-errors":OA,"storybook/internal/preview-api":Ld};async function NN(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}KY(t,r)}s(NN,"maybeSetupPreviewNavigator");var KY=s(async(e,t)=>{var l,u;let r={entries:{}};for(let c of Object.values(e.entries)){let p=c.title.split("/"),d=r;for(let h of p)d.entries||(d.entries={}),d.entries[h]?t===c.id&&(d.entries[h].isActive=!0):d.entries[h]={title:h,isActive:t===c.id,entries:{}},d=d.entries[h];d.entries||(d.entries={}),d.entries[c.name]={id:c.id,name:c.name,href:`?id=${c.id}&viewMode=${c.type}&navigator=true`,isActive:t===c.id}}let n=s(c=>{if("entries"in c&&"title"in c){let d=c;return`
977
+ <li class="sb-navigator-branch">
978
+ <details${d.isActive?" open":""}>
979
+ <summary class="sb-navigator-title">
980
+ ${d.title}
981
+ </summary>
982
+ <ul class="sb-navigator-entries" aria-label="${d.title}">
983
+ ${Object.values(d.entries).map(n).join("")}
984
+ </ul>
985
+ </details>
986
+ </li>
987
+ `}let p=c;return`
988
+ <li class="sb-navigator-story-item">
989
+ <a href="${p.href}"
990
+ class="sb-navigator-story-link${p.isActive?" active":""}"
991
+ aria-current="${p.isActive?"location":"false"}">${p.name}</a>
992
+ </li>
993
+ `},"createHtmlForNode"),a=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
994
+ <ul class="sb-navigator-list">${a}</ul>
995
+ `,document.body.insertBefore(o,document.body.firstChild);let i=document.createElement("style");i.id="sb-navigator-style",i.textContent=`
996
+ body {
997
+ display: grid !important;
998
+ grid-template-columns: 300px 1fr;
999
+ font-family: 'Nunito', sans-serif;
1000
+ height: 100vh;
1001
+ margin: 0;
1002
+
1003
+ --text-color: rgb(46, 52, 56);
1004
+ --bg-color: rgb(246, 249, 252);
1005
+
1006
+ @media (prefers-color-scheme: dark) {
1007
+ --text-color: rgb(201, 205, 207);
1008
+ --bg-color: rgb(34, 36, 37);
1009
+ }
1010
+ }
1011
+ #storybook-root, #storybook-docs {
1012
+ overflow-y: auto;
1013
+ max-height: 100vh;
1014
+ max-width: 100%;
1015
+ }
1016
+ #sb-navigator-container, #sb-navigator-container * {
1017
+ box-sizing: border-box;
1018
+ }
1019
+ #sb-navigator-container {
1020
+ height: 100vh;
1021
+ overflow-y: auto;
1022
+ border-right: 1px solid #eee;
1023
+ padding: 1rem;
1024
+ font-size: 14px;
1025
+ color: var(--text-color);
1026
+ background-color: var(--bg-color);
1027
+ align-self: start;
1028
+ z-index: 1000;
1029
+ }
1030
+ .sb-main-padded #sb-navigator-container {
1031
+ margin: -1rem 1rem -1rem -1rem;
1032
+ }
1033
+ .sb-navigator-list {
1034
+ list-style-type: none;
1035
+ padding: 0;
1036
+ margin: 0;
1037
+ }
1038
+ .sb-navigator-branch {
1039
+ list-style-type: none;
1040
+ }
1041
+ .sb-navigator-item {
1042
+ margin-bottom: 15px;
1043
+ }
1044
+ .sb-navigator-title {
1045
+ color: var(--text-color);
1046
+ text-decoration: none;
1047
+ padding-block: 5px;
1048
+ cursor: pointer;
1049
+ }
1050
+ .sb-navigator-entries {
1051
+ padding-left: 15px;
1052
+ }
1053
+ .sb-navigator-story-item {
1054
+ margin-bottom: 8px;
1055
+ margin-left: 8px;
1056
+ }
1057
+ .sb-navigator-story-link {
1058
+ color: var(--text-color);
1059
+ }
1060
+ .sb-navigator-story-link.active {
1061
+ font-weight: bold;
1062
+ color: rgb(2, 156, 253);
1063
+ }
1064
+ `,document.head.appendChild(i),(u=(l=o.querySelector(".sb-navigator-story-link.active"))==null?void 0:l.closest("details"))==null||u.scrollIntoView({block:"center"})},"setupPreviewNavigator"),XY=xt(u8(),1),id;function jN(){var e;return id||(id=new XY.default((e=he.navigator)==null?void 0:e.userAgent).getBrowserInfo()),id}s(jN,"getBrowserInfo");function BN(e){return e.browserInfo=jN(),e}s(BN,"prepareForTelemetry");function qN(e){let t=e.error||e;t.fromStorybook&&he.sendTelemetryError(t)}s(qN,"errorListener");function MN({reason:e}){e.fromStorybook&&he.sendTelemetryError(e)}s(MN,"unhandledRejectionListener");function Yv(){N8.forEach(e=>{he[fw[e]]=YY[e]}),he.sendTelemetryError=e=>{he.__STORYBOOK_ADDONS_CHANNEL__.emit(cw,BN(e))},he.addEventListener("error",qN),he.addEventListener("unhandledrejection",MN),NN()}s(Yv,"setup");Yv();const{createBrowserChannel:QY}=__STORYBOOK_MODULE_CHANNELS__,{addons:ZY}=__STORYBOOK_MODULE_PREVIEW_API__,Kv=QY({page:"preview"});ZY.setChannel(Kv);window.__STORYBOOK_ADDONS_CHANNEL__=Kv;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=Kv);const eK="modulepreload",tK=function(e,t){return new URL(e,t).href},B1={},yo=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let i=function(p){return Promise.all(p.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const l=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),c=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));a=i(r.map(p=>{if(p=tK(p,n),p in B1)return;B1[p]=!0;const d=p.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(!!n)for(let y=l.length-1;y>=0;y--){const g=l[y];if(g.href===p&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${p}"]${h}`))return;const m=document.createElement("link");if(m.rel=d?"stylesheet":eK,d||(m.as="script"),m.crossOrigin="",m.href=p,c&&m.setAttribute("nonce",c),document.head.appendChild(m),d)return new Promise((y,g)=>{m.addEventListener("load",y),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${p}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return a.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},rK={"./src/components/Timelane/Timelane.stories.tsx":()=>yo(()=>import("./Timelane.stories-eJTFFqOc.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),"./src/components/TimelaneLane/TimelaneLane.stories.tsx":()=>yo(()=>import("./TimelaneLane.stories-D-gkVkkl.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url),"./src/components/TimelaneSettingsProvider/TimelaneSettingsProvider.stories.tsx":()=>yo(()=>import("./TimelaneSettingsProvider.stories-Ca_yRNCX.js"),__vite__mapDeps([6,1,2,3,4]),import.meta.url),"./src/stories/FullExamplePage/FullExamplePage.stories.tsx":()=>yo(()=>import("./FullExamplePage.stories-2F7rFo1o.js"),__vite__mapDeps([7,1,2,8,3,4,9]),import.meta.url)};async function nK(e){return await rK[e]()}function aK(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sd={exports:{}},Fe={};/**
1065
+ * @license React
1066
+ * react.production.js
1067
+ *
1068
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1069
+ *
1070
+ * This source code is licensed under the MIT license found in the
1071
+ * LICENSE file in the root directory of this source tree.
1072
+ */var q1;function oK(){if(q1)return Fe;q1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;function h($){return $===null||typeof $!="object"?null:($=d&&$[d]||$["@@iterator"],typeof $=="function"?$:null)}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function g($,J,U){this.props=$,this.context=J,this.refs=y,this.updater=U||f}g.prototype.isReactComponent={},g.prototype.setState=function($,J){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,J,"setState")},g.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function b(){}b.prototype=g.prototype;function v($,J,U){this.props=$,this.context=J,this.refs=y,this.updater=U||f}var T=v.prototype=new b;T.constructor=v,m(T,g.prototype),T.isPureReactComponent=!0;var x=Array.isArray,_={H:null,A:null,T:null,S:null,V:null},w=Object.prototype.hasOwnProperty;function E($,J,U,X,ee,se){return U=se.ref,{$$typeof:e,type:$,key:J,ref:U!==void 0?U:null,props:se}}function C($,J){return E($.type,J,void 0,void 0,void 0,$.props)}function P($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function k($){var J={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(U){return J[U]})}var N=/\/+/g;function G($,J){return typeof $=="object"&&$!==null&&$.key!=null?k(""+$.key):J.toString(36)}function Y(){}function O($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(Y,Y):($.status="pending",$.then(function(J){$.status==="pending"&&($.status="fulfilled",$.value=J)},function(J){$.status==="pending"&&($.status="rejected",$.reason=J)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function q($,J,U,X,ee){var se=typeof $;(se==="undefined"||se==="boolean")&&($=null);var te=!1;if($===null)te=!0;else switch(se){case"bigint":case"string":case"number":te=!0;break;case"object":switch($.$$typeof){case e:case t:te=!0;break;case p:return te=$._init,q(te($._payload),J,U,X,ee)}}if(te)return ee=ee($),te=X===""?"."+G($,0):X,x(ee)?(U="",te!=null&&(U=te.replace(N,"$&/")+"/"),q(ee,J,U,"",function(We){return We})):ee!=null&&(P(ee)&&(ee=C(ee,U+(ee.key==null||$&&$.key===ee.key?"":(""+ee.key).replace(N,"$&/")+"/")+te)),J.push(ee)),1;te=0;var pe=X===""?".":X+":";if(x($))for(var de=0;de<$.length;de++)X=$[de],se=pe+G(X,de),te+=q(X,J,U,se,ee);else if(de=h($),typeof de=="function")for($=de.call($),de=0;!(X=$.next()).done;)X=X.value,se=pe+G(X,de++),te+=q(X,J,U,se,ee);else if(se==="object"){if(typeof $.then=="function")return q(O($),J,U,X,ee);throw J=String($),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return te}function B($,J,U){if($==null)return $;var X=[],ee=0;return q($,X,"","",function(se){return J.call(U,se,ee++)}),X}function K($){if($._status===-1){var J=$._result;J=J(),J.then(function(U){($._status===0||$._status===-1)&&($._status=1,$._result=U)},function(U){($._status===0||$._status===-1)&&($._status=2,$._result=U)}),$._status===-1&&($._status=0,$._result=J)}if($._status===1)return $._result.default;throw $._result}var Q=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)};function ne(){}return Fe.Children={map:B,forEach:function($,J,U){B($,function(){J.apply(this,arguments)},U)},count:function($){var J=0;return B($,function(){J++}),J},toArray:function($){return B($,function(J){return J})||[]},only:function($){if(!P($))throw Error("React.Children.only expected to receive a single React element child.");return $}},Fe.Component=g,Fe.Fragment=r,Fe.Profiler=a,Fe.PureComponent=v,Fe.StrictMode=n,Fe.Suspense=u,Fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,Fe.__COMPILER_RUNTIME={__proto__:null,c:function($){return _.H.useMemoCache($)}},Fe.cache=function($){return function(){return $.apply(null,arguments)}},Fe.cloneElement=function($,J,U){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var X=m({},$.props),ee=$.key,se=void 0;if(J!=null)for(te in J.ref!==void 0&&(se=void 0),J.key!==void 0&&(ee=""+J.key),J)!w.call(J,te)||te==="key"||te==="__self"||te==="__source"||te==="ref"&&J.ref===void 0||(X[te]=J[te]);var te=arguments.length-2;if(te===1)X.children=U;else if(1<te){for(var pe=Array(te),de=0;de<te;de++)pe[de]=arguments[de+2];X.children=pe}return E($.type,ee,void 0,void 0,se,X)},Fe.createContext=function($){return $={$$typeof:i,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:o,_context:$},$},Fe.createElement=function($,J,U){var X,ee={},se=null;if(J!=null)for(X in J.key!==void 0&&(se=""+J.key),J)w.call(J,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(ee[X]=J[X]);var te=arguments.length-2;if(te===1)ee.children=U;else if(1<te){for(var pe=Array(te),de=0;de<te;de++)pe[de]=arguments[de+2];ee.children=pe}if($&&$.defaultProps)for(X in te=$.defaultProps,te)ee[X]===void 0&&(ee[X]=te[X]);return E($,se,void 0,void 0,null,ee)},Fe.createRef=function(){return{current:null}},Fe.forwardRef=function($){return{$$typeof:l,render:$}},Fe.isValidElement=P,Fe.lazy=function($){return{$$typeof:p,_payload:{_status:-1,_result:$},_init:K}},Fe.memo=function($,J){return{$$typeof:c,type:$,compare:J===void 0?null:J}},Fe.startTransition=function($){var J=_.T,U={};_.T=U;try{var X=$(),ee=_.S;ee!==null&&ee(U,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(ne,Q)}catch(se){Q(se)}finally{_.T=J}},Fe.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},Fe.use=function($){return _.H.use($)},Fe.useActionState=function($,J,U){return _.H.useActionState($,J,U)},Fe.useCallback=function($,J){return _.H.useCallback($,J)},Fe.useContext=function($){return _.H.useContext($)},Fe.useDebugValue=function(){},Fe.useDeferredValue=function($,J){return _.H.useDeferredValue($,J)},Fe.useEffect=function($,J,U){var X=_.H;if(typeof U=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect($,J)},Fe.useId=function(){return _.H.useId()},Fe.useImperativeHandle=function($,J,U){return _.H.useImperativeHandle($,J,U)},Fe.useInsertionEffect=function($,J){return _.H.useInsertionEffect($,J)},Fe.useLayoutEffect=function($,J){return _.H.useLayoutEffect($,J)},Fe.useMemo=function($,J){return _.H.useMemo($,J)},Fe.useOptimistic=function($,J){return _.H.useOptimistic($,J)},Fe.useReducer=function($,J,U){return _.H.useReducer($,J,U)},Fe.useRef=function($){return _.H.useRef($)},Fe.useState=function($){return _.H.useState($)},Fe.useSyncExternalStore=function($,J,U){return _.H.useSyncExternalStore($,J,U)},Fe.useTransition=function(){return _.H.useTransition()},Fe.version="19.1.0",Fe}var M1;function iK(){return M1||(M1=1,sd.exports=oK()),sd.exports}var zt=iK();const Sr=aK(zt),qte=BB({__proto__:null,default:Sr},[zt]),{defaultDecorateStory:sK}=__STORYBOOK_MODULE_PREVIEW_API__;var Xv=(e,t)=>sK(r=>Sr.createElement(e,r),t),lK=Object.create,_p=Object.defineProperty,uK=Object.getOwnPropertyDescriptor,Qv=Object.getOwnPropertyNames,cK=Object.getPrototypeOf,pK=Object.prototype.hasOwnProperty,dK=(e,t)=>function(){return e&&(t=(0,e[Qv(e)[0]])(e=0)),t},ve=(e,t)=>function(){return t||(0,e[Qv(e)[0]])((t={exports:{}}).exports,t),t.exports},Tp=(e,t)=>{for(var r in t)_p(e,r,{get:t[r],enumerable:!0})},LN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Qv(t))!pK.call(e,a)&&a!==r&&_p(e,a,{get:()=>t[a],enumerable:!(n=uK(t,a))||n.enumerable});return e},si=(e,t,r)=>(r=e!=null?lK(cK(e)):{},LN(!e||!e.__esModule?_p(r,"default",{value:e,enumerable:!0}):r,e)),L1=e=>LN(_p({},"__esModule",{value:!0}),e),ld={};const{global:fK}=__STORYBOOK_MODULE_GLOBAL__;var Pp=ve({"../../node_modules/semver/internal/constants.js"(e,t){var r="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,o=250,i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),Dp=ve({"../../node_modules/semver/internal/debug.js"(e,t){var r=typeof process=="object"&&ld&&ld.NODE_DEBUG&&/\bsemver\b/i.test(ld.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};t.exports=r}}),Hs=ve({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:a}=Pp(),o=Dp();e=t.exports={};var i=e.re=[],l=e.safeRe=[],u=e.src=[],c=e.safeSrc=[],p=e.t={},d=0,h="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",a],[h,n]],m=g=>{for(let[b,v]of f)g=g.split(`${b}*`).join(`${b}{0,${v}}`).split(`${b}+`).join(`${b}{1,${v}}`);return g},y=(g,b,v)=>{let T=m(b),x=d++;o(g,x,b),p[g]=x,u[x]=b,c[x]=T,i[x]=new RegExp(b,v?"g":void 0),l[x]=new RegExp(T,v?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),y("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${u[p.NUMERICIDENTIFIER]}|${u[p.NONNUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NUMERICIDENTIFIERLOOSE]}|${u[p.NONNUMERICIDENTIFIER]})`),y("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${h}+`),y("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),y("FULL",`^${u[p.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),y("LOOSE",`^${u[p.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),y("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),y("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?(?:${u[p.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",u[p.COERCE],!0),y("COERCERTLFULL",u[p.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Zv=ve({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),a=o=>o?typeof o!="object"?r:o:n;t.exports=a}}),$N=ve({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(o,i)=>{let l=r.test(o),u=r.test(i);return l&&u&&(o=+o,i=+i),o===i?0:l&&!u?-1:u&&!l?1:o<i?-1:1},a=(o,i)=>n(i,o);t.exports={compareIdentifiers:n,rcompareIdentifiers:a}}}),Qt=ve({"../../node_modules/semver/classes/semver.js"(e,t){var r=Dp(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:a}=Pp(),{safeRe:o,safeSrc:i,t:l}=Hs(),u=Zv(),{compareIdentifiers:c}=$N(),p=class Xr{constructor(h,f){if(f=u(f),h instanceof Xr){if(h.loose===!!f.loose&&h.includePrerelease===!!f.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof h}".`);if(h.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",h,f),this.options=f,this.loose=!!f.loose,this.includePrerelease=!!f.includePrerelease;let m=h.trim().match(f.loose?o[l.LOOSE]:o[l.FULL]);if(!m)throw new TypeError(`Invalid Version: ${h}`);if(this.raw=h,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(y=>{if(/^[0-9]+$/.test(y)){let g=+y;if(g>=0&&g<a)return g}return y}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(h){if(r("SemVer.compare",this.version,this.options,h),!(h instanceof Xr)){if(typeof h=="string"&&h===this.version)return 0;h=new Xr(h,this.options)}return h.version===this.version?0:this.compareMain(h)||this.comparePre(h)}compareMain(h){return h instanceof Xr||(h=new Xr(h,this.options)),c(this.major,h.major)||c(this.minor,h.minor)||c(this.patch,h.patch)}comparePre(h){if(h instanceof Xr||(h=new Xr(h,this.options)),this.prerelease.length&&!h.prerelease.length)return-1;if(!this.prerelease.length&&h.prerelease.length)return 1;if(!this.prerelease.length&&!h.prerelease.length)return 0;let f=0;do{let m=this.prerelease[f],y=h.prerelease[f];if(r("prerelease compare",f,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return c(m,y)}while(++f)}compareBuild(h){h instanceof Xr||(h=new Xr(h,this.options));let f=0;do{let m=this.build[f],y=h.build[f];if(r("build compare",f,m,y),m===void 0&&y===void 0)return 0;if(y===void 0)return 1;if(m===void 0)return-1;if(m!==y)return c(m,y)}while(++f)}inc(h,f,m){if(h.startsWith("pre")){if(!f&&m===!1)throw new Error("invalid increment argument: identifier is empty");if(f){let y=new RegExp(`^${this.options.loose?i[l.PRERELEASELOOSE]:i[l.PRERELEASE]}$`),g=`-${f}`.match(y);if(!g||g[1]!==f)throw new Error(`invalid identifier: ${f}`)}}switch(h){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",f,m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",f,m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",f,m),this.inc("pre",f,m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",f,m),this.inc("pre",f,m);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let y=Number(m)?1:0;if(this.prerelease.length===0)this.prerelease=[y];else{let g=this.prerelease.length;for(;--g>=0;)typeof this.prerelease[g]=="number"&&(this.prerelease[g]++,g=-2);if(g===-1){if(f===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(y)}}if(f){let g=[f,y];m===!1&&(g=[f]),c(this.prerelease[0],f)===0?isNaN(this.prerelease[1])&&(this.prerelease=g):this.prerelease=g}break}default:throw new Error(`invalid increment argument: ${h}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=p}}),li=ve({"../../node_modules/semver/functions/parse.js"(e,t){var r=Qt(),n=(a,o,i=!1)=>{if(a instanceof r)return a;try{return new r(a,o)}catch(l){if(!i)return null;throw l}};t.exports=n}}),hK=ve({"../../node_modules/semver/functions/valid.js"(e,t){var r=li(),n=(a,o)=>{let i=r(a,o);return i?i.version:null};t.exports=n}}),mK=ve({"../../node_modules/semver/functions/clean.js"(e,t){var r=li(),n=(a,o)=>{let i=r(a.trim().replace(/^[=v]+/,""),o);return i?i.version:null};t.exports=n}}),yK=ve({"../../node_modules/semver/functions/inc.js"(e,t){var r=Qt(),n=(a,o,i,l,u)=>{typeof i=="string"&&(u=l,l=i,i=void 0);try{return new r(a instanceof r?a.version:a,i).inc(o,l,u).version}catch{return null}};t.exports=n}}),gK=ve({"../../node_modules/semver/functions/diff.js"(e,t){var r=li(),n=(a,o)=>{let i=r(a,null,!0),l=r(o,null,!0),u=i.compare(l);if(u===0)return null;let c=u>0,p=c?i:l,d=c?l:i,h=!!p.prerelease.length;if(d.prerelease.length&&!h){if(!d.patch&&!d.minor)return"major";if(d.compareMain(p)===0)return d.minor&&!d.patch?"minor":"patch"}let f=h?"pre":"";return i.major!==l.major?f+"major":i.minor!==l.minor?f+"minor":i.patch!==l.patch?f+"patch":"prerelease"};t.exports=n}}),bK=ve({"../../node_modules/semver/functions/major.js"(e,t){var r=Qt(),n=(a,o)=>new r(a,o).major;t.exports=n}}),vK=ve({"../../node_modules/semver/functions/minor.js"(e,t){var r=Qt(),n=(a,o)=>new r(a,o).minor;t.exports=n}}),EK=ve({"../../node_modules/semver/functions/patch.js"(e,t){var r=Qt(),n=(a,o)=>new r(a,o).patch;t.exports=n}}),CK=ve({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=li(),n=(a,o)=>{let i=r(a,o);return i&&i.prerelease.length?i.prerelease:null};t.exports=n}}),Lr=ve({"../../node_modules/semver/functions/compare.js"(e,t){var r=Qt(),n=(a,o,i)=>new r(a,i).compare(new r(o,i));t.exports=n}}),wK=ve({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=Lr(),n=(a,o,i)=>r(o,a,i);t.exports=n}}),AK=ve({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=Lr(),n=(a,o)=>r(a,o,!0);t.exports=n}}),e0=ve({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=Qt(),n=(a,o,i)=>{let l=new r(a,i),u=new r(o,i);return l.compare(u)||l.compareBuild(u)};t.exports=n}}),xK=ve({"../../node_modules/semver/functions/sort.js"(e,t){var r=e0(),n=(a,o)=>a.sort((i,l)=>r(i,l,o));t.exports=n}}),SK=ve({"../../node_modules/semver/functions/rsort.js"(e,t){var r=e0(),n=(a,o)=>a.sort((i,l)=>r(l,i,o));t.exports=n}}),Op=ve({"../../node_modules/semver/functions/gt.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)>0;t.exports=n}}),t0=ve({"../../node_modules/semver/functions/lt.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)<0;t.exports=n}}),UN=ve({"../../node_modules/semver/functions/eq.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)===0;t.exports=n}}),VN=ve({"../../node_modules/semver/functions/neq.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)!==0;t.exports=n}}),r0=ve({"../../node_modules/semver/functions/gte.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)>=0;t.exports=n}}),n0=ve({"../../node_modules/semver/functions/lte.js"(e,t){var r=Lr(),n=(a,o,i)=>r(a,o,i)<=0;t.exports=n}}),HN=ve({"../../node_modules/semver/functions/cmp.js"(e,t){var r=UN(),n=VN(),a=Op(),o=r0(),i=t0(),l=n0(),u=(c,p,d,h)=>{switch(p){case"===":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c===d;case"!==":return typeof c=="object"&&(c=c.version),typeof d=="object"&&(d=d.version),c!==d;case"":case"=":case"==":return r(c,d,h);case"!=":return n(c,d,h);case">":return a(c,d,h);case">=":return o(c,d,h);case"<":return i(c,d,h);case"<=":return l(c,d,h);default:throw new TypeError(`Invalid operator: ${p}`)}};t.exports=u}}),_K=ve({"../../node_modules/semver/functions/coerce.js"(e,t){var r=Qt(),n=li(),{safeRe:a,t:o}=Hs(),i=(l,u)=>{if(l instanceof r)return l;if(typeof l=="number"&&(l=String(l)),typeof l!="string")return null;u=u||{};let c=null;if(!u.rtl)c=l.match(u.includePrerelease?a[o.COERCEFULL]:a[o.COERCE]);else{let y=u.includePrerelease?a[o.COERCERTLFULL]:a[o.COERCERTL],g;for(;(g=y.exec(l))&&(!c||c.index+c[0].length!==l.length);)(!c||g.index+g[0].length!==c.index+c[0].length)&&(c=g),y.lastIndex=g.index+g[1].length+g[2].length;y.lastIndex=-1}if(c===null)return null;let p=c[2],d=c[3]||"0",h=c[4]||"0",f=u.includePrerelease&&c[5]?`-${c[5]}`:"",m=u.includePrerelease&&c[6]?`+${c[6]}`:"";return n(`${p}.${d}.${h}${f}${m}`,u)};t.exports=i}}),TK=ve({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let a=this.map.get(n);if(a!==void 0)return this.map.delete(n),this.map.set(n,a),a}delete(n){return this.map.delete(n)}set(n,a){if(!this.delete(n)&&a!==void 0){if(this.map.size>=this.max){let o=this.map.keys().next().value;this.delete(o)}this.map.set(n,a)}return this}};t.exports=r}}),$r=ve({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class Ol{constructor(K,Q){if(Q=i(Q),K instanceof Ol)return K.loose===!!Q.loose&&K.includePrerelease===!!Q.includePrerelease?K:new Ol(K.raw,Q);if(K instanceof l)return this.raw=K.value,this.set=[[K]],this.formatted=void 0,this;if(this.options=Q,this.loose=!!Q.loose,this.includePrerelease=!!Q.includePrerelease,this.raw=K.trim().replace(r," "),this.set=this.raw.split("||").map(ne=>this.parseRange(ne.trim())).filter(ne=>ne.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let ne=this.set[0];if(this.set=this.set.filter($=>!b($[0])),this.set.length===0)this.set=[ne];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&v($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let K=0;K<this.set.length;K++){K>0&&(this.formatted+="||");let Q=this.set[K];for(let ne=0;ne<Q.length;ne++)ne>0&&(this.formatted+=" "),this.formatted+=Q[ne].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(K){let Q=((this.options.includePrerelease&&y)|(this.options.loose&&g))+":"+K,ne=o.get(Q);if(ne)return ne;let $=this.options.loose,J=$?p[d.HYPHENRANGELOOSE]:p[d.HYPHENRANGE];K=K.replace(J,O(this.options.includePrerelease)),u("hyphen replace",K),K=K.replace(p[d.COMPARATORTRIM],h),u("comparator trim",K),K=K.replace(p[d.TILDETRIM],f),u("tilde trim",K),K=K.replace(p[d.CARETTRIM],m),u("caret trim",K);let U=K.split(" ").map(te=>x(te,this.options)).join(" ").split(/\s+/).map(te=>Y(te,this.options));$&&(U=U.filter(te=>(u("loose invalid filter",te,this.options),!!te.match(p[d.COMPARATORLOOSE])))),u("range list",U);let X=new Map,ee=U.map(te=>new l(te,this.options));for(let te of ee){if(b(te))return[te];X.set(te.value,te)}X.size>1&&X.has("")&&X.delete("");let se=[...X.values()];return o.set(Q,se),se}intersects(K,Q){if(!(K instanceof Ol))throw new TypeError("a Range is required");return this.set.some(ne=>T(ne,Q)&&K.set.some($=>T($,Q)&&ne.every(J=>$.every(U=>J.intersects(U,Q)))))}test(K){if(!K)return!1;if(typeof K=="string")try{K=new c(K,this.options)}catch{return!1}for(let Q=0;Q<this.set.length;Q++)if(q(this.set[Q],K,this.options))return!0;return!1}};t.exports=n;var a=TK(),o=new a,i=Zv(),l=Rp(),u=Dp(),c=Qt(),{safeRe:p,t:d,comparatorTrimReplace:h,tildeTrimReplace:f,caretTrimReplace:m}=Hs(),{FLAG_INCLUDE_PRERELEASE:y,FLAG_LOOSE:g}=Pp(),b=B=>B.value==="<0.0.0-0",v=B=>B.value==="",T=(B,K)=>{let Q=!0,ne=B.slice(),$=ne.pop();for(;Q&&ne.length;)Q=ne.every(J=>$.intersects(J,K)),$=ne.pop();return Q},x=(B,K)=>(u("comp",B,K),B=C(B,K),u("caret",B),B=w(B,K),u("tildes",B),B=k(B,K),u("xrange",B),B=G(B,K),u("stars",B),B),_=B=>!B||B.toLowerCase()==="x"||B==="*",w=(B,K)=>B.trim().split(/\s+/).map(Q=>E(Q,K)).join(" "),E=(B,K)=>{let Q=K.loose?p[d.TILDELOOSE]:p[d.TILDE];return B.replace(Q,(ne,$,J,U,X)=>{u("tilde",B,ne,$,J,U,X);let ee;return _($)?ee="":_(J)?ee=`>=${$}.0.0 <${+$+1}.0.0-0`:_(U)?ee=`>=${$}.${J}.0 <${$}.${+J+1}.0-0`:X?(u("replaceTilde pr",X),ee=`>=${$}.${J}.${U}-${X} <${$}.${+J+1}.0-0`):ee=`>=${$}.${J}.${U} <${$}.${+J+1}.0-0`,u("tilde return",ee),ee})},C=(B,K)=>B.trim().split(/\s+/).map(Q=>P(Q,K)).join(" "),P=(B,K)=>{u("caret",B,K);let Q=K.loose?p[d.CARETLOOSE]:p[d.CARET],ne=K.includePrerelease?"-0":"";return B.replace(Q,($,J,U,X,ee)=>{u("caret",B,$,J,U,X,ee);let se;return _(J)?se="":_(U)?se=`>=${J}.0.0${ne} <${+J+1}.0.0-0`:_(X)?J==="0"?se=`>=${J}.${U}.0${ne} <${J}.${+U+1}.0-0`:se=`>=${J}.${U}.0${ne} <${+J+1}.0.0-0`:ee?(u("replaceCaret pr",ee),J==="0"?U==="0"?se=`>=${J}.${U}.${X}-${ee} <${J}.${U}.${+X+1}-0`:se=`>=${J}.${U}.${X}-${ee} <${J}.${+U+1}.0-0`:se=`>=${J}.${U}.${X}-${ee} <${+J+1}.0.0-0`):(u("no pr"),J==="0"?U==="0"?se=`>=${J}.${U}.${X}${ne} <${J}.${U}.${+X+1}-0`:se=`>=${J}.${U}.${X}${ne} <${J}.${+U+1}.0-0`:se=`>=${J}.${U}.${X} <${+J+1}.0.0-0`),u("caret return",se),se})},k=(B,K)=>(u("replaceXRanges",B,K),B.split(/\s+/).map(Q=>N(Q,K)).join(" ")),N=(B,K)=>{B=B.trim();let Q=K.loose?p[d.XRANGELOOSE]:p[d.XRANGE];return B.replace(Q,(ne,$,J,U,X,ee)=>{u("xRange",B,ne,$,J,U,X,ee);let se=_(J),te=se||_(U),pe=te||_(X),de=pe;return $==="="&&de&&($=""),ee=K.includePrerelease?"-0":"",se?$===">"||$==="<"?ne="<0.0.0-0":ne="*":$&&de?(te&&(U=0),X=0,$===">"?($=">=",te?(J=+J+1,U=0,X=0):(U=+U+1,X=0)):$==="<="&&($="<",te?J=+J+1:U=+U+1),$==="<"&&(ee="-0"),ne=`${$+J}.${U}.${X}${ee}`):te?ne=`>=${J}.0.0${ee} <${+J+1}.0.0-0`:pe&&(ne=`>=${J}.${U}.0${ee} <${J}.${+U+1}.0-0`),u("xRange return",ne),ne})},G=(B,K)=>(u("replaceStars",B,K),B.trim().replace(p[d.STAR],"")),Y=(B,K)=>(u("replaceGTE0",B,K),B.trim().replace(p[K.includePrerelease?d.GTE0PRE:d.GTE0],"")),O=B=>(K,Q,ne,$,J,U,X,ee,se,te,pe,de)=>(_(ne)?Q="":_($)?Q=`>=${ne}.0.0${B?"-0":""}`:_(J)?Q=`>=${ne}.${$}.0${B?"-0":""}`:U?Q=`>=${Q}`:Q=`>=${Q}${B?"-0":""}`,_(se)?ee="":_(te)?ee=`<${+se+1}.0.0-0`:_(pe)?ee=`<${se}.${+te+1}.0-0`:de?ee=`<=${se}.${te}.${pe}-${de}`:B?ee=`<${se}.${te}.${+pe+1}-0`:ee=`<=${ee}`,`${Q} ${ee}`.trim()),q=(B,K,Q)=>{for(let ne=0;ne<B.length;ne++)if(!B[ne].test(K))return!1;if(K.prerelease.length&&!Q.includePrerelease){for(let ne=0;ne<B.length;ne++)if(u(B[ne].semver),B[ne].semver!==l.ANY&&B[ne].semver.prerelease.length>0){let $=B[ne].semver;if($.major===K.major&&$.minor===K.minor&&$.patch===K.patch)return!0}return!1}return!0}}}),Rp=ve({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class zh{static get ANY(){return r}constructor(h,f){if(f=a(f),h instanceof zh){if(h.loose===!!f.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),u("comparator",h,f),this.options=f,this.loose=!!f.loose,this.parse(h),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(h){let f=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],m=h.match(f);if(!m)throw new TypeError(`Invalid comparator: ${h}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new c(m[2],this.options.loose):this.semver=r}toString(){return this.value}test(h){if(u("Comparator.test",h,this.options.loose),this.semver===r||h===r)return!0;if(typeof h=="string")try{h=new c(h,this.options)}catch{return!1}return l(h,this.operator,this.semver,this.options)}intersects(h,f){if(!(h instanceof zh))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new p(h.value,f).test(this.value):h.operator===""?h.value===""?!0:new p(this.value,f).test(h.semver):(f=a(f),f.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||l(this.semver,"<",h.semver,f)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||l(this.semver,">",h.semver,f)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}};t.exports=n;var a=Zv(),{safeRe:o,t:i}=Hs(),l=HN(),u=Dp(),c=Qt(),p=$r()}}),Fp=ve({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=$r(),n=(a,o,i)=>{try{o=new r(o,i)}catch{return!1}return o.test(a)};t.exports=n}}),PK=ve({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=$r(),n=(a,o)=>new r(a,o).set.map(i=>i.map(l=>l.value).join(" ").trim().split(" "));t.exports=n}}),DK=ve({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=Qt(),n=$r(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===-1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),OK=ve({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=Qt(),n=$r(),a=(o,i,l)=>{let u=null,c=null,p=null;try{p=new n(i,l)}catch{return null}return o.forEach(d=>{p.test(d)&&(!u||c.compare(d)===1)&&(u=d,c=new r(u,l))}),u};t.exports=a}}),RK=ve({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=Qt(),n=$r(),a=Op(),o=(i,l)=>{i=new n(i,l);let u=new r("0.0.0");if(i.test(u)||(u=new r("0.0.0-0"),i.test(u)))return u;u=null;for(let c=0;c<i.set.length;++c){let p=i.set[c],d=null;p.forEach(h=>{let f=new r(h.semver.version);switch(h.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!d||a(f,d))&&(d=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${h.operator}`)}}),d&&(!u||a(u,d))&&(u=d)}return u&&i.test(u)?u:null};t.exports=o}}),FK=ve({"../../node_modules/semver/ranges/valid.js"(e,t){var r=$r(),n=(a,o)=>{try{return new r(a,o).range||"*"}catch{return null}};t.exports=n}}),a0=ve({"../../node_modules/semver/ranges/outside.js"(e,t){var r=Qt(),n=Rp(),{ANY:a}=n,o=$r(),i=Fp(),l=Op(),u=t0(),c=n0(),p=r0(),d=(h,f,m,y)=>{h=new r(h,y),f=new o(f,y);let g,b,v,T,x;switch(m){case">":g=l,b=c,v=u,T=">",x=">=";break;case"<":g=u,b=p,v=l,T="<",x="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(h,f,y))return!1;for(let _=0;_<f.set.length;++_){let w=f.set[_],E=null,C=null;if(w.forEach(P=>{P.semver===a&&(P=new n(">=0.0.0")),E=E||P,C=C||P,g(P.semver,E.semver,y)?E=P:v(P.semver,C.semver,y)&&(C=P)}),E.operator===T||E.operator===x||(!C.operator||C.operator===T)&&b(h,C.semver)||C.operator===x&&v(h,C.semver))return!1}return!0};t.exports=d}}),IK=ve({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=a0(),n=(a,o,i)=>r(a,o,">",i);t.exports=n}}),kK=ve({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=a0(),n=(a,o,i)=>r(a,o,"<",i);t.exports=n}}),NK=ve({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=$r(),n=(a,o,i)=>(a=new r(a,i),o=new r(o,i),a.intersects(o,i));t.exports=n}}),jK=ve({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=Fp(),n=Lr();t.exports=(a,o,i)=>{let l=[],u=null,c=null,p=a.sort((m,y)=>n(m,y,i));for(let m of p)r(m,o,i)?(c=m,u||(u=m)):(c&&l.push([u,c]),c=null,u=null);u&&l.push([u,null]);let d=[];for(let[m,y]of l)m===y?d.push(m):!y&&m===p[0]?d.push("*"):y?m===p[0]?d.push(`<=${y}`):d.push(`${m} - ${y}`):d.push(`>=${m}`);let h=d.join(" || "),f=typeof o.raw=="string"?o.raw:String(o);return h.length<f.length?h:o}}}),BK=ve({"../../node_modules/semver/ranges/subset.js"(e,t){var r=$r(),n=Rp(),{ANY:a}=n,o=Fp(),i=Lr(),l=(f,m,y={})=>{if(f===m)return!0;f=new r(f,y),m=new r(m,y);let g=!1;e:for(let b of f.set){for(let v of m.set){let T=p(b,v,y);if(g=g||T!==null,T)continue e}if(g)return!1}return!0},u=[new n(">=0.0.0-0")],c=[new n(">=0.0.0")],p=(f,m,y)=>{if(f===m)return!0;if(f.length===1&&f[0].semver===a){if(m.length===1&&m[0].semver===a)return!0;y.includePrerelease?f=u:f=c}if(m.length===1&&m[0].semver===a){if(y.includePrerelease)return!0;m=c}let g=new Set,b,v;for(let k of f)k.operator===">"||k.operator===">="?b=d(b,k,y):k.operator==="<"||k.operator==="<="?v=h(v,k,y):g.add(k.semver);if(g.size>1)return null;let T;if(b&&v&&(T=i(b.semver,v.semver,y),T>0||T===0&&(b.operator!==">="||v.operator!=="<=")))return null;for(let k of g){if(b&&!o(k,String(b),y)||v&&!o(k,String(v),y))return null;for(let N of m)if(!o(k,String(N),y))return!1;return!0}let x,_,w,E,C=v&&!y.includePrerelease&&v.semver.prerelease.length?v.semver:!1,P=b&&!y.includePrerelease&&b.semver.prerelease.length?b.semver:!1;C&&C.prerelease.length===1&&v.operator==="<"&&C.prerelease[0]===0&&(C=!1);for(let k of m){if(E=E||k.operator===">"||k.operator===">=",w=w||k.operator==="<"||k.operator==="<=",b){if(P&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===P.major&&k.semver.minor===P.minor&&k.semver.patch===P.patch&&(P=!1),k.operator===">"||k.operator===">="){if(x=d(b,k,y),x===k&&x!==b)return!1}else if(b.operator===">="&&!o(b.semver,String(k),y))return!1}if(v){if(C&&k.semver.prerelease&&k.semver.prerelease.length&&k.semver.major===C.major&&k.semver.minor===C.minor&&k.semver.patch===C.patch&&(C=!1),k.operator==="<"||k.operator==="<="){if(_=h(v,k,y),_===k&&_!==v)return!1}else if(v.operator==="<="&&!o(v.semver,String(k),y))return!1}if(!k.operator&&(v||b)&&T!==0)return!1}return!(b&&w&&!v&&T!==0||v&&E&&!b&&T!==0||P||C)},d=(f,m,y)=>{if(!f)return m;let g=i(f.semver,m.semver,y);return g>0?f:g<0||m.operator===">"&&f.operator===">="?m:f},h=(f,m,y)=>{if(!f)return m;let g=i(f.semver,m.semver,y);return g<0?f:g>0||m.operator==="<"&&f.operator==="<="?m:f};t.exports=l}}),qK=ve({"../../node_modules/semver/index.js"(e,t){var r=Hs(),n=Pp(),a=Qt(),o=$N(),i=li(),l=hK(),u=mK(),c=yK(),p=gK(),d=bK(),h=vK(),f=EK(),m=CK(),y=Lr(),g=wK(),b=AK(),v=e0(),T=xK(),x=SK(),_=Op(),w=t0(),E=UN(),C=VN(),P=r0(),k=n0(),N=HN(),G=_K(),Y=Rp(),O=$r(),q=Fp(),B=PK(),K=DK(),Q=OK(),ne=RK(),$=FK(),J=a0(),U=IK(),X=kK(),ee=NK(),se=jK(),te=BK();t.exports={parse:i,valid:l,clean:u,inc:c,diff:p,major:d,minor:h,patch:f,prerelease:m,compare:y,rcompare:g,compareLoose:b,compareBuild:v,sort:T,rsort:x,gt:_,lt:w,eq:E,neq:C,gte:P,lte:k,cmp:N,coerce:G,Comparator:Y,Range:O,satisfies:q,toComparators:B,maxSatisfying:K,minSatisfying:Q,minVersion:ne,validRange:$,outside:J,gtr:U,ltr:X,intersects:ee,simplifyRange:se,subset:te,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}}}),MK={};Tp(MK,{applyDecorators:()=>Xv,beforeAll:()=>QN,decorators:()=>KN,mount:()=>YN,parameters:()=>XN,render:()=>JN,renderToCanvas:()=>WN});var $1=si(qK());function U1(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function LK(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var zN=async({disableAct:e=!1}={})=>t=>t(),JN=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return Sr.createElement(n,{...e})},{FRAMEWORK_OPTIONS:ud}=fK,$K=class extends zt.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},V1=ud!=null&&ud.strictMode?zt.StrictMode:zt.Fragment,Jh=[],cd=!1,GN=async()=>{if(cd||Jh.length===0)return;cd=!0;let e=Jh.shift();e&&await e(),cd=!1,GN()};async function WN({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:a},o){let{renderElement:i,unmountElement:l}=await yo(async()=>{const{renderElement:h,unmountElement:f}=await import("./react-18-CSTqcdyU.js");return{renderElement:h,unmountElement:f}},__vite__mapDeps([10,2]),import.meta.url),u=t,c=e.parameters.__isPortableStory?Sr.createElement(u,{...e}):Sr.createElement($K,{key:e.id,showMain:r,showException:n},Sr.createElement(u,{...e})),p=V1?Sr.createElement(V1,null,c):c;a&&l(o);let d=await zN({disableAct:e.viewMode==="docs"});return await new Promise(async(h,f)=>{Jh.push(async()=>{try{await d(async()=>{var m,y;await i(p,o,(y=(m=e==null?void 0:e.parameters)==null?void 0:m.react)==null?void 0:y.rootOptions)}),h()}catch(m){f(m)}}),GN()}),async()=>{await d(()=>{l(o)})}}var YN=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),KN=[(e,t)=>{var a,o;if(!((o=(a=t.parameters)==null?void 0:a.react)!=null&&o.rsc))return e();let r=$1.default.major(zt.version),n=$1.default.minor(zt.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return zt.createElement(zt.Suspense,null,e())}],XN={renderer:"react"},QN=async()=>{try{let{configure:e}=await import(__STORYBOOK_MODULE_TEST__),t=await zN();e({unstable_advanceTimersWrapper:r=>t(r),asyncWrapper:async r=>{let n=LK();U1(!1);try{let a=await r();return await new Promise(o=>{setTimeout(()=>{o()},0),UK()&&jest.advanceTimersByTime(0)}),a}finally{U1(n)}},eventWrapper:r=>{let n;return t(()=>(n=r(),n)),n}})}catch{}};function UK(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}const VK=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:Xv,beforeAll:QN,decorators:KN,mount:YN,parameters:XN,render:JN,renderToCanvas:WN},Symbol.toStringTag,{value:"Module"}));var HK=ve({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(u){for(var c,p=1,d=arguments.length;p<d;p++){c=arguments[p];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(u[h]=c[h])}return u},t.apply(this,arguments)},r=e&&e.__spreadArrays||function(){for(var u=0,c=0,p=arguments.length;c<p;c++)u+=arguments[c].length;for(var d=Array(u),h=0,c=0;c<p;c++)for(var f=arguments[c],m=0,y=f.length;m<y;m++,h++)d[h]=f[m];return d};Object.defineProperty(e,"__esModule",{value:!0});var n=[];function a(u){var c=typeof u;return u!==null&&(c==="object"||c==="function")}function o(u){return Object.prototype.toString.call(u)==="[object RegExp]"}function i(u){return Object.getOwnPropertySymbols(u).filter(function(c){return Object.prototype.propertyIsEnumerable.call(u,c)})}function l(u,c,p){p===void 0&&(p="");var d={indent:" ",singleQuotes:!0},h=t(t({},d),c),f;h.inlineCharacterLimit===void 0?f={newLine:`
1073
+ `,newLineOrSpace:`
1074
+ `,pad:p,indent:p+h.indent}:f={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var m=function(b){if(h.inlineCharacterLimit===void 0)return b;var v=b.replace(new RegExp(f.newLine,"g"),"").replace(new RegExp(f.newLineOrSpace,"g")," ").replace(new RegExp(f.pad+"|"+f.indent,"g"),"");return v.length<=h.inlineCharacterLimit?v:b.replace(new RegExp(f.newLine+"|"+f.newLineOrSpace,"g"),`
1075
+ `).replace(new RegExp(f.pad,"g"),p).replace(new RegExp(f.indent,"g"),p+h.indent)};if(n.indexOf(u)!==-1)return'"[Circular]"';if(u==null||typeof u=="number"||typeof u=="boolean"||typeof u=="function"||typeof u=="symbol"||o(u))return String(u);if(u instanceof Date)return"new Date('"+u.toISOString()+"')";if(Array.isArray(u)){if(u.length===0)return"[]";n.push(u);var y="["+f.newLine+u.map(function(b,v){var T=u.length-1===v?f.newLine:","+f.newLineOrSpace,x=l(b,h,p+h.indent);return h.transform&&(x=h.transform(u,v,x)),f.indent+x+T}).join("")+f.pad+"]";return n.pop(),m(y)}if(a(u)){var g=r(Object.keys(u),i(u));if(h.filter&&(g=g.filter(function(v){return h.filter&&h.filter(u,v)})),g.length===0)return"{}";n.push(u);var y="{"+f.newLine+g.map(function(v,T){var x=g.length-1===T?f.newLine:","+f.newLineOrSpace,_=typeof v=="symbol",w=!_&&/^[a-z$_][a-z$_0-9]*$/i.test(v.toString()),E=_||w?v:l(v,h),C=l(u[v],h,p+h.indent);return h.transform&&(C=h.transform(u,v,C)),f.indent+String(E)+": "+C+x}).join("")+f.pad+"}";return n.pop(),m(y)}return u=String(u).replace(/[\r\n]/g,function(b){return b===`
1076
+ `?"\\n":"\\r"}),h.singleQuotes?(u=u.replace(/\\?'/g,"\\'"),"'"+u+"'"):(u=u.replace(/"/g,'\\"'),'"'+u+'"')}e.prettyPrint=l}}),zK=ve({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var v=b.$$typeof;switch(v){case t:switch(b=b.type,b){case n:case o:case a:case p:case d:return b;default:switch(b=b&&b.$$typeof,b){case u:case l:case c:case f:case h:case i:return b;default:return v}}case r:return v}}}e.ContextConsumer=l,e.ContextProvider=i,e.Element=t,e.ForwardRef=c,e.Fragment=n,e.Lazy=f,e.Memo=h,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=p,e.SuspenseList=d,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(b){return g(b)===l},e.isContextProvider=function(b){return g(b)===i},e.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},e.isForwardRef=function(b){return g(b)===c},e.isFragment=function(b){return g(b)===n},e.isLazy=function(b){return g(b)===f},e.isMemo=function(b){return g(b)===h},e.isPortal=function(b){return g(b)===r},e.isProfiler=function(b){return g(b)===o},e.isStrictMode=function(b){return g(b)===a},e.isSuspense=function(b){return g(b)===p},e.isSuspenseList=function(b){return g(b)===d},e.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===o||b===a||b===p||b===d||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===f||b.$$typeof===h||b.$$typeof===i||b.$$typeof===l||b.$$typeof===c||b.$$typeof===y||b.getModuleId!==void 0)},e.typeOf=g}}),JK=ve({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=zK()}}),ZN=e=>e.$$typeof===Symbol.for("react.memo"),GK=e=>e.$$typeof===Symbol.for("react.forward_ref");function H1(e){return Object.prototype.toString.call(e)==="[object Object]"}function WK(e){var t,r;return H1(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(H1(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var YK=si(HK()),Qr=si(JK()),Sn=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function bs(e){"@babel/helpers - typeof";return bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bs(e)}function KK(e){return XK(e)||QK(e)||ZK(e)||eX()}function XK(e){if(Array.isArray(e))return Gh(e)}function QK(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ZK(e,t){if(e){if(typeof e=="string")return Gh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gh(e,t)}}function Gh(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eX(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1077
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wh(e,t){return e===null||bs(e)!=="object"||e instanceof Date||e instanceof RegExp||zt.isValidElement(e)?e:(t.add(e),Array.isArray(e)?e.map(function(r){return Wh(r,t)}):Object.keys(e).sort().reduce(function(r,n){return n==="_owner"||(n==="current"||t.has(e[n])?r[n]="[Circular]":r[n]=Wh(e[n],t)),r},{}))}function tX(e){return Wh(e,new WeakSet)}var ej=function(e){return{type:"string",value:e}},rX=function(e){return{type:"number",value:e}},nX=function(e,t,r,n){return{type:"ReactElement",displayName:e,props:t,defaultProps:r,childrens:n}},aX=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},oX=!!zt.Fragment,tj=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},iX=function e(t){switch(!0){case!!t.displayName:return t.displayName;case t.$$typeof===Qr.Memo:return e(t.type);case t.$$typeof===Qr.ForwardRef:return e(t.render);default:return tj(t)}},sX=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:tj(e.type);case(0,Qr.isForwardRef)(e):case(0,Qr.isMemo)(e):return iX(e.type);case(0,Qr.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,Qr.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,Qr.isLazy)(e):return"Lazy";case(0,Qr.isProfiler)(e):return"Profiler";case(0,Qr.isStrictMode)(e):return"StrictMode";case(0,Qr.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},z1=function(e,t){return t!=="children"},lX=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},J1=function(e,t){var r={};return Object.keys(e).filter(function(n){return t(e[n],n)}).forEach(function(n){return r[n]=e[n]}),r},o0=function e(t,r){var n=r.displayName,a=n===void 0?sX:n;if(typeof t=="string")return ej(t);if(typeof t=="number")return rX(t);if(!Sr.isValidElement(t))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(bs(t),"`"));var o=a(t),i=J1(t.props,z1);t.ref!==null&&(i.ref=t.ref);var l=t.key;typeof l=="string"&&l.search(/^\./)&&(i.key=l);var u=J1(t.type.defaultProps||{},z1),c=Sr.Children.toArray(t.props.children).filter(lX).map(function(p){return e(p,r)});return oX&&t.type===zt.Fragment?aX(l,c):nX(o,i,u,c)};function uX(){}var cX=function(e){return e.toString().split(`
1078
+ `).map(function(t){return t.trim()}).join("")},G1=cX,rj=function(e,t){var r=t.functionValue,n=r===void 0?G1:r,a=t.showFunctions;return n(!a&&n===G1?uX:e)},pX=function(e,t,r,n){var a=tX(e),o=(0,YK.prettyPrint)(a,{transform:function(i,l,u){var c=i[l];return c&&zt.isValidElement(c)?Ip(o0(c,n),!0,r,n):typeof c=="function"?rj(c,n):u}});return t?o.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):o.replace(/\t/g,Sn(1,n.tabStop)).replace(/\n([^$])/g,`
1079
+ `.concat(Sn(r+1,n.tabStop),"$1"))},dX=function(e){return e.replace(/"/g,"&quot;")},fX=function(e,t,r,n){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(dX(e),'"');if(bs(e)==="symbol"){var a=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return a?"{Symbol('".concat(a,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(rj(e,n),"}"):zt.isValidElement(e)?"{".concat(Ip(o0(e,n),!0,r,n),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):WK(e)||Array.isArray(e)?"{".concat(pX(e,t,r,n),"}"):"{".concat(String(e),"}")},hX=function(e,t,r,n,a,o,i,l){if(!t&&!n)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var u=t?r:a,c=l.useBooleanShorthandSyntax,p=l.tabStop,d=fX(u,o,i,l),h=" ",f=`
1080
+ `.concat(Sn(i+1,p)),m=d.includes(`
1081
+ `);return c&&d==="{false}"&&!n?(h="",f=""):c&&d==="{true}"?(h+="".concat(e),f+="".concat(e)):(h+="".concat(e,"=").concat(d),f+="".concat(e,"=").concat(d)),{attributeFormattedInline:h,attributeFormattedMultiline:f,isMultilineAttribute:m}},mX=function(e,t){var r=e.slice(0,e.length>0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(ej(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},yX=function(e){return["key","ref"].includes(e)},gX=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),a=t.filter(function(i){return!yX(i)}),o=KK(e?a.sort():a);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function bX(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var vX=function(e,t,r,n,a){var o=a.tabStop;return e.type==="string"?t.split(`
1082
+ `).map(function(i,l){return l===0?i:"".concat(Sn(n,o)).concat(i)}).join(`
1083
+ `):t},EX=function(e,t,r){return function(n){return vX(n,Ip(n,e,t,r),e,t,r)}},CX=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},nj=function(e,t,r,n,a){return a?Sn(r,n).length+t.length>a:e.length>1},wX=function(e,t,r,n,a,o,i){return(nj(e,t,a,o,i)||r)&&!n},aj=function(e,t,r,n){var a=e.type,o=e.displayName,i=o===void 0?"":o,l=e.childrens,u=e.props,c=u===void 0?{}:u,p=e.defaultProps,d=p===void 0?{}:p;if(a!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(a));var h=n.filterProps,f=n.maxInlineAttributesLineLength,m=n.showDefaultProps,y=n.sortProps,g=n.tabStop,b="<".concat(i),v=b,T=b,x=!1,_=[],w=bX(c,h);Object.keys(c).filter(w).filter(CX(d,c)).forEach(function(P){return _.push(P)}),Object.keys(d).filter(w).filter(function(){return m}).filter(function(P){return!_.includes(P)}).forEach(function(P){return _.push(P)});var E=gX(y)(_);if(E.forEach(function(P){var k=hX(P,Object.keys(c).includes(P),c[P],Object.keys(d).includes(P),d[P],t,r,n),N=k.attributeFormattedInline,G=k.attributeFormattedMultiline,Y=k.isMultilineAttribute;Y&&(x=!0),v+=N,T+=G}),T+=`
1084
+ `.concat(Sn(r,g)),wX(E,v,x,t,r,g,f)?b=T:b=v,l&&l.length>0){var C=r+1;b+=">",t||(b+=`
1085
+ `,b+=Sn(C,g)),b+=l.reduce(mX,[]).map(EX(t,C,n)).join(t?"":`
1086
+ `.concat(Sn(C,g))),t||(b+=`
1087
+ `,b+=Sn(C-1,g)),b+="</".concat(i,">")}else nj(E,v,r,g,f)||(b+=" "),b+="/>";return b},AX="",W1="React.Fragment",xX=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},SX=function(e){var t=e.key;return!!t},_X=function(e){var t=e.childrens;return t.length===0},TX=function(e,t,r,n){var a=e.type,o=e.key,i=e.childrens;if(a!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(a));var l=n.useFragmentShortSyntax,u;return l?_X(e)||SX(e)?u=W1:u=AX:u=W1,aj(xX(u,o,i),t,r,n)},PX=["<",">","{","}"],DX=function(e){return PX.some(function(t){return e.includes(t)})},OX=function(e){return DX(e)?"{`".concat(e,"`}"):e},RX=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Ip=function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(RX(OX(String(e.value)))):"";if(e.type==="ReactElement")return aj(e,t,r,n);if(e.type==="ReactFragment")return TX(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},FX=function(e,t){return Ip(e,!1,0,t)},oj=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,a=t.showDefaultProps,o=a===void 0?!0:a,i=t.showFunctions,l=i===void 0?!1:i,u=t.functionValue,c=t.tabStop,p=c===void 0?2:c,d=t.useBooleanShorthandSyntax,h=d===void 0?!0:d,f=t.useFragmentShortSyntax,m=f===void 0?!0:f,y=t.sortProps,g=y===void 0?!0:y,b=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var T={filterProps:n,showDefaultProps:o,showFunctions:l,functionValue:u,tabStop:p,useBooleanShorthandSyntax:h,useFragmentShortSyntax:m,sortProps:g,maxInlineAttributesLineLength:b,displayName:v};return FX(o0(e,T),T)},IX=Object.create,i0=Object.defineProperty,kX=Object.getOwnPropertyDescriptor,NX=Object.getOwnPropertyNames,jX=Object.getPrototypeOf,BX=Object.prototype.hasOwnProperty,M=(e,t)=>i0(e,"name",{value:t,configurable:!0}),qX=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),MX=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of NX(t))!BX.call(e,a)&&a!==r&&i0(e,a,{get:()=>t[a],enumerable:!(n=kX(t,a))||n.enumerable});return e},LX=(e,t,r)=>(r=e!=null?IX(jX(e)):{},MX(i0(r,"default",{value:e,enumerable:!0}),e)),$X=qX((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(A){return A.text!==void 0&&A.text!==""?`'${A.type}' with value '${A.text}'`:`'${A.type}'`}M(n,"tokenToString");let a=class ij extends Error{constructor(I){super(`No parslet found for token: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,ij.prototype)}getToken(){return this.token}};M(a,"NoParsletFoundError");let o=a,i=class sj extends Error{constructor(I){super(`The parsing ended early. The next token was: ${n(I)}`),this.token=I,Object.setPrototypeOf(this,sj.prototype)}getToken(){return this.token}};M(i,"EarlyEndOfParseError");let l=i,u=class lj extends Error{constructor(I,W){let oe=`Unexpected type: '${I.type}'.`;W!==void 0&&(oe+=` Message: ${W}`),super(oe),Object.setPrototypeOf(this,lj.prototype)}};M(u,"UnexpectedTypeError");let c=u;function p(A){return I=>I.startsWith(A)?{type:A,text:A}:null}M(p,"makePunctuationRule");function d(A){let I=0,W,oe=A[0],fe=!1;if(oe!=="'"&&oe!=='"')return null;for(;I<A.length;){if(I++,W=A[I],!fe&&W===oe){I++;break}fe=!fe&&W==="\\"}if(W!==oe)throw new Error("Unterminated String");return A.slice(0,I)}M(d,"getQuoted");let h=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),f=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function m(A){let I=A[0];if(!h.test(I))return null;let W=1;do{if(I=A[W],!f.test(I))break;W++}while(W<A.length);return A.slice(0,W)}M(m,"getIdentifier");let y=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(A){var I,W;return(W=(I=y.exec(A))===null||I===void 0?void 0:I[0])!==null&&W!==void 0?W:null}M(g,"getNumber");let b=M(A=>{let I=m(A);return I==null?null:{type:"Identifier",text:I}},"identifierRule");function v(A){return I=>{if(!I.startsWith(A))return null;let W=I[A.length];return W!==void 0&&f.test(W)?null:{type:A,text:A}}}M(v,"makeKeyWordRule");let T=M(A=>{let I=d(A);return I==null?null:{type:"StringValue",text:I}},"stringValueRule"),x=M(A=>A.length>0?null:{type:"EOF",text:""},"eofRule"),_=M(A=>{let I=g(A);return I===null?null:{type:"Number",text:I}},"numberRule"),w=[x,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),_,b,T],E=/^\s*\n\s*/,C=class Rl{static create(I){let W=this.read(I);I=W.text;let oe=this.read(I);return I=oe.text,new Rl(I,void 0,W.token,oe.token)}constructor(I,W,oe,fe){this.text="",this.text=I,this.previous=W,this.current=oe,this.next=fe}static read(I,W=!1){W=W||E.test(I),I=I.trim();for(let oe of w){let fe=oe(I);if(fe!==null){let Ce=Object.assign(Object.assign({},fe),{startOfLine:W});return I=I.slice(Ce.text.length),{text:I,token:Ce}}}throw new Error("Unexpected Token "+I)}advance(){let I=Rl.read(this.text);return new Rl(I.text,this.current,this.next,I.token)}};M(C,"Lexer");let P=C;function k(A){if(A===void 0)throw new Error("Unexpected undefined");if(A.type==="JsdocTypeKeyValue"||A.type==="JsdocTypeParameterList"||A.type==="JsdocTypeProperty"||A.type==="JsdocTypeReadonlyProperty"||A.type==="JsdocTypeObjectField"||A.type==="JsdocTypeJsdocObjectField"||A.type==="JsdocTypeIndexSignature"||A.type==="JsdocTypeMappedType")throw new c(A);return A}M(k,"assertRootResult");function N(A){return A.type==="JsdocTypeKeyValue"?Y(A):k(A)}M(N,"assertPlainKeyValueOrRootResult");function G(A){return A.type==="JsdocTypeName"?A:Y(A)}M(G,"assertPlainKeyValueOrNameResult");function Y(A){if(A.type!=="JsdocTypeKeyValue")throw new c(A);return A}M(Y,"assertPlainKeyValueResult");function O(A){var I;if(A.type==="JsdocTypeVariadic"){if(((I=A.element)===null||I===void 0?void 0:I.type)==="JsdocTypeName")return A;throw new c(A)}if(A.type!=="JsdocTypeNumber"&&A.type!=="JsdocTypeName")throw new c(A);return A}M(O,"assertNumberOrVariadicNameResult");function q(A){return A.type==="JsdocTypeIndexSignature"||A.type==="JsdocTypeMappedType"}M(q,"isSquaredProperty");var B;(function(A){A[A.ALL=0]="ALL",A[A.PARAMETER_LIST=1]="PARAMETER_LIST",A[A.OBJECT=2]="OBJECT",A[A.KEY_VALUE=3]="KEY_VALUE",A[A.INDEX_BRACKETS=4]="INDEX_BRACKETS",A[A.UNION=5]="UNION",A[A.INTERSECTION=6]="INTERSECTION",A[A.PREFIX=7]="PREFIX",A[A.INFIX=8]="INFIX",A[A.TUPLE=9]="TUPLE",A[A.SYMBOL=10]="SYMBOL",A[A.OPTIONAL=11]="OPTIONAL",A[A.NULLABLE=12]="NULLABLE",A[A.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",A[A.FUNCTION=14]="FUNCTION",A[A.ARROW=15]="ARROW",A[A.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",A[A.GENERIC=17]="GENERIC",A[A.NAME_PATH=18]="NAME_PATH",A[A.PARENTHESIS=19]="PARENTHESIS",A[A.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(B||(B={}));let K=class{constructor(I,W,oe){this.grammar=I,typeof W=="string"?this._lexer=P.create(W):this._lexer=W,this.baseParser=oe}get lexer(){return this._lexer}parse(){let I=this.parseType(B.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return I}parseType(I){return k(this.parseIntermediateType(I))}parseIntermediateType(I){let W=this.tryParslets(null,I);if(W===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(W,I)}parseInfixIntermediateType(I,W){let oe=this.tryParslets(I,W);for(;oe!==null;)I=oe,oe=this.tryParslets(I,W);return I}tryParslets(I,W){for(let oe of this.grammar){let fe=oe(this,W,I);if(fe!==null)return fe}return null}consume(I){return Array.isArray(I)||(I=[I]),I.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(I){this._lexer=I.lexer}};M(K,"Parser");let Q=K;function ne(A){return A==="EOF"||A==="|"||A===","||A===")"||A===">"}M(ne,"isQuestionMarkUnknownType");let $=M((A,I,W)=>{let oe=A.lexer.current.type,fe=A.lexer.next.type;return W==null&&oe==="?"&&!ne(fe)||W!=null&&oe==="?"?(A.consume("?"),W==null?{type:"JsdocTypeNullable",element:A.parseType(B.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:k(W),meta:{position:"suffix"}}):null},"nullableParslet");function J(A){let I=M((W,oe,fe)=>{let Ce=W.lexer.current.type,Re=W.lexer.next.type;if(fe===null){if("parsePrefix"in A&&A.accept(Ce,Re))return A.parsePrefix(W)}else if("parseInfix"in A&&A.precedence>oe&&A.accept(Ce,Re))return A.parseInfix(W,fe);return null},"parslet");return Object.defineProperty(I,"name",{value:A.name}),I}M(J,"composeParslet");let U=J({name:"optionalParslet",accept:M(A=>A==="=","accept"),precedence:B.OPTIONAL,parsePrefix:M(A=>(A.consume("="),{type:"JsdocTypeOptional",element:A.parseType(B.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:M((A,I)=>(A.consume("="),{type:"JsdocTypeOptional",element:k(I),meta:{position:"suffix"}}),"parseInfix")}),X=J({name:"numberParslet",accept:M(A=>A==="Number","accept"),parsePrefix:M(A=>{let I=parseFloat(A.lexer.current.text);return A.consume("Number"),{type:"JsdocTypeNumber",value:I}},"parsePrefix")}),ee=J({name:"parenthesisParslet",accept:M(A=>A==="(","accept"),parsePrefix:M(A=>{if(A.consume("("),A.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let I=A.parseIntermediateType(B.ALL);if(!A.consume(")"))throw new Error("Unterminated parenthesis");return I.type==="JsdocTypeParameterList"?I:I.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[I]}:{type:"JsdocTypeParenthesis",element:k(I)}},"parsePrefix")}),se=J({name:"specialTypesParslet",accept:M((A,I)=>A==="?"&&ne(I)||A==="null"||A==="undefined"||A==="*","accept"),parsePrefix:M(A=>{if(A.consume("null"))return{type:"JsdocTypeNull"};if(A.consume("undefined"))return{type:"JsdocTypeUndefined"};if(A.consume("*"))return{type:"JsdocTypeAny"};if(A.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+A.lexer.current.text)},"parsePrefix")}),te=J({name:"notNullableParslet",accept:M(A=>A==="!","accept"),precedence:B.NULLABLE,parsePrefix:M(A=>(A.consume("!"),{type:"JsdocTypeNotNullable",element:A.parseType(B.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:M((A,I)=>(A.consume("!"),{type:"JsdocTypeNotNullable",element:k(I),meta:{position:"suffix"}}),"parseInfix")});function pe({allowTrailingComma:A}){return J({name:"parameterListParslet",accept:M(I=>I===",","accept"),precedence:B.PARAMETER_LIST,parseInfix:M((I,W)=>{let oe=[N(W)];I.consume(",");do try{let fe=I.parseIntermediateType(B.PARAMETER_LIST);oe.push(N(fe))}catch(fe){if(A&&fe instanceof o)break;throw fe}while(I.consume(","));if(oe.length>0&&oe.slice(0,-1).some(fe=>fe.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:oe}},"parseInfix")})}M(pe,"createParameterListParslet");let de=J({name:"genericParslet",accept:M((A,I)=>A==="<"||A==="."&&I==="<","accept"),precedence:B.GENERIC,parseInfix:M((A,I)=>{let W=A.consume(".");A.consume("<");let oe=[];do oe.push(A.parseType(B.PARAMETER_LIST));while(A.consume(","));if(!A.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:k(I),elements:oe,meta:{brackets:"angle",dot:W}}},"parseInfix")}),We=J({name:"unionParslet",accept:M(A=>A==="|","accept"),precedence:B.UNION,parseInfix:M((A,I)=>{A.consume("|");let W=[];do W.push(A.parseType(B.UNION));while(A.consume("|"));return{type:"JsdocTypeUnion",elements:[k(I),...W]}},"parseInfix")}),rt=[$,U,X,ee,se,te,pe({allowTrailingComma:!0}),de,We,U];function Z({allowSquareBracketsOnAnyType:A,allowJsdocNamePaths:I,pathGrammar:W}){return M(function(oe,fe,Ce){if(Ce==null||fe>=B.NAME_PATH)return null;let Re=oe.lexer.current.type,ft=oe.lexer.next.type;if(!(Re==="."&&ft!=="<"||Re==="["&&(A||Ce.type==="JsdocTypeName")||I&&(Re==="~"||Re==="#")))return null;let vt,Ut=!1;oe.consume(".")?vt="property":oe.consume("[")?(vt="property-brackets",Ut=!0):oe.consume("~")?vt="inner":(oe.consume("#"),vt="instance");let pn=W!==null?new Q(W,oe.lexer,oe):oe,Or=pn.parseIntermediateType(B.NAME_PATH);oe.acceptLexerState(pn);let ci;switch(Or.type){case"JsdocTypeName":ci={type:"JsdocTypeProperty",value:Or.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":ci={type:"JsdocTypeProperty",value:Or.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":ci={type:"JsdocTypeProperty",value:Or.value,meta:{quote:Or.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Or.specialType==="event")ci=Or;else throw new c(Or,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(Or,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Ut&&!oe.consume("]")){let _0=oe.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${_0.type}' with text '${_0.text}'`)}return{type:"JsdocTypeNamePath",left:k(Ce),right:ci,pathType:vt}},"namePathParslet")}M(Z,"createNamePathParslet");function ce({allowedAdditionalTokens:A}){return J({name:"nameParslet",accept:M(I=>I==="Identifier"||I==="this"||I==="new"||A.includes(I),"accept"),parsePrefix:M(I=>{let{type:W,text:oe}=I.lexer.current;return I.consume(W),{type:"JsdocTypeName",value:oe}},"parsePrefix")})}M(ce,"createNameParslet");let ge=J({name:"stringValueParslet",accept:M(A=>A==="StringValue","accept"),parsePrefix:M(A=>{let I=A.lexer.current.text;return A.consume("StringValue"),{type:"JsdocTypeStringValue",value:I.slice(1,-1),meta:{quote:I[0]==="'"?"single":"double"}}},"parsePrefix")});function be({pathGrammar:A,allowedTypes:I}){return J({name:"specialNamePathParslet",accept:M(W=>I.includes(W),"accept"),parsePrefix:M(W=>{let oe=W.lexer.current.type;if(W.consume(oe),!W.consume(":"))return{type:"JsdocTypeName",value:oe};let fe,Ce=W.lexer.current;if(W.consume("StringValue"))fe={type:"JsdocTypeSpecialNamePath",value:Ce.text.slice(1,-1),specialType:oe,meta:{quote:Ce.text[0]==="'"?"single":"double"}};else{let vt="",Ut=["Identifier","@","/"];for(;Ut.some(pn=>W.consume(pn));)vt+=Ce.text,Ce=W.lexer.current;fe={type:"JsdocTypeSpecialNamePath",value:vt,specialType:oe,meta:{quote:void 0}}}let Re=new Q(A,W.lexer,W),ft=Re.parseInfixIntermediateType(fe,B.ALL);return W.acceptLexerState(Re),k(ft)},"parsePrefix")})}M(be,"createSpecialNamePathParslet");let Ee=[ce({allowedAdditionalTokens:["external","module"]}),ge,X,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],xe=[...Ee,be({allowedTypes:["event"],pathGrammar:Ee})];function Se(A){let I;if(A.type==="JsdocTypeParameterList")I=A.elements;else if(A.type==="JsdocTypeParenthesis")I=[A.element];else throw new c(A);return I.map(W=>N(W))}M(Se,"getParameters");function ze(A){let I=Se(A);if(I.some(W=>W.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return I}M(ze,"getUnnamedParameters");function ct({allowNamedParameters:A,allowNoReturnType:I,allowWithoutParenthesis:W,allowNewAsFunctionKeyword:oe}){return J({name:"functionParslet",accept:M((fe,Ce)=>fe==="function"||oe&&fe==="new"&&Ce==="(","accept"),parsePrefix:M(fe=>{let Ce=fe.consume("new");fe.consume("function");let Re=fe.lexer.current.type==="(";if(!Re){if(!W)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ft={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ce,parenthesis:Re},vt=fe.parseIntermediateType(B.FUNCTION);if(A===void 0)ft.parameters=ze(vt);else{if(Ce&&vt.type==="JsdocTypeFunction"&&vt.arrow)return ft=vt,ft.constructor=!0,ft;ft.parameters=Se(vt);for(let Ut of ft.parameters)if(Ut.type==="JsdocTypeKeyValue"&&!A.includes(Ut.key))throw new Error(`only allowed named parameters are ${A.join(", ")} but got ${Ut.type}`)}if(fe.consume(":"))ft.returnType=fe.parseType(B.PREFIX);else if(!I)throw new Error("function is missing return type");return ft},"parsePrefix")})}M(ct,"createFunctionParslet");function It({allowPostfix:A,allowEnclosingBrackets:I}){return J({name:"variadicParslet",accept:M(W=>W==="...","accept"),precedence:B.PREFIX,parsePrefix:M(W=>{W.consume("...");let oe=I&&W.consume("[");try{let fe=W.parseType(B.PREFIX);if(oe&&!W.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:k(fe),meta:{position:"prefix",squareBrackets:oe}}}catch(fe){if(fe instanceof o){if(oe)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw fe}},"parsePrefix"),parseInfix:A?(W,oe)=>(W.consume("..."),{type:"JsdocTypeVariadic",element:k(oe),meta:{position:"suffix",squareBrackets:!1}}):void 0})}M(It,"createVariadicParslet");let Zt=J({name:"symbolParslet",accept:M(A=>A==="(","accept"),precedence:B.SYMBOL,parseInfix:M((A,I)=>{if(I.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");A.consume("(");let W={type:"JsdocTypeSymbol",value:I.value};if(!A.consume(")")){let oe=A.parseIntermediateType(B.SYMBOL);if(W.element=O(oe),!A.consume(")"))throw new Error("Symbol does not end after value")}return W},"parseInfix")}),Ot=J({name:"arrayBracketsParslet",precedence:B.ARRAY_BRACKETS,accept:M((A,I)=>A==="["&&I==="]","accept"),parseInfix:M((A,I)=>(A.consume("["),A.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[k(I)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function Yt({objectFieldGrammar:A,allowKeyTypes:I}){return J({name:"objectParslet",accept:M(W=>W==="{","accept"),parsePrefix:M(W=>{W.consume("{");let oe={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!W.consume("}")){let fe,Ce=new Q(A,W.lexer,W);for(;;){Ce.acceptLexerState(W);let Re=Ce.parseIntermediateType(B.OBJECT);W.acceptLexerState(Ce),Re===void 0&&I&&(Re=W.parseIntermediateType(B.OBJECT));let ft=!1;if(Re.type==="JsdocTypeNullable"&&(ft=!0,Re=Re.element),Re.type==="JsdocTypeNumber"||Re.type==="JsdocTypeName"||Re.type==="JsdocTypeStringValue"){let vt;Re.type==="JsdocTypeStringValue"&&(vt=Re.meta.quote),oe.elements.push({type:"JsdocTypeObjectField",key:Re.value.toString(),right:void 0,optional:ft,readonly:!1,meta:{quote:vt}})}else if(Re.type==="JsdocTypeObjectField"||Re.type==="JsdocTypeJsdocObjectField")oe.elements.push(Re);else throw new c(Re);if(W.lexer.current.startOfLine)fe="linebreak";else if(W.consume(","))fe="comma";else if(W.consume(";"))fe="semicolon";else break;if(W.lexer.current.type==="}")break}if(oe.meta.separator=fe??"comma",!W.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return oe},"parsePrefix")})}M(Yt,"createObjectParslet");function Mt({allowSquaredProperties:A,allowKeyTypes:I,allowReadonly:W,allowOptional:oe}){return J({name:"objectFieldParslet",precedence:B.KEY_VALUE,accept:M(fe=>fe===":","accept"),parseInfix:M((fe,Ce)=>{var Re;let ft=!1,vt=!1;oe&&Ce.type==="JsdocTypeNullable"&&(ft=!0,Ce=Ce.element),W&&Ce.type==="JsdocTypeReadonlyProperty"&&(vt=!0,Ce=Ce.element);let Ut=(Re=fe.baseParser)!==null&&Re!==void 0?Re:fe;if(Ut.acceptLexerState(fe),Ce.type==="JsdocTypeNumber"||Ce.type==="JsdocTypeName"||Ce.type==="JsdocTypeStringValue"||q(Ce)){if(q(Ce)&&!A)throw new c(Ce);Ut.consume(":");let pn;Ce.type==="JsdocTypeStringValue"&&(pn=Ce.meta.quote);let Or=Ut.parseType(B.KEY_VALUE);return fe.acceptLexerState(Ut),{type:"JsdocTypeObjectField",key:q(Ce)?Ce:Ce.value.toString(),right:Or,optional:ft,readonly:vt,meta:{quote:pn}}}else{if(!I)throw new c(Ce);Ut.consume(":");let pn=Ut.parseType(B.KEY_VALUE);return fe.acceptLexerState(Ut),{type:"JsdocTypeJsdocObjectField",left:k(Ce),right:pn}}},"parseInfix")})}M(Mt,"createObjectFieldParslet");function Te({allowOptional:A,allowVariadic:I}){return J({name:"keyValueParslet",precedence:B.KEY_VALUE,accept:M(W=>W===":","accept"),parseInfix:M((W,oe)=>{let fe=!1,Ce=!1;if(A&&oe.type==="JsdocTypeNullable"&&(fe=!0,oe=oe.element),I&&oe.type==="JsdocTypeVariadic"&&oe.element!==void 0&&(Ce=!0,oe=oe.element),oe.type!=="JsdocTypeName")throw new c(oe);W.consume(":");let Re=W.parseType(B.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:oe.value,right:Re,optional:fe,variadic:Ce}},"parseInfix")})}M(Te,"createKeyValueParslet");let pt=[...rt,ct({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ge,be({allowedTypes:["module","external","event"],pathGrammar:xe}),It({allowEnclosingBrackets:!0,allowPostfix:!0}),ce({allowedAdditionalTokens:["keyof"]}),Zt,Ot,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe})],Ae=[...pt,Yt({objectFieldGrammar:[ce({allowedAdditionalTokens:["module","in"]}),Mt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...pt],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],dt=J({name:"typeOfParslet",accept:M(A=>A==="typeof","accept"),parsePrefix:M(A=>(A.consume("typeof"),{type:"JsdocTypeTypeof",element:k(A.parseType(B.KEY_OF_TYPE_OF))}),"parsePrefix")}),et=[ce({allowedAdditionalTokens:["module","keyof","event","external","in"]}),$,U,ge,X,Mt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],sa=[...rt,Yt({allowKeyTypes:!1,objectFieldGrammar:et}),ce({allowedAdditionalTokens:["event","external","in"]}),dt,ct({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),It({allowEnclosingBrackets:!1,allowPostfix:!1}),ce({allowedAdditionalTokens:["keyof"]}),be({allowedTypes:["module"],pathGrammar:xe}),Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:xe}),Te({allowOptional:!1,allowVariadic:!1}),Zt],la=J({name:"assertsParslet",accept:M(A=>A==="asserts","accept"),parsePrefix:M(A=>{A.consume("asserts");let I=A.parseIntermediateType(B.SYMBOL);if(I.type!=="JsdocTypeName")throw new c(I,"A typescript asserts always has to have a name on the left side.");return A.consume("is"),{type:"JsdocTypeAsserts",left:I,right:k(A.parseIntermediateType(B.INFIX))}},"parsePrefix")});function Lt({allowQuestionMark:A}){return J({name:"tupleParslet",accept:M(I=>I==="[","accept"),parsePrefix:M(I=>{I.consume("[");let W={type:"JsdocTypeTuple",elements:[]};if(I.consume("]"))return W;let oe=I.parseIntermediateType(B.ALL);if(oe.type==="JsdocTypeParameterList"?oe.elements[0].type==="JsdocTypeKeyValue"?W.elements=oe.elements.map(Y):W.elements=oe.elements.map(k):oe.type==="JsdocTypeKeyValue"?W.elements=[Y(oe)]:W.elements=[k(oe)],!I.consume("]"))throw new Error("Unterminated '['");if(!A&&W.elements.some(fe=>fe.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return W},"parsePrefix")})}M(Lt,"createTupleParslet");let In=J({name:"keyOfParslet",accept:M(A=>A==="keyof","accept"),parsePrefix:M(A=>(A.consume("keyof"),{type:"JsdocTypeKeyof",element:k(A.parseType(B.KEY_OF_TYPE_OF))}),"parsePrefix")}),br=J({name:"importParslet",accept:M(A=>A==="import","accept"),parsePrefix:M(A=>{if(A.consume("import"),!A.consume("("))throw new Error("Missing parenthesis after import keyword");let I=A.parseType(B.PREFIX);if(I.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!A.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:I}},"parsePrefix")}),nt=J({name:"readonlyPropertyParslet",accept:M(A=>A==="readonly","accept"),parsePrefix:M(A=>(A.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:A.parseType(B.KEY_VALUE)}),"parsePrefix")}),kn=J({name:"arrowFunctionParslet",precedence:B.ARROW,accept:M(A=>A==="=>","accept"),parseInfix:M((A,I)=>(A.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(I).map(G),arrow:!0,constructor:!1,parenthesis:!0,returnType:A.parseType(B.OBJECT)}),"parseInfix")}),ua=J({name:"intersectionParslet",accept:M(A=>A==="&","accept"),precedence:B.INTERSECTION,parseInfix:M((A,I)=>{A.consume("&");let W=[];do W.push(A.parseType(B.INTERSECTION));while(A.consume("&"));return{type:"JsdocTypeIntersection",elements:[k(I),...W]}},"parseInfix")}),tt=J({name:"predicateParslet",precedence:B.INFIX,accept:M(A=>A==="is","accept"),parseInfix:M((A,I)=>{if(I.type!=="JsdocTypeName")throw new c(I,"A typescript predicate always has to have a name on the left side.");return A.consume("is"),{type:"JsdocTypePredicate",left:I,right:k(A.parseIntermediateType(B.INFIX))}},"parseInfix")}),_t=J({name:"objectSquareBracketPropertyParslet",accept:M(A=>A==="[","accept"),parsePrefix:M(A=>{if(A.baseParser===void 0)throw new Error("Only allowed inside object grammar");A.consume("[");let I=A.lexer.current.text;A.consume("Identifier");let W;if(A.consume(":")){let oe=A.baseParser;oe.acceptLexerState(A),W={type:"JsdocTypeIndexSignature",key:I,right:oe.parseType(B.INDEX_BRACKETS)},A.acceptLexerState(oe)}else if(A.consume("in")){let oe=A.baseParser;oe.acceptLexerState(A),W={type:"JsdocTypeMappedType",key:I,right:oe.parseType(B.ARRAY_BRACKETS)},A.acceptLexerState(oe)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!A.consume("]"))throw new Error("Unterminated square brackets");return W},"parsePrefix")}),Dr=[nt,ce({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),$,U,ge,X,Mt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),_t],Ur=[...rt,Yt({allowKeyTypes:!1,objectFieldGrammar:Dr}),dt,In,br,ge,ct({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Lt({allowQuestionMark:!1}),It({allowEnclosingBrackets:!1,allowPostfix:!1}),la,ce({allowedAdditionalTokens:["event","external","in"]}),be({allowedTypes:["module"],pathGrammar:xe}),Ot,kn,Z({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:xe}),ua,tt,Te({allowVariadic:!0,allowOptional:!0})];function Vr(A,I){switch(I){case"closure":return new Q(sa,A).parse();case"jsdoc":return new Q(Ae,A).parse();case"typescript":return new Q(Ur,A).parse()}}M(Vr,"parse");function Nn(A,I=["typescript","closure","jsdoc"]){let W;for(let oe of I)try{return Vr(A,oe)}catch(fe){W=fe}throw W}M(Nn,"tryParse");function vr(A,I){let W=A[I.type];if(W===void 0)throw new Error(`In this set of transform rules exists no rule for type ${I.type}.`);return W(I,oe=>vr(A,oe))}M(vr,"transform");function S(A){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}M(S,"notAvailableTransform");function j(A){let I={params:[]};for(let W of A.parameters)W.type==="JsdocTypeKeyValue"?W.key==="this"?I.this=W.right:W.key==="new"?I.new=W.right:I.params.push(W):I.params.push(W);return I}M(j,"extractSpecialParams");function F(A,I,W){return A==="prefix"?W+I:I+W}M(F,"applyPosition");function D(A,I){switch(I){case"double":return`"${A}"`;case"single":return`'${A}'`;case void 0:return A}}M(D,"quote");function V(){return{JsdocTypeParenthesis:M((A,I)=>`(${A.element!==void 0?I(A.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:M((A,I)=>`keyof ${I(A.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:M((A,I)=>{if(A.arrow){if(A.returnType===void 0)throw new Error("Arrow function needs a return type.");let W=`(${A.parameters.map(I).join(", ")}) => ${I(A.returnType)}`;return A.constructor&&(W="new "+W),W}else{let W=A.constructor?"new":"function";return A.parenthesis&&(W+=`(${A.parameters.map(I).join(", ")})`,A.returnType!==void 0&&(W+=`: ${I(A.returnType)}`)),W}},"JsdocTypeFunction"),JsdocTypeName:M(A=>A.value,"JsdocTypeName"),JsdocTypeTuple:M((A,I)=>`[${A.elements.map(I).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:M((A,I)=>A.meta.position===void 0?"...":F(A.meta.position,I(A.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:M((A,I)=>{let W=I(A.left),oe=I(A.right);switch(A.pathType){case"inner":return`${W}~${oe}`;case"instance":return`${W}#${oe}`;case"property":return`${W}.${oe}`;case"property-brackets":return`${W}[${oe}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:M(A=>D(A.value,A.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:M(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:M((A,I)=>{if(A.meta.brackets==="square"){let W=A.elements[0],oe=I(W);return W.type==="JsdocTypeUnion"||W.type==="JsdocTypeIntersection"?`(${oe})[]`:`${oe}[]`}else return`${I(A.left)}${A.meta.dot?".":""}<${A.elements.map(I).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:M((A,I)=>`import(${I(A.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:M((A,I)=>{let W="";return A.readonly&&(W+="readonly "),typeof A.key=="string"?W+=D(A.key,A.meta.quote):W+=I(A.key),A.optional&&(W+="?"),A.right===void 0?W:W+`: ${I(A.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:M((A,I)=>`${I(A.left)}: ${I(A.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:M((A,I)=>{let W=A.key;return A.optional&&(W+="?"),A.variadic&&(W="..."+W),A.right===void 0?W:W+`: ${I(A.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:M(A=>`${A.specialType}:${D(A.value,A.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:M((A,I)=>F(A.meta.position,I(A.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:M(()=>"null","JsdocTypeNull"),JsdocTypeNullable:M((A,I)=>F(A.meta.position,I(A.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:M(A=>A.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:M((A,I)=>`{${A.elements.map(I).join((A.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:M((A,I)=>F(A.meta.position,I(A.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:M((A,I)=>`${A.value}(${A.element!==void 0?I(A.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:M((A,I)=>`typeof ${I(A.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:M(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:M((A,I)=>A.elements.map(I).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:M(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:M((A,I)=>A.elements.map(I).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:M(A=>D(A.value,A.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:M((A,I)=>`${I(A.left)} is ${I(A.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:M((A,I)=>`[${A.key}: ${I(A.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:M((A,I)=>`[${A.key} in ${I(A.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:M((A,I)=>`asserts ${I(A.left)} is ${I(A.right)}`,"JsdocTypeAsserts")}}M(V,"stringifyRules");let ie=V();function le(A){return vr(ie,A)}M(le,"stringify");let ue=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function ye(A){let I={type:"NameExpression",name:A};return ue.includes(A)&&(I.reservedWord=!0),I}M(ye,"makeName");let je={JsdocTypeOptional:M((A,I)=>{let W=I(A.element);return W.optional=!0,W},"JsdocTypeOptional"),JsdocTypeNullable:M((A,I)=>{let W=I(A.element);return W.nullable=!0,W},"JsdocTypeNullable"),JsdocTypeNotNullable:M((A,I)=>{let W=I(A.element);return W.nullable=!1,W},"JsdocTypeNotNullable"),JsdocTypeVariadic:M((A,I)=>{if(A.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let W=I(A.element);return W.repeatable=!0,W},"JsdocTypeVariadic"),JsdocTypeAny:M(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:M(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:M(A=>ye(D(A.value,A.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:M(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:M(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:M((A,I)=>{let W=j(A),oe={type:"FunctionType",params:W.params.map(I)};return W.this!==void 0&&(oe.this=I(W.this)),W.new!==void 0&&(oe.new=I(W.new)),A.returnType!==void 0&&(oe.result=I(A.returnType)),oe},"JsdocTypeFunction"),JsdocTypeGeneric:M((A,I)=>({type:"TypeApplication",applications:A.elements.map(W=>I(W)),expression:I(A.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:M(A=>ye(A.specialType+":"+D(A.value,A.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:M(A=>A.value!=="function"?ye(A.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:M(A=>ye(A.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:M((A,I)=>{let W={type:"RecordType",fields:[]};for(let oe of A.elements)oe.type!=="JsdocTypeObjectField"&&oe.type!=="JsdocTypeJsdocObjectField"?W.fields.push({type:"FieldType",key:I(oe),value:void 0}):W.fields.push(I(oe));return W},"JsdocTypeObject"),JsdocTypeObjectField:M((A,I)=>{if(typeof A.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ye(D(A.key,A.meta.quote)),value:A.right===void 0?void 0:I(A.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:M((A,I)=>({type:"FieldType",key:I(A.left),value:I(A.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:M((A,I)=>({type:"TypeUnion",elements:A.elements.map(W=>I(W))}),"JsdocTypeUnion"),JsdocTypeKeyValue:M((A,I)=>({type:"FieldType",key:ye(A.key),value:A.right===void 0?void 0:I(A.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:M((A,I)=>{let W=I(A.left),oe;A.right.type==="JsdocTypeSpecialNamePath"?oe=I(A.right).name:oe=D(A.right.value,A.right.meta.quote);let fe=A.pathType==="inner"?"~":A.pathType==="instance"?"#":".";return ye(`${W.name}${fe}${oe}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:M(A=>{let I="",W=A.element,oe=!1;return(W==null?void 0:W.type)==="JsdocTypeVariadic"&&(W.meta.position==="prefix"?I="...":oe=!0,W=W.element),(W==null?void 0:W.type)==="JsdocTypeName"?I+=W.value:(W==null?void 0:W.type)==="JsdocTypeNumber"&&(I+=W.value.toString()),oe&&(I+="..."),ye(`${A.value}(${I})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:M((A,I)=>I(k(A.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeImport:S,JsdocTypeKeyof:S,JsdocTypeTuple:S,JsdocTypeTypeof:S,JsdocTypeIntersection:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeAsserts:S};function bt(A){return vr(je,A)}M(bt,"catharsisTransform");function $t(A){switch(A){case void 0:return"none";case"single":return"single";case"double":return"double"}}M($t,"getQuoteStyle");function cn(A){switch(A){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}M(cn,"getMemberType");function ca(A,I){return I.length===2?{type:A,left:I[0],right:I[1]}:{type:A,left:I[0],right:ca(A,I.slice(1))}}M(ca,"nestResults");let Ys={JsdocTypeOptional:M((A,I)=>({type:"OPTIONAL",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:M((A,I)=>({type:"NULLABLE",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:M((A,I)=>({type:"NOT_NULLABLE",value:I(A.element),meta:{syntax:A.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:M((A,I)=>{let W={type:"VARIADIC",meta:{syntax:A.meta.position==="prefix"?"PREFIX_DOTS":A.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return A.element!==void 0&&(W.value=I(A.element)),W},"JsdocTypeVariadic"),JsdocTypeName:M(A=>({type:"NAME",name:A.value}),"JsdocTypeName"),JsdocTypeTypeof:M((A,I)=>({type:"TYPE_QUERY",name:I(A.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:M((A,I)=>({type:"TUPLE",entries:A.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeKeyof:M((A,I)=>({type:"KEY_QUERY",value:I(A.element)}),"JsdocTypeKeyof"),JsdocTypeImport:M(A=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:$t(A.element.meta.quote),string:A.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:M(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:M(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:M((A,I)=>{let W=j(A),oe={type:A.arrow?"ARROW":"FUNCTION",params:W.params.map(fe=>{if(fe.type==="JsdocTypeKeyValue"){if(fe.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:fe.key,typeName:I(fe.right)}}else return I(fe)}),new:null,returns:null};return W.this!==void 0?oe.this=I(W.this):A.arrow||(oe.this=null),W.new!==void 0&&(oe.new=I(W.new)),A.returnType!==void 0&&(oe.returns=I(A.returnType)),oe},"JsdocTypeFunction"),JsdocTypeGeneric:M((A,I)=>{let W={type:"GENERIC",subject:I(A.left),objects:A.elements.map(I),meta:{syntax:A.meta.brackets==="square"?"SQUARE_BRACKET":A.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return A.meta.brackets==="square"&&A.elements[0].type==="JsdocTypeFunction"&&!A.elements[0].parenthesis&&(W.objects[0]={type:"NAME",name:"function"}),W},"JsdocTypeGeneric"),JsdocTypeObjectField:M((A,I)=>{if(typeof A.key!="string")throw new Error("Index signatures and mapped types are not supported");if(A.right===void 0)return{type:"RECORD_ENTRY",key:A.key,quoteStyle:$t(A.meta.quote),value:null,readonly:!1};let W=I(A.right);return A.optional&&(W={type:"OPTIONAL",value:W,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:A.key.toString(),quoteStyle:$t(A.meta.quote),value:W,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:M(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:M((A,I)=>{if(A.right===void 0)return{type:"RECORD_ENTRY",key:A.key,quoteStyle:"none",value:null,readonly:!1};let W=I(A.right);return A.optional&&(W={type:"OPTIONAL",value:W,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:A.key,quoteStyle:"none",value:W,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:M((A,I)=>{let W=[];for(let oe of A.elements)(oe.type==="JsdocTypeObjectField"||oe.type==="JsdocTypeJsdocObjectField")&&W.push(I(oe));return{type:"RECORD",entries:W}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:M(A=>{if(A.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${A.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:$t(A.meta.quote),path:A.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:M((A,I)=>{let W=!1,oe,fe;A.right.type==="JsdocTypeSpecialNamePath"&&A.right.specialType==="event"?(W=!0,oe=A.right.value,fe=$t(A.right.meta.quote)):(oe=A.right.value,fe=$t(A.right.meta.quote));let Ce={type:cn(A.pathType),owner:I(A.left),name:oe,quoteStyle:fe,hasEventPrefix:W};if(Ce.owner.type==="MODULE"){let Re=Ce.owner;return Ce.owner=Ce.owner.value,Re.value=Ce,Re}else return Ce},"JsdocTypeNamePath"),JsdocTypeUnion:M((A,I)=>ca("UNION",A.elements.map(I)),"JsdocTypeUnion"),JsdocTypeParenthesis:M((A,I)=>({type:"PARENTHESIS",value:I(k(A.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:M(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:M(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:M(A=>({type:"STRING_VALUE",quoteStyle:$t(A.meta.quote),string:A.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:M((A,I)=>ca("INTERSECTION",A.elements.map(I)),"JsdocTypeIntersection"),JsdocTypeNumber:M(A=>({type:"NUMBER_VALUE",number:A.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeAsserts:S};function or(A){return vr(Ys,A)}M(or,"jtpTransform");function A0(){return{JsdocTypeIntersection:M((A,I)=>({type:"JsdocTypeIntersection",elements:A.elements.map(I)}),"JsdocTypeIntersection"),JsdocTypeGeneric:M((A,I)=>({type:"JsdocTypeGeneric",left:I(A.left),elements:A.elements.map(I),meta:{dot:A.meta.dot,brackets:A.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:M(A=>A,"JsdocTypeNullable"),JsdocTypeUnion:M((A,I)=>({type:"JsdocTypeUnion",elements:A.elements.map(I)}),"JsdocTypeUnion"),JsdocTypeUnknown:M(A=>A,"JsdocTypeUnknown"),JsdocTypeUndefined:M(A=>A,"JsdocTypeUndefined"),JsdocTypeTypeof:M((A,I)=>({type:"JsdocTypeTypeof",element:I(A.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:M((A,I)=>{let W={type:"JsdocTypeSymbol",value:A.value};return A.element!==void 0&&(W.element=I(A.element)),W},"JsdocTypeSymbol"),JsdocTypeOptional:M((A,I)=>({type:"JsdocTypeOptional",element:I(A.element),meta:{position:A.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:M((A,I)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:A.elements.map(I)}),"JsdocTypeObject"),JsdocTypeNumber:M(A=>A,"JsdocTypeNumber"),JsdocTypeNull:M(A=>A,"JsdocTypeNull"),JsdocTypeNotNullable:M((A,I)=>({type:"JsdocTypeNotNullable",element:I(A.element),meta:{position:A.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:M(A=>A,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:M((A,I)=>({type:"JsdocTypeObjectField",key:A.key,right:A.right===void 0?void 0:I(A.right),optional:A.optional,readonly:A.readonly,meta:A.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:M((A,I)=>({type:"JsdocTypeJsdocObjectField",left:I(A.left),right:I(A.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:M((A,I)=>({type:"JsdocTypeKeyValue",key:A.key,right:A.right===void 0?void 0:I(A.right),optional:A.optional,variadic:A.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:M((A,I)=>({type:"JsdocTypeImport",element:I(A.element)}),"JsdocTypeImport"),JsdocTypeAny:M(A=>A,"JsdocTypeAny"),JsdocTypeStringValue:M(A=>A,"JsdocTypeStringValue"),JsdocTypeNamePath:M(A=>A,"JsdocTypeNamePath"),JsdocTypeVariadic:M((A,I)=>{let W={type:"JsdocTypeVariadic",meta:{position:A.meta.position,squareBrackets:A.meta.squareBrackets}};return A.element!==void 0&&(W.element=I(A.element)),W},"JsdocTypeVariadic"),JsdocTypeTuple:M((A,I)=>({type:"JsdocTypeTuple",elements:A.elements.map(I)}),"JsdocTypeTuple"),JsdocTypeName:M(A=>A,"JsdocTypeName"),JsdocTypeFunction:M((A,I)=>{let W={type:"JsdocTypeFunction",arrow:A.arrow,parameters:A.parameters.map(I),constructor:A.constructor,parenthesis:A.parenthesis};return A.returnType!==void 0&&(W.returnType=I(A.returnType)),W},"JsdocTypeFunction"),JsdocTypeKeyof:M((A,I)=>({type:"JsdocTypeKeyof",element:I(A.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:M((A,I)=>({type:"JsdocTypeParenthesis",element:I(A.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:M(A=>A,"JsdocTypeProperty"),JsdocTypePredicate:M((A,I)=>({type:"JsdocTypePredicate",left:I(A.left),right:I(A.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:M((A,I)=>({type:"JsdocTypeIndexSignature",key:A.key,right:I(A.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:M((A,I)=>({type:"JsdocTypeMappedType",key:A.key,right:I(A.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:M((A,I)=>({type:"JsdocTypeAsserts",left:I(A.left),right:I(A.right)}),"JsdocTypeAsserts")}}M(A0,"identityTransformRules");let x0={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Ks(A,I,W,oe,fe){oe==null||oe(A,I,W);let Ce=x0[A.type];for(let Re of Ce){let ft=A[Re];if(ft!==void 0)if(Array.isArray(ft))for(let vt of ft)Ks(vt,A,Re,oe,fe);else Ks(ft,A,Re,oe,fe)}fe==null||fe(A,I,W)}M(Ks,"_traverse");function S0(A,I,W){Ks(A,void 0,void 0,I,W)}M(S0,"traverse"),r.catharsisTransform=bt,r.identityTransformRules=A0,r.jtpTransform=or,r.parse=Vr,r.stringify=le,r.stringifyRules=V,r.transform=vr,r.traverse=S0,r.tryParse=Nn,r.visitorKeys=x0})});const{UnknownArgTypesError:UX}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var VX=M(e=>e.name==="literal","isLiteral"),HX=M(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),zX=M(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Hi(r.value)}),{name:"object",value:t};default:throw new UX({type:e,language:"Flow"})}},"convertSig"),Hi=M(e=>{var a,o,i,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Hi)};case"signature":return{...n,...zX(e)};case"union":return(a=e.elements)!=null&&a.every(VX)?{...n,name:"enum",value:(o=e.elements)==null?void 0:o.map(HX)}:{...n,name:t,value:(i=e.elements)==null?void 0:i.map(Hi)};case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(Hi)};default:return{...n,name:"other",value:t}}},"convert");function Fl(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}M(Fl,"isPlainObject");function uj(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let o=n[a],i=e[o];r[o]=t(i,o,e)}return r}M(uj,"mapValues");var cj=/^['"]|['"]$/g,JX=M(e=>e.replace(cj,""),"trimQuotes"),GX=M(e=>cj.test(e),"includesQuotes"),pj=M(e=>{let t=JX(e);return GX(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),WX=/^\(.*\) => /,Pi=M(e=>{let{name:t,raw:r,computed:n,value:a}=e,o={};switch(typeof r<"u"&&(o.raw=r),t){case"enum":{let l=n?a:a.map(u=>pj(u.value));return{...o,name:t,value:l}}case"string":case"number":case"symbol":return{...o,name:t};case"func":return{...o,name:"function"};case"bool":case"boolean":return{...o,name:"boolean"};case"arrayOf":case"array":return{...o,name:"array",value:a&&Pi(a)};case"object":return{...o,name:t};case"objectOf":return{...o,name:t,value:Pi(a)};case"shape":case"exact":let i=uj(a,l=>Pi(l));return{...o,name:"object",value:i};case"union":return{...o,name:"union",value:a.map(l=>Pi(l))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...o,name:"enum",value:c}}catch{}let l=a?`${t}(${a})`:t,u=WX.test(t)?"function":"other";return{...o,name:u,value:l}}}},"convert");const{UnknownArgTypesError:YX}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var KX=M(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=zi(r.value)}),{name:"object",value:t};default:throw new YX({type:e,language:"Typescript"})}},"convertSig"),zi=M(e=>{var a,o,i,l;let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(zi)};case"signature":return{...n,...KX(e)};case"union":let u;return(a=e.elements)!=null&&a.every(c=>c.name==="literal")?u={...n,name:"enum",value:(o=e.elements)==null?void 0:o.map(c=>pj(c.value))}:u={...n,name:t,value:(i=e.elements)==null?void 0:i.map(zi)},u;case"intersection":return{...n,name:t,value:(l=e.elements)==null?void 0:l.map(zi)};default:return{...n,name:"other",value:t}}},"convert"),s0=M(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Pi(t);if(r!=null)return zi(r);if(n!=null)return Hi(n)}catch(a){console.error(a)}return null},"convert"),Yh=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(Yh||{}),XX=["null","undefined"];function kp(e){return XX.some(t=>t===e)}M(kp,"isDefaultValueBlacklisted");var QX=M(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Np(e){return!!e.__docgenInfo}M(Np,"hasDocgen");function dj(e){return e!=null&&Object.keys(e).length>0}M(dj,"isValidDocgenSection");function Bu(e,t){return Np(e)?e.__docgenInfo[t]:null}M(Bu,"getDocgenSection");function fj(e){return Np(e)?QX(e.__docgenInfo.description):""}M(fj,"getDocgenDescription");var Wn;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Wn=Wn||(Wn={}));function hj(e){return/^\s+$/.test(e)}M(hj,"isSpace");function mj(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}M(mj,"splitCR");function Da(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}M(Da,"splitSpace");function yj(e){return e.split(/\n/)}M(yj,"splitLines");function gj(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}M(gj,"seedSpec");function bj(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}M(bj,"seedTokens");var ZX=/^@\S+/;function vj({fence:e="```"}={}){let t=Ej(e),r=M((n,a)=>t(n)?!a:a,"toggleFence");return M(function(n){let a=[[]],o=!1;for(let i of n)ZX.test(i.tokens.description)&&!o?a.push([i]):a[a.length-1].push(i),o=r(i.tokens.description,o);return a},"parseBlock")}M(vj,"getParser");function Ej(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}M(Ej,"getFencer");function Cj({startLine:e=0,markers:t=Wn}={}){let r=null,n=e;return M(function(a){let o=a,i=bj();if([i.lineEnd,o]=mj(o),[i.start,o]=Da(o),r===null&&o.startsWith(t.start)&&!o.startsWith(t.nostart)&&(r=[],i.delimiter=o.slice(0,t.start.length),o=o.slice(t.start.length),[i.postDelimiter,o]=Da(o)),r===null)return n++,null;let l=o.trimRight().endsWith(t.end);if(i.delimiter===""&&o.startsWith(t.delim)&&!o.startsWith(t.end)&&(i.delimiter=t.delim,o=o.slice(t.delim.length),[i.postDelimiter,o]=Da(o)),l){let u=o.trimRight();i.end=o.slice(u.length-t.end.length),o=u.slice(0,-t.end.length)}if(i.description=o,r.push({number:n,source:a,tokens:i}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}M(Cj,"getParser");function wj({tokenizers:e}){return M(function(t){var r;let n=gj({source:t});for(let a of e)if(n=a(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}M(wj,"getParser");function Aj(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}M(Aj,"tagTokenizer");function xj(e="compact"){let t=Sj(e);return r=>{let n=0,a=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let p of u.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(a.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let o=[],i=a[0][0].postDelimiter.length;for(let[l,[u,c]]of a.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(i)+c,u.postDelimiter=u.postDelimiter.slice(0,i)),[u.postType,u.description]=Da(u.description.slice(c.length)),o.push(u.type);return o[0]=o[0].slice(1),o[o.length-1]=o[o.length-1].slice(0,-1),r.type=t(o),r}}M(xj,"typeTokenizer");var eQ=M(e=>e.trim(),"trim");function Sj(e){return e==="compact"?t=>t.map(eQ).join(""):e==="preserve"?t=>t.join(`
1088
+ `):e}M(Sj,"getJoiner");var tQ=M(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function _j(){let e=M((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),a=n.split('"');if(a.length>1&&a[0]===""&&a.length%2===1)return t.name=a[1],r.name=`"${a[1]}"`,[r.postName,r.description]=Da(n.slice(r.name.length)),t;let o=0,i="",l=!1,u;for(let p of n){if(o===0&&hj(p))break;p==="["&&o++,p==="]"&&o--,i+=p}if(o!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){l=!0,i=i.slice(1,-1);let p=i.split("=");if(i=p[0].trim(),p[1]!==void 0&&(u=p.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!tQ(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=i,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=Da(n.slice(r.name.length)),t}}M(_j,"nameTokenizer");function Tj(e="compact",t=Wn){let r=l0(e);return n=>(n.description=r(n.source,t),n)}M(Tj,"descriptionTokenizer");function l0(e){return e==="compact"?Pj:e==="preserve"?Dj:e}M(l0,"getJoiner");function Pj(e,t=Wn){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}M(Pj,"compactJoiner");var rQ=M((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),nQ=M(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Dj(e,t=Wn){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(rQ,0)),e.map(nQ).join(`
1089
+ `)}M(Dj,"preserveJoiner");function Oj({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Wn,tokenizers:a=[Aj(),xj(r),_j(),Tj(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let o=Cj({startLine:e,markers:n}),i=vj({fence:t}),l=wj({tokenizers:a}),u=l0(r);return function(c){let p=[];for(let d of yj(c)){let h=o(d);if(h===null)continue;let f=i(h),m=f.slice(1).map(l);p.push({description:u(f[0],n),tags:m,source:h,problems:m.reduce((y,g)=>y.concat(g.problems),[])})}return p}}M(Oj,"getParser");function Rj(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}M(Rj,"join");function aQ(){return e=>e.source.map(({tokens:t})=>Rj(t)).join(`
1090
+ `)}M(aQ,"getStringifier");function Fj(e,t={}){return Oj(t)(e)}M(Fj,"parse");var u0=LX($X());function Ij(e){return e!=null&&e.includes("@")}M(Ij,"containsJsDoc");function kj(e){let t=`/**
1091
+ `+(e??"").split(`
1092
+ `).map(n=>` * ${n}`).join(`
1093
+ `)+`
1094
+ */`,r=Fj(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}M(kj,"parse");var oQ={tags:["param","arg","argument","returns","ignore","deprecated"]},iQ=M((e,t=oQ)=>{if(!Ij(e))return{includesJsDoc:!1,ignore:!1};let r=kj(e),n=Nj(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Nj(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let a=Bj(n);a!=null&&(r.params==null&&(r.params=[]),r.params.push(a));break}case"deprecated":{let a=qj(n);a!=null&&(r.deprecated=a);break}case"returns":{let a=Mj(n);a!=null&&(r.returns=a);break}}return r}M(Nj,"extractJsDocTags");function jj(e){return e.replace(/[\.-]$/,"")}M(jj,"normaliseParamName");function Bj(e){if(!e.name||e.name==="-")return null;let t=d0(e.type);return{name:e.name,type:t,description:p0(e.description),getPrettyName:M(()=>jj(e.name),"getPrettyName"),getTypeName:M(()=>t?f0(t):null,"getTypeName")}}M(Bj,"extractParam");function qj(e){return e.name?c0(e.name,e.description):null}M(qj,"extractDeprecated");function c0(e,t){let r=e===""?t:`${e} ${t}`;return p0(r)}M(c0,"joinNameAndDescription");function p0(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}M(p0,"normaliseDescription");function Mj(e){let t=d0(e.type);return t?{type:t,description:c0(e.name,e.description),getTypeName:M(()=>f0(t),"getTypeName")}:null}M(Mj,"extractReturns");var ia=(0,u0.stringifyRules)(),sQ=ia.JsdocTypeObject;ia.JsdocTypeAny=()=>"any";ia.JsdocTypeObject=(e,t)=>`(${sQ(e,t)})`;ia.JsdocTypeOptional=(e,t)=>t(e.element);ia.JsdocTypeNullable=(e,t)=>t(e.element);ia.JsdocTypeNotNullable=(e,t)=>t(e.element);ia.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function d0(e){try{return(0,u0.parse)(e,"typescript")}catch{return null}}M(d0,"extractType");function f0(e){return(0,u0.transform)(ia,e)}M(f0,"extractTypeName");function jp(e){return e.length>90}M(jp,"isTooLongForTypeSummary");function Wa(e){return e.length>50}M(Wa,"isTooLongForDefaultValueSummary");function _e(e,t){return e===t?{summary:e}:{summary:e,detail:t}}M(_e,"createSummaryValue");function Lj(e,t){if(e!=null){let{value:r}=e;if(!kp(r))return Wa(r)?_e(t==null?void 0:t.name,r):_e(r)}return null}M(Lj,"createDefaultValue");function h0({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(h0).join(" | "):n??e)}M(h0,"generateUnionElement");function $j({name:e,raw:t,elements:r}){return r!=null?_e(r.map(h0).join(" | ")):t!=null?_e(t.replace(/^\|\s*/,"")):_e(e)}M($j,"generateUnion");function Uj({type:e,raw:t}){return t!=null?_e(t):_e(e)}M(Uj,"generateFuncSignature");function Vj({type:e,raw:t}){return t!=null?jp(t)?_e(e,t):_e(t):_e(e)}M(Vj,"generateObjectSignature");function Hj(e){let{type:t}=e;return t==="object"?Vj(e):Uj(e)}M(Hj,"generateSignature");function zj({name:e,raw:t}){return t!=null?jp(t)?_e(e,t):_e(t):_e(e)}M(zj,"generateDefault");function Jj(e){if(e==null)return null;switch(e.name){case"union":return $j(e);case"signature":return Hj(e);default:return zj(e)}}M(Jj,"createType");var lQ=M((e,t)=>{let{flowType:r,description:n,required:a,defaultValue:o}=t;return{name:e,type:Jj(r),required:a,description:n,defaultValue:Lj(o??null,r??null)}},"createFlowPropDef");function Gj({defaultValue:e}){if(e!=null){let{value:t}=e;if(!kp(t))return _e(t)}return null}M(Gj,"createDefaultValue");function Wj({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),_e(["Array","Record","signature"].includes(e.name)?e.raw:r)}M(Wj,"createType");var uQ=M((e,t)=>{let{description:r,required:n}=t;return{name:e,type:Wj(t),required:n,description:r,defaultValue:Gj(t)}},"createTsPropDef");function Yj(e){return e!=null?_e(e.name):null}M(Yj,"createType");function Kj(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}M(Kj,"isReactDocgenTypescript");function Xj(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}M(Xj,"isStringValued");function Qj(e,t){if(e!=null){let{value:r}=e;if(!kp(r))return Kj(e)&&Xj(t)?_e(JSON.stringify(r)):_e(r)}return null}M(Qj,"createDefaultValue");function m0(e,t,r){let{description:n,required:a,defaultValue:o}=r;return{name:e,type:Yj(t),required:a,description:n,defaultValue:Qj(o,t)}}M(m0,"createBasicPropDef");function zs(e,t){var r;if(t!=null&&t.includesJsDoc){let{description:n,extractedTags:a}=t;n!=null&&(e.description=t.description);let o={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(i=>({name:i.getPrettyName(),description:i.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}M(zs,"applyJsDocResult");var cQ=M((e,t,r)=>{let n=m0(e,t.type,t);return n.sbType=s0(t),zs(n,r)},"javaScriptFactory"),pQ=M((e,t,r)=>{let n=uQ(e,t);return n.sbType=s0(t),zs(n,r)},"tsFactory"),dQ=M((e,t,r)=>{let n=lQ(e,t);return n.sbType=s0(t),zs(n,r)},"flowFactory"),fQ=M((e,t,r)=>{let n=m0(e,{name:"unknown"},t);return zs(n,r)},"unknownFactory"),Zj=M(e=>{switch(e){case"JavaScript":return cQ;case"TypeScript":return pQ;case"Flow":return dQ;default:return fQ}},"getPropDefFactory"),eB=M(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),hQ=M(e=>{let t=eB(e[0]),r=Zj(t);return e.map(n=>{var o;let a=n;return(o=n.type)!=null&&o.elements&&(a={...n,type:{...n.type,value:n.type.elements}}),y0(a.name,a,t,r)})},"extractComponentSectionArray"),mQ=M(e=>{let t=Object.keys(e),r=eB(e[t[0]]),n=Zj(r);return t.map(a=>{let o=e[a];return o!=null?y0(a,o,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),yQ=M((e,t)=>{let r=Bu(e,t);return dj(r)?Array.isArray(r)?hQ(r):mQ(r):[]},"extractComponentProps");function y0(e,t,r,n){let a=iQ(t.description);return a.includesJsDoc&&a.ignore?null:{propDef:n(e,t,a),jsDocTags:a.extractedTags,docgenInfo:t,typeSystem:r}}M(y0,"extractProp");function tB(e){return e!=null?fj(e):""}M(tB,"extractComponentDescription");var rB=M((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,l])=>{let u=a[i];Array.isArray(l)||typeof u>"u"?a[i]=l:Fl(l)&&Fl(u)?t[i]=!0:typeof l<"u"&&(a[i]=l)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>Fl(i))?n[a]=rB(...o):n[a]=o[o.length-1]}),n},"combineParameters"),gQ=M(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:a}=n;if(!a||!t)return r;let o=a(t);return o?rB(o,r):r},"enhanceArgTypes"),bQ="storybook/docs",Lte=`${bQ}/snippet-rendered`,Kh=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Kh||{}),vQ=ve({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,a,o,i,l,u;function c(_){var w={},E,C;for(E in _)_.hasOwnProperty(E)&&(C=_[E],typeof C=="object"&&C!==null?w[E]=c(C):w[E]=C);return w}function p(_,w){var E,C,P,k;for(C=_.length,P=0;C;)E=C>>>1,k=P+E,w(_[k])?C=E:(P=k+1,C-=E+1);return P}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},i={},l={},u={},a={Break:i,Skip:l,Remove:u};function d(_,w){this.parent=_,this.key=w}d.prototype.replace=function(_){this.parent[this.key]=_},d.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(_,w,E,C){this.node=_,this.path=w,this.wrap=E,this.ref=C}function f(){}f.prototype.path=function(){var _,w,E,C,P,k;function N(G,Y){if(Array.isArray(Y))for(E=0,C=Y.length;E<C;++E)G.push(Y[E]);else G.push(Y)}if(!this.__current.path)return null;for(P=[],_=2,w=this.__leavelist.length;_<w;++_)k=this.__leavelist[_],N(P,k.path);return N(P,this.__current.path),P},f.prototype.type=function(){var _=this.current();return _.type||this.__current.wrap},f.prototype.parents=function(){var _,w,E;for(E=[],_=1,w=this.__leavelist.length;_<w;++_)E.push(this.__leavelist[_].node);return E},f.prototype.current=function(){return this.__current.node},f.prototype.__execute=function(_,w){var E,C;return C=void 0,E=this.__current,this.__current=w,this.__state=null,_&&(C=_.call(this,w.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=E,C},f.prototype.notify=function(_){this.__state=_},f.prototype.skip=function(){this.notify(l)},f.prototype.break=function(){this.notify(i)},f.prototype.remove=function(){this.notify(u)},f.prototype.__initialize=function(_,w){this.visitor=w,this.root=_,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,w.fallback==="iteration"?this.__fallback=Object.keys:typeof w.fallback=="function"&&(this.__fallback=w.fallback),this.__keys=o,w.keys&&(this.__keys=Object.assign(Object.create(this.__keys),w.keys))};function m(_){return _==null?!1:typeof _=="object"&&typeof _.type=="string"}function y(_,w){return(_===n.ObjectExpression||_===n.ObjectPattern)&&w==="properties"}function g(_,w){for(var E=_.length-1;E>=0;--E)if(_[E].node===w)return!0;return!1}f.prototype.traverse=function(_,w){var E,C,P,k,N,G,Y,O,q,B,K,Q;for(this.__initialize(_,w),Q={},E=this.__worklist,C=this.__leavelist,E.push(new h(_,null,null,null)),C.push(new h(null,null,null,null));E.length;){if(P=E.pop(),P===Q){if(P=C.pop(),G=this.__execute(w.leave,P),this.__state===i||G===i)return;continue}if(P.node){if(G=this.__execute(w.enter,P),this.__state===i||G===i)return;if(E.push(Q),C.push(P),this.__state===l||G===l)continue;if(k=P.node,N=k.type||P.wrap,B=this.__keys[N],!B)if(this.__fallback)B=this.__fallback(k);else throw new Error("Unknown node type "+N+".");for(O=B.length;(O-=1)>=0;)if(Y=B[O],K=k[Y],!!K){if(Array.isArray(K)){for(q=K.length;(q-=1)>=0;)if(K[q]&&!g(C,K[q])){if(y(N,B[O]))P=new h(K[q],[Y,q],"Property",null);else if(m(K[q]))P=new h(K[q],[Y,q],null,null);else continue;E.push(P)}}else if(m(K)){if(g(C,K))continue;E.push(new h(K,Y,null,null))}}}}},f.prototype.replace=function(_,w){var E,C,P,k,N,G,Y,O,q,B,K,Q,ne;function $(J){var U,X,ee,se;if(J.ref.remove()){for(X=J.ref.key,se=J.ref.parent,U=E.length;U--;)if(ee=E[U],ee.ref&&ee.ref.parent===se){if(ee.ref.key<X)break;--ee.ref.key}}}for(this.__initialize(_,w),K={},E=this.__worklist,C=this.__leavelist,Q={root:_},G=new h(_,null,null,new d(Q,"root")),E.push(G),C.push(G);E.length;){if(G=E.pop(),G===K){if(G=C.pop(),N=this.__execute(w.leave,G),N!==void 0&&N!==i&&N!==l&&N!==u&&G.ref.replace(N),(this.__state===u||N===u)&&$(G),this.__state===i||N===i)return Q.root;continue}if(N=this.__execute(w.enter,G),N!==void 0&&N!==i&&N!==l&&N!==u&&(G.ref.replace(N),G.node=N),(this.__state===u||N===u)&&($(G),G.node=null),this.__state===i||N===i)return Q.root;if(P=G.node,!!P&&(E.push(K),C.push(G),!(this.__state===l||N===l))){if(k=P.type||G.wrap,q=this.__keys[k],!q)if(this.__fallback)q=this.__fallback(P);else throw new Error("Unknown node type "+k+".");for(Y=q.length;(Y-=1)>=0;)if(ne=q[Y],B=P[ne],!!B)if(Array.isArray(B)){for(O=B.length;(O-=1)>=0;)if(B[O]){if(y(k,q[Y]))G=new h(B[O],[ne,O],"Property",new d(B,O));else if(m(B[O]))G=new h(B[O],[ne,O],null,new d(B,O));else continue;E.push(G)}}else m(B)&&E.push(new h(B,ne,null,new d(P,ne)))}}return Q.root};function b(_,w){var E=new f;return E.traverse(_,w)}function v(_,w){var E=new f;return E.replace(_,w)}function T(_,w){var E;return E=p(w,function(C){return C.range[0]>_.range[0]}),_.extendedRange=[_.range[0],_.range[1]],E!==w.length&&(_.extendedRange[1]=w[E].range[0]),E-=1,E>=0&&(_.extendedRange[0]=w[E].range[1]),_}function x(_,w,E){var C=[],P,k,N,G;if(!_.range)throw new Error("attachComments needs range information");if(!E.length){if(w.length){for(N=0,k=w.length;N<k;N+=1)P=c(w[N]),P.extendedRange=[0,_.range[0]],C.push(P);_.leadingComments=C}return _}for(N=0,k=w.length;N<k;N+=1)C.push(T(c(w[N]),E));return G=0,b(_,{enter:function(Y){for(var O;G<C.length&&(O=C[G],!(O.extendedRange[1]>Y.range[0]));)O.extendedRange[1]===Y.range[0]?(Y.leadingComments||(Y.leadingComments=[]),Y.leadingComments.push(O),C.splice(G,1)):G+=1;if(G===C.length)return a.Break;if(C[G].extendedRange[0]>Y.range[1])return a.Skip}}),G=0,b(_,{leave:function(Y){for(var O;G<C.length&&(O=C[G],!(Y.range[1]<O.extendedRange[0]));)Y.range[1]===O.extendedRange[0]?(Y.trailingComments||(Y.trailingComments=[]),Y.trailingComments.push(O),C.splice(G,1)):G+=1;if(G===C.length)return a.Break;if(C[G].extendedRange[0]>Y.range[1])return a.Skip}}),_}return r.Syntax=n,r.traverse=b,r.replace=v,r.attachComments=x,r.VisitorKeys=o,r.VisitorOption=a,r.Controller=f,r.cloneEnvironment=function(){return t({})},r})(e)}}),EQ=ve({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(u){if(u==null)return!1;switch(u.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}function n(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(u){if(u==null)return!1;switch(u.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 o(u){return a(u)||u!=null&&u.type==="FunctionDeclaration"}function i(u){switch(u.type){case"IfStatement":return u.alternate!=null?u.alternate:u.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return u.body}return null}function l(u){var c;if(u.type!=="IfStatement"||u.alternate==null)return!1;c=u.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=i(c)}while(c);return!1}t.exports={isExpression:r,isStatement:a,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:i}})()}}),nB=ve({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,a,o,i,l;n={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]/},r={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]/};function u(v){return 48<=v&&v<=57}function c(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function p(v){return v>=48&&v<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function d(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&a.indexOf(v)>=0}function h(v){return v===10||v===13||v===8232||v===8233}function f(v){if(v<=65535)return String.fromCharCode(v);var T=String.fromCharCode(Math.floor((v-65536)/1024)+55296),x=String.fromCharCode((v-65536)%1024+56320);return T+x}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(i=new Array(128),l=0;l<128;++l)i[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(f(v))}function y(v){return v<128?i[v]:n.NonAsciiIdentifierPart.test(f(v))}function g(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(f(v))}function b(v){return v<128?i[v]:r.NonAsciiIdentifierPart.test(f(v))}t.exports={isDecimalDigit:u,isHexDigit:c,isOctalDigit:p,isWhiteSpace:d,isLineTerminator:h,isIdentifierStartES5:m,isIdentifierPartES5:y,isIdentifierStartES6:g,isIdentifierPartES6:b}})()}}),CQ=ve({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=nB();function n(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(m,y){return!y&&m==="yield"?!1:o(m,y)}function o(m,y){if(y&&n(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function i(m,y){return m==="null"||m==="true"||m==="false"||a(m,y)}function l(m,y){return m==="null"||m==="true"||m==="false"||o(m,y)}function u(m){return m==="eval"||m==="arguments"}function c(m){var y,g,b;if(m.length===0||(b=m.charCodeAt(0),!r.isIdentifierStartES5(b)))return!1;for(y=1,g=m.length;y<g;++y)if(b=m.charCodeAt(y),!r.isIdentifierPartES5(b))return!1;return!0}function p(m,y){return(m-55296)*1024+(y-56320)+65536}function d(m){var y,g,b,v,T;if(m.length===0)return!1;for(T=r.isIdentifierStartES6,y=0,g=m.length;y<g;++y){if(b=m.charCodeAt(y),55296<=b&&b<=56319){if(++y,y>=g||(v=m.charCodeAt(y),!(56320<=v&&v<=57343)))return!1;b=p(b,v)}if(!T(b))return!1;T=r.isIdentifierPartES6}return!0}function h(m,y){return c(m)&&!i(m,y)}function f(m,y){return d(m)&&!l(m,y)}t.exports={isKeywordES5:a,isKeywordES6:o,isReservedWordES5:i,isReservedWordES6:l,isRestrictedWord:u,isIdentifierNameES5:c,isIdentifierNameES6:d,isIdentifierES5:h,isIdentifierES6:f}})()}}),wQ=ve({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=EQ(),e.code=nB(),e.keyword=CQ()})()}}),AQ=ve({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r<t.length)return t[r];throw new TypeError("Must be between 0 and 63: "+r)},e.decode=function(r){var n=65,a=90,o=97,i=122,l=48,u=57,c=43,p=47,d=26,h=52;return n<=r&&r<=a?r-n:o<=r&&r<=i?r-o+d:l<=r&&r<=u?r-l+h:r==c?62:r==p?63:-1}}}),aB=ve({"../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=AQ(),r=5,n=1<<r,a=n-1,o=n;function i(u){return u<0?(-u<<1)+1:(u<<1)+0}function l(u){var c=(u&1)===1,p=u>>1;return c?-p:p}e.encode=function(u){var c="",p,d=i(u);do p=d&a,d>>>=r,d>0&&(p|=o),c+=t.encode(p);while(d>0);return c},e.decode=function(u,c,p){var d=u.length,h=0,f=0,m,y;do{if(c>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(y=t.decode(u.charCodeAt(c++)),y===-1)throw new Error("Invalid base64 digit: "+u.charAt(c-1));m=!!(y&o),y&=a,h=h+(y<<f),f+=r}while(m);p.value=l(h),p.rest=c}}}),Js=ve({"../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(x,_,w){if(_ in x)return x[_];if(arguments.length===3)return w;throw new Error('"'+_+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function a(x){var _=x.match(r);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}e.urlParse=a;function o(x){var _="";return x.scheme&&(_+=x.scheme+":"),_+="//",x.auth&&(_+=x.auth+"@"),x.host&&(_+=x.host),x.port&&(_+=":"+x.port),x.path&&(_+=x.path),_}e.urlGenerate=o;function i(x){var _=x,w=a(x);if(w){if(!w.path)return x;_=w.path}for(var E=e.isAbsolute(_),C=_.split(/\/+/),P,k=0,N=C.length-1;N>=0;N--)P=C[N],P==="."?C.splice(N,1):P===".."?k++:k>0&&(P===""?(C.splice(N+1,k),k=0):(C.splice(N,2),k--));return _=C.join("/"),_===""&&(_=E?"/":"."),w?(w.path=_,o(w)):_}e.normalize=i;function l(x,_){x===""&&(x="."),_===""&&(_=".");var w=a(_),E=a(x);if(E&&(x=E.path||"/"),w&&!w.scheme)return E&&(w.scheme=E.scheme),o(w);if(w||_.match(n))return _;if(E&&!E.host&&!E.path)return E.host=_,o(E);var C=_.charAt(0)==="/"?_:i(x.replace(/\/+$/,"")+"/"+_);return E?(E.path=C,o(E)):C}e.join=l,e.isAbsolute=function(x){return x.charAt(0)==="/"||r.test(x)};function u(x,_){x===""&&(x="."),x=x.replace(/\/$/,"");for(var w=0;_.indexOf(x+"/")!==0;){var E=x.lastIndexOf("/");if(E<0||(x=x.slice(0,E),x.match(/^([^\/]+:\/)?\/*$/)))return _;++w}return Array(w+1).join("../")+_.substr(x.length+1)}e.relative=u;var c=function(){var x=Object.create(null);return!("__proto__"in x)}();function p(x){return x}function d(x){return f(x)?"$"+x:x}e.toSetString=c?p:d;function h(x){return f(x)?x.slice(1):x}e.fromSetString=c?p:h;function f(x){if(!x)return!1;var _=x.length;if(_<9||x.charCodeAt(_-1)!==95||x.charCodeAt(_-2)!==95||x.charCodeAt(_-3)!==111||x.charCodeAt(_-4)!==116||x.charCodeAt(_-5)!==111||x.charCodeAt(_-6)!==114||x.charCodeAt(_-7)!==112||x.charCodeAt(_-8)!==95||x.charCodeAt(_-9)!==95)return!1;for(var w=_-10;w>=0;w--)if(x.charCodeAt(w)!==36)return!1;return!0}function m(x,_,w){var E=g(x.source,_.source);return E!==0||(E=x.originalLine-_.originalLine,E!==0)||(E=x.originalColumn-_.originalColumn,E!==0||w)||(E=x.generatedColumn-_.generatedColumn,E!==0)||(E=x.generatedLine-_.generatedLine,E!==0)?E:g(x.name,_.name)}e.compareByOriginalPositions=m;function y(x,_,w){var E=x.generatedLine-_.generatedLine;return E!==0||(E=x.generatedColumn-_.generatedColumn,E!==0||w)||(E=g(x.source,_.source),E!==0)||(E=x.originalLine-_.originalLine,E!==0)||(E=x.originalColumn-_.originalColumn,E!==0)?E:g(x.name,_.name)}e.compareByGeneratedPositionsDeflated=y;function g(x,_){return x===_?0:x===null?1:_===null?-1:x>_?1:-1}function b(x,_){var w=x.generatedLine-_.generatedLine;return w!==0||(w=x.generatedColumn-_.generatedColumn,w!==0)||(w=g(x.source,_.source),w!==0)||(w=x.originalLine-_.originalLine,w!==0)||(w=x.originalColumn-_.originalColumn,w!==0)?w:g(x.name,_.name)}e.compareByGeneratedPositionsInflated=b;function v(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function T(x,_,w){if(_=_||"",x&&(x[x.length-1]!=="/"&&_[0]!=="/"&&(x+="/"),_=x+_),w){var E=a(w);if(!E)throw new Error("sourceMapURL could not be parsed");if(E.path){var C=E.path.lastIndexOf("/");C>=0&&(E.path=E.path.substring(0,C+1))}_=l(o(E),_)}return i(_)}e.computeSourceURL=T}}),oB=ve({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=Js(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function a(){this._array=[],this._set=n?new Map:Object.create(null)}a.fromArray=function(o,i){for(var l=new a,u=0,c=o.length;u<c;u++)l.add(o[u],i);return l},a.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(o,i){var l=n?o:t.toSetString(o),u=n?this.has(o):r.call(this._set,l),c=this._array.length;(!u||i)&&this._array.push(o),u||(n?this._set.set(o,c):this._set[l]=c)},a.prototype.has=function(o){if(n)return this._set.has(o);var i=t.toSetString(o);return r.call(this._set,i)},a.prototype.indexOf=function(o){if(n){var i=this._set.get(o);if(i>=0)return i}else{var l=t.toSetString(o);if(r.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},a.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},a.prototype.toArray=function(){return this._array.slice()},e.ArraySet=a}}),xQ=ve({"../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=Js();function r(a,o){var i=a.generatedLine,l=o.generatedLine,u=a.generatedColumn,c=o.generatedColumn;return l>i||l==i&&c>=u||t.compareByGeneratedPositionsInflated(a,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(a,o){this._array.forEach(a,o)},n.prototype.add=function(a){r(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),iB=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=aB(),r=Js(),n=oB().ArraySet,a=xQ().MappingList;function o(i){i||(i={}),this._file=r.getArg(i,"file",null),this._sourceRoot=r.getArg(i,"sourceRoot",null),this._skipValidation=r.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new a,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(i){var l=i.sourceRoot,u=new o({file:i.file,sourceRoot:l});return i.eachMapping(function(c){var p={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(p.source=c.source,l!=null&&(p.source=r.relative(l,p.source)),p.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(p.name=c.name)),u.addMapping(p)}),i.sources.forEach(function(c){var p=c;l!==null&&(p=r.relative(l,c)),u._sources.has(p)||u._sources.add(p);var d=i.sourceContentFor(c);d!=null&&u.setSourceContent(c,d)}),u},o.prototype.addMapping=function(i){var l=r.getArg(i,"generated"),u=r.getArg(i,"original",null),c=r.getArg(i,"source",null),p=r.getArg(i,"name",null);this._skipValidation||this._validateMapping(l,u,c,p),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:c,name:p})},o.prototype.setSourceContent=function(i,l){var u=i;this._sourceRoot!=null&&(u=r.relative(this._sourceRoot,u)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(u)]=l):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(i,l,u){var c=l;if(l==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=i.file}var p=this._sourceRoot;p!=null&&(c=r.relative(p,c));var d=new n,h=new n;this._mappings.unsortedForEach(function(f){if(f.source===c&&f.originalLine!=null){var m=i.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&(f.source=m.source,u!=null&&(f.source=r.join(u,f.source)),p!=null&&(f.source=r.relative(p,f.source)),f.originalLine=m.line,f.originalColumn=m.column,m.name!=null&&(f.name=m.name))}var y=f.source;y!=null&&!d.has(y)&&d.add(y);var g=f.name;g!=null&&!h.has(g)&&h.add(g)},this),this._sources=d,this._names=h,i.sources.forEach(function(f){var m=i.sourceContentFor(f);m!=null&&(u!=null&&(f=r.join(u,f)),p!=null&&(f=r.relative(p,f)),this.setSourceContent(f,m))},this)},o.prototype._validateMapping=function(i,l,u,c){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!l&&!u&&!c)){if(i&&"line"in i&&"column"in i&&l&&"line"in l&&"column"in l&&i.line>0&&i.column>=0&&l.line>0&&l.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:u,original:l,name:c}))}},o.prototype._serializeMappings=function(){for(var i=0,l=1,u=0,c=0,p=0,d=0,h="",f,m,y,g,b=this._mappings.toArray(),v=0,T=b.length;v<T;v++){if(m=b[v],f="",m.generatedLine!==l)for(i=0;m.generatedLine!==l;)f+=";",l++;else if(v>0){if(!r.compareByGeneratedPositionsInflated(m,b[v-1]))continue;f+=","}f+=t.encode(m.generatedColumn-i),i=m.generatedColumn,m.source!=null&&(g=this._sources.indexOf(m.source),f+=t.encode(g-d),d=g,f+=t.encode(m.originalLine-1-c),c=m.originalLine-1,f+=t.encode(m.originalColumn-u),u=m.originalColumn,m.name!=null&&(y=this._names.indexOf(m.name),f+=t.encode(y-p),p=y)),h+=f}return h},o.prototype._generateSourcesContent=function(i,l){return i.map(function(u){if(!this._sourcesContents)return null;l!=null&&(u=r.relative(l,u));var c=r.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},o.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),SQ=ve({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,a,o,i,l){var u=Math.floor((n-r)/2)+r,c=i(a,o[u],!0);return c===0?u:c>0?n-u>1?t(u,n,a,o,i,l):l==e.LEAST_UPPER_BOUND?n<o.length?n:-1:u:u-r>1?t(r,u,a,o,i,l):l==e.LEAST_UPPER_BOUND?u:r<0?-1:r}e.search=function(r,n,a,o){if(n.length===0)return-1;var i=t(-1,n.length,r,n,a,o||e.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&a(n[i],n[i-1],!0)===0;)--i;return i}}}),_Q=ve({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(a,o,i){var l=a[o];a[o]=a[i],a[i]=l}function r(a,o){return Math.round(a+Math.random()*(o-a))}function n(a,o,i,l){if(i<l){var u=r(i,l),c=i-1;t(a,u,l);for(var p=a[l],d=i;d<l;d++)o(a[d],p)<=0&&(c+=1,t(a,c,d));t(a,c+1,d);var h=c+1;n(a,o,i,h-1),n(a,o,h+1,l)}}e.quickSort=function(a,o){n(a,o,0,a.length-1)}}}),TQ=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=Js(),r=SQ(),n=oB().ArraySet,a=aB(),o=_Q().quickSort;function i(p,d){var h=p;return typeof p=="string"&&(h=t.parseSourceMapInput(p)),h.sections!=null?new c(h,d):new l(h,d)}i.fromSourceMap=function(p,d){return l.fromSourceMap(p,d)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(p,d){var h=p.charAt(d);return h===";"||h===","},i.prototype._parseMappings=function(p,d){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(p,d,h){var f=d||null,m=h||i.GENERATED_ORDER,y;switch(m){case i.GENERATED_ORDER:y=this._generatedMappings;break;case i.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var g=this.sourceRoot;y.map(function(b){var v=b.source===null?null:this._sources.at(b.source);return v=t.computeSourceURL(g,v,this._sourceMapURL),{source:v,generatedLine:b.generatedLine,generatedColumn:b.generatedColumn,originalLine:b.originalLine,originalColumn:b.originalColumn,name:b.name===null?null:this._names.at(b.name)}},this).forEach(p,f)},i.prototype.allGeneratedPositionsFor=function(p){var d=t.getArg(p,"line"),h={source:t.getArg(p,"source"),originalLine:d,originalColumn:t.getArg(p,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var f=[],m=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(m>=0){var y=this._originalMappings[m];if(p.column===void 0)for(var g=y.originalLine;y&&y.originalLine===g;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m];else for(var b=y.originalColumn;y&&y.originalLine===d&&y.originalColumn==b;)f.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++m]}return f},e.SourceMapConsumer=i;function l(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sources"),y=t.getArg(h,"names",[]),g=t.getArg(h,"sourceRoot",null),b=t.getArg(h,"sourcesContent",null),v=t.getArg(h,"mappings"),T=t.getArg(h,"file",null);if(f!=this._version)throw new Error("Unsupported version: "+f);g&&(g=t.normalize(g)),m=m.map(String).map(t.normalize).map(function(x){return g&&t.isAbsolute(g)&&t.isAbsolute(x)?t.relative(g,x):x}),this._names=n.fromArray(y.map(String),!0),this._sources=n.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(x){return t.computeSourceURL(g,x,d)}),this.sourceRoot=g,this.sourcesContent=b,this._mappings=v,this._sourceMapURL=d,this.file=T}l.prototype=Object.create(i.prototype),l.prototype.consumer=i,l.prototype._findSourceIndex=function(p){var d=p;if(this.sourceRoot!=null&&(d=t.relative(this.sourceRoot,d)),this._sources.has(d))return this._sources.indexOf(d);var h;for(h=0;h<this._absoluteSources.length;++h)if(this._absoluteSources[h]==p)return h;return-1},l.fromSourceMap=function(p,d){var h=Object.create(l.prototype),f=h._names=n.fromArray(p._names.toArray(),!0),m=h._sources=n.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file,h._sourceMapURL=d,h._absoluteSources=h._sources.toArray().map(function(w){return t.computeSourceURL(h.sourceRoot,w,d)});for(var y=p._mappings.toArray().slice(),g=h.__generatedMappings=[],b=h.__originalMappings=[],v=0,T=y.length;v<T;v++){var x=y[v],_=new u;_.generatedLine=x.generatedLine,_.generatedColumn=x.generatedColumn,x.source&&(_.source=m.indexOf(x.source),_.originalLine=x.originalLine,_.originalColumn=x.originalColumn,x.name&&(_.name=f.indexOf(x.name)),b.push(_)),g.push(_)}return o(h.__originalMappings,t.compareByOriginalPositions),h},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(p,d){for(var h=1,f=0,m=0,y=0,g=0,b=0,v=p.length,T=0,x={},_={},w=[],E=[],C,P,k,N,G;T<v;)if(p.charAt(T)===";")h++,T++,f=0;else if(p.charAt(T)===",")T++;else{for(C=new u,C.generatedLine=h,N=T;N<v&&!this._charIsMappingSeparator(p,N);N++);if(P=p.slice(T,N),k=x[P],k)T+=P.length;else{for(k=[];T<N;)a.decode(p,T,_),G=_.value,T=_.rest,k.push(G);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");x[P]=k}C.generatedColumn=f+k[0],f=C.generatedColumn,k.length>1&&(C.source=g+k[1],g+=k[1],C.originalLine=m+k[2],m=C.originalLine,C.originalLine+=1,C.originalColumn=y+k[3],y=C.originalColumn,k.length>4&&(C.name=b+k[4],b+=k[4])),E.push(C),typeof C.originalLine=="number"&&w.push(C)}o(E,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,o(w,t.compareByOriginalPositions),this.__originalMappings=w},l.prototype._findMapping=function(p,d,h,f,m,y){if(p[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[h]);if(p[f]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[f]);return r.search(p,d,m,y)},l.prototype.computeColumnSpans=function(){for(var p=0;p<this._generatedMappings.length;++p){var d=this._generatedMappings[p];if(p+1<this._generatedMappings.length){var h=this._generatedMappings[p+1];if(d.generatedLine===h.generatedLine){d.lastGeneratedColumn=h.generatedColumn-1;continue}}d.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=this._findMapping(d,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var f=this._generatedMappings[h];if(f.generatedLine===d.generatedLine){var m=t.getArg(f,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var y=t.getArg(f,"name",null);return y!==null&&(y=this._names.at(y)),{source:m,line:t.getArg(f,"originalLine",null),column:t.getArg(f,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return p==null}):!1},l.prototype.sourceContentFor=function(p,d){if(!this.sourcesContent)return null;var h=this._findSourceIndex(p);if(h>=0)return this.sourcesContent[h];var f=p;this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var y=f.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!m.path||m.path=="/")&&this._sources.has("/"+f))return this.sourcesContent[this._sources.indexOf("/"+f)]}if(d)return null;throw new Error('"'+f+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(p){var d=t.getArg(p,"source");if(d=this._findSourceIndex(d),d<0)return{line:null,column:null,lastColumn:null};var h={source:d,originalLine:t.getArg(p,"line"),originalColumn:t.getArg(p,"column")},f=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(p,"bias",i.GREATEST_LOWER_BOUND));if(f>=0){var m=this._originalMappings[f];if(m.source===h.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function c(p,d){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var f=t.getArg(h,"version"),m=t.getArg(h,"sections");if(f!=this._version)throw new Error("Unsupported version: "+f);this._sources=new n,this._names=new n;var y={line:-1,column:0};this._sections=m.map(function(g){if(g.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(g,"offset"),v=t.getArg(b,"line"),T=t.getArg(b,"column");if(v<y.line||v===y.line&&T<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=b,{generatedOffset:{generatedLine:v+1,generatedColumn:T+1},consumer:new i(t.getArg(g,"map"),d)}})}c.prototype=Object.create(i.prototype),c.prototype.constructor=i,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var p=[],d=0;d<this._sections.length;d++)for(var h=0;h<this._sections[d].consumer.sources.length;h++)p.push(this._sections[d].consumer.sources[h]);return p}}),c.prototype.originalPositionFor=function(p){var d={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=r.search(d,this._sections,function(m,y){var g=m.generatedLine-y.generatedOffset.generatedLine;return g||m.generatedColumn-y.generatedOffset.generatedColumn}),f=this._sections[h];return f?f.consumer.originalPositionFor({line:d.generatedLine-(f.generatedOffset.generatedLine-1),column:d.generatedColumn-(f.generatedOffset.generatedLine===d.generatedLine?f.generatedOffset.generatedColumn-1:0),bias:p.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(p){return p.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(p,d){for(var h=0;h<this._sections.length;h++){var f=this._sections[h],m=f.consumer.sourceContentFor(p,!0);if(m)return m}if(d)return null;throw new Error('"'+p+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(p){for(var d=0;d<this._sections.length;d++){var h=this._sections[d];if(h.consumer._findSourceIndex(t.getArg(p,"source"))!==-1){var f=h.consumer.generatedPositionFor(p);if(f){var m={line:f.line+(h.generatedOffset.generatedLine-1),column:f.column+(h.generatedOffset.generatedLine===f.line?h.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},c.prototype._parseMappings=function(p,d){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var f=this._sections[h],m=f.consumer._generatedMappings,y=0;y<m.length;y++){var g=m[y],b=f.consumer._sources.at(g.source);b=t.computeSourceURL(f.consumer.sourceRoot,b,this._sourceMapURL),this._sources.add(b),b=this._sources.indexOf(b);var v=null;g.name&&(v=f.consumer._names.at(g.name),this._names.add(v),v=this._names.indexOf(v));var T={source:b,generatedLine:g.generatedLine+(f.generatedOffset.generatedLine-1),generatedColumn:g.generatedColumn+(f.generatedOffset.generatedLine===g.generatedLine?f.generatedOffset.generatedColumn-1:0),originalLine:g.originalLine,originalColumn:g.originalColumn,name:v};this.__generatedMappings.push(T),typeof T.originalLine=="number"&&this.__originalMappings.push(T)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=c}}),PQ=ve({"../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=iB().SourceMapGenerator,r=Js(),n=/(\r?\n)/,a=10,o="$$$isSourceNode$$$";function i(l,u,c,p,d){this.children=[],this.sourceContents={},this.line=l??null,this.column=u??null,this.source=c??null,this.name=d??null,this[o]=!0,p!=null&&this.add(p)}i.fromStringWithSourceMap=function(l,u,c){var p=new i,d=l.split(n),h=0,f=function(){var v=x(),T=x()||"";return v+T;function x(){return h<d.length?d[h++]:void 0}},m=1,y=0,g=null;return u.eachMapping(function(v){if(g!==null)if(m<v.generatedLine)b(g,f()),m++,y=0;else{var T=d[h]||"",x=T.substr(0,v.generatedColumn-y);d[h]=T.substr(v.generatedColumn-y),y=v.generatedColumn,b(g,x),g=v;return}for(;m<v.generatedLine;)p.add(f()),m++;if(y<v.generatedColumn){var T=d[h]||"";p.add(T.substr(0,v.generatedColumn)),d[h]=T.substr(v.generatedColumn),y=v.generatedColumn}g=v},this),h<d.length&&(g&&b(g,f()),p.add(d.splice(h).join(""))),u.sources.forEach(function(v){var T=u.sourceContentFor(v);T!=null&&(c!=null&&(v=r.join(c,v)),p.setSourceContent(v,T))}),p;function b(v,T){if(v===null||v.source===void 0)p.add(T);else{var x=c?r.join(c,v.source):v.source;p.add(new i(v.originalLine,v.originalColumn,x,T,v.name))}}},i.prototype.add=function(l){if(Array.isArray(l))l.forEach(function(u){this.add(u)},this);else if(l[o]||typeof l=="string")l&&this.children.push(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.prepend=function(l){if(Array.isArray(l))for(var u=l.length-1;u>=0;u--)this.prepend(l[u]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.walk=function(l){for(var u,c=0,p=this.children.length;c<p;c++)u=this.children[c],u[o]?u.walk(l):u!==""&&l(u,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(l){var u,c,p=this.children.length;if(p>0){for(u=[],c=0;c<p-1;c++)u.push(this.children[c]),u.push(l);u.push(this.children[c]),this.children=u}return this},i.prototype.replaceRight=function(l,u){var c=this.children[this.children.length-1];return c[o]?c.replaceRight(l,u):typeof c=="string"?this.children[this.children.length-1]=c.replace(l,u):this.children.push("".replace(l,u)),this},i.prototype.setSourceContent=function(l,u){this.sourceContents[r.toSetString(l)]=u},i.prototype.walkSourceContents=function(l){for(var u=0,c=this.children.length;u<c;u++)this.children[u][o]&&this.children[u].walkSourceContents(l);for(var p=Object.keys(this.sourceContents),u=0,c=p.length;u<c;u++)l(r.fromSetString(p[u]),this.sourceContents[p[u]])},i.prototype.toString=function(){var l="";return this.walk(function(u){l+=u}),l},i.prototype.toStringWithSourceMap=function(l){var u={code:"",line:1,column:0},c=new t(l),p=!1,d=null,h=null,f=null,m=null;return this.walk(function(y,g){u.code+=y,g.source!==null&&g.line!==null&&g.column!==null?((d!==g.source||h!==g.line||f!==g.column||m!==g.name)&&c.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name}),d=g.source,h=g.line,f=g.column,m=g.name,p=!0):p&&(c.addMapping({generated:{line:u.line,column:u.column}}),d=null,p=!1);for(var b=0,v=y.length;b<v;b++)y.charCodeAt(b)===a?(u.line++,u.column=0,b+1===v?(d=null,p=!1):p&&c.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name})):u.column++}),this.walkSourceContents(function(y,g){c.setSourceContent(y,g)}),{code:u.code,map:c}},e.SourceNode=i}}),DQ=ve({"../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=iB().SourceMapGenerator,e.SourceMapConsumer=TQ().SourceMapConsumer,e.SourceNode=PQ().SourceNode}}),OQ=ve({"../../node_modules/escodegen/package.json"(e,t){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),RQ=ve({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,a,o,i,l,u,c,p,d,h,f,m,y,g,b,v,T,x,_,w,E,C,P,k;o=vQ(),i=wQ(),t=o.Syntax;function N(S){return tt.Expression.hasOwnProperty(S.type)}function G(S){return tt.Statement.hasOwnProperty(S.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var Y=1,O=2,q=4,B=8,K=16,Q=32,ne=64,$=O|q,J=Y|O,U=Y|O|q,X=Y,ee=q,se=Y|q,te=Y,pe=Y|Q,de=0,We=Y|K,rt=Y|B;function Z(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
1095
+ `,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function ce(S,j){var F="";for(j|=0;j>0;j>>>=1,S+=S)j&1&&(F+=S);return F}function ge(S){return/[\r\n]/g.test(S)}function be(S){var j=S.length;return j&&i.code.isLineTerminator(S.charCodeAt(j-1))}function Ee(S,j){var F;for(F in j)j.hasOwnProperty(F)&&(S[F]=j[F]);return S}function xe(S,j){var F,D;function V(ie){return typeof ie=="object"&&ie instanceof Object&&!(ie instanceof RegExp)}for(F in j)j.hasOwnProperty(F)&&(D=j[F],V(D)?V(S[F])?xe(S[F],D):S[F]=xe({},D):S[F]=D);return S}function Se(S){var j,F,D,V,ie;if(S!==S)throw new Error("Numeric literal whose value is NaN");if(S<0||S===0&&1/S<0)throw new Error("Numeric literal whose value is negative");if(S===1/0)return c?"null":p?"1e400":"1e+400";if(j=""+S,!p||j.length<3)return j;for(F=j.indexOf("."),!c&&j.charCodeAt(0)===48&&F===1&&(F=0,j=j.slice(1)),D=j,j=j.replace("e+","e"),V=0,(ie=D.indexOf("e"))>0&&(V=+D.slice(ie+1),D=D.slice(0,ie)),F>=0&&(V-=D.length-F-1,D=+(D.slice(0,F)+D.slice(F+1))+""),ie=0;D.charCodeAt(D.length+ie-1)===48;)--ie;return ie!==0&&(V-=ie,D=D.slice(0,ie)),V!==0&&(D+="e"+V),(D.length<j.length||d&&S>1e12&&Math.floor(S)===S&&(D="0x"+S.toString(16)).length<j.length)&&+D===S&&(j=D),j}function ze(S,j){return(S&-2)===8232?(j?"u":"\\u")+(S===8232?"2028":"2029"):S===10||S===13?(j?"":"\\")+(S===10?"n":"r"):String.fromCharCode(S)}function ct(S){var j,F,D,V,ie,le,ue,ye;if(F=S.toString(),S.source){if(j=F.match(/\/([^/]*)$/),!j)return F;for(D=j[1],F="",ue=!1,ye=!1,V=0,ie=S.source.length;V<ie;++V)le=S.source.charCodeAt(V),ye?(F+=ze(le,ye),ye=!1):(ue?le===93&&(ue=!1):le===47?F+="\\":le===91&&(ue=!0),F+=ze(le,ye),ye=le===92);return"/"+F+"/"+D}return F}function It(S,j){var F;return S===8?"\\b":S===12?"\\f":S===9?"\\t":(F=S.toString(16).toUpperCase(),c||S>255?"\\u"+"0000".slice(F.length)+F:S===0&&!i.code.isDecimalDigit(j)?"\\0":S===11?"\\x0B":"\\x"+"00".slice(F.length)+F)}function Zt(S){if(S===92)return"\\\\";if(S===10)return"\\n";if(S===13)return"\\r";if(S===8232)return"\\u2028";if(S===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Ot(S){var j,F,D,V;for(V=h==="double"?'"':"'",j=0,F=S.length;j<F;++j)if(D=S.charCodeAt(j),D===39){V='"';break}else if(D===34){V="'";break}else D===92&&++j;return V+S+V}function Yt(S){var j="",F,D,V,ie=0,le=0,ue,ye;for(F=0,D=S.length;F<D;++F){if(V=S.charCodeAt(F),V===39)++ie;else if(V===34)++le;else if(V===47&&c)j+="\\";else if(i.code.isLineTerminator(V)||V===92){j+=Zt(V);continue}else if(!i.code.isIdentifierPartES5(V)&&(c&&V<32||!c&&!f&&(V<32||V>126))){j+=It(V,S.charCodeAt(F+1));continue}j+=String.fromCharCode(V)}if(ue=!(h==="double"||h==="auto"&&le<ie),ye=ue?"'":'"',!(ue?ie:le))return ye+j+ye;for(S=j,j=ye,F=0,D=S.length;F<D;++F)V=S.charCodeAt(F),(V===39&&ue||V===34&&!ue)&&(j+="\\"),j+=String.fromCharCode(V);return j+ye}function Mt(S){var j,F,D,V="";for(j=0,F=S.length;j<F;++j)D=S[j],V+=Array.isArray(D)?Mt(D):D;return V}function Te(S,j){if(!w)return Array.isArray(S)?Mt(S):S;if(j==null){if(S instanceof a)return S;j={}}return j.loc==null?new a(null,null,w,S,j.name||null):new a(j.loc.start.line,j.loc.start.column,w===!0?j.loc.source||null:w,S,j.name||null)}function pt(){return y||" "}function Ae(S,j){var F,D,V,ie;return F=Te(S).toString(),F.length===0?[j]:(D=Te(j).toString(),D.length===0?[S]:(V=F.charCodeAt(F.length-1),ie=D.charCodeAt(0),(V===43||V===45)&&V===ie||i.code.isIdentifierPartES5(V)&&i.code.isIdentifierPartES5(ie)||V===47&&ie===105?[S,pt(),j]:i.code.isWhiteSpace(V)||i.code.isLineTerminator(V)||i.code.isWhiteSpace(ie)||i.code.isLineTerminator(ie)?[S,j]:[S,y,j]))}function dt(S){return[l,S]}function et(S){var j;j=l,l+=u,S(l),l=j}function sa(S){var j;for(j=S.length-1;j>=0&&!i.code.isLineTerminator(S.charCodeAt(j));--j);return S.length-1-j}function la(S,j){var F,D,V,ie,le,ue,ye,je;for(F=S.split(/\r\n|[\r\n]/),ue=Number.MAX_VALUE,D=1,V=F.length;D<V;++D){for(ie=F[D],le=0;le<ie.length&&i.code.isWhiteSpace(ie.charCodeAt(le));)++le;ue>le&&(ue=le)}for(typeof j<"u"?(ye=l,F[1][ue]==="*"&&(j+=" "),l=j):(ue&1&&--ue,ye=l),D=1,V=F.length;D<V;++D)je=Te(dt(F[D].slice(ue))),F[D]=w?je.join(""):je;return l=ye,F.join(`
1096
+ `)}function Lt(S,j){if(S.type==="Line"){if(be(S.value))return"//"+S.value;var F="//"+S.value;return C||(F+=`
1097
+ `),F}return x.format.indent.adjustMultilineComment&&/[\n\r]/.test(S.value)?la("/*"+S.value+"*/",j):"/*"+S.value+"*/"}function In(S,j){var F,D,V,ie,le,ue,ye,je,bt,$t,cn,ca,Ys,or;if(S.leadingComments&&S.leadingComments.length>0){if(ie=j,C){for(V=S.leadingComments[0],j=[],je=V.extendedRange,bt=V.range,cn=E.substring(je[0],bt[0]),or=(cn.match(/\n/g)||[]).length,or>0?(j.push(ce(`
1098
+ `,or)),j.push(dt(Lt(V)))):(j.push(cn),j.push(Lt(V))),$t=bt,F=1,D=S.leadingComments.length;F<D;F++)V=S.leadingComments[F],bt=V.range,ca=E.substring($t[1],bt[0]),or=(ca.match(/\n/g)||[]).length,j.push(ce(`
1099
+ `,or)),j.push(dt(Lt(V))),$t=bt;Ys=E.substring(bt[1],je[1]),or=(Ys.match(/\n/g)||[]).length,j.push(ce(`
1100
+ `,or))}else for(V=S.leadingComments[0],j=[],v&&S.type===t.Program&&S.body.length===0&&j.push(`
1101
+ `),j.push(Lt(V)),be(Te(j).toString())||j.push(`
1102
+ `),F=1,D=S.leadingComments.length;F<D;++F)V=S.leadingComments[F],ye=[Lt(V)],be(Te(ye).toString())||ye.push(`
1103
+ `),j.push(dt(ye));j.push(dt(ie))}if(S.trailingComments)if(C)V=S.trailingComments[0],je=V.extendedRange,bt=V.range,cn=E.substring(je[0],bt[0]),or=(cn.match(/\n/g)||[]).length,or>0?(j.push(ce(`
1104
+ `,or)),j.push(dt(Lt(V)))):(j.push(cn),j.push(Lt(V)));else for(le=!be(Te(j).toString()),ue=ce(" ",sa(Te([l,j,u]).toString())),F=0,D=S.trailingComments.length;F<D;++F)V=S.trailingComments[F],le?(F===0?j=[j,u]:j=[j,ue],j.push(Lt(V,ue))):j=[j,dt(Lt(V))],F!==D-1&&!be(Te(j).toString())&&(j=[j,`
1105
+ `]);return j}function br(S,j,F){var D,V=0;for(D=S;D<j;D++)E[D]===`
1106
+ `&&V++;for(D=1;D<V;D++)F.push(m)}function nt(S,j,F){return j<F?["(",S,")"]:S}function kn(S){var j,F,D;for(D=S.split(/\r\n|\n/),j=1,F=D.length;j<F;j++)D[j]=m+l+D[j];return D}function ua(S,j){var F,D,V;return F=S[x.verbatim],typeof F=="string"?D=nt(kn(F),r.Sequence,j):(D=kn(F.content),V=F.precedence!=null?F.precedence:r.Sequence,D=nt(D,V,j)),Te(D,S)}function tt(){}tt.prototype.maybeBlock=function(S,j){var F,D,V=this;return D=!x.comment||!S.leadingComments,S.type===t.BlockStatement&&D?[y,this.generateStatement(S,j)]:S.type===t.EmptyStatement&&D?";":(et(function(){F=[m,dt(V.generateStatement(S,j))]}),F)},tt.prototype.maybeBlockSuffix=function(S,j){var F=be(Te(j).toString());return S.type===t.BlockStatement&&(!x.comment||!S.leadingComments)&&!F?[j,y]:F?[j,l]:[j,m,l]};function _t(S){return Te(S.name,S)}function Dr(S,j){return S.async?"async"+(j?pt():y):""}function Ur(S){var j=S.generator&&!x.moz.starlessGenerator;return j?"*"+y:""}function Vr(S){var j=S.value,F="";return j.async&&(F+=Dr(j,!S.computed)),j.generator&&(F+=Ur(j)?"*":""),F}tt.prototype.generatePattern=function(S,j,F){return S.type===t.Identifier?_t(S):this.generateExpression(S,j,F)},tt.prototype.generateFunctionParams=function(S){var j,F,D,V;if(V=!1,S.type===t.ArrowFunctionExpression&&!S.rest&&(!S.defaults||S.defaults.length===0)&&S.params.length===1&&S.params[0].type===t.Identifier)D=[Dr(S,!0),_t(S.params[0])];else{for(D=S.type===t.ArrowFunctionExpression?[Dr(S,!1)]:[],D.push("("),S.defaults&&(V=!0),j=0,F=S.params.length;j<F;++j)V&&S.defaults[j]?D.push(this.generateAssignment(S.params[j],S.defaults[j],"=",r.Assignment,U)):D.push(this.generatePattern(S.params[j],r.Assignment,U)),j+1<F&&D.push(","+y);S.rest&&(S.params.length&&D.push(","+y),D.push("..."),D.push(_t(S.rest))),D.push(")")}return D},tt.prototype.generateFunctionBody=function(S){var j,F;return j=this.generateFunctionParams(S),S.type===t.ArrowFunctionExpression&&(j.push(y),j.push("=>")),S.expression?(j.push(y),F=this.generateExpression(S.body,r.Assignment,U),F.toString().charAt(0)==="{"&&(F=["(",F,")"]),j.push(F)):j.push(this.maybeBlock(S.body,rt)),j},tt.prototype.generateIterationForStatement=function(S,j,F){var D=["for"+(j.await?pt()+"await":"")+y+"("],V=this;return et(function(){j.left.type===t.VariableDeclaration?et(function(){D.push(j.left.kind+pt()),D.push(V.generateStatement(j.left.declarations[0],de))}):D.push(V.generateExpression(j.left,r.Call,U)),D=Ae(D,S),D=[Ae(D,V.generateExpression(j.right,r.Assignment,U)),")"]}),D.push(this.maybeBlock(j.body,F)),D},tt.prototype.generatePropertyKey=function(S,j){var F=[];return j&&F.push("["),F.push(this.generateExpression(S,r.Assignment,U)),j&&F.push("]"),F},tt.prototype.generateAssignment=function(S,j,F,D,V){return r.Assignment<D&&(V|=Y),nt([this.generateExpression(S,r.Call,V),y+F+y,this.generateExpression(j,r.Assignment,V)],r.Assignment,D)},tt.prototype.semicolon=function(S){return!b&&S&Q?"":";"},tt.Statement={BlockStatement:function(S,j){var F,D,V=["{",m],ie=this;return et(function(){S.body.length===0&&C&&(F=S.range,F[1]-F[0]>2&&(D=E.substring(F[0]+1,F[1]-1),D[0]===`
1107
+ `&&(V=["{"]),V.push(D)));var le,ue,ye,je;for(je=te,j&B&&(je|=K),le=0,ue=S.body.length;le<ue;++le)C&&(le===0&&(S.body[0].leadingComments&&(F=S.body[0].leadingComments[0].extendedRange,D=E.substring(F[0],F[1]),D[0]===`
1108
+ `&&(V=["{"])),S.body[0].leadingComments||br(S.range[0],S.body[0].range[0],V)),le>0&&!S.body[le-1].trailingComments&&!S.body[le].leadingComments&&br(S.body[le-1].range[1],S.body[le].range[0],V)),le===ue-1&&(je|=Q),S.body[le].leadingComments&&C?ye=ie.generateStatement(S.body[le],je):ye=dt(ie.generateStatement(S.body[le],je)),V.push(ye),be(Te(ye).toString())||C&&le<ue-1&&S.body[le+1].leadingComments||V.push(m),C&&le===ue-1&&(S.body[le].trailingComments||br(S.body[le].range[1],S.range[1],V))}),V.push(dt("}")),V},BreakStatement:function(S,j){return S.label?"break "+S.label.name+this.semicolon(j):"break"+this.semicolon(j)},ContinueStatement:function(S,j){return S.label?"continue "+S.label.name+this.semicolon(j):"continue"+this.semicolon(j)},ClassBody:function(S,j){var F=["{",m],D=this;return et(function(V){var ie,le;for(ie=0,le=S.body.length;ie<le;++ie)F.push(V),F.push(D.generateExpression(S.body[ie],r.Sequence,U)),ie+1<le&&F.push(m)}),be(Te(F).toString())||F.push(m),F.push(l),F.push("}"),F},ClassDeclaration:function(S,j){var F,D;return F=["class"],S.id&&(F=Ae(F,this.generateExpression(S.id,r.Sequence,U))),S.superClass&&(D=Ae("extends",this.generateExpression(S.superClass,r.Unary,U)),F=Ae(F,D)),F.push(y),F.push(this.generateStatement(S.body,pe)),F},DirectiveStatement:function(S,j){return x.raw&&S.raw?S.raw+this.semicolon(j):Ot(S.directive)+this.semicolon(j)},DoWhileStatement:function(S,j){var F=Ae("do",this.maybeBlock(S.body,te));return F=this.maybeBlockSuffix(S.body,F),Ae(F,["while"+y+"(",this.generateExpression(S.test,r.Sequence,U),")"+this.semicolon(j)])},CatchClause:function(S,j){var F,D=this;return et(function(){var V;S.param?(F=["catch"+y+"(",D.generateExpression(S.param,r.Sequence,U),")"],S.guard&&(V=D.generateExpression(S.guard,r.Sequence,U),F.splice(2,0," if ",V))):F=["catch"]}),F.push(this.maybeBlock(S.body,te)),F},DebuggerStatement:function(S,j){return"debugger"+this.semicolon(j)},EmptyStatement:function(S,j){return";"},ExportDefaultDeclaration:function(S,j){var F=["export"],D;return D=j&Q?pe:te,F=Ae(F,"default"),G(S.declaration)?F=Ae(F,this.generateStatement(S.declaration,D)):F=Ae(F,this.generateExpression(S.declaration,r.Assignment,U)+this.semicolon(j)),F},ExportNamedDeclaration:function(S,j){var F=["export"],D,V=this;return D=j&Q?pe:te,S.declaration?Ae(F,this.generateStatement(S.declaration,D)):(S.specifiers&&(S.specifiers.length===0?F=Ae(F,"{"+y+"}"):S.specifiers[0].type===t.ExportBatchSpecifier?F=Ae(F,this.generateExpression(S.specifiers[0],r.Sequence,U)):(F=Ae(F,"{"),et(function(ie){var le,ue;for(F.push(m),le=0,ue=S.specifiers.length;le<ue;++le)F.push(ie),F.push(V.generateExpression(S.specifiers[le],r.Sequence,U)),le+1<ue&&F.push(","+m)}),be(Te(F).toString())||F.push(m),F.push(l+"}")),S.source?F=Ae(F,["from"+y,this.generateExpression(S.source,r.Sequence,U),this.semicolon(j)]):F.push(this.semicolon(j))),F)},ExportAllDeclaration:function(S,j){return["export"+y,"*"+y,"from"+y,this.generateExpression(S.source,r.Sequence,U),this.semicolon(j)]},ExpressionStatement:function(S,j){var F,D;function V(ue){var ye;return ue.slice(0,5)!=="class"?!1:(ye=ue.charCodeAt(5),ye===123||i.code.isWhiteSpace(ye)||i.code.isLineTerminator(ye))}function ie(ue){var ye;return ue.slice(0,8)!=="function"?!1:(ye=ue.charCodeAt(8),ye===40||i.code.isWhiteSpace(ye)||ye===42||i.code.isLineTerminator(ye))}function le(ue){var ye,je,bt;if(ue.slice(0,5)!=="async"||!i.code.isWhiteSpace(ue.charCodeAt(5)))return!1;for(je=6,bt=ue.length;je<bt&&i.code.isWhiteSpace(ue.charCodeAt(je));++je);return je===bt||ue.slice(je,je+8)!=="function"?!1:(ye=ue.charCodeAt(je+8),ye===40||i.code.isWhiteSpace(ye)||ye===42||i.code.isLineTerminator(ye))}return F=[this.generateExpression(S.expression,r.Sequence,U)],D=Te(F).toString(),D.charCodeAt(0)===123||V(D)||ie(D)||le(D)||T&&j&K&&S.expression.type===t.Literal&&typeof S.expression.value=="string"?F=["(",F,")"+this.semicolon(j)]:F.push(this.semicolon(j)),F},ImportDeclaration:function(S,j){var F,D,V=this;return S.specifiers.length===0?["import",y,this.generateExpression(S.source,r.Sequence,U),this.semicolon(j)]:(F=["import"],D=0,S.specifiers[D].type===t.ImportDefaultSpecifier&&(F=Ae(F,[this.generateExpression(S.specifiers[D],r.Sequence,U)]),++D),S.specifiers[D]&&(D!==0&&F.push(","),S.specifiers[D].type===t.ImportNamespaceSpecifier?F=Ae(F,[y,this.generateExpression(S.specifiers[D],r.Sequence,U)]):(F.push(y+"{"),S.specifiers.length-D===1?(F.push(y),F.push(this.generateExpression(S.specifiers[D],r.Sequence,U)),F.push(y+"}"+y)):(et(function(ie){var le,ue;for(F.push(m),le=D,ue=S.specifiers.length;le<ue;++le)F.push(ie),F.push(V.generateExpression(S.specifiers[le],r.Sequence,U)),le+1<ue&&F.push(","+m)}),be(Te(F).toString())||F.push(m),F.push(l+"}"+y)))),F=Ae(F,["from"+y,this.generateExpression(S.source,r.Sequence,U),this.semicolon(j)]),F)},VariableDeclarator:function(S,j){var F=j&Y?U:$;return S.init?[this.generateExpression(S.id,r.Assignment,F),y,"=",y,this.generateExpression(S.init,r.Assignment,F)]:this.generatePattern(S.id,r.Assignment,F)},VariableDeclaration:function(S,j){var F,D,V,ie,le,ue=this;F=[S.kind],le=j&Y?te:de;function ye(){for(ie=S.declarations[0],x.comment&&ie.leadingComments?(F.push(`
1109
+ `),F.push(dt(ue.generateStatement(ie,le)))):(F.push(pt()),F.push(ue.generateStatement(ie,le))),D=1,V=S.declarations.length;D<V;++D)ie=S.declarations[D],x.comment&&ie.leadingComments?(F.push(","+m),F.push(dt(ue.generateStatement(ie,le)))):(F.push(","+y),F.push(ue.generateStatement(ie,le)))}return S.declarations.length>1?et(ye):ye(),F.push(this.semicolon(j)),F},ThrowStatement:function(S,j){return[Ae("throw",this.generateExpression(S.argument,r.Sequence,U)),this.semicolon(j)]},TryStatement:function(S,j){var F,D,V,ie;if(F=["try",this.maybeBlock(S.block,te)],F=this.maybeBlockSuffix(S.block,F),S.handlers)for(D=0,V=S.handlers.length;D<V;++D)F=Ae(F,this.generateStatement(S.handlers[D],te)),(S.finalizer||D+1!==V)&&(F=this.maybeBlockSuffix(S.handlers[D].body,F));else{for(ie=S.guardedHandlers||[],D=0,V=ie.length;D<V;++D)F=Ae(F,this.generateStatement(ie[D],te)),(S.finalizer||D+1!==V)&&(F=this.maybeBlockSuffix(ie[D].body,F));if(S.handler)if(Array.isArray(S.handler))for(D=0,V=S.handler.length;D<V;++D)F=Ae(F,this.generateStatement(S.handler[D],te)),(S.finalizer||D+1!==V)&&(F=this.maybeBlockSuffix(S.handler[D].body,F));else F=Ae(F,this.generateStatement(S.handler,te)),S.finalizer&&(F=this.maybeBlockSuffix(S.handler.body,F))}return S.finalizer&&(F=Ae(F,["finally",this.maybeBlock(S.finalizer,te)])),F},SwitchStatement:function(S,j){var F,D,V,ie,le,ue=this;if(et(function(){F=["switch"+y+"(",ue.generateExpression(S.discriminant,r.Sequence,U),")"+y+"{"+m]}),S.cases)for(le=te,V=0,ie=S.cases.length;V<ie;++V)V===ie-1&&(le|=Q),D=dt(this.generateStatement(S.cases[V],le)),F.push(D),be(Te(D).toString())||F.push(m);return F.push(dt("}")),F},SwitchCase:function(S,j){var F,D,V,ie,le,ue=this;return et(function(){for(S.test?F=[Ae("case",ue.generateExpression(S.test,r.Sequence,U)),":"]:F=["default:"],V=0,ie=S.consequent.length,ie&&S.consequent[0].type===t.BlockStatement&&(D=ue.maybeBlock(S.consequent[0],te),F.push(D),V=1),V!==ie&&!be(Te(F).toString())&&F.push(m),le=te;V<ie;++V)V===ie-1&&j&Q&&(le|=Q),D=dt(ue.generateStatement(S.consequent[V],le)),F.push(D),V+1!==ie&&!be(Te(D).toString())&&F.push(m)}),F},IfStatement:function(S,j){var F,D,V,ie=this;return et(function(){F=["if"+y+"(",ie.generateExpression(S.test,r.Sequence,U),")"]}),V=j&Q,D=te,V&&(D|=Q),S.alternate?(F.push(this.maybeBlock(S.consequent,te)),F=this.maybeBlockSuffix(S.consequent,F),S.alternate.type===t.IfStatement?F=Ae(F,["else ",this.generateStatement(S.alternate,D)]):F=Ae(F,Ae("else",this.maybeBlock(S.alternate,D)))):F.push(this.maybeBlock(S.consequent,D)),F},ForStatement:function(S,j){var F,D=this;return et(function(){F=["for"+y+"("],S.init?S.init.type===t.VariableDeclaration?F.push(D.generateStatement(S.init,de)):(F.push(D.generateExpression(S.init,r.Sequence,$)),F.push(";")):F.push(";"),S.test&&(F.push(y),F.push(D.generateExpression(S.test,r.Sequence,U))),F.push(";"),S.update&&(F.push(y),F.push(D.generateExpression(S.update,r.Sequence,U))),F.push(")")}),F.push(this.maybeBlock(S.body,j&Q?pe:te)),F},ForInStatement:function(S,j){return this.generateIterationForStatement("in",S,j&Q?pe:te)},ForOfStatement:function(S,j){return this.generateIterationForStatement("of",S,j&Q?pe:te)},LabeledStatement:function(S,j){return[S.label.name+":",this.maybeBlock(S.body,j&Q?pe:te)]},Program:function(S,j){var F,D,V,ie,le;for(ie=S.body.length,F=[v&&ie>0?`
1110
+ `:""],le=We,V=0;V<ie;++V)!v&&V===ie-1&&(le|=Q),C&&(V===0&&(S.body[0].leadingComments||br(S.range[0],S.body[V].range[0],F)),V>0&&!S.body[V-1].trailingComments&&!S.body[V].leadingComments&&br(S.body[V-1].range[1],S.body[V].range[0],F)),D=dt(this.generateStatement(S.body[V],le)),F.push(D),V+1<ie&&!be(Te(D).toString())&&(C&&S.body[V+1].leadingComments||F.push(m)),C&&V===ie-1&&(S.body[V].trailingComments||br(S.body[V].range[1],S.range[1],F));return F},FunctionDeclaration:function(S,j){return[Dr(S,!0),"function",Ur(S)||pt(),S.id?_t(S.id):"",this.generateFunctionBody(S)]},ReturnStatement:function(S,j){return S.argument?[Ae("return",this.generateExpression(S.argument,r.Sequence,U)),this.semicolon(j)]:["return"+this.semicolon(j)]},WhileStatement:function(S,j){var F,D=this;return et(function(){F=["while"+y+"(",D.generateExpression(S.test,r.Sequence,U),")"]}),F.push(this.maybeBlock(S.body,j&Q?pe:te)),F},WithStatement:function(S,j){var F,D=this;return et(function(){F=["with"+y+"(",D.generateExpression(S.object,r.Sequence,U),")"]}),F.push(this.maybeBlock(S.body,j&Q?pe:te)),F}},Ee(tt.prototype,tt.Statement),tt.Expression={SequenceExpression:function(S,j,F){var D,V,ie;for(r.Sequence<j&&(F|=Y),D=[],V=0,ie=S.expressions.length;V<ie;++V)D.push(this.generateExpression(S.expressions[V],r.Assignment,F)),V+1<ie&&D.push(","+y);return nt(D,r.Sequence,j)},AssignmentExpression:function(S,j,F){return this.generateAssignment(S.left,S.right,S.operator,j,F)},ArrowFunctionExpression:function(S,j,F){return nt(this.generateFunctionBody(S),r.ArrowFunction,j)},ConditionalExpression:function(S,j,F){return r.Conditional<j&&(F|=Y),nt([this.generateExpression(S.test,r.Coalesce,F),y+"?"+y,this.generateExpression(S.consequent,r.Assignment,F),y+":"+y,this.generateExpression(S.alternate,r.Assignment,F)],r.Conditional,j)},LogicalExpression:function(S,j,F){return S.operator==="??"&&(F|=ne),this.BinaryExpression(S,j,F)},BinaryExpression:function(S,j,F){var D,V,ie,le,ue,ye;return le=n[S.operator],V=S.operator==="**"?r.Postfix:le,ie=S.operator==="**"?le:le+1,le<j&&(F|=Y),ue=this.generateExpression(S.left,V,F),ye=ue.toString(),ye.charCodeAt(ye.length-1)===47&&i.code.isIdentifierPartES5(S.operator.charCodeAt(0))?D=[ue,pt(),S.operator]:D=Ae(ue,S.operator),ue=this.generateExpression(S.right,ie,F),S.operator==="/"&&ue.toString().charAt(0)==="/"||S.operator.slice(-1)==="<"&&ue.toString().slice(0,3)==="!--"?(D.push(pt()),D.push(ue)):D=Ae(D,ue),S.operator==="in"&&!(F&Y)?["(",D,")"]:(S.operator==="||"||S.operator==="&&")&&F&ne?["(",D,")"]:nt(D,le,j)},CallExpression:function(S,j,F){var D,V,ie;for(D=[this.generateExpression(S.callee,r.Call,J)],S.optional&&D.push("?."),D.push("("),V=0,ie=S.arguments.length;V<ie;++V)D.push(this.generateExpression(S.arguments[V],r.Assignment,U)),V+1<ie&&D.push(","+y);return D.push(")"),F&O?nt(D,r.Call,j):["(",D,")"]},ChainExpression:function(S,j,F){r.OptionalChaining<j&&(F|=O);var D=this.generateExpression(S.expression,r.OptionalChaining,F);return nt(D,r.OptionalChaining,j)},NewExpression:function(S,j,F){var D,V,ie,le,ue;if(V=S.arguments.length,ue=F&q&&!g&&V===0?se:X,D=Ae("new",this.generateExpression(S.callee,r.New,ue)),!(F&q)||g||V>0){for(D.push("("),ie=0,le=V;ie<le;++ie)D.push(this.generateExpression(S.arguments[ie],r.Assignment,U)),ie+1<le&&D.push(","+y);D.push(")")}return nt(D,r.New,j)},MemberExpression:function(S,j,F){var D,V;return D=[this.generateExpression(S.object,r.Call,F&O?J:X)],S.computed?(S.optional&&D.push("?."),D.push("["),D.push(this.generateExpression(S.property,r.Sequence,F&O?U:se)),D.push("]")):(!S.optional&&S.object.type===t.Literal&&typeof S.object.value=="number"&&(V=Te(D).toString(),V.indexOf(".")<0&&!/[eExX]/.test(V)&&i.code.isDecimalDigit(V.charCodeAt(V.length-1))&&!(V.length>=2&&V.charCodeAt(0)===48)&&D.push(" ")),D.push(S.optional?"?.":"."),D.push(_t(S.property))),nt(D,r.Member,j)},MetaProperty:function(S,j,F){var D;return D=[],D.push(typeof S.meta=="string"?S.meta:_t(S.meta)),D.push("."),D.push(typeof S.property=="string"?S.property:_t(S.property)),nt(D,r.Member,j)},UnaryExpression:function(S,j,F){var D,V,ie,le,ue;return V=this.generateExpression(S.argument,r.Unary,U),y===""?D=Ae(S.operator,V):(D=[S.operator],S.operator.length>2?D=Ae(D,V):(le=Te(D).toString(),ue=le.charCodeAt(le.length-1),ie=V.toString().charCodeAt(0),((ue===43||ue===45)&&ue===ie||i.code.isIdentifierPartES5(ue)&&i.code.isIdentifierPartES5(ie))&&D.push(pt()),D.push(V))),nt(D,r.Unary,j)},YieldExpression:function(S,j,F){var D;return S.delegate?D="yield*":D="yield",S.argument&&(D=Ae(D,this.generateExpression(S.argument,r.Yield,U))),nt(D,r.Yield,j)},AwaitExpression:function(S,j,F){var D=Ae(S.all?"await*":"await",this.generateExpression(S.argument,r.Await,U));return nt(D,r.Await,j)},UpdateExpression:function(S,j,F){return S.prefix?nt([S.operator,this.generateExpression(S.argument,r.Unary,U)],r.Unary,j):nt([this.generateExpression(S.argument,r.Postfix,U),S.operator],r.Postfix,j)},FunctionExpression:function(S,j,F){var D=[Dr(S,!0),"function"];return S.id?(D.push(Ur(S)||pt()),D.push(_t(S.id))):D.push(Ur(S)||y),D.push(this.generateFunctionBody(S)),D},ArrayPattern:function(S,j,F){return this.ArrayExpression(S,j,F,!0)},ArrayExpression:function(S,j,F,D){var V,ie,le=this;return S.elements.length?(ie=D?!1:S.elements.length>1,V=["[",ie?m:""],et(function(ue){var ye,je;for(ye=0,je=S.elements.length;ye<je;++ye)S.elements[ye]?(V.push(ie?ue:""),V.push(le.generateExpression(S.elements[ye],r.Assignment,U))):(ie&&V.push(ue),ye+1===je&&V.push(",")),ye+1<je&&V.push(","+(ie?m:y))}),ie&&!be(Te(V).toString())&&V.push(m),V.push(ie?l:""),V.push("]"),V):"[]"},RestElement:function(S,j,F){return"..."+this.generatePattern(S.argument)},ClassExpression:function(S,j,F){var D,V;return D=["class"],S.id&&(D=Ae(D,this.generateExpression(S.id,r.Sequence,U))),S.superClass&&(V=Ae("extends",this.generateExpression(S.superClass,r.Unary,U)),D=Ae(D,V)),D.push(y),D.push(this.generateStatement(S.body,pe)),D},MethodDefinition:function(S,j,F){var D,V;return S.static?D=["static"+y]:D=[],S.kind==="get"||S.kind==="set"?V=[Ae(S.kind,this.generatePropertyKey(S.key,S.computed)),this.generateFunctionBody(S.value)]:V=[Vr(S),this.generatePropertyKey(S.key,S.computed),this.generateFunctionBody(S.value)],Ae(D,V)},Property:function(S,j,F){return S.kind==="get"||S.kind==="set"?[S.kind,pt(),this.generatePropertyKey(S.key,S.computed),this.generateFunctionBody(S.value)]:S.shorthand?S.value.type==="AssignmentPattern"?this.AssignmentPattern(S.value,r.Sequence,U):this.generatePropertyKey(S.key,S.computed):S.method?[Vr(S),this.generatePropertyKey(S.key,S.computed),this.generateFunctionBody(S.value)]:[this.generatePropertyKey(S.key,S.computed),":"+y,this.generateExpression(S.value,r.Assignment,U)]},ObjectExpression:function(S,j,F){var D,V,ie,le=this;return S.properties.length?(D=S.properties.length>1,et(function(){ie=le.generateExpression(S.properties[0],r.Sequence,U)}),!D&&!ge(Te(ie).toString())?["{",y,ie,y,"}"]:(et(function(ue){var ye,je;if(V=["{",m,ue,ie],D)for(V.push(","+m),ye=1,je=S.properties.length;ye<je;++ye)V.push(ue),V.push(le.generateExpression(S.properties[ye],r.Sequence,U)),ye+1<je&&V.push(","+m)}),be(Te(V).toString())||V.push(m),V.push(l),V.push("}"),V)):"{}"},AssignmentPattern:function(S,j,F){return this.generateAssignment(S.left,S.right,"=",j,F)},ObjectPattern:function(S,j,F){var D,V,ie,le,ue,ye=this;if(!S.properties.length)return"{}";if(le=!1,S.properties.length===1)ue=S.properties[0],ue.type===t.Property&&ue.value.type!==t.Identifier&&(le=!0);else for(V=0,ie=S.properties.length;V<ie;++V)if(ue=S.properties[V],ue.type===t.Property&&!ue.shorthand){le=!0;break}return D=["{",le?m:""],et(function(je){var bt,$t;for(bt=0,$t=S.properties.length;bt<$t;++bt)D.push(le?je:""),D.push(ye.generateExpression(S.properties[bt],r.Sequence,U)),bt+1<$t&&D.push(","+(le?m:y))}),le&&!be(Te(D).toString())&&D.push(m),D.push(le?l:""),D.push("}"),D},ThisExpression:function(S,j,F){return"this"},Super:function(S,j,F){return"super"},Identifier:function(S,j,F){return _t(S)},ImportDefaultSpecifier:function(S,j,F){return _t(S.id||S.local)},ImportNamespaceSpecifier:function(S,j,F){var D=["*"],V=S.id||S.local;return V&&D.push(y+"as"+pt()+_t(V)),D},ImportSpecifier:function(S,j,F){var D=S.imported,V=[D.name],ie=S.local;return ie&&ie.name!==D.name&&V.push(pt()+"as"+pt()+_t(ie)),V},ExportSpecifier:function(S,j,F){var D=S.local,V=[D.name],ie=S.exported;return ie&&ie.name!==D.name&&V.push(pt()+"as"+pt()+_t(ie)),V},Literal:function(S,j,F){var D;if(S.hasOwnProperty("raw")&&_&&x.raw)try{if(D=_(S.raw).body[0].expression,D.type===t.Literal&&D.value===S.value)return S.raw}catch{}return S.regex?"/"+S.regex.pattern+"/"+S.regex.flags:typeof S.value=="bigint"?S.value.toString()+"n":S.bigint?S.bigint+"n":S.value===null?"null":typeof S.value=="string"?Yt(S.value):typeof S.value=="number"?Se(S.value):typeof S.value=="boolean"?S.value?"true":"false":ct(S.value)},GeneratorExpression:function(S,j,F){return this.ComprehensionExpression(S,j,F)},ComprehensionExpression:function(S,j,F){var D,V,ie,le,ue=this;return D=S.type===t.GeneratorExpression?["("]:["["],x.moz.comprehensionExpressionStartsWithAssignment&&(le=this.generateExpression(S.body,r.Assignment,U),D.push(le)),S.blocks&&et(function(){for(V=0,ie=S.blocks.length;V<ie;++V)le=ue.generateExpression(S.blocks[V],r.Sequence,U),V>0||x.moz.comprehensionExpressionStartsWithAssignment?D=Ae(D,le):D.push(le)}),S.filter&&(D=Ae(D,"if"+y),le=this.generateExpression(S.filter,r.Sequence,U),D=Ae(D,["(",le,")"])),x.moz.comprehensionExpressionStartsWithAssignment||(le=this.generateExpression(S.body,r.Assignment,U),D=Ae(D,le)),D.push(S.type===t.GeneratorExpression?")":"]"),D},ComprehensionBlock:function(S,j,F){var D;return S.left.type===t.VariableDeclaration?D=[S.left.kind,pt(),this.generateStatement(S.left.declarations[0],de)]:D=this.generateExpression(S.left,r.Call,U),D=Ae(D,S.of?"of":"in"),D=Ae(D,this.generateExpression(S.right,r.Sequence,U)),["for"+y+"(",D,")"]},SpreadElement:function(S,j,F){return["...",this.generateExpression(S.argument,r.Assignment,U)]},TaggedTemplateExpression:function(S,j,F){var D=J;F&O||(D=X);var V=[this.generateExpression(S.tag,r.Call,D),this.generateExpression(S.quasi,r.Primary,ee)];return nt(V,r.TaggedTemplate,j)},TemplateElement:function(S,j,F){return S.value.raw},TemplateLiteral:function(S,j,F){var D,V,ie;for(D=["`"],V=0,ie=S.quasis.length;V<ie;++V)D.push(this.generateExpression(S.quasis[V],r.Primary,U)),V+1<ie&&(D.push("${"+y),D.push(this.generateExpression(S.expressions[V],r.Sequence,U)),D.push(y+"}"));return D.push("`"),D},ModuleSpecifier:function(S,j,F){return this.Literal(S,j,F)},ImportExpression:function(S,j,F){return nt(["import(",this.generateExpression(S.source,r.Assignment,U),")"],r.Call,j)}},Ee(tt.prototype,tt.Expression),tt.prototype.generateExpression=function(S,j,F){var D,V;return V=S.type||t.Property,x.verbatim&&S.hasOwnProperty(x.verbatim)?ua(S,j):(D=this[V](S,j,F),x.comment&&(D=In(S,D)),Te(D,S))},tt.prototype.generateStatement=function(S,j){var F,D;return F=this[S.type](S,j),x.comment&&(F=In(S,F)),D=Te(F).toString(),S.type===t.Program&&!v&&m===""&&D.charAt(D.length-1)===`
1111
+ `&&(F=w?Te(F).replaceRight(/\s+$/,""):D.replace(/\s+$/,"")),Te(F,S)};function Nn(S){var j;if(j=new tt,G(S))return j.generateStatement(S,te);if(N(S))return j.generateExpression(S,r.Sequence,U);throw new Error("Unknown node type: "+S.type)}function vr(S,j){var F=Z(),D,V;return j!=null?(typeof j.indent=="string"&&(F.format.indent.style=j.indent),typeof j.base=="number"&&(F.format.indent.base=j.base),j=xe(F,j),u=j.format.indent.style,typeof j.base=="string"?l=j.base:l=ce(u,j.format.indent.base)):(j=F,u=j.format.indent.style,l=ce(u,j.format.indent.base)),c=j.format.json,p=j.format.renumber,d=c?!1:j.format.hexadecimal,h=c?"double":j.format.quotes,f=j.format.escapeless,m=j.format.newline,y=j.format.space,j.format.compact&&(m=y=u=l=""),g=j.format.parentheses,b=j.format.semicolons,v=j.format.safeConcatenation,T=j.directive,_=c?null:j.parse,w=j.sourceMap,E=j.sourceCode,C=j.format.preserveBlankLines&&E!==null,x=j,w&&(e.browser?a=global.sourceMap.SourceNode:a=DQ().SourceNode),D=Nn(S),w?(V=D.toStringWithSourceMap({file:j.file,sourceRoot:j.sourceMapRoot}),j.sourceContent&&V.map.setSourceContent(j.sourceMap,j.sourceContent),j.sourceMapWithCode?V:V.map.toString()):(V={code:D.toString(),map:null},j.sourceMapWithCode?V:V.code)}P={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},k=Z().format,e.version=OQ().version,e.generate=vr,e.attachComments=o.attachComments,e.Precedence=xe({},r),e.browser=!1,e.FORMAT_MINIFY=P,e.FORMAT_DEFAULTS=k})()}}),Xh={};Tp(Xh,{Node:()=>Di,Parser:()=>ot,Position:()=>ma,SourceLocation:()=>go,TokContext:()=>cr,Token:()=>Oi,TokenType:()=>$e,defaultOptions:()=>vs,getLineInfo:()=>Zh,isIdentifierChar:()=>ha,isIdentifierStart:()=>vn,isNewLine:()=>io,keywordTypes:()=>Ji,lineBreak:()=>tr,lineBreakG:()=>xa,nonASCIIwhitespace:()=>Nl,parse:()=>LQ,parseExpressionAt:()=>$Q,tokContexts:()=>ht,tokTypes:()=>L,tokenizer:()=>UQ,version:()=>om});function Qh(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}}function vn(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&uB.test(String.fromCharCode(e)):t===!1?!1:Qh(e,g0)}function ha(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&cB.test(String.fromCharCode(e)):t===!1?!1:Qh(e,g0)||Qh(e,pB)}function Cr(e,t){return new $e(e,{beforeExpr:!0,binop:t})}function Me(e,t){return t===void 0&&(t={}),t.keyword=e,Ji[e]=new $e(e,t)}function io(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function Il(e,t){return dB.call(e,t)}function Aa(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function Zh(e,t){for(var r=1,n=0;;){xa.lastIndex=n;var a=xa.exec(e);if(a&&a.index<t)++r,n=a.index+a[0].length;else return new ma(r,t-n)}}function FQ(e){var t={};for(var r in vs)t[r]=e&&Il(e,r)?e[r]:vs[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),em(t.onToken)){var n=t.onToken;t.onToken=function(a){return n.push(a)}}return em(t.onComment)&&(t.onComment=IQ(t,t.onComment)),t}function IQ(e,t){return function(r,n,a,o,i,l){var u={type:r?"Block":"Line",value:n,start:a,end:o};e.locations&&(u.loc=new go(this,i,l)),e.ranges&&(u.range=[a,o]),t.push(u)}}function pd(e,t){return so|(e?tm:0)|(t?rm:0)}function al(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Y1(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function dd(e){var t=am[e]={binary:Aa(fB[e]+" "+nm),nonBinary:{General_Category:Aa(nm),Script:Aa(hB[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function ol(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function K1(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function kQ(e){return vn(e,!0)||e===36||e===95}function NQ(e){return ha(e,!0)||e===36||e===95||e===8204||e===8205}function sB(e){return e>=65&&e<=90||e>=97&&e<=122}function jQ(e){return e>=0&&e<=1114111}function BQ(e){return e===100||e===68||e===115||e===83||e===119||e===87}function lB(e){return sB(e)||e===95}function qQ(e){return lB(e)||kl(e)}function kl(e){return e>=48&&e<=57}function X1(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Q1(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Z1(e){return e>=48&&e<=55}function MQ(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function eC(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function fd(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function LQ(e,t){return ot.parse(e,t)}function $Q(e,t,r){return ot.parseExpressionAt(e,t,r)}function UQ(e,t){return ot.tokenizer(e,t)}var il,sl,tC,rC,ll,hd,uB,cB,g0,pB,$e,ir,er,Ji,L,tr,xa,Nl,sr,md,dB,nC,em,ma,go,vs,Qa,so,ul,tm,rm,yd,gd,bd,vd,Ed,cl,zr,Cd,wd,Ad,ot,jn,Ht,aC,Pe,pl,oC,iC,Za,dl,xd,Jr,Ie,sC,yi,hn,lC,Di,gi,cr,ht,bi,Sd,_d,uC,fB,nm,Td,Pd,cC,hB,am,we,Gr,Oi,Be,Dd,om,im=dK({"../../node_modules/acorn/dist/acorn.mjs"(){il={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},sl="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",tC={5:sl,"5module":sl+" export import",6:sl+" const class extends export import super"},rC=/^in(stanceof)?$/,ll="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",hd="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",uB=new RegExp("["+ll+"]"),cB=new RegExp("["+ll+hd+"]"),ll=hd=null,g0=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],pB=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],$e=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},ir={beforeExpr:!0},er={startsExpr:!0},Ji={},L={num:new $e("num",er),regexp:new $e("regexp",er),string:new $e("string",er),name:new $e("name",er),eof:new $e("eof"),bracketL:new $e("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new $e("]"),braceL:new $e("{",{beforeExpr:!0,startsExpr:!0}),braceR:new $e("}"),parenL:new $e("(",{beforeExpr:!0,startsExpr:!0}),parenR:new $e(")"),comma:new $e(",",ir),semi:new $e(";",ir),colon:new $e(":",ir),dot:new $e("."),question:new $e("?",ir),questionDot:new $e("?."),arrow:new $e("=>",ir),template:new $e("template"),invalidTemplate:new $e("invalidTemplate"),ellipsis:new $e("...",ir),backQuote:new $e("`",er),dollarBraceL:new $e("${",{beforeExpr:!0,startsExpr:!0}),eq:new $e("=",{beforeExpr:!0,isAssign:!0}),assign:new $e("_=",{beforeExpr:!0,isAssign:!0}),incDec:new $e("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new $e("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Cr("||",1),logicalAND:Cr("&&",2),bitwiseOR:Cr("|",3),bitwiseXOR:Cr("^",4),bitwiseAND:Cr("&",5),equality:Cr("==/!=/===/!==",6),relational:Cr("</>/<=/>=",7),bitShift:Cr("<</>>/>>>",8),plusMin:new $e("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Cr("%",10),star:Cr("*",10),slash:Cr("/",10),starstar:new $e("**",{beforeExpr:!0}),coalesce:Cr("??",1),_break:Me("break"),_case:Me("case",ir),_catch:Me("catch"),_continue:Me("continue"),_debugger:Me("debugger"),_default:Me("default",ir),_do:Me("do",{isLoop:!0,beforeExpr:!0}),_else:Me("else",ir),_finally:Me("finally"),_for:Me("for",{isLoop:!0}),_function:Me("function",er),_if:Me("if"),_return:Me("return",ir),_switch:Me("switch"),_throw:Me("throw",ir),_try:Me("try"),_var:Me("var"),_const:Me("const"),_while:Me("while",{isLoop:!0}),_with:Me("with"),_new:Me("new",{beforeExpr:!0,startsExpr:!0}),_this:Me("this",er),_super:Me("super",er),_class:Me("class",er),_extends:Me("extends",ir),_export:Me("export"),_import:Me("import",er),_null:Me("null",er),_true:Me("true",er),_false:Me("false",er),_in:Me("in",{beforeExpr:!0,binop:7}),_instanceof:Me("instanceof",{beforeExpr:!0,binop:7}),_typeof:Me("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Me("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Me("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},tr=/\r\n?|\n|\u2028|\u2029/,xa=new RegExp(tr.source,"g"),Nl=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,sr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,md=Object.prototype,dB=md.hasOwnProperty,nC=md.toString,em=Array.isArray||function(e){return nC.call(e)==="[object Array]"},ma=function(e,t){this.line=e,this.column=t},ma.prototype.offset=function(e){return new ma(this.line,this.column+e)},go=function(e,t,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},vs={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Qa=1,so=2,ul=Qa|so,tm=4,rm=8,yd=16,gd=32,bd=64,vd=128,Ed=0,cl=1,zr=2,Cd=3,wd=4,Ad=5,ot=function(e,t,r){this.options=e=FQ(e),this.sourceFile=e.sourceFile,this.keywords=Aa(tC[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var a=e.ecmaVersion;!(n=il[a]);a--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=Aa(n);var o=(n?n+" ":"")+il.strict;this.reservedWordsStrict=Aa(o),this.reservedWordsStrictBind=Aa(o+" "+il.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
1112
+ `,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(tr).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=L.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Qa),this.regexpState=null},jn={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},ot.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},jn.inFunction.get=function(){return(this.currentVarScope().flags&so)>0},jn.inGenerator.get=function(){return(this.currentVarScope().flags&rm)>0},jn.inAsync.get=function(){return(this.currentVarScope().flags&tm)>0},jn.allowSuper.get=function(){return(this.currentThisScope().flags&bd)>0},jn.allowDirectSuper.get=function(){return(this.currentThisScope().flags&vd)>0},jn.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ot.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&so)>0},ot.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},ot.parse=function(e,t){return new this(t,e).parse()},ot.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},ot.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(ot.prototype,jn),Ht=ot.prototype,aC=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,Ht.strictDirective=function(e){for(;;){sr.lastIndex=e,e+=sr.exec(this.input)[0].length;var t=aC.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){sr.lastIndex=e+t[0].length;var r=sr.exec(this.input),n=r.index+r[0].length,a=this.input.charAt(n);return a===";"||a==="}"||tr.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,sr.lastIndex=e,e+=sr.exec(this.input)[0].length,this.input[e]===";"&&e++}},Ht.eat=function(e){return this.type===e?(this.next(),!0):!1},Ht.isContextual=function(e){return this.type===L.name&&this.value===e&&!this.containsEsc},Ht.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},Ht.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},Ht.canInsertSemicolon=function(){return this.type===L.eof||this.type===L.braceR||tr.test(this.input.slice(this.lastTokEnd,this.start))},Ht.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ht.semicolon=function(){!this.eat(L.semi)&&!this.insertSemicolon()&&this.unexpected()},Ht.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},Ht.expect=function(e){this.eat(e)||this.unexpected()},Ht.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},Ht.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},Ht.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},Ht.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Ht.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"},Pe=ot.prototype,Pe.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==L.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,a=Object.keys(this.undefinedExports);n<a.length;n+=1){var o=a[n];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")},pl={kind:"loop"},oC={kind:"switch"},Pe.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;sr.lastIndex=this.pos;var t=sr.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91)return!0;if(e)return!1;if(n===123)return!0;if(vn(n,!0)){for(var a=r+1;ha(this.input.charCodeAt(a),!0);)++a;var o=this.input.slice(r,a);if(!rC.test(o))return!0}return!1},Pe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;sr.lastIndex=this.pos;var e=sr.exec(this.input),t=this.pos+e[0].length;return!tr.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!ha(this.input.charAt(t+8)))},Pe.parseStatement=function(e,t,r){var n=this.type,a=this.startNode(),o;switch(this.isLet(e)&&(n=L._var,o="let"),n){case L._break:case L._continue:return this.parseBreakContinueStatement(a,n.keyword);case L._debugger:return this.parseDebuggerStatement(a);case L._do:return this.parseDoStatement(a);case L._for:return this.parseForStatement(a);case L._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case L._class:return e&&this.unexpected(),this.parseClass(a,!0);case L._if:return this.parseIfStatement(a);case L._return:return this.parseReturnStatement(a);case L._switch:return this.parseSwitchStatement(a);case L._throw:return this.parseThrowStatement(a);case L._try:return this.parseTryStatement(a);case L._const:case L._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(a,o);case L._while:return this.parseWhileStatement(a);case L._with:return this.parseWithStatement(a);case L.braceL:return this.parseBlock(!0,a);case L.semi:return this.parseEmptyStatement(a);case L._export:case L._import:if(this.options.ecmaVersion>10&&n===L._import){sr.lastIndex=this.pos;var i=sr.exec(this.input),l=this.pos+i[0].length,u=this.input.charCodeAt(l);if(u===40||u===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===L._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,p=this.parseExpression();return n===L.name&&p.type==="Identifier"&&this.eat(L.colon)?this.parseLabeledStatement(a,c,p,e):this.parseExpressionStatement(a,p)}},Pe.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(L.semi)||this.insertSemicolon()?e.label=null:this.type!==L.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var a=this.labels[n];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},Pe.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},Pe.parseDoStatement=function(e){return this.next(),this.labels.push(pl),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(L._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(L.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},Pe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(pl),this.enterScope(0),this.expect(L.parenL),this.type===L.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===L._var||this.type===L._const||r){var n=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(n,!0,a),this.finishNode(n,"VariableDeclaration"),(this.type===L._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===L._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new al,i=this.parseExpression(!0,o);return this.type===L._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===L._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(i,!1,o),this.checkLVal(i),this.parseForIn(e,i)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,i))},Pe.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Za|(r?0:dl),!1,t)},Pe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(L._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},Pe.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(L.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},Pe.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(L.braceL),this.labels.push(oC),this.enterScope(0);for(var t,r=!1;this.type!==L.braceR;)if(this.type===L._case||this.type===L._default){var n=this.type===L._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(L.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},Pe.parseThrowStatement=function(e){return this.next(),tr.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},iC=[],Pe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===L._catch){var t=this.startNode();if(this.next(),this.eat(L.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?gd:0),this.checkLVal(t.param,r?wd:zr),this.expect(L.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(L._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},Pe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},Pe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(pl),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},Pe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},Pe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},Pe.parseLabeledStatement=function(e,t,r,n){for(var a=0,o=this.labels;a<o.length;a+=1){var i=o[a];i.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===L._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},Pe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},Pe.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(L.braceL),e&&this.enterScope(0);this.type!==L.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},Pe.parseFor=function(e,t){return e.init=t,this.expect(L.semi),e.test=this.type===L.semi?null:this.parseExpression(),this.expect(L.semi),e.update=this.type===L.parenR?null:this.parseExpression(),this.expect(L.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},Pe.parseForIn=function(e,t){var r=this.type===L._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(L.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},Pe.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(L.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===L._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===L._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(L.comma))break}return e},Pe.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?cl:zr,!1)},Za=1,dl=2,xd=4,Pe.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===L.star&&t&dl&&this.unexpected(),e.generator=this.eat(L.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Za&&(e.id=t&xd&&this.type!==L.name?null:this.parseIdent(),e.id&&!(t&dl)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?cl:zr:Cd));var a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(pd(e.async,e.generator)),t&Za||(e.id=this.type===L.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(e,t&Za?"FunctionDeclaration":"FunctionExpression")},Pe.parseFunctionParams=function(e){this.expect(L.parenL),e.params=this.parseBindingList(L.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Pe.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),a=!1;for(n.body=[],this.expect(L.braceL);this.type!==L.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(a&&this.raise(o.start,"Duplicate constructor in the same class"),a=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},Pe.parseClassElement=function(e){var t=this;if(this.eat(L.semi))return null;var r=this.startNode(),n=function(u,c){c===void 0&&(c=!1);var p=t.start,d=t.startLoc;return t.eatContextual(u)?t.type!==L.parenL&&(!c||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(p,d),r.key.name=u,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var a=this.eat(L.star),o=!1;a||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,a=this.options.ecmaVersion>=9&&this.eat(L.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var i=r.key,l=!1;return!r.computed&&!r.static&&(i.type==="Identifier"&&i.name==="constructor"||i.type==="Literal"&&i.value==="constructor")?(r.kind!=="method"&&this.raise(i.start,"Constructor can't have get/set modifier"),a&&this.raise(i.start,"Constructor can't be a generator"),o&&this.raise(i.start,"Constructor can't be an async method"),r.kind="constructor",l=e):r.static&&i.type==="Identifier"&&i.name==="prototype"&&this.raise(i.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,a,o,l),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},Pe.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},Pe.parseClassId=function(e,t){this.type===L.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,zr,!1)):(t===!0&&this.unexpected(),e.id=null)},Pe.parseClassSuper=function(e){e.superClass=this.eat(L._extends)?this.parseExprSubscripts():null},Pe.parseExport=function(e,t){if(this.next(),this.eat(L.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==L.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(L._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===L._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Za|xd,!1,r)}else if(this.type===L._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==L.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,i=e.specifiers;o<i.length;o+=1){var l=i[o];this.checkUnreserved(l.local),this.checkLocalExport(l.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},Pe.checkExport=function(e,t,r){e&&(Il(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},Pe.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t.name,t.start);else if(r==="ObjectPattern")for(var n=0,a=t.properties;n<a.length;n+=1){var o=a[n];this.checkPatternExport(e,o)}else if(r==="ArrayPattern")for(var i=0,l=t.elements;i<l.length;i+=1){var u=l[i];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"?this.checkPatternExport(e,t.argument):r==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},Pe.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var a=n[r];this.checkPatternExport(e,a.id)}},Pe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Pe.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(L.braceL);!this.eat(L.braceR);){if(r)r=!1;else if(this.expect(L.comma),this.afterTrailingComma(L.braceR))break;var n=this.startNode();n.local=this.parseIdent(!0),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,this.checkExport(e,n.exported.name,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},Pe.parseImport=function(e){return this.next(),this.type===L.string?(e.specifiers=iC,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===L.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},Pe.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===L.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,zr),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(L.comma))return e}if(this.type===L.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLVal(n.local,zr),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(L.braceL);!this.eat(L.braceR);){if(t)t=!1;else if(this.expect(L.comma),this.afterTrailingComma(L.braceR))break;var a=this.startNode();a.imported=this.parseIdent(!0),this.eatContextual("as")?a.local=this.parseIdent():(this.checkUnreserved(a.imported),a.local=a.imported),this.checkLVal(a.local,zr),e.push(this.finishNode(a,"ImportSpecifier"))}return e},Pe.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},Pe.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")},Jr=ot.prototype,Jr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Jr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var a=e[n];a&&this.toAssignable(a,t)}if(r){var o=e[r-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e},Jr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Jr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==L.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Jr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case L.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(L.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case L.braceL:return this.parseObj(!0)}return this.parseIdent()},Jr.parseBindingList=function(e,t,r){for(var n=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(L.comma),t&&this.type===L.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===L.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),n.push(o),this.type===L.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var i=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(i),n.push(i)}}return n},Jr.parseBindingListItem=function(e){return e},Jr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(L.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},Jr.checkLVal=function(e,t,r){switch(t===void 0&&(t=Ed),e.type){case"Identifier":t===zr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(Il(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==Ed&&t!==Ad&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];this.checkLVal(o,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var i=0,l=e.elements;i<l.length;i+=1){var u=l[i];u&&this.checkLVal(u,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}},Ie=ot.prototype,Ie.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,a;switch(n.type){case"Identifier":a=n.name;break;case"Literal":a=String(n.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&o==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var i=t[a];if(i){var l;o==="init"?l=this.strict&&i.init||i.get||i.set:l=i.init||i[o],l&&this.raiseRecoverable(n.start,"Redefinition of property")}else i=t[a]={init:!1,get:!1,set:!1};i[o]=!0}},Ie.parseExpression=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===L.comma){var o=this.startNodeAt(r,n);for(o.expressions=[a];this.eat(L.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return a},Ie.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,a=-1,o=-1;t?(a=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new al,n=!0);var i=this.start,l=this.startLoc;(this.type===L.parenL||this.type===L.name)&&(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(r&&(u=r.call(this,u,i,l)),this.type.isAssign){var c=this.startNodeAt(i,l);return c.operator=this.value,c.left=this.type===L.eq?this.toAssignable(u,!1,t):u,n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.left.start&&(t.shorthandAssign=-1),this.checkLVal(u),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),o>-1&&(t.trailingComma=o),u},Ie.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(L.question)){var o=this.startNodeAt(r,n);return o.test=a,o.consequent=this.parseMaybeAssign(),this.expect(L.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return a},Ie.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,a=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,n,-1,e)},Ie.parseExprOp=function(e,t,r,n,a){var o=this.type.binop;if(o!=null&&(!a||this.type!==L._in)&&o>n){var i=this.type===L.logicalOR||this.type===L.logicalAND,l=this.type===L.coalesce;l&&(o=L.logicalAND.binop);var u=this.value;this.next();var c=this.start,p=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1),c,p,o,a),h=this.buildBinary(t,r,e,d,u,i||l);return(i&&this.type===L.coalesce||l&&(this.type===L.logicalOR||this.type===L.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,n,a)}return e},Ie.buildBinary=function(e,t,r,n,a,o){var i=this.startNodeAt(e,t);return i.left=r,i.operator=a,i.right=n,this.finishNode(i,o?"LogicalExpression":"BinaryExpression")},Ie.parseMaybeUnary=function(e,t){var r=this.start,n=this.startLoc,a;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))a=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),i=this.type===L.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),i?this.checkLVal(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,a=this.finishNode(o,i?"UpdateExpression":"UnaryExpression")}else{if(a=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(r,n);l.operator=this.value,l.prefix=!1,l.argument=a,this.checkLVal(a),this.next(),a=this.finishNode(l,"UpdateExpression")}}return!t&&this.eat(L.starstar)?this.buildBinary(r,n,a,this.parseMaybeUnary(null,!1),"**",!1):a},Ie.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,n=this.parseExprAtom(e);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var a=this.parseSubscripts(n,t,r);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},Ie.parseSubscripts=function(e,t,r,n){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var i=this.parseSubscript(e,t,r,n,a,o);if(i.optional&&(o=!0),i===e||i.type==="ArrowFunctionExpression"){if(o){var l=this.startNodeAt(t,r);l.expression=i,i=this.finishNode(l,"ChainExpression")}return i}e=i}},Ie.parseSubscript=function(e,t,r,n,a,o){var i=this.options.ecmaVersion>=11,l=i&&this.eat(L.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var u=this.eat(L.bracketL);if(u||l&&this.type!==L.parenL&&this.type!==L.backQuote||this.eat(L.dot)){var c=this.startNodeAt(t,r);c.object=e,c.property=u?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),c.computed=!!u,u&&this.expect(L.bracketR),i&&(c.optional=l),e=this.finishNode(c,"MemberExpression")}else if(!n&&this.eat(L.parenL)){var p=new al,d=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(L.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!l&&!this.canInsertSemicolon()&&this.eat(L.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=f,this.parseArrowExpression(this.startNodeAt(t,r),m,!0);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var y=this.startNodeAt(t,r);y.callee=e,y.arguments=m,i&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===L.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var g=this.startNodeAt(t,r);g.tag=e,g.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(g,"TaggedTemplateExpression")}return e},Ie.parseExprAtom=function(e){this.type===L.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case L._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===L.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==L.dot&&this.type!==L.bracketL&&this.type!==L.parenL&&this.unexpected(),this.finishNode(t,"Super");case L._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case L.name:var n=this.start,a=this.startLoc,o=this.containsEsc,i=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&i.name==="async"&&!this.canInsertSemicolon()&&this.eat(L._function))return this.parseFunction(this.startNodeAt(n,a),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(L.arrow))return this.parseArrowExpression(this.startNodeAt(n,a),[i],!1);if(this.options.ecmaVersion>=8&&i.name==="async"&&this.type===L.name&&!o)return i=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(L.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,a),[i],!0)}return i;case L.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case L.num:case L.string:return this.parseLiteral(this.value);case L._null:case L._true:case L._false:return t=this.startNode(),t.value=this.type===L._null?null:this.type===L._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case L.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),c;case L.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(L.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case L.braceL:return this.parseObj(!1,e);case L._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case L._class:return this.parseClass(this.startNode(),!1);case L._new:return this.parseNew();case L.backQuote:return this.parseTemplate();case L._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Ie.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case L.parenL:return this.parseDynamicImport(e);case L.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(L.parenR)){var t=this.start;this.eat(L.comma)&&this.eat(L.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Ie.parseParenExpression=function(){this.expect(L.parenL);var e=this.parseExpression();return this.expect(L.parenR),e},Ie.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,i=this.startLoc,l=[],u=!0,c=!1,p=new al,d=this.yieldPos,h=this.awaitPos,f;for(this.yieldPos=0,this.awaitPos=0;this.type!==L.parenR;)if(u?u=!1:this.expect(L.comma),a&&this.afterTrailingComma(L.parenR,!0)){c=!0;break}else if(this.type===L.ellipsis){f=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===L.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var m=this.start,y=this.startLoc;if(this.expect(L.parenR),e&&!this.canInsertSemicolon()&&this.eat(L.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=h,this.parseParenArrowList(t,r,l);(!l.length||c)&&this.unexpected(this.lastTokStart),f&&this.unexpected(f),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,l.length>1?(n=this.startNodeAt(o,i),n.expressions=l,this.finishNodeAt(n,"SequenceExpression",m,y)):n=l[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(t,r);return g.expression=n,this.finishNode(g,"ParenthesizedExpression")}else return n},Ie.parseParenItem=function(e){return e},Ie.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},sC=[],Ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(L.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,a=this.startLoc,o=this.type===L._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,a,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(L.parenL)?e.arguments=this.parseExprList(L.parenR,this.options.ecmaVersion>=8,!1):e.arguments=sC,this.finishNode(e,"NewExpression")},Ie.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===L.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
1113
+ `),cooked:this.value},this.next(),r.tail=this.type===L.backQuote,this.finishNode(r,"TemplateElement")},Ie.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===L.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(L.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(L.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Ie.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===L.name||this.type===L.num||this.type===L.string||this.type===L.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===L.star)&&!tr.test(this.input.slice(this.lastTokEnd,this.start))},Ie.parseObj=function(e,t){var r=this.startNode(),n=!0,a={};for(r.properties=[],this.next();!this.eat(L.braceR);){if(n)n=!1;else if(this.expect(L.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(L.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,a,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Ie.parseProperty=function(e,t){var r=this.startNode(),n,a,o,i;if(this.options.ecmaVersion>=9&&this.eat(L.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===L.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===L.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===L.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,i=this.startLoc),e||(n=this.eat(L.star)));var l=this.containsEsc;return this.parsePropertyName(r),!e&&!l&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(a=!0,n=this.options.ecmaVersion>=9&&this.eat(L.star),this.parsePropertyName(r,t)):a=!1,this.parsePropertyValue(r,e,n,a,o,i,t,l),this.finishNode(r,"Property")},Ie.parsePropertyValue=function(e,t,r,n,a,o,i,l){if((r||n)&&this.type===L.colon&&this.unexpected(),this.eat(L.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===L.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==L.comma&&this.type!==L.braceR&&this.type!==L.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;e.kind==="get"?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),e.kind="init",t?e.value=this.parseMaybeDefault(a,o,e.key):this.type===L.eq&&i?(i.shorthandAssign<0&&(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},Ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(L.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(L.bracketR),e.key;e.computed=!1}return e.key=this.type===L.num||this.type===L.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Ie.parseMethod=function(e,t,r){var n=this.startNode(),a=this.yieldPos,o=this.awaitPos,i=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(pd(t,n.generator)|bd|(r?vd:0)),this.expect(L.parenL),n.params=this.parseBindingList(L.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=i,this.finishNode(n,"FunctionExpression")},Ie.parseArrowExpression=function(e,t,r){var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(pd(r,!1)|yd),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Ie.parseFunctionBody=function(e,t,r){var n=t&&this.type!==L.braceL,a=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var i=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||i)&&(o=this.strictDirective(this.end),o&&i&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Ad),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},Ie.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0},Ie.checkParams=function(e,t){for(var r={},n=0,a=e.params;n<a.length;n+=1){var o=a[n];this.checkLVal(o,cl,t?null:r)}},Ie.parseExprList=function(e,t,r,n){for(var a=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(L.comma),t&&this.afterTrailingComma(e))break;var i=void 0;r&&this.type===L.comma?i=null:this.type===L.ellipsis?(i=this.parseSpread(n),n&&this.type===L.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):i=this.parseMaybeAssign(!1,n),a.push(i)}return a},Ie.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}},Ie.parseIdent=function(e,t){var r=this.startNode();return this.type===L.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,(r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},Ie.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===L.semi||this.canInsertSemicolon()||this.type!==L.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(L.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Ie.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")},yi=ot.prototype,yi.raise=function(e,t){var r=Zh(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},yi.raiseRecoverable=yi.raise,yi.curPosition=function(){if(this.options.locations)return new ma(this.curLine,this.pos-this.lineStart)},hn=ot.prototype,lC=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]},hn.enterScope=function(e){this.scopeStack.push(new lC(e))},hn.exitScope=function(){this.scopeStack.pop()},hn.treatFunctionsAsVarInScope=function(e){return e.flags&so||!this.inModule&&e.flags&Qa},hn.declareName=function(e,t,r){var n=!1;if(t===zr){var a=this.currentScope();n=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&Qa&&delete this.undefinedExports[e]}else if(t===wd){var o=this.currentScope();o.lexical.push(e)}else if(t===Cd){var i=this.currentScope();this.treatFunctionsAsVar?n=i.lexical.indexOf(e)>-1:n=i.lexical.indexOf(e)>-1||i.var.indexOf(e)>-1,i.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var u=this.scopeStack[l];if(u.lexical.indexOf(e)>-1&&!(u.flags&gd&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){n=!0;break}if(u.var.push(e),this.inModule&&u.flags&Qa&&delete this.undefinedExports[e],u.flags&ul)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},hn.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},hn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},hn.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&ul)return t}},hn.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&ul&&!(t.flags&yd))return t}},Di=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new go(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},gi=ot.prototype,gi.startNode=function(){return new Di(this,this.start,this.startLoc)},gi.startNodeAt=function(e,t){return new Di(this,e,t)},gi.finishNode=function(e,t){return Y1.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},gi.finishNodeAt=function(e,t,r,n){return Y1.call(this,e,t,r,n)},cr=function(e,t,r,n,a){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!a},ht={b_stat:new cr("{",!1),b_expr:new cr("{",!0),b_tmpl:new cr("${",!1),p_stat:new cr("(",!1),p_expr:new cr("(",!0),q_tmpl:new cr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new cr("function",!1),f_expr:new cr("function",!0),f_expr_gen:new cr("function",!0,!1,null,!0),f_gen:new cr("function",!1,!1,null,!0)},bi=ot.prototype,bi.initialContext=function(){return[ht.b_stat]},bi.braceIsBlock=function(e){var t=this.curContext();return t===ht.f_expr||t===ht.f_stat?!0:e===L.colon&&(t===ht.b_stat||t===ht.b_expr)?!t.isExpr:e===L._return||e===L.name&&this.exprAllowed?tr.test(this.input.slice(this.lastTokEnd,this.start)):e===L._else||e===L.semi||e===L.eof||e===L.parenR||e===L.arrow?!0:e===L.braceL?t===ht.b_stat:e===L._var||e===L._const||e===L.name?!1:!this.exprAllowed},bi.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},bi.updateContext=function(e){var t,r=this.type;r.keyword&&e===L.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},L.parenR.updateContext=L.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ht.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},L.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ht.b_stat:ht.b_expr),this.exprAllowed=!0},L.dollarBraceL.updateContext=function(){this.context.push(ht.b_tmpl),this.exprAllowed=!0},L.parenL.updateContext=function(e){var t=e===L._if||e===L._for||e===L._with||e===L._while;this.context.push(t?ht.p_stat:ht.p_expr),this.exprAllowed=!0},L.incDec.updateContext=function(){},L._function.updateContext=L._class.updateContext=function(e){e.beforeExpr&&e!==L.semi&&e!==L._else&&!(e===L._return&&tr.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===L.colon||e===L.braceL)&&this.curContext()===ht.b_stat)?this.context.push(ht.f_expr):this.context.push(ht.f_stat),this.exprAllowed=!1},L.backQuote.updateContext=function(){this.curContext()===ht.q_tmpl?this.context.pop():this.context.push(ht.q_tmpl),this.exprAllowed=!1},L.star.updateContext=function(e){if(e===L._function){var t=this.context.length-1;this.context[t]===ht.f_expr?this.context[t]=ht.f_expr_gen:this.context[t]=ht.f_gen}this.exprAllowed=!0},L.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==L.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},Sd="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_d=Sd+" Extended_Pictographic",uC=_d,fB={9:Sd,10:_d,11:uC},nm="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Td="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Pd=Td+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",cC=Pd+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",hB={9:Td,10:Pd,11:cC},am={},dd(9),dd(10),dd(11),we=ot.prototype,Gr=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=am[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},Gr.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},Gr.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Gr.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=n)return a;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a},Gr.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var a=r.charCodeAt(e),o;return!(t||this.switchU)||a<=55295||a>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},Gr.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},Gr.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Gr.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Gr.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},we.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var a=r.charAt(n);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},we.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},we.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames.indexOf(n)===-1&&e.raise("Invalid named capture referenced")}},we.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},we.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},we.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},we.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},we.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},we.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},we.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},we.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},we.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},we.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},we.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},we.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},we.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},we.regexp_eatSyntaxCharacter=function(e){var t=e.current();return K1(t)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!K1(r);)e.advance();return e.pos!==t},we.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},we.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},we.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},we.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ol(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ol(e.lastIntValue);return!0}return!1},we.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),kQ(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),NQ(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},we.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},we.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},we.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},we.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},we.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},we.regexp_eatZero=function(e){return e.current()===48&&!kl(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},we.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},we.regexp_eatControlLetter=function(e){var t=e.current();return sB(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(n&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343)return e.lastIntValue=(a-55296)*1024+(i-56320)+65536,!0}e.pos=o,e.lastIntValue=a}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&jQ(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},we.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},we.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},we.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(BQ(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},we.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a),!0}return!1},we.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Il(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},we.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},we.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";lB(t=e.current());)e.lastStringValue+=ol(t),e.advance();return e.lastStringValue!==""},we.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";qQ(t=e.current());)e.lastStringValue+=ol(t),e.advance();return e.lastStringValue!==""},we.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},we.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},we.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},we.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Z1(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1},we.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},we.regexp_eatClassControlLetter=function(e){var t=e.current();return kl(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},we.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},we.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;kl(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},we.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;X1(r=e.current());)e.lastIntValue=16*e.lastIntValue+Q1(r),e.advance();return e.pos!==t},we.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},we.regexp_eatOctalDigit=function(e){var t=e.current();return Z1(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},we.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var a=e.current();if(!X1(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Q1(a),e.advance()}return!0},Oi=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new go(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Be=ot.prototype,Be.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Oi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Be.getToken=function(){return this.next(),new Oi(this)},typeof Symbol<"u"&&(Be[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===L.eof,value:t}}}}),Be.curContext=function(){return this.context[this.context.length-1]},Be.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(L.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},Be.readToken=function(e){return vn(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},Be.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},Be.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){xa.lastIndex=t;for(var n;(n=xa.exec(this.input))&&n.index<this.pos;)++this.curLine,this.lineStart=n.index+n[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},Be.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!io(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},Be.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Nl.test(String.fromCharCode(e)))++this.pos;else break e}}},Be.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Be.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(L.ellipsis)):(++this.pos,this.finishToken(L.dot))},Be.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(L.assign,2):this.finishOp(L.slash,1)},Be.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?L.star:L.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=L.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(L.assign,r+1):this.finishOp(n,r)},Be.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(L.assign,3)}return this.finishOp(e===124?L.logicalOR:L.logicalAND,2)}return t===61?this.finishOp(L.assign,2):this.finishOp(e===124?L.bitwiseOR:L.bitwiseAND,1)},Be.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(L.assign,2):this.finishOp(L.bitwiseXOR,1)},Be.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||tr.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(L.incDec,2):t===61?this.finishOp(L.assign,2):this.finishOp(L.plusMin,1)},Be.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(L.assign,r+1):this.finishOp(L.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(L.relational,r))},Be.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(L.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(L.arrow)):this.finishOp(e===61?L.eq:L.prefix,1)},Be.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(L.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(L.assign,3)}return this.finishOp(L.coalesce,2)}}return this.finishOp(L.question,1)},Be.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(L.parenL);case 41:return++this.pos,this.finishToken(L.parenR);case 59:return++this.pos,this.finishToken(L.semi);case 44:return++this.pos,this.finishToken(L.comma);case 91:return++this.pos,this.finishToken(L.bracketL);case 93:return++this.pos,this.finishToken(L.bracketR);case 123:return++this.pos,this.finishToken(L.braceL);case 125:return++this.pos,this.finishToken(L.braceR);case 58:return++this.pos,this.finishToken(L.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(L.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(L.prefix,1)}this.raise(this.pos,"Unexpected character '"+fd(e)+"'")},Be.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Be.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(tr.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,i=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new Gr(this));l.reset(r,a,i),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var u=null;try{u=new RegExp(a,i)}catch{}return this.finishToken(L.regexp,{pattern:a,flags:i,value:u})},Be.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,i=0,l=0,u=0,c=t??1/0;u<c;++u,++this.pos){var p=this.input.charCodeAt(this.pos),d=void 0;if(n&&p===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=p;continue}if(p>=97?d=p-97+10:p>=65?d=p-65+10:p>=48&&p<=57?d=p-48:d=1/0,d>=e)break;l=p,i=i*e+d}return n&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:i},Be.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=eC(this.input.slice(t,this.pos)),++this.pos):vn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(L.num,r)},Be.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var a=eC(this.input.slice(t,this.pos));return++this.pos,vn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(L.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),vn(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=MQ(this.input.slice(t,this.pos),r);return this.finishToken(L.num,o)},Be.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},Be.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(io(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(L.string,t)},Dd={},Be.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Dd)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},Be.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Dd;this.raise(e,t)},Be.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===L.template||this.type===L.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(L.dollarBraceL)):(++this.pos,this.finishToken(L.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(L.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(io(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
1114
+ `;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Be.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(L.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Be.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
1115
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return fd(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(n,8);return a>255&&(n=n.slice(0,-1),a=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return io(t)?"":String.fromCharCode(t)}},Be.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},Be.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(ha(a,n))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var i=this.readCodePoint();(t?vn:ha)(i,n)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=fd(i),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},Be.readWord=function(){var e=this.readWord1(),t=L.name;return this.keywords.test(e)&&(t=Ji[e]),this.finishToken(t,e)},om="7.4.1",ot.acorn={Parser:ot,version:om,defaultOptions:vs,Position:ma,SourceLocation:go,getLineInfo:Zh,Node:Di,TokenType:$e,tokTypes:L,keywordTypes:Ji,TokContext:cr,tokContexts:ht,isIdentifierChar:ha,isIdentifierStart:vn,Token:Oi,isNewLine:io,lineBreak:tr,lineBreakG:xa,nonASCIIwhitespace:Nl}}}),VQ=ve({"../../node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),HQ=ve({"../../node_modules/acorn-jsx/index.js"(e,t){var r=VQ(),n=/^[\da-fA-F]+$/,a=/^\d+$/,o=new WeakMap;function i(c){c=c.Parser.acorn||c;let p=o.get(c);if(!p){let d=c.tokTypes,h=c.TokContext,f=c.TokenType,m=new h("<tag",!1),y=new h("</tag",!1),g=new h("<tag>...</tag>",!0,!0),b={tc_oTag:m,tc_cTag:y,tc_expr:g},v={jsxName:new f("jsxName"),jsxText:new f("jsxText",{beforeExpr:!0}),jsxTagStart:new f("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new f("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(g),this.context.push(m),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(T){let x=this.context.pop();x===m&&T===d.slash||x===y?(this.context.pop(),this.exprAllowed=this.curContext()===g):this.exprAllowed=!0},p={tokContexts:b,tokTypes:v},o.set(c,p)}return p}function l(c){if(!c)return c;if(c.type==="JSXIdentifier")return c.name;if(c.type==="JSXNamespacedName")return c.namespace.name+":"+c.name.name;if(c.type==="JSXMemberExpression")return l(c.object)+"."+l(c.property)}t.exports=function(c){return c=c||{},function(p){return u({allowNamespaces:c.allowNamespaces!==!1,allowNamespacedObjects:!!c.allowNamespacedObjects},p)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return i((im(),L1(Xh))).tokTypes},configurable:!0,enumerable:!0});function u(c,p){let d=p.acorn||(im(),L1(Xh)),h=i(d),f=d.tokTypes,m=h.tokTypes,y=d.tokContexts,g=h.tokContexts.tc_oTag,b=h.tokContexts.tc_cTag,v=h.tokContexts.tc_expr,T=d.isNewLine,x=d.isIdentifierStart,_=d.isIdentifierChar;return class extends p{static get acornJsx(){return h}jsx_readToken(){let w="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let C=this.input.charCodeAt(this.pos);switch(C){case 60:case 123:return this.pos===this.start?C===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(C):(w+=this.input.slice(E,this.pos),this.finishToken(m.jsxText,w));case 38:w+=this.input.slice(E,this.pos),w+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(C===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:T(C)?(w+=this.input.slice(E,this.pos),w+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(w){let E=this.input.charCodeAt(this.pos),C;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,C=w?`
1116
+ `:`\r
1117
+ `):C=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),C}jsx_readString(w){let E="",C=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let P=this.input.charCodeAt(this.pos);if(P===w)break;P===38?(E+=this.input.slice(C,this.pos),E+=this.jsx_readEntity(),C=this.pos):T(P)?(E+=this.input.slice(C,this.pos),E+=this.jsx_readNewLine(!1),C=this.pos):++this.pos}return E+=this.input.slice(C,this.pos++),this.finishToken(f.string,E)}jsx_readEntity(){let w="",E=0,C,P=this.input[this.pos];P!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let k=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(P=this.input[this.pos++],P===";"){w[0]==="#"?w[1]==="x"?(w=w.substr(2),n.test(w)&&(C=String.fromCharCode(parseInt(w,16)))):(w=w.substr(1),a.test(w)&&(C=String.fromCharCode(parseInt(w,10)))):C=r[w];break}w+=P}return C||(this.pos=k,"&")}jsx_readWord(){let w,E=this.pos;do w=this.input.charCodeAt(++this.pos);while(_(w)||w===45);return this.finishToken(m.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let w=this.startNode();return this.type===m.jsxName?w.name=this.value:this.type.keyword?w.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(w,"JSXIdentifier")}jsx_parseNamespacedName(){let w=this.start,E=this.startLoc,C=this.jsx_parseIdentifier();if(!c.allowNamespaces||!this.eat(f.colon))return C;var P=this.startNodeAt(w,E);return P.namespace=C,P.name=this.jsx_parseIdentifier(),this.finishNode(P,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let w=this.start,E=this.startLoc,C=this.jsx_parseNamespacedName();for(this.type===f.dot&&C.type==="JSXNamespacedName"&&!c.allowNamespacedObjects&&this.unexpected();this.eat(f.dot);){let P=this.startNodeAt(w,E);P.object=C,P.property=this.jsx_parseIdentifier(),C=this.finishNode(P,"JSXMemberExpression")}return C}jsx_parseAttributeValue(){switch(this.type){case f.braceL:let w=this.jsx_parseExpressionContainer();return w.expression.type==="JSXEmptyExpression"&&this.raise(w.start,"JSX attributes must only be assigned a non-empty expression"),w;case m.jsxTagStart:case f.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let w=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(w,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let w=this.startNode();return this.next(),w.expression=this.type===f.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(f.braceR),this.finishNode(w,"JSXExpressionContainer")}jsx_parseAttribute(){let w=this.startNode();return this.eat(f.braceL)?(this.expect(f.ellipsis),w.argument=this.parseMaybeAssign(),this.expect(f.braceR),this.finishNode(w,"JSXSpreadAttribute")):(w.name=this.jsx_parseNamespacedName(),w.value=this.eat(f.eq)?this.jsx_parseAttributeValue():null,this.finishNode(w,"JSXAttribute"))}jsx_parseOpeningElementAt(w,E){let C=this.startNodeAt(w,E);C.attributes=[];let P=this.jsx_parseElementName();for(P&&(C.name=P);this.type!==f.slash&&this.type!==m.jsxTagEnd;)C.attributes.push(this.jsx_parseAttribute());return C.selfClosing=this.eat(f.slash),this.expect(m.jsxTagEnd),this.finishNode(C,P?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(w,E){let C=this.startNodeAt(w,E),P=this.jsx_parseElementName();return P&&(C.name=P),this.expect(m.jsxTagEnd),this.finishNode(C,P?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(w,E){let C=this.startNodeAt(w,E),P=[],k=this.jsx_parseOpeningElementAt(w,E),N=null;if(!k.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(w=this.start,E=this.startLoc,this.next(),this.eat(f.slash)){N=this.jsx_parseClosingElementAt(w,E);break e}P.push(this.jsx_parseElementAt(w,E));break;case m.jsxText:P.push(this.parseExprAtom());break;case f.braceL:P.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}l(N.name)!==l(k.name)&&this.raise(N.start,"Expected corresponding JSX closing tag for <"+l(k.name)+">")}let G=k.name?"Element":"Fragment";return C["opening"+G]=k,C["closing"+G]=N,C.children=P,this.type===f.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(C,"JSX"+G)}jsx_parseText(){let w=this.parseLiteral(this.value);return w.type="JSXText",w}jsx_parseElement(){let w=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(w,E)}parseExprAtom(w){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(w)}readToken(w){let E=this.curContext();if(E===v)return this.jsx_readToken();if(E===g||E===b){if(x(w))return this.jsx_readWord();if(w==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((w===34||w===39)&&E==g)return this.jsx_readString(w)}return w===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(w)}updateContext(w){if(this.type==f.braceL){var E=this.curContext();E==g?this.context.push(y.b_expr):E==v?this.context.push(y.b_tmpl):super.updateContext(w),this.exprAllowed=!0}else if(this.type===f.slash&&w===m.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(w)}}}}}),zQ=ve({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),JQ=ve({"../../node_modules/html-tags/index.js"(e,t){t.exports=zQ()}}),GQ={};Tp(GQ,{argTypesEnhancers:()=>DB,parameters:()=>PB});var sm="custom",Gs="object",b0="array",WQ="class",zo="func",ui="element",YQ=si(RQ());function KQ(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,h;return(h=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):l},[]);if(a.length){var o=new RegExp(`
1118
+ [ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o,`
1119
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
1120
+ `)&&(d=String(l).split(`
1121
+ `).map(function(h,f){return f===0?h:""+p+h}).join(`
1122
+ `)),i+=d+n[u+1]}),i}var mB={format:{indent:{style:" "},semicolons:!1}},XQ={...mB,format:{newline:""}},QQ={...mB};function Yn(e,t=!1){return(0,YQ.generate)(e,t?XQ:QQ)}function lm(e,t=!1){return t?ZQ(e):Yn(e)}function ZQ(e){let t=Yn(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function pC(e,t=!1){return t?tZ(e):eZ(e)}function eZ(e){let t=Yn(e);return t.endsWith(" }]")&&(t=KQ(t)),t}function tZ(e){let t=Yn(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}im();var rZ=si(HQ());function yB(e,t,r,n,a){r||(r=me),function o(i,l,u){var c=u||i.type,p=t[c];r[c](i,l,o),p&&p(i,l)}(e,n,a)}function nZ(e,t,r,n,a){var o=[];r||(r=me),function i(l,u,c){var p=c||l.type,d=t[p],h=l!==o[o.length-1];h&&o.push(l),r[p](l,u,i),d&&d(l,u||o,o),h&&o.pop()}(e,n,a)}function v0(e,t,r){r(e,t)}function Ya(e,t,r){}var me={};me.Program=me.BlockStatement=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};me.Statement=v0;me.EmptyStatement=Ya;me.ExpressionStatement=me.ParenthesizedExpression=me.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};me.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};me.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};me.BreakStatement=me.ContinueStatement=Ya;me.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};me.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var n=0,a=e.cases;n<a.length;n+=1){var o=a[n];o.test&&r(o.test,t,"Expression");for(var i=0,l=o.consequent;i<l.length;i+=1){var u=l[i];r(u,t,"Statement")}}};me.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var n=0,a=e.consequent;n<a.length;n+=1){var o=a[n];r(o,t,"Statement")}};me.ReturnStatement=me.YieldExpression=me.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};me.ThrowStatement=me.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};me.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};me.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};me.WhileStatement=me.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};me.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};me.ForInStatement=me.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};me.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};me.DebuggerStatement=Ya;me.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};me.VariableDeclaration=function(e,t,r){for(var n=0,a=e.declarations;n<a.length;n+=1){var o=a[n];r(o,t)}};me.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};me.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var n=0,a=e.params;n<a.length;n+=1){var o=a[n];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};me.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};me.VariablePattern=Ya;me.MemberPattern=v0;me.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};me.ArrayPattern=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Pattern")}};me.ObjectPattern=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};me.Expression=v0;me.ThisExpression=me.Super=me.MetaProperty=Ya;me.ArrayExpression=function(e,t,r){for(var n=0,a=e.elements;n<a.length;n+=1){var o=a[n];o&&r(o,t,"Expression")}};me.ObjectExpression=function(e,t,r){for(var n=0,a=e.properties;n<a.length;n+=1){var o=a[n];r(o,t)}};me.FunctionExpression=me.ArrowFunctionExpression=me.FunctionDeclaration;me.SequenceExpression=function(e,t,r){for(var n=0,a=e.expressions;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};me.TemplateLiteral=function(e,t,r){for(var n=0,a=e.quasis;n<a.length;n+=1){var o=a[n];r(o,t)}for(var i=0,l=e.expressions;i<l.length;i+=1){var u=l[i];r(u,t,"Expression")}};me.TemplateElement=Ya;me.UnaryExpression=me.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};me.BinaryExpression=me.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};me.AssignmentExpression=me.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};me.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};me.NewExpression=me.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var n=0,a=e.arguments;n<a.length;n+=1){var o=a[n];r(o,t,"Expression")}};me.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};me.ExportNamedDeclaration=me.ExportDefaultDeclaration=function(e,t,r){e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression")};me.ExportAllDeclaration=function(e,t,r){e.exported&&r(e.exported,t),r(e.source,t,"Expression")};me.ImportDeclaration=function(e,t,r){for(var n=0,a=e.specifiers;n<a.length;n+=1){var o=a[n];r(o,t)}r(e.source,t,"Expression")};me.ImportExpression=function(e,t,r){r(e.source,t,"Expression")};me.ImportSpecifier=me.ImportDefaultSpecifier=me.ImportNamespaceSpecifier=me.Identifier=me.Literal=Ya;me.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};me.ClassDeclaration=me.ClassExpression=function(e,t,r){return r(e,t,"Class")};me.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};me.ClassBody=function(e,t,r){for(var n=0,a=e.body;n<a.length;n+=1){var o=a[n];r(o,t)}};me.MethodDefinition=me.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),r(e.value,t,"Expression")};var E0={...me,JSXElement:()=>{}},aZ=ot.extend((0,rZ.default)());function Ws(e){return e!=null?e.name:null}function dC(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function gB(e){let t=[];return nZ(e,{ObjectExpression(r,n){t.push(dC(n).length)},ArrayExpression(r,n){t.push(dC(n).length)}},E0),Math.max(...t)}function oZ(e){return{inferredType:{type:"Identifier",identifier:Ws(e)},ast:e}}function iZ(e){return{inferredType:{type:"Literal"},ast:e}}function sZ(e){let t;yB(e.body,{JSXElement(a){t=a}},E0);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Ws(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function lZ(e){let t;return yB(e.body,{JSXElement(r){t=r}},E0),{inferredType:{type:t!=null?"Element":"Class",identifier:Ws(e.id)},ast:e}}function uZ(e){let t={type:"Element"},r=Ws(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function cZ(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Ws(t)==="shape"?bB(e.arguments[0]):null}function bB(e){return{inferredType:{type:"Object",depth:gB(e)},ast:e}}function pZ(e){return{inferredType:{type:"Array",depth:gB(e)},ast:e}}function dZ(e){switch(e.type){case"Identifier":return oZ(e);case"Literal":return iZ(e);case"FunctionExpression":case"ArrowFunctionExpression":return sZ(e);case"ClassExpression":return lZ(e);case"JSXElement":return uZ(e);case"CallExpression":return cZ(e);case"ObjectExpression":return bB(e);case"ArrayExpression":return pZ(e);default:return null}}function fZ(e){let t=aZ.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let a=dZ(n.expression);a!=null&&(r=a);break}}}return r}function ta(e){try{return{...fZ(e)}}catch{}return{inferredType:{type:"Unknown"}}}var hZ=si(JQ());function C0(e){return hZ.default.includes(e.toLowerCase())}function vB({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=pC(t,!0);if(!Wa(n))return _e(n)}return _e(b0,pC(t))}function EB({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=lm(t,!0);if(!Wa(n))return _e(n)}return _e(Gs,lm(t))}function w0(e,t){return t?`${e}( ... )`:`${e}()`}function Bp(e){return`<${e} />`}function CB(e){let{type:t,identifier:r}=e;switch(t){case"Function":return w0(r,e.hasParams);case"Element":return Bp(r);default:return r}}function mZ({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return _e(CB(e),Yn(t));let n=Yn(t,!0);return Wa(n)?_e(zo,Yn(t)):_e(n)}function yZ(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!C0(n)){let a=CB(r);return _e(a,e)}return Wa(e)?_e(ui,e):_e(e)}function wB(e){try{let t=ta(e);switch(t.inferredType.type){case"Object":return EB(t);case"Function":return mZ(t);case"Element":return yZ(e,t);case"Array":return vB(t);default:return null}}catch(t){console.error(t)}return null}function gZ(e){var r;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let n=e[Symbol.toStringTag];return n==null||!((r=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&r.writable)?!1:e.toString()===`[object ${n}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function fC(e){return typeof e=="function"}function bZ(e){return typeof e=="string"||e instanceof String}var hC=oj;function AB(e){return e.$$typeof!=null}function xB(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var vZ=e=>_e(JSON.stringify(e));function EZ(e){let{type:t}=e,{displayName:r}=t,n=hC(e,{});if(r!=null){let a=Bp(r);return _e(a,n)}if(bZ(t)&&C0(t)){let a=hC(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Wa(a))return _e(a)}return _e(ui,n)}var CZ=e=>{if(AB(e)&&e.type!=null)return EZ(e);if(gZ(e)){let t=ta(JSON.stringify(e));return EB(t)}if(Array.isArray(e)){let t=ta(JSON.stringify(e));return vB(t)}return _e(Gs)},wZ=(e,t)=>{let r=!1,n;if(fC(e.render))r=!0;else if(e.prototype!=null&&fC(e.prototype.render))r=!0;else{let o;try{n=ta(e.toString());let{hasParams:i,params:l}=n.inferredType;i?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&AB(o)&&(r=!0)}catch{}}let a=xB(e,t.name);if(a!=null){if(r)return _e(Bp(a));n!=null&&(n=ta(e.toString()));let{hasParams:o}=n.inferredType;return _e(w0(a,o))}return _e(r?ui:zo)},AZ=e=>_e(e.toString()),SB={string:vZ,object:CZ,function:wZ,default:AZ};function xZ(e={}){return{...SB,...e}}function SZ(e,t,r=SB){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function _Z(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];if(r){let o=e.map(i=>{let l=i.getPrettyName(),u=i.getTypeName();return u!=null?`${l}: ${u}`:l});a.push(`(${o.join(", ")})`)}else a.push("()");return n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function TZ(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let a=[];return r?a.push("( ... )"):a.push("()"),n&&a.push(`=> ${t.getTypeName()}`),a.join(" ")}function PZ(e){return e.replace(/,/g,`,\r
1123
+ `)}var DZ=150;function Wt({name:e,short:t,compact:r,full:n,inferredType:a}){return{name:e,short:t,compact:r,full:n??t,inferredType:a}}function _B(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function mC(e){return e.split(/\r?\n/)}function qu(e,t=!1){return _B(lm(e,t))}function yC(e,t=!1){return _B(Yn(e,t))}function OZ(e){switch(e){case"Object":return Gs;case"Array":return b0;case"Class":return WQ;case"Function":return zo;case"Element":return ui;default:return sm}}function TB(e,t){let{inferredType:r,ast:n}=ta(e),{type:a}=r,o,i,l;switch(a){case"Identifier":case"Literal":o=e,i=e;break;case"Object":{let{depth:u}=r;o=Gs,i=u===1?qu(n,!0):null,l=qu(n);break}case"Element":{let{identifier:u}=r;o=u!=null&&!C0(u)?u:ui,i=mC(e).length===1?e:null,l=e;break}case"Array":{let{depth:u}=r;o=b0,i=u<=2?yC(n,!0):null,l=yC(n);break}default:o=OZ(a),i=mC(e).length===1?e:null,l=e;break}return Wt({name:t,short:o,compact:i,full:l,inferredType:a})}function RZ({raw:e}){return e!=null?TB(e,"custom"):Wt({name:"custom",short:sm,compact:sm})}function FZ(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Wt({name:"func",short:TZ(t.params,t.returns),compact:null,full:_Z(t.params,t.returns)}):Wt({name:"func",short:zo,compact:zo})}function IZ(e,t){let r=Object.keys(e.value).map(i=>`${i}: ${Jo(e.value[i],t).full}`).join(", "),{inferredType:n,ast:a}=ta(`{ ${r} }`),{depth:o}=n;return Wt({name:"shape",short:Gs,compact:o===1&&a?qu(a,!0):null,full:a?qu(a):null})}function Od(e){return`objectOf(${e})`}function kZ(e,t){let{short:r,compact:n,full:a}=Jo(e.value,t);return Wt({name:"objectOf",short:Od(r),compact:n!=null?Od(n):null,full:a&&Od(a)})}function NZ(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,a)=>{let{short:o,compact:i,full:l}=Jo(a,t);return n.short.push(o),n.compact.push(i),n.full.push(l),n},{short:[],compact:[],full:[]});return Wt({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return Wt({name:"union",short:e.value,compact:null})}function jZ({value:e,computed:t}){return t?TB(e,"enumvalue"):Wt({name:"enumvalue",short:e,compact:e})}function BZ(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:a,compact:o,full:i}=jZ(n);return r.short.push(a),r.compact.push(o),r.full.push(i),r},{short:[],compact:[],full:[]});return Wt({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Wt({name:"enum",short:e.value,compact:e.value})}function um(e){return`${e}[]`}function gC(e){return`[${e}]`}function bC(e,t,r){return Wt({name:"arrayOf",short:um(e),compact:t!=null?gC(t):null,full:r&&gC(r)})}function qZ(e,t){let{name:r,short:n,compact:a,full:o,inferredType:i}=Jo(e.value,t);if(r==="custom"){if(i==="Object")return bC(n,a,o)}else if(r==="shape")return bC(n,a,o);return Wt({name:"arrayOf",short:um(n),compact:um(n)})}function Jo(e,t){try{switch(e.name){case"custom":return RZ(e);case"func":return FZ(t);case"shape":return IZ(e,t);case"instanceOf":return Wt({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return kZ(e,t);case"union":return NZ(e,t);case"enum":return BZ(e);case"arrayOf":return qZ(e,t);default:return Wt({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return Wt({name:"unknown",short:"unknown",compact:"unknown"})}function MZ(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:a}=Jo(t,e);return n!=null&&!jp(n)?_e(n):a?_e(r,a):_e(r)}case"func":{let{short:r,full:n}=Jo(t,e),a=r,o;return n&&n.length<DZ?a=n:n&&(o=PZ(n)),_e(a,o)}default:return null}}catch(r){console.error(r)}return null}var LZ=(e,{name:t,type:r})=>{let n=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",a=xB(e,t);if(a!=null){if(n)return _e(Bp(a));let{hasParams:o}=ta(e.toString()).inferredType;return _e(w0(a,o))}return _e(n?ui:zo)},$Z=xZ({function:LZ});function UZ(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(a=>a.name===n)).filter(Boolean):e}function VZ(e,t){let{propDef:r}=e,n=MZ(e);n!=null&&(r.type=n);let{defaultValue:a}=e.docgenInfo;if(a!=null&&a.value!=null){let o=wB(a.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=SZ(t,r,$Z);o!=null&&(r.defaultValue=o)}return r}function HZ(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(a=>VZ(a,r[a.propDef.name]));return UZ(n,t)}function zZ(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let a=wB(n.value);a!=null&&(r.defaultValue=a)}return r}function JZ(e){return e.map(t=>zZ(t))}function GZ(e,t){let r=e;!Np(e)&&!e.propTypes&&ZN(e)&&(r=e.type);let n=yQ(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case Yh.JAVASCRIPT:return HZ(n,e);case Yh.TYPESCRIPT:return JZ(n);default:return n.map(a=>a.propDef)}}var WZ=e=>({rows:GZ(e,"props")}),YZ=e=>{if(e){let{rows:t}=WZ(e);if(t)return t.reduce((r,n)=>{let{name:a,description:o,type:i,sbType:l,defaultValue:u,jsDocTags:c,required:p}=n;return r[a]={name:a,description:o,type:{required:p,...l},table:{type:i??void 0,jsDocTags:c,defaultValue:u??void 0}},r},{})}return null},PB={docs:{extractArgTypes:YZ,extractComponentDescription:tB}},DB=[gQ];const KZ=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:DB,parameters:PB},Symbol.toStringTag,{value:"Module"})),{logger:fl}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{useRef:XZ,useEffect:QZ,emitTransformCode:ZZ}=__STORYBOOK_MODULE_PREVIEW_API__;var eee={};Tp(eee,{applyDecorators:()=>FB,decorators:()=>IB,parameters:()=>kB});var Rd=oj,tee=e=>e.charAt(0).toUpperCase()+e.slice(1),ree=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(tee).join("")).join(".");function cm(e){if(zt.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=cm(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(cm):e}var nee=(e,t)=>{if(typeof e>"u")return fl.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let i=0;i<(t==null?void 0:t.skip);i+=1){if(typeof r>"u")return fl.warn("Cannot skip undefined element"),null;if(Sr.Children.count(r)>1)return fl.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(fl.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=Sr.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let a;typeof(t==null?void 0:t.displayName)=="string"?a={showFunctions:!0,displayName:()=>t.displayName}:a={displayName:i=>{var l;return i.type.displayName?i.type.displayName:Bu(i.type,"displayName")?Bu(i.type,"displayName"):(l=i.type.render)!=null&&l.displayName?i.type.render.displayName:typeof i.type=="symbol"||i.type.$$typeof&&typeof i.type.$$typeof=="symbol"?ree(i.type):i.type.name&&i.type.name!=="_default"?i.type.name:typeof i.type=="function"?"No Display Name":GK(i.type)?i.type.render.name:ZN(i.type)?i.type.type.name:i.type}};let o={...a,filterProps:(i,l)=>i!==void 0,...t};return Sr.Children.map(e,i=>{let l=typeof i=="number"?i.toString():i,u=(typeof Rd=="function"?Rd:Rd.default)(cm(l),o);if(u.indexOf("&quot;")>-1){let c=u.match(/\S+=\\"([^"]*)\\"/g);c&&c.forEach(p=>{u=u.replace(p,p.replace(/&quot;/g,"'"))})}return u}).join(`
1124
+ `).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},aee={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},oee=e=>{var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Kh.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Kh.CODE},iee=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},OB=e=>{if(!iee(e))return e;let{mdxType:t,originalType:r,children:n,...a}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(OB)),zt.createElement(r,a,...o)},RB=(e,t)=>{let r=XZ(void 0),n=e(),a=oee(t),o={...aee,...(t==null?void 0:t.parameters.jsx)||{}},i=t.originalStoryFn(t.args,t);return QZ(()=>{if(a)return;let l=OB(i),u=nee(l,o);u&&r.current!==u&&(ZZ(u,t),r.current=u)}),n},FB=(e,t)=>{let r=t.findIndex(a=>a.originalFn===RB),n=r===-1?t:[...t.splice(r,1),...t];return Xv(e,n)},IB=[RB],kB={docs:{story:{inline:!0}}};const see=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:FB,decorators:IB,parameters:kB},Symbol.toStringTag,{value:"Module"}));var lee=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),uee={docs:{renderer:async()=>{let{DocsRenderer:e}=await yo(()=>import("./DocsRenderer-PQXLIZUC-Bq83urOe.js"),__vite__mapDeps([11,10,2,8,1]),import.meta.url);return new e},stories:{filter:e=>{var t;return(e.tags||[]).filter(r=>lee[r]).length===0&&!((t=e.parameters.docs)!=null&&t.disable)}}}};const cee=Object.freeze(Object.defineProperty({__proto__:null,parameters:uee},Symbol.toStringTag,{value:"Module"})),pee={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},dee=Object.freeze(Object.defineProperty({__proto__:null,default:pee},Symbol.toStringTag,{value:"Module"}));Yv();const{composeConfigs:fee,PreviewWeb:hee}=__STORYBOOK_MODULE_PREVIEW_API__,mee=(e=[])=>{const t=[e[0]??VK,e[1]??KZ,e[2]??see,e[3]??cee,e[4]??dee];return fee(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new hee(nK,mee);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Sr as R,Kh as T,qte as V,yo as _,iK as a,aK as g,Lte as h,zt as r};