@aussieljk/forkbook 0.0.1-7 → 0.0.1-9

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 (270) hide show
  1. package/assets/create/templates/react-native/index.expo.js +4 -4
  2. package/assets/create/templates/react-native/index.js +5 -5
  3. package/assets/server/template.ejs +13 -0
  4. package/dist/_browser-chunks/{Color-2YRIFQLC.js → Color-GEC6HRBY.js} +2 -2
  5. package/dist/_browser-chunks/{WithTooltip-4R5JMWZ7.js → WithTooltip-CS3HPMGA.js} +6 -4
  6. package/dist/_browser-chunks/{chunk-4EFKUJG2.js → chunk-6QEYM2YW.js} +25 -25
  7. package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
  8. package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
  9. package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
  10. package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
  11. package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
  12. package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
  13. package/dist/_browser-chunks/{chunk-HTL5ODCB.js → chunk-PFCGVFP6.js} +3 -3
  14. package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
  15. package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
  16. package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
  17. package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
  18. package/dist/_node-chunks/{attached-runtime-WFZCCGUB.js → attached-runtime-OI5IEIR7.js} +30 -30
  19. package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
  20. package/dist/_node-chunks/{chunk-R6AKCXPH.js → chunk-2FWH7OUZ.js} +7 -7
  21. package/dist/_node-chunks/{chunk-MF5BYASO.js → chunk-2QPSOAHI.js} +6 -6
  22. package/dist/_node-chunks/{chunk-PQLXHVWK.js → chunk-2T2S3YYS.js} +6 -6
  23. package/dist/_node-chunks/{chunk-MF3AT3JQ.js → chunk-35JF5BS4.js} +6 -6
  24. package/dist/_node-chunks/{chunk-KHWCZDIW.js → chunk-3I43FMZC.js} +7 -7
  25. package/dist/_node-chunks/{chunk-7PMQPS5E.js → chunk-3R57KO3F.js} +10 -10
  26. package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
  27. package/dist/_node-chunks/{chunk-CNMMDQC3.js → chunk-4HYKKRBM.js} +13 -15
  28. package/dist/_node-chunks/{chunk-CBBFNVFZ.js → chunk-4W6HJYYC.js} +7 -7
  29. package/dist/_node-chunks/{chunk-6K3ZE4HN.js → chunk-57BBVTHQ.js} +6 -6
  30. package/dist/_node-chunks/{chunk-RZ7UEP4N.js → chunk-5MDE2KCS.js} +6 -6
  31. package/dist/_node-chunks/{chunk-JPHSU5OI.js → chunk-5NCRCPYK.js} +6 -6
  32. package/dist/_node-chunks/{chunk-CENNLCU7.js → chunk-6O6BHNDO.js} +7 -7
  33. package/dist/_node-chunks/{chunk-LZYYZ62Y.js → chunk-7PZDRNVT.js} +6 -6
  34. package/dist/_node-chunks/{chunk-QSP42ZBM.js → chunk-7X5WP3UJ.js} +6 -6
  35. package/dist/_node-chunks/{chunk-JDKYP7FW.js → chunk-7XYURNT2.js} +10 -10
  36. package/dist/_node-chunks/{chunk-HUMAXGH2.js → chunk-AONRQAQP.js} +6 -6
  37. package/dist/_node-chunks/{chunk-KWER36VB.js → chunk-ASFRQHZH.js} +6 -6
  38. package/dist/_node-chunks/{chunk-UNCBLHIP.js → chunk-AUY6EZPA.js} +10 -10
  39. package/dist/_node-chunks/{chunk-P3GOMPP3.js → chunk-BCFTMBAH.js} +7 -7
  40. package/dist/_node-chunks/{chunk-MRWBN46D.js → chunk-BEHNZYWF.js} +8 -8
  41. package/dist/_node-chunks/{chunk-UPJMGWMZ.js → chunk-BZNVRJ6H.js} +7 -7
  42. package/dist/_node-chunks/{chunk-ZSGOW4WQ.js → chunk-CHLWJ5F5.js} +6 -6
  43. package/dist/_node-chunks/{chunk-F3SAYS4R.js → chunk-CMDR42D7.js} +6 -6
  44. package/dist/_node-chunks/{chunk-QWRQXG2V.js → chunk-CP646EXE.js} +8 -8
  45. package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
  46. package/dist/_node-chunks/{chunk-NQAFLS5U.js → chunk-DMDIIGJ4.js} +7 -7
  47. package/dist/_node-chunks/{chunk-WHOF2BJB.js → chunk-DTZELAXT.js} +7 -7
  48. package/dist/_node-chunks/{chunk-BQC6WCUS.js → chunk-ELMANXC3.js} +6 -6
  49. package/dist/_node-chunks/{chunk-SHH7JROR.js → chunk-ELXK72IJ.js} +6 -6
  50. package/dist/_node-chunks/{chunk-LJTP5PAJ.js → chunk-F6RXCQF6.js} +6 -6
  51. package/dist/_node-chunks/{chunk-M7ZVSBNU.js → chunk-FKQHIPUA.js} +6 -6
  52. package/dist/_node-chunks/{chunk-X63YMAHP.js → chunk-FPWDVE2V.js} +7 -7
  53. package/dist/_node-chunks/{chunk-J3Q56GX3.js → chunk-FVJLKXNS.js} +23 -23
  54. package/dist/_node-chunks/{chunk-NUYBFTOU.js → chunk-GABGLW7D.js} +7 -7
  55. package/dist/_node-chunks/{chunk-Y6G64J5S.js → chunk-GOZDHTIK.js} +6 -6
  56. package/dist/_node-chunks/{chunk-QWDR5OWQ.js → chunk-GPSR4MZL.js} +15 -15
  57. package/dist/_node-chunks/{chunk-JED5F3H2.js → chunk-GZ2YC6US.js} +6 -6
  58. package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
  59. package/dist/_node-chunks/{chunk-I535GEPH.js → chunk-I6ANUF4J.js} +7 -7
  60. package/dist/_node-chunks/{chunk-MJFMB4WD.js → chunk-ICIP5FB5.js} +9 -9
  61. package/dist/_node-chunks/{chunk-O7VJA7SM.js → chunk-IK35TZRH.js} +7 -7
  62. package/dist/_node-chunks/{chunk-5PYQ573S.js → chunk-IOJ6NYLD.js} +7 -7
  63. package/dist/_node-chunks/{chunk-ESZIQTUH.js → chunk-IWEZ5KSJ.js} +7 -7
  64. package/dist/_node-chunks/{chunk-SWHTDOB4.js → chunk-JOOZKSBS.js} +7 -7
  65. package/dist/_node-chunks/{chunk-G2AANC4A.js → chunk-JXVJAA3U.js} +6 -6
  66. package/dist/_node-chunks/{chunk-ATX7SHS7.js → chunk-K6VX4GUH.js} +8 -8
  67. package/dist/_node-chunks/{chunk-ESCZ2NSB.js → chunk-L7US6VLX.js} +6 -6
  68. package/dist/_node-chunks/{chunk-UVV24PG4.js → chunk-LKMHU2P3.js} +7 -7
  69. package/dist/_node-chunks/{chunk-CDFQORVD.js → chunk-LMWS7NDR.js} +7 -7
  70. package/dist/_node-chunks/{chunk-WME5NEJA.js → chunk-LPDII6WJ.js} +6 -6
  71. package/dist/_node-chunks/{chunk-ZIDIYSJQ.js → chunk-MBJ2CUVU.js} +7 -7
  72. package/dist/_node-chunks/{chunk-6QZ3PX5R.js → chunk-MGXABKCL.js} +7 -7
  73. package/dist/_node-chunks/{chunk-BR4WDRY6.js → chunk-MHLTWQGQ.js} +8 -8
  74. package/dist/_node-chunks/{chunk-Q6QRFKHB.js → chunk-MMMKY3DA.js} +8 -8
  75. package/dist/_node-chunks/{chunk-WBB4NQ6H.js → chunk-MXNT3HBF.js} +6 -6
  76. package/dist/_node-chunks/{chunk-64JPAW3T.js → chunk-O7WMRMVJ.js} +6 -6
  77. package/dist/_node-chunks/{chunk-NSZGBFPR.js → chunk-OPLD7FOE.js} +6 -6
  78. package/dist/_node-chunks/{chunk-MBIIJTGQ.js → chunk-P4CWOISW.js} +7 -7
  79. package/dist/_node-chunks/{chunk-OGJ7LDX3.js → chunk-POXIO453.js} +7 -7
  80. package/dist/_node-chunks/{chunk-BRHJ4P3A.js → chunk-PRTTCG3N.js} +6 -6
  81. package/dist/_node-chunks/{chunk-K5RUOW42.js → chunk-QE3NKWUX.js} +7 -7
  82. package/dist/_node-chunks/{chunk-SZYMLCHF.js → chunk-QMERCCIQ.js} +6 -6
  83. package/dist/_node-chunks/{chunk-U3E7E4Q2.js → chunk-QVF2NJK4.js} +10 -10
  84. package/dist/_node-chunks/{chunk-YZWUD7I5.js → chunk-R33EXC6B.js} +50 -50
  85. package/dist/_node-chunks/{chunk-JQICISDD.js → chunk-R3BJJGEG.js} +6 -6
  86. package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
  87. package/dist/_node-chunks/{chunk-7V5AOV2J.js → chunk-RJV4QWRP.js} +7 -7
  88. package/dist/_node-chunks/{chunk-3ZCGT6VF.js → chunk-RXEMA2TT.js} +6 -6
  89. package/dist/_node-chunks/{chunk-S3HB4EWT.js → chunk-TKOUTJWX.js} +8 -8
  90. package/dist/_node-chunks/{chunk-TOGDRW2W.js → chunk-TRZWEDUE.js} +6 -6
  91. package/dist/_node-chunks/{chunk-YVIPYJ53.js → chunk-U3BEYEZ5.js} +8 -8
  92. package/dist/_node-chunks/{chunk-UF6Q6L5C.js → chunk-UI6NW64P.js} +125 -144
  93. package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
  94. package/dist/_node-chunks/{chunk-JMS4H7QB.js → chunk-VF6725VX.js} +7 -7
  95. package/dist/_node-chunks/{chunk-7HVDL6M3.js → chunk-VJJTMS2R.js} +9 -9
  96. package/dist/_node-chunks/{chunk-7VHCAGBJ.js → chunk-VQBXHU2T.js} +8 -8
  97. package/dist/_node-chunks/{chunk-DT45EUDD.js → chunk-VZ3PQJKF.js} +27 -32
  98. package/dist/_node-chunks/{chunk-6CB3XSQ2.js → chunk-WI6FDUOM.js} +8 -8
  99. package/dist/_node-chunks/{chunk-U6DHF3RM.js → chunk-WTS7HYGM.js} +7 -7
  100. package/dist/_node-chunks/{chunk-OWT6AVWK.js → chunk-WXMIR2F2.js} +8 -8
  101. package/dist/_node-chunks/{chunk-FVFSSIGA.js → chunk-XA2UQNP3.js} +10 -10
  102. package/dist/_node-chunks/{chunk-FTUQ7T3V.js → chunk-Y2FWEOIW.js} +8 -8
  103. package/dist/_node-chunks/{chunk-EAL4RVEF.js → chunk-Y5JLYH6J.js} +6 -6
  104. package/dist/_node-chunks/{chunk-JOSJ64KD.js → chunk-YELBVH4K.js} +7 -7
  105. package/dist/_node-chunks/{chunk-MZQXEAI6.js → chunk-YK5N35SR.js} +9 -9
  106. package/dist/_node-chunks/{chunk-4HGC3G6B.js → chunk-YLXOGJX6.js} +21 -9
  107. package/dist/_node-chunks/{chunk-NLPC2DDQ.js → chunk-YSVJU5VZ.js} +6 -6
  108. package/dist/_node-chunks/{chunk-RCY7TLET.js → chunk-ZFTEHWNT.js} +8 -8
  109. package/dist/_node-chunks/{chunk-JTLOSDYL.js → chunk-ZLBDSC7U.js} +9 -9
  110. package/dist/_node-chunks/{chunk-UAG3XK32.js → chunk-ZMI35R7E.js} +47 -36
  111. package/dist/_node-chunks/{chunk-RKKMQA6N.js → chunk-ZOE2QQSS.js} +8 -8
  112. package/dist/_node-chunks/{chunk-DMDZPUHM.js → chunk-ZST2SPBX.js} +6 -6
  113. package/dist/_node-chunks/{chunk-Y2GHAOKI.js → chunk-ZUYRTHXN.js} +6 -6
  114. package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
  115. package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
  116. package/dist/_node-chunks/{local-runtime-UN5QK2SE.js → local-runtime-LKT5I6NG.js} +20 -20
  117. package/dist/_node-chunks/{mdx-plugin-6M6CMNL3.js → mdx-plugin-2YIBFVCV.js} +13 -13
  118. package/dist/_node-chunks/{monorepo-253VKW4B.js → monorepo-HROZW452.js} +11 -11
  119. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
  120. package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
  121. package/dist/_node-chunks/{pattern-copy-play-CCCJRMSL.js → pattern-copy-play-VQNMME5S.js} +11 -11
  122. package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
  123. package/dist/_node-chunks/{rehype-external-links-LJTPLCGD.js → rehype-external-links-WXD3NVWK.js} +9 -9
  124. package/dist/_node-chunks/{rehype-slug-KQI7ULEZ.js → rehype-slug-LWBEJBWR.js} +9 -9
  125. package/dist/_node-chunks/{relaxed-limits-MUE2NI7S.js → relaxed-limits-MKV6OE3S.js} +11 -11
  126. package/dist/_node-chunks/{run-SYLR25HA.js → run-A4A2HQDT.js} +17 -17
  127. package/dist/_node-chunks/{run-PGZMPNMS.js → run-UBPF7ZUG.js} +53 -26
  128. package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
  129. package/dist/_node-chunks/{setup-XZWSUYPG.js → setup-SMMCS2Q5.js} +8 -8
  130. package/dist/_node-chunks/{vitest.config.4.template-T25YYRGV.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
  131. package/dist/addon-a11y/index.js +1 -1
  132. package/dist/addon-a11y/manager.js +19 -23
  133. package/dist/addon-a11y/preset.js +7 -7
  134. package/dist/addon-a11y/preview.js +1 -1
  135. package/dist/addon-docs/blocks.js +21 -27
  136. package/dist/addon-docs/manager.js +2 -2
  137. package/dist/addon-docs/preset.js +10 -10
  138. package/dist/addon-links/index.js +4 -2
  139. package/dist/addon-links/preview.d.ts +1 -1
  140. package/dist/addon-links/preview.js +4 -2
  141. package/dist/addon-links/react/index.js +3 -1
  142. package/dist/addon-mcp/preset.js +10 -10
  143. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +8 -10
  144. package/dist/addon-pseudo-states/manager.js +2 -2
  145. package/dist/addon-themes/manager.js +3 -3
  146. package/dist/addon-themes/postinstall.js +7 -7
  147. package/dist/addon-vitest/constants.js +8 -8
  148. package/dist/addon-vitest/manager.js +8 -8
  149. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  150. package/dist/addon-vitest/node/vitest.js +16 -16
  151. package/dist/addon-vitest/postinstall.js +10 -10
  152. package/dist/addon-vitest/preset.js +14 -14
  153. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  154. package/dist/addon-vitest/vitest-plugin/index.js +15 -15
  155. package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
  156. package/dist/babel/index.js +11 -11
  157. package/dist/bin/core.js +62 -62
  158. package/dist/bin/dispatcher.js +13 -16
  159. package/dist/bin/loader.js +8 -8
  160. package/dist/builder-vite/index.js +15 -15
  161. package/dist/builder-vite/preset.js +13 -13
  162. package/dist/{chunk-B_ZhEPlo.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
  163. package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
  164. package/dist/{chunk-CMaYrou5.d.ts → chunk-DXsI731B.d.ts} +1 -1
  165. package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
  166. package/dist/{chunk-LrH1y9J2.d.ts → chunk-PdOIKm0H.d.ts} +42 -9
  167. package/dist/cli/index.d.ts +1 -1
  168. package/dist/cli/index.js +22 -22
  169. package/dist/cli/skills/content/index.d.ts +1 -1
  170. package/dist/cli/skills/content/index.js +2 -2
  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/common/index.d.ts +14 -27
  177. package/dist/common/index.js +36 -40
  178. package/dist/components/index.d.ts +38 -1
  179. package/dist/components/index.js +597 -522
  180. package/dist/core-server/index.d.ts +6 -6
  181. package/dist/core-server/index.js +283 -174
  182. package/dist/core-server/presets/common-manager.js +492 -118
  183. package/dist/core-server/presets/common-override-preset.js +10 -10
  184. package/dist/core-server/presets/common-preset.js +51 -43
  185. package/dist/create/bin/index.js +7 -7
  186. package/dist/create/index.js +15 -15
  187. package/dist/csf-tools/index.d.ts +3 -1
  188. package/dist/csf-tools/index.js +14 -12
  189. package/dist/manager/_manager-chunks/{globals-runtime-CI-C7ncS.js → globals-runtime-B1q30If4.js} +4 -4
  190. package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
  191. package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
  192. package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
  193. package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
  194. package/dist/manager/_manager-chunks/{globals-runtime-BKPOYSwp.js → globals-runtime-C4GdZS7_.js} +4 -4
  195. package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
  196. package/dist/manager/_manager-chunks/{globals-runtime-CzEhVGVp.js → globals-runtime-CnfHMZV0.js} +153 -27
  197. package/dist/manager/_manager-chunks/{globals-runtime-BMIT8BJb.js → globals-runtime-DgHSAUIB.js} +1 -1
  198. package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
  199. package/dist/manager/_manager-chunks/{globals-runtime-DMq1Phbl.js → globals-runtime-FcobHVj9.js} +480 -375
  200. package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
  201. package/dist/manager/_manager-chunks/{globals-runtime-CI_p54Ha.js → globals-runtime-dh5vgpgm.js} +238 -232
  202. package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
  203. package/dist/manager/_manager-chunks/{runtime-Cf0p9DUx.js → runtime-BSkBrZa7.js} +3 -3
  204. package/dist/manager/_manager-chunks/{runtime-D09XMY6V.js → runtime-Bdda1ODD.js} +1 -1
  205. package/dist/manager/_manager-chunks/{runtime-B4U0u9p4.js → runtime-Bp_XtatN.js} +2 -2
  206. package/dist/manager/_manager-chunks/{runtime-D-nYLsdk.js → runtime-D-bkVc6v.js} +32 -31
  207. package/dist/manager/_manager-chunks/{runtime-DzxaTqVN.js → runtime-DP_7wWTN.js} +2 -2
  208. package/dist/manager/_manager-chunks/{runtime-BM30BmeT.js → runtime-DlX-MKi1.js} +335 -327
  209. package/dist/manager/_manager-chunks/{runtime-ecY5qnmo.js → runtime-TytMkKcC.js} +339 -240
  210. package/dist/manager/_manager-chunks/{runtime-DvrwKw7z.js → runtime-jOBCBZ66.js} +98 -61
  211. package/dist/manager/globals-runtime.js +1 -1
  212. package/dist/manager/globals.d.ts +1 -1
  213. package/dist/manager/globals.js +1 -1
  214. package/dist/manager/runtime.js +1 -1
  215. package/dist/manager-api/index.d.ts +1 -1
  216. package/dist/manager-api/index.js +34 -9
  217. package/dist/manager-errors.d.ts +1 -1
  218. package/dist/mcp/index.js +8 -8
  219. package/dist/mocking-utils/index.js +9 -9
  220. package/dist/nextjs-vite/index.d.ts +2 -2
  221. package/dist/nextjs-vite/node/index.d.ts +2 -2
  222. package/dist/nextjs-vite/node/index.js +7 -7
  223. package/dist/nextjs-vite/preset.js +11 -11
  224. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  225. package/dist/nextjs-vite-plugin/index.js +8 -8
  226. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  227. package/dist/node-logger/index.js +9 -9
  228. package/dist/oxc-parser/index.js +10 -10
  229. package/dist/oxc-parser/worker.js +10 -10
  230. package/dist/preview-api/index.d.ts +1 -1
  231. package/dist/preview-errors.d.ts +1 -1
  232. package/dist/react/docgen/docgen-worker.js +11 -11
  233. package/dist/react/preset.js +13 -13
  234. package/dist/react-native/bin/get-stories.js +12 -12
  235. package/dist/react-native/index.d.ts +8 -8
  236. package/dist/react-native/index.js +3 -3
  237. package/dist/react-native/metro/node.js +10 -10
  238. package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
  239. package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
  240. package/dist/react-native/scripts/generate.d.ts +1 -1
  241. package/dist/react-native/scripts/generate.js +8 -8
  242. package/dist/react-native/stub.js +1 -1
  243. package/dist/react-vite/index.d.ts +2 -2
  244. package/dist/react-vite/node/index.d.ts +3 -3
  245. package/dist/react-vite/node/index.js +7 -7
  246. package/dist/react-vite/preset.js +7 -7
  247. package/dist/router/index.d.ts +69 -1
  248. package/dist/router/index.js +48 -8
  249. package/dist/server-errors.d.ts +1 -1
  250. package/dist/server-errors.js +9 -9
  251. package/dist/shared/open-service/index.d.ts +1 -1
  252. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  253. package/dist/telemetry/index.d.ts +3 -3
  254. package/dist/telemetry/index.js +43 -43
  255. package/dist/theming/index.js +13 -9
  256. package/dist/types/index.d.ts +2 -2
  257. package/package.json +7 -9
  258. package/dist/_node-chunks/builder-manager-DHKHRZK4.js +0 -1623
  259. package/dist/_node-chunks/chunk-EFFWFE6W.js +0 -11
  260. package/dist/_node-chunks/chunk-UGXN7JTT.js +0 -18
  261. package/dist/_node-chunks/dist-5EG56KTF.js +0 -16
  262. package/dist/_node-chunks/dist-UEXSNGGQ.js +0 -27
  263. package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +0 -22
  264. package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +0 -20
  265. package/dist/_node-chunks/session-id-J4A25UQ6.js +0 -23
  266. package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
  267. package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
  268. package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
  269. package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
  270. package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
@@ -1,5 +1,5 @@
1
- import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
- import { P as require_scheduler, i as useLatest, n as useComposedRef, r as init_use_latest_esm, t as init_use_composed_ref_esm } from "./globals-runtime-DB8fVA5g.js";
1
+ import { a as __toESM, n as __esmMin, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
+ import { P as require_scheduler, i as useLatest, n as useComposedRef, r as init_use_latest_esm, t as init_use_composed_ref_esm } from "./globals-runtime-CA8AuIRT.js";
3
3
  import { a as _assertThisInitialized, i as init_inheritsLoose, l as _objectWithoutPropertiesLoose$1, n as init_wrapNativeSuper, r as _inheritsLoose, s as _extends$2, t as _wrapNativeSuper } from "./globals-runtime-DwFqpqya.js";
4
4
  import { a as createPath, c as invariant, d as resolveTo, f as stripBasename, i as createMemoryHistory, l as joinPaths, n as Action, o as getPathContributingMatches, r as createBrowserHistory, s as init_router, u as parsePath } from "./globals-runtime-CBviMKtt.js";
5
5
  //#region ../../node_modules/react/cjs/react.production.min.js
@@ -7281,197 +7281,6 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7281
7281
  module.exports = require_react_jsx_runtime_production_min();
7282
7282
  }));
7283
7283
  //#endregion
7284
- //#region ../../node_modules/memoizerific/memoizerific.js
7285
- var require_memoizerific = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7286
- (function(f) {
7287
- if (typeof exports === "object" && typeof module !== "undefined") module.exports = f();
7288
- else if (typeof define === "function" && define.amd) define([], f);
7289
- else {
7290
- var g;
7291
- if (typeof window !== "undefined") g = window;
7292
- else if (typeof global !== "undefined") g = global;
7293
- else if (typeof self !== "undefined") g = self;
7294
- else g = this;
7295
- g.memoizerific = f();
7296
- }
7297
- })(function() {
7298
- return (function e(t, n, r) {
7299
- function s(o, u) {
7300
- if (!n[o]) {
7301
- if (!t[o]) {
7302
- var a = typeof __require == "function" && __require;
7303
- if (!u && a) return a(o, !0);
7304
- if (i) return i(o, !0);
7305
- var f = /* @__PURE__ */ new Error("Cannot find module '" + o + "'");
7306
- throw f.code = "MODULE_NOT_FOUND", f;
7307
- }
7308
- var l = n[o] = { exports: {} };
7309
- t[o][0].call(l.exports, function(e) {
7310
- var n = t[o][1][e];
7311
- return s(n ? n : e);
7312
- }, l, l.exports, e, t, n, r);
7313
- }
7314
- return n[o].exports;
7315
- }
7316
- var i = typeof __require == "function" && __require;
7317
- for (var o = 0; o < r.length; o++) s(r[o]);
7318
- return s;
7319
- })({
7320
- 1: [function(_dereq_, module, exports) {
7321
- module.exports = function(forceSimilar) {
7322
- if (typeof Map !== "function" || forceSimilar) return new (_dereq_("./similar"))();
7323
- else return /* @__PURE__ */ new Map();
7324
- };
7325
- }, { "./similar": 2 }],
7326
- 2: [function(_dereq_, module, exports) {
7327
- function Similar() {
7328
- this.list = [];
7329
- this.lastItem = void 0;
7330
- this.size = 0;
7331
- return this;
7332
- }
7333
- Similar.prototype.get = function(key) {
7334
- var index;
7335
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) return this.lastItem.val;
7336
- index = this.indexOf(key);
7337
- if (index >= 0) {
7338
- this.lastItem = this.list[index];
7339
- return this.list[index].val;
7340
- }
7341
- };
7342
- Similar.prototype.set = function(key, val) {
7343
- var index;
7344
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) {
7345
- this.lastItem.val = val;
7346
- return this;
7347
- }
7348
- index = this.indexOf(key);
7349
- if (index >= 0) {
7350
- this.lastItem = this.list[index];
7351
- this.list[index].val = val;
7352
- return this;
7353
- }
7354
- this.lastItem = {
7355
- key,
7356
- val
7357
- };
7358
- this.list.push(this.lastItem);
7359
- this.size++;
7360
- return this;
7361
- };
7362
- Similar.prototype.delete = function(key) {
7363
- var index;
7364
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) this.lastItem = void 0;
7365
- index = this.indexOf(key);
7366
- if (index >= 0) {
7367
- this.size--;
7368
- return this.list.splice(index, 1)[0];
7369
- }
7370
- };
7371
- Similar.prototype.has = function(key) {
7372
- var index;
7373
- if (this.lastItem && this.isEqual(this.lastItem.key, key)) return true;
7374
- index = this.indexOf(key);
7375
- if (index >= 0) {
7376
- this.lastItem = this.list[index];
7377
- return true;
7378
- }
7379
- return false;
7380
- };
7381
- Similar.prototype.forEach = function(callback, thisArg) {
7382
- var i = 0;
7383
- for (; i < this.size; i++) callback.call(thisArg || this, this.list[i].val, this.list[i].key, this);
7384
- };
7385
- Similar.prototype.indexOf = function(key) {
7386
- var i = 0;
7387
- for (; i < this.size; i++) if (this.isEqual(this.list[i].key, key)) return i;
7388
- return -1;
7389
- };
7390
- Similar.prototype.isEqual = function(val1, val2) {
7391
- return val1 === val2 || val1 !== val1 && val2 !== val2;
7392
- };
7393
- module.exports = Similar;
7394
- }, {}],
7395
- 3: [function(_dereq_, module, exports) {
7396
- var MapOrSimilar = _dereq_("map-or-similar");
7397
- module.exports = function(limit) {
7398
- var cache = new MapOrSimilar(false), lru = [];
7399
- return function(fn) {
7400
- var memoizerific = function() {
7401
- var currentCache = cache, newMap, fnResult, argsLengthMinusOne = arguments.length - 1, lruPath = Array(argsLengthMinusOne + 1), isMemoized = true, i;
7402
- 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");
7403
- for (i = 0; i < argsLengthMinusOne; i++) {
7404
- lruPath[i] = {
7405
- cacheItem: currentCache,
7406
- arg: arguments[i]
7407
- };
7408
- if (currentCache.has(arguments[i])) {
7409
- currentCache = currentCache.get(arguments[i]);
7410
- continue;
7411
- }
7412
- isMemoized = false;
7413
- newMap = new MapOrSimilar(false);
7414
- currentCache.set(arguments[i], newMap);
7415
- currentCache = newMap;
7416
- }
7417
- if (isMemoized) {
7418
- if (currentCache.has(arguments[argsLengthMinusOne])) fnResult = currentCache.get(arguments[argsLengthMinusOne]);
7419
- else isMemoized = false;
7420
- }
7421
- if (!isMemoized) {
7422
- fnResult = fn.apply(null, arguments);
7423
- currentCache.set(arguments[argsLengthMinusOne], fnResult);
7424
- }
7425
- if (limit > 0) {
7426
- lruPath[argsLengthMinusOne] = {
7427
- cacheItem: currentCache,
7428
- arg: arguments[argsLengthMinusOne]
7429
- };
7430
- if (isMemoized) moveToMostRecentLru(lru, lruPath);
7431
- else lru.push(lruPath);
7432
- if (lru.length > limit) removeCachedResult(lru.shift());
7433
- }
7434
- memoizerific.wasMemoized = isMemoized;
7435
- memoizerific.numArgs = argsLengthMinusOne + 1;
7436
- return fnResult;
7437
- };
7438
- memoizerific.limit = limit;
7439
- memoizerific.wasMemoized = false;
7440
- memoizerific.cache = cache;
7441
- memoizerific.lru = lru;
7442
- return memoizerific;
7443
- };
7444
- };
7445
- function moveToMostRecentLru(lru, lruPath) {
7446
- var lruLen = lru.length, lruPathLen = lruPath.length, isMatch, i = 0, ii;
7447
- for (; i < lruLen; i++) {
7448
- isMatch = true;
7449
- for (ii = 0; ii < lruPathLen; ii++) if (!isEqual(lru[i][ii].arg, lruPath[ii].arg)) {
7450
- isMatch = false;
7451
- break;
7452
- }
7453
- if (isMatch) break;
7454
- }
7455
- lru.push(lru.splice(i, 1)[0]);
7456
- }
7457
- function removeCachedResult(removedLru) {
7458
- var removedLruLen = removedLru.length, currentLru = removedLru[removedLruLen - 1], tmp, i;
7459
- currentLru.cacheItem.delete(currentLru.arg);
7460
- for (i = removedLruLen - 2; i >= 0; i--) {
7461
- currentLru = removedLru[i];
7462
- tmp = currentLru.cacheItem.get(currentLru.arg);
7463
- if (!tmp || !tmp.size) currentLru.cacheItem.delete(currentLru.arg);
7464
- else break;
7465
- }
7466
- }
7467
- function isEqual(val1, val2) {
7468
- return val1 === val2 || val1 !== val1 && val2 !== val2;
7469
- }
7470
- }, { "map-or-similar": 1 }]
7471
- }, {}, [3])(3);
7472
- });
7473
- }));
7474
- //#endregion
7475
7284
  //#region ../../node_modules/picocolors/picocolors.browser.js
7476
7285
  var require_picocolors_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7477
7286
  var x = String;
@@ -8416,1004 +8225,6 @@ function init_main() {
8416
8225
  })))();
8417
8226
  }
8418
8227
  //#endregion
8419
- //#region ../../node_modules/nanoid/index.browser.js
8420
- var nanoid;
8421
- function init_index_browser() {
8422
- return (init_index_browser = __esmMin((() => {
8423
- nanoid = (size = 21) => crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
8424
- byte &= 63;
8425
- if (byte < 36) id += byte.toString(36);
8426
- else if (byte < 62) id += (byte - 26).toString(36).toUpperCase();
8427
- else if (byte > 62) id += "-";
8428
- else id += "_";
8429
- return id;
8430
- }, "");
8431
- })))();
8432
- }
8433
- //#endregion
8434
- //#region ../../node_modules/loupe/lib/helpers.js
8435
- function colorise(value, styleType) {
8436
- const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
8437
- if (!color) return String(value);
8438
- return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
8439
- }
8440
- function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
8441
- const options = {
8442
- showHidden: Boolean(showHidden),
8443
- depth: Number(depth),
8444
- colors: Boolean(colors),
8445
- customInspect: Boolean(customInspect),
8446
- showProxy: Boolean(showProxy),
8447
- maxArrayLength: Number(maxArrayLength),
8448
- breakLength: Number(breakLength),
8449
- truncate: Number(truncate),
8450
- seen,
8451
- inspect,
8452
- stylize
8453
- };
8454
- if (options.colors) options.stylize = colorise;
8455
- return options;
8456
- }
8457
- function isHighSurrogate(char) {
8458
- return char >= "\ud800" && char <= "\udbff";
8459
- }
8460
- function truncate(string, length, tail = "…") {
8461
- string = String(string);
8462
- const tailLength = tail.length;
8463
- const stringLength = string.length;
8464
- if (tailLength > length && stringLength > tailLength) return tail;
8465
- if (stringLength > length && stringLength > tailLength) {
8466
- let end = length - tailLength;
8467
- if (end > 0 && isHighSurrogate(string[end - 1])) end = end - 1;
8468
- return `${string.slice(0, end)}${tail}`;
8469
- }
8470
- return string;
8471
- }
8472
- function inspectList(list, options, inspectItem, separator = ", ") {
8473
- inspectItem = inspectItem || options.inspect;
8474
- const size = list.length;
8475
- if (size === 0) return "";
8476
- const originalLength = options.truncate;
8477
- let output = "";
8478
- let peek = "";
8479
- let truncated = "";
8480
- for (let i = 0; i < size; i += 1) {
8481
- const last = i + 1 === list.length;
8482
- const secondToLast = i + 2 === list.length;
8483
- truncated = `…(${list.length - i})`;
8484
- const value = list[i];
8485
- options.truncate = originalLength - output.length - (last ? 0 : separator.length);
8486
- const string = peek || inspectItem(value, options) + (last ? "" : separator);
8487
- const nextLength = output.length + string.length;
8488
- const truncatedLength = nextLength + truncated.length;
8489
- if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
8490
- if (!last && !secondToLast && truncatedLength > originalLength) break;
8491
- peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
8492
- if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
8493
- output += string;
8494
- if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
8495
- truncated = `…(${list.length - i - 1})`;
8496
- break;
8497
- }
8498
- truncated = "";
8499
- }
8500
- return `${output}${truncated}`;
8501
- }
8502
- function quoteComplexKey(key) {
8503
- if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
8504
- return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
8505
- }
8506
- function inspectProperty([key, value], options) {
8507
- options.truncate -= 2;
8508
- if (typeof key === "string") key = quoteComplexKey(key);
8509
- else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
8510
- options.truncate -= key.length;
8511
- value = options.inspect(value, options);
8512
- return `${key}: ${value}`;
8513
- }
8514
- var ansiColors, styles;
8515
- function init_helpers() {
8516
- return (init_helpers = __esmMin((() => {
8517
- ansiColors = {
8518
- bold: ["1", "22"],
8519
- dim: ["2", "22"],
8520
- italic: ["3", "23"],
8521
- underline: ["4", "24"],
8522
- inverse: ["7", "27"],
8523
- hidden: ["8", "28"],
8524
- strike: ["9", "29"],
8525
- black: ["30", "39"],
8526
- red: ["31", "39"],
8527
- green: ["32", "39"],
8528
- yellow: ["33", "39"],
8529
- blue: ["34", "39"],
8530
- magenta: ["35", "39"],
8531
- cyan: ["36", "39"],
8532
- white: ["37", "39"],
8533
- brightblack: ["30;1", "39"],
8534
- brightred: ["31;1", "39"],
8535
- brightgreen: ["32;1", "39"],
8536
- brightyellow: ["33;1", "39"],
8537
- brightblue: ["34;1", "39"],
8538
- brightmagenta: ["35;1", "39"],
8539
- brightcyan: ["36;1", "39"],
8540
- brightwhite: ["37;1", "39"],
8541
- grey: ["90", "39"]
8542
- };
8543
- styles = {
8544
- special: "cyan",
8545
- number: "yellow",
8546
- bigint: "yellow",
8547
- boolean: "yellow",
8548
- undefined: "grey",
8549
- null: "bold",
8550
- string: "green",
8551
- symbol: "green",
8552
- date: "magenta",
8553
- regexp: "red"
8554
- };
8555
- })))();
8556
- }
8557
- //#endregion
8558
- //#region ../../node_modules/loupe/lib/array.js
8559
- function inspectArray(array, options) {
8560
- const nonIndexProperties = Object.keys(array).slice(array.length);
8561
- if (!array.length && !nonIndexProperties.length) return "[]";
8562
- options.truncate -= 4;
8563
- const listContents = inspectList(array, options);
8564
- options.truncate -= listContents.length;
8565
- let propertyContents = "";
8566
- if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8567
- return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8568
- }
8569
- function init_array() {
8570
- return (init_array = __esmMin((() => {
8571
- init_helpers();
8572
- })))();
8573
- }
8574
- //#endregion
8575
- //#region ../../node_modules/loupe/lib/typedarray.js
8576
- function inspectTypedArray(array, options) {
8577
- const name = getArrayName(array);
8578
- options.truncate -= name.length + 4;
8579
- const nonIndexProperties = Object.keys(array).slice(array.length);
8580
- if (!array.length && !nonIndexProperties.length) return `${name}[]`;
8581
- let output = "";
8582
- for (let i = 0; i < array.length; i++) {
8583
- const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
8584
- options.truncate -= string.length;
8585
- if (array[i] !== array.length && options.truncate <= 3) {
8586
- output += `…(${array.length - array[i] + 1})`;
8587
- break;
8588
- }
8589
- output += string;
8590
- }
8591
- let propertyContents = "";
8592
- if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
8593
- return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
8594
- }
8595
- var getArrayName;
8596
- function init_typedarray() {
8597
- return (init_typedarray = __esmMin((() => {
8598
- init_helpers();
8599
- getArrayName = (array) => {
8600
- if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
8601
- if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
8602
- return array.constructor.name;
8603
- };
8604
- })))();
8605
- }
8606
- //#endregion
8607
- //#region ../../node_modules/loupe/lib/date.js
8608
- function inspectDate(dateObject, options) {
8609
- const stringRepresentation = dateObject.toJSON();
8610
- if (stringRepresentation === null) return "Invalid Date";
8611
- const split = stringRepresentation.split("T");
8612
- const date = split[0];
8613
- return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
8614
- }
8615
- function init_date() {
8616
- return (init_date = __esmMin((() => {
8617
- init_helpers();
8618
- })))();
8619
- }
8620
- //#endregion
8621
- //#region ../../node_modules/loupe/lib/function.js
8622
- function inspectFunction(func, options) {
8623
- const functionType = func[Symbol.toStringTag] || "Function";
8624
- const name = func.name;
8625
- if (!name) return options.stylize(`[${functionType}]`, "special");
8626
- return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
8627
- }
8628
- function init_function() {
8629
- return (init_function = __esmMin((() => {
8630
- init_helpers();
8631
- })))();
8632
- }
8633
- //#endregion
8634
- //#region ../../node_modules/loupe/lib/map.js
8635
- function inspectMapEntry([key, value], options) {
8636
- options.truncate -= 4;
8637
- key = options.inspect(key, options);
8638
- options.truncate -= key.length;
8639
- value = options.inspect(value, options);
8640
- return `${key} => ${value}`;
8641
- }
8642
- function mapToEntries(map) {
8643
- const entries = [];
8644
- map.forEach((value, key) => {
8645
- entries.push([key, value]);
8646
- });
8647
- return entries;
8648
- }
8649
- function inspectMap(map, options) {
8650
- if (map.size === 0) return "Map{}";
8651
- options.truncate -= 7;
8652
- return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
8653
- }
8654
- function init_map() {
8655
- return (init_map = __esmMin((() => {
8656
- init_helpers();
8657
- })))();
8658
- }
8659
- //#endregion
8660
- //#region ../../node_modules/loupe/lib/number.js
8661
- function inspectNumber(number, options) {
8662
- if (isNaN$1(number)) return options.stylize("NaN", "number");
8663
- if (number === Infinity) return options.stylize("Infinity", "number");
8664
- if (number === -Infinity) return options.stylize("-Infinity", "number");
8665
- if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
8666
- return options.stylize(truncate(String(number), options.truncate), "number");
8667
- }
8668
- var isNaN$1;
8669
- function init_number() {
8670
- return (init_number = __esmMin((() => {
8671
- init_helpers();
8672
- isNaN$1 = Number.isNaN || ((i) => i !== i);
8673
- })))();
8674
- }
8675
- //#endregion
8676
- //#region ../../node_modules/loupe/lib/bigint.js
8677
- function inspectBigInt(number, options) {
8678
- let nums = truncate(number.toString(), options.truncate - 1);
8679
- if (nums !== "…") nums += "n";
8680
- return options.stylize(nums, "bigint");
8681
- }
8682
- function init_bigint() {
8683
- return (init_bigint = __esmMin((() => {
8684
- init_helpers();
8685
- })))();
8686
- }
8687
- //#endregion
8688
- //#region ../../node_modules/loupe/lib/regexp.js
8689
- function inspectRegExp(value, options) {
8690
- const flags = value.toString().split("/")[2];
8691
- const sourceLength = options.truncate - (2 + flags.length);
8692
- const source = value.source;
8693
- return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
8694
- }
8695
- function init_regexp() {
8696
- return (init_regexp = __esmMin((() => {
8697
- init_helpers();
8698
- })))();
8699
- }
8700
- //#endregion
8701
- //#region ../../node_modules/loupe/lib/set.js
8702
- function arrayFromSet(set) {
8703
- const values = [];
8704
- set.forEach((value) => {
8705
- values.push(value);
8706
- });
8707
- return values;
8708
- }
8709
- function inspectSet(set, options) {
8710
- if (set.size === 0) return "Set{}";
8711
- options.truncate -= 7;
8712
- return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
8713
- }
8714
- function init_set() {
8715
- return (init_set = __esmMin((() => {
8716
- init_helpers();
8717
- })))();
8718
- }
8719
- //#endregion
8720
- //#region ../../node_modules/loupe/lib/string.js
8721
- function escape(char) {
8722
- return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-4)}`;
8723
- }
8724
- function inspectString(string, options) {
8725
- if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
8726
- return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
8727
- }
8728
- var stringEscapeChars, escapeCharacters, hex;
8729
- function init_string() {
8730
- return (init_string = __esmMin((() => {
8731
- init_helpers();
8732
- stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
8733
- escapeCharacters = {
8734
- "\b": "\\b",
8735
- " ": "\\t",
8736
- "\n": "\\n",
8737
- "\f": "\\f",
8738
- "\r": "\\r",
8739
- "'": "\\'",
8740
- "\\": "\\\\"
8741
- };
8742
- hex = 16;
8743
- })))();
8744
- }
8745
- //#endregion
8746
- //#region ../../node_modules/loupe/lib/symbol.js
8747
- function inspectSymbol(value) {
8748
- if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
8749
- return value.toString();
8750
- }
8751
- //#endregion
8752
- //#region ../../node_modules/loupe/lib/promise.js
8753
- var getPromiseValue;
8754
- function init_promise() {
8755
- return (init_promise = __esmMin((() => {
8756
- getPromiseValue = () => "Promise{…}";
8757
- })))();
8758
- }
8759
- //#endregion
8760
- //#region ../../node_modules/loupe/lib/object.js
8761
- function inspectObject$1(object, options) {
8762
- const properties = Object.getOwnPropertyNames(object);
8763
- const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
8764
- if (properties.length === 0 && symbols.length === 0) return "{}";
8765
- options.truncate -= 4;
8766
- options.seen = options.seen || [];
8767
- if (options.seen.includes(object)) return "[Circular]";
8768
- options.seen.push(object);
8769
- const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
8770
- const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
8771
- options.seen.pop();
8772
- let sep = "";
8773
- if (propertyContents && symbolContents) sep = ", ";
8774
- return `{ ${propertyContents}${sep}${symbolContents} }`;
8775
- }
8776
- function init_object() {
8777
- return (init_object = __esmMin((() => {
8778
- init_helpers();
8779
- })))();
8780
- }
8781
- //#endregion
8782
- //#region ../../node_modules/loupe/lib/class.js
8783
- function inspectClass(value, options) {
8784
- let name = "";
8785
- if (toStringTag && toStringTag in value) name = value[toStringTag];
8786
- name = name || value.constructor.name;
8787
- if (!name || name === "_class") name = "<Anonymous Class>";
8788
- options.truncate -= name.length;
8789
- return `${name}${inspectObject$1(value, options)}`;
8790
- }
8791
- var toStringTag;
8792
- function init_class() {
8793
- return (init_class = __esmMin((() => {
8794
- init_object();
8795
- toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
8796
- })))();
8797
- }
8798
- //#endregion
8799
- //#region ../../node_modules/loupe/lib/arguments.js
8800
- function inspectArguments(args, options) {
8801
- if (args.length === 0) return "Arguments[]";
8802
- options.truncate -= 13;
8803
- return `Arguments[ ${inspectList(args, options)} ]`;
8804
- }
8805
- function init_arguments() {
8806
- return (init_arguments = __esmMin((() => {
8807
- init_helpers();
8808
- })))();
8809
- }
8810
- //#endregion
8811
- //#region ../../node_modules/loupe/lib/error.js
8812
- function inspectObject(error, options) {
8813
- const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
8814
- const name = error.name;
8815
- options.truncate -= name.length;
8816
- let message = "";
8817
- if (typeof error.message === "string") message = truncate(error.message, options.truncate);
8818
- else properties.unshift("message");
8819
- message = message ? `: ${message}` : "";
8820
- options.truncate -= message.length + 5;
8821
- options.seen = options.seen || [];
8822
- if (options.seen.includes(error)) return "[Circular]";
8823
- options.seen.push(error);
8824
- const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
8825
- return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
8826
- }
8827
- var errorKeys;
8828
- function init_error() {
8829
- return (init_error = __esmMin((() => {
8830
- init_helpers();
8831
- errorKeys = [
8832
- "stack",
8833
- "line",
8834
- "column",
8835
- "name",
8836
- "message",
8837
- "fileName",
8838
- "lineNumber",
8839
- "columnNumber",
8840
- "number",
8841
- "description",
8842
- "cause"
8843
- ];
8844
- })))();
8845
- }
8846
- //#endregion
8847
- //#region ../../node_modules/loupe/lib/html.js
8848
- function inspectAttribute([key, value], options) {
8849
- options.truncate -= 3;
8850
- if (!value) return `${options.stylize(String(key), "yellow")}`;
8851
- return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
8852
- }
8853
- function inspectNodeCollection(collection, options) {
8854
- return inspectList(collection, options, inspectNode, "\n");
8855
- }
8856
- function inspectNode(node, options) {
8857
- switch (node.nodeType) {
8858
- case 1: return inspectHTML(node, options);
8859
- case 3: return options.inspect(node.data, options);
8860
- default: return options.inspect(node, options);
8861
- }
8862
- }
8863
- function inspectHTML(element, options) {
8864
- const properties = element.getAttributeNames();
8865
- const name = element.tagName.toLowerCase();
8866
- const head = options.stylize(`<${name}`, "special");
8867
- const headClose = options.stylize(`>`, "special");
8868
- const tail = options.stylize(`</${name}>`, "special");
8869
- options.truncate -= name.length * 2 + 5;
8870
- let propertyContents = "";
8871
- if (properties.length > 0) {
8872
- propertyContents += " ";
8873
- propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
8874
- }
8875
- options.truncate -= propertyContents.length;
8876
- const truncate = options.truncate;
8877
- let children = inspectNodeCollection(element.children, options);
8878
- if (children && children.length > truncate) children = `…(${element.children.length})`;
8879
- return `${head}${propertyContents}${headClose}${children}${tail}`;
8880
- }
8881
- function init_html() {
8882
- return (init_html = __esmMin((() => {
8883
- init_helpers();
8884
- })))();
8885
- }
8886
- //#endregion
8887
- //#region ../../node_modules/loupe/lib/index.js
8888
- function inspect(value, opts = {}) {
8889
- const options = normaliseOptions(opts, inspect);
8890
- const { customInspect } = options;
8891
- let type = value === null ? "null" : typeof value;
8892
- if (type === "object") type = toString.call(value).slice(8, -1);
8893
- if (type in baseTypesMap) return baseTypesMap[type](value, options);
8894
- if (customInspect && value) {
8895
- const output = inspectCustom(value, options, type, inspect);
8896
- if (output) {
8897
- if (typeof output === "string") return output;
8898
- return inspect(output, options);
8899
- }
8900
- }
8901
- const proto = value ? Object.getPrototypeOf(value) : false;
8902
- if (proto === Object.prototype || proto === null) return inspectObject$1(value, options);
8903
- if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML(value, options);
8904
- if ("constructor" in value) {
8905
- if (value.constructor !== Object) return inspectClass(value, options);
8906
- return inspectObject$1(value, options);
8907
- }
8908
- if (value === Object(value)) return inspectObject$1(value, options);
8909
- return options.stylize(String(value), type);
8910
- }
8911
- var chaiInspect, nodeInspect, constructorMap, stringTagMap, baseTypesMap, inspectCustom, toString;
8912
- function init_lib() {
8913
- return (init_lib = __esmMin((() => {
8914
- init_array();
8915
- init_typedarray();
8916
- init_date();
8917
- init_function();
8918
- init_map();
8919
- init_number();
8920
- init_bigint();
8921
- init_regexp();
8922
- init_set();
8923
- init_string();
8924
- init_promise();
8925
- init_class();
8926
- init_object();
8927
- init_arguments();
8928
- init_error();
8929
- init_html();
8930
- init_helpers();
8931
- chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
8932
- nodeInspect = Symbol.for("nodejs.util.inspect.custom");
8933
- constructorMap = /* @__PURE__ */ new WeakMap();
8934
- stringTagMap = {};
8935
- baseTypesMap = {
8936
- undefined: (value, options) => options.stylize("undefined", "undefined"),
8937
- null: (value, options) => options.stylize("null", "null"),
8938
- boolean: (value, options) => options.stylize(String(value), "boolean"),
8939
- Boolean: (value, options) => options.stylize(String(value), "boolean"),
8940
- number: inspectNumber,
8941
- Number: inspectNumber,
8942
- bigint: inspectBigInt,
8943
- BigInt: inspectBigInt,
8944
- string: inspectString,
8945
- String: inspectString,
8946
- function: inspectFunction,
8947
- Function: inspectFunction,
8948
- symbol: inspectSymbol,
8949
- Symbol: inspectSymbol,
8950
- Array: inspectArray,
8951
- Date: inspectDate,
8952
- Map: inspectMap,
8953
- Set: inspectSet,
8954
- RegExp: inspectRegExp,
8955
- Promise: getPromiseValue,
8956
- WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
8957
- WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
8958
- Arguments: inspectArguments,
8959
- Int8Array: inspectTypedArray,
8960
- Uint8Array: inspectTypedArray,
8961
- Uint8ClampedArray: inspectTypedArray,
8962
- Int16Array: inspectTypedArray,
8963
- Uint16Array: inspectTypedArray,
8964
- Int32Array: inspectTypedArray,
8965
- Uint32Array: inspectTypedArray,
8966
- Float32Array: inspectTypedArray,
8967
- Float64Array: inspectTypedArray,
8968
- Generator: () => "",
8969
- DataView: () => "",
8970
- ArrayBuffer: () => "",
8971
- Error: inspectObject,
8972
- HTMLCollection: inspectNodeCollection,
8973
- NodeList: inspectNodeCollection
8974
- };
8975
- inspectCustom = (value, options, type, inspectFn) => {
8976
- if (chaiInspect in value && typeof value[chaiInspect] === "function") return value[chaiInspect](options);
8977
- if (nodeInspect in value && typeof value[nodeInspect] === "function") return value[nodeInspect](options.depth, options, inspectFn);
8978
- if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
8979
- if ("constructor" in value && constructorMap.has(value.constructor)) return constructorMap.get(value.constructor)(value, options);
8980
- if (stringTagMap[type]) return stringTagMap[type](value, options);
8981
- return "";
8982
- };
8983
- toString = Object.prototype.toString;
8984
- })))();
8985
- }
8986
- //#endregion
8987
- //#region ../../node_modules/min-indent/index.js
8988
- var require_min_indent = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8989
- module.exports = (string) => {
8990
- const match = string.match(/^[ \t]*(?=\S)/gm);
8991
- if (!match) return 0;
8992
- return match.reduce((r, a) => Math.min(r, a.length), Infinity);
8993
- };
8994
- }));
8995
- //#endregion
8996
- //#region ../../node_modules/indent-string/index.js
8997
- var require_indent_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8998
- module.exports = (string, count = 1, options) => {
8999
- options = {
9000
- indent: " ",
9001
- includeEmptyLines: false,
9002
- ...options
9003
- };
9004
- if (typeof string !== "string") throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string}\``);
9005
- if (typeof count !== "number") throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);
9006
- if (typeof options.indent !== "string") throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);
9007
- if (count === 0) return string;
9008
- const regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
9009
- return string.replace(regex, options.indent.repeat(count));
9010
- };
9011
- }));
9012
- //#endregion
9013
- //#region ../../node_modules/lz-string/libs/lz-string.js
9014
- var require_lz_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9015
- var LZString = (function() {
9016
- var f = String.fromCharCode;
9017
- var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
9018
- var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
9019
- var baseReverseDic = {};
9020
- function getBaseValue(alphabet, character) {
9021
- if (!baseReverseDic[alphabet]) {
9022
- baseReverseDic[alphabet] = {};
9023
- for (var i = 0; i < alphabet.length; i++) baseReverseDic[alphabet][alphabet.charAt(i)] = i;
9024
- }
9025
- return baseReverseDic[alphabet][character];
9026
- }
9027
- var LZString = {
9028
- compressToBase64: function(input) {
9029
- if (input == null) return "";
9030
- var res = LZString._compress(input, 6, function(a) {
9031
- return keyStrBase64.charAt(a);
9032
- });
9033
- switch (res.length % 4) {
9034
- default:
9035
- case 0: return res;
9036
- case 1: return res + "===";
9037
- case 2: return res + "==";
9038
- case 3: return res + "=";
9039
- }
9040
- },
9041
- decompressFromBase64: function(input) {
9042
- if (input == null) return "";
9043
- if (input == "") return null;
9044
- return LZString._decompress(input.length, 32, function(index) {
9045
- return getBaseValue(keyStrBase64, input.charAt(index));
9046
- });
9047
- },
9048
- compressToUTF16: function(input) {
9049
- if (input == null) return "";
9050
- return LZString._compress(input, 15, function(a) {
9051
- return f(a + 32);
9052
- }) + " ";
9053
- },
9054
- decompressFromUTF16: function(compressed) {
9055
- if (compressed == null) return "";
9056
- if (compressed == "") return null;
9057
- return LZString._decompress(compressed.length, 16384, function(index) {
9058
- return compressed.charCodeAt(index) - 32;
9059
- });
9060
- },
9061
- compressToUint8Array: function(uncompressed) {
9062
- var compressed = LZString.compress(uncompressed);
9063
- var buf = new Uint8Array(compressed.length * 2);
9064
- for (var i = 0, TotalLen = compressed.length; i < TotalLen; i++) {
9065
- var current_value = compressed.charCodeAt(i);
9066
- buf[i * 2] = current_value >>> 8;
9067
- buf[i * 2 + 1] = current_value % 256;
9068
- }
9069
- return buf;
9070
- },
9071
- decompressFromUint8Array: function(compressed) {
9072
- if (compressed === null || compressed === void 0) return LZString.decompress(compressed);
9073
- else {
9074
- var buf = new Array(compressed.length / 2);
9075
- for (var i = 0, TotalLen = buf.length; i < TotalLen; i++) buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
9076
- var result = [];
9077
- buf.forEach(function(c) {
9078
- result.push(f(c));
9079
- });
9080
- return LZString.decompress(result.join(""));
9081
- }
9082
- },
9083
- compressToEncodedURIComponent: function(input) {
9084
- if (input == null) return "";
9085
- return LZString._compress(input, 6, function(a) {
9086
- return keyStrUriSafe.charAt(a);
9087
- });
9088
- },
9089
- decompressFromEncodedURIComponent: function(input) {
9090
- if (input == null) return "";
9091
- if (input == "") return null;
9092
- input = input.replace(/ /g, "+");
9093
- return LZString._decompress(input.length, 32, function(index) {
9094
- return getBaseValue(keyStrUriSafe, input.charAt(index));
9095
- });
9096
- },
9097
- compress: function(uncompressed) {
9098
- return LZString._compress(uncompressed, 16, function(a) {
9099
- return f(a);
9100
- });
9101
- },
9102
- _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
9103
- if (uncompressed == null) return "";
9104
- 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;
9105
- for (; ii < uncompressed.length; ii += 1) {
9106
- context_c = uncompressed.charAt(ii);
9107
- if (!Object.prototype.hasOwnProperty.call(context_dictionary, context_c)) {
9108
- context_dictionary[context_c] = context_dictSize++;
9109
- context_dictionaryToCreate[context_c] = true;
9110
- }
9111
- context_wc = context_w + context_c;
9112
- if (Object.prototype.hasOwnProperty.call(context_dictionary, context_wc)) context_w = context_wc;
9113
- else {
9114
- if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9115
- if (context_w.charCodeAt(0) < 256) {
9116
- for (i = 0; i < context_numBits; i++) {
9117
- context_data_val = context_data_val << 1;
9118
- if (context_data_position == bitsPerChar - 1) {
9119
- context_data_position = 0;
9120
- context_data.push(getCharFromInt(context_data_val));
9121
- context_data_val = 0;
9122
- } else context_data_position++;
9123
- }
9124
- value = context_w.charCodeAt(0);
9125
- for (i = 0; i < 8; i++) {
9126
- context_data_val = context_data_val << 1 | value & 1;
9127
- if (context_data_position == bitsPerChar - 1) {
9128
- context_data_position = 0;
9129
- context_data.push(getCharFromInt(context_data_val));
9130
- context_data_val = 0;
9131
- } else context_data_position++;
9132
- value = value >> 1;
9133
- }
9134
- } else {
9135
- value = 1;
9136
- for (i = 0; i < context_numBits; i++) {
9137
- context_data_val = context_data_val << 1 | value;
9138
- if (context_data_position == bitsPerChar - 1) {
9139
- context_data_position = 0;
9140
- context_data.push(getCharFromInt(context_data_val));
9141
- context_data_val = 0;
9142
- } else context_data_position++;
9143
- value = 0;
9144
- }
9145
- value = context_w.charCodeAt(0);
9146
- for (i = 0; i < 16; i++) {
9147
- context_data_val = context_data_val << 1 | value & 1;
9148
- if (context_data_position == bitsPerChar - 1) {
9149
- context_data_position = 0;
9150
- context_data.push(getCharFromInt(context_data_val));
9151
- context_data_val = 0;
9152
- } else context_data_position++;
9153
- value = value >> 1;
9154
- }
9155
- }
9156
- context_enlargeIn--;
9157
- if (context_enlargeIn == 0) {
9158
- context_enlargeIn = Math.pow(2, context_numBits);
9159
- context_numBits++;
9160
- }
9161
- delete context_dictionaryToCreate[context_w];
9162
- } else {
9163
- value = context_dictionary[context_w];
9164
- for (i = 0; i < context_numBits; i++) {
9165
- context_data_val = context_data_val << 1 | value & 1;
9166
- if (context_data_position == bitsPerChar - 1) {
9167
- context_data_position = 0;
9168
- context_data.push(getCharFromInt(context_data_val));
9169
- context_data_val = 0;
9170
- } else context_data_position++;
9171
- value = value >> 1;
9172
- }
9173
- }
9174
- context_enlargeIn--;
9175
- if (context_enlargeIn == 0) {
9176
- context_enlargeIn = Math.pow(2, context_numBits);
9177
- context_numBits++;
9178
- }
9179
- context_dictionary[context_wc] = context_dictSize++;
9180
- context_w = String(context_c);
9181
- }
9182
- }
9183
- if (context_w !== "") {
9184
- if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate, context_w)) {
9185
- if (context_w.charCodeAt(0) < 256) {
9186
- for (i = 0; i < context_numBits; i++) {
9187
- context_data_val = context_data_val << 1;
9188
- if (context_data_position == bitsPerChar - 1) {
9189
- context_data_position = 0;
9190
- context_data.push(getCharFromInt(context_data_val));
9191
- context_data_val = 0;
9192
- } else context_data_position++;
9193
- }
9194
- value = context_w.charCodeAt(0);
9195
- for (i = 0; i < 8; i++) {
9196
- context_data_val = context_data_val << 1 | value & 1;
9197
- if (context_data_position == bitsPerChar - 1) {
9198
- context_data_position = 0;
9199
- context_data.push(getCharFromInt(context_data_val));
9200
- context_data_val = 0;
9201
- } else context_data_position++;
9202
- value = value >> 1;
9203
- }
9204
- } else {
9205
- value = 1;
9206
- for (i = 0; i < context_numBits; i++) {
9207
- context_data_val = context_data_val << 1 | value;
9208
- if (context_data_position == bitsPerChar - 1) {
9209
- context_data_position = 0;
9210
- context_data.push(getCharFromInt(context_data_val));
9211
- context_data_val = 0;
9212
- } else context_data_position++;
9213
- value = 0;
9214
- }
9215
- value = context_w.charCodeAt(0);
9216
- for (i = 0; i < 16; i++) {
9217
- context_data_val = context_data_val << 1 | value & 1;
9218
- if (context_data_position == bitsPerChar - 1) {
9219
- context_data_position = 0;
9220
- context_data.push(getCharFromInt(context_data_val));
9221
- context_data_val = 0;
9222
- } else context_data_position++;
9223
- value = value >> 1;
9224
- }
9225
- }
9226
- context_enlargeIn--;
9227
- if (context_enlargeIn == 0) {
9228
- context_enlargeIn = Math.pow(2, context_numBits);
9229
- context_numBits++;
9230
- }
9231
- delete context_dictionaryToCreate[context_w];
9232
- } else {
9233
- value = context_dictionary[context_w];
9234
- for (i = 0; i < context_numBits; i++) {
9235
- context_data_val = context_data_val << 1 | value & 1;
9236
- if (context_data_position == bitsPerChar - 1) {
9237
- context_data_position = 0;
9238
- context_data.push(getCharFromInt(context_data_val));
9239
- context_data_val = 0;
9240
- } else context_data_position++;
9241
- value = value >> 1;
9242
- }
9243
- }
9244
- context_enlargeIn--;
9245
- if (context_enlargeIn == 0) {
9246
- context_enlargeIn = Math.pow(2, context_numBits);
9247
- context_numBits++;
9248
- }
9249
- }
9250
- value = 2;
9251
- for (i = 0; i < context_numBits; i++) {
9252
- context_data_val = context_data_val << 1 | value & 1;
9253
- if (context_data_position == bitsPerChar - 1) {
9254
- context_data_position = 0;
9255
- context_data.push(getCharFromInt(context_data_val));
9256
- context_data_val = 0;
9257
- } else context_data_position++;
9258
- value = value >> 1;
9259
- }
9260
- while (true) {
9261
- context_data_val = context_data_val << 1;
9262
- if (context_data_position == bitsPerChar - 1) {
9263
- context_data.push(getCharFromInt(context_data_val));
9264
- break;
9265
- } else context_data_position++;
9266
- }
9267
- return context_data.join("");
9268
- },
9269
- decompress: function(compressed) {
9270
- if (compressed == null) return "";
9271
- if (compressed == "") return null;
9272
- return LZString._decompress(compressed.length, 32768, function(index) {
9273
- return compressed.charCodeAt(index);
9274
- });
9275
- },
9276
- _decompress: function(length, resetValue, getNextValue) {
9277
- var dictionary = [], enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i, w, bits, resb, maxpower, power, c, data = {
9278
- val: getNextValue(0),
9279
- position: resetValue,
9280
- index: 1
9281
- };
9282
- for (i = 0; i < 3; i += 1) dictionary[i] = i;
9283
- bits = 0;
9284
- maxpower = Math.pow(2, 2);
9285
- power = 1;
9286
- while (power != maxpower) {
9287
- resb = data.val & data.position;
9288
- data.position >>= 1;
9289
- if (data.position == 0) {
9290
- data.position = resetValue;
9291
- data.val = getNextValue(data.index++);
9292
- }
9293
- bits |= (resb > 0 ? 1 : 0) * power;
9294
- power <<= 1;
9295
- }
9296
- switch (bits) {
9297
- case 0:
9298
- bits = 0;
9299
- maxpower = Math.pow(2, 8);
9300
- power = 1;
9301
- while (power != maxpower) {
9302
- resb = data.val & data.position;
9303
- data.position >>= 1;
9304
- if (data.position == 0) {
9305
- data.position = resetValue;
9306
- data.val = getNextValue(data.index++);
9307
- }
9308
- bits |= (resb > 0 ? 1 : 0) * power;
9309
- power <<= 1;
9310
- }
9311
- c = f(bits);
9312
- break;
9313
- case 1:
9314
- bits = 0;
9315
- maxpower = Math.pow(2, 16);
9316
- power = 1;
9317
- while (power != maxpower) {
9318
- resb = data.val & data.position;
9319
- data.position >>= 1;
9320
- if (data.position == 0) {
9321
- data.position = resetValue;
9322
- data.val = getNextValue(data.index++);
9323
- }
9324
- bits |= (resb > 0 ? 1 : 0) * power;
9325
- power <<= 1;
9326
- }
9327
- c = f(bits);
9328
- break;
9329
- case 2: return "";
9330
- }
9331
- dictionary[3] = c;
9332
- w = c;
9333
- result.push(c);
9334
- while (true) {
9335
- if (data.index > length) return "";
9336
- bits = 0;
9337
- maxpower = Math.pow(2, numBits);
9338
- power = 1;
9339
- while (power != maxpower) {
9340
- resb = data.val & data.position;
9341
- data.position >>= 1;
9342
- if (data.position == 0) {
9343
- data.position = resetValue;
9344
- data.val = getNextValue(data.index++);
9345
- }
9346
- bits |= (resb > 0 ? 1 : 0) * power;
9347
- power <<= 1;
9348
- }
9349
- switch (c = bits) {
9350
- case 0:
9351
- bits = 0;
9352
- maxpower = Math.pow(2, 8);
9353
- power = 1;
9354
- while (power != maxpower) {
9355
- resb = data.val & data.position;
9356
- data.position >>= 1;
9357
- if (data.position == 0) {
9358
- data.position = resetValue;
9359
- data.val = getNextValue(data.index++);
9360
- }
9361
- bits |= (resb > 0 ? 1 : 0) * power;
9362
- power <<= 1;
9363
- }
9364
- dictionary[dictSize++] = f(bits);
9365
- c = dictSize - 1;
9366
- enlargeIn--;
9367
- break;
9368
- case 1:
9369
- bits = 0;
9370
- maxpower = Math.pow(2, 16);
9371
- power = 1;
9372
- while (power != maxpower) {
9373
- resb = data.val & data.position;
9374
- data.position >>= 1;
9375
- if (data.position == 0) {
9376
- data.position = resetValue;
9377
- data.val = getNextValue(data.index++);
9378
- }
9379
- bits |= (resb > 0 ? 1 : 0) * power;
9380
- power <<= 1;
9381
- }
9382
- dictionary[dictSize++] = f(bits);
9383
- c = dictSize - 1;
9384
- enlargeIn--;
9385
- break;
9386
- case 2: return result.join("");
9387
- }
9388
- if (enlargeIn == 0) {
9389
- enlargeIn = Math.pow(2, numBits);
9390
- numBits++;
9391
- }
9392
- if (dictionary[c]) entry = dictionary[c];
9393
- else if (c === dictSize) entry = w + w.charAt(0);
9394
- else return null;
9395
- result.push(entry);
9396
- dictionary[dictSize++] = w + entry.charAt(0);
9397
- enlargeIn--;
9398
- w = entry;
9399
- if (enlargeIn == 0) {
9400
- enlargeIn = Math.pow(2, numBits);
9401
- numBits++;
9402
- }
9403
- }
9404
- }
9405
- };
9406
- return LZString;
9407
- })();
9408
- if (typeof define === "function" && define.amd) define(function() {
9409
- return LZString;
9410
- });
9411
- else if (typeof module !== "undefined" && module != null) module.exports = LZString;
9412
- else if (typeof angular !== "undefined" && angular != null) angular.module("LZString", []).factory("LZString", function() {
9413
- return LZString;
9414
- });
9415
- }));
9416
- //#endregion
9417
8228
  //#region ../../node_modules/polished/dist/polished.esm.js
9418
8229
  /**
9419
8230
  * Check if a string ends with something
@@ -11173,4 +9984,4 @@ function init_react_textarea_autosize_browser_esm() {
11173
9984
  })))();
11174
9985
  }
11175
9986
  //#endregion
11176
- export { init_parse as A, init_lib as C, init_main as D, nanoid as E, require_client as F, require_react_dom as I, require_react as L, require_picocolors_browser as M, require_memoizerific as N, init_stringify as O, require_jsx_runtime as P, require_min_indent as S, init_index_browser as T, curriedOpacify$1 as _, import_react$4 as a, require_lz_string as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, useTransitionState as i, parse as j, stringify as k, init_dist$1 as l, useNavigate as m, init_react_textarea_autosize_browser_esm as n, init_shim_cjs_0 as o, useLocation as p, init_useTransitionState as r, BrowserRouter as s, index as t, MemoryRouter as u, init_polished_esm as v, inspect as w, require_indent_string as x, rgba as y };
9987
+ export { init_parse as C, require_client as D, require_jsx_runtime as E, require_react_dom as O, stringify as S, require_picocolors_browser as T, curriedOpacify$1 as _, import_react$4 as a, init_main as b, Link as c, Router as d, init_dist as f, curriedLighten$1 as g, curriedDarken$1 as h, useTransitionState as i, require_react as k, init_dist$1 as l, useNavigate as m, init_react_textarea_autosize_browser_esm as n, init_shim_cjs_0 as o, useLocation as p, init_useTransitionState as r, BrowserRouter as s, index as t, MemoryRouter as u, init_polished_esm as v, parse as w, init_stringify as x, rgba as y };