@aussieljk/forkbook 0.0.1-5 → 0.0.1-7

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 (314) hide show
  1. package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
  2. package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
  3. package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
  4. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  5. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
  6. package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  8. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  9. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  13. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  14. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  15. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  16. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  17. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  18. package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
  19. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  20. package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
  21. package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
  22. package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
  23. package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
  24. package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
  25. package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
  26. package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
  27. package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
  28. package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
  29. package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
  30. package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
  31. package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
  32. package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
  33. package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
  34. package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
  35. package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
  36. package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
  37. package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
  38. package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
  39. package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
  40. package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
  41. package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
  42. package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
  43. package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
  44. package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
  45. package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
  46. package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
  47. package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
  48. package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
  49. package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
  50. package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
  51. package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
  52. package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
  53. package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
  54. package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
  55. package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
  56. package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
  57. package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
  58. package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
  59. package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
  60. package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
  61. package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
  62. package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
  63. package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
  64. package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
  65. package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
  66. package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
  67. package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
  68. package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
  69. package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
  70. package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
  71. package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
  72. package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
  73. package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
  74. package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
  75. package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
  76. package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
  77. package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
  78. package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
  79. package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
  80. package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
  81. package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
  82. package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
  83. package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
  84. package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
  85. package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
  86. package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
  87. package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
  88. package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
  89. package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
  90. package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
  91. package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
  92. package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
  93. package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
  94. package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
  95. package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
  96. package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
  97. package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
  98. package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
  99. package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
  100. package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
  101. package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
  102. package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
  103. package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
  104. package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
  105. package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
  106. package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
  107. package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
  108. package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
  109. package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
  110. package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
  111. package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
  112. package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
  113. package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
  114. package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
  115. package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
  116. package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
  117. package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
  118. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
  119. package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
  120. package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
  121. package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
  122. package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
  123. package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
  124. package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
  125. package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
  126. package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
  127. package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
  128. package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
  129. package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
  130. package/dist/actions/decorator.js +2 -1
  131. package/dist/actions/index.js +2 -1
  132. package/dist/addon-a11y/index.js +2 -1
  133. package/dist/addon-a11y/manager.js +6 -5
  134. package/dist/addon-a11y/preset.js +7 -7
  135. package/dist/addon-a11y/preview.js +2 -1
  136. package/dist/addon-docs/blocks.js +28 -14
  137. package/dist/addon-docs/manager.js +2 -2
  138. package/dist/addon-docs/preset.js +10 -10
  139. package/dist/addon-links/index.js +3 -2
  140. package/dist/addon-links/preview.d.ts +1 -1
  141. package/dist/addon-links/preview.js +3 -2
  142. package/dist/addon-links/react/index.js +2 -1
  143. package/dist/addon-mcp/preset.js +8 -8
  144. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
  145. package/dist/addon-ondevice-actions/index.js +5 -1
  146. package/dist/addon-ondevice-actions/register.js +5 -1
  147. package/dist/addon-themes/postinstall.js +7 -7
  148. package/dist/addon-vitest/constants.js +8 -8
  149. package/dist/addon-vitest/manager.js +2 -2
  150. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  151. package/dist/addon-vitest/node/vitest.js +16 -16
  152. package/dist/addon-vitest/postinstall.js +10 -10
  153. package/dist/addon-vitest/preset.js +15 -16
  154. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  155. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  156. package/dist/babel/index.d.ts +91 -842
  157. package/dist/babel/index.js +13 -19
  158. package/dist/bin/core.js +61 -60
  159. package/dist/bin/dispatcher.js +16 -11
  160. package/dist/bin/loader.js +16 -15
  161. package/dist/builder-vite/index.js +15 -15
  162. package/dist/builder-vite/preset.js +13 -13
  163. package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
  164. package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
  165. package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
  166. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  167. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  168. package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
  169. package/dist/cli/index.d.ts +13 -866
  170. package/dist/cli/index.js +42 -4952
  171. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  172. package/dist/cli/tools/sdk/child-host.js +17 -17
  173. package/dist/cli/tools/sdk/index.d.ts +1 -1
  174. package/dist/cli/tools/sdk/index.js +18 -18
  175. package/dist/cli-commands/bin/index.js +7 -7
  176. package/dist/client-logger/index.js +3 -1
  177. package/dist/common/index.d.ts +5 -4
  178. package/dist/common/index.js +35 -37
  179. package/dist/components/index.d.ts +14 -231
  180. package/dist/components/index.js +2512 -8359
  181. package/dist/core-events/index.d.ts +3 -2
  182. package/dist/core-events/index.js +3 -1
  183. package/dist/core-server/index.d.ts +2 -2
  184. package/dist/core-server/index.js +450 -147
  185. package/dist/core-server/presets/common-manager.js +62 -866
  186. package/dist/core-server/presets/common-override-preset.js +12 -10
  187. package/dist/core-server/presets/common-preset.js +39 -40
  188. package/dist/create/bin/index.js +7 -7
  189. package/dist/create/index.js +15 -15
  190. package/dist/csf/index.d.ts +1 -1
  191. package/dist/csf/index.js +27 -93
  192. package/dist/csf-tools/index.d.ts +14 -12
  193. package/dist/csf-tools/index.js +14 -14
  194. package/dist/instrumenter/index.js +3 -1
  195. package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
  196. package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
  197. package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
  198. package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
  199. package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
  200. package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
  201. package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
  202. package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
  203. package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
  204. package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
  205. package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
  206. package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
  207. package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
  208. package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
  209. package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
  210. package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
  211. package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
  212. package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
  213. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
  214. package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
  215. package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
  216. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  217. package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
  218. package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
  219. package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
  220. package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
  221. package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
  222. package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
  223. package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
  224. package/dist/manager/globals-runtime.js +1 -1
  225. package/dist/manager/runtime.js +1 -1
  226. package/dist/manager-api/index.d.ts +1 -1
  227. package/dist/manager-api/index.js +22 -28
  228. package/dist/manager-errors.d.ts +1 -1
  229. package/dist/mcp/index.js +8 -8
  230. package/dist/mocking-utils/index.js +16 -11
  231. package/dist/nextjs-vite/index.js +3 -2
  232. package/dist/nextjs-vite/node/index.js +7 -7
  233. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  234. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  235. package/dist/nextjs-vite/preset.js +93 -14
  236. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  237. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  238. package/dist/nextjs-vite-plugin/index.js +12 -27
  239. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  240. package/dist/node-logger/index.d.ts +65 -72
  241. package/dist/node-logger/index.js +11 -12
  242. package/dist/oxc-parser/index.js +11 -13
  243. package/dist/oxc-parser/worker.js +10 -10
  244. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  245. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  246. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  247. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  248. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  249. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  250. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  251. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  252. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  253. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  254. package/dist/preview/runtime.js +1 -1
  255. package/dist/preview-api/index.d.ts +1 -1
  256. package/dist/preview-api/index.js +2 -1
  257. package/dist/preview-errors.d.ts +1 -1
  258. package/dist/react/docgen/docgen-worker.js +11 -12
  259. package/dist/react/entry-preview.js +2 -1
  260. package/dist/react/index.js +6 -4
  261. package/dist/react/preset.js +13 -14
  262. package/dist/react/preview.js +3 -2
  263. package/dist/react-native/bin/get-stories.js +8 -8
  264. package/dist/react-native/index.js +25 -211
  265. package/dist/react-native/metro/node.js +10 -9
  266. package/dist/react-native/metro/withStorybook.js +11 -10
  267. package/dist/react-native/scripts/generate.js +8 -8
  268. package/dist/react-vite/node/index.js +7 -7
  269. package/dist/react-vite/preset.js +7 -7
  270. package/dist/router/index.js +3 -1
  271. package/dist/server-errors.d.ts +1 -1
  272. package/dist/server-errors.js +9 -9
  273. package/dist/shared/open-service/index.d.ts +1 -1
  274. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  275. package/dist/telemetry/index.js +43 -45
  276. package/dist/test/index.js +808 -573
  277. package/dist/theming/create.js +2 -1
  278. package/dist/theming/index.js +22 -1
  279. package/dist/types/index.d.ts +1 -1
  280. package/package.json +21 -44
  281. package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
  282. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  283. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  284. package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
  285. package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
  286. package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
  287. package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
  288. package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
  289. package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
  290. package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
  291. package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
  292. package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
  293. package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
  294. package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
  295. package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
  296. package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
  297. package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
  298. package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
  299. package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
  300. package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
  301. package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
  302. package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
  303. package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
  304. package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
  305. package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
  306. package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
  307. package/dist/chunk-BfBzpgct.d.ts +0 -916
  308. package/dist/core-server/presets/common-manager.css +0 -170
  309. package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
  310. package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
  311. package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
  312. package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
  313. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  314. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -1,5 +1,5 @@
1
- import { i as __require, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
- import { d as require_toggle_selection } from "./globals-runtime-ALpzCL93.js";
1
+ import { n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
+ import { l as require_toggle_selection } from "./globals-runtime-DB8fVA5g.js";
3
3
  import { a as l$1, n as g$1, r as init_signals_core_module, s as y$1 } from "./globals-runtime-BMCaBukU.js";
4
4
  //#region ../../node_modules/clsx/dist/clsx.mjs
5
5
  function r(e) {
@@ -19,197 +19,6 @@ function init_clsx() {
19
19
  return (init_clsx = __esmMin((() => {})))();
20
20
  }
21
21
  //#endregion
22
- //#region ../../node_modules/memoizerific/memoizerific.js
23
- var require_memoizerific = /* @__PURE__ */ __commonJSMin(((exports, module) => {
24
- (function(f) {
25
- if (typeof exports === "object" && typeof module !== "undefined") module.exports = f();
26
- else if (typeof define === "function" && define.amd) define([], f);
27
- else {
28
- var g;
29
- if (typeof window !== "undefined") g = window;
30
- else if (typeof global !== "undefined") g = global;
31
- else if (typeof self !== "undefined") g = self;
32
- else g = this;
33
- g.memoizerific = f();
34
- }
35
- })(function() {
36
- return (function e(t, n, r) {
37
- function s(o, u) {
38
- if (!n[o]) {
39
- if (!t[o]) {
40
- var a = typeof __require == "function" && __require;
41
- if (!u && a) return a(o, !0);
42
- if (i) return i(o, !0);
43
- var f = /* @__PURE__ */ new Error("Cannot find module '" + o + "'");
44
- throw f.code = "MODULE_NOT_FOUND", f;
45
- }
46
- var l = n[o] = { exports: {} };
47
- t[o][0].call(l.exports, function(e) {
48
- var n = t[o][1][e];
49
- return s(n ? n : e);
50
- }, l, l.exports, e, t, n, r);
51
- }
52
- return n[o].exports;
53
- }
54
- var i = typeof __require == "function" && __require;
55
- for (var o = 0; o < r.length; o++) s(r[o]);
56
- return s;
57
- })({
58
- 1: [function(_dereq_, module, exports) {
59
- module.exports = function(forceSimilar) {
60
- if (typeof Map !== "function" || forceSimilar) return new (_dereq_("./similar"))();
61
- else return /* @__PURE__ */ new Map();
62
- };
63
- }, { "./similar": 2 }],
64
- 2: [function(_dereq_, module, exports) {
65
- function Similar() {
66
- this.list = [];
67
- this.lastItem = void 0;
68
- this.size = 0;
69
- return this;
70
- }
71
- Similar.prototype.get = function(key) {
72
- var index;
73
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) return this.lastItem.val;
74
- index = this.indexOf(key);
75
- if (index >= 0) {
76
- this.lastItem = this.list[index];
77
- return this.list[index].val;
78
- }
79
- };
80
- Similar.prototype.set = function(key, val) {
81
- var index;
82
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) {
83
- this.lastItem.val = val;
84
- return this;
85
- }
86
- index = this.indexOf(key);
87
- if (index >= 0) {
88
- this.lastItem = this.list[index];
89
- this.list[index].val = val;
90
- return this;
91
- }
92
- this.lastItem = {
93
- key,
94
- val
95
- };
96
- this.list.push(this.lastItem);
97
- this.size++;
98
- return this;
99
- };
100
- Similar.prototype.delete = function(key) {
101
- var index;
102
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) this.lastItem = void 0;
103
- index = this.indexOf(key);
104
- if (index >= 0) {
105
- this.size--;
106
- return this.list.splice(index, 1)[0];
107
- }
108
- };
109
- Similar.prototype.has = function(key) {
110
- var index;
111
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) return true;
112
- index = this.indexOf(key);
113
- if (index >= 0) {
114
- this.lastItem = this.list[index];
115
- return true;
116
- }
117
- return false;
118
- };
119
- Similar.prototype.forEach = function(callback, thisArg) {
120
- var i = 0;
121
- for (; i < this.size; i++) callback.call(thisArg || this, this.list[i].val, this.list[i].key, this);
122
- };
123
- Similar.prototype.indexOf = function(key) {
124
- var i = 0;
125
- for (; i < this.size; i++) if (this.isEqual(this.list[i].key, key)) return i;
126
- return -1;
127
- };
128
- Similar.prototype.isEqual = function(val1, val2) {
129
- return val1 === val2 || val1 !== val1 && val2 !== val2;
130
- };
131
- module.exports = Similar;
132
- }, {}],
133
- 3: [function(_dereq_, module, exports) {
134
- var MapOrSimilar = _dereq_("map-or-similar");
135
- module.exports = function(limit) {
136
- var cache = new MapOrSimilar(false), lru = [];
137
- return function(fn) {
138
- var memoizerific = function() {
139
- var currentCache = cache, newMap, fnResult, argsLengthMinusOne = arguments.length - 1, lruPath = Array(argsLengthMinusOne + 1), isMemoized = true, i;
140
- if ((memoizerific.numArgs || memoizerific.numArgs === 0) && memoizerific.numArgs !== argsLengthMinusOne + 1) throw new Error("Memoizerific functions should always be called with the same number of arguments");
141
- for (i = 0; i < argsLengthMinusOne; i++) {
142
- lruPath[i] = {
143
- cacheItem: currentCache,
144
- arg: arguments[i]
145
- };
146
- if (currentCache.has(arguments[i])) {
147
- currentCache = currentCache.get(arguments[i]);
148
- continue;
149
- }
150
- isMemoized = false;
151
- newMap = new MapOrSimilar(false);
152
- currentCache.set(arguments[i], newMap);
153
- currentCache = newMap;
154
- }
155
- if (isMemoized) {
156
- if (currentCache.has(arguments[argsLengthMinusOne])) fnResult = currentCache.get(arguments[argsLengthMinusOne]);
157
- else isMemoized = false;
158
- }
159
- if (!isMemoized) {
160
- fnResult = fn.apply(null, arguments);
161
- currentCache.set(arguments[argsLengthMinusOne], fnResult);
162
- }
163
- if (limit > 0) {
164
- lruPath[argsLengthMinusOne] = {
165
- cacheItem: currentCache,
166
- arg: arguments[argsLengthMinusOne]
167
- };
168
- if (isMemoized) moveToMostRecentLru(lru, lruPath);
169
- else lru.push(lruPath);
170
- if (lru.length > limit) removeCachedResult(lru.shift());
171
- }
172
- memoizerific.wasMemoized = isMemoized;
173
- memoizerific.numArgs = argsLengthMinusOne + 1;
174
- return fnResult;
175
- };
176
- memoizerific.limit = limit;
177
- memoizerific.wasMemoized = false;
178
- memoizerific.cache = cache;
179
- memoizerific.lru = lru;
180
- return memoizerific;
181
- };
182
- };
183
- function moveToMostRecentLru(lru, lruPath) {
184
- var lruLen = lru.length, lruPathLen = lruPath.length, isMatch, i = 0, ii;
185
- for (; i < lruLen; i++) {
186
- isMatch = true;
187
- for (ii = 0; ii < lruPathLen; ii++) if (!isEqual(lru[i][ii].arg, lruPath[ii].arg)) {
188
- isMatch = false;
189
- break;
190
- }
191
- if (isMatch) break;
192
- }
193
- lru.push(lru.splice(i, 1)[0]);
194
- }
195
- function removeCachedResult(removedLru) {
196
- var removedLruLen = removedLru.length, currentLru = removedLru[removedLruLen - 1], tmp, i;
197
- currentLru.cacheItem.delete(currentLru.arg);
198
- for (i = removedLruLen - 2; i >= 0; i--) {
199
- currentLru = removedLru[i];
200
- tmp = currentLru.cacheItem.get(currentLru.arg);
201
- if (!tmp || !tmp.size) currentLru.cacheItem.delete(currentLru.arg);
202
- else break;
203
- }
204
- }
205
- function isEqual(val1, val2) {
206
- return val1 === val2 || val1 !== val1 && val2 !== val2;
207
- }
208
- }, { "map-or-similar": 1 }]
209
- }, {}, [3])(3);
210
- });
211
- }));
212
- //#endregion
213
22
  //#region ../../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
214
23
  /**
215
24
  * Checks whether a value is a JavaScript primitive.
@@ -1104,728 +913,108 @@ function toMerged(target, source) {
1104
913
  });
1105
914
  }
1106
915
  function init_toMerged() {
1107
- return (init_toMerged = __esmMin((() => {
1108
- init_clone();
1109
- init_cloneDeep();
1110
- init_isMergeableValue();
1111
- init_mergeWith();
1112
- })))();
1113
- }
1114
- //#endregion
1115
- //#region ../../node_modules/dequal/dist/index.mjs
1116
- function find(iter, tar, key) {
1117
- for (key of iter.keys()) if (dequal(key, tar)) return key;
1118
- }
1119
- function dequal(foo, bar) {
1120
- var ctor, len, tmp;
1121
- if (foo === bar) return true;
1122
- if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
1123
- if (ctor === Date) return foo.getTime() === bar.getTime();
1124
- if (ctor === RegExp) return foo.toString() === bar.toString();
1125
- if (ctor === Array) {
1126
- if ((len = foo.length) === bar.length) while (len-- && dequal(foo[len], bar[len]));
1127
- return len === -1;
1128
- }
1129
- if (ctor === Set) {
1130
- if (foo.size !== bar.size) return false;
1131
- for (len of foo) {
1132
- tmp = len;
1133
- if (tmp && typeof tmp === "object") {
1134
- tmp = find(bar, tmp);
1135
- if (!tmp) return false;
1136
- }
1137
- if (!bar.has(tmp)) return false;
1138
- }
1139
- return true;
1140
- }
1141
- if (ctor === Map) {
1142
- if (foo.size !== bar.size) return false;
1143
- for (len of foo) {
1144
- tmp = len[0];
1145
- if (tmp && typeof tmp === "object") {
1146
- tmp = find(bar, tmp);
1147
- if (!tmp) return false;
1148
- }
1149
- if (!dequal(len[1], bar.get(tmp))) return false;
1150
- }
1151
- return true;
1152
- }
1153
- if (ctor === ArrayBuffer) {
1154
- foo = new Uint8Array(foo);
1155
- bar = new Uint8Array(bar);
1156
- } else if (ctor === DataView) {
1157
- if ((len = foo.byteLength) === bar.byteLength) while (len-- && foo.getInt8(len) === bar.getInt8(len));
1158
- return len === -1;
1159
- }
1160
- if (ArrayBuffer.isView(foo)) {
1161
- if ((len = foo.byteLength) === bar.byteLength) while (len-- && foo[len] === bar[len]);
1162
- return len === -1;
1163
- }
1164
- if (!ctor || typeof foo === "object") {
1165
- len = 0;
1166
- for (ctor in foo) {
1167
- if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
1168
- if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
1169
- }
1170
- return Object.keys(bar).length === len;
1171
- }
1172
- }
1173
- return foo !== foo && bar !== bar;
1174
- }
1175
- var has;
1176
- function init_dist() {
1177
- return (init_dist = __esmMin((() => {
1178
- has = Object.prototype.hasOwnProperty;
1179
- })))();
1180
- }
1181
- //#endregion
1182
- //#region ../../node_modules/deepsignal/core/dist/deepsignal-core.module.js
1183
- var n, a, o, s, u, f, c, i, l, g, p, v, y, w, d, b, m, R;
1184
- function init_deepsignal_core_module() {
1185
- return (init_deepsignal_core_module = __esmMin((() => {
1186
- init_signals_core_module();
1187
- n = /* @__PURE__ */ new WeakMap();
1188
- a = /* @__PURE__ */ new WeakMap();
1189
- o = /* @__PURE__ */ new WeakMap();
1190
- s = /* @__PURE__ */ new WeakSet();
1191
- u = /* @__PURE__ */ new WeakMap();
1192
- f = /^\$/;
1193
- c = Object.getOwnPropertyDescriptor;
1194
- i = !1;
1195
- l = function(e) {
1196
- if (!R(e)) throw new Error("This object can't be observed.");
1197
- return a.has(e) || a.set(e, p(e, w)), a.get(e);
1198
- };
1199
- g = function(e, t) {
1200
- i = !0;
1201
- var r = e[t];
1202
- try {
1203
- i = !1;
1204
- } catch (e) {}
1205
- return r;
1206
- };
1207
- p = function(e, t) {
1208
- var r = new Proxy(e, t);
1209
- return s.add(r), r;
1210
- };
1211
- v = function() {
1212
- throw new Error("Don't mutate the signals directly.");
1213
- };
1214
- y = function(e) {
1215
- return function(s, u, l) {
1216
- var g;
1217
- if (i) return Reflect.get(s, u, l);
1218
- var h = e || "$" === u[0];
1219
- if (!e && h && Array.isArray(s)) {
1220
- if ("$" === u) return o.has(s) || o.set(s, p(s, d)), o.get(s);
1221
- h = "$length" === u;
1222
- }
1223
- n.has(l) || n.set(l, /* @__PURE__ */ new Map());
1224
- var v = n.get(l), y = h ? u.replace(f, "") : u;
1225
- if (v.has(y) || "function" != typeof (null == (g = c(s, y)) ? void 0 : g.get)) {
1226
- var m = Reflect.get(s, y, l);
1227
- if (h && "function" == typeof m) return;
1228
- if ("symbol" == typeof y && b.has(y)) return m;
1229
- v.has(y) || (R(m) && (a.has(m) || a.set(m, p(m, w)), m = a.get(m)), v.set(y, y$1(m)));
1230
- } else v.set(y, g$1(function() {
1231
- return Reflect.get(s, y, l);
1232
- }));
1233
- return h ? v.get(y) : v.get(y).value;
1234
- };
1235
- };
1236
- w = {
1237
- get: y(!1),
1238
- set: function(r, o, s, i) {
1239
- var l;
1240
- if ("function" == typeof (null == (l = c(r, o)) ? void 0 : l.set)) return Reflect.set(r, o, s, i);
1241
- n.has(i) || n.set(i, /* @__PURE__ */ new Map());
1242
- var g = n.get(i);
1243
- if ("$" === o[0]) {
1244
- s instanceof l$1 || v();
1245
- var h = o.replace(f, "");
1246
- return g.set(h, s), Reflect.set(r, h, s.peek(), i);
1247
- }
1248
- var y = s;
1249
- R(s) && (a.has(s) || a.set(s, p(s, w)), y = a.get(s));
1250
- var d = !(o in r), b = Reflect.set(r, o, s, i);
1251
- return g.has(o) ? g.get(o).value = y : g.set(o, y$1(y)), d && u.has(r) && u.get(r).value++, Array.isArray(r) && g.has("length") && (g.get("length").value = r.length), b;
1252
- },
1253
- deleteProperty: function(e, t) {
1254
- "$" === t[0] && v();
1255
- var r = n.get(a.get(e)), o = Reflect.deleteProperty(e, t);
1256
- return r && r.has(t) && (r.get(t).value = void 0), u.has(e) && u.get(e).value++, o;
1257
- },
1258
- ownKeys: function(e) {
1259
- return u.has(e) || u.set(e, y$1(0)), u._ = u.get(e).value, Reflect.ownKeys(e);
1260
- }
1261
- };
1262
- d = {
1263
- get: y(!0),
1264
- set: v,
1265
- deleteProperty: v
1266
- };
1267
- b = new Set(Object.getOwnPropertyNames(Symbol).map(function(e) {
1268
- return Symbol[e];
1269
- }).filter(function(e) {
1270
- return "symbol" == typeof e;
1271
- }));
1272
- m = /* @__PURE__ */ new Set([Object, Array]);
1273
- R = function(e) {
1274
- return "object" == typeof e && null !== e && m.has(e.constructor) && !s.has(e);
1275
- };
1276
- })))();
1277
- }
1278
- //#endregion
1279
- //#region ../../node_modules/loupe/lib/helpers.js
1280
- function colorise$1(value, styleType) {
1281
- const color = ansiColors$1[styles$1[styleType]] || ansiColors$1[styleType] || "";
1282
- if (!color) return String(value);
1283
- return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
1284
- }
1285
- function normaliseOptions$1({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
1286
- const options = {
1287
- showHidden: Boolean(showHidden),
1288
- depth: Number(depth),
1289
- colors: Boolean(colors),
1290
- customInspect: Boolean(customInspect),
1291
- showProxy: Boolean(showProxy),
1292
- maxArrayLength: Number(maxArrayLength),
1293
- breakLength: Number(breakLength),
1294
- truncate: Number(truncate),
1295
- seen,
1296
- inspect,
1297
- stylize
1298
- };
1299
- if (options.colors) options.stylize = colorise$1;
1300
- return options;
1301
- }
1302
- function isHighSurrogate$1(char) {
1303
- return char >= "\ud800" && char <= "\udbff";
1304
- }
1305
- function truncate$1(string, length, tail = "…") {
1306
- string = String(string);
1307
- const tailLength = tail.length;
1308
- const stringLength = string.length;
1309
- if (tailLength > length && stringLength > tailLength) return tail;
1310
- if (stringLength > length && stringLength > tailLength) {
1311
- let end = length - tailLength;
1312
- if (end > 0 && isHighSurrogate$1(string[end - 1])) end = end - 1;
1313
- return `${string.slice(0, end)}${tail}`;
1314
- }
1315
- return string;
1316
- }
1317
- function inspectList$1(list, options, inspectItem, separator = ", ") {
1318
- inspectItem = inspectItem || options.inspect;
1319
- const size = list.length;
1320
- if (size === 0) return "";
1321
- const originalLength = options.truncate;
1322
- let output = "";
1323
- let peek = "";
1324
- let truncated = "";
1325
- for (let i = 0; i < size; i += 1) {
1326
- const last = i + 1 === list.length;
1327
- const secondToLast = i + 2 === list.length;
1328
- truncated = `…(${list.length - i})`;
1329
- const value = list[i];
1330
- options.truncate = originalLength - output.length - (last ? 0 : separator.length);
1331
- const string = peek || inspectItem(value, options) + (last ? "" : separator);
1332
- const nextLength = output.length + string.length;
1333
- const truncatedLength = nextLength + truncated.length;
1334
- if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
1335
- if (!last && !secondToLast && truncatedLength > originalLength) break;
1336
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
1337
- if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
1338
- output += string;
1339
- if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
1340
- truncated = `…(${list.length - i - 1})`;
1341
- break;
1342
- }
1343
- truncated = "";
1344
- }
1345
- return `${output}${truncated}`;
1346
- }
1347
- function quoteComplexKey$1(key) {
1348
- if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
1349
- return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
1350
- }
1351
- function inspectProperty$1([key, value], options) {
1352
- options.truncate -= 2;
1353
- if (typeof key === "string") key = quoteComplexKey$1(key);
1354
- else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
1355
- options.truncate -= key.length;
1356
- value = options.inspect(value, options);
1357
- return `${key}: ${value}`;
1358
- }
1359
- var ansiColors$1, styles$1;
1360
- function init_helpers() {
1361
- return (init_helpers = __esmMin((() => {
1362
- ansiColors$1 = {
1363
- bold: ["1", "22"],
1364
- dim: ["2", "22"],
1365
- italic: ["3", "23"],
1366
- underline: ["4", "24"],
1367
- inverse: ["7", "27"],
1368
- hidden: ["8", "28"],
1369
- strike: ["9", "29"],
1370
- black: ["30", "39"],
1371
- red: ["31", "39"],
1372
- green: ["32", "39"],
1373
- yellow: ["33", "39"],
1374
- blue: ["34", "39"],
1375
- magenta: ["35", "39"],
1376
- cyan: ["36", "39"],
1377
- white: ["37", "39"],
1378
- brightblack: ["30;1", "39"],
1379
- brightred: ["31;1", "39"],
1380
- brightgreen: ["32;1", "39"],
1381
- brightyellow: ["33;1", "39"],
1382
- brightblue: ["34;1", "39"],
1383
- brightmagenta: ["35;1", "39"],
1384
- brightcyan: ["36;1", "39"],
1385
- brightwhite: ["37;1", "39"],
1386
- grey: ["90", "39"]
1387
- };
1388
- styles$1 = {
1389
- special: "cyan",
1390
- number: "yellow",
1391
- bigint: "yellow",
1392
- boolean: "yellow",
1393
- undefined: "grey",
1394
- null: "bold",
1395
- string: "green",
1396
- symbol: "green",
1397
- date: "magenta",
1398
- regexp: "red"
1399
- };
1400
- })))();
1401
- }
1402
- //#endregion
1403
- //#region ../../node_modules/loupe/lib/array.js
1404
- function inspectArray$1(array, options) {
1405
- const nonIndexProperties = Object.keys(array).slice(array.length);
1406
- if (!array.length && !nonIndexProperties.length) return "[]";
1407
- options.truncate -= 4;
1408
- const listContents = inspectList$1(array, options);
1409
- options.truncate -= listContents.length;
1410
- let propertyContents = "";
1411
- if (nonIndexProperties.length) propertyContents = inspectList$1(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty$1);
1412
- return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
1413
- }
1414
- function init_array() {
1415
- return (init_array = __esmMin((() => {
1416
- init_helpers();
1417
- })))();
1418
- }
1419
- //#endregion
1420
- //#region ../../node_modules/loupe/lib/typedarray.js
1421
- function inspectTypedArray$1(array, options) {
1422
- const name = getArrayName$1(array);
1423
- options.truncate -= name.length + 4;
1424
- const nonIndexProperties = Object.keys(array).slice(array.length);
1425
- if (!array.length && !nonIndexProperties.length) return `${name}[]`;
1426
- let output = "";
1427
- for (let i = 0; i < array.length; i++) {
1428
- const string = `${options.stylize(truncate$1(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
1429
- options.truncate -= string.length;
1430
- if (array[i] !== array.length && options.truncate <= 3) {
1431
- output += `…(${array.length - array[i] + 1})`;
1432
- break;
1433
- }
1434
- output += string;
1435
- }
1436
- let propertyContents = "";
1437
- if (nonIndexProperties.length) propertyContents = inspectList$1(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty$1);
1438
- return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
1439
- }
1440
- var getArrayName$1;
1441
- function init_typedarray() {
1442
- return (init_typedarray = __esmMin((() => {
1443
- init_helpers();
1444
- getArrayName$1 = (array) => {
1445
- if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
1446
- if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
1447
- return array.constructor.name;
1448
- };
1449
- })))();
1450
- }
1451
- //#endregion
1452
- //#region ../../node_modules/loupe/lib/date.js
1453
- function inspectDate$1(dateObject, options) {
1454
- const stringRepresentation = dateObject.toJSON();
1455
- if (stringRepresentation === null) return "Invalid Date";
1456
- const split = stringRepresentation.split("T");
1457
- const date = split[0];
1458
- return options.stylize(`${date}T${truncate$1(split[1], options.truncate - date.length - 1)}`, "date");
1459
- }
1460
- function init_date() {
1461
- return (init_date = __esmMin((() => {
1462
- init_helpers();
1463
- })))();
1464
- }
1465
- //#endregion
1466
- //#region ../../node_modules/loupe/lib/function.js
1467
- function inspectFunction$1(func, options) {
1468
- const functionType = func[Symbol.toStringTag] || "Function";
1469
- const name = func.name;
1470
- if (!name) return options.stylize(`[${functionType}]`, "special");
1471
- return options.stylize(`[${functionType} ${truncate$1(name, options.truncate - 11)}]`, "special");
1472
- }
1473
- function init_function() {
1474
- return (init_function = __esmMin((() => {
1475
- init_helpers();
1476
- })))();
1477
- }
1478
- //#endregion
1479
- //#region ../../node_modules/loupe/lib/map.js
1480
- function inspectMapEntry$1([key, value], options) {
1481
- options.truncate -= 4;
1482
- key = options.inspect(key, options);
1483
- options.truncate -= key.length;
1484
- value = options.inspect(value, options);
1485
- return `${key} => ${value}`;
1486
- }
1487
- function mapToEntries$1(map) {
1488
- const entries = [];
1489
- map.forEach((value, key) => {
1490
- entries.push([key, value]);
1491
- });
1492
- return entries;
1493
- }
1494
- function inspectMap$1(map, options) {
1495
- if (map.size === 0) return "Map{}";
1496
- options.truncate -= 7;
1497
- return `Map{ ${inspectList$1(mapToEntries$1(map), options, inspectMapEntry$1)} }`;
1498
- }
1499
- function init_map() {
1500
- return (init_map = __esmMin((() => {
1501
- init_helpers();
1502
- })))();
1503
- }
1504
- //#endregion
1505
- //#region ../../node_modules/loupe/lib/number.js
1506
- function inspectNumber$1(number, options) {
1507
- if (isNaN$2(number)) return options.stylize("NaN", "number");
1508
- if (number === Infinity) return options.stylize("Infinity", "number");
1509
- if (number === -Infinity) return options.stylize("-Infinity", "number");
1510
- if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
1511
- return options.stylize(truncate$1(String(number), options.truncate), "number");
1512
- }
1513
- var isNaN$2;
1514
- function init_number() {
1515
- return (init_number = __esmMin((() => {
1516
- init_helpers();
1517
- isNaN$2 = Number.isNaN || ((i) => i !== i);
1518
- })))();
1519
- }
1520
- //#endregion
1521
- //#region ../../node_modules/loupe/lib/bigint.js
1522
- function inspectBigInt$1(number, options) {
1523
- let nums = truncate$1(number.toString(), options.truncate - 1);
1524
- if (nums !== "…") nums += "n";
1525
- return options.stylize(nums, "bigint");
1526
- }
1527
- function init_bigint() {
1528
- return (init_bigint = __esmMin((() => {
1529
- init_helpers();
1530
- })))();
1531
- }
1532
- //#endregion
1533
- //#region ../../node_modules/loupe/lib/regexp.js
1534
- function inspectRegExp$1(value, options) {
1535
- const flags = value.toString().split("/")[2];
1536
- const sourceLength = options.truncate - (2 + flags.length);
1537
- const source = value.source;
1538
- return options.stylize(`/${truncate$1(source, sourceLength)}/${flags}`, "regexp");
1539
- }
1540
- function init_regexp() {
1541
- return (init_regexp = __esmMin((() => {
1542
- init_helpers();
1543
- })))();
1544
- }
1545
- //#endregion
1546
- //#region ../../node_modules/loupe/lib/set.js
1547
- function arrayFromSet$1(set) {
1548
- const values = [];
1549
- set.forEach((value) => {
1550
- values.push(value);
1551
- });
1552
- return values;
1553
- }
1554
- function inspectSet$1(set, options) {
1555
- if (set.size === 0) return "Set{}";
1556
- options.truncate -= 7;
1557
- return `Set{ ${inspectList$1(arrayFromSet$1(set), options)} }`;
1558
- }
1559
- function init_set() {
1560
- return (init_set = __esmMin((() => {
1561
- init_helpers();
1562
- })))();
1563
- }
1564
- //#endregion
1565
- //#region ../../node_modules/loupe/lib/string.js
1566
- function escape$1(char) {
1567
- return escapeCharacters$1[char] || `\\u${`0000${char.charCodeAt(0).toString(hex$1)}`.slice(-4)}`;
1568
- }
1569
- function inspectString$1(string, options) {
1570
- if (stringEscapeChars$1.test(string)) string = string.replace(stringEscapeChars$1, escape$1);
1571
- return options.stylize(`'${truncate$1(string, options.truncate - 2)}'`, "string");
1572
- }
1573
- var stringEscapeChars$1, escapeCharacters$1, hex$1;
1574
- function init_string() {
1575
- return (init_string = __esmMin((() => {
1576
- init_helpers();
1577
- stringEscapeChars$1 = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
1578
- escapeCharacters$1 = {
1579
- "\b": "\\b",
1580
- " ": "\\t",
1581
- "\n": "\\n",
1582
- "\f": "\\f",
1583
- "\r": "\\r",
1584
- "'": "\\'",
1585
- "\\": "\\\\"
1586
- };
1587
- hex$1 = 16;
1588
- })))();
1589
- }
1590
- //#endregion
1591
- //#region ../../node_modules/loupe/lib/symbol.js
1592
- function inspectSymbol$1(value) {
1593
- if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
1594
- return value.toString();
1595
- }
1596
- //#endregion
1597
- //#region ../../node_modules/loupe/lib/promise.js
1598
- var getPromiseValue;
1599
- function init_promise() {
1600
- return (init_promise = __esmMin((() => {
1601
- getPromiseValue = () => "Promise{…}";
1602
- })))();
1603
- }
1604
- //#endregion
1605
- //#region ../../node_modules/loupe/lib/object.js
1606
- function inspectObject$2(object, options) {
1607
- const properties = Object.getOwnPropertyNames(object);
1608
- const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
1609
- if (properties.length === 0 && symbols.length === 0) return "{}";
1610
- options.truncate -= 4;
1611
- options.seen = options.seen || [];
1612
- if (options.seen.includes(object)) return "[Circular]";
1613
- options.seen.push(object);
1614
- const propertyContents = inspectList$1(properties.map((key) => [key, object[key]]), options, inspectProperty$1);
1615
- const symbolContents = inspectList$1(symbols.map((key) => [key, object[key]]), options, inspectProperty$1);
1616
- options.seen.pop();
1617
- let sep = "";
1618
- if (propertyContents && symbolContents) sep = ", ";
1619
- return `{ ${propertyContents}${sep}${symbolContents} }`;
1620
- }
1621
- function init_object() {
1622
- return (init_object = __esmMin((() => {
1623
- init_helpers();
1624
- })))();
1625
- }
1626
- //#endregion
1627
- //#region ../../node_modules/loupe/lib/class.js
1628
- function inspectClass$1(value, options) {
1629
- let name = "";
1630
- if (toStringTag$1 && toStringTag$1 in value) name = value[toStringTag$1];
1631
- name = name || value.constructor.name;
1632
- if (!name || name === "_class") name = "<Anonymous Class>";
1633
- options.truncate -= name.length;
1634
- return `${name}${inspectObject$2(value, options)}`;
1635
- }
1636
- var toStringTag$1;
1637
- function init_class() {
1638
- return (init_class = __esmMin((() => {
1639
- init_object();
1640
- toStringTag$1 = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
1641
- })))();
1642
- }
1643
- //#endregion
1644
- //#region ../../node_modules/loupe/lib/arguments.js
1645
- function inspectArguments$1(args, options) {
1646
- if (args.length === 0) return "Arguments[]";
1647
- options.truncate -= 13;
1648
- return `Arguments[ ${inspectList$1(args, options)} ]`;
1649
- }
1650
- function init_arguments() {
1651
- return (init_arguments = __esmMin((() => {
1652
- init_helpers();
1653
- })))();
1654
- }
1655
- //#endregion
1656
- //#region ../../node_modules/loupe/lib/error.js
1657
- function inspectObject$1(error, options) {
1658
- const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys$1.indexOf(key) === -1);
1659
- const name = error.name;
1660
- options.truncate -= name.length;
1661
- let message = "";
1662
- if (typeof error.message === "string") message = truncate$1(error.message, options.truncate);
1663
- else properties.unshift("message");
1664
- message = message ? `: ${message}` : "";
1665
- options.truncate -= message.length + 5;
1666
- options.seen = options.seen || [];
1667
- if (options.seen.includes(error)) return "[Circular]";
1668
- options.seen.push(error);
1669
- const propertyContents = inspectList$1(properties.map((key) => [key, error[key]]), options, inspectProperty$1);
1670
- return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
1671
- }
1672
- var errorKeys$1;
1673
- function init_error() {
1674
- return (init_error = __esmMin((() => {
1675
- init_helpers();
1676
- errorKeys$1 = [
1677
- "stack",
1678
- "line",
1679
- "column",
1680
- "name",
1681
- "message",
1682
- "fileName",
1683
- "lineNumber",
1684
- "columnNumber",
1685
- "number",
1686
- "description",
1687
- "cause"
1688
- ];
1689
- })))();
1690
- }
1691
- //#endregion
1692
- //#region ../../node_modules/loupe/lib/html.js
1693
- function inspectAttribute$1([key, value], options) {
1694
- options.truncate -= 3;
1695
- if (!value) return `${options.stylize(String(key), "yellow")}`;
1696
- return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
1697
- }
1698
- function inspectNodeCollection$1(collection, options) {
1699
- return inspectList$1(collection, options, inspectNode$1, "\n");
1700
- }
1701
- function inspectNode$1(node, options) {
1702
- switch (node.nodeType) {
1703
- case 1: return inspectHTML$1(node, options);
1704
- case 3: return options.inspect(node.data, options);
1705
- default: return options.inspect(node, options);
1706
- }
1707
- }
1708
- function inspectHTML$1(element, options) {
1709
- const properties = element.getAttributeNames();
1710
- const name = element.tagName.toLowerCase();
1711
- const head = options.stylize(`<${name}`, "special");
1712
- const headClose = options.stylize(`>`, "special");
1713
- const tail = options.stylize(`</${name}>`, "special");
1714
- options.truncate -= name.length * 2 + 5;
1715
- let propertyContents = "";
1716
- if (properties.length > 0) {
1717
- propertyContents += " ";
1718
- propertyContents += inspectList$1(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute$1, " ");
1719
- }
1720
- options.truncate -= propertyContents.length;
1721
- const truncate = options.truncate;
1722
- let children = inspectNodeCollection$1(element.children, options);
1723
- if (children && children.length > truncate) children = `…(${element.children.length})`;
1724
- return `${head}${propertyContents}${headClose}${children}${tail}`;
1725
- }
1726
- function init_html() {
1727
- return (init_html = __esmMin((() => {
1728
- init_helpers();
916
+ return (init_toMerged = __esmMin((() => {
917
+ init_clone();
918
+ init_cloneDeep();
919
+ init_isMergeableValue();
920
+ init_mergeWith();
1729
921
  })))();
1730
922
  }
1731
923
  //#endregion
1732
- //#region ../../node_modules/loupe/lib/index.js
1733
- function inspect$1(value, opts = {}) {
1734
- const options = normaliseOptions$1(opts, inspect$1);
1735
- const { customInspect } = options;
1736
- let type = value === null ? "null" : typeof value;
1737
- if (type === "object") type = toString$1.call(value).slice(8, -1);
1738
- if (type in baseTypesMap$1) return baseTypesMap$1[type](value, options);
1739
- if (customInspect && value) {
1740
- const output = inspectCustom$1(value, options, type, inspect$1);
1741
- if (output) {
1742
- if (typeof output === "string") return output;
1743
- return inspect$1(output, options);
1744
- }
1745
- }
1746
- const proto = value ? Object.getPrototypeOf(value) : false;
1747
- if (proto === Object.prototype || proto === null) return inspectObject$2(value, options);
1748
- if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML$1(value, options);
1749
- if ("constructor" in value) {
1750
- if (value.constructor !== Object) return inspectClass$1(value, options);
1751
- return inspectObject$2(value, options);
1752
- }
1753
- if (value === Object(value)) return inspectObject$2(value, options);
1754
- return options.stylize(String(value), type);
1755
- }
1756
- var chaiInspect$1, nodeInspect$1, constructorMap$1, stringTagMap$1, baseTypesMap$1, inspectCustom$1, toString$1;
1757
- function init_lib() {
1758
- return (init_lib = __esmMin((() => {
1759
- init_array();
1760
- init_typedarray();
1761
- init_date();
1762
- init_function();
1763
- init_map();
1764
- init_number();
1765
- init_bigint();
1766
- init_regexp();
1767
- init_set();
1768
- init_string();
1769
- init_promise();
1770
- init_class();
1771
- init_object();
1772
- init_arguments();
1773
- init_error();
1774
- init_html();
1775
- init_helpers();
1776
- chaiInspect$1 = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
1777
- nodeInspect$1 = Symbol.for("nodejs.util.inspect.custom");
1778
- constructorMap$1 = /* @__PURE__ */ new WeakMap();
1779
- stringTagMap$1 = {};
1780
- baseTypesMap$1 = {
1781
- undefined: (value, options) => options.stylize("undefined", "undefined"),
1782
- null: (value, options) => options.stylize("null", "null"),
1783
- boolean: (value, options) => options.stylize(String(value), "boolean"),
1784
- Boolean: (value, options) => options.stylize(String(value), "boolean"),
1785
- number: inspectNumber$1,
1786
- Number: inspectNumber$1,
1787
- bigint: inspectBigInt$1,
1788
- BigInt: inspectBigInt$1,
1789
- string: inspectString$1,
1790
- String: inspectString$1,
1791
- function: inspectFunction$1,
1792
- Function: inspectFunction$1,
1793
- symbol: inspectSymbol$1,
1794
- Symbol: inspectSymbol$1,
1795
- Array: inspectArray$1,
1796
- Date: inspectDate$1,
1797
- Map: inspectMap$1,
1798
- Set: inspectSet$1,
1799
- RegExp: inspectRegExp$1,
1800
- Promise: getPromiseValue,
1801
- WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
1802
- WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
1803
- Arguments: inspectArguments$1,
1804
- Int8Array: inspectTypedArray$1,
1805
- Uint8Array: inspectTypedArray$1,
1806
- Uint8ClampedArray: inspectTypedArray$1,
1807
- Int16Array: inspectTypedArray$1,
1808
- Uint16Array: inspectTypedArray$1,
1809
- Int32Array: inspectTypedArray$1,
1810
- Uint32Array: inspectTypedArray$1,
1811
- Float32Array: inspectTypedArray$1,
1812
- Float64Array: inspectTypedArray$1,
1813
- Generator: () => "",
1814
- DataView: () => "",
1815
- ArrayBuffer: () => "",
1816
- Error: inspectObject$1,
1817
- HTMLCollection: inspectNodeCollection$1,
1818
- NodeList: inspectNodeCollection$1
1819
- };
1820
- inspectCustom$1 = (value, options, type, inspectFn) => {
1821
- if (chaiInspect$1 in value && typeof value[chaiInspect$1] === "function") return value[chaiInspect$1](options);
1822
- if (nodeInspect$1 in value && typeof value[nodeInspect$1] === "function") return value[nodeInspect$1](options.depth, options, inspectFn);
1823
- if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
1824
- if ("constructor" in value && constructorMap$1.has(value.constructor)) return constructorMap$1.get(value.constructor)(value, options);
1825
- if (stringTagMap$1[type]) return stringTagMap$1[type](value, options);
1826
- return "";
924
+ //#region ../../node_modules/deepsignal/core/dist/deepsignal-core.module.js
925
+ var n, a, o, s, u, f, c, i, l, g, p, v, y, w, d, b, m, R;
926
+ function init_deepsignal_core_module() {
927
+ return (init_deepsignal_core_module = __esmMin((() => {
928
+ init_signals_core_module();
929
+ n = /* @__PURE__ */ new WeakMap();
930
+ a = /* @__PURE__ */ new WeakMap();
931
+ o = /* @__PURE__ */ new WeakMap();
932
+ s = /* @__PURE__ */ new WeakSet();
933
+ u = /* @__PURE__ */ new WeakMap();
934
+ f = /^\$/;
935
+ c = Object.getOwnPropertyDescriptor;
936
+ i = !1;
937
+ l = function(e) {
938
+ if (!R(e)) throw new Error("This object can't be observed.");
939
+ return a.has(e) || a.set(e, p(e, w)), a.get(e);
940
+ };
941
+ g = function(e, t) {
942
+ i = !0;
943
+ var r = e[t];
944
+ try {
945
+ i = !1;
946
+ } catch (e) {}
947
+ return r;
948
+ };
949
+ p = function(e, t) {
950
+ var r = new Proxy(e, t);
951
+ return s.add(r), r;
952
+ };
953
+ v = function() {
954
+ throw new Error("Don't mutate the signals directly.");
955
+ };
956
+ y = function(e) {
957
+ return function(s, u, l) {
958
+ var g;
959
+ if (i) return Reflect.get(s, u, l);
960
+ var h = e || "$" === u[0];
961
+ if (!e && h && Array.isArray(s)) {
962
+ if ("$" === u) return o.has(s) || o.set(s, p(s, d)), o.get(s);
963
+ h = "$length" === u;
964
+ }
965
+ n.has(l) || n.set(l, /* @__PURE__ */ new Map());
966
+ var v = n.get(l), y = h ? u.replace(f, "") : u;
967
+ if (v.has(y) || "function" != typeof (null == (g = c(s, y)) ? void 0 : g.get)) {
968
+ var m = Reflect.get(s, y, l);
969
+ if (h && "function" == typeof m) return;
970
+ if ("symbol" == typeof y && b.has(y)) return m;
971
+ v.has(y) || (R(m) && (a.has(m) || a.set(m, p(m, w)), m = a.get(m)), v.set(y, y$1(m)));
972
+ } else v.set(y, g$1(function() {
973
+ return Reflect.get(s, y, l);
974
+ }));
975
+ return h ? v.get(y) : v.get(y).value;
976
+ };
977
+ };
978
+ w = {
979
+ get: y(!1),
980
+ set: function(r, o, s, i) {
981
+ var l;
982
+ if ("function" == typeof (null == (l = c(r, o)) ? void 0 : l.set)) return Reflect.set(r, o, s, i);
983
+ n.has(i) || n.set(i, /* @__PURE__ */ new Map());
984
+ var g = n.get(i);
985
+ if ("$" === o[0]) {
986
+ s instanceof l$1 || v();
987
+ var h = o.replace(f, "");
988
+ return g.set(h, s), Reflect.set(r, h, s.peek(), i);
989
+ }
990
+ var y = s;
991
+ R(s) && (a.has(s) || a.set(s, p(s, w)), y = a.get(s));
992
+ var d = !(o in r), b = Reflect.set(r, o, s, i);
993
+ return g.has(o) ? g.get(o).value = y : g.set(o, y$1(y)), d && u.has(r) && u.get(r).value++, Array.isArray(r) && g.has("length") && (g.get("length").value = r.length), b;
994
+ },
995
+ deleteProperty: function(e, t) {
996
+ "$" === t[0] && v();
997
+ var r = n.get(a.get(e)), o = Reflect.deleteProperty(e, t);
998
+ return r && r.has(t) && (r.get(t).value = void 0), u.has(e) && u.get(e).value++, o;
999
+ },
1000
+ ownKeys: function(e) {
1001
+ return u.has(e) || u.set(e, y$1(0)), u._ = u.get(e).value, Reflect.ownKeys(e);
1002
+ }
1003
+ };
1004
+ d = {
1005
+ get: y(!0),
1006
+ set: v,
1007
+ deleteProperty: v
1008
+ };
1009
+ b = new Set(Object.getOwnPropertyNames(Symbol).map(function(e) {
1010
+ return Symbol[e];
1011
+ }).filter(function(e) {
1012
+ return "symbol" == typeof e;
1013
+ }));
1014
+ m = /* @__PURE__ */ new Set([Object, Array]);
1015
+ R = function(e) {
1016
+ return "object" == typeof e && null !== e && m.has(e.constructor) && !s.has(e);
1827
1017
  };
1828
- toString$1 = Object.prototype.toString;
1829
1018
  })))();
1830
1019
  }
1831
1020
  //#endregion
@@ -5027,32 +4216,6 @@ references to blow the stack.
5027
4216
  *)
5028
4217
  */
5029
4218
  //#endregion
5030
- //#region ../../node_modules/min-indent/index.js
5031
- var require_min_indent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5032
- module.exports = (string) => {
5033
- const match = string.match(/^[ \t]*(?=\S)/gm);
5034
- if (!match) return 0;
5035
- return match.reduce((r, a) => Math.min(r, a.length), Infinity);
5036
- };
5037
- }));
5038
- //#endregion
5039
- //#region ../../node_modules/indent-string/index.js
5040
- var require_indent_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5041
- module.exports = (string, count = 1, options) => {
5042
- options = {
5043
- indent: " ",
5044
- includeEmptyLines: false,
5045
- ...options
5046
- };
5047
- if (typeof string !== "string") throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string}\``);
5048
- if (typeof count !== "number") throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);
5049
- if (typeof options.indent !== "string") throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);
5050
- if (count === 0) return string;
5051
- const regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
5052
- return string.replace(regex, options.indent.repeat(count));
5053
- };
5054
- }));
5055
- //#endregion
5056
4219
  //#region ../../node_modules/aria-query/lib/util/iteratorProxy.js
5057
4220
  var require_iteratorProxy = /* @__PURE__ */ __commonJSMin(((exports) => {
5058
4221
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5085,16 +4248,16 @@ var require_iterationDecorator = /* @__PURE__ */ __commonJSMin(((exports) => {
5085
4248
  Object.defineProperty(exports, "__esModule", { value: true });
5086
4249
  exports.default = iterationDecorator;
5087
4250
  var _iteratorProxy = _interopRequireDefault(require_iteratorProxy());
5088
- function _interopRequireDefault(e) {
5089
- return e && e.__esModule ? e : { default: e };
4251
+ function _interopRequireDefault(obj) {
4252
+ return obj && obj.__esModule ? obj : { default: obj };
5090
4253
  }
5091
- function _typeof(o) {
4254
+ function _typeof(obj) {
5092
4255
  "@babel/helpers - typeof";
5093
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
5094
- return typeof o;
5095
- } : function(o) {
5096
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
5097
- }, _typeof(o);
4256
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) {
4257
+ return typeof obj;
4258
+ } : function(obj) {
4259
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
4260
+ }, _typeof(obj);
5098
4261
  }
5099
4262
  function iterationDecorator(collection, entries) {
5100
4263
  if (typeof Symbol === "function" && _typeof(Symbol.iterator) === "symbol") Object.defineProperty(collection, Symbol.iterator, { value: _iteratorProxy.default.bind(entries) });
@@ -5107,50 +4270,101 @@ var require_ariaPropsMap = /* @__PURE__ */ __commonJSMin(((exports) => {
5107
4270
  Object.defineProperty(exports, "__esModule", { value: true });
5108
4271
  exports.default = void 0;
5109
4272
  var _iterationDecorator = _interopRequireDefault(require_iterationDecorator());
5110
- function _interopRequireDefault(e) {
5111
- return e && e.__esModule ? e : { default: e };
4273
+ function _interopRequireDefault(obj) {
4274
+ return obj && obj.__esModule ? obj : { default: obj };
5112
4275
  }
5113
- function _slicedToArray(r, e) {
5114
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
4276
+ function _slicedToArray(arr, i) {
4277
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
5115
4278
  }
5116
4279
  function _nonIterableRest() {
5117
4280
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5118
4281
  }
5119
- function _unsupportedIterableToArray(r, a) {
5120
- if (r) {
5121
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
5122
- var t = {}.toString.call(r).slice(8, -1);
5123
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
5124
- }
5125
- }
5126
- function _arrayLikeToArray(r, a) {
5127
- (null == a || a > r.length) && (a = r.length);
5128
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
5129
- return n;
5130
- }
5131
- function _iterableToArrayLimit(r, l) {
5132
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
5133
- if (null != t) {
5134
- var e, n, i, u, a = [], f = !0, o = !1;
4282
+ function _iterableToArrayLimit(arr, i) {
4283
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
4284
+ if (_i == null) return;
4285
+ var _arr = [];
4286
+ var _n = true;
4287
+ var _d = false;
4288
+ var _s, _e;
4289
+ try {
4290
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
4291
+ _arr.push(_s.value);
4292
+ if (i && _arr.length === i) break;
4293
+ }
4294
+ } catch (err) {
4295
+ _d = true;
4296
+ _e = err;
4297
+ } finally {
5135
4298
  try {
5136
- if (i = (t = t.call(r)).next, 0 === l) {
5137
- if (Object(t) !== t) return;
5138
- f = !1;
5139
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
5140
- } catch (r) {
5141
- o = !0, n = r;
4299
+ if (!_n && _i["return"] != null) _i["return"]();
5142
4300
  } finally {
4301
+ if (_d) throw _e;
4302
+ }
4303
+ }
4304
+ return _arr;
4305
+ }
4306
+ function _arrayWithHoles(arr) {
4307
+ if (Array.isArray(arr)) return arr;
4308
+ }
4309
+ function _createForOfIteratorHelper(o, allowArrayLike) {
4310
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
4311
+ if (!it) {
4312
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
4313
+ if (it) o = it;
4314
+ var i = 0;
4315
+ var F = function F() {};
4316
+ return {
4317
+ s: F,
4318
+ n: function n() {
4319
+ if (i >= o.length) return { done: true };
4320
+ return {
4321
+ done: false,
4322
+ value: o[i++]
4323
+ };
4324
+ },
4325
+ e: function e(_e2) {
4326
+ throw _e2;
4327
+ },
4328
+ f: F
4329
+ };
4330
+ }
4331
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4332
+ }
4333
+ var normalCompletion = true, didErr = false, err;
4334
+ return {
4335
+ s: function s() {
4336
+ it = it.call(o);
4337
+ },
4338
+ n: function n() {
4339
+ var step = it.next();
4340
+ normalCompletion = step.done;
4341
+ return step;
4342
+ },
4343
+ e: function e(_e3) {
4344
+ didErr = true;
4345
+ err = _e3;
4346
+ },
4347
+ f: function f() {
5143
4348
  try {
5144
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
4349
+ if (!normalCompletion && it.return != null) it.return();
5145
4350
  } finally {
5146
- if (o) throw n;
4351
+ if (didErr) throw err;
5147
4352
  }
5148
4353
  }
5149
- return a;
5150
- }
4354
+ };
5151
4355
  }
5152
- function _arrayWithHoles(r) {
5153
- if (Array.isArray(r)) return r;
4356
+ function _unsupportedIterableToArray(o, minLen) {
4357
+ if (!o) return;
4358
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
4359
+ var n = Object.prototype.toString.call(o).slice(8, -1);
4360
+ if (n === "Object" && o.constructor) n = o.constructor.name;
4361
+ if (n === "Map" || n === "Set") return Array.from(o);
4362
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
4363
+ }
4364
+ function _arrayLikeToArray(arr, len) {
4365
+ if (len == null || len > arr.length) len = arr.length;
4366
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
4367
+ return arr2;
5154
4368
  }
5155
4369
  var properties = [
5156
4370
  ["aria-activedescendant", { "type": "id" }],
@@ -5301,15 +4515,22 @@ var require_ariaPropsMap = /* @__PURE__ */ __commonJSMin(((exports) => {
5301
4515
  },
5302
4516
  forEach: function forEach(fn) {
5303
4517
  var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
5304
- for (var _i = 0, _properties = properties; _i < _properties.length; _i++) {
5305
- var _properties$_i = _slicedToArray(_properties[_i], 2), key = _properties$_i[0], values = _properties$_i[1];
5306
- fn.call(thisArg, values, key, properties);
4518
+ var _iterator = _createForOfIteratorHelper(properties), _step;
4519
+ try {
4520
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
4521
+ var _step$value = _slicedToArray(_step.value, 2), key = _step$value[0], values = _step$value[1];
4522
+ fn.call(thisArg, values, key, properties);
4523
+ }
4524
+ } catch (err) {
4525
+ _iterator.e(err);
4526
+ } finally {
4527
+ _iterator.f();
5307
4528
  }
5308
4529
  },
5309
4530
  get: function get(key) {
5310
- var item = properties.filter(function(tuple) {
4531
+ var item = properties.find(function(tuple) {
5311
4532
  return tuple[0] === key ? true : false;
5312
- })[0];
4533
+ });
5313
4534
  return item && item[1];
5314
4535
  },
5315
4536
  has: function has(key) {
@@ -5334,50 +4555,101 @@ var require_domMap = /* @__PURE__ */ __commonJSMin(((exports) => {
5334
4555
  Object.defineProperty(exports, "__esModule", { value: true });
5335
4556
  exports.default = void 0;
5336
4557
  var _iterationDecorator = _interopRequireDefault(require_iterationDecorator());
5337
- function _interopRequireDefault(e) {
5338
- return e && e.__esModule ? e : { default: e };
4558
+ function _interopRequireDefault(obj) {
4559
+ return obj && obj.__esModule ? obj : { default: obj };
5339
4560
  }
5340
- function _slicedToArray(r, e) {
5341
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
4561
+ function _slicedToArray(arr, i) {
4562
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
5342
4563
  }
5343
4564
  function _nonIterableRest() {
5344
4565
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5345
4566
  }
5346
- function _unsupportedIterableToArray(r, a) {
5347
- if (r) {
5348
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
5349
- var t = {}.toString.call(r).slice(8, -1);
5350
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
5351
- }
5352
- }
5353
- function _arrayLikeToArray(r, a) {
5354
- (null == a || a > r.length) && (a = r.length);
5355
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
5356
- return n;
5357
- }
5358
- function _iterableToArrayLimit(r, l) {
5359
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
5360
- if (null != t) {
5361
- var e, n, i, u, a = [], f = !0, o = !1;
4567
+ function _iterableToArrayLimit(arr, i) {
4568
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
4569
+ if (_i == null) return;
4570
+ var _arr = [];
4571
+ var _n = true;
4572
+ var _d = false;
4573
+ var _s, _e;
4574
+ try {
4575
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
4576
+ _arr.push(_s.value);
4577
+ if (i && _arr.length === i) break;
4578
+ }
4579
+ } catch (err) {
4580
+ _d = true;
4581
+ _e = err;
4582
+ } finally {
5362
4583
  try {
5363
- if (i = (t = t.call(r)).next, 0 === l) {
5364
- if (Object(t) !== t) return;
5365
- f = !1;
5366
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
5367
- } catch (r) {
5368
- o = !0, n = r;
4584
+ if (!_n && _i["return"] != null) _i["return"]();
5369
4585
  } finally {
4586
+ if (_d) throw _e;
4587
+ }
4588
+ }
4589
+ return _arr;
4590
+ }
4591
+ function _arrayWithHoles(arr) {
4592
+ if (Array.isArray(arr)) return arr;
4593
+ }
4594
+ function _createForOfIteratorHelper(o, allowArrayLike) {
4595
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
4596
+ if (!it) {
4597
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
4598
+ if (it) o = it;
4599
+ var i = 0;
4600
+ var F = function F() {};
4601
+ return {
4602
+ s: F,
4603
+ n: function n() {
4604
+ if (i >= o.length) return { done: true };
4605
+ return {
4606
+ done: false,
4607
+ value: o[i++]
4608
+ };
4609
+ },
4610
+ e: function e(_e2) {
4611
+ throw _e2;
4612
+ },
4613
+ f: F
4614
+ };
4615
+ }
4616
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
4617
+ }
4618
+ var normalCompletion = true, didErr = false, err;
4619
+ return {
4620
+ s: function s() {
4621
+ it = it.call(o);
4622
+ },
4623
+ n: function n() {
4624
+ var step = it.next();
4625
+ normalCompletion = step.done;
4626
+ return step;
4627
+ },
4628
+ e: function e(_e3) {
4629
+ didErr = true;
4630
+ err = _e3;
4631
+ },
4632
+ f: function f() {
5370
4633
  try {
5371
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
4634
+ if (!normalCompletion && it.return != null) it.return();
5372
4635
  } finally {
5373
- if (o) throw n;
4636
+ if (didErr) throw err;
5374
4637
  }
5375
4638
  }
5376
- return a;
5377
- }
4639
+ };
4640
+ }
4641
+ function _unsupportedIterableToArray(o, minLen) {
4642
+ if (!o) return;
4643
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
4644
+ var n = Object.prototype.toString.call(o).slice(8, -1);
4645
+ if (n === "Object" && o.constructor) n = o.constructor.name;
4646
+ if (n === "Map" || n === "Set") return Array.from(o);
4647
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
5378
4648
  }
5379
- function _arrayWithHoles(r) {
5380
- if (Array.isArray(r)) return r;
4649
+ function _arrayLikeToArray(arr, len) {
4650
+ if (len == null || len > arr.length) len = arr.length;
4651
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
4652
+ return arr2;
5381
4653
  }
5382
4654
  var dom = [
5383
4655
  ["a", { reserved: false }],
@@ -5516,15 +4788,22 @@ var require_domMap = /* @__PURE__ */ __commonJSMin(((exports) => {
5516
4788
  },
5517
4789
  forEach: function forEach(fn) {
5518
4790
  var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
5519
- for (var _i = 0, _dom = dom; _i < _dom.length; _i++) {
5520
- var _dom$_i = _slicedToArray(_dom[_i], 2), key = _dom$_i[0], values = _dom$_i[1];
5521
- fn.call(thisArg, values, key, dom);
4791
+ var _iterator = _createForOfIteratorHelper(dom), _step;
4792
+ try {
4793
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
4794
+ var _step$value = _slicedToArray(_step.value, 2), key = _step$value[0], values = _step$value[1];
4795
+ fn.call(thisArg, values, key, dom);
4796
+ }
4797
+ } catch (err) {
4798
+ _iterator.e(err);
4799
+ } finally {
4800
+ _iterator.f();
5522
4801
  }
5523
4802
  },
5524
4803
  get: function get(key) {
5525
- var item = dom.filter(function(tuple) {
4804
+ var item = dom.find(function(tuple) {
5526
4805
  return tuple[0] === key ? true : false;
5527
- })[0];
4806
+ });
5528
4807
  return item && item[1];
5529
4808
  },
5530
4809
  has: function has(key) {
@@ -5872,8 +5151,8 @@ var require_ariaAbstractRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
5872
5151
  var _structureRole = _interopRequireDefault(require_structureRole());
5873
5152
  var _widgetRole = _interopRequireDefault(require_widgetRole());
5874
5153
  var _windowRole = _interopRequireDefault(require_windowRole());
5875
- function _interopRequireDefault(e) {
5876
- return e && e.__esModule ? e : { default: e };
5154
+ function _interopRequireDefault(obj) {
5155
+ return obj && obj.__esModule ? obj : { default: obj };
5877
5156
  }
5878
5157
  exports.default = [
5879
5158
  ["command", _commandRole.default],
@@ -6515,10 +5794,7 @@ var require_complementaryRole = /* @__PURE__ */ __commonJSMin(((exports) => {
6515
5794
  props: {},
6516
5795
  relatedConcepts: [
6517
5796
  {
6518
- concept: {
6519
- constraints: ["scoped to the body element", "scoped to the main element"],
6520
- name: "aside"
6521
- },
5797
+ concept: { name: "aside" },
6522
5798
  module: "HTML"
6523
5799
  },
6524
5800
  {
@@ -9279,8 +8555,8 @@ var require_ariaLiteralRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
9279
8555
  var _treeRole = _interopRequireDefault(require_treeRole());
9280
8556
  var _treegridRole = _interopRequireDefault(require_treegridRole());
9281
8557
  var _treeitemRole = _interopRequireDefault(require_treeitemRole());
9282
- function _interopRequireDefault(e) {
9283
- return e && e.__esModule ? e : { default: e };
8558
+ function _interopRequireDefault(obj) {
8559
+ return obj && obj.__esModule ? obj : { default: obj };
9284
8560
  }
9285
8561
  exports.default = [
9286
8562
  ["alert", _alertRole.default],
@@ -10337,86 +9613,19 @@ var require_docNoticeRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10337
9613
  accessibleNameRequired: false,
10338
9614
  baseConcepts: [],
10339
9615
  childrenPresentational: false,
10340
- nameFrom: ["author"],
10341
- prohibitedProps: [],
10342
- props: {
10343
- "aria-disabled": null,
10344
- "aria-errormessage": null,
10345
- "aria-expanded": null,
10346
- "aria-haspopup": null,
10347
- "aria-invalid": null
10348
- },
10349
- relatedConcepts: [{
10350
- concept: { name: "notice [EPUB-SSV]" },
10351
- module: "EPUB"
10352
- }],
10353
- requireContextRole: [],
10354
- requiredContextRole: [],
10355
- requiredOwnedElements: [],
10356
- requiredProps: {},
10357
- superClass: [[
10358
- "roletype",
10359
- "structure",
10360
- "section",
10361
- "note"
10362
- ]]
10363
- };
10364
- }));
10365
- //#endregion
10366
- //#region ../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
10367
- var require_docPagebreakRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10368
- Object.defineProperty(exports, "__esModule", { value: true });
10369
- exports.default = void 0;
10370
- exports.default = {
10371
- abstract: false,
10372
- accessibleNameRequired: true,
10373
- baseConcepts: [],
10374
- childrenPresentational: true,
10375
- nameFrom: ["author"],
10376
- prohibitedProps: [],
10377
- props: {
10378
- "aria-errormessage": null,
10379
- "aria-expanded": null,
10380
- "aria-haspopup": null,
10381
- "aria-invalid": null
10382
- },
10383
- relatedConcepts: [{
10384
- concept: { name: "pagebreak [EPUB-SSV]" },
10385
- module: "EPUB"
10386
- }],
10387
- requireContextRole: [],
10388
- requiredContextRole: [],
10389
- requiredOwnedElements: [],
10390
- requiredProps: {},
10391
- superClass: [[
10392
- "roletype",
10393
- "structure",
10394
- "separator"
10395
- ]]
10396
- };
10397
- }));
10398
- //#endregion
10399
- //#region ../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js
10400
- var require_docPagefooterRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10401
- Object.defineProperty(exports, "__esModule", { value: true });
10402
- exports.default = void 0;
10403
- exports.default = {
10404
- abstract: false,
10405
- accessibleNameRequired: false,
10406
- baseConcepts: [],
10407
- childrenPresentational: false,
10408
- nameFrom: ["prohibited"],
9616
+ nameFrom: ["author"],
10409
9617
  prohibitedProps: [],
10410
9618
  props: {
10411
- "aria-braillelabel": null,
10412
- "aria-brailleroledescription": null,
10413
- "aria-description": null,
10414
9619
  "aria-disabled": null,
10415
9620
  "aria-errormessage": null,
9621
+ "aria-expanded": null,
10416
9622
  "aria-haspopup": null,
10417
9623
  "aria-invalid": null
10418
9624
  },
10419
- relatedConcepts: [],
9625
+ relatedConcepts: [{
9626
+ concept: { name: "notice [EPUB-SSV]" },
9627
+ module: "EPUB"
9628
+ }],
10420
9629
  requireContextRole: [],
10421
9630
  requiredContextRole: [],
10422
9631
  requiredOwnedElements: [],
@@ -10424,32 +9633,33 @@ var require_docPagefooterRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10424
9633
  superClass: [[
10425
9634
  "roletype",
10426
9635
  "structure",
10427
- "section"
9636
+ "section",
9637
+ "note"
10428
9638
  ]]
10429
9639
  };
10430
9640
  }));
10431
9641
  //#endregion
10432
- //#region ../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js
10433
- var require_docPageheaderRole = /* @__PURE__ */ __commonJSMin(((exports) => {
9642
+ //#region ../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
9643
+ var require_docPagebreakRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10434
9644
  Object.defineProperty(exports, "__esModule", { value: true });
10435
9645
  exports.default = void 0;
10436
9646
  exports.default = {
10437
9647
  abstract: false,
10438
- accessibleNameRequired: false,
9648
+ accessibleNameRequired: true,
10439
9649
  baseConcepts: [],
10440
- childrenPresentational: false,
10441
- nameFrom: ["prohibited"],
9650
+ childrenPresentational: true,
9651
+ nameFrom: ["author"],
10442
9652
  prohibitedProps: [],
10443
9653
  props: {
10444
- "aria-braillelabel": null,
10445
- "aria-brailleroledescription": null,
10446
- "aria-description": null,
10447
- "aria-disabled": null,
10448
9654
  "aria-errormessage": null,
9655
+ "aria-expanded": null,
10449
9656
  "aria-haspopup": null,
10450
9657
  "aria-invalid": null
10451
9658
  },
10452
- relatedConcepts: [],
9659
+ relatedConcepts: [{
9660
+ concept: { name: "pagebreak [EPUB-SSV]" },
9661
+ module: "EPUB"
9662
+ }],
10453
9663
  requireContextRole: [],
10454
9664
  requiredContextRole: [],
10455
9665
  requiredOwnedElements: [],
@@ -10457,7 +9667,7 @@ var require_docPageheaderRole = /* @__PURE__ */ __commonJSMin(((exports) => {
10457
9667
  superClass: [[
10458
9668
  "roletype",
10459
9669
  "structure",
10460
- "section"
9670
+ "separator"
10461
9671
  ]]
10462
9672
  };
10463
9673
  }));
@@ -10800,8 +10010,6 @@ var require_ariaDpubRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
10800
10010
  var _docNoterefRole = _interopRequireDefault(require_docNoterefRole());
10801
10011
  var _docNoticeRole = _interopRequireDefault(require_docNoticeRole());
10802
10012
  var _docPagebreakRole = _interopRequireDefault(require_docPagebreakRole());
10803
- var _docPagefooterRole = _interopRequireDefault(require_docPagefooterRole());
10804
- var _docPageheaderRole = _interopRequireDefault(require_docPageheaderRole());
10805
10013
  var _docPagelistRole = _interopRequireDefault(require_docPagelistRole());
10806
10014
  var _docPartRole = _interopRequireDefault(require_docPartRole());
10807
10015
  var _docPrefaceRole = _interopRequireDefault(require_docPrefaceRole());
@@ -10811,8 +10019,8 @@ var require_ariaDpubRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
10811
10019
  var _docSubtitleRole = _interopRequireDefault(require_docSubtitleRole());
10812
10020
  var _docTipRole = _interopRequireDefault(require_docTipRole());
10813
10021
  var _docTocRole = _interopRequireDefault(require_docTocRole());
10814
- function _interopRequireDefault(e) {
10815
- return e && e.__esModule ? e : { default: e };
10022
+ function _interopRequireDefault(obj) {
10023
+ return obj && obj.__esModule ? obj : { default: obj };
10816
10024
  }
10817
10025
  exports.default = [
10818
10026
  ["doc-abstract", _docAbstractRole.default],
@@ -10845,8 +10053,6 @@ var require_ariaDpubRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
10845
10053
  ["doc-noteref", _docNoterefRole.default],
10846
10054
  ["doc-notice", _docNoticeRole.default],
10847
10055
  ["doc-pagebreak", _docPagebreakRole.default],
10848
- ["doc-pagefooter", _docPagefooterRole.default],
10849
- ["doc-pageheader", _docPageheaderRole.default],
10850
10056
  ["doc-pagelist", _docPagelistRole.default],
10851
10057
  ["doc-part", _docPartRole.default],
10852
10058
  ["doc-preface", _docPrefaceRole.default],
@@ -10990,8 +10196,8 @@ var require_ariaGraphicsRoles = /* @__PURE__ */ __commonJSMin(((exports) => {
10990
10196
  var _graphicsDocumentRole = _interopRequireDefault(require_graphicsDocumentRole());
10991
10197
  var _graphicsObjectRole = _interopRequireDefault(require_graphicsObjectRole());
10992
10198
  var _graphicsSymbolRole = _interopRequireDefault(require_graphicsSymbolRole());
10993
- function _interopRequireDefault(e) {
10994
- return e && e.__esModule ? e : { default: e };
10199
+ function _interopRequireDefault(obj) {
10200
+ return obj && obj.__esModule ? obj : { default: obj };
10995
10201
  }
10996
10202
  exports.default = [
10997
10203
  ["graphics-document", _graphicsDocumentRole.default],
@@ -11009,93 +10215,111 @@ var require_rolesMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11009
10215
  var _ariaDpubRoles = _interopRequireDefault(require_ariaDpubRoles());
11010
10216
  var _ariaGraphicsRoles = _interopRequireDefault(require_ariaGraphicsRoles());
11011
10217
  var _iterationDecorator = _interopRequireDefault(require_iterationDecorator());
11012
- function _interopRequireDefault(e) {
11013
- return e && e.__esModule ? e : { default: e };
11014
- }
11015
- function _createForOfIteratorHelper(r, e) {
11016
- var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11017
- if (!t) {
11018
- if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
11019
- t && (r = t);
11020
- var _n = 0, F = function F() {};
10218
+ function _interopRequireDefault(obj) {
10219
+ return obj && obj.__esModule ? obj : { default: obj };
10220
+ }
10221
+ function _defineProperty(obj, key, value) {
10222
+ if (key in obj) Object.defineProperty(obj, key, {
10223
+ value,
10224
+ enumerable: true,
10225
+ configurable: true,
10226
+ writable: true
10227
+ });
10228
+ else obj[key] = value;
10229
+ return obj;
10230
+ }
10231
+ function _createForOfIteratorHelper(o, allowArrayLike) {
10232
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
10233
+ if (!it) {
10234
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
10235
+ if (it) o = it;
10236
+ var i = 0;
10237
+ var F = function F() {};
11021
10238
  return {
11022
10239
  s: F,
11023
10240
  n: function n() {
11024
- return _n >= r.length ? { done: !0 } : {
11025
- done: !1,
11026
- value: r[_n++]
10241
+ if (i >= o.length) return { done: true };
10242
+ return {
10243
+ done: false,
10244
+ value: o[i++]
11027
10245
  };
11028
10246
  },
11029
- e: function e(r) {
11030
- throw r;
10247
+ e: function e(_e2) {
10248
+ throw _e2;
11031
10249
  },
11032
10250
  f: F
11033
10251
  };
11034
10252
  }
11035
10253
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11036
10254
  }
11037
- var o, a = !0, u = !1;
10255
+ var normalCompletion = true, didErr = false, err;
11038
10256
  return {
11039
10257
  s: function s() {
11040
- t = t.call(r);
10258
+ it = it.call(o);
11041
10259
  },
11042
10260
  n: function n() {
11043
- var r = t.next();
11044
- return a = r.done, r;
10261
+ var step = it.next();
10262
+ normalCompletion = step.done;
10263
+ return step;
11045
10264
  },
11046
- e: function e(r) {
11047
- u = !0, o = r;
10265
+ e: function e(_e3) {
10266
+ didErr = true;
10267
+ err = _e3;
11048
10268
  },
11049
10269
  f: function f() {
11050
10270
  try {
11051
- a || null == t.return || t.return();
10271
+ if (!normalCompletion && it.return != null) it.return();
11052
10272
  } finally {
11053
- if (u) throw o;
10273
+ if (didErr) throw err;
11054
10274
  }
11055
10275
  }
11056
10276
  };
11057
10277
  }
11058
- function _slicedToArray(r, e) {
11059
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
10278
+ function _slicedToArray(arr, i) {
10279
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
11060
10280
  }
11061
10281
  function _nonIterableRest() {
11062
10282
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11063
10283
  }
11064
- function _unsupportedIterableToArray(r, a) {
11065
- if (r) {
11066
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
11067
- var t = {}.toString.call(r).slice(8, -1);
11068
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
11069
- }
11070
- }
11071
- function _arrayLikeToArray(r, a) {
11072
- (null == a || a > r.length) && (a = r.length);
11073
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
11074
- return n;
11075
- }
11076
- function _iterableToArrayLimit(r, l) {
11077
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11078
- if (null != t) {
11079
- var e, n, i, u, a = [], f = !0, o = !1;
10284
+ function _unsupportedIterableToArray(o, minLen) {
10285
+ if (!o) return;
10286
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
10287
+ var n = Object.prototype.toString.call(o).slice(8, -1);
10288
+ if (n === "Object" && o.constructor) n = o.constructor.name;
10289
+ if (n === "Map" || n === "Set") return Array.from(o);
10290
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
10291
+ }
10292
+ function _arrayLikeToArray(arr, len) {
10293
+ if (len == null || len > arr.length) len = arr.length;
10294
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
10295
+ return arr2;
10296
+ }
10297
+ function _iterableToArrayLimit(arr, i) {
10298
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10299
+ if (_i == null) return;
10300
+ var _arr = [];
10301
+ var _n = true;
10302
+ var _d = false;
10303
+ var _s, _e;
10304
+ try {
10305
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
10306
+ _arr.push(_s.value);
10307
+ if (i && _arr.length === i) break;
10308
+ }
10309
+ } catch (err) {
10310
+ _d = true;
10311
+ _e = err;
10312
+ } finally {
11080
10313
  try {
11081
- if (i = (t = t.call(r)).next, 0 === l) {
11082
- if (Object(t) !== t) return;
11083
- f = !1;
11084
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
11085
- } catch (r) {
11086
- o = !0, n = r;
10314
+ if (!_n && _i["return"] != null) _i["return"]();
11087
10315
  } finally {
11088
- try {
11089
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
11090
- } finally {
11091
- if (o) throw n;
11092
- }
10316
+ if (_d) throw _e;
11093
10317
  }
11094
- return a;
11095
10318
  }
10319
+ return _arr;
11096
10320
  }
11097
- function _arrayWithHoles(r) {
11098
- if (Array.isArray(r)) return r;
10321
+ function _arrayWithHoles(arr) {
10322
+ if (Array.isArray(arr)) return arr;
11099
10323
  }
11100
10324
  var roles = [].concat(_ariaAbstractRoles.default, _ariaLiteralRoles.default, _ariaDpubRoles.default, _ariaGraphicsRoles.default);
11101
10325
  roles.forEach(function(_ref) {
@@ -11108,14 +10332,14 @@ var require_rolesMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11108
10332
  try {
11109
10333
  var _loop = function _loop() {
11110
10334
  var superClassName = _step2.value;
11111
- var superClassRoleTuple = roles.filter(function(_ref3) {
10335
+ var superClassRoleTuple = roles.find(function(_ref3) {
11112
10336
  return _slicedToArray(_ref3, 1)[0] === superClassName;
11113
- })[0];
10337
+ });
11114
10338
  if (superClassRoleTuple) {
11115
10339
  var superClassDefinition = superClassRoleTuple[1];
11116
- for (var _i = 0, _Object$keys = Object.keys(superClassDefinition.props); _i < _Object$keys.length; _i++) {
11117
- var prop = _Object$keys[_i];
11118
- if (!Object.prototype.hasOwnProperty.call(roleDefinition.props, prop)) roleDefinition.props[prop] = superClassDefinition.props[prop];
10340
+ for (var _i2 = 0, _Object$keys = Object.keys(superClassDefinition.props); _i2 < _Object$keys.length; _i2++) {
10341
+ var prop = _Object$keys[_i2];
10342
+ if (!Object.prototype.hasOwnProperty.call(roleDefinition.props, prop)) Object.assign(roleDefinition.props, _defineProperty({}, prop, superClassDefinition.props[prop]));
11119
10343
  }
11120
10344
  }
11121
10345
  };
@@ -11151,9 +10375,9 @@ var require_rolesMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11151
10375
  }
11152
10376
  },
11153
10377
  get: function get(key) {
11154
- var item = roles.filter(function(tuple) {
10378
+ var item = roles.find(function(tuple) {
11155
10379
  return tuple[0] === key ? true : false;
11156
- })[0];
10380
+ });
11157
10381
  return item && item[1];
11158
10382
  },
11159
10383
  has: function has(key) {
@@ -11173,56 +10397,135 @@ var require_rolesMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11173
10397
  exports.default = (0, _iterationDecorator.default)(rolesMap, rolesMap.entries());
11174
10398
  }));
11175
10399
  //#endregion
10400
+ //#region ../../node_modules/dequal/lite/index.js
10401
+ var require_lite = /* @__PURE__ */ __commonJSMin(((exports) => {
10402
+ var has = Object.prototype.hasOwnProperty;
10403
+ function dequal(foo, bar) {
10404
+ var ctor, len;
10405
+ if (foo === bar) return true;
10406
+ if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
10407
+ if (ctor === Date) return foo.getTime() === bar.getTime();
10408
+ if (ctor === RegExp) return foo.toString() === bar.toString();
10409
+ if (ctor === Array) {
10410
+ if ((len = foo.length) === bar.length) while (len-- && dequal(foo[len], bar[len]));
10411
+ return len === -1;
10412
+ }
10413
+ if (!ctor || typeof foo === "object") {
10414
+ len = 0;
10415
+ for (ctor in foo) {
10416
+ if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
10417
+ if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
10418
+ }
10419
+ return Object.keys(bar).length === len;
10420
+ }
10421
+ }
10422
+ return foo !== foo && bar !== bar;
10423
+ }
10424
+ exports.dequal = dequal;
10425
+ }));
10426
+ //#endregion
11176
10427
  //#region ../../node_modules/aria-query/lib/elementRoleMap.js
11177
10428
  var require_elementRoleMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11178
10429
  Object.defineProperty(exports, "__esModule", { value: true });
11179
10430
  exports.default = void 0;
10431
+ var _lite = require_lite();
11180
10432
  var _iterationDecorator = _interopRequireDefault(require_iterationDecorator());
11181
10433
  var _rolesMap = _interopRequireDefault(require_rolesMap());
11182
- function _interopRequireDefault(e) {
11183
- return e && e.__esModule ? e : { default: e };
10434
+ function _interopRequireDefault(obj) {
10435
+ return obj && obj.__esModule ? obj : { default: obj };
11184
10436
  }
11185
- function _slicedToArray(r, e) {
11186
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
10437
+ function _slicedToArray(arr, i) {
10438
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
11187
10439
  }
11188
10440
  function _nonIterableRest() {
11189
10441
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11190
10442
  }
11191
- function _unsupportedIterableToArray(r, a) {
11192
- if (r) {
11193
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
11194
- var t = {}.toString.call(r).slice(8, -1);
11195
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
11196
- }
11197
- }
11198
- function _arrayLikeToArray(r, a) {
11199
- (null == a || a > r.length) && (a = r.length);
11200
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
11201
- return n;
11202
- }
11203
- function _iterableToArrayLimit(r, l) {
11204
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11205
- if (null != t) {
11206
- var e, n, i, u, a = [], f = !0, o = !1;
10443
+ function _iterableToArrayLimit(arr, i) {
10444
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10445
+ if (_i == null) return;
10446
+ var _arr = [];
10447
+ var _n = true;
10448
+ var _d = false;
10449
+ var _s, _e;
10450
+ try {
10451
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
10452
+ _arr.push(_s.value);
10453
+ if (i && _arr.length === i) break;
10454
+ }
10455
+ } catch (err) {
10456
+ _d = true;
10457
+ _e = err;
10458
+ } finally {
11207
10459
  try {
11208
- if (i = (t = t.call(r)).next, 0 === l) {
11209
- if (Object(t) !== t) return;
11210
- f = !1;
11211
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
11212
- } catch (r) {
11213
- o = !0, n = r;
10460
+ if (!_n && _i["return"] != null) _i["return"]();
11214
10461
  } finally {
10462
+ if (_d) throw _e;
10463
+ }
10464
+ }
10465
+ return _arr;
10466
+ }
10467
+ function _arrayWithHoles(arr) {
10468
+ if (Array.isArray(arr)) return arr;
10469
+ }
10470
+ function _createForOfIteratorHelper(o, allowArrayLike) {
10471
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
10472
+ if (!it) {
10473
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
10474
+ if (it) o = it;
10475
+ var i = 0;
10476
+ var F = function F() {};
10477
+ return {
10478
+ s: F,
10479
+ n: function n() {
10480
+ if (i >= o.length) return { done: true };
10481
+ return {
10482
+ done: false,
10483
+ value: o[i++]
10484
+ };
10485
+ },
10486
+ e: function e(_e2) {
10487
+ throw _e2;
10488
+ },
10489
+ f: F
10490
+ };
10491
+ }
10492
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10493
+ }
10494
+ var normalCompletion = true, didErr = false, err;
10495
+ return {
10496
+ s: function s() {
10497
+ it = it.call(o);
10498
+ },
10499
+ n: function n() {
10500
+ var step = it.next();
10501
+ normalCompletion = step.done;
10502
+ return step;
10503
+ },
10504
+ e: function e(_e3) {
10505
+ didErr = true;
10506
+ err = _e3;
10507
+ },
10508
+ f: function f() {
11215
10509
  try {
11216
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
10510
+ if (!normalCompletion && it.return != null) it.return();
11217
10511
  } finally {
11218
- if (o) throw n;
10512
+ if (didErr) throw err;
11219
10513
  }
11220
10514
  }
11221
- return a;
11222
- }
10515
+ };
10516
+ }
10517
+ function _unsupportedIterableToArray(o, minLen) {
10518
+ if (!o) return;
10519
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
10520
+ var n = Object.prototype.toString.call(o).slice(8, -1);
10521
+ if (n === "Object" && o.constructor) n = o.constructor.name;
10522
+ if (n === "Map" || n === "Set") return Array.from(o);
10523
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
11223
10524
  }
11224
- function _arrayWithHoles(r) {
11225
- if (Array.isArray(r)) return r;
10525
+ function _arrayLikeToArray(arr, len) {
10526
+ if (len == null || len > arr.length) len = arr.length;
10527
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
10528
+ return arr2;
11226
10529
  }
11227
10530
  var elementRoles = [];
11228
10531
  var keys = _rolesMap.default.keys();
@@ -11231,14 +10534,14 @@ var require_elementRoleMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11231
10534
  var role = _rolesMap.default.get(key);
11232
10535
  if (role) {
11233
10536
  var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
11234
- var _loop = function _loop() {
10537
+ for (var k = 0; k < concepts.length; k++) {
11235
10538
  var relation = concepts[k];
11236
- if (relation.module === "HTML") {
10539
+ if (relation.module === "HTML") (function() {
11237
10540
  var concept = relation.concept;
11238
10541
  if (concept) {
11239
- var elementRoleRelation = elementRoles.filter(function(relation) {
11240
- return ariaRoleRelationConceptEquals(relation[0], concept);
11241
- })[0];
10542
+ var elementRoleRelation = elementRoles.find(function(relation) {
10543
+ return (0, _lite.dequal)(relation, concept);
10544
+ });
11242
10545
  var roles;
11243
10546
  if (elementRoleRelation) roles = elementRoleRelation[1];
11244
10547
  else roles = [];
@@ -11248,11 +10551,10 @@ var require_elementRoleMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11248
10551
  break;
11249
10552
  }
11250
10553
  if (isUnique) roles.push(key);
11251
- if (!elementRoleRelation) elementRoles.push([concept, roles]);
10554
+ elementRoles.push([concept, roles]);
11252
10555
  }
11253
- }
11254
- };
11255
- for (var k = 0; k < concepts.length; k++) _loop();
10556
+ })();
10557
+ }
11256
10558
  }
11257
10559
  }
11258
10560
  var elementRoleMap = {
@@ -11261,15 +10563,22 @@ var require_elementRoleMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11261
10563
  },
11262
10564
  forEach: function forEach(fn) {
11263
10565
  var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
11264
- for (var _i2 = 0, _elementRoles = elementRoles; _i2 < _elementRoles.length; _i2++) {
11265
- var _elementRoles$_i = _slicedToArray(_elementRoles[_i2], 2), _key = _elementRoles$_i[0], values = _elementRoles$_i[1];
11266
- fn.call(thisArg, values, _key, elementRoles);
10566
+ var _iterator = _createForOfIteratorHelper(elementRoles), _step;
10567
+ try {
10568
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
10569
+ var _step$value = _slicedToArray(_step.value, 2), _key = _step$value[0], values = _step$value[1];
10570
+ fn.call(thisArg, values, _key, elementRoles);
10571
+ }
10572
+ } catch (err) {
10573
+ _iterator.e(err);
10574
+ } finally {
10575
+ _iterator.f();
11267
10576
  }
11268
10577
  },
11269
10578
  get: function get(key) {
11270
- var item = elementRoles.filter(function(tuple) {
11271
- return key.name === tuple[0].name && ariaRoleRelationConceptAttributeEquals(key.attributes, tuple[0].attributes);
11272
- })[0];
10579
+ var item = elementRoles.find(function(tuple) {
10580
+ return key.name === tuple[0].name && (0, _lite.dequal)(key.attributes, tuple[0].attributes);
10581
+ });
11273
10582
  return item && item[1];
11274
10583
  },
11275
10584
  has: function has(key) {
@@ -11286,35 +10595,6 @@ var require_elementRoleMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11286
10595
  });
11287
10596
  }
11288
10597
  };
11289
- function ariaRoleRelationConceptEquals(a, b) {
11290
- return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes);
11291
- }
11292
- function ariaRoleRelationConstraintsEquals(a, b) {
11293
- if (a === void 0 && b !== void 0) return false;
11294
- if (a !== void 0 && b === void 0) return false;
11295
- if (a !== void 0 && b !== void 0) {
11296
- if (a.length !== b.length) return false;
11297
- for (var _i3 = 0; _i3 < a.length; _i3++) if (a[_i3] !== b[_i3]) return false;
11298
- }
11299
- return true;
11300
- }
11301
- function ariaRoleRelationConceptAttributeEquals(a, b) {
11302
- if (a === void 0 && b !== void 0) return false;
11303
- if (a !== void 0 && b === void 0) return false;
11304
- if (a !== void 0 && b !== void 0) {
11305
- if (a.length !== b.length) return false;
11306
- for (var _i4 = 0; _i4 < a.length; _i4++) {
11307
- if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value) return false;
11308
- if (a[_i4].constraints === void 0 && b[_i4].constraints !== void 0) return false;
11309
- if (a[_i4].constraints !== void 0 && b[_i4].constraints === void 0) return false;
11310
- if (a[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
11311
- if (a[_i4].constraints.length !== b[_i4].constraints.length) return false;
11312
- for (var j = 0; j < a[_i4].constraints.length; j++) if (a[_i4].constraints[j] !== b[_i4].constraints[j]) return false;
11313
- }
11314
- }
11315
- }
11316
- return true;
11317
- }
11318
10598
  exports.default = (0, _iterationDecorator.default)(elementRoleMap, elementRoleMap.entries());
11319
10599
  }));
11320
10600
  //#endregion
@@ -11324,50 +10604,101 @@ var require_roleElementMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11324
10604
  exports.default = void 0;
11325
10605
  var _iterationDecorator = _interopRequireDefault(require_iterationDecorator());
11326
10606
  var _rolesMap = _interopRequireDefault(require_rolesMap());
11327
- function _interopRequireDefault(e) {
11328
- return e && e.__esModule ? e : { default: e };
10607
+ function _interopRequireDefault(obj) {
10608
+ return obj && obj.__esModule ? obj : { default: obj };
11329
10609
  }
11330
- function _slicedToArray(r, e) {
11331
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
10610
+ function _slicedToArray(arr, i) {
10611
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
11332
10612
  }
11333
10613
  function _nonIterableRest() {
11334
10614
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11335
10615
  }
11336
- function _unsupportedIterableToArray(r, a) {
11337
- if (r) {
11338
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
11339
- var t = {}.toString.call(r).slice(8, -1);
11340
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
11341
- }
11342
- }
11343
- function _arrayLikeToArray(r, a) {
11344
- (null == a || a > r.length) && (a = r.length);
11345
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
11346
- return n;
11347
- }
11348
- function _iterableToArrayLimit(r, l) {
11349
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11350
- if (null != t) {
11351
- var e, n, i, u, a = [], f = !0, o = !1;
10616
+ function _iterableToArrayLimit(arr, i) {
10617
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
10618
+ if (_i == null) return;
10619
+ var _arr = [];
10620
+ var _n = true;
10621
+ var _d = false;
10622
+ var _s, _e;
10623
+ try {
10624
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
10625
+ _arr.push(_s.value);
10626
+ if (i && _arr.length === i) break;
10627
+ }
10628
+ } catch (err) {
10629
+ _d = true;
10630
+ _e = err;
10631
+ } finally {
11352
10632
  try {
11353
- if (i = (t = t.call(r)).next, 0 === l) {
11354
- if (Object(t) !== t) return;
11355
- f = !1;
11356
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
11357
- } catch (r) {
11358
- o = !0, n = r;
10633
+ if (!_n && _i["return"] != null) _i["return"]();
11359
10634
  } finally {
10635
+ if (_d) throw _e;
10636
+ }
10637
+ }
10638
+ return _arr;
10639
+ }
10640
+ function _arrayWithHoles(arr) {
10641
+ if (Array.isArray(arr)) return arr;
10642
+ }
10643
+ function _createForOfIteratorHelper(o, allowArrayLike) {
10644
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
10645
+ if (!it) {
10646
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
10647
+ if (it) o = it;
10648
+ var i = 0;
10649
+ var F = function F() {};
10650
+ return {
10651
+ s: F,
10652
+ n: function n() {
10653
+ if (i >= o.length) return { done: true };
10654
+ return {
10655
+ done: false,
10656
+ value: o[i++]
10657
+ };
10658
+ },
10659
+ e: function e(_e2) {
10660
+ throw _e2;
10661
+ },
10662
+ f: F
10663
+ };
10664
+ }
10665
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10666
+ }
10667
+ var normalCompletion = true, didErr = false, err;
10668
+ return {
10669
+ s: function s() {
10670
+ it = it.call(o);
10671
+ },
10672
+ n: function n() {
10673
+ var step = it.next();
10674
+ normalCompletion = step.done;
10675
+ return step;
10676
+ },
10677
+ e: function e(_e3) {
10678
+ didErr = true;
10679
+ err = _e3;
10680
+ },
10681
+ f: function f() {
11360
10682
  try {
11361
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
10683
+ if (!normalCompletion && it.return != null) it.return();
11362
10684
  } finally {
11363
- if (o) throw n;
10685
+ if (didErr) throw err;
11364
10686
  }
11365
10687
  }
11366
- return a;
11367
- }
10688
+ };
11368
10689
  }
11369
- function _arrayWithHoles(r) {
11370
- if (Array.isArray(r)) return r;
10690
+ function _unsupportedIterableToArray(o, minLen) {
10691
+ if (!o) return;
10692
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
10693
+ var n = Object.prototype.toString.call(o).slice(8, -1);
10694
+ if (n === "Object" && o.constructor) n = o.constructor.name;
10695
+ if (n === "Map" || n === "Set") return Array.from(o);
10696
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
10697
+ }
10698
+ function _arrayLikeToArray(arr, len) {
10699
+ if (len == null || len > arr.length) len = arr.length;
10700
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
10701
+ return arr2;
11371
10702
  }
11372
10703
  var roleElement = [];
11373
10704
  var keys = _rolesMap.default.keys();
@@ -11393,15 +10724,22 @@ var require_roleElementMap = /* @__PURE__ */ __commonJSMin(((exports) => {
11393
10724
  },
11394
10725
  forEach: function forEach(fn) {
11395
10726
  var thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
11396
- for (var _i = 0, _roleElement = roleElement; _i < _roleElement.length; _i++) {
11397
- var _roleElement$_i = _slicedToArray(_roleElement[_i], 2), _key = _roleElement$_i[0], values = _roleElement$_i[1];
11398
- fn.call(thisArg, values, _key, roleElement);
10727
+ var _iterator = _createForOfIteratorHelper(roleElement), _step;
10728
+ try {
10729
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
10730
+ var _step$value = _slicedToArray(_step.value, 2), _key = _step$value[0], values = _step$value[1];
10731
+ fn.call(thisArg, values, _key, roleElement);
10732
+ }
10733
+ } catch (err) {
10734
+ _iterator.e(err);
10735
+ } finally {
10736
+ _iterator.f();
11399
10737
  }
11400
10738
  },
11401
10739
  get: function get(key) {
11402
- var item = roleElement.filter(function(tuple) {
10740
+ var item = roleElement.find(function(tuple) {
11403
10741
  return tuple[0] === key ? true : false;
11404
- })[0];
10742
+ });
11405
10743
  return item && item[1];
11406
10744
  },
11407
10745
  has: function has(key) {
@@ -11430,8 +10768,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
11430
10768
  var _rolesMap = _interopRequireDefault(require_rolesMap());
11431
10769
  var _elementRoleMap = _interopRequireDefault(require_elementRoleMap());
11432
10770
  var _roleElementMap = _interopRequireDefault(require_roleElementMap());
11433
- function _interopRequireDefault(e) {
11434
- return e && e.__esModule ? e : { default: e };
10771
+ function _interopRequireDefault(obj) {
10772
+ return obj && obj.__esModule ? obj : { default: obj };
11435
10773
  }
11436
10774
  exports.aria = _ariaPropsMap.default;
11437
10775
  exports.dom = _domMap.default;
@@ -12424,444 +11762,13 @@ function init_accessible_name() {
12424
11762
  }
12425
11763
  //#endregion
12426
11764
  //#region ../../node_modules/dom-accessibility-api/dist/index.mjs
12427
- function init_dist$1() {
12428
- return (init_dist$1 = __esmMin((() => {
11765
+ function init_dist() {
11766
+ return (init_dist = __esmMin((() => {
12429
11767
  init_accessible_description();
12430
11768
  init_accessible_name();
12431
11769
  })))();
12432
11770
  }
12433
11771
  //#endregion
12434
- //#region ../../node_modules/dequal/lite/index.js
12435
- var require_lite = /* @__PURE__ */ __commonJSMin(((exports) => {
12436
- var has = Object.prototype.hasOwnProperty;
12437
- function dequal(foo, bar) {
12438
- var ctor, len;
12439
- if (foo === bar) return true;
12440
- if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
12441
- if (ctor === Date) return foo.getTime() === bar.getTime();
12442
- if (ctor === RegExp) return foo.toString() === bar.toString();
12443
- if (ctor === Array) {
12444
- if ((len = foo.length) === bar.length) while (len-- && dequal(foo[len], bar[len]));
12445
- return len === -1;
12446
- }
12447
- if (!ctor || typeof foo === "object") {
12448
- len = 0;
12449
- for (ctor in foo) {
12450
- if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
12451
- if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
12452
- }
12453
- return Object.keys(bar).length === len;
12454
- }
12455
- }
12456
- return foo !== foo && bar !== bar;
12457
- }
12458
- exports.dequal = dequal;
12459
- }));
12460
- //#endregion
12461
- //#region ../../node_modules/lz-string/libs/lz-string.js
12462
- var require_lz_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12463
- var LZString = (function() {
12464
- var f = String.fromCharCode;
12465
- var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
12466
- var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
12467
- var baseReverseDic = {};
12468
- function getBaseValue(alphabet, character) {
12469
- if (!baseReverseDic[alphabet]) {
12470
- baseReverseDic[alphabet] = {};
12471
- for (var i = 0; i < alphabet.length; i++) baseReverseDic[alphabet][alphabet.charAt(i)] = i;
12472
- }
12473
- return baseReverseDic[alphabet][character];
12474
- }
12475
- var LZString = {
12476
- compressToBase64: function(input) {
12477
- if (input == null) return "";
12478
- var res = LZString._compress(input, 6, function(a) {
12479
- return keyStrBase64.charAt(a);
12480
- });
12481
- switch (res.length % 4) {
12482
- default:
12483
- case 0: return res;
12484
- case 1: return res + "===";
12485
- case 2: return res + "==";
12486
- case 3: return res + "=";
12487
- }
12488
- },
12489
- decompressFromBase64: function(input) {
12490
- if (input == null) return "";
12491
- if (input == "") return null;
12492
- return LZString._decompress(input.length, 32, function(index) {
12493
- return getBaseValue(keyStrBase64, input.charAt(index));
12494
- });
12495
- },
12496
- compressToUTF16: function(input) {
12497
- if (input == null) return "";
12498
- return LZString._compress(input, 15, function(a) {
12499
- return f(a + 32);
12500
- }) + " ";
12501
- },
12502
- decompressFromUTF16: function(compressed) {
12503
- if (compressed == null) return "";
12504
- if (compressed == "") return null;
12505
- return LZString._decompress(compressed.length, 16384, function(index) {
12506
- return compressed.charCodeAt(index) - 32;
12507
- });
12508
- },
12509
- compressToUint8Array: function(uncompressed) {
12510
- var compressed = LZString.compress(uncompressed);
12511
- var buf = new Uint8Array(compressed.length * 2);
12512
- for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
12513
- var current_value = compressed.charCodeAt(i);
12514
- buf[i * 2] = current_value >>> 8;
12515
- buf[i * 2 + 1] = current_value % 256;
12516
- }
12517
- return buf;
12518
- },
12519
- decompressFromUint8Array: function(compressed) {
12520
- if (compressed === null || compressed === void 0) return LZString.decompress(compressed);
12521
- else {
12522
- var buf = new Array(compressed.length / 2);
12523
- for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
12524
- var result = [];
12525
- buf.forEach(function(c) {
12526
- result.push(f(c));
12527
- });
12528
- return LZString.decompress(result.join(""));
12529
- }
12530
- },
12531
- compressToEncodedURIComponent: function(input) {
12532
- if (input == null) return "";
12533
- return LZString._compress(input, 6, function(a) {
12534
- return keyStrUriSafe.charAt(a);
12535
- });
12536
- },
12537
- decompressFromEncodedURIComponent: function(input) {
12538
- if (input == null) return "";
12539
- if (input == "") return null;
12540
- input = input.replace(/ /g, "+");
12541
- return LZString._decompress(input.length, 32, function(index) {
12542
- return getBaseValue(keyStrUriSafe, input.charAt(index));
12543
- });
12544
- },
12545
- compress: function(uncompressed) {
12546
- return LZString._compress(uncompressed, 16, function(a) {
12547
- return f(a);
12548
- });
12549
- },
12550
- _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
12551
- if (uncompressed == null) return "";
12552
- var i, value, context_dictionary = {}, context_dictionaryToCreate = {}, context_c = "", context_wc = "", context_w = "", context_enlargeIn = 2, context_dictSize = 3, context_numBits = 2, context_data = [], context_data_val = 0, context_data_position = 0, ii = 0;
12553
- for (; ii < uncompressed.length; ii += 1) {
12554
- context_c = uncompressed.charAt(ii);
12555
- if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
12556
- context_dictionary[context_c] = context_dictSize++;
12557
- context_dictionaryToCreate[context_c] = true;
12558
- }
12559
- context_wc = context_w + context_c;
12560
- if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) context_w = context_wc;
12561
- else {
12562
- if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
12563
- if (context_w.charCodeAt(0) < 256) {
12564
- for (i = 0; i < context_numBits; i++) {
12565
- context_data_val = context_data_val << 1;
12566
- if (context_data_position == bitsPerChar - 1) {
12567
- context_data_position = 0;
12568
- context_data.push(getCharFromInt(context_data_val));
12569
- context_data_val = 0;
12570
- } else context_data_position++;
12571
- }
12572
- value = context_w.charCodeAt(0);
12573
- for (i = 0; i < 8; i++) {
12574
- context_data_val = context_data_val << 1 | value & 1;
12575
- if (context_data_position == bitsPerChar - 1) {
12576
- context_data_position = 0;
12577
- context_data.push(getCharFromInt(context_data_val));
12578
- context_data_val = 0;
12579
- } else context_data_position++;
12580
- value = value >> 1;
12581
- }
12582
- } else {
12583
- value = 1;
12584
- for (i = 0; i < context_numBits; i++) {
12585
- context_data_val = context_data_val << 1 | value;
12586
- if (context_data_position == bitsPerChar - 1) {
12587
- context_data_position = 0;
12588
- context_data.push(getCharFromInt(context_data_val));
12589
- context_data_val = 0;
12590
- } else context_data_position++;
12591
- value = 0;
12592
- }
12593
- value = context_w.charCodeAt(0);
12594
- for (i = 0; i < 16; i++) {
12595
- context_data_val = context_data_val << 1 | value & 1;
12596
- if (context_data_position == bitsPerChar - 1) {
12597
- context_data_position = 0;
12598
- context_data.push(getCharFromInt(context_data_val));
12599
- context_data_val = 0;
12600
- } else context_data_position++;
12601
- value = value >> 1;
12602
- }
12603
- }
12604
- context_enlargeIn--;
12605
- if (context_enlargeIn == 0) {
12606
- context_enlargeIn = Math.pow(2, context_numBits);
12607
- context_numBits++;
12608
- }
12609
- delete context_dictionaryToCreate[context_w];
12610
- } else {
12611
- value = context_dictionary[context_w];
12612
- for (i = 0; i < context_numBits; i++) {
12613
- context_data_val = context_data_val << 1 | value & 1;
12614
- if (context_data_position == bitsPerChar - 1) {
12615
- context_data_position = 0;
12616
- context_data.push(getCharFromInt(context_data_val));
12617
- context_data_val = 0;
12618
- } else context_data_position++;
12619
- value = value >> 1;
12620
- }
12621
- }
12622
- context_enlargeIn--;
12623
- if (context_enlargeIn == 0) {
12624
- context_enlargeIn = Math.pow(2, context_numBits);
12625
- context_numBits++;
12626
- }
12627
- context_dictionary[context_wc] = context_dictSize++;
12628
- context_w = String(context_c);
12629
- }
12630
- }
12631
- if (context_w !== "") {
12632
- if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
12633
- if (context_w.charCodeAt(0) < 256) {
12634
- for (i = 0; i < context_numBits; i++) {
12635
- context_data_val = context_data_val << 1;
12636
- if (context_data_position == bitsPerChar - 1) {
12637
- context_data_position = 0;
12638
- context_data.push(getCharFromInt(context_data_val));
12639
- context_data_val = 0;
12640
- } else context_data_position++;
12641
- }
12642
- value = context_w.charCodeAt(0);
12643
- for (i = 0; i < 8; i++) {
12644
- context_data_val = context_data_val << 1 | value & 1;
12645
- if (context_data_position == bitsPerChar - 1) {
12646
- context_data_position = 0;
12647
- context_data.push(getCharFromInt(context_data_val));
12648
- context_data_val = 0;
12649
- } else context_data_position++;
12650
- value = value >> 1;
12651
- }
12652
- } else {
12653
- value = 1;
12654
- for (i = 0; i < context_numBits; i++) {
12655
- context_data_val = context_data_val << 1 | value;
12656
- if (context_data_position == bitsPerChar - 1) {
12657
- context_data_position = 0;
12658
- context_data.push(getCharFromInt(context_data_val));
12659
- context_data_val = 0;
12660
- } else context_data_position++;
12661
- value = 0;
12662
- }
12663
- value = context_w.charCodeAt(0);
12664
- for (i = 0; i < 16; i++) {
12665
- context_data_val = context_data_val << 1 | value & 1;
12666
- if (context_data_position == bitsPerChar - 1) {
12667
- context_data_position = 0;
12668
- context_data.push(getCharFromInt(context_data_val));
12669
- context_data_val = 0;
12670
- } else context_data_position++;
12671
- value = value >> 1;
12672
- }
12673
- }
12674
- context_enlargeIn--;
12675
- if (context_enlargeIn == 0) {
12676
- context_enlargeIn = Math.pow(2, context_numBits);
12677
- context_numBits++;
12678
- }
12679
- delete context_dictionaryToCreate[context_w];
12680
- } else {
12681
- value = context_dictionary[context_w];
12682
- for (i = 0; i < context_numBits; i++) {
12683
- context_data_val = context_data_val << 1 | value & 1;
12684
- if (context_data_position == bitsPerChar - 1) {
12685
- context_data_position = 0;
12686
- context_data.push(getCharFromInt(context_data_val));
12687
- context_data_val = 0;
12688
- } else context_data_position++;
12689
- value = value >> 1;
12690
- }
12691
- }
12692
- context_enlargeIn--;
12693
- if (context_enlargeIn == 0) {
12694
- context_enlargeIn = Math.pow(2, context_numBits);
12695
- context_numBits++;
12696
- }
12697
- }
12698
- value = 2;
12699
- for (i = 0; i < context_numBits; i++) {
12700
- context_data_val = context_data_val << 1 | value & 1;
12701
- if (context_data_position == bitsPerChar - 1) {
12702
- context_data_position = 0;
12703
- context_data.push(getCharFromInt(context_data_val));
12704
- context_data_val = 0;
12705
- } else context_data_position++;
12706
- value = value >> 1;
12707
- }
12708
- while (true) {
12709
- context_data_val = context_data_val << 1;
12710
- if (context_data_position == bitsPerChar - 1) {
12711
- context_data.push(getCharFromInt(context_data_val));
12712
- break;
12713
- } else context_data_position++;
12714
- }
12715
- return context_data.join("");
12716
- },
12717
- decompress: function(compressed) {
12718
- if (compressed == null) return "";
12719
- if (compressed == "") return null;
12720
- return LZString._decompress(compressed.length, 32768, function(index) {
12721
- return compressed.charCodeAt(index);
12722
- });
12723
- },
12724
- _decompress: function(length, resetValue, getNextValue) {
12725
- var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = {
12726
- val: getNextValue(0),
12727
- position: resetValue,
12728
- index: 1
12729
- };
12730
- for (i = 0; i < 3; i += 1) dictionary[i] = i;
12731
- bits = 0;
12732
- maxpower = Math.pow(2, 2);
12733
- power = 1;
12734
- while (power != maxpower) {
12735
- resb = data.val & data.position;
12736
- data.position >>= 1;
12737
- if (data.position == 0) {
12738
- data.position = resetValue;
12739
- data.val = getNextValue(data.index++);
12740
- }
12741
- bits |= (resb > 0 ? 1 : 0) * power;
12742
- power <<= 1;
12743
- }
12744
- switch (bits) {
12745
- case 0:
12746
- bits = 0;
12747
- maxpower = Math.pow(2, 8);
12748
- power = 1;
12749
- while (power != maxpower) {
12750
- resb = data.val & data.position;
12751
- data.position >>= 1;
12752
- if (data.position == 0) {
12753
- data.position = resetValue;
12754
- data.val = getNextValue(data.index++);
12755
- }
12756
- bits |= (resb > 0 ? 1 : 0) * power;
12757
- power <<= 1;
12758
- }
12759
- c = f(bits);
12760
- break;
12761
- case 1:
12762
- bits = 0;
12763
- maxpower = Math.pow(2, 16);
12764
- power = 1;
12765
- while (power != maxpower) {
12766
- resb = data.val & data.position;
12767
- data.position >>= 1;
12768
- if (data.position == 0) {
12769
- data.position = resetValue;
12770
- data.val = getNextValue(data.index++);
12771
- }
12772
- bits |= (resb > 0 ? 1 : 0) * power;
12773
- power <<= 1;
12774
- }
12775
- c = f(bits);
12776
- break;
12777
- case 2: return "";
12778
- }
12779
- dictionary[3] = c;
12780
- w = c;
12781
- result.push(c);
12782
- while (true) {
12783
- if (data.index > length) return "";
12784
- bits = 0;
12785
- maxpower = Math.pow(2, numBits);
12786
- power = 1;
12787
- while (power != maxpower) {
12788
- resb = data.val & data.position;
12789
- data.position >>= 1;
12790
- if (data.position == 0) {
12791
- data.position = resetValue;
12792
- data.val = getNextValue(data.index++);
12793
- }
12794
- bits |= (resb > 0 ? 1 : 0) * power;
12795
- power <<= 1;
12796
- }
12797
- switch (c = bits) {
12798
- case 0:
12799
- bits = 0;
12800
- maxpower = Math.pow(2, 8);
12801
- power = 1;
12802
- while (power != maxpower) {
12803
- resb = data.val & data.position;
12804
- data.position >>= 1;
12805
- if (data.position == 0) {
12806
- data.position = resetValue;
12807
- data.val = getNextValue(data.index++);
12808
- }
12809
- bits |= (resb > 0 ? 1 : 0) * power;
12810
- power <<= 1;
12811
- }
12812
- dictionary[dictSize++] = f(bits);
12813
- c = dictSize - 1;
12814
- enlargeIn--;
12815
- break;
12816
- case 1:
12817
- bits = 0;
12818
- maxpower = Math.pow(2, 16);
12819
- power = 1;
12820
- while (power != maxpower) {
12821
- resb = data.val & data.position;
12822
- data.position >>= 1;
12823
- if (data.position == 0) {
12824
- data.position = resetValue;
12825
- data.val = getNextValue(data.index++);
12826
- }
12827
- bits |= (resb > 0 ? 1 : 0) * power;
12828
- power <<= 1;
12829
- }
12830
- dictionary[dictSize++] = f(bits);
12831
- c = dictSize - 1;
12832
- enlargeIn--;
12833
- break;
12834
- case 2: return result.join("");
12835
- }
12836
- if (enlargeIn == 0) {
12837
- enlargeIn = Math.pow(2, numBits);
12838
- numBits++;
12839
- }
12840
- if (dictionary[c]) entry = dictionary[c];
12841
- else if (c === dictSize) entry = w + w.charAt(0);
12842
- else return null;
12843
- result.push(entry);
12844
- dictionary[dictSize++] = w + entry.charAt(0);
12845
- enlargeIn--;
12846
- w = entry;
12847
- if (enlargeIn == 0) {
12848
- enlargeIn = Math.pow(2, numBits);
12849
- numBits++;
12850
- }
12851
- }
12852
- }
12853
- };
12854
- return LZString;
12855
- })();
12856
- if (typeof define === "function" && define.amd) define(function() {
12857
- return LZString;
12858
- });
12859
- else if (typeof module !== "undefined" && module != null) module.exports = LZString;
12860
- else if (typeof angular !== "undefined" && angular != null) angular.module("LZString", []).factory("LZString", function() {
12861
- return LZString;
12862
- });
12863
- }));
12864
- //#endregion
12865
11772
  //#region ../../node_modules/es-toolkit/dist/array/countBy.mjs
12866
11773
  /**
12867
11774
  * Count the occurrences of each item in an array
@@ -13304,4 +12211,4 @@ var require_browser_dtector_umd_min = /* @__PURE__ */ __commonJSMin(((exports, m
13304
12211
  }));
13305
12212
  }));
13306
12213
  //#endregion
13307
- export { inspect$1 as A, init_omit as B, Assertion as C, use as D, init_chai as E, init_dist as F, mapValues as G, init_mergeWith as H, init_toMerged as I, init_isPlainObject as J, init_isEqual as K, toMerged as L, init_deepsignal_core_module as M, l as N, utils_exports as O, dequal as P, init_clsx as Q, init_pick as R, require_min_indent as S, expect as T, mergeWith as U, omit as V, init_mapValues as W, require_memoizerific as X, isPlainObject as Y, clsx as Z, init_accessible_description as _, throttle as a, require_lib as b, partition as c, require_lz_string as d, require_lite as f, computeAccessibleDescription as g, init_accessible_name as h, init_throttle as i, g as j, init_lib as k, countBy as l, computeAccessibleName as m, deletedDiff as n, require_copy_to_clipboard as o, init_dist$1 as p, isEqual as q, init_deleted as r, init_partition as s, require_browser_dtector_umd_min as t, init_countBy as u, require_ansi_regex as v, assert as w, require_indent_string as x, require_css_escape as y, pick as z };
12214
+ export { init_pick as A, init_isPlainObject as B, use as C, l as D, init_deepsignal_core_module as E, mergeWith as F, clsx as H, init_mapValues as I, mapValues as L, init_omit as M, omit as N, init_toMerged as O, init_mergeWith as P, init_isEqual as R, init_chai as S, g as T, init_clsx as U, isPlainObject as V, require_css_escape as _, throttle as a, assert as b, partition as c, init_dist as d, computeAccessibleName as f, require_ansi_regex as g, init_accessible_description as h, init_throttle as i, pick as j, toMerged as k, countBy as l, computeAccessibleDescription as m, deletedDiff as n, require_copy_to_clipboard as o, init_accessible_name as p, init_deleted as r, init_partition as s, require_browser_dtector_umd_min as t, init_countBy as u, require_lib as v, utils_exports as w, expect as x, Assertion as y, isEqual as z };