@aussieljk/forkbook 0.0.1-11 → 0.0.1-13

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 (381) hide show
  1. package/README.md +1 -1
  2. package/assets/create/rendererAssets/common/button.css +6 -6
  3. package/assets/create/rendererAssets/common/header.css +5 -5
  4. package/assets/create/rendererAssets/common/page.css +10 -10
  5. package/dist/_browser-chunks/{Color-QLZNXLSV.js → Color-2EUQ6NXV.js} +2 -2
  6. package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
  7. package/dist/_browser-chunks/{WithTooltip-GNLRTZDF.js → WithTooltip-QCFTNB6P.js} +5 -4
  8. package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
  9. package/dist/_browser-chunks/{chunk-6ELMKWKX.js → chunk-2WZWS7GJ.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-FRAOQJDI.js → chunk-3QPZOXB7.js} +1 -5
  11. package/dist/_browser-chunks/{chunk-GRO2ZYEJ.js → chunk-4BOJAE7P.js} +12 -8
  12. package/dist/_browser-chunks/{chunk-ZHKZKFY4.js → chunk-6SL45YM3.js} +9 -13
  13. package/dist/_browser-chunks/{chunk-DS2WQZGO.js → chunk-BLCZ3C5M.js} +41 -62
  14. package/dist/_browser-chunks/{chunk-7DQREF4S.js → chunk-DHTLVXAL.js} +37 -44
  15. package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-DISGPOF4.js} +54 -51
  16. package/dist/_browser-chunks/{chunk-76222HQR.js → chunk-E6QKKKLO.js} +20 -5
  17. package/dist/_browser-chunks/{chunk-DYNTDJ3O.js → chunk-EBSOKHFG.js} +8 -2
  18. package/dist/_browser-chunks/{chunk-3M5T7BW4.js → chunk-ECMVTOVD.js} +1 -1
  19. package/dist/_browser-chunks/{chunk-EQKMUQF3.js → chunk-ENHFQXYS.js} +5 -4
  20. package/dist/_browser-chunks/{chunk-KYSD26D6.js → chunk-EW2M3URL.js} +90 -83
  21. package/dist/_browser-chunks/{chunk-I4ATZPNZ.js → chunk-FCULT3AE.js} +3 -3
  22. package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
  23. package/dist/_browser-chunks/{chunk-NGMQJMCY.js → chunk-HZFHNYRC.js} +1 -1
  24. package/dist/_browser-chunks/{chunk-5H4KFI44.js → chunk-KQJ4T6JL.js} +30 -24
  25. package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-NK5SGJNG.js} +22 -17
  26. package/dist/_browser-chunks/{chunk-N3NRW5XX.js → chunk-PQRPDA4U.js} +3 -3
  27. package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
  28. package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-QFO2B4X2.js} +31 -28
  29. package/dist/_browser-chunks/{chunk-TTBPZQ24.js → chunk-S7N7Z5TY.js} +47 -43
  30. package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
  31. package/dist/_browser-chunks/{chunk-WBLVFDJT.js → chunk-UH3XTEOQ.js} +716 -658
  32. package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
  33. package/dist/_browser-chunks/{chunk-O24AZJZ7.js → chunk-YJO5BK52.js} +7 -3
  34. package/dist/_browser-chunks/{chunk-3HM3VWJS.js → chunk-ZF37BMDS.js} +6 -2
  35. package/dist/_browser-chunks/{chunk-QU4RB2WU.js → chunk-ZF5SPY56.js} +4 -4
  36. package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
  37. package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
  38. package/dist/_node-chunks/{attached-runtime-J2AKT5WI.js → attached-runtime-7IRDQUTZ.js} +28 -29
  39. package/dist/_node-chunks/{builder-manager-Z4RWF4ZH.js → builder-manager-YTALSWKQ.js} +39 -28
  40. package/dist/_node-chunks/{chunk-2WVLC5M2.js → chunk-26ERGIQH.js} +6 -6
  41. package/dist/_node-chunks/{chunk-VZG3OKFO.js → chunk-33T4HNF2.js} +6 -6
  42. package/dist/_node-chunks/{chunk-ZEYODVQT.js → chunk-3F3673RQ.js} +7 -7
  43. package/dist/_node-chunks/{chunk-Y4W4B3E7.js → chunk-3FLRYZLJ.js} +6 -6
  44. package/dist/_node-chunks/{chunk-AVL7GUOZ.js → chunk-3L2QRDKH.js} +522 -1045
  45. package/dist/_node-chunks/{chunk-XO54HM4P.js → chunk-3NH7IHUS.js} +6 -6
  46. package/dist/_node-chunks/{chunk-GMKLTDKN.js → chunk-3ZAENV5A.js} +6 -6
  47. package/dist/_node-chunks/{chunk-3IIQSDCO.js → chunk-4B52HLKK.js} +53 -55
  48. package/dist/_node-chunks/chunk-4CZJ4SFH.js +281 -0
  49. package/dist/_node-chunks/{chunk-BBU2FUPC.js → chunk-4IIWFG7O.js} +13 -11
  50. package/dist/_node-chunks/{chunk-2U5J7YTA.js → chunk-4YWZLOAF.js} +6 -6
  51. package/dist/_node-chunks/{chunk-XVOIYGTJ.js → chunk-5A5XOSRM.js} +6 -6
  52. package/dist/_node-chunks/chunk-5T6Q7HT3.js +11 -0
  53. package/dist/_node-chunks/{chunk-MI7WBXWX.js → chunk-6DRDJF2Q.js} +6 -6
  54. package/dist/_node-chunks/{chunk-WBCKO5LP.js → chunk-6JSZY5TJ.js} +6 -6
  55. package/dist/_node-chunks/{chunk-3EBGFRAH.js → chunk-7SPDKMDQ.js} +32 -40
  56. package/dist/_node-chunks/{chunk-IRPQQARO.js → chunk-7YLKDHLZ.js} +7 -7
  57. package/dist/_node-chunks/{chunk-BSQB5B57.js → chunk-7YQIVUEK.js} +6 -6
  58. package/dist/_node-chunks/{chunk-PYVGF5F2.js → chunk-ADCQYK3Z.js} +6 -6
  59. package/dist/_node-chunks/{chunk-7YQTID2W.js → chunk-ALHQVE5R.js} +6 -6
  60. package/dist/_node-chunks/{chunk-MW4OAPPD.js → chunk-B4XAZ2OC.js} +8 -8
  61. package/dist/_node-chunks/{chunk-GGCOG7OV.js → chunk-BFQJF3ID.js} +283 -306
  62. package/dist/_node-chunks/{chunk-5GOXN5M4.js → chunk-BSXI35KM.js} +7 -7
  63. package/dist/_node-chunks/{chunk-TAMTPVYZ.js → chunk-BZQF5KUE.js} +7 -7
  64. package/dist/_node-chunks/{chunk-5JLVSH44.js → chunk-CEIESR4U.js} +8 -8
  65. package/dist/_node-chunks/{chunk-OJWUUSA4.js → chunk-CESXIP3N.js} +6 -6
  66. package/dist/_node-chunks/{chunk-CEYSYQLV.js → chunk-DAEUTT3I.js} +6 -6
  67. package/dist/_node-chunks/{chunk-FB2BOL6I.js → chunk-DIC4T2UO.js} +6 -6
  68. package/dist/_node-chunks/{chunk-LKITAODU.js → chunk-DPOWAA4P.js} +37 -31
  69. package/dist/_node-chunks/{chunk-W3KFVTWV.js → chunk-DTNEHO4J.js} +10 -10
  70. package/dist/_node-chunks/{chunk-C5OFHB3N.js → chunk-DY7F7B6V.js} +7 -7
  71. package/dist/_node-chunks/{chunk-FUG5LYKS.js → chunk-E56UKDJR.js} +8 -8
  72. package/dist/_node-chunks/{chunk-A7GEBS3Q.js → chunk-EFX2VA4Q.js} +6 -6
  73. package/dist/_node-chunks/{chunk-PQTEFQIJ.js → chunk-EM6AYELK.js} +10 -12
  74. package/dist/_node-chunks/{chunk-32FLWHUC.js → chunk-F2AFT3P7.js} +497 -475
  75. package/dist/_node-chunks/{chunk-OXT6T4AS.js → chunk-GC7NA2Y7.js} +7 -7
  76. package/dist/_node-chunks/{chunk-55S3GGGC.js → chunk-GIKCT5KG.js} +7 -7
  77. package/dist/_node-chunks/{chunk-PXOD36TR.js → chunk-GLNHSUKT.js} +20 -20
  78. package/dist/_node-chunks/{chunk-BKND5XP2.js → chunk-GQZZQB4K.js} +7 -7
  79. package/dist/_node-chunks/{chunk-GTXZNA2L.js → chunk-GRN6WQC3.js} +10 -10
  80. package/dist/_node-chunks/{chunk-6UASHVMR.js → chunk-HCMHVV7N.js} +8 -8
  81. package/dist/_node-chunks/{chunk-IVAOJWPF.js → chunk-HJVZQS65.js} +7 -7
  82. package/dist/_node-chunks/{chunk-ER3X3AQ7.js → chunk-I26RGEVQ.js} +7 -7
  83. package/dist/_node-chunks/{chunk-LAIED5XU.js → chunk-I36FPWMO.js} +6 -6
  84. package/dist/_node-chunks/{chunk-W7HY3ELZ.js → chunk-IDPQ3CVN.js} +474 -479
  85. package/dist/_node-chunks/{chunk-36LPBTLF.js → chunk-JUVUVVHI.js} +6 -6
  86. package/dist/_node-chunks/{chunk-DGWKJQ6G.js → chunk-K6TEIAKH.js} +62 -7
  87. package/dist/_node-chunks/{chunk-7IOSIYW2.js → chunk-KEXQ3BON.js} +7 -7
  88. package/dist/_node-chunks/{chunk-NLNAIU4I.js → chunk-KUZSE7ZD.js} +9 -9
  89. package/dist/_node-chunks/chunk-LJ5JRR5Q.js +18 -0
  90. package/dist/_node-chunks/{chunk-YBG7HVP7.js → chunk-LMGI47HP.js} +8 -8
  91. package/dist/_node-chunks/{chunk-6E34W4UX.js → chunk-LPIPPSMS.js} +6 -6
  92. package/dist/_node-chunks/{chunk-XICRXTTE.js → chunk-LR4W5G37.js} +6 -6
  93. package/dist/_node-chunks/{chunk-VKRGTLQJ.js → chunk-M4MRBEJI.js} +27 -23
  94. package/dist/_node-chunks/{chunk-REIDJUVJ.js → chunk-M7BVABR2.js} +20 -16
  95. package/dist/_node-chunks/{chunk-XCJ2ZIQ4.js → chunk-MK2RPLWT.js} +7 -7
  96. package/dist/_node-chunks/{chunk-LHNHFYK3.js → chunk-MKSEM5C2.js} +6 -6
  97. package/dist/_node-chunks/{chunk-RNRGXAFV.js → chunk-MWQIBOUB.js} +6 -6
  98. package/dist/_node-chunks/{chunk-NFDQT7UW.js → chunk-NAXIA2JI.js} +320 -316
  99. package/dist/_node-chunks/{chunk-GYFR2JLS.js → chunk-NDVIMCIX.js} +7 -7
  100. package/dist/_node-chunks/{chunk-D5ADPGA4.js → chunk-NIOVXWQZ.js} +6 -6
  101. package/dist/_node-chunks/{chunk-54EHKXV7.js → chunk-NRP4FGRT.js} +15 -9
  102. package/dist/_node-chunks/{chunk-NIQSBBT2.js → chunk-NSNBFXVB.js} +7 -7
  103. package/dist/_node-chunks/{chunk-Z2ZTDQDY.js → chunk-NTUTJAD4.js} +8 -8
  104. package/dist/_node-chunks/{chunk-XH5CXH53.js → chunk-O46DZ2KC.js} +8 -8
  105. package/dist/_node-chunks/{chunk-S3NDLFYL.js → chunk-OH5M2YER.js} +7 -7
  106. package/dist/_node-chunks/{chunk-FTYDKQCO.js → chunk-OSIENBU6.js} +6 -6
  107. package/dist/_node-chunks/{chunk-76KKKLEE.js → chunk-OVJZBW54.js} +7 -7
  108. package/dist/_node-chunks/{chunk-WO4UEQI6.js → chunk-PGIDRLZ5.js} +22 -22
  109. package/dist/_node-chunks/{chunk-J3SM62J3.js → chunk-PJCSZR4T.js} +8 -8
  110. package/dist/_node-chunks/{chunk-OPT5A55S.js → chunk-PQXP5FZ2.js} +8 -8
  111. package/dist/_node-chunks/{chunk-5P4N734V.js → chunk-PU33WSBW.js} +34 -52
  112. package/dist/_node-chunks/{chunk-APPFF22V.js → chunk-PUBZLLNL.js} +7 -7
  113. package/dist/_node-chunks/{chunk-ALGQMFMN.js → chunk-QWZZX2HN.js} +6 -6
  114. package/dist/_node-chunks/{chunk-NLLM4MDK.js → chunk-RMUBUNBY.js} +6 -6
  115. package/dist/_node-chunks/{chunk-SJXLINHV.js → chunk-S33FEPQ3.js} +6 -6
  116. package/dist/_node-chunks/{chunk-FEC5PGJO.js → chunk-SHP6447T.js} +7 -7
  117. package/dist/_node-chunks/{chunk-MBIVTOJK.js → chunk-ST3KB36E.js} +6 -6
  118. package/dist/_node-chunks/{chunk-AKMPPLT5.js → chunk-SXX75O2D.js} +7 -7
  119. package/dist/_node-chunks/{chunk-6UAJLEIO.js → chunk-TQ5YAQ4Y.js} +6 -6
  120. package/dist/_node-chunks/{chunk-R7VDUSKY.js → chunk-TSJ3JCNN.js} +16 -10
  121. package/dist/_node-chunks/{chunk-TKMXEHM4.js → chunk-UYEX6LW6.js} +7 -7
  122. package/dist/_node-chunks/{chunk-46Y5H6X5.js → chunk-VJLLEKWR.js} +138 -116
  123. package/dist/_node-chunks/{chunk-IFAV3CER.js → chunk-WWJKLYU5.js} +10 -10
  124. package/dist/_node-chunks/{chunk-MXLHIEXC.js → chunk-XC7K4QEX.js} +6 -6
  125. package/dist/_node-chunks/{chunk-GO3YSBPE.js → chunk-Y64FM6U7.js} +8 -8
  126. package/dist/_node-chunks/{chunk-T6P2EJD2.js → chunk-YDM7NH4T.js} +6 -6
  127. package/dist/_node-chunks/{chunk-XSVOMORJ.js → chunk-ZHVOUP6D.js} +6 -6
  128. package/dist/_node-chunks/dist-CFCU4PZG.js +27 -0
  129. package/dist/_node-chunks/dist-PFMT5YJK.js +16 -0
  130. package/dist/_node-chunks/{local-runtime-YDAW5RJV.js → local-runtime-BKID5MBG.js} +19 -20
  131. package/dist/_node-chunks/{mdx-plugin-XLDET5LV.js → mdx-plugin-7BOUDCZB.js} +13 -13
  132. package/dist/_node-chunks/{monorepo-NWMAHGOM.js → monorepo-FRHSAJB7.js} +11 -11
  133. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-4B6IZ7JD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-7BHSAJP4.js} +11 -11
  134. package/dist/_node-chunks/optimized-tests-F5LCOTXH.js +22 -0
  135. package/dist/_node-chunks/{pattern-copy-play-PJC4PO6A.js → pattern-copy-play-6TGV6WS4.js} +9 -9
  136. package/dist/_node-chunks/postinstallAddon-4RININ5C.js +20 -0
  137. package/dist/_node-chunks/{rehype-external-links-4CWXZ35U.js → rehype-external-links-EE2HT4QP.js} +9 -9
  138. package/dist/_node-chunks/{rehype-slug-QZ2PWSJH.js → rehype-slug-ZKRW2V6Z.js} +9 -9
  139. package/dist/_node-chunks/{relaxed-limits-ZQR4ER7L.js → relaxed-limits-6Q7VRQC5.js} +11 -11
  140. package/dist/_node-chunks/{run-U63AXEKZ.js → run-6Y3ZTASZ.js} +23 -21
  141. package/dist/_node-chunks/{run-BMXB2BW2.js → run-EBHIAT35.js} +18 -18
  142. package/dist/_node-chunks/{setup-NCUTUBNN.js → setup-6XIF77JT.js} +8 -8
  143. package/dist/_node-chunks/{vitest.config.4.template-4XHF7XPS.js → vitest.config.4.template-GMQNQ4UW.js} +7 -7
  144. package/dist/actions/decorator.js +16 -21
  145. package/dist/actions/index.d.ts +3 -3
  146. package/dist/actions/index.js +1 -1
  147. package/dist/addon-a11y/index.js +2 -2
  148. package/dist/addon-a11y/manager.js +11 -11
  149. package/dist/addon-a11y/preset.js +7 -7
  150. package/dist/addon-a11y/preview.d.ts +8 -2
  151. package/dist/addon-a11y/preview.js +2 -2
  152. package/dist/addon-docs/blocks.d.ts +104 -85
  153. package/dist/addon-docs/blocks.js +30 -32
  154. package/dist/addon-docs/index.d.ts +2 -2
  155. package/dist/addon-docs/index.js +3 -3
  156. package/dist/addon-docs/manager.js +4 -4
  157. package/dist/addon-docs/preset.js +12 -12
  158. package/dist/addon-docs/preview.d.ts +3 -1
  159. package/dist/addon-docs/preview.js +1 -1
  160. package/dist/addon-links/index.d.ts +2 -1
  161. package/dist/addon-links/preview.d.ts +1 -1
  162. package/dist/addon-mcp/preset.js +11 -11
  163. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +16 -16
  164. package/dist/addon-ondevice-controls/index.js +1 -1
  165. package/dist/addon-ondevice-controls/register.js +1 -1
  166. package/dist/addon-pseudo-states/index.js +1 -1
  167. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  168. package/dist/addon-pseudo-states/preview.js +1 -1
  169. package/dist/addon-themes/index.d.ts +6 -5
  170. package/dist/addon-themes/postinstall.js +7 -7
  171. package/dist/addon-vitest/constants.js +8 -8
  172. package/dist/addon-vitest/manager.js +18 -9
  173. package/dist/addon-vitest/node/coverage-reporter.js +11 -11
  174. package/dist/addon-vitest/node/vitest.js +34 -34
  175. package/dist/addon-vitest/postinstall.js +10 -10
  176. package/dist/addon-vitest/preset.js +21 -20
  177. package/dist/addon-vitest/vitest-plugin/global-setup.js +22 -22
  178. package/dist/addon-vitest/vitest-plugin/index.js +69 -59
  179. package/dist/babel/index.d.ts +209 -212
  180. package/dist/babel/index.js +11 -11
  181. package/dist/bin/core.js +110 -89
  182. package/dist/bin/dispatcher.js +10 -10
  183. package/dist/bin/loader.js +8 -8
  184. package/dist/builder-vite/index.d.ts +1 -1
  185. package/dist/builder-vite/index.js +18 -18
  186. package/dist/builder-vite/preset.js +13 -13
  187. package/dist/channels/index.d.ts +1 -1
  188. package/dist/channels/index.js +2 -2
  189. package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
  190. package/dist/{chunk-Fg1Fm__9.d.ts → chunk-BCG2ui5q.d.ts} +671 -674
  191. package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
  192. package/dist/{chunk-CYuvV2sR.d.ts → chunk-BNRZY6Jq.d.ts} +3 -3
  193. package/dist/{chunk-CNqjcOmK.d.ts → chunk-BV_hETtB.d.ts} +2 -2
  194. package/dist/chunk-BcYKnZln.d.ts +10 -0
  195. package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
  196. package/dist/{chunk-Bpi2tz-6.d.ts → chunk-Bubi-WAs.d.ts} +20 -17
  197. package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
  198. package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
  199. package/dist/{chunk-DROZ9oel.d.ts → chunk-DNCU78oW.d.ts} +110 -9
  200. package/dist/{chunk-D0NUmzXp.d.ts → chunk-LWwxlbee.d.ts} +4 -4
  201. package/dist/{chunk-BXLImeLy.d.ts → chunk-u_gGuTrz.d.ts} +23 -8
  202. package/dist/cli/index.d.ts +3 -3
  203. package/dist/cli/index.js +25 -30
  204. package/dist/cli/skills/content/index.d.ts +1 -1
  205. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  206. package/dist/cli/tools/sdk/child-host.js +17 -17
  207. package/dist/cli/tools/sdk/index.d.ts +3 -3
  208. package/dist/cli/tools/sdk/index.js +18 -18
  209. package/dist/cli-commands/bin/index.js +7 -7
  210. package/dist/client-logger/index.d.ts +20 -21
  211. package/dist/client-logger/index.js +2 -1
  212. package/dist/common/index.d.ts +13 -13
  213. package/dist/common/index.js +34 -35
  214. package/dist/components/index.d.ts +46 -35
  215. package/dist/components/index.js +194 -205
  216. package/dist/core-events/index.d.ts +2 -2
  217. package/dist/core-server/index.d.ts +15 -10
  218. package/dist/core-server/index.js +706 -165
  219. package/dist/core-server/presets/common-manager.js +254 -336
  220. package/dist/core-server/presets/common-override-preset.js +10 -10
  221. package/dist/core-server/presets/common-preset.js +83 -275
  222. package/dist/create/bin/index.js +7 -7
  223. package/dist/create/index.js +15 -15
  224. package/dist/csf/csf-utils.d.ts +1 -1
  225. package/dist/csf/index.d.ts +3 -3
  226. package/dist/csf/index.js +40 -43
  227. package/dist/csf-tools/index.d.ts +52 -44
  228. package/dist/csf-tools/index.js +13 -13
  229. package/dist/docs-tools/index.d.ts +332 -16
  230. package/dist/docs-tools/index.js +3 -3
  231. package/dist/instrumenter/index.d.ts +5 -5
  232. package/dist/instrumenter/index.js +25 -15
  233. package/dist/manager/_manager-chunks/{globals-runtime-DvV_TF3-.js → globals-runtime-B4NRbNSS.js} +2 -2
  234. package/dist/manager/_manager-chunks/{globals-runtime-wjkxyMn0.js → globals-runtime-BC43T1rL.js} +4150 -50
  235. package/dist/manager/_manager-chunks/{globals-runtime-BSj0mCjE.js → globals-runtime-BgWmCsA7.js} +114 -110
  236. package/dist/manager/_manager-chunks/{globals-runtime-CA8AuIRT.js → globals-runtime-BnQ7i5wq.js} +232 -228
  237. package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
  238. package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
  239. package/dist/manager/_manager-chunks/{globals-runtime-C5gK7HhH.js → globals-runtime-C59T0h-j.js} +2 -2
  240. package/dist/manager/_manager-chunks/{globals-runtime-CCTA-XPa.js → globals-runtime-CCZrdft6.js} +5 -4
  241. package/dist/manager/_manager-chunks/{globals-runtime-BY3epqww.js → globals-runtime-CS41oTca.js} +2 -1
  242. package/dist/manager/_manager-chunks/{globals-runtime-Bu9eGDTe.js → globals-runtime-Cccwtspx.js} +288 -420
  243. package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
  244. package/dist/manager/_manager-chunks/{globals-runtime-BweHuXkK.js → globals-runtime-DCmvKMN5.js} +2 -2
  245. package/dist/manager/_manager-chunks/{globals-runtime-C92M_Vnq.js → globals-runtime-Ddp2jFET.js} +5 -5
  246. package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
  247. package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
  248. package/dist/manager/_manager-chunks/{globals-runtime-CHjExYMv.js → globals-runtime-UFDJQlo-.js} +741 -540
  249. package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
  250. package/dist/manager/_manager-chunks/{globals-runtime-Bj5KDUJi.js → globals-runtime-oRjPg2jY.js} +1 -1
  251. package/dist/manager/_manager-chunks/runtime-4wMiTjjZ.js +552 -0
  252. package/dist/manager/_manager-chunks/{runtime--hR2NZFd.js → runtime-AvqHE9rM.js} +112 -109
  253. package/dist/manager/_manager-chunks/{runtime-EPerAEAs.js → runtime-CZtDJIYj.js} +3 -3
  254. package/dist/manager/_manager-chunks/{runtime-B6NL14pz.js → runtime-D8QxTQiI.js} +6 -6
  255. package/dist/manager/_manager-chunks/{runtime-BAsOe1C_.js → runtime-DC3oEVlM.js} +49 -49
  256. package/dist/manager/_manager-chunks/{runtime-CJQZFUUj.js → runtime-DCOIOn4T.js} +46 -56
  257. package/dist/manager/_manager-chunks/{runtime-DvB1axgp.js → runtime-D_FDSHFG.js} +13 -13
  258. package/dist/manager/_manager-chunks/{runtime-Dtbhxq5m.js → runtime-Db8fJ2MP.js} +67 -500
  259. package/dist/manager/_manager-chunks/{runtime-CgRqs_SK.js → runtime-lPbyY_f5.js} +882 -869
  260. package/dist/manager/_manager-chunks/{runtime-Dem2xJbS.js → runtime-td6oYfU6.js} +739 -554
  261. package/dist/manager/globals-runtime.js +1 -1
  262. package/dist/manager/runtime.js +1 -1
  263. package/dist/manager-api/index.d.ts +1 -1
  264. package/dist/manager-api/index.js +479 -464
  265. package/dist/manager-errors.d.ts +1 -1
  266. package/dist/mcp/index.d.ts +1 -1
  267. package/dist/mcp/index.js +9 -9
  268. package/dist/mocking-utils/index.d.ts +5 -3
  269. package/dist/mocking-utils/index.js +21 -26
  270. package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
  271. package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
  272. package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
  273. package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
  274. package/dist/nextjs-vite/index.d.ts +2 -2
  275. package/dist/nextjs-vite/index.js +9 -5
  276. package/dist/nextjs-vite/node/index.js +7 -7
  277. package/dist/nextjs-vite/preset.js +12 -12
  278. package/dist/nextjs-vite/preview.d.ts +2 -1
  279. package/dist/nextjs-vite/preview.js +1 -1
  280. package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
  281. package/dist/nextjs-vite/vite-plugin/index.js +9 -9
  282. package/dist/nextjs-vite-plugin/index.js +17 -27
  283. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  284. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
  285. package/dist/node-logger/index.d.ts +18 -18
  286. package/dist/node-logger/index.js +9 -9
  287. package/dist/oxc-parser/index.js +14 -11
  288. package/dist/oxc-parser/worker.js +10 -10
  289. package/dist/preview/_chunks/{runtime-Bcv1hJky.js → runtime-BYRCSYBN.js} +4148 -48
  290. package/dist/preview/_chunks/{runtime-WapFVPAh.js → runtime-Bvh_rfnQ.js} +2 -37
  291. package/dist/preview/_chunks/{runtime-BZ4pNS3g.js → runtime-CdZ1yk7m.js} +3 -3
  292. package/dist/preview/_chunks/{runtime-BhSZ1Mwt.js → runtime-CsO4apr9.js} +38 -42
  293. package/dist/preview/_chunks/{runtime-BUnOhg9h.js → runtime-D2MPrqbU.js} +2 -2
  294. package/dist/preview/_chunks/{runtime-BPwAnlRx.js → runtime-DS0s7U3c.js} +1 -1
  295. package/dist/preview/_chunks/{runtime-BgPhfM5P.js → runtime-U1Ycy25F.js} +736 -428
  296. package/dist/preview/_chunks/{runtime-BJwGQok8.js → runtime-tyJLgv6h.js} +221 -60
  297. package/dist/preview/runtime.js +1 -1
  298. package/dist/preview-api/index.d.ts +3 -3
  299. package/dist/preview-api/index.js +8 -8
  300. package/dist/preview-errors.d.ts +1 -1
  301. package/dist/react/docgen/docgen-worker.js +11 -11
  302. package/dist/react/entry-preview-argtypes.js +1 -1
  303. package/dist/react/entry-preview-docs.js +1 -1
  304. package/dist/react/entry-preview.js +1 -1
  305. package/dist/react/index.d.ts +5 -7
  306. package/dist/react/index.js +5 -5
  307. package/dist/react/preset.js +13 -13
  308. package/dist/react/preview.js +4 -4
  309. package/dist/react-native/bin/get-stories.js +8 -8
  310. package/dist/react-native/index.d.ts +37 -36
  311. package/dist/react-native/index.js +38 -38
  312. package/dist/react-native/metro/node.d.ts +1 -1
  313. package/dist/react-native/metro/node.js +10 -10
  314. package/dist/react-native/metro/withForkbook.d.ts +7 -7
  315. package/dist/react-native/metro/withForkbook.js +16 -16
  316. package/dist/react-native/preview.js +4 -1
  317. package/dist/react-native/scripts/generate.js +8 -8
  318. package/dist/react-native/stub.js +1 -1
  319. package/dist/react-native-ui/index.d.ts +8 -7
  320. package/dist/react-native-ui/index.js +1 -8
  321. package/dist/react-native-ui-common/index.d.ts +30 -9
  322. package/dist/react-native-ui-common/index.js +26 -31
  323. package/dist/react-vite/node/index.js +7 -7
  324. package/dist/react-vite/preset.js +7 -7
  325. package/dist/router/index.d.ts +2 -2
  326. package/dist/router/index.js +4 -2
  327. package/dist/server-errors.d.ts +1 -1
  328. package/dist/server-errors.js +9 -9
  329. package/dist/shared/open-service/index.d.ts +3 -3
  330. package/dist/shared/open-service/index.js +1 -1
  331. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  332. package/dist/shared/open-service/toolsets/docs/public.d.ts +7 -7
  333. package/dist/telemetry/index.d.ts +38 -274
  334. package/dist/telemetry/index.js +11 -66
  335. package/dist/test/index.d.ts +2 -2
  336. package/dist/test/index.js +139 -120
  337. package/dist/theming/create.d.ts +1 -1
  338. package/dist/theming/index.d.ts +1 -1
  339. package/dist/types/index.d.ts +2 -2
  340. package/dist/types/index.js +2 -2
  341. package/package.json +16 -16
  342. package/template/nextjs-vite/cli/js/Button.jsx +2 -2
  343. package/template/nextjs-vite/cli/js/Header.jsx +1 -1
  344. package/template/nextjs-vite/cli/js/Page.jsx +1 -1
  345. package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
  346. package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
  347. package/template/nextjs-vite/cli/ts/Page.tsx +1 -1
  348. package/template/react/cli/js/Button.jsx +2 -2
  349. package/template/react/cli/js/Header.jsx +1 -1
  350. package/template/react/cli/js/Page.jsx +1 -1
  351. package/template/react/cli/ts/Button.tsx +2 -2
  352. package/template/react/cli/ts/Header.tsx +1 -1
  353. package/template/react/cli/ts/Page.tsx +1 -1
  354. package/template/react-vite/cli/js/Button.jsx +2 -2
  355. package/template/react-vite/cli/js/Header.jsx +1 -1
  356. package/template/react-vite/cli/js/Page.jsx +1 -1
  357. package/template/react-vite/cli/ts/Button.tsx +2 -2
  358. package/template/react-vite/cli/ts/Header.tsx +1 -1
  359. package/template/react-vite/cli/ts/Page.tsx +1 -1
  360. package/dist/_node-chunks/chunk-2YNXKY72.js +0 -40
  361. package/dist/_node-chunks/chunk-3NST2GUZ.js +0 -33
  362. package/dist/_node-chunks/chunk-4D325SMT.js +0 -1359
  363. package/dist/_node-chunks/chunk-APXRPW7A.js +0 -11
  364. package/dist/_node-chunks/chunk-QHBQRPDP.js +0 -155
  365. package/dist/_node-chunks/chunk-SMBAR4G6.js +0 -18
  366. package/dist/_node-chunks/chunk-SRDKK3SG.js +0 -33
  367. package/dist/_node-chunks/chunk-V5IMPC3J.js +0 -33
  368. package/dist/_node-chunks/chunk-YIAUHGY2.js +0 -69
  369. package/dist/_node-chunks/dist-C5QIQD3G.js +0 -27
  370. package/dist/_node-chunks/dist-NBRPZCHX.js +0 -16
  371. package/dist/_node-chunks/optimized-tests-EIPJR7HA.js +0 -22
  372. package/dist/_node-chunks/postinstallAddon-EOAAURMG.js +0 -20
  373. package/dist/_node-chunks/session-id-HEW5JUNB.js +0 -23
  374. package/dist/chunk-BGhyFTJO.d.ts +0 -115
  375. package/dist/chunk-DaVb55-_.d.ts +0 -124
  376. package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +0 -9987
  377. package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +0 -4091
  378. package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +0 -78
  379. package/dist/preview/_chunks/runtime-BsMjBzuq.js +0 -53
  380. package/dist/preview/_chunks/runtime-C1jgT6tJ.js +0 -4091
  381. package/dist/preview/_chunks/runtime-CkOhMcXf.js +0 -387
@@ -16100,14 +16100,20 @@ function createExpect() {
16100
16100
  let { assertionCalls } = getState(expect4);
16101
16101
  return setState({ assertionCalls: assertionCalls + 1, soft: !1 }, expect4), expect(value, message);
16102
16102
  });
16103
- Object.assign(expect4, expect), expect4.getState = () => getState(expect4), expect4.setState = (state) => setState(state, expect4), expect4.extend = (expects) => expect.extend(expect4, expects), expect4.soft = (...args) => {
16104
- let assert2 = expect4(...args);
16105
- return expect4.setState({
16106
- soft: !0
16107
- }), assert2;
16108
- }, expect4.extend(customMatchers), expect4.unreachable = (message) => {
16109
- assert.fail(`expected${message ? ` "${message}" ` : " "}not to be reached`);
16110
- };
16103
+ Object.assign(expect4, expect), expect4.getState = () => getState(expect4), expect4.setState = (state) => setState(state, expect4);
16104
+ let chaiExpect = expect;
16105
+ expect4.extend = (expects) => chaiExpect.extend(expect4, expects), Object.assign(expect4, {
16106
+ soft: (value, message) => {
16107
+ let assert2 = expect4(value, message);
16108
+ return expect4.setState({
16109
+ soft: !0
16110
+ }), assert2;
16111
+ }
16112
+ }), expect4.extend(customMatchers), Object.assign(expect4, {
16113
+ unreachable: (message) => {
16114
+ assert.fail(`expected${message ? ` "${message}" ` : " "}not to be reached`);
16115
+ }
16116
+ });
16111
16117
  function assertions(expected) {
16112
16118
  let errorGen = () => new Error(
16113
16119
  `expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`
@@ -16193,14 +16199,14 @@ function mocked(item, _options = {}) {
16193
16199
  // src/test/testing-library.ts
16194
16200
  import * as domTestingLibrary from "@testing-library/dom";
16195
16201
 
16196
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isElementType.js
16202
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/isElementType.js
16197
16203
  function isElementType(element, tag, props) {
16198
16204
  return element.namespaceURI && element.namespaceURI !== "http://www.w3.org/1999/xhtml" || (tag = Array.isArray(tag) ? tag : [
16199
16205
  tag
16200
16206
  ], !tag.includes(element.tagName.toLowerCase())) ? !1 : props ? Object.entries(props).every(([k2, v2]) => element[k2] === v2) : !0;
16201
16207
  }
16202
16208
 
16203
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getWindow.js
16209
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/getWindow.js
16204
16210
  function getWindow(node) {
16205
16211
  var _node_ownerDocument;
16206
16212
  if (isDocument(node) && node.defaultView)
@@ -16216,7 +16222,7 @@ function describe(val) {
16216
16222
  return typeof val == "function" ? `function ${val.name}` : val === null ? "null" : String(val);
16217
16223
  }
16218
16224
 
16219
- // ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Blob.js
16225
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Blob.js
16220
16226
  function readBlobText(blob, FileReader) {
16221
16227
  return new Promise((res, rej) => {
16222
16228
  let fr = new FileReader();
@@ -16226,7 +16232,7 @@ function readBlobText(blob, FileReader) {
16226
16232
  });
16227
16233
  }
16228
16234
 
16229
- // ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/FileList.js
16235
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/FileList.js
16230
16236
  function createFileList(window2, files) {
16231
16237
  let list = {
16232
16238
  ...files,
@@ -16240,7 +16246,7 @@ function createFileList(window2, files) {
16240
16246
  return list.constructor = window2.FileList, window2.FileList && Object.setPrototypeOf(list, window2.FileList.prototype), Object.freeze(list), list;
16241
16247
  }
16242
16248
 
16243
- // ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/DataTransfer.js
16249
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/DataTransfer.js
16244
16250
  function _define_property(obj, key, value) {
16245
16251
  return key in obj ? Object.defineProperty(obj, key, {
16246
16252
  value,
@@ -16263,9 +16269,13 @@ var DataTransferItemStub = class {
16263
16269
  constructor(dataOrFile, type5) {
16264
16270
  _define_property(this, "kind", void 0), _define_property(this, "type", void 0), _define_property(this, "file", null), _define_property(this, "data", void 0), typeof dataOrFile == "string" ? (this.kind = "string", this.type = String(type5), this.data = dataOrFile) : (this.kind = "file", this.type = dataOrFile.type, this.file = dataOrFile);
16265
16271
  }
16266
- }, DataTransferItemListStub = class extends Array {
16272
+ };
16273
+ function toAsciiLowercase(value) {
16274
+ return value.replace(/[A-Z]/g, (char) => char.toLowerCase());
16275
+ }
16276
+ var DataTransferItemListStub = class extends Array {
16267
16277
  add(...args) {
16268
- let item = new DataTransferItemStub(args[0], args[1]);
16278
+ let item = typeof args[0] == "string" ? new DataTransferItemStub(args[0], toAsciiLowercase(args[1])) : new DataTransferItemStub(args[0]);
16269
16279
  return this.push(item), item;
16270
16280
  }
16271
16281
  clear() {
@@ -16275,6 +16285,10 @@ var DataTransferItemStub = class {
16275
16285
  this.splice(index2, 1);
16276
16286
  }
16277
16287
  };
16288
+ function normalizeFormat(format3) {
16289
+ let type5 = toAsciiLowercase(format3);
16290
+ return type5 === "text" ? "text/plain" : type5 === "url" ? "text/uri-list" : type5;
16291
+ }
16278
16292
  function getTypeMatcher(type5, exact) {
16279
16293
  let [group, sub] = type5.split("/"), isGroup = !sub || sub === "*";
16280
16294
  return (item) => exact ? item.type === (isGroup ? group : type5) : isGroup ? item.type.startsWith(`${group}/`) : item.type === group;
@@ -16283,18 +16297,18 @@ function createDataTransferStub(window2) {
16283
16297
  return new class {
16284
16298
  getData(format3) {
16285
16299
  var _this_items_find;
16286
- let match = (_this_items_find = this.items.find(getTypeMatcher(format3, !0))) !== null && _this_items_find !== void 0 ? _this_items_find : this.items.find(getTypeMatcher(format3, !1)), text = "";
16300
+ let type5 = normalizeFormat(format3), match = (_this_items_find = this.items.find(getTypeMatcher(type5, !0))) !== null && _this_items_find !== void 0 ? _this_items_find : this.items.find(getTypeMatcher(type5, !1)), text = "";
16287
16301
  return match?.getAsString((t2) => {
16288
16302
  text = t2;
16289
16303
  }), text;
16290
16304
  }
16291
16305
  setData(format3, data) {
16292
- let matchIndex = this.items.findIndex(getTypeMatcher(format3, !0)), item = new DataTransferItemStub(data, format3);
16306
+ let type5 = normalizeFormat(format3), matchIndex = this.items.findIndex(getTypeMatcher(type5, !0)), item = new DataTransferItemStub(data, type5);
16293
16307
  matchIndex >= 0 ? this.items.splice(matchIndex, 1, item) : this.items.push(item);
16294
16308
  }
16295
16309
  clearData(format3) {
16296
16310
  if (format3) {
16297
- let matchIndex = this.items.findIndex(getTypeMatcher(format3, !0));
16311
+ let type5 = normalizeFormat(format3), matchIndex = this.items.findIndex(getTypeMatcher(type5, !0));
16298
16312
  matchIndex >= 0 && this.items.remove(matchIndex);
16299
16313
  } else
16300
16314
  this.items.clear();
@@ -16328,7 +16342,7 @@ async function getBlobFromDataTransferItem(window2, item) {
16328
16342
  });
16329
16343
  }
16330
16344
 
16331
- // ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Clipboard.js
16345
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Clipboard.js
16332
16346
  function _define_property2(obj, key, value) {
16333
16347
  return key in obj ? Object.defineProperty(obj, key, {
16334
16348
  value,
@@ -16450,7 +16464,7 @@ typeof g.afterAll == "function" && g.afterAll(() => {
16450
16464
  typeof globalThis.window < "u" && detachClipboardStubFromView(globalThis.window);
16451
16465
  });
16452
16466
 
16453
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selector.js
16467
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/selector.js
16454
16468
  var FOCUSABLE_SELECTOR = [
16455
16469
  "input:not([type=hidden]):not([disabled])",
16456
16470
  "button:not([disabled])",
@@ -16463,17 +16477,17 @@ var FOCUSABLE_SELECTOR = [
16463
16477
  "details > summary"
16464
16478
  ].join(", ");
16465
16479
 
16466
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/isFocusable.js
16480
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/isFocusable.js
16467
16481
  function isFocusable(element) {
16468
16482
  return element.matches(FOCUSABLE_SELECTOR);
16469
16483
  }
16470
16484
 
16471
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/cloneEvent.js
16485
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/cloneEvent.js
16472
16486
  function cloneEvent(event) {
16473
16487
  return new event.constructor(event.type, event);
16474
16488
  }
16475
16489
 
16476
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isDisabled.js
16490
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/isDisabled.js
16477
16491
  function isDisabled2(element) {
16478
16492
  for (let el = element; el; el = el.parentElement)
16479
16493
  if (isElementType(el, [
@@ -16495,13 +16509,17 @@ function isDisabled2(element) {
16495
16509
  return !1;
16496
16510
  }
16497
16511
 
16498
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/getActiveElement.js
16512
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/getActiveElement.js
16499
16513
  function getActiveElement(document) {
16500
16514
  let activeElement = document.activeElement;
16501
16515
  if (activeElement?.shadowRoot) {
16502
16516
  let activeElementInShadowTree = getActiveElement(activeElement.shadowRoot);
16503
16517
  if (activeElementInShadowTree)
16504
16518
  return activeElementInShadowTree;
16519
+ } else if (activeElement && isElementType(activeElement, "iframe")) {
16520
+ let contentDocument = activeElement.contentDocument;
16521
+ if (contentDocument)
16522
+ return getActiveElement(contentDocument);
16505
16523
  }
16506
16524
  return isDisabled2(activeElement) ? document.ownerDocument ? (
16507
16525
  /* istanbul ignore next */
@@ -16516,7 +16534,7 @@ function getActiveElementOrBody(document) {
16516
16534
  );
16517
16535
  }
16518
16536
 
16519
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/findClosest.js
16537
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/findClosest.js
16520
16538
  function findClosest(element, callback) {
16521
16539
  let el = element;
16522
16540
  do {
@@ -16526,7 +16544,7 @@ function findClosest(element, callback) {
16526
16544
  } while (el && el !== element.ownerDocument.body);
16527
16545
  }
16528
16546
 
16529
- // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/isContentEditable.js
16547
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/edit/isContentEditable.js
16530
16548
  function isContentEditable(element) {
16531
16549
  return element.hasAttribute("contenteditable") && (element.getAttribute("contenteditable") == "true" || element.getAttribute("contenteditable") == "");
16532
16550
  }
@@ -16538,7 +16556,7 @@ function getElement(node) {
16538
16556
  return node.nodeType === 1 ? node : node.parentElement;
16539
16557
  }
16540
16558
 
16541
- // ../node_modules/@testing-library/user-event/dist/esm/utils/click/isClickableInput.js
16559
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/click/isClickableInput.js
16542
16560
  var clickableInputTypes = (function(clickableInputTypes2) {
16543
16561
  return clickableInputTypes2.button = "button", clickableInputTypes2.color = "color", clickableInputTypes2.file = "file", clickableInputTypes2.image = "image", clickableInputTypes2.reset = "reset", clickableInputTypes2.submit = "submit", clickableInputTypes2.checkbox = "checkbox", clickableInputTypes2.radio = "radio", clickableInputTypes2;
16544
16562
  })(clickableInputTypes || {});
@@ -16546,7 +16564,7 @@ function isClickableInput(element) {
16546
16564
  return isElementType(element, "button") || isElementType(element, "input") && element.type in clickableInputTypes;
16547
16565
  }
16548
16566
 
16549
- // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/isEditable.js
16567
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/edit/isEditable.js
16550
16568
  function isEditable(element) {
16551
16569
  return isEditableInputOrTextArea(element) && !element.readOnly || isContentEditable(element);
16552
16570
  }
@@ -16557,7 +16575,7 @@ function isEditableInputOrTextArea(element) {
16557
16575
  return isElementType(element, "textarea") || isElementType(element, "input") && element.type in editableInputTypes;
16558
16576
  }
16559
16577
 
16560
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selection.js
16578
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/selection.js
16561
16579
  function hasOwnSelection(node) {
16562
16580
  return isElement2(node) && isEditableInputOrTextArea(node);
16563
16581
  }
@@ -16568,7 +16586,7 @@ function isElement2(node) {
16568
16586
  return node.nodeType === 1;
16569
16587
  }
16570
16588
 
16571
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/updateSelectionOnFocus.js
16589
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/updateSelectionOnFocus.js
16572
16590
  function updateSelectionOnFocus(element) {
16573
16591
  let selection = element.ownerDocument.getSelection();
16574
16592
  if (selection?.focusNode && hasOwnSelection(element)) {
@@ -16584,13 +16602,13 @@ function updateSelectionOnFocus(element) {
16584
16602
  }
16585
16603
  }
16586
16604
 
16587
- // ../node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js
16605
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js
16588
16606
  import { getConfig as getConfig2 } from "@testing-library/dom";
16589
16607
  function wrapEvent(cb, _element) {
16590
16608
  return getConfig2().eventWrapper(cb);
16591
16609
  }
16592
16610
 
16593
- // ../node_modules/@testing-library/user-event/dist/esm/event/focus.js
16611
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/focus.js
16594
16612
  function focusElement(element) {
16595
16613
  let target = findClosest(element, isFocusable), activeElement = getActiveElement(element.ownerDocument);
16596
16614
  (target ?? element.ownerDocument.body) !== activeElement && (target ? wrapEvent(() => target.focus()) : wrapEvent(() => activeElement?.blur()), updateSelectionOnFocus(target ?? element.ownerDocument.body));
@@ -16599,10 +16617,10 @@ function blurElement(element) {
16599
16617
  !isFocusable(element) || !(getActiveElement(element.ownerDocument) === element) || wrapEvent(() => element.blur());
16600
16618
  }
16601
16619
 
16602
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/registry.js
16620
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/registry.js
16603
16621
  var behavior = {};
16604
16622
 
16605
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/click.js
16623
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/click.js
16606
16624
  behavior.click = (event, target, instance) => {
16607
16625
  let context = target.closest("button,input,label,select,textarea"), control = context && isElementType(context, "label") && context.control;
16608
16626
  if (control && control !== target)
@@ -16617,7 +16635,7 @@ behavior.click = (event, target, instance) => {
16617
16635
  };
16618
16636
  };
16619
16637
 
16620
- // ../node_modules/@testing-library/user-event/dist/esm/document/UI.js
16638
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/UI.js
16621
16639
  var UIValue = /* @__PURE__ */ Symbol("Displayed value in UI"), UISelection = /* @__PURE__ */ Symbol("Displayed selection in UI"), InitialValue = /* @__PURE__ */ Symbol("Initial value to compare on blur");
16622
16640
  function isUIValue(value) {
16623
16641
  return typeof value == "object" && UIValue in value;
@@ -16679,7 +16697,7 @@ function setUISelectionClean(element) {
16679
16697
  element[UISelection] = void 0;
16680
16698
  }
16681
16699
 
16682
- // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/timeValue.js
16700
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/edit/timeValue.js
16683
16701
  var parseInt = globalThis.parseInt;
16684
16702
  function buildTimeValue(value) {
16685
16703
  let onlyDigitsValue = value.replace(/\D/g, "");
@@ -16701,7 +16719,7 @@ function isValidDateOrTimeValue(element, value) {
16701
16719
  return clone2.value = value, clone2.value === value;
16702
16720
  }
16703
16721
 
16704
- // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/maxLength.js
16722
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/edit/maxLength.js
16705
16723
  var maxLengthSupportedTypes = (function(maxLengthSupportedTypes2) {
16706
16724
  return maxLengthSupportedTypes2.email = "email", maxLengthSupportedTypes2.password = "password", maxLengthSupportedTypes2.search = "search", maxLengthSupportedTypes2.telephone = "telephone", maxLengthSupportedTypes2.text = "text", maxLengthSupportedTypes2.url = "url", maxLengthSupportedTypes2;
16707
16725
  })(maxLengthSupportedTypes || {});
@@ -16714,7 +16732,7 @@ function supportsMaxLength(element) {
16714
16732
  return isElementType(element, "textarea") || isElementType(element, "input") && element.type in maxLengthSupportedTypes;
16715
16733
  }
16716
16734
 
16717
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/cursor.js
16735
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/cursor.js
16718
16736
  function getNextCursorPosition(node, offset, direction, inputType) {
16719
16737
  if (isTextNode(node) && offset + direction >= 0 && offset + direction <= node.nodeValue.length)
16720
16738
  return {
@@ -16799,7 +16817,7 @@ function getDescendant(node, direction) {
16799
16817
  return node;
16800
16818
  }
16801
16819
 
16802
- // ../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
16820
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
16803
16821
  var TrackChanges = /* @__PURE__ */ Symbol("Track programmatic changes for React workaround");
16804
16822
  function isReact17Element(element) {
16805
16823
  return Object.getOwnPropertyNames(element).some((k2) => k2.startsWith("__react")) && getWindow(element).REACT_VERSION === 17;
@@ -16827,7 +16845,7 @@ function commitValueAfterInput(element, cursorOffset) {
16827
16845
  });
16828
16846
  }
16829
16847
 
16830
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js
16848
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js
16831
16849
  function getTargetTypeAndSelection(node) {
16832
16850
  let element = getElement2(node);
16833
16851
  if (element && hasOwnSelection(element))
@@ -16845,7 +16863,7 @@ function getElement2(node) {
16845
16863
  return node.nodeType === 1 ? node : node.parentElement;
16846
16864
  }
16847
16865
 
16848
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/getInputRange.js
16866
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/getInputRange.js
16849
16867
  function getInputRange(focusNode) {
16850
16868
  let typeAndSelection = getTargetTypeAndSelection(focusNode);
16851
16869
  if (typeAndSelection.type === "input")
@@ -16856,7 +16874,7 @@ function getInputRange(focusNode) {
16856
16874
  }
16857
16875
  }
16858
16876
 
16859
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelection.js
16877
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelection.js
16860
16878
  function setSelection({ focusNode, focusOffset, anchorNode = focusNode, anchorOffset = focusOffset }) {
16861
16879
  var _anchorNode_ownerDocument_getSelection, _anchorNode_ownerDocument;
16862
16880
  if (getTargetTypeAndSelection(focusNode).type === "input")
@@ -16867,7 +16885,7 @@ function setSelection({ focusNode, focusOffset, anchorNode = focusNode, anchorOf
16867
16885
  (_anchorNode_ownerDocument = anchorNode.ownerDocument) === null || _anchorNode_ownerDocument === void 0 || (_anchorNode_ownerDocument_getSelection = _anchorNode_ownerDocument.getSelection()) === null || _anchorNode_ownerDocument_getSelection === void 0 || _anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode, anchorOffset, focusNode, focusOffset);
16868
16886
  }
16869
16887
 
16870
- // ../node_modules/@testing-library/user-event/dist/esm/event/input.js
16888
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/input.js
16871
16889
  function isDateOrTime(element) {
16872
16890
  return isElementType(element, "input") && [
16873
16891
  "date",
@@ -16955,17 +16973,17 @@ function isValidNumberInput(value) {
16955
16973
  return !(/[^\d.\-e]/.test(value) || Number((_value_match = value.match(/-/g)) === null || _value_match === void 0 ? void 0 : _value_match.length) > 2 || Number((_value_match1 = value.match(/\./g)) === null || _value_match1 === void 0 ? void 0 : _value_match1.length) > 1 || valueParts[1] && !/^-?\d*$/.test(valueParts[1]));
16956
16974
  }
16957
16975
 
16958
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/cut.js
16976
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/cut.js
16959
16977
  behavior.cut = (event, target, instance) => () => {
16960
16978
  isEditable(target) && input(instance, target, "", "deleteByCut");
16961
16979
  };
16962
16980
 
16963
- // ../node_modules/@testing-library/user-event/dist/esm/document/getValueOrTextContent.js
16981
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/getValueOrTextContent.js
16964
16982
  function getValueOrTextContent(element) {
16965
16983
  return element ? isContentEditable(element) ? element.textContent : getUIValue(element) : null;
16966
16984
  }
16967
16985
 
16968
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isVisible.js
16986
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/isVisible.js
16969
16987
  function isVisible(element) {
16970
16988
  let window2 = getWindow(element);
16971
16989
  for (let el = element; el?.ownerDocument; el = el.parentElement) {
@@ -16976,7 +16994,7 @@ function isVisible(element) {
16976
16994
  return !0;
16977
16995
  }
16978
16996
 
16979
- // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js
16997
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js
16980
16998
  function getTabDestination(activeElement, shift) {
16981
16999
  let document = activeElement.ownerDocument, focusableElements = document.querySelectorAll(FOCUSABLE_SELECTOR), enabledElements = Array.from(focusableElements).filter((el) => el === activeElement || !(Number(el.getAttribute("tabindex")) < 0 || isDisabled2(el)));
16982
17000
  Number(activeElement.getAttribute("tabindex")) >= 0 && enabledElements.sort((a4, b2) => {
@@ -17015,7 +17033,7 @@ function getTabDestination(activeElement, shift) {
17015
17033
  return prunedElements[index2];
17016
17034
  }
17017
17035
 
17018
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/moveSelection.js
17036
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/moveSelection.js
17019
17037
  function moveSelection(node, direction) {
17020
17038
  if (hasOwnSelection(node)) {
17021
17039
  let selection = getUISelection(node);
@@ -17038,7 +17056,7 @@ function moveSelection(node, direction) {
17038
17056
  }
17039
17057
  }
17040
17058
 
17041
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js
17059
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js
17042
17060
  function selectAll(target) {
17043
17061
  var _getContentEditable;
17044
17062
  if (hasOwnSelection(target))
@@ -17062,7 +17080,7 @@ function isAllSelected(target) {
17062
17080
  return selection?.anchorNode === focusNode && selection.focusNode === focusNode && selection.anchorOffset === 0 && selection.focusOffset === focusNode.childNodes.length;
17063
17081
  }
17064
17082
 
17065
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionRange.js
17083
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionRange.js
17066
17084
  function setSelectionRange(element, anchorOffset, focusOffset) {
17067
17085
  var _element_firstChild;
17068
17086
  if (hasOwnSelection(element))
@@ -17080,7 +17098,7 @@ function setSelectionRange(element, anchorOffset, focusOffset) {
17080
17098
  throw new Error("Not implemented. The result of this interaction is unreliable.");
17081
17099
  }
17082
17100
 
17083
- // ../node_modules/@testing-library/user-event/dist/esm/event/radio.js
17101
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/radio.js
17084
17102
  function walkRadio(instance, el, direction) {
17085
17103
  let window2 = getWindow(el), group = Array.from(el.ownerDocument.querySelectorAll(el.name ? `input[type="radio"][name="${window2.CSS.escape(el.name)}"]` : 'input[type="radio"][name=""], input[type="radio"]:not([name])'));
17086
17104
  for (let i3 = group.findIndex((e2) => e2 === el) + direction; ; i3 += direction) {
@@ -17093,7 +17111,7 @@ function walkRadio(instance, el, direction) {
17093
17111
  }
17094
17112
  }
17095
17113
 
17096
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keydown.js
17114
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/keydown.js
17097
17115
  behavior.keydown = (event, target, instance) => {
17098
17116
  var _ref, _keydownBehavior_event_key;
17099
17117
  return (_ref = (_keydownBehavior_event_key = keydownBehavior[event.key]) === null || _keydownBehavior_event_key === void 0 ? void 0 : _keydownBehavior_event_key.call(keydownBehavior, event, target, instance)) !== null && _ref !== void 0 ? _ref : combinationBehavior(event, target, instance);
@@ -17170,7 +17188,12 @@ var keydownBehavior = {
17170
17188
  };
17171
17189
  },
17172
17190
  Tab: (event, target, instance) => () => {
17173
- let dest = getTabDestination(target, instance.system.keyboard.modifiers.Shift);
17191
+ let dest = getTabDestination(
17192
+ // get target here because target would be stale, it's the element that keydown happened on, but
17193
+ // focus may have been moved to another element so that browser tab behaviour picks up from there
17194
+ getActiveElementOrBody(instance.config.document),
17195
+ instance.system.keyboard.modifiers.Shift
17196
+ );
17174
17197
  focusElement(dest), hasOwnSelection(dest) && setUISelection(dest, {
17175
17198
  anchorOffset: 0,
17176
17199
  focusOffset: dest.value.length
@@ -17181,7 +17204,7 @@ var keydownBehavior = {
17181
17204
  return () => selectAll(target);
17182
17205
  };
17183
17206
 
17184
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keypress.js
17207
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/keypress.js
17185
17208
  behavior.keypress = (event, target, instance) => {
17186
17209
  if (event.key === "Enter") {
17187
17210
  if (isElementType(target, "button") || isElementType(target, "input") && ClickInputOnEnter.includes(target.type) || isElementType(target, "a") && target.href)
@@ -17217,7 +17240,7 @@ var ClickInputOnEnter = [
17217
17240
  "week"
17218
17241
  ];
17219
17242
 
17220
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keyup.js
17243
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/keyup.js
17221
17244
  behavior.keyup = (event, target, instance) => {
17222
17245
  var _keyupBehavior_event_key;
17223
17246
  return (_keyupBehavior_event_key = keyupBehavior[event.key]) === null || _keyupBehavior_event_key === void 0 ? void 0 : _keyupBehavior_event_key.call(keyupBehavior, event, target, instance);
@@ -17229,7 +17252,7 @@ var keyupBehavior = {
17229
17252
  }
17230
17253
  };
17231
17254
 
17232
- // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/paste.js
17255
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/behavior/paste.js
17233
17256
  behavior.paste = (event, target, instance) => {
17234
17257
  if (isEditable(target))
17235
17258
  return () => {
@@ -17239,7 +17262,7 @@ behavior.paste = (event, target, instance) => {
17239
17262
  };
17240
17263
  };
17241
17264
 
17242
- // ../node_modules/@testing-library/user-event/dist/esm/event/eventMap.js
17265
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/eventMap.js
17243
17266
  var eventMap = {
17244
17267
  auxclick: {
17245
17268
  EventType: "PointerEvent",
@@ -17516,7 +17539,7 @@ function isKeyboardEvent(type5) {
17516
17539
  return getEventClass(type5) === "KeyboardEvent";
17517
17540
  }
17518
17541
 
17519
- // ../node_modules/@testing-library/user-event/dist/esm/event/createEvent.js
17542
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/createEvent.js
17520
17543
  var eventInitializer = {
17521
17544
  ClipboardEvent: [
17522
17545
  initClipboardEvent
@@ -17549,12 +17572,7 @@ var eventInitializer = {
17549
17572
  };
17550
17573
  function createEvent(type5, target, init) {
17551
17574
  let window2 = getWindow(target), { EventType, defaultInit } = eventMap[type5], event = new (getEventConstructors(window2))[EventType](type5, defaultInit);
17552
- var eventInit = {};
17553
- for (var key in init)
17554
- Object.prototype.hasOwnProperty.call(init, key) && (eventInit[key] = init[key]);
17555
- return eventInit.view = window2, eventInitializer[EventType].forEach(function(f4) {
17556
- f4(event, eventInit);
17557
- }), event;
17575
+ return eventInitializer[EventType].forEach((f4) => f4(event, init ?? {})), event;
17558
17576
  }
17559
17577
  function getEventConstructors(window2) {
17560
17578
  var _window_Event, _window_AnimationEvent, _window_ClipboardEvent, _window_PopStateEvent, _window_ProgressEvent, _window_TransitionEvent, _window_UIEvent, _window_CompositionEvent, _window_FocusEvent, _window_InputEvent, _window_KeyboardEvent, _window_MouseEvent, _window_DragEvent, _window_PointerEvent, _window_TouchEvent;
@@ -17685,12 +17703,12 @@ function initPointerEvent(event, { pointerId, width, height, pressure, tangentia
17685
17703
  tiltX: sanitizeNumber(tiltX),
17686
17704
  tiltY: sanitizeNumber(tiltY),
17687
17705
  twist: sanitizeNumber(twist),
17688
- pointerType: String(pointerType),
17706
+ pointerType: String(pointerType ?? ""),
17689
17707
  isPrimary: !!isPrimary
17690
17708
  });
17691
17709
  }
17692
17710
 
17693
- // ../node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js
17711
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js
17694
17712
  function dispatchUIEvent(target, type5, init, preventDefault = !1) {
17695
17713
  (isMouseEvent(type5) || isKeyboardEvent(type5)) && (init = {
17696
17714
  ...init,
@@ -17721,7 +17739,7 @@ function dispatchDOMEvent(target, type5, init) {
17721
17739
  wrapEvent(() => target.dispatchEvent(event));
17722
17740
  }
17723
17741
 
17724
- // ../node_modules/@testing-library/user-event/dist/esm/document/patchFocus.js
17742
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/patchFocus.js
17725
17743
  import "@testing-library/dom";
17726
17744
  var patched = /* @__PURE__ */ Symbol("patched focus/blur methods");
17727
17745
  function patchFocus(HTMLElement2) {
@@ -17783,17 +17801,17 @@ function getActiveTarget(document) {
17783
17801
  return active?.tagName === "BODY" ? null : active;
17784
17802
  }
17785
17803
 
17786
- // ../node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js
17804
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js
17787
17805
  import "@testing-library/dom";
17788
17806
 
17789
- // ../node_modules/@testing-library/user-event/dist/esm/document/interceptor.js
17807
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/interceptor.js
17790
17808
  var Interceptor = /* @__PURE__ */ Symbol("Interceptor for programmatical calls");
17791
17809
  function prepareInterceptor(element, propName, interceptorImpl) {
17792
17810
  let prototypeDescriptor = Object.getOwnPropertyDescriptor(element.constructor.prototype, propName), objectDescriptor = Object.getOwnPropertyDescriptor(element, propName), target = prototypeDescriptor?.set ? "set" : "value";
17793
17811
  if (typeof prototypeDescriptor?.[target] != "function" || prototypeDescriptor[target][Interceptor])
17794
17812
  throw new Error(`Element ${element.tagName} does not implement "${String(propName)}".`);
17795
17813
  function intercept(...args) {
17796
- let { applyNative = !1, realArgs, then } = interceptorImpl.call(this, ...args), realFunc = (!applyNative && objectDescriptor || prototypeDescriptor)[target];
17814
+ let { applyNative = !1, realArgs, then } = interceptorImpl.call(this, ...args), sourceDescriptor = !applyNative && objectDescriptor ? objectDescriptor : prototypeDescriptor, realFunc = sourceDescriptor?.[target];
17797
17815
  target === "set" ? realFunc.call(this, realArgs) : realFunc.call(this, ...realArgs), then?.();
17798
17816
  }
17799
17817
  intercept[Interceptor] = Interceptor, Object.defineProperty(element, propName, {
@@ -17803,11 +17821,11 @@ function prepareInterceptor(element, propName, interceptorImpl) {
17803
17821
  }
17804
17822
  function prepareValueInterceptor(element) {
17805
17823
  prepareInterceptor(element, "value", function(v2) {
17806
- let isUI = isUIValue(v2);
17824
+ let value = v2 === null ? "" : v2, isUI = isUIValue(value);
17807
17825
  return isUI && startTrackValue(this), {
17808
17826
  applyNative: !!isUI,
17809
- realArgs: sanitizeValue(this, v2),
17810
- then: isUI ? void 0 : () => trackOrSetValue(this, String(v2))
17827
+ realArgs: sanitizeValue(this, value),
17828
+ then: isUI ? void 0 : () => trackOrSetValue(this, String(value))
17811
17829
  };
17812
17830
  });
17813
17831
  }
@@ -17858,7 +17876,7 @@ function prepareRangeTextInterceptor(element) {
17858
17876
  });
17859
17877
  }
17860
17878
 
17861
- // ../node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js
17879
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/prepareDocument.js
17862
17880
  var isPrepared = /* @__PURE__ */ Symbol("Node prepared with document state workarounds");
17863
17881
  function prepareDocument(document) {
17864
17882
  document[isPrepared] || (document.addEventListener("focus", (e2) => {
@@ -17882,7 +17900,7 @@ function prepareElement(el) {
17882
17900
  ]) && (prepareValueInterceptor(el), prepareSelectionInterceptor(el), prepareRangeTextInterceptor(el)), el[isPrepared] = isPrepared);
17883
17901
  }
17884
17902
 
17885
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getDocumentFromNode.js
17903
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/getDocumentFromNode.js
17886
17904
  function getDocumentFromNode(el) {
17887
17905
  return isDocument2(el) ? el : el.ownerDocument;
17888
17906
  }
@@ -17890,7 +17908,7 @@ function isDocument2(node) {
17890
17908
  return node.nodeType === 9;
17891
17909
  }
17892
17910
 
17893
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/level.js
17911
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/level.js
17894
17912
  var ApiLevel = (function(ApiLevel2) {
17895
17913
  return ApiLevel2[ApiLevel2.Trigger = 2] = "Trigger", ApiLevel2[ApiLevel2.Call = 1] = "Call", ApiLevel2;
17896
17914
  })({});
@@ -17901,7 +17919,7 @@ function getLevelRef(instance, level) {
17901
17919
  return instance.levelRefs[level];
17902
17920
  }
17903
17921
 
17904
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/wait.js
17922
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/wait.js
17905
17923
  function wait(config2) {
17906
17924
  let delay = config2.delay;
17907
17925
  if (typeof delay == "number")
@@ -17911,15 +17929,15 @@ function wait(config2) {
17911
17929
  ]);
17912
17930
  }
17913
17931
 
17914
- // ../node_modules/@testing-library/user-event/dist/esm/options.js
17932
+ // ../../node_modules/@testing-library/user-event/dist/esm/options.js
17915
17933
  var PointerEventsCheckLevel = (function(PointerEventsCheckLevel2) {
17916
17934
  return PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTrigger = 4] = "EachTrigger", PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall = 2] = "EachApiCall", PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget = 1] = "EachTarget", PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never = 0] = "Never", PointerEventsCheckLevel2;
17917
17935
  })({});
17918
17936
 
17919
- // ../node_modules/@testing-library/user-event/dist/esm/setup/setup.js
17937
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/setup.js
17920
17938
  import "@testing-library/dom";
17921
17939
 
17922
- // ../node_modules/@testing-library/user-event/dist/esm/system/keyboard.js
17940
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/keyboard.js
17923
17941
  function _define_property3(obj, key, value) {
17924
17942
  return key in obj ? Object.defineProperty(obj, key, {
17925
17943
  value,
@@ -17960,12 +17978,13 @@ var KeyboardHost = class {
17960
17978
  return this.pressed.values().map((p2) => p2.keyDef);
17961
17979
  }
17962
17980
  /** Press a key */
17963
- async keydown(instance, keyDef) {
17981
+ async keydown(instance, keyDef, repeat = !1) {
17964
17982
  let key = String(keyDef.key), code = String(keyDef.code), target = getActiveElementOrBody(instance.config.document);
17965
17983
  this.setKeydownTarget(target), this.pressed.add(code, keyDef), isModifierKey(key) && (this.modifiers[key] = !0);
17966
17984
  let unprevented = instance.dispatchUIEvent(target, "keydown", {
17967
17985
  key,
17968
- code
17986
+ code,
17987
+ repeat
17969
17988
  });
17970
17989
  isModifierLock(key) && !this.modifiers[key] && (this.modifiers[key] = !0, this.modifierLockStart[key] = !0), unprevented && this.pressed.setUnprevented(code), unprevented && this.hasKeyPress(key) && instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document), "keypress", {
17971
17990
  key,
@@ -18033,7 +18052,7 @@ var KeyboardHost = class {
18033
18052
  }
18034
18053
  };
18035
18054
 
18036
- // ../node_modules/@testing-library/user-event/dist/esm/keyboard/keyMap.js
18055
+ // ../../node_modules/@testing-library/user-event/dist/esm/keyboard/keyMap.js
18037
18056
  var defaultKeyMap = [
18038
18057
  // alphanumeric block - writing system
18039
18058
  ..."0123456789".split("").map((c2) => ({
@@ -18205,7 +18224,7 @@ var defaultKeyMap = [
18205
18224
  }
18206
18225
  ];
18207
18226
 
18208
- // ../node_modules/@testing-library/user-event/dist/esm/pointer/keyMap.js
18227
+ // ../../node_modules/@testing-library/user-event/dist/esm/pointer/keyMap.js
18209
18228
  var defaultKeyMap2 = [
18210
18229
  {
18211
18230
  name: "MouseLeft",
@@ -18236,7 +18255,7 @@ var defaultKeyMap2 = [
18236
18255
  }
18237
18256
  ];
18238
18257
 
18239
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/buttons.js
18258
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/buttons.js
18240
18259
  function _define_property4(obj, key, value) {
18241
18260
  return key in obj ? Object.defineProperty(obj, key, {
18242
18261
  value,
@@ -18290,7 +18309,7 @@ function getMouseEventButton(button) {
18290
18309
  return button = getMouseButtonId(button), button in MouseButtonFlip ? MouseButtonFlip[button] : button;
18291
18310
  }
18292
18311
 
18293
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/device.js
18312
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/device.js
18294
18313
  function _define_property5(obj, key, value) {
18295
18314
  return key in obj ? Object.defineProperty(obj, key, {
18296
18315
  value,
@@ -18317,10 +18336,10 @@ var Device = class {
18317
18336
  }
18318
18337
  };
18319
18338
 
18320
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
18339
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
18321
18340
  import "@testing-library/dom";
18322
18341
 
18323
- // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
18342
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
18324
18343
  function getTreeDiff(a4, b2) {
18325
18344
  let treeA = [];
18326
18345
  for (let el = a4; el; el = el.parentElement)
@@ -18338,7 +18357,7 @@ function getTreeDiff(a4, b2) {
18338
18357
  ];
18339
18358
  }
18340
18359
 
18341
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/resolveCaretPosition.js
18360
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/resolveCaretPosition.js
18342
18361
  function resolveCaretPosition({ target, node, offset }) {
18343
18362
  return hasOwnSelection(target) ? {
18344
18363
  node: target,
@@ -18374,7 +18393,7 @@ function findNodeAtTextOffset(node, offset, isRoot = !0) {
18374
18393
  };
18375
18394
  }
18376
18395
 
18377
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionPerMouse.js
18396
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/setSelectionPerMouse.js
18378
18397
  function setSelectionPerMouseDown({ document, target, clickCount, node, offset }) {
18379
18398
  if (hasNoSelection(target))
18380
18399
  return;
@@ -18426,7 +18445,7 @@ function getTextRange(text, pos, clickCount) {
18426
18445
  ];
18427
18446
  }
18428
18447
 
18429
- // ../node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelectionPerMouse.js
18448
+ // ../../node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelectionPerMouse.js
18430
18449
  function modifySelectionPerMouseMove(selectionRange, { document, target, node, offset }) {
18431
18450
  let selectionFocus = resolveCaretPosition({
18432
18451
  target,
@@ -18449,13 +18468,13 @@ function modifySelectionPerMouseMove(selectionRange, { document, target, node, o
18449
18468
  }
18450
18469
  }
18451
18470
 
18452
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/shared.js
18471
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/shared.js
18453
18472
  function isDifferentPointerPosition(positionA, positionB) {
18454
18473
  var _positionA_coords, _positionB_coords, _positionA_coords1, _positionB_coords1, _positionA_coords2, _positionB_coords2, _positionA_coords3, _positionB_coords3, _positionA_coords4, _positionB_coords4, _positionA_coords5, _positionB_coords5, _positionA_coords6, _positionB_coords6, _positionA_coords7, _positionB_coords7, _positionA_coords8, _positionB_coords8, _positionA_coords9, _positionB_coords9, _positionA_caret, _positionB_caret, _positionA_caret1, _positionB_caret1;
18455
18474
  return positionA.target !== positionB.target || ((_positionA_coords = positionA.coords) === null || _positionA_coords === void 0 ? void 0 : _positionA_coords.x) !== ((_positionB_coords = positionB.coords) === null || _positionB_coords === void 0 ? void 0 : _positionB_coords.x) || ((_positionA_coords1 = positionA.coords) === null || _positionA_coords1 === void 0 ? void 0 : _positionA_coords1.y) !== ((_positionB_coords1 = positionB.coords) === null || _positionB_coords1 === void 0 ? void 0 : _positionB_coords1.y) || ((_positionA_coords2 = positionA.coords) === null || _positionA_coords2 === void 0 ? void 0 : _positionA_coords2.clientX) !== ((_positionB_coords2 = positionB.coords) === null || _positionB_coords2 === void 0 ? void 0 : _positionB_coords2.clientX) || ((_positionA_coords3 = positionA.coords) === null || _positionA_coords3 === void 0 ? void 0 : _positionA_coords3.clientY) !== ((_positionB_coords3 = positionB.coords) === null || _positionB_coords3 === void 0 ? void 0 : _positionB_coords3.clientY) || ((_positionA_coords4 = positionA.coords) === null || _positionA_coords4 === void 0 ? void 0 : _positionA_coords4.offsetX) !== ((_positionB_coords4 = positionB.coords) === null || _positionB_coords4 === void 0 ? void 0 : _positionB_coords4.offsetX) || ((_positionA_coords5 = positionA.coords) === null || _positionA_coords5 === void 0 ? void 0 : _positionA_coords5.offsetY) !== ((_positionB_coords5 = positionB.coords) === null || _positionB_coords5 === void 0 ? void 0 : _positionB_coords5.offsetY) || ((_positionA_coords6 = positionA.coords) === null || _positionA_coords6 === void 0 ? void 0 : _positionA_coords6.pageX) !== ((_positionB_coords6 = positionB.coords) === null || _positionB_coords6 === void 0 ? void 0 : _positionB_coords6.pageX) || ((_positionA_coords7 = positionA.coords) === null || _positionA_coords7 === void 0 ? void 0 : _positionA_coords7.pageY) !== ((_positionB_coords7 = positionB.coords) === null || _positionB_coords7 === void 0 ? void 0 : _positionB_coords7.pageY) || ((_positionA_coords8 = positionA.coords) === null || _positionA_coords8 === void 0 ? void 0 : _positionA_coords8.screenX) !== ((_positionB_coords8 = positionB.coords) === null || _positionB_coords8 === void 0 ? void 0 : _positionB_coords8.screenX) || ((_positionA_coords9 = positionA.coords) === null || _positionA_coords9 === void 0 ? void 0 : _positionA_coords9.screenY) !== ((_positionB_coords9 = positionB.coords) === null || _positionB_coords9 === void 0 ? void 0 : _positionB_coords9.screenY) || ((_positionA_caret = positionA.caret) === null || _positionA_caret === void 0 ? void 0 : _positionA_caret.node) !== ((_positionB_caret = positionB.caret) === null || _positionB_caret === void 0 ? void 0 : _positionB_caret.node) || ((_positionA_caret1 = positionA.caret) === null || _positionA_caret1 === void 0 ? void 0 : _positionA_caret1.offset) !== ((_positionB_caret1 = positionB.caret) === null || _positionB_caret1 === void 0 ? void 0 : _positionB_caret1.offset);
18456
18475
  }
18457
18476
 
18458
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
18477
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
18459
18478
  function _define_property6(obj, key, value) {
18460
18479
  return key in obj ? Object.defineProperty(obj, key, {
18461
18480
  value,
@@ -18575,7 +18594,7 @@ var Mouse = class {
18575
18594
  }
18576
18595
  };
18577
18596
 
18578
- // ../node_modules/@testing-library/user-event/dist/esm/utils/pointer/cssPointerEvents.js
18597
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/pointer/cssPointerEvents.js
18579
18598
  function hasPointerEvents(instance, element) {
18580
18599
  var _checkPointerEvents;
18581
18600
  return ((_checkPointerEvents = checkPointerEvents(instance, element)) === null || _checkPointerEvents === void 0 ? void 0 : _checkPointerEvents.pointerEvents) !== "none";
@@ -18660,7 +18679,7 @@ function hasBitFlag(conf, flag3) {
18660
18679
  return (conf & flag3) > 0;
18661
18680
  }
18662
18681
 
18663
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/pointer.js
18682
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/pointer.js
18664
18683
  function _define_property7(obj, key, value) {
18665
18684
  return key in obj ? Object.defineProperty(obj, key, {
18666
18685
  value,
@@ -18726,7 +18745,7 @@ var Pointer = class {
18726
18745
  }
18727
18746
  };
18728
18747
 
18729
- // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/index.js
18748
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/pointer/index.js
18730
18749
  function _define_property8(obj, key, value) {
18731
18750
  return key in obj ? Object.defineProperty(obj, key, {
18732
18751
  value,
@@ -18812,7 +18831,7 @@ var PointerHost = class {
18812
18831
  }
18813
18832
  };
18814
18833
 
18815
- // ../node_modules/@testing-library/user-event/dist/esm/system/index.js
18834
+ // ../../node_modules/@testing-library/user-event/dist/esm/system/index.js
18816
18835
  function _define_property9(obj, key, value) {
18817
18836
  return key in obj ? Object.defineProperty(obj, key, {
18818
18837
  value,
@@ -18843,7 +18862,7 @@ var System = class {
18843
18862
  }
18844
18863
  };
18845
18864
 
18846
- // ../node_modules/@testing-library/user-event/dist/esm/convenience/click.js
18865
+ // ../../node_modules/@testing-library/user-event/dist/esm/convenience/click.js
18847
18866
  async function click(element) {
18848
18867
  let pointerIn = [];
18849
18868
  return this.config.skipHover || pointerIn.push({
@@ -18870,7 +18889,7 @@ async function tripleClick(element) {
18870
18889
  ]);
18871
18890
  }
18872
18891
 
18873
- // ../node_modules/@testing-library/user-event/dist/esm/convenience/hover.js
18892
+ // ../../node_modules/@testing-library/user-event/dist/esm/convenience/hover.js
18874
18893
  async function hover(element) {
18875
18894
  return this.pointer({
18876
18895
  target: element
@@ -18882,12 +18901,12 @@ async function unhover(element) {
18882
18901
  });
18883
18902
  }
18884
18903
 
18885
- // ../node_modules/@testing-library/user-event/dist/esm/convenience/tab.js
18904
+ // ../../node_modules/@testing-library/user-event/dist/esm/convenience/tab.js
18886
18905
  async function tab({ shift } = {}) {
18887
18906
  return this.keyboard(shift === !0 ? "{Shift>}{Tab}{/Shift}" : shift === !1 ? "[/ShiftLeft][/ShiftRight]{Tab}" : "{Tab}");
18888
18907
  }
18889
18908
 
18890
- // ../node_modules/@testing-library/user-event/dist/esm/utils/keyDef/readNextDescriptor.js
18909
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/keyDef/readNextDescriptor.js
18891
18910
  var bracketDict = {
18892
18911
  "{": "}",
18893
18912
  "[": "]"
@@ -18954,7 +18973,7 @@ function getErrorMessage(expected, found, text, context) {
18954
18973
  for more information about how userEvent parses your input.`;
18955
18974
  }
18956
18975
 
18957
- // ../node_modules/@testing-library/user-event/dist/esm/keyboard/parseKeyDef.js
18976
+ // ../../node_modules/@testing-library/user-event/dist/esm/keyboard/parseKeyDef.js
18958
18977
  function parseKeyDef(keyboardMap, text) {
18959
18978
  let defs = [];
18960
18979
  do {
@@ -18983,7 +19002,7 @@ function parseKeyDef(keyboardMap, text) {
18983
19002
  return defs;
18984
19003
  }
18985
19004
 
18986
- // ../node_modules/@testing-library/user-event/dist/esm/keyboard/index.js
19005
+ // ../../node_modules/@testing-library/user-event/dist/esm/keyboard/index.js
18987
19006
  async function keyboard(text) {
18988
19007
  let actions = parseKeyDef(this.config.keyboardMap, text);
18989
19008
  for (let i3 = 0; i3 < actions.length; i3++)
@@ -18993,7 +19012,7 @@ async function keyboardAction(instance, { keyDef, releasePrevious, releaseSelf,
18993
19012
  let { system } = instance;
18994
19013
  if (system.keyboard.isKeyPressed(keyDef) && await system.keyboard.keyup(instance, keyDef), !releasePrevious) {
18995
19014
  for (let i3 = 1; i3 <= repeat; i3++)
18996
- await system.keyboard.keydown(instance, keyDef), i3 < repeat && await wait(instance.config);
19015
+ await system.keyboard.keydown(instance, keyDef, i3 > 1), i3 < repeat && await wait(instance.config);
18997
19016
  releaseSelf && await system.keyboard.keyup(instance, keyDef);
18998
19017
  }
18999
19018
  }
@@ -19002,7 +19021,7 @@ async function releaseAllKeys(instance) {
19002
19021
  await instance.system.keyboard.keyup(instance, k2);
19003
19022
  }
19004
19023
 
19005
- // ../node_modules/@testing-library/user-event/dist/esm/document/copySelection.js
19024
+ // ../../node_modules/@testing-library/user-event/dist/esm/document/copySelection.js
19006
19025
  function copySelection(target) {
19007
19026
  let data = hasOwnSelection(target) ? {
19008
19027
  "text/plain": readSelectedValueFromInput(target)
@@ -19018,7 +19037,7 @@ function readSelectedValueFromInput(target) {
19018
19037
  return getUIValue(target).substring(sel.startOffset, sel.endOffset);
19019
19038
  }
19020
19039
 
19021
- // ../node_modules/@testing-library/user-event/dist/esm/clipboard/copy.js
19040
+ // ../../node_modules/@testing-library/user-event/dist/esm/clipboard/copy.js
19022
19041
  async function copy() {
19023
19042
  var _doc_activeElement;
19024
19043
  let doc = this.config.document, target = (_doc_activeElement = doc.activeElement) !== null && _doc_activeElement !== void 0 ? _doc_activeElement : (
@@ -19031,7 +19050,7 @@ async function copy() {
19031
19050
  }) && this.config.writeToClipboard && await writeDataTransferToClipboard(doc, clipboardData), clipboardData;
19032
19051
  }
19033
19052
 
19034
- // ../node_modules/@testing-library/user-event/dist/esm/clipboard/cut.js
19053
+ // ../../node_modules/@testing-library/user-event/dist/esm/clipboard/cut.js
19035
19054
  async function cut() {
19036
19055
  var _doc_activeElement;
19037
19056
  let doc = this.config.document, target = (_doc_activeElement = doc.activeElement) !== null && _doc_activeElement !== void 0 ? _doc_activeElement : (
@@ -19044,7 +19063,7 @@ async function cut() {
19044
19063
  }) && this.config.writeToClipboard && await writeDataTransferToClipboard(target.ownerDocument, clipboardData), clipboardData;
19045
19064
  }
19046
19065
 
19047
- // ../node_modules/@testing-library/user-event/dist/esm/clipboard/paste.js
19066
+ // ../../node_modules/@testing-library/user-event/dist/esm/clipboard/paste.js
19048
19067
  async function paste(clipboardData) {
19049
19068
  var _doc_activeElement, _ref;
19050
19069
  let doc = this.config.document, target = (_doc_activeElement = doc.activeElement) !== null && _doc_activeElement !== void 0 ? _doc_activeElement : (
@@ -19062,7 +19081,7 @@ function getClipboardDataFromString(doc, text) {
19062
19081
  return dt.setData("text", text), dt;
19063
19082
  }
19064
19083
 
19065
- // ../node_modules/@testing-library/user-event/dist/esm/pointer/parseKeyDef.js
19084
+ // ../../node_modules/@testing-library/user-event/dist/esm/pointer/parseKeyDef.js
19066
19085
  function parseKeyDef2(pointerMap, keys2) {
19067
19086
  let defs = [];
19068
19087
  do {
@@ -19076,7 +19095,7 @@ function parseKeyDef2(pointerMap, keys2) {
19076
19095
  return defs;
19077
19096
  }
19078
19097
 
19079
- // ../node_modules/@testing-library/user-event/dist/esm/pointer/index.js
19098
+ // ../../node_modules/@testing-library/user-event/dist/esm/pointer/index.js
19080
19099
  async function pointer(input2) {
19081
19100
  let { pointerMap } = this.config, actions = [];
19082
19101
  (Array.isArray(input2) ? input2 : [
@@ -19114,7 +19133,7 @@ function getPrevTarget(instance, position) {
19114
19133
  return (_position_target = position.target) !== null && _position_target !== void 0 ? _position_target : instance.config.document.body;
19115
19134
  }
19116
19135
 
19117
- // ../node_modules/@testing-library/user-event/dist/esm/utility/clear.js
19136
+ // ../../node_modules/@testing-library/user-event/dist/esm/utility/clear.js
19118
19137
  import "@testing-library/dom";
19119
19138
  async function clear(element) {
19120
19139
  if (!isEditable(element) || isDisabled2(element))
@@ -19126,7 +19145,7 @@ async function clear(element) {
19126
19145
  input(this, element, "", "deleteContentBackward");
19127
19146
  }
19128
19147
 
19129
- // ../node_modules/@testing-library/user-event/dist/esm/utility/selectOptions.js
19148
+ // ../../node_modules/@testing-library/user-event/dist/esm/utility/selectOptions.js
19130
19149
  import { getConfig as getConfig3 } from "@testing-library/dom";
19131
19150
  async function selectOptions(select, values) {
19132
19151
  return selectOptionsBase.call(this, !0, select, values);
@@ -19175,12 +19194,12 @@ async function selectOptionsBase(newValue, select, values) {
19175
19194
  throw getConfig3().getElementError("Cannot select options on elements that are neither select nor listbox elements", select);
19176
19195
  }
19177
19196
 
19178
- // ../node_modules/@testing-library/user-event/dist/esm/utility/type.js
19197
+ // ../../node_modules/@testing-library/user-event/dist/esm/utility/type.js
19179
19198
  async function type3(element, text, { skipClick = this.config.skipClick, skipAutoClose = this.config.skipAutoClose, initialSelectionStart, initialSelectionEnd } = {}) {
19180
19199
  element.disabled || (skipClick || await this.click(element), initialSelectionStart !== void 0 && setSelectionRange(element, initialSelectionStart, initialSelectionEnd ?? initialSelectionStart), await this.keyboard(text), skipAutoClose || await releaseAllKeys(this));
19181
19200
  }
19182
19201
 
19183
- // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/setFiles.js
19202
+ // ../../node_modules/@testing-library/user-event/dist/esm/utils/edit/setFiles.js
19184
19203
  var fakeFiles = /* @__PURE__ */ Symbol("files and value properties are mocked");
19185
19204
  function restoreProperty(obj, prop, descriptor) {
19186
19205
  descriptor ? Object.defineProperty(obj, prop, descriptor) : delete obj[prop];
@@ -19221,7 +19240,7 @@ function setFiles(el, files) {
19221
19240
  });
19222
19241
  }
19223
19242
 
19224
- // ../node_modules/@testing-library/user-event/dist/esm/utility/upload.js
19243
+ // ../../node_modules/@testing-library/user-event/dist/esm/utility/upload.js
19225
19244
  async function upload(element, fileOrFiles) {
19226
19245
  let input2 = isElementType(element, "label") ? element.control : element;
19227
19246
  if (!input2 || !isElementType(input2, "input", {
@@ -19254,7 +19273,7 @@ function isAcceptableFile(file, accept) {
19254
19273
  return normalize2(accept).trim().split(/\s*,\s*/).some((acceptToken) => acceptToken.startsWith(".") ? normalize2(file.name).endsWith(acceptToken) : wildcards.includes(acceptToken) ? normalize2(file.type).startsWith(acceptToken.replace("*", "")) : normalize2(file.type) === acceptToken);
19255
19274
  }
19256
19275
 
19257
- // ../node_modules/@testing-library/user-event/dist/esm/setup/api.js
19276
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/api.js
19258
19277
  var userEventApi = {
19259
19278
  click,
19260
19279
  dblClick,
@@ -19274,13 +19293,13 @@ var userEventApi = {
19274
19293
  upload
19275
19294
  };
19276
19295
 
19277
- // ../node_modules/@testing-library/user-event/dist/esm/setup/wrapAsync.js
19296
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/wrapAsync.js
19278
19297
  import { getConfig as getConfig4 } from "@testing-library/dom";
19279
19298
  function wrapAsync(implementation) {
19280
19299
  return getConfig4().asyncWrapper(implementation);
19281
19300
  }
19282
19301
 
19283
- // ../node_modules/@testing-library/user-event/dist/esm/setup/setup.js
19302
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/setup.js
19284
19303
  var defaultOptionsDirect = {
19285
19304
  applyAccept: !0,
19286
19305
  autoModify: !0,
@@ -19365,7 +19384,7 @@ function getDocument(options, node, defaults) {
19365
19384
  return (_ref = (_options_document = options.document) !== null && _options_document !== void 0 ? _options_document : node && getDocumentFromNode(node)) !== null && _ref !== void 0 ? _ref : defaults.document;
19366
19385
  }
19367
19386
 
19368
- // ../node_modules/@testing-library/user-event/dist/esm/setup/directApi.js
19387
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/directApi.js
19369
19388
  var directApi_exports = {};
19370
19389
  __export(directApi_exports, {
19371
19390
  clear: () => clear2,
@@ -19439,7 +19458,7 @@ function tab2(options = {}) {
19439
19458
  return setupDirect().api.tab(options);
19440
19459
  }
19441
19460
 
19442
- // ../node_modules/@testing-library/user-event/dist/esm/setup/index.js
19461
+ // ../../node_modules/@testing-library/user-event/dist/esm/setup/index.js
19443
19462
  var userEvent = {
19444
19463
  ...directApi_exports,
19445
19464
  setup: setupMain