@v-miniapp/ui-react 1.0.60 → 1.0.71

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 (491) hide show
  1. package/dist/_virtual/_cloneBuffer.js +4 -0
  2. package/dist/_virtual/_commonjsHelpers.js +8 -0
  3. package/dist/_virtual/_nodeUtil.js +4 -0
  4. package/dist/_virtual/cloneDeepWith.js +7 -0
  5. package/dist/_virtual/isBuffer.js +4 -0
  6. package/dist/_virtual/isObject.js +7 -0
  7. package/dist/_virtual/isSameOrAfter.js +7 -0
  8. package/dist/_virtual/isSameOrAfter2.js +4 -0
  9. package/dist/_virtual/isSameOrBefore.js +7 -0
  10. package/dist/_virtual/isSameOrBefore2.js +4 -0
  11. package/dist/_virtual/merge.js +7 -0
  12. package/dist/_virtual/omit.js +7 -0
  13. package/dist/_virtual/pick.js +7 -0
  14. package/dist/_virtual/throttle.js +7 -0
  15. package/dist/assets/icons/loader.svg.js +5 -0
  16. package/dist/assets/icons/placeholder.svg.js +5 -0
  17. package/dist/assets/images/broken-image.svg.js +5 -0
  18. package/dist/assets/images/default-error.png.js +4 -0
  19. package/dist/assets/images/image.svg.js +5 -0
  20. package/dist/components/ai-app/ai-app.d.ts +7 -0
  21. package/dist/components/ai-app/ai-app.js +20 -0
  22. package/dist/components/ai-app/index.d.ts +1 -0
  23. package/dist/components/alert/alert.js +76 -0
  24. package/dist/components/app/app.d.ts +1 -6
  25. package/dist/components/app/app.js +78 -0
  26. package/dist/components/app/app.store.d.ts +6 -0
  27. package/dist/components/app/app.store.js +8 -0
  28. package/dist/components/app/bottom-tab-bar-layout/hook.js +36 -0
  29. package/dist/components/app/bottom-tab-bar-layout/index.js +38 -0
  30. package/dist/components/app/bottom-tab-bar-layout/store.js +54 -0
  31. package/dist/components/app/data-theme.js +29 -0
  32. package/dist/components/app/navigation-bar-layout/hook.js +39 -0
  33. package/dist/components/app/navigation-bar-layout/index.js +46 -0
  34. package/dist/components/app/navigation-bar-layout/store.js +60 -0
  35. package/dist/components/app/page-layout/hook.js +62 -0
  36. package/dist/components/app/page-layout/index.js +21 -0
  37. package/dist/components/app/page-layout/store.js +52 -0
  38. package/dist/components/avatar/avatar.js +79 -0
  39. package/dist/components/badge/badge.js +40 -0
  40. package/dist/components/bottom-tab-bar/bottom-tab-bar.js +90 -0
  41. package/dist/components/button/button.const.js +7 -0
  42. package/dist/components/button/button.js +62 -0
  43. package/dist/components/calendar/calendar-range-sheet.js +66 -0
  44. package/dist/components/calendar/calendar-single-sheet.js +64 -0
  45. package/dist/components/calendar/calendar.js +16 -0
  46. package/dist/components/calendar/default-render.js +16 -0
  47. package/dist/components/calendar/range-picker.js +301 -0
  48. package/dist/components/calendar/single-picker.js +186 -0
  49. package/dist/components/calendar/utils.js +25 -0
  50. package/dist/components/carousel/carousel.js +47 -0
  51. package/dist/components/carousel/use-carousel.js +54 -0
  52. package/dist/components/checkbox/check-icon.js +23 -0
  53. package/dist/components/checkbox/checkbox.js +131 -0
  54. package/dist/components/checkbox/indeterminate-icon.js +20 -0
  55. package/dist/components/chip/chip.js +80 -0
  56. package/dist/components/date-field/date-field-range.js +153 -0
  57. package/dist/components/date-field/date-field.js +100 -0
  58. package/dist/components/date-field/input.js +53 -0
  59. package/dist/components/date-picker/date-picker-base.js +214 -0
  60. package/dist/components/date-picker/date-picker-item.js +69 -0
  61. package/dist/components/date-picker/date-picker-sheet.js +54 -0
  62. package/dist/components/date-picker/date-picker.constant.js +11 -0
  63. package/dist/components/date-picker/date-picker.js +76 -0
  64. package/dist/components/date-picker/date-picker.utils.js +58 -0
  65. package/dist/components/dialog/dialog.js +115 -0
  66. package/dist/components/dropdown/dropdown-base.js +22 -0
  67. package/dist/components/dropdown/dropdown.js +148 -0
  68. package/dist/components/error/error-boundary.js +28 -0
  69. package/dist/components/error/error.js +25 -0
  70. package/dist/components/icon/icon-mapping.js +260 -0
  71. package/dist/components/icon/icon.js +54 -0
  72. package/dist/components/image/image.js +70 -0
  73. package/dist/components/index.d.ts +1 -0
  74. package/dist/components/input-wrapper/input-wrapper.js +153 -0
  75. package/dist/components/label/label.js +58 -0
  76. package/dist/components/layout/page-loading.js +39 -0
  77. package/dist/components/layout/page.js +103 -0
  78. package/dist/components/list-item/list-item.js +36 -0
  79. package/dist/components/navigation-bar/navigation-bar.d.ts +1 -4
  80. package/dist/components/navigation-bar/navigation-bar.js +106 -0
  81. package/dist/components/number-field/number-field.js +162 -0
  82. package/dist/components/option-item/option-item.js +56 -0
  83. package/dist/components/pagination/pagination.js +20 -0
  84. package/dist/components/pull-to-refresh/pull-to-refresh.js +120 -0
  85. package/dist/components/radio/radio.js +72 -0
  86. package/dist/components/rating/rating.js +62 -0
  87. package/dist/components/rating/star.js +22 -0
  88. package/dist/components/search-field/search-field.js +40 -0
  89. package/dist/components/section/section-content.js +10 -0
  90. package/dist/components/section/section-title.js +32 -0
  91. package/dist/components/section/section.js +21 -0
  92. package/dist/components/seo/seo.js +18 -0
  93. package/dist/components/sheet/sheet-body.js +25 -0
  94. package/dist/components/sheet/sheet-footer.js +11 -0
  95. package/dist/components/sheet/sheet-header.js +52 -0
  96. package/dist/components/sheet/sheet.js +72 -0
  97. package/dist/components/skeleton/skeleton.js +50 -0
  98. package/dist/components/switch/switch.js +68 -0
  99. package/dist/components/tab-bar/tab-bar.js +130 -0
  100. package/dist/components/tab-bar/tab.js +55 -0
  101. package/dist/components/text-area/text-area.js +75 -0
  102. package/dist/components/text-field/text-field.js +63 -0
  103. package/dist/components/toast/toast-provider.js +45 -0
  104. package/dist/components/toast/toast.js +66 -0
  105. package/dist/components/toast/toast.store.js +35 -0
  106. package/dist/components/tooltip/tooltip.js +43 -0
  107. package/dist/components/typography/typography.js +28 -0
  108. package/dist/components/uploader/helper.js +21 -0
  109. package/dist/components/uploader/uploader.js +93 -0
  110. package/dist/components/visibility-sensor/visibility-sensor.js +17 -0
  111. package/dist/docs/ui-react/icon-list-grid.d.ts +1 -0
  112. package/dist/external/index.js +13357 -13497
  113. package/dist/external/styles.css +1 -1
  114. package/dist/hooks/use-custom-icon-event.js +16 -0
  115. package/dist/hooks/use-settings-changed.js +16 -0
  116. package/dist/index.d.ts +1 -0
  117. package/dist/index.js +139 -7488
  118. package/dist/locales/en.json.js +30 -0
  119. package/dist/locales/index.d.ts +2 -0
  120. package/dist/locales/index.js +10 -0
  121. package/dist/locales/vi.json.js +30 -0
  122. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
  123. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
  124. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_DataView.js +12 -0
  125. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Hash.js +22 -0
  126. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_ListCache.js +22 -0
  127. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Map.js +12 -0
  128. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_MapCache.js +22 -0
  129. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Promise.js +12 -0
  130. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Set.js +12 -0
  131. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Stack.js +20 -0
  132. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js +11 -0
  133. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Uint8Array.js +11 -0
  134. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_WeakMap.js +12 -0
  135. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_apply.js +22 -0
  136. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayEach.js +14 -0
  137. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayFilter.js +16 -0
  138. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayLikeKeys.js +26 -0
  139. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayMap.js +14 -0
  140. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayPush.js +14 -0
  141. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignMergeValue.js +15 -0
  142. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignValue.js +16 -0
  143. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assocIndexOf.js +17 -0
  144. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssign.js +15 -0
  145. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignIn.js +15 -0
  146. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignValue.js +19 -0
  147. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseClone.js +70 -0
  148. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseCreate.js +23 -0
  149. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFlatten.js +20 -0
  150. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFor.js +11 -0
  151. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGet.js +18 -0
  152. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetAllKeys.js +16 -0
  153. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js +16 -0
  154. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseHasIn.js +12 -0
  155. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsArguments.js +15 -0
  156. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsMap.js +15 -0
  157. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsNative.js +22 -0
  158. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsSet.js +15 -0
  159. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsTypedArray.js +17 -0
  160. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeys.js +20 -0
  161. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeysIn.js +21 -0
  162. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMerge.js +27 -0
  163. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMergeDeep.js +38 -0
  164. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePick.js +17 -0
  165. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePickBy.js +20 -0
  166. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseRest.js +16 -0
  167. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSet.js +31 -0
  168. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSetToString.js +20 -0
  169. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSlice.js +16 -0
  170. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTimes.js +14 -0
  171. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseToString.js +24 -0
  172. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js +14 -0
  173. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnary.js +14 -0
  174. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnset.js +34 -0
  175. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_castPath.js +17 -0
  176. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneArrayBuffer.js +15 -0
  177. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneBuffer.js +19 -0
  178. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneDataView.js +15 -0
  179. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneRegExp.js +14 -0
  180. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneSymbol.js +14 -0
  181. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneTypedArray.js +15 -0
  182. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyArray.js +15 -0
  183. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyObject.js +21 -0
  184. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbols.js +15 -0
  185. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbolsIn.js +15 -0
  186. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_coreJsData.js +11 -0
  187. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createAssigner.js +22 -0
  188. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createBaseFor.js +19 -0
  189. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_customOmitClone.js +14 -0
  190. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_defineProperty.js +17 -0
  191. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_flatRest.js +16 -0
  192. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js +11 -0
  193. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeys.js +16 -0
  194. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeysIn.js +16 -0
  195. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getMapData.js +15 -0
  196. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getNative.js +16 -0
  197. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getPrototype.js +11 -0
  198. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js +21 -0
  199. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbols.js +16 -0
  200. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbolsIn.js +18 -0
  201. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getTag.js +33 -0
  202. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getValue.js +12 -0
  203. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hasPath.js +26 -0
  204. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashClear.js +14 -0
  205. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashDelete.js +13 -0
  206. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashGet.js +19 -0
  207. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashHas.js +15 -0
  208. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashSet.js +15 -0
  209. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneArray.js +14 -0
  210. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneByTag.js +48 -0
  211. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneObject.js +16 -0
  212. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isFlattenable.js +16 -0
  213. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIndex.js +14 -0
  214. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIterateeCall.js +20 -0
  215. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKey.js +18 -0
  216. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKeyable.js +13 -0
  217. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isMasked.js +17 -0
  218. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isPrototype.js +14 -0
  219. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheClear.js +12 -0
  220. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheDelete.js +18 -0
  221. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheGet.js +15 -0
  222. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheHas.js +14 -0
  223. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheSet.js +15 -0
  224. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheClear.js +20 -0
  225. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheDelete.js +15 -0
  226. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheGet.js +14 -0
  227. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheHas.js +14 -0
  228. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheSet.js +15 -0
  229. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_memoizeCapped.js +17 -0
  230. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeCreate.js +11 -0
  231. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeys.js +11 -0
  232. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeysIn.js +16 -0
  233. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nodeUtil.js +19 -0
  234. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js +13 -0
  235. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overArg.js +14 -0
  236. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overRest.js +21 -0
  237. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_parent.js +15 -0
  238. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js +11 -0
  239. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_safeGet.js +13 -0
  240. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_setToString.js +12 -0
  241. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_shortOut.js +22 -0
  242. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackClear.js +14 -0
  243. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackDelete.js +13 -0
  244. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackGet.js +12 -0
  245. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackHas.js +12 -0
  246. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackSet.js +23 -0
  247. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stringToPath.js +16 -0
  248. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toKey.js +17 -0
  249. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toSource.js +23 -0
  250. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js +15 -0
  251. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/cloneDeepWith.js +14 -0
  252. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/constant.js +14 -0
  253. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js +60 -0
  254. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/eq.js +12 -0
  255. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/flatten.js +15 -0
  256. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/hasIn.js +15 -0
  257. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/identity.js +12 -0
  258. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArguments.js +16 -0
  259. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArray.js +10 -0
  260. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLike.js +15 -0
  261. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLikeObject.js +15 -0
  262. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isBuffer.js +14 -0
  263. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isFunction.js +18 -0
  264. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isLength.js +13 -0
  265. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isMap.js +13 -0
  266. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js +13 -0
  267. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js +12 -0
  268. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isPlainObject.js +22 -0
  269. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSet.js +13 -0
  270. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js +15 -0
  271. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isTypedArray.js +13 -0
  272. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keys.js +16 -0
  273. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keysIn.js +16 -0
  274. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/last.js +13 -0
  275. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/memoize.js +23 -0
  276. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/merge.js +14 -0
  277. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js +13 -0
  278. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/omit.js +29 -0
  279. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/pick.js +14 -0
  280. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubArray.js +12 -0
  281. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubFalse.js +12 -0
  282. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/throttle.js +22 -0
  283. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js +28 -0
  284. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toPlainObject.js +15 -0
  285. package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toString.js +14 -0
  286. package/dist/styles.css +1 -1
  287. package/dist/utils/bound.js +7 -0
  288. package/dist/utils/can-use-dom.js +4 -0
  289. package/dist/utils/classname.js +6 -0
  290. package/dist/utils/colors.gen.js +371 -0
  291. package/dist/utils/colors.js +8 -0
  292. package/dist/utils/convert-px.js +14 -0
  293. package/dist/utils/date.d.ts +2 -1
  294. package/dist/utils/date.js +9 -0
  295. package/dist/utils/deep-clone.js +10 -0
  296. package/dist/utils/dev-log.js +7 -0
  297. package/dist/utils/get-scroll-parent.js +20 -0
  298. package/dist/utils/is-dev.js +4 -0
  299. package/dist/utils/rubberband.js +11 -0
  300. package/dist/utils/sleep.js +4 -0
  301. package/dist/utils/supports-passive.js +15 -0
  302. package/dist/utils/to-css-length.js +6 -0
  303. package/dist/vsf/choose-image.js +14 -0
  304. package/dist-storybook/assets/AIApp-C4keJkW8.js +37 -0
  305. package/dist-storybook/assets/{App-CJxOxRXd.js → App-BkiRuUOF.js} +1 -1
  306. package/dist-storybook/assets/Color-6BZIO3FS-EdXZe4iv.js +1 -0
  307. package/dist-storybook/assets/{DEEPLINK-B5vUshJ4.js → DEEPLINK-CvpIbZVm.js} +1 -1
  308. package/dist-storybook/assets/DocsRenderer-LL677BLK-Ch7ovClC.js +2 -0
  309. package/dist-storybook/assets/{EVENTS-DIl-sE2t.js → EVENTS-Bnl2ehlm.js} +1 -1
  310. package/dist-storybook/assets/{GETTING_STARTED-CR4dG_o7.js → GETTING_STARTED-BYcN9hg3.js} +1 -1
  311. package/dist-storybook/assets/{GETTING_STARTED-CtonLhRi.js → GETTING_STARTED-BmHWFQQE.js} +1 -1
  312. package/dist-storybook/assets/GETTING_STARTED-C1AOB25Z.js +45 -0
  313. package/dist-storybook/assets/{GETTING_STARTED-CS2BpDsP.js → GETTING_STARTED-CBY9dL2_.js} +1 -1
  314. package/dist-storybook/assets/ICON-BaZgXbtw.js +6 -0
  315. package/dist-storybook/assets/ICON-CT1pTB1A.js +6 -0
  316. package/dist-storybook/assets/{INFINITE_SCROLL-BerukJIr.js → INFINITE_SCROLL-BJeWhgO7.js} +1 -1
  317. package/dist-storybook/assets/{LocalesProvider-CehS9yzW.js → LocalesProvider-CQEwtoq3.js} +1 -1
  318. package/dist-storybook/assets/{MIGRATE_DARKMODE_TO_THEME-CRf-7Wcz.js → MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js} +1 -1
  319. package/dist-storybook/assets/{MIGRATION_GUIDE-CRIHuXpT.js → MIGRATION_GUIDE-BN_V-xNj.js} +1 -1
  320. package/dist-storybook/assets/OVERVIEW-AI-CLWBzviY.js +35 -0
  321. package/dist-storybook/assets/{OVERVIEW-DayETux4.js → OVERVIEW-Byly3lQV.js} +1 -1
  322. package/dist-storybook/assets/{Router-CGsO5Wd_.js → Router-CO6rjSXr.js} +1 -1
  323. package/dist-storybook/assets/{TAILWIND_INTEGRATION-RPvFP-GI.js → TAILWIND_INTEGRATION-CpN4_fSu.js} +1 -1
  324. package/dist-storybook/assets/{THEME-C-pA_uq_.js → THEME-B9Y39f9D.js} +1 -1
  325. package/dist-storybook/assets/WithTooltip-65CFNBJE-D6J_7FjK.js +9 -0
  326. package/dist-storybook/assets/{alert.stories-CFBhdabd.js → alert.stories-CUItfPLn.js} +12 -12
  327. package/dist-storybook/assets/app.store-BJVKVv1J.js +1 -0
  328. package/dist-storybook/assets/avatar.stories-8_vV7Bb0.js +136 -0
  329. package/dist-storybook/assets/{axe-Cj9fkEY9.js → axe-4EaTvypG.js} +13 -13
  330. package/dist-storybook/assets/badge-Gh2kTOE3.js +1 -0
  331. package/dist-storybook/assets/{badge.stories-DhVKBE64.js → badge.stories-BXGAtgaV.js} +3 -3
  332. package/dist-storybook/assets/blocks-CB7UwFa4.js +758 -0
  333. package/dist-storybook/assets/bottom-tab-bar.stories-OrY-k1sb.js +280 -0
  334. package/dist-storybook/assets/button-BLW8SOpg.js +1 -0
  335. package/dist-storybook/assets/{button.stories-DgRH6oVV.js → button.stories--0kpp_af.js} +3 -3
  336. package/dist-storybook/assets/calendar-ySr-9cXG.js +1 -0
  337. package/dist-storybook/assets/{calendar.stories-B0K_T9ak.js → calendar.stories-4MQj1nsX.js} +1 -1
  338. package/dist-storybook/assets/carousel.stories-CMtljvBR.js +253 -0
  339. package/dist-storybook/assets/checkbox.stories-xYjsVg2X.js +201 -0
  340. package/dist-storybook/assets/{chip.stories-D0908ZyT.js → chip.stories-DYEfUGq3.js} +12 -12
  341. package/dist-storybook/assets/classname-Bl5epEs-.js +1 -0
  342. package/dist-storybook/assets/client-CN8vOzuD.js +9 -0
  343. package/dist-storybook/assets/{date-C1W0DfQy.js → date-DWIyMGld.js} +1 -1
  344. package/dist-storybook/assets/date-field.stories-5Tlzdpvr.js +129 -0
  345. package/dist-storybook/assets/date-picker-DeB43YU4.js +1 -0
  346. package/dist-storybook/assets/{date-picker.stories-Bahq3f1W.js → date-picker.stories-Shn-MmVG.js} +1 -1
  347. package/dist-storybook/assets/dialog.stories-DeNKN0oJ.js +212 -0
  348. package/dist-storybook/assets/dropdown.stories-Bqmu2_KM.js +449 -0
  349. package/dist-storybook/assets/{embla-carousel-react.esm-Pp2OIUrN.js → embla-carousel-react.esm-DOEAp-w3.js} +1 -1
  350. package/dist-storybook/assets/{en-Cs9O0XWn.js → en-IjeCvZ5U.js} +1 -1
  351. package/dist-storybook/assets/formatter-EIJCOSYU-DZLV30KU.js +1 -0
  352. package/dist-storybook/assets/icon-Cc9W858e.js +1 -0
  353. package/dist-storybook/assets/icon-list-grid-CSnpdoAW.js +1 -0
  354. package/dist-storybook/assets/{icon.stories-qg8UAHBM.js → icon.stories-DE484rTd.js} +3 -3
  355. package/dist-storybook/assets/iframe-BBKyXin_.css +1 -0
  356. package/dist-storybook/assets/iframe-Crg_lbde.js +1119 -0
  357. package/dist-storybook/assets/image-CB4oeTy-.js +9 -0
  358. package/dist-storybook/assets/{image.stories-sQtCaoL2.js → image.stories-BlYIb_Qu.js} +1 -1
  359. package/dist-storybook/assets/index-B24pfkXD.js +1 -0
  360. package/dist-storybook/assets/{index-1AHvPexM.js → index-CdnALcTP.js} +1 -1
  361. package/dist-storybook/assets/{index-DWjPAWoJ.js → index-hDlmuyu2.js} +1 -1
  362. package/dist-storybook/assets/input-wrapper-Gd3QJKqj.js +1 -0
  363. package/dist-storybook/assets/label-zfqCJTGJ.js +22 -0
  364. package/dist-storybook/assets/{label.stories-CCtGPDrS.js → label.stories-C-MVt-cu.js} +3 -3
  365. package/dist-storybook/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
  366. package/dist-storybook/assets/navigation-bar.stories-CZ-y3eDE.js +136 -0
  367. package/dist-storybook/assets/number-field.stories-BA0FySSU.js +167 -0
  368. package/dist-storybook/assets/omit-CRXr8Lio.js +1 -0
  369. package/dist-storybook/assets/option-item-DFWc14Up.js +1 -0
  370. package/dist-storybook/assets/{option-item.stories-ClUj8qVT.js → option-item.stories-DqA-ydWX.js} +3 -3
  371. package/dist-storybook/assets/pagination-CjgiVNvu.js +1 -0
  372. package/dist-storybook/assets/{pagination.stories-C9j6mE5z.js → pagination.stories-BsKHvdF4.js} +4 -4
  373. package/dist-storybook/assets/{radio.stories-D8_YUTw1.js → radio.stories-CBmxZRxo.js} +10 -10
  374. package/dist-storybook/assets/{rating.stories-BIftLeu2.js → rating.stories-CcdFtcNH.js} +9 -9
  375. package/dist-storybook/assets/react-18-D2tl8ksm.js +1 -0
  376. package/dist-storybook/assets/{react-zqqxT5R_.js → react-DO0-owxu.js} +1 -1
  377. package/dist-storybook/assets/search-field-zl4ROLfn.js +1 -0
  378. package/dist-storybook/assets/{search-field.stories-D1okdN8e.js → search-field.stories-DoclnxtC.js} +1 -1
  379. package/dist-storybook/assets/{section.stories-Cq5CY978.js → section.stories-Bqz_QgYp.js} +8 -8
  380. package/dist-storybook/assets/sheet-body-2dWL2AE5.js +1 -0
  381. package/dist-storybook/assets/sheet-footer-DuPhbVOb.js +1 -0
  382. package/dist-storybook/assets/{sheet.stories-DPcC0I5i.js → sheet.stories-CoXnt4LG.js} +4 -4
  383. package/dist-storybook/assets/skeleton-BVLpHxKT.js +1 -0
  384. package/dist-storybook/assets/{skeleton.stories-CD3J1XrJ.js → skeleton.stories-B-OfMZId.js} +3 -3
  385. package/dist-storybook/assets/{store-BmYgrUro.js → store-BwIebEt6.js} +5 -5
  386. package/dist-storybook/assets/{switch.stories-C5SDbdGL.js → switch.stories-D4PQjgbo.js} +9 -9
  387. package/dist-storybook/assets/syntaxhighlighter-ED5Y7EFY-BxRQp_WE.js +6 -0
  388. package/dist-storybook/assets/tab-bar.stories-BrcQMypS.js +164 -0
  389. package/dist-storybook/assets/{text-area.stories-3Z574UAD.js → text-area.stories-Bpaw2_4A.js} +10 -10
  390. package/dist-storybook/assets/text-field-CqJG0bIl.js +1 -0
  391. package/dist-storybook/assets/{text-field.stories-DzjpcKin.js → text-field.stories-PQoP3DbL.js} +1 -1
  392. package/dist-storybook/assets/toast.stories-DmPy9T3m.js +209 -0
  393. package/dist-storybook/assets/{tooltip.stories-DEnYdL1d.js → tooltip.stories-Be_kIaDc.js} +8 -8
  394. package/dist-storybook/assets/typography-CMIMyivt.js +1 -0
  395. package/dist-storybook/assets/{typography.stories-DWxFgTz3.js → typography.stories-DSt5W_AG.js} +3 -3
  396. package/dist-storybook/assets/uploader.stories-C5CmeXEk.js +65 -0
  397. package/dist-storybook/assets/{use-app-pause-CyjeIEPG.js → use-app-pause-_ycnhKwZ.js} +3 -3
  398. package/dist-storybook/assets/{use-app-resume-DntO6Rkm.js → use-app-resume-CWb2s-wo.js} +1 -1
  399. package/dist-storybook/assets/{use-bottom-tab-bar-Da7gjw6y.js → use-bottom-tab-bar--DRl-8c4.js} +1 -1
  400. package/dist-storybook/assets/{use-custom-icon-event-BEYPYrKY.js → use-custom-icon-event-BXcRPkLg.js} +1 -1
  401. package/dist-storybook/assets/{use-did-hide-Do-KOSzV.js → use-did-hide-LBcrwoUo.js} +1 -1
  402. package/dist-storybook/assets/{use-did-show-Bv9k7DdG.js → use-did-show-BXLstTgt.js} +1 -1
  403. package/dist-storybook/assets/{use-histories-Ci1HfRe-.js → use-histories-Cz7ncXaj.js} +1 -1
  404. package/dist-storybook/assets/{use-history-CkVE1jRy.js → use-history-B_w6SPwr.js} +1 -1
  405. package/dist-storybook/assets/{use-language-Bg-LzpzQ.js → use-language-D84C9QNT.js} +1 -1
  406. package/dist-storybook/assets/{use-load-more-eaC8W6Cc.js → use-load-more-Bb9YFkAE.js} +1 -1
  407. package/dist-storybook/assets/{use-location-BMrQnhPi.js → use-location-DnxJ5FvJ.js} +1 -1
  408. package/dist-storybook/assets/{use-navigate-BwwmhToy.js → use-navigate-OLqoL3vR.js} +3 -3
  409. package/dist-storybook/assets/{use-navigation-bar-DzgWeTpM.js → use-navigation-bar-D5BX6S-r.js} +15 -15
  410. package/dist-storybook/assets/{use-navigation-type-DNvXTqYH.js → use-navigation-type-Cq7T35ur.js} +1 -1
  411. package/dist-storybook/assets/{use-page-layout-BA2HvjAQ.js → use-page-layout-BrFRWwC6.js} +1 -1
  412. package/dist-storybook/assets/{use-page-scroll-D_gjlV-S.js → use-page-scroll-BZ8XiPza.js} +1 -1
  413. package/dist-storybook/assets/{use-pull-to-refresh-SZfswIA6.js → use-pull-to-refresh-BEjtxiFn.js} +1 -1
  414. package/dist-storybook/assets/{use-settings-changed-D2gdx5rD.js → use-settings-changed-UaQRSWAg.js} +1 -1
  415. package/dist-storybook/assets/{use-translate-BTC2AQ0k.js → use-translate-BO8E9Sde.js} +1 -1
  416. package/dist-storybook/iframe.html +58 -40
  417. package/dist-storybook/index.html +8 -16
  418. package/dist-storybook/index.json +1 -1
  419. package/dist-storybook/project.json +1 -1
  420. package/dist-storybook/sb-addons/a11y-2/manager-bundle.js +55 -3
  421. package/dist-storybook/sb-addons/docs-1/manager-bundle.js +1 -149
  422. package/dist-storybook/sb-addons/storybook-build-3/manager-bundle.js +19 -1
  423. package/dist-storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +93 -436
  424. package/dist-storybook/sb-manager/globals-runtime.js +73307 -65142
  425. package/dist-storybook/sb-manager/globals.js +6 -16
  426. package/dist-storybook/sb-manager/manager-stores.js +23 -0
  427. package/dist-storybook/sb-manager/runtime.js +17679 -10455
  428. package/dist-storybook/stories-data.json +91 -27
  429. package/dist-storybook/vite-inject-mocker-entry.js +2 -2
  430. package/package.json +5 -5
  431. package/dist-storybook/assets/Color-AVL7NMMY-DwohVA43.js +0 -1
  432. package/dist-storybook/assets/DocsRenderer-PQXLIZUC-vNsl3A7z.js +0 -2
  433. package/dist-storybook/assets/_baseClone-4nOrhHpR.js +0 -1
  434. package/dist-storybook/assets/alert-D3VdqAYm.js +0 -1
  435. package/dist-storybook/assets/app-B__CxZQv.js +0 -1
  436. package/dist-storybook/assets/avatar-BVV1WSnD.js +0 -1
  437. package/dist-storybook/assets/avatar.stories-D0RA2Mhh.js +0 -136
  438. package/dist-storybook/assets/badge-DLt8CmDs.js +0 -1
  439. package/dist-storybook/assets/blocks-D4qvS4eZ.js +0 -1243
  440. package/dist-storybook/assets/bottom-tab-bar-UaYvPAic.js +0 -115
  441. package/dist-storybook/assets/bottom-tab-bar.stories--7Qh-68J.js +0 -186
  442. package/dist-storybook/assets/button-CbLEqALK.js +0 -1
  443. package/dist-storybook/assets/calendar-C7tiySn0.js +0 -1
  444. package/dist-storybook/assets/carousel-C1nQGnJZ.js +0 -37
  445. package/dist-storybook/assets/carousel.stories-C5d6yLzd.js +0 -217
  446. package/dist-storybook/assets/checkbox-Bs8ghsWP.js +0 -1
  447. package/dist-storybook/assets/checkbox.stories-CG74gIlt.js +0 -201
  448. package/dist-storybook/assets/chip-D4_ukvFv.js +0 -1
  449. package/dist-storybook/assets/date-field-range-DSAQp9qR.js +0 -1
  450. package/dist-storybook/assets/date-field.stories-Dx6-qeWT.js +0 -129
  451. package/dist-storybook/assets/date-picker--PiU9sOL.js +0 -1
  452. package/dist-storybook/assets/dialog-8K5u-kre.js +0 -1
  453. package/dist-storybook/assets/dialog.stories-BxYc78Eo.js +0 -212
  454. package/dist-storybook/assets/dropdown-BeoO7m-R.js +0 -247
  455. package/dist-storybook/assets/dropdown.stories-Bfhg63tZ.js +0 -200
  456. package/dist-storybook/assets/icon-CgGksgRS.js +0 -1
  457. package/dist-storybook/assets/iframe-BKfReaAn.css +0 -1
  458. package/dist-storybook/assets/iframe-C0PGuV5s.js +0 -1071
  459. package/dist-storybook/assets/image-BdsCB1je.js +0 -9
  460. package/dist-storybook/assets/index-BLzgbpm2.js +0 -1
  461. package/dist-storybook/assets/index-SzFZQQjs.js +0 -1
  462. package/dist-storybook/assets/input-wrapper-DkEl0Eih.js +0 -1
  463. package/dist-storybook/assets/label-CHVpMhb5.js +0 -27
  464. package/dist-storybook/assets/matchers-7Z3WT2CE-Dw4MQV_s.js +0 -14
  465. package/dist-storybook/assets/navigation-bar-TpF0DSXB.js +0 -79
  466. package/dist-storybook/assets/navigation-bar.stories-CNXAxMYL.js +0 -73
  467. package/dist-storybook/assets/number-field-CvCF5adO.js +0 -1
  468. package/dist-storybook/assets/number-field.stories-Dsb_eChm.js +0 -167
  469. package/dist-storybook/assets/omit-D04qL5V_.js +0 -1
  470. package/dist-storybook/assets/option-item-Bmby544G.js +0 -1
  471. package/dist-storybook/assets/pagination-MBP1YLhT.js +0 -1
  472. package/dist-storybook/assets/proxy-edvPwIiD.js +0 -1
  473. package/dist-storybook/assets/radio-DRPO7cjx.js +0 -1
  474. package/dist-storybook/assets/rating-CTv8C1tH.js +0 -1
  475. package/dist-storybook/assets/react-18-CacBUmwb.js +0 -9
  476. package/dist-storybook/assets/search-field-CophTGGH.js +0 -1
  477. package/dist-storybook/assets/section-content-dVOJuOaN.js +0 -1
  478. package/dist-storybook/assets/sheet-footer-BL2JAvmb.js +0 -1
  479. package/dist-storybook/assets/skeleton-CmGRbWqE.js +0 -1
  480. package/dist-storybook/assets/switch-Cc-NvT4X.js +0 -1
  481. package/dist-storybook/assets/tab-bar-DTyg7tFP.js +0 -31
  482. package/dist-storybook/assets/tab-bar.stories-zKrihgXo.js +0 -136
  483. package/dist-storybook/assets/text-area-WRb8Dkvn.js +0 -1
  484. package/dist-storybook/assets/text-field-DrODy0yz.js +0 -1
  485. package/dist-storybook/assets/toast-provider-ChNGFQlt.js +0 -9
  486. package/dist-storybook/assets/toast.stories-Zj4qfKO_.js +0 -201
  487. package/dist-storybook/assets/tooltip-CrxOWTXS.js +0 -1
  488. package/dist-storybook/assets/typography-BcLxefPi.js +0 -1
  489. package/dist-storybook/assets/uploader.stories-DQN8yjt-.js +0 -65
  490. package/dist-storybook/assets/visibility-sensor-FN9n9CLs.js +0 -1
  491. package/dist-storybook/sb-manager/globals-module-info.js +0 -799
@@ -0,0 +1,1119 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./OVERVIEW-Byly3lQV.js","./index-B24pfkXD.js","./preload-helper-PPVm8Dsz.js","./blocks-CB7UwFa4.js","./index-CdnALcTP.js","./GETTING_STARTED-CBY9dL2_.js","./MIGRATION_GUIDE-BN_V-xNj.js","./App-BkiRuUOF.js","./THEME-B9Y39f9D.js","./ICON-CT1pTB1A.js","./icon-list-grid-CSnpdoAW.js","./icon-Cc9W858e.js","./colors-_6nFGM3e.js","./classname-Bl5epEs-.js","./search-field-zl4ROLfn.js","./index-hDlmuyu2.js","./index-B-Ksafg0.js","./text-field-CqJG0bIl.js","./omit-CRXr8Lio.js","./input-wrapper-Gd3QJKqj.js","./label-zfqCJTGJ.js","./skeleton-BVLpHxKT.js","./typography-CMIMyivt.js","./button-BLW8SOpg.js","./use-navigation-bar-D5BX6S-r.js","./use-bottom-tab-bar--DRl-8c4.js","./use-page-layout-BrFRWwC6.js","./use-pull-to-refresh-BEjtxiFn.js","./use-load-more-Bb9YFkAE.js","./use-page-scroll-BZ8XiPza.js","./use-custom-icon-event-BXcRPkLg.js","./use-settings-changed-UaQRSWAg.js","./GETTING_STARTED-C1AOB25Z.js","./AIApp-C4keJkW8.js","./ICON-BaZgXbtw.js","./GETTING_STARTED-BmHWFQQE.js","./Router-CO6rjSXr.js","./DEEPLINK-CvpIbZVm.js","./EVENTS-Bnl2ehlm.js","./use-navigate-OLqoL3vR.js","./use-location-DnxJ5FvJ.js","./use-history-B_w6SPwr.js","./use-histories-Cz7ncXaj.js","./use-navigation-type-Cq7T35ur.js","./use-did-show-BXLstTgt.js","./use-did-hide-LBcrwoUo.js","./use-app-pause-_ycnhKwZ.js","./use-app-resume-CWb2s-wo.js","./GETTING_STARTED-BYcN9hg3.js","./LocalesProvider-CQEwtoq3.js","./use-translate-BO8E9Sde.js","./use-language-D84C9QNT.js","./INFINITE_SCROLL-BJeWhgO7.js","./MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js","./TAILWIND_INTEGRATION-CpN4_fSu.js","./alert.stories-CUItfPLn.js","./store-BwIebEt6.js","./avatar.stories-8_vV7Bb0.js","./image-CB4oeTy-.js","./badge.stories-BXGAtgaV.js","./badge-Gh2kTOE3.js","./bottom-tab-bar.stories-OrY-k1sb.js","./button.stories--0kpp_af.js","./calendar.stories-4MQj1nsX.js","./calendar-ySr-9cXG.js","./date-DWIyMGld.js","./react-DO0-owxu.js","./carousel.stories-CMtljvBR.js","./embla-carousel-react.esm-DOEAp-w3.js","./pagination-CjgiVNvu.js","./checkbox.stories-xYjsVg2X.js","./chip.stories-DYEfUGq3.js","./date-field.stories-5Tlzdpvr.js","./date-picker-DeB43YU4.js","./sheet-body-2dWL2AE5.js","./app.store-BJVKVv1J.js","./sheet-footer-DuPhbVOb.js","./date-picker.stories-Shn-MmVG.js","./dialog.stories-DeNKN0oJ.js","./dropdown.stories-Bqmu2_KM.js","./option-item-DFWc14Up.js","./icon.stories-DE484rTd.js","./image.stories-BlYIb_Qu.js","./label.stories-C-MVt-cu.js","./navigation-bar.stories-CZ-y3eDE.js","./number-field.stories-BA0FySSU.js","./option-item.stories-DqA-ydWX.js","./pagination.stories-BsKHvdF4.js","./radio.stories-CBmxZRxo.js","./rating.stories-CcdFtcNH.js","./search-field.stories-DoclnxtC.js","./section.stories-Bqz_QgYp.js","./sheet.stories-CoXnt4LG.js","./skeleton.stories-B-OfMZId.js","./switch.stories-D4PQjgbo.js","./tab-bar.stories-BrcQMypS.js","./text-area.stories-Bpaw2_4A.js","./text-field.stories-PQoP3DbL.js","./toast.stories-DmPy9T3m.js","./tooltip.stories-Be_kIaDc.js","./typography.stories-DSt5W_AG.js","./uploader.stories-C5CmeXEk.js","./OVERVIEW-AI-CLWBzviY.js","./react-18-D2tl8ksm.js","./client-CN8vOzuD.js","./DocsRenderer-LL677BLK-Ch7ovClC.js"])))=>i.map(i=>d[i]);
2
+ import{_ as Ce}from"./preload-helper-PPVm8Dsz.js";function f1(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var $u={},h1=Object.create,pc=Object.defineProperty,m1=Object.getOwnPropertyDescriptor,gy=Object.getOwnPropertyNames,y1=Object.getPrototypeOf,g1=Object.prototype.hasOwnProperty,oa=(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')}),$=(e,t)=>function(){return t||(0,e[gy(e)[0]])((t={exports:{}}).exports,t),t.exports},or=(e,t)=>{for(var r in t)pc(e,r,{get:t[r],enumerable:!0})},b1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of gy(t))!g1.call(e,i)&&i!==r&&pc(e,i,{get:()=>t[i],enumerable:!(n=m1(t,i))||n.enumerable});return e},Pt=(e,t,r)=>(r=e!=null?h1(y1(e)):{},b1(t||!e||!e.__esModule?pc(r,"default",{value:e,enumerable:!0}):r,e)),E1=$({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,a){return(function o(s,l,u){var p,f,h,m=t.call(s),g=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),m!=g||(p=n(s),f=n(l),p.length!=f.length||p.some(function(E){return!o(s[E],l[E],u)})))return!1;switch(m.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":p=s.entries(),f=l.entries();do if(!o((h=p.next()).value,f.next().value,u))return!1;while(!h.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(h=0;h<s.length;h++)if((h in s||h in l)&&(h in s!=h in l||!o(s[h],l[h],u)))return!1;return!0;case"Object":return o(r(s),r(l),u);default:return!1}})(i,a,[])}})()}}),v1=$({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,a)=>Math.min(i,a.length),1/0):0}}}),_1=$({"../../node_modules/strip-indent/index.js"(e,t){var r=v1();t.exports=n=>{let i=r(n);if(i===0)return n;let a=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(a,"")}}}),A1=$({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},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 i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let a=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,i.indent.repeat(n))}}}),by=$({"../../node_modules/redent/index.js"(e,t){var r=_1(),n=A1();t.exports=(i,a=0,o)=>n(r(i),a,o)}}),w1=$({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":function(){return i},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return i}e.default=t}}),$o=$({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(w1());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},n(a)}function i(a,o){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(o)}),a}}}),T1=$({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r($o());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return l(f)||s(f,h)||a(f,h)||i()}function i(){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.`)}function a(f,h){if(f){if(typeof f=="string")return o(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?o(f,h):void 0}}function o(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=Array(h);m<h;m++)g[m]=f[m];return g}function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var g,E,A,v,T=[],I=!0,R=!1;try{if(A=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;I=!1}else for(;!(I=(g=A.call(m)).done)&&(T.push(g.value),T.length!==h);I=!0);}catch(D){R=!0,E=D}finally{try{if(!I&&m.return!=null&&(v=m.return(),Object(v)!==v))return}finally{if(R)throw E}}return T}}function l(f){if(Array.isArray(f))return f}var u=[["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:function(){return u},forEach:function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,g=u;m<g.length;m++){var E=n(g[m],2),A=E[0],v=E[1];f.call(h,v,A,u)}},get:function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},has:function(f){return!!p.get(f)},keys:function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})}};e.default=(0,t.default)(p,p.entries())}}),C1=$({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r($o());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return l(f)||s(f,h)||a(f,h)||i()}function i(){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.`)}function a(f,h){if(f){if(typeof f=="string")return o(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?o(f,h):void 0}}function o(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=Array(h);m<h;m++)g[m]=f[m];return g}function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var g,E,A,v,T=[],I=!0,R=!1;try{if(A=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;I=!1}else for(;!(I=(g=A.call(m)).done)&&(T.push(g.value),T.length!==h);I=!0);}catch(D){R=!0,E=D}finally{try{if(!I&&m.return!=null&&(v=m.return(),Object(v)!==v))return}finally{if(R)throw E}}return T}}function l(f){if(Array.isArray(f))return f}var u=[["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:function(){return u},forEach:function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,g=u;m<g.length;m++){var E=n(g[m],2),A=E[0],v=E[1];f.call(h,v,A,u)}},get:function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},has:function(f){return!!p.get(f)},keys:function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})}};e.default=(0,t.default)(p,p.entries())}}),S1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(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}}),x1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(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}}),D1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(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}}),R1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(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}}),P1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(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}}),O1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(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}}),F1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(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}}),I1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(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}}),N1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(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}}),B1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(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}}),j1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(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}}),k1=$({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(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}}),M1=$({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(S1()),r=m(x1()),n=m(D1()),i=m(R1()),a=m(P1()),o=m(O1()),s=m(F1()),l=m(I1()),u=m(N1()),p=m(B1()),f=m(j1()),h=m(k1());function m(E){return E&&E.__esModule?E:{default:E}}var g=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",o.default],["section",s.default],["sectionhead",l.default],["select",u.default],["structure",p.default],["widget",f.default],["window",h.default]];e.default=g}}),q1=$({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(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}}),L1=$({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(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}}),$1=$({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(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}}),V1=$({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(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}}),U1=$({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(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}}),J1=$({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(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}}),H1=$({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(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}}),G1=$({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(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}}),z1=$({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(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}}),W1=$({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(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}}),K1=$({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(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}}),Y1=$({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(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}}),X1=$({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(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}}),Q1=$({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(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}}),Z1=$({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(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}}),eT=$({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(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}}),tT=$({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(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}}),rT=$({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(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}}),nT=$({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(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}}),iT=$({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(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}}),oT=$({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(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}}),aT=$({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(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}}),sT=$({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(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}}),uT=$({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(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}}),lT=$({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(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}}),cT=$({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(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}}),pT=$({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(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}}),dT=$({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(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}}),fT=$({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(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}}),hT=$({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(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}}),mT=$({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(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}}),yT=$({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(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}}),gT=$({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(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}}),bT=$({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(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}}),ET=$({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(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}}),vT=$({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(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}}),_T=$({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(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}}),AT=$({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(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}}),wT=$({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(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}}),TT=$({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(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}}),CT=$({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(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}}),ST=$({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(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}}),xT=$({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(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}}),DT=$({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(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}}),RT=$({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(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}}),PT=$({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(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}}),OT=$({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(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}}),FT=$({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(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}}),IT=$({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(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}}),NT=$({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(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}}),BT=$({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(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}}),jT=$({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(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}}),kT=$({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(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}}),MT=$({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(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}}),qT=$({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(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}}),LT=$({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(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}}),$T=$({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(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}}),VT=$({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(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}}),UT=$({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(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}}),JT=$({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(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}}),HT=$({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(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}}),GT=$({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(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}}),zT=$({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(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}}),WT=$({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(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}}),KT=$({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(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}}),YT=$({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(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}}),XT=$({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(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}}),QT=$({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(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}}),ZT=$({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(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}}),eC=$({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(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}}),tC=$({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(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}}),rC=$({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(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}}),nC=$({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(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}}),iC=$({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(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}}),oC=$({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(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}}),aC=$({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(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}}),sC=$({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(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}}),uC=$({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(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}}),lC=$({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(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}}),cC=$({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(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}}),pC=$({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(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}}),dC=$({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(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}}),fC=$({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(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}}),hC=$({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=O(q1()),r=O(L1()),n=O($1()),i=O(V1()),a=O(U1()),o=O(J1()),s=O(H1()),l=O(G1()),u=O(z1()),p=O(W1()),f=O(K1()),h=O(Y1()),m=O(X1()),g=O(Q1()),E=O(Z1()),A=O(eT()),v=O(tT()),T=O(rT()),I=O(nT()),R=O(iT()),D=O(oT()),y=O(aT()),w=O(sT()),S=O(uT()),P=O(lT()),z=O(cT()),L=O(pT()),K=O(dT()),q=O(fT()),B=O(hT()),V=O(mT()),X=O(yT()),Q=O(gT()),oe=O(bT()),Ee=O(ET()),Pe=O(vT()),W=O(_T()),H=O(AT()),re=O(wT()),ce=O(TT()),le=O(CT()),ie=O(ST()),ve=O(xT()),Re=O(DT()),$e=O(RT()),Z=O(PT()),me=O(OT()),Ae=O(FT()),De=O(IT()),xe=O(NT()),Oe=O(BT()),Fe=O(jT()),Me=O(kT()),ut=O(MT()),Ft=O(qT()),Je=O(LT()),yt=O($T()),Ye=O(VT()),er=O(UT()),It=O(JT()),ge=O(HT()),pt=O(GT()),Be=O(zT()),_t=O(WT()),et=O(KT()),_r=O(YT()),Rr=O(XT()),gt=O(QT()),je=O(ZT()),tr=O(eC()),ot=O(tC()),$t=O(rC()),Mr=O(nC()),rt=O(iC()),At=O(oC()),rr=O(aC()),bt=O(sC()),nt=O(uC()),Nt=O(lC()),Ne=O(cC()),C=O(pC()),j=O(dC()),F=O(fC());function O(se){return se&&se.__esModule?se:{default:se}}var U=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",o.default],["button",s.default],["caption",l.default],["cell",u.default],["checkbox",p.default],["code",f.default],["columnheader",h.default],["combobox",m.default],["complementary",g.default],["contentinfo",E.default],["definition",A.default],["deletion",v.default],["dialog",T.default],["directory",I.default],["document",R.default],["emphasis",D.default],["feed",y.default],["figure",w.default],["form",S.default],["generic",P.default],["grid",z.default],["gridcell",L.default],["group",K.default],["heading",q.default],["img",B.default],["insertion",V.default],["link",X.default],["list",Q.default],["listbox",oe.default],["listitem",Ee.default],["log",Pe.default],["main",W.default],["mark",H.default],["marquee",re.default],["math",ce.default],["menu",le.default],["menubar",ie.default],["menuitem",ve.default],["menuitemcheckbox",Re.default],["menuitemradio",$e.default],["meter",Z.default],["navigation",me.default],["none",Ae.default],["note",De.default],["option",xe.default],["paragraph",Oe.default],["presentation",Fe.default],["progressbar",Me.default],["radio",ut.default],["radiogroup",Ft.default],["region",Je.default],["row",yt.default],["rowgroup",Ye.default],["rowheader",er.default],["scrollbar",It.default],["search",ge.default],["searchbox",pt.default],["separator",Be.default],["slider",_t.default],["spinbutton",et.default],["status",_r.default],["strong",Rr.default],["subscript",gt.default],["superscript",je.default],["switch",tr.default],["tab",ot.default],["table",$t.default],["tablist",Mr.default],["tabpanel",rt.default],["term",At.default],["textbox",rr.default],["time",bt.default],["timer",nt.default],["toolbar",Nt.default],["tooltip",Ne.default],["tree",C.default],["treegrid",j.default],["treeitem",F.default]];e.default=U}}),mC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(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}}),yC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(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}}),gC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(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}}),bC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(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}}),EC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(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}}),vC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(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}}),_C=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(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}}),AC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(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}}),wC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(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}}),TC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(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}}),CC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(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}}),SC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(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}}),xC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(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}}),DC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(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}}),RC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(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}}),PC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(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}}),OC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(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}}),FC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(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}}),IC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(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}}),NC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(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}}),BC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(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}}),jC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(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}}),kC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(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}}),MC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(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}}),qC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(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}}),LC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(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}}),$C=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(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}}),VC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(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}}),UC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(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}}),JC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(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}}),HC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(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}}),GC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(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}}),zC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(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}}),WC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(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}}),KC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(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}}),YC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(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}}),XC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(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}}),QC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(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}}),ZC=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(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}}),eS=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(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}}),tS=$({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(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}}),rS=$({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ie(mC()),r=ie(yC()),n=ie(gC()),i=ie(bC()),a=ie(EC()),o=ie(vC()),s=ie(_C()),l=ie(AC()),u=ie(wC()),p=ie(TC()),f=ie(CC()),h=ie(SC()),m=ie(xC()),g=ie(DC()),E=ie(RC()),A=ie(PC()),v=ie(OC()),T=ie(FC()),I=ie(IC()),R=ie(NC()),D=ie(BC()),y=ie(jC()),w=ie(kC()),S=ie(MC()),P=ie(qC()),z=ie(LC()),L=ie($C()),K=ie(VC()),q=ie(UC()),B=ie(JC()),V=ie(HC()),X=ie(GC()),Q=ie(zC()),oe=ie(WC()),Ee=ie(KC()),Pe=ie(YC()),W=ie(XC()),H=ie(QC()),re=ie(ZC()),ce=ie(eS()),le=ie(tS());function ie(Re){return Re&&Re.__esModule?Re:{default:Re}}var ve=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",o.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",u.default],["doc-colophon",p.default],["doc-conclusion",f.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",g.default],["doc-dedication",E.default],["doc-endnote",A.default],["doc-endnotes",v.default],["doc-epigraph",T.default],["doc-epilogue",I.default],["doc-errata",R.default],["doc-example",D.default],["doc-footnote",y.default],["doc-foreword",w.default],["doc-glossary",S.default],["doc-glossref",P.default],["doc-index",z.default],["doc-introduction",L.default],["doc-noteref",K.default],["doc-notice",q.default],["doc-pagebreak",B.default],["doc-pagefooter",V.default],["doc-pageheader",X.default],["doc-pagelist",Q.default],["doc-part",oe.default],["doc-preface",Ee.default],["doc-prologue",Pe.default],["doc-pullquote",W.default],["doc-qna",H.default],["doc-subtitle",re.default],["doc-tip",ce.default],["doc-toc",le.default]];e.default=ve}}),nS=$({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(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}}),iS=$({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(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}}),oS=$({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(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}}),aS=$({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(nS()),r=i(iS()),n=i(oS());function i(o){return o&&o.__esModule?o:{default:o}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),dc=$({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(M1()),r=o(hC()),n=o(rS()),i=o(aS()),a=o($o());function o(A){return A&&A.__esModule?A:{default:A}}function s(A,v){var T=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!T){if(Array.isArray(A)||(T=p(A))||v){T&&(A=T);var I=0,R=function(){};return{s:R,n:function(){return I>=A.length?{done:!0}:{done:!1,value:A[I++]}},e:function(S){throw S},f:R}}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 D,y=!0,w=!1;return{s:function(){T=T.call(A)},n:function(){var S=T.next();return y=S.done,S},e:function(S){w=!0,D=S},f:function(){try{y||T.return==null||T.return()}finally{if(w)throw D}}}}function l(A,v){return m(A)||h(A,v)||p(A,v)||u()}function u(){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.`)}function p(A,v){if(A){if(typeof A=="string")return f(A,v);var T={}.toString.call(A).slice(8,-1);return T==="Object"&&A.constructor&&(T=A.constructor.name),T==="Map"||T==="Set"?Array.from(A):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?f(A,v):void 0}}function f(A,v){(v==null||v>A.length)&&(v=A.length);for(var T=0,I=Array(v);T<v;T++)I[T]=A[T];return I}function h(A,v){var T=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(T!=null){var I,R,D,y,w=[],S=!0,P=!1;try{if(D=(T=T.call(A)).next,v===0){if(Object(T)!==T)return;S=!1}else for(;!(S=(I=D.call(T)).done)&&(w.push(I.value),w.length!==v);S=!0);}catch(z){P=!0,R=z}finally{try{if(!S&&T.return!=null&&(y=T.return(),Object(y)!==y))return}finally{if(P)throw R}}return w}}function m(A){if(Array.isArray(A))return A}var g=[].concat(t.default,r.default,n.default,i.default);g.forEach(function(A){var v=l(A,2),T=v[1],I=s(T.superClass),R;try{for(I.s();!(R=I.n()).done;){var D=R.value,y=s(D),w;try{var S=function(){var P=w.value,z=g.filter(function(V){var X=l(V,1),Q=X[0];return Q===P})[0];if(z)for(var L=z[1],K=0,q=Object.keys(L.props);K<q.length;K++){var B=q[K];Object.prototype.hasOwnProperty.call(T.props,B)||(T.props[B]=L.props[B])}};for(y.s();!(w=y.n()).done;)S()}catch(P){y.e(P)}finally{y.f()}}}catch(P){I.e(P)}finally{I.f()}});var E={entries:function(){return g},forEach:function(A){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=s(g),I;try{for(T.s();!(I=T.n()).done;){var R=l(I.value,2),D=R[0],y=R[1];A.call(v,y,D,g)}}catch(w){T.e(w)}finally{T.f()}},get:function(A){var v=g.filter(function(T){return T[0]===A})[0];return v&&v[1]},has:function(A){return!!E.get(A)},keys:function(){return g.map(function(A){var v=l(A,1),T=v[0];return T})},values:function(){return g.map(function(A){var v=l(A,2),T=v[1];return T})}};e.default=(0,a.default)(E,E.entries())}}),sS=$({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n($o()),r=n(dc());function n(y){return y&&y.__esModule?y:{default:y}}function i(y,w){return u(y)||l(y,w)||o(y,w)||a()}function a(){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.`)}function o(y,w){if(y){if(typeof y=="string")return s(y,w);var S={}.toString.call(y).slice(8,-1);return S==="Object"&&y.constructor&&(S=y.constructor.name),S==="Map"||S==="Set"?Array.from(y):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?s(y,w):void 0}}function s(y,w){(w==null||w>y.length)&&(w=y.length);for(var S=0,P=Array(w);S<w;S++)P[S]=y[S];return P}function l(y,w){var S=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(S!=null){var P,z,L,K,q=[],B=!0,V=!1;try{if(L=(S=S.call(y)).next,w===0){if(Object(S)!==S)return;B=!1}else for(;!(B=(P=L.call(S)).done)&&(q.push(P.value),q.length!==w);B=!0);}catch(X){V=!0,z=X}finally{try{if(!B&&S.return!=null&&(K=S.return(),Object(K)!==K))return}finally{if(V)throw z}}return q}}function u(y){if(Array.isArray(y))return y}var p=[],f=r.default.keys();for(v=0;v<f.length;v++)if(h=f[v],m=r.default.get(h),m)for(g=[].concat(m.baseConcepts,m.relatedConcepts),E=function(){var y=g[A];if(y.module==="HTML"){var w=y.concept;if(w){var S=p.filter(function(K){return I(K[0],w)})[0],P;S?P=S[1]:P=[];for(var z=!0,L=0;L<P.length;L++)if(P[L]===h){z=!1;break}z&&P.push(h),S||p.push([w,P])}}},A=0;A<g.length;A++)E();var h,m,g,E,A,v,T={entries:function(){return p},forEach:function(y){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=0,P=p;S<P.length;S++){var z=i(P[S],2),L=z[0],K=z[1];y.call(w,K,L,p)}},get:function(y){var w=p.filter(function(S){return y.name===S[0].name&&D(y.attributes,S[0].attributes)})[0];return w&&w[1]},has:function(y){return!!T.get(y)},keys:function(){return p.map(function(y){var w=i(y,1),S=w[0];return S})},values:function(){return p.map(function(y){var w=i(y,2),S=w[1];return S})}};function I(y,w){return y.name===w.name&&R(y.constraints,w.constraints)&&D(y.attributes,w.attributes)}function R(y,w){if(y===void 0&&w!==void 0||y!==void 0&&w===void 0)return!1;if(y!==void 0&&w!==void 0){if(y.length!==w.length)return!1;for(var S=0;S<y.length;S++)if(y[S]!==w[S])return!1}return!0}function D(y,w){if(y===void 0&&w!==void 0||y!==void 0&&w===void 0)return!1;if(y!==void 0&&w!==void 0){if(y.length!==w.length)return!1;for(var S=0;S<y.length;S++){if(y[S].name!==w[S].name||y[S].value!==w[S].value||y[S].constraints===void 0&&w[S].constraints!==void 0||y[S].constraints!==void 0&&w[S].constraints===void 0)return!1;if(y[S].constraints!==void 0&&w[S].constraints!==void 0){if(y[S].constraints.length!==w[S].constraints.length)return!1;for(var P=0;P<y[S].constraints.length;P++)if(y[S].constraints[P]!==w[S].constraints[P])return!1}}}return!0}e.default=(0,t.default)(T,T.entries())}}),uS=$({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n($o()),r=n(dc());function n(D){return D&&D.__esModule?D:{default:D}}function i(D,y){return u(D)||l(D,y)||o(D,y)||a()}function a(){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.`)}function o(D,y){if(D){if(typeof D=="string")return s(D,y);var w={}.toString.call(D).slice(8,-1);return w==="Object"&&D.constructor&&(w=D.constructor.name),w==="Map"||w==="Set"?Array.from(D):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?s(D,y):void 0}}function s(D,y){(y==null||y>D.length)&&(y=D.length);for(var w=0,S=Array(y);w<y;w++)S[w]=D[w];return S}function l(D,y){var w=D==null?null:typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(w!=null){var S,P,z,L,K=[],q=!0,B=!1;try{if(z=(w=w.call(D)).next,y===0){if(Object(w)!==w)return;q=!1}else for(;!(q=(S=z.call(w)).done)&&(K.push(S.value),K.length!==y);q=!0);}catch(V){B=!0,P=V}finally{try{if(!q&&w.return!=null&&(L=w.return(),Object(L)!==L))return}finally{if(B)throw P}}return K}}function u(D){if(Array.isArray(D))return D}var p=[],f=r.default.keys();for(I=0;I<f.length;I++)if(h=f[I],m=r.default.get(h),g=[],m){for(E=[].concat(m.baseConcepts,m.relatedConcepts),T=0;T<E.length;T++)A=E[T],A.module==="HTML"&&(v=A.concept,v!=null&&g.push(v));g.length>0&&p.push([h,g])}var h,m,g,E,A,v,T,I,R={entries:function(){return p},forEach:function(D){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,S=p;w<S.length;w++){var P=i(S[w],2),z=P[0],L=P[1];D.call(y,L,z,p)}},get:function(D){var y=p.filter(function(w){return w[0]===D})[0];return y&&y[1]},has:function(D){return!!R.get(D)},keys:function(){return p.map(function(D){var y=i(D,1),w=y[0];return w})},values:function(){return p.map(function(D){var y=i(D,2),w=y[1];return w})}};e.default=(0,t.default)(R,R.entries())}}),fc=$({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(T1()),r=o(C1()),n=o(dc()),i=o(sS()),a=o(uS());function o(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=a.default}}),lS=$({"../../node_modules/color-name/index.js"(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]}}}),Ey=$({"../../node_modules/color-convert/conversions.js"(e,t){var r=lS(),n={};for(let o of Object.keys(r))n[r[o]]=o;var i={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=i;for(let o of Object.keys(i)){if(!("channels"in i[o]))throw new Error("missing channels property: "+o);if(!("labels"in i[o]))throw new Error("missing channel labels property: "+o);if(i[o].labels.length!==i[o].channels)throw new Error("channel and label counts mismatch: "+o);let{channels:s,labels:l}=i[o];delete i[o].channels,delete i[o].labels,Object.defineProperty(i[o],"channels",{value:s}),Object.defineProperty(i[o],"labels",{value:l})}i.rgb.hsl=function(o){let s=o[0]/255,l=o[1]/255,u=o[2]/255,p=Math.min(s,l,u),f=Math.max(s,l,u),h=f-p,m,g;f===p?m=0:s===f?m=(l-u)/h:l===f?m=2+(u-s)/h:u===f&&(m=4+(s-l)/h),m=Math.min(m*60,360),m<0&&(m+=360);let E=(p+f)/2;return f===p?g=0:E<=.5?g=h/(f+p):g=h/(2-f-p),[m,g*100,E*100]},i.rgb.hsv=function(o){let s,l,u,p,f,h=o[0]/255,m=o[1]/255,g=o[2]/255,E=Math.max(h,m,g),A=E-Math.min(h,m,g),v=function(T){return(E-T)/6/A+1/2};return A===0?(p=0,f=0):(f=A/E,s=v(h),l=v(m),u=v(g),h===E?p=u-l:m===E?p=1/3+s-u:g===E&&(p=2/3+l-s),p<0?p+=1:p>1&&(p-=1)),[p*360,f*100,E*100]},i.rgb.hwb=function(o){let s=o[0],l=o[1],u=o[2],p=i.rgb.hsl(o)[0],f=1/255*Math.min(s,Math.min(l,u));return u=1-1/255*Math.max(s,Math.max(l,u)),[p,f*100,u*100]},i.rgb.cmyk=function(o){let s=o[0]/255,l=o[1]/255,u=o[2]/255,p=Math.min(1-s,1-l,1-u),f=(1-s-p)/(1-p)||0,h=(1-l-p)/(1-p)||0,m=(1-u-p)/(1-p)||0;return[f*100,h*100,m*100,p*100]};function a(o,s){return(o[0]-s[0])**2+(o[1]-s[1])**2+(o[2]-s[2])**2}i.rgb.keyword=function(o){let s=n[o];if(s)return s;let l=1/0,u;for(let p of Object.keys(r)){let f=r[p],h=a(o,f);h<l&&(l=h,u=p)}return u},i.keyword.rgb=function(o){return r[o]},i.rgb.xyz=function(o){let s=o[0]/255,l=o[1]/255,u=o[2]/255;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let p=s*.4124+l*.3576+u*.1805,f=s*.2126+l*.7152+u*.0722,h=s*.0193+l*.1192+u*.9505;return[p*100,f*100,h*100]},i.rgb.lab=function(o){let s=i.rgb.xyz(o),l=s[0],u=s[1],p=s[2];l/=95.047,u/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let f=116*u-16,h=500*(l-u),m=200*(u-p);return[f,h,m]},i.hsl.rgb=function(o){let s=o[0]/360,l=o[1]/100,u=o[2]/100,p,f,h;if(l===0)return h=u*255,[h,h,h];u<.5?p=u*(1+l):p=u+l-u*l;let m=2*u-p,g=[0,0,0];for(let E=0;E<3;E++)f=s+1/3*-(E-1),f<0&&f++,f>1&&f--,6*f<1?h=m+(p-m)*6*f:2*f<1?h=p:3*f<2?h=m+(p-m)*(2/3-f)*6:h=m,g[E]=h*255;return g},i.hsl.hsv=function(o){let s=o[0],l=o[1]/100,u=o[2]/100,p=l,f=Math.max(u,.01);u*=2,l*=u<=1?u:2-u,p*=f<=1?f:2-f;let h=(u+l)/2,m=u===0?2*p/(f+p):2*l/(u+l);return[s,m*100,h*100]},i.hsv.rgb=function(o){let s=o[0]/60,l=o[1]/100,u=o[2]/100,p=Math.floor(s)%6,f=s-Math.floor(s),h=255*u*(1-l),m=255*u*(1-l*f),g=255*u*(1-l*(1-f));switch(u*=255,p){case 0:return[u,g,h];case 1:return[m,u,h];case 2:return[h,u,g];case 3:return[h,m,u];case 4:return[g,h,u];case 5:return[u,h,m]}},i.hsv.hsl=function(o){let s=o[0],l=o[1]/100,u=o[2]/100,p=Math.max(u,.01),f,h;h=(2-l)*u;let m=(2-l)*p;return f=l*p,f/=m<=1?m:2-m,f=f||0,h/=2,[s,f*100,h*100]},i.hwb.rgb=function(o){let s=o[0]/360,l=o[1]/100,u=o[2]/100,p=l+u,f;p>1&&(l/=p,u/=p);let h=Math.floor(6*s),m=1-u;f=6*s-h,(h&1)!==0&&(f=1-f);let g=l+f*(m-l),E,A,v;switch(h){default:case 6:case 0:E=m,A=g,v=l;break;case 1:E=g,A=m,v=l;break;case 2:E=l,A=m,v=g;break;case 3:E=l,A=g,v=m;break;case 4:E=g,A=l,v=m;break;case 5:E=m,A=l,v=g;break}return[E*255,A*255,v*255]},i.cmyk.rgb=function(o){let s=o[0]/100,l=o[1]/100,u=o[2]/100,p=o[3]/100,f=1-Math.min(1,s*(1-p)+p),h=1-Math.min(1,l*(1-p)+p),m=1-Math.min(1,u*(1-p)+p);return[f*255,h*255,m*255]},i.xyz.rgb=function(o){let s=o[0]/100,l=o[1]/100,u=o[2]/100,p,f,h;return p=s*3.2406+l*-1.5372+u*-.4986,f=s*-.9689+l*1.8758+u*.0415,h=s*.0557+l*-.204+u*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,p=Math.min(Math.max(0,p),1),f=Math.min(Math.max(0,f),1),h=Math.min(Math.max(0,h),1),[p*255,f*255,h*255]},i.xyz.lab=function(o){let s=o[0],l=o[1],u=o[2];s/=95.047,l/=100,u/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let p=116*l-16,f=500*(s-l),h=200*(l-u);return[p,f,h]},i.lab.xyz=function(o){let s=o[0],l=o[1],u=o[2],p,f,h;f=(s+16)/116,p=l/500+f,h=f-u/200;let m=f**3,g=p**3,E=h**3;return f=m>.008856?m:(f-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,h=E>.008856?E:(h-16/116)/7.787,p*=95.047,f*=100,h*=108.883,[p,f,h]},i.lab.lch=function(o){let s=o[0],l=o[1],u=o[2],p;p=Math.atan2(u,l)*360/2/Math.PI,p<0&&(p+=360);let f=Math.sqrt(l*l+u*u);return[s,f,p]},i.lch.lab=function(o){let s=o[0],l=o[1],u=o[2]/360*2*Math.PI,p=l*Math.cos(u),f=l*Math.sin(u);return[s,p,f]},i.rgb.ansi16=function(o,s=null){let[l,u,p]=o,f=s===null?i.rgb.hsv(o)[2]:s;if(f=Math.round(f/50),f===0)return 30;let h=30+(Math.round(p/255)<<2|Math.round(u/255)<<1|Math.round(l/255));return f===2&&(h+=60),h},i.hsv.ansi16=function(o){return i.rgb.ansi16(i.hsv.rgb(o),o[2])},i.rgb.ansi256=function(o){let s=o[0],l=o[1],u=o[2];return s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5)},i.ansi16.rgb=function(o){let s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(o>50)+1)*.5,u=(s&1)*l*255,p=(s>>1&1)*l*255,f=(s>>2&1)*l*255;return[u,p,f]},i.ansi256.rgb=function(o){if(o>=232){let f=(o-232)*10+8;return[f,f,f]}o-=16;let s,l=Math.floor(o/36)/5*255,u=Math.floor((s=o%36)/6)/5*255,p=s%6/5*255;return[l,u,p]},i.rgb.hex=function(o){let s=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},i.hex.rgb=function(o){let s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(m=>m+m).join(""));let u=parseInt(l,16),p=u>>16&255,f=u>>8&255,h=u&255;return[p,f,h]},i.rgb.hcg=function(o){let s=o[0]/255,l=o[1]/255,u=o[2]/255,p=Math.max(Math.max(s,l),u),f=Math.min(Math.min(s,l),u),h=p-f,m,g;return h<1?m=f/(1-h):m=0,h<=0?g=0:p===s?g=(l-u)/h%6:p===l?g=2+(u-s)/h:g=4+(s-l)/h,g/=6,g%=1,[g*360,h*100,m*100]},i.hsl.hcg=function(o){let s=o[1]/100,l=o[2]/100,u=l<.5?2*s*l:2*s*(1-l),p=0;return u<1&&(p=(l-.5*u)/(1-u)),[o[0],u*100,p*100]},i.hsv.hcg=function(o){let s=o[1]/100,l=o[2]/100,u=s*l,p=0;return u<1&&(p=(l-u)/(1-u)),[o[0],u*100,p*100]},i.hcg.rgb=function(o){let s=o[0]/360,l=o[1]/100,u=o[2]/100;if(l===0)return[u*255,u*255,u*255];let p=[0,0,0],f=s%1*6,h=f%1,m=1-h,g=0;switch(Math.floor(f)){case 0:p[0]=1,p[1]=h,p[2]=0;break;case 1:p[0]=m,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]=m,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]=m}return g=(1-l)*u,[(l*p[0]+g)*255,(l*p[1]+g)*255,(l*p[2]+g)*255]},i.hcg.hsv=function(o){let s=o[1]/100,l=o[2]/100,u=s+l*(1-s),p=0;return u>0&&(p=s/u),[o[0],p*100,u*100]},i.hcg.hsl=function(o){let s=o[1]/100,l=o[2]/100*(1-s)+.5*s,u=0;return l>0&&l<.5?u=s/(2*l):l>=.5&&l<1&&(u=s/(2*(1-l))),[o[0],u*100,l*100]},i.hcg.hwb=function(o){let s=o[1]/100,l=o[2]/100,u=s+l*(1-s);return[o[0],(u-s)*100,(1-u)*100]},i.hwb.hcg=function(o){let s=o[1]/100,l=1-o[2]/100,u=l-s,p=0;return u<1&&(p=(l-u)/(1-u)),[o[0],u*100,p*100]},i.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},i.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},i.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},i.gray.hsl=function(o){return[0,0,o[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(o){return[0,100,o[0]]},i.gray.cmyk=function(o){return[0,0,0,o[0]]},i.gray.lab=function(o){return[o[0],0,0]},i.gray.hex=function(o){let s=Math.round(o[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},i.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}}),cS=$({"../../node_modules/color-convert/route.js"(e,t){var r=Ey();function n(){let s={},l=Object.keys(r);for(let u=l.length,p=0;p<u;p++)s[l[p]]={distance:-1,parent:null};return s}function i(s){let l=n(),u=[s];for(l[s].distance=0;u.length;){let p=u.pop(),f=Object.keys(r[p]);for(let h=f.length,m=0;m<h;m++){let g=f[m],E=l[g];E.distance===-1&&(E.distance=l[p].distance+1,E.parent=p,u.unshift(g))}}return l}function a(s,l){return function(u){return l(s(u))}}function o(s,l){let u=[l[s].parent,s],p=r[l[s].parent][s],f=l[s].parent;for(;l[f].parent;)u.unshift(l[f].parent),p=a(r[l[f].parent][f],p),f=l[f].parent;return p.conversion=u,p}t.exports=function(s){let l=i(s),u={},p=Object.keys(l);for(let f=p.length,h=0;h<f;h++){let m=p[h];l[m].parent!==null&&(u[m]=o(m,l))}return u}}}),pS=$({"../../node_modules/color-convert/index.js"(e,t){var r=Ey(),n=cS(),i={},a=Object.keys(r);function o(l){let u=function(...p){let f=p[0];return f==null?f:(f.length>1&&(p=f),l(p))};return"conversion"in l&&(u.conversion=l.conversion),u}function s(l){let u=function(...p){let f=p[0];if(f==null)return f;f.length>1&&(p=f);let h=l(p);if(typeof h=="object")for(let m=h.length,g=0;g<m;g++)h[g]=Math.round(h[g]);return h};return"conversion"in l&&(u.conversion=l.conversion),u}a.forEach(l=>{i[l]={},Object.defineProperty(i[l],"channels",{value:r[l].channels}),Object.defineProperty(i[l],"labels",{value:r[l].labels});let u=n(l);Object.keys(u).forEach(p=>{let f=u[p];i[l][p]=s(f),i[l][p].raw=o(f)})}),t.exports=i}}),dS=$({"../../node_modules/ansi-styles/index.js"(e,t){var r=(f,h)=>(...m)=>`\x1B[${f(...m)+h}m`,n=(f,h)=>(...m)=>{let g=f(...m);return`\x1B[${38+h};5;${g}m`},i=(f,h)=>(...m)=>{let g=f(...m);return`\x1B[${38+h};2;${g[0]};${g[1]};${g[2]}m`},a=f=>f,o=(f,h,m)=>[f,h,m],s=(f,h,m)=>{Object.defineProperty(f,h,{get:()=>{let g=m();return Object.defineProperty(f,h,{value:g,enumerable:!0,configurable:!0}),g},enumerable:!0,configurable:!0})},l,u=(f,h,m,g)=>{l===void 0&&(l=pS());let E=g?10:0,A={};for(let[v,T]of Object.entries(l)){let I=v==="ansi16"?"ansi":v;v===h?A[I]=f(m,E):typeof T=="object"&&(A[I]=f(T[h],E))}return A};function p(){let f=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[m,g]of Object.entries(h)){for(let[E,A]of Object.entries(g))h[E]={open:`\x1B[${A[0]}m`,close:`\x1B[${A[1]}m`},g[E]=h[E],f.set(A[0],A[1]);Object.defineProperty(h,m,{value:g,enumerable:!1})}return Object.defineProperty(h,"codes",{value:f,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",s(h.color,"ansi",()=>u(r,"ansi16",a,!1)),s(h.color,"ansi256",()=>u(n,"ansi256",a,!1)),s(h.color,"ansi16m",()=>u(i,"rgb",o,!1)),s(h.bgColor,"ansi",()=>u(r,"ansi16",a,!0)),s(h.bgColor,"ansi256",()=>u(n,"ansi256",a,!0)),s(h.bgColor,"ansi16m",()=>u(i,"rgb",o,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:p})}}),fS=$({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),hS=$({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(i,a,o)=>{let s=i.indexOf(a);if(s===-1)return i;let l=a.length,u=0,p="";do p+=i.substr(u,s-u)+a+o,u=s+l,s=i.indexOf(a,u);while(s!==-1);return p+=i.substr(u),p},n=(i,a,o,s)=>{let l=0,u="";do{let p=i[s-1]==="\r";u+=i.substr(l,(p?s-1:s)-l)+a+(p?`\r
9
+ `:`
10
+ `)+o,l=s+1,s=i.indexOf(`
11
+ `,l)}while(s!==-1);return u+=i.substr(l),u};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),mS=$({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(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,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n",`
12
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function s(f){let h=f[0]==="u",m=f[1]==="{";return h&&!m&&f.length===5||f[0]==="x"&&f.length===3?String.fromCharCode(parseInt(f.slice(1),16)):h&&m?String.fromCodePoint(parseInt(f.slice(2,-1),16)):o.get(f)||f}function l(f,h){let m=[],g=h.trim().split(/\s*,\s*/g),E;for(let A of g){let v=Number(A);if(!Number.isNaN(v))m.push(v);else if(E=A.match(i))m.push(E[2].replace(a,(T,I,R)=>I?s(I):R));else throw new Error(`Invalid Chalk template style argument: ${A} (in style '${f}')`)}return m}function u(f){n.lastIndex=0;let h=[],m;for(;(m=n.exec(f))!==null;){let g=m[1];if(m[2]){let E=l(g,m[2]);h.push([g].concat(E))}else h.push([g])}return h}function p(f,h){let m={};for(let E of h)for(let A of E.styles)m[A[0]]=E.inverse?null:A.slice(1);let g=f;for(let[E,A]of Object.entries(m))if(Array.isArray(A)){if(!(E in g))throw new Error(`Unknown Chalk style: ${E}`);g=A.length>0?g[E](...A):g[E]}return g}t.exports=(f,h)=>{let m=[],g=[],E=[];if(h.replace(r,(A,v,T,I,R,D)=>{if(v)E.push(s(v));else if(I){let y=E.join("");E=[],g.push(m.length===0?y:p(f,m)(y)),m.push({inverse:T,styles:u(I)})}else if(R){if(m.length===0)throw new Error("Found extraneous } in Chalk template literal");g.push(p(f,m)(E.join(""))),E=[],m.pop()}else E.push(D)}),g.push(E.join("")),m.length>0){let A=`Chalk template literal is missing ${m.length} closing bracket${m.length===1?"":"s"} (\`}\`)`;throw new Error(A)}return g.join("")}}}),vy=$({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=dS(),{stdout:n,stderr:i}=fS(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:o}=hS(),s=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),u=(D,y={})=>{if(y.level>3||y.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let w=n?n.level:0;D.level=y.level===void 0?w:y.level},p=class{constructor(D){return f(D)}},f=D=>{let y={};return u(y,D),y.template=(...w)=>I(y.template,...w),Object.setPrototypeOf(y,h.prototype),Object.setPrototypeOf(y.template,y),y.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},y.template.Instance=p,y.template};function h(D){return f(D)}for(let[D,y]of Object.entries(r))l[D]={get(){let w=A(this,E(y.open,y.close,this._styler),this._isEmpty);return Object.defineProperty(this,D,{value:w}),w}};l.visible={get(){let D=A(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:D}),D}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let D of m)l[D]={get(){let{level:y}=this;return function(...w){let S=E(r.color[s[y]][D](...w),r.color.close,this._styler);return A(this,S,this._isEmpty)}}};for(let D of m){let y="bg"+D[0].toUpperCase()+D.slice(1);l[y]={get(){let{level:w}=this;return function(...S){let P=E(r.bgColor[s[w]][D](...S),r.bgColor.close,this._styler);return A(this,P,this._isEmpty)}}}}var g=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(D){this._generator.level=D}}}),E=(D,y,w)=>{let S,P;return w===void 0?(S=D,P=y):(S=w.openAll+D,P=y+w.closeAll),{open:D,close:y,openAll:S,closeAll:P,parent:w}},A=(D,y,w)=>{let S=(...P)=>v(S,P.length===1?""+P[0]:P.join(" "));return S.__proto__=g,S._generator=D,S._styler=y,S._isEmpty=w,S},v=(D,y)=>{if(D.level<=0||!y)return D._isEmpty?"":y;let w=D._styler;if(w===void 0)return y;let{openAll:S,closeAll:P}=w;if(y.indexOf("\x1B")!==-1)for(;w!==void 0;)y=a(y,w.close,w.open),w=w.parent;let z=y.indexOf(`
13
+ `);return z!==-1&&(y=o(y,P,S,z)),S+y+P},T,I=(D,...y)=>{let[w]=y;if(!Array.isArray(w))return y.join(" ");let S=y.slice(1),P=[w.raw[0]];for(let z=1;z<w.length;z++)P.push(String(S[z-1]).replace(/[{}\\]/g,"\\$&"),String(w.raw[z]));return T===void 0&&(T=mS()),T(D,P.join(""))};Object.defineProperties(h.prototype,l);var R=h();R.supportsColor=n,R.stderr=h({level:i?i.level:0}),R.stderr.supportsColor=i,R.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=R}}),yS=$({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),_y=$({"../../node_modules/lodash/eq.js"(e,t){function r(n,i){return n===i||n!==n&&i!==i}t.exports=r}}),ss=$({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=_y();function n(i,a){for(var o=i.length;o--;)if(r(i[o][0],a))return o;return-1}t.exports=n}}),gS=$({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=ss(),n=Array.prototype,i=n.splice;function a(o){var s=this.__data__,l=r(s,o);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():i.call(s,l,1),--this.size,!0}t.exports=a}}),bS=$({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=ss();function n(i){var a=this.__data__,o=r(a,i);return o<0?void 0:a[o][1]}t.exports=n}}),ES=$({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=ss();function n(i){return r(this.__data__,i)>-1}t.exports=n}}),vS=$({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=ss();function n(i,a){var o=this.__data__,s=r(o,i);return s<0?(++this.size,o.push([i,a])):o[s][1]=a,this}t.exports=n}}),us=$({"../../node_modules/lodash/_ListCache.js"(e,t){var r=yS(),n=gS(),i=bS(),a=ES(),o=vS();function s(l){var u=-1,p=l==null?0:l.length;for(this.clear();++u<p;){var f=l[u];this.set(f[0],f[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),_S=$({"../../node_modules/lodash/_stackClear.js"(e,t){var r=us();function n(){this.__data__=new r,this.size=0}t.exports=n}}),AS=$({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var i=this.__data__,a=i.delete(n);return this.size=i.size,a}t.exports=r}}),wS=$({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),TS=$({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),Ay=$({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),rn=$({"../../node_modules/lodash/_root.js"(e,t){var r=Ay(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}}),hc=$({"../../node_modules/lodash/_Symbol.js"(e,t){var r=rn(),n=r.Symbol;t.exports=n}}),CS=$({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=hc(),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,o=r?r.toStringTag:void 0;function s(l){var u=i.call(l,o),p=l[o];try{l[o]=void 0;var f=!0}catch{}var h=a.call(l);return f&&(u?l[o]=p:delete l[o]),h}t.exports=s}}),SS=$({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function i(a){return n.call(a)}t.exports=i}}),ls=$({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=hc(),n=CS(),i=SS(),a="[object Null]",o="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?o:a:s&&s in Object(u)?n(u):i(u)}t.exports=l}}),wy=$({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}t.exports=r}}),Ty=$({"../../node_modules/lodash/isFunction.js"(e,t){var r=ls(),n=wy(),i="[object AsyncFunction]",a="[object Function]",o="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var p=r(u);return p==a||p==o||p==i||p==s}t.exports=l}}),xS=$({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=rn(),n=r["__core-js_shared__"];t.exports=n}}),DS=$({"../../node_modules/lodash/_isMasked.js"(e,t){var r=xS(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function i(a){return!!n&&n in a}t.exports=i}}),Cy=$({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function i(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}t.exports=i}}),RS=$({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=Ty(),n=DS(),i=wy(),a=Cy(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,p=l.toString,f=u.hasOwnProperty,h=RegExp("^"+p.call(f).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(g){if(!i(g)||n(g))return!1;var E=r(g)?h:s;return E.test(a(g))}t.exports=m}}),PS=$({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,i){return n?.[i]}t.exports=r}}),ji=$({"../../node_modules/lodash/_getNative.js"(e,t){var r=RS(),n=PS();function i(a,o){var s=n(a,o);return r(s)?s:void 0}t.exports=i}}),mc=$({"../../node_modules/lodash/_Map.js"(e,t){var r=ji(),n=rn(),i=r(n,"Map");t.exports=i}}),cs=$({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=ji(),n=r(Object,"create");t.exports=n}}),OS=$({"../../node_modules/lodash/_hashClear.js"(e,t){var r=cs();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),FS=$({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}t.exports=r}}),IS=$({"../../node_modules/lodash/_hashGet.js"(e,t){var r=cs(),n="__lodash_hash_undefined__",i=Object.prototype,a=i.hasOwnProperty;function o(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}t.exports=o}}),NS=$({"../../node_modules/lodash/_hashHas.js"(e,t){var r=cs(),n=Object.prototype,i=n.hasOwnProperty;function a(o){var s=this.__data__;return r?s[o]!==void 0:i.call(s,o)}t.exports=a}}),BS=$({"../../node_modules/lodash/_hashSet.js"(e,t){var r=cs(),n="__lodash_hash_undefined__";function i(a,o){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&o===void 0?n:o,this}t.exports=i}}),jS=$({"../../node_modules/lodash/_Hash.js"(e,t){var r=OS(),n=FS(),i=IS(),a=NS(),o=BS();function s(l){var u=-1,p=l==null?0:l.length;for(this.clear();++u<p;){var f=l[u];this.set(f[0],f[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),kS=$({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=jS(),n=us(),i=mc();function a(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}t.exports=a}}),MS=$({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}t.exports=r}}),ps=$({"../../node_modules/lodash/_getMapData.js"(e,t){var r=MS();function n(i,a){var o=i.__data__;return r(a)?o[typeof a=="string"?"string":"hash"]:o.map}t.exports=n}}),qS=$({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=ps();function n(i){var a=r(this,i).delete(i);return this.size-=a?1:0,a}t.exports=n}}),LS=$({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=ps();function n(i){return r(this,i).get(i)}t.exports=n}}),$S=$({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=ps();function n(i){return r(this,i).has(i)}t.exports=n}}),VS=$({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=ps();function n(i,a){var o=r(this,i),s=o.size;return o.set(i,a),this.size+=o.size==s?0:1,this}t.exports=n}}),Sy=$({"../../node_modules/lodash/_MapCache.js"(e,t){var r=kS(),n=qS(),i=LS(),a=$S(),o=VS();function s(l){var u=-1,p=l==null?0:l.length;for(this.clear();++u<p;){var f=l[u];this.set(f[0],f[1])}}s.prototype.clear=r,s.prototype.delete=n,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s}}),US=$({"../../node_modules/lodash/_stackSet.js"(e,t){var r=us(),n=mc(),i=Sy(),a=200;function o(s,l){var u=this.__data__;if(u instanceof r){var p=u.__data__;if(!n||p.length<a-1)return p.push([s,l]),this.size=++u.size,this;u=this.__data__=new i(p)}return u.set(s,l),this.size=u.size,this}t.exports=o}}),JS=$({"../../node_modules/lodash/_Stack.js"(e,t){var r=us(),n=_S(),i=AS(),a=wS(),o=TS(),s=US();function l(u){var p=this.__data__=new r(u);this.size=p.size}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,t.exports=l}}),HS=$({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(i){return this.__data__.set(i,r),this}t.exports=n}}),GS=$({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),zS=$({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Sy(),n=HS(),i=GS();function a(o){var s=-1,l=o==null?0:o.length;for(this.__data__=new r;++s<l;)this.add(o[s])}a.prototype.add=a.prototype.push=n,a.prototype.has=i,t.exports=a}}),WS=$({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,i){for(var a=-1,o=n==null?0:n.length;++a<o;)if(i(n[a],a,n))return!0;return!1}t.exports=r}}),KS=$({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,i){return n.has(i)}t.exports=r}}),xy=$({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=zS(),n=WS(),i=KS(),a=1,o=2;function s(l,u,p,f,h,m){var g=p&a,E=l.length,A=u.length;if(E!=A&&!(g&&A>E))return!1;var v=m.get(l),T=m.get(u);if(v&&T)return v==u&&T==l;var I=-1,R=!0,D=p&o?new r:void 0;for(m.set(l,u),m.set(u,l);++I<E;){var y=l[I],w=u[I];if(f)var S=g?f(w,y,I,u,l,m):f(y,w,I,l,u,m);if(S!==void 0){if(S)continue;R=!1;break}if(D){if(!n(u,function(P,z){if(!i(D,z)&&(y===P||h(y,P,p,f,m)))return D.push(z)})){R=!1;break}}else if(!(y===w||h(y,w,p,f,m))){R=!1;break}}return m.delete(l),m.delete(u),R}t.exports=s}}),YS=$({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=rn(),n=r.Uint8Array;t.exports=n}}),XS=$({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var i=-1,a=Array(n.size);return n.forEach(function(o,s){a[++i]=[s,o]}),a}t.exports=r}}),QS=$({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var i=-1,a=Array(n.size);return n.forEach(function(o){a[++i]=o}),a}t.exports=r}}),ZS=$({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=hc(),n=YS(),i=_y(),a=xy(),o=XS(),s=QS(),l=1,u=2,p="[object Boolean]",f="[object Date]",h="[object Error]",m="[object Map]",g="[object Number]",E="[object RegExp]",A="[object Set]",v="[object String]",T="[object Symbol]",I="[object ArrayBuffer]",R="[object DataView]",D=r?r.prototype:void 0,y=D?D.valueOf:void 0;function w(S,P,z,L,K,q,B){switch(z){case R:if(S.byteLength!=P.byteLength||S.byteOffset!=P.byteOffset)return!1;S=S.buffer,P=P.buffer;case I:return!(S.byteLength!=P.byteLength||!q(new n(S),new n(P)));case p:case f:case g:return i(+S,+P);case h:return S.name==P.name&&S.message==P.message;case E:case v:return S==P+"";case m:var V=o;case A:var X=L&l;if(V||(V=s),S.size!=P.size&&!X)return!1;var Q=B.get(S);if(Q)return Q==P;L|=u,B.set(S,P);var oe=a(V(S),V(P),L,K,q,B);return B.delete(S),oe;case T:if(y)return y.call(S)==y.call(P)}return!1}t.exports=w}}),ex=$({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,i){for(var a=-1,o=i.length,s=n.length;++a<o;)n[s+a]=i[a];return n}t.exports=r}}),yc=$({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),tx=$({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=ex(),n=yc();function i(a,o,s){var l=o(a);return n(a)?l:r(l,s(a))}t.exports=i}}),rx=$({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,i){for(var a=-1,o=n==null?0:n.length,s=0,l=[];++a<o;){var u=n[a];i(u,a,n)&&(l[s++]=u)}return l}t.exports=r}}),nx=$({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),ix=$({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=rx(),n=nx(),i=Object.prototype,a=i.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(l){return l==null?[]:(l=Object(l),r(o(l),function(u){return a.call(l,u)}))}:n;t.exports=s}}),ox=$({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,i){for(var a=-1,o=Array(n);++a<n;)o[a]=i(a);return o}t.exports=r}}),ds=$({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),ax=$({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=ls(),n=ds(),i="[object Arguments]";function a(o){return n(o)&&r(o)==i}t.exports=a}}),sx=$({"../../node_modules/lodash/isArguments.js"(e,t){var r=ax(),n=ds(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable,s=r((function(){return arguments})())?r:function(l){return n(l)&&a.call(l,"callee")&&!o.call(l,"callee")};t.exports=s}}),ux=$({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Dy=$({"../../node_modules/lodash/isBuffer.js"(e,t){var r=rn(),n=ux(),i=typeof e=="object"&&e&&!e.nodeType&&e,a=i&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===i,s=o?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}}),lx=$({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(a,o){var s=typeof a;return o=o??r,!!o&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<o}t.exports=i}}),Ry=$({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r}t.exports=n}}),cx=$({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ls(),n=Ry(),i=ds(),a="[object Arguments]",o="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",p="[object Function]",f="[object Map]",h="[object Number]",m="[object Object]",g="[object RegExp]",E="[object Set]",A="[object String]",v="[object WeakMap]",T="[object ArrayBuffer]",I="[object DataView]",R="[object Float32Array]",D="[object Float64Array]",y="[object Int8Array]",w="[object Int16Array]",S="[object Int32Array]",P="[object Uint8Array]",z="[object Uint8ClampedArray]",L="[object Uint16Array]",K="[object Uint32Array]",q={};q[R]=q[D]=q[y]=q[w]=q[S]=q[P]=q[z]=q[L]=q[K]=!0,q[a]=q[o]=q[T]=q[s]=q[I]=q[l]=q[u]=q[p]=q[f]=q[h]=q[m]=q[g]=q[E]=q[A]=q[v]=!1;function B(V){return i(V)&&n(V.length)&&!!q[r(V)]}t.exports=B}}),px=$({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(i){return n(i)}}t.exports=r}}),dx=$({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Ay(),n=typeof e=="object"&&e&&!e.nodeType&&e,i=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=i&&i.exports===n,o=a&&r.process,s=(function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}})();t.exports=s}}),Py=$({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=cx(),n=px(),i=dx(),a=i&&i.isTypedArray,o=a?n(a):r;t.exports=o}}),fx=$({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=ox(),n=sx(),i=yc(),a=Dy(),o=lx(),s=Py(),l=Object.prototype,u=l.hasOwnProperty;function p(f,h){var m=i(f),g=!m&&n(f),E=!m&&!g&&a(f),A=!m&&!g&&!E&&s(f),v=m||g||E||A,T=v?r(f.length,String):[],I=T.length;for(var R in f)(h||u.call(f,R))&&!(v&&(R=="length"||E&&(R=="offset"||R=="parent")||A&&(R=="buffer"||R=="byteLength"||R=="byteOffset")||o(R,I)))&&T.push(R);return T}t.exports=p}}),hx=$({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(i){var a=i&&i.constructor,o=typeof a=="function"&&a.prototype||r;return i===o}t.exports=n}}),mx=$({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,i){return function(a){return n(i(a))}}t.exports=r}}),yx=$({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=mx(),n=r(Object.keys,Object);t.exports=n}}),gx=$({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=hx(),n=yx(),i=Object.prototype,a=i.hasOwnProperty;function o(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}t.exports=o}}),bx=$({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Ty(),n=Ry();function i(a){return a!=null&&n(a.length)&&!r(a)}t.exports=i}}),Ex=$({"../../node_modules/lodash/keys.js"(e,t){var r=fx(),n=gx(),i=bx();function a(o){return i(o)?r(o):n(o)}t.exports=a}}),vx=$({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=tx(),n=ix(),i=Ex();function a(o){return r(o,i,n)}t.exports=a}}),_x=$({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=vx(),n=1,i=Object.prototype,a=i.hasOwnProperty;function o(s,l,u,p,f,h){var m=u&n,g=r(s),E=g.length,A=r(l),v=A.length;if(E!=v&&!m)return!1;for(var T=E;T--;){var I=g[T];if(!(m?I in l:a.call(l,I)))return!1}var R=h.get(s),D=h.get(l);if(R&&D)return R==l&&D==s;var y=!0;h.set(s,l),h.set(l,s);for(var w=m;++T<E;){I=g[T];var S=s[I],P=l[I];if(p)var z=m?p(P,S,I,l,s,h):p(S,P,I,s,l,h);if(!(z===void 0?S===P||f(S,P,u,p,h):z)){y=!1;break}w||(w=I=="constructor")}if(y&&!w){var L=s.constructor,K=l.constructor;L!=K&&"constructor"in s&&"constructor"in l&&!(typeof L=="function"&&L instanceof L&&typeof K=="function"&&K instanceof K)&&(y=!1)}return h.delete(s),h.delete(l),y}t.exports=o}}),Ax=$({"../../node_modules/lodash/_DataView.js"(e,t){var r=ji(),n=rn(),i=r(n,"DataView");t.exports=i}}),wx=$({"../../node_modules/lodash/_Promise.js"(e,t){var r=ji(),n=rn(),i=r(n,"Promise");t.exports=i}}),Tx=$({"../../node_modules/lodash/_Set.js"(e,t){var r=ji(),n=rn(),i=r(n,"Set");t.exports=i}}),Cx=$({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=ji(),n=rn(),i=r(n,"WeakMap");t.exports=i}}),Sx=$({"../../node_modules/lodash/_getTag.js"(e,t){var r=Ax(),n=mc(),i=wx(),a=Tx(),o=Cx(),s=ls(),l=Cy(),u="[object Map]",p="[object Object]",f="[object Promise]",h="[object Set]",m="[object WeakMap]",g="[object DataView]",E=l(r),A=l(n),v=l(i),T=l(a),I=l(o),R=s;(r&&R(new r(new ArrayBuffer(1)))!=g||n&&R(new n)!=u||i&&R(i.resolve())!=f||a&&R(new a)!=h||o&&R(new o)!=m)&&(R=function(D){var y=s(D),w=y==p?D.constructor:void 0,S=w?l(w):"";if(S)switch(S){case E:return g;case A:return u;case v:return f;case T:return h;case I:return m}return y}),t.exports=R}}),xx=$({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=JS(),n=xy(),i=ZS(),a=_x(),o=Sx(),s=yc(),l=Dy(),u=Py(),p=1,f="[object Arguments]",h="[object Array]",m="[object Object]",g=Object.prototype,E=g.hasOwnProperty;function A(v,T,I,R,D,y){var w=s(v),S=s(T),P=w?h:o(v),z=S?h:o(T);P=P==f?m:P,z=z==f?m:z;var L=P==m,K=z==m,q=P==z;if(q&&l(v)){if(!l(T))return!1;w=!0,L=!1}if(q&&!L)return y||(y=new r),w||u(v)?n(v,T,I,R,D,y):i(v,T,P,I,R,D,y);if(!(I&p)){var B=L&&E.call(v,"__wrapped__"),V=K&&E.call(T,"__wrapped__");if(B||V){var X=B?v.value():v,Q=V?T.value():T;return y||(y=new r),D(X,Q,I,R,y)}}return q?(y||(y=new r),a(v,T,I,R,D,y)):!1}t.exports=A}}),Dx=$({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=xx(),n=ds();function i(a,o,s,l,u){return a===o?!0:a==null||o==null||!n(a)&&!n(o)?a!==a&&o!==o:r(a,o,s,l,i,u)}t.exports=i}}),Oy=$({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=Dx();function n(i,a,o){o=typeof o=="function"?o:void 0;var s=o?o(i,a):void 0;return s===void 0?r(i,a,void 0,o):!!s}t.exports=n}}),Fy=$({"../../node_modules/css.escape/css.escape.js"(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=function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(i),o=a.length,s=-1,l,u="",p=a.charCodeAt(0);++s<o;){if(l=a.charCodeAt(s),l==0){u+="�";continue}if(l>=1&&l<=31||l==127||s==0&&l>=48&&l<=57||s==1&&l>=48&&l<=57&&p==45){u+="\\"+l.toString(16)+" ";continue}if(s==0&&o==1&&l==45){u+="\\"+a.charAt(s);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){u+=a.charAt(s);continue}u+="\\"+a.charAt(s)}return u};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Iy=$({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>o=>`\x1B[${38+a};5;${o}m`,n=(a=0)=>(o,s,l)=>`\x1B[${38+a};2;${o};${s};${l}m`;function i(){let a=new Map,o={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]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[s,l]of Object.entries(o)){for(let[u,p]of Object.entries(l))o[u]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},l[u]=o[u],a.set(p[0],p[1]);Object.defineProperty(o,s,{value:l,enumerable:!1})}return Object.defineProperty(o,"codes",{value:a,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{let l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(f=>f+f).join(""));let p=Number.parseInt(u,16);return[p>>16&255,p>>8&255,p&255]},enumerable:!1},hexToAnsi256:{value:s=>o.rgbToAnsi256(...o.hexToRgb(s)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:i})}}),fs=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=a;var t=(o,s)=>{let l=Object.keys(o).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(u=>{Object.getOwnPropertyDescriptor(o,u).enumerable&&l.push(u)}),l};function r(o,s,l,u,p,f,h=": "){let m="",g=o.next();if(!g.done){m+=s.spacingOuter;let E=l+s.indent;for(;!g.done;){let A=f(g.value[0],s,E,u,p),v=f(g.value[1],s,E,u,p);m+=E+A+h+v,g=o.next(),g.done?s.min||(m+=","):m+=","+s.spacingInner}m+=s.spacingOuter+l}return m}function n(o,s,l,u,p,f){let h="",m=o.next();if(!m.done){h+=s.spacingOuter;let g=l+s.indent;for(;!m.done;)h+=g+f(m.value,s,g,u,p),m=o.next(),m.done?s.min||(h+=","):h+=","+s.spacingInner;h+=s.spacingOuter+l}return h}function i(o,s,l,u,p,f){let h="";if(o.length){h+=s.spacingOuter;let m=l+s.indent;for(let g=0;g<o.length;g++)h+=m,g in o&&(h+=f(o[g],s,m,u,p)),g<o.length-1?h+=","+s.spacingInner:s.min||(h+=",");h+=s.spacingOuter+l}return h}function a(o,s,l,u,p,f){let h="",m=t(o,s.compareKeys);if(m.length){h+=s.spacingOuter;let g=l+s.indent;for(let E=0;E<m.length;E++){let A=m[E],v=f(A,s,g,u,p),T=f(o[A],s,g,u,p);h+=g+v+": "+T,E<m.length-1?h+=","+s.spacingInner:s.min||(h+=",")}h+=s.spacingOuter+l}return h}}}),Rx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fs(),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,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",o=(p,f,h,m,g,E)=>{let A=p.toString();return A==="ArrayContaining"||A==="ArrayNotContaining"?++m>f.maxDepth?"["+A+"]":A+a+"["+(0,t.printListItems)(p.sample,f,h,m,g,E)+"]":A==="ObjectContaining"||A==="ObjectNotContaining"?++m>f.maxDepth?"["+A+"]":A+a+"{"+(0,t.printObjectProperties)(p.sample,f,h,m,g,E)+"}":A==="StringMatching"||A==="StringNotMatching"||A==="StringContaining"||A==="StringNotContaining"?A+a+E(p.sample,f,h,m,g):p.toAsymmetricMatcher()};e.serialize=o;var s=p=>p&&p.$$typeof===i;e.test=s;var l={serialize:o,test:s},u=l;e.default=u}}),Px=$({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(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")}}}),Ox=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Px()),r=n(Iy());function n(u){return u&&u.__esModule?u:{default:u}}var i=u=>u.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""}}),a=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=a;var o=(u,p,f,h,m,g)=>g(i(u),p,f,h,m);e.serialize=o;var s={serialize:o,test:a},l=s;e.default=l}}),Fx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fs(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,a=f=>n.indexOf(f)!==-1||i.test(f),o=f=>f&&f.constructor&&!!f.constructor.name&&a(f.constructor.name);e.test=o;var s=f=>f.constructor.name==="NamedNodeMap",l=(f,h,m,g,E,A)=>{let v=f.constructor.name;return++g>h.maxDepth?"["+v+"]":(h.min?"":v+r)+(n.indexOf(v)!==-1?"{"+(0,t.printObjectProperties)(s(f)?Array.from(f).reduce((T,I)=>(T[I.name]=I.value,T),{}):{...f},h,m,g,E,A)+"}":"["+(0,t.printListItems)(Array.from(f),h,m,g,E,A)+"]")};e.serialize=l;var u={serialize:l,test:o},p=u;e.default=p}}),Ix=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),gc=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Ix());function r(u){return u&&u.__esModule?u:{default:u}}var n=(u,p,f,h,m,g,E)=>{let A=h+f.indent,v=f.colors;return u.map(T=>{let I=p[T],R=E(I,f,A,m,g);return typeof I!="string"&&(R.indexOf(`
14
+ `)!==-1&&(R=f.spacingOuter+A+R+f.spacingOuter+h),R="{"+R+"}"),f.spacingInner+h+v.prop.open+T+v.prop.close+"="+v.value.open+R+v.value.close}).join("")};e.printProps=n;var i=(u,p,f,h,m,g)=>u.map(E=>p.spacingOuter+f+(typeof E=="string"?a(E,p):g(E,p,f,h,m))).join("");e.printChildren=i;var a=(u,p)=>{let f=p.colors.content;return f.open+(0,t.default)(u)+f.close};e.printText=a;var o=(u,p)=>{let f=p.colors.comment;return f.open+"<!--"+(0,t.default)(u)+"-->"+f.close};e.printComment=o;var s=(u,p,f,h,m)=>{let g=h.colors.tag;return g.open+"<"+u+(p&&g.close+p+h.spacingOuter+m+g.open)+(f?">"+g.close+f+h.spacingOuter+m+g.open+"</"+u:(p&&!h.min?"":" ")+"/")+">"+g.close};e.printElement=s;var l=(u,p)=>{let f=p.colors.tag;return f.open+"<"+u+f.close+" …"+f.open+" />"+f.close};e.printElementAsLeaf=l}}),Nx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=gc(),r=1,n=3,i=8,a=11,o=/^((HTML|SVG)\w*)?Element$/,s=A=>{try{return typeof A.hasAttribute=="function"&&A.hasAttribute("is")}catch{return!1}},l=A=>{let v=A.constructor.name,{nodeType:T,tagName:I}=A,R=typeof I=="string"&&I.includes("-")||s(A);return T===r&&(o.test(v)||R)||T===n&&v==="Text"||T===i&&v==="Comment"||T===a&&v==="DocumentFragment"},u=A=>{var v;return(A==null||(v=A.constructor)===null||v===void 0?void 0:v.name)&&l(A)};e.test=u;function p(A){return A.nodeType===n}function f(A){return A.nodeType===i}function h(A){return A.nodeType===a}var m=(A,v,T,I,R,D)=>{if(p(A))return(0,t.printText)(A.data,v);if(f(A))return(0,t.printComment)(A.data,v);let y=h(A)?"DocumentFragment":A.tagName.toLowerCase();return++I>v.maxDepth?(0,t.printElementAsLeaf)(y,v):(0,t.printElement)(y,(0,t.printProps)(h(A)?[]:Array.from(A.attributes).map(w=>w.name).sort(),h(A)?{}:Array.from(A.attributes).reduce((w,S)=>(w[S.name]=S.value,w),{}),v,T+v.indent,I,R,D),(0,t.printChildren)(Array.prototype.slice.call(A.childNodes||A.children),v,T+v.indent,I,R,D),v,T)};e.serialize=m;var g={serialize:m,test:u},E=g;e.default=E}}),Bx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fs(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",f=S=>"Immutable."+S,h=S=>"["+S+"]",m=" ",g="…",E=(S,P,z,L,K,q,B)=>++L>P.maxDepth?h(f(B)):f(B)+m+"{"+(0,t.printIteratorEntries)(S.entries(),P,z,L,K,q)+"}";function A(S){let P=0;return{next(){if(P<S._keys.length){let z=S._keys[P++];return{done:!1,value:[z,S.get(z)]}}return{done:!0,value:void 0}}}}var v=(S,P,z,L,K,q)=>{let B=f(S._name||"Record");return++L>P.maxDepth?h(B):B+m+"{"+(0,t.printIteratorEntries)(A(S),P,z,L,K,q)+"}"},T=(S,P,z,L,K,q)=>{let B=f("Seq");return++L>P.maxDepth?h(B):S[i]?B+m+"{"+(S._iter||S._object?(0,t.printIteratorEntries)(S.entries(),P,z,L,K,q):g)+"}":B+m+"["+(S._iter||S._array||S._collection||S._iterable?(0,t.printIteratorValues)(S.values(),P,z,L,K,q):g)+"]"},I=(S,P,z,L,K,q,B)=>++L>P.maxDepth?h(f(B)):f(B)+m+"["+(0,t.printIteratorValues)(S.values(),P,z,L,K,q)+"]",R=(S,P,z,L,K,q)=>S[a]?E(S,P,z,L,K,q,S[o]?"OrderedMap":"Map"):S[n]?I(S,P,z,L,K,q,"List"):S[u]?I(S,P,z,L,K,q,S[o]?"OrderedSet":"Set"):S[p]?I(S,P,z,L,K,q,"Stack"):S[l]?T(S,P,z,L,K,q):v(S,P,z,L,K,q);e.serialize=R;var D=S=>S&&(S[r]===!0||S[s]===!0);e.test=D;var y={serialize:R,test:D},w=y;e.default=w}}),jx=$({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,i=60108,a=60114,o=60109,s=60110,l=60112,u=60113,p=60120,f=60115,h=60116,m=60121,g=60122,E=60117,A=60129,v=60131;typeof Symbol=="function"&&Symbol.for&&(T=Symbol.for,t=T("react.element"),r=T("react.portal"),n=T("react.fragment"),i=T("react.strict_mode"),a=T("react.profiler"),o=T("react.provider"),s=T("react.context"),l=T("react.forward_ref"),u=T("react.suspense"),p=T("react.suspense_list"),f=T("react.memo"),h=T("react.lazy"),m=T("react.block"),g=T("react.server.block"),E=T("react.fundamental"),A=T("react.debug_trace_mode"),v=T("react.legacy_hidden"));var T;function I(B){if(typeof B=="object"&&B!==null){var V=B.$$typeof;switch(V){case t:switch(B=B.type,B){case n:case a:case i:case u:case p:return B;default:switch(B=B&&B.$$typeof,B){case s:case l:case h:case f:case o:return B;default:return V}}case r:return V}}}var R=o,D=t,y=l,w=n,S=h,P=f,z=r,L=a,K=i,q=u;e.ContextConsumer=s,e.ContextProvider=R,e.Element=D,e.ForwardRef=y,e.Fragment=w,e.Lazy=S,e.Memo=P,e.Portal=z,e.Profiler=L,e.StrictMode=K,e.Suspense=q,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(B){return I(B)===s},e.isContextProvider=function(B){return I(B)===o},e.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===t},e.isForwardRef=function(B){return I(B)===l},e.isFragment=function(B){return I(B)===n},e.isLazy=function(B){return I(B)===h},e.isMemo=function(B){return I(B)===f},e.isPortal=function(B){return I(B)===r},e.isProfiler=function(B){return I(B)===a},e.isStrictMode=function(B){return I(B)===i},e.isSuspense=function(B){return I(B)===u},e.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===n||B===a||B===A||B===i||B===u||B===p||B===v||typeof B=="object"&&B!==null&&(B.$$typeof===h||B.$$typeof===f||B.$$typeof===o||B.$$typeof===s||B.$$typeof===l||B.$$typeof===E||B.$$typeof===m||B[0]===g)},e.typeOf=I}}),kx=$({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=jx()}}),Mx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(kx()),r=gc();function n(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,g=new WeakMap;return(n=function(E){return E?g:m})(h)}function i(h,m){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=n(m);if(g&&g.has(h))return g.get(h);var E={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&Object.prototype.hasOwnProperty.call(h,v)){var T=A?Object.getOwnPropertyDescriptor(h,v):null;T&&(T.get||T.set)?Object.defineProperty(E,v,T):E[v]=h[v]}return E.default=h,g&&g.set(h,E),E}var a=(h,m=[])=>(Array.isArray(h)?h.forEach(g=>{a(g,m)}):h!=null&&h!==!1&&m.push(h),m),o=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let g=m.render.displayName||m.render.name||"";return g!==""?"ForwardRef("+g+")":"ForwardRef"}if(t.isMemo(h)){let g=m.displayName||m.type.displayName||m.type.name||"";return g!==""?"Memo("+g+")":"Memo"}}return"UNDEFINED"},s=h=>{let{props:m}=h;return Object.keys(m).filter(g=>g!=="children"&&m[g]!==void 0).sort()},l=(h,m,g,E,A,v)=>++E>m.maxDepth?(0,r.printElementAsLeaf)(o(h),m):(0,r.printElement)(o(h),(0,r.printProps)(s(h),h.props,m,g+m.indent,E,A,v),(0,r.printChildren)(a(h.props.children),m,g+m.indent,E,A,v),m,g);e.serialize=l;var u=h=>h!=null&&t.isElement(h);e.test=u;var p={serialize:l,test:u},f=p;e.default=f}}),qx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=gc(),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,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=p=>{let{props:f}=p;return f?Object.keys(f).filter(h=>f[h]!==void 0).sort():[]},o=(p,f,h,m,g,E)=>++m>f.maxDepth?(0,t.printElementAsLeaf)(p.type,f):(0,t.printElement)(p.type,p.props?(0,t.printProps)(a(p),p.props,f,h+f.indent,m,g,E):"",p.children?(0,t.printChildren)(p.children,f,h+f.indent,m,g,E):"",f,h);e.serialize=o;var s=p=>p&&p.$$typeof===i;e.test=s;var l={serialize:o,test:s},u=l;e.default=u}}),Lx=$({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ve,e.plugins=void 0;var t=p(Iy()),r=fs(),n=p(Rx()),i=p(Ox()),a=p(Fx()),o=p(Nx()),s=p(Bx()),l=p(Mx()),u=p(qx());function p(Z){return Z&&Z.__esModule?Z:{default:Z}}var f=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,g=RegExp.prototype.toString,E=Z=>typeof Z.constructor=="function"&&Z.constructor.name||"Object",A=Z=>typeof window<"u"&&Z===window,v=/^Symbol\((.*)\)(.*)$/,T=/\n/gi,I=class extends Error{constructor(Z,me){super(Z),this.stack=me,this.name=this.constructor.name}};function R(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]"}function D(Z){return Object.is(Z,-0)?"-0":String(Z)}function y(Z){return`${Z}n`}function w(Z,me){return me?"[Function "+(Z.name||"anonymous")+"]":"[Function]"}function S(Z){return String(Z).replace(v,"Symbol($1)")}function P(Z){return"["+m.call(Z)+"]"}function z(Z,me,Ae,De){if(Z===!0||Z===!1)return""+Z;if(Z===void 0)return"undefined";if(Z===null)return"null";let xe=typeof Z;if(xe==="number")return D(Z);if(xe==="bigint")return y(Z);if(xe==="string")return De?'"'+Z.replace(/"|\\/g,"\\$&")+'"':'"'+Z+'"';if(xe==="function")return w(Z,me);if(xe==="symbol")return S(Z);let Oe=f.call(Z);return Oe==="[object WeakMap]"?"WeakMap {}":Oe==="[object WeakSet]"?"WeakSet {}":Oe==="[object Function]"||Oe==="[object GeneratorFunction]"?w(Z,me):Oe==="[object Symbol]"?S(Z):Oe==="[object Date]"?isNaN(+Z)?"Date { NaN }":h.call(Z):Oe==="[object Error]"?P(Z):Oe==="[object RegExp]"?Ae?g.call(Z).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):g.call(Z):Z instanceof Error?P(Z):null}function L(Z,me,Ae,De,xe,Oe){if(xe.indexOf(Z)!==-1)return"[Circular]";xe=xe.slice(),xe.push(Z);let Fe=++De>me.maxDepth,Me=me.min;if(me.callToJSON&&!Fe&&Z.toJSON&&typeof Z.toJSON=="function"&&!Oe)return V(Z.toJSON(),me,Ae,De,xe,!0);let ut=f.call(Z);return ut==="[object Arguments]"?Fe?"[Arguments]":(Me?"":"Arguments ")+"["+(0,r.printListItems)(Z,me,Ae,De,xe,V)+"]":R(ut)?Fe?"["+Z.constructor.name+"]":(Me||!me.printBasicPrototype&&Z.constructor.name==="Array"?"":Z.constructor.name+" ")+"["+(0,r.printListItems)(Z,me,Ae,De,xe,V)+"]":ut==="[object Map]"?Fe?"[Map]":"Map {"+(0,r.printIteratorEntries)(Z.entries(),me,Ae,De,xe,V," => ")+"}":ut==="[object Set]"?Fe?"[Set]":"Set {"+(0,r.printIteratorValues)(Z.values(),me,Ae,De,xe,V)+"}":Fe||A(Z)?"["+E(Z)+"]":(Me||!me.printBasicPrototype&&E(Z)==="Object"?"":E(Z)+" ")+"{"+(0,r.printObjectProperties)(Z,me,Ae,De,xe,V)+"}"}function K(Z){return Z.serialize!=null}function q(Z,me,Ae,De,xe,Oe){let Fe;try{Fe=K(Z)?Z.serialize(me,Ae,De,xe,Oe,V):Z.print(me,Me=>V(Me,Ae,De,xe,Oe),Me=>{let ut=De+Ae.indent;return ut+Me.replace(T,`
15
+ `+ut)},{edgeSpacing:Ae.spacingOuter,min:Ae.min,spacing:Ae.spacingInner},Ae.colors)}catch(Me){throw new I(Me.message,Me.stack)}if(typeof Fe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Fe}".`);return Fe}function B(Z,me){for(let Ae=0;Ae<Z.length;Ae++)try{if(Z[Ae].test(me))return Z[Ae]}catch(De){throw new I(De.message,De.stack)}return null}function V(Z,me,Ae,De,xe,Oe){let Fe=B(me.plugins,Z);if(Fe!==null)return q(Fe,Z,me,Ae,De,xe);let Me=z(Z,me.printFunctionName,me.escapeRegex,me.escapeString);return Me!==null?Me:L(Z,me,Ae,De,xe,Oe)}var X={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Q=Object.keys(X),oe={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:X};e.DEFAULT_OPTIONS=oe;function Ee(Z){if(Object.keys(Z).forEach(me=>{if(!oe.hasOwnProperty(me))throw new Error(`pretty-format: Unknown option "${me}".`)}),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}".`)}}var Pe=Z=>Q.reduce((me,Ae)=>{let De=Z.theme&&Z.theme[Ae]!==void 0?Z.theme[Ae]:X[Ae],xe=De&&t.default[De];if(xe&&typeof xe.close=="string"&&typeof xe.open=="string")me[Ae]=xe;else throw new Error(`pretty-format: Option "theme" has a key "${Ae}" whose value "${De}" is undefined in ansi-styles.`);return me},Object.create(null)),W=()=>Q.reduce((Z,me)=>(Z[me]={close:"",open:""},Z),Object.create(null)),H=Z=>Z&&Z.printFunctionName!==void 0?Z.printFunctionName:oe.printFunctionName,re=Z=>Z&&Z.escapeRegex!==void 0?Z.escapeRegex:oe.escapeRegex,ce=Z=>Z&&Z.escapeString!==void 0?Z.escapeString:oe.escapeString,le=Z=>{var me;return{callToJSON:Z&&Z.callToJSON!==void 0?Z.callToJSON:oe.callToJSON,colors:Z&&Z.highlight?Pe(Z):W(),compareKeys:Z&&typeof Z.compareKeys=="function"?Z.compareKeys:oe.compareKeys,escapeRegex:re(Z),escapeString:ce(Z),indent:Z&&Z.min?"":ie(Z&&Z.indent!==void 0?Z.indent:oe.indent),maxDepth:Z&&Z.maxDepth!==void 0?Z.maxDepth:oe.maxDepth,min:Z&&Z.min!==void 0?Z.min:oe.min,plugins:Z&&Z.plugins!==void 0?Z.plugins:oe.plugins,printBasicPrototype:(me=Z?.printBasicPrototype)!==null&&me!==void 0?me:!0,printFunctionName:H(Z),spacingInner:Z&&Z.min?" ":`
16
+ `,spacingOuter:Z&&Z.min?"":`
17
+ `}};function ie(Z){return new Array(Z+1).join(" ")}function ve(Z,me){if(me&&(Ee(me),me.plugins)){let De=B(me.plugins,Z);if(De!==null)return q(De,Z,le(me),"",0,[])}let Ae=z(Z,H(me),re(me),ce(me));return Ae!==null?Ae:L(Z,le(me),"",0,[])}var Re={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:a.default,DOMElement:o.default,Immutable:s.default,ReactElement:l.default,ReactTestComponent:u.default};e.plugins=Re;var $e=ve;e.default=$e}}),$x=$({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(u,p){if(!o[u]){o[u]={};for(var f=0;f<u.length;f++)o[u][u.charAt(f)]=f}return o[u][p]}var l={compressToBase64:function(u){if(u==null)return"";var p=l._compress(u,6,function(f){return i.charAt(f)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:l._decompress(u.length,32,function(p){return s(i,u.charAt(p))})},compressToUTF16:function(u){return u==null?"":l._compress(u,15,function(p){return n(p+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:l._decompress(u.length,16384,function(p){return u.charCodeAt(p)-32})},compressToUint8Array:function(u){for(var p=l.compress(u),f=new Uint8Array(p.length*2),h=0,m=p.length;h<m;h++){var g=p.charCodeAt(h);f[h*2]=g>>>8,f[h*2+1]=g%256}return f},decompressFromUint8Array:function(u){if(u==null)return l.decompress(u);for(var p=new Array(u.length/2),f=0,h=p.length;f<h;f++)p[f]=u[f*2]*256+u[f*2+1];var m=[];return p.forEach(function(g){m.push(n(g))}),l.decompress(m.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":l._compress(u,6,function(p){return a.charAt(p)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),l._decompress(u.length,32,function(p){return s(a,u.charAt(p))}))},compress:function(u){return l._compress(u,16,function(p){return n(p)})},_compress:function(u,p,f){if(u==null)return"";var h,m,g={},E={},A="",v="",T="",I=2,R=3,D=2,y=[],w=0,S=0,P;for(P=0;P<u.length;P+=1)if(A=u.charAt(P),Object.prototype.hasOwnProperty.call(g,A)||(g[A]=R++,E[A]=!0),v=T+A,Object.prototype.hasOwnProperty.call(g,v))T=v;else{if(Object.prototype.hasOwnProperty.call(E,T)){if(T.charCodeAt(0)<256){for(h=0;h<D;h++)w=w<<1,S==p-1?(S=0,y.push(f(w)),w=0):S++;for(m=T.charCodeAt(0),h=0;h<8;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1}else{for(m=1,h=0;h<D;h++)w=w<<1|m,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=0;for(m=T.charCodeAt(0),h=0;h<16;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1}I--,I==0&&(I=Math.pow(2,D),D++),delete E[T]}else for(m=g[T],h=0;h<D;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1;I--,I==0&&(I=Math.pow(2,D),D++),g[v]=R++,T=String(A)}if(T!==""){if(Object.prototype.hasOwnProperty.call(E,T)){if(T.charCodeAt(0)<256){for(h=0;h<D;h++)w=w<<1,S==p-1?(S=0,y.push(f(w)),w=0):S++;for(m=T.charCodeAt(0),h=0;h<8;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1}else{for(m=1,h=0;h<D;h++)w=w<<1|m,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=0;for(m=T.charCodeAt(0),h=0;h<16;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1}I--,I==0&&(I=Math.pow(2,D),D++),delete E[T]}else for(m=g[T],h=0;h<D;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1;I--,I==0&&(I=Math.pow(2,D),D++)}for(m=2,h=0;h<D;h++)w=w<<1|m&1,S==p-1?(S=0,y.push(f(w)),w=0):S++,m=m>>1;for(;;)if(w=w<<1,S==p-1){y.push(f(w));break}else S++;return y.join("")},decompress:function(u){return u==null?"":u==""?null:l._decompress(u.length,32768,function(p){return u.charCodeAt(p)})},_decompress:function(u,p,f){var h=[],m=4,g=4,E=3,A="",v=[],T,I,R,D,y,w,S,P={val:f(0),position:p,index:1};for(T=0;T<3;T+=1)h[T]=T;for(R=0,y=Math.pow(2,2),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;switch(R){case 0:for(R=0,y=Math.pow(2,8),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;S=n(R);break;case 1:for(R=0,y=Math.pow(2,16),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;S=n(R);break;case 2:return""}for(h[3]=S,I=S,v.push(S);;){if(P.index>u)return"";for(R=0,y=Math.pow(2,E),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;switch(S=R){case 0:for(R=0,y=Math.pow(2,8),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;h[g++]=n(R),S=g-1,m--;break;case 1:for(R=0,y=Math.pow(2,16),w=1;w!=y;)D=P.val&P.position,P.position>>=1,P.position==0&&(P.position=p,P.val=f(P.index++)),R|=(D>0?1:0)*w,w<<=1;h[g++]=n(R),S=g-1,m--;break;case 2:return v.join("")}if(m==0&&(m=Math.pow(2,E),E++),h[S])A=h[S];else if(S===g)A=I+I.charAt(0);else return null;v.push(A),h[g++]=I+A.charAt(0),m--,I=A,m==0&&(m=Math.pow(2,E),E++)}}};return l})();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})}}),Ny=$({"../../node_modules/memoizerific/memoizerific.js"(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(function r(n,i,a){function o(u,p){if(!i[u]){if(!n[u]){var f=typeof oa=="function"&&oa;if(!p&&f)return f(u,!0);if(s)return s(u,!0);var h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h}var m=i[u]={exports:{}};n[u][0].call(m.exports,function(g){var E=n[u][1][g];return o(E||g)},m,m.exports,r,n,i,a)}return i[u].exports}for(var s=typeof oa=="function"&&oa,l=0;l<a.length;l++)o(a[l]);return o})({1:[function(r,n,i){n.exports=function(a){if(typeof Map!="function"||a){var o=r("./similar");return new o}else return new Map}},{"./similar":2}],2:[function(r,n,i){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}a.prototype.get=function(o){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,o))return this.lastItem.val;if(s=this.indexOf(o),s>=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(o,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,o)?(this.lastItem.val=s,this):(l=this.indexOf(o),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:o,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(o){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,o)&&(this.lastItem=void 0),s=this.indexOf(o),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(o){var s;return this.lastItem&&this.isEqual(this.lastItem.key,o)?!0:(s=this.indexOf(o),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(o,s){var l;for(l=0;l<this.size;l++)o.call(s||this,this.list[l].val,this.list[l].key,this)},a.prototype.indexOf=function(o){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,o))return s;return-1},a.prototype.isEqual=function(o,s){return o===s||o!==o&&s!==s},n.exports=a},{}],3:[function(r,n,i){var a=r("map-or-similar");n.exports=function(u){var p=new a(!1),f=[];return function(h){var m=function(){var g=p,E,A,v=arguments.length-1,T=Array(v+1),I=!0,R;if((m.numArgs||m.numArgs===0)&&m.numArgs!==v+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(R=0;R<v;R++){if(T[R]={cacheItem:g,arg:arguments[R]},g.has(arguments[R])){g=g.get(arguments[R]);continue}I=!1,E=new a(!1),g.set(arguments[R],E),g=E}return I&&(g.has(arguments[v])?A=g.get(arguments[v]):I=!1),I||(A=h.apply(null,arguments),g.set(arguments[v],A)),u>0&&(T[v]={cacheItem:g,arg:arguments[v]},I?o(f,T):f.push(T),f.length>u&&s(f.shift())),m.wasMemoized=I,m.numArgs=v+1,A};return m.limit=u,m.wasMemoized=!1,m.cache=p,m.lru=f,m}};function o(u,p){var f=u.length,h=p.length,m,g,E;for(g=0;g<f;g++){for(m=!0,E=0;E<h;E++)if(!l(u[g][E].arg,p[E].arg)){m=!1;break}if(m)break}u.push(u.splice(g,1)[0])}function s(u){var p=u.length,f=u[p-1],h,m;for(f.cacheItem.delete(f.arg),m=p-2;m>=0&&(f=u[m],h=f.cacheItem.get(f.arg),!h||!h.size);m--)f.cacheItem.delete(f.arg)}function l(u,p){return u===p||u!==u&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),By=$({"../../node_modules/picoquery/lib/string-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(i,a)=>"%"+((a<16?"0":"")+a.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(i){let a=i.length;if(a===0)return"";let o="",s=0,l=0;e:for(;l<a;l++){let u=i.charCodeAt(l);for(;u<128;){if(r[u]!==1&&(s<l&&(o+=i.slice(s,l)),s=l+1,o+=t[u]),++l===a)break e;u=i.charCodeAt(l)}if(s<l&&(o+=i.slice(s,l)),u<2048){s=l+1,o+=t[192|u>>6]+t[128|u&63];continue}if(u<55296||u>=57344){s=l+1,o+=t[224|u>>12]+t[128|u>>6&63]+t[128|u&63];continue}if(++l,l>=a)throw new Error("URI malformed");let p=i.charCodeAt(l)&1023;s=l+1,u=65536+((u&1023)<<10|p),o+=t[240|u>>18]+t[128|u>>12&63]+t[128|u>>6&63]+t[128|u&63]}return s===0?i:s<a?o+i.slice(s):o}}}),bc=$({"../../node_modules/picoquery/lib/shared.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=By(),r=a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""};e.defaultValueSerializer=r;var n=a=>a instanceof Date;e.defaultShouldSerializeObject=n;var i=a=>a;e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:i,valueSerializer:e.defaultValueSerializer,keyDeserializer:i,shouldSerializeObject:e.defaultShouldSerializeObject}}}),jy=$({"../../node_modules/picoquery/lib/object-util.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=i,e.stringifyObject=p;var t=bc(),r=By();function n(f){return f==="__proto__"||f==="constructor"||f==="prototype"}function i(f,h,m,g,E){if(n(h))return f;let A=f[h];return typeof A=="object"&&A!==null?A:!g&&(E||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?f[h]=[]:f[h]={}}var a=20,o="[]",s="[",l="]",u=".";function p(f,h,m=0,g,E){let{nestingSyntax:A=t.defaultOptions.nestingSyntax,arrayRepeat:v=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:T=t.defaultOptions.arrayRepeatSyntax,nesting:I=t.defaultOptions.nesting,delimiter:R=t.defaultOptions.delimiter,valueSerializer:D=t.defaultOptions.valueSerializer,shouldSerializeObject:y=t.defaultOptions.shouldSerializeObject}=h,w=typeof R=="number"?String.fromCharCode(R):R,S=E===!0&&v,P=A==="dot"||A==="js"&&!E;if(m>a)return"";let z="",L=!0,K=!1;for(let q in f){let B=f[q];if(B===void 0)continue;let V;g?(V=g,S?T==="bracket"&&(V+=o):P?(V+=u,V+=q):(V+=s,V+=q,V+=l)):V=q,L||(z+=w),typeof B=="object"&&B!==null&&!y(B)?(K=B.pop!==void 0,(I||v&&K)&&(z+=p(B,h,m+1,V,K))):(z+=(0,r.encodeString)(V),z+="=",z+=D(B,q)),L&&(L=!1)}return z}}}),Vx=$({"../../node_modules/picoquery/lib/decode-uri-component.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeURIComponent=i;var t=12,r=0,n=[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 i(s){let l=s.indexOf("%");if(l===-1)return s;let u=s.length,p="",f=0,h=0,m=l,g=t;for(;l>-1&&l<u;){let E=o(s[l+1],4),A=o(s[l+2],0),v=E|A,T=n[v];if(g=n[256+g+T],h=h<<6|v&n[364+T],g===t)p+=s.slice(f,m),p+=h<=65535?String.fromCharCode(h):String.fromCharCode(55232+(h>>10),56320+(h&1023)),h=0,f=l+3,l=m=s.indexOf("%",f);else{if(g===r)return null;if(l+=3,l<u&&s.charCodeAt(l)===37)continue;return null}}return p+s.slice(f)}var a={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 o(s,l){let u=a[s];return u===void 0?255:u<<l}}}),Ux=$({"../../node_modules/picoquery/lib/parse.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=u;var t=jy(),r=bc(),n=Vx(),i=p=>{let f=Number(p);return Number.isNaN(f)?p:f};e.numberKeyDeserializer=i;var a=p=>{let f=Number(p);return Number.isNaN(f)?p:f};e.numberValueDeserializer=a;var o=/\+/g,s=function(){};s.prototype=Object.create(null);function l(p,f,h,m,g){let E=p.substring(f,h);return m&&(E=E.replace(o," ")),g&&(E=(0,n.decodeURIComponent)(E)||E),E}function u(p,f){let{valueDeserializer:h=r.defaultOptions.valueDeserializer,keyDeserializer:m=r.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=r.defaultOptions.arrayRepeatSyntax,nesting:E=r.defaultOptions.nesting,arrayRepeat:A=r.defaultOptions.arrayRepeat,nestingSyntax:v=r.defaultOptions.nestingSyntax,delimiter:T=r.defaultOptions.delimiter}=f??{},I=typeof T=="string"?T.charCodeAt(0):T,R=v==="js",D=new s;if(typeof p!="string")return D;let y=p.length,w="",S=-1,P=-1,z=-1,L=D,K,q="",B="",V=!1,X=!1,Q=!1,oe=!1,Ee=!1,Pe=!1,W=0,H=-1,re=-1,ce=-1;for(let le=0;le<y+1;le++){if(W=le!==y?p.charCodeAt(le):I,W===I){if(Pe=P>S,Pe||(P=le),z!==P-1&&(B=l(p,z+1,H>-1?H:P,Q,V),q=m(B),K!==void 0&&(L=(0,t.getDeepObject)(L,K,q,R&&Ee,void 0))),Pe||q!==""){Pe&&(w=p.slice(P+1,le),oe&&(w=w.replace(o," ")),X&&(w=(0,n.decodeURIComponent)(w)||w));let ie=h(w,q);if(A){let ve=L[q];ve===void 0?H>-1?L[q]=[ie]:L[q]=ie:ve.pop?ve.push(ie):L[q]=[ve,ie]}else L[q]=ie}w="",S=le,P=le,V=!1,X=!1,Q=!1,oe=!1,Ee=!1,H=-1,z=le,L=D,K=void 0,q=""}else W===93?(A&&g==="bracket"&&ce===91&&(H=re),E&&(v==="index"||R)&&P<=S&&(z!==re&&(B=l(p,z+1,le,Q,V),q=m(B),K!==void 0&&(L=(0,t.getDeepObject)(L,K,q,void 0,void 0)),K=q,Q=!1,V=!1),z=le,Ee=!1)):W===46?E&&(v==="dot"||R)&&P<=S&&(z!==re&&(B=l(p,z+1,le,Q,V),q=m(B),K!==void 0&&(L=(0,t.getDeepObject)(L,K,q,R)),K=q,Q=!1,V=!1),Ee=!0,z=le):W===91?E&&(v==="index"||R)&&P<=S&&(z!==re&&(B=l(p,z+1,le,Q,V),q=m(B),R&&K!==void 0&&(L=(0,t.getDeepObject)(L,K,q,R)),K=q,Q=!1,V=!1,Ee=!1),z=le):W===61?P<=S?P=le:X=!0:W===43?P>S?oe=!0:Q=!0:W===37&&(P>S?X=!0:V=!0);re=le,ce=W}return D}}}),Jx=$({"../../node_modules/picoquery/lib/stringify.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=jy();function r(n,i){if(n===null||typeof n!="object")return"";let a=i??{};return(0,t.stringifyObject)(n,a)}}}),Ec=$({"../../node_modules/picoquery/lib/main.js"(e){var t=e&&e.__createBinding||(Object.create?(function(a,o,s,l){l===void 0&&(l=s);var u=Object.getOwnPropertyDescriptor(o,s);(!u||("get"in u?!o.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return o[s]}}),Object.defineProperty(a,l,u)}):(function(a,o,s,l){l===void 0&&(l=s),a[l]=o[s]})),r=e&&e.__exportStar||function(a,o){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(o,s)&&t(o,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Ux();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return n.parse}});var i=Jx();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),r(bc(),e)}}),ky=$({"../../node_modules/entities/lib/maps/entities.json"(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:`
18
+ `,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:"‌"}}}),Hx=$({"../../node_modules/entities/lib/maps/legacy.json"(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:"ÿ"}}}),My=$({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),Gx=$({"../../node_modules/entities/lib/maps/decode.json"(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}}}),zx=$({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Gx()),n=String.fromCodePoint||function(a){var o="";return a>65535&&(a-=65536,o+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),o+=String.fromCharCode(a),o};function i(a){return a>=55296&&a<=57343||a>1114111?"�":(a in r.default&&(a=r.default[a]),n(a))}e.default=i}}),Fd=$({"../../node_modules/entities/lib/decode.js"(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(ky()),n=t(Hx()),i=t(My()),a=t(zx()),o=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(i.default),e.decodeHTMLStrict=s(r.default);function s(p){var f=u(p);return function(h){return String(h).replace(o,f)}}var l=function(p,f){return p<f?1:-1};e.decodeHTML=(function(){for(var p=Object.keys(n.default).sort(l),f=Object.keys(r.default).sort(l),h=0,m=0;h<f.length;h++)p[m]===f[h]?(f[h]+=";?",m++):f[h]+=";";var g=new RegExp("&(?:"+f.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),E=u(r.default);function A(v){return v.substr(-1)!==";"&&(v+=";"),E(v)}return function(v){return String(v).replace(g,A)}})();function u(p){return function(f){if(f.charAt(1)==="#"){var h=f.charAt(2);return h==="X"||h==="x"?a.default(parseInt(f.substr(3),16)):a.default(parseInt(f.substr(2),10))}return p[f.slice(1,-1)]||f}}}}),Id=$({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(My()),n=l(r.default),i=u(n);e.encodeXML=v(n);var a=t(ky()),o=l(a.default),s=u(o);e.encodeHTML=m(o,s),e.encodeNonAsciiHTML=v(o);function l(T){return Object.keys(T).sort().reduce(function(I,R){return I[T[R]]="&"+R+";",I},{})}function u(T){for(var I=[],R=[],D=0,y=Object.keys(T);D<y.length;D++){var w=y[D];w.length===1?I.push("\\"+w):R.push(w)}I.sort();for(var S=0;S<I.length-1;S++){for(var P=S;P<I.length-1&&I[P].charCodeAt(1)+1===I[P+1].charCodeAt(1);)P+=1;var z=1+P-S;z<3||I.splice(S,z,I[S]+"-"+I[P])}return R.unshift("["+I.join("")+"]"),new RegExp(R.join("|"),"g")}var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=String.prototype.codePointAt!=null?(function(T){return T.codePointAt(0)}):(function(T){return(T.charCodeAt(0)-55296)*1024+T.charCodeAt(1)-56320+65536});function h(T){return"&#x"+(T.length>1?f(T):T.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(T,I){return function(R){return R.replace(I,function(D){return T[D]}).replace(p,h)}}var g=new RegExp(i.source+"|"+p.source,"g");function E(T){return T.replace(g,h)}e.escape=E;function A(T){return T.replace(i,h)}e.escapeUTF8=A;function v(T){return function(I){return I.replace(g,function(R){return T[R]||h(R)})}}}}),Wx=$({"../../node_modules/entities/lib/index.js"(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=Fd(),r=Id();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}e.decode=n;function i(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}e.decodeStrict=i;function a(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}e.encode=a;var o=Id();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var s=Fd();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}}),Kx=$({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(B,V){if(!(B instanceof V))throw new TypeError("Cannot call a class as a function")}function n(B,V){for(var X=0;X<V.length;X++){var Q=V[X];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(B,Q.key,Q)}}function i(B,V,X){return V&&n(B.prototype,V),B}function a(B,V){var X=typeof Symbol<"u"&&B[Symbol.iterator]||B["@@iterator"];if(!X){if(Array.isArray(B)||(X=o(B))||V){X&&(B=X);var Q=0,oe=function(){};return{s:oe,n:function(){return Q>=B.length?{done:!0}:{done:!1,value:B[Q++]}},e:function(H){throw H},f:oe}}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 Ee=!0,Pe=!1,W;return{s:function(){X=X.call(B)},n:function(){var H=X.next();return Ee=H.done,H},e:function(H){Pe=!0,W=H},f:function(){try{!Ee&&X.return!=null&&X.return()}finally{if(Pe)throw W}}}}function o(B,V){if(B){if(typeof B=="string")return s(B,V);var X=Object.prototype.toString.call(B).slice(8,-1);if(X==="Object"&&B.constructor&&(X=B.constructor.name),X==="Map"||X==="Set")return Array.from(B);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return s(B,V)}}function s(B,V){(V==null||V>B.length)&&(V=B.length);for(var X=0,Q=new Array(V);X<V;X++)Q[X]=B[X];return Q}var l=Wx(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var B={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 T(0,5).forEach(function(V){T(0,5).forEach(function(X){T(0,5).forEach(function(Q){return f(V,X,Q,B)})})}),T(0,23).forEach(function(V){var X=V+232,Q=h(V*10+8);B[X]="#"+Q+Q+Q}),B}function f(B,V,X,Q){var oe=16+B*36+V*6+X,Ee=B>0?B*40+55:0,Pe=V>0?V*40+55:0,W=X>0?X*40+55:0;Q[oe]=m([Ee,Pe,W])}function h(B){for(var V=B.toString(16);V.length<2;)V="0"+V;return V}function m(B){var V=[],X=a(B),Q;try{for(X.s();!(Q=X.n()).done;){var oe=Q.value;V.push(h(oe))}}catch(Ee){X.e(Ee)}finally{X.f()}return"#"+V.join("")}function g(B,V,X,Q){var oe;return V==="text"?oe=D(X,Q):V==="display"?oe=A(B,X,Q):V==="xterm256Foreground"?oe=S(B,Q.colors[X]):V==="xterm256Background"?oe=P(B,Q.colors[X]):V==="rgb"&&(oe=E(B,X)),oe}function E(B,V){V=V.substring(2).slice(0,-1);var X=+V.substr(0,2),Q=V.substring(5).split(";"),oe=Q.map(function(Ee){return("0"+Number(Ee).toString(16)).substr(-2)}).join("");return w(B,(X===38?"color:#":"background-color:#")+oe)}function A(B,V,X){V=parseInt(V,10);var Q={"-1":function(){return"<br/>"},0:function(){return B.length&&v(B)},1:function(){return y(B,"b")},3:function(){return y(B,"i")},4:function(){return y(B,"u")},8:function(){return w(B,"display:none")},9:function(){return y(B,"strike")},22:function(){return w(B,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return z(B,"i")},24:function(){return z(B,"u")},39:function(){return S(B,X.fg)},49:function(){return P(B,X.bg)},53:function(){return w(B,"text-decoration:overline")}},oe;return Q[V]?oe=Q[V]():4<V&&V<7?oe=y(B,"blink"):29<V&&V<38?oe=S(B,X.colors[V-30]):39<V&&V<48?oe=P(B,X.colors[V-40]):89<V&&V<98?oe=S(B,X.colors[8+(V-90)]):99<V&&V<108&&(oe=P(B,X.colors[8+(V-100)])),oe}function v(B){var V=B.slice(0);return B.length=0,V.reverse().map(function(X){return"</"+X+">"}).join("")}function T(B,V){for(var X=[],Q=B;Q<=V;Q++)X.push(Q);return X}function I(B){return function(V){return(B===null||V.category!==B)&&B!=="all"}}function R(B){B=parseInt(B,10);var V=null;return B===0?V="all":B===1?V="bold":2<B&&B<5?V="underline":4<B&&B<7?V="blink":B===8?V="hide":B===9?V="strike":29<B&&B<38||B===39||89<B&&B<98?V="foreground-color":(39<B&&B<48||B===49||99<B&&B<108)&&(V="background-color"),V}function D(B,V){return V.escapeXML?l.encodeXML(B):B}function y(B,V,X){return X||(X=""),B.push(V),"<".concat(V).concat(X?' style="'.concat(X,'"'):"",">")}function w(B,V){return y(B,"span",V)}function S(B,V){return y(B,"span","color:"+V)}function P(B,V){return y(B,"span","background-color:"+V)}function z(B,V){var X;if(B.slice(-1)[0]===V&&(X=B.pop()),X)return"</"+V+">"}function L(B,V,X){var Q=!1,oe=3;function Ee(){return""}function Pe(Oe,Fe){return X("xterm256Foreground",Fe),""}function W(Oe,Fe){return X("xterm256Background",Fe),""}function H(Oe){return V.newline?X("display",-1):X("text",Oe),""}function re(Oe,Fe){Q=!0,Fe.trim().length===0&&(Fe="0"),Fe=Fe.trimRight(";").split(";");var Me=a(Fe),ut;try{for(Me.s();!(ut=Me.n()).done;){var Ft=ut.value;X("display",Ft)}}catch(Je){Me.e(Je)}finally{Me.f()}return""}function ce(Oe){return X("text",Oe),""}function le(Oe){return X("rgb",Oe),""}var ie=[{pattern:/^\x08+/,sub:Ee},{pattern:/^\x1b\[[012]?K/,sub:Ee},{pattern:/^\x1b\[\(B/,sub:Ee},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:le},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Pe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:W},{pattern:/^\n/,sub:H},{pattern:/^\r+\n/,sub:H},{pattern:/^\r/,sub:H},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:re},{pattern:/^\x1b\[\d?J/,sub:Ee},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Ee},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Ee},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ce}];function ve(Oe,Fe){Fe>oe&&Q||(Q=!1,B=B.replace(Oe.pattern,Oe.sub))}var Re=[],$e=B,Z=$e.length;e:for(;Z>0;){for(var me=0,Ae=0,De=ie.length;Ae<De;me=++Ae){var xe=ie[me];if(ve(xe,me),B.length!==Z){Z=B.length;continue e}}if(B.length===Z)break;Re.push(0),Z=B.length}return Re}function K(B,V,X){return V!=="text"&&(B=B.filter(I(R(X))),B.push({token:V,data:X,category:R(X)})),B}var q=(function(){function B(V){r(this,B),V=V||{},V.colors&&(V.colors=Object.assign({},u.colors,V.colors)),this.options=Object.assign({},u,V),this.stack=[],this.stickyStack=[]}return i(B,[{key:"toHtml",value:function(V){var X=this;V=typeof V=="string"?[V]:V;var Q=this.stack,oe=this.options,Ee=[];return this.stickyStack.forEach(function(Pe){var W=g(Q,Pe.token,Pe.data,oe);W&&Ee.push(W)}),L(V.join(""),oe,function(Pe,W){var H=g(Q,Pe,W,oe);H&&Ee.push(H),oe.stream&&(X.stickyStack=K(X.stickyStack,Pe,W))}),Q.length&&Ee.push(v(Q)),Ee.join("")}}]),B})();t.exports=q}}),Yx=$({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(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(c){return c.text!==void 0&&c.text!==""?`'${c.type}' with value '${c.text}'`:`'${c.type}'`}class i extends Error{constructor(b){super(`No parslet found for token: ${n(b)}`),this.token=b,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class a extends Error{constructor(b){super(`The parsing ended early. The next token was: ${n(b)}`),this.token=b,Object.setPrototypeOf(this,a.prototype)}getToken(){return this.token}}class o extends Error{constructor(b,x){let k=`Unexpected type: '${b.type}'.`;x!==void 0&&(k+=` Message: ${x}`),super(k),Object.setPrototypeOf(this,o.prototype)}}function s(c){return b=>b.startsWith(c)?{type:c,text:c}:null}function l(c){let b=0,x,k=c[0],ee=!1;if(k!=="'"&&k!=='"')return null;for(;b<c.length;){if(b++,x=c[b],!ee&&x===k){b++;break}ee=!ee&&x==="\\"}if(x!==k)throw new Error("Unterminated String");return c.slice(0,b)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),p=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 f(c){let b=c[0];if(!u.test(b))return null;let x=1;do{if(b=c[x],!p.test(b))break;x++}while(x<c.length);return c.slice(0,x)}let h=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(c){var b,x;return(x=(b=h.exec(c))===null||b===void 0?void 0:b[0])!==null&&x!==void 0?x:null}let g=c=>{let b=f(c);return b==null?null:{type:"Identifier",text:b}};function E(c){return b=>{if(!b.startsWith(c))return null;let x=b[c.length];return x!==void 0&&p.test(x)?null:{type:c,text:c}}}let A=c=>{let b=l(c);return b==null?null:{type:"StringValue",text:b}},v=c=>c.length>0?null:{type:"EOF",text:""},T=c=>{let b=m(c);return b===null?null:{type:"Number",text:b}},I=[v,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),E("undefined"),E("null"),E("function"),E("this"),E("new"),E("module"),E("event"),E("extends"),E("external"),E("infer"),E("typeof"),E("keyof"),E("readonly"),E("import"),E("is"),E("in"),E("asserts"),T,g,A],R=/^\s*\n\s*/;class D{static create(b){let x=this.read(b);b=x.text;let k=this.read(b);return b=k.text,new D(b,void 0,x.token,k.token)}constructor(b,x,k,ee){this.text="",this.text=b,this.previous=x,this.current=k,this.next=ee}static read(b,x=!1){x=x||R.test(b),b=b.trim();for(let k of I){let ee=k(b);if(ee!==null){let ue=Object.assign(Object.assign({},ee),{startOfLine:x});return b=b.slice(ue.text.length),{text:b,token:ue}}}throw new Error("Unexpected Token "+b)}advance(){let b=D.read(this.text);return new D(b.text,this.current,this.next,b.token)}}function y(c){if(c===void 0)throw new Error("Unexpected undefined");if(c.type==="JsdocTypeKeyValue"||c.type==="JsdocTypeParameterList"||c.type==="JsdocTypeProperty"||c.type==="JsdocTypeReadonlyProperty"||c.type==="JsdocTypeObjectField"||c.type==="JsdocTypeJsdocObjectField"||c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"||c.type==="JsdocTypeTypeParameter")throw new o(c);return c}function w(c){return c.type==="JsdocTypeKeyValue"?P(c):y(c)}function S(c){return c.type==="JsdocTypeName"?c:P(c)}function P(c){if(c.type!=="JsdocTypeKeyValue")throw new o(c);return c}function z(c){var b;if(c.type==="JsdocTypeVariadic"){if(((b=c.element)===null||b===void 0?void 0:b.type)==="JsdocTypeName")return c;throw new o(c)}if(c.type!=="JsdocTypeNumber"&&c.type!=="JsdocTypeName")throw new o(c);return c}function L(c){if(c.type==="JsdocTypeTuple"||c.type==="JsdocTypeGeneric"&&c.meta.brackets==="square")return c;throw new o(c)}function K(c){return c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"}var q;(function(c){c[c.ALL=0]="ALL",c[c.PARAMETER_LIST=1]="PARAMETER_LIST",c[c.OBJECT=2]="OBJECT",c[c.KEY_VALUE=3]="KEY_VALUE",c[c.INDEX_BRACKETS=4]="INDEX_BRACKETS",c[c.UNION=5]="UNION",c[c.INTERSECTION=6]="INTERSECTION",c[c.PREFIX=7]="PREFIX",c[c.INFIX=8]="INFIX",c[c.TUPLE=9]="TUPLE",c[c.SYMBOL=10]="SYMBOL",c[c.OPTIONAL=11]="OPTIONAL",c[c.NULLABLE=12]="NULLABLE",c[c.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",c[c.FUNCTION=14]="FUNCTION",c[c.ARROW=15]="ARROW",c[c.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",c[c.GENERIC=17]="GENERIC",c[c.NAME_PATH=18]="NAME_PATH",c[c.PARENTHESIS=19]="PARENTHESIS",c[c.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(q||(q={}));class B{constructor(b,x,k){this.grammar=b,typeof x=="string"?this._lexer=D.create(x):this._lexer=x,this.baseParser=k}get lexer(){return this._lexer}parse(){let b=this.parseType(q.ALL);if(this.lexer.current.type!=="EOF")throw new a(this.lexer.current);return b}parseType(b){return y(this.parseIntermediateType(b))}parseIntermediateType(b){let x=this.tryParslets(null,b);if(x===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(x,b)}parseInfixIntermediateType(b,x){let k=this.tryParslets(b,x);for(;k!==null;)b=k,k=this.tryParslets(b,x);return b}tryParslets(b,x){for(let k of this.grammar){let ee=k(this,x,b);if(ee!==null)return ee}return null}consume(b){return Array.isArray(b)||(b=[b]),b.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(b){this._lexer=b.lexer}}function V(c){return c==="}"||c==="EOF"||c==="|"||c===","||c===")"||c===">"}let X=(c,b,x)=>{let k=c.lexer.current.type,ee=c.lexer.next.type;return x==null&&k==="?"&&!V(ee)||x!=null&&k==="?"?(c.consume("?"),x==null?{type:"JsdocTypeNullable",element:c.parseType(q.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:y(x),meta:{position:"suffix"}}):null};function Q(c){let b=(x,k,ee)=>{let ue=x.lexer.current.type,he=x.lexer.next.type;if(ee===null){if("parsePrefix"in c&&c.accept(ue,he))return c.parsePrefix(x)}else if("parseInfix"in c&&c.precedence>k&&c.accept(ue,he))return c.parseInfix(x,ee);return null};return Object.defineProperty(b,"name",{value:c.name}),b}let oe=Q({name:"optionalParslet",accept:c=>c==="=",precedence:q.OPTIONAL,parsePrefix:c=>(c.consume("="),{type:"JsdocTypeOptional",element:c.parseType(q.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(c,b)=>(c.consume("="),{type:"JsdocTypeOptional",element:y(b),meta:{position:"suffix"}})}),Ee=Q({name:"numberParslet",accept:c=>c==="Number",parsePrefix:c=>{let b=parseFloat(c.lexer.current.text);return c.consume("Number"),{type:"JsdocTypeNumber",value:b}}}),Pe=Q({name:"parenthesisParslet",accept:c=>c==="(",parsePrefix:c=>{if(c.consume("("),c.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let b=c.parseIntermediateType(q.ALL);if(!c.consume(")"))throw new Error("Unterminated parenthesis");return b.type==="JsdocTypeParameterList"?b:b.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[b]}:{type:"JsdocTypeParenthesis",element:y(b)}}}),W=Q({name:"specialTypesParslet",accept:(c,b)=>c==="?"&&V(b)||c==="null"||c==="undefined"||c==="*",parsePrefix:c=>{if(c.consume("null"))return{type:"JsdocTypeNull"};if(c.consume("undefined"))return{type:"JsdocTypeUndefined"};if(c.consume("*"))return{type:"JsdocTypeAny"};if(c.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+c.lexer.current.text)}}),H=Q({name:"notNullableParslet",accept:c=>c==="!",precedence:q.NULLABLE,parsePrefix:c=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:c.parseType(q.NULLABLE),meta:{position:"prefix"}}),parseInfix:(c,b)=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:y(b),meta:{position:"suffix"}})});function re({allowTrailingComma:c}){return Q({name:"parameterListParslet",accept:b=>b===",",precedence:q.PARAMETER_LIST,parseInfix:(b,x)=>{let k=[w(x)];b.consume(",");do try{let ee=b.parseIntermediateType(q.PARAMETER_LIST);k.push(w(ee))}catch(ee){if(ee instanceof i)break;throw ee}while(b.consume(","));if(k.length>0&&k.slice(0,-1).some(ee=>ee.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:k}}})}let ce=Q({name:"genericParslet",accept:(c,b)=>c==="<"||c==="."&&b==="<",precedence:q.GENERIC,parseInfix:(c,b)=>{let x=c.consume(".");c.consume("<");let k=[],ee=!1;if(c.consume("infer")){ee=!0;let ue=c.parseIntermediateType(q.SYMBOL);if(ue.type!=="JsdocTypeName")throw new o(ue,"A typescript asserts always has to have a name on the left side.");k.push(ue)}else do k.push(c.parseType(q.PARAMETER_LIST));while(c.consume(","));if(!c.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:y(b),elements:k},ee?{infer:!0}:{}),{meta:{brackets:"angle",dot:x}})}}),le=Q({name:"unionParslet",accept:c=>c==="|",precedence:q.UNION,parseInfix:(c,b)=>{c.consume("|");let x=[];do x.push(c.parseType(q.UNION));while(c.consume("|"));return{type:"JsdocTypeUnion",elements:[y(b),...x]}}}),ie=[X,oe,Ee,Pe,W,H,re({allowTrailingComma:!0}),ce,le,oe];function ve({allowSquareBracketsOnAnyType:c,allowJsdocNamePaths:b,pathGrammar:x}){return function(k,ee,ue){if(ue==null||ee>=q.NAME_PATH)return null;let he=k.lexer.current.type,be=k.lexer.next.type;if(!(he==="."&&be!=="<"||he==="["&&(c||ue.type==="JsdocTypeName")||b&&(he==="~"||he==="#")))return null;let ke,We=!1;k.consume(".")?ke="property":k.consume("[")?(ke="property-brackets",We=!0):k.consume("~")?ke="inner":(k.consume("#"),ke="instance");let Ct=x!==null?new B(x,k.lexer,k):k,dt=Ct.parseIntermediateType(q.NAME_PATH);k.acceptLexerState(Ct);let nr;switch(dt.type){case"JsdocTypeName":nr={type:"JsdocTypeProperty",value:dt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":nr={type:"JsdocTypeProperty",value:dt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":nr={type:"JsdocTypeProperty",value:dt.value,meta:{quote:dt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(dt.specialType==="event")nr=dt;else throw new o(dt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(dt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(We&&!k.consume("]")){let Nn=k.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Nn.type}' with text '${Nn.text}'`)}return{type:"JsdocTypeNamePath",left:y(ue),right:nr,pathType:ke}}}function Re({allowedAdditionalTokens:c}){return Q({name:"nameParslet",accept:b=>b==="Identifier"||b==="this"||b==="new"||c.includes(b),parsePrefix:b=>{let{type:x,text:k}=b.lexer.current;return b.consume(x),{type:"JsdocTypeName",value:k}}})}let $e=Q({name:"stringValueParslet",accept:c=>c==="StringValue",parsePrefix:c=>{let b=c.lexer.current.text;return c.consume("StringValue"),{type:"JsdocTypeStringValue",value:b.slice(1,-1),meta:{quote:b[0]==="'"?"single":"double"}}}});function Z({pathGrammar:c,allowedTypes:b}){return Q({name:"specialNamePathParslet",accept:x=>b.includes(x),parsePrefix:x=>{let k=x.lexer.current.type;if(x.consume(k),!x.consume(":"))return{type:"JsdocTypeName",value:k};let ee,ue=x.lexer.current;if(x.consume("StringValue"))ee={type:"JsdocTypeSpecialNamePath",value:ue.text.slice(1,-1),specialType:k,meta:{quote:ue.text[0]==="'"?"single":"double"}};else{let ke="",We=["Identifier","@","/"];for(;We.some(Ct=>x.consume(Ct));)ke+=ue.text,ue=x.lexer.current;ee={type:"JsdocTypeSpecialNamePath",value:ke,specialType:k,meta:{quote:void 0}}}let he=new B(c,x.lexer,x),be=he.parseInfixIntermediateType(ee,q.ALL);return x.acceptLexerState(he),y(be)}})}let me=[Re({allowedAdditionalTokens:["external","module"]}),$e,Ee,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ae=[...me,Z({allowedTypes:["event"],pathGrammar:me})];function De(c){let b;if(c.type==="JsdocTypeParameterList")b=c.elements;else if(c.type==="JsdocTypeParenthesis")b=[c.element];else throw new o(c);return b.map(x=>w(x))}function xe(c){let b=De(c);if(b.some(x=>x.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return b}function Oe({allowNamedParameters:c,allowNoReturnType:b,allowWithoutParenthesis:x,allowNewAsFunctionKeyword:k}){return Q({name:"functionParslet",accept:(ee,ue)=>ee==="function"||k&&ee==="new"&&ue==="(",parsePrefix:ee=>{let ue=ee.consume("new");ee.consume("function");let he=ee.lexer.current.type==="(";if(!he){if(!x)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let be={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ue,parenthesis:he},ke=ee.parseIntermediateType(q.FUNCTION);if(c===void 0)be.parameters=xe(ke);else{if(ue&&ke.type==="JsdocTypeFunction"&&ke.arrow)return be=ke,be.constructor=!0,be;be.parameters=De(ke);for(let We of be.parameters)if(We.type==="JsdocTypeKeyValue"&&!c.includes(We.key))throw new Error(`only allowed named parameters are ${c.join(", ")} but got ${We.type}`)}if(ee.consume(":"))be.returnType=ee.parseType(q.PREFIX);else if(!b)throw new Error("function is missing return type");return be}})}function Fe({allowPostfix:c,allowEnclosingBrackets:b}){return Q({name:"variadicParslet",accept:x=>x==="...",precedence:q.PREFIX,parsePrefix:x=>{x.consume("...");let k=b&&x.consume("[");try{let ee=x.parseType(q.PREFIX);if(k&&!x.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:y(ee),meta:{position:"prefix",squareBrackets:k}}}catch(ee){if(ee instanceof i){if(k)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ee}},parseInfix:c?(x,k)=>(x.consume("..."),{type:"JsdocTypeVariadic",element:y(k),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Me=Q({name:"symbolParslet",accept:c=>c==="(",precedence:q.SYMBOL,parseInfix:(c,b)=>{if(b.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");c.consume("(");let x={type:"JsdocTypeSymbol",value:b.value};if(!c.consume(")")){let k=c.parseIntermediateType(q.SYMBOL);if(x.element=z(k),!c.consume(")"))throw new Error("Symbol does not end after value")}return x}}),ut=Q({name:"arrayBracketsParslet",precedence:q.ARRAY_BRACKETS,accept:(c,b)=>c==="["&&b==="]",parseInfix:(c,b)=>(c.consume("["),c.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[y(b)],meta:{brackets:"square",dot:!1}})});function Ft({objectFieldGrammar:c,allowKeyTypes:b}){return Q({name:"objectParslet",accept:x=>x==="{",parsePrefix:x=>{x.consume("{");let k={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!x.consume("}")){let ee,ue=new B(c,x.lexer,x);for(;;){ue.acceptLexerState(x);let he=ue.parseIntermediateType(q.OBJECT);x.acceptLexerState(ue),he===void 0&&b&&(he=x.parseIntermediateType(q.OBJECT));let be=!1;if(he.type==="JsdocTypeNullable"&&(be=!0,he=he.element),he.type==="JsdocTypeNumber"||he.type==="JsdocTypeName"||he.type==="JsdocTypeStringValue"){let ke;he.type==="JsdocTypeStringValue"&&(ke=he.meta.quote),k.elements.push({type:"JsdocTypeObjectField",key:he.value.toString(),right:void 0,optional:be,readonly:!1,meta:{quote:ke}})}else if(he.type==="JsdocTypeObjectField"||he.type==="JsdocTypeJsdocObjectField")k.elements.push(he);else throw new o(he);if(x.lexer.current.startOfLine)ee="linebreak",x.consume(",")||x.consume(";");else if(x.consume(","))ee="comma";else if(x.consume(";"))ee="semicolon";else break;if(x.lexer.current.type==="}")break}if(k.meta.separator=ee??"comma",ee==="linebreak"&&(k.meta.propertyIndent=" "),!x.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return k}})}function Je({allowSquaredProperties:c,allowKeyTypes:b,allowReadonly:x,allowOptional:k}){return Q({name:"objectFieldParslet",precedence:q.KEY_VALUE,accept:ee=>ee===":",parseInfix:(ee,ue)=>{var he;let be=!1,ke=!1;k&&ue.type==="JsdocTypeNullable"&&(be=!0,ue=ue.element),x&&ue.type==="JsdocTypeReadonlyProperty"&&(ke=!0,ue=ue.element);let We=(he=ee.baseParser)!==null&&he!==void 0?he:ee;if(We.acceptLexerState(ee),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"||K(ue)){if(K(ue)&&!c)throw new o(ue);We.consume(":");let Ct;ue.type==="JsdocTypeStringValue"&&(Ct=ue.meta.quote);let dt=We.parseType(q.KEY_VALUE);return ee.acceptLexerState(We),{type:"JsdocTypeObjectField",key:K(ue)?ue:ue.value.toString(),right:dt,optional:be,readonly:ke,meta:{quote:Ct}}}else{if(!b)throw new o(ue);We.consume(":");let Ct=We.parseType(q.KEY_VALUE);return ee.acceptLexerState(We),{type:"JsdocTypeJsdocObjectField",left:y(ue),right:Ct}}}})}function yt({allowOptional:c,allowVariadic:b}){return Q({name:"keyValueParslet",precedence:q.KEY_VALUE,accept:x=>x===":",parseInfix:(x,k)=>{let ee=!1,ue=!1;if(c&&k.type==="JsdocTypeNullable"&&(ee=!0,k=k.element),b&&k.type==="JsdocTypeVariadic"&&k.element!==void 0&&(ue=!0,k=k.element),k.type!=="JsdocTypeName")throw new o(k);x.consume(":");let he=x.parseType(q.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:k.value,right:he,optional:ee,variadic:ue}}})}let Ye=[...ie,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$e,Z({allowedTypes:["module","external","event"],pathGrammar:Ae}),Fe({allowEnclosingBrackets:!0,allowPostfix:!0}),Re({allowedAdditionalTokens:["keyof"]}),Me,ut,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae})],er=[...Ye,Ft({objectFieldGrammar:[Re({allowedAdditionalTokens:["typeof","module","in"]}),Je({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Ye],allowKeyTypes:!0}),yt({allowOptional:!0,allowVariadic:!0})],It=Q({name:"typeOfParslet",accept:c=>c==="typeof",parsePrefix:c=>(c.consume("typeof"),{type:"JsdocTypeTypeof",element:c.parseType(q.KEY_OF_TYPE_OF)})}),ge=[Re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),X,oe,$e,Ee,Je({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],pt=[...ie,Ft({allowKeyTypes:!1,objectFieldGrammar:ge}),Re({allowedAdditionalTokens:["event","external","in"]}),It,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),Re({allowedAdditionalTokens:["keyof"]}),Z({allowedTypes:["module"],pathGrammar:Ae}),ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae}),yt({allowOptional:!1,allowVariadic:!1}),Me],Be=Q({name:"assertsParslet",accept:c=>c==="asserts",parsePrefix:c=>{c.consume("asserts");let b=c.parseIntermediateType(q.SYMBOL);if(b.type!=="JsdocTypeName")throw new o(b,"A typescript asserts always has to have a name on the left side.");return c.consume("is")?{type:"JsdocTypeAsserts",left:b,right:y(c.parseIntermediateType(q.INFIX))}:{type:"JsdocTypeAssertsPlain",element:b}}});function _t({allowQuestionMark:c}){return Q({name:"tupleParslet",accept:b=>b==="[",parsePrefix:b=>{b.consume("[");let x={type:"JsdocTypeTuple",elements:[]};if(b.consume("]"))return x;let k=b.parseIntermediateType(q.ALL);if(k.type==="JsdocTypeParameterList"?k.elements[0].type==="JsdocTypeKeyValue"?x.elements=k.elements.map(P):x.elements=k.elements.map(y):k.type==="JsdocTypeKeyValue"?x.elements=[P(k)]:x.elements=[y(k)],!b.consume("]"))throw new Error("Unterminated '['");if(x.elements.some(ee=>ee.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return x}})}let et=Q({name:"keyOfParslet",accept:c=>c==="keyof",parsePrefix:c=>(c.consume("keyof"),{type:"JsdocTypeKeyof",element:y(c.parseType(q.KEY_OF_TYPE_OF))})}),_r=Q({name:"importParslet",accept:c=>c==="import",parsePrefix:c=>{if(c.consume("import"),!c.consume("("))throw new Error("Missing parenthesis after import keyword");let b=c.parseType(q.PREFIX);if(b.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!c.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:b}}}),Rr=Q({name:"readonlyPropertyParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:c.parseIntermediateType(q.KEY_VALUE)})}),gt=Q({name:"arrowFunctionParslet",precedence:q.ARROW,accept:c=>c==="=>",parseInfix:(c,b)=>(c.consume("=>"),{type:"JsdocTypeFunction",parameters:De(b).map(S),arrow:!0,constructor:!1,parenthesis:!0,returnType:c.parseType(q.OBJECT)})}),je=Q({name:"genericArrowFunctionParslet",accept:c=>c==="<",parsePrefix:c=>{let b=[];c.consume("<");do{let k,ee=c.parseIntermediateType(q.SYMBOL);if(ee.type==="JsdocTypeOptional"&&(ee=ee.element,k=c.parseType(q.SYMBOL)),ee.type!=="JsdocTypeName")throw new o(ee);let ue;c.consume("extends")&&(ue=c.parseType(q.SYMBOL),ue.type==="JsdocTypeOptional"&&(ue=ue.element,k=c.parseType(q.SYMBOL)));let he={type:"JsdocTypeTypeParameter",name:ee};if(ue!==void 0&&(he.constraint=ue),k!==void 0&&(he.defaultValue=k),b.push(he),c.consume(">"))break}while(c.consume(","));let x=c.parseIntermediateType(q.SYMBOL);return x.typeParameters=b,x}}),tr=Q({name:"intersectionParslet",accept:c=>c==="&",precedence:q.INTERSECTION,parseInfix:(c,b)=>{c.consume("&");let x=[];do x.push(c.parseType(q.INTERSECTION));while(c.consume("&"));return{type:"JsdocTypeIntersection",elements:[y(b),...x]}}}),ot=Q({name:"predicateParslet",precedence:q.INFIX,accept:c=>c==="is",parseInfix:(c,b)=>{if(b.type!=="JsdocTypeName")throw new o(b,"A typescript predicate always has to have a name on the left side.");return c.consume("is"),{type:"JsdocTypePredicate",left:b,right:y(c.parseIntermediateType(q.INFIX))}}}),$t=Q({name:"objectSquareBracketPropertyParslet",accept:c=>c==="[",parsePrefix:c=>{if(c.baseParser===void 0)throw new Error("Only allowed inside object grammar");c.consume("[");let b=c.lexer.current.text;c.consume("Identifier");let x;if(c.consume(":")){let k=c.baseParser;k.acceptLexerState(c),x={type:"JsdocTypeIndexSignature",key:b,right:k.parseType(q.INDEX_BRACKETS)},c.acceptLexerState(k)}else if(c.consume("in")){let k=c.baseParser;k.acceptLexerState(c),x={type:"JsdocTypeMappedType",key:b,right:k.parseType(q.ARRAY_BRACKETS)},c.acceptLexerState(k)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!c.consume("]"))throw new Error("Unterminated square brackets");return x}}),Mr=Q({name:"readonlyArrayParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(c.parseIntermediateType(q.ALL))})}),rt=Q({name:"conditionalParslet",precedence:q.INFIX,accept:c=>c==="extends",parseInfix:(c,b)=>{c.consume("extends");let x=c.parseType(q.KEY_OF_TYPE_OF).element,k=c.parseType(q.INFIX);return c.consume(":"),{type:"JsdocTypeConditional",checksType:y(b),extendsType:x,trueType:k,falseType:c.parseType(q.INFIX)}}}),At=[Rr,Re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),X,oe,$e,Ee,Je({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),$t],rr=[...ie,Ft({allowKeyTypes:!1,objectFieldGrammar:At}),Mr,It,et,_r,$e,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),_t({allowQuestionMark:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),Be,rt,Re({allowedAdditionalTokens:["event","external","in"]}),Z({allowedTypes:["module"],pathGrammar:Ae}),ut,gt,je,ve({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ae}),tr,ot,yt({allowVariadic:!0,allowOptional:!0})];function bt(c,b){switch(b){case"closure":return new B(pt,c).parse();case"jsdoc":return new B(er,c).parse();case"typescript":return new B(rr,c).parse()}}function nt(c,b=["typescript","closure","jsdoc"]){let x;for(let k of b)try{return bt(c,k)}catch(ee){x=ee}throw x}function Nt(c,b){let x=c[b.type];if(x===void 0)throw new Error(`In this set of transform rules exists no rule for type ${b.type}.`);return x(b,k=>Nt(c,k))}function Ne(c){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function C(c){let b={params:[]};for(let x of c.parameters)x.type==="JsdocTypeKeyValue"?x.key==="this"?b.this=x.right:x.key==="new"?b.new=x.right:b.params.push(x):b.params.push(x);return b}function j(c,b,x){return c==="prefix"?x+b:b+x}function F(c,b){switch(b){case"double":return`"${c}"`;case"single":return`'${c}'`;case void 0:return c}}function O(){return{JsdocTypeParenthesis:(c,b)=>`(${c.element!==void 0?b(c.element):""})`,JsdocTypeKeyof:(c,b)=>`keyof ${b(c.element)}`,JsdocTypeFunction:(c,b)=>{var x;if(c.arrow){if(c.returnType===void 0)throw new Error("Arrow function needs a return type.");let k=`${c.typeParameters!==void 0?`<${(x=c.typeParameters.map(b).join(", "))!==null&&x!==void 0?x:""}>`:""}(${c.parameters.map(b).join(", ")}) => ${b(c.returnType)}`;return c.constructor&&(k="new "+k),k}else{let k=c.constructor?"new":"function";return c.parenthesis&&(k+=`(${c.parameters.map(b).join(", ")})`,c.returnType!==void 0&&(k+=`: ${b(c.returnType)}`)),k}},JsdocTypeName:c=>c.value,JsdocTypeTuple:(c,b)=>`[${c.elements.map(b).join(", ")}]`,JsdocTypeVariadic:(c,b)=>c.meta.position===void 0?"...":j(c.meta.position,b(c.element),"..."),JsdocTypeNamePath:(c,b)=>{let x=b(c.left),k=b(c.right);switch(c.pathType){case"inner":return`${x}~${k}`;case"instance":return`${x}#${k}`;case"property":return`${x}.${k}`;case"property-brackets":return`${x}[${k}]`}},JsdocTypeStringValue:c=>F(c.value,c.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(c,b)=>{if(c.meta.brackets==="square"){let x=c.elements[0],k=b(x);return x.type==="JsdocTypeUnion"||x.type==="JsdocTypeIntersection"?`(${k})[]`:`${k}[]`}else return`${b(c.left)}${c.meta.dot?".":""}<${c.infer===!0?"infer ":""}${c.elements.map(b).join(", ")}>`},JsdocTypeImport:(c,b)=>`import(${b(c.element)})`,JsdocTypeObjectField:(c,b)=>{let x="";return c.readonly&&(x+="readonly "),typeof c.key=="string"?x+=F(c.key,c.meta.quote):x+=b(c.key),c.optional&&(x+="?"),c.right===void 0?x:x+`: ${b(c.right)}`},JsdocTypeJsdocObjectField:(c,b)=>`${b(c.left)}: ${b(c.right)}`,JsdocTypeKeyValue:(c,b)=>{let x=c.key;return c.optional&&(x+="?"),c.variadic&&(x="..."+x),c.right===void 0?x:x+`: ${b(c.right)}`},JsdocTypeSpecialNamePath:c=>`${c.specialType}:${F(c.value,c.meta.quote)}`,JsdocTypeNotNullable:(c,b)=>j(c.meta.position,b(c.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(c,b)=>j(c.meta.position,b(c.element),"?"),JsdocTypeNumber:c=>c.value.toString(),JsdocTypeObject:(c,b)=>{var x,k;return`{${(c.meta.separator==="linebreak"&&c.elements.length>1?`
20
+ `+((x=c.meta.propertyIndent)!==null&&x!==void 0?x:""):"")+c.elements.map(b).join(c.meta.separator==="comma"?", ":c.meta.separator==="linebreak"?`
21
+ `+((k=c.meta.propertyIndent)!==null&&k!==void 0?k:""):"; ")+(c.meta.separator==="linebreak"&&c.elements.length>1?`
22
+ `:"")}}`},JsdocTypeOptional:(c,b)=>j(c.meta.position,b(c.element),"="),JsdocTypeSymbol:(c,b)=>`${c.value}(${c.element!==void 0?b(c.element):""})`,JsdocTypeTypeof:(c,b)=>`typeof ${b(c.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(c,b)=>c.elements.map(b).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(c,b)=>c.elements.map(b).join(" & "),JsdocTypeProperty:c=>F(c.value,c.meta.quote),JsdocTypePredicate:(c,b)=>`${b(c.left)} is ${b(c.right)}`,JsdocTypeIndexSignature:(c,b)=>`[${c.key}: ${b(c.right)}]`,JsdocTypeMappedType:(c,b)=>`[${c.key} in ${b(c.right)}]`,JsdocTypeAsserts:(c,b)=>`asserts ${b(c.left)} is ${b(c.right)}`,JsdocTypeReadonlyArray:(c,b)=>`readonly ${b(c.element)}`,JsdocTypeAssertsPlain:(c,b)=>`asserts ${b(c.element)}`,JsdocTypeConditional:(c,b)=>`${b(c.checksType)} extends ${b(c.extendsType)} ? ${b(c.trueType)} : ${b(c.falseType)}`,JsdocTypeTypeParameter:(c,b)=>`${b(c.name)}${c.constraint!==void 0?` extends ${b(c.constraint)}`:""}${c.defaultValue!==void 0?` = ${b(c.defaultValue)}`:""}`}}let U=O();function se(c){return Nt(U,c)}let pe=["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 fe(c){let b={type:"NameExpression",name:c};return pe.includes(c)&&(b.reservedWord=!0),b}let Se={JsdocTypeOptional:(c,b)=>{let x=b(c.element);return x.optional=!0,x},JsdocTypeNullable:(c,b)=>{let x=b(c.element);return x.nullable=!0,x},JsdocTypeNotNullable:(c,b)=>{let x=b(c.element);return x.nullable=!1,x},JsdocTypeVariadic:(c,b)=>{if(c.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let x=b(c.element);return x.repeatable=!0,x},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:c=>fe(F(c.value,c.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(c,b)=>{let x=C(c),k={type:"FunctionType",params:x.params.map(b)};return x.this!==void 0&&(k.this=b(x.this)),x.new!==void 0&&(k.new=b(x.new)),c.returnType!==void 0&&(k.result=b(c.returnType)),k},JsdocTypeGeneric:(c,b)=>({type:"TypeApplication",applications:c.elements.map(x=>b(x)),expression:b(c.left)}),JsdocTypeSpecialNamePath:c=>fe(c.specialType+":"+F(c.value,c.meta.quote)),JsdocTypeName:c=>c.value!=="function"?fe(c.value):{type:"FunctionType",params:[]},JsdocTypeNumber:c=>fe(c.value.toString()),JsdocTypeObject:(c,b)=>{let x={type:"RecordType",fields:[]};for(let k of c.elements)k.type!=="JsdocTypeObjectField"&&k.type!=="JsdocTypeJsdocObjectField"?x.fields.push({type:"FieldType",key:b(k),value:void 0}):x.fields.push(b(k));return x},JsdocTypeObjectField:(c,b)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:fe(F(c.key,c.meta.quote)),value:c.right===void 0?void 0:b(c.right)}},JsdocTypeJsdocObjectField:(c,b)=>({type:"FieldType",key:b(c.left),value:b(c.right)}),JsdocTypeUnion:(c,b)=>({type:"TypeUnion",elements:c.elements.map(x=>b(x))}),JsdocTypeKeyValue:(c,b)=>({type:"FieldType",key:fe(c.key),value:c.right===void 0?void 0:b(c.right)}),JsdocTypeNamePath:(c,b)=>{let x=b(c.left),k;c.right.type==="JsdocTypeSpecialNamePath"?k=b(c.right).name:k=F(c.right.value,c.right.meta.quote);let ee=c.pathType==="inner"?"~":c.pathType==="instance"?"#":".";return fe(`${x.name}${ee}${k}`)},JsdocTypeSymbol:c=>{let b="",x=c.element,k=!1;return x?.type==="JsdocTypeVariadic"&&(x.meta.position==="prefix"?b="...":k=!0,x=x.element),x?.type==="JsdocTypeName"?b+=x.value:x?.type==="JsdocTypeNumber"&&(b+=x.value.toString()),k&&(b+="..."),fe(`${c.value}(${b})`)},JsdocTypeParenthesis:(c,b)=>b(y(c.element)),JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeImport:Ne,JsdocTypeKeyof:Ne,JsdocTypeTuple:Ne,JsdocTypeTypeof:Ne,JsdocTypeIntersection:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function Ve(c){return Nt(Se,c)}function ye(c){switch(c){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Ot(c){switch(c){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function kt(c,b){return b.length===2?{type:c,left:b[0],right:b[1]}:{type:c,left:b[0],right:kt(c,b.slice(1))}}let qr={JsdocTypeOptional:(c,b)=>({type:"OPTIONAL",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(c,b)=>({type:"NULLABLE",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(c,b)=>({type:"NOT_NULLABLE",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(c,b)=>{let x={type:"VARIADIC",meta:{syntax:c.meta.position==="prefix"?"PREFIX_DOTS":c.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return c.element!==void 0&&(x.value=b(c.element)),x},JsdocTypeName:c=>({type:"NAME",name:c.value}),JsdocTypeTypeof:(c,b)=>({type:"TYPE_QUERY",name:b(c.element)}),JsdocTypeTuple:(c,b)=>({type:"TUPLE",entries:c.elements.map(b)}),JsdocTypeKeyof:(c,b)=>({type:"KEY_QUERY",value:b(c.element)}),JsdocTypeImport:c=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ye(c.element.meta.quote),string:c.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(c,b)=>{let x=C(c),k={type:c.arrow?"ARROW":"FUNCTION",params:x.params.map(ee=>{if(ee.type==="JsdocTypeKeyValue"){if(ee.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ee.key,typeName:b(ee.right)}}else return b(ee)}),new:null,returns:null};return x.this!==void 0?k.this=b(x.this):c.arrow||(k.this=null),x.new!==void 0&&(k.new=b(x.new)),c.returnType!==void 0&&(k.returns=b(c.returnType)),k},JsdocTypeGeneric:(c,b)=>{let x={type:"GENERIC",subject:b(c.left),objects:c.elements.map(b),meta:{syntax:c.meta.brackets==="square"?"SQUARE_BRACKET":c.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return c.meta.brackets==="square"&&c.elements[0].type==="JsdocTypeFunction"&&!c.elements[0].parenthesis&&(x.objects[0]={type:"NAME",name:"function"}),x},JsdocTypeObjectField:(c,b)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:ye(c.meta.quote),value:null,readonly:!1};let x=b(c.right);return c.optional&&(x={type:"OPTIONAL",value:x,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key.toString(),quoteStyle:ye(c.meta.quote),value:x,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(c,b)=>{if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:null,readonly:!1};let x=b(c.right);return c.optional&&(x={type:"OPTIONAL",value:x,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:x,readonly:!1}},JsdocTypeObject:(c,b)=>{let x=[];for(let k of c.elements)(k.type==="JsdocTypeObjectField"||k.type==="JsdocTypeJsdocObjectField")&&x.push(b(k));return{type:"RECORD",entries:x}},JsdocTypeSpecialNamePath:c=>{if(c.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${c.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ye(c.meta.quote),path:c.value}}},JsdocTypeNamePath:(c,b)=>{let x=!1,k,ee;c.right.type==="JsdocTypeSpecialNamePath"&&c.right.specialType==="event"?(x=!0,k=c.right.value,ee=ye(c.right.meta.quote)):(k=c.right.value,ee=ye(c.right.meta.quote));let ue={type:Ot(c.pathType),owner:b(c.left),name:k,quoteStyle:ee,hasEventPrefix:x};if(ue.owner.type==="MODULE"){let he=ue.owner;return ue.owner=ue.owner.value,he.value=ue,he}else return ue},JsdocTypeUnion:(c,b)=>kt("UNION",c.elements.map(b)),JsdocTypeParenthesis:(c,b)=>({type:"PARENTHESIS",value:b(y(c.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:c=>({type:"STRING_VALUE",quoteStyle:ye(c.meta.quote),string:c.value}),JsdocTypeIntersection:(c,b)=>kt("INTERSECTION",c.elements.map(b)),JsdocTypeNumber:c=>({type:"NUMBER_VALUE",number:c.value.toString()}),JsdocTypeSymbol:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function un(c){return Nt(qr,c)}function Jt(){return{JsdocTypeIntersection:(c,b)=>({type:"JsdocTypeIntersection",elements:c.elements.map(b)}),JsdocTypeGeneric:(c,b)=>({type:"JsdocTypeGeneric",left:b(c.left),elements:c.elements.map(b),meta:{dot:c.meta.dot,brackets:c.meta.brackets}}),JsdocTypeNullable:c=>c,JsdocTypeUnion:(c,b)=>({type:"JsdocTypeUnion",elements:c.elements.map(b)}),JsdocTypeUnknown:c=>c,JsdocTypeUndefined:c=>c,JsdocTypeTypeof:(c,b)=>({type:"JsdocTypeTypeof",element:b(c.element)}),JsdocTypeSymbol:(c,b)=>{let x={type:"JsdocTypeSymbol",value:c.value};return c.element!==void 0&&(x.element=b(c.element)),x},JsdocTypeOptional:(c,b)=>({type:"JsdocTypeOptional",element:b(c.element),meta:{position:c.meta.position}}),JsdocTypeObject:(c,b)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:c.elements.map(b)}),JsdocTypeNumber:c=>c,JsdocTypeNull:c=>c,JsdocTypeNotNullable:(c,b)=>({type:"JsdocTypeNotNullable",element:b(c.element),meta:{position:c.meta.position}}),JsdocTypeSpecialNamePath:c=>c,JsdocTypeObjectField:(c,b)=>({type:"JsdocTypeObjectField",key:c.key,right:c.right===void 0?void 0:b(c.right),optional:c.optional,readonly:c.readonly,meta:c.meta}),JsdocTypeJsdocObjectField:(c,b)=>({type:"JsdocTypeJsdocObjectField",left:b(c.left),right:b(c.right)}),JsdocTypeKeyValue:(c,b)=>({type:"JsdocTypeKeyValue",key:c.key,right:c.right===void 0?void 0:b(c.right),optional:c.optional,variadic:c.variadic}),JsdocTypeImport:(c,b)=>({type:"JsdocTypeImport",element:b(c.element)}),JsdocTypeAny:c=>c,JsdocTypeStringValue:c=>c,JsdocTypeNamePath:c=>c,JsdocTypeVariadic:(c,b)=>{let x={type:"JsdocTypeVariadic",meta:{position:c.meta.position,squareBrackets:c.meta.squareBrackets}};return c.element!==void 0&&(x.element=b(c.element)),x},JsdocTypeTuple:(c,b)=>({type:"JsdocTypeTuple",elements:c.elements.map(b)}),JsdocTypeName:c=>c,JsdocTypeFunction:(c,b)=>{let x={type:"JsdocTypeFunction",arrow:c.arrow,parameters:c.parameters.map(b),constructor:c.constructor,parenthesis:c.parenthesis};return c.returnType!==void 0&&(x.returnType=b(c.returnType)),x},JsdocTypeKeyof:(c,b)=>({type:"JsdocTypeKeyof",element:b(c.element)}),JsdocTypeParenthesis:(c,b)=>({type:"JsdocTypeParenthesis",element:b(c.element)}),JsdocTypeProperty:c=>c,JsdocTypePredicate:(c,b)=>({type:"JsdocTypePredicate",left:b(c.left),right:b(c.right)}),JsdocTypeIndexSignature:(c,b)=>({type:"JsdocTypeIndexSignature",key:c.key,right:b(c.right)}),JsdocTypeMappedType:(c,b)=>({type:"JsdocTypeMappedType",key:c.key,right:b(c.right)}),JsdocTypeAsserts:(c,b)=>({type:"JsdocTypeAsserts",left:b(c.left),right:b(c.right)}),JsdocTypeReadonlyArray:(c,b)=>({type:"JsdocTypeReadonlyArray",element:b(c.element)}),JsdocTypeAssertsPlain:(c,b)=>({type:"JsdocTypeAssertsPlain",element:b(c.element)}),JsdocTypeConditional:(c,b)=>({type:"JsdocTypeConditional",checksType:b(c.checksType),extendsType:b(c.extendsType),trueType:b(c.trueType),falseType:b(c.falseType)}),JsdocTypeTypeParameter:(c,b)=>({type:"JsdocTypeTypeParameter",name:b(c.name),constraint:c.constraint!==void 0?b(c.constraint):void 0,defaultValue:c.defaultValue!==void 0?b(c.defaultValue):void 0})}}let ln={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"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Lr(c,b,x,k,ee){k?.(c,b,x);let ue=ln[c.type];for(let he of ue){let be=c[he];if(be!==void 0)if(Array.isArray(be))for(let ke of be)Lr(ke,c,he,k,ee);else Lr(be,c,he,k,ee)}ee?.(c,b,x)}function zi(c,b,x){Lr(c,void 0,void 0,b,x)}r.catharsisTransform=Ve,r.identityTransformRules=Jt,r.jtpTransform=un,r.parse=bt,r.stringify=se,r.stringifyRules=O,r.transform=Nt,r.traverse=zi,r.tryParse=nt,r.visitorKeys=ln}))}}),Xx=$({"../../node_modules/browser-dtector/browser-dtector.umd.min.js"(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(l,u){for(var p=0;p<u.length;p++){var f=u[p];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(l,(h=f.key,m=void 0,typeof(m=(function(g,E){if(typeof g!="object"||g===null)return g;var A=g[Symbol.toPrimitive];if(A!==void 0){var v=A.call(g,E);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(g)})(h,"string"))=="symbol"?m:String(m)),f)}var h,m}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"},i={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"},a=function(l){var u=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(l).toString().match(u);return p?p[0]:null},o=function(){return typeof window<"u"?window.navigator:null},s=(function(){function l(h){var m;(function(g,E){if(!(g instanceof E))throw new TypeError("Cannot call a class as a function")})(this,l),this.userAgent=h||((m=o())===null||m===void 0?void 0:m.userAgent)||null}var u,p,f;return u=l,p=[{key:"parseUserAgent",value:function(h){var m,g,E,A={},v=h||this.userAgent||"",T=v.toLowerCase().replace(/\s\s+/g," "),I=/(edge)\/([\w.]+)/.exec(T)||/(edg)[/]([\w.]+)/.exec(T)||/(opr)[/]([\w.]+)/.exec(T)||/(opt)[/]([\w.]+)/.exec(T)||/(fxios)[/]([\w.]+)/.exec(T)||/(edgios)[/]([\w.]+)/.exec(T)||/(jsdom)[/]([\w.]+)/.exec(T)||/(samsungbrowser)[/]([\w.]+)/.exec(T)||/(electron)[/]([\w.]+)/.exec(T)||/(chrome)[/]([\w.]+)/.exec(T)||/(crios)[/]([\w.]+)/.exec(T)||/(opios)[/]([\w.]+)/.exec(T)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(T)||/(webkit)[/]([\w.]+)/.exec(T)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(T)||/(msie) ([\w.]+)/.exec(T)||/(fennec)[/]([\w.]+)/.exec(T)||T.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(T)||T.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(T)||[],R=/(ipad)/.exec(T)||/(ipod)/.exec(T)||/(iphone)/.exec(T)||/(jsdom)/.exec(T)||/(windows phone)/.exec(T)||/(xbox)/.exec(T)||/(win)/.exec(T)||/(tablet)/.exec(T)||/(android)/.test(T)&&/(mobile)/.test(T)===!1&&["androidTablet"]||/(android)/.exec(T)||/(mac)/.exec(T)||/(linux)/.exec(T)||/(cros)/.exec(T)||[],D=I[5]||I[3]||I[1]||null,y=R[0]||null,w=I[4]||I[2]||null,S=o();D==="chrome"&&typeof(S==null||(m=S.brave)===null||m===void 0?void 0:m.isBrave)=="function"&&(D="brave"),D&&(A[D]=!0),y&&(A[y]=!0);var P=!!(A.tablet||A.android||A.androidTablet),z=!!(A.ipad||A.tablet||A.androidTablet),L=!!(A.android||A.androidTablet||A.tablet||A.ipad||A.ipod||A.iphone||A["windows phone"]),K=!!(A.cros||A.mac||A.linux||A.win),q=!!(A.brave||A.chrome||A.crios||A.opr||A.safari||A.edg||A.electron),B=!!(A.msie||A.rv);return{name:(g=n[D])!==null&&g!==void 0?g:null,platform:(E=i[y])!==null&&E!==void 0?E:null,userAgent:v,version:w,shortVersion:w?a(parseFloat(w),2):null,isAndroid:P,isTablet:z,isMobile:L,isDesktop:K,isWebkit:q,isIE:B}}},{key:"getBrowserInfo",value:function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}}}],f=[{key:"VERSION",get:function(){return"3.4.0"}}],p&&r(u.prototype,p),f&&r(u,f),Object.defineProperty(u,"prototype",{writable:!1}),l})();return s}))}}),vc={};or(vc,{ARGTYPES_INFO_REQUEST:()=>og,ARGTYPES_INFO_RESPONSE:()=>Hu,CHANNEL_CREATED:()=>Zx,CHANNEL_WS_DISCONNECT:()=>qy,CONFIG_ERROR:()=>Ly,CREATE_NEW_STORYFILE_REQUEST:()=>eD,CREATE_NEW_STORYFILE_RESPONSE:()=>tD,CURRENT_STORY_WAS_SET:()=>Vu,DOCS_PREPARED:()=>$y,DOCS_RENDERED:()=>Ac,FILE_COMPONENT_SEARCH_REQUEST:()=>rD,FILE_COMPONENT_SEARCH_RESPONSE:()=>nD,FORCE_REMOUNT:()=>Na,FORCE_RE_RENDER:()=>wc,GHOST_STORIES_REQUEST:()=>AD,GHOST_STORIES_RESPONSE:()=>wD,GLOBALS_UPDATED:()=>Eo,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>ag,NAVIGATE_URL:()=>iD,OPEN_IN_EDITOR_REQUEST:()=>TD,OPEN_IN_EDITOR_RESPONSE:()=>CD,PLAY_FUNCTION_THREW_EXCEPTION:()=>Vy,PRELOAD_ENTRIES:()=>Jy,PREVIEW_BUILDER_PROGRESS:()=>oD,PREVIEW_INITIALIZED:()=>Hy,PREVIEW_KEYDOWN:()=>Gy,REGISTER_SUBSCRIPTION:()=>aD,REQUEST_WHATS_NEW_DATA:()=>yD,RESET_STORY_ARGS:()=>Tc,RESULT_WHATS_NEW_DATA:()=>gD,SAVE_STORY_REQUEST:()=>vD,SAVE_STORY_RESPONSE:()=>_D,SELECT_STORY:()=>sD,SET_CONFIG:()=>uD,SET_CURRENT_STORY:()=>Cc,SET_FILTER:()=>lD,SET_GLOBALS:()=>zy,SET_INDEX:()=>cD,SET_STORIES:()=>pD,SET_WHATS_NEW_CACHE:()=>bD,SHARED_STATE_CHANGED:()=>dD,SHARED_STATE_SET:()=>fD,SHARE_ISOLATE_MODE:()=>xD,SHARE_POPOVER_OPENED:()=>DD,SHARE_STORY_LINK:()=>SD,STORIES_COLLAPSE_ALL:()=>hD,STORIES_EXPAND_ALL:()=>mD,STORY_ARGS_UPDATED:()=>Wy,STORY_CHANGED:()=>Ky,STORY_ERRORED:()=>Yy,STORY_FINISHED:()=>Ju,STORY_HOT_UPDATED:()=>rg,STORY_INDEX_INVALIDATED:()=>Xy,STORY_MISSING:()=>Uu,STORY_PREPARED:()=>Qy,STORY_RENDERED:()=>Ba,STORY_RENDER_PHASE_CHANGED:()=>zn,STORY_SPECIFIED:()=>Zy,STORY_THREW_EXCEPTION:()=>eg,STORY_UNCHANGED:()=>tg,TELEMETRY_ERROR:()=>ig,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>ED,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Uy,UPDATE_GLOBALS:()=>Sc,UPDATE_QUERY_PARAMS:()=>ng,UPDATE_STORY_ARGS:()=>xc,default:()=>Qx});var _c=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e.SHARE_STORY_LINK="shareStoryLink",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.SHARE_POPOVER_OPENED="sharePopoverOpened",e))(_c||{}),Qx=_c,{CHANNEL_WS_DISCONNECT:qy,CHANNEL_CREATED:Zx,CONFIG_ERROR:Ly,CREATE_NEW_STORYFILE_REQUEST:eD,CREATE_NEW_STORYFILE_RESPONSE:tD,CURRENT_STORY_WAS_SET:Vu,DOCS_PREPARED:$y,DOCS_RENDERED:Ac,FILE_COMPONENT_SEARCH_REQUEST:rD,FILE_COMPONENT_SEARCH_RESPONSE:nD,FORCE_RE_RENDER:wc,FORCE_REMOUNT:Na,GLOBALS_UPDATED:Eo,NAVIGATE_URL:iD,PLAY_FUNCTION_THREW_EXCEPTION:Vy,UNHANDLED_ERRORS_WHILE_PLAYING:Uy,PRELOAD_ENTRIES:Jy,PREVIEW_INITIALIZED:Hy,PREVIEW_BUILDER_PROGRESS:oD,PREVIEW_KEYDOWN:Gy,REGISTER_SUBSCRIPTION:aD,RESET_STORY_ARGS:Tc,SELECT_STORY:sD,SET_CONFIG:uD,SET_CURRENT_STORY:Cc,SET_FILTER:lD,SET_GLOBALS:zy,SET_INDEX:cD,SET_STORIES:pD,SHARED_STATE_CHANGED:dD,SHARED_STATE_SET:fD,STORIES_COLLAPSE_ALL:hD,STORIES_EXPAND_ALL:mD,STORY_ARGS_UPDATED:Wy,STORY_CHANGED:Ky,STORY_ERRORED:Yy,STORY_INDEX_INVALIDATED:Xy,STORY_MISSING:Uu,STORY_PREPARED:Qy,STORY_RENDER_PHASE_CHANGED:zn,STORY_RENDERED:Ba,STORY_FINISHED:Ju,STORY_SPECIFIED:Zy,STORY_THREW_EXCEPTION:eg,STORY_UNCHANGED:tg,STORY_HOT_UPDATED:rg,UPDATE_GLOBALS:Sc,UPDATE_QUERY_PARAMS:ng,UPDATE_STORY_ARGS:xc,REQUEST_WHATS_NEW_DATA:yD,RESULT_WHATS_NEW_DATA:gD,SET_WHATS_NEW_CACHE:bD,TOGGLE_WHATS_NEW_NOTIFICATIONS:ED,TELEMETRY_ERROR:ig,SAVE_STORY_REQUEST:vD,SAVE_STORY_RESPONSE:_D,ARGTYPES_INFO_REQUEST:og,ARGTYPES_INFO_RESPONSE:Hu,GHOST_STORIES_REQUEST:AD,GHOST_STORIES_RESPONSE:wD,OPEN_IN_EDITOR_REQUEST:TD,OPEN_IN_EDITOR_RESPONSE:CD,MANAGER_INERT_ATTRIBUTE_CHANGED:ag,SHARE_STORY_LINK:SD,SHARE_ISOLATE_MODE:xD,SHARE_POPOVER_OPENED:DD}=_c,sg={};or(sg,{global:()=>we});var we=(()=>{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})(),ug={"@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__"},RD=Object.keys(ug),lg={};or(lg,{Channel:()=>hs,HEARTBEAT_INTERVAL:()=>Ig,HEARTBEAT_MAX_LATENCY:()=>Ng,PostMessageTransport:()=>Fg,WebsocketTransport:()=>Bg,createBrowserChannel:()=>UO,default:()=>VO});function Ke(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 i=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(p){var f,h;return(h=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):s},[]);if(i.length){var a=new RegExp(`
23
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(a,`
24
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return t.forEach(function(s,l){var u=o.match(/(?:^|\n)( *)$/),p=u?u[1]:"",f=s;typeof s=="string"&&s.includes(`
25
+ `)&&(f=String(s).split(`
26
+ `).map(function(h,m){return m===0?h:""+p+h}).join(`
27
+ `)),o+=f+n[l+1]}),o}var Nd=new Map,PD="UNIVERSAL_STORE:",dr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},qn=class Ue{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=()=>(this.debug("getState",{state:this.state}),this.state),this.subscribe=(n,i)=>{let a=typeof n=="function",o=a?"*":n,s=a?n:i;if(this.debug("subscribe",{eventType:o,listener:s}),!s)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(o)||this.listeners.set(o,new Set),this.listeners.get(o).add(s),()=>{this.debug("unsubscribe",{eventType:o,listener:s}),this.listeners.has(o)&&(this.listeners.get(o).delete(s),this.listeners.get(o)?.size===0&&this.listeners.delete(o))}},this.send=n=>{if(this.debug("send",{event:n}),this.status!==Ue.Status.READY)throw new TypeError(Ke`Cannot send event before store is ready. You can get the current status with store.status,
28
+ or await store.readyPromise to wait for the store to be ready before sending events.
29
+ ${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})},this.debugging=t.debug??!1,!Ue.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ue.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ue.ActorType.LEADER:Ue.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${PD}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ue.ActorType.LEADER)this.syncing={state:dr.RESOLVED,promise:Promise.resolve()};else{let n,i,a=new Promise((o,s)=>{n=()=>{this.syncing.state===dr.PENDING&&(this.syncing.state=dr.RESOLVED,o())},i=l=>{this.syncing.state===dr.PENDING&&(this.syncing.state=dr.REJECTED,s(l))}});this.syncing={state:dr.PENDING,promise:a,resolve:n,reject:i}}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?.channel??Ue.preparation.channel,this.environment=r?.environment??Ue.preparation.environment,this.channel&&this.environment?(Ue.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ue.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((i,a)=>{t=o=>{i(o)},r=(...o)=>{a(o)}});Ue.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ue.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return Ue.Status.UNPREPARED;switch(this.syncing?.state){case dr.PENDING:case void 0:return Ue.Status.SYNCING;case dr.REJECTED:return Ue.Status.ERROR;case dr.RESOLVED:default:return Ue.Status.READY}}untilReady(){return Promise.all([Ue.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(Ke`[UniversalStore]
30
+ create`,{options:t});let r=Nd.get(t.id);if(r)return console.warn(Ke`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
31
+ You should reuse the existing instance instead of trying to create a new one.`),r;Ue.isInternalConstructing=!0;let n=new Ue(t);return Nd.set(t.id,n),n}static __prepare(t,r){Ue.preparation.channel=t,Ue.preparation.environment=r,Ue.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!==Ue.Status.READY)throw new TypeError(Ke`Cannot set state before store is ready. You can get the current status with store.status,
32
+ or await store.readyPromise to wait for the store to be ready before sending events.
33
+ ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let i={type:Ue.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Ue.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),this.channel?.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===Ue.ActorType.LEADER?this.emitToChannel({type:Ue.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ue.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ue.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),i=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:i}),[...n??[],...i??[]].forEach(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===dr.PENDING&&r.type!==Ue.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ue.ActorType.LEADER){let i=!0;switch(r.type){case Ue.InternalEventType.EXISTING_STATE_REQUEST:i=!1;let a={type:Ue.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor});break;case Ue.InternalEventType.LEADER_CREATED:i=!1,this.syncing.state=dr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Ke`Detected multiple UniversalStore leaders created with the same id "${this.id}".
34
+ Only one leader can exists at a time, your stores are now in an invalid state.
35
+ Leaders detected:
36
+ this: ${JSON.stringify(this.actor,null,2)}
37
+ other: ${JSON.stringify(n.actor,null,2)}`);break}i&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Ue.ActorType.FOLLOWER)switch(r.type){case Ue.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==dr.PENDING)break;this.syncing.resolve?.();let i={type:Ue.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(i,n);break}r.type===Ue.InternalEventType.SET_STATE&&(this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state),this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Ke`[UniversalStore::${this.id}::${this.environment??Ue.Environment.UNKNOWN}]
38
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ue.preparation.reject(new Error("reset")),Ue.setupPreparationPromise(),Ue.isInternalConstructing=!1}};qn.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},qn.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},qn.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"},qn.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},qn.isInternalConstructing=!1,qn.setupPreparationPromise();var Ks=qn,OD=e=>e.transports!==void 0,FD=()=>Math.random().toString(16).slice(2),hs=class{constructor(e={}){this.sender=FD(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,OD(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let i=()=>{this.transports.forEach(a=>{a.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(i):i()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},cg={};or(cg,{deprecate:()=>Dc,logger:()=>vt,once:()=>Rt,pretty:()=>cr});var{LOGLEVEL:ID}=we,mn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},ND=ID,li=mn[ND]||mn.info,vt={trace:(e,...t)=>{li<=mn.trace&&console.trace(e,...t)},debug:(e,...t)=>{li<=mn.debug&&console.debug(e,...t)},info:(e,...t)=>{li<=mn.info&&console.info(e,...t)},warn:(e,...t)=>{li<=mn.warn&&console.warn(e,...t)},error:(e,...t)=>{li<=mn.error&&console.error(e,...t)},log:(e,...t)=>{li<mn.silent&&console.log(e,...t)}},Gu=new Set,Rt=e=>(t,...r)=>{if(!Gu.has(t))return Gu.add(t),vt[e](t,...r)};Rt.clear=()=>Gu.clear();Rt.trace=Rt("trace");Rt.debug=Rt("debug");Rt.info=Rt("info");Rt.warn=Rt("warn");Rt.error=Rt("error");Rt.log=Rt("log");var Dc=Rt("warn"),cr=e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,a;for(r.push(t[0].replace(n,"%c").replace(i,"%c"));a=n.exec(t[0]);)r.push(a[2]),r.push("");for(let o=1;o<t.length;o++)r.push(t[o])}vt[e].apply(vt,r)};cr.trace=cr("trace");cr.debug=cr("debug");cr.info=cr("info");cr.warn=cr("warn");cr.error=cr("error");var BD=Object.create,pg=Object.defineProperty,jD=Object.getOwnPropertyDescriptor,dg=Object.getOwnPropertyNames,kD=Object.getPrototypeOf,MD=Object.prototype.hasOwnProperty,Ge=(e,t)=>function(){return t||(0,e[dg(e)[0]])((t={exports:{}}).exports,t),t.exports},qD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of dg(t))!MD.call(e,i)&&i!==r&&pg(e,i,{get:()=>t[i],enumerable:!(n=jD(t,i))||n.enumerable});return e},Rc=(e,t,r)=>(r=e!=null?BD(kD(e)):{},qD(!e||!e.__esModule?pg(r,"default",{value:e,enumerable:!0}):r,e)),LD=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],$D=["detail"];function VD(e){let t=LD.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of $D.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var fg=Ge({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),UD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),JD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),HD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),GD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),zD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Pc=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),WD=Ge({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),KD=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),YD=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),XD=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),QD=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),ZD=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),eR=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),tR=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(r){return r!==r}}}),rR=Ge({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=tR();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),nR=Ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Oc=Ge({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=nR();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),iR=Ge({"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}}),hg=Ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(var o 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 s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==a||l.enumerable!==!0)return!1}return!0}}}),mg=Ge({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=hg();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),yg=Ge({"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}}),gg=Ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=fg();t.exports=r.getPrototypeOf||null}}),oR=Ge({"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,i=Math.max,a="[object Function]",o=function(u,p){for(var f=[],h=0;h<u.length;h+=1)f[h]=u[h];for(var m=0;m<p.length;m+=1)f[m+u.length]=p[m];return f},s=function(u,p){for(var f=[],h=p,m=0;h<u.length;h+=1,m+=1)f[m]=u[h];return f},l=function(u,p){for(var f="",h=0;h<u.length;h+=1)f+=u[h],h+1<u.length&&(f+=p);return f};t.exports=function(u){var p=this;if(typeof p!="function"||n.apply(p)!==a)throw new TypeError(r+p);for(var f=s(arguments,1),h,m=function(){if(this instanceof h){var T=p.apply(this,o(f,arguments));return Object(T)===T?T:this}return p.apply(u,o(f,arguments))},g=i(0,p.length-f.length),E=[],A=0;A<g;A++)E[A]="$"+A;if(h=Function("binder","return function ("+l(E,",")+"){ return binder.apply(this,arguments); }")(m),p.prototype){var v=function(){};v.prototype=p.prototype,h.prototype=new v,v.prototype=null}return h}}}),ms=Ge({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=oR();t.exports=Function.prototype.bind||r}}),Fc=Ge({"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}}),bg=Ge({"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}}),aR=Ge({"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}}),sR=Ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=ms(),n=bg(),i=Fc(),a=aR();t.exports=a||r.call(i,n)}}),Eg=Ge({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=ms(),n=Pc(),i=Fc(),a=sR();t.exports=function(o){if(o.length<1||typeof o[0]!="function")throw new n("a function is required");return a(r,i,o)}}}),uR=Ge({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=Eg(),n=Oc(),i;try{i=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var a=!!i&&n&&n(Object.prototype,"__proto__"),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get=="function"?r([a.get]):typeof s=="function"?(function(l){return s(l==null?l:o(l))}):!1}}),lR=Ge({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=yg(),n=gg(),i=uR();t.exports=r?function(a){return r(a)}:n?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)}:i?function(a){return i(a)}:null}}),vg=Ge({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=ms();t.exports=i.call(r,n)}}),cR=Ge({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=fg(),i=UD(),a=JD(),o=HD(),s=GD(),l=zD(),u=Pc(),p=WD(),f=KD(),h=YD(),m=XD(),g=QD(),E=ZD(),A=eR(),v=rR(),T=Function,I=function(me){try{return T('"use strict"; return ('+me+").constructor;")()}catch{}},R=Oc(),D=iR(),y=function(){throw new u},w=R?(function(){try{return arguments.callee,y}catch{try{return R(arguments,"callee").get}catch{return y}}})():y,S=mg()(),P=lR(),z=gg(),L=yg(),K=bg(),q=Fc(),B={},V=typeof Uint8Array>"u"||!P?r:P(Uint8Array),X={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":S&&P?P([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%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%":i,"%eval%":eval,"%EvalError%":a,"%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%":T,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&P?P(P([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S||!P?r:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":R,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S||!P?r:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&P?P(""[Symbol.iterator]()):r,"%Symbol%":S?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":w,"%TypedArray%":V,"%TypeError%":u,"%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%":q,"%Function.prototype.apply%":K,"%Object.defineProperty%":D,"%Object.getPrototypeOf%":z,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":m,"%Math.min%":g,"%Math.pow%":E,"%Math.round%":A,"%Math.sign%":v,"%Reflect.getPrototypeOf%":L};if(P)try{null.error}catch(me){Q=P(P(me)),X["%Error.prototype%"]=Q}var Q,oe=function me(Ae){var De;if(Ae==="%AsyncFunction%")De=I("async function () {}");else if(Ae==="%GeneratorFunction%")De=I("function* () {}");else if(Ae==="%AsyncGeneratorFunction%")De=I("async function* () {}");else if(Ae==="%AsyncGenerator%"){var xe=me("%AsyncGeneratorFunction%");xe&&(De=xe.prototype)}else if(Ae==="%AsyncIteratorPrototype%"){var Oe=me("%AsyncGenerator%");Oe&&P&&(De=P(Oe.prototype))}return X[Ae]=De,De},Ee={__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"]},Pe=ms(),W=vg(),H=Pe.call(q,Array.prototype.concat),re=Pe.call(K,Array.prototype.splice),ce=Pe.call(q,String.prototype.replace),le=Pe.call(q,String.prototype.slice),ie=Pe.call(q,RegExp.prototype.exec),ve=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Re=/\\(\\)?/g,$e=function(me){var Ae=le(me,0,1),De=le(me,-1);if(Ae==="%"&&De!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(De==="%"&&Ae!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var xe=[];return ce(me,ve,function(Oe,Fe,Me,ut){xe[xe.length]=Me?ce(ut,Re,"$1"):Fe||Oe}),xe},Z=function(me,Ae){var De=me,xe;if(W(Ee,De)&&(xe=Ee[De],De="%"+xe[0]+"%"),W(X,De)){var Oe=X[De];if(Oe===B&&(Oe=oe(De)),typeof Oe>"u"&&!Ae)throw new u("intrinsic "+me+" exists, but is not available. Please file an issue!");return{alias:xe,name:De,value:Oe}}throw new l("intrinsic "+me+" does not exist!")};t.exports=function(me,Ae){if(typeof me!="string"||me.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ae!="boolean")throw new u('"allowMissing" argument must be a boolean');if(ie(/^%?[^%]*%?$/,me)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var De=$e(me),xe=De.length>0?De[0]:"",Oe=Z("%"+xe+"%",Ae),Fe=Oe.name,Me=Oe.value,ut=!1,Ft=Oe.alias;Ft&&(xe=Ft[0],re(De,H([0,1],Ft)));for(var Je=1,yt=!0;Je<De.length;Je+=1){var Ye=De[Je],er=le(Ye,0,1),It=le(Ye,-1);if((er==='"'||er==="'"||er==="`"||It==='"'||It==="'"||It==="`")&&er!==It)throw new l("property names with quotes must have matching quotes");if((Ye==="constructor"||!yt)&&(ut=!0),xe+="."+Ye,Fe="%"+xe+"%",W(X,Fe))Me=X[Fe];else if(Me!=null){if(!(Ye in Me)){if(!Ae)throw new u("base intrinsic for "+me+" exists, but the property is not available.");return}if(R&&Je+1>=De.length){var ge=R(Me,Ye);yt=!!ge,yt&&"get"in ge&&!("originalValue"in ge.get)?Me=ge.get:Me=Me[Ye]}else yt=W(Me,Ye),Me=Me[Ye];yt&&!ut&&(X[Fe]=Me)}}return Me}}}),Ic=Ge({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=cR(),n=Eg(),i=n([r("%String.prototype.indexOf%")]);t.exports=function(a,o){var s=r(a,!!o);return typeof s=="function"&&i(a,".prototype.")>-1?n([s]):s}}}),pR=Ge({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=hg();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),_g=Ge({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Ic(),n=pR()(),i=vg(),a=Oc(),o;n?(s=r("RegExp.prototype.exec"),l={},u=function(){throw l},p={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=u),o=function(m){if(!m||typeof m!="object")return!1;var g=a(m,"lastIndex"),E=g&&i(g,"value");if(!E)return!1;try{s(m,p)}catch(A){return A===l}}):(f=r("Object.prototype.toString"),h="[object RegExp]",o=function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:f(m)===h});var s,l,u,p,f,h;t.exports=o}}),dR=Ge({"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(i){if(!i)return!1;var a=r.call(i);return a==="[object Function]"||typeof i=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}}}),fR=Ge({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Ic(),n=_g(),i=r("RegExp.prototype.exec"),a=Pc();t.exports=function(o){if(!n(o))throw new a("`regex` must be a RegExp");return function(s){return i(o,s)!==null}}}}),hR=Ge({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Ic(),n=r("Object.prototype.toString"),i=mg()(),a=fR();i?(o=r("Symbol.prototype.toString"),s=a(/^Symbol\(.*\)$/),l=function(u){return typeof u.valueOf()!="symbol"?!1:s(o(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||n(u)!=="[object Symbol]")return!1;try{return l(u)}catch{return!1}}):t.exports=function(u){return!1};var o,s,l}}),mR=Rc(_g()),yR=Rc(dR()),gR=Rc(hR());function bR(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var ER=typeof global=="object"&&global&&global.Object===Object&&global,vR=ER,_R=typeof self=="object"&&self&&self.Object===Object&&self,AR=vR||_R||Function("return this")(),Nc=AR,wR=Nc.Symbol,vi=wR,Ag=Object.prototype,TR=Ag.hasOwnProperty,CR=Ag.toString,Wi=vi?vi.toStringTag:void 0;function SR(e){var t=TR.call(e,Wi),r=e[Wi];try{e[Wi]=void 0;var n=!0}catch{}var i=CR.call(e);return n&&(t?e[Wi]=r:delete e[Wi]),i}var xR=SR,DR=Object.prototype,RR=DR.toString;function PR(e){return RR.call(e)}var OR=PR,FR="[object Null]",IR="[object Undefined]",Bd=vi?vi.toStringTag:void 0;function NR(e){return e==null?e===void 0?IR:FR:Bd&&Bd in Object(e)?xR(e):OR(e)}var wg=NR;function BR(e){return e!=null&&typeof e=="object"}var jR=BR,kR="[object Symbol]";function MR(e){return typeof e=="symbol"||jR(e)&&wg(e)==kR}var Bc=MR;function qR(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var LR=qR,$R=Array.isArray,jc=$R,jd=vi?vi.prototype:void 0,kd=jd?jd.toString:void 0;function Tg(e){if(typeof e=="string")return e;if(jc(e))return LR(e,Tg)+"";if(Bc(e))return kd?kd.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var VR=Tg;function UR(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Cg=UR,JR="[object AsyncFunction]",HR="[object Function]",GR="[object GeneratorFunction]",zR="[object Proxy]";function WR(e){if(!Cg(e))return!1;var t=wg(e);return t==HR||t==GR||t==JR||t==zR}var KR=WR,YR=Nc["__core-js_shared__"],Ys=YR,Md=(function(){var e=/[^.]+$/.exec(Ys&&Ys.keys&&Ys.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function XR(e){return!!Md&&Md in e}var QR=XR,ZR=Function.prototype,eP=ZR.toString;function tP(e){if(e!=null){try{return eP.call(e)}catch{}try{return e+""}catch{}}return""}var rP=tP,nP=/[\\^$.*+?()[\]{}|]/g,iP=/^\[object .+?Constructor\]$/,oP=Function.prototype,aP=Object.prototype,sP=oP.toString,uP=aP.hasOwnProperty,lP=RegExp("^"+sP.call(uP).replace(nP,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cP(e){if(!Cg(e)||QR(e))return!1;var t=KR(e)?lP:iP;return t.test(rP(e))}var pP=cP;function dP(e,t){return e?.[t]}var fP=dP;function hP(e,t){var r=fP(e,t);return pP(r)?r:void 0}var Sg=hP;function mP(e,t){return e===t||e!==e&&t!==t}var yP=mP,gP=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bP=/^\w*$/;function EP(e,t){if(jc(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Bc(e)?!0:bP.test(e)||!gP.test(e)||t!=null&&e in Object(t)}var vP=EP,_P=Sg(Object,"create"),vo=_P;function AP(){this.__data__=vo?vo(null):{},this.size=0}var wP=AP;function TP(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var CP=TP,SP="__lodash_hash_undefined__",xP=Object.prototype,DP=xP.hasOwnProperty;function RP(e){var t=this.__data__;if(vo){var r=t[e];return r===SP?void 0:r}return DP.call(t,e)?t[e]:void 0}var PP=RP,OP=Object.prototype,FP=OP.hasOwnProperty;function IP(e){var t=this.__data__;return vo?t[e]!==void 0:FP.call(t,e)}var NP=IP,BP="__lodash_hash_undefined__";function jP(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=vo&&t===void 0?BP:t,this}var kP=jP;function ki(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])}}ki.prototype.clear=wP;ki.prototype.delete=CP;ki.prototype.get=PP;ki.prototype.has=NP;ki.prototype.set=kP;var qd=ki;function MP(){this.__data__=[],this.size=0}var qP=MP;function LP(e,t){for(var r=e.length;r--;)if(yP(e[r][0],t))return r;return-1}var ys=LP,$P=Array.prototype,VP=$P.splice;function UP(e){var t=this.__data__,r=ys(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():VP.call(t,r,1),--this.size,!0}var JP=UP;function HP(e){var t=this.__data__,r=ys(t,e);return r<0?void 0:t[r][1]}var GP=HP;function zP(e){return ys(this.__data__,e)>-1}var WP=zP;function KP(e,t){var r=this.__data__,n=ys(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var YP=KP;function Mi(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])}}Mi.prototype.clear=qP;Mi.prototype.delete=JP;Mi.prototype.get=GP;Mi.prototype.has=WP;Mi.prototype.set=YP;var XP=Mi,QP=Sg(Nc,"Map"),ZP=QP;function eO(){this.size=0,this.__data__={hash:new qd,map:new(ZP||XP),string:new qd}}var tO=eO;function rO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var nO=rO;function iO(e,t){var r=e.__data__;return nO(t)?r[typeof t=="string"?"string":"hash"]:r.map}var gs=iO;function oO(e){var t=gs(this,e).delete(e);return this.size-=t?1:0,t}var aO=oO;function sO(e){return gs(this,e).get(e)}var uO=sO;function lO(e){return gs(this,e).has(e)}var cO=lO;function pO(e,t){var r=gs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var dO=pO;function qi(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])}}qi.prototype.clear=tO;qi.prototype.delete=aO;qi.prototype.get=uO;qi.prototype.has=cO;qi.prototype.set=dO;var xg=qi,fO="Expected a function";function kc(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(fO);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(kc.Cache||xg),r}kc.Cache=xg;var hO=kc,mO=500;function yO(e){var t=hO(e,function(n){return r.size===mO&&r.clear(),n}),r=t.cache;return t}var gO=yO,bO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,EO=/\\(\\)?/g,vO=gO(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(bO,function(r,n,i,a){t.push(i?a.replace(EO,"$1"):n||r)}),t}),_O=vO;function AO(e){return e==null?"":VR(e)}var wO=AO;function TO(e,t){return jc(e)?e:vP(e,t)?[e]:_O(wO(e))}var CO=TO;function SO(e){if(typeof e=="string"||Bc(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var xO=SO;function DO(e,t){t=CO(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[xO(t[r++])];return r&&r==n?e:void 0}var RO=DO;function PO(e,t,r){var n=e==null?void 0:RO(e,t);return n===void 0?r:n}var OO=PO,Mc=bR,FO=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,qc=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Dg(e){if(!Mc(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=VD(t),r=!0),t=Object.keys(t).reduce((n,i)=>{try{t[i]&&t[i].toJSON,n[i]=t[i]}catch{r=!0}return n},{}),r?t:e}var IO=function(e){let t,r,n,i;return function(a,o){try{if(a==="")return i=[],t=new Map([[o,"[]"]]),r=new Map,n=[],o;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),i.pop();if(typeof o=="boolean")return o;if(o===void 0)return e.allowUndefined?"_undefined_":void 0;if(o===null)return null;if(typeof o=="number")return o===Number.NEGATIVE_INFINITY?"_-Infinity_":o===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(o)?"_NaN_":o;if(typeof o=="bigint")return`_bigint_${o.toString()}`;if(typeof o=="string")return FO.test(o)?e.allowDate?`_date_${o}`:void 0:o;if((0,mR.default)(o))return e.allowRegExp?`_regexp_${o.flags}|${o.source}`:void 0;if((0,yR.default)(o))return;if((0,gR.default)(o)){if(!e.allowSymbol)return;let u=Symbol.keyFor(o);return u!==void 0?`_gsymbol_${u}`:`_symbol_${o.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(o)?`[Array(${o.length})]`:"[Object]";if(o===this)return`_duplicate_${JSON.stringify(i)}`;if(o instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...o.cause?{cause:o.cause}:{},...o,name:o.name,message:o.message,stack:o.stack,"_constructor-name_":o.constructor.name}};if(o?.constructor?.name&&o.constructor.name!=="Object"&&!Array.isArray(o)){let u=t.get(o);if(!u){let p={__isClassInstance__:!0,__className__:o.constructor.name,...Object.getOwnPropertyNames(o).reduce((f,h)=>{try{f[h]=o[h]}catch{}return f},{})};return i.push(a),n.unshift(p),t.set(o,JSON.stringify(i)),o!==p&&r.set(o,p),p}return`_duplicate_${u}`}let l=t.get(o);if(!l){let u=Array.isArray(o)?o:Dg(o);return i.push(a),n.unshift(u),t.set(o,JSON.stringify(i)),o!==u&&r.set(o,u),u}return`_duplicate_${l}`}catch{return}}},NO=function(e){let t=[],r;return function(n,i){if(n===""&&(r=i,t.forEach(({target:a,container:o,replacement:s})=>{let l=qc(s)?JSON.parse(s):s.split(".");l.length===0?o[a]=r:o[a]=OO(r,l)})),n==="_constructor-name_")return i;if(Mc(i)&&i.__isConvertedError__){let{message:a,...o}=i.errorProperties,s=new Error(a);return Object.assign(s,o),s}if(typeof i=="string"&&i.startsWith("_regexp_")&&e.allowRegExp){let[,a,o]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(o,a)}return typeof i=="string"&&i.startsWith("_date_")&&e.allowDate?new Date(i.replace("_date_","")):typeof i=="string"&&i.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:i.replace(/^_duplicate_/,"")}),null):typeof i=="string"&&i.startsWith("_symbol_")&&e.allowSymbol?Symbol(i.replace("_symbol_","")):typeof i=="string"&&i.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(i.replace("_gsymbol_","")):typeof i=="string"&&i==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof i=="string"&&i==="_Infinity_"?Number.POSITIVE_INFINITY:typeof i=="string"&&i==="_NaN_"?Number.NaN:typeof i=="string"&&i.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(i.replace("_bigint_","")):i}},Rg={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},Pg=(e,t={})=>{let r={...Rg,...t};return JSON.stringify(Dg(e),IO(r),t.space)},BO=()=>{let e=new Map;return function t(r){Mc(r)&&Object.entries(r).forEach(([n,i])=>{i==="_undefined_"?r[n]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(r)&&r.forEach((n,i)=>{n==="_undefined_"?(e.set(n,!0),r[i]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},Og=(e,t={})=>{let r={...Rg,...t},n=JSON.parse(e,NO(r));return BO()(n),n},jO="Invariant failed";function Zr(e,t){if(!e)throw new Error(jO)}var kO=e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(a=>{try{return a.contentWindow?.location.origin===e.source.location.origin&&a.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return a.contentWindow===e.source}catch{}let o=a.getAttribute("src"),s;try{if(!o)return!1;({origin:s}=new URL(o,document.location.toString()))}catch{return!1}return s===e.origin}),i=r?.getAttribute("src");if(i&&n.length===0){let{protocol:a,host:o,pathname:s}=new URL(i,document.location.toString());return`${a}//${o}${s}`}return n.length>0&&vt.error("found multiple candidates for event source"),null},{document:Xs,location:Qs}=we,Ld="storybook-channel",MO={maxDepth:25},Fg=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof we?.addEventListener=="function"&&we.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:r,allowRegExp:n,allowSymbol:i,allowDate:a,allowError:o,allowUndefined:s,maxDepth:l,space:u}=t||{},p=Object.fromEntries(Object.entries({allowRegExp:n,allowSymbol:i,allowDate:a,allowError:o,allowUndefined:s,maxDepth:l,space:u}).filter(([E,A])=>typeof A<"u")),f={...MO,...we.CHANNEL_OPTIONS||{},...p},h=this.getFrames(r),m=new URLSearchParams(Qs?.search||""),g=Pg({key:Ld,event:e,refId:m.get("refId")},f);return h.length?(this.buffer.length&&this.flush(),h.forEach(E=>{try{E.postMessage(g,"*")}catch{vt.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((E,A)=>{this.buffer.push({event:e,resolve:E,reject:A})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>{this.send(t.event).then(t.resolve).catch(t.reject)})}getFrames(e){if(this.config.page==="manager"){let t=Array.from(Xs.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(r=>{try{return r.contentWindow&&r.dataset.isStorybook!==void 0&&r.id===e?[r.contentWindow]:[]}catch{return[]}});return t?.length?t:this.getCurrentFrames()}return we&&we.parent&&we.parent!==we.self?[we.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Xs.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):we&&we.parent?[we.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Xs.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):we&&we.parent?[we.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:i}=typeof t=="string"&&qc(t)?Og(t,we.CHANNEL_OPTIONS||{}):t;if(r===Ld){let a=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',o=Object.values(vc).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(i&&(n.refId=i),n.source=this.config.page==="preview"?e.origin:kO(e),!n.source){cr.error(`${a} received ${o} but was unable to determine the source of the event`);return}let s=`${a} received ${o} (${t.length})`;cr.debug(Qs.origin!==n.source?s:`${s} <span style="color: gray">(on ${Qs.origin} from ${n.source})</span>`,...n.args),Zr(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){vt.error(t)}}},{WebSocket:qO}=we,Ig=15e3,Ng=5e3,Bg=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new qO(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let i=typeof n=="string"&&qc(n)?Og(n):n;Zr(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{Zr(this.handler),this.handler({type:qy,args:[{reason:n.reason,code:n.code}],from:r||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},Ig+Ng)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let t=Pg(e,{maxDepth:15,...we.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CHANNEL_OPTIONS:LO,CONFIG_TYPE:$O}=we,VO=hs;function UO({page:e,extraTransports:t=[]}){let r=[new Fg({page:e}),...t];if($O==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:o}=window.location,{wsToken:s}=LO||{},l=`${i}://${a}:${o}/storybook-server-channel?token=${s}`;r.push(new Bg({url:l,onError:()=>{},page:e}))}let n=new hs({transports:r});return Ks.__prepare(n,e==="manager"?Ks.Environment.MANAGER:Ks.Environment.PREVIEW),n}var jg={};or(jg,{CalledExtractOnStoreError:()=>$g,CalledPreviewMethodBeforeInitializationError:()=>sr,Category:()=>Mg,ElementA11yParameterError:()=>KO,EmptyIndexError:()=>Hg,ImplicitActionsDuringRendering:()=>Lg,MdxFileWithNoCsfReferencesError:()=>Jg,MissingRenderToCanvasError:()=>Vg,MissingStoryAfterHmrError:()=>qg,MissingStoryFromCsfFileError:()=>zg,MountMustBeDestructuredError:()=>Lc,NextJsSharpError:()=>HO,NextjsRouterMocksNotAvailable:()=>GO,NoRenderFunctionError:()=>Kg,NoStoryMatchError:()=>Gg,NoStoryMountedError:()=>Yg,StatusTypeIdMismatchError:()=>JO,StoryIndexFetchError:()=>Ug,StoryStoreAccessedBeforeInitializationError:()=>Wg,UnknownArgTypesError:()=>zO,UnsupportedViewportDimensionError:()=>WO});function $d({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Vd(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var jt=class kg extends Error{constructor(t){super(kg.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return $d({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:i}){let a;return t===!0?a=`https://storybook.js.org/error/${$d({code:r,category:n})}?ref=error`:typeof t=="string"?a=Vd(t):Array.isArray(t)&&(a=`
39
+ ${t.map(o=>` - ${Vd(o)}`).join(`
40
+ `)}`),`${i}${a!=null?`
41
+
42
+ More info: ${a}
43
+ `:""}`}},Mg=(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))(Mg||{}),qg=class extends jt{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:Ke`
44
+ Couldn't find story matching id '${e.storyId}' after HMR.
45
+ - Did you just rename a story?
46
+ - Did you remove it from your CSF file?
47
+ - Are you sure a story with the id '${e.storyId}' exists?
48
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
49
+ - Also check the browser console and terminal for potential error messages.`}),this.data=e}},Lg=class extends jt{constructor(e){super({name:"ImplicitActionsDuringRendering",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:Ke`
50
+ We detected that you use an implicit action arg while ${e.phase} of your story.
51
+ ${e.deprecated?`
52
+ This is deprecated and won't work in Storybook 8 anymore.
53
+ `:""}
54
+ Please provide an explicit spy to your args like this:
55
+ import { fn } from 'storybook/test';
56
+ ...
57
+ args: {
58
+ ${e.name}: fn()
59
+ }`}),this.data=e}},$g=class extends jt{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:Ke`
60
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
61
+
62
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}},Vg=class extends jt{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:Ke`
63
+ Expected your framework's preset to export a \`renderToCanvas\` field.
64
+
65
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},sr=class extends jt{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:Ke`
66
+ Called \`Preview.${e.methodName}()\` before initialization.
67
+
68
+ The preview needs to load the story index before most methods can be called. If you want
69
+ to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
70
+
71
+ If you didn't call the above code, then likely it was called by an addon that needs to
72
+ do the above.`}),this.data=e}},Ug=class extends jt{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:Ke`
73
+ Error fetching \`/index.json\`:
74
+
75
+ ${e.text}
76
+
77
+ If you are in development, this likely indicates a problem with your Storybook process,
78
+ check the terminal for errors.
79
+
80
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
81
+ build.`}),this.data=e}},Jg=class extends jt{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:Ke`
82
+ Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
83
+ references, or autodocs for a CSF file that some doesn't refer to itself.
84
+
85
+ This likely is an internal error in Storybook's indexing, or you've attached the
86
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}},Hg=class extends jt{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:Ke`
87
+ Couldn't find any stories in your Storybook.
88
+
89
+ - Please check your stories field of your main.js config: does it match correctly?
90
+ - Also check the browser console and terminal for error messages.`})}},Gg=class extends jt{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:Ke`
91
+ Couldn't find story matching '${e.storySpecifier}'.
92
+
93
+ - Are you sure a story with that id exists?
94
+ - Please check your stories field of your main.js config.
95
+ - Also check the browser console and terminal for error messages.`}),this.data=e}},zg=class extends jt{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:Ke`
96
+ Couldn't find story matching id '${e.storyId}' after importing a CSF file.
97
+
98
+ The file was indexed as if the story was there, but then after importing the file in the browser
99
+ we didn't find the story. Possible reasons:
100
+ - You are using a custom story indexer that is misbehaving.
101
+ - You have a custom file loader that is removing or renaming exports.
102
+
103
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}},Wg=class extends jt{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:Ke`
104
+ Cannot access the Story Store until the index is ready.
105
+
106
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
107
+ remove access to the store entirely`})}},Lc=class extends jt{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:Ke`
108
+ Incorrect use of mount in the play function.
109
+
110
+ To use mount in the play function, you must satisfy the following two requirements:
111
+
112
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
113
+ This makes sure that Storybook does not start rendering the story before the play function begins.
114
+
115
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
116
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
117
+ which prevents Storybook from recognizing your usage of \`mount\`.
118
+
119
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
120
+
121
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
122
+
123
+ Received the following play function:
124
+ ${e.playFunction}`}),this.data=e}},Kg=class extends jt{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:Ke`
125
+ No render function available for storyId '${e.id}'
126
+ `}),this.data=e}},Yg=class extends jt{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:Ke`
127
+ No component is mounted in your story.
128
+
129
+ This usually occurs when you destructure mount in the play function, but forget to call it.
130
+
131
+ For example:
132
+
133
+ async play({ mount, canvasElement }) {
134
+ // 👈 mount should be called: await mount();
135
+ const canvas = within(canvasElement);
136
+ const button = await canvas.findByRole('button');
137
+ await userEvent.click(button);
138
+ };
139
+
140
+ Make sure to either remove it or call mount in your play function.
141
+ `})}},JO=class extends jt{constructor(e){super({name:"StatusTypeIdMismatchError",category:"PREVIEW_API",code:16,message:`Status has typeId "${e.status.typeId}" but was added to store with typeId "${e.typeId}". Full status: ${JSON.stringify(e.status,null,2)}`}),this.data=e}},HO=class extends jt{constructor(){super({name:"NextJsSharpError",category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/frameworks/nextjs#error-you-are-importing-avif-images-but-you-dont-have-sharp-installed-you-have-to-install-sharp-in-order-to-use-image-optimization-features-in-nextjs",message:Ke`
142
+ You are importing avif images, but you don't have sharp installed.
143
+
144
+ You have to install sharp in order to use image optimization features in Next.js.
145
+ `})}},GO=class extends jt{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:Ke`
146
+ Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
147
+ `}),this.data=e}},zO=class extends jt{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Ke`
148
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
149
+ ${JSON.stringify(t.type,null,2)}
150
+
151
+ Storybook will fall back to use a generic type description instead.
152
+
153
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
154
+ If you think this is a bug, please detail it as much as possible in the Github issue.
155
+ `}),this.data=t}},WO=class extends jt{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:Ke`
156
+ Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
157
+
158
+ The Storybook plugin only supports values in the following units:
159
+ - px, vh, vw, em, rem and %.
160
+
161
+ 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
162
+ `}),this.data=e}},KO=class extends jt{constructor(){super({name:"ElementA11yParameterError",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.'})}},Xg={};or(Xg,{Addon_TypesEnum:()=>Qg,CoreWebpackCompiler:()=>tb,Feature:()=>nb,SupportedBuilder:()=>rb,SupportedFramework:()=>Zg,SupportedLanguage:()=>ib,SupportedRenderer:()=>eb});var Qg=(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))(Qg||{}),Zg=(e=>(e.ANGULAR="angular",e.EMBER="ember",e.HTML_VITE="html-vite",e.NEXTJS="nextjs",e.NEXTJS_VITE="nextjs-vite",e.PREACT_VITE="preact-vite",e.REACT_NATIVE_WEB_VITE="react-native-web-vite",e.REACT_VITE="react-vite",e.REACT_WEBPACK5="react-webpack5",e.SERVER_WEBPACK5="server-webpack5",e.SVELTE_VITE="svelte-vite",e.SVELTEKIT="sveltekit",e.VUE3_VITE="vue3-vite",e.WEB_COMPONENTS_VITE="web-components-vite",e.HTML_RSBUILD="html-rsbuild",e.NUXT="nuxt",e.QWIK="qwik",e.REACT_RSBUILD="react-rsbuild",e.SOLID="solid",e.VUE3_RSBUILD="vue3-rsbuild",e.WEB_COMPONENTS_RSBUILD="web-components-rsbuild",e))(Zg||{}),eb=(e=>(e.REACT="react",e.REACT_NATIVE="react-native",e.VUE3="vue3",e.ANGULAR="angular",e.EMBER="ember",e.PREACT="preact",e.SVELTE="svelte",e.QWIK="qwik",e.HTML="html",e.WEB_COMPONENTS="web-components",e.SERVER="server",e.SOLID="solid",e.NUXT="nuxt",e))(eb||{}),tb=(e=>(e.Babel="babel",e.SWC="swc",e))(tb||{}),rb=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(rb||{}),nb=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e))(nb||{}),ib=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(ib||{}),ob={};or(ob,{ADDON_ID:()=>bs,CLEAR_ID:()=>QO,CYCLIC_KEY:()=>ZO,EVENT_ID:()=>ab,PANEL_ID:()=>XO,PARAM_KEY:()=>YO,action:()=>ea,actions:()=>S4,config:()=>qo,configureActions:()=>w4});var YO="actions",bs="storybook/actions",XO=`${bs}/panel`,ab=`${bs}/action-event`,QO=`${bs}/action-clear`,ZO="$___storybook.isCyclic",zu={};or(zu,{DocsContext:()=>yd,HooksContext:()=>$c,Preview:()=>$A,PreviewWeb:()=>f4,PreviewWithSelection:()=>VA,ReporterAPI:()=>md,StoryStore:()=>qA,Tag:()=>Gr,UrlStore:()=>zA,WebView:()=>KA,addons:()=>br,applyHooks:()=>ub,combineArgs:()=>ns,combineParameters:()=>Zn,composeConfigs:()=>Ii,composeStepRunners:()=>NA,composeStories:()=>$9,composeStory:()=>MA,createPlaywrightTest:()=>V9,decorateStory:()=>SA,defaultDecorateStory:()=>DA,emitTransformCode:()=>A4,filterArgTypes:()=>IA,getCsfFactoryAnnotations:()=>kA,inferControls:()=>dd,makeDecorator:()=>fF,mockChannel:()=>sb,normalizeArrays:()=>ht,normalizeProjectAnnotations:()=>os,normalizeStory:()=>mo,pauseAnimations:()=>fd,prepareMeta:()=>RA,prepareStory:()=>pd,sanitizeStoryContextUpdate:()=>xA,setDefaultProjectAnnotations:()=>B9,setProjectAnnotations:()=>q9,simulateDOMContentLoaded:()=>Yl,simulatePageLoad:()=>g4,sortStoriesV7:()=>Y9,useArgs:()=>pF,useCallback:()=>_o,useChannel:()=>lF,useEffect:()=>Wn,useGlobals:()=>dF,useMemo:()=>cb,useParameter:()=>cF,useReducer:()=>uF,useRef:()=>oF,useState:()=>sF,useStoryContext:()=>vs,userOrAutoTitle:()=>z9,userOrAutoTitleFromSpecifier:()=>LA,waitForAnimations:()=>hd});function sb(){let e={setHandler:()=>{},send:()=>{}};return new hs({transport:e})}var eF=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=sb();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Zs="__STORYBOOK_ADDONS_PREVIEW";function tF(){return we[Zs]||(we[Zs]=new eF),we[Zs]}var br=tF(),$c=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=e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},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(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),br.getChannel().on(Ba,this.renderListener)}removeRenderListeners(){br.getChannel().removeListener(Ba,this.renderListener)}};function Ud(e){let t=(...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,a=n.currentHooks,o=n.nextHookIndex,s=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 l=we.STORYBOOK_HOOKS_CONTEXT;we.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(we.STORYBOOK_HOOKS_CONTEXT=l,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=i,n.currentHooks=a,n.nextHookIndex=o,n.currentDecoratorName=s,u};return t.originalFn=e,t}var eu=0,rF=25,ub=e=>(t,r)=>{let n=e(Ud(t),r.map(i=>Ud(i)));return i=>{let{hooks:a}=i;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=i,a.hasUpdates=!1;let o=n(i);for(eu=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],o=n(i),eu+=1,eu>rF)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),o}},nF=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),Vc=()=>new Error("Storybook preview hooks can only be called inside decorators and story functions.");function lb(){return we.STORYBOOK_HOOKS_CONTEXT||null}function Uc(){let e=lb();if(e==null)throw Vc();return e}function iF(e,t,r){let n=Uc();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&vt.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:e,deps:r};return n.currentHooks.push(i),t(i),i}if(n.currentPhase==="UPDATE"){let i=n.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==e&&vt.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&&i.deps==null&&vt.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&&i.deps!=null&&r.length!==i.deps.length&&vt.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
163
+ Previous: ${i.deps}
164
+ Incoming: ${r}`),(r==null||i.deps==null||!nF(r,i.deps))&&(t(i),i.deps=r),i}throw Vc()}function Es(e,t,r){let{memoizedState:n}=iF(e,i=>{i.memoizedState=t()},r);return n}function cb(e,t){return Es("useMemo",e,t)}function _o(e,t){return Es("useCallback",()=>e,t)}function pb(e,t){return Es(e,()=>({current:t}),[])}function oF(e){return pb("useRef",e)}function aF(){let e=lb();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{br.getChannel().emit(wc)}catch{vt.warn("State updates of Storybook preview hooks work only in browser")}}function db(e,t){let r=pb(e,typeof t=="function"?t():t),n=i=>{r.current=typeof i=="function"?i(r.current):i,aF()};return[r.current,n]}function sF(e){return db("useState",e)}function uF(e,t,r){let n=r!=null?()=>r(t):t,[i,a]=db("useReducer",n);return[i,o=>a(s=>e(s,o))]}function Wn(e,t){let r=Uc(),n=Es("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function lF(e,t=[]){let r=br.getChannel();return Wn(()=>(Object.entries(e).forEach(([n,i])=>r.on(n,i)),()=>{Object.entries(e).forEach(([n,i])=>r.removeListener(n,i))}),[...Object.keys(e),...t]),_o(r.emit.bind(r),[r])}function vs(){let{currentContext:e}=Uc();if(e==null)throw Vc();return e}function cF(e,t){let{parameters:r}=vs();if(e)return r[e]??t}function pF(){let e=br.getChannel(),{id:t,args:r}=vs(),n=_o(a=>e.emit(xc,{storyId:t,updatedArgs:a}),[e,t]),i=_o(a=>e.emit(Tc,{storyId:t,argNames:a}),[e,t]);return[r,n,i]}function dF(){let e=br.getChannel(),{globals:t}=vs(),r=_o(n=>e.emit(Sc,{globals:n}),[e]);return[t,r]}var fF=({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let i=a=>(o,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?o(s):r(o,s,{options:a,parameters:l})};return(...a)=>typeof a[0]=="function"?i()(...a):(...o)=>{if(o.length>1)return a.length>1?i(a)(...o):i(...a)(...o);throw new Error(`Passing stories directly into ${e}() is not allowed,
165
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function hF(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,i)=>`${r} ${n}${i}`).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()}var Jd=Pt(E1(),1),fb=e=>e.map(t=>typeof t<"u").filter(Boolean).length,mF=(e,t)=>{let{exists:r,eq:n,neq:i,truthy:a}=e;if(fb([r,n,i,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:i})}`);if(typeof n<"u")return(0,Jd.isEqual)(t,n);if(typeof i<"u")return!(0,Jd.isEqual)(t,i);if(typeof r<"u"){let o=typeof t<"u";return r?o:!o}return typeof a>"u"||a?!!t:!t},yF=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:i}=e.if;if(fb([n,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:i})}`);let a=n?t[n]:r[i];return mF(e.if,a)};function gF(e){return e!=null&&bF(e).includes("mount")}function bF(e){let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=tu(t);if(!n)return[];let[,i]=n.match(/^{([^]+)}$/)||[];if(i)return tu(Hd(i)).map(s=>s.replace(/:.*|=.*/g,"").trim());if(!n.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let a=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,o]=r?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${a};`))||[];return o?tu(Hd(o)).map(s=>s.replace(/:.*|=.*/g,"").trim()):[]}function Hd(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function tu(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let o=e.substring(n,a).trim();o&&t.push(o),n=a+1}let i=e.substring(n).trim();return i&&t.push(i),t}var Gr={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},hb={};or(hb,{argsEnhancers:()=>_F});var mb=(e,t)=>typeof t[e]>"u"&&!(e in t),EF=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!r)return{};let a=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([o])=>!!a.test(o)).reduce((o,[s,l])=>(mb(s,t)&&(o[s]=ea(s,{implicit:!0,id:n})),o),{})},vF=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([i,a])=>!!a.action).reduce((i,[a,o])=>(mb(a,t)&&(i[a]=ea(typeof o.action=="string"?o.action:a)),i),{})},_F=[vF,EF],yb={};or(yb,{loaders:()=>T6});var gb={};or(gb,{buildQueries:()=>n5,clearAllMocks:()=>rv,configure:()=>i5,createEvent:()=>o5,expect:()=>_6,findAllByAltText:()=>s5,findAllByDisplayValue:()=>u5,findAllByLabelText:()=>l5,findAllByPlaceholderText:()=>c5,findAllByRole:()=>p5,findAllByTestId:()=>d5,findAllByText:()=>f5,findAllByTitle:()=>h5,findByAltText:()=>m5,findByDisplayValue:()=>y5,findByLabelText:()=>g5,findByPlaceholderText:()=>b5,findByRole:()=>E5,findByTestId:()=>v5,findByText:()=>_5,findByTitle:()=>A5,fireEvent:()=>a5,fn:()=>ev,getAllByAltText:()=>w5,getAllByDisplayValue:()=>T5,getAllByLabelText:()=>C5,getAllByPlaceholderText:()=>S5,getAllByRole:()=>x5,getAllByTestId:()=>D5,getAllByText:()=>R5,getAllByTitle:()=>P5,getByAltText:()=>O5,getByDisplayValue:()=>F5,getByLabelText:()=>I5,getByPlaceholderText:()=>N5,getByRole:()=>B5,getByTestId:()=>j5,getByText:()=>k5,getByTitle:()=>M5,getConfig:()=>q5,getDefaultNormalizer:()=>L5,getElementError:()=>$5,getNodeText:()=>V5,getQueriesForElement:()=>U5,getRoles:()=>J5,getSuggestedQuery:()=>H5,isInaccessible:()=>G5,isMockFunction:()=>gi,logDOM:()=>z5,logRoles:()=>W5,mocked:()=>Pk,mocks:()=>Ko,onMockCall:()=>ZE,prettyDOM:()=>K5,prettyFormat:()=>E6,queries:()=>Y5,queryAllByAltText:()=>X5,queryAllByAttribute:()=>Q5,queryAllByDisplayValue:()=>Z5,queryAllByLabelText:()=>e6,queryAllByPlaceholderText:()=>t6,queryAllByRole:()=>r6,queryAllByTestId:()=>n6,queryAllByText:()=>i6,queryAllByTitle:()=>o6,queryByAltText:()=>a6,queryByAttribute:()=>s6,queryByDisplayValue:()=>u6,queryByLabelText:()=>l6,queryByPlaceholderText:()=>c6,queryByRole:()=>p6,queryByTestId:()=>d6,queryByText:()=>f6,queryByTitle:()=>h6,queryHelpers:()=>m6,resetAllMocks:()=>nv,restoreAllMocks:()=>iv,sb:()=>A6,screen:()=>y6,spyOn:()=>Rk,uninstrumentedUserEvent:()=>yA,userEvent:()=>v6,waitFor:()=>g6,waitForElementToBeRemoved:()=>b6,within:()=>mA});var AF={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]},bb=Object.entries(AF);function _s(e){return String(e)}_s.open="";_s.close="";bb.reduce((e,[t])=>(e[t]=_s,e),{isColorSupported:!1});function wF(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function TF(e=!1){let t=wF(e),r=(o,s,l,u)=>{let p="",f=0;do p+=o.substring(f,u)+l,f=u+s.length,u=o.indexOf(s,f);while(~u);return p+o.substring(f)},n=(o,s,l=o)=>{let u=p=>{let f=String(p),h=f.indexOf(s,o.length);return~h?o+r(f,s,l,h)+s:o+f+s};return u.open=o,u.close=s,u},i={isColorSupported:t},a=o=>`\x1B[${o}m`;for(let[o,s]of bb)i[o]=t?n(a(s[0]),a(s[1]),s[2]):_s;return i}var zr=TF();function Eb(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 i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function CF(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}function Vo(e,t,r,n,i,a,o=": "){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let p=r+t.indent;for(;!u.done;){if(s+=p,l++===t.maxWidth){s+="…";break}let f=a(u.value[0],t,p,n,i),h=a(u.value[1],t,p,n,i);s+=f+o+h,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Jc(e,t,r,n,i,a){let o="",s=0,l=e.next();if(!l.done){o+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){if(o+=u,s++===t.maxWidth){o+="…";break}o+=a(l.value,t,u,n,i),l=e.next(),l.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}function ja(e,t,r,n,i,a){let o="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=u=>u instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){o+=t.spacingOuter;let u=r+t.indent;for(let p=0;p<l;p++){if(o+=u,p===t.maxWidth){o+="…";break}(s(e)||p in e)&&(o+=a(s(e)?e.getInt8(p):e[p],t,u,n,i)),p<l-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}function Hc(e,t,r,n,i,a){let o="",s=CF(e,t.compareKeys);if(s.length>0){o+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let p=s[u],f=a(p,t,l,n,i),h=a(e[p],t,l,n,i);o+=`${l+f}: ${h}`,u<s.length-1?o+=`,${t.spacingInner}`:t.min||(o+=",")}o+=t.spacingOuter+r}return o}var SF=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ru=" ",xF=(e,t,r,n,i,a)=>{let o=e.toString();if(o==="ArrayContaining"||o==="ArrayNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+ru}[${ja(e.sample,t,r,n,i,a)}]`;if(o==="ObjectContaining"||o==="ObjectNotContaining")return++n>t.maxDepth?`[${o}]`:`${o+ru}{${Hc(e.sample,t,r,n,i,a)}}`;if(o==="StringMatching"||o==="StringNotMatching"||o==="StringContaining"||o==="StringNotContaining")return o+ru+a(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},DF=e=>e&&e.$$typeof===SF,RF={serialize:xF,test:DF},PF=" ",vb=new Set(["DOMStringMap","NamedNodeMap"]),OF=/^(?:HTML\w*Collection|NodeList)$/;function FF(e){return vb.has(e)||OF.test(e)}var IF=e=>e&&e.constructor&&!!e.constructor.name&&FF(e.constructor.name);function NF(e){return e.constructor.name==="NamedNodeMap"}var BF=(e,t,r,n,i,a)=>{let o=e.constructor.name;return++n>t.maxDepth?`[${o}]`:(t.min?"":o+PF)+(vb.has(o)?`{${Hc(NF(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,i,a)}}`:`[${ja([...e],t,r,n,i,a)}]`)},jF={serialize:BF,test:IF};function _b(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Gc(e,t,r,n,i,a,o){let s=n+r.indent,l=r.colors;return e.map(u=>{let p=t[u],f=o(p,r,s,i,a);return typeof p!="string"&&(f.includes(`
166
+ `)&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f=`{${f}}`),`${r.spacingInner+n+l.prop.open+u+l.prop.close}=${l.value.open}${f}${l.value.close}`}).join("")}function zc(e,t,r,n,i,a){return e.map(o=>t.spacingOuter+r+(typeof o=="string"?Ab(o,t):a(o,t,r,n,i))).join("")}function Ab(e,t){let r=t.colors.content;return r.open+_b(e)+r.close}function kF(e,t){let r=t.colors.comment;return`${r.open}<!--${_b(e)}-->${r.close}`}function Wc(e,t,r,n,i){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+i+a.open}${r?`>${a.close}${r}${n.spacingOuter}${i}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function Kc(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var MF=1,wb=3,Tb=8,Cb=11,qF=/^(?:(?:HTML|SVG)\w*)?Element$/;function LF(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function $F(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||LF(e);return r===MF&&(qF.test(t)||i)||r===wb&&t==="Text"||r===Tb&&t==="Comment"||r===Cb&&t==="DocumentFragment"}var VF=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&$F(e)};function UF(e){return e.nodeType===wb}function JF(e){return e.nodeType===Tb}function nu(e){return e.nodeType===Cb}var HF=(e,t,r,n,i,a)=>{if(UF(e))return Ab(e.data,t);if(JF(e))return kF(e.data,t);let o=nu(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Kc(o,t):Wc(o,Gc(nu(e)?[]:Array.from(e.attributes,s=>s.name).sort(),nu(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,i,a),zc(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,a),t,r)},GF={serialize:HF,test:VF},zF="@@__IMMUTABLE_ITERABLE__@@",WF="@@__IMMUTABLE_LIST__@@",KF="@@__IMMUTABLE_KEYED__@@",YF="@@__IMMUTABLE_MAP__@@",Gd="@@__IMMUTABLE_ORDERED__@@",XF="@@__IMMUTABLE_RECORD__@@",QF="@@__IMMUTABLE_SEQ__@@",ZF="@@__IMMUTABLE_SET__@@",eI="@@__IMMUTABLE_STACK__@@",_i=e=>`Immutable.${e}`,As=e=>`[${e}]`,Ao=" ",zd="…";function tI(e,t,r,n,i,a,o){return++n>t.maxDepth?As(_i(o)):`${_i(o)+Ao}{${Vo(e.entries(),t,r,n,i,a)}}`}function rI(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}}}}function nI(e,t,r,n,i,a){let o=_i(e._name||"Record");return++n>t.maxDepth?As(o):`${o+Ao}{${Vo(rI(e),t,r,n,i,a)}}`}function iI(e,t,r,n,i,a){let o=_i("Seq");return++n>t.maxDepth?As(o):e[KF]?`${o+Ao}{${e._iter||e._object?Vo(e.entries(),t,r,n,i,a):zd}}`:`${o+Ao}[${e._iter||e._array||e._collection||e._iterable?Jc(e.values(),t,r,n,i,a):zd}]`}function iu(e,t,r,n,i,a,o){return++n>t.maxDepth?As(_i(o)):`${_i(o)+Ao}[${Jc(e.values(),t,r,n,i,a)}]`}var oI=(e,t,r,n,i,a)=>e[YF]?tI(e,t,r,n,i,a,e[Gd]?"OrderedMap":"Map"):e[WF]?iu(e,t,r,n,i,a,"List"):e[ZF]?iu(e,t,r,n,i,a,e[Gd]?"OrderedSet":"Set"):e[eI]?iu(e,t,r,n,i,a,"Stack"):e[QF]?iI(e,t,r,n,i,a):nI(e,t,r,n,i,a),aI=e=>e&&(e[zF]===!0||e[XF]===!0),sI={serialize:oI,test:aI};function Sb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wd={exports:{}},lt={},Kd;function uI(){if(Kd)return lt;Kd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(E){if(typeof E=="object"&&E!==null){var A=E.$$typeof;switch(A){case e:switch(E=E.type,E){case r:case i:case n:case l:case u:case h:return E;default:switch(E=E&&E.$$typeof,E){case o:case s:case f:case p:return E;case a:return E;default:return A}}case t:return A}}}return lt.ContextConsumer=a,lt.ContextProvider=o,lt.Element=e,lt.ForwardRef=s,lt.Fragment=r,lt.Lazy=f,lt.Memo=p,lt.Portal=t,lt.Profiler=i,lt.StrictMode=n,lt.Suspense=l,lt.SuspenseList=u,lt.isContextConsumer=function(E){return g(E)===a},lt.isContextProvider=function(E){return g(E)===o},lt.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},lt.isForwardRef=function(E){return g(E)===s},lt.isFragment=function(E){return g(E)===r},lt.isLazy=function(E){return g(E)===f},lt.isMemo=function(E){return g(E)===p},lt.isPortal=function(E){return g(E)===t},lt.isProfiler=function(E){return g(E)===i},lt.isStrictMode=function(E){return g(E)===n},lt.isSuspense=function(E){return g(E)===l},lt.isSuspenseList=function(E){return g(E)===u},lt.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===i||E===n||E===l||E===u||typeof E=="object"&&E!==null&&(E.$$typeof===f||E.$$typeof===p||E.$$typeof===o||E.$$typeof===a||E.$$typeof===s||E.$$typeof===m||E.getModuleId!==void 0)},lt.typeOf=g,lt}var Yd;function lI(){return Yd||(Yd=1,Wd.exports=uI()),Wd.exports}var xb=lI(),cI=Sb(xb),pI=Eb({__proto__:null,default:cI},[xb]),Xd={exports:{}},at={},Qd;function dI(){if(Qd)return at;Qd=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function E(A){if(typeof A=="object"&&A!==null){var v=A.$$typeof;switch(v){case e:switch(A=A.type,A){case r:case i:case n:case u:case p:return A;default:switch(A=A&&A.$$typeof,A){case s:case o:case l:case h:case f:case a:return A;default:return v}}case t:return v}}}return at.ContextConsumer=o,at.ContextProvider=a,at.Element=e,at.ForwardRef=l,at.Fragment=r,at.Lazy=h,at.Memo=f,at.Portal=t,at.Profiler=i,at.StrictMode=n,at.Suspense=u,at.SuspenseList=p,at.isAsyncMode=function(){return!1},at.isConcurrentMode=function(){return!1},at.isContextConsumer=function(A){return E(A)===o},at.isContextProvider=function(A){return E(A)===a},at.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},at.isForwardRef=function(A){return E(A)===l},at.isFragment=function(A){return E(A)===r},at.isLazy=function(A){return E(A)===h},at.isMemo=function(A){return E(A)===f},at.isPortal=function(A){return E(A)===t},at.isProfiler=function(A){return E(A)===i},at.isStrictMode=function(A){return E(A)===n},at.isSuspense=function(A){return E(A)===u},at.isSuspenseList=function(A){return E(A)===p},at.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===i||A===n||A===u||A===p||A===m||typeof A=="object"&&A!==null&&(A.$$typeof===h||A.$$typeof===f||A.$$typeof===a||A.$$typeof===o||A.$$typeof===l||A.$$typeof===g||A.getModuleId!==void 0)},at.typeOf=E,at}var Zd;function fI(){return Zd||(Zd=1,Xd.exports=dI()),Xd.exports}var Db=fI(),hI=Sb(Db),mI=Eb({__proto__:null,default:hI},[Db]),yI=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Ln=Object.fromEntries(yI.map(e=>[e,t=>mI[e](t)||pI[e](t)]));function Rb(e,t=[]){if(Array.isArray(e))for(let r of e)Rb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ef(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ln.isFragment(e))return"React.Fragment";if(Ln.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ln.isContextProvider(e))return"Context.Provider";if(Ln.isContextConsumer(e))return"Context.Consumer";if(Ln.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ln.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function gI(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var bI=(e,t,r,n,i,a)=>++n>t.maxDepth?Kc(ef(e),t):Wc(ef(e),Gc(gI(e),e.props,t,r+t.indent,n,i,a),zc(Rb(e.props.children),t,r+t.indent,n,i,a),t,r),EI=e=>e!=null&&Ln.isElement(e),vI={serialize:bI,test:EI},_I=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function AI(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var wI=(e,t,r,n,i,a)=>++n>t.maxDepth?Kc(e.type,t):Wc(e.type,e.props?Gc(AI(e),e.props,t,r+t.indent,n,i,a):"",e.children?zc(e.children,t,r+t.indent,n,i,a):"",t,r),TI=e=>e&&e.$$typeof===_I,CI={serialize:wI,test:TI},Pb=Object.prototype.toString,SI=Date.prototype.toISOString,xI=Error.prototype.toString,tf=RegExp.prototype.toString;function wa(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function DI(e){return typeof window<"u"&&e===window}var RI=/^Symbol\((.*)\)(.*)$/,PI=/\n/g,Ob=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function OI(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function FI(e){return Object.is(e,-0)?"-0":String(e)}function II(e){return`${e}n`}function rf(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function nf(e){return String(e).replace(RI,"Symbol($1)")}function of(e){return`[${xI.call(e)}]`}function Fb(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return FI(e);if(i==="bigint")return II(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return rf(e,t);if(i==="symbol")return nf(e);let a=Pb.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?rf(e,t):a==="[object Symbol]"?nf(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":SI.call(e):a==="[object Error]"?of(e):a==="[object RegExp]"?r?tf.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):tf.call(e):e instanceof Error?of(e):null}function Ib(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let o=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!o&&e.toJSON&&typeof e.toJSON=="function"&&!a)return yn(e.toJSON(),t,r,n,i,!0);let l=Pb.call(e);return l==="[object Arguments]"?o?"[Arguments]":`${s?"":"Arguments "}[${ja(e,t,r,n,i,yn)}]`:OI(l)?o?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ja(e,t,r,n,i,yn)}]`:l==="[object Map]"?o?"[Map]":`Map {${Vo(e.entries(),t,r,n,i,yn," => ")}}`:l==="[object Set]"?o?"[Set]":`Set {${Jc(e.values(),t,r,n,i,yn)}}`:o||DI(e)?`[${wa(e)}]`:`${s||!t.printBasicPrototype&&wa(e)==="Object"?"":`${wa(e)} `}{${Hc(e,t,r,n,i,yn)}}`}var NI={test:e=>e&&e instanceof Error,serialize(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i,e];let o=++n>t.maxDepth,{message:s,cause:l,...u}=e,p={message:s,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},f=e.name!=="Error"?e.name:wa(e);return o?`[${f}]`:`${f} {${Vo(Object.entries(p).values(),t,r,n,i,a)}}`}};function BI(e){return e.serialize!=null}function Nb(e,t,r,n,i,a){let o;try{o=BI(e)?e.serialize(t,r,n,i,a,yn):e.print(t,s=>yn(s,r,n,i,a),s=>{let l=n+r.indent;return l+s.replaceAll(PI,`
167
+ ${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Ob(s.message,s.stack)}if(typeof o!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof o}".`);return o}function Bb(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Ob(n.message,n.stack)}return null}function yn(e,t,r,n,i,a){let o=Bb(t.plugins,e);if(o!==null)return Nb(o,e,t,r,n,i);let s=Fb(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Ib(e,t,r,n,i,a)}var Yc={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},jb=Object.keys(Yc),Ar={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:Yc};function jI(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ar,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function kI(){return jb.reduce((e,t)=>{let r=Yc[t],n=r&&zr[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function MI(){return jb.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function kb(e){return e?.printFunctionName??Ar.printFunctionName}function Mb(e){return e?.escapeRegex??Ar.escapeRegex}function qb(e){return e?.escapeString??Ar.escapeString}function af(e){return{callToJSON:e?.callToJSON??Ar.callToJSON,colors:e?.highlight?kI():MI(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Ar.compareKeys,escapeRegex:Mb(e),escapeString:qb(e),indent:e?.min?"":qI(e?.indent??Ar.indent),maxDepth:e?.maxDepth??Ar.maxDepth,maxWidth:e?.maxWidth??Ar.maxWidth,min:e?.min??Ar.min,plugins:e?.plugins??Ar.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:kb(e),spacingInner:e?.min?" ":`
168
+ `,spacingOuter:e?.min?"":`
169
+ `}}function qI(e){return Array.from({length:e+1}).join(" ")}function Ir(e,t){if(t&&(jI(t),t.plugins)){let n=Bb(t.plugins,e);if(n!==null)return Nb(n,e,af(t),"",0,[])}let r=Fb(e,kb(t),Mb(t),qb(t));return r!==null?r:Ib(e,af(t),"",0,[])}var Xc={AsymmetricMatcher:RF,DOMCollection:jF,DOMElement:GF,Immutable:sI,ReactElement:vI,ReactTestComponent:CI,Error:NI},sf={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"]},LI={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ai="…";function $I(e,t){let r=sf[LI[t]]||sf[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function VI({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:o=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},p){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(o),truncate:Number(l),seen:s,inspect:p,stylize:u};return f.colors&&(f.stylize=$I),f}function UI(e){return e>="\uD800"&&e<="\uDBFF"}function On(e,t,r=Ai){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&UI(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function xr(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,o="",s="",l="";for(let u=0;u<i;u+=1){let p=u+1===e.length,f=u+2===e.length;l=`${Ai}(${e.length-u})`;let h=e[u];t.truncate=a-o.length-(p?0:n.length);let m=s||r(h,t)+(p?"":n),g=o.length+m.length,E=g+l.length;if(p&&g>a&&o.length+l.length<=a||!p&&!f&&E>a||(s=p?"":r(e[u+1],t)+(f?"":n),!p&&f&&E>a&&g+s.length>a))break;if(o+=m,!p&&!f&&g+s.length>=a){l=`${Ai}(${e.length-u-1})`;break}l=""}return`${o}${l}`}function JI(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function wo([e,t],r){return r.truncate-=2,typeof e=="string"?e=JI(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function HI(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=xr(e,t);t.truncate-=n.length;let i="";return r.length&&(i=xr(r.map(a=>[a,e[a]]),t,wo)),`[ ${n}${i?`, ${i}`:""} ]`}var GI=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function $r(e,t){let r=GI(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let o=0;o<e.length;o++){let s=`${t.stylize(On(e[o],t.truncate),"number")}${o===e.length-1?"":", "}`;if(t.truncate-=s.length,e[o]!==e.length&&t.truncate<=3){i+=`${Ai}(${e.length-e[o]+1})`;break}i+=s}let a="";return n.length&&(a=xr(n.map(o=>[o,e[o]]),t,wo)),`${r}[ ${i}${a?`, ${a}`:""} ]`}function zI(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${On(n[1],t.truncate-i.length-1)}`,"date")}function uf(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")}function WI([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function KI(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function YI(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${xr(KI(e),t,WI)} }`)}var XI=Number.isNaN||(e=>e!==e);function lf(e,t){return XI(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")}function cf(e,t){let r=On(e.toString(),t.truncate-1);return r!==Ai&&(r+="n"),t.stylize(r,"bigint")}function QI(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${On(i,n)}/${r}`,"regexp")}function ZI(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function eN(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${xr(ZI(e),t)} }`)}var pf=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),tN={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},rN=16;function nN(e){return tN[e]||`\\u${`0000${e.charCodeAt(0).toString(rN)}`.slice(-4)}`}function df(e,t){return pf.test(e)&&(e=e.replace(pf,nN)),t.stylize(`'${On(e,t.truncate-2)}'`,"string")}function ff(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Lb=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Lb=(n,i)=>{let[a,o]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(o,i)}}`})}catch{}var iN=Lb;function Ta(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 i=xr(r.map(s=>[s,e[s]]),t,wo),a=xr(n.map(s=>[s,e[s]]),t,wo);t.seen.pop();let o="";return i&&a&&(o=", "),`{ ${i}${o}${a} }`}var ou=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function oN(e,t){let r="";return ou&&ou in e&&(r=e[ou]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ta(e,t)}`}function aN(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${xr(e,t)} ]`)}var sN=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function uN(e,t){let r=Object.getOwnPropertyNames(e).filter(o=>sN.indexOf(o)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=On(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=xr(r.map(o=>[o,e[o]]),t,wo);return`${n}${i}${a?` { ${a} }`:""}`}function lN([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Wu(e,t){return xr(e,t,cN,`
170
+ `)}function cN(e,t){switch(e.nodeType){case 1:return $b(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function $b(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),o=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=xr(r.map(p=>[p,e.getAttribute(p)]),t,lN," ")),t.truncate-=s.length;let l=t.truncate,u=Wu(e.children,t);return u&&u.length>l&&(u=`${Ai}(${e.children.length})`),`${i}${s}${a}${u}${o}`}var pN=typeof Symbol=="function"&&typeof Symbol.for=="function",au=pN?Symbol.for("chai/inspect"):"@@chai/inspect",su=Symbol.for("nodejs.util.inspect.custom"),hf=new WeakMap,mf={},yf={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:lf,Number:lf,bigint:cf,BigInt:cf,string:df,String:df,function:uf,Function:uf,symbol:ff,Symbol:ff,Array:HI,Date:zI,Map:YI,Set:eN,RegExp:QI,Promise:iN,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:aN,Int8Array:$r,Uint8Array:$r,Uint8ClampedArray:$r,Int16Array:$r,Uint16Array:$r,Int32Array:$r,Uint32Array:$r,Float32Array:$r,Float64Array:$r,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:uN,HTMLCollection:Wu,NodeList:Wu},dN=(e,t,r)=>au in e&&typeof e[au]=="function"?e[au](t):su in e&&typeof e[su]=="function"?e[su](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&hf.has(e.constructor)?hf.get(e.constructor)(e,t):mf[r]?mf[r](e,t):"",fN=Object.prototype.toString;function Ku(e,t={}){let r=VI(t,Ku),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=fN.call(e).slice(8,-1)),i in yf)return yf[i](e,r);if(n&&e){let o=dN(e,r,i);if(o)return typeof o=="string"?o:Ku(o,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Ta(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?$b(e,r):"constructor"in e?e.constructor!==Object?oN(e,r):Ta(e,r):e===Object(e)?Ta(e,r):r.stylize(String(e),i)}var{AsymmetricMatcher:hN,DOMCollection:mN,DOMElement:yN,Immutable:gN,ReactElement:bN,ReactTestComponent:EN}=Xc,gf=[EN,bN,yN,mN,gN,hN];function pr(e,t=10,{maxLength:r,...n}={}){let i=r??1e4,a;try{a=Ir(e,{maxDepth:t,escapeString:!1,plugins:gf,...n})}catch{a=Ir(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:gf,...n})}return a.length>=i&&t>1?pr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}var vN=/%[sdjifoOc%]/g;function _N(...e){if(typeof e[0]!="string"){let a=[];for(let o=0;o<e.length;o++)a.push(Ki(e[o],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(vN,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?typeof o.toString=="function"&&o.toString!==Object.prototype.toString?o.toString():Ki(o,{depth:0,colors:!1}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ki(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ki(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let s=o.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw o}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?i+=` ${a}`:i+=` ${Ki(a)}`;return i}function Ki(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ku(e,t)}function Vb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Ca(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function AN(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ka(e){return Object.prototype.toString.apply(e).slice(8,-1)}function wN(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Ub(e){let t=new Set;return AN(e)?[]:(wN(e,t),Array.from(t))}var Jb={forceWritable:!1};function bf(e,t=Jb){return Yu(e,new WeakMap,t)}function Yu(e,t,r=Jb){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=Yu(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let a=Ub(e);for(let o of a){let s=Object.getOwnPropertyDescriptor(e,o);if(!s)continue;let l=Yu(e[o],t,r);r.forceWritable?Object.defineProperty(i,o,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(i,o,{...s,get(){return l}}):Object.defineProperty(i,o,{...s,value:l})}return i}return e}function TN(){}var zt=-1,Vt=1,Dt=0,St=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function CN(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(a,i)===t.substring(a,i)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}function Hb(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),i=n,a=0;for(;r<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}function Ef(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 i=Math.min(r,n);if(e===t)return i;let a=0,o=1;for(;;){let s=e.substring(i-o),l=t.indexOf(s);if(l===-1)return a;o+=l,(l===0||e.substring(i-o)===t.substring(0,o))&&(a=o,o++)}}function SN(e){let t=!1,r=[],n=0,i=null,a=0,o=0,s=0,l=0,u=0;for(;a<e.length;)e[a][0]===Dt?(r[n++]=a,o=l,s=u,l=0,u=0,i=e[a][1]):(e[a][0]===Vt?l+=e[a][1].length:u+=e[a][1].length,i&&i.length<=Math.max(o,s)&&i.length<=Math.max(l,u)&&(e.splice(r[n-1],0,new St(zt,i)),e[r[n-1]+1][0]=Vt,n--,n--,a=n>0?r[n-1]:-1,o=0,s=0,l=0,u=0,i=null,t=!0)),a++;for(t&&Gb(e),RN(e),a=1;a<e.length;){if(e[a-1][0]===zt&&e[a][0]===Vt){let p=e[a-1][1],f=e[a][1],h=Ef(p,f),m=Ef(f,p);h>=m?(h>=p.length/2||h>=f.length/2)&&(e.splice(a,0,new St(Dt,f.substring(0,h))),e[a-1][1]=p.substring(0,p.length-h),e[a+1][1]=f.substring(h),a++):(m>=p.length/2||m>=f.length/2)&&(e.splice(a,0,new St(Dt,p.substring(0,m))),e[a-1][0]=Vt,e[a-1][1]=f.substring(0,f.length-m),e[a+1][0]=zt,e[a+1][1]=p.substring(m),a++),a++}a++}}var vf=/[^a-z0-9]/i,_f=/\s/,Af=/[\r\n]/,xN=/\n\r?\n$/,DN=/^\r?\n\r?\n/;function RN(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Dt&&e[t+1][0]===Dt){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],a=Hb(r,n);if(a){let p=n.substring(n.length-a);r=r.substring(0,r.length-a),n=p+n.substring(0,n.length-a),i=p+i}let o=r,s=n,l=i,u=aa(r,n)+aa(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let p=aa(r,n)+aa(n,i);p>=u&&(u=p,o=r,s=n,l=i)}e[t-1][1]!==o&&(o?e[t-1][1]=o:(e.splice(t-1,1),t--),e[t][1]=s,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function Gb(e){e.push(new St(Dt,""));let t=0,r=0,n=0,i="",a="",o;for(;t<e.length;)switch(e[t][0]){case Vt:n++,a+=e[t][1],t++;break;case zt:r++,i+=e[t][1],t++;break;case Dt:r+n>1?(r!==0&&n!==0&&(o=CN(a,i),o!==0&&(t-r-n>0&&e[t-r-n-1][0]===Dt?e[t-r-n-1][1]+=a.substring(0,o):(e.splice(0,0,new St(Dt,a.substring(0,o))),t++),a=a.substring(o),i=i.substring(o)),o=Hb(a,i),o!==0&&(e[t][1]=a.substring(a.length-o)+e[t][1],a=a.substring(0,a.length-o),i=i.substring(0,i.length-o))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new St(zt,i)),t++),a.length&&(e.splice(t,0,new St(Vt,a)),t++),t++):t!==0&&e[t-1][0]===Dt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",a="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Dt&&e[t+1][0]===Dt&&(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),s=!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),s=!0)),t++;s&&Gb(e)}function aa(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(vf),a=n.match(vf),o=i&&r.match(_f),s=a&&n.match(_f),l=o&&r.match(Af),u=s&&n.match(Af),p=l&&e.match(xN),f=u&&t.match(DN);return p||f?5:l||u?4:i&&!o&&s?3:o||s?2:i||a?1:0}var zb="Compared values have no visual difference.",PN="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",sa={},wf;function ON(){if(wf)return sa;wf=1,Object.defineProperty(sa,"__esModule",{value:!0}),sa.default=h;let e="diff-sequences",t=0,r=(m,g,E,A,v)=>{let T=0;for(;m<g&&E<A&&v(m,E);)m+=1,E+=1,T+=1;return T},n=(m,g,E,A,v)=>{let T=0;for(;m<=g&&E<=A&&v(g,A);)g-=1,A-=1,T+=1;return T},i=(m,g,E,A,v,T,I)=>{let R=0,D=-m,y=T[R],w=y;T[R]+=r(y+1,g,A+y-D+1,E,v);let S=m<I?m:I;for(R+=1,D+=2;R<=S;R+=1,D+=2){if(R!==m&&w<T[R])y=T[R];else if(y=w+1,g<=y)return R-1;w=T[R],T[R]=y+r(y+1,g,A+y-D+1,E,v)}return I},a=(m,g,E,A,v,T,I)=>{let R=0,D=m,y=T[R],w=y;T[R]-=n(g,y-1,E,A+y-D-1,v);let S=m<I?m:I;for(R+=1,D-=2;R<=S;R+=1,D-=2){if(R!==m&&T[R]<w)y=T[R];else if(y=w-1,y<g)return R-1;w=T[R],T[R]=y-n(g,y-1,E,A+y-D-1,v)}return I},o=(m,g,E,A,v,T,I,R,D,y,w)=>{let S=A-g,P=E-g,z=v-A-P,L=-z-(m-1),K=-z+(m-1),q=t,B=m<R?m:R;for(let V=0,X=-m;V<=B;V+=1,X+=2){let Q=V===0||V!==m&&q<I[V],oe=Q?I[V]:q,Ee=Q?oe:oe+1,Pe=S+Ee-X,W=r(Ee+1,E,Pe+1,v,T),H=Ee+W;if(q=I[V],I[V]=H,L<=X&&X<=K){let re=(m-1-(X+z))/2;if(re<=y&&D[re]-1<=H){let ce=S+oe-(Q?X+1:X-1),le=n(g,oe,A,ce,T),ie=oe-le,ve=ce-le,Re=ie+1,$e=ve+1;w.nChangePreceding=m-1,m-1===Re+$e-g-A?(w.aEndPreceding=g,w.bEndPreceding=A):(w.aEndPreceding=Re,w.bEndPreceding=$e),w.nCommonPreceding=le,le!==0&&(w.aCommonPreceding=Re,w.bCommonPreceding=$e),w.nCommonFollowing=W,W!==0&&(w.aCommonFollowing=Ee+1,w.bCommonFollowing=Pe+1);let Z=H+1,me=Pe+W+1;return w.nChangeFollowing=m-1,m-1===E+v-Z-me?(w.aStartFollowing=E,w.bStartFollowing=v):(w.aStartFollowing=Z,w.bStartFollowing=me),!0}}}return!1},s=(m,g,E,A,v,T,I,R,D,y,w)=>{let S=v-E,P=E-g,z=v-A-P,L=z-m,K=z+m,q=t,B=m<y?m:y;for(let V=0,X=m;V<=B;V+=1,X-=2){let Q=V===0||V!==m&&D[V]<q,oe=Q?D[V]:q,Ee=Q?oe:oe-1,Pe=S+Ee-X,W=n(g,Ee-1,A,Pe-1,T),H=Ee-W;if(q=D[V],D[V]=H,L<=X&&X<=K){let re=(m+(X-z))/2;if(re<=R&&H-1<=I[re]){let ce=Pe-W;if(w.nChangePreceding=m,m===H+ce-g-A?(w.aEndPreceding=g,w.bEndPreceding=A):(w.aEndPreceding=H,w.bEndPreceding=ce),w.nCommonPreceding=W,W!==0&&(w.aCommonPreceding=H,w.bCommonPreceding=ce),w.nChangeFollowing=m-1,m===1)w.nCommonFollowing=0,w.aStartFollowing=E,w.bStartFollowing=v;else{let le=S+oe-(Q?X-1:X+1),ie=r(oe,E,le,v,T);w.nCommonFollowing=ie,ie!==0&&(w.aCommonFollowing=oe,w.bCommonFollowing=le);let ve=oe+ie,Re=le+ie;m-1===E+v-ve-Re?(w.aStartFollowing=E,w.bStartFollowing=v):(w.aStartFollowing=ve,w.bStartFollowing=Re)}return!0}}}return!1},l=(m,g,E,A,v,T,I,R,D)=>{let y=A-g,w=v-E,S=E-g,P=v-A,z=P-S,L=S,K=S;if(I[0]=g-1,R[0]=E,z%2===0){let q=(m||z)/2,B=(S+P)/2;for(let V=1;V<=B;V+=1)if(L=i(V,E,v,y,T,I,L),V<q)K=a(V,g,A,w,T,R,K);else if(s(V,g,E,A,v,T,I,L,R,K,D))return}else{let q=((m||z)+1)/2,B=(S+P+1)/2,V=1;for(L=i(V,E,v,y,T,I,L),V+=1;V<=B;V+=1)if(K=a(V-1,g,A,w,T,R,K),V<q)L=i(V,E,v,y,T,I,L);else if(o(V,g,E,A,v,T,I,L,R,K,D))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${E} bStart=${A} bEnd=${v}`)},u=(m,g,E,A,v,T,I,R,D,y)=>{if(v-A<E-g){if(T=!T,T&&I.length===1){let{foundSubsequence:re,isCommon:ce}=I[0];I[1]={foundSubsequence:(le,ie,ve)=>{re(le,ve,ie)},isCommon:(le,ie)=>ce(ie,le)}}let W=g,H=E;g=A,E=v,A=W,v=H}let{foundSubsequence:w,isCommon:S}=I[T?1:0];l(m,g,E,A,v,S,R,D,y);let{nChangePreceding:P,aEndPreceding:z,bEndPreceding:L,nCommonPreceding:K,aCommonPreceding:q,bCommonPreceding:B,nCommonFollowing:V,aCommonFollowing:X,bCommonFollowing:Q,nChangeFollowing:oe,aStartFollowing:Ee,bStartFollowing:Pe}=y;g<z&&A<L&&u(P,g,z,A,L,T,I,R,D,y),K!==0&&w(K,q,B),V!==0&&w(V,X,Q),Ee<E&&Pe<v&&u(oe,Ee,E,Pe,v,T,I,R,D,y)},p=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},f=(m,g)=>{let E=typeof g;if(E!=="function")throw new TypeError(`${e}: ${m} typeof ${E} is not a function`)};function h(m,g,E,A){p("aLength",m),p("bLength",g),f("isCommon",E),f("foundSubsequence",A);let v=r(0,m,0,g,E);if(v!==0&&A(v,0,0),m!==v||g!==v){let T=v,I=v,R=n(T,m-1,I,g-1,E),D=m-R,y=g-R,w=v+R;m!==w&&g!==w&&u(0,T,D,I,y,!1,[{foundSubsequence:A,isCommon:E}],[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}),R!==0&&A(R,D,y)}}return sa}var FN=ON(),Wb=Vb(FN);function IN(e,t){return e.replace(/\s+$/,r=>t(r))}function Qc(e,t,r,n,i,a){return e.length!==0?r(`${n} ${IN(e,i)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Kb(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return Qc(e,t,r,n,i,a)}function Yb(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return Qc(e,t,r,n,i,a)}function Xb(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return Qc(e,t,r,n,i,a)}function Tf(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function NN(e,t){let r=e.length,n=t.contextLines,i=n+n,a=r,o=!1,s=0,l=0;for(;l!==r;){let R=l;for(;l!==r&&e[l][0]===Dt;)l+=1;if(R!==l)if(R===0)l>n&&(a-=l-n,o=!0);else if(l===r){let D=l-R;D>n&&(a-=D-n,o=!0)}else{let D=l-R;D>i&&(a-=D-i,s+=1)}for(;l!==r&&e[l][0]!==Dt;)l+=1}let u=s!==0||o;s!==0?a+=s+1:o&&(a+=1);let p=a-1,f=[],h=0;u&&f.push("");let m=0,g=0,E=0,A=0,v=R=>{let D=f.length;f.push(Xb(R,D===0||D===p,t)),E+=1,A+=1},T=R=>{let D=f.length;f.push(Kb(R,D===0||D===p,t)),E+=1},I=R=>{let D=f.length;f.push(Yb(R,D===0||D===p,t)),A+=1};for(l=0;l!==r;){let R=l;for(;l!==r&&e[l][0]===Dt;)l+=1;if(R!==l)if(R===0){l>n&&(R=l-n,m=R,g=R,E=m,A=g);for(let D=R;D!==l;D+=1)v(e[D][1])}else if(l===r){let D=l-R>n?R+n:l;for(let y=R;y!==D;y+=1)v(e[y][1])}else{let D=l-R;if(D>i){let y=R+n;for(let S=R;S!==y;S+=1)v(e[S][1]);f[h]=Tf(m,E,g,A,t),h=f.length,f.push("");let w=D-i;m=E+w,g=A+w,E=m,A=g;for(let S=l-n;S!==l;S+=1)v(e[S][1])}else for(let y=R;y!==l;y+=1)v(e[y][1])}for(;l!==r&&e[l][0]===zt;)T(e[l][1]),l+=1;for(;l!==r&&e[l][0]===Vt;)I(e[l][1]),l+=1}return u&&(f[h]=Tf(m,E,g,A,t)),f.join(`
171
+ `)}function BN(e,t){return e.map((r,n,i)=>{let a=r[1],o=n===0||n===i.length-1;switch(r[0]){case zt:return Kb(a,o,t);case Vt:return Yb(a,o,t);default:return Xb(a,o,t)}}).join(`
172
+ `)}var uu=e=>e,Qb=5,jN=0;function kN(){return{aAnnotation:"Expected",aColor:zr.green,aIndicator:"-",bAnnotation:"Received",bColor:zr.red,bIndicator:"+",changeColor:zr.inverse,changeLineTrailingSpaceColor:uu,commonColor:zr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:uu,compareKeys:void 0,contextLines:Qb,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:zr.yellow,printBasicPrototype:!1,truncateThreshold:jN,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:uu}}function MN(e){return e&&typeof e=="function"?e:void 0}function qN(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Qb}function ei(e={}){return{...kN(),...e,compareKeys:MN(e.compareKeys),contextLines:qN(e.contextLines)}}function pi(e){return e.length===1&&e[0].length===0}function LN(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case zt:t+=1;break;case Vt:r+=1;break}}),{a:t,b:r}}function $N({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:a,includeChangeCounts:o,omitAnnotationLines:s},l){if(s)return"";let u="",p="";if(o){let m=String(l.a),g=String(l.b),E=n.length-e.length,A=" ".repeat(Math.max(0,E)),v=" ".repeat(Math.max(0,-E)),T=g.length-m.length,I=" ".repeat(Math.max(0,T)),R=" ".repeat(Math.max(0,-T));u=`${A} ${r} ${I}${m}`,p=`${v} ${a} ${R}${g}`}let f=`${r} ${e}${u}`,h=`${a} ${n}${p}`;return`${t(f)}
173
+ ${i(h)}
174
+
175
+ `}function Zc(e,t,r){return $N(r,LN(e))+(r.expand?BN(e,r):NN(e,r))+(t?r.truncateAnnotationColor(`
176
+ ${r.truncateAnnotation}`):"")}function ws(e,t,r){let n=ei(r),[i,a]=Zb(pi(e)?[]:e,pi(t)?[]:t,n);return Zc(i,a,n)}function VN(e,t,r,n,i){if(pi(e)&&pi(r)&&(e=[],r=[]),pi(t)&&pi(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ws(e,t,i);let[a,o]=Zb(r,n,i),s=0,l=0;return a.forEach(u=>{switch(u[0]){case zt:u[1]=e[s],s+=1;break;case Vt:u[1]=t[l],l+=1;break;default:u[1]=t[l],s+=1,l+=1}}),Zc(a,o,ei(i))}function Zb(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),a=n?Math.min(e.length,i):e.length,o=n?Math.min(t.length,i):t.length,s=a!==e.length||o!==t.length,l=(h,m)=>e[h]===t[m],u=[],p=0,f=0;for(Wb(a,o,l,(h,m,g)=>{for(;p!==m;p+=1)u.push(new St(zt,e[p]));for(;f!==g;f+=1)u.push(new St(Vt,t[f]));for(;h!==0;h-=1,p+=1,f+=1)u.push(new St(Dt,t[f]))});p!==a;p+=1)u.push(new St(zt,e[p]));for(;f!==o;f+=1)u.push(new St(Vt,t[f]));return[u,s]}function Cf(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}`)}function Sf(e){return e.includes(`\r
177
+ `)?`\r
178
+ `:`
179
+ `}function UN(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),a=e.length,o=t.length;if(n){let h=e.includes(`
180
+ `),m=t.includes(`
181
+ `),g=Sf(e),E=Sf(t),A=h?`${e.split(g,i).join(g)}
182
+ `:e,v=m?`${t.split(E,i).join(E)}
183
+ `:t;a=A.length,o=v.length}let s=a!==e.length||o!==t.length,l=(h,m)=>e[h]===t[m],u=0,p=0,f=[];return Wb(a,o,l,(h,m,g)=>{u!==m&&f.push(new St(zt,e.slice(u,m))),p!==g&&f.push(new St(Vt,t.slice(p,g))),u=m+h,p=g+h,f.push(new St(Dt,t.slice(g,p)))}),u!==a&&f.push(new St(zt,e.slice(u))),p!==o&&f.push(new St(Vt,t.slice(p))),[f,s]}function JN(e,t,r){return t.reduce((n,i)=>n+(i[0]===Dt?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}var xf=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new St(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new St(this.op,JN(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new St(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
184
+ `)){let r=t.split(`
185
+ `),n=r.length-1;r.forEach((i,a)=>{a<n?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},HN=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
186
+ `)){let n=r.split(`
187
+ `),i=n.length-1;n.forEach((a,o)=>{if(o===0){let s=new St(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else o<i?this.pushDiffCommonLine(new St(t,a)):a.length!==0&&this.pushDiffChangeLines(new St(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function GN(e,t){let r=new xf(zt,t),n=new xf(Vt,t),i=new HN(r,n);return e.forEach(a=>{switch(a[0]){case zt:r.align(a);break;case Vt:n.align(a);break;default:i.align(a)}}),i.getLines()}function zN(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===Dt&&(i!==r||n[1]!==`
188
+ `))}return e.some(r=>r[0]===Dt)}function WN(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
189
+ `)||t.includes(`
190
+ `),[i,a]=e0(n?`${e}
191
+ `:e,n?`${t}
192
+ `:t,!0,r);if(zN(i,n)){let o=ei(r),s=GN(i,o.changeColor);return Zc(s,a,o)}}return ws(e.split(`
193
+ `),t.split(`
194
+ `),r)}function e0(e,t,r,n){let[i,a]=UN(e,t,n);return SN(i),[i,a]}function Xu(e,t){let{commonColor:r}=ei(t);return r(e)}var{AsymmetricMatcher:KN,DOMCollection:YN,DOMElement:XN,Immutable:QN,ReactElement:ZN,ReactTestComponent:e2}=Xc,t0=[e2,ZN,XN,YN,QN,KN,Xc.Error],Qu={maxDepth:20,plugins:t0},r0={callToJSON:!1,maxDepth:8,plugins:t0};function Li(e,t,r){if(Object.is(e,t))return"";let n=Cf(e),i=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),a=i==="string"}if(i!==Cf(t)){let o=function(I){return I.length<=A?I:`${I.slice(0,A)}...`},{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:p,bColor:f,bIndicator:h}=ei(r),m=Zu(r0,r),g=Ir(e,m),E=Ir(t,m),A=1e5;g=o(g),E=o(E);let v=`${l(`${u} ${s}:`)}
195
+ ${g}`,T=`${f(`${h} ${p}:`)}
196
+ ${E}`;return`${v}
197
+
198
+ ${T}`}if(!a)switch(n){case"string":return ws(e.split(`
199
+ `),t.split(`
200
+ `),r);case"boolean":case"number":return t2(e,t,r);case"map":return lu(Df(e),Df(t),r);case"set":return lu(Rf(e),Rf(t),r);default:return lu(e,t,r)}}function t2(e,t,r){let n=Ir(e,Qu),i=Ir(t,Qu);return n===i?"":ws(n.split(`
201
+ `),i.split(`
202
+ `),r)}function Df(e){return new Map(Array.from(e.entries()).sort())}function Rf(e){return new Set(Array.from(e.values()).sort())}function lu(e,t,r){let n,i=!1;try{let o=Zu(Qu,r);n=Pf(e,t,o,r)}catch{i=!0}let a=Xu(zb,r);if(n===void 0||n===a){let o=Zu(r0,r);n=Pf(e,t,o,r),n!==a&&!i&&(n=`${Xu(PN,r)}
203
+
204
+ ${n}`)}return n}function Zu(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=ei(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i??e.maxDepth}}function Pf(e,t,r,n){let i={...r,indent:0},a=Ir(e,i),o=Ir(t,i);if(a===o)return Xu(zb,n);{let s=Ir(e,r),l=Ir(t,r);return VN(s.split(`
205
+ `),l.split(`
206
+ `),a.split(`
207
+ `),o.split(`
208
+ `),n)}}var Of=2e4;function Ff(e){return ka(e)==="Object"&&typeof e.asymmetricMatch=="function"}function If(e,t){let r=ka(e),n=ka(t);return r===n&&(r==="Object"||r==="Array")}function n0(e,t,r){let{aAnnotation:n,bAnnotation:i}=ei(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Of&&e.length<=Of&&t!==e){if(t.includes(`
209
+ `)||e.includes(`
210
+ `))return WN(t,e,r);let[u]=e0(t,e),p=u.some(g=>g[0]===Dt),f=r2(n,i),h=f(n)+o2(Nf(u,zt,p)),m=f(i)+i2(Nf(u,Vt,p));return`${h}
211
+ ${m}`}let a=bf(t,{forceWritable:!0}),o=bf(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=i0(o,a);return Li(s,l,r)}function i0(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}):If(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Ub(t).forEach(i=>{let a=t[i],o=e[i];if(Ff(a))a.asymmetricMatch(o)&&(e[i]=a);else if(Ff(o))o.asymmetricMatch(a)&&(t[i]=o);else if(If(o,a)){let s=i0(o,a,r,n);e[i]=s.replacedActual,t[i]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function r2(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var n2="·";function o0(e){return e.replace(/\s+$/gm,t=>n2.repeat(t.length))}function i2(e){return zr.red(o0(pr(e)))}function o2(e){return zr.green(o0(pr(e)))}function Nf(e,t,r){return e.reduce((n,i)=>n+(i[0]===Dt?i[1]:i[0]===t?r?zr.inverse(i[1]):i[1]:""),"")}var a2="@@__IMMUTABLE_RECORD__@@",s2="@@__IMMUTABLE_ITERABLE__@@";function u2(e){return e&&(e[s2]||e[a2])}var l2=Object.getPrototypeOf({});function Bf(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function gn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&ua(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&ua(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&ua(()=>r.name??(r.name=e.name)),e.cause!=null&&ua(()=>r.cause??(r.cause=gn(e.cause,t)))),gn(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(u2(e))return gn(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()} ${_N(e.sample)}`;if(typeof e.toJSON=="function")return gn(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,i)=>{try{r[i]=gn(n,t)}catch(a){r[i]=Bf(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==l2;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=gn(e[i],t)}catch(a){delete r[i],r[i]=Bf(a)}}),n=Object.getPrototypeOf(n);return r}}function ua(e){try{return e()}catch{}}function c2(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function ep(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=n0(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=pr(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=pr(n.actual,10));try{typeof n.message=="string"&&(n.message=c2(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=ep(n.cause,t,r))}catch{}try{return gn(n)}catch(i){return gn(new Error(`Failed to fully serialize error: ${i?.message}
212
+ Inner error message: ${n?.message}`))}}var Ur={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"},cu=globalThis.__STORYBOOK_ADDONS_PREVIEW,p2=new Error("This function ran after the play function completed. Did you forget to `await` it?"),jf=e=>Object.prototype.toString.call(e)==="[object Object]",d2=e=>Object.prototype.toString.call(e)==="[object Module]",f2=e=>{if(!jf(e)&&!d2(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!jf(t)},h2=e=>{try{return new e.constructor}catch{return{}}},pu=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),kf=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},m2=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=we.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{we.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:s,renderPhase:l,isPlaying:u=!0,isDebugging:p=!1})=>{let f=this.getState(s);this.setState(s,{...pu(),...kf(f,p),renderPhase:l||f.renderPhase,shadowCalls:p?f.shadowCalls:[],chainedCallIds:p?f.chainedCallIds:new Set,playUntil:p?f.playUntil:void 0,isPlaying:u,isDebugging:p}),this.sync(s)},t=s=>({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:f})=>({calls:[],shadowCalls:f.map(h=>({...h,status:"waiting"})),isDebugging:!0}));let p=this.getLog(l);this.setState(l,({shadowCalls:f})=>{if(u||!p.length)return{playUntil:u};let h=f.findIndex(m=>m.id===p[0].callId);return{playUntil:f.slice(0,h).filter(m=>m.interceptable&&!m.ancestors?.length).slice(-1)[0]?.id}}),s.emit(Na,{storyId:l,isDebugging:!0})},r=s=>({storyId:l})=>{let u=this.getLog(l).filter(f=>!f.ancestors?.length),p=u.reduceRight((f,h,m)=>f>=0||h.status==="waiting"?f:m,-1);t(s)({storyId:l,playUntil:u[p-1]?.callId})},n=s=>({storyId:l,callId:u})=>{let{calls:p,shadowCalls:f,resolvers:h}=this.getState(l),m=p.find(({id:E})=>E===u),g=f.find(({id:E})=>E===u);if(!m&&g&&Object.values(h).length>0){let E=this.getLog(l).find(A=>A.status==="waiting")?.callId;g.id!==E&&this.setState(l,{playUntil:g.id}),Object.values(h).forEach(A=>A())}else t(s)({storyId:l,playUntil:u})},i=s=>({storyId:l})=>{let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(p=>p());else{let p=this.getLog(l).find(f=>f.status==="waiting")?.callId;p?t(s)({storyId:l,playUntil:p}):a({storyId:l})}},a=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(l=>l())},o=({storyId:s,newPhase:l})=>{let{isDebugging:u}=this.getState(s);if(l==="preparing"&&u)return e({storyId:s,renderPhase:l,isDebugging:u});if(l==="playing")return e({storyId:s,renderPhase:l,isDebugging:u});l==="played"?this.setState(s,{renderPhase:l,isLocked:!1,isPlaying:!1,isDebugging:!1}):l==="errored"?this.setState(s,{renderPhase:l,isLocked:!1,isPlaying:!1}):l==="aborted"?this.setState(s,{renderPhase:l,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:l}),this.sync(s)};cu&&cu.ready().then(()=>{this.channel=cu.getChannel(),this.channel.on(Na,e),this.channel.on(zn,o),this.channel.on(Cc,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Ur.START,t(this.channel)),this.channel.on(Ur.BACK,r(this.channel)),this.channel.on(Ur.GOTO,n(this.channel)),this.channel.on(Ur.NEXT,i(this.channel)),this.channel.on(Ur.END,a)})}getState(e){return this.state[e]||pu()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let i=kf(n);return i&&(t[r]=Object.assign(pu(),i)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Ur.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,o)=>{n[o]=a});let i=new Set;return n.reduceRight((a,o)=>(o.args.forEach(s=>{s?.__callId__&&i.add(s.__callId__)}),o.path.forEach(s=>{s.__callId__&&i.add(s.__callId__)}),(o.interceptable||o.exception)&&!i.has(o.id)&&(a.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),i.add(o.id)),a),[])}instrument(e,t,r=0){if(!f2(e))return e;let{mutate:n=!1,path:i=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((o,s)=>{let l=y2(e,s);if(typeof l?.get=="function"){if(l.configurable){let p=()=>l?.get?.bind(e)?.();Object.defineProperty(o,s,{get:()=>this.instrument(p(),{...t,path:i.concat(s)},r)})}return o}let u=e[s];return typeof u!="function"?(o[s]=this.instrument(u,{...t,path:i.concat(s)},r),o):"__originalFn__"in u&&typeof u.__originalFn__=="function"?(o[s]=u,o):(o[s]=(...p)=>this.track(s,u,e,p,t),o[s].__originalFn__=u,Object.defineProperty(o[s],"name",{value:s,writable:!1}),Object.keys(u).length>0&&Object.assign(o[s],this.instrument({...u},{...t,path:i.concat(s)},r)),o)},n?e:h2(e))}track(e,t,r,n,i){let a=n?.[0]?.__storyId__||we.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:o,ancestors:s}=this.getState(a);this.setState(a,{cursor:o+1});let l=`${s.slice(-1)[0]||a} [${o}] ${e}`,{path:u=[],intercept:p=!1,retain:f=!1}=i,h=typeof p=="function"?p(e,u):p,m={id:l,cursor:o,storyId:a,ancestors:s,path:u,method:e,args:n,interceptable:h,retain:f},g=(h&&!s.length?this.intercept:this.invoke).call(this,t,r,m,i);return this.instrument(g,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,n){let{chainedCallIds:i,isDebugging:a,playUntil:o}=this.getState(r.storyId),s=i.has(r.id);return!a||s||o?(o===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:u})=>({isLocked:!1,resolvers:{...u,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:u,...p}=l.resolvers;return{isLocked:!0,resolvers:p}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:i,renderPhase:a}=this.getState(r.storyId),o=25,s=(p,f,h)=>{if(h.includes(p))return"[Circular]";if(h=[...h,p],f>o)return"...";if(i.has(p))return i.get(p);if(p instanceof Array)return p.map(m=>s(m,++f,h));if(p instanceof Date)return{__date__:{value:p.toISOString()}};if(p instanceof Error){let{name:m,message:g,stack:E}=p;return{__error__:{name:m,message:g,stack:E}}}if(p instanceof RegExp){let{flags:m,source:g}=p;return{__regexp__:{flags:m,source:g}}}if(p instanceof we.window?.HTMLElement){let{prefix:m,localName:g,id:E,classList:A,innerText:v}=p,T=Array.from(A);return{__element__:{prefix:m,localName:g,id:E,classNames:T,innerText:v}}}return typeof p=="function"?{__function__:{name:"getMockName"in p?p.getMockName():p.name}}:typeof p=="symbol"?{__symbol__:{description:p.description}}:typeof p=="object"&&p?.constructor?.name&&p?.constructor?.name!=="Object"?{__class__:{name:p.constructor.name}}:Object.prototype.toString.call(p)==="[object Object]"?Object.fromEntries(Object.entries(p).map(([m,g])=>[m,s(g,++f,h)])):p},l={...r,args:r.args.map(p=>s(p,0,[]))};r.path.forEach(p=>{p?.__callId__&&this.setState(r.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(p.__callId__))}))});let u=p=>{if(p instanceof Error){let{name:f,message:h,stack:m,callId:g=r.id}=p,{showDiff:E=void 0,diff:A=void 0,actual:v=void 0,expected:T=void 0}=p.name==="AssertionError"?ep(p):p,I={name:f,message:h,stack:m,callId:g,showDiff:E,diff:A,actual:v,expected:T};if(this.update({...l,status:"error",exception:I}),this.setState(r.storyId,R=>({callRefsByResult:new Map([...Array.from(R.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(p,"callId")||Object.defineProperty(p,"callId",{value:r.id}),p}throw p};try{if(a==="played"&&!r.retain)throw p2;let p=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||g2(h)||Object.keys(h).length?h:(...m)=>{let{cursor:g,ancestors:E}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...E,r.id]});let A=()=>this.setState(r.storyId,{cursor:g,ancestors:E}),v=!1;try{let T=h(...m);return T instanceof Promise?(v=!0,T.finally(A)):T}finally{v||A()}}),f=e.apply(t,p);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[f,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(h=>(this.update({...l,status:"done"}),h),u):f}catch(p){return u(p)}}update(e){this.channel?.emit(Ur.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,i)=>Object.assign(n,{[i.id]:i}),{});return{calls:Object.values(r).sort((n,i)=>n.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),i=this.getLog(e),a=i.filter(({ancestors:u})=>!u.length).find(u=>u.status==="waiting")?.callId,o=i.some(u=>u.status==="active");if(this.detached||r||o||i.length===0){let u={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:i};this.channel?.emit(Ur.SYNC,u);return}let s=i.some(u=>u.status==="done"||u.status==="error"),l={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:n,end:n},logItems:i,pausedAt:a};this.channel?.emit(Ur.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Uo(e,t={}){try{let r=!1,n=!1;return we.window?.location?.search?.includes("instrument=true")?r=!0:we.window?.location?.search?.includes("instrument=false")&&(n=!0),we.window?.parent===we.window&&!r||n?e:(we.window&&!we.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(we.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new m2),(we.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return Rt.warn(r),e}}function y2(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function g2(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var a0=Object.defineProperty,ne=(e,t)=>a0(e,"name",{value:t,configurable:!0}),tp=(e,t)=>{for(var r in t)a0(e,r,{get:t[r],enumerable:!0})},Nr={};tp(Nr,{addChainableMethod:()=>fp,addLengthGuard:()=>Go,addMethod:()=>cp,addProperty:()=>lp,checkError:()=>ar,compareByInspect:()=>$a,eql:()=>I0,expectTypes:()=>f0,flag:()=>He,getActual:()=>Cs,getMessage:()=>ip,getName:()=>xs,getOperator:()=>gp,getOwnEnumerableProperties:()=>yp,getOwnEnumerablePropertySymbols:()=>mp,getPathInfo:()=>up,hasProperty:()=>Ss,inspect:()=>Ze,isNaN:()=>Va,isNumeric:()=>Lt,isProxyEnabled:()=>Ho,isRegExp:()=>Ua,objDisplay:()=>Un,overwriteChainableMethod:()=>hp,overwriteMethod:()=>dp,overwriteProperty:()=>pp,proxify:()=>$i,test:()=>rp,transferFlags:()=>Dr,type:()=>ct});var ar={};tp(ar,{compatibleConstructor:()=>l0,compatibleInstance:()=>u0,compatibleMessage:()=>c0,getConstructorName:()=>p0,getMessage:()=>d0});function Ts(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}ne(Ts,"isErrorInstance");function s0(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ne(s0,"isRegExp");function u0(e,t){return Ts(t)&&e===t}ne(u0,"compatibleInstance");function l0(e,t){return Ts(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}ne(l0,"compatibleConstructor");function c0(e,t){let r=typeof e=="string"?e:e.message;return s0(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}ne(c0,"compatibleMessage");function p0(e){let t=e;return Ts(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}ne(p0,"getConstructorName");function d0(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}ne(d0,"getMessage");function He(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}ne(He,"flag");function rp(e,t){let r=He(e,"negate"),n=t[0];return r?!n:n}ne(rp,"test");function ct(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)}ne(ct,"type");var b2="captureStackTrace"in Error,la,tt=(la=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,b2&&Error.captureStackTrace(this,r||la);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},ne(la,"AssertionError"),la);function f0(e,t){let r=He(e,"message"),n=He(e,"ssfi");r=r?r+": ":"",e=He(e,"object"),t=t.map(function(o){return o.toLowerCase()}),t.sort();let i=t.map(function(o,s){let l=~["a","e","i","o","u"].indexOf(o.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+l+" "+o}).join(", "),a=ct(e).toLowerCase();if(!t.some(function(o){return a===o}))throw new tt(r+"object tested must be "+i+", but "+a+" given",void 0,n)}ne(f0,"expectTypes");function Cs(e,t){return t.length>4?t[4]:e._obj}ne(Cs,"getActual");var Mf={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"]},E2={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},wi="…";function h0(e,t){let r=Mf[E2[t]]||Mf[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}ne(h0,"colorise");function m0({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:o=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},p){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(o),truncate:Number(l),seen:s,inspect:p,stylize:u};return f.colors&&(f.stylize=h0),f}ne(m0,"normaliseOptions");function y0(e){return e>="\uD800"&&e<="\uDBFF"}ne(y0,"isHighSurrogate");function nn(e,t,r=wi){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&y0(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}ne(nn,"truncate");function Er(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,o="",s="",l="";for(let u=0;u<i;u+=1){let p=u+1===e.length,f=u+2===e.length;l=`${wi}(${e.length-u})`;let h=e[u];t.truncate=a-o.length-(p?0:n.length);let m=s||r(h,t)+(p?"":n),g=o.length+m.length,E=g+l.length;if(p&&g>a&&o.length+l.length<=a||!p&&!f&&E>a||(s=p?"":r(e[u+1],t)+(f?"":n),!p&&f&&E>a&&g+s.length>a))break;if(o+=m,!p&&!f&&g+s.length>=a){l=`${wi}(${e.length-u-1})`;break}l=""}return`${o}${l}`}ne(Er,"inspectList");function g0(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}ne(g0,"quoteComplexKey");function Ti([e,t],r){return r.truncate-=2,typeof e=="string"?e=g0(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}ne(Ti,"inspectProperty");function b0(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Er(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Er(r.map(a=>[a,e[a]]),t,Ti)),`[ ${n}${i?`, ${i}`:""} ]`}ne(b0,"inspectArray");var v2=ne(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Or(e,t){let r=v2(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let o=0;o<e.length;o++){let s=`${t.stylize(nn(e[o],t.truncate),"number")}${o===e.length-1?"":", "}`;if(t.truncate-=s.length,e[o]!==e.length&&t.truncate<=3){i+=`${wi}(${e.length-e[o]+1})`;break}i+=s}let a="";return n.length&&(a=Er(n.map(o=>[o,e[o]]),t,Ti)),`${r}[ ${i}${a?`, ${a}`:""} ]`}ne(Or,"inspectTypedArray");function E0(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${nn(n[1],t.truncate-i.length-1)}`,"date")}ne(E0,"inspectDate");function el(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${nn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}ne(el,"inspectFunction");function v0([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}ne(v0,"inspectMapEntry");function _0(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}ne(_0,"mapToEntries");function A0(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Er(_0(e),t,v0)} }`)}ne(A0,"inspectMap");var _2=Number.isNaN||(e=>e!==e);function tl(e,t){return _2(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(nn(String(e),t.truncate),"number")}ne(tl,"inspectNumber");function rl(e,t){let r=nn(e.toString(),t.truncate-1);return r!==wi&&(r+="n"),t.stylize(r,"bigint")}ne(rl,"inspectBigInt");function w0(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${nn(i,n)}/${r}`,"regexp")}ne(w0,"inspectRegExp");function T0(e){let t=[];return e.forEach(r=>{t.push(r)}),t}ne(T0,"arrayFromSet");function C0(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Er(T0(e),t)} }`)}ne(C0,"inspectSet");var qf=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),A2={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},w2=16;function S0(e){return A2[e]||`\\u${`0000${e.charCodeAt(0).toString(w2)}`.slice(-4)}`}ne(S0,"escape");function nl(e,t){return qf.test(e)&&(e=e.replace(qf,S0)),t.stylize(`'${nn(e,t.truncate-2)}'`,"string")}ne(nl,"inspectString");function il(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}ne(il,"inspectSymbol");var T2=ne(()=>"Promise{…}","getPromiseValue"),C2=T2;function uo(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 i=Er(r.map(s=>[s,e[s]]),t,Ti),a=Er(n.map(s=>[s,e[s]]),t,Ti);t.seen.pop();let o="";return i&&a&&(o=", "),`{ ${i}${o}${a} }`}ne(uo,"inspectObject");var du=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function x0(e,t){let r="";return du&&du in e&&(r=e[du]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${uo(e,t)}`}ne(x0,"inspectClass");function D0(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Er(e,t)} ]`)}ne(D0,"inspectArguments");var S2=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function R0(e,t){let r=Object.getOwnPropertyNames(e).filter(o=>S2.indexOf(o)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=nn(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Er(r.map(o=>[o,e[o]]),t,Ti);return`${n}${i}${a?` { ${a} }`:""}`}ne(R0,"inspectObject");function P0([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}ne(P0,"inspectAttribute");function Ma(e,t){return Er(e,t,O0,`
213
+ `)}ne(Ma,"inspectNodeCollection");function O0(e,t){switch(e.nodeType){case 1:return np(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}ne(O0,"inspectNode");function np(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),o=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Er(r.map(p=>[p,e.getAttribute(p)]),t,P0," ")),t.truncate-=s.length;let l=t.truncate,u=Ma(e.children,t);return u&&u.length>l&&(u=`${wi}(${e.children.length})`),`${i}${s}${a}${u}${o}`}ne(np,"inspectHTML");var x2=typeof Symbol=="function"&&typeof Symbol.for=="function",fu=x2?Symbol.for("chai/inspect"):"@@chai/inspect",hu=Symbol.for("nodejs.util.inspect.custom"),Lf=new WeakMap,$f={},Vf={undefined:ne((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:ne((e,t)=>t.stylize("null","null"),"null"),boolean:ne((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:ne((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:tl,Number:tl,bigint:rl,BigInt:rl,string:nl,String:nl,function:el,Function:el,symbol:il,Symbol:il,Array:b0,Date:E0,Map:A0,Set:C0,RegExp:w0,Promise:C2,WeakSet:ne((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:ne((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:D0,Int8Array:Or,Uint8Array:Or,Uint8ClampedArray:Or,Int16Array:Or,Uint16Array:Or,Int32Array:Or,Uint32Array:Or,Float32Array:Or,Float64Array:Or,Generator:ne(()=>"","Generator"),DataView:ne(()=>"","DataView"),ArrayBuffer:ne(()=>"","ArrayBuffer"),Error:R0,HTMLCollection:Ma,NodeList:Ma},D2=ne((e,t,r)=>fu in e&&typeof e[fu]=="function"?e[fu](t):hu in e&&typeof e[hu]=="function"?e[hu](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Lf.has(e.constructor)?Lf.get(e.constructor)(e,t):$f[r]?$f[r](e,t):"","inspectCustom"),R2=Object.prototype.toString;function qa(e,t={}){let r=m0(t,qa),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=R2.call(e).slice(8,-1)),i in Vf)return Vf[i](e,r);if(n&&e){let o=D2(e,r,i);if(o)return typeof o=="string"?o:qa(o,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?uo(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?np(e,r):"constructor"in e?e.constructor!==Object?x0(e,r):uo(e,r):e===Object(e)?uo(e,r):r.stylize(String(e),i)}ne(qa,"inspect");var Zt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ze(e,t,r,n){let i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Zt.truncateThreshold?Zt.truncateThreshold:1/0};return qa(e,i)}ne(Ze,"inspect");function Un(e){let t=Ze(e),r=Object.prototype.toString.call(e);if(Zt.truncateThreshold&&t.length>=Zt.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]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}ne(Un,"objDisplay");function ip(e,t){let r=He(e,"negate"),n=He(e,"object"),i=t[3],a=Cs(e,t),o=r?t[2]:t[1],s=He(e,"message");return typeof o=="function"&&(o=o()),o=o||"",o=o.replace(/#\{this\}/g,function(){return Un(n)}).replace(/#\{act\}/g,function(){return Un(a)}).replace(/#\{exp\}/g,function(){return Un(i)}),s?s+": "+o:o}ne(ip,"getMessage");function Dr(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}ne(Dr,"transferFlags");function ol(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)}ne(ol,"type");function op(){this._key="chai/deep-eql__"+Math.random()+Date.now()}ne(op,"FakeMap");op.prototype={get:ne(function(e){return e[this._key]},"get"),set:ne(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var F0=typeof WeakMap=="function"?WeakMap:op;function al(e,t,r){if(!r||Kn(e)||Kn(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}ne(al,"memoizeCompare");function ro(e,t,r,n){if(!(!r||Kn(e)||Kn(t))){var i=r.get(e);i?i.set(t,n):(i=new F0,i.set(t,n),r.set(e,i))}}ne(ro,"memoizeSet");var I0=Jo;function Jo(e,t,r){if(r&&r.comparator)return sl(e,t,r);var n=ap(e,t);return n!==null?n:sl(e,t,r)}ne(Jo,"deepEqual");function ap(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Kn(e)||Kn(t)?!1:null}ne(ap,"simpleEqual");function sl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new F0;var n=r&&r.comparator,i=al(e,t,r.memoize);if(i!==null)return i;var a=al(t,e,r.memoize);if(a!==null)return a;if(n){var o=n(e,t);if(o===!1||o===!0)return ro(e,t,r.memoize,o),o;var s=ap(e,t);if(s!==null)return s}var l=ol(e);if(l!==ol(t))return ro(e,t,r.memoize,!1),!1;ro(e,t,r.memoize,!0);var u=N0(e,t,l,r);return ro(e,t,r.memoize,u),u}ne(sl,"extensiveDeepEqual");function N0(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Jo(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return sp(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 B0(e,t);case"Generator":return j0(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 ul(e,t,n);case"Map":return ul(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 M0(e,t,n)}}ne(N0,"extensiveDeepEqualByType");function B0(e,t){return e.toString()===t.toString()}ne(B0,"regexpEqual");function ul(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],i=[];return e.forEach(ne(function(a,o){n.push([a,o])},"gatherEntries")),t.forEach(ne(function(a,o){i.push([a,o])},"gatherEntries")),_n(n.sort(),i.sort(),r)}ne(ul,"entriesEqual");function _n(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(Jo(e[i],t[i],r)===!1)return!1;return!0}ne(_n,"iterableEqual");function j0(e,t,r){return _n(La(e),La(t),r)}ne(j0,"generatorEqual");function k0(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}ne(k0,"hasIteratorFunction");function ll(e){if(k0(e))try{return La(e[Symbol.iterator]())}catch{return[]}return[]}ne(ll,"getIteratorEntries");function La(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}ne(La,"getGeneratorEntries");function cl(e){var t=[];for(var r in e)t.push(r);return t}ne(cl,"getEnumerableKeys");function pl(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}ne(pl,"getEnumerableSymbols");function sp(e,t,r,n){var i=r.length;if(i===0)return!0;for(var a=0;a<i;a+=1)if(Jo(e[r[a]],t[r[a]],n)===!1)return!1;return!0}ne(sp,"keysEqual");function M0(e,t,r){var n=cl(e),i=cl(t),a=pl(e),o=pl(t);if(n=n.concat(a),i=i.concat(o),n.length&&n.length===i.length)return _n(dl(n).sort(),dl(i).sort())===!1?!1:sp(e,t,n,r);var s=ll(e),l=ll(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),_n(s,l,r)):n.length===0&&s.length===0&&i.length===0&&l.length===0}ne(M0,"objectEqual");function Kn(e){return e===null||typeof e!="object"}ne(Kn,"isPrimitive");function dl(e){return e.map(ne(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}ne(dl,"mapSymbols");function Ss(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}ne(Ss,"hasProperty");function q0(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})}ne(q0,"parsePath");function fl(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let o=t[a];n&&(typeof o.p>"u"?n=n[o.i]:n=n[o.p],a===r-1&&(i=n))}return i}ne(fl,"internalGetPathValue");function up(e,t){let r=q0(t),n=r[r.length-1],i={parent:r.length>1?fl(e,r,r.length-1):e,name:n.p||n.i,value:fl(e,r)};return i.exists=Ss(i.parent,i.name),i}ne(up,"getPathInfo");var ca,G=(ca=class{__flags={};constructor(e,t,r,n){return He(this,"ssfi",r||ca),He(this,"lockSsfi",n),He(this,"object",e),He(this,"message",t),He(this,"eql",Zt.deepEqual||I0),$i(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Zt.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Zt.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Zt.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Zt.showDiff=e}static addProperty(e,t){lp(this.prototype,e,t)}static addMethod(e,t){cp(this.prototype,e,t)}static addChainableMethod(e,t,r){fp(this.prototype,e,t,r)}static overwriteProperty(e,t){pp(this.prototype,e,t)}static overwriteMethod(e,t){dp(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){hp(this.prototype,e,t,r)}assert(e,t,r,n,i,a){let o=rp(this,arguments);if(a!==!1&&(a=!0),n===void 0&&i===void 0&&(a=!1),Zt.showDiff!==!0&&(a=!1),!o){t=ip(this,arguments);let s={actual:Cs(this,arguments),expected:n,showDiff:a},l=gp(this,arguments);throw l&&(s.operator=l),new tt(t,s,Zt.includeStack?this.assert:He(this,"ssfi"))}}get _obj(){return He(this,"object")}set _obj(e){He(this,"object",e)}},ne(ca,"Assertion"),ca);function Ho(){return Zt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}ne(Ho,"isProxyEnabled");function lp(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:ne(function n(){!Ho()&&!He(this,"lockSsfi")&&He(this,"ssfi",n);let i=r.call(this);if(i!==void 0)return i;let a=new G;return Dr(this,a),a},"propertyGetter"),configurable:!0})}ne(lp,"addProperty");var P2=Object.getOwnPropertyDescriptor(function(){},"length");function Go(e,t,r){return P2.configurable&&Object.defineProperty(e,"length",{get:ne(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}ne(Go,"addLengthGuard");function L0(e){let t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}ne(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}ne(L0,"getProperties");var Uf=["__flags","__methods","_obj","assert"];function $i(e,t){return Ho()?new Proxy(e,{get:ne(function r(n,i){if(typeof i=="string"&&Zt.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');let a=null,o=4;throw L0(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&Uf.indexOf(s)===-1){let l=$0(i,s,o);l<o&&(a=s,o=l)}}),Error(a!==null?"Invalid Chai property: "+i+'. Did you mean "'+a+'"?':"Invalid Chai property: "+i)}return Uf.indexOf(i)===-1&&!He(n,"lockSsfi")&&He(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter")}):e}ne($i,"proxify");function $0(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){let a=e.charCodeAt(i-1);for(let o=1;o<=t.length;o++){if(Math.abs(i-o)>=r){n[i][o]=r;continue}n[i][o]=Math.min(n[i-1][o]+1,n[i][o-1]+1,n[i-1][o-1]+(a===t.charCodeAt(o-1)?0:1))}}return n[e.length][t.length]}ne($0,"stringDistanceCapped");function cp(e,t,r){let n=ne(function(){He(this,"lockSsfi")||He(this,"ssfi",n);let i=r.apply(this,arguments);if(i!==void 0)return i;let a=new G;return Dr(this,a),a},"methodWrapper");Go(n,t,!1),e[t]=$i(n,t)}ne(cp,"addMethod");function pp(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),i=ne(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:ne(function a(){!Ho()&&!He(this,"lockSsfi")&&He(this,"ssfi",a);let o=He(this,"lockSsfi");He(this,"lockSsfi",!0);let s=r(i).call(this);if(He(this,"lockSsfi",o),s!==void 0)return s;let l=new G;return Dr(this,l),l},"overwritingPropertyGetter"),configurable:!0})}ne(pp,"overwriteProperty");function dp(e,t,r){let n=e[t],i=ne(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);let a=ne(function(){He(this,"lockSsfi")||He(this,"ssfi",a);let o=He(this,"lockSsfi");He(this,"lockSsfi",!0);let s=r(i).apply(this,arguments);if(He(this,"lockSsfi",o),s!==void 0)return s;let l=new G;return Dr(this,l),l},"overwritingMethodWrapper");Go(a,t,!1),e[t]=$i(a,t)}ne(dp,"overwriteMethod");var O2=typeof Object.setPrototypeOf=="function",Jf=ne(function(){},"testFn"),F2=Object.getOwnPropertyNames(Jf).filter(function(e){let t=Object.getOwnPropertyDescriptor(Jf,e);return typeof t!="object"?!0:!t.configurable}),I2=Function.prototype.call,N2=Function.prototype.apply;function fp(e,t,r,n){typeof n!="function"&&(n=ne(function(){},"chainingBehavior"));let i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:ne(function(){i.chainingBehavior.call(this);let a=ne(function(){He(this,"lockSsfi")||He(this,"ssfi",a);let o=i.method.apply(this,arguments);if(o!==void 0)return o;let s=new G;return Dr(this,s),s},"chainableMethodWrapper");if(Go(a,t,!0),O2){let o=Object.create(this);o.call=I2,o.apply=N2,Object.setPrototypeOf(a,o)}else Object.getOwnPropertyNames(e).forEach(function(o){if(F2.indexOf(o)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(a,o,s)});return Dr(this,a),$i(a)},"chainableMethodGetter"),configurable:!0})}ne(fp,"addChainableMethod");function hp(e,t,r,n){let i=e.__methods[t],a=i.chainingBehavior;i.chainingBehavior=ne(function(){let s=n(a).call(this);if(s!==void 0)return s;let l=new G;return Dr(this,l),l},"overwritingChainableMethodGetter");let o=i.method;i.method=ne(function(){let s=r(o).apply(this,arguments);if(s!==void 0)return s;let l=new G;return Dr(this,l),l},"overwritingChainableMethodWrapper")}ne(hp,"overwriteChainableMethod");function $a(e,t){return Ze(e)<Ze(t)?-1:1}ne($a,"compareByInspect");function mp(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}ne(mp,"getOwnEnumerablePropertySymbols");function yp(e){return Object.keys(e).concat(mp(e))}ne(yp,"getOwnEnumerableProperties");var Va=Number.isNaN;function V0(e){let t=ct(e);return["Array","Object","Function"].indexOf(t)!==-1}ne(V0,"isObjectType");function gp(e,t){let r=He(e,"operator"),n=He(e,"negate"),i=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!a||/\shave\s/.test(a))return;let o=V0(i);return/\snot\s/.test(a)?o?"notDeepStrictEqual":"notStrictEqual":o?"deepStrictEqual":"strictEqual"}ne(gp,"getOperator");function xs(e){return e.name}ne(xs,"getName");function Ua(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ne(Ua,"isRegExp");function Lt(e){return["Number","BigInt"].includes(ct(e))}ne(Lt,"isNumeric");var{flag:te}=Nr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){G.addProperty(e)});G.addProperty("not",function(){te(this,"negate",!0)});G.addProperty("deep",function(){te(this,"deep",!0)});G.addProperty("nested",function(){te(this,"nested",!0)});G.addProperty("own",function(){te(this,"own",!0)});G.addProperty("ordered",function(){te(this,"ordered",!0)});G.addProperty("any",function(){te(this,"any",!0),te(this,"all",!1)});G.addProperty("all",function(){te(this,"all",!0),te(this,"any",!1)});var Hf={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function bp(e,t){t&&te(this,"message",t),e=e.toLowerCase();let r=te(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",i=ct(r).toLowerCase();Hf.function.includes(e)?this.assert(Hf[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}ne(bp,"an");G.addChainableMethod("an",bp);G.addChainableMethod("a",bp);function U0(e,t){return Va(e)&&Va(t)||e===t}ne(U0,"SameValueZero");function zo(){te(this,"contains",!0)}ne(zo,"includeChainingBehavior");function Wo(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=ct(r).toLowerCase(),i=te(this,"message"),a=te(this,"negate"),o=te(this,"ssfi"),s=te(this,"deep"),l=s?"deep ":"",u=s?te(this,"eql"):U0;i=i?i+": ":"";let p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new tt(i+"unable to use .deep.include with WeakSet",void 0,o);p=r.has(e);break;case"map":r.forEach(function(f){p=p||u(f,e)});break;case"set":s?r.forEach(function(f){p=p||u(f,e)}):p=r.has(e);break;case"array":s?p=r.some(function(f){return u(f,e)}):p=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new tt(i+"the given combination of arguments ("+n+" and "+ct(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 "+ct(e).toLowerCase(),void 0,o);let f=Object.keys(e),h=null,m=0;if(f.forEach(function(g){let E=new G(r);if(Dr(this,E,!0),te(E,"lockSsfi",!0),!a||f.length===1){E.property(g,e[g]);return}try{E.property(g,e[g])}catch(A){if(!ar.compatibleConstructor(A,tt))throw A;h===null&&(h=A),m++}},this),a&&f.length>1&&m===f.length)throw h;return}}this.assert(p,"expected #{this} to "+l+"include "+Ze(e),"expected #{this} to not "+l+"include "+Ze(e))}ne(Wo,"include");G.addChainableMethod("include",Wo,zo);G.addChainableMethod("contain",Wo,zo);G.addChainableMethod("contains",Wo,zo);G.addChainableMethod("includes",Wo,zo);G.addProperty("ok",function(){this.assert(te(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});G.addProperty("true",function(){this.assert(te(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!te(this,"negate"))});G.addProperty("numeric",function(){let e=te(this,"object");this.assert(["Number","BigInt"].includes(ct(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!te(this,"negate"))});G.addProperty("callable",function(){let e=te(this,"object"),t=te(this,"ssfi"),r=te(this,"message"),n=r?`${r}: `:"",i=te(this,"negate"),a=i?`${n}expected ${Ze(e)} not to be a callable function`:`${n}expected ${Ze(e)} to be a callable function`,o=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ct(e));if(o&&i||!o&&!i)throw new tt(a,void 0,t)});G.addProperty("false",function(){this.assert(te(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!te(this,"negate"))});G.addProperty("null",function(){this.assert(te(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});G.addProperty("undefined",function(){this.assert(te(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});G.addProperty("NaN",function(){this.assert(Va(te(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Ep(){let e=te(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}ne(Ep,"assertExist");G.addProperty("exist",Ep);G.addProperty("exists",Ep);G.addProperty("empty",function(){let e=te(this,"object"),t=te(this,"ssfi"),r=te(this,"message"),n;switch(r=r?r+": ":"",ct(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new tt(r+".empty was passed a weak collection",void 0,t);case"function":{let i=r+".empty was passed a function "+xs(e);throw new tt(i.trim(),void 0,t)}default:if(e!==Object(e))throw new tt(r+".empty was passed non-string primitive "+Ze(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 vp(){let e=te(this,"object"),t=ct(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}ne(vp,"checkArguments");G.addProperty("arguments",vp);G.addProperty("Arguments",vp);function Ds(e,t){t&&te(this,"message",t);let r=te(this,"object");if(te(this,"deep")){let n=te(this,"lockSsfi");te(this,"lockSsfi",!0),this.eql(e),te(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}ne(Ds,"assertEqual");G.addMethod("equal",Ds);G.addMethod("equals",Ds);G.addMethod("eq",Ds);function _p(e,t){t&&te(this,"message",t);let r=te(this,"eql");this.assert(r(e,te(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}ne(_p,"assertEql");G.addMethod("eql",_p);G.addMethod("eqls",_p);function Rs(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),a=i?i+": ":"",o=te(this,"ssfi"),s=ct(r).toLowerCase(),l=ct(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new G(r,i,o,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new tt(a+"the argument to above must be a date",void 0,o);if(!Lt(e)&&(n||Lt(r)))throw new tt(a+"the argument to above must be a number",void 0,o);if(!n&&s!=="date"&&!Lt(r)){let u=s==="string"?"'"+r+"'":r;throw new tt(a+"expected "+u+" to be a number or a date",void 0,o)}if(n){let u="length",p;s==="map"||s==="set"?(u="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}ne(Rs,"assertAbove");G.addMethod("above",Rs);G.addMethod("gt",Rs);G.addMethod("greaterThan",Rs);function Ps(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),a=i?i+": ":"",o=te(this,"ssfi"),s=ct(r).toLowerCase(),l=ct(e).toLowerCase(),u,p=!0;if(n&&s!=="map"&&s!=="set"&&new G(r,i,o,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to least must be a date";else if(!Lt(e)&&(n||Lt(r)))u=a+"the argument to least must be a number";else if(!n&&s!=="date"&&!Lt(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new tt(u,void 0,o);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}ne(Ps,"assertLeast");G.addMethod("least",Ps);G.addMethod("gte",Ps);G.addMethod("greaterThanOrEqual",Ps);function Os(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),a=i?i+": ":"",o=te(this,"ssfi"),s=ct(r).toLowerCase(),l=ct(e).toLowerCase(),u,p=!0;if(n&&s!=="map"&&s!=="set"&&new G(r,i,o,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to below must be a date";else if(!Lt(e)&&(n||Lt(r)))u=a+"the argument to below must be a number";else if(!n&&s!=="date"&&!Lt(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new tt(u,void 0,o);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}ne(Os,"assertBelow");G.addMethod("below",Os);G.addMethod("lt",Os);G.addMethod("lessThan",Os);function Fs(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),a=i?i+": ":"",o=te(this,"ssfi"),s=ct(r).toLowerCase(),l=ct(e).toLowerCase(),u,p=!0;if(n&&s!=="map"&&s!=="set"&&new G(r,i,o,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=a+"the argument to most must be a date";else if(!Lt(e)&&(n||Lt(r)))u=a+"the argument to most must be a number";else if(!n&&s!=="date"&&!Lt(r)){let f=s==="string"?"'"+r+"'":r;u=a+"expected "+f+" to be a number or a date"}else p=!1;if(p)throw new tt(u,void 0,o);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}ne(Fs,"assertMost");G.addMethod("most",Fs);G.addMethod("lte",Fs);G.addMethod("lessThanOrEqual",Fs);G.addMethod("within",function(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"doLength"),a=te(this,"message"),o=a?a+": ":"",s=te(this,"ssfi"),l=ct(n).toLowerCase(),u=ct(e).toLowerCase(),p=ct(t).toLowerCase(),f,h=!0,m=u==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&l!=="map"&&l!=="set"&&new G(n,a,s,!0).to.have.property("length"),!i&&l==="date"&&(u!=="date"||p!=="date"))f=o+"the arguments to within must be dates";else if((!Lt(e)||!Lt(t))&&(i||Lt(n)))f=o+"the arguments to within must be numbers";else if(!i&&l!=="date"&&!Lt(n)){let g=l==="string"?"'"+n+"'":n;f=o+"expected "+g+" to be a number or a date"}else h=!1;if(h)throw new tt(f,void 0,s);if(i){let g="length",E;l==="map"||l==="set"?(g="size",E=n.size):E=n.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+g+" within "+m,"expected #{this} to not have a "+g+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function Ap(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"ssfi"),i=te(this,"message"),a;try{a=r instanceof e}catch(s){throw s instanceof TypeError?(i=i?i+": ":"",new tt(i+"The instanceof assertion needs a constructor but "+ct(e)+" was given.",void 0,n)):s}let o=xs(e);o==null&&(o="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+o,"expected #{this} to not be an instance of "+o)}ne(Ap,"assertInstanceOf");G.addMethod("instanceof",Ap);G.addMethod("instanceOf",Ap);function wp(e,t,r){r&&te(this,"message",r);let n=te(this,"nested"),i=te(this,"own"),a=te(this,"message"),o=te(this,"object"),s=te(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new tt(a+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new tt(a+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&i)throw new tt(a+'The "nested" and "own" flags cannot be combined.',void 0,s);if(o==null)throw new tt(a+"Target cannot be null or undefined.",void 0,s);let u=te(this,"deep"),p=te(this,"negate"),f=n?up(o,e):null,h=n?f.value:o[e],m=u?te(this,"eql"):(A,v)=>A===v,g="";u&&(g+="deep "),i&&(g+="own "),n&&(g+="nested "),g+="property ";let E;i?E=Object.prototype.hasOwnProperty.call(o,e):n?E=f.exists:E=Ss(o,e),(!p||arguments.length===1)&&this.assert(E,"expected #{this} to have "+g+Ze(e),"expected #{this} to not have "+g+Ze(e)),arguments.length>1&&this.assert(E&&m(t,h),"expected #{this} to have "+g+Ze(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+g+Ze(e)+" of #{act}",t,h),te(this,"object",h)}ne(wp,"assertProperty");G.addMethod("property",wp);function Tp(e,t,r){te(this,"own",!0),wp.apply(this,arguments)}ne(Tp,"assertOwnProperty");G.addMethod("ownProperty",Tp);G.addMethod("haveOwnProperty",Tp);function Cp(e,t,r){typeof t=="string"&&(r=t,t=null),r&&te(this,"message",r);let n=te(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),a=te(this,"eql");i&&t?this.assert(a(t,i),"expected the own property descriptor for "+Ze(e)+" on #{this} to match "+Ze(t)+", got "+Ze(i),"expected the own property descriptor for "+Ze(e)+" on #{this} to not match "+Ze(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+Ze(e),"expected #{this} to not have an own property descriptor for "+Ze(e)),te(this,"object",i)}ne(Cp,"assertOwnPropertyDescriptor");G.addMethod("ownPropertyDescriptor",Cp);G.addMethod("haveOwnPropertyDescriptor",Cp);function Sp(){te(this,"doLength",!0)}ne(Sp,"assertLengthChain");function xp(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=ct(r).toLowerCase(),i=te(this,"message"),a=te(this,"ssfi"),o="length",s;switch(n){case"map":case"set":o="size",s=r.size;break;default:new G(r,i,a,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+o+" of #{exp} but got #{act}","expected #{this} to not have a "+o+" of #{act}",e,s)}ne(xp,"assertLength");G.addChainableMethod("length",xp,Sp);G.addChainableMethod("lengthOf",xp,Sp);function Dp(e,t){t&&te(this,"message",t);let r=te(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}ne(Dp,"assertMatch");G.addMethod("match",Dp);G.addMethod("matches",Dp);G.addMethod("string",function(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi");new G(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ze(e),"expected #{this} to not contain "+Ze(e))});function Rp(e){let t=te(this,"object"),r=ct(t),n=ct(e),i=te(this,"ssfi"),a=te(this,"deep"),o,s="",l,u=!0,p=te(this,"message");p=p?p+": ":"";let f=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")s=a?"deeply ":"",l=[],t.forEach(function(v,T){l.push(T)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=yp(t),n){case"Array":if(arguments.length>1)throw new tt(f,void 0,i);break;case"Object":if(arguments.length>1)throw new tt(f,void 0,i);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 tt(p+"keys required",void 0,i);let h=e.length,m=te(this,"any"),g=te(this,"all"),E=e,A=a?te(this,"eql"):(v,T)=>v===T;if(!m&&!g&&(g=!0),m&&(u=E.some(function(v){return l.some(function(T){return A(v,T)})})),g&&(u=E.every(function(v){return l.some(function(T){return A(v,T)})}),te(this,"contains")||(u=u&&e.length==l.length)),h>1){e=e.map(function(T){return Ze(T)});let v=e.pop();g&&(o=e.join(", ")+", and "+v),m&&(o=e.join(", ")+", or "+v)}else o=Ze(e[0]);o=(h>1?"keys ":"key ")+o,o=(te(this,"contains")?"contain ":"have ")+o,this.assert(u,"expected #{this} to "+s+o,"expected #{this} to not "+s+o,E.slice(0).sort($a),l.sort($a),!0)}ne(Rp,"assertKeys");G.addMethod("keys",Rp);G.addMethod("key",Rp);function Is(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"ssfi"),a=te(this,"message"),o=te(this,"negate")||!1;new G(n,a,i,!0).is.a("function"),(Ua(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(m){l=!0,s=m}let u=e===void 0&&t===void 0,p=!!(e&&t),f=!1,h=!1;if(u||!u&&!o){let m="an error";e instanceof Error?m="#{exp}":e&&(m=ar.getConstructorName(e));let g=s;if(s instanceof Error)g=s.toString();else if(typeof s=="string")g=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{g=ar.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&s&&(e instanceof Error&&ar.compatibleInstance(s,e)===o&&(p&&o?f=!0:this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!o?" but #{act} was thrown":""),e.toString(),s.toString())),ar.compatibleConstructor(s,e)===o&&(p&&o?f=!0:this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ar.getConstructorName(e),s instanceof Error?s.toString():s&&ar.getConstructorName(s)))),s&&t!==void 0&&t!==null){let m="including";Ua(t)&&(m="matching"),ar.compatibleMessage(s,t)===o&&(p&&o?h=!0:this.assert(o,"expected #{this} to throw error "+m+" #{exp} but got #{act}","expected #{this} to throw error not "+m+" #{exp}",t,ar.getMessage(s)))}f&&h&&this.assert(o,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ar.getConstructorName(e),s instanceof Error?s.toString():s&&ar.getConstructorName(s)),te(this,"object",s)}ne(Is,"assertThrows");G.addMethod("throw",Is);G.addMethod("throws",Is);G.addMethod("Throw",Is);function Pp(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+Ze(e),"expected #{this} to not respond to "+Ze(e))}ne(Pp,"respondTo");G.addMethod("respondTo",Pp);G.addMethod("respondsTo",Pp);G.addProperty("itself",function(){te(this,"itself",!0)});function Op(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Un(e),"expected #{this} to not satisfy"+Un(e),!te(this,"negate"),n)}ne(Op,"satisfy");G.addMethod("satisfy",Op);G.addMethod("satisfies",Op);function Fp(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),a=te(this,"ssfi");new G(n,i,a,!0).is.numeric;let o="A `delta` value is required for `closeTo`";if(t==null)throw new tt(i?`${i}: ${o}`:o,void 0,a);if(new G(t,i,a,!0).is.numeric,o="A `expected` value is required for `closeTo`",e==null)throw new tt(i?`${i}: ${o}`:o,void 0,a);new G(e,i,a,!0).is.numeric;let s=ne(u=>u<0n?-u:u,"abs"),l=ne(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}ne(Fp,"closeTo");G.addMethod("closeTo",Fp);G.addMethod("approximately",Fp);function J0(e,t,r,n,i){let a=Array.from(t),o=Array.from(e);if(!n){if(o.length!==a.length)return!1;a=a.slice()}return o.every(function(s,l){if(i)return r?r(s,a[l]):s===a[l];if(!r){let u=a.indexOf(s);return u===-1?!1:(n||a.splice(u,1),!0)}return a.some(function(u,p){return r(s,u)?(n||a.splice(p,1),!0):!1})})}ne(J0,"isSubsetOf");G.addMethod("members",function(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi");new G(r,n,i,!0).to.be.iterable,new G(e,n,i,!0).to.be.iterable;let a=te(this,"contains"),o=te(this,"ordered"),s,l,u;a?(s=o?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",u="expected #{this} to not be "+s+" of #{exp}"):(s=o?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",u="expected #{this} to not have the same "+s+" as #{exp}");let p=te(this,"deep")?te(this,"eql"):void 0;this.assert(J0(e,r,p,a,o),l,u,e,r,!0)});G.addProperty("iterable",function(e){e&&te(this,"message",e);let t=te(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function H0(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi"),a=te(this,"contains"),o=te(this,"deep"),s=te(this,"eql");new G(e,n,i,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):o?this.assert(e.some(function(l){return s(r,l)}),"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)}ne(H0,"oneOf");G.addMethod("oneOf",H0);function Ip(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),a=te(this,"ssfi");new G(n,i,a,!0).is.a("function");let o;t?(new G(e,i,a,!0).to.have.property(t),o=e[t]):(new G(e,i,a,!0).is.a("function"),o=e()),n();let s=t==null?e():e[t],l=t==null?o:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",o),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","change"),te(this,"realDelta",s!==o),this.assert(o!==s,"expected "+l+" to change","expected "+l+" to not change")}ne(Ip,"assertChanges");G.addMethod("change",Ip);G.addMethod("changes",Ip);function Np(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),a=te(this,"ssfi");new G(n,i,a,!0).is.a("function");let o;t?(new G(e,i,a,!0).to.have.property(t),o=e[t]):(new G(e,i,a,!0).is.a("function"),o=e()),new G(o,i,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?o:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",o),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","increase"),te(this,"realDelta",s-o),this.assert(s-o>0,"expected "+l+" to increase","expected "+l+" to not increase")}ne(Np,"assertIncreases");G.addMethod("increase",Np);G.addMethod("increases",Np);function Bp(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),a=te(this,"ssfi");new G(n,i,a,!0).is.a("function");let o;t?(new G(e,i,a,!0).to.have.property(t),o=e[t]):(new G(e,i,a,!0).is.a("function"),o=e()),new G(o,i,a,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?o:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",o),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","decrease"),te(this,"realDelta",o-s),this.assert(s-o<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}ne(Bp,"assertDecreases");G.addMethod("decrease",Bp);G.addMethod("decreases",Bp);function G0(e,t){t&&te(this,"message",t);let r=te(this,"deltaMsgObj"),n=te(this,"initialDeltaValue"),i=te(this,"finalDeltaValue"),a=te(this,"deltaBehavior"),o=te(this,"realDelta"),s;a==="change"?s=Math.abs(i-n)===Math.abs(e):s=o===Math.abs(e),this.assert(s,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}ne(G0,"assertDelta");G.addMethod("by",G0);G.addProperty("extensible",function(){let e=te(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});G.addProperty("sealed",function(){let e=te(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});G.addProperty("frozen",function(){let e=te(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});G.addProperty("finite",function(e){let t=te(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 Ja(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 Ja(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?Ja(n,i):typeof n=="function"?n(i):i===n}):!1}ne(Ja,"compareSubset");G.addMethod("containSubset",function(e){let t=He(this,"object"),r=Zt.showDiff;this.assert(Ja(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Jn(e,t){return new G(e,t)}ne(Jn,"expect");Jn.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new tt(r,{actual:e,expected:t,operator:n},Jn.fail)};var z0={};tp(z0,{Should:()=>j2,should:()=>B2});function jp(){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 G(this.valueOf(),null,e):new G(this,null,e)}ne(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}ne(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,i,a,o){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new tt(a,{actual:n,expected:i,operator:o},r.fail)},r.equal=function(n,i,a){new G(n,a).to.equal(i)},r.Throw=function(n,i,a,o){new G(n,o).to.Throw(i,a)},r.exist=function(n,i){new G(n,i).to.exist},r.not={},r.not.equal=function(n,i,a){new G(n,a).to.not.equal(i)},r.not.Throw=function(n,i,a,o){new G(n,o).to.not.Throw(i,a)},r.not.exist=function(n,i){new G(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}ne(jp,"loadShould");var B2=jp,j2=jp;function J(e,t){new G(null,null,J,!0).assert(e,t,"[ negation message unavailable ]")}ne(J,"assert");J.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new tt(r,{actual:e,expected:t,operator:n},J.fail)};J.isOk=function(e,t){new G(e,t,J.isOk,!0).is.ok};J.isNotOk=function(e,t){new G(e,t,J.isNotOk,!0).is.not.ok};J.equal=function(e,t,r){let n=new G(e,r,J.equal,!0);n.assert(t==He(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};J.notEqual=function(e,t,r){let n=new G(e,r,J.notEqual,!0);n.assert(t!=He(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};J.strictEqual=function(e,t,r){new G(e,r,J.strictEqual,!0).to.equal(t)};J.notStrictEqual=function(e,t,r){new G(e,r,J.notStrictEqual,!0).to.not.equal(t)};J.deepEqual=J.deepStrictEqual=function(e,t,r){new G(e,r,J.deepEqual,!0).to.eql(t)};J.notDeepEqual=function(e,t,r){new G(e,r,J.notDeepEqual,!0).to.not.eql(t)};J.isAbove=function(e,t,r){new G(e,r,J.isAbove,!0).to.be.above(t)};J.isAtLeast=function(e,t,r){new G(e,r,J.isAtLeast,!0).to.be.least(t)};J.isBelow=function(e,t,r){new G(e,r,J.isBelow,!0).to.be.below(t)};J.isAtMost=function(e,t,r){new G(e,r,J.isAtMost,!0).to.be.most(t)};J.isTrue=function(e,t){new G(e,t,J.isTrue,!0).is.true};J.isNotTrue=function(e,t){new G(e,t,J.isNotTrue,!0).to.not.equal(!0)};J.isFalse=function(e,t){new G(e,t,J.isFalse,!0).is.false};J.isNotFalse=function(e,t){new G(e,t,J.isNotFalse,!0).to.not.equal(!1)};J.isNull=function(e,t){new G(e,t,J.isNull,!0).to.equal(null)};J.isNotNull=function(e,t){new G(e,t,J.isNotNull,!0).to.not.equal(null)};J.isNaN=function(e,t){new G(e,t,J.isNaN,!0).to.be.NaN};J.isNotNaN=function(e,t){new G(e,t,J.isNotNaN,!0).not.to.be.NaN};J.exists=function(e,t){new G(e,t,J.exists,!0).to.exist};J.notExists=function(e,t){new G(e,t,J.notExists,!0).to.not.exist};J.isUndefined=function(e,t){new G(e,t,J.isUndefined,!0).to.equal(void 0)};J.isDefined=function(e,t){new G(e,t,J.isDefined,!0).to.not.equal(void 0)};J.isCallable=function(e,t){new G(e,t,J.isCallable,!0).is.callable};J.isNotCallable=function(e,t){new G(e,t,J.isNotCallable,!0).is.not.callable};J.isObject=function(e,t){new G(e,t,J.isObject,!0).to.be.a("object")};J.isNotObject=function(e,t){new G(e,t,J.isNotObject,!0).to.not.be.a("object")};J.isArray=function(e,t){new G(e,t,J.isArray,!0).to.be.an("array")};J.isNotArray=function(e,t){new G(e,t,J.isNotArray,!0).to.not.be.an("array")};J.isString=function(e,t){new G(e,t,J.isString,!0).to.be.a("string")};J.isNotString=function(e,t){new G(e,t,J.isNotString,!0).to.not.be.a("string")};J.isNumber=function(e,t){new G(e,t,J.isNumber,!0).to.be.a("number")};J.isNotNumber=function(e,t){new G(e,t,J.isNotNumber,!0).to.not.be.a("number")};J.isNumeric=function(e,t){new G(e,t,J.isNumeric,!0).is.numeric};J.isNotNumeric=function(e,t){new G(e,t,J.isNotNumeric,!0).is.not.numeric};J.isFinite=function(e,t){new G(e,t,J.isFinite,!0).to.be.finite};J.isBoolean=function(e,t){new G(e,t,J.isBoolean,!0).to.be.a("boolean")};J.isNotBoolean=function(e,t){new G(e,t,J.isNotBoolean,!0).to.not.be.a("boolean")};J.typeOf=function(e,t,r){new G(e,r,J.typeOf,!0).to.be.a(t)};J.notTypeOf=function(e,t,r){new G(e,r,J.notTypeOf,!0).to.not.be.a(t)};J.instanceOf=function(e,t,r){new G(e,r,J.instanceOf,!0).to.be.instanceOf(t)};J.notInstanceOf=function(e,t,r){new G(e,r,J.notInstanceOf,!0).to.not.be.instanceOf(t)};J.include=function(e,t,r){new G(e,r,J.include,!0).include(t)};J.notInclude=function(e,t,r){new G(e,r,J.notInclude,!0).not.include(t)};J.deepInclude=function(e,t,r){new G(e,r,J.deepInclude,!0).deep.include(t)};J.notDeepInclude=function(e,t,r){new G(e,r,J.notDeepInclude,!0).not.deep.include(t)};J.nestedInclude=function(e,t,r){new G(e,r,J.nestedInclude,!0).nested.include(t)};J.notNestedInclude=function(e,t,r){new G(e,r,J.notNestedInclude,!0).not.nested.include(t)};J.deepNestedInclude=function(e,t,r){new G(e,r,J.deepNestedInclude,!0).deep.nested.include(t)};J.notDeepNestedInclude=function(e,t,r){new G(e,r,J.notDeepNestedInclude,!0).not.deep.nested.include(t)};J.ownInclude=function(e,t,r){new G(e,r,J.ownInclude,!0).own.include(t)};J.notOwnInclude=function(e,t,r){new G(e,r,J.notOwnInclude,!0).not.own.include(t)};J.deepOwnInclude=function(e,t,r){new G(e,r,J.deepOwnInclude,!0).deep.own.include(t)};J.notDeepOwnInclude=function(e,t,r){new G(e,r,J.notDeepOwnInclude,!0).not.deep.own.include(t)};J.match=function(e,t,r){new G(e,r,J.match,!0).to.match(t)};J.notMatch=function(e,t,r){new G(e,r,J.notMatch,!0).to.not.match(t)};J.property=function(e,t,r){new G(e,r,J.property,!0).to.have.property(t)};J.notProperty=function(e,t,r){new G(e,r,J.notProperty,!0).to.not.have.property(t)};J.propertyVal=function(e,t,r,n){new G(e,n,J.propertyVal,!0).to.have.property(t,r)};J.notPropertyVal=function(e,t,r,n){new G(e,n,J.notPropertyVal,!0).to.not.have.property(t,r)};J.deepPropertyVal=function(e,t,r,n){new G(e,n,J.deepPropertyVal,!0).to.have.deep.property(t,r)};J.notDeepPropertyVal=function(e,t,r,n){new G(e,n,J.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};J.ownProperty=function(e,t,r){new G(e,r,J.ownProperty,!0).to.have.own.property(t)};J.notOwnProperty=function(e,t,r){new G(e,r,J.notOwnProperty,!0).to.not.have.own.property(t)};J.ownPropertyVal=function(e,t,r,n){new G(e,n,J.ownPropertyVal,!0).to.have.own.property(t,r)};J.notOwnPropertyVal=function(e,t,r,n){new G(e,n,J.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};J.deepOwnPropertyVal=function(e,t,r,n){new G(e,n,J.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};J.notDeepOwnPropertyVal=function(e,t,r,n){new G(e,n,J.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};J.nestedProperty=function(e,t,r){new G(e,r,J.nestedProperty,!0).to.have.nested.property(t)};J.notNestedProperty=function(e,t,r){new G(e,r,J.notNestedProperty,!0).to.not.have.nested.property(t)};J.nestedPropertyVal=function(e,t,r,n){new G(e,n,J.nestedPropertyVal,!0).to.have.nested.property(t,r)};J.notNestedPropertyVal=function(e,t,r,n){new G(e,n,J.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};J.deepNestedPropertyVal=function(e,t,r,n){new G(e,n,J.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};J.notDeepNestedPropertyVal=function(e,t,r,n){new G(e,n,J.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};J.lengthOf=function(e,t,r){new G(e,r,J.lengthOf,!0).to.have.lengthOf(t)};J.hasAnyKeys=function(e,t,r){new G(e,r,J.hasAnyKeys,!0).to.have.any.keys(t)};J.hasAllKeys=function(e,t,r){new G(e,r,J.hasAllKeys,!0).to.have.all.keys(t)};J.containsAllKeys=function(e,t,r){new G(e,r,J.containsAllKeys,!0).to.contain.all.keys(t)};J.doesNotHaveAnyKeys=function(e,t,r){new G(e,r,J.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};J.doesNotHaveAllKeys=function(e,t,r){new G(e,r,J.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};J.hasAnyDeepKeys=function(e,t,r){new G(e,r,J.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};J.hasAllDeepKeys=function(e,t,r){new G(e,r,J.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};J.containsAllDeepKeys=function(e,t,r){new G(e,r,J.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};J.doesNotHaveAnyDeepKeys=function(e,t,r){new G(e,r,J.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};J.doesNotHaveAllDeepKeys=function(e,t,r){new G(e,r,J.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};J.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let i=new G(e,n,J.throws,!0).to.throw(t,r);return He(i,"object")};J.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new G(e,n,J.doesNotThrow,!0).to.not.throw(t,r)};J.operator=function(e,t,r,n){let i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new tt(n+'Invalid operator "'+t+'"',void 0,J.operator)}let a=new G(i,n,J.operator,!0);a.assert(He(a,"object")===!0,"expected "+Ze(e)+" to be "+t+" "+Ze(r),"expected "+Ze(e)+" to not be "+t+" "+Ze(r))};J.closeTo=function(e,t,r,n){new G(e,n,J.closeTo,!0).to.be.closeTo(t,r)};J.approximately=function(e,t,r,n){new G(e,n,J.approximately,!0).to.be.approximately(t,r)};J.sameMembers=function(e,t,r){new G(e,r,J.sameMembers,!0).to.have.same.members(t)};J.notSameMembers=function(e,t,r){new G(e,r,J.notSameMembers,!0).to.not.have.same.members(t)};J.sameDeepMembers=function(e,t,r){new G(e,r,J.sameDeepMembers,!0).to.have.same.deep.members(t)};J.notSameDeepMembers=function(e,t,r){new G(e,r,J.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};J.sameOrderedMembers=function(e,t,r){new G(e,r,J.sameOrderedMembers,!0).to.have.same.ordered.members(t)};J.notSameOrderedMembers=function(e,t,r){new G(e,r,J.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};J.sameDeepOrderedMembers=function(e,t,r){new G(e,r,J.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};J.notSameDeepOrderedMembers=function(e,t,r){new G(e,r,J.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};J.includeMembers=function(e,t,r){new G(e,r,J.includeMembers,!0).to.include.members(t)};J.notIncludeMembers=function(e,t,r){new G(e,r,J.notIncludeMembers,!0).to.not.include.members(t)};J.includeDeepMembers=function(e,t,r){new G(e,r,J.includeDeepMembers,!0).to.include.deep.members(t)};J.notIncludeDeepMembers=function(e,t,r){new G(e,r,J.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};J.includeOrderedMembers=function(e,t,r){new G(e,r,J.includeOrderedMembers,!0).to.include.ordered.members(t)};J.notIncludeOrderedMembers=function(e,t,r){new G(e,r,J.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};J.includeDeepOrderedMembers=function(e,t,r){new G(e,r,J.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};J.notIncludeDeepOrderedMembers=function(e,t,r){new G(e,r,J.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};J.oneOf=function(e,t,r){new G(e,r,J.oneOf,!0).to.be.oneOf(t)};J.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ze(e)} to be an iterable`:`expected ${Ze(e)} to be an iterable`,new tt(t,void 0,J.isIterable)};J.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.changes,!0).to.change(t,r)};J.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.changesBy,!0).to.change(t,r).by(n)};J.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.doesNotChange,!0).to.not.change(t,r)};J.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.changesButNotBy,!0).to.change(t,r).but.not.by(n)};J.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.increases,!0).to.increase(t,r)};J.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.increasesBy,!0).to.increase(t,r).by(n)};J.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.doesNotIncrease,!0).to.not.increase(t,r)};J.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};J.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.decreases,!0).to.decrease(t,r)};J.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.decreasesBy,!0).to.decrease(t,r).by(n)};J.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new G(e,n,J.doesNotDecrease,!0).to.not.decrease(t,r)};J.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);return new G(e,i,J.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};J.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new G(e,i,J.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};J.ifError=function(e){if(e)throw e};J.isExtensible=function(e,t){new G(e,t,J.isExtensible,!0).to.be.extensible};J.isNotExtensible=function(e,t){new G(e,t,J.isNotExtensible,!0).to.not.be.extensible};J.isSealed=function(e,t){new G(e,t,J.isSealed,!0).to.be.sealed};J.isNotSealed=function(e,t){new G(e,t,J.isNotSealed,!0).to.not.be.sealed};J.isFrozen=function(e,t){new G(e,t,J.isFrozen,!0).to.be.frozen};J.isNotFrozen=function(e,t){new G(e,t,J.isNotFrozen,!0).to.not.be.frozen};J.isEmpty=function(e,t){new G(e,t,J.isEmpty,!0).to.be.empty};J.isNotEmpty=function(e,t){new G(e,t,J.isNotEmpty,!0).to.not.be.empty};J.containsSubset=function(e,t,r){new G(e,r).to.containSubset(t)};J.doesNotContainSubset=function(e,t,r){new G(e,r).to.not.containSubset(t)};var k2=[["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 k2)J[t]=J[e];var Gf=[];function mi(e){let t={use:mi,AssertionError:tt,util:Nr,config:Zt,expect:Jn,assert:J,Assertion:G,...z0};return~Gf.indexOf(e)||(e(t,Nr),Gf.push(e)),t}ne(mi,"use");var W0={};or(W0,{toBeChecked:()=>NE,toBeDisabled:()=>SE,toBeEmpty:()=>pE,toBeEmptyDOMElement:()=>dE,toBeEnabled:()=>xE,toBeInTheDOM:()=>yl,toBeInTheDocument:()=>cE,toBeInvalid:()=>PE,toBePartiallyChecked:()=>jE,toBeRequired:()=>DE,toBeValid:()=>OE,toBeVisible:()=>_E,toContainElement:()=>gl,toContainHTML:()=>fE,toHaveAccessibleDescription:()=>bl,toHaveAccessibleErrorMessage:()=>mE,toHaveAccessibleName:()=>vl,toHaveAttribute:()=>yE,toHaveClass:()=>gE,toHaveDescription:()=>kE,toHaveDisplayValue:()=>IE,toHaveErrorMessage:()=>ME,toHaveFocus:()=>bE,toHaveFormValues:()=>EE,toHaveRole:()=>El,toHaveSelection:()=>qE,toHaveStyle:()=>_l,toHaveTextContent:()=>hE,toHaveValue:()=>FE});var zf=Pt(by(),1);function K0(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function kp(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var Y0={};K0(Y0);kp(Y0,"default",()=>X0);var X0=class extends Error{constructor(e,t,r,n,i){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=i}},Q0={};K0(Q0);kp(Q0,"default",()=>Z0);var Z0=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},M2={};kp(M2,"CssTypes",()=>Bt);var Bt;(function(e){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"})(Bt||(Bt={}));var mu=/\/\*[^]*?(?:\*\/|$)/g,q2=(e,t)=>{t=t||{};let r=1,n=1;function i(H){let re=H.match(/\n/g);re&&(r+=re.length);let ce=H.lastIndexOf(`
214
+ `);n=~ce?H.length-ce:n+H.length}function a(){let H={line:r,column:n};return function(re){return re.position=new Z0(H,{line:r,column:n},t?.source||""),m(),re}}let o=[];function s(H){let re=new X0(t?.source||"",H,r,n,e);if(t?.silent)o.push(re);else throw re}function l(){let H=f();return{type:Bt.stylesheet,stylesheet:{source:t?.source,rules:H,parsingErrors:o}}}function u(){return h(/^{\s*/)}function p(){return h(/^}/)}function f(){let H,re=[];for(m(),g(re);e.length&&e.charAt(0)!=="}"&&(H=Pe()||W());)H&&(re.push(H),g(re));return re}function h(H){let re=H.exec(e);if(!re)return;let ce=re[0];return i(ce),e=e.slice(ce.length),re}function m(){h(/^\s*/)}function g(H){let re;for(H=H||[];re=E();)re&&H.push(re);return H}function E(){let H=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let re=h(/^\/\*[^]*?\*\//);return re?H({type:Bt.comment,comment:re[0].slice(2,-2)}):s("End of comment missing")}function A(H,re,ce){let le=re+1,ie=!1,ve=H.indexOf(")",le);for(;!ie&&ve!==-1;){let Re=H.indexOf("(",le);Re!==-1&&Re<ve?(le=A(H,Re+1)+1,ve=H.indexOf(")",le)):ie=!0}return ie&&ve!==-1?ve:-1}function v(){let H=h(/^([^{]+)/);if(!H)return;let re=fr(H[0]).replace(mu,"");if(re.indexOf(",")===-1)return[re];let ce=0,le=re.indexOf("(",ce);for(;le!==-1;){let ie=A(re,le);if(ie===-1)break;ce=ie+1,re=re.substring(0,le)+re.substring(le,ie).replace(/,/g,"‌")+re.substring(ie),le=re.indexOf("(",ce)}return re=re.replace(/("|')(?:\\\1|.)*?\1/g,ie=>ie.replace(/,/g,"‌")),re.split(",").map(ie=>fr(ie.replace(/\u200C/g,",")))}function T(){let H=a(),re=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!re)return;let ce=fr(re[0]);if(!h(/^:\s*/))return s("property missing ':'");let le=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ie=H({type:Bt.declaration,property:ce.replace(mu,""),value:le?fr(le[0]).replace(mu,""):""});return h(/^[;\s]*/),ie}function I(){let H=[];if(!u())return s("missing '{'");g(H);let re;for(;re=T();)re&&(H.push(re),g(H));return p()?H:s("missing '}'")}function R(){let H,re=[],ce=a();for(;H=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)re.push(H[1]),h(/^,\s*/);if(re.length)return ce({type:Bt.keyframe,values:re,declarations:I()||[]})}function D(){let H=a(),re=h(/^@([-\w]+)?keyframes\s*/);if(!re)return;let ce=re[1],le=h(/^([-\w]+)\s*/);if(!le)return s("@keyframes missing name");let ie=le[1];if(!u())return s("@keyframes missing '{'");let ve,Re=g();for(;ve=R();)Re.push(ve),Re=Re.concat(g());return p()?H({type:Bt.keyframes,name:ie,vendor:ce,keyframes:Re}):s("@keyframes missing '}'")}function y(){let H=a(),re=h(/^@supports *([^{]+)/);if(!re)return;let ce=fr(re[1]);if(!u())return s("@supports missing '{'");let le=g().concat(f());return p()?H({type:Bt.supports,supports:ce,rules:le}):s("@supports missing '}'")}function w(){let H=a();if(!h(/^@host\s*/))return;if(!u())return s("@host missing '{'");let re=g().concat(f());return p()?H({type:Bt.host,rules:re}):s("@host missing '}'")}function S(){let H=a(),re=h(/^@container *([^{]+)/);if(!re)return;let ce=fr(re[1]);if(!u())return s("@container missing '{'");let le=g().concat(f());return p()?H({type:Bt.container,container:ce,rules:le}):s("@container missing '}'")}function P(){let H=a(),re=h(/^@layer *([^{;@]+)/);if(!re)return;let ce=fr(re[1]);if(!u())return h(/^[;\s]*/),H({type:Bt.layer,layer:ce});let le=g().concat(f());return p()?H({type:Bt.layer,layer:ce,rules:le}):s("@layer missing '}'")}function z(){let H=a(),re=h(/^@media *([^{]+)/);if(!re)return;let ce=fr(re[1]);if(!u())return s("@media missing '{'");let le=g().concat(f());return p()?H({type:Bt.media,media:ce,rules:le}):s("@media missing '}'")}function L(){let H=a(),re=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(re)return H({type:Bt.customMedia,name:fr(re[1]),media:fr(re[2])})}function K(){let H=a();if(!h(/^@page */))return;let re=v()||[];if(!u())return s("@page missing '{'");let ce=g(),le;for(;le=T();)ce.push(le),ce=ce.concat(g());return p()?H({type:Bt.page,selectors:re,declarations:ce}):s("@page missing '}'")}function q(){let H=a(),re=h(/^@([-\w]+)?document *([^{]+)/);if(!re)return;let ce=fr(re[1]),le=fr(re[2]);if(!u())return s("@document missing '{'");let ie=g().concat(f());return p()?H({type:Bt.document,document:le,vendor:ce,rules:ie}):s("@document missing '}'")}function B(){let H=a();if(!h(/^@font-face\s*/))return;if(!u())return s("@font-face missing '{'");let re=g(),ce;for(;ce=T();)re.push(ce),re=re.concat(g());return p()?H({type:Bt.fontFace,declarations:re}):s("@font-face missing '}'")}function V(){let H=a();if(!h(/^@starting-style\s*/))return;if(!u())return s("@starting-style missing '{'");let re=g().concat(f());return p()?H({type:Bt.startingStyle,rules:re}):s("@starting-style missing '}'")}let X=Ee("import"),Q=Ee("charset"),oe=Ee("namespace");function Ee(H){let re=new RegExp("^@"+H+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let ce=a(),le=h(re);if(!le)return;let ie={type:H};return ie[H]=le[1].trim(),ce(ie)}}function Pe(){if(e[0]==="@")return D()||z()||L()||y()||X()||Q()||oe()||q()||K()||w()||B()||S()||V()||P()}function W(){let H=a(),re=v();return re?(g(),H({type:Bt.rule,selectors:re,declarations:I()||[]})):s("selector missing")}return hl(l())};function fr(e){return e?e.trim():""}function hl(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let a=e[i];Array.isArray(a)?a.forEach(o=>{hl(o,n)}):a&&typeof a=="object"&&hl(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var L2=q2,$2=L2,V2=Object.prototype.toString;function U2(e){return typeof e=="function"||V2.call(e)==="[object Function]"}function J2(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var H2=Math.pow(2,53)-1;function G2(e){var t=J2(e);return Math.min(Math.max(t,0),H2)}function wr(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");for(var i=G2(n.length),a=U2(r)?Object(new r(i)):new Array(i),o=0,s;o<i;)s=n[o],a[o]=s,o+=1;return a.length=i,a}function To(e){"@babel/helpers - typeof";return To=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},To(e)}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W2(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,eE(n.key),n)}}function K2(e,t,r){return t&&W2(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y2(e,t,r){return t=eE(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eE(e){var t=X2(e,"string");return To(t)==="symbol"?t:String(t)}function X2(e,t){if(To(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(To(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Q2=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];z2(this,e),Y2(this,"items",void 0),this.items=t}return K2(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Z2=typeof Set>"u"?Set:Q2;function Yt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var eB={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"},tB={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 rB(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=tB[t])!==null&&n!==void 0&&n.has(r))})}function tE(e,t){return rB(e,t)}function nB(e){var t=oB(e);if(t===null||ml.indexOf(t)!==-1){var r=iB(e);if(ml.indexOf(t||"")===-1||tE(e,r||""))return r}return t}function iB(e){var t=eB[Yt(e)];if(t!==void 0)return t;switch(Yt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!tE(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}function oB(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ml=["presentation","none"];function wt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function rE(e){return wt(e)&&Yt(e)==="caption"}function Sa(e){return wt(e)&&Yt(e)==="input"}function aB(e){return wt(e)&&Yt(e)==="optgroup"}function sB(e){return wt(e)&&Yt(e)==="select"}function uB(e){return wt(e)&&Yt(e)==="table"}function lB(e){return wt(e)&&Yt(e)==="textarea"}function cB(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function pB(e){return wt(e)&&Yt(e)==="fieldset"}function dB(e){return wt(e)&&Yt(e)==="legend"}function fB(e){return wt(e)&&Yt(e)==="slot"}function hB(e){return wt(e)&&e.ownerSVGElement!==void 0}function mB(e){return wt(e)&&Yt(e)==="svg"}function yB(e){return hB(e)&&Yt(e)==="title"}function Ha(e,t){if(wt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function Wr(e,t){return wt(e)?t.indexOf(nB(e))!==-1:!1}function gB(e){return e.trim().replace(/\s\s+/g," ")}function bB(e,t){if(!wt(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"}function EB(e){return Wr(e,["button","combobox","listbox","textbox"])||nE(e,"range")}function nE(e,t){if(!wt(e))return!1;if(t==="range")return Wr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Wf(e,t){var r=wr(e.querySelectorAll(t));return Ha(e,"aria-owns").forEach(function(n){r.push.apply(r,wr(n.querySelectorAll(t)))}),r}function vB(e){return sB(e)?e.selectedOptions||Wf(e,"[selected]"):Wf(e,'[aria-selected="true"]')}function _B(e){return Wr(e,ml)}function AB(e){return rE(e)}function wB(e){return Wr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function TB(e){return!1}function CB(e){return Sa(e)||lB(e)?e.value:e.textContent||""}function Kf(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function iE(e){var t=Yt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function oE(e){if(iE(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&wt(r)){var n=oE(r);n!==null&&(t=n)}}),t}function SB(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):oE(e)}function xB(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return wr(t);if(!iE(e))return null;var r=e.ownerDocument;return wr(r.querySelectorAll("label")).filter(function(n){return SB(n)===e})}function DB(e){var t=e.assignedNodes();return t.length===0?wr(e.childNodes):t}function aE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Z2,n=cB(e),i=t.compute,a=i===void 0?"name":i,o=t.computedStyleSupportsPseudoElements,s=o===void 0?t.getComputedStyle!==void 0:o,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,p=t.hidden,f=p===void 0?!1:p;function h(v,T){var I="";if(wt(v)&&s){var R=u(v,"::before"),D=Kf(R);I="".concat(D," ").concat(I)}var y=fB(v)?DB(v):wr(v.childNodes).concat(Ha(v,"aria-owns"));if(y.forEach(function(P){var z=A(P,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),L=wt(P)?u(P).getPropertyValue("display"):"inline",K=L!=="inline"?" ":"";I+="".concat(K).concat(z).concat(K)}),wt(v)&&s){var w=u(v,"::after"),S=Kf(w);I="".concat(I," ").concat(S)}return I.trim()}function m(v,T){var I=v.getAttributeNode(T);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function g(v){return wt(v)?m(v,"title"):null}function E(v){if(!wt(v))return null;if(pB(v)){r.add(v);for(var T=wr(v.childNodes),I=0;I<T.length;I+=1){var R=T[I];if(dB(R))return A(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(uB(v)){r.add(v);for(var D=wr(v.childNodes),y=0;y<D.length;y+=1){var w=D[y];if(rE(w))return A(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mB(v)){r.add(v);for(var S=wr(v.childNodes),P=0;P<S.length;P+=1){var z=S[P];if(yB(z))return z.textContent}return null}else if(Yt(v)==="img"||Yt(v)==="area"){var L=m(v,"alt");if(L!==null)return L}else if(aB(v)){var K=m(v,"label");if(K!==null)return K}if(Sa(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var q=m(v,"value");if(q!==null)return q;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var B=xB(v);if(B!==null&&B.length!==0)return r.add(v),wr(B).map(function(oe){return A(oe,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(oe){return oe.length>0}).join(" ");if(Sa(v)&&v.type==="image"){var V=m(v,"alt");if(V!==null)return V;var X=m(v,"title");return X!==null?X:"Submit Query"}if(Wr(v,["button"])){var Q=h(v,{isEmbeddedInLabel:!1});if(Q!=="")return Q}return null}function A(v,T){if(r.has(v))return"";if(!f&&bB(v,u)&&!T.isReferenced)return r.add(v),"";var I=wt(v)?v.getAttributeNode("aria-labelledby"):null,R=I!==null&&!r.has(I)?Ha(v,"aria-labelledby"):[];if(a==="name"&&!T.isReferenced&&R.length>0)return r.add(I),R.map(function(L){return A(L,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var D=T.recursion&&EB(v)&&a==="name";if(!D){var y=(wt(v)&&v.getAttribute("aria-label")||"").trim();if(y!==""&&a==="name")return r.add(v),y;if(!_B(v)){var w=E(v);if(w!==null)return r.add(v),w}}if(Wr(v,["menu"]))return r.add(v),"";if(D||T.isEmbeddedInLabel||T.isReferenced){if(Wr(v,["combobox","listbox"])){r.add(v);var S=vB(v);return S.length===0?Sa(v)?v.value:"":wr(S).map(function(L){return A(L,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(nE(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(Wr(v,["textbox"]))return r.add(v),CB(v)}if(wB(v)||wt(v)&&T.isReferenced||AB(v)||TB()){var P=h(v,{isEmbeddedInLabel:T.isEmbeddedInLabel});if(P!=="")return r.add(v),P}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(T.recursion)return r.add(v),h(v,{isEmbeddedInLabel:T.isEmbeddedInLabel});var z=g(v);return z!==null?(r.add(v),z):(r.add(v),"")}return gB(A(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Co(e){"@babel/helpers - typeof";return Co=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},Co(e)}function Yf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Xf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Yf(Object(r),!0).forEach(function(n){RB(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function RB(e,t,r){return t=PB(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PB(e){var t=OB(e,"string");return Co(t)==="symbol"?t:String(t)}function OB(e,t){if(Co(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Co(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function FB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ha(e,"aria-describedby").map(function(a){return aE(a,Xf(Xf({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}function IB(e){return Wr(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function NB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return IB(e)?"":aE(e,t)}var Mp=Pt(fc(),1),BB=Pt(vy(),1),qp=Pt(Oy(),1),jB=Pt(Fy(),1),sE=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let i="";try{i=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,i].join(`
215
+ `)}},Qf=class extends sE{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Zf=class extends sE{constructor(...e){super("be a Node",...e)}};function uE(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function kB(e,...t){uE(e,Zf,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Zf(e,...t)}function st(e,...t){uE(e,Qf,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Qf(e,...t)}var MB=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
216
+ `)}};function qB(e,...t){let r=$2(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new MB({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:a})=>Object.assign(n,{[i]:a}),{})}function eh(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ut(e,t,r,n,i,a){return[`${t}
217
+ `,`${r}:
218
+ ${e.utils.EXPECTED_COLOR((0,zf.default)(eh(e,n),2))}`,`${i}:
219
+ ${e.utils.RECEIVED_COLOR((0,zf.default)(eh(e,a),2))}`].join(`
220
+ `)}function LB(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Ns(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Bs(e){return e.replace(/\s+/g," ").trim()}function An(e){return e.tagName&&e.tagName.toLowerCase()}function $B({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}function VB(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var UB=["meter","progressbar","slider","spinbutton"];function JB(e){if(UB.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function lE(e){if(e)switch(e.tagName.toLowerCase()){case"input":return VB(e);case"select":return $B(e);default:return e.value??JB(e)}}function HB(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Lp(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function yl(e,t){return Ns("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&st(e,yl,this),t&&st(t,yl,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
221
+ `)}}function cE(e){(e!==null||!this.isNot)&&st(e,cE,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
222
+ `)}}function pE(e){return Ns("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),st(e,pE,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
223
+ `)}}function dE(e){return st(e,dE,this),{pass:GB(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
224
+ `)}}function GB(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function gl(e,t){return st(e,gl,this),t!==null&&st(t,gl,this),{pass:e.contains(t),message:()=>[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))}
225
+ `)].join(`
226
+ `)}}function zB(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function fE(e,t){if(st(e,fE,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(zB(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
227
+ `)}}function hE(e,t,r={normalizeWhitespace:!0}){kB(e,hE,this);let n=r.normalizeWhitespace?Bs(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&LB(n,t),message:()=>{let a=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function bl(e,t){st(e,bl,this);let r=FB(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let a=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.${bl.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var Yi="aria-invalid",WB=["false"];function mE(e,t){st(e,mE,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:()=>Ut(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`)};let a=e.getAttribute(Yi);if(!e.hasAttribute(Yi)||WB.includes(a))return{pass:!1,message:()=>Ut(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Yi}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Yi}="${e.getAttribute(Yi)}`:null)};let o=Bs(e.ownerDocument.getElementById(i)?.textContent??"");return{pass:t===void 0?!!o:t instanceof RegExp?t.test(o):this.equals(o,t),message:()=>Ut(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",o)}}var KB=QB(Mp.elementRoles);function El(e,t){st(e,El,this);let r=YB(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.${El.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function YB(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):XB(e)}function XB(e){for(let{match:t,roles:r}of KB)if(t(e))return[...r];return[]}function QB(e){function t({name:o,attributes:s}){return`${o}${s.map(({name:l,value:u,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${l}])`:u?`[${l}="${u}"]`:`[${l}]`).join("")}`}function r({attributes:o=[]}){return o.length}function n({specificity:o},{specificity:s}){return s-o}function i(o){let{attributes:s=[]}=o,l=s.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let u=t({...o,attributes:s});return p=>l>=0&&p.type!=="text"?!1:p.matches(u)}let a=[];for(let[o,s]of e.entries())a=[...a,{match:i(o),roles:Array.from(s),specificity:r(o)}];return a.sort(n)}function vl(e,t){st(e,vl,this);let r=NB(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let a=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.${vl.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function th(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function ZB(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function yE(e,t,r){st(e,yE,this);let n=r!==void 0,i=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?i&&this.equals(a,r):i,message:()=>{let o=this.isNot?"not to":"to",s=i?th(this.utils.stringify,t,a):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:ZB(this.utils.stringify,t,r)});return Ut(this,l,`Expected the element ${o} have attribute`,th(this.utils.stringify,t,r),"Received",s)}}}function ej(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}}function rh(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function nh(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function gE(e,...t){st(e,gE,this);let{expectedClassNames:r,options:n}=ej(t),i=rh(e.getAttribute("class")),a=r.reduce((s,l)=>s.concat(typeof l=="string"||!l?rh(l):l),[]),o=a.some(s=>s instanceof RegExp);if(n.exact&&o)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:nh(a,i)&&a.length===i.length,message:()=>{let s=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,a.join(" "),"Received",i.join(" "))}}:a.length>0?{pass:nh(a,i),message:()=>{let s=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${s} have class`,a.join(" "),"Received",i.join(" "))}}:{pass:this.isNot?i.length>0:!1,message:()=>this.isNot?Ut(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
228
+ `)}}function tj(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}function rj(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),a=[r];return i||a.push(r.toLowerCase()),a.some(o=>t[o]===n||t.getPropertyValue(o)===n)})}function ih(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
229
+ `)}function nj(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,a)=>Object.assign(i,{[a]:r.getPropertyValue(a)}),{});return e(ih(t),ih(n)).replace(`${BB.default.red("+ Received")}
230
+ `,"")}function _l(e,t){st(e,_l,this);let r=typeof t=="object"?t:qB(t,_l,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=tj(e.ownerDocument,r),a=n(e);return{pass:rj(i,a),message:()=>{let o=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(o,"element",""),nj(this.utils.diff,i,a)].join(`
231
+
232
+ `)}}}function bE(e){return st(e,bE,this),{pass:e.ownerDocument.activeElement===e,message:()=>[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(`
233
+ `)}}function ij(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)}}function oj(e,t){let r=[...e.querySelectorAll(`[name="${(0,jB.default)(t)}"]`)];if(r.length!==0)return r.length===1?lE(r[0]):ij(r)}function aj(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function sj(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[aj(r)]:oj(e,r)}),{})}function EE(e,t){if(st(e,EE,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=sj(e);return{pass:Object.entries(t).every(([n,i])=>(0,qp.default)(r[n],i,Lp)),message:()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(o=>t.hasOwnProperty(o)).reduce((o,s)=>({...o,[s]:r[s]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
234
+
235
+ `)}}}function uj(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}function lj(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}function vE(e,t){return uj(e)&&lj(e,t)&&(!e.parentElement||vE(e.parentElement,e))}function _E(e){st(e,_E,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&vE(e);return{pass:r,message:()=>{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(`
236
+ `)}}}var cj=["fieldset","input","select","optgroup","option","button","textarea"];function pj(e,t){return An(e)==="legend"&&An(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>An(r)==="legend"))}function dj(e,t){return wE(t)&&!pj(e,t)}function fj(e){return e.includes("-")}function AE(e){let t=An(e);return cj.includes(t)||fj(t)}function wE(e){return AE(e)&&e.hasAttribute("disabled")}function TE(e){let t=e.parentElement;return!!t&&(dj(e,t)||TE(t))}function CE(e){return AE(e)&&(wE(e)||TE(e))}function SE(e){st(e,SE,this);let t=CE(e);return{pass:t,message:()=>{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(`
237
+ `)}}}function xE(e){st(e,xE,this);let t=!CE(e);return{pass:t,message:()=>{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(`
238
+ `)}}}var hj=["select","textarea"],mj=["input","select","textarea"],yj=["color","hidden","range","submit","image","reset"],gj=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function bj(e){return hj.includes(An(e))&&e.hasAttribute("required")}function Ej(e){return An(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!yj.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function vj(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(mj.includes(An(e))||e.hasAttribute("role")&&gj.includes(e.getAttribute("role")))}function DE(e){st(e,DE,this);let t=bj(e)||Ej(e)||vj(e);return{pass:t,message:()=>{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(`
239
+ `)}}}var _j=["form","input","select","textarea"];function Aj(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function wj(e){return _j.includes(An(e))}function RE(e){let t=Aj(e);return wj(e)?t||!e.checkValidity():t}function PE(e){st(e,PE,this);let t=RE(e);return{pass:t,message:()=>{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(`
240
+ `)}}}function OE(e){st(e,OE,this);let t=!RE(e);return{pass:t,message:()=>{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(`
241
+ `)}}}function FE(e,t){if(st(e,FE,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=lE(e),n=t!==void 0,i=t,a=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,qp.default)(r,t,Lp):!!r,message:()=>{let o=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ut(this,s,`Expected the element ${o} have value`,n?i:"(any)","Received",a)}}}function IE(e,t){st(e,IE,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=Tj(r,e),i=Cj(t),a=i.filter(l=>n.some(u=>l instanceof RegExp?l.test(u):this.equals(u,String(l)))).length,o=a===n.length,s=a===i.length;return{pass:o&&s,message:()=>Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function Tj(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function Cj(e){return e instanceof Array?e:[e]}function NE(e){st(e,NE,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>BE(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${Sj()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
242
+ `)}}}function Sj(){return HB(xj().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function xj(){return Mp.roles.keys().filter(BE)}function BE(e){return Mp.roles.get(e)?.props["aria-checked"]!==void 0}function jE(e){st(e,jE,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i};return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
+ `)}}}function kE(e,t){Ns("toHaveDescription","Please use toHaveAccessibleDescription."),st(e,kE,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,o=n.map(s=>a.getElementById(s)).filter(Boolean);i=Bs(o.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let a=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function ME(e,t){if(Ns("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),st(e,ME,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:()=>Ut(this,this.utils.matcherHint(`${a}.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(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,o=n.map(s=>a.getElementById(s)).filter(Boolean);i=Bs(o.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let a=this.isNot?"not to":"to";return Ut(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function Dj(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 a=e===r.startContainer||e.contains(r.startContainer),o=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(a||o)&&(n.selectNodeContents(e),a&&n.setStart(r.startContainer,r.startOffset),o&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let i=t.toString();return t.removeAllRanges(),t.addRange(r),i}function qE(e,t){st(e,qE,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=Dj(e);return{pass:r?(0,qp.default)(n,t,Lp):!!n,message:()=>{let i=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return Ut(this,a,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)}}}Pt(by(),1);Pt(fc(),1);Pt(vy(),1);Pt(Oy(),1);Pt(Fy(),1);var yu,oh;function Rj(){if(oh)return yu;oh=1;var e,t,r,n,i,a,o,s,l,u,p,f,h,m,g,E,A,v,T;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,f=/--|\+\+|=>|\.{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,g=/(['"])(?:(?!\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,E=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,T=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,l=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,m=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,v=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,A=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,o=/^(?:return|throw|yield)$/,u=RegExp(s.source),yu=function*(I,{jsx:R=!1}={}){var D,y,w,S,P,z,L,K,q,B,V,X,Q,oe;for({length:z}=I,S=0,P="",oe=[{tag:"JS"}],D=[],V=0,X=!1;S<z;){switch(K=oe[oe.length-1],K.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(I[S]==="/"&&(v.test(P)||a.test(P))&&(h.lastIndex=S,L=h.exec(I))){S=h.lastIndex,P=L[0],X=!0,yield{type:"RegularExpressionLiteral",value:L[0],closed:L[1]!==void 0&&L[1]!=="\\"};continue}if(f.lastIndex=S,L=f.exec(I)){switch(Q=L[0],q=f.lastIndex,B=Q,Q){case"(":P==="?NonExpressionParenKeyword"&&oe.push({tag:"JSNonExpressionParen",nesting:V}),V++,X=!1;break;case")":V--,X=!0,K.tag==="JSNonExpressionParen"&&V===K.nesting&&(oe.pop(),B="?NonExpressionParenEnd",X=!1);break;case"{":f.lastIndex=0,w=!A.test(P)&&(v.test(P)||a.test(P)),D.push(w),X=!1;break;case"}":switch(K.tag){case"InterpolationInTemplate":if(D.length===K.nesting){E.lastIndex=S,L=E.exec(I),S=E.lastIndex,P=L[0],L[1]==="${"?(P="?InterpolationInTemplate",X=!1,yield{type:"TemplateMiddle",value:L[0]}):(oe.pop(),X=!0,yield{type:"TemplateTail",value:L[0],closed:L[1]==="`"});continue}break;case"InterpolationInJSX":if(D.length===K.nesting){oe.pop(),S+=1,P="}",yield{type:"JSXPunctuator",value:"}"};continue}}X=D.pop(),B=X?"?ExpressionBraceEnd":"}";break;case"]":X=!0;break;case"++":case"--":B=X?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(R&&(v.test(P)||a.test(P))){oe.push({tag:"JSXTag"}),S+=1,P="<",yield{type:"JSXPunctuator",value:Q};continue}X=!1;break;default:X=!1}S=q,P=B,yield{type:"Punctuator",value:Q};continue}if(e.lastIndex=S,L=e.exec(I)){switch(S=e.lastIndex,B=L[0],L[0]){case"for":case"if":case"while":case"with":P!=="."&&P!=="?."&&(B="?NonExpressionParenKeyword")}P=B,X=!a.test(L[0]),yield{type:L[1]==="#"?"PrivateIdentifier":"IdentifierName",value:L[0]};continue}if(g.lastIndex=S,L=g.exec(I)){S=g.lastIndex,P=L[0],X=!0,yield{type:"StringLiteral",value:L[0],closed:L[2]!==void 0};continue}if(p.lastIndex=S,L=p.exec(I)){S=p.lastIndex,P=L[0],X=!0,yield{type:"NumericLiteral",value:L[0]};continue}if(E.lastIndex=S,L=E.exec(I)){S=E.lastIndex,P=L[0],L[1]==="${"?(P="?InterpolationInTemplate",oe.push({tag:"InterpolationInTemplate",nesting:D.length}),X=!1,yield{type:"TemplateHead",value:L[0]}):(X=!0,yield{type:"NoSubstitutionTemplate",value:L[0],closed:L[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=S,L=r.exec(I)){switch(S=r.lastIndex,B=L[0],L[0]){case"<":oe.push({tag:"JSXTag"});break;case">":oe.pop(),P==="/"||K.tag==="JSXTagEnd"?(B="?JSX",X=!0):oe.push({tag:"JSXChildren"});break;case"{":oe.push({tag:"InterpolationInJSX",nesting:D.length}),B="?InterpolationInJSX",X=!1;break;case"/":P==="<"&&(oe.pop(),oe[oe.length-1].tag==="JSXChildren"&&oe.pop(),oe.push({tag:"JSXTagEnd"}))}P=B,yield{type:"JSXPunctuator",value:L[0]};continue}if(t.lastIndex=S,L=t.exec(I)){S=t.lastIndex,P=L[0],yield{type:"JSXIdentifier",value:L[0]};continue}if(n.lastIndex=S,L=n.exec(I)){S=n.lastIndex,P=L[0],yield{type:"JSXString",value:L[0],closed:L[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=S,L=i.exec(I)){S=i.lastIndex,P=L[0],yield{type:"JSXText",value:L[0]};continue}switch(I[S]){case"<":oe.push({tag:"JSXTag"}),S++,P="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":oe.push({tag:"InterpolationInJSX",nesting:D.length}),S++,P="?InterpolationInJSX",X=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(T.lastIndex=S,L=T.exec(I)){S=T.lastIndex,yield{type:"WhiteSpace",value:L[0]};continue}if(s.lastIndex=S,L=s.exec(I)){S=s.lastIndex,X=!1,o.test(P)&&(P="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:L[0]};continue}if(l.lastIndex=S,L=l.exec(I)){S=l.lastIndex,u.test(L[0])&&(X=!1,o.test(P)&&(P="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:L[0],closed:L[1]!==void 0};continue}if(m.lastIndex=S,L=m.exec(I)){S=m.lastIndex,X=!1,yield{type:"SingleLineComment",value:L[0]};continue}y=String.fromCodePoint(I.codePointAt(S)),S+=y.length,P=y,X=!1,yield{type:K.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:y}}},yu}var Pj=Rj();Vb(Pj);var LE={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(LE.keyword);new Set(LE.strict);var Oj={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]},$E=Object.entries(Oj);function js(e){return String(e)}js.open="";js.close="";$E.reduce((e,[t])=>(e[t]=js,e),{isColorSupported:!1});function Fj(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function Ij(e=!1){let t=Fj(e),r=(o,s,l,u)=>{let p="",f=0;do p+=o.substring(f,u)+l,f=u+s.length,u=o.indexOf(s,f);while(~u);return p+o.substring(f)},n=(o,s,l=o)=>{let u=p=>{let f=String(p),h=f.indexOf(s,o.length);return~h?o+r(f,s,l,h)+s:o+f+s};return u.open=o,u.close=s,u},i={isColorSupported:t},a=o=>`\x1B[${o}m`;for(let[o,s]of $E)i[o]=t?n(a(s[0]),a(s[1]),s[2]):js;return i}var lr=Ij();function xa(e,t){if(!e)throw new Error(t)}function di(e,t){return typeof t===e}function Nj(e){return e instanceof Promise}function So(e,t,r){Object.defineProperty(e,t,r)}function yi(e,t,r){So(e,t,{value:r,configurable:!0,writable:!0})}var wn=Symbol.for("tinyspy:spy"),Bj=new Set,jj=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},kj=e=>(So(e,wn,{value:{reset:()=>jj(e[wn])}}),e[wn]),Al=e=>e[wn]||kj(e);function Mj(e){xa(di("function",e)||di("undefined",e),"cannot spy on a non-function value");let t=function(...n){let i=Al(t);i.called=!0,i.callCount++,i.calls.push(n);let a=i.next.shift();if(a){i.results.push(a);let[p,f]=a;if(p==="ok")return f;throw f}let o,s="ok",l=i.results.length;if(i.impl)try{new.target?o=Reflect.construct(i.impl,n,new.target):o=i.impl.apply(this,n),s="ok"}catch(p){throw o=p,s="error",i.results.push([s,p]),p}let u=[s,o];return Nj(o)&&o.then(p=>i.resolves[l]=["ok",p],p=>i.resolves[l]=["error",p]),i.results.push(u),o};yi(t,"_isMockFunction",!0),yi(t,"length",e?e.length:0),yi(t,"name",e&&e.name||"spy");let r=Al(t);return r.reset(),r.impl=e,t}function qj(e){return!!e&&e._isMockFunction===!0}var VE=(e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},ah=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function UE(e,t,r){xa(!di("undefined",e),"spyOn could not find an object to spy upon"),xa(di("object",e)||di("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!di("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")})(),[a,o]=VE(e,n)||[];xa(o||n in e,`${String(n)} does not exist`);let s=!1;i==="value"&&o&&!o.value&&o.get&&(i="get",s=!0,r=o.get());let l;o?l=o[i]:i!=="value"?l=()=>e[n]:l=e[n],l&&Uj(l)&&(l=l[wn].getOriginal());let u=m=>{let{value:g,...E}=o||{configurable:!0,writable:!0};i!=="value"&&delete E.writable,E[i]=m,So(e,n,E)},p=()=>{a!==e?Reflect.deleteProperty(e,n):o&&!l?So(e,n,o):u(l)};r||(r=l);let f=Vj(Mj(r),r);i==="value"&&ah(f,l);let h=f[wn];return yi(h,"restore",p),yi(h,"getOriginal",()=>s?l():l),yi(h,"willCall",m=>(h.impl=m,f)),u(s?()=>(ah(f,r),f):f),Bj.add(f),f}var Lj=new Set(["length","name","prototype"]);function $j(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||Lj.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function Vj(e,t){if(!t||wn in t)return e;let{properties:r,descriptors:n}=$j(t);for(let i of r){let a=n[i];VE(e,i)||So(e,i,a)}return e}function Uj(e){return qj(e)&&"getOriginal"in e[wn]}var Ko=new Set;function gi(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function Jj(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,i,a=Gj(e,t),o=a&&a[r||"value"];gi(o)&&(i=o.mock._state());try{let s=UE(e,n),l=JE(s);return i&&l.mock._state(i),l}catch(s){throw s instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(s.message.includes("Cannot redefine property")||s.message.includes("Cannot replace module namespace")||s.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:s}):s}}var Hj=0;function JE(e){let t=e,r,n=[],i=!1,a=[],o=[],s=[],l=Al(e),u={get calls(){return l.calls},get contexts(){return o},get instances(){return a},get invocationCallOrder(){return s},get results(){return l.results.map(([m,g])=>({type:m==="error"?"throw":"return",value:g}))},get settledResults(){return l.resolves.map(([m,g])=>({type:m==="error"?"rejected":"fulfilled",value:g}))},get lastCall(){return l.calls[l.calls.length-1]},_state(m){return m&&(r=m.implementation,n=m.onceImplementations,i=m.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function p(...m){return a.push(this),o.push(this),s.push(++Hj),(i?r:n.shift()||r||l.getOriginal()||(()=>{})).apply(this,m)}let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=m=>(f=m,t),t.mockClear=()=>(l.reset(),a=[],o=[],s=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=m=>(r=m,l.willCall(p),t),t.mockImplementationOnce=m=>(n.push(m),t);function h(m,g){let E=r;r=m,l.willCall(p),i=!0;let A=()=>{r=E,i=!1},v=g();return typeof v=="object"&&v&&typeof v.then=="function"?v.then(()=>(A(),t)):(A(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>u}),l.willCall(p),Ko.add(t),t}function sh(e){let t=JE(UE({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function Gj(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}var xo=Symbol.for("matchers-object"),Do=Symbol.for("$$jest-matchers-object-storybook"),$p=Symbol.for("expect-global"),wl=Symbol.for("asymmetric-matchers-object"),zj={toSatisfy(e,t,r){let{printReceived:n,printExpected:i,matcherHint:a}=this.utils,o=t(e);return{pass:o,message:()=>o?`${a(".not.toSatisfy","received","")}
244
+
245
+ Expected value to not satisfy:
246
+ ${r||i(t)}
247
+ Received:
248
+ ${n(e)}`:`${a(".toSatisfy","received","")}
249
+
250
+ Expected value to satisfy:
251
+ ${r||i(t)}
252
+
253
+ Received:
254
+ ${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:i,printExpected:a,matcherHint:o}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${o(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(l=>r(l,e,n));return{pass:s,message:()=>s?`${o(".not.toBeOneOf","received","")}
255
+
256
+ Expected value to not be one of:
257
+ ${a(t)}
258
+ Received:
259
+ ${i(e)}`:`${o(".toBeOneOf","received","")}
260
+
261
+ Expected value to be one of:
262
+ ${a(t)}
263
+
264
+ Received:
265
+ ${i(e)}`}}},Ga=lr.green,Vp=lr.red,Wj=lr.inverse,Kj=lr.bold,hn=lr.dim;function Yj(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:a=!1,isNot:o=!1,promise:s="",secondArgument:l="",expectedColor:u=Ga,receivedColor:p=Vp,secondArgumentColor:f=Ga}=n,h="",m="expect";return!a&&t!==""&&(h+=hn(`${m}(`)+p(t),m=")"),s!==""&&(h+=hn(`${m}.`)+s,m=""),o&&(h+=`${hn(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(h+=hn(`${m}.`)+e,m=""),r===""?m+="()":(h+=hn(`${m}(`)+u(r),l&&(h+=hn(", ")+f(l)),m=")"),i!==""&&(m+=` // ${i}`),m!==""&&(h+=hn(m)),h}var Xj="·";function HE(e){return e.replace(/\s+$/gm,t=>Xj.repeat(t.length))}function Qj(e){return Vp(HE(pr(e)))}function Zj(e){return Ga(HE(pr(e)))}function GE(){return{EXPECTED_COLOR:Ga,RECEIVED_COLOR:Vp,INVERTED_COLOR:Wj,BOLD_WEIGHT:Kj,DIM_COLOR:hn,diff:Li,matcherHint:Yj,printReceived:Qj,printExpected:Zj,printDiffOrStringify:n0,printWithType:ek}}function ek(e,t,r){let n=ka(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
266
+ `:"",a=`${e} has value: ${r(t)}`;return i+a}function Up(){return globalThis[Do].customEqualityTesters}function it(e,t,r,n){return r=r||[],lo(e,t,[],[],r,n?zE:nk)}function uh(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Sr("Function",e.asymmetricMatch)}function tk(e,t){let r=uh(e),n=uh(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function lo(e,t,r,n,i,a){let o=!0,s=tk(e,t);if(s!==void 0)return s;let l={equals:it};for(let g=0;g<i.length;g++){let E=i[g].call(l,e,t,i);if(E!==void 0)return E}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 u=Object.prototype.toString.call(e);if(u!==Object.prototype.toString.call(t))return!1;switch(u){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 g=+e,E=+t;return g===E||Number.isNaN(g)&&Number.isNaN(E)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(ch(e)&&ch(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),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return rk(e,t,r,n,i,a)}finally{r.pop(),n.pop()}let f=lh(e,a),h,m=f.length;if(lh(t,a).length!==m)return!1;for(;m--;)if(h=f[m],o=a(t,h)&&lo(e[h],t[h],r,n,i,a),!o)return!1;return r.pop(),n.pop(),o}function rk(e,t,r,n,i,a){let o=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&o&&(o=lo(e.cause,t.cause,r,n,i,a)),e instanceof AggregateError&&t instanceof AggregateError&&o&&(o=lo(e.errors,t.errors,r,n,i,a)),o&&(o=lo({...e},{...t},r,n,i,a)),o}function lh(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))}function nk(e,t){return zE(e,t)&&e[t]!==void 0}function zE(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Sr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function ch(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"}var WE="@@__IMMUTABLE_KEYED__@@",KE="@@__IMMUTABLE_SET__@@",ik="@@__IMMUTABLE_LIST__@@",ks="@@__IMMUTABLE_ORDERED__@@",ok="@@__IMMUTABLE_RECORD__@@";function ak(e){return!!(e&&e[WE]&&!e[ks])}function sk(e){return!!(e&&e[KE]&&!e[ks])}function Ms(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function uk(e){return!!(e&&Ms(e)&&e[ik])}function lk(e){return!!(e&&Ms(e)&&e[WE]&&e[ks])}function ck(e){return!!(e&&Ms(e)&&e[KE]&&e[ks])}function pk(e){return!!(e&&Ms(e)&&e[ok])}var YE=Symbol.iterator;function ph(e){return!!(e!=null&&e[YE])}function yr(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ph(e)||!ph(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return i[a]===t;n.push(e),i.push(t);let o=[...r.filter(u=>u!==yr),s];function s(u,p){return yr(u,p,[...r],[...n],[...i])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Sr("Set",e)||sk(e)){let u=!0;for(let p of e)if(!t.has(p)){let f=!1;for(let h of t)it(p,h,o)===!0&&(f=!0);if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}else if(Sr("Map",e)||ak(e)){let u=!0;for(let p of e)if(!t.has(p[0])||!it(p[1],t.get(p[0]),o)){let f=!1;for(let h of t){let m=it(p[0],h[0],o),g=!1;m===!0&&(g=it(p[1],h[1],o)),g===!0&&(f=!0)}if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}}let l=t[YE]();for(let u of e){let p=l.next();if(p.done||!it(u,p.value,o))return!1}if(!l.next().done)return!1;if(!uk(e)&&!lk(e)&&!ck(e)&&!pk(e)){let u=Object.entries(e),p=Object.entries(t);if(!it(u,p,o))return!1}return n.pop(),i.pop(),!0}function Jp(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Jp(Object.getPrototypeOf(e),t)}function dk(e){return Ca(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Yo(e,t,r=[]){let n=r.filter(a=>a!==Yo),i=(a=new WeakMap)=>(o,s)=>{if(dk(s))return Object.keys(s).every(l=>{if(s[l]!=null&&typeof s[l]=="object"){if(a.has(s[l]))return it(o[l],s[l],n);a.set(s[l],!0)}let u=o!=null&&Jp(o,l)&&it(o[l],s[l],[...n,i(a)]);return a.delete(s[l]),u})};return i()(e,t)}function dh(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function fh(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 i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}function Tl(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),a=r.filter(o=>o!==Tl);return it(e,t,a,!0)&&it(n,i)}function fk(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
267
+
268
+ If it should pass with deep equality, replace "toBe" with "${e}"
269
+
270
+ Expected: ${t}
271
+ Received: serializes to the same string
272
+ `:n}function hk(e,t){return`${t} ${e}${t===1?"":"s"}`}function gu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function mk(e,t,r){let n=0,i=(a=new WeakMap)=>(o,s)=>{if(Array.isArray(o)){if(Array.isArray(s)&&s.length===o.length)return s.map((l,u)=>i(a)(o[u],l))}else{if(o instanceof Date)return o;if(Ca(o)&&Ca(s)){if(it(o,s,[...r,yr,Yo]))return s;let l={};a.set(o,l),typeof o.constructor=="function"&&typeof o.constructor.name=="string"&&Object.defineProperty(l,"constructor",{enumerable:!1,value:o.constructor});for(let u of gu(o))Jp(s,u)?l[u]=a.has(o[u])?a.get(o[u]):i(a)(o[u],s[u]):a.has(o[u])||(n+=1,Ca(o[u])&&(n+=gu(o[u]).length),i(a)(o[u],s[u]));if(gu(l).length>0)return l}}return o};return{subset:i()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,xo)){let e=new WeakMap;Object.defineProperty(globalThis,xo,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Do)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Do,{configurable:!0,get:()=>({state:globalThis[xo].get(globalThis[$p]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,wl)){let e=Object.create(null);Object.defineProperty(globalThis,wl,{get:()=>e})}function za(e){return globalThis[xo].get(e)}function bu(e,t){let r=globalThis[xo],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}var on=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...za(e||globalThis[$p]),equals:it,isNot:this.inverse,customTesters:Up(),utils:{...GE(),diff:Li,stringify:pr,iterableEquality:yr,subsetEquality:Yo}}}};on.prototype[Symbol.for("chai/inspect")]=function(e){let t=pr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var hh=class extends on{constructor(e,t=!1){if(!Sr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Sr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},yk=class extends on{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},mh=class extends on{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!it(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},yh=class extends on{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(i=>it(n,i,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},gk=class extends on{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e 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)}>`}},gh=class extends on{constructor(e,t=!1){if(!Sr("String",e)&&!Sr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Sr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},bh=class extends on{precision;constructor(e,t=2,r=!1){if(!Sr("Number",e))throw new Error("Expected is not a Number");if(!Sr("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!Sr("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${hk("digit",this.precision)})`].join(" ")}},bk=(e,t)=>{t.addMethod(e.expect,"anything",()=>new yk),t.addMethod(e.expect,"any",r=>new gk(r)),t.addMethod(e.expect,"stringContaining",r=>new hh(r)),t.addMethod(e.expect,"objectContaining",r=>new mh(r)),t.addMethod(e.expect,"arrayContaining",r=>new yh(r)),t.addMethod(e.expect,"stringMatching",r=>new gh(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new bh(r,n)),e.expect.not={stringContaining:r=>new hh(r,!0),objectContaining:r=>new mh(r,!0),arrayContaining:r=>new yh(r,!0),stringMatching:r=>new gh(r,!0),closeTo:(r,n)=>new bh(r,n,!0)}};function Eh(e,t,r){let n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,a=e.flag(t,"promise");return`expect(actual)${a?`.${a}`:""}.${n}${i}`}function vh(e,t,r,n){let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let o=i.promises.indexOf(t);o!==-1&&i.promises.splice(o,1)}),i.promises||(i.promises=[]),i.promises.push(t);let a=!1;return i.onFinished??(i.onFinished=[]),i.onFinished.push(()=>{if(!a){var o;let s=(((o=globalThis.__vitest_worker__)===null||o===void 0?void 0:o.onFilterStackTrace)||(l=>l||""))(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.
273
+ `,s].join(""))}}),{then(o,s){return a=!0,t.then(o,s)},catch(o){return t.catch(o)},finally(o){return t.finally(o)},[Symbol.toStringTag]:"Promise"}}return t}function _h(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(ep(t))}function XE(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{let a=r.apply(this,n);return a&&typeof a=="object"&&typeof a.then=="function"?a.then(TN,o=>{_h(i,o)}):a}catch(a){_h(i,a)}}}var Ek=(e,t)=>{let{AssertionError:r}=e,n=Up();function i(u,p){let f=h=>{let m=XE(t,h,p);t.addMethod(e.Assertion.prototype,h,m),t.addMethod(globalThis[Do].matchers,h,m)};Array.isArray(u)?u.forEach(h=>f(h)):f(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,p=>function(...f){let h=t.flag(this,"promise"),m=t.flag(this,"object"),g=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw m});else if(h==="resolves"&&typeof m!="function"){if(g)return;{let E=t.flag(this,"message")||"expected promise to throw an error, but it didn't",A={showDiff:!1};throw new r(E,A,t.flag(this,"ssfi"))}}p.apply(this,f)})}),i("withTest",function(u){return t.flag(this,"vitest-test",u),this}),i("toEqual",function(u){let p=t.flag(this,"object"),f=it(p,u,[...n,yr]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,p)}),i("toStrictEqual",function(u){let p=t.flag(this,"object"),f=it(p,u,[...n,yr,dh,Tl,fh],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,p)}),i("toBe",function(u){let p=this._obj,f=Object.is(p,u),h="";return f||(it(p,u,[...n,yr,dh,Tl,fh],!0)?h="toStrictEqual":it(p,u,[...n,yr])&&(h="toEqual")),this.assert(f,fk(h),"expected #{this} not to be #{exp} // Object.is equality",u,p)}),i("toMatchObject",function(u){let p=this._obj,f=it(p,u,[...n,yr,Yo]),h=t.flag(this,"negate"),{subset:m,stripped:g}=mk(p,u,n);if(f&&h||!f&&!h){let E=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,m,!1]),A=g===0?E:`${E}
274
+ (${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(A,{showDiff:!0,expected:u,actual:m})}}),i("toMatch",function(u){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 u=="string"?p.includes(u):p.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,p)}),i("toContain",function(u){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(p.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){Vr(u,"class name",["string"]);let f=t.flag(this,"negate")?p.value.replace(u,"").trim():`${p.value} ${u}`;return this.assert(p.contains(u),`expected "${p.value}" to contain "${u}"`,`expected "${p.value}" not to contain "${u}"`,f,p.value)}return typeof p=="string"&&typeof u=="string"?this.assert(p.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(u))}),i("toContainEqual",function(u){let p=t.flag(this,"object"),f=Array.from(p).findIndex(h=>it(h,u,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),i("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,u)}),i("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,u)}),i("toBeGreaterThan",function(u){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(u,"expected",["number","bigint"]),this.assert(p>u,`expected ${p} to be greater than ${u}`,`expected ${p} to be not greater than ${u}`,u,p,!1)}),i("toBeGreaterThanOrEqual",function(u){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(u,"expected",["number","bigint"]),this.assert(p>=u,`expected ${p} to be greater than or equal to ${u}`,`expected ${p} to be not greater than or equal to ${u}`,u,p,!1)}),i("toBeLessThan",function(u){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(u,"expected",["number","bigint"]),this.assert(p<u,`expected ${p} to be less than ${u}`,`expected ${p} to be not less than ${u}`,u,p,!1)}),i("toBeLessThanOrEqual",function(u){let p=this._obj;return Vr(p,"actual",["number","bigint"]),Vr(u,"expected",["number","bigint"]),this.assert(p<=u,`expected ${p} to be less than or equal to ${u}`,`expected ${p} to be not less than or equal to ${u}`,u,p,!1)}),i("toBeNaN",function(){let u=t.flag(this,"object");this.assert(Number.isNaN(u),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,u)}),i("toBeUndefined",function(){let u=t.flag(this,"object");this.assert(u===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,u)}),i("toBeNull",function(){let u=t.flag(this,"object");this.assert(u===null,"expected #{this} to be null","expected #{this} not to be null",null,u)}),i("toBeDefined",function(){let u=t.flag(this,"object");this.assert(typeof u<"u","expected #{this} to be defined","expected #{this} to be undefined",u)}),i("toBeTypeOf",function(u){let p=typeof this._obj,f=u===p;return this.assert(f,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,p)}),i("toBeInstanceOf",function(u){return this.instanceOf(u)}),i("toHaveLength",function(u){return this.have.length(u)}),i("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(T=>String(T).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[f,h]=u,m=()=>Object.prototype.hasOwnProperty.call(p,f)?{value:p[f],exists:!0}:t.getPathInfo(p,f),{value:g,exists:E}=m(),A=E&&(u.length===1||it(h,g,n)),v=u.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(A,`expected #{this} to have property "${f}"${v}`,`expected #{this} to not have property "${f}"${v}`,h,E?g:void 0)}),i("toBeCloseTo",function(u,p=2){let f=this._obj,h=!1,m=0,g=0;return u===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?h=!0:(m=10**-p/2,g=Math.abs(f-u),h=g<m),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${g}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${g}, but expected ${m}`,u,f,!1)});function a(u){if(!gi(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}function o(u){return a(u),u._obj}i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let p=o(this),f=p.getMockName(),h=p.mock.calls.length;return this.assert(h===u,`expected "${f}" to be called #{exp} times, but got ${h} times`,`expected "${f}" to not be called #{exp} times`,u,h,!1)}),i("toHaveBeenCalledOnce",function(){let u=o(this),p=u.getMockName(),f=u.mock.calls.length;return this.assert(f===1,`expected "${p}" to be called once, but got ${f} times`,`expected "${p}" to not be called once`,1,f,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let u=o(this),p=u.getMockName(),f=u.mock.calls.length,h=f>0,m=t.flag(this,"negate"),g=t.getMessage(this,[h,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${f} times`,!0,h]);if(h&&m&&(g=Eu(u,g)),h&&m||!h&&!m)throw new r(g)});function s(u,p){return u.length===p.length&&u.every((f,h)=>it(f,p[h],[...n,yr]))}i(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let p=o(this),f=p.getMockName(),h=p.mock.calls.some(E=>s(E,u)),m=t.flag(this,"negate"),g=t.getMessage(this,[h,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,u]);if(h&&m||!h&&!m)throw new r(Eu(p,g,u))}),i("toHaveBeenCalledExactlyOnceWith",function(...u){let p=o(this),f=p.getMockName(),h=p.mock.calls.length,m=p.mock.calls.some(A=>s(A,u))&&h===1,g=t.flag(this,"negate"),E=t.getMessage(this,[m,`expected "${f}" to be called once with arguments: #{exp}`,`expected "${f}" to not be called once with arguments: #{exp}`,u]);if(m&&g||!m&&!g)throw new r(Eu(p,E,u))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...p){let f=o(this),h=f.getMockName(),m=f.mock.calls[u-1],g=f.mock.calls.length,E=u<=g;this.assert(m&&s(m,p),`expected ${co(u)} "${h}" call to have been called with #{exp}${E?"":`, but called only ${g} times`}`,`expected ${co(u)} "${h}" call to not have been called with #{exp}`,p,m,E)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let p=o(this),f=p.getMockName(),h=p.mock.calls[p.mock.calls.length-1];this.assert(h&&s(h,u),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,u,h)});function l(u,p,f){let h=u.mock.invocationCallOrder,m=p.mock.invocationCallOrder;return h.length===0?!f:m.length===0?!1:h[0]<m[0]}i(["toHaveBeenCalledBefore"],function(u,p=!0){let f=o(this);if(!gi(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(f,u,p),`expected "${f.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called before "${u.getMockName()}"`,u,f)}),i(["toHaveBeenCalledAfter"],function(u,p=!0){let f=o(this);if(!gi(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(u,f,p),`expected "${f.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called after "${u.getMockName()}"`,u,f)}),i(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);let p=this._obj,f=t.flag(this,"promise"),h=t.flag(this,"negate"),m=null;if(f==="rejects")m=p;else if(f==="resolves"&&typeof p!="function"){if(h)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",E={showDiff:!1};throw new r(g,E,t.flag(this,"ssfi"))}}else{let g=!1;try{p()}catch(E){g=!0,m=E}if(!g&&!h){let E=t.flag(this,"message")||"expected function to throw an error, but it didn't",A={showDiff:!1};throw new r(E,A,t.flag(this,"ssfi"))}}if(typeof u=="function"){let g=u.name||u.prototype.constructor.name;return this.assert(m&&m instanceof u,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,u,m)}if(u instanceof Error){let g=it(m,u,[...n,yr]);return this.assert(g,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,m)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let g=u;return this.assert(m&&g.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:u,condition:p,action:f})=>{i(u,function(){let h=o(this),m=h.getMockName(),g=p(h);this.assert(g,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,g,!g,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,p)=>u.mock.settledResults.reduce((f,{type:h})=>h==="fulfilled"?++f:f,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,p)=>u.mock.results.reduce((f,{type:h})=>h==="throw"?f:++f,0)===p,action:"called"}].forEach(({name:u,condition:p,action:f})=>{i(u,function(h){let m=o(this),g=m.getMockName(),E=p(m,h);this.assert(E,`expected "${g}" to be successfully ${f} ${h} times`,`expected "${g}" to not be successfully ${f} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${E}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,p)=>u.mock.settledResults.some(({type:f,value:h})=>f==="fulfilled"&&it(p,h)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,p)=>u.mock.results.some(({type:f,value:h})=>f==="return"&&it(p,h)),action:"return"}].forEach(({name:u,condition:p,action:f})=>{i(u,function(h){let m=o(this),g=p(m,h),E=t.flag(this,"negate");if(g&&E||!g&&!E){let A=m.getMockName(),v=t.getMessage(this,[g,`expected "${A}" to ${f} with: #{exp} at least once`,`expected "${A}" to not ${f} with: #{exp}`,h]),T=f==="return"?m.mock.results:m.mock.settledResults;throw new r(vk(m,T,v,h))}})}),[{name:"toHaveLastResolvedWith",condition:(u,p)=>{let f=u.mock.settledResults[u.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&it(f.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,p)=>{let f=u.mock.results[u.mock.results.length-1];return f&&f.type==="return"&&it(f.value,p)},action:"return"}].forEach(({name:u,condition:p,action:f})=>{i(u,function(h){let m=o(this),g=f==="return"?m.mock.results:m.mock.settledResults,E=g[g.length-1],A=m.getMockName();this.assert(p(m,h),`expected last "${A}" call to ${f} #{exp}`,`expected last "${A}" call to not ${f} #{exp}`,h,E?.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,p,f)=>{let h=u.mock.settledResults[p-1];return h&&h.type==="fulfilled"&&it(h.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,p,f)=>{let h=u.mock.results[p-1];return h&&h.type==="return"&&it(h.value,f)},action:"return"}].forEach(({name:u,condition:p,action:f})=>{i(u,function(h,m){let g=o(this),E=g.getMockName(),A=(f==="return"?g.mock.results:g.mock.settledResults)[h-1],v=`${co(h)} call`;this.assert(p(g,h,m),`expected ${v} "${E}" call to ${f} #{exp}`,`expected ${v} "${E}" call to not ${f} #{exp}`,m,A?.value)})}),i("withContext",function(u){for(let p in u)t.flag(this,p,u[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let p=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let h=new Proxy(this,{get:(m,g,E)=>{let A=Reflect.get(m,g,E);return typeof A!="function"?A instanceof e.Assertion?h:A:(...v)=>{t.flag(this,"_name",g);let T=f.then(I=>(t.flag(this,"object",I),A.call(this,...v)),I=>{let R=new r(`promise rejected "${t.inspect(I)}" instead of resolving`,{showDiff:!1});throw R.cause=I,R.stack=u.stack.replace(u.message,R.message),R});return vh(p,T,Eh(t,this,!!v.length),u)}}});return h}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let p=t.flag(this,"vitest-test"),f=t.flag(this,"object"),h=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let m=new Proxy(this,{get:(g,E,A)=>{let v=Reflect.get(g,E,A);return typeof v!="function"?v instanceof e.Assertion?m:v:(...T)=>{t.flag(this,"_name",E);let I=h.then(R=>{let D=new r(`promise resolved "${t.inspect(R)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:R});throw D.stack=u.stack.replace(u.message,D.message),D},R=>(t.flag(this,"object",R),v.call(this,...T)));return vh(p,I,Eh(t,this,!!T.length),u)}}});return m})};function co(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`}function Eu(e,t,r){return e.mock.calls.length&&(t+=lr.gray(`
275
+
276
+ Received:
277
+
278
+ ${e.mock.calls.map((n,i)=>{let a=lr.bold(` ${co(i+1)} ${e.getMockName()} call:
279
+
280
+ `);return r?a+=Li(r,n,{omitAnnotationLines:!0}):a+=pr(n).split(`
281
+ `).map(o=>` ${o}`).join(`
282
+ `),a+=`
283
+ `,a}).join(`
284
+ `)}`)),t+=lr.gray(`
285
+
286
+ Number of calls: ${lr.bold(e.mock.calls.length)}
287
+ `),t}function vk(e,t,r,n){return t.length&&(r+=lr.gray(`
288
+
289
+ Received:
290
+
291
+ ${t.map((i,a)=>{let o=lr.bold(` ${co(a+1)} ${e.getMockName()} call return:
292
+
293
+ `);return n?o+=Li(n,i.value,{omitAnnotationLines:!0}):o+=pr(i).split(`
294
+ `).map(s=>` ${s}`).join(`
295
+ `),o+=`
296
+ `,o}).join(`
297
+ `)}`)),r+=lr.gray(`
298
+
299
+ Number of calls: ${lr.bold(e.mock.calls.length)}
300
+ `),r}function _k(e,t){let r=e._obj,n=Nr.flag(e,"negate"),i=Nr.flag(e,"promise")||"",a={...GE(),diff:Li,stringify:pr,iterableEquality:yr,subsetEquality:Yo};return{state:{...za(t),customTesters:Up(),isNot:n,utils:a,promise:i,equals:it,suppressedErrors:[],soft:Nr.flag(e,"soft"),poll:Nr.flag(e,"poll")},isNot:n,obj:r}}var Ah=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function Ak(e,t,r){return(n,i)=>{Object.entries(r).forEach(([a,o])=>{function s(...f){let{state:h,isNot:m,obj:g}=_k(this,t),E=o.call(h,g,...f);if(E&&typeof E=="object"&&typeof E.then=="function")return E.then(({pass:R,message:D,actual:y,expected:w})=>{if(R&&m||!R&&!m)throw new Ah(D(),y,w)});let{pass:A,message:v,actual:T,expected:I}=E;if(A&&m||!A&&!m)throw new Ah(v(),T,I)}let l=XE(i,a,s);i.addMethod(globalThis[Do].matchers,a,l),i.addMethod(e.Assertion.prototype,a,l);class u extends on{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=o.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(h=>pr(h)).join(", ")}>`}}let p=(...f)=>new u(!1,...f);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:p,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...f)=>new u(!0,...f),writable:!0}),Object.defineProperty(globalThis[wl],a,{configurable:!0,enumerable:!0,value:p,writable:!0})})}}var wk=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{mi(Ak(e,r,n))})};function Tk(){mi(wk),mi(Ek),mi(bk);let e=((n,i)=>{let{assertionCalls:a}=za(e);return bu({assertionCalls:a+1,soft:!1},e),Jn(n,i)});Object.assign(e,Jn),e.getState=()=>za(e),e.setState=n=>bu(n,e),e.extend=n=>Jn.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.extend(zj),e.unreachable=n=>{J.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}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 bu({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Nr.addMethod(e,"assertions",t),Nr.addMethod(e,"hasAssertions",r),e.extend(W0),e}var QE=Tk();Object.defineProperty(globalThis,$p,{value:QE,writable:!0,configurable:!0});function Ck(e,t,r){Object.defineProperty(e,t,r)}var Da=Symbol.for("tinyspy:spy"),Sk=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},xk=e=>(Ck(e,Da,{value:{reset:()=>Sk(e[Da])}}),e[Da]),Dk=e=>e[Da]||xk(e),Cl=new Set;function ZE(e){return Cl.add(e),()=>{Cl.delete(e)}}var Rk=(...e)=>{let t=Jj(...e);return tv(t)};function ev(e){let t=e?sh(e):sh();return tv(t)}function tv(e){let t=wh(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>wh(r(n)),t}function wh(e){let t=Dk(e),r=t.impl;return t.willCall(function(...n){return Cl.forEach(i=>i(e,n)),r?.apply(this,n)}),e}function rv(){Ko.forEach(e=>e.mockClear())}function nv(){Ko.forEach(e=>e.mockReset())}function iv(){Ko.forEach(e=>e.mockRestore())}function Pk(e,t={}){return e}var ov={};or(ov,{buildQueries:()=>sn,configure:()=>UM,createEvent:()=>Pa,findAllByAltText:()=>l_,findAllByDisplayValue:()=>n_,findAllByLabelText:()=>jv,findAllByPlaceholderText:()=>Hv,findAllByRole:()=>A_,findAllByTestId:()=>D_,findAllByText:()=>Xv,findAllByTitle:()=>m_,findByAltText:()=>c_,findByDisplayValue:()=>i_,findByLabelText:()=>kv,findByPlaceholderText:()=>Gv,findByRole:()=>w_,findByTestId:()=>R_,findByText:()=>Qv,findByTitle:()=>y_,fireEvent:()=>Io,getAllByAltText:()=>s_,getAllByDisplayValue:()=>t_,getAllByLabelText:()=>Mv,getAllByPlaceholderText:()=>Uv,getAllByRole:()=>v_,getAllByTestId:()=>S_,getAllByText:()=>Kv,getAllByTitle:()=>f_,getByAltText:()=>u_,getByDisplayValue:()=>r_,getByLabelText:()=>qv,getByPlaceholderText:()=>Jv,getByRole:()=>__,getByTestId:()=>x_,getByText:()=>Yv,getByTitle:()=>h_,getConfig:()=>Qe,getDefaultNormalizer:()=>Yp,getElementError:()=>Ls,getMultipleElementsFoundError:()=>$s,getNodeText:()=>Xo,getQueriesForElement:()=>Bl,getRoles:()=>Rv,getSuggestedQuery:()=>Ka,isInaccessible:()=>qs,logDOM:()=>Sl,logRoles:()=>WM,makeFindQuery:()=>Si,makeGetAllQuery:()=>Zp,makeSingleQuery:()=>Ci,prettyDOM:()=>Oo,prettyFormat:()=>Hp,queries:()=>Ya,queryAllByAltText:()=>o_,queryAllByAttribute:()=>ri,queryAllByDisplayValue:()=>Zv,queryAllByLabelText:()=>Lv,queryAllByPlaceholderText:()=>$v,queryAllByRole:()=>b_,queryAllByTestId:()=>T_,queryAllByText:()=>zv,queryAllByTitle:()=>p_,queryByAltText:()=>a_,queryByAttribute:()=>Ov,queryByDisplayValue:()=>e_,queryByLabelText:()=>Nv,queryByPlaceholderText:()=>Vv,queryByRole:()=>E_,queryByTestId:()=>C_,queryByText:()=>Wv,queryByTitle:()=>d_,queryHelpers:()=>uq,screen:()=>jq,waitFor:()=>Qp,waitForElementToBeRemoved:()=>Rq,within:()=>Bl,wrapAllByQueryWithSuggestion:()=>ir,wrapSingleQueryWithSuggestion:()=>Tn});var Hp=Pt(Lx()),Ok=Object.prototype.toString;function Fk(e){return typeof e=="function"||Ok.call(e)==="[object Function]"}function Ik(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Nk=Math.pow(2,53)-1;function Bk(e){var t=Ik(e);return Math.min(Math.max(t,0),Nk)}function Tr(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");for(var i=Bk(n.length),a=Fk(r)?Object(new r(i)):new Array(i),o=0,s;o<i;)s=n[o],a[o]=s,o+=1;return a.length=i,a}function Ro(e){"@babel/helpers - typeof";return Ro=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},Ro(e)}function jk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kk(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,av(n.key),n)}}function Mk(e,t,r){return t&&kk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function qk(e,t,r){return t=av(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function av(e){var t=Lk(e,"string");return Ro(t)==="symbol"?t:String(t)}function Lk(e,t){if(Ro(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ro(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $k=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];jk(this,e),qk(this,"items",void 0),this.items=t}return Mk(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Vk=typeof Set>"u"?Set:$k;function Xt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Uk={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"},Jk={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 Hk(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=Jk[t])!==null&&n!==void 0&&n.has(r))})}function sv(e,t){return Hk(e,t)}function Gk(e){var t=Wk(e);if(t===null||t==="presentation"){var r=zk(e);if(t!=="presentation"||sv(e,r||""))return r}return t}function zk(e){var t=Uk[Xt(e)];if(t!==void 0)return t;switch(Xt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!sv(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}function Wk(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Tt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function uv(e){return Tt(e)&&Xt(e)==="caption"}function Ra(e){return Tt(e)&&Xt(e)==="input"}function Kk(e){return Tt(e)&&Xt(e)==="optgroup"}function Yk(e){return Tt(e)&&Xt(e)==="select"}function Xk(e){return Tt(e)&&Xt(e)==="table"}function Qk(e){return Tt(e)&&Xt(e)==="textarea"}function Zk(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function eM(e){return Tt(e)&&Xt(e)==="fieldset"}function tM(e){return Tt(e)&&Xt(e)==="legend"}function rM(e){return Tt(e)&&Xt(e)==="slot"}function nM(e){return Tt(e)&&e.ownerSVGElement!==void 0}function iM(e){return Tt(e)&&Xt(e)==="svg"}function oM(e){return nM(e)&&Xt(e)==="title"}function Wa(e,t){if(Tt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function Kr(e,t){return Tt(e)?t.indexOf(Gk(e))!==-1:!1}function aM(e){return e.trim().replace(/\s\s+/g," ")}function sM(e,t){if(!Tt(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"}function uM(e){return Kr(e,["button","combobox","listbox","textbox"])||lv(e,"range")}function lv(e,t){if(!Tt(e))return!1;if(t==="range")return Kr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function Th(e,t){var r=Tr(e.querySelectorAll(t));return Wa(e,"aria-owns").forEach(function(n){r.push.apply(r,Tr(n.querySelectorAll(t)))}),r}function lM(e){return Yk(e)?e.selectedOptions||Th(e,"[selected]"):Th(e,'[aria-selected="true"]')}function cM(e){return Kr(e,["none","presentation"])}function pM(e){return uv(e)}function dM(e){return Kr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function fM(e){return!1}function hM(e){return Ra(e)||Qk(e)?e.value:e.textContent||""}function Ch(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function cv(e){var t=Xt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function pv(e){if(cv(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Tt(r)){var n=pv(r);n!==null&&(t=n)}}),t}function mM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):pv(e)}function yM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Tr(t);if(!cv(e))return null;var r=e.ownerDocument;return Tr(r.querySelectorAll("label")).filter(function(n){return mM(n)===e})}function gM(e){var t=e.assignedNodes();return t.length===0?Tr(e.childNodes):t}function dv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vk,n=Zk(e),i=t.compute,a=i===void 0?"name":i,o=t.computedStyleSupportsPseudoElements,s=o===void 0?t.getComputedStyle!==void 0:o,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,p=t.hidden,f=p===void 0?!1:p;function h(v,T){var I="";if(Tt(v)&&s){var R=u(v,"::before"),D=Ch(R);I="".concat(D," ").concat(I)}var y=rM(v)?gM(v):Tr(v.childNodes).concat(Wa(v,"aria-owns"));if(y.forEach(function(P){var z=A(P,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),L=Tt(P)?u(P).getPropertyValue("display"):"inline",K=L!=="inline"?" ":"";I+="".concat(K).concat(z).concat(K)}),Tt(v)&&s){var w=u(v,"::after"),S=Ch(w);I="".concat(I," ").concat(S)}return I.trim()}function m(v,T){var I=v.getAttributeNode(T);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function g(v){return Tt(v)?m(v,"title"):null}function E(v){if(!Tt(v))return null;if(eM(v)){r.add(v);for(var T=Tr(v.childNodes),I=0;I<T.length;I+=1){var R=T[I];if(tM(R))return A(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Xk(v)){r.add(v);for(var D=Tr(v.childNodes),y=0;y<D.length;y+=1){var w=D[y];if(uv(w))return A(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(iM(v)){r.add(v);for(var S=Tr(v.childNodes),P=0;P<S.length;P+=1){var z=S[P];if(oM(z))return z.textContent}return null}else if(Xt(v)==="img"||Xt(v)==="area"){var L=m(v,"alt");if(L!==null)return L}else if(Kk(v)){var K=m(v,"label");if(K!==null)return K}if(Ra(v)&&(v.type==="button"||v.type==="submit"||v.type==="reset")){var q=m(v,"value");if(q!==null)return q;if(v.type==="submit")return"Submit";if(v.type==="reset")return"Reset"}var B=yM(v);if(B!==null&&B.length!==0)return r.add(v),Tr(B).map(function(oe){return A(oe,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(oe){return oe.length>0}).join(" ");if(Ra(v)&&v.type==="image"){var V=m(v,"alt");if(V!==null)return V;var X=m(v,"title");return X!==null?X:"Submit Query"}if(Kr(v,["button"])){var Q=h(v,{isEmbeddedInLabel:!1});if(Q!=="")return Q}return null}function A(v,T){if(r.has(v))return"";if(!f&&sM(v,u)&&!T.isReferenced)return r.add(v),"";var I=Tt(v)?v.getAttributeNode("aria-labelledby"):null,R=I!==null&&!r.has(I)?Wa(v,"aria-labelledby"):[];if(a==="name"&&!T.isReferenced&&R.length>0)return r.add(I),R.map(function(L){return A(L,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var D=T.recursion&&uM(v)&&a==="name";if(!D){var y=(Tt(v)&&v.getAttribute("aria-label")||"").trim();if(y!==""&&a==="name")return r.add(v),y;if(!cM(v)){var w=E(v);if(w!==null)return r.add(v),w}}if(Kr(v,["menu"]))return r.add(v),"";if(D||T.isEmbeddedInLabel||T.isReferenced){if(Kr(v,["combobox","listbox"])){r.add(v);var S=lM(v);return S.length===0?Ra(v)?v.value:"":Tr(S).map(function(L){return A(L,{isEmbeddedInLabel:T.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(lv(v,"range"))return r.add(v),v.hasAttribute("aria-valuetext")?v.getAttribute("aria-valuetext"):v.hasAttribute("aria-valuenow")?v.getAttribute("aria-valuenow"):v.getAttribute("value")||"";if(Kr(v,["textbox"]))return r.add(v),hM(v)}if(dM(v)||Tt(v)&&T.isReferenced||pM(v)||fM()){var P=h(v,{isEmbeddedInLabel:T.isEmbeddedInLabel});if(P!=="")return r.add(v),P}if(v.nodeType===v.TEXT_NODE)return r.add(v),v.textContent||"";if(T.recursion)return r.add(v),h(v,{isEmbeddedInLabel:T.isEmbeddedInLabel});var z=g(v);return z!==null?(r.add(v),z):(r.add(v),"")}return aM(A(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Po(e){"@babel/helpers - typeof";return Po=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},Po(e)}function Sh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function xh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sh(Object(r),!0).forEach(function(n){bM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function bM(e,t,r){return t=EM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EM(e){var t=vM(e,"string");return Po(t)==="symbol"?t:String(t)}function vM(e,t){if(Po(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Po(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Wa(e,"aria-describedby").map(function(i){return dv(i,xh(xh({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function _M(e){return Kr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _M(e)?"":dv(e,t)}var mr=Pt(fc()),AM=Pt($x());function hv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wM=(e,t,r,n,i,a,o)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let p=t[u],f=o(p,r,s,i,a);return typeof p!="string"&&(f.indexOf(`
301
+ `)!==-1&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+f+l.value.close}).join("")},TM=3,CM=(e,t,r,n,i,a)=>e.map(o=>{let s=typeof o=="string"?mv(o,t):a(o,t,r,n,i);return s===""&&typeof o=="object"&&o!==null&&o.nodeType!==TM?"":t.spacingOuter+r+s}).join(""),mv=(e,t)=>{let r=t.colors.content;return r.open+hv(e)+r.close},SM=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+hv(e)+"-->"+r.close},xM=(e,t,r,n,i)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+i+a.open)+(r?">"+a.close+r+n.spacingOuter+i+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},DM=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},RM=1,yv=3,gv=8,bv=11,PM=/^((HTML|SVG)\w*)?Element$/,Ev=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},OM=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===RM&&(PM.test(t)||Ev(e))||r===yv&&t==="Text"||r===gv&&t==="Comment"||r===bv&&t==="DocumentFragment"};function FM(e){return e.nodeType===yv}function IM(e){return e.nodeType===gv}function vu(e){return e.nodeType===bv}function NM(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Ev(t))&&OM(t)},serialize:(t,r,n,i,a,o)=>{if(FM(t))return mv(t.data,r);if(IM(t))return SM(t.data,r);let s=vu(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?DM(s,r):xM(s,wM(vu(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),vu(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,i,a,o),CM(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,a,o),r,n)}}}var vv=null,zp=null,Wp=null;try{let e=module&&module.require;zp=e.call(module,"fs").readFileSync,Wp=e.call(module,"@babel/code-frame").codeFrameColumns,vv=e.call(module,"picocolors")}catch{}function BM(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[a,o,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=zp(a,"utf-8")}catch{return""}let u=Wp(l,{start:{line:o,column:s}},{highlightCode:!0,linesBelow:0});return vv.dim(n)+`
302
+ `+u+`
303
+ `}function jM(){if(!zp||!Wp)return"";let e=new Error().stack.split(`
304
+ `).slice(1).find(t=>!t.includes("node_modules/"));return BM(e)}var _v=3;function _u(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Kp(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Av(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+".")}function an(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}}var kM=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=$u)==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},{DOMCollection:MM}=Hp.plugins,qM=1,LM=8;function $M(e){return e.nodeType!==LM&&(e.nodeType!==qM||!e.matches(Qe().defaultIgnore))}function Oo(e,t,r){if(r===void 0&&(r={}),e||(e=Kp().body),typeof t!="number"&&(t=typeof process<"u"&&typeof $u<"u"&&$u.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:i=$M,...a}=r,o=Hp.format(e,{plugins:[NM(i),MM],printFunctionName:!1,highlight:kM(),...a});return t!==void 0&&e.outerHTML.length>t?o.slice(0,t)+"...":o}var Sl=function(){let e=jM();console.log(e?Oo(...arguments)+`
305
+
306
+ `+e:Oo(...arguments))},Hn={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Oo(t),n=new Error([e,"Ignored nodes: comments, "+Hn.defaultIgnore+`
307
+ `+r].filter(Boolean).join(`
308
+
309
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function VM(e){try{return Hn._disableExpensiveErrorDiagnostics=!0,e()}finally{Hn._disableExpensiveErrorDiagnostics=!1}}function UM(e){typeof e=="function"&&(e=e(Hn)),Hn={...Hn,...e}}function Qe(){return Hn}var JM=["button","meter","output","progress","select","textarea","input"];function wv(e){return JM.includes(e.nodeName.toLowerCase())?"":e.nodeType===_v?e.textContent:Array.from(e.childNodes).map(t=>wv(t)).join("")}function xl(e){let t;return e.tagName.toLowerCase()==="label"?t=wv(e):t=e.value||e.textContent,t}function Tv(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!HM(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function HM(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Cv(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),a=i?i.split(" "):[];return a.length?a.map(o=>{let s=e.querySelector('[id="'+o+'"]');return s?{content:xl(s),formControl:null}:{content:"",formControl:null}}):Array.from(Tv(t)).map(o=>{let s=xl(o),l=Array.from(o.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(u=>u.matches(n))[0];return{content:s,formControl:l}})}function Sv(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Vi(e,t,r,n){if(typeof e!="string")return!1;Sv(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):xv(r,i)}function en(e,t,r,n){if(typeof e!="string")return!1;Sv(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?xv(r,i):i===String(r)}function Yp(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}function ti(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Yp({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}function xv(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}function Xo(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===_v&&!!t.textContent).map(t=>t.textContent).join("")}var GM=zM(mr.elementRoles);function Dv(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function qs(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Dv}=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}function Xp(e){for(let{match:t,roles:r}of GM)if(t(e))return[...r];return[]}function zM(e){function t(o){let{name:s,attributes:l}=o;return""+s+l.map(u=>{let{name:p,value:f,constraints:h=[]}=u,m=h.indexOf("undefined")!==-1,g=h.indexOf("set")!==-1;return typeof f<"u"?"["+p+'="'+f+'"]':m?":not(["+p+"])":g?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}function r(o){let{attributes:s=[]}=o;return s.length}function n(o,s){let{specificity:l}=o,{specificity:u}=s;return u-l}function i(o){let{attributes:s=[]}=o,l=s.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let u=t({...o,attributes:s});return p=>l>=0&&p.type!=="text"?!1:p.matches(u)}let a=[];for(let[o,s]of e.entries())a=[...a,{match:i(o),roles:Array.from(s),specificity:r(o)}];return a.sort(n)}function Rv(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((a,o)=>[...a,...n(o)],[])]}return n(e).filter(i=>r===!1?qs(i)===!1:!0).reduce((i,a)=>{let o=[];return a.hasAttribute("role")?o=a.getAttribute("role").split(" ").slice(0,1):o=Xp(a),o.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],a]}:{...s,[l]:[a]},i)},{})}function Pv(e,t){let{hidden:r,includeDescription:n}=t,i=Rv(e,{hidden:r});return Object.entries(i).filter(a=>{let[o]=a;return o!=="generic"}).map(a=>{let[o,s]=a,l="-".repeat(50),u=s.map(p=>{let f='Name "'+Gp(p,{computedStyleSupportsPseudoElements:Qe().computedStyleSupportsPseudoElements})+`":
310
+ `,h=Oo(p.cloneNode(!1));if(n){let m='Description "'+fv(p,{computedStyleSupportsPseudoElements:Qe().computedStyleSupportsPseudoElements})+`":
311
+ `;return""+f+m+h}return""+f+h}).join(`
312
+
313
+ `);return o+`:
314
+
315
+ `+u+`
316
+
317
+ `+l}).join(`
318
+ `)}var WM=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Pv(e,{hidden:r}))};function KM(e){return e.tagName==="OPTION"?e.selected:Qo(e,"aria-selected")}function YM(e){return e.getAttribute("aria-busy")==="true"}function XM(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Qo(e,"aria-checked")}function QM(e){return Qo(e,"aria-pressed")}function ZM(e){var t,r;return(t=(r=Qo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function eq(e){return Qo(e,"aria-expanded")}function Qo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function tq(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]}function rq(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function nq(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function iq(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function oq(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Dh=Yp();function aq(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Rh(e){return new RegExp(aq(e.toLowerCase()),"i")}function cn(e,t,r,n){let{variant:i,name:a}=n,o="",s={},l=[["Role","TestId"].includes(e)?r:Rh(r)];a&&(s.name=Rh(a)),e==="Role"&&qs(t)&&(s.hidden=!0,o=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
319
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
320
+ `),Object.keys(s).length>0&&l.push(s);let u=i+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:i,warning:o,toString(){o&&console.warn(o);let[p,f]=l;return p=typeof p=="string"?"'"+p+"'":p,f=f?", { "+Object.entries(f).map(h=>{let[m,g]=h;return m+": "+g}).join(", ")+" }":"",u+"("+p+f+")"}}}function pn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Ka(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(Qe().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(i=Xp(e))==null?void 0:i[0];if(a!=="generic"&&pn("Role",r,a))return cn("Role",e,a,{variant:t,name:Gp(e,{computedStyleSupportsPseudoElements:Qe().computedStyleSupportsPseudoElements})});let o=Cv(document,e).map(h=>h.content).join(" ");if(pn("LabelText",r,o))return cn("LabelText",e,o,{variant:t});let s=e.getAttribute("placeholder");if(pn("PlaceholderText",r,s))return cn("PlaceholderText",e,s,{variant:t});let l=Dh(Xo(e));if(pn("Text",r,l))return cn("Text",e,l,{variant:t});if(pn("DisplayValue",r,e.value))return cn("DisplayValue",e,Dh(e.value),{variant:t});let u=e.getAttribute("alt");if(pn("AltText",r,u))return cn("AltText",e,u,{variant:t});let p=e.getAttribute("title");if(pn("Title",r,p))return cn("Title",e,p,{variant:t});let f=e.getAttribute(Qe().testIdAttribute);if(pn("TestId",r,f))return cn("TestId",e,f,{variant:t})}function pa(e,t){e.stack=t.stack.replace(t.message,e.message)}function sq(e,t){let{container:r=Kp(),timeout:n=Qe().asyncUtilTimeout,showOriginalStackTrace:i=Qe().showOriginalStackTrace,stackTraceError:a,interval:o=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:Qe().getElementError(u.message,r).message}),u),mutationObserverOptions:l={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(u,p)=>{let f,h,m,g=!1,E="idle",A=setTimeout(D,n),v=_u();if(v){let{unstable_advanceTimersWrapper:y}=Qe();for(R();!g;){if(!_u()){let w=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");i||pa(w,a),p(w);return}if(await y(async()=>{jest.advanceTimersByTime(o)}),g)break;R()}}else{try{an(r)}catch(w){p(w);return}h=setInterval(I,o);let{MutationObserver:y}=Av(r);m=new y(I),m.observe(r,l),R()}function T(y,w){g=!0,clearTimeout(A),v||(clearInterval(h),m.disconnect()),y?p(y):u(w)}function I(){if(_u()){let y=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 i||pa(y,a),p(y)}else return R()}function R(){if(E!=="pending")try{let y=VM(e);typeof y?.then=="function"?(E="pending",y.then(w=>{E="resolved",T(null,w)},w=>{E="rejected",f=w})):T(null,y)}catch(y){f=y}}function D(){let y;f?(y=f,!i&&y.name==="TestingLibraryElementError"&&pa(y,a)):(y=new Error("Timed out in waitFor."),i||pa(y,a)),T(s(y),null)}})}function Qp(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Qe().asyncWrapper(()=>sq(e,{stackTraceError:r,...t}))}function Ls(e,t){return Qe().getElementError(e,t)}function $s(e,t){return Ls(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ri(e,t,r,n){let{exact:i=!0,collapseWhitespace:a,trim:o,normalizer:s}=n===void 0?{}:n,l=i?en:Vi,u=ti({collapseWhitespace:a,trim:o,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>l(p.getAttribute(e),p,r,u))}function Ov(e,t,r,n){let i=ri(e,t,r,n);if(i.length>1)throw $s("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}function Ci(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let o=e(r,...i);if(o.length>1){let s=o.map(l=>Ls(null,l).message).join(`
321
+
322
+ `);throw $s(t(r,...i)+`
323
+
324
+ Here are the matching elements:
325
+
326
+ `+s,r)}return o[0]||null}}function Fv(e,t){return Qe().getElementError(`A better query is available, try this:
327
+ `+e.toString()+`
328
+ `,t)}function Zp(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let o=e(r,...i);if(!o.length)throw Qe().getElementError(t(r,...i),r);return o}}function Si(e){return(t,r,n,i)=>Qp(()=>e(t,r,n),{container:t,...i})}var Tn=(e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=e(n,...a),[{suggest:l=Qe().throwSuggestions}={}]=a.slice(-1);if(s&&l){let u=Ka(s,r);if(u&&!t.endsWith(u.queryName))throw Fv(u.toString(),n)}return s},ir=(e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=e(n,...a),[{suggest:l=Qe().throwSuggestions}={}]=a.slice(-1);if(s.length&&l){let u=[...new Set(s.map(p=>{var f;return(f=Ka(p,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(Ka(s[0],r).queryName))throw Fv(u[0],n)}return s};function sn(e,t,r){let n=Tn(Ci(e,t),e.name,"query"),i=Zp(e,r),a=Ci(i,t),o=Tn(a,e.name,"get"),s=ir(i,e.name.replace("query","get"),"getAll"),l=Si(ir(i,e.name,"findAll")),u=Si(Tn(a,e.name,"find"));return[n,s,o,l,u]}var uq=Object.freeze({__proto__:null,getElementError:Ls,wrapAllByQueryWithSuggestion:ir,wrapSingleQueryWithSuggestion:Tn,getMultipleElementsFoundError:$s,queryAllByAttribute:ri,queryByAttribute:Ov,makeSingleQuery:Ci,makeGetAllQuery:Zp,makeFindQuery:Si,buildQueries:sn});function lq(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:xl(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var cq=function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:a,normalizer:o}=r===void 0?{}:r,s=n?en:Vi,l=ti({collapseWhitespace:a,trim:i,normalizer:o});return lq(e).filter(u=>{let{node:p,textToMatch:f}=u;return s(f,p,t,l)}).map(u=>{let{node:p}=u;return p})},Fo=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:o,normalizer:s}=r===void 0?{}:r;an(e);let l=i?en:Vi,u=ti({collapseWhitespace:a,trim:o,normalizer:s}),p=Array.from(e.querySelectorAll("*")).filter(f=>Tv(f).length||f.hasAttribute("aria-labelledby")).reduce((f,h)=>{let m=Cv(e,h,{selector:n});m.filter(E=>!!E.formControl).forEach(E=>{l(E.content,E.formControl,t,u)&&E.formControl&&f.push(E.formControl)});let g=m.filter(E=>!!E.content).map(E=>E.content);return l(g.join(" "),h,t,u)&&f.push(h),g.length>1&&g.forEach((E,A)=>{l(E,h,t,u)&&f.push(h);let v=[...g];v.splice(A,1),v.length>1&&l(v.join(" "),h,t,u)&&f.push(h)}),f},[]).concat(ri("aria-label",e,t,{exact:i,normalizer:u}));return Array.from(new Set(p)).filter(f=>f.matches(n))},Yn=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let a=Fo(e,t,...n);if(!a.length){let o=cq(e,t,...n);if(o.length){let s=o.map(l=>pq(e,l)).filter(l=>!!l);throw s.length?Qe().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
329
+
330
+ `),e):Qe().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 Qe().getElementError("Unable to find a label with the text of: "+t,e)}return a};function pq(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Iv=(e,t)=>"Found multiple elements with the text of: "+t,Nv=Tn(Ci(Fo,Iv),Fo.name,"query"),Bv=Ci(Yn,Iv),jv=Si(ir(Yn,Yn.name,"findAll")),kv=Si(Tn(Bv,Yn.name,"find")),Mv=ir(Yn,Yn.name,"getAll"),qv=Tn(Bv,Yn.name,"get"),Lv=ir(Fo,Fo.name,"queryAll"),Dl=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return an(t[0]),ri("placeholder",...t)},dq=(e,t)=>"Found multiple elements with the placeholder text of: "+t,fq=(e,t)=>"Unable to find an element with the placeholder text of: "+t,$v=ir(Dl,Dl.name,"queryAll"),[Vv,Uv,Jv,Hv,Gv]=sn(Dl,dq,fq),Rl=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:o,ignore:s=Qe().defaultIgnore,normalizer:l}=r===void 0?{}:r;an(e);let u=i?en:Vi,p=ti({collapseWhitespace:a,trim:o,normalizer:l}),f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(h=>!s||!h.matches(s)).filter(h=>u(Xo(h),h,t,p))},hq=(e,t)=>"Found multiple elements with the text: "+t,mq=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:a,selector:o}=r,s=ti({collapseWhitespace:n,trim:i,normalizer:a})(t.toString()),l=s!==t.toString(),u=(o??"*")!=="*";return"Unable to find an element with the text: "+(l?s+" (normalized from '"+t+"')":t)+(u?", which matches selector '"+o+"'":"")+". 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."},zv=ir(Rl,Rl.name,"queryAll"),[Wv,Kv,Yv,Xv,Qv]=sn(Rl,hq,mq),Pl=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:o}=r===void 0?{}:r;an(e);let s=n?en:Vi,l=ti({collapseWhitespace:i,trim:a,normalizer:o});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(p=>p.selected).some(p=>s(Xo(p),p,t,l)):s(u.value,u,t,l))},yq=(e,t)=>"Found multiple elements with the display value: "+t+".",gq=(e,t)=>"Unable to find an element with the display value: "+t+".",Zv=ir(Pl,Pl.name,"queryAll"),[e_,t_,r_,n_,i_]=sn(Pl,yq,gq),bq=/^(img|input|area|.+-.+)$/i,Ol=function(e,t,r){return r===void 0&&(r={}),an(e),ri("alt",e,t,r).filter(n=>bq.test(n.tagName))},Eq=(e,t)=>"Found multiple elements with the alt text: "+t,vq=(e,t)=>"Unable to find an element with the alt text: "+t,o_=ir(Ol,Ol.name,"queryAll"),[a_,s_,u_,l_,c_]=sn(Ol,Eq,vq),_q=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Fl=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:o}=r===void 0?{}:r;an(e);let s=n?en:Vi,l=ti({collapseWhitespace:i,trim:a,normalizer:o});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||_q(u)&&s(Xo(u),u,t,l))},Aq=(e,t)=>"Found multiple elements with the title: "+t+".",wq=(e,t)=>"Unable to find an element with the title: "+t+".",p_=ir(Fl,Fl.name,"queryAll"),[d_,f_,h_,m_,y_]=sn(Fl,Aq,wq),Il=function(e,t,r){let{hidden:n=Qe().defaultHidden,name:i,description:a,queryFallbacks:o=!1,selected:s,busy:l,checked:u,pressed:p,current:f,level:h,expanded:m,value:{now:g,min:E,max:A,text:v}={}}=r===void 0?{}:r;if(an(e),s!==void 0){var T;if(((T=mr.roles.get(t))==null?void 0:T.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var I;if(((I=mr.roles.get(t))==null?void 0:I.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=mr.roles.get(t))==null?void 0:R.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var D;if(((D=mr.roles.get(t))==null?void 0:D.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var y;if(((y=mr.roles.get(t))==null?void 0:y.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(g!==void 0){var w;if(((w=mr.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(A!==void 0){var S;if(((S=mr.roles.get(t))==null?void 0:S.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(E!==void 0){var P;if(((P=mr.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(v!==void 0){var z;if(((z=mr.roles.get(t))==null?void 0:z.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var L;if(((L=mr.roles.get(t))==null?void 0:L.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let K=new WeakMap;function q(B){return K.has(B)||K.set(B,Dv(B)),K.get(B)}return Array.from(e.querySelectorAll(Tq(t))).filter(B=>{if(B.hasAttribute("role")){let V=B.getAttribute("role");if(o)return V.split(" ").filter(Boolean).some(Q=>Q===t);let[X]=V.split(" ");return X===t}return Xp(B).some(V=>V===t)}).filter(B=>{if(s!==void 0)return s===KM(B);if(l!==void 0)return l===YM(B);if(u!==void 0)return u===XM(B);if(p!==void 0)return p===QM(B);if(f!==void 0)return f===ZM(B);if(m!==void 0)return m===eq(B);if(h!==void 0)return h===tq(B);if(g!==void 0||A!==void 0||E!==void 0||v!==void 0){let X=!0;if(g!==void 0&&X&&(X=g===rq(B)),A!==void 0&&X&&(X=A===nq(B)),E!==void 0&&X&&(X=E===iq(B)),v!==void 0){var V;X&&(X=en((V=oq(B))!=null?V:null,B,v,Q=>Q))}return X}return!0}).filter(B=>i===void 0?!0:en(Gp(B,{computedStyleSupportsPseudoElements:Qe().computedStyleSupportsPseudoElements}),B,i,V=>V)).filter(B=>a===void 0?!0:en(fv(B,{computedStyleSupportsPseudoElements:Qe().computedStyleSupportsPseudoElements}),B,a,V=>V)).filter(B=>n===!1?qs(B,{isSubtreeInaccessible:q})===!1:!0)};function Tq(e){var t;let r='*[role~="'+e+'"]',n=(t=mr.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(a=>{let{name:o}=a;return o}));return[r].concat(Array.from(i)).join(",")}var g_=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Cq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+g_(n)},Sq=function(e,t,r){let{hidden:n=Qe().defaultHidden,name:i,description:a}=r===void 0?{}:r;if(Qe()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+g_(i);let o="";Array.from(e.children).forEach(p=>{o+=Pv(p,{hidden:n,includeDescription:a!==void 0})});let s;o.length===0?n===!1?s="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":s="There are no available roles.":s=(`
331
+ Here are the `+(n===!1?"accessible":"available")+` roles:
332
+
333
+ `+o.replace(/\n/g,`
334
+ `).replace(/\n\s\s\n/g,`
335
+
336
+ `)+`
337
+ `).trim();let l="";i===void 0?l="":typeof i=="string"?l=' and name "'+i+'"':l=" and name `"+i+"`";let u="";return a===void 0?u="":typeof a=="string"?u=' and description "'+a+'"':u=" and description `"+a+"`",(`
338
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
339
+
340
+ `+s).trim()},b_=ir(Il,Il.name,"queryAll"),[E_,v_,__,A_,w_]=sn(Il,Cq,Sq),ed=()=>Qe().testIdAttribute,Nl=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return an(t[0]),ri(ed(),...t)},xq=(e,t)=>"Found multiple elements by: ["+ed()+'="'+t+'"]',Dq=(e,t)=>"Unable to find an element by: ["+ed()+'="'+t+'"]',T_=ir(Nl,Nl.name,"queryAll"),[C_,S_,x_,D_,R_]=sn(Nl,xq,Dq),Ya=Object.freeze({__proto__:null,queryAllByLabelText:Lv,queryByLabelText:Nv,getAllByLabelText:Mv,getByLabelText:qv,findAllByLabelText:jv,findByLabelText:kv,queryByPlaceholderText:Vv,queryAllByPlaceholderText:$v,getByPlaceholderText:Jv,getAllByPlaceholderText:Uv,findAllByPlaceholderText:Hv,findByPlaceholderText:Gv,queryByText:Wv,queryAllByText:zv,getByText:Yv,getAllByText:Kv,findAllByText:Xv,findByText:Qv,queryByDisplayValue:e_,queryAllByDisplayValue:Zv,getByDisplayValue:r_,getAllByDisplayValue:t_,findAllByDisplayValue:n_,findByDisplayValue:i_,queryByAltText:a_,queryAllByAltText:o_,getByAltText:u_,getAllByAltText:s_,findAllByAltText:l_,findByAltText:c_,queryByTitle:d_,queryAllByTitle:p_,getByTitle:h_,getAllByTitle:f_,findAllByTitle:m_,findByTitle:y_,queryByRole:E_,queryAllByRole:b_,getAllByRole:v_,getByRole:__,findAllByRole:A_,findByRole:w_,queryByTestId:C_,queryAllByTestId:T_,getByTestId:x_,getAllByTestId:S_,findAllByTestId:D_,findByTestId:R_});function Bl(e,t,r){return t===void 0&&(t=Ya),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let a=t[i];return n[i]=a.bind(null,e),n},r)}var P_=e=>!e||Array.isArray(e)&&!e.length;function Ph(e){if(P_(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.")}async function Rq(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Ph(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let a=i.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(i)?i:null});e=()=>n.map(i=>i()).filter(Boolean)}return Ph(e()),Qp(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!P_(n))throw r},t)}var Oh={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}}},Fh={doubleClick:"dblClick"};function Io(e,t){return Qe().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)})}function Pa(e,t,r,n){let{EventType:i="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let o={...a,...r},{target:{value:s,files:l,...u}={}}=o;s!==void 0&&Pq(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);let p=Av(t),f=p[i]||p.Event,h;if(typeof f=="function")h=new f(e,o);else{h=p.document.createEvent(i);let{bubbles:m,cancelable:g,detail:E,...A}=o;h.initEvent(e,m,g,E),Object.keys(A).forEach(v=>{h[v]=A[v]})}return["dataTransfer","clipboardData"].forEach(m=>{let g=o[m];typeof g=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(g).reduce((E,A)=>(Object.defineProperty(E,A,{value:g[A]}),E),new p.DataTransfer)}):Object.defineProperty(h,m,{value:g}))}),h}Object.keys(Oh).forEach(e=>{let{EventType:t,defaultInit:r}=Oh[e],n=e.toLowerCase();Pa[e]=(i,a)=>Pa(n,i,a,{EventType:t,defaultInit:r}),Io[e]=(i,a)=>Io(i,Pa[e](i,a))});function Pq(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Fh).forEach(e=>{let t=Fh[e];Io[e]=function(){return Io[t](...arguments)}});function Oq(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
341
+ `)}function Fq(e){return AM.default.compressToEncodedURIComponent(Oq(e))}function Iq(e){return"https://testing-playground.com/#markup="+Fq(e)}var Nq=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Sl(n,t,r)):Sl(e,t,r),Bq=function(e){if(e===void 0&&(e=Kp().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=Iq(e.innerHTML);return console.log(`Open this URL in your browser
342
+
343
+ `+t),t},Ih={debug:Nq,logTestingPlaygroundURL:Bq},jq=typeof document<"u"&&document.body?Bl(document.body,Ya,Ih):Object.keys(Ya).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),Ih);function ze(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,i])=>e[n]===i):!0}function vr(e){var t;if(kq(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 ${Mq(e)}`)}function kq(e){return e.nodeType===9}function Mq(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function O_(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}function td(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function En(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F_=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){En(this,"kind",void 0),En(this,"type",void 0),En(this,"file",null),En(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},qq=class extends Array{add(...e){let t=new F_(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function da(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return a=>t?a.type===(i?r:e):i?a.type.startsWith(`${r}/`):a.type===r}function Lq(e){return new class{getData(t){var r;let n=(r=this.items.find(da(t,!0)))!==null&&r!==void 0?r:this.items.find(da(t,!1)),i="";return n?.getAsString(a=>{i=a}),i}setData(t,r){let n=this.items.findIndex(da(t,!0)),i=new F_(r,t);n>=0?this.items.splice(n,1,i):this.items.push(i)}clearData(t){if(t){let r=this.items.findIndex(da(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){En(this,"dropEffect","none"),En(this,"effectAllowed","uninitialized"),En(this,"items",new qq),En(this,"files",td(e,[]))}}}function rd(e,t=[]){let r=typeof e.DataTransfer>"u"?Lq(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>td(e,t)}),r}async function $q(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function I_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let i=await this.data[n];if(!i)throw new Error(`${n} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:n})}constructor(n){I_(this,"data",void 0),this.data=n}}(r)}var xi=Symbol("Manage ClipboardSub");function Nh(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let i=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));i&&(r+=await n.getType(i).then(a=>O_(a,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[N_(e,r)]}constructor(...r){super(...r),I_(this,"items",[])}},{[xi]:t})}function nd(e){return!!e?.[xi]}function Vq(e){if(nd(e.navigator.clipboard))return e.navigator.clipboard[xi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Nh(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Nh(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[xi]}function Uq(e){nd(e.navigator.clipboard)&&e.navigator.clipboard[xi].resetClipboardStub()}function Jq(e){nd(e.navigator.clipboard)&&e.navigator.clipboard[xi].detachClipboardStub()}async function Hq(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let i=rd(t);for(let a of n)for(let o of a.types)i.setData(o,await a.getType(o).then(s=>O_(s,t.FileReader)));return i}async function B_(e,t){let r=vr(e),n=r.navigator.clipboard,i=[];for(let a=0;a<t.items.length;a++){let o=t.items[a],s=await $q(r,o);i.push(N_(r,s))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Xa=globalThis;typeof Xa.afterEach=="function"&&Xa.afterEach(()=>{typeof globalThis.window<"u"&&Uq(globalThis.window)});typeof Xa.afterAll=="function"&&Xa.afterAll(()=>{typeof globalThis.window<"u"&&Jq(globalThis.window)});var j_=["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 id(e){return e.matches(j_)}function Gq(e){return new e.constructor(e.type,e)}function tn(e){for(let r=e;r;r=r.parentElement)if(ze(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ze(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}function Zo(e){let t=e.activeElement;return t?.shadowRoot?Zo(t.shadowRoot):tn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Au(e){var t;return(t=Zo(e))!==null&&t!==void 0?t:e.body}function zq(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Xn(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function No(e){let t=Wq(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Wq(e){return e.nodeType===1?e:e.parentElement}var k_=(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})(k_||{});function M_(e){return ze(e,"button")||ze(e,"input")&&e.type in k_}function Di(e){return L_(e)&&!e.readOnly||Xn(e)}var q_=(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})(q_||{});function L_(e){return ze(e,"textarea")||ze(e,"input")&&e.type in q_}function jr(e){return $_(e)&&L_(e)}function Kq(e){return $_(e)&&M_(e)}function $_(e){return e.nodeType===1}function Yq(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&jr(e)){let n=No(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Ri(e,t){return Qe().eventWrapper(e)}function Dn(e){let t=zq(e,id),r=Zo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ri(t?()=>t.focus():()=>r?.blur()),Yq(t??e.ownerDocument.body))}function Xq(e){!id(e)||Zo(e.ownerDocument)!==e||Ri(()=>e.blur())}var Rn={};Rn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&ze(n,"label")&&n.control;if(i&&i!==t)return()=>{id(i)&&(Dn(i),r.dispatchEvent(i,Gq(e)))};if(ze(t,"input",{type:"file"}))return()=>{Xq(t),t.dispatchEvent(new(vr(t)).Event("fileDialog")),Dn(t)}};var Pi=Symbol("Displayed value in UI"),Yr=Symbol("Displayed selection in UI"),Qa=Symbol("Initial value to compare on blur");function Qq(e){return typeof e=="object"&&Pi in e}function Zq(e){return!!e&&typeof e=="object"&&Yr in e}function eL(e,t){e[Qa]===void 0&&(e[Qa]=e.value),e[Pi]=t,e.value=Object.assign(new String(t),{[Pi]:!0})}function kr(e){return e[Pi]===void 0?e.value:String(e[Pi])}function od(e){e[Pi]=void 0}function V_(e){e[Qa]=void 0}function tL(e){return e[Qa]}function rL(e,t){e[Yr]=t}function Ui(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=kr(e).length,a=f=>Math.max(0,Math.min(i,f)),o=n==="replace"||e[Yr]===void 0?a(r):e[Yr].anchorOffset,s=a(t),l=Math.min(o,s),u=Math.max(o,s);if(e[Yr]={anchorOffset:o,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let p=Object.assign(new Number(l),{[Yr]:!0});try{e.setSelectionRange(p,u)}catch{}}function Bo(e){var t,r,n;let i=(n=e[Yr])!==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{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}function nL(e){return!!e[Yr]}function Oa(e){e[Yr]=void 0}var Za=globalThis.parseInt;function iL(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Za(t[0],10),n=Za(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,Bh(t,i)}return e.length===2?e:Bh(t,2)}function Bh(e,t){let r=e.slice(0,t),n=Math.min(Za(r,10),23),i=e.slice(t),a=Za(i,10),o=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function U_(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var J_=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(J_||{});function oL(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}function aL(e){return ze(e,"textarea")||ze(e,"input")&&e.type in J_}function H_(e,t,r,n){if(Fa(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=jh(e,t,r);if(i){if(Fa(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(ze(i,"br")){let a=jh(i,void 0,r);return a?Fa(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&ze(a,"br")?{node:i.parentNode,offset:fa(i)}:{node:a.parentNode,offset:fa(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:fa(i)}:void 0}else return{node:i.parentNode,offset:fa(i)+(r>0?1:0)}}}function jh(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&ad(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),uL(e,r===1?"next":"previous",sL)}function sL(e){if(Fa(e))return!0;if(ad(e)){if(ze(e,["input","textarea"]))return e.type!=="hidden";if(ze(e,"br"))return!0}return!1}function fa(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function ad(e){return e.nodeType===1}function Fa(e){return e.nodeType===3}function uL(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=lL(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!ad(e.parentNode)||!Xn(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function lL(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var jo=Symbol("Track programmatic changes for React workaround");function cL(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&vr(e).REACT_VERSION===17}function pL(e){cL(e)&&(e[jo]={previousValue:String(e.value),tracked:[]})}function dL(e,t){var r,n;(n=e[jo])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[jo]||(od(e),Ui(e,{focusOffset:t.length}))}function fL(e,t){var r;let n=e[jo];if(e[jo]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||od(e),nL(e)&&Ui(e,{focusOffset:i?t:e.value.length})}function G_(e){let t=hL(e);if(t&&jr(t))return{type:"input",selection:Bo(t)};let r=t?.ownerDocument.getSelection();return{type:No(e)&&r?.anchorNode&&No(r.anchorNode)?"contenteditable":"default",selection:r}}function hL(e){return e.nodeType===1?e:e.parentElement}function mL(e){let t=G_(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)}}function Qn({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,a;if(G_(e).type==="input")return Ui(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(i=a.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}function z_(e){return ze(e,"input")&&["date","time"].includes(e.type)}function Oi(e,t,r,n="insertText"){let i=mL(t);i&&(!z_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?yL(e,t,i,r,n):gL(e,t,i,r,n)))}function yL(e,t,r,n,i){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let o=H_(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(o){a=!0;let s=r.cloneRange();s.comparePoint(o.node,o.offset)<0?s.setStart(o.node,o.offset):s.setEnd(o.node,o.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let o=r.endOffset;r.endContainer.insertData(o,n),r.setStart(r.endContainer,o+n.length),r.setEnd(r.endContainer,o+n.length)}else{let o=t.ownerDocument.createTextNode(n);r.insertNode(o),r.setStart(o,n.length),r.setEnd(o,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}function gL(e,t,r,n,i){let a=n;if(aL(t)){let u=oL(t);if(u!==void 0&&n.length>0){let p=u-t.value.length;if(p>0)a=n.substring(0,p);else return}}let{newValue:o,newOffset:s,oldValue:l}=bL(a,t,r,i);o===l&&s===r.startOffset&&s===r.endOffset||ze(t,"input",{type:"number"})&&!EL(o)||(eL(t,o),Qn({focusNode:t,anchorOffset:s,focusOffset:s}),z_(t)?U_(t,o)&&(kh(e,t,s,{}),e.dispatchUIEvent(t,"change"),V_(t)):kh(e,t,s,{data:n,inputType:i}))}function bL(e,t,{startOffset:r,endOffset:n},i){let a=kr(t),o=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),s=a.substring(0,o),l=Math.min(a.length,r===n&&i==="deleteContentForward"?r+1:n),u=a.substring(l,a.length),p=`${s}${e}${u}`,f=o+e.length;if(ze(t,"input",{type:"time"})){let h=iL(p);h!==""&&U_(t,h)&&(p=h,f=h.length)}return{oldValue:a,newValue:p,newOffset:f}}function kh(e,t,r,n){e.dispatchUIEvent(t,"input",n),fL(t,r)}function EL(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]))}Rn.cut=(e,t,r)=>()=>{Di(t)&&Oi(r,t,"","deleteByCut")};function vL(e){return e?Xn(e)?e.textContent:kr(e):null}function _L(e){let t=vr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}function AL(e,t){let r=e.ownerDocument,n=r.querySelectorAll(j_),i=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||tn(l)));Number(e.getAttribute("tabindex"))>=0&&i.sort((l,u)=>{let p=Number(l.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return p===f?0:p===0?1:f===0?-1:p-f});let a={},o=[r.body],s=ze(e,"input",{type:"radio"})?e.name:void 0;i.forEach(l=>{let u=l;if(ze(u,"input",{type:"radio"})&&u.name){if(u===e){o.push(u);return}else if(u.name===s)return;if(u.checked){o=o.filter(p=>!ze(p,"input",{type:"radio",name:u.name})),o.push(u),a[u.name]=u;return}if(typeof a[u.name]<"u")return}o.push(u)});for(let l=o.findIndex(u=>u===e);;)if(l+=t?-1:1,l===o.length?l=0:l===-1&&(l=o.length-1),o[l]===e||o[l]===r.body||_L(o[l]))return o[l]}function Mh(e,t){if(jr(e)){let r=Bo(e);Qn({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=H_(r.focusNode,r.focusOffset,t);n&&Qn({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function W_(e){if(jr(e))return Qn({focusNode:e,anchorOffset:0,focusOffset:kr(e).length});var t;let r=(t=No(e))!==null&&t!==void 0?t:e.ownerDocument.body;Qn({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function wL(e){if(jr(e))return Bo(e).startOffset===0&&Bo(e).endOffset===kr(e).length;var t;let r=(t=No(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function no(e,t,r){var n;if(jr(e))return Qn({focusNode:e,anchorOffset:t,focusOffset:r});if(Xn(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Qn({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function ha(e,t,r){let n=vr(t),i=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 a=i.findIndex(o=>o===t)+r;;a+=r){if(i[a]||(a=r>0?0:i.length-1),i[a]===t)return;if(!tn(i[a])){Dn(i[a]),e.dispatchUIEvent(i[a],"click");return}}}Rn.keydown=(e,t,r)=>{var n,i;return(i=(n=qh[e.key])===null||n===void 0?void 0:n.call(qh,e,t,r))!==null&&i!==void 0?i:TL(e,t,r)};var qh={ArrowDown:(e,t,r)=>{if(ze(t,"input",{type:"radio"}))return()=>ha(r,t,1)},ArrowLeft:(e,t,r)=>ze(t,"input",{type:"radio"})?()=>ha(r,t,-1):()=>Mh(t,-1),ArrowRight:(e,t,r)=>ze(t,"input",{type:"radio"})?()=>ha(r,t,1):()=>Mh(t,1),ArrowUp:(e,t,r)=>{if(ze(t,"input",{type:"radio"}))return()=>ha(r,t,-1)},Backspace:(e,t,r)=>{if(Di(t))return()=>{Oi(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Di(t))return()=>{Oi(r,t,"","deleteContentForward")}},End:(e,t)=>{if(ze(t,["input","textarea"])||Xn(t))return()=>{var r,n;let i=(n=(r=vL(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;no(t,i,i)}},Home:(e,t)=>{if(ze(t,["input","textarea"])||Xn(t))return()=>{no(t,0,0)}},PageDown:(e,t)=>{if(ze(t,["input"]))return()=>{let r=kr(t).length;no(t,r,r)}},PageUp:(e,t)=>{if(ze(t,["input"]))return()=>{no(t,0,0)}},Tab:(e,t,r)=>()=>{let n=AL(t,r.system.keyboard.modifiers.Shift);Dn(n),jr(n)&&Ui(n,{anchorOffset:0,focusOffset:n.value.length})}},TL=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>W_(t)};Rn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ze(t,"button")||ze(t,"input")&&CL.includes(t.type)||ze(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ze(t,"input")){let n=t.form,i=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&SL.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Di(t)){let n=e.key==="Enter"?Xn(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
344
+ `:e.key;return()=>Oi(r,t,i,n)}};var CL=["button","color","file","image","reset","submit"],SL=["email","month","password","search","tel","text","url","week"];Rn.keyup=(e,t,r)=>{var n;return(n=Lh[e.key])===null||n===void 0?void 0:n.call(Lh,e,t,r)};var Lh={" ":(e,t,r)=>{if(M_(t))return()=>r.dispatchUIEvent(t,"click")}};Rn.paste=(e,t,r)=>{if(Di(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&Oi(r,t,i,"insertFromPaste")}};var K_={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 Y_(e){return K_[e].EventType}var xL=["MouseEvent","PointerEvent"];function DL(e){return xL.includes(Y_(e))}function RL(e){return Y_(e)==="KeyboardEvent"}var PL={ClipboardEvent:[FL],Event:[],FocusEvent:[Xi,IL],InputEvent:[Xi,NL],MouseEvent:[Xi,wu,$h],PointerEvent:[Xi,wu,$h,jL],KeyboardEvent:[Xi,wu,BL]};function X_(e,t,r){let n=vr(t),{EventType:i,defaultInit:a}=K_[e],o=new(OL(n))[i](e,a);var s={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(s[l]=r[l]);return s.view=n,PL[i].forEach(function(u){u(o,s)}),o}function OL(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let i=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let o=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var s;let l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var u;let p=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var f;let h=(f=e.TransitionEvent)!==null&&f!==void 0?f:class extends r{};var m;let g=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var E;let A=(E=e.CompositionEvent)!==null&&E!==void 0?E:class extends g{};var v;let T=(v=e.FocusEvent)!==null&&v!==void 0?v:class extends g{};var I;let R=(I=e.InputEvent)!==null&&I!==void 0?I:class extends g{};var D;let y=(D=e.KeyboardEvent)!==null&&D!==void 0?D:class extends g{};var w;let S=(w=e.MouseEvent)!==null&&w!==void 0?w:class extends g{};var P;let z=(P=e.DragEvent)!==null&&P!==void 0?P:class extends S{};var L;let K=(L=e.PointerEvent)!==null&&L!==void 0?L:class extends S{};var q;let B=(q=e.TouchEvent)!==null&&q!==void 0?q:class extends g{};return{Event:r,AnimationEvent:i,ClipboardEvent:o,PopStateEvent:l,ProgressEvent:p,TransitionEvent:h,UIEvent:g,CompositionEvent:A,FocusEvent:T,InputEvent:R,KeyboardEvent:y,MouseEvent:S,DragEvent:z,PointerEvent:K,TouchEvent:B}}function Fn(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function xt(e){return Number(e??0)}function FL(e,{clipboardData:t}){Fn(e,{clipboardData:t})}function IL(e,{relatedTarget:t}){Fn(e,{relatedTarget:t})}function NL(e,{data:t,inputType:r,isComposing:n}){Fn(e,{data:t,isComposing:!!n,inputType:String(r)})}function Xi(e,{view:t,detail:r}){Fn(e,{view:t,detail:xt(r??0)})}function wu(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:a,modifierCapsLock:o,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:p,modifierSymbol:f,modifierSymbolLock:h}){Fn(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(m){return!!{Alt:t,AltGraph:a,CapsLock:o,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:p,Shift:i,Symbol:f,SymbolLock:h}[m]}})}function BL(e,{key:t,code:r,location:n,repeat:i,isComposing:a,charCode:o}){Fn(e,{key:String(t),code:String(r),location:xt(n),repeat:!!i,isComposing:!!a,charCode:o})}function $h(e,{x:t,y:r,screenX:n,screenY:i,clientX:a=t,clientY:o=r,button:s,buttons:l,relatedTarget:u,offsetX:p,offsetY:f,pageX:h,pageY:m}){Fn(e,{screenX:xt(n),screenY:xt(i),clientX:xt(a),x:xt(a),clientY:xt(o),y:xt(o),button:xt(s),buttons:xt(l),relatedTarget:u,offsetX:xt(p),offsetY:xt(f),pageX:xt(h),pageY:xt(m)})}function jL(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:a,tiltX:o,tiltY:s,twist:l,pointerType:u,isPrimary:p}){Fn(e,{pointerId:xt(t),width:xt(r??1),height:xt(n??1),pressure:xt(i),tangentialPressure:xt(a),tiltX:xt(o),tiltY:xt(s),twist:xt(l),pointerType:String(u),isPrimary:!!p})}function kL(e,t,r,n=!1){(DL(t)||RL(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=X_(t,e,r);return Q_.call(this,e,i,n)}function Q_(e,t,r=!1){var n;let i=t.type,a=r?()=>{}:(n=Rn[i])===null||n===void 0?void 0:n.call(Rn,t,e,this);if(a){t.preventDefault();let o=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>o}),Object.defineProperty(t,"preventDefault",{value:()=>{o=t.cancelable}}),Ri(()=>e.dispatchEvent(t)),o||a(),!o}return Ri(()=>e.dispatchEvent(t))}function $n(e,t,r){let n=X_(t,e,r);Ri(()=>e.dispatchEvent(n))}var Vh=Symbol("patched focus/blur methods");function Z_(e){if(e.prototype[Vh])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>i},blur:{configurable:!0,get:()=>a},[Vh]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function i(o){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,o);let s=Uh(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),$n(s,"blur",{relatedTarget:this}),$n(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,o),$n(this,"focus",{relatedTarget:s})),n===l&&$n(this,"focusin",{relatedTarget:s})}function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let o=Uh(this.ownerDocument);o===this&&(n=Symbol("blur call"),r.call(this),$n(o,"blur",{relatedTarget:null}),$n(o,"focusout",{relatedTarget:null}))}}function Uh(e){let t=Zo(e);return t?.tagName==="BODY"?null:t}var Tu=Symbol("Interceptor for programmatical calls");function fi(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),a=n?.set?"set":"value";if(typeof n?.[a]!="function"||n[a][Tu])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function o(...s){let{applyNative:l=!1,realArgs:u,then:p}=r.call(this,...s),f=(!l&&i||n)[a];a==="set"?f.call(this,u):f.call(this,...u),p?.()}o[Tu]=Tu,Object.defineProperty(e,t,{...i??n,[a]:o})}function ML(e){fi(e,"value",function(t){let r=Qq(t);return r&&pL(this),{applyNative:!!r,realArgs:qL(this,t),then:r?void 0:()=>dL(this,String(t))}})}function qL(e,t){return ze(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function LL(e){fi(e,"setSelectionRange",function(t,...r){let n=Zq(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Oa(e)}}),fi(e,"selectionStart",function(t){return{realArgs:t,then:()=>Oa(e)}}),fi(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Oa(e)}}),fi(e,"select",function(){return{realArgs:[],then:()=>rL(e,{anchorOffset:0,focusOffset:kr(e).length})}})}function $L(e){fi(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{od(e),Oa(e)}}})}var bi=Symbol("Node prepared with document state workarounds");function eA(e){e[bi]||(e.addEventListener("focus",t=>{let r=t.target;Jh(r)},{capture:!0,passive:!0}),e.activeElement&&Jh(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=tL(r);n!==void 0&&(r.value!==n&&$n(r,"change"),V_(r))},{capture:!0,passive:!0}),e[bi]=bi)}function Jh(e){e[bi]||(ze(e,["input","textarea"])&&(ML(e),LL(e),$L(e)),e[bi]=bi)}function VL(e){return UL(e)?e:e.ownerDocument}function UL(e){return e.nodeType===9}var ur=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function io(e,t){e.levelRefs[t]={}}function ma(e,t){return e.levelRefs[t]}function Fi(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var Ia=(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 jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pr=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),JL=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Hh(e){return JL.includes(e)}var HL=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Gh(e){return HL.includes(e)}var GL=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),i=Au(e.config.document);this.setKeydownTarget(i),this.pressed.add(n,t),Hh(r)&&(this.modifiers[r]=!0);let a=e.dispatchUIEvent(i,"keydown",{key:r,code:n});Gh(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),a&&this.pressed.setUnprevented(n),a&&this.hasKeyPress(r)&&e.dispatchUIEvent(Au(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),i=this.pressed.isUnprevented(n);this.pressed.delete(n),Hh(r)&&!this.pressed.values().find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Au(e.config.document),"keyup",{key:r,code:n},!i),Gh(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){jn(this,"system",void 0),jn(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}),jn(this,"pressed",new class{add(t,r){var n,i,a;(a=(n=this.registry)[i=t])!==null&&a!==void 0||(n[i]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){jn(this,"registry",{})}}),jn(this,"carryChar",""),jn(this,"lastKeydownTarget",void 0),jn(this,"modifierLockStart",{}),this.system=e}},zL=[..."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:Pr.LEFT},{code:"AltRight",key:"Alt",location:Pr.RIGHT},{code:"ShiftLeft",key:"Shift",location:Pr.LEFT},{code:"ShiftRight",key:"Shift",location:Pr.RIGHT},{code:"ControlLeft",key:"Control",location:Pr.LEFT},{code:"ControlRight",key:"Control",location:Pr.RIGHT},{code:"MetaLeft",key:"Meta",location:Pr.LEFT},{code:"MetaRight",key:"Meta",location:Pr.RIGHT},{code:"OSLeft",key:"OS",location:Pr.LEFT},{code:"OSRight",key:"OS",location:Pr.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"}],WL=[{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 KL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tA=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=jl(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=jl(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){KL(this,"pressed",{})}},zh={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function jl(e=0){return e in zh?zh[e]:Number(e)}var Wh={1:2,2:1};function kl(e){return e=jl(e),e in Wh?Wh[e]:e}function YL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var XL=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){YL(this,"pressedKeys",new Set)}};function po(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}function Ml({target:e,node:t,offset:r}){return jr(e)?{node:e,offset:r??kr(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:rA(e,r)}function rA(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=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 a=e.childNodes.item(n),o=String(a.textContent);if(o.length)if(t!==void 0&&o.length<t)t-=o.length;else{if(a.nodeType===1)return rA(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}function QL({document:e,target:t,clickCount:r,node:n,offset:i}){if(Kq(t))return;let a=jr(t),o=String(a?kr(t):t.textContent),[s,l]=n?[i,i]:ZL(o,i,r);if(a)return Ui(t,{anchorOffset:s??o.length,focusOffset:l??o.length}),{node:t,start:s??0,end:l??o.length};{let{node:u,offset:p}=Ml({target:t,node:n,offset:s}),{node:f,offset:h}=Ml({target:t,node:n,offset:l}),m=t.ownerDocument.createRange();try{m.setStart(u,p),m.setEnd(f,h)}catch{throw new Error("The given offset is out of bounds.")}let g=e.getSelection();return g?.removeAllRanges(),g?.addRange(m.cloneRange()),m}}function ZL(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]}function e3(e,{document:t,target:r,node:n,offset:i}){let a=Ml({target:r,node:n,offset:i});if("node"in e){if(a.node===e.node){let o=a.offset<e.start?e.end:e.start,s=a.offset>e.end||a.offset<e.start?a.offset:e.end;Ui(e.node,{anchorOffset:o,focusOffset:s})}}else{let o=e.cloneRange(),s=o.comparePoint(a.node,a.offset);s<0?o.setStart(a.node,a.offset):s>0&&o.setEnd(a.node,a.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(o.cloneRange())}}function nA(e,t){var r,n,i,a,o,s,l,u,p,f,h,m,g,E,A,v,T,I,R,D,y,w,S,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)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((o=e.coords)===null||o===void 0?void 0:o.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((m=t.coords)===null||m===void 0?void 0:m.offsetY)||((g=e.coords)===null||g===void 0?void 0:g.pageX)!==((E=t.coords)===null||E===void 0?void 0:E.pageX)||((A=e.coords)===null||A===void 0?void 0:A.pageY)!==((v=t.coords)===null||v===void 0?void 0:v.pageY)||((T=e.coords)===null||T===void 0?void 0:T.screenX)!==((I=t.coords)===null||I===void 0?void 0:I.screenX)||((R=e.coords)===null||R===void 0?void 0:R.screenY)!==((D=t.coords)===null||D===void 0?void 0:D.screenY)||((y=e.caret)===null||y===void 0?void 0:y.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((S=e.caret)===null||S===void 0?void 0:S.offset)!==((P=t.caret)===null||P===void 0?void 0:P.offset)}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var t3=class{move(e,t,r){let n=this.position,i=this.getTarget(e);if(this.position=t,!nA(n,t))return;let a=this.getTarget(e),o=this.getEventInit("mousemove"),[s,l]=po(i,a);return{leave:()=>{i!==a&&(e.dispatchUIEvent(i,"mouseout",o),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",o)))},enter:()=>{i!==a&&(e.dispatchUIEvent(a,"mouseover",o),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",o)))},move:()=>{r||(e.dispatchUIEvent(a,"mousemove",o),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let i=this.getTarget(e);this.buttonDownTarget[n]=i;let a=this.getEventInit("mousedown",t.button),o=tn(i);!r&&(o||e.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(e,a.detail),Dn(i)),!o&&kl(t.button)===2&&e.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let i=this.getTarget(e);if(!tn(i)){if(!r){let o=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(i,"mouseup",o),this.endSelecting()}let a=po(this.buttonDownTarget[n],i)[2][0];if(a){let o=this.getEventInit("click",t.button);o.detail&&(e.dispatchUIEvent(a,o.button===0?"click":"auxclick",o),o.button===0&&o.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:o.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=kl(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=QL({document:e.config.document,target:this.getTarget(e),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,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&e3(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){kn(this,"position",{}),kn(this,"buttons",new tA),kn(this,"selecting",void 0),kn(this,"buttonDownTarget",{}),kn(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){kn(this,"down",{}),kn(this,"count",{})}})}};function es(e,t){var r;return((r=iA(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function r3(e){let t=vr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}var Kh=Symbol("Last check for pointer-events");function iA(e,t){let r=t[Kh];if(!(e.config.pointerEventsCheck!==Ia.Never&&(!r||Yh(e.config.pointerEventsCheck,Ia.EachApiCall)&&r[ur.Call]!==ma(e,ur.Call)||Yh(e.config.pointerEventsCheck,Ia.EachTrigger)&&r[ur.Trigger]!==ma(e,ur.Trigger))))return r?.result;let n=r3(t);return t[Kh]={[ur.Call]:ma(e,ur.Call),[ur.Trigger]:ma(e,ur.Trigger),result:n},n}function oo(e,t){let r=iA(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",n3(r.tree)].join(`
345
+ `))}function n3(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,i3(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(`
346
+ `)}function i3(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(ze(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(o=>{var s;return(s=o.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(ze(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function Yh(e,t){return(e&t)>0}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o3=class{init(e){let t=this.getTarget(e),[,r]=po(null,t),n=this.getEventInit();return oo(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!nA(r,t))return;let i=this.getTarget(e),a=this.getEventInit(-1),[o,s]=po(n,i);return{leave:()=>{es(e,n)&&n!==i&&(e.dispatchUIEvent(n,"pointerout",a),o.forEach(l=>e.dispatchUIEvent(l,"pointerleave",a)))},enter:()=>{oo(e,i),n!==i&&(e.dispatchUIEvent(i,"pointerover",a),s.forEach(l=>e.dispatchUIEvent(l,"pointerenter",a)))},move:()=>{e.dispatchUIEvent(i,"pointermove",a)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);oo(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);oo(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=po(t,null),n=this.getEventInit();es(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:kl(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Jr(this,"pointerId",void 0),Jr(this,"pointerType",void 0),Jr(this,"isPrimary",void 0),Jr(this,"buttons",void 0),Jr(this,"isMultitouch",!1),Jr(this,"isCancelled",!1),Jr(this,"isDown",!1),Jr(this,"isPrevented",!1),Jr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a3=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),i=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),i.pointerType==="touch"&&i.init(e),i.down(e,t.button),i.pointerType!=="touch"&&this.mouse.down(e,t,i.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),i=n.move(e,r),a=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let i=this.pointers.get(this.getPointerName(t)),a=i.isPrevented;if(i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&i.up(e,t.button),i.pointerType==="touch"&&i.release(e),i.pointerType==="touch"&&!i.isMultitouch){let o=this.mouse.move(e,r,a);o?.leave(),o?.enter(),o?.move(),this.mouse.down(e,t,a)}if(!i.isMultitouch){let o=this.mouse.move(e,r,a);o?.leave(),o?.enter(),o?.move(),this.mouse.up(e,t,a)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){dn(this,"system",void 0),dn(this,"mouse",void 0),dn(this,"buttons",void 0),dn(this,"devices",new class{get(t){var r,n,i;return(i=(r=this.registry)[n=t])!==null&&i!==void 0?i:r[n]=new XL}constructor(){dn(this,"registry",{})}}),dn(this,"pointers",new class{new(t,r,n){let i=r!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===r&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new o3({pointerId:this.nextId++,pointerType:r,isPrimary:i},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){dn(this,"registry",{}),dn(this,"nextId",1)}}),this.system=e,this.buttons=new tA,this.mouse=new t3,this.pointers.new("mouse","mouse",this.buttons)}};function Xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oA=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(){Xh(this,"keyboard",new GL(this)),Xh(this,"pointer",new a3(this))}};async function s3(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function u3(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function l3(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function c3(e){return this.pointer({target:e})}async function p3(e){return oo(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function d3({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var sd=(function(e){return e["{"]="}",e["["]="]",e})(sd||{});function aA(e,t){let r=0,n=e[r]in sd?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?f3(e,r,t):h3(e,r,i,t)}}function f3(e,t,r){let n=e[t];return sA(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function h3(e,t,r,n){var i,a;let o=e[t]==="/"?"/":"";t+=o.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let l=s?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];sA(l,e,t,n),t+=l.length;var u;let p=(u=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&u!==void 0?u:"";t+=p.length;let f=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=f.length;let h=sd[r],m=e[t]===h?h:"";if(!m)throw new Error(uA([!p&&"repeat modifier",!f&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:l,releasePrevious:!!o,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:m3(f,p)}}function sA(e,t,r,n){if(!e)throw new Error(uA("key descriptor",t[r],t,n))}function m3(e,t){if(e)return e==="/";if(t)return!1}function uA(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
347
+ 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"}
348
+ for more information about how userEvent parses your input.`}function y3(e,t){let r=[];do{let{type:i,descriptor:a,consumedLength:o,releasePrevious:s,releaseSelf:l=!0,repeat:u}=aA(t,"keyboard");var n;let p=(n=e.find(f=>{if(i==="["){var h;return((h=f.code)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}else if(i==="{"){var m;return((m=f.key)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()}return f.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:a};r.push({keyDef:p,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(o)}while(t);return r}async function g3(e){let t=y3(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Fi(this.config),await b3(this,t[r])}async function b3(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let o=1;o<=i;o++)await a.keyboard.keydown(e,t),o<i&&await Fi(e.config);n&&await a.keyboard.keyup(e,t)}}async function E3(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function lA(e){let t=jr(e)?{"text/plain":v3(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=rd(vr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function v3(e){let t=Bo(e);return kr(e).substring(t.startOffset,t.endOffset)}async function _3(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=lA(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await B_(e,n),n}async function A3(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=lA(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await B_(r.ownerDocument,n),n}async function w3(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let a=(i=typeof e=="string"?T3(t,e):e)!==null&&i!==void 0?i:await Hq(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function T3(e,t){let r=rd(vr(e));return r.setData("text",t),r}function Qh(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:a,releaseSelf:o=!0}=aA(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:a,releaseSelf:o}),t=t.slice(i)}while(t);return r}async function C3(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Qh(t,n)):"keys"in n?r.push(...Qh(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await Fi(this.config),await S3(this,r[n]);this.system.pointer.resetClickCount()}async function S3(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(i);var o,s,l,u;let p={target:(o=t.target)!==null&&o!==void 0?o:x3(e,a),coords:(s=t.coords)!==null&&s!==void 0?s:a?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:Zh(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:Zh(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(io(e,ur.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(io(e,ur.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(io(e,ur.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(io(e,ur.Trigger),await e.system.pointer.move(e,i,p))}function Zh(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)}function x3(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}async function D3(e){if(!Di(e)||tn(e))throw new Error("clear()` is only supported on editable elements.");if(Dn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(W_(e),!wL(e))throw new Error("The element content to be cleared could not be selected.");Oi(this,e,"","deleteContentBackward")}async function R3(e,t){return cA.call(this,!0,e,t)}async function P3(e,t){return cA.call(this,!1,e,t)}async function cA(e,t,r){if(!e&&!t.multiple)throw Qe().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],i=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(s=>{if(typeof s!="string"&&i.includes(s))return s;{let l=i.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw Qe().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!tn(s));if(tn(t)||!a.length)return;let o=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(ze(t,"select"))if(t.multiple)for(let s of a){let l=this.config.pointerEventsCheck===0?!0:es(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Dn(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),o(s),l&&this.dispatchUIEvent(s,"click"),await Fi(this.config)}else if(a.length===1){let s=this.config.pointerEventsCheck===0?!0:es(this,t);s?await this.click(t):Dn(t),o(a[0]),s&&(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 Fi(this.config)}else throw Qe().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of a)await this.click(s),await this.unhover(s);else throw Qe().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function O3(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),i!==void 0&&no(e,i,a??i),await this.keyboard(t),n||await E3(this))}var em=Symbol("files and value properties are mocked");function Cu(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function F3(e,t){var r;(r=e[em])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function o(){Cu(e,"type",n),Cu(e,"value",i),Cu(e,"files",a)}e[em]={restore:o},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")o();else{var l;i==null||(l=i.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(o(),e.type=s)}}})}async function I3(e,t){let r=ze(e,"label")?e.control:e;if(!r||!ze(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(tn(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||N3(a,r.accept)).slice(0,r.multiple?void 0:1),i=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((o,s)=>{var l;return o===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(F3(r,td(vr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}function ya(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function N3(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return ya(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?ya(e.name).endsWith(n):r.includes(n)?ya(e.type).startsWith(n.replace("*","")):ya(e.type)===n)}var tm={click:s3,dblClick:u3,tripleClick:l3,hover:c3,unhover:p3,tab:d3,keyboard:g3,copy:_3,cut:A3,paste:w3,pointer:C3,clear:D3,deselectOptions:P3,selectOptions:R3,type:O3,upload:I3};function B3(e){return Qe().asyncWrapper(e)}var pA={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:zL,pointerMap:WL,pointerEventsCheck:Ia.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},j3={...pA,writeToClipboard:!0};function dA(e={},t=j3,r){let n=L3(e,r,t);return{...t,...e,document:n}}function k3(e={}){let t=dA(e);eA(t.document),Z_(vr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return Vq(n),ud(t).api}function Qt({keyboardState:e,pointerState:t,...r}={},n){let i=dA(r,pA,n);eA(i.document),Z_(vr(i.document).HTMLElement);var a;let o=(a=t??e)!==null&&a!==void 0?a:new oA;return{api:ud(i,o).api,system:o}}function M3(e){return ud({...this.config,...e},this.system).api}function q3(e,t){function r(...n){return io(e,ur.Call),B3(()=>t.apply(e,n).then(async i=>(await Fi(e.config),i)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function ud(e,t=new oA){let r={};return Object.assign(r,{config:e,dispatchEvent:Q_.bind(r),dispatchUIEvent:kL.bind(r),system:t,levelRefs:{},...tm}),{instance:r,api:{...Object.fromEntries(Object.entries(tm).map(([n,i])=>[n,q3(r,i)])),setup:M3.bind(r)}}}function L3(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&VL(t))!==null&&i!==void 0?i:r.document}var fA={};or(fA,{clear:()=>$3,click:()=>V3,copy:()=>U3,cut:()=>J3,dblClick:()=>H3,deselectOptions:()=>G3,hover:()=>z3,keyboard:()=>W3,paste:()=>Y3,pointer:()=>K3,selectOptions:()=>X3,tab:()=>r5,tripleClick:()=>Q3,type:()=>Z3,unhover:()=>e5,upload:()=>t5});function $3(e){return Qt().api.clear(e)}function V3(e,t={}){return Qt(t,e).api.click(e)}function U3(e={}){return Qt(e).api.copy()}function J3(e={}){return Qt(e).api.cut()}function H3(e,t={}){return Qt(t).api.dblClick(e)}function G3(e,t,r={}){return Qt(r).api.deselectOptions(e,t)}function z3(e,t={}){return Qt(t).api.hover(e)}async function W3(e,t={}){let{api:r,system:n}=Qt(t);return r.keyboard(e).then(()=>n)}async function K3(e,t={}){let{api:r,system:n}=Qt(t);return r.pointer(e).then(()=>n)}function Y3(e,t){return Qt(t).api.paste(e)}function X3(e,t,r={}){return Qt(r).api.selectOptions(e,t)}function Q3(e,t={}){return Qt(t).api.tripleClick(e)}function Z3(e,t,r={}){return Qt(r,e).api.type(e,t,r)}function e5(e,t={}){let{api:r,system:n}=Qt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function t5(e,t,r={}){return Qt(r).api.upload(e,t)}function r5(e={}){return Qt().api.tab(e)}var hA={...fA,setup:k3},ql=Uo({...ov},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});ql.screen=new Proxy(ql.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&Rt.warn(Ke`
349
+ You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
350
+
351
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
352
+ `),Reflect.get(e,t,r)}});var{buildQueries:n5,configure:i5,createEvent:o5,fireEvent:a5,findAllByAltText:s5,findAllByDisplayValue:u5,findAllByLabelText:l5,findAllByPlaceholderText:c5,findAllByRole:p5,findAllByTestId:d5,findAllByText:f5,findAllByTitle:h5,findByAltText:m5,findByDisplayValue:y5,findByLabelText:g5,findByPlaceholderText:b5,findByRole:E5,findByTestId:v5,findByText:_5,findByTitle:A5,getAllByAltText:w5,getAllByDisplayValue:T5,getAllByLabelText:C5,getAllByPlaceholderText:S5,getAllByRole:x5,getAllByTestId:D5,getAllByText:R5,getAllByTitle:P5,getByAltText:O5,getByDisplayValue:F5,getByLabelText:I5,getByPlaceholderText:N5,getByRole:B5,getByTestId:j5,getByText:k5,getByTitle:M5,getConfig:q5,getDefaultNormalizer:L5,getElementError:$5,getNodeText:V5,getQueriesForElement:U5,getRoles:J5,getSuggestedQuery:H5,isInaccessible:G5,logDOM:z5,logRoles:W5,prettyDOM:K5,queries:Y5,queryAllByAltText:X5,queryAllByAttribute:Q5,queryAllByDisplayValue:Z5,queryAllByLabelText:e6,queryAllByPlaceholderText:t6,queryAllByRole:r6,queryAllByTestId:n6,queryAllByText:i6,queryAllByTitle:o6,queryByAltText:a6,queryByAttribute:s6,queryByDisplayValue:u6,queryByLabelText:l6,queryByPlaceholderText:c6,queryByRole:p6,queryByTestId:d6,queryByText:f6,queryByTitle:h6,queryHelpers:m6,screen:y6,waitFor:g6,waitForElementToBeRemoved:b6,within:mA,prettyFormat:E6}=ql,yA=hA,{userEvent:v6}=Uo({userEvent:hA},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:_6}=Uo({expect:QE},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===G){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},mutate:!0,intercept:e=>e!=="expect"}),A6={mock:()=>{}},rm=!1,w6=e=>{let{parameters:t}=e;t?.actions?.disable||rm||(ZE((r,n)=>{let i=r.getMockName();i!=="spy"&&i!=="vi.fn()"&&(!/^next\/.*::/.test(i)||["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(a=>i.startsWith(a)))&&ea(i)(n)}),rm=!0)},T6=[w6],nm=()=>({...hb,...yb}),ts="backgrounds",C6={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Cr}=globalThis,S6=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,im=e=>{(Array.isArray(e)?e:[e]).forEach(x6)},x6=e=>{if(!Cr)return;let t=Cr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},D6=(e,t)=>{if(!Cr)return;let r=Cr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Cr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Cr.head.appendChild(n)}},R6=(e,t,r)=>{if(!Cr)return;let n=Cr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=Cr.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let a=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,o=Cr.getElementById(a);o?o.parentElement?.insertBefore(i,o):Cr.head.appendChild(i)}},P6={cellSize:100,cellAmount:10,opacity:.8},om="addon-backgrounds",am="addon-backgrounds-grid",O6=S6()?"":"transition: background-color 0.3s;",F6=(e,t)=>{let{globals:r={},parameters:n={},viewMode:i,id:a}=t,{options:o=C6,disable:s,grid:l=P6}=n[ts]||{},u=r[ts]||{},p=typeof u=="string"?u:u?.value,f=p?o[p]:void 0,h=typeof f=="string"?f:f?.value||"transparent",m=typeof u=="string"?!1:u.grid||!1,g=!!f&&!s,E=i==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",A=i==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",v=n.layout===void 0||n.layout==="padded",T=i==="docs"?20:v?16:0,{cellAmount:I,cellSize:R,opacity:D,offsetX:y=T,offsetY:w=T}=l,S=i==="docs"?`${om}-docs-${a}`:`${om}-color`,P=i==="docs"?a:null;Wn(()=>{let L=`
353
+ ${E} {
354
+ background: ${h} !important;
355
+ ${O6}
356
+ }`;if(!g){im(S);return}R6(S,L,P)},[E,S,P,g,h]);let z=i==="docs"?`${am}-docs-${a}`:`${am}`;return Wn(()=>{if(!m){im(z);return}let L=[`${R*I}px ${R*I}px`,`${R*I}px ${R*I}px`,`${R}px ${R}px`,`${R}px ${R}px`].join(", "),K=`
357
+ ${A} {
358
+ background-size: ${L} !important;
359
+ background-position: ${y}px ${w}px, ${y}px ${w}px, ${y}px ${w}px, ${y}px ${w}px !important;
360
+ background-blend-mode: difference !important;
361
+ background-image: linear-gradient(rgba(130, 130, 130, ${D}) 1px, transparent 1px),
362
+ linear-gradient(90deg, rgba(130, 130, 130, ${D}) 1px, transparent 1px),
363
+ linear-gradient(rgba(130, 130, 130, ${D/2}) 1px, transparent 1px),
364
+ linear-gradient(90deg, rgba(130, 130, 130, ${D/2}) 1px, transparent 1px) !important;
365
+ }
366
+ `;D6(z,K)},[I,R,A,z,m,y,w,D]),e()},I6=globalThis.FEATURES?.backgrounds?[F6]:[],N6={[ts]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},B6={[ts]:{value:void 0,grid:!1}},sm=()=>({decorators:I6,parameters:N6,initialGlobals:B6}),{step:j6}=Uo({step:async(e,t,r)=>t(r)},{intercept:!0}),um=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:j6}),k6=e=>{let t=getComputedStyle(e),r=e.getBoundingClientRect();return!(r.width>0&&r.height>0&&t.visibility!=="hidden"&&Number(t.opacity)>0&&t.display!=="none")},M6=async({reporting:e,canvasElement:t,globals:r})=>{try{if(!r.ghostStories)return;let n=k6(t.firstElementChild??t);n&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:n},status:"warning"})}catch{}},lm=()=>({afterEach:M6}),Vs="storybook/highlight",q6=`${Vs}/add`,L6=`${Vs}/remove`,$6=`${Vs}/reset`,V6=`${Vs}/scroll-into-view`,cm=2147483647,bn=28,pm={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"]},U6="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Mt=(e,t={},r)=>{let n=U6.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([i,a])=>{/[A-Z]/.test(i)?(i==="onClick"&&(n.addEventListener("click",a),n.addEventListener("keydown",o=>{(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),a())})),i==="onMouseEnter"&&n.addEventListener("mouseenter",a),i==="onMouseLeave"&&n.addEventListener("mouseleave",a)):n.setAttribute(i,a)}),r?.forEach(i=>{if(!(i==null||i===!1))try{n.appendChild(i)}catch{n.appendChild(document.createTextNode(String(i)))}}),n},ga=e=>pm[e]&&Mt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},pm[e].map(t=>Mt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),J6=e=>{if("elements"in e){let{elements:n,color:i,style:a}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${a} ${i}`,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}},H6=e=>e instanceof Function,Qi=new Map,Mn=new Map,ba=new Map,Hr=e=>{let t=Symbol();return Mn.set(t,[]),Qi.set(t,e),{get:()=>Qi.get(t),set:r=>{let n=Qi.get(t),i=H6(r)?r(n):r;i!==n&&(Qi.set(t,i),Mn.get(t)?.forEach(a=>{ba.get(a)?.(),ba.set(a,a(i))}))},subscribe:r=>(Mn.get(t)?.push(r),()=>{let n=Mn.get(t);n&&Mn.set(t,n.filter(i=>i!==r))}),teardown:()=>{Mn.get(t)?.forEach(r=>{ba.get(r)?.(),ba.delete(r)}),Mn.delete(t),Qi.delete(t)}}},dm=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:i=0}=n;for(let a of n.selectors){let o=[...document.querySelectorAll(`:is(${a}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(a)||[]];for(let s of o){let l=r.get(s);(!l||l.priority<=i)&&r.set(s,{...n,priority:i,selectors:Array.from(new Set((l?.selectors||[]).concat(a)))})}}}return r},G6=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:i,focusStyles:a,menu:o}])=>{let{top:s,left:l,width:u,height:p}=t.getBoundingClientRect(),{position:f}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:i,focusStyles:a,menu:o,top:f==="fixed"?s:s+window.scrollY,left:f==="fixed"?l:l+window.scrollX,width:u,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),fm=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:i}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&i>=r.top&&i<=r.top+r.height},hm=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:i,width:a,height:o}=e;o<bn&&(i=i-Math.round((bn-o)/2),o=bn),a<bn&&(n=n-Math.round((bn-a)/2),a=bn),t.style.position==="fixed"&&(n+=window.scrollX,i+=window.scrollY);let{x:s,y:l}=r;return s>=n&&s<=n+a&&l>=i&&l<=i+o},z6=(e,t,r={})=>{let{x:n,y:i}=t,{margin:a=5,topOffset:o=0,centered:s=!1}=r,{scrollX:l,scrollY:u,innerHeight:p,innerWidth:f}=window,h=Math.min(e.style.position==="fixed"?i-u:i,p-e.clientHeight-a-o+u),m=s?e.clientWidth/2:0,g=e.style.position==="fixed"?Math.max(Math.min(n-l,f-m-a),m+a):Math.max(Math.min(n,f-m-a+l),m+a+l);Object.assign(e.style,{...g!==n&&{left:`${g}px`},...h!==i&&{top:`${h}px`}})},mm=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},W6=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},K6=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}}),Et="storybook-highlights-menu",ym="storybook-highlights-root",Y6="storybook-root",X6=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Hr([]),n=Hr(new Map),i=Hr([]),a=Hr(),o=Hr(),s=Hr([]),l=Hr([]),u=Hr(),p=Hr(),f=t.getElementById(ym);r.subscribe(()=>{f||(f=Mt("div",{id:ym}),t.body.appendChild(f))}),r.subscribe(w=>{let S=t.getElementById(Y6);if(!S)return;n.set(dm(w));let P=new MutationObserver(()=>n.set(dm(w)));return P.observe(S,{subtree:!0,childList:!0}),()=>{P.disconnect()}}),n.subscribe(w=>{let S=()=>requestAnimationFrame(()=>i.set(G6(w))),P=new ResizeObserver(S);P.observe(t.body),Array.from(w.keys()).forEach(L=>P.observe(L));let z=Array.from(t.body.querySelectorAll("*")).filter(L=>{let{overflow:K,overflowX:q,overflowY:B}=window.getComputedStyle(L);return["auto","scroll"].some(V=>[K,q,B].includes(V))});return z.forEach(L=>L.addEventListener("scroll",S)),()=>{P.disconnect(),z.forEach(L=>L.removeEventListener("scroll",S))}}),n.subscribe(w=>{let S=Array.from(w.keys()).filter(({style:z})=>z.position==="sticky"),P=()=>requestAnimationFrame(()=>{i.set(z=>z.map(L=>{if(S.includes(L.element)){let{top:K,left:q}=L.element.getBoundingClientRect();return{...L,top:K+window.scrollY,left:q+window.scrollX}}return L}))});return t.addEventListener("scroll",P),()=>t.removeEventListener("scroll",P)}),n.subscribe(w=>{s.set(S=>S.filter(({element:P})=>w.has(P)))}),s.subscribe(w=>{w.length?(p.set(S=>w.some(P=>P.element===S?.element)?S:void 0),u.set(S=>w.some(P=>P.element===S?.element)?S:void 0)):(p.set(void 0),u.set(void 0),a.set(void 0))});let h=new Map(new Map);r.subscribe(w=>{w.forEach(({keyframes:S})=>{if(S){let P=h.get(S);P||(P=t.createElement("style"),P.setAttribute("data-highlight","keyframes"),h.set(S,P),t.head.appendChild(P)),P.innerHTML=S}}),h.forEach((S,P)=>{w.some(z=>z.keyframes===P)||(S.remove(),h.delete(P))})});let m=new Map(new Map);i.subscribe(w=>{w.forEach(S=>{let P=m.get(S.element);if(f&&!P){let z={popover:"manual","data-highlight-dimensions":`w${S.width.toFixed(0)}h${S.height.toFixed(0)}`,"data-highlight-coordinates":`x${S.left.toFixed(0)}y${S.top.toFixed(0)}`};P=f.appendChild(Mt("div",z,[Mt("div")])),m.set(S.element,P)}}),m.forEach((S,P)=>{w.some(({element:z})=>z===P)||(S.remove(),m.delete(P))})}),i.subscribe(w=>{let S=w.filter(z=>z.menu);if(!S.length)return;let P=z=>{requestAnimationFrame(()=>{let L=t.getElementById(Et),K={x:z.pageX,y:z.pageY};if(L&&!fm(L,K)){let q=S.filter(B=>{let V=m.get(B.element);return hm(B,V,K)});a.set(q.length?K:void 0),s.set(q)}})};return t.addEventListener("click",P),()=>t.removeEventListener("click",P)});let g=()=>{let w=t.getElementById(Et),S=o.get();!S||w&&fm(w,S)||l.set(P=>{let z=i.get().filter(B=>{let V=m.get(B.element);return hm(B,V,S)}),L=P.filter(B=>z.includes(B)),K=z.filter(B=>!P.includes(B)),q=P.length-L.length;return K.length||q?[...L,...K]:P})};o.subscribe(g),i.subscribe(g);let E=()=>{let w=p.get(),S=w?[w]:s.get(),P=S.length===1?S[0]:u.get(),z=a.get()!==void 0;i.get().forEach(L=>{let K=m.get(L.element);if(K){let q=P===L,B=z?P?q:S.includes(L):l.get()?.includes(L);Object.assign(K.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...L.styles,...B?L.hoverStyles:{},...q?L.focusStyles:{},position:getComputedStyle(L.element).position==="fixed"?"fixed":"absolute",zIndex:cm-10,top:`${L.top}px`,left:`${L.left}px`,width:`${L.width}px`,height:`${L.height}px`,margin:0,padding:0,cursor:L.menu&&B?"pointer":"default",pointerEvents:L.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(K.children[0].style,{width:"100%",height:"100%",minHeight:`${bn}px`,minWidth:`${bn}px`,boxSizing:"content-box",padding:K.style.outlineWidth||"0px"}),mm(K)}})};i.subscribe(E),s.subscribe(E),l.subscribe(E),u.subscribe(E),p.subscribe(E);let A=()=>{if(!f)return;let w=t.getElementById(Et);if(w)w.innerHTML="";else{let L={id:Et,popover:"manual"};w=f.appendChild(Mt("div",L)),f.appendChild(Mt("style",{},[`
367
+ #${Et} {
368
+ position: absolute;
369
+ z-index: ${cm};
370
+ width: 300px;
371
+ padding: 0px;
372
+ margin: 15px 0 0 0;
373
+ transform: translateX(-50%);
374
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
375
+ font-size: 12px;
376
+ background: white;
377
+ border: none;
378
+ border-radius: 6px;
379
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
380
+ color: #2E3438;
381
+ }
382
+ #${Et} ul {
383
+ list-style: none;
384
+ margin: 0;
385
+ padding: 0;
386
+ }
387
+ #${Et} > ul {
388
+ max-height: 300px;
389
+ overflow-y: auto;
390
+ padding: 4px 0;
391
+ }
392
+ #${Et} li {
393
+ padding: 0 4px;
394
+ margin: 0;
395
+ }
396
+ #${Et} li > :not(ul) {
397
+ display: flex;
398
+ padding: 8px;
399
+ margin: 0;
400
+ align-items: center;
401
+ gap: 8px;
402
+ border-radius: 4px;
403
+ }
404
+ #${Et} button {
405
+ width: 100%;
406
+ border: 0;
407
+ background: transparent;
408
+ color: inherit;
409
+ text-align: left;
410
+ font-family: inherit;
411
+ font-size: inherit;
412
+ }
413
+ #${Et} button:focus-visible {
414
+ outline-color: #029CFD;
415
+ }
416
+ #${Et} button:hover {
417
+ background: rgba(2, 156, 253, 0.07);
418
+ color: #029CFD;
419
+ cursor: pointer;
420
+ }
421
+ #${Et} li code {
422
+ white-space: nowrap;
423
+ overflow: hidden;
424
+ text-overflow: ellipsis;
425
+ line-height: 16px;
426
+ font-size: 11px;
427
+ }
428
+ #${Et} li svg {
429
+ flex-shrink: 0;
430
+ margin: 1px;
431
+ color: #73828C;
432
+ }
433
+ #${Et} li > button:hover svg, #${Et} li > button:focus-visible svg {
434
+ color: #029CFD;
435
+ }
436
+ #${Et} .element-list li svg {
437
+ display: none;
438
+ }
439
+ #${Et} li.selectable svg, #${Et} li.selected svg {
440
+ display: block;
441
+ }
442
+ #${Et} .menu-list {
443
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
444
+ }
445
+ #${Et} .menu-list > li:not(:last-child) {
446
+ padding-bottom: 4px;
447
+ margin-bottom: 4px;
448
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
449
+ }
450
+ #${Et} .menu-items, #${Et} .menu-items li {
451
+ padding: 0;
452
+ }
453
+ #${Et} .menu-item {
454
+ display: flex;
455
+ }
456
+ #${Et} .menu-item-content {
457
+ display: flex;
458
+ flex-direction: column;
459
+ flex-grow: 1;
460
+ }
461
+ `]))}let S=p.get(),P=S?[S]:s.get();if(P.length&&(w.style.position=getComputedStyle(P[0].element).position==="fixed"?"fixed":"absolute",w.appendChild(Mt("ul",{class:"element-list"},P.map(L=>{let K=P.length>1&&!!L.menu?.some(V=>V.some(X=>!X.selectors||X.selectors.some(Q=>L.selectors.includes(Q)))),q=K?{class:"selectable",onClick:()=>p.set(L),onMouseEnter:()=>u.set(L),onMouseLeave:()=>u.set(void 0)}:S?{class:"selected",onClick:()=>p.set(void 0)}:{},B=K||S;return Mt("li",q,[Mt(B?"button":"div",B?{type:"button"}:{},[S?ga("chevronLeft"):null,Mt("code",{},[L.element.outerHTML]),K?ga("chevronRight"):null])])})))),p.get()||s.get().length===1){let L=p.get()||s.get()[0],K=L.menu?.filter(q=>q.some(B=>!B.selectors||B.selectors.some(V=>L.selectors.includes(V))));K?.length&&w.appendChild(Mt("ul",{class:"menu-list"},K.map(q=>Mt("li",{},[Mt("ul",{class:"menu-items"},q.map(({id:B,title:V,description:X,iconLeft:Q,iconRight:oe,clickEvent:Ee})=>{let Pe=Ee&&(()=>e.emit(Ee,B,K6(L)));return Mt("li",{},[Mt(Pe?"button":"div",Pe?{class:"menu-item",type:"button",onClick:Pe}:{class:"menu-item"},[Q?ga(Q):null,Mt("div",{class:"menu-item-content"},[Mt(X?"strong":"span",{},[V]),X&&Mt("span",{},[X])]),oe?ga(oe):null])])}))]))))}let z=a.get();z?(Object.assign(w.style,{display:"block",left:`${w.style.position==="fixed"?z.x-window.scrollX:z.x}px`,top:`${w.style.position==="fixed"?z.y-window.scrollY:z.y}px`}),mm(w),requestAnimationFrame(()=>z6(w,z,{topOffset:15,centered:!0}))):(W6(w),Object.assign(w.style,{display:"none"}))};s.subscribe(A),p.subscribe(A);let v=w=>{let S=J6(w);r.set(P=>{let z=S.id?P.filter(L=>L.id!==S.id):P;return S.selectors?.length?[...z,S]:z})},T=w=>{w&&r.set(S=>S.filter(P=>P.id!==w))},I=()=>{r.set([]),n.set(new Map),i.set([]),a.set(void 0),o.set(void 0),s.set([]),l.set([]),u.set(void 0),p.set(void 0)},R,D=(w,S)=>{let P="scrollIntoView-highlight";clearTimeout(R),T(P);let z=t.querySelector(w);if(!z){console.warn(`Cannot scroll into view: ${w} not found`);return}z.scrollIntoView({behavior:"smooth",block:"center",...S});let L=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(K=>[...K,{id:P,priority:1e3,selectors:[w],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${L} 3s linear forwards`},keyframes:`@keyframes ${L} {
462
+ 0% { outline: 2px solid #1EA7FD; }
463
+ 20% { outline: 2px solid #1EA7FD00; }
464
+ 40% { outline: 2px solid #1EA7FD; }
465
+ 60% { outline: 2px solid #1EA7FD00; }
466
+ 80% { outline: 2px solid #1EA7FD; }
467
+ 100% { outline: 2px solid #1EA7FD00; }
468
+ }`}]),R=setTimeout(()=>T(P),3500)},y=w=>{requestAnimationFrame(()=>o.set({x:w.pageX,y:w.pageY}))};t.body.addEventListener("mousemove",y),e.on(q6,v),e.on(L6,T),e.on($6,I),e.on(V6,D),e.on(zn,({newPhase:w})=>{w==="loading"&&I()})};globalThis?.FEATURES?.highlight&&br?.ready&&br.ready().then(X6);var gm=()=>({}),Q6="measureEnabled";function gA(){let e=we.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function Z6(){let e=we.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");Zr(t!=null);let{width:r,height:n}=gA();return Ll(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",we.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function Ll(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let i=we.window.devicePixelRatio;e.width=Math.floor(r*i),e.height=Math.floor(n*i),t.scale(i,i)}var qt={};function e8(){qt.canvas||(qt=Z6())}function bA(){qt.context&&qt.context.clearRect(0,0,qt.width??0,qt.height??0)}function t8(e){bA(),e(qt.context)}function r8(){Zr(qt.canvas),Zr(qt.context),Ll(qt.canvas,qt.context,{width:0,height:0});let{width:e,height:t}=gA();Ll(qt.canvas,qt.context,{width:e,height:t}),qt.width=e,qt.height=t}function n8(){qt.canvas&&(bA(),qt.canvas.parentNode?.removeChild(qt.canvas),qt={})}var ci={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Xr=6;function bm(e,{x:t,y:r,w:n,h:i,r:a}){t=t-n/2,r=r-i/2,n<2*a&&(a=n/2),i<2*a&&(a=i/2),e.beginPath(),e.moveTo(t+a,r),e.arcTo(t+n,r,t+n,r+i,a),e.arcTo(t+n,r+i,t,r+i,a),e.arcTo(t,r+i,t,r,a),e.arcTo(t,r,t+n,r,a),e.closePath()}function i8(e,{padding:t,border:r,width:n,height:i,top:a,left:o}){let s=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom,u=o+r.left+t.left,p=a+r.top+t.top;return e==="top"?u+=s/2:e==="right"?(u+=s,p+=l/2):e==="bottom"?(u+=s/2,p+=l):e==="left"?p+=l/2:e==="center"&&(u+=s/2,p+=l/2),{x:u,y:p}}function o8(e,t,{margin:r,border:n,padding:i},a,o){let s=h=>0,l=0,u=0,p=o?1:.5,f=o?a*2:0;return e==="padding"?s=h=>i[h]*p+f:e==="border"?s=h=>i[h]+n[h]*p+f:e==="margin"&&(s=h=>i[h]+n[h]+r[h]*p+f),t==="top"?u=-s("top"):t==="right"?l=s("right"):t==="bottom"?u=s("bottom"):t==="left"&&(l=-s("left")),{offsetX:l,offsetY:u}}function a8(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}function s8(e,t,r){return e==="top"?t.y=r.y-r.h-Xr:e==="right"?t.x=r.x+r.w/2+Xr+t.w/2:e==="bottom"?t.y=r.y+r.h+Xr:e==="left"&&(t.x=r.x-r.w/2-Xr-t.w/2),{x:t.x,y:t.y}}function EA(e,t,{x:r,y:n,w:i,h:a},o){return bm(e,{x:r,y:n,w:i,h:a,r:3}),e.fillStyle=`${ci[t]}dd`,e.fill(),e.strokeStyle=ci[t],e.stroke(),e.fillStyle=ci.text,e.fillText(o,r,n),bm(e,{x:r,y:n,w:i,h:a,r:3}),e.fillStyle=`${ci[t]}dd`,e.fill(),e.strokeStyle=ci[t],e.stroke(),e.fillStyle=ci.text,e.fillText(o,r,n),{x:r,y:n,w:i,h:a}}function vA(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=r.width+Xr*2,a=n+Xr*2;return{w:i,h:a}}function u8(e,t,{type:r,position:n="center",text:i},a,o=!1){let{x:s,y:l}=i8(n,t),{offsetX:u,offsetY:p}=o8(r,n,t,Xr+1,o);s+=u,l+=p;let{w:f,h}=vA(e,i);if(a&&a8({x:s,y:l,w:f,h},a)){let m=s8(n,{x:s,y:l,w:f},a);s=m.x,l=m.y}return EA(e,r,{x:s,y:l,w:f,h},i)}function l8(e,{w:t,h:r}){let n=t*.5+Xr,i=r*.5+Xr;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*i}}function c8(e,t,{type:r,text:n}){let{floatingAlignment:i,extremities:a}=t,o=a[i.x],s=a[i.y],{w:l,h:u}=vA(e,n),{offsetX:p,offsetY:f}=l8(i,{w:l,h:u});return o+=p,s+=f,EA(e,r,{x:o,y:s,w:l,h:u},n)}function Zi(e,t,r,n){let i=[];r.forEach((a,o)=>{let s=n&&a.position==="center"?c8(e,t,a):u8(e,t,a,i[o-1],n);i[o]=s})}function p8(e,t,r,n){let i=r.reduce((a,o)=>(Object.prototype.hasOwnProperty.call(a,o.position)||(a[o.position]=[]),a[o.position]?.push(o),a),{});i.top&&Zi(e,t,i.top,n),i.right&&Zi(e,t,i.right,n),i.bottom&&Zi(e,t,i.bottom,n),i.left&&Zi(e,t,i.left,n),i.center&&Zi(e,t,i.center,n)}var Us={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},Em=30;function hr(e){return parseInt(e.replace("px",""),10)}function hi(e){return Number.isInteger(e)?e:e.toFixed(2)}function ld(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function d8(e){let t={top:we.window.scrollY,bottom:we.window.scrollY+we.window.innerHeight,left:we.window.scrollX,right:we.window.scrollX+we.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"}}function f8(e){let t=we.getComputedStyle(e),{top:r,left:n,right:i,bottom:a,width:o,height:s}=e.getBoundingClientRect(),{marginTop:l,marginBottom:u,marginLeft:p,marginRight:f,paddingTop:h,paddingBottom:m,paddingLeft:g,paddingRight:E,borderBottomWidth:A,borderTopWidth:v,borderLeftWidth:T,borderRightWidth:I}=t;r=r+we.window.scrollY,n=n+we.window.scrollX,a=a+we.window.scrollY,i=i+we.window.scrollX;let R={top:hr(l),bottom:hr(u),left:hr(p),right:hr(f)},D={top:hr(h),bottom:hr(m),left:hr(g),right:hr(E)},y={top:hr(v),bottom:hr(A),left:hr(T),right:hr(I)},w={top:r-R.top,bottom:a+R.bottom,left:n-R.left,right:i+R.right};return{margin:R,padding:D,border:y,top:r,left:n,bottom:a,right:i,width:o,height:s,extremities:w,floatingAlignment:d8(w)}}function h8(e,{margin:t,width:r,height:n,top:i,left:a,bottom:o,right:s}){let l=n+t.bottom+t.top;e.fillStyle=Us.margin,e.fillRect(a,i-t.top,r,t.top),e.fillRect(s,i-t.top,t.right,l),e.fillRect(a,o,r,t.bottom),e.fillRect(a-t.left,i-t.top,t.left,l);let u=[{type:"margin",text:hi(t.top),position:"top"},{type:"margin",text:hi(t.right),position:"right"},{type:"margin",text:hi(t.bottom),position:"bottom"},{type:"margin",text:hi(t.left),position:"left"}];return ld(u)}function m8(e,{padding:t,border:r,width:n,height:i,top:a,left:o,bottom:s,right:l}){let u=n-r.left-r.right,p=i-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Us.padding,e.fillRect(o+r.left,a+r.top,u,t.top),e.fillRect(l-t.right-r.right,a+t.top+r.top,t.right,p),e.fillRect(o+r.left,s-t.bottom-r.bottom,u,t.bottom),e.fillRect(o+r.left,a+t.top+r.top,t.left,p);let f=[{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 ld(f)}function y8(e,{border:t,width:r,height:n,top:i,left:a,bottom:o,right:s}){let l=n-t.top-t.bottom;e.fillStyle=Us.border,e.fillRect(a,i,r,t.top),e.fillRect(a,o-t.bottom,r,t.bottom),e.fillRect(a,i+t.top,t.left,l),e.fillRect(s-t.right,i+t.top,t.right,l);let u=[{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 ld(u)}function g8(e,{padding:t,border:r,width:n,height:i,top:a,left:o}){let s=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Us.content,e.fillRect(o+r.left+t.left,a+r.top+t.top,s,l),[{type:"content",position:"center",text:`${hi(s)} x ${hi(l)}`}]}function b8(e){return t=>{if(e&&t){let r=f8(e),n=h8(t,r),i=m8(t,r),a=y8(t,r),o=g8(t,r),s=r.width<=Em*3||r.height<=Em;p8(t,r,[...o,...i,...a,...n],s)}}}function E8(e){t8(b8(e))}var v8=(e,t)=>{let r=we.document.elementFromPoint(e,t),n=i=>{if(i&&i.shadowRoot){let a=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(a)?i:a.shadowRoot?n(a):a}return i};return n(r)||r},vm,Ea={x:0,y:0};function _m(e,t){vm=v8(e,t),E8(vm)}var _8=(e,t)=>{let{measureEnabled:r}=t.globals||{};return Wn(()=>{if(typeof globalThis.document>"u")return;let n=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),Ea.x=i.clientX,Ea.y=i.clientY})};return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Wn(()=>{let n=a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),_m(a.clientX,a.clientY)})},i=()=>{window.requestAnimationFrame(()=>{r8()})};return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),e8(),globalThis.window.addEventListener("resize",i),_m(Ea.x,Ea.y)),()=>{globalThis.window.removeEventListener("resize",i),n8()}},[r,t.viewMode]),e()},A8=globalThis.FEATURES?.measure?[_8]:[],w8={[Q6]:!1},Am=()=>({decorators:A8,initialGlobals:w8}),_A="outline",wm=e=>{(Array.isArray(e)?e:[e]).forEach(T8)},T8=e=>{let t=typeof e=="string"?e:e.join(""),r=we.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},C8=(e,t)=>{let r=we.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=we.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,we.document.head.appendChild(n)}};function S8(e){return Ke`
469
+ ${e} body {
470
+ outline: 1px solid #2980b9 !important;
471
+ }
472
+
473
+ ${e} article {
474
+ outline: 1px solid #3498db !important;
475
+ }
476
+
477
+ ${e} nav {
478
+ outline: 1px solid #0088c3 !important;
479
+ }
480
+
481
+ ${e} aside {
482
+ outline: 1px solid #33a0ce !important;
483
+ }
484
+
485
+ ${e} section {
486
+ outline: 1px solid #66b8da !important;
487
+ }
488
+
489
+ ${e} header {
490
+ outline: 1px solid #99cfe7 !important;
491
+ }
492
+
493
+ ${e} footer {
494
+ outline: 1px solid #cce7f3 !important;
495
+ }
496
+
497
+ ${e} h1 {
498
+ outline: 1px solid #162544 !important;
499
+ }
500
+
501
+ ${e} h2 {
502
+ outline: 1px solid #314e6e !important;
503
+ }
504
+
505
+ ${e} h3 {
506
+ outline: 1px solid #3e5e85 !important;
507
+ }
508
+
509
+ ${e} h4 {
510
+ outline: 1px solid #449baf !important;
511
+ }
512
+
513
+ ${e} h5 {
514
+ outline: 1px solid #c7d1cb !important;
515
+ }
516
+
517
+ ${e} h6 {
518
+ outline: 1px solid #4371d0 !important;
519
+ }
520
+
521
+ ${e} main {
522
+ outline: 1px solid #2f4f90 !important;
523
+ }
524
+
525
+ ${e} address {
526
+ outline: 1px solid #1a2c51 !important;
527
+ }
528
+
529
+ ${e} div {
530
+ outline: 1px solid #036cdb !important;
531
+ }
532
+
533
+ ${e} p {
534
+ outline: 1px solid #ac050b !important;
535
+ }
536
+
537
+ ${e} hr {
538
+ outline: 1px solid #ff063f !important;
539
+ }
540
+
541
+ ${e} pre {
542
+ outline: 1px solid #850440 !important;
543
+ }
544
+
545
+ ${e} blockquote {
546
+ outline: 1px solid #f1b8e7 !important;
547
+ }
548
+
549
+ ${e} ol {
550
+ outline: 1px solid #ff050c !important;
551
+ }
552
+
553
+ ${e} ul {
554
+ outline: 1px solid #d90416 !important;
555
+ }
556
+
557
+ ${e} li {
558
+ outline: 1px solid #d90416 !important;
559
+ }
560
+
561
+ ${e} dl {
562
+ outline: 1px solid #fd3427 !important;
563
+ }
564
+
565
+ ${e} dt {
566
+ outline: 1px solid #ff0043 !important;
567
+ }
568
+
569
+ ${e} dd {
570
+ outline: 1px solid #e80174 !important;
571
+ }
572
+
573
+ ${e} figure {
574
+ outline: 1px solid #ff00bb !important;
575
+ }
576
+
577
+ ${e} figcaption {
578
+ outline: 1px solid #bf0032 !important;
579
+ }
580
+
581
+ ${e} table {
582
+ outline: 1px solid #00cc99 !important;
583
+ }
584
+
585
+ ${e} caption {
586
+ outline: 1px solid #37ffc4 !important;
587
+ }
588
+
589
+ ${e} thead {
590
+ outline: 1px solid #98daca !important;
591
+ }
592
+
593
+ ${e} tbody {
594
+ outline: 1px solid #64a7a0 !important;
595
+ }
596
+
597
+ ${e} tfoot {
598
+ outline: 1px solid #22746b !important;
599
+ }
600
+
601
+ ${e} tr {
602
+ outline: 1px solid #86c0b2 !important;
603
+ }
604
+
605
+ ${e} th {
606
+ outline: 1px solid #a1e7d6 !important;
607
+ }
608
+
609
+ ${e} td {
610
+ outline: 1px solid #3f5a54 !important;
611
+ }
612
+
613
+ ${e} col {
614
+ outline: 1px solid #6c9a8f !important;
615
+ }
616
+
617
+ ${e} colgroup {
618
+ outline: 1px solid #6c9a9d !important;
619
+ }
620
+
621
+ ${e} button {
622
+ outline: 1px solid #da8301 !important;
623
+ }
624
+
625
+ ${e} datalist {
626
+ outline: 1px solid #c06000 !important;
627
+ }
628
+
629
+ ${e} fieldset {
630
+ outline: 1px solid #d95100 !important;
631
+ }
632
+
633
+ ${e} form {
634
+ outline: 1px solid #d23600 !important;
635
+ }
636
+
637
+ ${e} input {
638
+ outline: 1px solid #fca600 !important;
639
+ }
640
+
641
+ ${e} keygen {
642
+ outline: 1px solid #b31e00 !important;
643
+ }
644
+
645
+ ${e} label {
646
+ outline: 1px solid #ee8900 !important;
647
+ }
648
+
649
+ ${e} legend {
650
+ outline: 1px solid #de6d00 !important;
651
+ }
652
+
653
+ ${e} meter {
654
+ outline: 1px solid #e8630c !important;
655
+ }
656
+
657
+ ${e} optgroup {
658
+ outline: 1px solid #b33600 !important;
659
+ }
660
+
661
+ ${e} option {
662
+ outline: 1px solid #ff8a00 !important;
663
+ }
664
+
665
+ ${e} output {
666
+ outline: 1px solid #ff9619 !important;
667
+ }
668
+
669
+ ${e} progress {
670
+ outline: 1px solid #e57c00 !important;
671
+ }
672
+
673
+ ${e} select {
674
+ outline: 1px solid #e26e0f !important;
675
+ }
676
+
677
+ ${e} textarea {
678
+ outline: 1px solid #cc5400 !important;
679
+ }
680
+
681
+ ${e} details {
682
+ outline: 1px solid #33848f !important;
683
+ }
684
+
685
+ ${e} summary {
686
+ outline: 1px solid #60a1a6 !important;
687
+ }
688
+
689
+ ${e} command {
690
+ outline: 1px solid #438da1 !important;
691
+ }
692
+
693
+ ${e} menu {
694
+ outline: 1px solid #449da6 !important;
695
+ }
696
+
697
+ ${e} del {
698
+ outline: 1px solid #bf0000 !important;
699
+ }
700
+
701
+ ${e} ins {
702
+ outline: 1px solid #400000 !important;
703
+ }
704
+
705
+ ${e} img {
706
+ outline: 1px solid #22746b !important;
707
+ }
708
+
709
+ ${e} iframe {
710
+ outline: 1px solid #64a7a0 !important;
711
+ }
712
+
713
+ ${e} embed {
714
+ outline: 1px solid #98daca !important;
715
+ }
716
+
717
+ ${e} object {
718
+ outline: 1px solid #00cc99 !important;
719
+ }
720
+
721
+ ${e} param {
722
+ outline: 1px solid #37ffc4 !important;
723
+ }
724
+
725
+ ${e} video {
726
+ outline: 1px solid #6ee866 !important;
727
+ }
728
+
729
+ ${e} audio {
730
+ outline: 1px solid #027353 !important;
731
+ }
732
+
733
+ ${e} source {
734
+ outline: 1px solid #012426 !important;
735
+ }
736
+
737
+ ${e} canvas {
738
+ outline: 1px solid #a2f570 !important;
739
+ }
740
+
741
+ ${e} track {
742
+ outline: 1px solid #59a600 !important;
743
+ }
744
+
745
+ ${e} map {
746
+ outline: 1px solid #7be500 !important;
747
+ }
748
+
749
+ ${e} area {
750
+ outline: 1px solid #305900 !important;
751
+ }
752
+
753
+ ${e} a {
754
+ outline: 1px solid #ff62ab !important;
755
+ }
756
+
757
+ ${e} em {
758
+ outline: 1px solid #800b41 !important;
759
+ }
760
+
761
+ ${e} strong {
762
+ outline: 1px solid #ff1583 !important;
763
+ }
764
+
765
+ ${e} i {
766
+ outline: 1px solid #803156 !important;
767
+ }
768
+
769
+ ${e} b {
770
+ outline: 1px solid #cc1169 !important;
771
+ }
772
+
773
+ ${e} u {
774
+ outline: 1px solid #ff0430 !important;
775
+ }
776
+
777
+ ${e} s {
778
+ outline: 1px solid #f805e3 !important;
779
+ }
780
+
781
+ ${e} small {
782
+ outline: 1px solid #d107b2 !important;
783
+ }
784
+
785
+ ${e} abbr {
786
+ outline: 1px solid #4a0263 !important;
787
+ }
788
+
789
+ ${e} q {
790
+ outline: 1px solid #240018 !important;
791
+ }
792
+
793
+ ${e} cite {
794
+ outline: 1px solid #64003c !important;
795
+ }
796
+
797
+ ${e} dfn {
798
+ outline: 1px solid #b4005a !important;
799
+ }
800
+
801
+ ${e} sub {
802
+ outline: 1px solid #dba0c8 !important;
803
+ }
804
+
805
+ ${e} sup {
806
+ outline: 1px solid #cc0256 !important;
807
+ }
808
+
809
+ ${e} time {
810
+ outline: 1px solid #d6606d !important;
811
+ }
812
+
813
+ ${e} code {
814
+ outline: 1px solid #e04251 !important;
815
+ }
816
+
817
+ ${e} kbd {
818
+ outline: 1px solid #5e001f !important;
819
+ }
820
+
821
+ ${e} samp {
822
+ outline: 1px solid #9c0033 !important;
823
+ }
824
+
825
+ ${e} var {
826
+ outline: 1px solid #d90047 !important;
827
+ }
828
+
829
+ ${e} mark {
830
+ outline: 1px solid #ff0053 !important;
831
+ }
832
+
833
+ ${e} bdi {
834
+ outline: 1px solid #bf3668 !important;
835
+ }
836
+
837
+ ${e} bdo {
838
+ outline: 1px solid #6f1400 !important;
839
+ }
840
+
841
+ ${e} ruby {
842
+ outline: 1px solid #ff7b93 !important;
843
+ }
844
+
845
+ ${e} rt {
846
+ outline: 1px solid #ff2f54 !important;
847
+ }
848
+
849
+ ${e} rp {
850
+ outline: 1px solid #803e49 !important;
851
+ }
852
+
853
+ ${e} span {
854
+ outline: 1px solid #cc2643 !important;
855
+ }
856
+
857
+ ${e} br {
858
+ outline: 1px solid #db687d !important;
859
+ }
860
+
861
+ ${e} wbr {
862
+ outline: 1px solid #db175b !important;
863
+ }`}var x8=(e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[_A]),i=t.viewMode==="docs",a=cb(()=>S8(i?'[data-story-block="true"]':".sb-show-main"),[t]);return Wn(()=>{let o=i?`addon-outline-docs-${t.id}`:"addon-outline";return n?C8(o,a):wm(o),()=>{wm(o)}},[n,a,t]),e()},D8=globalThis.FEATURES?.outline?[x8]:[],R8={[_A]:!1},Tm=()=>({decorators:D8,initialGlobals:R8}),P8=({parameters:e})=>{e?.test?.mockReset===!0?nv():e?.test?.clearMocks===!0?rv():e?.test?.restoreMocks!==!1&&iv()},$l=(e,t=0,r)=>{if(t>5||e==null)return e;if(gi(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=ev(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=$l(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,i]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=$l(i,t,n));return e}return e},O8=({initialArgs:e})=>{$l(e)},Cm=!1,F8=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mA(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=Uo({userEvent:yA.setup()},{intercept:!0,getKeys:r=>Object.keys(r).filter(n=>n!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>t,configurable:!0}),!Cm)){let r=HTMLElement.prototype.focus,n=HTMLElement.prototype.focus,i=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:a=>{n=a},get(){return i.has(this)?r:(i.add(this),setTimeout(()=>i.delete(this),0),n)}}}),Cm=!0}}catch{}},Sm=()=>({loaders:[P8,O8,F8]}),I8="viewport",N8={[I8]:{value:void 0,isRotated:!1}},xm=()=>({initialGlobals:N8});function AA(){return[(Am.default??Am)(),(sm.default??sm)(),(gm.default??gm)(),(Tm.default??Tm)(),(xm.default??xm)(),(nm.default??nm)(),(um.default??um)(),(Sm.default??Sm)(),(lm.default??lm)()]}function B8(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}function rs(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}function j8(e){return"__children"in e?e.__children:[]}var wA=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Vl=(e,t)=>{let r=wA(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},k8=(e,t)=>`${Vl(e,"kind")}${t?`--${Vl(t,"name")}`:""}`,M8=(e,t)=>`${e}:${Vl(t,"test")}`,q8=e=>hF(e);function Dm(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Ul(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Dm(e,t))&&(!r||!Dm(e,r))}var L8=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};function Rm(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Pm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var $8="[object RegExp]",V8="[object String]",U8="[object Number]",J8="[object Boolean]",Om="[object Arguments]",H8="[object Symbol]",G8="[object Date]",z8="[object Map]",W8="[object Set]",K8="[object Array]",Y8="[object Function]",X8="[object ArrayBuffer]",Su="[object Object]",Q8="[object Error]",Z8="[object DataView]",e9="[object Uint8Array]",t9="[object Uint8ClampedArray]",r9="[object Uint16Array]",n9="[object Uint32Array]",i9="[object BigUint64Array]",o9="[object Int8Array]",a9="[object Int16Array]",s9="[object Int32Array]",u9="[object BigInt64Array]",l9="[object Float32Array]",c9="[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}function ko(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],o=e[a];r[a]=t(o,a,e)}return r}function p9(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],o=e[a];t(o,a)&&(r[a]=o)}return r}var xu=Pt(Ny(),1);function d9(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function f9(e,t,r){return ao(e,t,void 0,void 0,void 0,void 0,r)}function ao(e,t,r,n,i,a,o){let s=o(e,t,r,n,i,a);if(s!==void 0)return s;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 fo(e,t,a,o)}return fo(e,t,a,o)}function fo(e,t,r,n){if(Object.is(e,t))return!0;let i=Pm(e),a=Pm(t);if(i===Om&&(i=Su),a===Om&&(a=Su),i!==a)return!1;switch(i){case V8:return e.toString()===t.toString();case U8:{let l=e.valueOf(),u=t.valueOf();return d9(l,u)}case J8:case G8:case H8:return Object.is(e.valueOf(),t.valueOf());case $8:return e.source===t.source&&e.flags===t.flags;case Y8:return e===t}r=r??new Map;let o=r.get(e),s=r.get(t);if(o!=null&&s!=null)return o===t;r.set(e,t),r.set(t,e);try{switch(i){case z8:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!ao(u,t.get(l),l,e,t,r,n))return!1;return!0}case W8:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let p=0;p<l.length;p++){let f=l[p],h=u.findIndex(m=>ao(f,m,void 0,e,t,r,n));if(h===-1)return!1;u.splice(h,1)}return!0}case K8:case e9:case t9:case r9:case n9:case i9:case o9:case a9:case s9:case u9:case l9:case c9:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!ao(e[l],t[l],l,e,t,r,n))return!1;return!0}case X8:return e.byteLength!==t.byteLength?!1:fo(new Uint8Array(e),new Uint8Array(t),r,n);case Z8:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:fo(new Uint8Array(e),new Uint8Array(t),r,n);case Q8:return e.name===t.name&&e.message===t.message;case Su:{if(!(fo(e.constructor,t.constructor,r,n)||Br(e)&&Br(t)))return!1;let l=[...Object.keys(e),...Rm(e)],u=[...Object.keys(t),...Rm(t)];if(l.length!==u.length)return!1;for(let p=0;p<l.length;p++){let f=l[p],h=e[f];if(!Object.hasOwn(t,f))return!1;let m=t[f];if(!ao(h,m,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function h9(){}function m9(e,t){return f9(e,t,h9)}var Vn=Symbol("incompatible"),Jl=(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)?Vn:e.reduce((n,i,a)=>{let o=Jl(i,{type:r.value});return o!==Vn&&(n[a]=o),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Vn:Object.entries(e).reduce((n,[i,a])=>{let o=Jl(a,{type:r.value[i]});return o===Vn?n:Object.assign(n,{[i]:o})},{});case"other":{let n=typeof e=="string"||typeof e=="number"||typeof e=="boolean";return r.value==="ReactNode"&&n?e:Vn}default:return Vn}},y9=(e,t)=>Object.entries(e).reduce((r,[n,i])=>{if(!t[n])return r;let a=Jl(i,t[n]);return a===Vn?r:Object.assign(r,{[n]:a})},{}),ns=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,i)=>(r[i]=ns(e[i],t[i]),r),[...e]).filter(r=>r!==void 0):!Br(e)||!Br(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let i=ns(e[n],t[n]);i!==void 0&&(r[n]=i)}else r[n]=e[n];return r},{}),g9=(e,t)=>Object.entries(t).reduce((r,[n,{options:i}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(!i)return a();if(!Array.isArray(i))return Rt.error(Ke`
864
+ Invalid argType: '${n}.options' should be an array.
865
+
866
+ More info: https://storybook.js.org/docs/api/arg-types?ref=error
867
+ `),a();if(i.some(f=>f&&["object","function"].includes(typeof f)))return Rt.error(Ke`
868
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
869
+
870
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
871
+ `),a();let o=Array.isArray(e[n]),s=o&&e[n].findIndex(f=>!i.includes(f)),l=o&&s===-1;if(e[n]===void 0||i.includes(e[n])||l)return a();let u=o?`${n}[${s}]`:n,p=i.map(f=>typeof f=="string"?`'${f}'`:String(f)).join(", ");return Rt.warn(`Received illegal value for '${u}'. Supported options: ${p}`),r},{}),ho=Symbol("Deeply equal"),is=(e,t)=>{if(typeof e!=typeof t)return t;if(m9(e,t))return ho;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,i,a)=>{let o=is(e[a],i);return o!==ho&&(n[a]=o),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 i=is(e?.[n],t?.[n]);return i===ho?r:Object.assign(r,{[n]:i})},{}):t},TA="UNTARGETED";function b9({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:a=TA}=t[n]||{};r[a]=r[a]||{},r[a][n]=i}),r}function E9(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var v9=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=is(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==ho&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=g9(t,e.argTypes);this.argsByStoryId[e.id]=ns(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=y9(t,e.argTypes);return this.updateFromDelta(e,r)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=E9({...this.argsByStoryId[e],...t})}},CA=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),_9=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&is(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=CA(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==ho&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:vt.warn(`Attempted to set a global (${r}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)};for(let t in e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},A9=Pt(Ny(),1),w9=(0,A9.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),T9=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(i=>i.id.startsWith(e));let{name:r,title:n}=e;return t.find(i=>i.name===r&&i.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new qg({storyId:e});return t}importPathToEntry(e){return w9(this.entries)[e]}},C9=e=>typeof e=="string"?{name:e}:e,S9=e=>typeof e=="string"?{type:e}:e,x9=(e,t)=>{let{type:r,control:n,...i}=e,a={name:t,...i};return r&&(a.type=C9(r)),n?a.control=S9(n):n===!1&&(a.control={disable:!0}),a},cd=e=>ko(e,x9),ht=e=>Array.isArray(e)?e:e?[e]:[],D9=Ke`
872
+ CSF .story annotations deprecated; annotate story functions directly:
873
+ - StoryFn.story.name => StoryFn.storyName
874
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
875
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
876
+ `;function mo(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:a}=n;a&&(vt.debug("deprecated story",a),Dc(D9));let o=q8(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||o,l=[...ht(n.decorators),...ht(a?.decorators)],u={...a?.parameters,...n.parameters},p={...a?.args,...n.args},f={...a?.argTypes,...n.argTypes},h=[...ht(n.loaders),...ht(a?.loaders)],m=[...ht(n.beforeEach),...ht(a?.beforeEach)],g=[...ht(n.afterEach),...ht(a?.afterEach)],{render:E,play:A,tags:v=[],globals:T={}}=n,I=u.__id||k8(r.id,o);return{moduleExport:t,id:I,name:s,tags:v,decorators:l,parameters:u,args:p,argTypes:cd(f),loaders:h,beforeEach:m,afterEach:g,globals:T,...E&&{render:E},...i&&{userStoryFn:i},...A&&{play:A}}}function Hl(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:wA(n||t),...e,title:t,...i&&{argTypes:cd(i)},parameters:{fileName:r,...e.parameters}}}var R9=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&vt.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},P9=e=>{let{options:t}=e;t?.storySort&&vt.error("The storySort option parameter can only be set globally")},va=e=>{e&&(R9(e),P9(e))};function O9(e,t,r){let{default:n,__namedExportsOrder:i,...a}=e,o=Object.values(a).find(u=>rs(u));if(o){let u=Hl(o.meta.input,r,t);va(u.parameters);let p={meta:u,stories:{},moduleExports:e};return Object.keys(a).forEach(f=>{if(Ul(f,u)&&rs(a[f])){let h=a[f],m=mo(f,h.input,u);va(m.parameters),p.stories[m.id]=m,j8(h).forEach(g=>{let E=g.input.name,A=M8(m.id,E);g.input.parameters??={},g.input.parameters.__id=A,p.stories[A]=mo(E,g.input,u)})}}),p.projectAnnotations=o.meta.preview.composed,p}let s=Hl(n,r,t);va(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(u=>{if(Ul(u,s)){let p=mo(u,a[u],s);va(p.parameters),l.stories[p.id]=p}}),l}function SA(e,t,r){let n=r(e);return i=>t(n,i)}function xA({componentId:e,title:t,kind:r,id:n,name:i,story:a,parameters:o,initialArgs:s,argTypes:l,...u}={}){return u}function DA(e,t){let r={},n=a=>o=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...xA(o)},a(r.value)},i=t.reduce((a,o)=>SA(a,o,n),e);return a=>(r.value=a,i(a))}var Zn=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,a)=>(Object.entries(a).forEach(([o,s])=>{let l=i[o];Array.isArray(s)||typeof l>"u"?i[o]=s:Br(s)&&Br(l)?t[o]=!0:typeof s<"u"&&(i[o]=s)}),i),{});return Object.keys(t).forEach(i=>{let a=r.filter(Boolean).map(o=>o[i]).filter(o=>typeof o<"u");a.every(o=>Br(o))?n[i]=Zn(...a):n[i]=a[a.length-1]}),n};function pd(e,t,r){let{moduleExport:n,id:i,name:a}=e||{},o=PA(e,t,r),s=async y=>{let w={};for(let S of[ht(r.loaders),ht(t.loaders),ht(e.loaders)]){if(y.abortSignal.aborted)return w;let P=await Promise.all(S.map(z=>z(y)));Object.assign(w,...P)}return w},l=async y=>{let w=new Array;for(let S of[...ht(r.beforeEach),...ht(t.beforeEach),...ht(e.beforeEach)]){if(y.abortSignal.aborted)return w;let P=await S(y);P&&w.push(P)}return w},u=async y=>{let w=[...ht(r.afterEach),...ht(t.afterEach),...ht(e.afterEach)].reverse();for(let S of w){if(y.abortSignal.aborted)return;await S(y)}},p=y=>y.originalStoryFn(y.args,y),{applyDecorators:f=DA,runStep:h}=r,m=[...ht(e?.decorators),...ht(t?.decorators),...ht(r?.decorators)],g=e?.userStoryFn||e?.render||t.render||r.render,E=ub(f)(p,m),A=y=>E(y),v=e?.play??t?.play,T=gF(v);if(!g&&!T)throw new Kg({id:i});let I=y=>async()=>(await y.renderToCanvas(),y.canvas),R=e.mount??t.mount??r.mount??I,D=r.testingLibraryRender;return{storyGlobals:{},...o,moduleExport:n,id:i,name:a,story:a,originalStoryFn:g,undecoratedStoryFn:p,unboundStoryFn:A,applyLoaders:s,applyBeforeEach:l,applyAfterEach:u,playFunction:v,runStep:h,mount:R,testingLibraryRender:D,renderToCanvas:r.renderToCanvas,usesMount:T}}function RA(e,t,r){return{...PA(void 0,e,t),moduleExport:r}}function PA(e,t,r){let n=[Gr.DEV,Gr.TEST],i=we.DOCS_OPTIONS?.autodocs===!0?[Gr.AUTODOCS]:[],a=e?.tags?.includes(Gr.TEST_FN)?[`!${Gr.AUTODOCS}`]:[],o=L8(...n,...i,...r.tags??[],...t.tags??[],...a,...e?.tags??[]),s=Zn(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,p=Zn(r.argTypes,t.argTypes,e?.argTypes);if(e){let T=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=T&&T.length>0}let f={...r.args,...t.args,...e?.args},h={...t.globals,...e?.globals},m={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:o,parameters:s,initialArgs:f,argTypes:p,storyGlobals:h};m.argTypes=l.reduce((T,I)=>I({...m,argTypes:T}),m.argTypes);let g={...f};m.initialArgs=[...u].reduce((T,I)=>({...T,...I({...m,initialArgs:T})}),g);let{name:E,story:A,...v}=m;return v}function OA(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(we.FEATURES?.argTypeTargetsV7){let a=b9(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[TA]||{}}}let n=Object.entries(r.args).reduce((a,[o,s])=>{if(!r.argTypes[o]?.mapping)return a[o]=s,a;let l=u=>{let p=r.argTypes[o].mapping;return p&&u in p?p[u]:u};return a[o]=Array.isArray(s)?s.map(l):l(s),a},{}),i=Object.entries(n).reduce((a,[o,s])=>{let l=r.argTypes[o]||{};return yF(l,n,r.globals)&&(a[o]=s),a},{});return{...r,unmappedArgs:t,args:i}}var Gl=(e,t,r,n)=>{let i=typeof e;switch(i){case"boolean":case"string":case"number":case"function":case"symbol":return{name:i}}if(e){if(n.has(e))return n.get(e);if(r.has(e))return vt.warn(Ke`
877
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
878
+
879
+ Consider using the mapping feature or fully custom args:
880
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
881
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
882
+ `),{name:"other",value:"cyclic object"};r.add(e);let a;return Array.isArray(e)?a={name:"array",value:e.length>0?Gl(e[0],t,r,n):{name:"other",value:"unknown"}}:a={name:"object",value:ko(e,o=>Gl(o,t,r,n))},r.delete(e),n.set(e,a),a}return{name:"object",value:{}}},FA=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=new Map,a=ko(n,(s,l)=>({name:l,type:Gl(s,`${t}.${l}`,new Set,i)})),o=ko(r,(s,l)=>({name:l}));return Zn(a,o,r)};FA.secondPass=!0;var Fm=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),IA=(e,t,r)=>!t&&!r?e:e&&p9(e,(n,i)=>{let a=n.name||i.toString();return!!(!t||Fm(a,t))&&(!r||!Fm(a,r))}),F9=(e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&vt.warn(`Addon controls: Control of type color only supports string, received "${a}" 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:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},dd=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:a={}}={}}}=e;if(!r)return t;let o=IA(t,n,i),s=ko(o,(l,u)=>l?.type&&F9(l,u.toString(),a));return Zn(s,o)};dd.secondPass=!0;function os({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:i,afterEach:a,initialGlobals:o,...s}){return{...e&&{argTypes:cd(e)},decorators:ht(r),loaders:ht(n),beforeEach:ht(i),afterEach:ht(a),argTypesEnhancers:[...t||[],FA,dd],initialGlobals:o,...s}}var I9=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()}};function NA(e){return async(t,r,n)=>{await e.reduceRight((i,a)=>async()=>a(t,i,n),async()=>r(n))()}}function Mo(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function fn(e,t,r={}){return Mo(e,t).reduce((n,i)=>{let a=ht(i);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}function _a(e,t){return Object.assign({},...Mo(e,t))}function eo(e,t){return Mo(e,t).pop()}function Ii(e){let t=fn(e,"argTypesEnhancers"),r=Mo(e,"runStep"),n=fn(e,"beforeAll");return{parameters:Zn(...Mo(e,"parameters")),decorators:fn(e,"decorators",{reverseFileOrder:!(we.FEATURES?.legacyDecoratorFileOrder??!1)}),args:_a(e,"args"),argsEnhancers:fn(e,"argsEnhancers"),argTypes:_a(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:_a(e,"initialGlobals"),globalTypes:_a(e,"globalTypes"),loaders:fn(e,"loaders"),beforeAll:I9(n),beforeEach:fn(e,"beforeEach"),afterEach:fn(e,"afterEach"),render:eo(e,"render"),renderToCanvas:eo(e,"renderToCanvas"),applyDecorators:eo(e,"applyDecorators"),runStep:NA(r),tags:fn(e,"tags"),mount:eo(e,"mount"),testingLibraryRender:eo(e,"testingLibraryRender")}}function BA(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function fd(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
883
+ animation: none !important;
884
+ }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
885
+ animation-delay: 0s !important;
886
+ animation-direction: ${e?"reverse":"normal"} !important;
887
+ animation-play-state: paused !important;
888
+ transition: none !important;
889
+ }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}async function hd(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,...jA(globalThis.document)],i=async()=>{if(t||e?.aborted)return;let a=n.flatMap(o=>o?.getAnimations?.()||[]).filter(o=>o.playState==="running"&&!N9(o));a.length>0&&(await Promise.allSettled(a.map(async o=>o.finished)),await i())};i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}function jA(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...jA(r.shadowRoot)),t),[])}function N9(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),r=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[r]==="infinite"}return!1}var md=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function kA(e,t,r){return rs(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:B8(t)?t.input:t,preview:r}}function B9(e){globalThis.defaultProjectAnnotations=e}var j9="ComposedStory",k9="Unnamed Story";function M9(e){return e?Ii([e]):{}}function q9(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Ii([...AA(),globalThis.defaultProjectAnnotations??{},Ii(t.map(M9))]),globalThis.globalProjectAnnotations??{}}var vn=[];function MA(e,t,r,n,i){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??j9;let a=Hl(t),o=i||e.storyName||e.story?.name||e.name||k9,s=mo(o,e,a),l=os(Ii([n??globalThis.globalProjectAnnotations??{},r??{}])),u=pd(s,a,l),p={...CA(l.globalTypes),...l.initialGlobals,...u.storyGlobals},f=new md,h=()=>{let v=OA({hooks:new $c,globals:p,args:{...u.initialArgs},viewMode:"story",reporting:f,loaded:{},abortSignal:new AbortController().signal,step:(T,I)=>u.runStep(T,I,v),canvasElement:null,canvas:{},userEvent:{},globalTypes:l.globalTypes,...u,context:null,mount:null});return v.parameters.__isPortableStory=!0,v.context=v,u.renderToCanvas&&(v.renderToCanvas=async()=>{let T=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:()=>{},showError:I=>{throw new Error(`${I.title}
890
+ ${I.description}`)},showException:I=>{throw I},forceRemount:!0,storyContext:v,storyFn:()=>u.unboundStoryFn(v),unboundStoryFn:u.unboundStoryFn},v.canvasElement);T&&vn.push(T)}),v.mount=u.mount(v),v},m,g=async v=>{let T=h();return T.canvasElement??=globalThis?.document?.body,m&&(T.loaded=m.loaded),Object.assign(T,v),u.playFunction(T)},E=v=>{let T=h();return Object.assign(T,v),U9(u,T)},A=u.playFunction?g:void 0;return Object.assign(function(v){let T=h();return m&&(T.loaded=m.loaded),T.args={...T.initialArgs,...v},u.unboundStoryFn(T)},{id:u.id,storyName:o,load:async()=>{for(let T of[...vn].reverse())await T();vn.length=0;let v=h();v.loaded=await u.applyLoaders(v),vn.push(...(await u.applyBeforeEach(v)).filter(Boolean)),m=v},globals:p,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:A,run:E,reporting:f,tags:u.tags})}var L9=(e,t,r,n)=>MA(e,t,r,{},n);function $9(e,t,r=L9){let{default:n,__esModule:i,__namedExportsOrder:a,...o}=e,s=n;return Object.entries(o).reduce((l,[u,p])=>{let{story:f,meta:h}=kA(p);return!s&&h&&(s=h),Ul(u,s)?Object.assign(l,{[u]:r(f,s,t,u)}):l},{})}function V9(e){return e.extend({mount:async({mount:t,page:r},n)=>{await n(async(i,...a)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(Ke`
891
+ Portable stories in Playwright CT only work when referencing JSX elements.
892
+ Please use JSX format for your components such as:
893
+
894
+ instead of:
895
+ await mount(MyComponent, { props: { foo: 'bar' } })
896
+
897
+ do:
898
+ await mount(<MyComponent foo="bar"/>)
899
+
900
+ More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
901
+ `);let{props:o,...s}=i;await r.evaluate(async u=>{let p=await globalThis.__pwUnwrapObject?.(u);return("__pw_type"in p?p.type:p)?.load?.()},s);let l=await t(i,...a);return await r.evaluate(async u=>{let p=await globalThis.__pwUnwrapObject?.(u),f="__pw_type"in p?p.type:p,h=document.querySelector("#root");return f?.play?.({canvasElement:h})},s),l})}})}async function U9(e,t){for(let a of[...vn].reverse())await a();if(vn.length=0,!t.canvasElement){let a=document.createElement("div");globalThis?.document?.body?.appendChild(a),t.canvasElement=a,vn.push(()=>{globalThis?.document?.body?.contains(a)&&globalThis?.document?.body?.removeChild(a)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;vn.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 Lc({playFunction:r.toString()})}),await r(t));let i;BA()?i=fd():await hd(t.abortSignal),await e.applyAfterEach(t),await i?.()}var Im=1e3,J9=1e4,qA=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new T9(e),this.projectAnnotations=os(Ii([...AA(),r]));let{initialGlobals:n,globalTypes:i}=this.projectAnnotations;this.args=new v9,this.userGlobals=new _9({globals:n,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,xu.default)(Im)(O9),this.prepareMetaWithCache=(0,xu.default)(Im)(RA),this.prepareStoryWithCache=(0,xu.default)(J9)(pd)}setProjectAnnotations(e){this.projectAnnotations=os(e);let{initialGlobals:t,globalTypes:r}=e;this.userGlobals.set({globals:t,globalTypes:r})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:r}=this.storyIndex.storyIdToEntry(e),n=await this.importFn(t);return this.processCSFFileWithCache(n,t,r)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:r}])=>{e[r]=t}),(await Promise.all(Object.entries(e).map(async([t,r])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(r)})))).reduce((t,{importPath:r,csfFile:n})=>(t[r]=n,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let r=t.stories[e];if(!r)throw new zg({storyId:e});let n=t.meta,i=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new $c,i}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[n,...i]=await Promise.all([this.importFn(t.importPath),...r.map(a=>{let o=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(o.id)})]);return{entryExports:n,csfFiles:i}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,i=new md;return OA({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:i,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let r of[...t].reverse())await r();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(console.log("extract: extracting stories",t),!t)throw new $g;let r=Object.entries(this.storyIndex.entries).reduce((n,[i,a])=>{if(a.type==="docs")return n;let o=t[a.importPath],s=this.storyFromCSFFile({storyId:i,csfFile:o});return!e.includeDocsOnly&&s.parameters.docsOnly||(n[i]=Object.entries(s).reduce((l,[u,p])=>u==="story"&&a.subtype==="test"?{...l,story:a.parentName}:u==="moduleExport"||typeof p=="function"?l:Array.isArray(p)?Object.assign(l,{[u]:p.slice().sort()}):Object.assign(l,{[u]:p}),{args:s.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...s.storyGlobals},storyId:a.parent?a.parent:i})),n},{});return console.log("extract: stories",r),r}};function H9(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var G9=e=>{if(e.length===0)return e;let t=e[e.length-1],r=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]};function Nm(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var LA=(e,t,r)=>{let{directory:n,importPathMatcher:i,titlePrefix:a=""}=t||{};typeof e=="number"&&Rt.warn(Ke`
902
+ CSF Auto-title received a numeric fileName. This typically happens when
903
+ webpack is mis-configured in production mode. To force webpack to produce
904
+ filenames, set optimization.moduleIds = "named" in your webpack config.
905
+ `);let o=H9(String(e));if(i.exec(o)){if(!r){let s=o.replace(n,""),l=Nm([a,s]).split("/");return l=G9(l),l.join("/")}return a?Nm([a,r]):r}},z9=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let i=LA(e,t[n],r);if(i)return i}return r||void 0},Bm=/\s*\/\s*/,W9=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",i=e.order||[],a=t.title.trim().split(Bm),o=r.title.trim().split(Bm);e.includeNames&&(a.push(t.name),o.push(r.name));let s=0;for(;a[s]||o[s];){if(!a[s])return-1;if(!o[s])return 1;let l=a[s],u=o[s];if(l!==u){let f=i.indexOf(l),h=i.indexOf(u),m=i.indexOf("*");return f!==-1||h!==-1?(f===-1&&(m!==-1?f=m:f=i.length),h===-1&&(m!==-1?h=m:h=i.length),f-h):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=i.indexOf(l);p===-1&&(p=i.indexOf("*")),i=p!==-1&&Array.isArray(i[p+1])?i[p+1]:[],s+=1}return 0},K9=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=W9(t),e.sort(n)}else e.sort((n,i)=>r.indexOf(n.importPath)-r.indexOf(i.importPath));return e},Y9=(e,t,r)=>{try{return K9(e,t,r)}catch(n){throw new Error(Ke`
906
+ Error sorting stories with sort parameter ${t}:
907
+
908
+ > ${n.message}
909
+
910
+ Are you using a V6-style sort function in V7 mode?
911
+
912
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
913
+ `)}},Js=new Error("prepareAborted"),{AbortController:jm}=globalThis;function km(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)}}}var zl=class{constructor(e,t,r,n,i,a,o={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=i,this.viewMode=a,this.renderOptions=o,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new jm,this.renderId=Date.now(),s&&(this.story=s,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(zn,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&!["finished","aborted","errored"].includes(this.phase)&&(this.phase="aborted",this.channel.emit(zn,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}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),Js}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:r}=this;if(!this.story)throw new Error("cannot render when not prepared");let n=this.story;if(!r)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:a,title:o,name:s,tags:l,applyLoaders:u,applyBeforeEach:p,applyAfterEach:f,unboundStoryFn:h,playFunction:m,runStep:g}=n;t&&!e&&(this.cancelRender(),this.abortController=new jm);let E=this.abortController.signal,A=!1,v=n.usesMount;try{let T={...this.storyContext(),viewMode:this.viewMode,abortSignal:E,canvasElement:r,loaded:{},step:(K,q)=>g(K,q,T),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let K=await this.renderToScreen(I,r);this.teardownRender=K||(()=>{}),A=!0},mount:async(...K)=>{this.callbacks.showStoryDuringRender?.();let q=null;return await this.runPhase(E,"rendering",async()=>{q=await n.mount(T)(...K)}),v&&await this.runPhase(E,"playing"),q}};T.context=T;let I={componentId:a,title:o,kind:o,id:i,name:s,story:s,tags:l,...this.callbacks,showError:K=>(this.phase="errored",this.callbacks.showError(K)),showException:K=>(this.phase="errored",this.callbacks.showException(K)),forceRemount:t||this.notYetRendered,storyContext:T,storyFn:()=>h(T),unboundStoryFn:h};if(await this.runPhase(E,"loading",async()=>{T.loaded=await u(T)}),E.aborted)return;let R=await p(T);if(this.store.addCleanupCallbacks(n,...R),this.checkIfAborted(E)||(!A&&!v&&await T.mount(),this.notYetRendered=!1,E.aborted))return;let D=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,y=new Set,w=K=>{K.error&&y.add(K.error)},S=K=>{K.reason&&y.add(K.reason)};if(this.renderOptions.autoplay&&t&&m&&this.phase!=="errored"){window?.addEventListener?.("error",w),window?.addEventListener?.("unhandledrejection",S),this.disableKeyListeners=!0;try{if(v?await m(T):(T.mount=async()=>{throw new Lc({playFunction:m.toString()})},await this.runPhase(E,"playing",async()=>m(T))),!A)throw new Yg;this.checkIfAborted(E),!D&&y.size>0?await this.runPhase(E,"errored"):await this.runPhase(E,"played")}catch(K){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(E,"errored",async()=>{this.channel.emit(Vy,km(K))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw K;console.error(K)}if(!D&&y.size>0&&this.channel.emit(Uy,Array.from(y).map(km)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",S),window?.removeEventListener?.("error",w),E.aborted)return}await this.runPhase(E,"completing",async()=>{BA()?this.store.addCleanupCallbacks(n,fd()):await hd(E)}),await this.runPhase(E,"completed",async()=>{this.channel.emit(Ba,i)}),this.phase!=="errored"&&await this.runPhase(E,"afterEach",async()=>{await f(T)});let P=!D&&y.size>0,z=T.reporting.reports.some(K=>K.status==="failed"),L=P||z;await this.runPhase(E,"finished",async()=>this.channel.emit(Ju,{storyId:i,status:L?"error":"success",reporters:T.reporting.reports}))}catch(T){this.phase="errored",this.callbacks.showException(T),await this.runPhase(E,"finished",async()=>this.channel.emit(Ju,{storyId:i,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(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:X9}=we,Q9="./index.json",$A=class{constructor(e,t,r=br.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,a)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=a}),n&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return Dc("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new Wg}})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e);let t=globalThis?.navigator?.userAgent;await this.channel.emit(Hy,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Xy,this.onStoryIndexChanged.bind(this)),this.channel.on(Sc,this.onUpdateGlobals.bind(this)),this.channel.on(xc,this.onUpdateArgs.bind(this)),this.channel.on(og,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Tc,this.onResetArgs.bind(this)),this.channel.on(wc,this.onForceReRender.bind(this)),this.channel.on(Na,this.onForceRemount.bind(this)),this.channel.on(rg,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new Vg;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(t){throw this.renderPreviewEntryError("Error in beforeAll hook:",t),t}}async getStoryIndexFromServer(){let e=await X9(Q9);if(e.status===200)return e.json();throw new Ug({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new qA(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new sr({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(zy,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new sr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new sr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:i,globals:a}=this.storyStoreValue.getStoryContext(t);this.channel.emit(Eo,{initialGlobals:r,userGlobals:i,storyGlobals:n,globals:a})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(Eo,{initialGlobals:r,userGlobals:n,storyGlobals:{},globals:n})}await Promise.all(this.storyRenders.map(r=>r.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new sr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(r=>r.id===e&&!r.renderOptions.forceInitialArgs).map(r=>r.story&&r.story.usesMount?r.remount():r.rerender())),this.channel.emit(Wy,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let r=await this.storyStoreValue?.loadStory(t);this.channel.emit(Hu,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(Hu,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new sr({methodName:"onResetArgs"});let r=this.storyRenders.find(i=>i.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),n=(t||[...new Set([...Object.keys(r.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((i,a)=>(i[a]=r.initialArgs[a],i),{});await this.onUpdateArgs({storyId:e,updatedArgs:n})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,r,n){if(!this.renderToCanvas||!this.storyStoreValue)throw new sr({methodName:"renderStoryToElement"});let i=new zl(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return i.renderToElement(t),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new sr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new sr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new sr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,vt.error(e),vt.error(t),this.channel.emit(Ly,t)}},yd=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=i=>{let a=this.nameToStoryId.get(i);if(a)return a;throw new Error(`No story found with that name: ${i}`)},this.componentStories=()=>this.componentStoriesValue,this.componentStoriesFromCSFFile=i=>this.store.componentStoriesFromCSFFile({csfFile:i}),this.storyById=i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let a=this.storyIdToCSFFile.get(i);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:a})},this.getStoryContext=i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),this.loadStory=i=>this.store.loadStory({storyId:i}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((i,a)=>{this.referenceCSFFile(i)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let r=e.stories[t.id];this.storyIdToCSFFile.set(r.id,e),this.exportToStory.set(r.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let r=this.resolveModuleExport(e);if(r.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?");t&&this.attachCSFFile(r.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="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 t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:r}=t.meta;if(!r)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:r}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e=="object"&&"default"in e&&(t=this.exportsToCSFFile.get(e.default)),t)return{type:"meta",csfFile:t};let r=this.exportToStory.get(rs(e)?e.input:e);return r?{type:"story",story:r}:{type:"component",component:e}}resolveOf(e,t=[]){let r;if(["component","meta","story"].includes(e)){let n=e;r=this.resolveAttachedModuleExportType(n)}else r=this.resolveModuleExport(e);if(t.length&&!t.includes(r.type)){let n=r.type==="component"?"component or unknown":r.type;throw new Error(Ke`Invalid value passed to the 'of' prop. The value was resolved to a '${n}' type but the only types for this block are: ${t.join(", ")}.
914
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
915
+ - ... or vice versa?
916
+ - 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(r.type){case"component":return{...r,projectAnnotations:this.projectAnnotations};case"meta":return{...r,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:r.csfFile})};default:return r}}},Mm=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Js;let{importPath:r,title:n}=this.entry,i=this.store.processCSFFileWithCache(e,r,n),a=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:i}),this.csfFiles=[i,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new yd(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.story.parameters||{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await n.renderer(),{render:a}=i,o=async()=>{try{await a(r,n,e),this.channel.emit(Ac,this.id)}catch(s){this.callbacks.showException(s)}};return this.rerender=async()=>o(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||i.unmount(e)},o()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},qm=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Js;this.csfFiles=t,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new yd(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.store.projectAnnotations.parameters??{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...n,page:this.exports.default},a=await n.renderer(),{render:o}=a,s=async()=>{try{await o(r,i,e),this.channel.emit(Ac,this.id)}catch(l){this.callbacks.showException(l)}};return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l}={})=>{!l||!e||(a.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},Z9=globalThis;function e4(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function t4({tags:e}){return e?.includes(Gr.UNATTACHED_MDX)||e?.includes(Gr.ATTACHED_MDX)}function Du(e){return e.type==="story"}function r4(e){return e.type==="docs"}function n4(e){return r4(e)&&e.subtype==="csf"}var VA=class extends $A{constructor(e,t,r,n){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=r,this.view=n,this.initialize()}setupListeners(){super.setupListeners(),Z9.onkeydown=this.onKeydown.bind(this),this.channel.on(Cc,this.onSetCurrentStory.bind(this)),this.channel.on(ng,this.onUpdateQueryParams.bind(this)),this.channel.on(Jy,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new sr({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new sr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,r=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!r){e==="*"?this.renderStoryLoadingException(e,new Hg):this.renderStoryLoadingException(e,new Gg({storySpecifier:e.toString()}));return}let{id:n,type:i}=r;this.selectionStore.setSelection({storyId:n,viewMode:i}),this.channel.emit(Zy,this.selectionStore.selection),this.channel.emit(Vu,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!e4(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:a,code:o,keyCode:s}=e;this.channel.emit(Gy,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:a,code:o,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Vu,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof zl&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof qm||this.currentRender instanceof Mm)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>this.storyStoreValue?.loadEntry(t)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new sr({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,i;try{i=await this.storyStoreValue.storyIdToEntry(n)}catch(f){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,f);return}let a=this.currentSelection?.storyId!==n,o=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:o}):this.view.showPreparingDocs({immediate:o}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;i.type==="story"?s=new zl(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):t4(i)?s=new qm(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n)):s=new Mm(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n));let l=this.currentSelection;this.currentSelection=r;let u=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(f){u&&await this.teardownRender(u),f!==Js&&this.renderStoryLoadingException(n,f);return}let p=!a&&u&&!s.isEqual(u);if(e&&Du(s)&&(Zr(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),u&&!u.torndown&&!a&&!p&&!o){this.currentRender=u,this.channel.emit(tg,n),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:o}),l&&(a||o)&&this.channel.emit(Ky,n),Du(s)){Zr(!!s.story);let{parameters:f,initialArgs:h,argTypes:m,unmappedArgs:g,initialGlobals:E,userGlobals:A,storyGlobals:v,globals:T}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Qy,{id:n,parameters:f,initialArgs:h,argTypes:m,args:g}),this.channel.emit(Eo,{userGlobals:A,storyGlobals:v,globals:T,initialGlobals:E})}else{let{parameters:f}=this.storyStoreValue.projectAnnotations,{initialGlobals:h,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(Eo,{globals:m,initialGlobals:h,storyGlobals:{},userGlobals:m}),n4(s)||s.entry.tags?.includes(Gr.ATTACHED_MDX)){if(!s.csfFiles)throw new Jg({storyId:n});({parameters:f}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit($y,{id:n,parameters:f})}Du(s)?(Zr(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Uu)}renderStoryLoadingException(e,t){vt.error(t),this.view.showErrorDisplay(t),this.channel.emit(Uu,e)}renderException(e,t){let{name:r="Error",message:n=String(t),stack:i}=t,a=this.currentRender?.renderId;this.channel.emit(eg,{name:r,message:n,stack:i}),this.channel.emit(zn,{newPhase:"errored",renderId:a,storyId:e}),this.view.showErrorDisplay(t),vt.error(`Error rendering story '${e}':`),vt.error(t)}renderError(e,{title:t,description:r}){let n=this.currentRender?.renderId;this.channel.emit(Yy,{title:t,description:r}),this.channel.emit(zn,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),vt.error(`Error rendering story ${t}: ${r}`)}},Wl=Pt(Ec(),1),i4=Pt(Ec(),1),Lm=/^[a-zA-Z0-9 _-]*$/,UA=/^-?[0-9]+(\.[0-9]+)?$/,o4=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,JA=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Kl=(e="",t)=>e===null||e===""||!Lm.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Lm.test(t)||UA.test(t)||o4.test(t)||JA.test(t):Array.isArray(t)?t.every(r=>Kl(e,r)):Br(t)?Object.entries(t).every(([r,n])=>Kl(r,n)):!1,a4={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(JA);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 UA.test(e)?Number(e):e}},$m=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,i4.parse)(t.join(";"),a4)).reduce((r,[n,i])=>Kl(n,i)?Object.assign(r,{[n]:i}):(Rt.warn(Ke`
917
+ Omitted potentially unsafe URL args.
918
+
919
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
920
+ `),r),{})},{history:HA,document:Cn}=we;function s4(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var GA=({selection:e,extraParams:t})=>{let r=Cn?.location.search.slice(1),{path:n,selectedKind:i,selectedStory:a,...o}=(0,Wl.parse)(r);return`?${(0,Wl.stringify)({...o,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},u4=e=>{if(!e)return;let t=GA({selection:e}),{hash:r=""}=Cn.location;Cn.title=e.storyId,HA.replaceState({},"",`${Cn.location.pathname}${t}${r}`)},l4=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,yo=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return yo(e[0]);if(l4(e))return yo(Object.values(e).filter(Boolean))}},c4=()=>{if(typeof Cn<"u"){let e=Cn.location.search.slice(1),t=(0,Wl.parse)(e),r=typeof t.args=="string"?$m(t.args):void 0,n=typeof t.globals=="string"?$m(t.globals):void 0,i=yo(t.viewMode);if(typeof i!="string"||!i)i="story";else if(!i.match(/docs|story/))return null;let a=yo(t.path),o=a?s4(a):yo(t.id);if(o)return{storySpecifier:o,args:r,globals:n,viewMode:i}}return null},zA=class{constructor(){this.selectionSpecifier=c4()}setSelection(e){this.selection=e,u4(this.selection)}setQueryParams(e){let t=GA({extraParams:e}),{hash:r=""}=Cn.location;HA.replaceState({},"",`${Cn.location.pathname}${t}${r}`)}},p4=Pt(Kx(),1),d4=Pt(Ec(),1),{document:Gt}=we,Vm=100,WA=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(WA||{}),Ru={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Pu={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Um=new p4.default({escapeXML:!0}),KA=class{constructor(){if(this.testing=!1,typeof Gt<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,d4.parse)(Gt.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),Gt.documentElement.scrollTop=0,Gt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Gt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Gt.documentElement.scrollTop=0,Gt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Gt.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){Gt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=Pu[e];Gt.body.classList.remove(this.currentLayoutClass),Gt.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){Pu[e]||vt.warn(Ke`
921
+ The desired layout: ${e} is not a valid option.
922
+ The possible options are: ${Object.keys(Pu).join(", ")}, none.
923
+ `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(WA).forEach(t=>{t===e?Gt.body.classList.add(Ru[t]):Gt.body.classList.remove(Ru[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,i=e.split(`
924
+ `);i.length>1&&([r]=i,n=i.slice(1).join(`
925
+ `).replace(/^\n/,"")),Gt.getElementById("error-message").innerHTML=Um.toHtml(r),Gt.getElementById("error-stack").innerHTML=Um.toHtml(n),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Vm)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Vm)}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(){Gt.body.classList.add(Ru.MAIN)}},f4=class extends VA{constructor(t,r){super(t,r,new zA,new KA),this.importFn=t,this.getProjectAnnotations=r,we.__STORYBOOK_PREVIEW__=this}},{document:Gn}=we,h4=["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"],m4="script",Jm="scripts-root";function Yl(){let e=Gn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Gn.dispatchEvent(e)}function y4(e,t,r){let n=Gn.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):Gn.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function YA(e,t,r=0){e[r](()=>{r++,r===e.length?t():YA(e,t,r)})}function g4(e){let t=Gn.getElementById(Jm);t?t.innerHTML="":(t=Gn.createElement("div"),t.id=Jm,Gn.body.appendChild(t));let r=Array.from(e.querySelectorAll(m4));if(r.length){let n=[];r.forEach(i=>{let a=i.getAttribute("type");(!a||h4.includes(a))&&n.push(o=>y4(i,o,t))}),n.length&&YA(n,Yl,void 0)}else Yl()}var Ou;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Ou=Ou||(Ou={}));var b4=Pt(Yx(),1),ni=(0,b4.stringifyRules)(),E4=ni.JsdocTypeObject;ni.JsdocTypeAny=()=>"any";ni.JsdocTypeObject=(e,t)=>`(${E4(e,t)})`;ni.JsdocTypeOptional=(e,t)=>t(e.element);ni.JsdocTypeNullable=(e,t)=>t(e.element);ni.JsdocTypeNotNullable=(e,t)=>t(e.element);ni.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");var v4="storybook/docs",_4=`${v4}/snippet-rendered`;async function A4(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:i}=t,a=r&&e?r?.(e,t):e,o=a?await a:void 0;br.getChannel().emit(_4,{id:n,source:o,args:i})}var qo={depth:10,clearOnStoryChange:!0,limit:50},w4=(e={})=>{Object.assign(qo,e)},XA=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:XA(r,t)},T4=e=>!!(typeof e=="object"&&e&&XA(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),C4=e=>{if(T4(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e};function ea(e,t={}){let r={...qo,...t},n=function(...i){if(t.implicit){let f=("__STORYBOOK_PREVIEW__"in we?we.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(h=>h.phase==="playing"||h.phase==="rendering");if(f){let h=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,m=new Lg({phase:f.phase,name:e,deprecated:h});if(h)console.warn(m);else throw m}}let a=br.getChannel(),o=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,l=i.map(C4),u=i.length>1?l:l[0],p={id:o,count:0,data:{name:e,args:u},options:{...r,maxDepth:s+(r.depth||3)}};a.emit(ab,p)};return n.isAction=!0,n.implicit=t.implicit,n}var S4=(...e)=>{let t=qo,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...qo,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(a=>{n[a]=a}));let i={};return Object.keys(n).forEach(a=>{i[a]=ea(n[a],t)}),i},x4={"@storybook/global":sg,"storybook/test":gb,"storybook/actions":ob,"storybook/preview-api":zu,"storybook/internal/channels":lg,"storybook/internal/client-logger":cg,"storybook/internal/core-events":vc,"storybook/internal/types":Xg,"storybook/internal/preview-errors":jg,"storybook/internal/preview-api":zu};async function D4(){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}R4(t,r)}var R4=async(e,t)=>{let r={entries:{}};for(let s of Object.values(e.entries)){let l=s.title.split("/"),u=r;for(let p of l)u.entries||(u.entries={}),u.entries[p]?t===s.id&&(u.entries[p].isActive=!0):u.entries[p]={title:p,isActive:t===s.id,entries:{}},u=u.entries[p];u.entries||(u.entries={}),u.entries[s.name]={id:s.id,name:s.name,href:`?id=${s.id}&viewMode=${s.type}&navigator=true`,isActive:t===s.id}}let n=s=>{if("entries"in s&&"title"in s){let u=s;return`
926
+ <li class="sb-navigator-branch">
927
+ <details${u.isActive?" open":""}>
928
+ <summary class="sb-navigator-title">
929
+ ${u.title}
930
+ </summary>
931
+ <ul class="sb-navigator-entries" aria-label="${u.title}">
932
+ ${Object.values(u.entries).map(n).join("")}
933
+ </ul>
934
+ </details>
935
+ </li>
936
+ `}let l=s;return`
937
+ <li class="sb-navigator-story-item">
938
+ <a href="${l.href}"
939
+ class="sb-navigator-story-link${l.isActive?" active":""}"
940
+ aria-current="${l.isActive?"location":"false"}">${l.name}</a>
941
+ </li>
942
+ `},i=Object.values(r.entries).map(n).join(""),a=document.createElement("nav");a.id="sb-navigator-container",a.setAttribute("role","navigation"),a.setAttribute("aria-label","Story navigation"),a.innerHTML=`
943
+ <ul class="sb-navigator-list">${i}</ul>
944
+ `,document.body.insertBefore(a,document.body.firstChild);let o=document.createElement("style");o.id="sb-navigator-style",o.textContent=`
945
+ body {
946
+ display: grid !important;
947
+ grid-template-columns: 300px 1fr;
948
+ font-family: 'Nunito', sans-serif;
949
+ height: 100vh;
950
+ margin: 0;
951
+
952
+ --text-color: rgb(46, 52, 56);
953
+ --bg-color: rgb(246, 249, 252);
954
+
955
+ @media (prefers-color-scheme: dark) {
956
+ --text-color: rgb(201, 205, 207);
957
+ --bg-color: rgb(34, 36, 37);
958
+ }
959
+ }
960
+ #storybook-root, #storybook-docs {
961
+ overflow-y: auto;
962
+ max-height: 100vh;
963
+ max-width: 100%;
964
+ }
965
+ #sb-navigator-container, #sb-navigator-container * {
966
+ box-sizing: border-box;
967
+ }
968
+ #sb-navigator-container {
969
+ height: 100vh;
970
+ overflow-y: auto;
971
+ border-right: 1px solid #eee;
972
+ padding: 1rem;
973
+ font-size: 14px;
974
+ color: var(--text-color);
975
+ background-color: var(--bg-color);
976
+ align-self: start;
977
+ z-index: 1000;
978
+ }
979
+ .sb-main-padded #sb-navigator-container {
980
+ margin: -1rem 1rem -1rem -1rem;
981
+ }
982
+ .sb-navigator-list {
983
+ list-style-type: none;
984
+ padding: 0;
985
+ margin: 0;
986
+ }
987
+ .sb-navigator-branch {
988
+ list-style-type: none;
989
+ }
990
+ .sb-navigator-item {
991
+ margin-bottom: 15px;
992
+ }
993
+ .sb-navigator-title {
994
+ color: var(--text-color);
995
+ text-decoration: none;
996
+ padding-block: 5px;
997
+ cursor: pointer;
998
+ }
999
+ .sb-navigator-entries {
1000
+ padding-left: 15px;
1001
+ }
1002
+ .sb-navigator-story-item {
1003
+ margin-bottom: 8px;
1004
+ margin-left: 8px;
1005
+ }
1006
+ .sb-navigator-story-link {
1007
+ color: var(--text-color);
1008
+ }
1009
+ .sb-navigator-story-link.active {
1010
+ font-weight: bold;
1011
+ color: hsl(212 100 46);
1012
+ }
1013
+ `,document.head.appendChild(o),a.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},P4=Pt(Xx(),1),Fu;function O4(){return Fu||(Fu=new P4.default(we.navigator?.userAgent).getBrowserInfo()),Fu}function F4(e){return e.browserInfo=O4(),e}function I4(e){let t=e.error||e;t.fromStorybook&&we.sendTelemetryError(t)}function N4({reason:e}){e.fromStorybook&&we.sendTelemetryError(e)}function QA(){RD.forEach(e=>{we[ug[e]]=x4[e]}),we.sendTelemetryError=e=>{we.__STORYBOOK_ADDONS_CHANNEL__.emit(ig,F4(e))},document.addEventListener("DOMContentLoaded",()=>{we.__STORYBOOK_ADDONS_CHANNEL__.on(ag,e=>{e?document.body.setAttribute("inert","true"):document.body.removeAttribute("inert")})}),we.addEventListener("error",I4),we.addEventListener("unhandledrejection",N4),D4()}QA();const{createBrowserChannel:B4}=__STORYBOOK_MODULE_CHANNELS__,{addons:j4}=__STORYBOOK_MODULE_PREVIEW_API__,gd=B4({page:"preview"});j4.setChannel(gd);window.__STORYBOOK_ADDONS_CHANNEL__=gd;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=gd);const k4={"./src/docs/OVERVIEW.mdx":()=>Ce(()=>import("./OVERVIEW-Byly3lQV.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),"./src/docs/ui-react/GETTING_STARTED.mdx":()=>Ce(()=>import("./GETTING_STARTED-CBY9dL2_.js"),__vite__mapDeps([5,1,2,3,4]),import.meta.url),"./src/docs/ui-react/MIGRATION_GUIDE.mdx":()=>Ce(()=>import("./MIGRATION_GUIDE-BN_V-xNj.js"),__vite__mapDeps([6,1,2,3,4]),import.meta.url),"./src/docs/ui-react/components/App.mdx":()=>Ce(()=>import("./App-BkiRuUOF.js"),__vite__mapDeps([7,1,2,3,4]),import.meta.url),"./src/docs/ui-react/THEME.mdx":()=>Ce(()=>import("./THEME-B9Y39f9D.js"),__vite__mapDeps([8,1,2,3,4]),import.meta.url),"./src/docs/ui-react/ICON.mdx":()=>Ce(()=>import("./ICON-CT1pTB1A.js"),__vite__mapDeps([9,1,2,3,4,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url),"./src/docs/ui-react/hooks/use-navigation-bar.mdx":()=>Ce(()=>import("./use-navigation-bar-D5BX6S-r.js"),__vite__mapDeps([24,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-bottom-tab-bar.mdx":()=>Ce(()=>import("./use-bottom-tab-bar--DRl-8c4.js"),__vite__mapDeps([25,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-page-layout.mdx":()=>Ce(()=>import("./use-page-layout-BrFRWwC6.js"),__vite__mapDeps([26,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-pull-to-refresh.mdx":()=>Ce(()=>import("./use-pull-to-refresh-BEjtxiFn.js"),__vite__mapDeps([27,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-load-more.mdx":()=>Ce(()=>import("./use-load-more-Bb9YFkAE.js"),__vite__mapDeps([28,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-page-scroll.mdx":()=>Ce(()=>import("./use-page-scroll-BZ8XiPza.js"),__vite__mapDeps([29,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-custom-icon-event.mdx":()=>Ce(()=>import("./use-custom-icon-event-BXcRPkLg.js"),__vite__mapDeps([30,1,2,3,4]),import.meta.url),"./src/docs/ui-react/hooks/use-settings-changed.mdx":()=>Ce(()=>import("./use-settings-changed-UaQRSWAg.js"),__vite__mapDeps([31,1,2,3,4]),import.meta.url),"./src/docs/ui-react-ai/GETTING_STARTED.mdx":()=>Ce(()=>import("./GETTING_STARTED-C1AOB25Z.js"),__vite__mapDeps([32,1,2,3,4]),import.meta.url),"./src/docs/ui-react-ai/components/AIApp.mdx":()=>Ce(()=>import("./AIApp-C4keJkW8.js"),__vite__mapDeps([33,1,2,3,4]),import.meta.url),"./src/docs/ui-react-ai/ICON.mdx":()=>Ce(()=>import("./ICON-BaZgXbtw.js"),__vite__mapDeps([34,1,2,3,4,10,11,12,13,14,15,16,17,18,19,20,21,22,23]),import.meta.url),"./src/docs/router/GETTING_STARTED.mdx":()=>Ce(()=>import("./GETTING_STARTED-BmHWFQQE.js"),__vite__mapDeps([35,1,2,3,4]),import.meta.url),"./src/docs/router/components/Router.mdx":()=>Ce(()=>import("./Router-CO6rjSXr.js"),__vite__mapDeps([36,1,2,3,4]),import.meta.url),"./src/docs/router/DEEPLINK.mdx":()=>Ce(()=>import("./DEEPLINK-CvpIbZVm.js"),__vite__mapDeps([37,1,2,3,4]),import.meta.url),"./src/docs/router/EVENTS.mdx":()=>Ce(()=>import("./EVENTS-Bnl2ehlm.js"),__vite__mapDeps([38,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-navigate.mdx":()=>Ce(()=>import("./use-navigate-OLqoL3vR.js"),__vite__mapDeps([39,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-location.mdx":()=>Ce(()=>import("./use-location-DnxJ5FvJ.js"),__vite__mapDeps([40,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-history.mdx":()=>Ce(()=>import("./use-history-B_w6SPwr.js"),__vite__mapDeps([41,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-histories.mdx":()=>Ce(()=>import("./use-histories-Cz7ncXaj.js"),__vite__mapDeps([42,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-navigation-type.mdx":()=>Ce(()=>import("./use-navigation-type-Cq7T35ur.js"),__vite__mapDeps([43,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-did-show.mdx":()=>Ce(()=>import("./use-did-show-BXLstTgt.js"),__vite__mapDeps([44,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-did-hide.mdx":()=>Ce(()=>import("./use-did-hide-LBcrwoUo.js"),__vite__mapDeps([45,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-app-pause.mdx":()=>Ce(()=>import("./use-app-pause-_ycnhKwZ.js"),__vite__mapDeps([46,1,2,3,4]),import.meta.url),"./src/docs/router/hooks/use-app-resume.mdx":()=>Ce(()=>import("./use-app-resume-CWb2s-wo.js"),__vite__mapDeps([47,1,2,3,4]),import.meta.url),"./src/docs/locale/GETTING_STARTED.mdx":()=>Ce(()=>import("./GETTING_STARTED-BYcN9hg3.js"),__vite__mapDeps([48,1,2,3,4]),import.meta.url),"./src/docs/locale/components/LocalesProvider.mdx":()=>Ce(()=>import("./LocalesProvider-CQEwtoq3.js"),__vite__mapDeps([49,1,2,3,4]),import.meta.url),"./src/docs/locale/hooks/use-translate.mdx":()=>Ce(()=>import("./use-translate-BO8E9Sde.js"),__vite__mapDeps([50,1,2,3,4]),import.meta.url),"./src/docs/locale/hooks/use-language.mdx":()=>Ce(()=>import("./use-language-D84C9QNT.js"),__vite__mapDeps([51,1,2,3,4]),import.meta.url),"./src/docs/use-cases/INFINITE_SCROLL.mdx":()=>Ce(()=>import("./INFINITE_SCROLL-BJeWhgO7.js"),__vite__mapDeps([52,1,2,3,4]),import.meta.url),"./src/docs/use-cases/MIGRATE_DARKMODE_TO_THEME.mdx":()=>Ce(()=>import("./MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js"),__vite__mapDeps([53,1,2,3,4]),import.meta.url),"./src/docs/use-cases/TAILWIND_INTEGRATION.mdx":()=>Ce(()=>import("./TAILWIND_INTEGRATION-CpN4_fSu.js"),__vite__mapDeps([54,1,2,3,4]),import.meta.url),"./src/components/alert/alert.stories.tsx":()=>Ce(()=>import("./alert.stories-CUItfPLn.js"),__vite__mapDeps([55,3,2,4,13,11,12,22,56,23]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":()=>Ce(()=>import("./avatar.stories-8_vV7Bb0.js"),__vite__mapDeps([57,3,2,4,13,58,16,11,12,22,56]),import.meta.url),"./src/components/badge/badge.stories.tsx":()=>Ce(()=>import("./badge.stories-BXGAtgaV.js"),__vite__mapDeps([59,3,2,4,60,13,22,12,56]),import.meta.url),"./src/components/bottom-tab-bar/bottom-tab-bar.stories.tsx":()=>Ce(()=>import("./bottom-tab-bar.stories-OrY-k1sb.js"),__vite__mapDeps([61,3,2,4,13,11,12,22,56]),import.meta.url),"./src/components/button/button.stories.tsx":()=>Ce(()=>import("./button.stories--0kpp_af.js"),__vite__mapDeps([62,3,2,4,23,13,22,12,11,56]),import.meta.url),"./src/components/calendar/calendar.stories.tsx":()=>Ce(()=>import("./calendar.stories-4MQj1nsX.js"),__vite__mapDeps([63,64,13,65,15,16,66,23,22,12,11,56,2,3,4]),import.meta.url),"./src/components/carousel/carousel.stories.tsx":()=>Ce(()=>import("./carousel.stories-CMtljvBR.js"),__vite__mapDeps([67,13,68,69,56,2,3,4,23,22,12,11]),import.meta.url),"./src/components/checkbox/checkbox.stories.tsx":()=>Ce(()=>import("./checkbox.stories-xYjsVg2X.js"),__vite__mapDeps([70,3,2,4,13,15,16,22,12,56,23,11]),import.meta.url),"./src/components/chip/chip.stories.tsx":()=>Ce(()=>import("./chip.stories-DYEfUGq3.js"),__vite__mapDeps([71,3,2,4,13,60,22,12,11,56]),import.meta.url),"./src/components/date-field/date-field.stories.tsx":()=>Ce(()=>import("./date-field.stories-5Tlzdpvr.js"),__vite__mapDeps([72,3,2,4,13,65,73,15,16,18,68,22,12,74,75,66,23,11,76,64,19,20,21,56]),import.meta.url),"./src/components/date-picker/date-picker.stories.tsx":()=>Ce(()=>import("./date-picker.stories-Shn-MmVG.js"),__vite__mapDeps([77,3,2,4,73,15,16,18,13,68,22,12,65,56]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":()=>Ce(()=>import("./dialog.stories-DeNKN0oJ.js"),__vite__mapDeps([78,3,2,4,13,75,66,23,22,12,11,58,16,56]),import.meta.url),"./src/components/dropdown/dropdown.stories.tsx":()=>Ce(()=>import("./dropdown.stories-Bqmu2_KM.js"),__vite__mapDeps([79,3,2,4,13,15,16,80,22,12,11,14,17,18,19,20,21,74,75,66,23,56]),import.meta.url),"./src/components/icon/icon.stories.tsx":()=>Ce(()=>import("./icon.stories-DE484rTd.js"),__vite__mapDeps([81,3,2,4,11,12,13,56]),import.meta.url),"./src/components/image/image.stories.tsx":()=>Ce(()=>import("./image.stories-BlYIb_Qu.js"),__vite__mapDeps([82,3,2,4,58,13,16,11,12,56]),import.meta.url),"./src/components/label/label.stories.tsx":()=>Ce(()=>import("./label.stories-C-MVt-cu.js"),__vite__mapDeps([83,3,2,4,20,13,21,22,12,11,56]),import.meta.url),"./src/components/navigation-bar/navigation-bar.stories.tsx":()=>Ce(()=>import("./navigation-bar.stories-CZ-y3eDE.js"),__vite__mapDeps([84,3,2,4,13,12,11,56,23,22,60]),import.meta.url),"./src/components/number-field/number-field.stories.tsx":()=>Ce(()=>import("./number-field.stories-BA0FySSU.js"),__vite__mapDeps([85,3,2,4,56,13,15,16,21,22,12]),import.meta.url),"./src/components/option-item/option-item.stories.tsx":()=>Ce(()=>import("./option-item.stories-DqA-ydWX.js"),__vite__mapDeps([86,3,2,4,56,80,13,15,16,22,12,11]),import.meta.url),"./src/components/pagination/pagination.stories.tsx":()=>Ce(()=>import("./pagination.stories-BsKHvdF4.js"),__vite__mapDeps([87,3,2,4,56,69,13,23,22,12,11]),import.meta.url),"./src/components/radio/radio.stories.tsx":()=>Ce(()=>import("./radio.stories-CBmxZRxo.js"),__vite__mapDeps([88,3,2,4,56,13,15,16,22,12]),import.meta.url),"./src/components/rating/rating.stories.tsx":()=>Ce(()=>import("./rating.stories-CcdFtcNH.js"),__vite__mapDeps([89,56,2,13,15,16,3,4]),import.meta.url),"./src/components/search-field/search-field.stories.tsx":()=>Ce(()=>import("./search-field.stories-DoclnxtC.js"),__vite__mapDeps([90,3,2,4,56,14,15,16,13,17,18,19,20,21,22,12,11]),import.meta.url),"./src/components/section/section.stories.tsx":()=>Ce(()=>import("./section.stories-Bqz_QgYp.js"),__vite__mapDeps([91,13,11,12,22,56,2,3,4]),import.meta.url),"./src/components/sheet/sheet.stories.tsx":()=>Ce(()=>import("./sheet.stories-CoXnt4LG.js"),__vite__mapDeps([92,74,13,3,2,4,75,66,23,22,12,11,76,56]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":()=>Ce(()=>import("./skeleton.stories-B-OfMZId.js"),__vite__mapDeps([93,21,13,56,2,3,4]),import.meta.url),"./src/components/switch/switch.stories.tsx":()=>Ce(()=>import("./switch.stories-D4PQjgbo.js"),__vite__mapDeps([94,13,15,16,56,2,3,4,23,22,12,11]),import.meta.url),"./src/components/tab-bar/tab-bar.stories.tsx":()=>Ce(()=>import("./tab-bar.stories-BrcQMypS.js"),__vite__mapDeps([95,13,60,22,12,11,15,16,56,2,3,4]),import.meta.url),"./src/components/text-area/text-area.stories.tsx":()=>Ce(()=>import("./text-area.stories-Bpaw2_4A.js"),__vite__mapDeps([96,13,15,16,19,18,20,21,22,12,11,56,2,3,4]),import.meta.url),"./src/components/text-field/text-field.stories.tsx":()=>Ce(()=>import("./text-field.stories-PQoP3DbL.js"),__vite__mapDeps([97,17,13,18,19,20,21,22,12,11,56,2,3,4]),import.meta.url),"./src/components/toast/toast.stories.tsx":()=>Ce(()=>import("./toast.stories-DmPy9T3m.js"),__vite__mapDeps([98,3,2,4,13,66,11,12,22,23,56]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":()=>Ce(()=>import("./tooltip.stories-Be_kIaDc.js"),__vite__mapDeps([99,13,11,12,56,2,3,4]),import.meta.url),"./src/components/typography/typography.stories.tsx":()=>Ce(()=>import("./typography.stories-DSt5W_AG.js"),__vite__mapDeps([100,22,13,12,56,2,3,4]),import.meta.url),"./src/components/uploader/uploader.stories.tsx":()=>Ce(()=>import("./uploader.stories-C5CmeXEk.js"),__vite__mapDeps([101,13,15,16,11,12,58,56,2,3,4]),import.meta.url),"./src/docs/OVERVIEW-AI.mdx":()=>Ce(()=>import("./OVERVIEW-AI-CLWBzviY.js"),__vite__mapDeps([102,1,2,3,4]),import.meta.url)};async function M4(e){return await k4[e]()}var zJ=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function q4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Iu={exports:{}},qe={};var Hm;function L4(){if(Hm)return qe;Hm=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;function m(W){return W===null||typeof W!="object"?null:(W=h&&W[h]||W["@@iterator"],typeof W=="function"?W:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,A={};function v(W,H,re){this.props=W,this.context=H,this.refs=A,this.updater=re||g}v.prototype.isReactComponent={},v.prototype.setState=function(W,H){if(typeof W!="object"&&typeof W!="function"&&W!=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,W,H,"setState")},v.prototype.forceUpdate=function(W){this.updater.enqueueForceUpdate(this,W,"forceUpdate")};function T(){}T.prototype=v.prototype;function I(W,H,re){this.props=W,this.context=H,this.refs=A,this.updater=re||g}var R=I.prototype=new T;R.constructor=I,E(R,v.prototype),R.isPureReactComponent=!0;var D=Array.isArray;function y(){}var w={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function P(W,H,re){var ce=re.ref;return{$$typeof:e,type:W,key:H,ref:ce!==void 0?ce:null,props:re}}function z(W,H){return P(W.type,H,W.props)}function L(W){return typeof W=="object"&&W!==null&&W.$$typeof===e}function K(W){var H={"=":"=0",":":"=2"};return"$"+W.replace(/[=:]/g,function(re){return H[re]})}var q=/\/+/g;function B(W,H){return typeof W=="object"&&W!==null&&W.key!=null?K(""+W.key):H.toString(36)}function V(W){switch(W.status){case"fulfilled":return W.value;case"rejected":throw W.reason;default:switch(typeof W.status=="string"?W.then(y,y):(W.status="pending",W.then(function(H){W.status==="pending"&&(W.status="fulfilled",W.value=H)},function(H){W.status==="pending"&&(W.status="rejected",W.reason=H)})),W.status){case"fulfilled":return W.value;case"rejected":throw W.reason}}throw W}function X(W,H,re,ce,le){var ie=typeof W;(ie==="undefined"||ie==="boolean")&&(W=null);var ve=!1;if(W===null)ve=!0;else switch(ie){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(W.$$typeof){case e:case t:ve=!0;break;case p:return ve=W._init,X(ve(W._payload),H,re,ce,le)}}if(ve)return le=le(W),ve=ce===""?"."+B(W,0):ce,D(le)?(re="",ve!=null&&(re=ve.replace(q,"$&/")+"/"),X(le,H,re,"",function(Z){return Z})):le!=null&&(L(le)&&(le=z(le,re+(le.key==null||W&&W.key===le.key?"":(""+le.key).replace(q,"$&/")+"/")+ve)),H.push(le)),1;ve=0;var Re=ce===""?".":ce+":";if(D(W))for(var $e=0;$e<W.length;$e++)ce=W[$e],ie=Re+B(ce,$e),ve+=X(ce,H,re,ie,le);else if($e=m(W),typeof $e=="function")for(W=$e.call(W),$e=0;!(ce=W.next()).done;)ce=ce.value,ie=Re+B(ce,$e++),ve+=X(ce,H,re,ie,le);else if(ie==="object"){if(typeof W.then=="function")return X(V(W),H,re,ce,le);throw H=String(W),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ve}function Q(W,H,re){if(W==null)return W;var ce=[],le=0;return X(W,ce,"","",function(ie){return H.call(re,ie,le++)}),ce}function oe(W){if(W._status===-1){var H=W._result;H=H(),H.then(function(re){(W._status===0||W._status===-1)&&(W._status=1,W._result=re)},function(re){(W._status===0||W._status===-1)&&(W._status=2,W._result=re)}),W._status===-1&&(W._status=0,W._result=H)}if(W._status===1)return W._result.default;throw W._result}var Ee=typeof reportError=="function"?reportError:function(W){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof W=="object"&&W!==null&&typeof W.message=="string"?String(W.message):String(W),error:W});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",W);return}console.error(W)},Pe={map:Q,forEach:function(W,H,re){Q(W,function(){H.apply(this,arguments)},re)},count:function(W){var H=0;return Q(W,function(){H++}),H},toArray:function(W){return Q(W,function(H){return H})||[]},only:function(W){if(!L(W))throw Error("React.Children.only expected to receive a single React element child.");return W}};return qe.Activity=f,qe.Children=Pe,qe.Component=v,qe.Fragment=r,qe.Profiler=i,qe.PureComponent=I,qe.StrictMode=n,qe.Suspense=l,qe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,qe.__COMPILER_RUNTIME={__proto__:null,c:function(W){return w.H.useMemoCache(W)}},qe.cache=function(W){return function(){return W.apply(null,arguments)}},qe.cacheSignal=function(){return null},qe.cloneElement=function(W,H,re){if(W==null)throw Error("The argument must be a React element, but you passed "+W+".");var ce=E({},W.props),le=W.key;if(H!=null)for(ie in H.key!==void 0&&(le=""+H.key),H)!S.call(H,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&H.ref===void 0||(ce[ie]=H[ie]);var ie=arguments.length-2;if(ie===1)ce.children=re;else if(1<ie){for(var ve=Array(ie),Re=0;Re<ie;Re++)ve[Re]=arguments[Re+2];ce.children=ve}return P(W.type,le,ce)},qe.createContext=function(W){return W={$$typeof:o,_currentValue:W,_currentValue2:W,_threadCount:0,Provider:null,Consumer:null},W.Provider=W,W.Consumer={$$typeof:a,_context:W},W},qe.createElement=function(W,H,re){var ce,le={},ie=null;if(H!=null)for(ce in H.key!==void 0&&(ie=""+H.key),H)S.call(H,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(le[ce]=H[ce]);var ve=arguments.length-2;if(ve===1)le.children=re;else if(1<ve){for(var Re=Array(ve),$e=0;$e<ve;$e++)Re[$e]=arguments[$e+2];le.children=Re}if(W&&W.defaultProps)for(ce in ve=W.defaultProps,ve)le[ce]===void 0&&(le[ce]=ve[ce]);return P(W,ie,le)},qe.createRef=function(){return{current:null}},qe.forwardRef=function(W){return{$$typeof:s,render:W}},qe.isValidElement=L,qe.lazy=function(W){return{$$typeof:p,_payload:{_status:-1,_result:W},_init:oe}},qe.memo=function(W,H){return{$$typeof:u,type:W,compare:H===void 0?null:H}},qe.startTransition=function(W){var H=w.T,re={};w.T=re;try{var ce=W(),le=w.S;le!==null&&le(re,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(y,Ee)}catch(ie){Ee(ie)}finally{H!==null&&re.types!==null&&(H.types=re.types),w.T=H}},qe.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},qe.use=function(W){return w.H.use(W)},qe.useActionState=function(W,H,re){return w.H.useActionState(W,H,re)},qe.useCallback=function(W,H){return w.H.useCallback(W,H)},qe.useContext=function(W){return w.H.useContext(W)},qe.useDebugValue=function(){},qe.useDeferredValue=function(W,H){return w.H.useDeferredValue(W,H)},qe.useEffect=function(W,H){return w.H.useEffect(W,H)},qe.useEffectEvent=function(W){return w.H.useEffectEvent(W)},qe.useId=function(){return w.H.useId()},qe.useImperativeHandle=function(W,H,re){return w.H.useImperativeHandle(W,H,re)},qe.useInsertionEffect=function(W,H){return w.H.useInsertionEffect(W,H)},qe.useLayoutEffect=function(W,H){return w.H.useLayoutEffect(W,H)},qe.useMemo=function(W,H){return w.H.useMemo(W,H)},qe.useOptimistic=function(W,H){return w.H.useOptimistic(W,H)},qe.useReducer=function(W,H,re){return w.H.useReducer(W,H,re)},qe.useRef=function(W){return w.H.useRef(W)},qe.useState=function(W){return w.H.useState(W)},qe.useSyncExternalStore=function(W,H,re){return w.H.useSyncExternalStore(W,H,re)},qe.useTransition=function(){return w.H.useTransition()},qe.version="19.2.4",qe}var Gm;function $4(){return Gm||(Gm=1,Iu.exports=L4()),Iu.exports}var Wt=$4();const gr=q4(Wt),WJ=f1({__proto__:null,default:gr},[Wt]),{defaultDecorateStory:V4}=__STORYBOOK_MODULE_PREVIEW_API__;var bd=(e,t)=>V4(r=>gr.createElement(e,r),t),U4=Object.create,Ed=Object.defineProperty,J4=Object.getOwnPropertyDescriptor,ZA=Object.getOwnPropertyNames,H4=Object.getPrototypeOf,G4=Object.prototype.hasOwnProperty,mt=(e,t)=>function(){return t||(0,e[ZA(e)[0]])((t={exports:{}}).exports,t),t.exports},vd=(e,t)=>{for(var r in t)Ed(e,r,{get:t[r],enumerable:!0})},z4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ZA(t))!G4.call(e,i)&&i!==r&&Ed(e,i,{get:()=>t[i],enumerable:!(n=J4(t,i))||n.enumerable});return e},Ji=(e,t,r)=>(r=e!=null?U4(H4(e)):{},z4(t||!e||!e.__esModule?Ed(r,"default",{value:e,enumerable:!0}):r,e)),W4={};vd(W4,{applyDecorators:()=>bd,beforeAll:()=>sw,decorators:()=>ow,mount:()=>iw,parameters:()=>aw,render:()=>tw,renderToCanvas:()=>nw});const{Tag:K4}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Y4}=__STORYBOOK_MODULE_GLOBAL__,{configure:X4}=__STORYBOOK_MODULE_TEST__;function zm(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function Q4(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var ew=async({disableAct:e=!1}={})=>t=>t(),tw=(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 gr.createElement(n,{...e})};const{global:Z4}=__STORYBOOK_MODULE_GLOBAL__;var{FRAMEWORK_OPTIONS:e$}=Z4,t$=class extends Wt.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}},Wm=e$?.strictMode?Wt.StrictMode:Wt.Fragment,Xl=[],Nu=!1,rw=async()=>{if(Nu||Xl.length===0)return;Nu=!0;let e=Xl.shift();e&&await e(),Nu=!1,rw()};async function nw({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:i},a){let{renderElement:o,unmountElement:s}=await Ce(async()=>{const{renderElement:h,unmountElement:m}=await import("./react-18-D2tl8ksm.js");return{renderElement:h,unmountElement:m}},__vite__mapDeps([103,104,4,2]),import.meta.url),l=t,u=e.parameters.__isPortableStory?gr.createElement(l,{...e}):gr.createElement(t$,{key:e.id,showMain:r,showException:n},gr.createElement(l,{...e})),p=Wm?gr.createElement(Wm,null,u):u;i&&s(a);let f=await ew({disableAct:e.viewMode==="docs"});return await new Promise(async(h,m)=>{Xl.push(async()=>{try{await f(async()=>{await o(p,a,e?.parameters?.react?.rootOptions)}),h()}catch(g){m(g)}}),rw()}),async()=>{await f(()=>{s(a)})}}var iw=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),ow=[(e,t)=>{if(!t.parameters?.react?.rsc)return e();let[r,n]=Wt.version.split(".").map(i=>parseInt(i,10));if(!Number.isInteger(r)||!Number.isInteger(n))throw new Error("Unable to parse React version");if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Wt.createElement(Wt.Suspense,null,e())},(e,t)=>{if(t.tags?.includes(K4.TEST_FN)&&!Y4.FEATURES?.experimentalTestSyntax)throw new Error("To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax");return e()}],aw={renderer:"react"},sw=async()=>{try{let e=await ew();X4({unstable_advanceTimersWrapper:t=>e(t),asyncWrapper:async t=>{let r=Q4();zm(!1);try{let n=await t();return await new Promise(i=>{setTimeout(()=>{i()},0),r$()&&jest.advanceTimersByTime(0)}),n}finally{zm(r)}},eventWrapper:t=>{let r;return e(()=>(r=t(),r)),r}})}catch{}};function r$(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}const n$=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:bd,beforeAll:sw,decorators:ow,mount:iw,parameters:aw,render:tw,renderToCanvas:nw},Symbol.toStringTag,{value:"Module"}));var i$=mt({"../../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(l){for(var u,p=1,f=arguments.length;p<f;p++){u=arguments[p];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(l[h]=u[h])}return l},t.apply(this,arguments)},r=e&&e.__spreadArrays||function(){for(var l=0,u=0,p=arguments.length;u<p;u++)l+=arguments[u].length;for(var f=Array(l),h=0,u=0;u<p;u++)for(var m=arguments[u],g=0,E=m.length;g<E;g++,h++)f[h]=m[g];return f};Object.defineProperty(e,"__esModule",{value:!0});var n=[];function i(l){var u=typeof l;return l!==null&&(u==="object"||u==="function")}function a(l){return Object.prototype.toString.call(l)==="[object RegExp]"}function o(l){return Object.getOwnPropertySymbols(l).filter(function(u){return Object.prototype.propertyIsEnumerable.call(l,u)})}function s(l,u,p){p===void 0&&(p="");var f={indent:" ",singleQuotes:!0},h=t(t({},f),u),m;h.inlineCharacterLimit===void 0?m={newLine:`
1014
+ `,newLineOrSpace:`
1015
+ `,pad:p,indent:p+h.indent}:m={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var g=function(v){if(h.inlineCharacterLimit===void 0)return v;var T=v.replace(new RegExp(m.newLine,"g"),"").replace(new RegExp(m.newLineOrSpace,"g")," ").replace(new RegExp(m.pad+"|"+m.indent,"g"),"");return T.length<=h.inlineCharacterLimit?T:v.replace(new RegExp(m.newLine+"|"+m.newLineOrSpace,"g"),`
1016
+ `).replace(new RegExp(m.pad,"g"),p).replace(new RegExp(m.indent,"g"),p+h.indent)};if(n.indexOf(l)!==-1)return'"[Circular]"';if(l==null||typeof l=="number"||typeof l=="boolean"||typeof l=="function"||typeof l=="symbol"||a(l))return String(l);if(l instanceof Date)return"new Date('"+l.toISOString()+"')";if(Array.isArray(l)){if(l.length===0)return"[]";n.push(l);var E="["+m.newLine+l.map(function(v,T){var I=l.length-1===T?m.newLine:","+m.newLineOrSpace,R=s(v,h,p+h.indent);return h.transform&&(R=h.transform(l,T,R)),m.indent+R+I}).join("")+m.pad+"]";return n.pop(),g(E)}if(i(l)){var A=r(Object.keys(l),o(l));if(h.filter&&(A=A.filter(function(T){return h.filter&&h.filter(l,T)})),A.length===0)return"{}";n.push(l);var E="{"+m.newLine+A.map(function(T,I){var R=A.length-1===I?m.newLine:","+m.newLineOrSpace,D=typeof T=="symbol",y=!D&&/^[a-z$_][a-z$_0-9]*$/i.test(T.toString()),w=D||y?T:s(T,h),S=s(l[T],h,p+h.indent);return h.transform&&(S=h.transform(l,T,S)),m.indent+String(w)+": "+S+R}).join("")+m.pad+"}";return n.pop(),g(E)}return l=String(l).replace(/[\r\n]/g,function(v){return v===`
1017
+ `?"\\n":"\\r"}),h.singleQuotes?(l=l.replace(/\\?'/g,"\\'"),"'"+l+"'"):(l=l.replace(/"/g,'\\"'),'"'+l+'"')}e.prettyPrint=s}}),o$=mt({"../../../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"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),E;E=Symbol.for("react.module.reference");function A(v){if(typeof v=="object"&&v!==null){var T=v.$$typeof;switch(T){case t:switch(v=v.type,v){case n:case a:case i:case p:case f:return v;default:switch(v=v&&v.$$typeof,v){case l:case s:case u:case m:case h:case o:return v;default:return T}}case r:return T}}}e.ContextConsumer=s,e.ContextProvider=o,e.Element=t,e.ForwardRef=u,e.Fragment=n,e.Lazy=m,e.Memo=h,e.Portal=r,e.Profiler=a,e.StrictMode=i,e.Suspense=p,e.SuspenseList=f,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(v){return A(v)===s},e.isContextProvider=function(v){return A(v)===o},e.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},e.isForwardRef=function(v){return A(v)===u},e.isFragment=function(v){return A(v)===n},e.isLazy=function(v){return A(v)===m},e.isMemo=function(v){return A(v)===h},e.isPortal=function(v){return A(v)===r},e.isProfiler=function(v){return A(v)===a},e.isStrictMode=function(v){return A(v)===i},e.isSuspense=function(v){return A(v)===p},e.isSuspenseList=function(v){return A(v)===f},e.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===a||v===i||v===p||v===f||v===g||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===h||v.$$typeof===o||v.$$typeof===s||v.$$typeof===u||v.$$typeof===E||v.getModuleId!==void 0)},e.typeOf=A}}),a$=mt({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=o$()}}),uw=e=>e.$$typeof===Symbol.for("react.memo"),s$=e=>e.$$typeof===Symbol.for("react.forward_ref");function Km(e){return Object.prototype.toString.call(e)==="[object Object]"}function u$(e){var t,r;return Km(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Km(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var l$=Ji(i$()),Fr=Ji(a$()),Qr=(function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")});function Ql(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c$(e){if(Array.isArray(e))return Ql(e)}function p$(e,t,r){return(t=g$(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d$(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function f$(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1018
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ym(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function h$(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ym(Object(r),!0).forEach(function(n){p$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ym(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function m$(e){return c$(e)||d$(e)||b$(e)||f$()}function y$(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function g$(e){var t=y$(e,"string");return typeof t=="symbol"?t:t+""}function Lo(e){"@babel/helpers - typeof";return Lo=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},Lo(e)}function b$(e,t){if(e){if(typeof e=="string")return Ql(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ql(e,t):void 0}}function Zl(e,t){if(e===null||Lo(e)!=="object"||e instanceof Date||e instanceof RegExp)return e;if(Wt.isValidElement(e)){var r=h$({},e);return delete r._owner,r}return t.add(e),Array.isArray(e)?e.map(function(n){return Zl(n,t)}):Object.keys(e).sort().reduce(function(n,i){return i==="current"||t.has(e[i])?n[i]="[Circular]":n[i]=Zl(e[i],t),n},{})}function E$(e){return Zl(e,new WeakSet)}var lw=function(e){return{type:"string",value:e}},v$=function(e){return{type:"number",value:e}},_$=function(e,t,r,n){return{type:"ReactElement",displayName:e,props:t,defaultProps:r,childrens:n}},A$=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},w$=!!Wt.Fragment,cw=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},ec=function(e){switch(!0){case!!e.displayName:return e.displayName;case e.$$typeof===Fr.Memo:return ec(e.type);case e.$$typeof===Fr.ForwardRef:return ec(e.render);default:return cw(e)}},T$=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:cw(e.type);case(0,Fr.isForwardRef)(e):case(0,Fr.isMemo)(e):return ec(e.type);case(0,Fr.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,Fr.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,Fr.isLazy)(e):return"Lazy";case(0,Fr.isProfiler)(e):return"Profiler";case(0,Fr.isStrictMode)(e):return"StrictMode";case(0,Fr.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},Xm=function(e,t){return t!=="children"},C$=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},Qm=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},Hs=function(e,t){var r=t.displayName,n=r===void 0?T$:r;if(typeof e=="string")return lw(e);if(typeof e=="number")return v$(e);if(!gr.isValidElement(e))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(Lo(e),"`"));var i=n(e),a=Qm(e.props,Xm);e.ref!==null&&(a.ref=e.ref);var o=e.key;typeof o=="string"&&o.search(/^\./)&&(a.key=o);var s=Qm(e.type.defaultProps||{},Xm),l=gr.Children.toArray(e.props.children).filter(C$).map(function(u){return Hs(u,t)});return w$&&e.type===Wt.Fragment?A$(o,l):_$(i,a,s,l)};function S$(){}var x$=function(e){return e.toString().split(`
1019
+ `).map(function(t){return t.trim()}).join("")},Zm=x$,pw=(function(e,t){var r=t.functionValue,n=r===void 0?Zm:r,i=t.showFunctions;return n(!i&&n===Zm?S$:e)}),D$=(function(e,t,r,n){var i=E$(e),a=(0,l$.prettyPrint)(i,{transform:function(o,s,l){var u=o[s];return u&&Wt.isValidElement(u)?Gs(Hs(u,n),!0,r,n):typeof u=="function"?pw(u,n):l}});return t?a.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):a.replace(/\t/g,Qr(1,n.tabStop)).replace(/\n([^$])/g,`
1020
+ `.concat(Qr(r+1,n.tabStop),"$1"))}),R$=function(e){return e.replace(/"/g,"&quot;")},P$=function(e,t,r,n){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(R$(e),'"');if(Lo(e)==="symbol"){var i=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return i?"{Symbol('".concat(i,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(pw(e,n),"}"):Wt.isValidElement(e)?"{".concat(Gs(Hs(e,n),!0,r,n),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):u$(e)||Array.isArray(e)?"{".concat(D$(e,t,r,n),"}"):"{".concat(String(e),"}")},O$=(function(e,t,r,n,i,a,o,s){if(!t&&!n)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var l=t?r:i,u=s.useBooleanShorthandSyntax,p=s.tabStop,f=P$(l,a,o,s),h=" ",m=`
1021
+ `.concat(Qr(o+1,p)),g=f.includes(`
1022
+ `);return u&&f==="{false}"&&!n?(h="",m=""):u&&f==="{true}"?(h+="".concat(e),m+="".concat(e)):(h+="".concat(e,"=").concat(f),m+="".concat(e,"=").concat(f)),{attributeFormattedInline:h,attributeFormattedMultiline:m,isMultilineAttribute:g}}),F$=(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(lw(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r}),I$=function(e){return["key","ref"].includes(e)},N$=(function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),i=t.filter(function(o){return!I$(o)}),a=m$(e?i.sort():i);return n&&a.unshift("ref"),r&&a.unshift("key"),a}});function B$(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var j$=function(e,t,r,n,i){var a=i.tabStop;return e.type==="string"?t.split(`
1023
+ `).map(function(o,s){return s===0?o:"".concat(Qr(n,a)).concat(o)}).join(`
1024
+ `):t},k$=function(e,t,r){return function(n){return j$(n,Gs(n,e,t,r),e,t,r)}},M$=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},dw=function(e,t,r,n,i){return i?Qr(r,n).length+t.length>i:e.length>1},q$=function(e,t,r,n,i,a,o){return(dw(e,t,i,a,o)||r)&&!n},fw=(function(e,t,r,n){var i=e.type,a=e.displayName,o=a===void 0?"":a,s=e.childrens,l=e.props,u=l===void 0?{}:l,p=e.defaultProps,f=p===void 0?{}:p;if(i!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(i));var h=n.filterProps,m=n.maxInlineAttributesLineLength,g=n.showDefaultProps,E=n.sortProps,A=n.tabStop,v="<".concat(o),T=v,I=v,R=!1,D=[],y=B$(u,h);Object.keys(u).filter(y).filter(M$(f,u)).forEach(function(P){return D.push(P)}),Object.keys(f).filter(y).filter(function(){return g}).filter(function(P){return!D.includes(P)}).forEach(function(P){return D.push(P)});var w=N$(E)(D);if(w.forEach(function(P){var z=O$(P,Object.keys(u).includes(P),u[P],Object.keys(f).includes(P),f[P],t,r,n),L=z.attributeFormattedInline,K=z.attributeFormattedMultiline,q=z.isMultilineAttribute;q&&(R=!0),T+=L,I+=K}),I+=`
1025
+ `.concat(Qr(r,A)),q$(w,T,R,t,r,A,m)?v=I:v=T,s&&s.length>0){var S=r+1;v+=">",t||(v+=`
1026
+ `,v+=Qr(S,A)),v+=s.reduce(F$,[]).map(k$(t,S,n)).join(t?"":`
1027
+ `.concat(Qr(S,A))),t||(v+=`
1028
+ `,v+=Qr(S-1,A)),v+="</".concat(o,">")}else dw(w,T,r,A,m)||(v+=" "),v+="/>";return v}),L$="",ey="React.Fragment",$$=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},V$=function(e){var t=e.key;return!!t},U$=function(e){var t=e.childrens;return t.length===0},J$=(function(e,t,r,n){var i=e.type,a=e.key,o=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var s=n.useFragmentShortSyntax,l;return s?U$(e)||V$(e)?l=ey:l=L$:l=ey,fw($$(l,a,o),t,r,n)}),H$=["<",">","{","}"],G$=function(e){return H$.some(function(t){return e.includes(t)})},z$=function(e){return G$(e)?"{`".concat(e,"`}"):e},W$=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Gs=(function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(W$(z$(String(e.value)))):"";if(e.type==="ReactElement")return fw(e,t,r,n);if(e.type==="ReactFragment")return J$(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))}),K$=(function(e,t){return Gs(e,!1,0,t)}),hw=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,i=t.showDefaultProps,a=i===void 0?!0:i,o=t.showFunctions,s=o===void 0?!1:o,l=t.functionValue,u=t.tabStop,p=u===void 0?2:u,f=t.useBooleanShorthandSyntax,h=f===void 0?!0:f,m=t.useFragmentShortSyntax,g=m===void 0?!0:m,E=t.sortProps,A=E===void 0?!0:E,v=t.maxInlineAttributesLineLength,T=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var I={filterProps:n,showDefaultProps:a,showFunctions:s,functionValue:l,tabStop:p,useBooleanShorthandSyntax:h,useFragmentShortSyntax:g,sortProps:A,maxInlineAttributesLineLength:v,displayName:T};return K$(Hs(e,I),I)};function Bu(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}function Y$(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],o=e[a];r[a]=t(o,a,e)}return r}var X$=Object.create,mw=Object.defineProperty,Q$=Object.getOwnPropertyDescriptor,yw=Object.getOwnPropertyNames,Z$=Object.getPrototypeOf,e7=Object.prototype.hasOwnProperty,t7=(e,t)=>function(){return t||(0,e[yw(e)[0]])((t={exports:{}}).exports,t),t.exports},r7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of yw(t))!e7.call(e,i)&&i!==r&&mw(e,i,{get:()=>t[i],enumerable:!(n=Q$(t,i))||n.enumerable});return e},n7=(e,t,r)=>(r=e!=null?X$(Z$(e)):{},r7(mw(r,"default",{value:e,enumerable:!0}),e)),i7=t7({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(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(c){return c.text!==void 0&&c.text!==""?`'${c.type}' with value '${c.text}'`:`'${c.type}'`}class i extends Error{constructor(b){super(`No parslet found for token: ${n(b)}`),this.token=b,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class a extends Error{constructor(b){super(`The parsing ended early. The next token was: ${n(b)}`),this.token=b,Object.setPrototypeOf(this,a.prototype)}getToken(){return this.token}}class o extends Error{constructor(b,x){let k=`Unexpected type: '${b.type}'.`;x!==void 0&&(k+=` Message: ${x}`),super(k),Object.setPrototypeOf(this,o.prototype)}}function s(c){return b=>b.startsWith(c)?{type:c,text:c}:null}function l(c){let b=0,x,k=c[0],ee=!1;if(k!=="'"&&k!=='"')return null;for(;b<c.length;){if(b++,x=c[b],!ee&&x===k){b++;break}ee=!ee&&x==="\\"}if(x!==k)throw new Error("Unterminated String");return c.slice(0,b)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),p=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 f(c){let b=c[0];if(!u.test(b))return null;let x=1;do{if(b=c[x],!p.test(b))break;x++}while(x<c.length);return c.slice(0,x)}let h=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(c){var b,x;return(x=(b=h.exec(c))===null||b===void 0?void 0:b[0])!==null&&x!==void 0?x:null}let g=c=>{let b=f(c);return b==null?null:{type:"Identifier",text:b}};function E(c){return b=>{if(!b.startsWith(c))return null;let x=b[c.length];return x!==void 0&&p.test(x)?null:{type:c,text:c}}}let A=c=>{let b=l(c);return b==null?null:{type:"StringValue",text:b}},v=c=>c.length>0?null:{type:"EOF",text:""},T=c=>{let b=m(c);return b===null?null:{type:"Number",text:b}},I=[v,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),E("undefined"),E("null"),E("function"),E("this"),E("new"),E("module"),E("event"),E("extends"),E("external"),E("infer"),E("typeof"),E("keyof"),E("readonly"),E("import"),E("is"),E("in"),E("asserts"),T,g,A],R=/^\s*\n\s*/;class D{static create(b){let x=this.read(b);b=x.text;let k=this.read(b);return b=k.text,new D(b,void 0,x.token,k.token)}constructor(b,x,k,ee){this.text="",this.text=b,this.previous=x,this.current=k,this.next=ee}static read(b,x=!1){x=x||R.test(b),b=b.trim();for(let k of I){let ee=k(b);if(ee!==null){let ue=Object.assign(Object.assign({},ee),{startOfLine:x});return b=b.slice(ue.text.length),{text:b,token:ue}}}throw new Error("Unexpected Token "+b)}advance(){let b=D.read(this.text);return new D(b.text,this.current,this.next,b.token)}}function y(c){if(c===void 0)throw new Error("Unexpected undefined");if(c.type==="JsdocTypeKeyValue"||c.type==="JsdocTypeParameterList"||c.type==="JsdocTypeProperty"||c.type==="JsdocTypeReadonlyProperty"||c.type==="JsdocTypeObjectField"||c.type==="JsdocTypeJsdocObjectField"||c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"||c.type==="JsdocTypeTypeParameter")throw new o(c);return c}function w(c){return c.type==="JsdocTypeKeyValue"?P(c):y(c)}function S(c){return c.type==="JsdocTypeName"?c:P(c)}function P(c){if(c.type!=="JsdocTypeKeyValue")throw new o(c);return c}function z(c){var b;if(c.type==="JsdocTypeVariadic"){if(((b=c.element)===null||b===void 0?void 0:b.type)==="JsdocTypeName")return c;throw new o(c)}if(c.type!=="JsdocTypeNumber"&&c.type!=="JsdocTypeName")throw new o(c);return c}function L(c){if(c.type==="JsdocTypeTuple"||c.type==="JsdocTypeGeneric"&&c.meta.brackets==="square")return c;throw new o(c)}function K(c){return c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"}var q;(function(c){c[c.ALL=0]="ALL",c[c.PARAMETER_LIST=1]="PARAMETER_LIST",c[c.OBJECT=2]="OBJECT",c[c.KEY_VALUE=3]="KEY_VALUE",c[c.INDEX_BRACKETS=4]="INDEX_BRACKETS",c[c.UNION=5]="UNION",c[c.INTERSECTION=6]="INTERSECTION",c[c.PREFIX=7]="PREFIX",c[c.INFIX=8]="INFIX",c[c.TUPLE=9]="TUPLE",c[c.SYMBOL=10]="SYMBOL",c[c.OPTIONAL=11]="OPTIONAL",c[c.NULLABLE=12]="NULLABLE",c[c.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",c[c.FUNCTION=14]="FUNCTION",c[c.ARROW=15]="ARROW",c[c.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",c[c.GENERIC=17]="GENERIC",c[c.NAME_PATH=18]="NAME_PATH",c[c.PARENTHESIS=19]="PARENTHESIS",c[c.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(q||(q={}));class B{constructor(b,x,k){this.grammar=b,typeof x=="string"?this._lexer=D.create(x):this._lexer=x,this.baseParser=k}get lexer(){return this._lexer}parse(){let b=this.parseType(q.ALL);if(this.lexer.current.type!=="EOF")throw new a(this.lexer.current);return b}parseType(b){return y(this.parseIntermediateType(b))}parseIntermediateType(b){let x=this.tryParslets(null,b);if(x===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(x,b)}parseInfixIntermediateType(b,x){let k=this.tryParslets(b,x);for(;k!==null;)b=k,k=this.tryParslets(b,x);return b}tryParslets(b,x){for(let k of this.grammar){let ee=k(this,x,b);if(ee!==null)return ee}return null}consume(b){return Array.isArray(b)||(b=[b]),b.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(b){this._lexer=b.lexer}}function V(c){return c==="}"||c==="EOF"||c==="|"||c===","||c===")"||c===">"}let X=(c,b,x)=>{let k=c.lexer.current.type,ee=c.lexer.next.type;return x==null&&k==="?"&&!V(ee)||x!=null&&k==="?"?(c.consume("?"),x==null?{type:"JsdocTypeNullable",element:c.parseType(q.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:y(x),meta:{position:"suffix"}}):null};function Q(c){let b=(x,k,ee)=>{let ue=x.lexer.current.type,he=x.lexer.next.type;if(ee===null){if("parsePrefix"in c&&c.accept(ue,he))return c.parsePrefix(x)}else if("parseInfix"in c&&c.precedence>k&&c.accept(ue,he))return c.parseInfix(x,ee);return null};return Object.defineProperty(b,"name",{value:c.name}),b}let oe=Q({name:"optionalParslet",accept:c=>c==="=",precedence:q.OPTIONAL,parsePrefix:c=>(c.consume("="),{type:"JsdocTypeOptional",element:c.parseType(q.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(c,b)=>(c.consume("="),{type:"JsdocTypeOptional",element:y(b),meta:{position:"suffix"}})}),Ee=Q({name:"numberParslet",accept:c=>c==="Number",parsePrefix:c=>{let b=parseFloat(c.lexer.current.text);return c.consume("Number"),{type:"JsdocTypeNumber",value:b}}}),Pe=Q({name:"parenthesisParslet",accept:c=>c==="(",parsePrefix:c=>{if(c.consume("("),c.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let b=c.parseIntermediateType(q.ALL);if(!c.consume(")"))throw new Error("Unterminated parenthesis");return b.type==="JsdocTypeParameterList"?b:b.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[b]}:{type:"JsdocTypeParenthesis",element:y(b)}}}),W=Q({name:"specialTypesParslet",accept:(c,b)=>c==="?"&&V(b)||c==="null"||c==="undefined"||c==="*",parsePrefix:c=>{if(c.consume("null"))return{type:"JsdocTypeNull"};if(c.consume("undefined"))return{type:"JsdocTypeUndefined"};if(c.consume("*"))return{type:"JsdocTypeAny"};if(c.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+c.lexer.current.text)}}),H=Q({name:"notNullableParslet",accept:c=>c==="!",precedence:q.NULLABLE,parsePrefix:c=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:c.parseType(q.NULLABLE),meta:{position:"prefix"}}),parseInfix:(c,b)=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:y(b),meta:{position:"suffix"}})});function re({allowTrailingComma:c}){return Q({name:"parameterListParslet",accept:b=>b===",",precedence:q.PARAMETER_LIST,parseInfix:(b,x)=>{let k=[w(x)];b.consume(",");do try{let ee=b.parseIntermediateType(q.PARAMETER_LIST);k.push(w(ee))}catch(ee){if(ee instanceof i)break;throw ee}while(b.consume(","));if(k.length>0&&k.slice(0,-1).some(ee=>ee.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:k}}})}let ce=Q({name:"genericParslet",accept:(c,b)=>c==="<"||c==="."&&b==="<",precedence:q.GENERIC,parseInfix:(c,b)=>{let x=c.consume(".");c.consume("<");let k=[],ee=!1;if(c.consume("infer")){ee=!0;let ue=c.parseIntermediateType(q.SYMBOL);if(ue.type!=="JsdocTypeName")throw new o(ue,"A typescript asserts always has to have a name on the left side.");k.push(ue)}else do k.push(c.parseType(q.PARAMETER_LIST));while(c.consume(","));if(!c.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:y(b),elements:k},ee?{infer:!0}:{}),{meta:{brackets:"angle",dot:x}})}}),le=Q({name:"unionParslet",accept:c=>c==="|",precedence:q.UNION,parseInfix:(c,b)=>{c.consume("|");let x=[];do x.push(c.parseType(q.UNION));while(c.consume("|"));return{type:"JsdocTypeUnion",elements:[y(b),...x]}}}),ie=[X,oe,Ee,Pe,W,H,re({allowTrailingComma:!0}),ce,le,oe];function ve({allowSquareBracketsOnAnyType:c,allowJsdocNamePaths:b,pathGrammar:x}){return function(k,ee,ue){if(ue==null||ee>=q.NAME_PATH)return null;let he=k.lexer.current.type,be=k.lexer.next.type;if(!(he==="."&&be!=="<"||he==="["&&(c||ue.type==="JsdocTypeName")||b&&(he==="~"||he==="#")))return null;let ke,We=!1;k.consume(".")?ke="property":k.consume("[")?(ke="property-brackets",We=!0):k.consume("~")?ke="inner":(k.consume("#"),ke="instance");let Ct=x!==null?new B(x,k.lexer,k):k,dt=Ct.parseIntermediateType(q.NAME_PATH);k.acceptLexerState(Ct);let nr;switch(dt.type){case"JsdocTypeName":nr={type:"JsdocTypeProperty",value:dt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":nr={type:"JsdocTypeProperty",value:dt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":nr={type:"JsdocTypeProperty",value:dt.value,meta:{quote:dt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(dt.specialType==="event")nr=dt;else throw new o(dt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(dt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(We&&!k.consume("]")){let Nn=k.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Nn.type}' with text '${Nn.text}'`)}return{type:"JsdocTypeNamePath",left:y(ue),right:nr,pathType:ke}}}function Re({allowedAdditionalTokens:c}){return Q({name:"nameParslet",accept:b=>b==="Identifier"||b==="this"||b==="new"||c.includes(b),parsePrefix:b=>{let{type:x,text:k}=b.lexer.current;return b.consume(x),{type:"JsdocTypeName",value:k}}})}let $e=Q({name:"stringValueParslet",accept:c=>c==="StringValue",parsePrefix:c=>{let b=c.lexer.current.text;return c.consume("StringValue"),{type:"JsdocTypeStringValue",value:b.slice(1,-1),meta:{quote:b[0]==="'"?"single":"double"}}}});function Z({pathGrammar:c,allowedTypes:b}){return Q({name:"specialNamePathParslet",accept:x=>b.includes(x),parsePrefix:x=>{let k=x.lexer.current.type;if(x.consume(k),!x.consume(":"))return{type:"JsdocTypeName",value:k};let ee,ue=x.lexer.current;if(x.consume("StringValue"))ee={type:"JsdocTypeSpecialNamePath",value:ue.text.slice(1,-1),specialType:k,meta:{quote:ue.text[0]==="'"?"single":"double"}};else{let ke="",We=["Identifier","@","/"];for(;We.some(Ct=>x.consume(Ct));)ke+=ue.text,ue=x.lexer.current;ee={type:"JsdocTypeSpecialNamePath",value:ke,specialType:k,meta:{quote:void 0}}}let he=new B(c,x.lexer,x),be=he.parseInfixIntermediateType(ee,q.ALL);return x.acceptLexerState(he),y(be)}})}let me=[Re({allowedAdditionalTokens:["external","module"]}),$e,Ee,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ae=[...me,Z({allowedTypes:["event"],pathGrammar:me})];function De(c){let b;if(c.type==="JsdocTypeParameterList")b=c.elements;else if(c.type==="JsdocTypeParenthesis")b=[c.element];else throw new o(c);return b.map(x=>w(x))}function xe(c){let b=De(c);if(b.some(x=>x.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return b}function Oe({allowNamedParameters:c,allowNoReturnType:b,allowWithoutParenthesis:x,allowNewAsFunctionKeyword:k}){return Q({name:"functionParslet",accept:(ee,ue)=>ee==="function"||k&&ee==="new"&&ue==="(",parsePrefix:ee=>{let ue=ee.consume("new");ee.consume("function");let he=ee.lexer.current.type==="(";if(!he){if(!x)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let be={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ue,parenthesis:he},ke=ee.parseIntermediateType(q.FUNCTION);if(c===void 0)be.parameters=xe(ke);else{if(ue&&ke.type==="JsdocTypeFunction"&&ke.arrow)return be=ke,be.constructor=!0,be;be.parameters=De(ke);for(let We of be.parameters)if(We.type==="JsdocTypeKeyValue"&&!c.includes(We.key))throw new Error(`only allowed named parameters are ${c.join(", ")} but got ${We.type}`)}if(ee.consume(":"))be.returnType=ee.parseType(q.PREFIX);else if(!b)throw new Error("function is missing return type");return be}})}function Fe({allowPostfix:c,allowEnclosingBrackets:b}){return Q({name:"variadicParslet",accept:x=>x==="...",precedence:q.PREFIX,parsePrefix:x=>{x.consume("...");let k=b&&x.consume("[");try{let ee=x.parseType(q.PREFIX);if(k&&!x.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:y(ee),meta:{position:"prefix",squareBrackets:k}}}catch(ee){if(ee instanceof i){if(k)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ee}},parseInfix:c?(x,k)=>(x.consume("..."),{type:"JsdocTypeVariadic",element:y(k),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Me=Q({name:"symbolParslet",accept:c=>c==="(",precedence:q.SYMBOL,parseInfix:(c,b)=>{if(b.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");c.consume("(");let x={type:"JsdocTypeSymbol",value:b.value};if(!c.consume(")")){let k=c.parseIntermediateType(q.SYMBOL);if(x.element=z(k),!c.consume(")"))throw new Error("Symbol does not end after value")}return x}}),ut=Q({name:"arrayBracketsParslet",precedence:q.ARRAY_BRACKETS,accept:(c,b)=>c==="["&&b==="]",parseInfix:(c,b)=>(c.consume("["),c.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[y(b)],meta:{brackets:"square",dot:!1}})});function Ft({objectFieldGrammar:c,allowKeyTypes:b}){return Q({name:"objectParslet",accept:x=>x==="{",parsePrefix:x=>{x.consume("{");let k={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!x.consume("}")){let ee,ue=new B(c,x.lexer,x);for(;;){ue.acceptLexerState(x);let he=ue.parseIntermediateType(q.OBJECT);x.acceptLexerState(ue),he===void 0&&b&&(he=x.parseIntermediateType(q.OBJECT));let be=!1;if(he.type==="JsdocTypeNullable"&&(be=!0,he=he.element),he.type==="JsdocTypeNumber"||he.type==="JsdocTypeName"||he.type==="JsdocTypeStringValue"){let ke;he.type==="JsdocTypeStringValue"&&(ke=he.meta.quote),k.elements.push({type:"JsdocTypeObjectField",key:he.value.toString(),right:void 0,optional:be,readonly:!1,meta:{quote:ke}})}else if(he.type==="JsdocTypeObjectField"||he.type==="JsdocTypeJsdocObjectField")k.elements.push(he);else throw new o(he);if(x.lexer.current.startOfLine)ee="linebreak",x.consume(",")||x.consume(";");else if(x.consume(","))ee="comma";else if(x.consume(";"))ee="semicolon";else break;if(x.lexer.current.type==="}")break}if(k.meta.separator=ee??"comma",ee==="linebreak"&&(k.meta.propertyIndent=" "),!x.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return k}})}function Je({allowSquaredProperties:c,allowKeyTypes:b,allowReadonly:x,allowOptional:k}){return Q({name:"objectFieldParslet",precedence:q.KEY_VALUE,accept:ee=>ee===":",parseInfix:(ee,ue)=>{var he;let be=!1,ke=!1;k&&ue.type==="JsdocTypeNullable"&&(be=!0,ue=ue.element),x&&ue.type==="JsdocTypeReadonlyProperty"&&(ke=!0,ue=ue.element);let We=(he=ee.baseParser)!==null&&he!==void 0?he:ee;if(We.acceptLexerState(ee),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"||K(ue)){if(K(ue)&&!c)throw new o(ue);We.consume(":");let Ct;ue.type==="JsdocTypeStringValue"&&(Ct=ue.meta.quote);let dt=We.parseType(q.KEY_VALUE);return ee.acceptLexerState(We),{type:"JsdocTypeObjectField",key:K(ue)?ue:ue.value.toString(),right:dt,optional:be,readonly:ke,meta:{quote:Ct}}}else{if(!b)throw new o(ue);We.consume(":");let Ct=We.parseType(q.KEY_VALUE);return ee.acceptLexerState(We),{type:"JsdocTypeJsdocObjectField",left:y(ue),right:Ct}}}})}function yt({allowOptional:c,allowVariadic:b}){return Q({name:"keyValueParslet",precedence:q.KEY_VALUE,accept:x=>x===":",parseInfix:(x,k)=>{let ee=!1,ue=!1;if(c&&k.type==="JsdocTypeNullable"&&(ee=!0,k=k.element),b&&k.type==="JsdocTypeVariadic"&&k.element!==void 0&&(ue=!0,k=k.element),k.type!=="JsdocTypeName")throw new o(k);x.consume(":");let he=x.parseType(q.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:k.value,right:he,optional:ee,variadic:ue}}})}let Ye=[...ie,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$e,Z({allowedTypes:["module","external","event"],pathGrammar:Ae}),Fe({allowEnclosingBrackets:!0,allowPostfix:!0}),Re({allowedAdditionalTokens:["keyof"]}),Me,ut,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae})],er=[...Ye,Ft({objectFieldGrammar:[Re({allowedAdditionalTokens:["typeof","module","in"]}),Je({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Ye],allowKeyTypes:!0}),yt({allowOptional:!0,allowVariadic:!0})],It=Q({name:"typeOfParslet",accept:c=>c==="typeof",parsePrefix:c=>(c.consume("typeof"),{type:"JsdocTypeTypeof",element:c.parseType(q.KEY_OF_TYPE_OF)})}),ge=[Re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),X,oe,$e,Ee,Je({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],pt=[...ie,Ft({allowKeyTypes:!1,objectFieldGrammar:ge}),Re({allowedAdditionalTokens:["event","external","in"]}),It,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),Re({allowedAdditionalTokens:["keyof"]}),Z({allowedTypes:["module"],pathGrammar:Ae}),ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae}),yt({allowOptional:!1,allowVariadic:!1}),Me],Be=Q({name:"assertsParslet",accept:c=>c==="asserts",parsePrefix:c=>{c.consume("asserts");let b=c.parseIntermediateType(q.SYMBOL);if(b.type!=="JsdocTypeName")throw new o(b,"A typescript asserts always has to have a name on the left side.");return c.consume("is")?{type:"JsdocTypeAsserts",left:b,right:y(c.parseIntermediateType(q.INFIX))}:{type:"JsdocTypeAssertsPlain",element:b}}});function _t({allowQuestionMark:c}){return Q({name:"tupleParslet",accept:b=>b==="[",parsePrefix:b=>{b.consume("[");let x={type:"JsdocTypeTuple",elements:[]};if(b.consume("]"))return x;let k=b.parseIntermediateType(q.ALL);if(k.type==="JsdocTypeParameterList"?k.elements[0].type==="JsdocTypeKeyValue"?x.elements=k.elements.map(P):x.elements=k.elements.map(y):k.type==="JsdocTypeKeyValue"?x.elements=[P(k)]:x.elements=[y(k)],!b.consume("]"))throw new Error("Unterminated '['");if(x.elements.some(ee=>ee.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return x}})}let et=Q({name:"keyOfParslet",accept:c=>c==="keyof",parsePrefix:c=>(c.consume("keyof"),{type:"JsdocTypeKeyof",element:y(c.parseType(q.KEY_OF_TYPE_OF))})}),_r=Q({name:"importParslet",accept:c=>c==="import",parsePrefix:c=>{if(c.consume("import"),!c.consume("("))throw new Error("Missing parenthesis after import keyword");let b=c.parseType(q.PREFIX);if(b.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!c.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:b}}}),Rr=Q({name:"readonlyPropertyParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:c.parseIntermediateType(q.KEY_VALUE)})}),gt=Q({name:"arrowFunctionParslet",precedence:q.ARROW,accept:c=>c==="=>",parseInfix:(c,b)=>(c.consume("=>"),{type:"JsdocTypeFunction",parameters:De(b).map(S),arrow:!0,constructor:!1,parenthesis:!0,returnType:c.parseType(q.OBJECT)})}),je=Q({name:"genericArrowFunctionParslet",accept:c=>c==="<",parsePrefix:c=>{let b=[];c.consume("<");do{let k,ee=c.parseIntermediateType(q.SYMBOL);if(ee.type==="JsdocTypeOptional"&&(ee=ee.element,k=c.parseType(q.SYMBOL)),ee.type!=="JsdocTypeName")throw new o(ee);let ue;c.consume("extends")&&(ue=c.parseType(q.SYMBOL),ue.type==="JsdocTypeOptional"&&(ue=ue.element,k=c.parseType(q.SYMBOL)));let he={type:"JsdocTypeTypeParameter",name:ee};if(ue!==void 0&&(he.constraint=ue),k!==void 0&&(he.defaultValue=k),b.push(he),c.consume(">"))break}while(c.consume(","));let x=c.parseIntermediateType(q.SYMBOL);return x.typeParameters=b,x}}),tr=Q({name:"intersectionParslet",accept:c=>c==="&",precedence:q.INTERSECTION,parseInfix:(c,b)=>{c.consume("&");let x=[];do x.push(c.parseType(q.INTERSECTION));while(c.consume("&"));return{type:"JsdocTypeIntersection",elements:[y(b),...x]}}}),ot=Q({name:"predicateParslet",precedence:q.INFIX,accept:c=>c==="is",parseInfix:(c,b)=>{if(b.type!=="JsdocTypeName")throw new o(b,"A typescript predicate always has to have a name on the left side.");return c.consume("is"),{type:"JsdocTypePredicate",left:b,right:y(c.parseIntermediateType(q.INFIX))}}}),$t=Q({name:"objectSquareBracketPropertyParslet",accept:c=>c==="[",parsePrefix:c=>{if(c.baseParser===void 0)throw new Error("Only allowed inside object grammar");c.consume("[");let b=c.lexer.current.text;c.consume("Identifier");let x;if(c.consume(":")){let k=c.baseParser;k.acceptLexerState(c),x={type:"JsdocTypeIndexSignature",key:b,right:k.parseType(q.INDEX_BRACKETS)},c.acceptLexerState(k)}else if(c.consume("in")){let k=c.baseParser;k.acceptLexerState(c),x={type:"JsdocTypeMappedType",key:b,right:k.parseType(q.ARRAY_BRACKETS)},c.acceptLexerState(k)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!c.consume("]"))throw new Error("Unterminated square brackets");return x}}),Mr=Q({name:"readonlyArrayParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:L(c.parseIntermediateType(q.ALL))})}),rt=Q({name:"conditionalParslet",precedence:q.INFIX,accept:c=>c==="extends",parseInfix:(c,b)=>{c.consume("extends");let x=c.parseType(q.KEY_OF_TYPE_OF).element,k=c.parseType(q.INFIX);return c.consume(":"),{type:"JsdocTypeConditional",checksType:y(b),extendsType:x,trueType:k,falseType:c.parseType(q.INFIX)}}}),At=[Rr,Re({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),X,oe,$e,Ee,Je({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),$t],rr=[...ie,Ft({allowKeyTypes:!1,objectFieldGrammar:At}),Mr,It,et,_r,$e,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),_t({allowQuestionMark:!1}),Fe({allowEnclosingBrackets:!1,allowPostfix:!1}),Be,rt,Re({allowedAdditionalTokens:["event","external","in"]}),Z({allowedTypes:["module"],pathGrammar:Ae}),ut,gt,je,ve({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ae}),tr,ot,yt({allowVariadic:!0,allowOptional:!0})];function bt(c,b){switch(b){case"closure":return new B(pt,c).parse();case"jsdoc":return new B(er,c).parse();case"typescript":return new B(rr,c).parse()}}function nt(c,b=["typescript","closure","jsdoc"]){let x;for(let k of b)try{return bt(c,k)}catch(ee){x=ee}throw x}function Nt(c,b){let x=c[b.type];if(x===void 0)throw new Error(`In this set of transform rules exists no rule for type ${b.type}.`);return x(b,k=>Nt(c,k))}function Ne(c){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function C(c){let b={params:[]};for(let x of c.parameters)x.type==="JsdocTypeKeyValue"?x.key==="this"?b.this=x.right:x.key==="new"?b.new=x.right:b.params.push(x):b.params.push(x);return b}function j(c,b,x){return c==="prefix"?x+b:b+x}function F(c,b){switch(b){case"double":return`"${c}"`;case"single":return`'${c}'`;case void 0:return c}}function O(){return{JsdocTypeParenthesis:(c,b)=>`(${c.element!==void 0?b(c.element):""})`,JsdocTypeKeyof:(c,b)=>`keyof ${b(c.element)}`,JsdocTypeFunction:(c,b)=>{var x;if(c.arrow){if(c.returnType===void 0)throw new Error("Arrow function needs a return type.");let k=`${c.typeParameters!==void 0?`<${(x=c.typeParameters.map(b).join(", "))!==null&&x!==void 0?x:""}>`:""}(${c.parameters.map(b).join(", ")}) => ${b(c.returnType)}`;return c.constructor&&(k="new "+k),k}else{let k=c.constructor?"new":"function";return c.parenthesis&&(k+=`(${c.parameters.map(b).join(", ")})`,c.returnType!==void 0&&(k+=`: ${b(c.returnType)}`)),k}},JsdocTypeName:c=>c.value,JsdocTypeTuple:(c,b)=>`[${c.elements.map(b).join(", ")}]`,JsdocTypeVariadic:(c,b)=>c.meta.position===void 0?"...":j(c.meta.position,b(c.element),"..."),JsdocTypeNamePath:(c,b)=>{let x=b(c.left),k=b(c.right);switch(c.pathType){case"inner":return`${x}~${k}`;case"instance":return`${x}#${k}`;case"property":return`${x}.${k}`;case"property-brackets":return`${x}[${k}]`}},JsdocTypeStringValue:c=>F(c.value,c.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(c,b)=>{if(c.meta.brackets==="square"){let x=c.elements[0],k=b(x);return x.type==="JsdocTypeUnion"||x.type==="JsdocTypeIntersection"?`(${k})[]`:`${k}[]`}else return`${b(c.left)}${c.meta.dot?".":""}<${c.infer===!0?"infer ":""}${c.elements.map(b).join(", ")}>`},JsdocTypeImport:(c,b)=>`import(${b(c.element)})`,JsdocTypeObjectField:(c,b)=>{let x="";return c.readonly&&(x+="readonly "),typeof c.key=="string"?x+=F(c.key,c.meta.quote):x+=b(c.key),c.optional&&(x+="?"),c.right===void 0?x:x+`: ${b(c.right)}`},JsdocTypeJsdocObjectField:(c,b)=>`${b(c.left)}: ${b(c.right)}`,JsdocTypeKeyValue:(c,b)=>{let x=c.key;return c.optional&&(x+="?"),c.variadic&&(x="..."+x),c.right===void 0?x:x+`: ${b(c.right)}`},JsdocTypeSpecialNamePath:c=>`${c.specialType}:${F(c.value,c.meta.quote)}`,JsdocTypeNotNullable:(c,b)=>j(c.meta.position,b(c.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(c,b)=>j(c.meta.position,b(c.element),"?"),JsdocTypeNumber:c=>c.value.toString(),JsdocTypeObject:(c,b)=>{var x,k;return`{${(c.meta.separator==="linebreak"&&c.elements.length>1?`
1029
+ `+((x=c.meta.propertyIndent)!==null&&x!==void 0?x:""):"")+c.elements.map(b).join(c.meta.separator==="comma"?", ":c.meta.separator==="linebreak"?`
1030
+ `+((k=c.meta.propertyIndent)!==null&&k!==void 0?k:""):"; ")+(c.meta.separator==="linebreak"&&c.elements.length>1?`
1031
+ `:"")}}`},JsdocTypeOptional:(c,b)=>j(c.meta.position,b(c.element),"="),JsdocTypeSymbol:(c,b)=>`${c.value}(${c.element!==void 0?b(c.element):""})`,JsdocTypeTypeof:(c,b)=>`typeof ${b(c.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(c,b)=>c.elements.map(b).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(c,b)=>c.elements.map(b).join(" & "),JsdocTypeProperty:c=>F(c.value,c.meta.quote),JsdocTypePredicate:(c,b)=>`${b(c.left)} is ${b(c.right)}`,JsdocTypeIndexSignature:(c,b)=>`[${c.key}: ${b(c.right)}]`,JsdocTypeMappedType:(c,b)=>`[${c.key} in ${b(c.right)}]`,JsdocTypeAsserts:(c,b)=>`asserts ${b(c.left)} is ${b(c.right)}`,JsdocTypeReadonlyArray:(c,b)=>`readonly ${b(c.element)}`,JsdocTypeAssertsPlain:(c,b)=>`asserts ${b(c.element)}`,JsdocTypeConditional:(c,b)=>`${b(c.checksType)} extends ${b(c.extendsType)} ? ${b(c.trueType)} : ${b(c.falseType)}`,JsdocTypeTypeParameter:(c,b)=>`${b(c.name)}${c.constraint!==void 0?` extends ${b(c.constraint)}`:""}${c.defaultValue!==void 0?` = ${b(c.defaultValue)}`:""}`}}let U=O();function se(c){return Nt(U,c)}let pe=["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 fe(c){let b={type:"NameExpression",name:c};return pe.includes(c)&&(b.reservedWord=!0),b}let Se={JsdocTypeOptional:(c,b)=>{let x=b(c.element);return x.optional=!0,x},JsdocTypeNullable:(c,b)=>{let x=b(c.element);return x.nullable=!0,x},JsdocTypeNotNullable:(c,b)=>{let x=b(c.element);return x.nullable=!1,x},JsdocTypeVariadic:(c,b)=>{if(c.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let x=b(c.element);return x.repeatable=!0,x},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:c=>fe(F(c.value,c.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(c,b)=>{let x=C(c),k={type:"FunctionType",params:x.params.map(b)};return x.this!==void 0&&(k.this=b(x.this)),x.new!==void 0&&(k.new=b(x.new)),c.returnType!==void 0&&(k.result=b(c.returnType)),k},JsdocTypeGeneric:(c,b)=>({type:"TypeApplication",applications:c.elements.map(x=>b(x)),expression:b(c.left)}),JsdocTypeSpecialNamePath:c=>fe(c.specialType+":"+F(c.value,c.meta.quote)),JsdocTypeName:c=>c.value!=="function"?fe(c.value):{type:"FunctionType",params:[]},JsdocTypeNumber:c=>fe(c.value.toString()),JsdocTypeObject:(c,b)=>{let x={type:"RecordType",fields:[]};for(let k of c.elements)k.type!=="JsdocTypeObjectField"&&k.type!=="JsdocTypeJsdocObjectField"?x.fields.push({type:"FieldType",key:b(k),value:void 0}):x.fields.push(b(k));return x},JsdocTypeObjectField:(c,b)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:fe(F(c.key,c.meta.quote)),value:c.right===void 0?void 0:b(c.right)}},JsdocTypeJsdocObjectField:(c,b)=>({type:"FieldType",key:b(c.left),value:b(c.right)}),JsdocTypeUnion:(c,b)=>({type:"TypeUnion",elements:c.elements.map(x=>b(x))}),JsdocTypeKeyValue:(c,b)=>({type:"FieldType",key:fe(c.key),value:c.right===void 0?void 0:b(c.right)}),JsdocTypeNamePath:(c,b)=>{let x=b(c.left),k;c.right.type==="JsdocTypeSpecialNamePath"?k=b(c.right).name:k=F(c.right.value,c.right.meta.quote);let ee=c.pathType==="inner"?"~":c.pathType==="instance"?"#":".";return fe(`${x.name}${ee}${k}`)},JsdocTypeSymbol:c=>{let b="",x=c.element,k=!1;return x?.type==="JsdocTypeVariadic"&&(x.meta.position==="prefix"?b="...":k=!0,x=x.element),x?.type==="JsdocTypeName"?b+=x.value:x?.type==="JsdocTypeNumber"&&(b+=x.value.toString()),k&&(b+="..."),fe(`${c.value}(${b})`)},JsdocTypeParenthesis:(c,b)=>b(y(c.element)),JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeImport:Ne,JsdocTypeKeyof:Ne,JsdocTypeTuple:Ne,JsdocTypeTypeof:Ne,JsdocTypeIntersection:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function Ve(c){return Nt(Se,c)}function ye(c){switch(c){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Ot(c){switch(c){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function kt(c,b){return b.length===2?{type:c,left:b[0],right:b[1]}:{type:c,left:b[0],right:kt(c,b.slice(1))}}let qr={JsdocTypeOptional:(c,b)=>({type:"OPTIONAL",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(c,b)=>({type:"NULLABLE",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(c,b)=>({type:"NOT_NULLABLE",value:b(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(c,b)=>{let x={type:"VARIADIC",meta:{syntax:c.meta.position==="prefix"?"PREFIX_DOTS":c.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return c.element!==void 0&&(x.value=b(c.element)),x},JsdocTypeName:c=>({type:"NAME",name:c.value}),JsdocTypeTypeof:(c,b)=>({type:"TYPE_QUERY",name:b(c.element)}),JsdocTypeTuple:(c,b)=>({type:"TUPLE",entries:c.elements.map(b)}),JsdocTypeKeyof:(c,b)=>({type:"KEY_QUERY",value:b(c.element)}),JsdocTypeImport:c=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ye(c.element.meta.quote),string:c.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(c,b)=>{let x=C(c),k={type:c.arrow?"ARROW":"FUNCTION",params:x.params.map(ee=>{if(ee.type==="JsdocTypeKeyValue"){if(ee.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ee.key,typeName:b(ee.right)}}else return b(ee)}),new:null,returns:null};return x.this!==void 0?k.this=b(x.this):c.arrow||(k.this=null),x.new!==void 0&&(k.new=b(x.new)),c.returnType!==void 0&&(k.returns=b(c.returnType)),k},JsdocTypeGeneric:(c,b)=>{let x={type:"GENERIC",subject:b(c.left),objects:c.elements.map(b),meta:{syntax:c.meta.brackets==="square"?"SQUARE_BRACKET":c.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return c.meta.brackets==="square"&&c.elements[0].type==="JsdocTypeFunction"&&!c.elements[0].parenthesis&&(x.objects[0]={type:"NAME",name:"function"}),x},JsdocTypeObjectField:(c,b)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:ye(c.meta.quote),value:null,readonly:!1};let x=b(c.right);return c.optional&&(x={type:"OPTIONAL",value:x,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key.toString(),quoteStyle:ye(c.meta.quote),value:x,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(c,b)=>{if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:null,readonly:!1};let x=b(c.right);return c.optional&&(x={type:"OPTIONAL",value:x,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:x,readonly:!1}},JsdocTypeObject:(c,b)=>{let x=[];for(let k of c.elements)(k.type==="JsdocTypeObjectField"||k.type==="JsdocTypeJsdocObjectField")&&x.push(b(k));return{type:"RECORD",entries:x}},JsdocTypeSpecialNamePath:c=>{if(c.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${c.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ye(c.meta.quote),path:c.value}}},JsdocTypeNamePath:(c,b)=>{let x=!1,k,ee;c.right.type==="JsdocTypeSpecialNamePath"&&c.right.specialType==="event"?(x=!0,k=c.right.value,ee=ye(c.right.meta.quote)):(k=c.right.value,ee=ye(c.right.meta.quote));let ue={type:Ot(c.pathType),owner:b(c.left),name:k,quoteStyle:ee,hasEventPrefix:x};if(ue.owner.type==="MODULE"){let he=ue.owner;return ue.owner=ue.owner.value,he.value=ue,he}else return ue},JsdocTypeUnion:(c,b)=>kt("UNION",c.elements.map(b)),JsdocTypeParenthesis:(c,b)=>({type:"PARENTHESIS",value:b(y(c.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:c=>({type:"STRING_VALUE",quoteStyle:ye(c.meta.quote),string:c.value}),JsdocTypeIntersection:(c,b)=>kt("INTERSECTION",c.elements.map(b)),JsdocTypeNumber:c=>({type:"NUMBER_VALUE",number:c.value.toString()}),JsdocTypeSymbol:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function un(c){return Nt(qr,c)}function Jt(){return{JsdocTypeIntersection:(c,b)=>({type:"JsdocTypeIntersection",elements:c.elements.map(b)}),JsdocTypeGeneric:(c,b)=>({type:"JsdocTypeGeneric",left:b(c.left),elements:c.elements.map(b),meta:{dot:c.meta.dot,brackets:c.meta.brackets}}),JsdocTypeNullable:c=>c,JsdocTypeUnion:(c,b)=>({type:"JsdocTypeUnion",elements:c.elements.map(b)}),JsdocTypeUnknown:c=>c,JsdocTypeUndefined:c=>c,JsdocTypeTypeof:(c,b)=>({type:"JsdocTypeTypeof",element:b(c.element)}),JsdocTypeSymbol:(c,b)=>{let x={type:"JsdocTypeSymbol",value:c.value};return c.element!==void 0&&(x.element=b(c.element)),x},JsdocTypeOptional:(c,b)=>({type:"JsdocTypeOptional",element:b(c.element),meta:{position:c.meta.position}}),JsdocTypeObject:(c,b)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:c.elements.map(b)}),JsdocTypeNumber:c=>c,JsdocTypeNull:c=>c,JsdocTypeNotNullable:(c,b)=>({type:"JsdocTypeNotNullable",element:b(c.element),meta:{position:c.meta.position}}),JsdocTypeSpecialNamePath:c=>c,JsdocTypeObjectField:(c,b)=>({type:"JsdocTypeObjectField",key:c.key,right:c.right===void 0?void 0:b(c.right),optional:c.optional,readonly:c.readonly,meta:c.meta}),JsdocTypeJsdocObjectField:(c,b)=>({type:"JsdocTypeJsdocObjectField",left:b(c.left),right:b(c.right)}),JsdocTypeKeyValue:(c,b)=>({type:"JsdocTypeKeyValue",key:c.key,right:c.right===void 0?void 0:b(c.right),optional:c.optional,variadic:c.variadic}),JsdocTypeImport:(c,b)=>({type:"JsdocTypeImport",element:b(c.element)}),JsdocTypeAny:c=>c,JsdocTypeStringValue:c=>c,JsdocTypeNamePath:c=>c,JsdocTypeVariadic:(c,b)=>{let x={type:"JsdocTypeVariadic",meta:{position:c.meta.position,squareBrackets:c.meta.squareBrackets}};return c.element!==void 0&&(x.element=b(c.element)),x},JsdocTypeTuple:(c,b)=>({type:"JsdocTypeTuple",elements:c.elements.map(b)}),JsdocTypeName:c=>c,JsdocTypeFunction:(c,b)=>{let x={type:"JsdocTypeFunction",arrow:c.arrow,parameters:c.parameters.map(b),constructor:c.constructor,parenthesis:c.parenthesis};return c.returnType!==void 0&&(x.returnType=b(c.returnType)),x},JsdocTypeKeyof:(c,b)=>({type:"JsdocTypeKeyof",element:b(c.element)}),JsdocTypeParenthesis:(c,b)=>({type:"JsdocTypeParenthesis",element:b(c.element)}),JsdocTypeProperty:c=>c,JsdocTypePredicate:(c,b)=>({type:"JsdocTypePredicate",left:b(c.left),right:b(c.right)}),JsdocTypeIndexSignature:(c,b)=>({type:"JsdocTypeIndexSignature",key:c.key,right:b(c.right)}),JsdocTypeMappedType:(c,b)=>({type:"JsdocTypeMappedType",key:c.key,right:b(c.right)}),JsdocTypeAsserts:(c,b)=>({type:"JsdocTypeAsserts",left:b(c.left),right:b(c.right)}),JsdocTypeReadonlyArray:(c,b)=>({type:"JsdocTypeReadonlyArray",element:b(c.element)}),JsdocTypeAssertsPlain:(c,b)=>({type:"JsdocTypeAssertsPlain",element:b(c.element)}),JsdocTypeConditional:(c,b)=>({type:"JsdocTypeConditional",checksType:b(c.checksType),extendsType:b(c.extendsType),trueType:b(c.trueType),falseType:b(c.falseType)}),JsdocTypeTypeParameter:(c,b)=>({type:"JsdocTypeTypeParameter",name:b(c.name),constraint:c.constraint!==void 0?b(c.constraint):void 0,defaultValue:c.defaultValue!==void 0?b(c.defaultValue):void 0})}}let ln={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"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Lr(c,b,x,k,ee){k?.(c,b,x);let ue=ln[c.type];for(let he of ue){let be=c[he];if(be!==void 0)if(Array.isArray(be))for(let ke of be)Lr(ke,c,he,k,ee);else Lr(be,c,he,k,ee)}ee?.(c,b,x)}function zi(c,b,x){Lr(c,void 0,void 0,b,x)}r.catharsisTransform=Ve,r.identityTransformRules=Jt,r.jtpTransform=un,r.parse=bt,r.stringify=se,r.stringifyRules=O,r.transform=Nt,r.traverse=zi,r.tryParse=nt,r.visitorKeys=ln}))}});const{UnknownArgTypesError:o7}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var a7=e=>e.name==="literal",s7=e=>e.value.replace(/['|"]/g,""),u7=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=go(r.value)}),{name:"object",value:t};default:throw new o7({type:e,language:"Flow"})}},go=e=>{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(go)};case"signature":return{...n,...u7(e)};case"union":return e.elements?.every(a7)?{...n,name:"enum",value:e.elements?.map(s7)}:{...n,name:t,value:e.elements?.map(go)};case"intersection":return{...n,name:t,value:e.elements?.map(go)};default:return{...n,name:"other",value:t}}},gw=/^['"]|['"]$/g,l7=e=>e.replace(gw,""),c7=e=>gw.test(e),bw=e=>{let t=l7(e);return c7(e)||Number.isNaN(Number(t))?t:Number(t)},p7=/^\(.*\) => /,so=e=>{let{name:t,raw:r,computed:n,value:i}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?i:i.map(l=>bw(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:i&&so(i)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:so(i)};case"shape":case"exact":let o=Y$(i,s=>so(s));return{...a,name:"object",value:o};case"union":return{...a,name:"union",value:i.map(s=>so(s))};default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(p=>JSON.parse(p));return{...a,name:"enum",value:u}}catch{}let s=i?`${t}(${i})`:t,l=p7.test(t)?"function":"other";return{...a,name:l,value:s}}}};const{UnknownArgTypesError:d7}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var ty=e=>e.name==="literal",f7=e=>e.name==="undefined",h7=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=bo(r.value)}),{name:"object",value:t};default:throw new d7({type:e,language:"Typescript"})}},bo=e=>{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(bo)};case"signature":return{...n,...h7(e)};case"union":{let i=e.elements.filter(a=>!f7(a));if(i.length>0&&i.every(ty)){let a=i.filter(ty);return{...n,name:"enum",value:a.map(o=>bw(o.value))}}return{...n,name:t,value:e.elements.map(bo)}}case"intersection":return{...n,name:t,value:e.elements.map(bo)};default:return{...n,name:"other",value:t}}},_d=e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return so(t);if(r!=null)return bo(r);if(n!=null)return go(n)}catch(i){console.error(i)}return null},tc=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(tc||{}),m7=["null","undefined"];function Ad(e){return m7.some(t=>t===e)}var y7=e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)};function wd(e){return!!e.__docgenInfo}function g7(e){return e!=null&&Object.keys(e).length>0}function rc(e,t){return wd(e)?e.__docgenInfo[t]:null}function b7(e){return wd(e)?y7(e.__docgenInfo.description):""}var Sn;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Sn=Sn||(Sn={}));function E7(e){return/^\s+$/.test(e)}function v7(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}function Ei(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}function _7(e){return e.split(/\n/)}function A7(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}function w7(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}var T7=/^@\S+/;function C7({fence:e="```"}={}){let t=S7(e),r=(n,i)=>t(n)?!i:i;return function(n){let i=[[]],a=!1;for(let o of n)T7.test(o.tokens.description)&&!a?i.push([o]):i[i.length-1].push(o),a=r(o.tokens.description,a);return i}}function S7(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}function x7({startLine:e=0,markers:t=Sn}={}){let r=null,n=e;return function(i){let a=i,o=w7();if([o.lineEnd,a]=v7(a),[o.start,a]=Ei(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],o.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[o.postDelimiter,a]=Ei(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(o.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(o.delimiter=t.delim,a=a.slice(t.delim.length),[o.postDelimiter,a]=Ei(a)),s){let l=a.trimRight();o.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(o.description=a,r.push({number:n,source:i,tokens:o}),n++,s){let l=r.slice();return r=null,l}return null}}function D7({tokenizers:e}){return function(t){var r;let n=A7({source:t});for(let i of e)if(n=i(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n}}function R7(){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)}}function P7(e="compact"){let t=F7(e);return r=>{let n=0,i=[];for(let[s,{tokens:l}]of r.source.entries()){let u="";if(s===0&&l.description[0]!=="{")return r;for(let p of l.description)if(p==="{"&&n++,p==="}"&&n--,u+=p,n===0)break;if(i.push([l,u]),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 a=[],o=i[0][0].postDelimiter.length;for(let[s,[l,u]]of i.entries())l.type=u,s>0&&(l.type=l.postDelimiter.slice(o)+u,l.postDelimiter=l.postDelimiter.slice(0,o)),[l.postType,l.description]=Ei(l.description.slice(u.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}var O7=e=>e.trim();function F7(e){return e==="compact"?t=>t.map(O7).join(""):e==="preserve"?t=>t.join(`
1032
+ `):e}var I7=e=>e&&e.startsWith('"')&&e.endsWith('"');function N7(){let e=(t,{tokens:r},n)=>r.type===""?t:n;return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),i=n.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],r.name=`"${i[1]}"`,[r.postName,r.description]=Ei(n.slice(r.name.length)),t;let a=0,o="",s=!1,l;for(let p of n){if(a===0&&E7(p))break;p==="["&&a++,p==="]"&&a--,o+=p}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=o;if(o[0]==="["&&o[o.length-1]==="]"){s=!0,o=o.slice(1,-1);let p=o.split("=");if(o=p[0].trim(),p[1]!==void 0&&(l=p.slice(1).join("=").trim()),o==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!I7(l)&&/=(?!>)/.test(l))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=s,t.name=o,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=Ei(n.slice(r.name.length)),t}}function B7(e="compact",t=Sn){let r=Ew(e);return n=>(n.description=r(n.source,t),n)}function Ew(e){return e==="compact"?j7:e==="preserve"?q7:e}function j7(e,t=Sn){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}var k7=(e,{tokens:t},r)=>t.type===""?e:r,M7=({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description;function q7(e,t=Sn){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(k7,0)),e.map(M7).join(`
1033
+ `)}function L7({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Sn,tokenizers:i=[R7(),P7(r),N7(),B7(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=x7({startLine:e,markers:n}),o=C7({fence:t}),s=D7({tokenizers:i}),l=Ew(r);return function(u){let p=[];for(let f of _7(u)){let h=a(f);if(h===null)continue;let m=o(h),g=m.slice(1).map(s);p.push({description:l(m[0],n),tags:g,source:h,problems:g.reduce((E,A)=>E.concat(A.problems),[])})}return p}}function $7(e,t={}){return L7(t)(e)}var Td=n7(i7());function V7(e){return e!=null&&e.includes("@")}function U7(e){let t=`/**
1034
+ `+(e??"").split(`
1035
+ `).map(n=>` * ${n}`).join(`
1036
+ `)+`
1037
+ */`,r=$7(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}var J7={tags:["param","arg","argument","returns","ignore","deprecated"]},H7=(e,t=J7)=>{if(!V7(e))return{includesJsDoc:!1,ignore:!1};let r=U7(e),n=G7(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}};function G7(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 i=W7(n);i!=null&&(r.params==null&&(r.params=[]),r.params.push(i));break}case"deprecated":{let i=K7(n);i!=null&&(r.deprecated=i);break}case"returns":{let i=Y7(n);i!=null&&(r.returns=i);break}}return r}function z7(e){return e.replace(/[\.-]$/,"")}function W7(e){if(!e.name||e.name==="-")return null;let t=Aw(e.type);return{name:e.name,type:t,description:_w(e.description),getPrettyName:()=>z7(e.name),getTypeName:()=>t?ww(t):null}}function K7(e){return e.name?vw(e.name,e.description):null}function vw(e,t){let r=e===""?t:`${e} ${t}`;return _w(r)}function _w(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}function Y7(e){let t=Aw(e.type);return t?{type:t,description:vw(e.name,e.description),getTypeName:()=>ww(t)}:null}var In=(0,Td.stringifyRules)(),X7=In.JsdocTypeObject;In.JsdocTypeAny=()=>"any";In.JsdocTypeObject=(e,t)=>`(${X7(e,t)})`;In.JsdocTypeOptional=(e,t)=>t(e.element);In.JsdocTypeNullable=(e,t)=>t(e.element);In.JsdocTypeNotNullable=(e,t)=>t(e.element);In.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Aw(e){try{return(0,Td.parse)(e,"typescript")}catch{return null}}function ww(e){return(0,Td.transform)(In,e)}function Cd(e){return e.length>90}function Hi(e){return e.length>50}function Le(e,t){return e===t?{summary:e}:{summary:e,detail:t}}function Q7(e,t){if(e!=null){let{value:r}=e;if(!Ad(r))return Hi(r)?Le(t?.name,r):Le(r)}return null}function Tw({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Tw).join(" | "):n??e)}function Z7({name:e,raw:t,elements:r}){return r!=null?Le(r.map(Tw).join(" | ")):t!=null?Le(t.replace(/^\|\s*/,"")):Le(e)}function eV({type:e,raw:t}){return t!=null?Le(t):Le(e)}function tV({type:e,raw:t}){return t!=null?Cd(t)?Le(e,t):Le(t):Le(e)}function rV(e){let{type:t}=e;return t==="object"?tV(e):eV(e)}function nV({name:e,raw:t}){return t!=null?Cd(t)?Le(e,t):Le(t):Le(e)}function iV(e){if(e==null)return null;switch(e.name){case"union":return Z7(e);case"signature":return rV(e);default:return nV(e)}}var oV=(e,t)=>{let{flowType:r,description:n,required:i,defaultValue:a}=t;return{name:e,type:iV(r),required:i,description:n,defaultValue:Q7(a??null,r??null)}};function aV({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Ad(t))return Le(t)}return null}function sV({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Le(["Array","Record","signature"].includes(e.name)?e.raw:r)}var uV=(e,t)=>{let{description:r,required:n}=t;return{name:e,type:sV(t),required:n,description:r,defaultValue:aV(t)}};function lV(e){return e!=null?Le(e.name):null}function cV(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}function pV(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}function dV(e,t){if(e!=null){let{value:r}=e;if(!Ad(r))return cV(e)&&pV(t)?Le(JSON.stringify(r)):Le(r)}return null}function Cw(e,t,r){let{description:n,required:i,defaultValue:a}=r;return{name:e,type:lV(t),required:i,description:n,defaultValue:dV(a,t)}}function zs(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let i={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}var fV=(e,t,r)=>{let n=Cw(e,t.type,t);return n.sbType=_d(t),zs(n,r)},hV=(e,t,r)=>{let n=uV(e,t);return n.sbType=_d(t),zs(n,r)},mV=(e,t,r)=>{let n=oV(e,t);return n.sbType=_d(t),zs(n,r)},yV=(e,t,r)=>{let n=Cw(e,{name:"unknown"},t);return zs(n,r)},Sw=e=>{switch(e){case"JavaScript":return fV;case"TypeScript":return hV;case"Flow":return mV;default:return yV}},xw=e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown",gV=e=>{let t=xw(e[0]),r=Sw(t);return e.map(n=>{let i=n;return n.type?.elements&&(i={...n,type:{...n.type,value:n.type.elements}}),Dw(i.name,i,t,r)})},bV=e=>{let t=Object.keys(e),r=xw(e[t[0]]),n=Sw(r);return t.map(i=>{let a=e[i];return a!=null?Dw(i,a,r,n):null}).filter(Boolean)},EV=(e,t)=>{let r=rc(e,t);return g7(r)?Array.isArray(r)?gV(r):bV(r):[]};function Dw(e,t,r,n){let i=H7(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:n(e,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:r}}function vV(e){return e!=null?b7(e):""}var Rw=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,a)=>(Object.entries(a).forEach(([o,s])=>{let l=i[o];Array.isArray(s)||typeof l>"u"?i[o]=s:Bu(s)&&Bu(l)?t[o]=!0:typeof s<"u"&&(i[o]=s)}),i),{});return Object.keys(t).forEach(i=>{let a=r.filter(Boolean).map(o=>o[i]).filter(o=>typeof o<"u");a.every(o=>Bu(o))?n[i]=Rw(...a):n[i]=a[a.length-1]}),n},_V=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:i}=n;if(!i||!t)return r;let a=i(t);return a?Rw(a,r):r},nc=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(nc||{}),AV=mt({"../../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,i,a,o,s,l;function u(D){var y={},w,S;for(w in D)D.hasOwnProperty(w)&&(S=D[w],typeof S=="object"&&S!==null?y[w]=u(S):y[w]=S);return y}function p(D,y){var w,S,P,z;for(S=D.length,P=0;S;)w=S>>>1,z=P+w,y(D[z])?S=w:(P=z+1,S-=w+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"},a={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"]},o={},s={},l={},i={Break:o,Skip:s,Remove:l};function f(D,y){this.parent=D,this.key=y}f.prototype.replace=function(D){this.parent[this.key]=D},f.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(D,y,w,S){this.node=D,this.path=y,this.wrap=w,this.ref=S}function m(){}m.prototype.path=function(){var D,y,w,S,P,z;function L(K,q){if(Array.isArray(q))for(w=0,S=q.length;w<S;++w)K.push(q[w]);else K.push(q)}if(!this.__current.path)return null;for(P=[],D=2,y=this.__leavelist.length;D<y;++D)z=this.__leavelist[D],L(P,z.path);return L(P,this.__current.path),P},m.prototype.type=function(){var D=this.current();return D.type||this.__current.wrap},m.prototype.parents=function(){var D,y,w;for(w=[],D=1,y=this.__leavelist.length;D<y;++D)w.push(this.__leavelist[D].node);return w},m.prototype.current=function(){return this.__current.node},m.prototype.__execute=function(D,y){var w,S;return S=void 0,w=this.__current,this.__current=y,this.__state=null,D&&(S=D.call(this,y.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=w,S},m.prototype.notify=function(D){this.__state=D},m.prototype.skip=function(){this.notify(s)},m.prototype.break=function(){this.notify(o)},m.prototype.remove=function(){this.notify(l)},m.prototype.__initialize=function(D,y){this.visitor=y,this.root=D,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,y.fallback==="iteration"?this.__fallback=Object.keys:typeof y.fallback=="function"&&(this.__fallback=y.fallback),this.__keys=a,y.keys&&(this.__keys=Object.assign(Object.create(this.__keys),y.keys))};function g(D){return D==null?!1:typeof D=="object"&&typeof D.type=="string"}function E(D,y){return(D===n.ObjectExpression||D===n.ObjectPattern)&&y==="properties"}function A(D,y){for(var w=D.length-1;w>=0;--w)if(D[w].node===y)return!0;return!1}m.prototype.traverse=function(D,y){var w,S,P,z,L,K,q,B,V,X,Q,oe;for(this.__initialize(D,y),oe={},w=this.__worklist,S=this.__leavelist,w.push(new h(D,null,null,null)),S.push(new h(null,null,null,null));w.length;){if(P=w.pop(),P===oe){if(P=S.pop(),K=this.__execute(y.leave,P),this.__state===o||K===o)return;continue}if(P.node){if(K=this.__execute(y.enter,P),this.__state===o||K===o)return;if(w.push(oe),S.push(P),this.__state===s||K===s)continue;if(z=P.node,L=z.type||P.wrap,X=this.__keys[L],!X)if(this.__fallback)X=this.__fallback(z);else throw new Error("Unknown node type "+L+".");for(B=X.length;(B-=1)>=0;)if(q=X[B],Q=z[q],!!Q){if(Array.isArray(Q)){for(V=Q.length;(V-=1)>=0;)if(Q[V]&&!A(S,Q[V])){if(E(L,X[B]))P=new h(Q[V],[q,V],"Property",null);else if(g(Q[V]))P=new h(Q[V],[q,V],null,null);else continue;w.push(P)}}else if(g(Q)){if(A(S,Q))continue;w.push(new h(Q,q,null,null))}}}}},m.prototype.replace=function(D,y){var w,S,P,z,L,K,q,B,V,X,Q,oe,Ee;function Pe(W){var H,re,ce,le;if(W.ref.remove()){for(re=W.ref.key,le=W.ref.parent,H=w.length;H--;)if(ce=w[H],ce.ref&&ce.ref.parent===le){if(ce.ref.key<re)break;--ce.ref.key}}}for(this.__initialize(D,y),Q={},w=this.__worklist,S=this.__leavelist,oe={root:D},K=new h(D,null,null,new f(oe,"root")),w.push(K),S.push(K);w.length;){if(K=w.pop(),K===Q){if(K=S.pop(),L=this.__execute(y.leave,K),L!==void 0&&L!==o&&L!==s&&L!==l&&K.ref.replace(L),(this.__state===l||L===l)&&Pe(K),this.__state===o||L===o)return oe.root;continue}if(L=this.__execute(y.enter,K),L!==void 0&&L!==o&&L!==s&&L!==l&&(K.ref.replace(L),K.node=L),(this.__state===l||L===l)&&(Pe(K),K.node=null),this.__state===o||L===o)return oe.root;if(P=K.node,!!P&&(w.push(Q),S.push(K),!(this.__state===s||L===s))){if(z=P.type||K.wrap,V=this.__keys[z],!V)if(this.__fallback)V=this.__fallback(P);else throw new Error("Unknown node type "+z+".");for(q=V.length;(q-=1)>=0;)if(Ee=V[q],X=P[Ee],!!X)if(Array.isArray(X)){for(B=X.length;(B-=1)>=0;)if(X[B]){if(E(z,V[q]))K=new h(X[B],[Ee,B],"Property",new f(X,B));else if(g(X[B]))K=new h(X[B],[Ee,B],null,new f(X,B));else continue;w.push(K)}}else g(X)&&w.push(new h(X,Ee,null,new f(P,Ee)))}}return oe.root};function v(D,y){var w=new m;return w.traverse(D,y)}function T(D,y){var w=new m;return w.replace(D,y)}function I(D,y){var w;return w=p(y,function(S){return S.range[0]>D.range[0]}),D.extendedRange=[D.range[0],D.range[1]],w!==y.length&&(D.extendedRange[1]=y[w].range[0]),w-=1,w>=0&&(D.extendedRange[0]=y[w].range[1]),D}function R(D,y,w){var S=[],P,z,L,K;if(!D.range)throw new Error("attachComments needs range information");if(!w.length){if(y.length){for(L=0,z=y.length;L<z;L+=1)P=u(y[L]),P.extendedRange=[0,D.range[0]],S.push(P);D.leadingComments=S}return D}for(L=0,z=y.length;L<z;L+=1)S.push(I(u(y[L]),w));return K=0,v(D,{enter:function(q){for(var B;K<S.length&&(B=S[K],!(B.extendedRange[1]>q.range[0]));)B.extendedRange[1]===q.range[0]?(q.leadingComments||(q.leadingComments=[]),q.leadingComments.push(B),S.splice(K,1)):K+=1;if(K===S.length)return i.Break;if(S[K].extendedRange[0]>q.range[1])return i.Skip}}),K=0,v(D,{leave:function(q){for(var B;K<S.length&&(B=S[K],!(q.range[1]<B.extendedRange[0]));)q.range[1]===B.extendedRange[0]?(q.trailingComments||(q.trailingComments=[]),q.trailingComments.push(B),S.splice(K,1)):K+=1;if(K===S.length)return i.Break;if(S[K].extendedRange[0]>q.range[1])return i.Skip}}),D}return r.Syntax=n,r.traverse=v,r.replace=T,r.attachComments=R,r.VisitorKeys=a,r.VisitorOption=i,r.Controller=m,r.cloneEnvironment=function(){return t({})},r})(e)}}),wV=mt({"../../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(l){if(l==null)return!1;switch(l.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(l){if(l==null)return!1;switch(l.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(l){if(l==null)return!1;switch(l.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 a(l){return i(l)||l!=null&&l.type==="FunctionDeclaration"}function o(l){switch(l.type){case"IfStatement":return l.alternate!=null?l.alternate:l.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return l.body}return null}function s(l){var u;if(l.type!=="IfStatement"||l.alternate==null)return!1;u=l.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=o(u)}while(u);return!1}t.exports={isExpression:r,isStatement:i,isIterationStatement:n,isSourceElement:a,isProblematicIfStatement:s,trailingStatement:o}})()}}),Pw=mt({"../../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,i,a,o,s;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 l(T){return 48<=T&&T<=57}function u(T){return 48<=T&&T<=57||97<=T&&T<=102||65<=T&&T<=70}function p(T){return T>=48&&T<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function f(T){return T===32||T===9||T===11||T===12||T===160||T>=5760&&i.indexOf(T)>=0}function h(T){return T===10||T===13||T===8232||T===8233}function m(T){if(T<=65535)return String.fromCharCode(T);var I=String.fromCharCode(Math.floor((T-65536)/1024)+55296),R=String.fromCharCode((T-65536)%1024+56320);return I+R}for(a=new Array(128),s=0;s<128;++s)a[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(o=new Array(128),s=0;s<128;++s)o[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function g(T){return T<128?a[T]:n.NonAsciiIdentifierStart.test(m(T))}function E(T){return T<128?o[T]:n.NonAsciiIdentifierPart.test(m(T))}function A(T){return T<128?a[T]:r.NonAsciiIdentifierStart.test(m(T))}function v(T){return T<128?o[T]:r.NonAsciiIdentifierPart.test(m(T))}t.exports={isDecimalDigit:l,isHexDigit:u,isOctalDigit:p,isWhiteSpace:f,isLineTerminator:h,isIdentifierStartES5:g,isIdentifierPartES5:E,isIdentifierStartES6:A,isIdentifierPartES6:v}})()}}),TV=mt({"../../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=Pw();function n(g){switch(g){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(g,E){return!E&&g==="yield"?!1:a(g,E)}function a(g,E){if(E&&n(g))return!0;switch(g.length){case 2:return g==="if"||g==="in"||g==="do";case 3:return g==="var"||g==="for"||g==="new"||g==="try";case 4:return g==="this"||g==="else"||g==="case"||g==="void"||g==="with"||g==="enum";case 5:return g==="while"||g==="break"||g==="catch"||g==="throw"||g==="const"||g==="yield"||g==="class"||g==="super";case 6:return g==="return"||g==="typeof"||g==="delete"||g==="switch"||g==="export"||g==="import";case 7:return g==="default"||g==="finally"||g==="extends";case 8:return g==="function"||g==="continue"||g==="debugger";case 10:return g==="instanceof";default:return!1}}function o(g,E){return g==="null"||g==="true"||g==="false"||i(g,E)}function s(g,E){return g==="null"||g==="true"||g==="false"||a(g,E)}function l(g){return g==="eval"||g==="arguments"}function u(g){var E,A,v;if(g.length===0||(v=g.charCodeAt(0),!r.isIdentifierStartES5(v)))return!1;for(E=1,A=g.length;E<A;++E)if(v=g.charCodeAt(E),!r.isIdentifierPartES5(v))return!1;return!0}function p(g,E){return(g-55296)*1024+(E-56320)+65536}function f(g){var E,A,v,T,I;if(g.length===0)return!1;for(I=r.isIdentifierStartES6,E=0,A=g.length;E<A;++E){if(v=g.charCodeAt(E),55296<=v&&v<=56319){if(++E,E>=A||(T=g.charCodeAt(E),!(56320<=T&&T<=57343)))return!1;v=p(v,T)}if(!I(v))return!1;I=r.isIdentifierPartES6}return!0}function h(g,E){return u(g)&&!o(g,E)}function m(g,E){return f(g)&&!s(g,E)}t.exports={isKeywordES5:i,isKeywordES6:a,isReservedWordES5:o,isReservedWordES6:s,isRestrictedWord:l,isIdentifierNameES5:u,isIdentifierNameES6:f,isIdentifierES5:h,isIdentifierES6:m}})()}}),CV=mt({"../../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=wV(),e.code=Pw(),e.keyword=TV()})()}}),SV=mt({"../../../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,i=90,a=97,o=122,s=48,l=57,u=43,p=47,f=26,h=52;return n<=r&&r<=i?r-n:a<=r&&r<=o?r-a+f:s<=r&&r<=l?r-s+h:r==u?62:r==p?63:-1}}}),Ow=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=SV(),r=5,n=1<<r,i=n-1,a=n;function o(l){return l<0?(-l<<1)+1:(l<<1)+0}function s(l){var u=(l&1)===1,p=l>>1;return u?-p:p}e.encode=function(l){var u="",p,f=o(l);do p=f&i,f>>>=r,f>0&&(p|=a),u+=t.encode(p);while(f>0);return u},e.decode=function(l,u,p){var f=l.length,h=0,m=0,g,E;do{if(u>=f)throw new Error("Expected more digits in base 64 VLQ value.");if(E=t.decode(l.charCodeAt(u++)),E===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));g=!!(E&a),E&=i,h=h+(E<<m),m+=r}while(g);p.value=s(h),p.rest=u}}}),ta=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(R,D,y){if(D in R)return R[D];if(arguments.length===3)return y;throw new Error('"'+D+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(R){var D=R.match(r);return D?{scheme:D[1],auth:D[2],host:D[3],port:D[4],path:D[5]}:null}e.urlParse=i;function a(R){var D="";return R.scheme&&(D+=R.scheme+":"),D+="//",R.auth&&(D+=R.auth+"@"),R.host&&(D+=R.host),R.port&&(D+=":"+R.port),R.path&&(D+=R.path),D}e.urlGenerate=a;function o(R){var D=R,y=i(R);if(y){if(!y.path)return R;D=y.path}for(var w=e.isAbsolute(D),S=D.split(/\/+/),P,z=0,L=S.length-1;L>=0;L--)P=S[L],P==="."?S.splice(L,1):P===".."?z++:z>0&&(P===""?(S.splice(L+1,z),z=0):(S.splice(L,2),z--));return D=S.join("/"),D===""&&(D=w?"/":"."),y?(y.path=D,a(y)):D}e.normalize=o;function s(R,D){R===""&&(R="."),D===""&&(D=".");var y=i(D),w=i(R);if(w&&(R=w.path||"/"),y&&!y.scheme)return w&&(y.scheme=w.scheme),a(y);if(y||D.match(n))return D;if(w&&!w.host&&!w.path)return w.host=D,a(w);var S=D.charAt(0)==="/"?D:o(R.replace(/\/+$/,"")+"/"+D);return w?(w.path=S,a(w)):S}e.join=s,e.isAbsolute=function(R){return R.charAt(0)==="/"||r.test(R)};function l(R,D){R===""&&(R="."),R=R.replace(/\/$/,"");for(var y=0;D.indexOf(R+"/")!==0;){var w=R.lastIndexOf("/");if(w<0||(R=R.slice(0,w),R.match(/^([^\/]+:\/)?\/*$/)))return D;++y}return Array(y+1).join("../")+D.substr(R.length+1)}e.relative=l;var u=(function(){var R=Object.create(null);return!("__proto__"in R)})();function p(R){return R}function f(R){return m(R)?"$"+R:R}e.toSetString=u?p:f;function h(R){return m(R)?R.slice(1):R}e.fromSetString=u?p:h;function m(R){if(!R)return!1;var D=R.length;if(D<9||R.charCodeAt(D-1)!==95||R.charCodeAt(D-2)!==95||R.charCodeAt(D-3)!==111||R.charCodeAt(D-4)!==116||R.charCodeAt(D-5)!==111||R.charCodeAt(D-6)!==114||R.charCodeAt(D-7)!==112||R.charCodeAt(D-8)!==95||R.charCodeAt(D-9)!==95)return!1;for(var y=D-10;y>=0;y--)if(R.charCodeAt(y)!==36)return!1;return!0}function g(R,D,y){var w=A(R.source,D.source);return w!==0||(w=R.originalLine-D.originalLine,w!==0)||(w=R.originalColumn-D.originalColumn,w!==0||y)||(w=R.generatedColumn-D.generatedColumn,w!==0)||(w=R.generatedLine-D.generatedLine,w!==0)?w:A(R.name,D.name)}e.compareByOriginalPositions=g;function E(R,D,y){var w=R.generatedLine-D.generatedLine;return w!==0||(w=R.generatedColumn-D.generatedColumn,w!==0||y)||(w=A(R.source,D.source),w!==0)||(w=R.originalLine-D.originalLine,w!==0)||(w=R.originalColumn-D.originalColumn,w!==0)?w:A(R.name,D.name)}e.compareByGeneratedPositionsDeflated=E;function A(R,D){return R===D?0:R===null?1:D===null?-1:R>D?1:-1}function v(R,D){var y=R.generatedLine-D.generatedLine;return y!==0||(y=R.generatedColumn-D.generatedColumn,y!==0)||(y=A(R.source,D.source),y!==0)||(y=R.originalLine-D.originalLine,y!==0)||(y=R.originalColumn-D.originalColumn,y!==0)?y:A(R.name,D.name)}e.compareByGeneratedPositionsInflated=v;function T(R){return JSON.parse(R.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=T;function I(R,D,y){if(D=D||"",R&&(R[R.length-1]!=="/"&&D[0]!=="/"&&(R+="/"),D=R+D),y){var w=i(y);if(!w)throw new Error("sourceMapURL could not be parsed");if(w.path){var S=w.path.lastIndexOf("/");S>=0&&(w.path=w.path.substring(0,S+1))}D=s(a(w),D)}return o(D)}e.computeSourceURL=I}}),Fw=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=ta(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function i(){this._array=[],this._set=n?new Map:Object.create(null)}i.fromArray=function(a,o){for(var s=new i,l=0,u=a.length;l<u;l++)s.add(a[l],o);return s},i.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(a,o){var s=n?a:t.toSetString(a),l=n?this.has(a):r.call(this._set,s),u=this._array.length;(!l||o)&&this._array.push(a),l||(n?this._set.set(a,u):this._set[s]=u)},i.prototype.has=function(a){if(n)return this._set.has(a);var o=t.toSetString(a);return r.call(this._set,o)},i.prototype.indexOf=function(a){if(n){var o=this._set.get(a);if(o>=0)return o}else{var s=t.toSetString(a);if(r.call(this._set,s))return this._set[s]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}}),xV=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=ta();function r(i,a){var o=i.generatedLine,s=a.generatedLine,l=i.generatedColumn,u=a.generatedColumn;return s>o||s==o&&u>=l||t.compareByGeneratedPositionsInflated(i,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)},n.prototype.add=function(i){r(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),Iw=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=Ow(),r=ta(),n=Fw().ArraySet,i=xV().MappingList;function a(o){o||(o={}),this._file=r.getArg(o,"file",null),this._sourceRoot=r.getArg(o,"sourceRoot",null),this._skipValidation=r.getArg(o,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(o){var s=o.sourceRoot,l=new a({file:o.file,sourceRoot:s});return o.eachMapping(function(u){var p={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(p.source=u.source,s!=null&&(p.source=r.relative(s,p.source)),p.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(p.name=u.name)),l.addMapping(p)}),o.sources.forEach(function(u){var p=u;s!==null&&(p=r.relative(s,u)),l._sources.has(p)||l._sources.add(p);var f=o.sourceContentFor(u);f!=null&&l.setSourceContent(u,f)}),l},a.prototype.addMapping=function(o){var s=r.getArg(o,"generated"),l=r.getArg(o,"original",null),u=r.getArg(o,"source",null),p=r.getArg(o,"name",null);this._skipValidation||this._validateMapping(s,l,u,p),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:u,name:p})},a.prototype.setSourceContent=function(o,s){var l=o;this._sourceRoot!=null&&(l=r.relative(this._sourceRoot,l)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(l)]=s):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(o,s,l){var u=s;if(s==null){if(o.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=o.file}var p=this._sourceRoot;p!=null&&(u=r.relative(p,u));var f=new n,h=new n;this._mappings.unsortedForEach(function(m){if(m.source===u&&m.originalLine!=null){var g=o.originalPositionFor({line:m.originalLine,column:m.originalColumn});g.source!=null&&(m.source=g.source,l!=null&&(m.source=r.join(l,m.source)),p!=null&&(m.source=r.relative(p,m.source)),m.originalLine=g.line,m.originalColumn=g.column,g.name!=null&&(m.name=g.name))}var E=m.source;E!=null&&!f.has(E)&&f.add(E);var A=m.name;A!=null&&!h.has(A)&&h.add(A)},this),this._sources=f,this._names=h,o.sources.forEach(function(m){var g=o.sourceContentFor(m);g!=null&&(l!=null&&(m=r.join(l,m)),p!=null&&(m=r.relative(p,m)),this.setSourceContent(m,g))},this)},a.prototype._validateMapping=function(o,s,l,u){if(s&&typeof s.line!="number"&&typeof s.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(!(o&&"line"in o&&"column"in o&&o.line>0&&o.column>=0&&!s&&!l&&!u)){if(o&&"line"in o&&"column"in o&&s&&"line"in s&&"column"in s&&o.line>0&&o.column>=0&&s.line>0&&s.column>=0&&l)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:l,original:s,name:u}))}},a.prototype._serializeMappings=function(){for(var o=0,s=1,l=0,u=0,p=0,f=0,h="",m,g,E,A,v=this._mappings.toArray(),T=0,I=v.length;T<I;T++){if(g=v[T],m="",g.generatedLine!==s)for(o=0;g.generatedLine!==s;)m+=";",s++;else if(T>0){if(!r.compareByGeneratedPositionsInflated(g,v[T-1]))continue;m+=","}m+=t.encode(g.generatedColumn-o),o=g.generatedColumn,g.source!=null&&(A=this._sources.indexOf(g.source),m+=t.encode(A-f),f=A,m+=t.encode(g.originalLine-1-u),u=g.originalLine-1,m+=t.encode(g.originalColumn-l),l=g.originalColumn,g.name!=null&&(E=this._names.indexOf(g.name),m+=t.encode(E-p),p=E)),h+=m}return h},a.prototype._generateSourcesContent=function(o,s){return o.map(function(l){if(!this._sourcesContents)return null;s!=null&&(l=r.relative(s,l));var u=r.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)},a.prototype.toJSON=function(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(o.file=this._file),this._sourceRoot!=null&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a}}),DV=mt({"../../../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,i,a,o,s){var l=Math.floor((n-r)/2)+r,u=o(i,a[l],!0);return u===0?l:u>0?n-l>1?t(l,n,i,a,o,s):s==e.LEAST_UPPER_BOUND?n<a.length?n:-1:l:l-r>1?t(r,l,i,a,o,s):s==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(r,n,i,a){if(n.length===0)return-1;var o=t(-1,n.length,r,n,i,a||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&i(n[o],n[o-1],!0)===0;)--o;return o}}}),RV=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,a,o){var s=i[a];i[a]=i[o],i[o]=s}function r(i,a){return Math.round(i+Math.random()*(a-i))}function n(i,a,o,s){if(o<s){var l=r(o,s),u=o-1;t(i,l,s);for(var p=i[s],f=o;f<s;f++)a(i[f],p)<=0&&(u+=1,t(i,u,f));t(i,u+1,f);var h=u+1;n(i,a,o,h-1),n(i,a,h+1,s)}}e.quickSort=function(i,a){n(i,a,0,i.length-1)}}}),PV=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=ta(),r=DV(),n=Fw().ArraySet,i=Ow(),a=RV().quickSort;function o(p,f){var h=p;return typeof p=="string"&&(h=t.parseSourceMapInput(p)),h.sections!=null?new u(h,f):new s(h,f)}o.fromSourceMap=function(p,f){return s.fromSourceMap(p,f)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(p,f){var h=p.charAt(f);return h===";"||h===","},o.prototype._parseMappings=function(p,f){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(p,f,h){var m=f||null,g=h||o.GENERATED_ORDER,E;switch(g){case o.GENERATED_ORDER:E=this._generatedMappings;break;case o.ORIGINAL_ORDER:E=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var A=this.sourceRoot;E.map(function(v){var T=v.source===null?null:this._sources.at(v.source);return T=t.computeSourceURL(A,T,this._sourceMapURL),{source:T,generatedLine:v.generatedLine,generatedColumn:v.generatedColumn,originalLine:v.originalLine,originalColumn:v.originalColumn,name:v.name===null?null:this._names.at(v.name)}},this).forEach(p,m)},o.prototype.allGeneratedPositionsFor=function(p){var f=t.getArg(p,"line"),h={source:t.getArg(p,"source"),originalLine:f,originalColumn:t.getArg(p,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var m=[],g=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(g>=0){var E=this._originalMappings[g];if(p.column===void 0)for(var A=E.originalLine;E&&E.originalLine===A;)m.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++g];else for(var v=E.originalColumn;E&&E.originalLine===f&&E.originalColumn==v;)m.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++g]}return m},e.SourceMapConsumer=o;function s(p,f){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var m=t.getArg(h,"version"),g=t.getArg(h,"sources"),E=t.getArg(h,"names",[]),A=t.getArg(h,"sourceRoot",null),v=t.getArg(h,"sourcesContent",null),T=t.getArg(h,"mappings"),I=t.getArg(h,"file",null);if(m!=this._version)throw new Error("Unsupported version: "+m);A&&(A=t.normalize(A)),g=g.map(String).map(t.normalize).map(function(R){return A&&t.isAbsolute(A)&&t.isAbsolute(R)?t.relative(A,R):R}),this._names=n.fromArray(E.map(String),!0),this._sources=n.fromArray(g,!0),this._absoluteSources=this._sources.toArray().map(function(R){return t.computeSourceURL(A,R,f)}),this.sourceRoot=A,this.sourcesContent=v,this._mappings=T,this._sourceMapURL=f,this.file=I}s.prototype=Object.create(o.prototype),s.prototype.consumer=o,s.prototype._findSourceIndex=function(p){var f=p;if(this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f)),this._sources.has(f))return this._sources.indexOf(f);var h;for(h=0;h<this._absoluteSources.length;++h)if(this._absoluteSources[h]==p)return h;return-1},s.fromSourceMap=function(p,f){var h=Object.create(s.prototype),m=h._names=n.fromArray(p._names.toArray(),!0),g=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=f,h._absoluteSources=h._sources.toArray().map(function(y){return t.computeSourceURL(h.sourceRoot,y,f)});for(var E=p._mappings.toArray().slice(),A=h.__generatedMappings=[],v=h.__originalMappings=[],T=0,I=E.length;T<I;T++){var R=E[T],D=new l;D.generatedLine=R.generatedLine,D.generatedColumn=R.generatedColumn,R.source&&(D.source=g.indexOf(R.source),D.originalLine=R.originalLine,D.originalColumn=R.originalColumn,R.name&&(D.name=m.indexOf(R.name)),v.push(D)),A.push(D)}return a(h.__originalMappings,t.compareByOriginalPositions),h},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(p,f){for(var h=1,m=0,g=0,E=0,A=0,v=0,T=p.length,I=0,R={},D={},y=[],w=[],S,P,z,L,K;I<T;)if(p.charAt(I)===";")h++,I++,m=0;else if(p.charAt(I)===",")I++;else{for(S=new l,S.generatedLine=h,L=I;L<T&&!this._charIsMappingSeparator(p,L);L++);if(P=p.slice(I,L),z=R[P],z)I+=P.length;else{for(z=[];I<L;)i.decode(p,I,D),K=D.value,I=D.rest,z.push(K);if(z.length===2)throw new Error("Found a source, but no line and column");if(z.length===3)throw new Error("Found a source and line, but no column");R[P]=z}S.generatedColumn=m+z[0],m=S.generatedColumn,z.length>1&&(S.source=A+z[1],A+=z[1],S.originalLine=g+z[2],g=S.originalLine,S.originalLine+=1,S.originalColumn=E+z[3],E=S.originalColumn,z.length>4&&(S.name=v+z[4],v+=z[4])),w.push(S),typeof S.originalLine=="number"&&y.push(S)}a(w,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,a(y,t.compareByOriginalPositions),this.__originalMappings=y},s.prototype._findMapping=function(p,f,h,m,g,E){if(p[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[h]);if(p[m]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[m]);return r.search(p,f,g,E)},s.prototype.computeColumnSpans=function(){for(var p=0;p<this._generatedMappings.length;++p){var f=this._generatedMappings[p];if(p+1<this._generatedMappings.length){var h=this._generatedMappings[p+1];if(f.generatedLine===h.generatedLine){f.lastGeneratedColumn=h.generatedColumn-1;continue}}f.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(p){var f={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=this._findMapping(f,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(p,"bias",o.GREATEST_LOWER_BOUND));if(h>=0){var m=this._generatedMappings[h];if(m.generatedLine===f.generatedLine){var g=t.getArg(m,"source",null);g!==null&&(g=this._sources.at(g),g=t.computeSourceURL(this.sourceRoot,g,this._sourceMapURL));var E=t.getArg(m,"name",null);return E!==null&&(E=this._names.at(E)),{source:g,line:t.getArg(m,"originalLine",null),column:t.getArg(m,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return p==null}):!1},s.prototype.sourceContentFor=function(p,f){if(!this.sourcesContent)return null;var h=this._findSourceIndex(p);if(h>=0)return this.sourcesContent[h];var m=p;this.sourceRoot!=null&&(m=t.relative(this.sourceRoot,m));var g;if(this.sourceRoot!=null&&(g=t.urlParse(this.sourceRoot))){var E=m.replace(/^file:\/\//,"");if(g.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!g.path||g.path=="/")&&this._sources.has("/"+m))return this.sourcesContent[this._sources.indexOf("/"+m)]}if(f)return null;throw new Error('"'+m+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(p){var f=t.getArg(p,"source");if(f=this._findSourceIndex(f),f<0)return{line:null,column:null,lastColumn:null};var h={source:f,originalLine:t.getArg(p,"line"),originalColumn:t.getArg(p,"column")},m=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(p,"bias",o.GREATEST_LOWER_BOUND));if(m>=0){var g=this._originalMappings[m];if(g.source===h.source)return{line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function u(p,f){var h=p;typeof p=="string"&&(h=t.parseSourceMapInput(p));var m=t.getArg(h,"version"),g=t.getArg(h,"sections");if(m!=this._version)throw new Error("Unsupported version: "+m);this._sources=new n,this._names=new n;var E={line:-1,column:0};this._sections=g.map(function(A){if(A.url)throw new Error("Support for url field in sections not implemented.");var v=t.getArg(A,"offset"),T=t.getArg(v,"line"),I=t.getArg(v,"column");if(T<E.line||T===E.line&&I<E.column)throw new Error("Section offsets must be ordered and non-overlapping.");return E=v,{generatedOffset:{generatedLine:T+1,generatedColumn:I+1},consumer:new o(t.getArg(A,"map"),f)}})}u.prototype=Object.create(o.prototype),u.prototype.constructor=o,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var p=[],f=0;f<this._sections.length;f++)for(var h=0;h<this._sections[f].consumer.sources.length;h++)p.push(this._sections[f].consumer.sources[h]);return p}}),u.prototype.originalPositionFor=function(p){var f={generatedLine:t.getArg(p,"line"),generatedColumn:t.getArg(p,"column")},h=r.search(f,this._sections,function(g,E){var A=g.generatedLine-E.generatedOffset.generatedLine;return A||g.generatedColumn-E.generatedOffset.generatedColumn}),m=this._sections[h];return m?m.consumer.originalPositionFor({line:f.generatedLine-(m.generatedOffset.generatedLine-1),column:f.generatedColumn-(m.generatedOffset.generatedLine===f.generatedLine?m.generatedOffset.generatedColumn-1:0),bias:p.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(p){return p.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(p,f){for(var h=0;h<this._sections.length;h++){var m=this._sections[h],g=m.consumer.sourceContentFor(p,!0);if(g)return g}if(f)return null;throw new Error('"'+p+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(p){for(var f=0;f<this._sections.length;f++){var h=this._sections[f];if(h.consumer._findSourceIndex(t.getArg(p,"source"))!==-1){var m=h.consumer.generatedPositionFor(p);if(m){var g={line:m.line+(h.generatedOffset.generatedLine-1),column:m.column+(h.generatedOffset.generatedLine===m.line?h.generatedOffset.generatedColumn-1:0)};return g}}}return{line:null,column:null}},u.prototype._parseMappings=function(p,f){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var m=this._sections[h],g=m.consumer._generatedMappings,E=0;E<g.length;E++){var A=g[E],v=m.consumer._sources.at(A.source);v=t.computeSourceURL(m.consumer.sourceRoot,v,this._sourceMapURL),this._sources.add(v),v=this._sources.indexOf(v);var T=null;A.name&&(T=m.consumer._names.at(A.name),this._names.add(T),T=this._names.indexOf(T));var I={source:v,generatedLine:A.generatedLine+(m.generatedOffset.generatedLine-1),generatedColumn:A.generatedColumn+(m.generatedOffset.generatedLine===A.generatedLine?m.generatedOffset.generatedColumn-1:0),originalLine:A.originalLine,originalColumn:A.originalColumn,name:T};this.__generatedMappings.push(I),typeof I.originalLine=="number"&&this.__originalMappings.push(I)}a(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),a(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=u}}),OV=mt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=Iw().SourceMapGenerator,r=ta(),n=/(\r?\n)/,i=10,a="$$$isSourceNode$$$";function o(s,l,u,p,f){this.children=[],this.sourceContents={},this.line=s??null,this.column=l??null,this.source=u??null,this.name=f??null,this[a]=!0,p!=null&&this.add(p)}o.fromStringWithSourceMap=function(s,l,u){var p=new o,f=s.split(n),h=0,m=function(){var T=R(),I=R()||"";return T+I;function R(){return h<f.length?f[h++]:void 0}},g=1,E=0,A=null;return l.eachMapping(function(T){if(A!==null)if(g<T.generatedLine)v(A,m()),g++,E=0;else{var I=f[h]||"",R=I.substr(0,T.generatedColumn-E);f[h]=I.substr(T.generatedColumn-E),E=T.generatedColumn,v(A,R),A=T;return}for(;g<T.generatedLine;)p.add(m()),g++;if(E<T.generatedColumn){var I=f[h]||"";p.add(I.substr(0,T.generatedColumn)),f[h]=I.substr(T.generatedColumn),E=T.generatedColumn}A=T},this),h<f.length&&(A&&v(A,m()),p.add(f.splice(h).join(""))),l.sources.forEach(function(T){var I=l.sourceContentFor(T);I!=null&&(u!=null&&(T=r.join(u,T)),p.setSourceContent(T,I))}),p;function v(T,I){if(T===null||T.source===void 0)p.add(I);else{var R=u?r.join(u,T.source):T.source;p.add(new o(T.originalLine,T.originalColumn,R,I,T.name))}}},o.prototype.add=function(s){if(Array.isArray(s))s.forEach(function(l){this.add(l)},this);else if(s[a]||typeof s=="string")s&&this.children.push(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},o.prototype.prepend=function(s){if(Array.isArray(s))for(var l=s.length-1;l>=0;l--)this.prepend(s[l]);else if(s[a]||typeof s=="string")this.children.unshift(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},o.prototype.walk=function(s){for(var l,u=0,p=this.children.length;u<p;u++)l=this.children[u],l[a]?l.walk(s):l!==""&&s(l,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(s){var l,u,p=this.children.length;if(p>0){for(l=[],u=0;u<p-1;u++)l.push(this.children[u]),l.push(s);l.push(this.children[u]),this.children=l}return this},o.prototype.replaceRight=function(s,l){var u=this.children[this.children.length-1];return u[a]?u.replaceRight(s,l):typeof u=="string"?this.children[this.children.length-1]=u.replace(s,l):this.children.push("".replace(s,l)),this},o.prototype.setSourceContent=function(s,l){this.sourceContents[r.toSetString(s)]=l},o.prototype.walkSourceContents=function(s){for(var l=0,u=this.children.length;l<u;l++)this.children[l][a]&&this.children[l].walkSourceContents(s);for(var p=Object.keys(this.sourceContents),l=0,u=p.length;l<u;l++)s(r.fromSetString(p[l]),this.sourceContents[p[l]])},o.prototype.toString=function(){var s="";return this.walk(function(l){s+=l}),s},o.prototype.toStringWithSourceMap=function(s){var l={code:"",line:1,column:0},u=new t(s),p=!1,f=null,h=null,m=null,g=null;return this.walk(function(E,A){l.code+=E,A.source!==null&&A.line!==null&&A.column!==null?((f!==A.source||h!==A.line||m!==A.column||g!==A.name)&&u.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:l.line,column:l.column},name:A.name}),f=A.source,h=A.line,m=A.column,g=A.name,p=!0):p&&(u.addMapping({generated:{line:l.line,column:l.column}}),f=null,p=!1);for(var v=0,T=E.length;v<T;v++)E.charCodeAt(v)===i?(l.line++,l.column=0,v+1===T?(f=null,p=!1):p&&u.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:l.line,column:l.column},name:A.name})):l.column++}),this.walkSourceContents(function(E,A){u.setSourceContent(E,A)}),{code:l.code,map:u}},e.SourceNode=o}}),FV=mt({"../../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=Iw().SourceMapGenerator,e.SourceMapConsumer=PV().SourceMapConsumer,e.SourceNode=OV().SourceNode}}),IV=mt({"../../../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"}}}}),NV=mt({"../../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,i,a,o,s,l,u,p,f,h,m,g,E,A,v,T,I,R,D,y,w,S,P,z;a=AV(),o=CV(),t=a.Syntax;function L(C){return rt.Expression.hasOwnProperty(C.type)}function K(C){return rt.Statement.hasOwnProperty(C.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 q=1,B=2,V=4,X=8,Q=16,oe=32,Ee=64,Pe=B|V,W=q|B,H=q|B|V,re=q,ce=V,le=q|V,ie=q,ve=q|oe,Re=0,$e=q|Q,Z=q|X;function me(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
1038
+ `,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 Ae(C,j){var F="";for(j|=0;j>0;j>>>=1,C+=C)j&1&&(F+=C);return F}function De(C){return/[\r\n]/g.test(C)}function xe(C){var j=C.length;return j&&o.code.isLineTerminator(C.charCodeAt(j-1))}function Oe(C,j){var F;for(F in j)j.hasOwnProperty(F)&&(C[F]=j[F]);return C}function Fe(C,j){var F,O;function U(se){return typeof se=="object"&&se instanceof Object&&!(se instanceof RegExp)}for(F in j)j.hasOwnProperty(F)&&(O=j[F],U(O)?U(C[F])?Fe(C[F],O):C[F]=Fe({},O):C[F]=O);return C}function Me(C){var j,F,O,U,se;if(C!==C)throw new Error("Numeric literal whose value is NaN");if(C<0||C===0&&1/C<0)throw new Error("Numeric literal whose value is negative");if(C===1/0)return u?"null":p?"1e400":"1e+400";if(j=""+C,!p||j.length<3)return j;for(F=j.indexOf("."),!u&&j.charCodeAt(0)===48&&F===1&&(F=0,j=j.slice(1)),O=j,j=j.replace("e+","e"),U=0,(se=O.indexOf("e"))>0&&(U=+O.slice(se+1),O=O.slice(0,se)),F>=0&&(U-=O.length-F-1,O=+(O.slice(0,F)+O.slice(F+1))+""),se=0;O.charCodeAt(O.length+se-1)===48;)--se;return se!==0&&(U-=se,O=O.slice(0,se)),U!==0&&(O+="e"+U),(O.length<j.length||f&&C>1e12&&Math.floor(C)===C&&(O="0x"+C.toString(16)).length<j.length)&&+O===C&&(j=O),j}function ut(C,j){return(C&-2)===8232?(j?"u":"\\u")+(C===8232?"2028":"2029"):C===10||C===13?(j?"":"\\")+(C===10?"n":"r"):String.fromCharCode(C)}function Ft(C){var j,F,O,U,se,pe,fe,Se;if(F=C.toString(),C.source){if(j=F.match(/\/([^/]*)$/),!j)return F;for(O=j[1],F="",fe=!1,Se=!1,U=0,se=C.source.length;U<se;++U)pe=C.source.charCodeAt(U),Se?(F+=ut(pe,Se),Se=!1):(fe?pe===93&&(fe=!1):pe===47?F+="\\":pe===91&&(fe=!0),F+=ut(pe,Se),Se=pe===92);return"/"+F+"/"+O}return F}function Je(C,j){var F;return C===8?"\\b":C===12?"\\f":C===9?"\\t":(F=C.toString(16).toUpperCase(),u||C>255?"\\u"+"0000".slice(F.length)+F:C===0&&!o.code.isDecimalDigit(j)?"\\0":C===11?"\\x0B":"\\x"+"00".slice(F.length)+F)}function yt(C){if(C===92)return"\\\\";if(C===10)return"\\n";if(C===13)return"\\r";if(C===8232)return"\\u2028";if(C===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Ye(C){var j,F,O,U;for(U=h==="double"?'"':"'",j=0,F=C.length;j<F;++j)if(O=C.charCodeAt(j),O===39){U='"';break}else if(O===34){U="'";break}else O===92&&++j;return U+C+U}function er(C){var j="",F,O,U,se=0,pe=0,fe,Se;for(F=0,O=C.length;F<O;++F){if(U=C.charCodeAt(F),U===39)++se;else if(U===34)++pe;else if(U===47&&u)j+="\\";else if(o.code.isLineTerminator(U)||U===92){j+=yt(U);continue}else if(!o.code.isIdentifierPartES5(U)&&(u&&U<32||!u&&!m&&(U<32||U>126))){j+=Je(U,C.charCodeAt(F+1));continue}j+=String.fromCharCode(U)}if(fe=!(h==="double"||h==="auto"&&pe<se),Se=fe?"'":'"',!(fe?se:pe))return Se+j+Se;for(C=j,j=Se,F=0,O=C.length;F<O;++F)U=C.charCodeAt(F),(U===39&&fe||U===34&&!fe)&&(j+="\\"),j+=String.fromCharCode(U);return j+Se}function It(C){var j,F,O,U="";for(j=0,F=C.length;j<F;++j)O=C[j],U+=Array.isArray(O)?It(O):O;return U}function ge(C,j){if(!y)return Array.isArray(C)?It(C):C;if(j==null){if(C instanceof i)return C;j={}}return j.loc==null?new i(null,null,y,C,j.name||null):new i(j.loc.start.line,j.loc.start.column,y===!0?j.loc.source||null:y,C,j.name||null)}function pt(){return E||" "}function Be(C,j){var F,O,U,se;return F=ge(C).toString(),F.length===0?[j]:(O=ge(j).toString(),O.length===0?[C]:(U=F.charCodeAt(F.length-1),se=O.charCodeAt(0),(U===43||U===45)&&U===se||o.code.isIdentifierPartES5(U)&&o.code.isIdentifierPartES5(se)||U===47&&se===105?[C,pt(),j]:o.code.isWhiteSpace(U)||o.code.isLineTerminator(U)||o.code.isWhiteSpace(se)||o.code.isLineTerminator(se)?[C,j]:[C,E,j]))}function _t(C){return[s,C]}function et(C){var j;j=s,s+=l,C(s),s=j}function _r(C){var j;for(j=C.length-1;j>=0&&!o.code.isLineTerminator(C.charCodeAt(j));--j);return C.length-1-j}function Rr(C,j){var F,O,U,se,pe,fe,Se,Ve;for(F=C.split(/\r\n|[\r\n]/),fe=Number.MAX_VALUE,O=1,U=F.length;O<U;++O){for(se=F[O],pe=0;pe<se.length&&o.code.isWhiteSpace(se.charCodeAt(pe));)++pe;fe>pe&&(fe=pe)}for(typeof j<"u"?(Se=s,F[1][fe]==="*"&&(j+=" "),s=j):(fe&1&&--fe,Se=s),O=1,U=F.length;O<U;++O)Ve=ge(_t(F[O].slice(fe))),F[O]=y?Ve.join(""):Ve;return s=Se,F.join(`
1039
+ `)}function gt(C,j){if(C.type==="Line"){if(xe(C.value))return"//"+C.value;var F="//"+C.value;return S||(F+=`
1040
+ `),F}return R.format.indent.adjustMultilineComment&&/[\n\r]/.test(C.value)?Rr("/*"+C.value+"*/",j):"/*"+C.value+"*/"}function je(C,j){var F,O,U,se,pe,fe,Se,Ve,ye,Ot,kt,qr,un,Jt;if(C.leadingComments&&C.leadingComments.length>0){if(se=j,S){for(U=C.leadingComments[0],j=[],Ve=U.extendedRange,ye=U.range,kt=w.substring(Ve[0],ye[0]),Jt=(kt.match(/\n/g)||[]).length,Jt>0?(j.push(Ae(`
1041
+ `,Jt)),j.push(_t(gt(U)))):(j.push(kt),j.push(gt(U))),Ot=ye,F=1,O=C.leadingComments.length;F<O;F++)U=C.leadingComments[F],ye=U.range,qr=w.substring(Ot[1],ye[0]),Jt=(qr.match(/\n/g)||[]).length,j.push(Ae(`
1042
+ `,Jt)),j.push(_t(gt(U))),Ot=ye;un=w.substring(ye[1],Ve[1]),Jt=(un.match(/\n/g)||[]).length,j.push(Ae(`
1043
+ `,Jt))}else for(U=C.leadingComments[0],j=[],T&&C.type===t.Program&&C.body.length===0&&j.push(`
1044
+ `),j.push(gt(U)),xe(ge(j).toString())||j.push(`
1045
+ `),F=1,O=C.leadingComments.length;F<O;++F)U=C.leadingComments[F],Se=[gt(U)],xe(ge(Se).toString())||Se.push(`
1046
+ `),j.push(_t(Se));j.push(_t(se))}if(C.trailingComments)if(S)U=C.trailingComments[0],Ve=U.extendedRange,ye=U.range,kt=w.substring(Ve[0],ye[0]),Jt=(kt.match(/\n/g)||[]).length,Jt>0?(j.push(Ae(`
1047
+ `,Jt)),j.push(_t(gt(U)))):(j.push(kt),j.push(gt(U)));else for(pe=!xe(ge(j).toString()),fe=Ae(" ",_r(ge([s,j,l]).toString())),F=0,O=C.trailingComments.length;F<O;++F)U=C.trailingComments[F],pe?(F===0?j=[j,l]:j=[j,fe],j.push(gt(U,fe))):j=[j,_t(gt(U))],F!==O-1&&!xe(ge(j).toString())&&(j=[j,`
1048
+ `]);return j}function tr(C,j,F){var O,U=0;for(O=C;O<j;O++)w[O]===`
1049
+ `&&U++;for(O=1;O<U;O++)F.push(g)}function ot(C,j,F){return j<F?["(",C,")"]:C}function $t(C){var j,F,O;for(O=C.split(/\r\n|\n/),j=1,F=O.length;j<F;j++)O[j]=g+s+O[j];return O}function Mr(C,j){var F,O,U;return F=C[R.verbatim],typeof F=="string"?O=ot($t(F),r.Sequence,j):(O=$t(F.content),U=F.precedence!=null?F.precedence:r.Sequence,O=ot(O,U,j)),ge(O,C)}function rt(){}rt.prototype.maybeBlock=function(C,j){var F,O,U=this;return O=!R.comment||!C.leadingComments,C.type===t.BlockStatement&&O?[E,this.generateStatement(C,j)]:C.type===t.EmptyStatement&&O?";":(et(function(){F=[g,_t(U.generateStatement(C,j))]}),F)},rt.prototype.maybeBlockSuffix=function(C,j){var F=xe(ge(j).toString());return C.type===t.BlockStatement&&(!R.comment||!C.leadingComments)&&!F?[j,E]:F?[j,s]:[j,g,s]};function At(C){return ge(C.name,C)}function rr(C,j){return C.async?"async"+(j?pt():E):""}function bt(C){var j=C.generator&&!R.moz.starlessGenerator;return j?"*"+E:""}function nt(C){var j=C.value,F="";return j.async&&(F+=rr(j,!C.computed)),j.generator&&(F+=bt(j)?"*":""),F}rt.prototype.generatePattern=function(C,j,F){return C.type===t.Identifier?At(C):this.generateExpression(C,j,F)},rt.prototype.generateFunctionParams=function(C){var j,F,O,U;if(U=!1,C.type===t.ArrowFunctionExpression&&!C.rest&&(!C.defaults||C.defaults.length===0)&&C.params.length===1&&C.params[0].type===t.Identifier)O=[rr(C,!0),At(C.params[0])];else{for(O=C.type===t.ArrowFunctionExpression?[rr(C,!1)]:[],O.push("("),C.defaults&&(U=!0),j=0,F=C.params.length;j<F;++j)U&&C.defaults[j]?O.push(this.generateAssignment(C.params[j],C.defaults[j],"=",r.Assignment,H)):O.push(this.generatePattern(C.params[j],r.Assignment,H)),j+1<F&&O.push(","+E);C.rest&&(C.params.length&&O.push(","+E),O.push("..."),O.push(At(C.rest))),O.push(")")}return O},rt.prototype.generateFunctionBody=function(C){var j,F;return j=this.generateFunctionParams(C),C.type===t.ArrowFunctionExpression&&(j.push(E),j.push("=>")),C.expression?(j.push(E),F=this.generateExpression(C.body,r.Assignment,H),F.toString().charAt(0)==="{"&&(F=["(",F,")"]),j.push(F)):j.push(this.maybeBlock(C.body,Z)),j},rt.prototype.generateIterationForStatement=function(C,j,F){var O=["for"+(j.await?pt()+"await":"")+E+"("],U=this;return et(function(){j.left.type===t.VariableDeclaration?et(function(){O.push(j.left.kind+pt()),O.push(U.generateStatement(j.left.declarations[0],Re))}):O.push(U.generateExpression(j.left,r.Call,H)),O=Be(O,C),O=[Be(O,U.generateExpression(j.right,r.Assignment,H)),")"]}),O.push(this.maybeBlock(j.body,F)),O},rt.prototype.generatePropertyKey=function(C,j){var F=[];return j&&F.push("["),F.push(this.generateExpression(C,r.Assignment,H)),j&&F.push("]"),F},rt.prototype.generateAssignment=function(C,j,F,O,U){return r.Assignment<O&&(U|=q),ot([this.generateExpression(C,r.Call,U),E+F+E,this.generateExpression(j,r.Assignment,U)],r.Assignment,O)},rt.prototype.semicolon=function(C){return!v&&C&oe?"":";"},rt.Statement={BlockStatement:function(C,j){var F,O,U=["{",g],se=this;return et(function(){C.body.length===0&&S&&(F=C.range,F[1]-F[0]>2&&(O=w.substring(F[0]+1,F[1]-1),O[0]===`
1050
+ `&&(U=["{"]),U.push(O)));var pe,fe,Se,Ve;for(Ve=ie,j&X&&(Ve|=Q),pe=0,fe=C.body.length;pe<fe;++pe)S&&(pe===0&&(C.body[0].leadingComments&&(F=C.body[0].leadingComments[0].extendedRange,O=w.substring(F[0],F[1]),O[0]===`
1051
+ `&&(U=["{"])),C.body[0].leadingComments||tr(C.range[0],C.body[0].range[0],U)),pe>0&&!C.body[pe-1].trailingComments&&!C.body[pe].leadingComments&&tr(C.body[pe-1].range[1],C.body[pe].range[0],U)),pe===fe-1&&(Ve|=oe),C.body[pe].leadingComments&&S?Se=se.generateStatement(C.body[pe],Ve):Se=_t(se.generateStatement(C.body[pe],Ve)),U.push(Se),xe(ge(Se).toString())||S&&pe<fe-1&&C.body[pe+1].leadingComments||U.push(g),S&&pe===fe-1&&(C.body[pe].trailingComments||tr(C.body[pe].range[1],C.range[1],U))}),U.push(_t("}")),U},BreakStatement:function(C,j){return C.label?"break "+C.label.name+this.semicolon(j):"break"+this.semicolon(j)},ContinueStatement:function(C,j){return C.label?"continue "+C.label.name+this.semicolon(j):"continue"+this.semicolon(j)},ClassBody:function(C,j){var F=["{",g],O=this;return et(function(U){var se,pe;for(se=0,pe=C.body.length;se<pe;++se)F.push(U),F.push(O.generateExpression(C.body[se],r.Sequence,H)),se+1<pe&&F.push(g)}),xe(ge(F).toString())||F.push(g),F.push(s),F.push("}"),F},ClassDeclaration:function(C,j){var F,O;return F=["class"],C.id&&(F=Be(F,this.generateExpression(C.id,r.Sequence,H))),C.superClass&&(O=Be("extends",this.generateExpression(C.superClass,r.Unary,H)),F=Be(F,O)),F.push(E),F.push(this.generateStatement(C.body,ve)),F},DirectiveStatement:function(C,j){return R.raw&&C.raw?C.raw+this.semicolon(j):Ye(C.directive)+this.semicolon(j)},DoWhileStatement:function(C,j){var F=Be("do",this.maybeBlock(C.body,ie));return F=this.maybeBlockSuffix(C.body,F),Be(F,["while"+E+"(",this.generateExpression(C.test,r.Sequence,H),")"+this.semicolon(j)])},CatchClause:function(C,j){var F,O=this;return et(function(){var U;C.param?(F=["catch"+E+"(",O.generateExpression(C.param,r.Sequence,H),")"],C.guard&&(U=O.generateExpression(C.guard,r.Sequence,H),F.splice(2,0," if ",U))):F=["catch"]}),F.push(this.maybeBlock(C.body,ie)),F},DebuggerStatement:function(C,j){return"debugger"+this.semicolon(j)},EmptyStatement:function(C,j){return";"},ExportDefaultDeclaration:function(C,j){var F=["export"],O;return O=j&oe?ve:ie,F=Be(F,"default"),K(C.declaration)?F=Be(F,this.generateStatement(C.declaration,O)):F=Be(F,this.generateExpression(C.declaration,r.Assignment,H)+this.semicolon(j)),F},ExportNamedDeclaration:function(C,j){var F=["export"],O,U=this;return O=j&oe?ve:ie,C.declaration?Be(F,this.generateStatement(C.declaration,O)):(C.specifiers&&(C.specifiers.length===0?F=Be(F,"{"+E+"}"):C.specifiers[0].type===t.ExportBatchSpecifier?F=Be(F,this.generateExpression(C.specifiers[0],r.Sequence,H)):(F=Be(F,"{"),et(function(se){var pe,fe;for(F.push(g),pe=0,fe=C.specifiers.length;pe<fe;++pe)F.push(se),F.push(U.generateExpression(C.specifiers[pe],r.Sequence,H)),pe+1<fe&&F.push(","+g)}),xe(ge(F).toString())||F.push(g),F.push(s+"}")),C.source?F=Be(F,["from"+E,this.generateExpression(C.source,r.Sequence,H),this.semicolon(j)]):F.push(this.semicolon(j))),F)},ExportAllDeclaration:function(C,j){return["export"+E,"*"+E,"from"+E,this.generateExpression(C.source,r.Sequence,H),this.semicolon(j)]},ExpressionStatement:function(C,j){var F,O;function U(fe){var Se;return fe.slice(0,5)!=="class"?!1:(Se=fe.charCodeAt(5),Se===123||o.code.isWhiteSpace(Se)||o.code.isLineTerminator(Se))}function se(fe){var Se;return fe.slice(0,8)!=="function"?!1:(Se=fe.charCodeAt(8),Se===40||o.code.isWhiteSpace(Se)||Se===42||o.code.isLineTerminator(Se))}function pe(fe){var Se,Ve,ye;if(fe.slice(0,5)!=="async"||!o.code.isWhiteSpace(fe.charCodeAt(5)))return!1;for(Ve=6,ye=fe.length;Ve<ye&&o.code.isWhiteSpace(fe.charCodeAt(Ve));++Ve);return Ve===ye||fe.slice(Ve,Ve+8)!=="function"?!1:(Se=fe.charCodeAt(Ve+8),Se===40||o.code.isWhiteSpace(Se)||Se===42||o.code.isLineTerminator(Se))}return F=[this.generateExpression(C.expression,r.Sequence,H)],O=ge(F).toString(),O.charCodeAt(0)===123||U(O)||se(O)||pe(O)||I&&j&Q&&C.expression.type===t.Literal&&typeof C.expression.value=="string"?F=["(",F,")"+this.semicolon(j)]:F.push(this.semicolon(j)),F},ImportDeclaration:function(C,j){var F,O,U=this;return C.specifiers.length===0?["import",E,this.generateExpression(C.source,r.Sequence,H),this.semicolon(j)]:(F=["import"],O=0,C.specifiers[O].type===t.ImportDefaultSpecifier&&(F=Be(F,[this.generateExpression(C.specifiers[O],r.Sequence,H)]),++O),C.specifiers[O]&&(O!==0&&F.push(","),C.specifiers[O].type===t.ImportNamespaceSpecifier?F=Be(F,[E,this.generateExpression(C.specifiers[O],r.Sequence,H)]):(F.push(E+"{"),C.specifiers.length-O===1?(F.push(E),F.push(this.generateExpression(C.specifiers[O],r.Sequence,H)),F.push(E+"}"+E)):(et(function(se){var pe,fe;for(F.push(g),pe=O,fe=C.specifiers.length;pe<fe;++pe)F.push(se),F.push(U.generateExpression(C.specifiers[pe],r.Sequence,H)),pe+1<fe&&F.push(","+g)}),xe(ge(F).toString())||F.push(g),F.push(s+"}"+E)))),F=Be(F,["from"+E,this.generateExpression(C.source,r.Sequence,H),this.semicolon(j)]),F)},VariableDeclarator:function(C,j){var F=j&q?H:Pe;return C.init?[this.generateExpression(C.id,r.Assignment,F),E,"=",E,this.generateExpression(C.init,r.Assignment,F)]:this.generatePattern(C.id,r.Assignment,F)},VariableDeclaration:function(C,j){var F,O,U,se,pe,fe=this;F=[C.kind],pe=j&q?ie:Re;function Se(){for(se=C.declarations[0],R.comment&&se.leadingComments?(F.push(`
1052
+ `),F.push(_t(fe.generateStatement(se,pe)))):(F.push(pt()),F.push(fe.generateStatement(se,pe))),O=1,U=C.declarations.length;O<U;++O)se=C.declarations[O],R.comment&&se.leadingComments?(F.push(","+g),F.push(_t(fe.generateStatement(se,pe)))):(F.push(","+E),F.push(fe.generateStatement(se,pe)))}return C.declarations.length>1?et(Se):Se(),F.push(this.semicolon(j)),F},ThrowStatement:function(C,j){return[Be("throw",this.generateExpression(C.argument,r.Sequence,H)),this.semicolon(j)]},TryStatement:function(C,j){var F,O,U,se;if(F=["try",this.maybeBlock(C.block,ie)],F=this.maybeBlockSuffix(C.block,F),C.handlers)for(O=0,U=C.handlers.length;O<U;++O)F=Be(F,this.generateStatement(C.handlers[O],ie)),(C.finalizer||O+1!==U)&&(F=this.maybeBlockSuffix(C.handlers[O].body,F));else{for(se=C.guardedHandlers||[],O=0,U=se.length;O<U;++O)F=Be(F,this.generateStatement(se[O],ie)),(C.finalizer||O+1!==U)&&(F=this.maybeBlockSuffix(se[O].body,F));if(C.handler)if(Array.isArray(C.handler))for(O=0,U=C.handler.length;O<U;++O)F=Be(F,this.generateStatement(C.handler[O],ie)),(C.finalizer||O+1!==U)&&(F=this.maybeBlockSuffix(C.handler[O].body,F));else F=Be(F,this.generateStatement(C.handler,ie)),C.finalizer&&(F=this.maybeBlockSuffix(C.handler.body,F))}return C.finalizer&&(F=Be(F,["finally",this.maybeBlock(C.finalizer,ie)])),F},SwitchStatement:function(C,j){var F,O,U,se,pe,fe=this;if(et(function(){F=["switch"+E+"(",fe.generateExpression(C.discriminant,r.Sequence,H),")"+E+"{"+g]}),C.cases)for(pe=ie,U=0,se=C.cases.length;U<se;++U)U===se-1&&(pe|=oe),O=_t(this.generateStatement(C.cases[U],pe)),F.push(O),xe(ge(O).toString())||F.push(g);return F.push(_t("}")),F},SwitchCase:function(C,j){var F,O,U,se,pe,fe=this;return et(function(){for(C.test?F=[Be("case",fe.generateExpression(C.test,r.Sequence,H)),":"]:F=["default:"],U=0,se=C.consequent.length,se&&C.consequent[0].type===t.BlockStatement&&(O=fe.maybeBlock(C.consequent[0],ie),F.push(O),U=1),U!==se&&!xe(ge(F).toString())&&F.push(g),pe=ie;U<se;++U)U===se-1&&j&oe&&(pe|=oe),O=_t(fe.generateStatement(C.consequent[U],pe)),F.push(O),U+1!==se&&!xe(ge(O).toString())&&F.push(g)}),F},IfStatement:function(C,j){var F,O,U,se=this;return et(function(){F=["if"+E+"(",se.generateExpression(C.test,r.Sequence,H),")"]}),U=j&oe,O=ie,U&&(O|=oe),C.alternate?(F.push(this.maybeBlock(C.consequent,ie)),F=this.maybeBlockSuffix(C.consequent,F),C.alternate.type===t.IfStatement?F=Be(F,["else ",this.generateStatement(C.alternate,O)]):F=Be(F,Be("else",this.maybeBlock(C.alternate,O)))):F.push(this.maybeBlock(C.consequent,O)),F},ForStatement:function(C,j){var F,O=this;return et(function(){F=["for"+E+"("],C.init?C.init.type===t.VariableDeclaration?F.push(O.generateStatement(C.init,Re)):(F.push(O.generateExpression(C.init,r.Sequence,Pe)),F.push(";")):F.push(";"),C.test&&(F.push(E),F.push(O.generateExpression(C.test,r.Sequence,H))),F.push(";"),C.update&&(F.push(E),F.push(O.generateExpression(C.update,r.Sequence,H))),F.push(")")}),F.push(this.maybeBlock(C.body,j&oe?ve:ie)),F},ForInStatement:function(C,j){return this.generateIterationForStatement("in",C,j&oe?ve:ie)},ForOfStatement:function(C,j){return this.generateIterationForStatement("of",C,j&oe?ve:ie)},LabeledStatement:function(C,j){return[C.label.name+":",this.maybeBlock(C.body,j&oe?ve:ie)]},Program:function(C,j){var F,O,U,se,pe;for(se=C.body.length,F=[T&&se>0?`
1053
+ `:""],pe=$e,U=0;U<se;++U)!T&&U===se-1&&(pe|=oe),S&&(U===0&&(C.body[0].leadingComments||tr(C.range[0],C.body[U].range[0],F)),U>0&&!C.body[U-1].trailingComments&&!C.body[U].leadingComments&&tr(C.body[U-1].range[1],C.body[U].range[0],F)),O=_t(this.generateStatement(C.body[U],pe)),F.push(O),U+1<se&&!xe(ge(O).toString())&&(S&&C.body[U+1].leadingComments||F.push(g)),S&&U===se-1&&(C.body[U].trailingComments||tr(C.body[U].range[1],C.range[1],F));return F},FunctionDeclaration:function(C,j){return[rr(C,!0),"function",bt(C)||pt(),C.id?At(C.id):"",this.generateFunctionBody(C)]},ReturnStatement:function(C,j){return C.argument?[Be("return",this.generateExpression(C.argument,r.Sequence,H)),this.semicolon(j)]:["return"+this.semicolon(j)]},WhileStatement:function(C,j){var F,O=this;return et(function(){F=["while"+E+"(",O.generateExpression(C.test,r.Sequence,H),")"]}),F.push(this.maybeBlock(C.body,j&oe?ve:ie)),F},WithStatement:function(C,j){var F,O=this;return et(function(){F=["with"+E+"(",O.generateExpression(C.object,r.Sequence,H),")"]}),F.push(this.maybeBlock(C.body,j&oe?ve:ie)),F}},Oe(rt.prototype,rt.Statement),rt.Expression={SequenceExpression:function(C,j,F){var O,U,se;for(r.Sequence<j&&(F|=q),O=[],U=0,se=C.expressions.length;U<se;++U)O.push(this.generateExpression(C.expressions[U],r.Assignment,F)),U+1<se&&O.push(","+E);return ot(O,r.Sequence,j)},AssignmentExpression:function(C,j,F){return this.generateAssignment(C.left,C.right,C.operator,j,F)},ArrowFunctionExpression:function(C,j,F){return ot(this.generateFunctionBody(C),r.ArrowFunction,j)},ConditionalExpression:function(C,j,F){return r.Conditional<j&&(F|=q),ot([this.generateExpression(C.test,r.Coalesce,F),E+"?"+E,this.generateExpression(C.consequent,r.Assignment,F),E+":"+E,this.generateExpression(C.alternate,r.Assignment,F)],r.Conditional,j)},LogicalExpression:function(C,j,F){return C.operator==="??"&&(F|=Ee),this.BinaryExpression(C,j,F)},BinaryExpression:function(C,j,F){var O,U,se,pe,fe,Se;return pe=n[C.operator],U=C.operator==="**"?r.Postfix:pe,se=C.operator==="**"?pe:pe+1,pe<j&&(F|=q),fe=this.generateExpression(C.left,U,F),Se=fe.toString(),Se.charCodeAt(Se.length-1)===47&&o.code.isIdentifierPartES5(C.operator.charCodeAt(0))?O=[fe,pt(),C.operator]:O=Be(fe,C.operator),fe=this.generateExpression(C.right,se,F),C.operator==="/"&&fe.toString().charAt(0)==="/"||C.operator.slice(-1)==="<"&&fe.toString().slice(0,3)==="!--"?(O.push(pt()),O.push(fe)):O=Be(O,fe),C.operator==="in"&&!(F&q)?["(",O,")"]:(C.operator==="||"||C.operator==="&&")&&F&Ee?["(",O,")"]:ot(O,pe,j)},CallExpression:function(C,j,F){var O,U,se;for(O=[this.generateExpression(C.callee,r.Call,W)],C.optional&&O.push("?."),O.push("("),U=0,se=C.arguments.length;U<se;++U)O.push(this.generateExpression(C.arguments[U],r.Assignment,H)),U+1<se&&O.push(","+E);return O.push(")"),F&B?ot(O,r.Call,j):["(",O,")"]},ChainExpression:function(C,j,F){r.OptionalChaining<j&&(F|=B);var O=this.generateExpression(C.expression,r.OptionalChaining,F);return ot(O,r.OptionalChaining,j)},NewExpression:function(C,j,F){var O,U,se,pe,fe;if(U=C.arguments.length,fe=F&V&&!A&&U===0?le:re,O=Be("new",this.generateExpression(C.callee,r.New,fe)),!(F&V)||A||U>0){for(O.push("("),se=0,pe=U;se<pe;++se)O.push(this.generateExpression(C.arguments[se],r.Assignment,H)),se+1<pe&&O.push(","+E);O.push(")")}return ot(O,r.New,j)},MemberExpression:function(C,j,F){var O,U;return O=[this.generateExpression(C.object,r.Call,F&B?W:re)],C.computed?(C.optional&&O.push("?."),O.push("["),O.push(this.generateExpression(C.property,r.Sequence,F&B?H:le)),O.push("]")):(!C.optional&&C.object.type===t.Literal&&typeof C.object.value=="number"&&(U=ge(O).toString(),U.indexOf(".")<0&&!/[eExX]/.test(U)&&o.code.isDecimalDigit(U.charCodeAt(U.length-1))&&!(U.length>=2&&U.charCodeAt(0)===48)&&O.push(" ")),O.push(C.optional?"?.":"."),O.push(At(C.property))),ot(O,r.Member,j)},MetaProperty:function(C,j,F){var O;return O=[],O.push(typeof C.meta=="string"?C.meta:At(C.meta)),O.push("."),O.push(typeof C.property=="string"?C.property:At(C.property)),ot(O,r.Member,j)},UnaryExpression:function(C,j,F){var O,U,se,pe,fe;return U=this.generateExpression(C.argument,r.Unary,H),E===""?O=Be(C.operator,U):(O=[C.operator],C.operator.length>2?O=Be(O,U):(pe=ge(O).toString(),fe=pe.charCodeAt(pe.length-1),se=U.toString().charCodeAt(0),((fe===43||fe===45)&&fe===se||o.code.isIdentifierPartES5(fe)&&o.code.isIdentifierPartES5(se))&&O.push(pt()),O.push(U))),ot(O,r.Unary,j)},YieldExpression:function(C,j,F){var O;return C.delegate?O="yield*":O="yield",C.argument&&(O=Be(O,this.generateExpression(C.argument,r.Yield,H))),ot(O,r.Yield,j)},AwaitExpression:function(C,j,F){var O=Be(C.all?"await*":"await",this.generateExpression(C.argument,r.Await,H));return ot(O,r.Await,j)},UpdateExpression:function(C,j,F){return C.prefix?ot([C.operator,this.generateExpression(C.argument,r.Unary,H)],r.Unary,j):ot([this.generateExpression(C.argument,r.Postfix,H),C.operator],r.Postfix,j)},FunctionExpression:function(C,j,F){var O=[rr(C,!0),"function"];return C.id?(O.push(bt(C)||pt()),O.push(At(C.id))):O.push(bt(C)||E),O.push(this.generateFunctionBody(C)),O},ArrayPattern:function(C,j,F){return this.ArrayExpression(C,j,F,!0)},ArrayExpression:function(C,j,F,O){var U,se,pe=this;return C.elements.length?(se=O?!1:C.elements.length>1,U=["[",se?g:""],et(function(fe){var Se,Ve;for(Se=0,Ve=C.elements.length;Se<Ve;++Se)C.elements[Se]?(U.push(se?fe:""),U.push(pe.generateExpression(C.elements[Se],r.Assignment,H))):(se&&U.push(fe),Se+1===Ve&&U.push(",")),Se+1<Ve&&U.push(","+(se?g:E))}),se&&!xe(ge(U).toString())&&U.push(g),U.push(se?s:""),U.push("]"),U):"[]"},RestElement:function(C,j,F){return"..."+this.generatePattern(C.argument)},ClassExpression:function(C,j,F){var O,U;return O=["class"],C.id&&(O=Be(O,this.generateExpression(C.id,r.Sequence,H))),C.superClass&&(U=Be("extends",this.generateExpression(C.superClass,r.Unary,H)),O=Be(O,U)),O.push(E),O.push(this.generateStatement(C.body,ve)),O},MethodDefinition:function(C,j,F){var O,U;return C.static?O=["static"+E]:O=[],C.kind==="get"||C.kind==="set"?U=[Be(C.kind,this.generatePropertyKey(C.key,C.computed)),this.generateFunctionBody(C.value)]:U=[nt(C),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)],Be(O,U)},Property:function(C,j,F){return C.kind==="get"||C.kind==="set"?[C.kind,pt(),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)]:C.shorthand?C.value.type==="AssignmentPattern"?this.AssignmentPattern(C.value,r.Sequence,H):this.generatePropertyKey(C.key,C.computed):C.method?[nt(C),this.generatePropertyKey(C.key,C.computed),this.generateFunctionBody(C.value)]:[this.generatePropertyKey(C.key,C.computed),":"+E,this.generateExpression(C.value,r.Assignment,H)]},ObjectExpression:function(C,j,F){var O,U,se,pe=this;return C.properties.length?(O=C.properties.length>1,et(function(){se=pe.generateExpression(C.properties[0],r.Sequence,H)}),!O&&!De(ge(se).toString())?["{",E,se,E,"}"]:(et(function(fe){var Se,Ve;if(U=["{",g,fe,se],O)for(U.push(","+g),Se=1,Ve=C.properties.length;Se<Ve;++Se)U.push(fe),U.push(pe.generateExpression(C.properties[Se],r.Sequence,H)),Se+1<Ve&&U.push(","+g)}),xe(ge(U).toString())||U.push(g),U.push(s),U.push("}"),U)):"{}"},AssignmentPattern:function(C,j,F){return this.generateAssignment(C.left,C.right,"=",j,F)},ObjectPattern:function(C,j,F){var O,U,se,pe,fe,Se=this;if(!C.properties.length)return"{}";if(pe=!1,C.properties.length===1)fe=C.properties[0],fe.type===t.Property&&fe.value.type!==t.Identifier&&(pe=!0);else for(U=0,se=C.properties.length;U<se;++U)if(fe=C.properties[U],fe.type===t.Property&&!fe.shorthand){pe=!0;break}return O=["{",pe?g:""],et(function(Ve){var ye,Ot;for(ye=0,Ot=C.properties.length;ye<Ot;++ye)O.push(pe?Ve:""),O.push(Se.generateExpression(C.properties[ye],r.Sequence,H)),ye+1<Ot&&O.push(","+(pe?g:E))}),pe&&!xe(ge(O).toString())&&O.push(g),O.push(pe?s:""),O.push("}"),O},ThisExpression:function(C,j,F){return"this"},Super:function(C,j,F){return"super"},Identifier:function(C,j,F){return At(C)},ImportDefaultSpecifier:function(C,j,F){return At(C.id||C.local)},ImportNamespaceSpecifier:function(C,j,F){var O=["*"],U=C.id||C.local;return U&&O.push(E+"as"+pt()+At(U)),O},ImportSpecifier:function(C,j,F){var O=C.imported,U=[O.name],se=C.local;return se&&se.name!==O.name&&U.push(pt()+"as"+pt()+At(se)),U},ExportSpecifier:function(C,j,F){var O=C.local,U=[O.name],se=C.exported;return se&&se.name!==O.name&&U.push(pt()+"as"+pt()+At(se)),U},Literal:function(C,j,F){var O;if(C.hasOwnProperty("raw")&&D&&R.raw)try{if(O=D(C.raw).body[0].expression,O.type===t.Literal&&O.value===C.value)return C.raw}catch{}return C.regex?"/"+C.regex.pattern+"/"+C.regex.flags:typeof C.value=="bigint"?C.value.toString()+"n":C.bigint?C.bigint+"n":C.value===null?"null":typeof C.value=="string"?er(C.value):typeof C.value=="number"?Me(C.value):typeof C.value=="boolean"?C.value?"true":"false":Ft(C.value)},GeneratorExpression:function(C,j,F){return this.ComprehensionExpression(C,j,F)},ComprehensionExpression:function(C,j,F){var O,U,se,pe,fe=this;return O=C.type===t.GeneratorExpression?["("]:["["],R.moz.comprehensionExpressionStartsWithAssignment&&(pe=this.generateExpression(C.body,r.Assignment,H),O.push(pe)),C.blocks&&et(function(){for(U=0,se=C.blocks.length;U<se;++U)pe=fe.generateExpression(C.blocks[U],r.Sequence,H),U>0||R.moz.comprehensionExpressionStartsWithAssignment?O=Be(O,pe):O.push(pe)}),C.filter&&(O=Be(O,"if"+E),pe=this.generateExpression(C.filter,r.Sequence,H),O=Be(O,["(",pe,")"])),R.moz.comprehensionExpressionStartsWithAssignment||(pe=this.generateExpression(C.body,r.Assignment,H),O=Be(O,pe)),O.push(C.type===t.GeneratorExpression?")":"]"),O},ComprehensionBlock:function(C,j,F){var O;return C.left.type===t.VariableDeclaration?O=[C.left.kind,pt(),this.generateStatement(C.left.declarations[0],Re)]:O=this.generateExpression(C.left,r.Call,H),O=Be(O,C.of?"of":"in"),O=Be(O,this.generateExpression(C.right,r.Sequence,H)),["for"+E+"(",O,")"]},SpreadElement:function(C,j,F){return["...",this.generateExpression(C.argument,r.Assignment,H)]},TaggedTemplateExpression:function(C,j,F){var O=W;F&B||(O=re);var U=[this.generateExpression(C.tag,r.Call,O),this.generateExpression(C.quasi,r.Primary,ce)];return ot(U,r.TaggedTemplate,j)},TemplateElement:function(C,j,F){return C.value.raw},TemplateLiteral:function(C,j,F){var O,U,se;for(O=["`"],U=0,se=C.quasis.length;U<se;++U)O.push(this.generateExpression(C.quasis[U],r.Primary,H)),U+1<se&&(O.push("${"+E),O.push(this.generateExpression(C.expressions[U],r.Sequence,H)),O.push(E+"}"));return O.push("`"),O},ModuleSpecifier:function(C,j,F){return this.Literal(C,j,F)},ImportExpression:function(C,j,F){return ot(["import(",this.generateExpression(C.source,r.Assignment,H),")"],r.Call,j)}},Oe(rt.prototype,rt.Expression),rt.prototype.generateExpression=function(C,j,F){var O,U;return U=C.type||t.Property,R.verbatim&&C.hasOwnProperty(R.verbatim)?Mr(C,j):(O=this[U](C,j,F),R.comment&&(O=je(C,O)),ge(O,C))},rt.prototype.generateStatement=function(C,j){var F,O;return F=this[C.type](C,j),R.comment&&(F=je(C,F)),O=ge(F).toString(),C.type===t.Program&&!T&&g===""&&O.charAt(O.length-1)===`
1054
+ `&&(F=y?ge(F).replaceRight(/\s+$/,""):O.replace(/\s+$/,"")),ge(F,C)};function Nt(C){var j;if(j=new rt,K(C))return j.generateStatement(C,ie);if(L(C))return j.generateExpression(C,r.Sequence,H);throw new Error("Unknown node type: "+C.type)}function Ne(C,j){var F=me(),O,U;return j!=null?(typeof j.indent=="string"&&(F.format.indent.style=j.indent),typeof j.base=="number"&&(F.format.indent.base=j.base),j=Fe(F,j),l=j.format.indent.style,typeof j.base=="string"?s=j.base:s=Ae(l,j.format.indent.base)):(j=F,l=j.format.indent.style,s=Ae(l,j.format.indent.base)),u=j.format.json,p=j.format.renumber,f=u?!1:j.format.hexadecimal,h=u?"double":j.format.quotes,m=j.format.escapeless,g=j.format.newline,E=j.format.space,j.format.compact&&(g=E=l=s=""),A=j.format.parentheses,v=j.format.semicolons,T=j.format.safeConcatenation,I=j.directive,D=u?null:j.parse,y=j.sourceMap,w=j.sourceCode,S=j.format.preserveBlankLines&&w!==null,R=j,y&&(e.browser?i=global.sourceMap.SourceNode:i=FV().SourceNode),O=Nt(C),y?(U=O.toStringWithSourceMap({file:j.file,sourceRoot:j.sourceMapRoot}),j.sourceContent&&U.map.setSourceContent(j.sourceMap,j.sourceContent),j.sourceMapWithCode?U:U.map.toString()):(U={code:O.toString(),map:null},j.sourceMapWithCode?U:U.code)}P={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},z=me().format,e.version=IV().version,e.generate=Ne,e.attachComments=a.attachComments,e.Precedence=Fe({},r),e.browser=!1,e.FORMAT_MINIFY=P,e.FORMAT_DEFAULTS=z})()}}),ic=mt({"../../../node_modules/acorn/dist/acorn.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=r||self,n(r.acorn={}))})(e,(function(r){var n={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"},i="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",a={5:i,"5module":i+" export import",6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",l="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",u=new RegExp("["+s+"]"),p=new RegExp("["+s+l+"]");s=l=null;var f=[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],h=[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];function m(d,_){for(var N=65536,M=0;M<_.length;M+=2){if(N+=_[M],N>d)return!1;if(N+=_[M+1],N>=d)return!0}}function g(d,_){return d<65?d===36:d<91?!0:d<97?d===95:d<123?!0:d<=65535?d>=170&&u.test(String.fromCharCode(d)):_===!1?!1:m(d,f)}function E(d,_){return d<48?d===36:d<58?!0:d<65?!1:d<91?!0:d<97?d===95:d<123?!0:d<=65535?d>=170&&p.test(String.fromCharCode(d)):_===!1?!1:m(d,f)||m(d,h)}var A=function(d,_){_===void 0&&(_={}),this.label=d,this.keyword=_.keyword,this.beforeExpr=!!_.beforeExpr,this.startsExpr=!!_.startsExpr,this.isLoop=!!_.isLoop,this.isAssign=!!_.isAssign,this.prefix=!!_.prefix,this.postfix=!!_.postfix,this.binop=_.binop||null,this.updateContext=null};function v(d,_){return new A(d,{beforeExpr:!0,binop:_})}var T={beforeExpr:!0},I={startsExpr:!0},R={};function D(d,_){return _===void 0&&(_={}),_.keyword=d,R[d]=new A(d,_)}var y={num:new A("num",I),regexp:new A("regexp",I),string:new A("string",I),name:new A("name",I),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",T),semi:new A(";",T),colon:new A(":",T),dot:new A("."),question:new A("?",T),questionDot:new A("?."),arrow:new A("=>",T),template:new A("template"),invalidTemplate:new A("invalidTemplate"),ellipsis:new A("...",T),backQuote:new A("`",I),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:v("%",10),star:v("*",10),slash:v("/",10),starstar:new A("**",{beforeExpr:!0}),coalesce:v("??",1),_break:D("break"),_case:D("case",T),_catch:D("catch"),_continue:D("continue"),_debugger:D("debugger"),_default:D("default",T),_do:D("do",{isLoop:!0,beforeExpr:!0}),_else:D("else",T),_finally:D("finally"),_for:D("for",{isLoop:!0}),_function:D("function",I),_if:D("if"),_return:D("return",T),_switch:D("switch"),_throw:D("throw",T),_try:D("try"),_var:D("var"),_const:D("const"),_while:D("while",{isLoop:!0}),_with:D("with"),_new:D("new",{beforeExpr:!0,startsExpr:!0}),_this:D("this",I),_super:D("super",I),_class:D("class",I),_extends:D("extends",T),_export:D("export"),_import:D("import",I),_null:D("null",I),_true:D("true",I),_false:D("false",I),_in:D("in",{beforeExpr:!0,binop:7}),_instanceof:D("instanceof",{beforeExpr:!0,binop:7}),_typeof:D("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:D("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:D("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(w.source,"g");function P(d,_){return d===10||d===13||!_&&(d===8232||d===8233)}var z=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,L=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,K=Object.prototype,q=K.hasOwnProperty,B=K.toString;function V(d,_){return q.call(d,_)}var X=Array.isArray||(function(d){return B.call(d)==="[object Array]"});function Q(d){return new RegExp("^(?:"+d.replace(/ /g,"|")+")$")}var oe=function(d,_){this.line=d,this.column=_};oe.prototype.offset=function(d){return new oe(this.line,this.column+d)};var Ee=function(d,_,N){this.start=_,this.end=N,d.sourceFile!==null&&(this.source=d.sourceFile)};function Pe(d,_){for(var N=1,M=0;;){S.lastIndex=M;var Y=S.exec(d);if(Y&&Y.index<_)++N,M=Y.index+Y[0].length;else return new oe(N,_-M)}}var W={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};function H(d){var _={};for(var N in W)_[N]=d&&V(d,N)?d[N]:W[N];if(_.ecmaVersion>=2015&&(_.ecmaVersion-=2009),_.allowReserved==null&&(_.allowReserved=_.ecmaVersion<5),X(_.onToken)){var M=_.onToken;_.onToken=function(Y){return M.push(Y)}}return X(_.onComment)&&(_.onComment=re(_,_.onComment)),_}function re(d,_){return function(N,M,Y,ae,de,Te){var Ie={type:N?"Block":"Line",value:M,start:Y,end:ae};d.locations&&(Ie.loc=new Ee(this,de,Te)),d.ranges&&(Ie.range=[Y,ae]),_.push(Ie)}}var ce=1,le=2,ie=ce|le,ve=4,Re=8,$e=16,Z=32,me=64,Ae=128;function De(d,_){return le|(d?ve:0)|(_?Re:0)}var xe=0,Oe=1,Fe=2,Me=3,ut=4,Ft=5,Je=function(d,_,N){this.options=d=H(d),this.sourceFile=d.sourceFile,this.keywords=Q(a[d.ecmaVersion>=6?6:d.sourceType==="module"?"5module":5]);var M="";if(d.allowReserved!==!0){for(var Y=d.ecmaVersion;!(M=n[Y]);Y--);d.sourceType==="module"&&(M+=" await")}this.reservedWords=Q(M);var ae=(M?M+" ":"")+n.strict;this.reservedWordsStrict=Q(ae),this.reservedWordsStrictBind=Q(ae+" "+n.strictBind),this.input=String(_),this.containsEsc=!1,N?(this.pos=N,this.lineStart=this.input.lastIndexOf(`
1055
+ `,N-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.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=d.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&&d.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ce),this.regexpState=null},yt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Je.prototype.parse=function(){var d=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(d)},yt.inFunction.get=function(){return(this.currentVarScope().flags&le)>0},yt.inGenerator.get=function(){return(this.currentVarScope().flags&Re)>0},yt.inAsync.get=function(){return(this.currentVarScope().flags&ve)>0},yt.allowSuper.get=function(){return(this.currentThisScope().flags&me)>0},yt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ae)>0},yt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Je.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&le)>0},Je.extend=function(){for(var d=[],_=arguments.length;_--;)d[_]=arguments[_];for(var N=this,M=0;M<d.length;M++)N=d[M](N);return N},Je.parse=function(d,_){return new this(_,d).parse()},Je.parseExpressionAt=function(d,_,N){var M=new this(N,d,_);return M.nextToken(),M.parseExpression()},Je.tokenizer=function(d,_){return new this(_,d)},Object.defineProperties(Je.prototype,yt);var Ye=Je.prototype,er=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Ye.strictDirective=function(d){for(;;){L.lastIndex=d,d+=L.exec(this.input)[0].length;var _=er.exec(this.input.slice(d));if(!_)return!1;if((_[1]||_[2])==="use strict"){L.lastIndex=d+_[0].length;var N=L.exec(this.input),M=N.index+N[0].length,Y=this.input.charAt(M);return Y===";"||Y==="}"||w.test(N[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Y)||Y==="!"&&this.input.charAt(M+1)==="=")}d+=_[0].length,L.lastIndex=d,d+=L.exec(this.input)[0].length,this.input[d]===";"&&d++}},Ye.eat=function(d){return this.type===d?(this.next(),!0):!1},Ye.isContextual=function(d){return this.type===y.name&&this.value===d&&!this.containsEsc},Ye.eatContextual=function(d){return this.isContextual(d)?(this.next(),!0):!1},Ye.expectContextual=function(d){this.eatContextual(d)||this.unexpected()},Ye.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},Ye.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Ye.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()},Ye.afterTrailingComma=function(d,_){if(this.type===d)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),_||this.next(),!0},Ye.expect=function(d){this.eat(d)||this.unexpected()},Ye.unexpected=function(d){this.raise(d??this.start,"Unexpected token")};function It(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Ye.checkPatternErrors=function(d,_){if(d){d.trailingComma>-1&&this.raiseRecoverable(d.trailingComma,"Comma is not permitted after the rest element");var N=_?d.parenthesizedAssign:d.parenthesizedBind;N>-1&&this.raiseRecoverable(N,"Parenthesized pattern")}},Ye.checkExpressionErrors=function(d,_){if(!d)return!1;var N=d.shorthandAssign,M=d.doubleProto;if(!_)return N>=0||M>=0;N>=0&&this.raise(N,"Shorthand property assignments are valid only in destructuring patterns"),M>=0&&this.raiseRecoverable(M,"Redefinition of __proto__ property")},Ye.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")},Ye.isSimpleAssignTarget=function(d){return d.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(d.expression):d.type==="Identifier"||d.type==="MemberExpression"};var ge=Je.prototype;ge.parseTopLevel=function(d){var _={};for(d.body||(d.body=[]);this.type!==y.eof;){var N=this.parseStatement(null,!0,_);d.body.push(N)}if(this.inModule)for(var M=0,Y=Object.keys(this.undefinedExports);M<Y.length;M+=1){var ae=Y[M];this.raiseRecoverable(this.undefinedExports[ae].start,"Export '"+ae+"' is not defined")}return this.adaptDirectivePrologue(d.body),this.next(),d.sourceType=this.options.sourceType,this.finishNode(d,"Program")};var pt={kind:"loop"},Be={kind:"switch"};ge.isLet=function(d){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;L.lastIndex=this.pos;var _=L.exec(this.input),N=this.pos+_[0].length,M=this.input.charCodeAt(N);if(M===91)return!0;if(d)return!1;if(M===123)return!0;if(g(M,!0)){for(var Y=N+1;E(this.input.charCodeAt(Y),!0);)++Y;var ae=this.input.slice(N,Y);if(!o.test(ae))return!0}return!1},ge.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;L.lastIndex=this.pos;var d=L.exec(this.input),_=this.pos+d[0].length;return!w.test(this.input.slice(this.pos,_))&&this.input.slice(_,_+8)==="function"&&(_+8===this.input.length||!E(this.input.charAt(_+8)))},ge.parseStatement=function(d,_,N){var M=this.type,Y=this.startNode(),ae;switch(this.isLet(d)&&(M=y._var,ae="let"),M){case y._break:case y._continue:return this.parseBreakContinueStatement(Y,M.keyword);case y._debugger:return this.parseDebuggerStatement(Y);case y._do:return this.parseDoStatement(Y);case y._for:return this.parseForStatement(Y);case y._function:return d&&(this.strict||d!=="if"&&d!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Y,!1,!d);case y._class:return d&&this.unexpected(),this.parseClass(Y,!0);case y._if:return this.parseIfStatement(Y);case y._return:return this.parseReturnStatement(Y);case y._switch:return this.parseSwitchStatement(Y);case y._throw:return this.parseThrowStatement(Y);case y._try:return this.parseTryStatement(Y);case y._const:case y._var:return ae=ae||this.value,d&&ae!=="var"&&this.unexpected(),this.parseVarStatement(Y,ae);case y._while:return this.parseWhileStatement(Y);case y._with:return this.parseWithStatement(Y);case y.braceL:return this.parseBlock(!0,Y);case y.semi:return this.parseEmptyStatement(Y);case y._export:case y._import:if(this.options.ecmaVersion>10&&M===y._import){L.lastIndex=this.pos;var de=L.exec(this.input),Te=this.pos+de[0].length,Ie=this.input.charCodeAt(Te);if(Ie===40||Ie===46)return this.parseExpressionStatement(Y,this.parseExpression())}return this.options.allowImportExportEverywhere||(_||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'")),M===y._import?this.parseImport(Y):this.parseExport(Y,N);default:if(this.isAsyncFunction())return d&&this.unexpected(),this.next(),this.parseFunctionStatement(Y,!0,!d);var Xe=this.value,ft=this.parseExpression();return M===y.name&&ft.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(Y,Xe,ft,d):this.parseExpressionStatement(Y,ft)}},ge.parseBreakContinueStatement=function(d,_){var N=_==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?d.label=null:this.type!==y.name?this.unexpected():(d.label=this.parseIdent(),this.semicolon());for(var M=0;M<this.labels.length;++M){var Y=this.labels[M];if((d.label==null||Y.name===d.label.name)&&(Y.kind!=null&&(N||Y.kind==="loop")||d.label&&N))break}return M===this.labels.length&&this.raise(d.start,"Unsyntactic "+_),this.finishNode(d,N?"BreakStatement":"ContinueStatement")},ge.parseDebuggerStatement=function(d){return this.next(),this.semicolon(),this.finishNode(d,"DebuggerStatement")},ge.parseDoStatement=function(d){return this.next(),this.labels.push(pt),d.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),d.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(d,"DoWhileStatement")},ge.parseForStatement=function(d){this.next();var _=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(pt),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return _>-1&&this.unexpected(_),this.parseFor(d,null);var N=this.isLet();if(this.type===y._var||this.type===y._const||N){var M=this.startNode(),Y=N?"let":this.value;return this.next(),this.parseVar(M,!0,Y),this.finishNode(M,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&M.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?_>-1&&this.unexpected(_):d.await=_>-1),this.parseForIn(d,M)):(_>-1&&this.unexpected(_),this.parseFor(d,M))}var ae=new It,de=this.parseExpression(!0,ae);return this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===y._in?_>-1&&this.unexpected(_):d.await=_>-1),this.toAssignable(de,!1,ae),this.checkLVal(de),this.parseForIn(d,de)):(this.checkExpressionErrors(ae,!0),_>-1&&this.unexpected(_),this.parseFor(d,de))},ge.parseFunctionStatement=function(d,_,N){return this.next(),this.parseFunction(d,et|(N?0:_r),!1,_)},ge.parseIfStatement=function(d){return this.next(),d.test=this.parseParenExpression(),d.consequent=this.parseStatement("if"),d.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(d,"IfStatement")},ge.parseReturnStatement=function(d){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?d.argument=null:(d.argument=this.parseExpression(),this.semicolon()),this.finishNode(d,"ReturnStatement")},ge.parseSwitchStatement=function(d){this.next(),d.discriminant=this.parseParenExpression(),d.cases=[],this.expect(y.braceL),this.labels.push(Be),this.enterScope(0);for(var _,N=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var M=this.type===y._case;_&&this.finishNode(_,"SwitchCase"),d.cases.push(_=this.startNode()),_.consequent=[],this.next(),M?_.test=this.parseExpression():(N&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),N=!0,_.test=null),this.expect(y.colon)}else _||this.unexpected(),_.consequent.push(this.parseStatement(null));return this.exitScope(),_&&this.finishNode(_,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(d,"SwitchStatement")},ge.parseThrowStatement=function(d){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),d.argument=this.parseExpression(),this.semicolon(),this.finishNode(d,"ThrowStatement")};var _t=[];ge.parseTryStatement=function(d){if(this.next(),d.block=this.parseBlock(),d.handler=null,this.type===y._catch){var _=this.startNode();if(this.next(),this.eat(y.parenL)){_.param=this.parseBindingAtom();var N=_.param.type==="Identifier";this.enterScope(N?Z:0),this.checkLVal(_.param,N?ut:Fe),this.expect(y.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),_.param=null,this.enterScope(0);_.body=this.parseBlock(!1),this.exitScope(),d.handler=this.finishNode(_,"CatchClause")}return d.finalizer=this.eat(y._finally)?this.parseBlock():null,!d.handler&&!d.finalizer&&this.raise(d.start,"Missing catch or finally clause"),this.finishNode(d,"TryStatement")},ge.parseVarStatement=function(d,_){return this.next(),this.parseVar(d,!1,_),this.semicolon(),this.finishNode(d,"VariableDeclaration")},ge.parseWhileStatement=function(d){return this.next(),d.test=this.parseParenExpression(),this.labels.push(pt),d.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(d,"WhileStatement")},ge.parseWithStatement=function(d){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),d.object=this.parseParenExpression(),d.body=this.parseStatement("with"),this.finishNode(d,"WithStatement")},ge.parseEmptyStatement=function(d){return this.next(),this.finishNode(d,"EmptyStatement")},ge.parseLabeledStatement=function(d,_,N,M){for(var Y=0,ae=this.labels;Y<ae.length;Y+=1){var de=ae[Y];de.name===_&&this.raise(N.start,"Label '"+_+"' is already declared")}for(var Te=this.type.isLoop?"loop":this.type===y._switch?"switch":null,Ie=this.labels.length-1;Ie>=0;Ie--){var Xe=this.labels[Ie];if(Xe.statementStart===d.start)Xe.statementStart=this.start,Xe.kind=Te;else break}return this.labels.push({name:_,kind:Te,statementStart:this.start}),d.body=this.parseStatement(M?M.indexOf("label")===-1?M+"label":M:"label"),this.labels.pop(),d.label=N,this.finishNode(d,"LabeledStatement")},ge.parseExpressionStatement=function(d,_){return d.expression=_,this.semicolon(),this.finishNode(d,"ExpressionStatement")},ge.parseBlock=function(d,_,N){for(d===void 0&&(d=!0),_===void 0&&(_=this.startNode()),_.body=[],this.expect(y.braceL),d&&this.enterScope(0);this.type!==y.braceR;){var M=this.parseStatement(null);_.body.push(M)}return N&&(this.strict=!1),this.next(),d&&this.exitScope(),this.finishNode(_,"BlockStatement")},ge.parseFor=function(d,_){return d.init=_,this.expect(y.semi),d.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),d.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),d.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(d,"ForStatement")},ge.parseForIn=function(d,_){var N=this.type===y._in;return this.next(),_.type==="VariableDeclaration"&&_.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||_.kind!=="var"||_.declarations[0].id.type!=="Identifier")?this.raise(_.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer"):_.type==="AssignmentPattern"&&this.raise(_.start,"Invalid left-hand side in for-loop"),d.left=_,d.right=N?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),d.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(d,N?"ForInStatement":"ForOfStatement")},ge.parseVar=function(d,_,N){for(d.declarations=[],d.kind=N;;){var M=this.startNode();if(this.parseVarId(M,N),this.eat(y.eq)?M.init=this.parseMaybeAssign(_):N==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():M.id.type!=="Identifier"&&!(_&&(this.type===y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):M.init=null,d.declarations.push(this.finishNode(M,"VariableDeclarator")),!this.eat(y.comma))break}return d},ge.parseVarId=function(d,_){d.id=this.parseBindingAtom(),this.checkLVal(d.id,_==="var"?Oe:Fe,!1)};var et=1,_r=2,Rr=4;ge.parseFunction=function(d,_,N,M){this.initFunction(d),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!M)&&(this.type===y.star&&_&_r&&this.unexpected(),d.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(d.async=!!M),_&et&&(d.id=_&Rr&&this.type!==y.name?null:this.parseIdent(),d.id&&!(_&_r)&&this.checkLVal(d.id,this.strict||d.generator||d.async?this.treatFunctionsAsVar?Oe:Fe:Me));var Y=this.yieldPos,ae=this.awaitPos,de=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(De(d.async,d.generator)),_&et||(d.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(d),this.parseFunctionBody(d,N,!1),this.yieldPos=Y,this.awaitPos=ae,this.awaitIdentPos=de,this.finishNode(d,_&et?"FunctionDeclaration":"FunctionExpression")},ge.parseFunctionParams=function(d){this.expect(y.parenL),d.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ge.parseClass=function(d,_){this.next();var N=this.strict;this.strict=!0,this.parseClassId(d,_),this.parseClassSuper(d);var M=this.startNode(),Y=!1;for(M.body=[],this.expect(y.braceL);this.type!==y.braceR;){var ae=this.parseClassElement(d.superClass!==null);ae&&(M.body.push(ae),ae.type==="MethodDefinition"&&ae.kind==="constructor"&&(Y&&this.raise(ae.start,"Duplicate constructor in the same class"),Y=!0))}return this.strict=N,this.next(),d.body=this.finishNode(M,"ClassBody"),this.finishNode(d,_?"ClassDeclaration":"ClassExpression")},ge.parseClassElement=function(d){var _=this;if(this.eat(y.semi))return null;var N=this.startNode(),M=function(Ie,Xe){Xe===void 0&&(Xe=!1);var ft=_.start,Ht=_.startLoc;return _.eatContextual(Ie)?_.type!==y.parenL&&(!Xe||!_.canInsertSemicolon())?!0:(N.key&&_.unexpected(),N.computed=!1,N.key=_.startNodeAt(ft,Ht),N.key.name=Ie,_.finishNode(N.key,"Identifier"),!1):!1};N.kind="method",N.static=M("static");var Y=this.eat(y.star),ae=!1;Y||(this.options.ecmaVersion>=8&&M("async",!0)?(ae=!0,Y=this.options.ecmaVersion>=9&&this.eat(y.star)):M("get")?N.kind="get":M("set")&&(N.kind="set")),N.key||this.parsePropertyName(N);var de=N.key,Te=!1;return!N.computed&&!N.static&&(de.type==="Identifier"&&de.name==="constructor"||de.type==="Literal"&&de.value==="constructor")?(N.kind!=="method"&&this.raise(de.start,"Constructor can't have get/set modifier"),Y&&this.raise(de.start,"Constructor can't be a generator"),ae&&this.raise(de.start,"Constructor can't be an async method"),N.kind="constructor",Te=d):N.static&&de.type==="Identifier"&&de.name==="prototype"&&this.raise(de.start,"Classes may not have a static property named prototype"),this.parseClassMethod(N,Y,ae,Te),N.kind==="get"&&N.value.params.length!==0&&this.raiseRecoverable(N.value.start,"getter should have no params"),N.kind==="set"&&N.value.params.length!==1&&this.raiseRecoverable(N.value.start,"setter should have exactly one param"),N.kind==="set"&&N.value.params[0].type==="RestElement"&&this.raiseRecoverable(N.value.params[0].start,"Setter cannot use rest params"),N},ge.parseClassMethod=function(d,_,N,M){return d.value=this.parseMethod(_,N,M),this.finishNode(d,"MethodDefinition")},ge.parseClassId=function(d,_){this.type===y.name?(d.id=this.parseIdent(),_&&this.checkLVal(d.id,Fe,!1)):(_===!0&&this.unexpected(),d.id=null)},ge.parseClassSuper=function(d){d.superClass=this.eat(y._extends)?this.parseExprSubscripts():null},ge.parseExport=function(d,_){if(this.next(),this.eat(y.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(d.exported=this.parseIdent(!0),this.checkExport(_,d.exported.name,this.lastTokStart)):d.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),d.source=this.parseExprAtom(),this.semicolon(),this.finishNode(d,"ExportAllDeclaration");if(this.eat(y._default)){this.checkExport(_,"default",this.lastTokStart);var N;if(this.type===y._function||(N=this.isAsyncFunction())){var M=this.startNode();this.next(),N&&this.next(),d.declaration=this.parseFunction(M,et|Rr,!1,N)}else if(this.type===y._class){var Y=this.startNode();d.declaration=this.parseClass(Y,"nullableID")}else d.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(d,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())d.declaration=this.parseStatement(null),d.declaration.type==="VariableDeclaration"?this.checkVariableExport(_,d.declaration.declarations):this.checkExport(_,d.declaration.id.name,d.declaration.id.start),d.specifiers=[],d.source=null;else{if(d.declaration=null,d.specifiers=this.parseExportSpecifiers(_),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),d.source=this.parseExprAtom();else{for(var ae=0,de=d.specifiers;ae<de.length;ae+=1){var Te=de[ae];this.checkUnreserved(Te.local),this.checkLocalExport(Te.local)}d.source=null}this.semicolon()}return this.finishNode(d,"ExportNamedDeclaration")},ge.checkExport=function(d,_,N){d&&(V(d,_)&&this.raiseRecoverable(N,"Duplicate export '"+_+"'"),d[_]=!0)},ge.checkPatternExport=function(d,_){var N=_.type;if(N==="Identifier")this.checkExport(d,_.name,_.start);else if(N==="ObjectPattern")for(var M=0,Y=_.properties;M<Y.length;M+=1){var ae=Y[M];this.checkPatternExport(d,ae)}else if(N==="ArrayPattern")for(var de=0,Te=_.elements;de<Te.length;de+=1){var Ie=Te[de];Ie&&this.checkPatternExport(d,Ie)}else N==="Property"?this.checkPatternExport(d,_.value):N==="AssignmentPattern"?this.checkPatternExport(d,_.left):N==="RestElement"?this.checkPatternExport(d,_.argument):N==="ParenthesizedExpression"&&this.checkPatternExport(d,_.expression)},ge.checkVariableExport=function(d,_){if(d)for(var N=0,M=_;N<M.length;N+=1){var Y=M[N];this.checkPatternExport(d,Y.id)}},ge.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ge.parseExportSpecifiers=function(d){var _=[],N=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(N)N=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var M=this.startNode();M.local=this.parseIdent(!0),M.exported=this.eatContextual("as")?this.parseIdent(!0):M.local,this.checkExport(d,M.exported.name,M.exported.start),_.push(this.finishNode(M,"ExportSpecifier"))}return _},ge.parseImport=function(d){return this.next(),this.type===y.string?(d.specifiers=_t,d.source=this.parseExprAtom()):(d.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),d.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(d,"ImportDeclaration")},ge.parseImportSpecifiers=function(){var d=[],_=!0;if(this.type===y.name){var N=this.startNode();if(N.local=this.parseIdent(),this.checkLVal(N.local,Fe),d.push(this.finishNode(N,"ImportDefaultSpecifier")),!this.eat(y.comma))return d}if(this.type===y.star){var M=this.startNode();return this.next(),this.expectContextual("as"),M.local=this.parseIdent(),this.checkLVal(M.local,Fe),d.push(this.finishNode(M,"ImportNamespaceSpecifier")),d}for(this.expect(y.braceL);!this.eat(y.braceR);){if(_)_=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var Y=this.startNode();Y.imported=this.parseIdent(!0),this.eatContextual("as")?Y.local=this.parseIdent():(this.checkUnreserved(Y.imported),Y.local=Y.imported),this.checkLVal(Y.local,Fe),d.push(this.finishNode(Y,"ImportSpecifier"))}return d},ge.adaptDirectivePrologue=function(d){for(var _=0;_<d.length&&this.isDirectiveCandidate(d[_]);++_)d[_].directive=d[_].expression.raw.slice(1,-1)},ge.isDirectiveCandidate=function(d){return d.type==="ExpressionStatement"&&d.expression.type==="Literal"&&typeof d.expression.value=="string"&&(this.input[d.start]==='"'||this.input[d.start]==="'")};var gt=Je.prototype;gt.toAssignable=function(d,_,N){if(this.options.ecmaVersion>=6&&d)switch(d.type){case"Identifier":this.inAsync&&d.name==="await"&&this.raise(d.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":d.type="ObjectPattern",N&&this.checkPatternErrors(N,!0);for(var M=0,Y=d.properties;M<Y.length;M+=1){var ae=Y[M];this.toAssignable(ae,_),ae.type==="RestElement"&&(ae.argument.type==="ArrayPattern"||ae.argument.type==="ObjectPattern")&&this.raise(ae.argument.start,"Unexpected token")}break;case"Property":d.kind!=="init"&&this.raise(d.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(d.value,_);break;case"ArrayExpression":d.type="ArrayPattern",N&&this.checkPatternErrors(N,!0),this.toAssignableList(d.elements,_);break;case"SpreadElement":d.type="RestElement",this.toAssignable(d.argument,_),d.argument.type==="AssignmentPattern"&&this.raise(d.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":d.operator!=="="&&this.raise(d.left.end,"Only '=' operator can be used for specifying default value."),d.type="AssignmentPattern",delete d.operator,this.toAssignable(d.left,_);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(d.expression,_,N);break;case"ChainExpression":this.raiseRecoverable(d.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!_)break;default:this.raise(d.start,"Assigning to rvalue")}else N&&this.checkPatternErrors(N,!0);return d},gt.toAssignableList=function(d,_){for(var N=d.length,M=0;M<N;M++){var Y=d[M];Y&&this.toAssignable(Y,_)}if(N){var ae=d[N-1];this.options.ecmaVersion===6&&_&&ae&&ae.type==="RestElement"&&ae.argument.type!=="Identifier"&&this.unexpected(ae.argument.start)}return d},gt.parseSpread=function(d){var _=this.startNode();return this.next(),_.argument=this.parseMaybeAssign(!1,d),this.finishNode(_,"SpreadElement")},gt.parseRestBinding=function(){var d=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),d.argument=this.parseBindingAtom(),this.finishNode(d,"RestElement")},gt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var d=this.startNode();return this.next(),d.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(d,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()},gt.parseBindingList=function(d,_,N){for(var M=[],Y=!0;!this.eat(d);)if(Y?Y=!1:this.expect(y.comma),_&&this.type===y.comma)M.push(null);else{if(N&&this.afterTrailingComma(d))break;if(this.type===y.ellipsis){var ae=this.parseRestBinding();this.parseBindingListItem(ae),M.push(ae),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(d);break}else{var de=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(de),M.push(de)}}return M},gt.parseBindingListItem=function(d){return d},gt.parseMaybeDefault=function(d,_,N){if(N=N||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return N;var M=this.startNodeAt(d,_);return M.left=N,M.right=this.parseMaybeAssign(),this.finishNode(M,"AssignmentPattern")},gt.checkLVal=function(d,_,N){switch(_===void 0&&(_=xe),d.type){case"Identifier":_===Fe&&d.name==="let"&&this.raiseRecoverable(d.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(d.name)&&this.raiseRecoverable(d.start,(_?"Binding ":"Assigning to ")+d.name+" in strict mode"),N&&(V(N,d.name)&&this.raiseRecoverable(d.start,"Argument name clash"),N[d.name]=!0),_!==xe&&_!==Ft&&this.declareName(d.name,_,d.start);break;case"ChainExpression":this.raiseRecoverable(d.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":_&&this.raiseRecoverable(d.start,"Binding member expression");break;case"ObjectPattern":for(var M=0,Y=d.properties;M<Y.length;M+=1){var ae=Y[M];this.checkLVal(ae,_,N)}break;case"Property":this.checkLVal(d.value,_,N);break;case"ArrayPattern":for(var de=0,Te=d.elements;de<Te.length;de+=1){var Ie=Te[de];Ie&&this.checkLVal(Ie,_,N)}break;case"AssignmentPattern":this.checkLVal(d.left,_,N);break;case"RestElement":this.checkLVal(d.argument,_,N);break;case"ParenthesizedExpression":this.checkLVal(d.expression,_,N);break;default:this.raise(d.start,(_?"Binding":"Assigning to")+" rvalue")}};var je=Je.prototype;je.checkPropClash=function(d,_,N){if(!(this.options.ecmaVersion>=9&&d.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(d.computed||d.method||d.shorthand))){var M=d.key,Y;switch(M.type){case"Identifier":Y=M.name;break;case"Literal":Y=String(M.value);break;default:return}var ae=d.kind;if(this.options.ecmaVersion>=6){Y==="__proto__"&&ae==="init"&&(_.proto&&(N?N.doubleProto<0&&(N.doubleProto=M.start):this.raiseRecoverable(M.start,"Redefinition of __proto__ property")),_.proto=!0);return}Y="$"+Y;var de=_[Y];if(de){var Te;ae==="init"?Te=this.strict&&de.init||de.get||de.set:Te=de.init||de[ae],Te&&this.raiseRecoverable(M.start,"Redefinition of property")}else de=_[Y]={init:!1,get:!1,set:!1};de[ae]=!0}},je.parseExpression=function(d,_){var N=this.start,M=this.startLoc,Y=this.parseMaybeAssign(d,_);if(this.type===y.comma){var ae=this.startNodeAt(N,M);for(ae.expressions=[Y];this.eat(y.comma);)ae.expressions.push(this.parseMaybeAssign(d,_));return this.finishNode(ae,"SequenceExpression")}return Y},je.parseMaybeAssign=function(d,_,N){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(d);this.exprAllowed=!1}var M=!1,Y=-1,ae=-1;_?(Y=_.parenthesizedAssign,ae=_.trailingComma,_.parenthesizedAssign=_.trailingComma=-1):(_=new It,M=!0);var de=this.start,Te=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start);var Ie=this.parseMaybeConditional(d,_);if(N&&(Ie=N.call(this,Ie,de,Te)),this.type.isAssign){var Xe=this.startNodeAt(de,Te);return Xe.operator=this.value,Xe.left=this.type===y.eq?this.toAssignable(Ie,!1,_):Ie,M||(_.parenthesizedAssign=_.trailingComma=_.doubleProto=-1),_.shorthandAssign>=Xe.left.start&&(_.shorthandAssign=-1),this.checkLVal(Ie),this.next(),Xe.right=this.parseMaybeAssign(d),this.finishNode(Xe,"AssignmentExpression")}else M&&this.checkExpressionErrors(_,!0);return Y>-1&&(_.parenthesizedAssign=Y),ae>-1&&(_.trailingComma=ae),Ie},je.parseMaybeConditional=function(d,_){var N=this.start,M=this.startLoc,Y=this.parseExprOps(d,_);if(this.checkExpressionErrors(_))return Y;if(this.eat(y.question)){var ae=this.startNodeAt(N,M);return ae.test=Y,ae.consequent=this.parseMaybeAssign(),this.expect(y.colon),ae.alternate=this.parseMaybeAssign(d),this.finishNode(ae,"ConditionalExpression")}return Y},je.parseExprOps=function(d,_){var N=this.start,M=this.startLoc,Y=this.parseMaybeUnary(_,!1);return this.checkExpressionErrors(_)||Y.start===N&&Y.type==="ArrowFunctionExpression"?Y:this.parseExprOp(Y,N,M,-1,d)},je.parseExprOp=function(d,_,N,M,Y){var ae=this.type.binop;if(ae!=null&&(!Y||this.type!==y._in)&&ae>M){var de=this.type===y.logicalOR||this.type===y.logicalAND,Te=this.type===y.coalesce;Te&&(ae=y.logicalAND.binop);var Ie=this.value;this.next();var Xe=this.start,ft=this.startLoc,Ht=this.parseExprOp(this.parseMaybeUnary(null,!1),Xe,ft,ae,Y),Bn=this.buildBinary(_,N,d,Ht,Ie,de||Te);return(de&&this.type===y.coalesce||Te&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Bn,_,N,M,Y)}return d},je.buildBinary=function(d,_,N,M,Y,ae){var de=this.startNodeAt(d,_);return de.left=N,de.operator=Y,de.right=M,this.finishNode(de,ae?"LogicalExpression":"BinaryExpression")},je.parseMaybeUnary=function(d,_){var N=this.start,M=this.startLoc,Y;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))Y=this.parseAwait(),_=!0;else if(this.type.prefix){var ae=this.startNode(),de=this.type===y.incDec;ae.operator=this.value,ae.prefix=!0,this.next(),ae.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(d,!0),de?this.checkLVal(ae.argument):this.strict&&ae.operator==="delete"&&ae.argument.type==="Identifier"?this.raiseRecoverable(ae.start,"Deleting local variable in strict mode"):_=!0,Y=this.finishNode(ae,de?"UpdateExpression":"UnaryExpression")}else{if(Y=this.parseExprSubscripts(d),this.checkExpressionErrors(d))return Y;for(;this.type.postfix&&!this.canInsertSemicolon();){var Te=this.startNodeAt(N,M);Te.operator=this.value,Te.prefix=!1,Te.argument=Y,this.checkLVal(Y),this.next(),Y=this.finishNode(Te,"UpdateExpression")}}return!_&&this.eat(y.starstar)?this.buildBinary(N,M,Y,this.parseMaybeUnary(null,!1),"**",!1):Y},je.parseExprSubscripts=function(d){var _=this.start,N=this.startLoc,M=this.parseExprAtom(d);if(M.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return M;var Y=this.parseSubscripts(M,_,N);return d&&Y.type==="MemberExpression"&&(d.parenthesizedAssign>=Y.start&&(d.parenthesizedAssign=-1),d.parenthesizedBind>=Y.start&&(d.parenthesizedBind=-1)),Y},je.parseSubscripts=function(d,_,N,M){for(var Y=this.options.ecmaVersion>=8&&d.type==="Identifier"&&d.name==="async"&&this.lastTokEnd===d.end&&!this.canInsertSemicolon()&&d.end-d.start===5&&this.potentialArrowAt===d.start,ae=!1;;){var de=this.parseSubscript(d,_,N,M,Y,ae);if(de.optional&&(ae=!0),de===d||de.type==="ArrowFunctionExpression"){if(ae){var Te=this.startNodeAt(_,N);Te.expression=de,de=this.finishNode(Te,"ChainExpression")}return de}d=de}},je.parseSubscript=function(d,_,N,M,Y,ae){var de=this.options.ecmaVersion>=11,Te=de&&this.eat(y.questionDot);M&&Te&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ie=this.eat(y.bracketL);if(Ie||Te&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var Xe=this.startNodeAt(_,N);Xe.object=d,Xe.property=Ie?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),Xe.computed=!!Ie,Ie&&this.expect(y.bracketR),de&&(Xe.optional=Te),d=this.finishNode(Xe,"MemberExpression")}else if(!M&&this.eat(y.parenL)){var ft=new It,Ht=this.yieldPos,Bn=this.awaitPos,ai=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var ia=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,ft);if(Y&&!Te&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(ft,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Ht,this.awaitPos=Bn,this.awaitIdentPos=ai,this.parseArrowExpression(this.startNodeAt(_,N),ia,!0);this.checkExpressionErrors(ft,!0),this.yieldPos=Ht||this.yieldPos,this.awaitPos=Bn||this.awaitPos,this.awaitIdentPos=ai||this.awaitIdentPos;var si=this.startNodeAt(_,N);si.callee=d,si.arguments=ia,de&&(si.optional=Te),d=this.finishNode(si,"CallExpression")}else if(this.type===y.backQuote){(Te||ae)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ui=this.startNodeAt(_,N);ui.tag=d,ui.quasi=this.parseTemplate({isTagged:!0}),d=this.finishNode(ui,"TaggedTemplateExpression")}return d},je.parseExprAtom=function(d){this.type===y.slash&&this.readRegexp();var _,N=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),_=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(_.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(_,"Super");case y._this:return _=this.startNode(),this.next(),this.finishNode(_,"ThisExpression");case y.name:var M=this.start,Y=this.startLoc,ae=this.containsEsc,de=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ae&&de.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function))return this.parseFunction(this.startNodeAt(M,Y),0,!1,!0);if(N&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(M,Y),[de],!1);if(this.options.ecmaVersion>=8&&de.name==="async"&&this.type===y.name&&!ae)return de=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(M,Y),[de],!0)}return de;case y.regexp:var Te=this.value;return _=this.parseLiteral(Te.value),_.regex={pattern:Te.pattern,flags:Te.flags},_;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return _=this.startNode(),_.value=this.type===y._null?null:this.type===y._true,_.raw=this.type.keyword,this.next(),this.finishNode(_,"Literal");case y.parenL:var Ie=this.start,Xe=this.parseParenAndDistinguishExpression(N);return d&&(d.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Xe)&&(d.parenthesizedAssign=Ie),d.parenthesizedBind<0&&(d.parenthesizedBind=Ie)),Xe;case y.bracketL:return _=this.startNode(),this.next(),_.elements=this.parseExprList(y.bracketR,!0,!0,d),this.finishNode(_,"ArrayExpression");case y.braceL:return this.parseObj(!1,d);case y._function:return _=this.startNode(),this.next(),this.parseFunction(_,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},je.parseExprImport=function(){var d=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var _=this.parseIdent(!0);switch(this.type){case y.parenL:return this.parseDynamicImport(d);case y.dot:return d.meta=_,this.parseImportMeta(d);default:this.unexpected()}},je.parseDynamicImport=function(d){if(this.next(),d.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var _=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(_,"Trailing comma is not allowed in import()"):this.unexpected(_)}return this.finishNode(d,"ImportExpression")},je.parseImportMeta=function(d){this.next();var _=this.containsEsc;return d.property=this.parseIdent(!0),d.property.name!=="meta"&&this.raiseRecoverable(d.property.start,"The only valid meta property for import is 'import.meta'"),_&&this.raiseRecoverable(d.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(d.start,"Cannot use 'import.meta' outside a module"),this.finishNode(d,"MetaProperty")},je.parseLiteral=function(d){var _=this.startNode();return _.value=d,_.raw=this.input.slice(this.start,this.end),_.raw.charCodeAt(_.raw.length-1)===110&&(_.bigint=_.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(_,"Literal")},je.parseParenExpression=function(){this.expect(y.parenL);var d=this.parseExpression();return this.expect(y.parenR),d},je.parseParenAndDistinguishExpression=function(d){var _=this.start,N=this.startLoc,M,Y=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ae=this.start,de=this.startLoc,Te=[],Ie=!0,Xe=!1,ft=new It,Ht=this.yieldPos,Bn=this.awaitPos,ai;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;)if(Ie?Ie=!1:this.expect(y.comma),Y&&this.afterTrailingComma(y.parenR,!0)){Xe=!0;break}else if(this.type===y.ellipsis){ai=this.start,Te.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else Te.push(this.parseMaybeAssign(!1,ft,this.parseParenItem));var ia=this.start,si=this.startLoc;if(this.expect(y.parenR),d&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(ft,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Ht,this.awaitPos=Bn,this.parseParenArrowList(_,N,Te);(!Te.length||Xe)&&this.unexpected(this.lastTokStart),ai&&this.unexpected(ai),this.checkExpressionErrors(ft,!0),this.yieldPos=Ht||this.yieldPos,this.awaitPos=Bn||this.awaitPos,Te.length>1?(M=this.startNodeAt(ae,de),M.expressions=Te,this.finishNodeAt(M,"SequenceExpression",ia,si)):M=Te[0]}else M=this.parseParenExpression();if(this.options.preserveParens){var ui=this.startNodeAt(_,N);return ui.expression=M,this.finishNode(ui,"ParenthesizedExpression")}else return M},je.parseParenItem=function(d){return d},je.parseParenArrowList=function(d,_,N){return this.parseArrowExpression(this.startNodeAt(d,_),N)};var tr=[];je.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var d=this.startNode(),_=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){d.meta=_;var N=this.containsEsc;return d.property=this.parseIdent(!0),d.property.name!=="target"&&this.raiseRecoverable(d.property.start,"The only valid meta property for new is 'new.target'"),N&&this.raiseRecoverable(d.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(d.start,"'new.target' can only be used in functions"),this.finishNode(d,"MetaProperty")}var M=this.start,Y=this.startLoc,ae=this.type===y._import;return d.callee=this.parseSubscripts(this.parseExprAtom(),M,Y,!0),ae&&d.callee.type==="ImportExpression"&&this.raise(M,"Cannot use new with import()"),this.eat(y.parenL)?d.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):d.arguments=tr,this.finishNode(d,"NewExpression")},je.parseTemplateElement=function(d){var _=d.isTagged,N=this.startNode();return this.type===y.invalidTemplate?(_||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),N.value={raw:this.value,cooked:null}):N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
1056
+ `),cooked:this.value},this.next(),N.tail=this.type===y.backQuote,this.finishNode(N,"TemplateElement")},je.parseTemplate=function(d){d===void 0&&(d={});var _=d.isTagged;_===void 0&&(_=!1);var N=this.startNode();this.next(),N.expressions=[];var M=this.parseTemplateElement({isTagged:_});for(N.quasis=[M];!M.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),N.expressions.push(this.parseExpression()),this.expect(y.braceR),N.quasis.push(M=this.parseTemplateElement({isTagged:_}));return this.next(),this.finishNode(N,"TemplateLiteral")},je.isAsyncProp=function(d){return!d.computed&&d.key.type==="Identifier"&&d.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},je.parseObj=function(d,_){var N=this.startNode(),M=!0,Y={};for(N.properties=[],this.next();!this.eat(y.braceR);){if(M)M=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var ae=this.parseProperty(d,_);d||this.checkPropClash(ae,Y,_),N.properties.push(ae)}return this.finishNode(N,d?"ObjectPattern":"ObjectExpression")},je.parseProperty=function(d,_){var N=this.startNode(),M,Y,ae,de;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return d?(N.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(N,"RestElement")):(this.type===y.parenL&&_&&(_.parenthesizedAssign<0&&(_.parenthesizedAssign=this.start),_.parenthesizedBind<0&&(_.parenthesizedBind=this.start)),N.argument=this.parseMaybeAssign(!1,_),this.type===y.comma&&_&&_.trailingComma<0&&(_.trailingComma=this.start),this.finishNode(N,"SpreadElement"));this.options.ecmaVersion>=6&&(N.method=!1,N.shorthand=!1,(d||_)&&(ae=this.start,de=this.startLoc),d||(M=this.eat(y.star)));var Te=this.containsEsc;return this.parsePropertyName(N),!d&&!Te&&this.options.ecmaVersion>=8&&!M&&this.isAsyncProp(N)?(Y=!0,M=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(N,_)):Y=!1,this.parsePropertyValue(N,d,M,Y,ae,de,_,Te),this.finishNode(N,"Property")},je.parsePropertyValue=function(d,_,N,M,Y,ae,de,Te){if((N||M)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))d.value=_?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,de),d.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)_&&this.unexpected(),d.kind="init",d.method=!0,d.value=this.parseMethod(N,M);else if(!_&&!Te&&this.options.ecmaVersion>=5&&!d.computed&&d.key.type==="Identifier"&&(d.key.name==="get"||d.key.name==="set")&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq){(N||M)&&this.unexpected(),d.kind=d.key.name,this.parsePropertyName(d),d.value=this.parseMethod(!1);var Ie=d.kind==="get"?0:1;if(d.value.params.length!==Ie){var Xe=d.value.start;d.kind==="get"?this.raiseRecoverable(Xe,"getter should have no params"):this.raiseRecoverable(Xe,"setter should have exactly one param")}else d.kind==="set"&&d.value.params[0].type==="RestElement"&&this.raiseRecoverable(d.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!d.computed&&d.key.type==="Identifier"?((N||M)&&this.unexpected(),this.checkUnreserved(d.key),d.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=Y),d.kind="init",_?d.value=this.parseMaybeDefault(Y,ae,d.key):this.type===y.eq&&de?(de.shorthandAssign<0&&(de.shorthandAssign=this.start),d.value=this.parseMaybeDefault(Y,ae,d.key)):d.value=d.key,d.shorthand=!0):this.unexpected()},je.parsePropertyName=function(d){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return d.computed=!0,d.key=this.parseMaybeAssign(),this.expect(y.bracketR),d.key;d.computed=!1}return d.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},je.initFunction=function(d){d.id=null,this.options.ecmaVersion>=6&&(d.generator=d.expression=!1),this.options.ecmaVersion>=8&&(d.async=!1)},je.parseMethod=function(d,_,N){var M=this.startNode(),Y=this.yieldPos,ae=this.awaitPos,de=this.awaitIdentPos;return this.initFunction(M),this.options.ecmaVersion>=6&&(M.generator=d),this.options.ecmaVersion>=8&&(M.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(De(_,M.generator)|me|(N?Ae:0)),this.expect(y.parenL),M.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(M,!1,!0),this.yieldPos=Y,this.awaitPos=ae,this.awaitIdentPos=de,this.finishNode(M,"FunctionExpression")},je.parseArrowExpression=function(d,_,N){var M=this.yieldPos,Y=this.awaitPos,ae=this.awaitIdentPos;return this.enterScope(De(N,!1)|$e),this.initFunction(d),this.options.ecmaVersion>=8&&(d.async=!!N),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,d.params=this.toAssignableList(_,!0),this.parseFunctionBody(d,!0,!1),this.yieldPos=M,this.awaitPos=Y,this.awaitIdentPos=ae,this.finishNode(d,"ArrowFunctionExpression")},je.parseFunctionBody=function(d,_,N){var M=_&&this.type!==y.braceL,Y=this.strict,ae=!1;if(M)d.body=this.parseMaybeAssign(),d.expression=!0,this.checkParams(d,!1);else{var de=this.options.ecmaVersion>=7&&!this.isSimpleParamList(d.params);(!Y||de)&&(ae=this.strictDirective(this.end),ae&&de&&this.raiseRecoverable(d.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Te=this.labels;this.labels=[],ae&&(this.strict=!0),this.checkParams(d,!Y&&!ae&&!_&&!N&&this.isSimpleParamList(d.params)),this.strict&&d.id&&this.checkLVal(d.id,Ft),d.body=this.parseBlock(!1,void 0,ae&&!Y),d.expression=!1,this.adaptDirectivePrologue(d.body.body),this.labels=Te}this.exitScope()},je.isSimpleParamList=function(d){for(var _=0,N=d;_<N.length;_+=1){var M=N[_];if(M.type!=="Identifier")return!1}return!0},je.checkParams=function(d,_){for(var N={},M=0,Y=d.params;M<Y.length;M+=1){var ae=Y[M];this.checkLVal(ae,Oe,_?null:N)}},je.parseExprList=function(d,_,N,M){for(var Y=[],ae=!0;!this.eat(d);){if(ae)ae=!1;else if(this.expect(y.comma),_&&this.afterTrailingComma(d))break;var de=void 0;N&&this.type===y.comma?de=null:this.type===y.ellipsis?(de=this.parseSpread(M),M&&this.type===y.comma&&M.trailingComma<0&&(M.trailingComma=this.start)):de=this.parseMaybeAssign(!1,M),Y.push(de)}return Y},je.checkUnreserved=function(d){var _=d.start,N=d.end,M=d.name;if(this.inGenerator&&M==="yield"&&this.raiseRecoverable(_,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&M==="await"&&this.raiseRecoverable(_,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(M)&&this.raise(_,"Unexpected keyword '"+M+"'"),!(this.options.ecmaVersion<6&&this.input.slice(_,N).indexOf("\\")!==-1)){var Y=this.strict?this.reservedWordsStrict:this.reservedWords;Y.test(M)&&(!this.inAsync&&M==="await"&&this.raiseRecoverable(_,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(_,"The keyword '"+M+"' is reserved"))}},je.parseIdent=function(d,_){var N=this.startNode();return this.type===y.name?N.name=this.value:this.type.keyword?(N.name=this.type.keyword,(N.name==="class"||N.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!d),this.finishNode(N,"Identifier"),d||(this.checkUnreserved(N),N.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=N.start)),N},je.parseYield=function(d){this.yieldPos||(this.yieldPos=this.start);var _=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(_.delegate=!1,_.argument=null):(_.delegate=this.eat(y.star),_.argument=this.parseMaybeAssign(d)),this.finishNode(_,"YieldExpression")},je.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var d=this.startNode();return this.next(),d.argument=this.parseMaybeUnary(null,!1),this.finishNode(d,"AwaitExpression")};var ot=Je.prototype;ot.raise=function(d,_){var N=Pe(this.input,d);_+=" ("+N.line+":"+N.column+")";var M=new SyntaxError(_);throw M.pos=d,M.loc=N,M.raisedAt=this.pos,M},ot.raiseRecoverable=ot.raise,ot.curPosition=function(){if(this.options.locations)return new oe(this.curLine,this.pos-this.lineStart)};var $t=Je.prototype,Mr=function(d){this.flags=d,this.var=[],this.lexical=[],this.functions=[]};$t.enterScope=function(d){this.scopeStack.push(new Mr(d))},$t.exitScope=function(){this.scopeStack.pop()},$t.treatFunctionsAsVarInScope=function(d){return d.flags&le||!this.inModule&&d.flags&ce},$t.declareName=function(d,_,N){var M=!1;if(_===Fe){var Y=this.currentScope();M=Y.lexical.indexOf(d)>-1||Y.functions.indexOf(d)>-1||Y.var.indexOf(d)>-1,Y.lexical.push(d),this.inModule&&Y.flags&ce&&delete this.undefinedExports[d]}else if(_===ut){var ae=this.currentScope();ae.lexical.push(d)}else if(_===Me){var de=this.currentScope();this.treatFunctionsAsVar?M=de.lexical.indexOf(d)>-1:M=de.lexical.indexOf(d)>-1||de.var.indexOf(d)>-1,de.functions.push(d)}else for(var Te=this.scopeStack.length-1;Te>=0;--Te){var Ie=this.scopeStack[Te];if(Ie.lexical.indexOf(d)>-1&&!(Ie.flags&Z&&Ie.lexical[0]===d)||!this.treatFunctionsAsVarInScope(Ie)&&Ie.functions.indexOf(d)>-1){M=!0;break}if(Ie.var.push(d),this.inModule&&Ie.flags&ce&&delete this.undefinedExports[d],Ie.flags&ie)break}M&&this.raiseRecoverable(N,"Identifier '"+d+"' has already been declared")},$t.checkLocalExport=function(d){this.scopeStack[0].lexical.indexOf(d.name)===-1&&this.scopeStack[0].var.indexOf(d.name)===-1&&(this.undefinedExports[d.name]=d)},$t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},$t.currentVarScope=function(){for(var d=this.scopeStack.length-1;;d--){var _=this.scopeStack[d];if(_.flags&ie)return _}},$t.currentThisScope=function(){for(var d=this.scopeStack.length-1;;d--){var _=this.scopeStack[d];if(_.flags&ie&&!(_.flags&$e))return _}};var rt=function(d,_,N){this.type="",this.start=_,this.end=0,d.options.locations&&(this.loc=new Ee(d,N)),d.options.directSourceFile&&(this.sourceFile=d.options.directSourceFile),d.options.ranges&&(this.range=[_,0])},At=Je.prototype;At.startNode=function(){return new rt(this,this.start,this.startLoc)},At.startNodeAt=function(d,_){return new rt(this,d,_)};function rr(d,_,N,M){return d.type=_,d.end=N,this.options.locations&&(d.loc.end=M),this.options.ranges&&(d.range[1]=N),d}At.finishNode=function(d,_){return rr.call(this,d,_,this.lastTokEnd,this.lastTokEndLoc)},At.finishNodeAt=function(d,_,N,M){return rr.call(this,d,_,N,M)};var bt=function(d,_,N,M,Y){this.token=d,this.isExpr=!!_,this.preserveSpace=!!N,this.override=M,this.generator=!!Y},nt={b_stat:new bt("{",!1),b_expr:new bt("{",!0),b_tmpl:new bt("${",!1),p_stat:new bt("(",!1),p_expr:new bt("(",!0),q_tmpl:new bt("`",!0,!0,function(d){return d.tryReadTemplateToken()}),f_stat:new bt("function",!1),f_expr:new bt("function",!0),f_expr_gen:new bt("function",!0,!1,null,!0),f_gen:new bt("function",!1,!1,null,!0)},Nt=Je.prototype;Nt.initialContext=function(){return[nt.b_stat]},Nt.braceIsBlock=function(d){var _=this.curContext();return _===nt.f_expr||_===nt.f_stat?!0:d===y.colon&&(_===nt.b_stat||_===nt.b_expr)?!_.isExpr:d===y._return||d===y.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):d===y._else||d===y.semi||d===y.eof||d===y.parenR||d===y.arrow?!0:d===y.braceL?_===nt.b_stat:d===y._var||d===y._const||d===y.name?!1:!this.exprAllowed},Nt.inGeneratorContext=function(){for(var d=this.context.length-1;d>=1;d--){var _=this.context[d];if(_.token==="function")return _.generator}return!1},Nt.updateContext=function(d){var _,N=this.type;N.keyword&&d===y.dot?this.exprAllowed=!1:(_=N.updateContext)?_.call(this,d):this.exprAllowed=N.beforeExpr},y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var d=this.context.pop();d===nt.b_stat&&this.curContext().token==="function"&&(d=this.context.pop()),this.exprAllowed=!d.isExpr},y.braceL.updateContext=function(d){this.context.push(this.braceIsBlock(d)?nt.b_stat:nt.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(nt.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(d){var _=d===y._if||d===y._for||d===y._with||d===y._while;this.context.push(_?nt.p_stat:nt.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(d){d.beforeExpr&&d!==y.semi&&d!==y._else&&!(d===y._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((d===y.colon||d===y.braceL)&&this.curContext()===nt.b_stat)?this.context.push(nt.f_expr):this.context.push(nt.f_stat),this.exprAllowed=!1},y.backQuote.updateContext=function(){this.curContext()===nt.q_tmpl?this.context.pop():this.context.push(nt.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(d){if(d===y._function){var _=this.context.length-1;this.context[_]===nt.f_expr?this.context[_]=nt.f_expr_gen:this.context[_]=nt.f_gen}this.exprAllowed=!0},y.name.updateContext=function(d){var _=!1;this.options.ecmaVersion>=6&&d!==y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(_=!0),this.exprAllowed=_};var Ne="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",C=Ne+" Extended_Pictographic",j=C,F={9:Ne,10:C,11:j},O="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",U="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",se=U+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",pe=se+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",fe={9:U,10:se,11:pe},Se={};function Ve(d){var _=Se[d]={binary:Q(F[d]+" "+O),nonBinary:{General_Category:Q(O),Script:Q(fe[d])}};_.nonBinary.Script_Extensions=_.nonBinary.Script,_.nonBinary.gc=_.nonBinary.General_Category,_.nonBinary.sc=_.nonBinary.Script,_.nonBinary.scx=_.nonBinary.Script_Extensions}Ve(9),Ve(10),Ve(11);var ye=Je.prototype,Ot=function(d){this.parser=d,this.validFlags="gim"+(d.options.ecmaVersion>=6?"uy":"")+(d.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Se[d.options.ecmaVersion>=11?11:d.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=[]};Ot.prototype.reset=function(d,_,N){var M=N.indexOf("u")!==-1;this.start=d|0,this.source=_+"",this.flags=N,this.switchU=M&&this.parser.options.ecmaVersion>=6,this.switchN=M&&this.parser.options.ecmaVersion>=9},Ot.prototype.raise=function(d){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+d)},Ot.prototype.at=function(d,_){_===void 0&&(_=!1);var N=this.source,M=N.length;if(d>=M)return-1;var Y=N.charCodeAt(d);if(!(_||this.switchU)||Y<=55295||Y>=57344||d+1>=M)return Y;var ae=N.charCodeAt(d+1);return ae>=56320&&ae<=57343?(Y<<10)+ae-56613888:Y},Ot.prototype.nextIndex=function(d,_){_===void 0&&(_=!1);var N=this.source,M=N.length;if(d>=M)return M;var Y=N.charCodeAt(d),ae;return!(_||this.switchU)||Y<=55295||Y>=57344||d+1>=M||(ae=N.charCodeAt(d+1))<56320||ae>57343?d+1:d+2},Ot.prototype.current=function(d){return d===void 0&&(d=!1),this.at(this.pos,d)},Ot.prototype.lookahead=function(d){return d===void 0&&(d=!1),this.at(this.nextIndex(this.pos,d),d)},Ot.prototype.advance=function(d){d===void 0&&(d=!1),this.pos=this.nextIndex(this.pos,d)},Ot.prototype.eat=function(d,_){return _===void 0&&(_=!1),this.current(_)===d?(this.advance(_),!0):!1};function kt(d){return d<=65535?String.fromCharCode(d):(d-=65536,String.fromCharCode((d>>10)+55296,(d&1023)+56320))}ye.validateRegExpFlags=function(d){for(var _=d.validFlags,N=d.flags,M=0;M<N.length;M++){var Y=N.charAt(M);_.indexOf(Y)===-1&&this.raise(d.start,"Invalid regular expression flag"),N.indexOf(Y,M+1)>-1&&this.raise(d.start,"Duplicate regular expression flag")}},ye.validateRegExpPattern=function(d){this.regexp_pattern(d),!d.switchN&&this.options.ecmaVersion>=9&&d.groupNames.length>0&&(d.switchN=!0,this.regexp_pattern(d))},ye.regexp_pattern=function(d){d.pos=0,d.lastIntValue=0,d.lastStringValue="",d.lastAssertionIsQuantifiable=!1,d.numCapturingParens=0,d.maxBackReference=0,d.groupNames.length=0,d.backReferenceNames.length=0,this.regexp_disjunction(d),d.pos!==d.source.length&&(d.eat(41)&&d.raise("Unmatched ')'"),(d.eat(93)||d.eat(125))&&d.raise("Lone quantifier brackets")),d.maxBackReference>d.numCapturingParens&&d.raise("Invalid escape");for(var _=0,N=d.backReferenceNames;_<N.length;_+=1){var M=N[_];d.groupNames.indexOf(M)===-1&&d.raise("Invalid named capture referenced")}},ye.regexp_disjunction=function(d){for(this.regexp_alternative(d);d.eat(124);)this.regexp_alternative(d);this.regexp_eatQuantifier(d,!0)&&d.raise("Nothing to repeat"),d.eat(123)&&d.raise("Lone quantifier brackets")},ye.regexp_alternative=function(d){for(;d.pos<d.source.length&&this.regexp_eatTerm(d););},ye.regexp_eatTerm=function(d){return this.regexp_eatAssertion(d)?(d.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(d)&&d.switchU&&d.raise("Invalid quantifier"),!0):(d.switchU?this.regexp_eatAtom(d):this.regexp_eatExtendedAtom(d))?(this.regexp_eatQuantifier(d),!0):!1},ye.regexp_eatAssertion=function(d){var _=d.pos;if(d.lastAssertionIsQuantifiable=!1,d.eat(94)||d.eat(36))return!0;if(d.eat(92)){if(d.eat(66)||d.eat(98))return!0;d.pos=_}if(d.eat(40)&&d.eat(63)){var N=!1;if(this.options.ecmaVersion>=9&&(N=d.eat(60)),d.eat(61)||d.eat(33))return this.regexp_disjunction(d),d.eat(41)||d.raise("Unterminated group"),d.lastAssertionIsQuantifiable=!N,!0}return d.pos=_,!1},ye.regexp_eatQuantifier=function(d,_){return _===void 0&&(_=!1),this.regexp_eatQuantifierPrefix(d,_)?(d.eat(63),!0):!1},ye.regexp_eatQuantifierPrefix=function(d,_){return d.eat(42)||d.eat(43)||d.eat(63)||this.regexp_eatBracedQuantifier(d,_)},ye.regexp_eatBracedQuantifier=function(d,_){var N=d.pos;if(d.eat(123)){var M=0,Y=-1;if(this.regexp_eatDecimalDigits(d)&&(M=d.lastIntValue,d.eat(44)&&this.regexp_eatDecimalDigits(d)&&(Y=d.lastIntValue),d.eat(125)))return Y!==-1&&Y<M&&!_&&d.raise("numbers out of order in {} quantifier"),!0;d.switchU&&!_&&d.raise("Incomplete quantifier"),d.pos=N}return!1},ye.regexp_eatAtom=function(d){return this.regexp_eatPatternCharacters(d)||d.eat(46)||this.regexp_eatReverseSolidusAtomEscape(d)||this.regexp_eatCharacterClass(d)||this.regexp_eatUncapturingGroup(d)||this.regexp_eatCapturingGroup(d)},ye.regexp_eatReverseSolidusAtomEscape=function(d){var _=d.pos;if(d.eat(92)){if(this.regexp_eatAtomEscape(d))return!0;d.pos=_}return!1},ye.regexp_eatUncapturingGroup=function(d){var _=d.pos;if(d.eat(40)){if(d.eat(63)&&d.eat(58)){if(this.regexp_disjunction(d),d.eat(41))return!0;d.raise("Unterminated group")}d.pos=_}return!1},ye.regexp_eatCapturingGroup=function(d){if(d.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(d):d.current()===63&&d.raise("Invalid group"),this.regexp_disjunction(d),d.eat(41))return d.numCapturingParens+=1,!0;d.raise("Unterminated group")}return!1},ye.regexp_eatExtendedAtom=function(d){return d.eat(46)||this.regexp_eatReverseSolidusAtomEscape(d)||this.regexp_eatCharacterClass(d)||this.regexp_eatUncapturingGroup(d)||this.regexp_eatCapturingGroup(d)||this.regexp_eatInvalidBracedQuantifier(d)||this.regexp_eatExtendedPatternCharacter(d)},ye.regexp_eatInvalidBracedQuantifier=function(d){return this.regexp_eatBracedQuantifier(d,!0)&&d.raise("Nothing to repeat"),!1},ye.regexp_eatSyntaxCharacter=function(d){var _=d.current();return qr(_)?(d.lastIntValue=_,d.advance(),!0):!1};function qr(d){return d===36||d>=40&&d<=43||d===46||d===63||d>=91&&d<=94||d>=123&&d<=125}ye.regexp_eatPatternCharacters=function(d){for(var _=d.pos,N=0;(N=d.current())!==-1&&!qr(N);)d.advance();return d.pos!==_},ye.regexp_eatExtendedPatternCharacter=function(d){var _=d.current();return _!==-1&&_!==36&&!(_>=40&&_<=43)&&_!==46&&_!==63&&_!==91&&_!==94&&_!==124?(d.advance(),!0):!1},ye.regexp_groupSpecifier=function(d){if(d.eat(63)){if(this.regexp_eatGroupName(d)){d.groupNames.indexOf(d.lastStringValue)!==-1&&d.raise("Duplicate capture group name"),d.groupNames.push(d.lastStringValue);return}d.raise("Invalid group")}},ye.regexp_eatGroupName=function(d){if(d.lastStringValue="",d.eat(60)){if(this.regexp_eatRegExpIdentifierName(d)&&d.eat(62))return!0;d.raise("Invalid capture group name")}return!1},ye.regexp_eatRegExpIdentifierName=function(d){if(d.lastStringValue="",this.regexp_eatRegExpIdentifierStart(d)){for(d.lastStringValue+=kt(d.lastIntValue);this.regexp_eatRegExpIdentifierPart(d);)d.lastStringValue+=kt(d.lastIntValue);return!0}return!1},ye.regexp_eatRegExpIdentifierStart=function(d){var _=d.pos,N=this.options.ecmaVersion>=11,M=d.current(N);return d.advance(N),M===92&&this.regexp_eatRegExpUnicodeEscapeSequence(d,N)&&(M=d.lastIntValue),un(M)?(d.lastIntValue=M,!0):(d.pos=_,!1)};function un(d){return g(d,!0)||d===36||d===95}ye.regexp_eatRegExpIdentifierPart=function(d){var _=d.pos,N=this.options.ecmaVersion>=11,M=d.current(N);return d.advance(N),M===92&&this.regexp_eatRegExpUnicodeEscapeSequence(d,N)&&(M=d.lastIntValue),Jt(M)?(d.lastIntValue=M,!0):(d.pos=_,!1)};function Jt(d){return E(d,!0)||d===36||d===95||d===8204||d===8205}ye.regexp_eatAtomEscape=function(d){return this.regexp_eatBackReference(d)||this.regexp_eatCharacterClassEscape(d)||this.regexp_eatCharacterEscape(d)||d.switchN&&this.regexp_eatKGroupName(d)?!0:(d.switchU&&(d.current()===99&&d.raise("Invalid unicode escape"),d.raise("Invalid escape")),!1)},ye.regexp_eatBackReference=function(d){var _=d.pos;if(this.regexp_eatDecimalEscape(d)){var N=d.lastIntValue;if(d.switchU)return N>d.maxBackReference&&(d.maxBackReference=N),!0;if(N<=d.numCapturingParens)return!0;d.pos=_}return!1},ye.regexp_eatKGroupName=function(d){if(d.eat(107)){if(this.regexp_eatGroupName(d))return d.backReferenceNames.push(d.lastStringValue),!0;d.raise("Invalid named reference")}return!1},ye.regexp_eatCharacterEscape=function(d){return this.regexp_eatControlEscape(d)||this.regexp_eatCControlLetter(d)||this.regexp_eatZero(d)||this.regexp_eatHexEscapeSequence(d)||this.regexp_eatRegExpUnicodeEscapeSequence(d,!1)||!d.switchU&&this.regexp_eatLegacyOctalEscapeSequence(d)||this.regexp_eatIdentityEscape(d)},ye.regexp_eatCControlLetter=function(d){var _=d.pos;if(d.eat(99)){if(this.regexp_eatControlLetter(d))return!0;d.pos=_}return!1},ye.regexp_eatZero=function(d){return d.current()===48&&!x(d.lookahead())?(d.lastIntValue=0,d.advance(),!0):!1},ye.regexp_eatControlEscape=function(d){var _=d.current();return _===116?(d.lastIntValue=9,d.advance(),!0):_===110?(d.lastIntValue=10,d.advance(),!0):_===118?(d.lastIntValue=11,d.advance(),!0):_===102?(d.lastIntValue=12,d.advance(),!0):_===114?(d.lastIntValue=13,d.advance(),!0):!1},ye.regexp_eatControlLetter=function(d){var _=d.current();return ln(_)?(d.lastIntValue=_%32,d.advance(),!0):!1};function ln(d){return d>=65&&d<=90||d>=97&&d<=122}ye.regexp_eatRegExpUnicodeEscapeSequence=function(d,_){_===void 0&&(_=!1);var N=d.pos,M=_||d.switchU;if(d.eat(117)){if(this.regexp_eatFixedHexDigits(d,4)){var Y=d.lastIntValue;if(M&&Y>=55296&&Y<=56319){var ae=d.pos;if(d.eat(92)&&d.eat(117)&&this.regexp_eatFixedHexDigits(d,4)){var de=d.lastIntValue;if(de>=56320&&de<=57343)return d.lastIntValue=(Y-55296)*1024+(de-56320)+65536,!0}d.pos=ae,d.lastIntValue=Y}return!0}if(M&&d.eat(123)&&this.regexp_eatHexDigits(d)&&d.eat(125)&&Lr(d.lastIntValue))return!0;M&&d.raise("Invalid unicode escape"),d.pos=N}return!1};function Lr(d){return d>=0&&d<=1114111}ye.regexp_eatIdentityEscape=function(d){if(d.switchU)return this.regexp_eatSyntaxCharacter(d)?!0:d.eat(47)?(d.lastIntValue=47,!0):!1;var _=d.current();return _!==99&&(!d.switchN||_!==107)?(d.lastIntValue=_,d.advance(),!0):!1},ye.regexp_eatDecimalEscape=function(d){d.lastIntValue=0;var _=d.current();if(_>=49&&_<=57){do d.lastIntValue=10*d.lastIntValue+(_-48),d.advance();while((_=d.current())>=48&&_<=57);return!0}return!1},ye.regexp_eatCharacterClassEscape=function(d){var _=d.current();if(zi(_))return d.lastIntValue=-1,d.advance(),!0;if(d.switchU&&this.options.ecmaVersion>=9&&(_===80||_===112)){if(d.lastIntValue=-1,d.advance(),d.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(d)&&d.eat(125))return!0;d.raise("Invalid property name")}return!1};function zi(d){return d===100||d===68||d===115||d===83||d===119||d===87}ye.regexp_eatUnicodePropertyValueExpression=function(d){var _=d.pos;if(this.regexp_eatUnicodePropertyName(d)&&d.eat(61)){var N=d.lastStringValue;if(this.regexp_eatUnicodePropertyValue(d)){var M=d.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(d,N,M),!0}}if(d.pos=_,this.regexp_eatLoneUnicodePropertyNameOrValue(d)){var Y=d.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(d,Y),!0}return!1},ye.regexp_validateUnicodePropertyNameAndValue=function(d,_,N){V(d.unicodeProperties.nonBinary,_)||d.raise("Invalid property name"),d.unicodeProperties.nonBinary[_].test(N)||d.raise("Invalid property value")},ye.regexp_validateUnicodePropertyNameOrValue=function(d,_){d.unicodeProperties.binary.test(_)||d.raise("Invalid property name")},ye.regexp_eatUnicodePropertyName=function(d){var _=0;for(d.lastStringValue="";c(_=d.current());)d.lastStringValue+=kt(_),d.advance();return d.lastStringValue!==""};function c(d){return ln(d)||d===95}ye.regexp_eatUnicodePropertyValue=function(d){var _=0;for(d.lastStringValue="";b(_=d.current());)d.lastStringValue+=kt(_),d.advance();return d.lastStringValue!==""};function b(d){return c(d)||x(d)}ye.regexp_eatLoneUnicodePropertyNameOrValue=function(d){return this.regexp_eatUnicodePropertyValue(d)},ye.regexp_eatCharacterClass=function(d){if(d.eat(91)){if(d.eat(94),this.regexp_classRanges(d),d.eat(93))return!0;d.raise("Unterminated character class")}return!1},ye.regexp_classRanges=function(d){for(;this.regexp_eatClassAtom(d);){var _=d.lastIntValue;if(d.eat(45)&&this.regexp_eatClassAtom(d)){var N=d.lastIntValue;d.switchU&&(_===-1||N===-1)&&d.raise("Invalid character class"),_!==-1&&N!==-1&&_>N&&d.raise("Range out of order in character class")}}},ye.regexp_eatClassAtom=function(d){var _=d.pos;if(d.eat(92)){if(this.regexp_eatClassEscape(d))return!0;if(d.switchU){var N=d.current();(N===99||ue(N))&&d.raise("Invalid class escape"),d.raise("Invalid escape")}d.pos=_}var M=d.current();return M!==93?(d.lastIntValue=M,d.advance(),!0):!1},ye.regexp_eatClassEscape=function(d){var _=d.pos;if(d.eat(98))return d.lastIntValue=8,!0;if(d.switchU&&d.eat(45))return d.lastIntValue=45,!0;if(!d.switchU&&d.eat(99)){if(this.regexp_eatClassControlLetter(d))return!0;d.pos=_}return this.regexp_eatCharacterClassEscape(d)||this.regexp_eatCharacterEscape(d)},ye.regexp_eatClassControlLetter=function(d){var _=d.current();return x(_)||_===95?(d.lastIntValue=_%32,d.advance(),!0):!1},ye.regexp_eatHexEscapeSequence=function(d){var _=d.pos;if(d.eat(120)){if(this.regexp_eatFixedHexDigits(d,2))return!0;d.switchU&&d.raise("Invalid escape"),d.pos=_}return!1},ye.regexp_eatDecimalDigits=function(d){var _=d.pos,N=0;for(d.lastIntValue=0;x(N=d.current());)d.lastIntValue=10*d.lastIntValue+(N-48),d.advance();return d.pos!==_};function x(d){return d>=48&&d<=57}ye.regexp_eatHexDigits=function(d){var _=d.pos,N=0;for(d.lastIntValue=0;k(N=d.current());)d.lastIntValue=16*d.lastIntValue+ee(N),d.advance();return d.pos!==_};function k(d){return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function ee(d){return d>=65&&d<=70?10+(d-65):d>=97&&d<=102?10+(d-97):d-48}ye.regexp_eatLegacyOctalEscapeSequence=function(d){if(this.regexp_eatOctalDigit(d)){var _=d.lastIntValue;if(this.regexp_eatOctalDigit(d)){var N=d.lastIntValue;_<=3&&this.regexp_eatOctalDigit(d)?d.lastIntValue=_*64+N*8+d.lastIntValue:d.lastIntValue=_*8+N}else d.lastIntValue=_;return!0}return!1},ye.regexp_eatOctalDigit=function(d){var _=d.current();return ue(_)?(d.lastIntValue=_-48,d.advance(),!0):(d.lastIntValue=0,!1)};function ue(d){return d>=48&&d<=55}ye.regexp_eatFixedHexDigits=function(d,_){var N=d.pos;d.lastIntValue=0;for(var M=0;M<_;++M){var Y=d.current();if(!k(Y))return d.pos=N,!1;d.lastIntValue=16*d.lastIntValue+ee(Y),d.advance()}return!0};var he=function(d){this.type=d.type,this.value=d.value,this.start=d.start,this.end=d.end,d.options.locations&&(this.loc=new Ee(d,d.startLoc,d.endLoc)),d.options.ranges&&(this.range=[d.start,d.end])},be=Je.prototype;be.next=function(d){!d&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new he(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 he(this)},typeof Symbol<"u"&&(be[Symbol.iterator]=function(){var d=this;return{next:function(){var _=d.getToken();return{done:_.type===y.eof,value:_}}}}),be.curContext=function(){return this.context[this.context.length-1]},be.nextToken=function(){var d=this.curContext();if((!d||!d.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(d.override)return d.override(this);this.readToken(this.fullCharCodeAtPos())},be.readToken=function(d){return g(d,this.options.ecmaVersion>=6)||d===92?this.readWord():this.getTokenFromCode(d)},be.fullCharCodeAtPos=function(){var d=this.input.charCodeAt(this.pos);if(d<=55295||d>=57344)return d;var _=this.input.charCodeAt(this.pos+1);return(d<<10)+_-56613888},be.skipBlockComment=function(){var d=this.options.onComment&&this.curPosition(),_=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=N+2,this.options.locations){S.lastIndex=_;for(var M;(M=S.exec(this.input))&&M.index<this.pos;)++this.curLine,this.lineStart=M.index+M[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(_+2,N),_,this.pos,d,this.curPosition())},be.skipLineComment=function(d){for(var _=this.pos,N=this.options.onComment&&this.curPosition(),M=this.input.charCodeAt(this.pos+=d);this.pos<this.input.length&&!P(M);)M=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(_+d,this.pos),_,this.pos,N,this.curPosition())},be.skipSpace=function(){e:for(;this.pos<this.input.length;){var d=this.input.charCodeAt(this.pos);switch(d){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(d>8&&d<14||d>=5760&&z.test(String.fromCharCode(d)))++this.pos;else break e}}},be.finishToken=function(d,_){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var N=this.type;this.type=d,this.value=_,this.updateContext(N)},be.readToken_dot=function(){var d=this.input.charCodeAt(this.pos+1);if(d>=48&&d<=57)return this.readNumber(!0);var _=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&d===46&&_===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},be.readToken_slash=function(){var d=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):d===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},be.readToken_mult_modulo_exp=function(d){var _=this.input.charCodeAt(this.pos+1),N=1,M=d===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&d===42&&_===42&&(++N,M=y.starstar,_=this.input.charCodeAt(this.pos+2)),_===61?this.finishOp(y.assign,N+1):this.finishOp(M,N)},be.readToken_pipe_amp=function(d){var _=this.input.charCodeAt(this.pos+1);if(_===d){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61)return this.finishOp(y.assign,3)}return this.finishOp(d===124?y.logicalOR:y.logicalAND,2)}return _===61?this.finishOp(y.assign,2):this.finishOp(d===124?y.bitwiseOR:y.bitwiseAND,1)},be.readToken_caret=function(){var d=this.input.charCodeAt(this.pos+1);return d===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},be.readToken_plus_min=function(d){var _=this.input.charCodeAt(this.pos+1);return _===d?_===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||w.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):_===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},be.readToken_lt_gt=function(d){var _=this.input.charCodeAt(this.pos+1),N=1;return _===d?(N=d===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+N)===61?this.finishOp(y.assign,N+1):this.finishOp(y.bitShift,N)):_===33&&d===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(_===61&&(N=2),this.finishOp(y.relational,N))},be.readToken_eq_excl=function(d){var _=this.input.charCodeAt(this.pos+1);return _===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):d===61&&_===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(d===61?y.eq:y.prefix,1)},be.readToken_question=function(){var d=this.options.ecmaVersion;if(d>=11){var _=this.input.charCodeAt(this.pos+1);if(_===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57)return this.finishOp(y.questionDot,2)}if(_===63){if(d>=12){var M=this.input.charCodeAt(this.pos+2);if(M===61)return this.finishOp(y.assign,3)}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)},be.getTokenFromCode=function(d){switch(d){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var _=this.input.charCodeAt(this.pos+1);if(_===120||_===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(_===111||_===79)return this.readRadixNumber(8);if(_===98||_===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(d);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(d);case 124:case 38:return this.readToken_pipe_amp(d);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(d);case 60:case 62:return this.readToken_lt_gt(d);case 61:case 33:return this.readToken_eq_excl(d);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ct(d)+"'")},be.finishOp=function(d,_){var N=this.input.slice(this.pos,this.pos+_);return this.pos+=_,this.finishToken(d,N)},be.readRegexp=function(){for(var d,_,N=this.pos;;){this.pos>=this.input.length&&this.raise(N,"Unterminated regular expression");var M=this.input.charAt(this.pos);if(w.test(M)&&this.raise(N,"Unterminated regular expression"),d)d=!1;else{if(M==="[")_=!0;else if(M==="]"&&_)_=!1;else if(M==="/"&&!_)break;d=M==="\\"}++this.pos}var Y=this.input.slice(N,this.pos);++this.pos;var ae=this.pos,de=this.readWord1();this.containsEsc&&this.unexpected(ae);var Te=this.regexpState||(this.regexpState=new Ot(this));Te.reset(N,Y,de),this.validateRegExpFlags(Te),this.validateRegExpPattern(Te);var Ie=null;try{Ie=new RegExp(Y,de)}catch{}return this.finishToken(y.regexp,{pattern:Y,flags:de,value:Ie})},be.readInt=function(d,_,N){for(var M=this.options.ecmaVersion>=12&&_===void 0,Y=N&&this.input.charCodeAt(this.pos)===48,ae=this.pos,de=0,Te=0,Ie=0,Xe=_??1/0;Ie<Xe;++Ie,++this.pos){var ft=this.input.charCodeAt(this.pos),Ht=void 0;if(M&&ft===95){Y&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Te===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Ie===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Te=ft;continue}if(ft>=97?Ht=ft-97+10:ft>=65?Ht=ft-65+10:ft>=48&&ft<=57?Ht=ft-48:Ht=1/0,Ht>=d)break;Te=ft,de=de*d+Ht}return M&&Te===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===ae||_!=null&&this.pos-ae!==_?null:de};function ke(d,_){return _?parseInt(d,8):parseFloat(d.replace(/_/g,""))}function We(d){return typeof BigInt!="function"?null:BigInt(d.replace(/_/g,""))}be.readRadixNumber=function(d){var _=this.pos;this.pos+=2;var N=this.readInt(d);return N==null&&this.raise(this.start+2,"Expected number in radix "+d),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(N=We(this.input.slice(_,this.pos)),++this.pos):g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,N)},be.readNumber=function(d){var _=this.pos;!d&&this.readInt(10,void 0,!0)===null&&this.raise(_,"Invalid number");var N=this.pos-_>=2&&this.input.charCodeAt(_)===48;N&&this.strict&&this.raise(_,"Invalid number");var M=this.input.charCodeAt(this.pos);if(!N&&!d&&this.options.ecmaVersion>=11&&M===110){var Y=We(this.input.slice(_,this.pos));return++this.pos,g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,Y)}N&&/[89]/.test(this.input.slice(_,this.pos))&&(N=!1),M===46&&!N&&(++this.pos,this.readInt(10),M=this.input.charCodeAt(this.pos)),(M===69||M===101)&&!N&&(M=this.input.charCodeAt(++this.pos),(M===43||M===45)&&++this.pos,this.readInt(10)===null&&this.raise(_,"Invalid number")),g(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var ae=ke(this.input.slice(_,this.pos),N);return this.finishToken(y.num,ae)},be.readCodePoint=function(){var d=this.input.charCodeAt(this.pos),_;if(d===123){this.options.ecmaVersion<6&&this.unexpected();var N=++this.pos;_=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,_>1114111&&this.invalidStringToken(N,"Code point out of bounds")}else _=this.readHexChar(4);return _};function Ct(d){return d<=65535?String.fromCharCode(d):(d-=65536,String.fromCharCode((d>>10)+55296,(d&1023)+56320))}be.readString=function(d){for(var _="",N=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var M=this.input.charCodeAt(this.pos);if(M===d)break;M===92?(_+=this.input.slice(N,this.pos),_+=this.readEscapedChar(!1),N=this.pos):(P(M,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return _+=this.input.slice(N,this.pos++),this.finishToken(y.string,_)};var dt={};be.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(d){if(d===dt)this.readInvalidTemplateToken();else throw d}this.inTemplateElement=!1},be.invalidStringToken=function(d,_){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw dt;this.raise(d,_)},be.readTmplToken=function(){for(var d="",_=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?N===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(d+=this.input.slice(_,this.pos),this.finishToken(y.template,d));if(N===92)d+=this.input.slice(_,this.pos),d+=this.readEscapedChar(!0),_=this.pos;else if(P(N)){switch(d+=this.input.slice(_,this.pos),++this.pos,N){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:d+=`
1057
+ `;break;default:d+=String.fromCharCode(N);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),_=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(y.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},be.readEscapedChar=function(d){var _=this.input.charCodeAt(++this.pos);switch(++this.pos,_){case 110:return`
1058
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ct(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(d){var N=this.pos-1;return this.invalidStringToken(N,"Invalid escape sequence in template string"),null}default:if(_>=48&&_<=55){var M=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Y=parseInt(M,8);return Y>255&&(M=M.slice(0,-1),Y=parseInt(M,8)),this.pos+=M.length-1,_=this.input.charCodeAt(this.pos),(M!=="0"||_===56||_===57)&&(this.strict||d)&&this.invalidStringToken(this.pos-1-M.length,d?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Y)}return P(_)?"":String.fromCharCode(_)}},be.readHexChar=function(d){var _=this.pos,N=this.readInt(16,d);return N===null&&this.invalidStringToken(_,"Bad character escape sequence"),N},be.readWord1=function(){this.containsEsc=!1;for(var d="",_=!0,N=this.pos,M=this.options.ecmaVersion>=6;this.pos<this.input.length;){var Y=this.fullCharCodeAtPos();if(E(Y,M))this.pos+=Y<=65535?1:2;else if(Y===92){this.containsEsc=!0,d+=this.input.slice(N,this.pos);var ae=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var de=this.readCodePoint();(_?g:E)(de,M)||this.invalidStringToken(ae,"Invalid Unicode escape"),d+=Ct(de),N=this.pos}else break;_=!1}return d+this.input.slice(N,this.pos)},be.readWord=function(){var d=this.readWord1(),_=y.name;return this.keywords.test(d)&&(_=R[d]),this.finishToken(_,d)};var nr="7.4.1";Je.acorn={Parser:Je,version:nr,defaultOptions:W,Position:oe,SourceLocation:Ee,getLineInfo:Pe,Node:rt,TokenType:A,tokTypes:y,keywordTypes:R,TokContext:bt,tokContexts:nt,isIdentifierChar:E,isIdentifierStart:g,Token:he,isNewLine:P,lineBreak:w,lineBreakG:S,nonASCIIwhitespace:z};function Nn(d,_){return Je.parse(d,_)}function p1(d,_,N){return Je.parseExpressionAt(d,_,N)}function d1(d,_){return Je.tokenizer(d,_)}r.Node=rt,r.Parser=Je,r.Position=oe,r.SourceLocation=Ee,r.TokContext=bt,r.Token=he,r.TokenType=A,r.defaultOptions=W,r.getLineInfo=Pe,r.isIdentifierChar=E,r.isIdentifierStart=g,r.isNewLine=P,r.keywordTypes=R,r.lineBreak=w,r.lineBreakG=S,r.nonASCIIwhitespace=z,r.parse=Nn,r.parseExpressionAt=p1,r.tokContexts=nt,r.tokTypes=y,r.tokenizer=d1,r.version=nr,Object.defineProperty(r,"__esModule",{value:!0})}))}}),BV=mt({"../../../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:"♦"}}}),jV=mt({"../../../node_modules/acorn-jsx/index.js"(e,t){var r=BV(),n=/^[\da-fA-F]+$/,i=/^\d+$/,a=new WeakMap;function o(u){u=u.Parser.acorn||u;let p=a.get(u);if(!p){let f=u.tokTypes,h=u.TokContext,m=u.TokenType,g=new h("<tag",!1),E=new h("</tag",!1),A=new h("<tag>...</tag>",!0,!0),v={tc_oTag:g,tc_cTag:E,tc_expr:A},T={jsxName:new m("jsxName"),jsxText:new m("jsxText",{beforeExpr:!0}),jsxTagStart:new m("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new m("jsxTagEnd")};T.jsxTagStart.updateContext=function(){this.context.push(A),this.context.push(g),this.exprAllowed=!1},T.jsxTagEnd.updateContext=function(I){let R=this.context.pop();R===g&&I===f.slash||R===E?(this.context.pop(),this.exprAllowed=this.curContext()===A):this.exprAllowed=!0},p={tokContexts:v,tokTypes:T},a.set(u,p)}return p}function s(u){if(!u)return u;if(u.type==="JSXIdentifier")return u.name;if(u.type==="JSXNamespacedName")return u.namespace.name+":"+u.name.name;if(u.type==="JSXMemberExpression")return s(u.object)+"."+s(u.property)}t.exports=function(u){return u=u||{},function(p){return l({allowNamespaces:u.allowNamespaces!==!1,allowNamespacedObjects:!!u.allowNamespacedObjects},p)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return o(ic()).tokTypes},configurable:!0,enumerable:!0});function l(u,p){let f=p.acorn||ic(),h=o(f),m=f.tokTypes,g=h.tokTypes,E=f.tokContexts,A=h.tokContexts.tc_oTag,v=h.tokContexts.tc_cTag,T=h.tokContexts.tc_expr,I=f.isNewLine,R=f.isIdentifierStart,D=f.isIdentifierChar;return class extends p{static get acornJsx(){return h}jsx_readToken(){let y="",w=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let S=this.input.charCodeAt(this.pos);switch(S){case 60:case 123:return this.pos===this.start?S===60&&this.exprAllowed?(++this.pos,this.finishToken(g.jsxTagStart)):this.getTokenFromCode(S):(y+=this.input.slice(w,this.pos),this.finishToken(g.jsxText,y));case 38:y+=this.input.slice(w,this.pos),y+=this.jsx_readEntity(),w=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(S===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:I(S)?(y+=this.input.slice(w,this.pos),y+=this.jsx_readNewLine(!0),w=this.pos):++this.pos}}}jsx_readNewLine(y){let w=this.input.charCodeAt(this.pos),S;return++this.pos,w===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,S=y?`
1059
+ `:`\r
1060
+ `):S=String.fromCharCode(w),this.options.locations&&(++this.curLine,this.lineStart=this.pos),S}jsx_readString(y){let w="",S=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let P=this.input.charCodeAt(this.pos);if(P===y)break;P===38?(w+=this.input.slice(S,this.pos),w+=this.jsx_readEntity(),S=this.pos):I(P)?(w+=this.input.slice(S,this.pos),w+=this.jsx_readNewLine(!1),S=this.pos):++this.pos}return w+=this.input.slice(S,this.pos++),this.finishToken(m.string,w)}jsx_readEntity(){let y="",w=0,S,P=this.input[this.pos];P!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let z=++this.pos;for(;this.pos<this.input.length&&w++<10;){if(P=this.input[this.pos++],P===";"){y[0]==="#"?y[1]==="x"?(y=y.substr(2),n.test(y)&&(S=String.fromCharCode(parseInt(y,16)))):(y=y.substr(1),i.test(y)&&(S=String.fromCharCode(parseInt(y,10)))):S=r[y];break}y+=P}return S||(this.pos=z,"&")}jsx_readWord(){let y,w=this.pos;do y=this.input.charCodeAt(++this.pos);while(D(y)||y===45);return this.finishToken(g.jsxName,this.input.slice(w,this.pos))}jsx_parseIdentifier(){let y=this.startNode();return this.type===g.jsxName?y.name=this.value:this.type.keyword?y.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(y,"JSXIdentifier")}jsx_parseNamespacedName(){let y=this.start,w=this.startLoc,S=this.jsx_parseIdentifier();if(!u.allowNamespaces||!this.eat(m.colon))return S;var P=this.startNodeAt(y,w);return P.namespace=S,P.name=this.jsx_parseIdentifier(),this.finishNode(P,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===g.jsxTagEnd)return"";let y=this.start,w=this.startLoc,S=this.jsx_parseNamespacedName();for(this.type===m.dot&&S.type==="JSXNamespacedName"&&!u.allowNamespacedObjects&&this.unexpected();this.eat(m.dot);){let P=this.startNodeAt(y,w);P.object=S,P.property=this.jsx_parseIdentifier(),S=this.finishNode(P,"JSXMemberExpression")}return S}jsx_parseAttributeValue(){switch(this.type){case m.braceL:let y=this.jsx_parseExpressionContainer();return y.expression.type==="JSXEmptyExpression"&&this.raise(y.start,"JSX attributes must only be assigned a non-empty expression"),y;case g.jsxTagStart:case m.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let y=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(y,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let y=this.startNode();return this.next(),y.expression=this.type===m.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(m.braceR),this.finishNode(y,"JSXExpressionContainer")}jsx_parseAttribute(){let y=this.startNode();return this.eat(m.braceL)?(this.expect(m.ellipsis),y.argument=this.parseMaybeAssign(),this.expect(m.braceR),this.finishNode(y,"JSXSpreadAttribute")):(y.name=this.jsx_parseNamespacedName(),y.value=this.eat(m.eq)?this.jsx_parseAttributeValue():null,this.finishNode(y,"JSXAttribute"))}jsx_parseOpeningElementAt(y,w){let S=this.startNodeAt(y,w);S.attributes=[];let P=this.jsx_parseElementName();for(P&&(S.name=P);this.type!==m.slash&&this.type!==g.jsxTagEnd;)S.attributes.push(this.jsx_parseAttribute());return S.selfClosing=this.eat(m.slash),this.expect(g.jsxTagEnd),this.finishNode(S,P?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(y,w){let S=this.startNodeAt(y,w),P=this.jsx_parseElementName();return P&&(S.name=P),this.expect(g.jsxTagEnd),this.finishNode(S,P?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(y,w){let S=this.startNodeAt(y,w),P=[],z=this.jsx_parseOpeningElementAt(y,w),L=null;if(!z.selfClosing){e:for(;;)switch(this.type){case g.jsxTagStart:if(y=this.start,w=this.startLoc,this.next(),this.eat(m.slash)){L=this.jsx_parseClosingElementAt(y,w);break e}P.push(this.jsx_parseElementAt(y,w));break;case g.jsxText:P.push(this.parseExprAtom());break;case m.braceL:P.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(L.name)!==s(z.name)&&this.raise(L.start,"Expected corresponding JSX closing tag for <"+s(z.name)+">")}let K=z.name?"Element":"Fragment";return S["opening"+K]=z,S["closing"+K]=L,S.children=P,this.type===m.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(S,"JSX"+K)}jsx_parseText(){let y=this.parseLiteral(this.value);return y.type="JSXText",y}jsx_parseElement(){let y=this.start,w=this.startLoc;return this.next(),this.jsx_parseElementAt(y,w)}parseExprAtom(y){return this.type===g.jsxText?this.jsx_parseText():this.type===g.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(y)}readToken(y){let w=this.curContext();if(w===T)return this.jsx_readToken();if(w===A||w===v){if(R(y))return this.jsx_readWord();if(y==62)return++this.pos,this.finishToken(g.jsxTagEnd);if((y===34||y===39)&&w==A)return this.jsx_readString(y)}return y===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(g.jsxTagStart)):super.readToken(y)}updateContext(y){if(this.type==m.braceL){var w=this.curContext();w==A?this.context.push(E.b_expr):w==T?this.context.push(E.b_tmpl):super.updateContext(y),this.exprAllowed=!0}else if(this.type===m.slash&&y===g.jsxTagStart)this.context.length-=2,this.context.push(v),this.exprAllowed=!1;else return super.updateContext(y)}}}}}),kV=mt({"../../../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"]}}),MV=mt({"../../../node_modules/html-tags/index.js"(e,t){t.exports=kV()}}),qV={};vd(qV,{argTypesEnhancers:()=>Ww,parameters:()=>zw});var oc="custom",ra="object",Sd="array",LV="class",Ni="func",Gi="element",$V=Ji(NV(),1);function VV(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 i=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(p){var f,h;return(h=(f=p.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):s},[]);if(i.length){var a=new RegExp(`
1061
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(a,`
1062
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return t.forEach(function(s,l){var u=o.match(/(?:^|\n)( *)$/),p=u?u[1]:"",f=s;typeof s=="string"&&s.includes(`
1063
+ `)&&(f=String(s).split(`
1064
+ `).map(function(h,m){return m===0?h:""+p+h}).join(`
1065
+ `)),o+=f+n[l+1]}),o}var Nw={format:{indent:{style:" "},semicolons:!1}},UV={...Nw,format:{newline:""}},JV={...Nw};function xn(e,t=!1){return(0,$V.generate)(e,t?UV:JV)}function ac(e,t=!1){return t?HV(e):xn(e)}function HV(e){let t=xn(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function ry(e,t=!1){return t?zV(e):GV(e)}function GV(e){let t=xn(e);return t.endsWith(" }]")&&(t=VV(t)),t}function zV(e){let t=xn(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var WV=Ji(ic(),1),KV=Ji(jV(),1);function Bw(e,t,r,n,i){r||(r=_e),(function a(o,s,l){var u=l||o.type,p=t[u];r[u](o,s,a),p&&p(o,s)})(e,n,i)}function YV(e,t,r,n,i){var a=[];r||(r=_e),(function o(s,l,u){var p=u||s.type,f=t[p],h=s!==a[a.length-1];h&&a.push(s),r[p](s,l,o),f&&f(s,l||a,a),h&&a.pop()})(e,n,i)}function xd(e,t,r){r(e,t)}function ii(e,t,r){}var _e={};_e.Program=_e.BlockStatement=function(e,t,r){for(var n=0,i=e.body;n<i.length;n+=1){var a=i[n];r(a,t,"Statement")}};_e.Statement=xd;_e.EmptyStatement=ii;_e.ExpressionStatement=_e.ParenthesizedExpression=_e.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};_e.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};_e.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};_e.BreakStatement=_e.ContinueStatement=ii;_e.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};_e.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var n=0,i=e.cases;n<i.length;n+=1){var a=i[n];a.test&&r(a.test,t,"Expression");for(var o=0,s=a.consequent;o<s.length;o+=1){var l=s[o];r(l,t,"Statement")}}};_e.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var n=0,i=e.consequent;n<i.length;n+=1){var a=i[n];r(a,t,"Statement")}};_e.ReturnStatement=_e.YieldExpression=_e.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};_e.ThrowStatement=_e.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};_e.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};_e.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};_e.WhileStatement=_e.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};_e.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")};_e.ForInStatement=_e.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};_e.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};_e.DebuggerStatement=ii;_e.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};_e.VariableDeclaration=function(e,t,r){for(var n=0,i=e.declarations;n<i.length;n+=1){var a=i[n];r(a,t)}};_e.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};_e.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var n=0,i=e.params;n<i.length;n+=1){var a=i[n];r(a,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};_e.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};_e.VariablePattern=ii;_e.MemberPattern=xd;_e.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};_e.ArrayPattern=function(e,t,r){for(var n=0,i=e.elements;n<i.length;n+=1){var a=i[n];a&&r(a,t,"Pattern")}};_e.ObjectPattern=function(e,t,r){for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];a.type==="Property"?(a.computed&&r(a.key,t,"Expression"),r(a.value,t,"Pattern")):a.type==="RestElement"&&r(a.argument,t,"Pattern")}};_e.Expression=xd;_e.ThisExpression=_e.Super=_e.MetaProperty=ii;_e.ArrayExpression=function(e,t,r){for(var n=0,i=e.elements;n<i.length;n+=1){var a=i[n];a&&r(a,t,"Expression")}};_e.ObjectExpression=function(e,t,r){for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];r(a,t)}};_e.FunctionExpression=_e.ArrowFunctionExpression=_e.FunctionDeclaration;_e.SequenceExpression=function(e,t,r){for(var n=0,i=e.expressions;n<i.length;n+=1){var a=i[n];r(a,t,"Expression")}};_e.TemplateLiteral=function(e,t,r){for(var n=0,i=e.quasis;n<i.length;n+=1){var a=i[n];r(a,t)}for(var o=0,s=e.expressions;o<s.length;o+=1){var l=s[o];r(l,t,"Expression")}};_e.TemplateElement=ii;_e.UnaryExpression=_e.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};_e.BinaryExpression=_e.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};_e.AssignmentExpression=_e.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};_e.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};_e.NewExpression=_e.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var n=0,i=e.arguments;n<i.length;n+=1){var a=i[n];r(a,t,"Expression")}};_e.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};_e.ExportNamedDeclaration=_e.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")};_e.ExportAllDeclaration=function(e,t,r){e.exported&&r(e.exported,t),r(e.source,t,"Expression")};_e.ImportDeclaration=function(e,t,r){for(var n=0,i=e.specifiers;n<i.length;n+=1){var a=i[n];r(a,t)}r(e.source,t,"Expression")};_e.ImportExpression=function(e,t,r){r(e.source,t,"Expression")};_e.ImportSpecifier=_e.ImportDefaultSpecifier=_e.ImportNamespaceSpecifier=_e.Identifier=_e.Literal=ii;_e.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};_e.ClassDeclaration=_e.ClassExpression=function(e,t,r){return r(e,t,"Class")};_e.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};_e.ClassBody=function(e,t,r){for(var n=0,i=e.body;n<i.length;n+=1){var a=i[n];r(a,t)}};_e.MethodDefinition=_e.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),r(e.value,t,"Expression")};var Dd={..._e,JSXElement:()=>{}},XV=WV.Parser.extend((0,KV.default)());function na(e){return e!=null?e.name:null}function ny(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function jw(e){let t=[];return YV(e,{ObjectExpression(r,n){t.push(ny(n).length)},ArrayExpression(r,n){t.push(ny(n).length)}},Dd),Math.max(...t)}function QV(e){return{inferredType:{type:"Identifier",identifier:na(e)},ast:e}}function ZV(e){return{inferredType:{type:"Literal"},ast:e}}function eU(e){let t;Bw(e.body,{JSXElement(i){t=i}},Dd);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=na(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function tU(e){let t;return Bw(e.body,{JSXElement(r){t=r}},Dd),{inferredType:{type:t!=null?"Element":"Class",identifier:na(e.id)},ast:e}}function rU(e){let t={type:"Element"},r=na(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function nU(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return na(t)==="shape"?kw(e.arguments[0]):null}function kw(e){return{inferredType:{type:"Object",depth:jw(e)},ast:e}}function iU(e){return{inferredType:{type:"Array",depth:jw(e)},ast:e}}function oU(e){switch(e.type){case"Identifier":return QV(e);case"Literal":return ZV(e);case"FunctionExpression":case"ArrowFunctionExpression":return eU(e);case"ClassExpression":return tU(e);case"JSXElement":return rU(e);case"CallExpression":return nU(e);case"ObjectExpression":return kw(e);case"ArrayExpression":return iU(e);default:return null}}function aU(e){let t=XV.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];if(n.type==="ExpressionStatement"){let i=oU(n.expression);i!=null&&(r=i)}}return r}function Pn(e){try{return{...aU(e)}}catch{}return{inferredType:{type:"Unknown"}}}var sU=Ji(MV(),1);function Rd(e){return sU.default.includes(e.toLowerCase())}function Mw({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=ry(t,!0);if(!Hi(n))return Le(n)}return Le(Sd,ry(t))}function qw({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=ac(t,!0);if(!Hi(n))return Le(n)}return Le(ra,ac(t))}function Pd(e,t){return t?`${e}( ... )`:`${e}()`}function Ws(e){return`<${e} />`}function Lw(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Pd(r,e.hasParams);case"Element":return Ws(r);default:return r}}function uU({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return Le(Lw(e),xn(t));let n=xn(t,!0);return Hi(n)?Le(Ni,xn(t)):Le(n)}function lU(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!Rd(n)){let i=Lw(r);return Le(i,e)}return Hi(e)?Le(Gi,e):Le(e)}function $w(e){try{let t=Pn(e);switch(t.inferredType.type){case"Object":return qw(t);case"Function":return uU(t);case"Element":return lU(e,t);case"Array":return Mw(t);default:return null}}catch(t){console.error(t)}return null}function cU(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}function iy(e){return typeof e=="function"}function pU(e){return typeof e=="string"}var oy=hw;function Vw(e){return e.$$typeof!=null}function Uw(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var dU=e=>Le(JSON.stringify(e));function fU(e){let{type:t}=e,{displayName:r}=t,n=oy(e,{});if(r!=null){let i=Ws(r);return Le(i,n)}if(pU(t)&&Rd(t)){let i=oy(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Hi(i))return Le(i)}return Le(Gi,n)}var hU=e=>{if(Vw(e)&&e.type!=null)return fU(e);if(cU(e)){let t=Pn(JSON.stringify(e));return qw(t)}if(Array.isArray(e)){let t=Pn(JSON.stringify(e));return Mw(t)}return Le(ra)},mU=(e,t)=>{let r=!1,n;if(iy(e.render))r=!0;else if(e.prototype!=null&&iy(e.prototype.render))r=!0;else{let a;try{n=Pn(e.toString());let{hasParams:o,params:s}=n.inferredType;o?s.length===1&&s[0].type==="ObjectPattern"&&(a=e({})):a=e(),a!=null&&Vw(a)&&(r=!0)}catch{}}let i=Uw(e,t.name);if(i!=null){if(r)return Le(Ws(i));n!=null&&(n=Pn(e.toString()));let{hasParams:a}=n.inferredType;return Le(Pd(i,a))}return Le(r?Gi:Ni)},yU=e=>Le(e.toString()),Jw={string:dU,object:hU,function:mU,default:yU};function gU(e={}){return{...Jw,...e}}function bU(e,t,r=Jw){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 EU(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let i=[];if(r){let a=e.map(o=>{let s=o.getPrettyName(),l=o.getTypeName();return l!=null?`${s}: ${l}`:s});i.push(`(${a.join(", ")})`)}else i.push("()");return n&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function vU(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let i=[];return r?i.push("( ... )"):i.push("()"),n&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function _U(e){return e.replace(/,/g,`,\r
1066
+ `)}var AU=150;function Kt({name:e,short:t,compact:r,full:n,inferredType:i}){return{name:e,short:t,compact:r,full:n??t,inferredType:i}}function Hw(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function ay(e){return e.split(/\r?\n/)}function as(e,t=!1){return Hw(ac(e,t))}function sy(e,t=!1){return Hw(xn(e,t))}function wU(e){switch(e){case"Object":return ra;case"Array":return Sd;case"Class":return LV;case"Function":return Ni;case"Element":return Gi;default:return oc}}function Gw(e,t){let{inferredType:r,ast:n}=Pn(e),{type:i}=r,a,o,s;switch(i){case"Identifier":case"Literal":a=e,o=e;break;case"Object":{let{depth:l}=r;a=ra,o=l===1?as(n,!0):null,s=as(n);break}case"Element":{let{identifier:l}=r;a=l!=null&&!Rd(l)?l:Gi,o=ay(e).length===1?e:null,s=e;break}case"Array":{let{depth:l}=r;a=Sd,o=l<=2?sy(n,!0):null,s=sy(n);break}default:a=wU(i),o=ay(e).length===1?e:null,s=e;break}return Kt({name:t,short:a,compact:o,full:s,inferredType:i})}function TU({raw:e}){return e!=null?Gw(e,"custom"):Kt({name:"custom",short:oc,compact:oc})}function CU(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Kt({name:"func",short:vU(t.params,t.returns),compact:null,full:EU(t.params,t.returns)}):Kt({name:"func",short:Ni,compact:Ni})}function SU(e,t){let r=Object.keys(e.value).map(o=>`${o}: ${Bi(e.value[o],t).full}`).join(", "),{inferredType:n,ast:i}=Pn(`{ ${r} }`),{depth:a}=n;return Kt({name:"shape",short:ra,compact:a===1&&i?as(i,!0):null,full:i?as(i):null})}function ju(e){return`objectOf(${e})`}function xU(e,t){let{short:r,compact:n,full:i}=Bi(e.value,t);return Kt({name:"objectOf",short:ju(r),compact:n!=null?ju(n):null,full:i&&ju(i)})}function DU(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,i)=>{let{short:a,compact:o,full:s}=Bi(i,t);return n.short.push(a),n.compact.push(o),n.full.push(s),n},{short:[],compact:[],full:[]});return Kt({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return Kt({name:"union",short:e.value,compact:null})}function RU({value:e,computed:t}){return t?Gw(e,"enumvalue"):Kt({name:"enumvalue",short:e,compact:e})}function PU(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:i,compact:a,full:o}=RU(n);return r.short.push(i),r.compact.push(a),r.full.push(o),r},{short:[],compact:[],full:[]});return Kt({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Kt({name:"enum",short:e.value,compact:e.value})}function sc(e){return`${e}[]`}function uy(e){return`[${e}]`}function ly(e,t,r){return Kt({name:"arrayOf",short:sc(e),compact:t!=null?uy(t):null,full:r&&uy(r)})}function OU(e,t){let{name:r,short:n,compact:i,full:a,inferredType:o}=Bi(e.value,t);if(r==="custom"){if(o==="Object")return ly(n,i,a)}else if(r==="shape")return ly(n,i,a);return Kt({name:"arrayOf",short:sc(n),compact:sc(n)})}function Bi(e,t){try{switch(e.name){case"custom":return TU(e);case"func":return CU(t);case"shape":return SU(e,t);case"instanceOf":return Kt({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return xU(e,t);case"union":return DU(e,t);case"enum":return PU(e);case"arrayOf":return OU(e,t);default:return Kt({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return Kt({name:"unknown",short:"unknown",compact:"unknown"})}function FU(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:i}=Bi(t,e);return n!=null&&!Cd(n)?Le(n):i?Le(r,i):Le(r)}case"func":{let{short:r,full:n}=Bi(t,e),i=r,a;return n&&n.length<AU?i=n:n&&(a=_U(n)),Le(i,a)}default:return null}}catch(r){console.error(r)}return null}var IU=(e,{name:t,type:r})=>{let n=r?.summary==="element"||r?.summary==="elementType",i=Uw(e,t);if(i!=null){if(n)return Le(Ws(i));let{hasParams:a}=Pn(e.toString()).inferredType;return Le(Pd(i,a))}return Le(n?Gi:Ni)},NU=gU({function:IU});function BU(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(i=>i.name===n)).filter(Boolean):e}function jU(e,t){let{propDef:r}=e,n=FU(e);n!=null&&(r.type=n);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let a=$w(i.value);a!=null&&(r.defaultValue=a)}else if(t!=null){let a=bU(t,r,NU);a!=null&&(r.defaultValue=a)}return r}function kU(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(i=>jU(i,r[i.propDef.name]));return BU(n,t)}function MU(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let i=$w(n.value);i!=null&&(r.defaultValue=i)}return r}function qU(e){return e.map(t=>MU(t))}function LU(e,t){let r=e;!wd(e)&&!e.propTypes&&uw(e)&&(r=e.type);let n=EV(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case tc.JAVASCRIPT:return kU(n,e);case tc.TYPESCRIPT:return qU(n);default:return n.map(i=>i.propDef)}}var $U=e=>({rows:LU(e,"props")}),VU=e=>{if(e){let{rows:t}=$U(e);if(t)return t.reduce((r,n)=>{let{name:i,description:a,type:o,sbType:s,defaultValue:l,jsDocTags:u,required:p}=n;return r[i]={name:i,description:a,type:{required:p,...s},table:{type:o??void 0,jsDocTags:u,defaultValue:l??void 0}},r},{})}return null},zw={docs:{extractArgTypes:VU,extractComponentDescription:vV}},Ww=[_V];const UU=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:Ww,parameters:zw},Symbol.toStringTag,{value:"Module"}));var JU={};vd(JU,{applyDecorators:()=>Xw,decorators:()=>Qw,parameters:()=>Zw});const{logger:Aa}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{emitTransformCode:HU,useEffect:GU,useRef:zU}=__STORYBOOK_MODULE_PREVIEW_API__;var ku=hw,WU=e=>e.charAt(0).toUpperCase()+e.slice(1),KU=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(WU).join("")).join(".");function uc(e){if(Wt.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=uc(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(uc):e}var YU=(e,t)=>{if(typeof e>"u")return Aa.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let o=0;o<t?.skip;o+=1){if(typeof r>"u")return Aa.warn("Cannot skip undefined element"),null;if(gr.Children.count(r)>1)return Aa.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(Aa.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=gr.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let i;typeof t?.displayName=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:o=>o.type.displayName?o.type.displayName:rc(o.type,"displayName")?rc(o.type,"displayName"):o.type.render?.displayName?o.type.render.displayName:typeof o.type=="symbol"||o.type.$$typeof&&typeof o.type.$$typeof=="symbol"?KU(o.type):o.type.name&&o.type.name!=="_default"?o.type.name:typeof o.type=="function"?"No Display Name":s$(o.type)?o.type.render.name:uw(o.type)?o.type.type.name:o.type};let a={...i,filterProps:(o,s)=>o!==void 0,...t};return gr.Children.map(e,o=>{let s=typeof o=="number"?o.toString():o,l=(typeof ku=="function"?ku:ku.default)(uc(s),a);if(l.indexOf("&quot;")>-1){let u=l.match(/\S+=\\"([^"]*)\\"/g);u&&u.forEach(p=>{l=l.replace(p,p.replace(/&quot;/g,"'"))})}return l}).join(`
1067
+ `).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},XU={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},QU=e=>{let t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return t?.type===nc.DYNAMIC?!1:!r||t?.code||t?.type===nc.CODE},ZU=e=>e.type?.displayName==="MDXCreateElement"&&!!e.props?.mdxType,Kw=e=>{if(!ZU(e))return e;let{mdxType:t,originalType:r,children:n,...i}=e.props,a=[];return n&&(a=(Array.isArray(n)?n:[n]).map(Kw)),Wt.createElement(r,i,...a)},Yw=(e,t)=>{let r=zU(void 0),n=e(),i=QU(t),a={...XU,...t?.parameters.jsx||{}},o=t.originalStoryFn(t.args,t);return GU(()=>{if(i)return;let s=Kw(o),l=YU(s,a);l&&r.current!==l&&(HU(l,t),r.current=l)}),n},Xw=(e,t)=>{let r=t.findIndex(i=>i.originalFn===Yw),n=r===-1?t:[...t.splice(r,1),...t];return bd(e,n)},Qw="FEATURES"in globalThis&&globalThis?.FEATURES?.experimentalCodeExamples?[]:[Yw],Zw={docs:{story:{inline:!0}}};const eJ=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:Xw,decorators:Qw,parameters:Zw},Symbol.toStringTag,{value:"Module"}));var tJ=Object.create,Od=Object.defineProperty,rJ=Object.getOwnPropertyDescriptor,e1=Object.getOwnPropertyNames,nJ=Object.getPrototypeOf,iJ=Object.prototype.hasOwnProperty,KJ=(e,t)=>function(){return t||(0,e[e1(e)[0]])((t={exports:{}}).exports,t),t.exports},oJ=(e,t)=>{for(var r in t)Od(e,r,{get:t[r],enumerable:!0})},aJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of e1(t))!iJ.call(e,i)&&i!==r&&Od(e,i,{get:()=>t[i],enumerable:!(n=rJ(t,i))||n.enumerable});return e},YJ=(e,t,r)=>(r=e!=null?tJ(nJ(e)):{},aJ(Od(r,"default",{value:e,enumerable:!0}),e)),sJ={};oJ(sJ,{parameters:()=>t1});var uJ=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),t1={docs:{renderer:async()=>{let{DocsRenderer:e}=await Ce(async()=>{const{DocsRenderer:t}=await import("./DocsRenderer-LL677BLK-Ch7ovClC.js");return{DocsRenderer:t}},__vite__mapDeps([105,2,104,4,3]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>uJ[t]).length===0&&!e.parameters.docs?.disable}}};const lJ=Object.freeze(Object.defineProperty({__proto__:null,parameters:t1},Symbol.toStringTag,{value:"Module"}));var oi="storybook/a11y",cJ=`${oi}/panel`,pJ=`${oi}/result`,dJ=`${oi}/request`,fJ=`${oi}/running`,hJ=`${oi}/error`,mJ=`${oi}/manual`,yJ=`${oi}/select`,Mu={RESULT:pJ,REQUEST:dJ,RUNNING:fJ,ERROR:hJ,MANUAL:mJ,SELECT:yJ},r1={blurred:{label:"Blurred vision",filter:"blur(2px)",percentage:22.9},deuteranomaly:{label:"Deuteranomaly",filter:'url("#storybook-a11y-vision-deuteranomaly")',percentage:2.7},deuteranopia:{label:"Deuteranopia",filter:'url("#storybook-a11y-vision-deuteranopia")',percentage:.56},protanomaly:{label:"Protanomaly",filter:'url("#storybook-a11y-vision-protanomaly")',percentage:.66},protanopia:{label:"Protanopia",filter:'url("#storybook-a11y-vision-protanopia")',percentage:.59},tritanomaly:{label:"Tritanomaly",filter:'url("#storybook-a11y-vision-tritanomaly")',percentage:.01},tritanopia:{label:"Tritanopia",filter:'url("#storybook-a11y-vision-tritanopia")',percentage:.016},achromatopsia:{label:"Achromatopsia",filter:'url("#storybook-a11y-vision-achromatopsia")',percentage:1e-4},grayscale:{label:"Grayscale",filter:"grayscale(100%)"}},gJ=`<svg id="storybook-a11y-vision-filters" style="display: none !important;">
1068
+ <defs>
1069
+ <filter id="storybook-a11y-vision-protanopia">
1070
+ <feColorMatrix
1071
+ in="SourceGraphic"
1072
+ type="matrix"
1073
+ values="0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"
1074
+ />
1075
+ </filter>
1076
+ <filter id="storybook-a11y-vision-protanomaly">
1077
+ <feColorMatrix
1078
+ in="SourceGraphic"
1079
+ type="matrix"
1080
+ values="0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"
1081
+ />
1082
+ </filter>
1083
+ <filter id="storybook-a11y-vision-deuteranopia">
1084
+ <feColorMatrix
1085
+ in="SourceGraphic"
1086
+ type="matrix"
1087
+ values="0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"
1088
+ />
1089
+ </filter>
1090
+ <filter id="storybook-a11y-vision-deuteranomaly">
1091
+ <feColorMatrix
1092
+ in="SourceGraphic"
1093
+ type="matrix"
1094
+ values="0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"
1095
+ />
1096
+ </filter>
1097
+ <filter id="storybook-a11y-vision-tritanopia">
1098
+ <feColorMatrix
1099
+ in="SourceGraphic"
1100
+ type="matrix"
1101
+ values="0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"
1102
+ />
1103
+ </filter>
1104
+ <filter id="storybook-a11y-vision-tritanomaly">
1105
+ <feColorMatrix
1106
+ in="SourceGraphic"
1107
+ type="matrix"
1108
+ values="0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"
1109
+ />
1110
+ </filter>
1111
+ <filter id="storybook-a11y-vision-achromatopsia">
1112
+ <feColorMatrix
1113
+ in="SourceGraphic"
1114
+ type="matrix"
1115
+ values="0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"
1116
+ />
1117
+ </filter>
1118
+ </defs>
1119
+ </svg>`,bJ=Object.defineProperty,EJ=(e,t)=>{for(var r in t)bJ(e,r,{get:t[r],enumerable:!0})},vJ={};EJ(vJ,{afterEach:()=>s1,decorators:()=>a1,initialGlobals:()=>u1,parameters:()=>l1});const{expect:cy}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:_J}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:AJ}=__STORYBOOK_MODULE_GLOBAL__,{addons:wJ,waitForAnimations:TJ}=__STORYBOOK_MODULE_PREVIEW_API__,{global:CJ}=__STORYBOOK_MODULE_GLOBAL__;var{document:SJ}=CJ,xJ=(e,t)=>{let r=SJ.location.pathname.replace(/iframe\.html$/,""),n={...e};return["incomplete","passes","violations"].forEach(i=>{Array.isArray(e[i])&&(n[i]=e[i].map(a=>({...a,nodes:a.nodes.map((o,s)=>{let l=`${i}.${a.id}.${s+1}`,u=`${r}?path=/story/${t}&addonPanel=${cJ}&a11ySelection=${l}`;return{id:l,...o,linkPath:u}})})))}),n},{document:py}=AJ,qu=wJ.getChannel(),n1={config:{},options:{}},DJ=["region"],lc=[],cc=!1,i1=async()=>{if(lc.length===0){cc=!1;return}cc=!0;let e=lc.shift();e&&await e(),i1()},o1=async(e=n1,t)=>{let r=(await Ce(async()=>{const{default:s}=await import("./axe-4EaTvypG.js").then(l=>l.a);return{default:s}},[],import.meta.url))?.default||globalThis.axe,{config:n={},options:i={}}=e;if(e.element)throw new _J;let a={include:py?.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let s=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,l=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;s?a.include=e.context.include:!s&&!l&&(a.include=e.context),l&&(a.exclude=a.exclude.concat(e.context.exclude))}r.reset();let o={...n,rules:[...DJ.map(s=>({id:s,enabled:!1})),...n?.rules??[]]};return r.configure(o),new Promise((s,l)=>{let u=py?.getElementById("storybook-highlights-root");u&&(u.style.display="none");let p=async()=>{try{let f=await r.run(a,i),h=xJ(f,t);s(h)}catch(f){l(f)}};lc.push(p),cc||i1(),u&&(u.style.display="")})};qu.on(Mu.MANUAL,async(e,t=n1)=>{try{await TJ();let r=await o1(t,e),n=JSON.parse(JSON.stringify(r));qu.emit(Mu.RESULT,n,e)}catch(r){qu.emit(Mu.ERROR,r)}});function dy(){try{return!1}catch{return!1}}const{useCallback:RJ,useEffect:fy}=__STORYBOOK_MODULE_PREVIEW_API__;var PJ=Object.values(r1).map(e=>e.filter),OJ=new RegExp(`\\b(${PJ.join("|")})\\b`,"g"),FJ=(e,{globals:t})=>{let{vision:r}=t,n=RJ(()=>{let i=document.body.style.filter.replaceAll(OJ,"").trim(),a=r1[r]?.filter;return a&&document.body.classList.contains("sb-show-main")?!i||i==="none"?document.body.style.filter=a:document.body.style.filter=`${i} ${a}`:document.body.style.filter=i||"none",()=>document.body.style.filter=i||"none"},[r]);return fy(()=>{let i=n(),a=new MutationObserver(()=>n());return a.observe(document.body,{attributeFilter:["class"]}),()=>{i(),a.disconnect()}},[n]),fy(()=>(document.body.insertAdjacentHTML("beforeend",gJ),()=>{let i=document.getElementById("storybook-a11y-vision-filters");i?.parentElement?.removeChild(i)}),[]),e()},hy=!1,a1=[FJ],s1=async({id:e,reporting:t,parameters:r,globals:n,viewMode:i})=>{let a=r.a11y,o=n.a11y,s=!n.ghostStories&&a?.disable!==!0&&a?.test!=="off"&&o?.manual!==!0,l=()=>a?.test==="todo"?"warning":"failed";if(s&&i==="story")try{let u=await o1(a,e);if(u){let p=(u?.violations.length??0)>0;if(t.addReport({type:"a11y",version:1,result:u,status:p?l():"passed"}),dy()&&p&&l()==="failed"){if(!hy){let{toHaveNoViolations:f}=await Ce(async()=>{const{toHaveNoViolations:h}=await import("./matchers-5TDFFDYO-HJu_DfWo.js");return{toHaveNoViolations:h}},[],import.meta.url);cy.extend({toHaveNoViolations:f}),hy=!0}cy(u).toHaveNoViolations()}}}catch(u){if(t.addReport({type:"a11y",version:1,result:{error:u},status:"failed"}),dy())throw u}},u1={a11y:{manual:!1},vision:void 0},l1={a11y:{test:"todo"}};const IJ=Object.freeze(Object.defineProperty({__proto__:null,afterEach:s1,decorators:a1,initialGlobals:u1,parameters:l1},Symbol.toStringTag,{value:"Module"}));var NJ={iphone5:{name:"iPhone 5",styles:{height:"568px",width:"320px"},type:"mobile"},iphone6:{name:"iPhone 6",styles:{height:"667px",width:"375px"},type:"mobile"},iphone6p:{name:"iPhone 6 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphone8p:{name:"iPhone 8 Plus",styles:{height:"736px",width:"414px"},type:"mobile"},iphonex:{name:"iPhone X",styles:{height:"812px",width:"375px"},type:"mobile"},iphonexr:{name:"iPhone XR",styles:{height:"896px",width:"414px"},type:"mobile"},iphonexsmax:{name:"iPhone XS Max",styles:{height:"896px",width:"414px"},type:"mobile"},iphonese2:{name:"iPhone SE (2nd generation)",styles:{height:"667px",width:"375px"},type:"mobile"},iphone12mini:{name:"iPhone 12 mini",styles:{height:"812px",width:"375px"},type:"mobile"},iphone12:{name:"iPhone 12",styles:{height:"844px",width:"390px"},type:"mobile"},iphone12promax:{name:"iPhone 12 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphoneSE3:{name:"iPhone SE 3rd generation",styles:{height:"667px",width:"375px"},type:"mobile"},iphone13:{name:"iPhone 13",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13pro:{name:"iPhone 13 Pro",styles:{height:"844px",width:"390px"},type:"mobile"},iphone13promax:{name:"iPhone 13 Pro Max",styles:{height:"926px",width:"428px"},type:"mobile"},iphone14:{name:"iPhone 14",styles:{height:"844px",width:"390px"},type:"mobile"},iphone14pro:{name:"iPhone 14 Pro",styles:{height:"852px",width:"393px"},type:"mobile"},iphone14promax:{name:"iPhone 14 Pro Max",styles:{height:"932px",width:"430px"},type:"mobile"},ipad:{name:"iPad",styles:{height:"1024px",width:"768px"},type:"tablet"},ipad10p:{name:"iPad Pro 10.5-in",styles:{height:"1112px",width:"834px"},type:"tablet"},ipad11p:{name:"iPad Pro 11-in",styles:{height:"1194px",width:"834px"},type:"tablet"},ipad12p:{name:"iPad Pro 12.9-in",styles:{height:"1366px",width:"1024px"},type:"tablet"},galaxys5:{name:"Galaxy S5",styles:{height:"640px",width:"360px"},type:"mobile"},galaxys9:{name:"Galaxy S9",styles:{height:"740px",width:"360px"},type:"mobile"},nexus5x:{name:"Nexus 5X",styles:{height:"660px",width:"412px"},type:"mobile"},nexus6p:{name:"Nexus 6P",styles:{height:"732px",width:"412px"},type:"mobile"},pixel:{name:"Pixel",styles:{height:"960px",width:"540px"},type:"mobile"},pixelxl:{name:"Pixel XL",styles:{height:"1280px",width:"720px"},type:"mobile"}},Lu={exports:{}},to={};var my;function BJ(){if(my)return to;my=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,i,a){var o=null;if(a!==void 0&&(o=""+a),i.key!==void 0&&(o=""+i.key),"key"in i){a={};for(var s in i)s!=="key"&&(a[s]=i[s])}else a=i;return i=a.ref,{$$typeof:e,type:n,key:o,ref:i!==void 0?i:null,props:a}}return to.Fragment=t,to.jsx=r,to.jsxs=r,to}var yy;function jJ(){return yy||(yy=1,Lu.exports=BJ()),Lu.exports}var kJ=jJ();const c1=(e,t)=>{const r=t.globals.theme||"light";return Wt.useEffect(()=>{r==="dark"?document.documentElement.setAttribute("data-theme",r):document.documentElement.removeAttribute("data-theme");const n=document.getElementById("storybook-root"),i=document.querySelector(".sb-show-main"),a=document.querySelector(".docs-story"),o=r==="dark"?"#333":"#f7f7f7";a&&(a.style.backgroundColor=o),n&&(n.style.backgroundColor=o),i&&(i.style.backgroundColor=o)},[r]),kJ.jsx(e,{})};c1.__docgenInfo={description:"",methods:[],displayName:"WithTheme"};const MJ={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},viewport:{options:NJ},a11y:{test:"todo"},options:{storySort:{order:["Overview","UI React",["Getting Started","Migration Guide","App","Theme","Icons","useNavigationBar","useBottomTabBar","usePageLayout","usePullToRefresh","useLoadMore","usePageScroll"],"UI React (AI)",["Getting Started","AI App","Icons"],"Router",["Getting Started","Router","Deeplink","Events","useNavigate","useLocation","useHistory","useHistories","useNavigationType","useDidShow","useDidHide","useAppPause","useAppResume"],"Locale",["Getting Started","LocalesProvider","useTranslate","useLanguage"],"Getting Started","Migration Guide","App Framework",["General","Routing & Navigation","Page Layout","Mobile Behaviours","Navigating Animation","Keep Alive","Bottom Tab Bar"],"Use Cases","Hooks","Components","*"]}}},initialGlobals:{viewport:{value:"iphone14promax",isRotated:!1},theme:"light"},decorators:[c1],globalTypes:{theme:{name:"Theme",description:"Global theme for components",defaultValue:"light",toolbar:{icon:"mirror",items:[{value:"light",icon:"circlehollow",title:"Light"},{value:"dark",icon:"circle",title:"Dark"}],dynamicTitle:!0}}}},qJ=Object.freeze(Object.defineProperty({__proto__:null,default:MJ},Symbol.toStringTag,{value:"Module"}));QA();const{composeConfigs:LJ,PreviewWeb:$J}=__STORYBOOK_MODULE_PREVIEW_API__,VJ=(e=[])=>{const t=[e[0]??n$,e[1]??UU,e[2]??eJ,e[3]??lJ,e[4]??IJ,e[5]??qJ];return LJ(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new $J(M4,VJ);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{gr as R,YJ as _,KJ as a,$4 as b,WJ as c,zJ as d,q4 as g,kJ as j,Wt as r};