@ionic/core 8.8.9-dev.11780086312.13aac420 → 8.8.9-dev.11780414486.1df2bd72

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 (412) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-accordion.js +1 -1
  4. package/components/ion-action-sheet.js +1 -1
  5. package/components/ion-alert.js +1 -1
  6. package/components/ion-app.js +1 -1
  7. package/components/ion-avatar.js +1 -1
  8. package/components/ion-back-button.js +1 -1
  9. package/components/ion-backdrop.js +1 -1
  10. package/components/ion-badge.js +1 -1
  11. package/components/ion-breadcrumb.js +1 -1
  12. package/components/ion-breadcrumbs.js +1 -1
  13. package/components/ion-button.js +1 -1
  14. package/components/ion-buttons.js +1 -1
  15. package/components/ion-card-content.js +1 -1
  16. package/components/ion-card-header.js +1 -1
  17. package/components/ion-card-subtitle.js +1 -1
  18. package/components/ion-card-title.js +1 -1
  19. package/components/ion-card.js +1 -1
  20. package/components/ion-checkbox.js +1 -1
  21. package/components/ion-chip.js +1 -1
  22. package/components/ion-col.js +1 -1
  23. package/components/ion-content.js +1 -1
  24. package/components/ion-datetime-button.js +1 -1
  25. package/components/ion-datetime.js +1 -1
  26. package/components/ion-fab-button.js +1 -1
  27. package/components/ion-fab-list.js +1 -1
  28. package/components/ion-fab.js +1 -1
  29. package/components/ion-footer.js +1 -1
  30. package/components/ion-grid.js +1 -1
  31. package/components/ion-header.js +1 -1
  32. package/components/ion-icon.js +1 -1
  33. package/components/ion-img.js +1 -1
  34. package/components/ion-infinite-scroll-content.js +1 -1
  35. package/components/ion-infinite-scroll.js +1 -1
  36. package/components/ion-input-otp.js +1 -1
  37. package/components/ion-input-password-toggle.js +1 -1
  38. package/components/ion-input.js +1 -1
  39. package/components/ion-item-divider.js +1 -1
  40. package/components/ion-item-group.js +1 -1
  41. package/components/ion-item-option.js +1 -1
  42. package/components/ion-item-options.js +1 -1
  43. package/components/ion-item-sliding.js +1 -1
  44. package/components/ion-item.js +1 -1
  45. package/components/ion-label.js +1 -1
  46. package/components/ion-list-header.js +1 -1
  47. package/components/ion-list.js +1 -1
  48. package/components/ion-loading.js +1 -1
  49. package/components/ion-menu-button.js +1 -1
  50. package/components/ion-menu-toggle.js +1 -1
  51. package/components/ion-menu.js +1 -1
  52. package/components/ion-modal.js +1 -1
  53. package/components/ion-nav-link.js +1 -1
  54. package/components/ion-nav.js +1 -1
  55. package/components/ion-note.js +1 -1
  56. package/components/ion-picker-column-option.js +1 -1
  57. package/components/ion-picker-column.js +1 -1
  58. package/components/ion-picker.js +1 -1
  59. package/components/ion-popover.js +1 -1
  60. package/components/ion-progress-bar.js +1 -1
  61. package/components/ion-radio-group.js +1 -1
  62. package/components/ion-radio.js +1 -1
  63. package/components/ion-range.js +1 -1
  64. package/components/ion-refresher-content.js +1 -1
  65. package/components/ion-refresher.js +1 -1
  66. package/components/ion-reorder-group.js +1 -1
  67. package/components/ion-reorder.js +1 -1
  68. package/components/ion-ripple-effect.js +1 -1
  69. package/components/ion-route-redirect.js +1 -1
  70. package/components/ion-route.js +1 -1
  71. package/components/ion-router-link.js +1 -1
  72. package/components/ion-router-outlet.js +1 -1
  73. package/components/ion-router.js +1 -1
  74. package/components/ion-row.js +1 -1
  75. package/components/ion-searchbar.js +1 -1
  76. package/components/ion-segment-button.js +1 -1
  77. package/components/ion-segment-content.js +1 -1
  78. package/components/ion-segment-view.js +1 -1
  79. package/components/ion-segment.js +1 -1
  80. package/components/ion-select-modal.js +1 -1
  81. package/components/ion-select-option.js +1 -1
  82. package/components/ion-select-popover.js +1 -1
  83. package/components/ion-select.js +1 -1
  84. package/components/ion-skeleton-text.js +1 -1
  85. package/components/ion-spinner.js +1 -1
  86. package/components/ion-split-pane.js +1 -1
  87. package/components/ion-tab-bar.js +1 -1
  88. package/components/ion-tab-button.js +1 -1
  89. package/components/ion-tab.js +1 -1
  90. package/components/ion-tabs.js +1 -1
  91. package/components/ion-text.js +1 -1
  92. package/components/ion-textarea.js +1 -1
  93. package/components/ion-thumbnail.js +1 -1
  94. package/components/ion-title.js +1 -1
  95. package/components/ion-toast.js +1 -1
  96. package/components/ion-toggle.js +1 -1
  97. package/components/ion-toolbar.js +1 -1
  98. package/components/{p-CoA-aqGF.js → p--JUspHvy.js} +1 -1
  99. package/components/{p-OOMJP0jy.js → p-B8U2xbtx.js} +1 -1
  100. package/components/{p-B6FQ0cKR.js → p-B9jFTlwE.js} +1 -1
  101. package/{dist/ionic/p-BvFYtOdE.js → components/p-BAYYcg3o.js} +1 -1
  102. package/components/{p-B6HaBl3o.js → p-BTPfOxsU.js} +1 -1
  103. package/{dist/ionic/p-DjriolRs.js → components/p-BT_5jSqG.js} +1 -1
  104. package/components/{p-DgbT0exM.js → p-Baq1XyAy.js} +1 -1
  105. package/components/{p-BxwWvu-b.js → p-BhmadOit.js} +1 -1
  106. package/components/{p-BYDc3hSE.js → p-BirPFsRD.js} +1 -1
  107. package/components/{p-FBcnjE5W.js → p-BjfgFSSR.js} +1 -1
  108. package/{dist/ionic/p-DLbbmF9h.js → components/p-BnqQlm7c.js} +1 -1
  109. package/components/{p-BWUpLAtP.js → p-BtVHN9Na.js} +1 -1
  110. package/components/{p-vEbVo2hO.js → p-Bz0dSlXZ.js} +1 -1
  111. package/components/{p-CBzELu-H.js → p-C1aScSTo.js} +1 -1
  112. package/components/{p-BgwEQWW6.js → p-C4t5ymfq.js} +1 -1
  113. package/components/p-CHqRYvYm.js +4 -0
  114. package/components/{p-CWpbvhwY.js → p-CHzfYZbv.js} +1 -1
  115. package/components/{p-Q1-Xy3As.js → p-CI3ncNZm.js} +1 -1
  116. package/components/{p-DYdpXONG.js → p-CSZf8_j0.js} +1 -1
  117. package/components/p-C_xFdyXe.js +4 -0
  118. package/{dist/ionic/p-C0JvVFMv.js → components/p-Ciz1-FuE.js} +1 -1
  119. package/components/{p-GCtnx-UP.js → p-Ck2wcXbv.js} +1 -1
  120. package/components/p-CmR5uXej.js +4 -0
  121. package/components/p-CtukzcyX.js +4 -0
  122. package/components/{p-CEmXdzGo.js → p-D5Ubpm7D.js} +1 -1
  123. package/components/p-D7bSXQD3.js +4 -0
  124. package/components/{p-CDXBV7oG.js → p-DEBD4LvH.js} +1 -1
  125. package/components/{p-JQ4ZNN1D.js → p-DH50pr9O.js} +1 -1
  126. package/components/p-DIE4pXMl.js +4 -0
  127. package/components/p-DNQI6d-L.js +4 -0
  128. package/components/{p-CDfQnFrd.js → p-DOFCbuQR.js} +1 -1
  129. package/components/{p-nPoOPlPt.js → p-DhkITZ-y.js} +1 -1
  130. package/components/{p-BJu4LSK8.js → p-DmpBvltk.js} +1 -1
  131. package/components/{p-BR3tZJmu.js → p-DnL1c9_X.js} +1 -1
  132. package/components/{p-DbISMmiI.js → p-DpV-p5Xs.js} +1 -1
  133. package/components/{p-YLXPWgVj.js → p-DqLB8yFQ.js} +1 -1
  134. package/components/{p-BagjAGC0.js → p-DqZAXv2t.js} +1 -1
  135. package/components/{p-DL2W2mt3.js → p-Dz74mwlk.js} +1 -1
  136. package/components/p-Sh0ICmPV.js +4 -0
  137. package/components/p-W5nO8mX_.js +4 -0
  138. package/components/{p-BeL7B3Bb.js → p-XJWMAP8m.js} +1 -1
  139. package/components/{p-Bg7NsGS9.js → p-djQLE88P.js} +1 -1
  140. package/components/p-ijF0iCrA.js +4 -0
  141. package/components/{p-B8b1Ukl9.js → p-j5IxBIan.js} +1 -1
  142. package/components/{p-BUbsoBOV.js → p-k_E4tX5Z.js} +1 -1
  143. package/components/{p-DvOO1fxp.js → p-lE_JGpHD.js} +1 -1
  144. package/components/{p-DxXmSp9Y.js → p-r0aq7dpt.js} +1 -1
  145. package/components/{p-SBseW5KJ.js → p-ryqmO0B-.js} +1 -1
  146. package/components/{p-DrIm1s9R.js → p-wk2QqrAo.js} +1 -1
  147. package/dist/cjs/{animation-Dg4yiuR2.js → animation-BJq0kcy2.js} +1 -1
  148. package/dist/cjs/{app-globals-CLI8xCmk.js → app-globals-BlqrqKTN.js} +1 -1
  149. package/dist/cjs/{button-active-FscMI17-.js → button-active-0mPOKmV2.js} +1 -1
  150. package/dist/cjs/{config-BukYi_pW.js → config-xninhj0J.js} +1 -1
  151. package/dist/cjs/{data-BYlBjkMU.js → data-DLTUw-KF.js} +1 -1
  152. package/dist/cjs/{framework-delegate-CRgp8o_p.js → framework-delegate-BtICZDHr.js} +1 -1
  153. package/dist/cjs/{hardware-back-button-C4rMJ5uI.js → hardware-back-button-iUuF_76h.js} +1 -1
  154. package/dist/cjs/{helpers-CxTYJdbT.js → helpers-Cv23MFHM.js} +1 -1
  155. package/dist/cjs/{index-C845Ti6K.js → index-BERfRao3.js} +4 -4
  156. package/dist/cjs/{index-MbaBbWXk.js → index-CIrkNXqJ.js} +2 -2
  157. package/dist/cjs/{index-CqT-2gKy.js → index-Ct7gcRif.js} +67 -23
  158. package/dist/cjs/{index-YcSftOMz.js → index-D81eLYUM.js} +2 -2
  159. package/dist/cjs/{index-CFUwM5x_.js → index-aC4x3Fk3.js} +5 -5
  160. package/dist/cjs/index.cjs.js +12 -12
  161. package/dist/cjs/{input-shims-CPL2J8F-.js → input-shims-CFLg7uzj.js} +3 -3
  162. package/dist/cjs/{input.utils-DmeJ8dmo.js → input.utils-DetjmtH2.js} +2 -2
  163. package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
  164. package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
  165. package/dist/cjs/ion-alert.cjs.entry.js +9 -9
  166. package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
  167. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  168. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  169. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  170. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
  171. package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
  172. package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
  173. package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
  174. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  175. package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
  176. package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
  177. package/dist/cjs/ion-datetime.cjs.entry.js +7 -7
  178. package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
  179. package/dist/cjs/ion-img.cjs.entry.js +3 -3
  180. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
  181. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  182. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
  183. package/dist/cjs/ion-input.cjs.entry.js +9 -9
  184. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  185. package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
  186. package/dist/cjs/ion-loading.cjs.entry.js +8 -8
  187. package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
  188. package/dist/cjs/ion-modal.cjs.entry.js +9 -9
  189. package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
  190. package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
  191. package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
  192. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  193. package/dist/cjs/ion-popover.cjs.entry.js +8 -8
  194. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  195. package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
  196. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  197. package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
  198. package/dist/cjs/ion-reorder_2.cjs.entry.js +5 -5
  199. package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
  200. package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
  201. package/dist/cjs/ion-searchbar.cjs.entry.js +8 -8
  202. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  203. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  204. package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
  205. package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
  206. package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
  207. package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
  208. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  209. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
  210. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  211. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  212. package/dist/cjs/ion-textarea.cjs.entry.js +5 -5
  213. package/dist/cjs/ion-toast.cjs.entry.js +9 -9
  214. package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
  215. package/dist/cjs/{ionic-global-Bc3kJi1Z.js → ionic-global-B-cA6LkY.js} +1 -1
  216. package/dist/cjs/ionic.cjs.js +5 -5
  217. package/dist/cjs/{ios.transition-trBiC95R.js → ios.transition-BOSWOaiK.js} +4 -4
  218. package/dist/cjs/loader.cjs.js +4 -4
  219. package/dist/cjs/{md.transition-CUQECuvD.js → md.transition-B8-wBZqt.js} +4 -4
  220. package/dist/cjs/{notch-controller-sD-lTpdc.js → notch-controller-18PzRGXd.js} +1 -1
  221. package/dist/cjs/{overlays-DIfHxkst.js → overlays-DSmSrd_4.js} +5 -5
  222. package/dist/cjs/{status-tap-CCJk5VgT.js → status-tap-BXX8H8_Y.js} +3 -3
  223. package/dist/cjs/{swipe-back-BGhTQ1CU.js → swipe-back-C0GCB18x.js} +2 -2
  224. package/dist/collection/collection-manifest.json +2 -1
  225. package/dist/collection/components/input/input.js +8 -8
  226. package/dist/collection/components/searchbar/searchbar.js +9 -9
  227. package/dist/collection/components/split-pane/split-pane.js +1 -1
  228. package/dist/docs.json +16 -26
  229. package/dist/esm/{animation-CnGMT4ji.js → animation-DLJpuoEz.js} +1 -1
  230. package/dist/esm/{app-globals-DhZjtldk.js → app-globals-D0C5S4hU.js} +1 -1
  231. package/dist/esm/{button-active-BBx21brx.js → button-active-BSpTQmS9.js} +1 -1
  232. package/dist/esm/{config-TO1rZH52.js → config-DQCONYYp.js} +1 -1
  233. package/dist/esm/{data-B9iGR5YO.js → data-DZI70dKr.js} +1 -1
  234. package/dist/esm/{framework-delegate-CyxE1S_P.js → framework-delegate-FnPGymXL.js} +1 -1
  235. package/dist/esm/{hardware-back-button-CTe4XmL7.js → hardware-back-button-B93Gru0Y.js} +1 -1
  236. package/dist/esm/{helpers-Tl8jw6S2.js → helpers-HEqiOzXb.js} +1 -1
  237. package/dist/esm/{index-BtUdxPjv.js → index-BRHzoo00.js} +2 -2
  238. package/dist/esm/{index-B-hkiOUh.js → index-B_dQk_WE.js} +4 -4
  239. package/dist/esm/{index-hW6eNZ3o.js → index-MEDq2S8l.js} +2 -2
  240. package/dist/esm/{index-B2KwgBLx.js → index-Q6UPU0Ay.js} +5 -5
  241. package/dist/esm/{index-IGIE5vDm.js → index-tcQvqkiX.js} +67 -23
  242. package/dist/esm/index.js +12 -12
  243. package/dist/esm/{input-shims-DbrgeeNb.js → input-shims-D10mwcw1.js} +3 -3
  244. package/dist/esm/{input.utils-Bxa_DQ7-.js → input.utils-Y6NgW8bw.js} +2 -2
  245. package/dist/esm/ion-accordion_2.entry.js +3 -3
  246. package/dist/esm/ion-action-sheet.entry.js +8 -8
  247. package/dist/esm/ion-alert.entry.js +9 -9
  248. package/dist/esm/ion-app_8.entry.js +12 -12
  249. package/dist/esm/ion-avatar_3.entry.js +2 -2
  250. package/dist/esm/ion-back-button.entry.js +3 -3
  251. package/dist/esm/ion-backdrop.entry.js +2 -2
  252. package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
  253. package/dist/esm/ion-button_2.entry.js +3 -3
  254. package/dist/esm/ion-card_5.entry.js +3 -3
  255. package/dist/esm/ion-checkbox.entry.js +3 -3
  256. package/dist/esm/ion-chip.entry.js +2 -2
  257. package/dist/esm/ion-col_3.entry.js +2 -2
  258. package/dist/esm/ion-datetime-button.entry.js +4 -4
  259. package/dist/esm/ion-datetime.entry.js +7 -7
  260. package/dist/esm/ion-fab_3.entry.js +3 -3
  261. package/dist/esm/ion-img.entry.js +3 -3
  262. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
  263. package/dist/esm/ion-input-otp.entry.js +3 -3
  264. package/dist/esm/ion-input-password-toggle.entry.js +2 -2
  265. package/dist/esm/ion-input.entry.js +9 -9
  266. package/dist/esm/ion-item-option_3.entry.js +4 -4
  267. package/dist/esm/ion-item_8.entry.js +3 -3
  268. package/dist/esm/ion-loading.entry.js +8 -8
  269. package/dist/esm/ion-menu_3.entry.js +8 -8
  270. package/dist/esm/ion-modal.entry.js +9 -9
  271. package/dist/esm/ion-nav_2.entry.js +6 -6
  272. package/dist/esm/ion-picker-column-option.entry.js +3 -3
  273. package/dist/esm/ion-picker-column.entry.js +3 -3
  274. package/dist/esm/ion-picker.entry.js +2 -2
  275. package/dist/esm/ion-popover.entry.js +8 -8
  276. package/dist/esm/ion-progress-bar.entry.js +3 -3
  277. package/dist/esm/ion-radio_2.entry.js +3 -3
  278. package/dist/esm/ion-range.entry.js +4 -4
  279. package/dist/esm/ion-refresher_2.entry.js +6 -6
  280. package/dist/esm/ion-reorder_2.entry.js +5 -5
  281. package/dist/esm/ion-ripple-effect.entry.js +2 -2
  282. package/dist/esm/ion-route_4.entry.js +3 -3
  283. package/dist/esm/ion-searchbar.entry.js +8 -8
  284. package/dist/esm/ion-segment-content.entry.js +1 -1
  285. package/dist/esm/ion-segment-view.entry.js +1 -1
  286. package/dist/esm/ion-segment_2.entry.js +3 -3
  287. package/dist/esm/ion-select-modal.entry.js +6 -6
  288. package/dist/esm/ion-select_3.entry.js +7 -7
  289. package/dist/esm/ion-spinner.entry.js +2 -2
  290. package/dist/esm/ion-split-pane.entry.js +2 -2
  291. package/dist/esm/ion-tab-bar_2.entry.js +3 -3
  292. package/dist/esm/ion-tab_2.entry.js +3 -3
  293. package/dist/esm/ion-text.entry.js +2 -2
  294. package/dist/esm/ion-textarea.entry.js +5 -5
  295. package/dist/esm/ion-toast.entry.js +9 -9
  296. package/dist/esm/ion-toggle.entry.js +5 -5
  297. package/dist/esm/{ionic-global-DfbeLwcV.js → ionic-global-Cp_eT4sZ.js} +1 -1
  298. package/dist/esm/ionic.js +6 -6
  299. package/dist/esm/{ios.transition--aMF-pDH.js → ios.transition-ClFrsIrS.js} +4 -4
  300. package/dist/esm/loader.js +5 -5
  301. package/dist/esm/{md.transition-BEVbfm8j.js → md.transition-D0msQmzI.js} +4 -4
  302. package/dist/esm/{notch-controller-DAcvKU57.js → notch-controller-DKDjU_O7.js} +1 -1
  303. package/dist/esm/{overlays-BDGzTP3L.js → overlays-DLNOHWNc.js} +5 -5
  304. package/dist/esm/{status-tap-BfJqFSLF.js → status-tap-Kan2W7sh.js} +3 -3
  305. package/dist/esm/{swipe-back-BZBFwTQV.js → swipe-back-DQ1q5MgD.js} +2 -2
  306. package/dist/html.html-data.json +2 -18
  307. package/dist/ionic/index.esm.js +1 -1
  308. package/dist/ionic/ionic.esm.js +1 -1
  309. package/dist/ionic/{p-7fe42b71.entry.js → p-03aa786d.entry.js} +1 -1
  310. package/dist/ionic/{p-078037da.entry.js → p-06c232a4.entry.js} +1 -1
  311. package/dist/ionic/{p-18b5d5ff.entry.js → p-11684553.entry.js} +1 -1
  312. package/dist/ionic/{p-6b97f2a3.entry.js → p-1ae21e4c.entry.js} +1 -1
  313. package/dist/ionic/{p-a805674e.entry.js → p-20b1a044.entry.js} +1 -1
  314. package/dist/ionic/{p-e9dd191b.entry.js → p-259d0d98.entry.js} +1 -1
  315. package/dist/ionic/{p-460fbe5b.entry.js → p-2a6d6565.entry.js} +1 -1
  316. package/dist/ionic/{p-8a3a936b.entry.js → p-341032b3.entry.js} +1 -1
  317. package/dist/ionic/p-3e91d32e.entry.js +4 -0
  318. package/dist/ionic/{p-7f269aff.entry.js → p-441fbb13.entry.js} +1 -1
  319. package/dist/ionic/{p-f7762013.entry.js → p-4502a274.entry.js} +1 -1
  320. package/dist/ionic/p-4621c387.entry.js +4 -0
  321. package/dist/ionic/p-4bb3eb60.entry.js +4 -0
  322. package/dist/ionic/{p-e663bc5a.entry.js → p-4e92a11f.entry.js} +1 -1
  323. package/dist/ionic/{p-6af16209.entry.js → p-50e1194a.entry.js} +1 -1
  324. package/dist/ionic/{p-34b3a309.entry.js → p-51cd1643.entry.js} +1 -1
  325. package/dist/ionic/{p-5430ae94.entry.js → p-5c3ec490.entry.js} +1 -1
  326. package/dist/ionic/{p-6a56880f.entry.js → p-627fabd9.entry.js} +1 -1
  327. package/dist/ionic/{p-fed27c64.entry.js → p-629e4703.entry.js} +1 -1
  328. package/dist/ionic/{p-6e99ae8d.entry.js → p-76e92a84.entry.js} +1 -1
  329. package/dist/ionic/{p-1d2163ad.entry.js → p-7a37b3ce.entry.js} +1 -1
  330. package/dist/ionic/{p-cce0cd26.entry.js → p-7aed7726.entry.js} +1 -1
  331. package/dist/ionic/{p-4f3a8ccf.entry.js → p-7ebd980c.entry.js} +1 -1
  332. package/dist/ionic/{p-f17d05e3.entry.js → p-80b44b3c.entry.js} +1 -1
  333. package/dist/ionic/{p-f5dfb9a3.entry.js → p-81ea5652.entry.js} +1 -1
  334. package/dist/ionic/{p-23ec35e4.entry.js → p-8c8eee7d.entry.js} +1 -1
  335. package/dist/ionic/{p-823eccd3.entry.js → p-8d624ee5.entry.js} +1 -1
  336. package/dist/ionic/{p-87125490.entry.js → p-8d6fd502.entry.js} +1 -1
  337. package/dist/ionic/{p-b553828c.entry.js → p-9177f4ac.entry.js} +1 -1
  338. package/dist/ionic/{p-54ac6e6d.entry.js → p-9c6a5a8d.entry.js} +1 -1
  339. package/dist/ionic/{p-BAt5H1ac.js → p-BGqMS-oh.js} +1 -1
  340. package/dist/ionic/{p-DB_iPQC-.js → p-BUFIpxKM.js} +1 -1
  341. package/dist/ionic/{p-CmFz1Mjc.js → p-CFlfIb2g.js} +1 -1
  342. package/dist/ionic/{p-Csx_Ej2k.js → p-Cg5-OQYy.js} +1 -1
  343. package/dist/ionic/p-Cx3IXROA.js +4 -0
  344. package/dist/ionic/p-D4uTWt4-.js +4 -0
  345. package/{components/p-BS1TtEiJ.js → dist/ionic/p-DAAFkPFT.js} +1 -1
  346. package/{components/p-ak_d-z48.js → dist/ionic/p-DC3RagnA.js} +1 -1
  347. package/dist/ionic/{p-CGmVTdWh.js → p-DIuEbVLu.js} +1 -1
  348. package/dist/ionic/p-DSG2s2Eb.js +4 -0
  349. package/dist/ionic/{p-DcSNwXfb.js → p-Dfbt-q2k.js} +1 -1
  350. package/dist/ionic/p-DoJvtrbw.js +4 -0
  351. package/dist/ionic/{p-gbVXD275.js → p-DzWaWHGc.js} +1 -1
  352. package/{components/p-D6NJwNJN.js → dist/ionic/p-KjNvRoEp.js} +1 -1
  353. package/dist/ionic/{p-NFFyoJ4Q.js → p-Nqf6uvGh.js} +1 -1
  354. package/dist/ionic/p-SNAkTDfm.js +4 -0
  355. package/{components/p-9VcRUwdB.js → dist/ionic/p-VAemlbDS.js} +1 -1
  356. package/dist/ionic/{p-B8xlpH8p.js → p-Wk5HzclC.js} +1 -1
  357. package/dist/ionic/p-a2e51c5d.entry.js +4 -0
  358. package/dist/ionic/{p-370a60ee.entry.js → p-a3bdcae6.entry.js} +1 -1
  359. package/dist/ionic/{p-045a6a42.entry.js → p-a44b7536.entry.js} +1 -1
  360. package/dist/ionic/{p-3b58996c.entry.js → p-a5213260.entry.js} +1 -1
  361. package/dist/ionic/{p-6da572e7.entry.js → p-a7628bc7.entry.js} +1 -1
  362. package/dist/ionic/{p-ede28b71.entry.js → p-b1599fca.entry.js} +1 -1
  363. package/dist/ionic/{p-e0d788e9.entry.js → p-b16be471.entry.js} +1 -1
  364. package/dist/ionic/{p-b6e0ff03.entry.js → p-b6a7397c.entry.js} +1 -1
  365. package/dist/ionic/{p-898f9d11.entry.js → p-b9ac1fe0.entry.js} +1 -1
  366. package/dist/ionic/{p-9833cf63.entry.js → p-c6e49f3f.entry.js} +1 -1
  367. package/dist/ionic/{p-19adf785.entry.js → p-c93553d2.entry.js} +1 -1
  368. package/dist/ionic/{p-dc198c3a.entry.js → p-d2c7f046.entry.js} +1 -1
  369. package/dist/ionic/{p-66494f9b.entry.js → p-d8387b99.entry.js} +1 -1
  370. package/dist/ionic/{p-0ed06d90.entry.js → p-d8ac9eea.entry.js} +1 -1
  371. package/dist/ionic/{p-b8f4a31c.entry.js → p-db1b6738.entry.js} +1 -1
  372. package/dist/ionic/{p-ca31010f.entry.js → p-dfa8d673.entry.js} +1 -1
  373. package/dist/ionic/{p-e059750f.entry.js → p-ed797c72.entry.js} +1 -1
  374. package/dist/ionic/{p-4ed63122.entry.js → p-ef93ca92.entry.js} +1 -1
  375. package/dist/ionic/{p-4c8d8c55.entry.js → p-f09f9642.entry.js} +1 -1
  376. package/dist/ionic/{p-528d4c1d.entry.js → p-f1c06f82.entry.js} +1 -1
  377. package/dist/ionic/p-f386f6ae.entry.js +4 -0
  378. package/dist/ionic/{p-30f5ad9e.entry.js → p-fe4aa1db.entry.js} +1 -1
  379. package/dist/ionic/p-mjKAFv89.js +4 -0
  380. package/dist/ionic/p-tcQvqkiX.js +5 -0
  381. package/{components/p-Cy5XSfIk.js → dist/ionic/p-viFHDgRs.js} +1 -1
  382. package/dist/ionic/p-xWb6fgfq.js +4 -0
  383. package/dist/types/components/input/input.d.ts +1 -1
  384. package/dist/types/components/searchbar/searchbar.d.ts +1 -1
  385. package/dist/types/components.d.ts +12 -12
  386. package/dist/types/stencil-public-runtime.d.ts +4 -1
  387. package/hydrate/index.js +882 -407
  388. package/hydrate/index.mjs +882 -407
  389. package/package.json +3 -3
  390. package/components/p-BJoMtgfR.js +0 -4
  391. package/components/p-BNAG-aVv.js +0 -4
  392. package/components/p-C4jPsTQa.js +0 -4
  393. package/components/p-C59ryAuS.js +0 -4
  394. package/components/p-CU1SSH8_.js +0 -4
  395. package/components/p-CgqKJg96.js +0 -4
  396. package/components/p-CneGxKsZ.js +0 -4
  397. package/components/p-Csw8xuz4.js +0 -4
  398. package/components/p-Cz5nLPGT.js +0 -4
  399. package/dist/ionic/p-4ea520a4.entry.js +0 -4
  400. package/dist/ionic/p-7f9db51b.entry.js +0 -4
  401. package/dist/ionic/p-BW_TRJm8.js +0 -4
  402. package/dist/ionic/p-Bum7H1fw.js +0 -4
  403. package/dist/ionic/p-BxIcPWoV.js +0 -4
  404. package/dist/ionic/p-CYbRmDdy.js +0 -4
  405. package/dist/ionic/p-CtA-yJYy.js +0 -4
  406. package/dist/ionic/p-D8HJQ1qq.js +0 -4
  407. package/dist/ionic/p-DtVZDHlS.js +0 -4
  408. package/dist/ionic/p-IGIE5vDm.js +0 -5
  409. package/dist/ionic/p-a39db980.entry.js +0 -4
  410. package/dist/ionic/p-a47ddfb2.entry.js +0 -4
  411. package/dist/ionic/p-e6cedcd7.entry.js +0 -4
  412. package/dist/ionic/p-hNN3VvaC.js +0 -4
package/hydrate/index.js CHANGED
@@ -398,7 +398,7 @@ const appGlobalScript = initialize || (() => {});
398
398
  const globalScripts = appGlobalScript;
399
399
 
400
400
  /*
401
- Stencil Hydrate Platform v4.43.0 | MIT Licensed | https://stenciljs.com
401
+ Stencil Hydrate Platform v4.43.5 | MIT Licensed | https://stenciljs.com
402
402
  */
403
403
  var __create = Object.create;
404
404
  var __defProp = Object.defineProperty;
@@ -433,7 +433,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
433
433
  __defProp(target, "default", { value: mod, enumerable: true }) ,
434
434
  mod
435
435
  ));
436
- var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value);
436
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
437
437
  var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
438
438
  var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
439
439
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
@@ -675,15 +675,26 @@ var TYPE_CONSTANT = "type";
675
675
  var VALUE_CONSTANT = "value";
676
676
  var SERIALIZED_PREFIX = "serialized:";
677
677
 
678
+ // src/utils/get-prop-descriptor.ts
679
+ function getPropertyDescriptor(obj, memberName, getOnly) {
680
+ const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
681
+ while (obj && obj !== stopAt) {
682
+ const desc = Object.getOwnPropertyDescriptor(obj, memberName);
683
+ if (desc && (!getOnly || desc.get)) return desc;
684
+ obj = Object.getPrototypeOf(obj);
685
+ }
686
+ return void 0;
687
+ }
688
+
678
689
  // src/utils/es2022-rewire-class-members.ts
679
690
  var reWireGetterSetter = (instance, hostRef) => {
680
- var _a;
691
+ var _a2;
681
692
  const cmpMeta = hostRef.$cmpMeta$;
682
- const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
693
+ const members = Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {});
683
694
  members.map(([memberName, [memberFlags]]) => {
684
695
  if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
685
696
  const ogValue = instance[memberName];
686
- const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
697
+ const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName, true) || Object.getOwnPropertyDescriptor(instance, memberName);
687
698
  if (ogDescriptor) {
688
699
  Object.defineProperty(instance, memberName, {
689
700
  get() {
@@ -696,18 +707,14 @@ var reWireGetterSetter = (instance, hostRef) => {
696
707
  enumerable: true
697
708
  });
698
709
  }
699
- instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
710
+ if (hostRef.$instanceValues$.has(memberName)) {
711
+ instance[memberName] = hostRef.$instanceValues$.get(memberName);
712
+ } else if (ogValue !== void 0) {
713
+ instance[memberName] = ogValue;
714
+ }
700
715
  }
701
716
  });
702
717
  };
703
- function getPropertyDescriptor(obj, memberName) {
704
- while (obj) {
705
- const desc = Object.getOwnPropertyDescriptor(obj, memberName);
706
- if (desc == null ? void 0 : desc.get) return desc;
707
- obj = Object.getPrototypeOf(obj);
708
- }
709
- return void 0;
710
- }
711
718
 
712
719
  // src/runtime/runtime-constants.ts
713
720
  var CONTENT_REF_ID = "r";
@@ -735,13 +742,13 @@ function createStyleSheetIfNeededAndSupported(styles2) {
735
742
  // src/utils/shadow-root.ts
736
743
  var globalStyleSheet;
737
744
  function createShadowRoot(cmpMeta) {
738
- var _a;
745
+ var _a2;
739
746
  const opts = { mode: "open" };
740
747
  {
741
748
  opts.delegatesFocus = !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */);
742
749
  }
743
750
  const shadowRoot = this.attachShadow(opts);
744
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
751
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a2 = createStyleSheetIfNeededAndSupported()) != null ? _a2 : null;
745
752
  if (globalStyleSheet) {
746
753
  {
747
754
  shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
@@ -877,8 +884,8 @@ function dispatchSlotChangeEvent(elm) {
877
884
  elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
878
885
  }
879
886
  function findSlotFromSlottedNode(slottedNode, parentHost) {
880
- var _a;
881
- parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
887
+ var _a2;
888
+ parentHost = parentHost || ((_a2 = slottedNode["s-ol"]) == null ? void 0 : _a2.parentElement);
882
889
  if (!parentHost) return { slotNode: null, slotName: "" };
883
890
  const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
884
891
  const childNodes = internalCall(parentHost, "childNodes");
@@ -912,8 +919,8 @@ var uniqueTime = (key, measureText) => {
912
919
 
913
920
  // src/utils/query-nonce-meta-tag-content.ts
914
921
  function queryNonceMetaTagContent(doc) {
915
- var _a, _b, _c;
916
- return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
922
+ var _a2, _b, _c;
923
+ return (_c = (_b = (_a2 = doc.head) == null ? void 0 : _a2.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
917
924
  }
918
925
 
919
926
  // src/runtime/styles.ts
@@ -926,7 +933,7 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
926
933
  styles.set(scopeId2, style);
927
934
  };
928
935
  var addStyle = (styleContainerNode, cmpMeta, mode) => {
929
- var _a;
936
+ var _a2;
930
937
  const scopeId2 = getScopeId(cmpMeta, mode);
931
938
  const style = styles.get(scopeId2);
932
939
  if (!win$2.document) {
@@ -947,7 +954,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
947
954
  } else if (!appliedStyles.has(scopeId2)) {
948
955
  styleElm = win$2.document.createElement("style");
949
956
  styleElm.textContent = style;
950
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win$2.document);
957
+ const nonce = (_a2 = plt.$nonce$) != null ? _a2 : queryNonceMetaTagContent(win$2.document);
951
958
  if (nonce != null) {
952
959
  styleElm.setAttribute("nonce", nonce);
953
960
  }
@@ -965,7 +972,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
965
972
  } else if ("host" in styleContainerNode) {
966
973
  {
967
974
  const existingStyleContainer = styleContainerNode.querySelector("style");
968
- if (existingStyleContainer) {
975
+ if (existingStyleContainer && true) {
969
976
  existingStyleContainer.textContent = style + existingStyleContainer.textContent;
970
977
  } else {
971
978
  styleContainerNode.prepend(styleElm);
@@ -1133,7 +1140,7 @@ var convertToPrivate = (node) => {
1133
1140
 
1134
1141
  // src/runtime/client-hydrate.ts
1135
1142
  var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1136
- var _a, _b, _c, _d;
1143
+ var _a2, _b, _c, _d;
1137
1144
  const endHydrate = createTime("hydrateClient", tagName);
1138
1145
  const shadowRoot = hostElm.shadowRoot;
1139
1146
  const childRenderNodes = [];
@@ -1180,7 +1187,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1180
1187
  if (childRenderNode.$tag$ === "slot") {
1181
1188
  node["s-cr"] = hostElm["s-cr"];
1182
1189
  }
1183
- } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
1190
+ } else if (((_a2 = childRenderNode.$tag$) == null ? void 0 : _a2.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
1184
1191
  const cmpMeta = getHostRef(childRenderNode.$elm$);
1185
1192
  if (cmpMeta) {
1186
1193
  const scopeId3 = getScopeId(
@@ -1527,10 +1534,10 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1527
1534
  parentVNode.$children$[childVNode.$index$] = childVNode;
1528
1535
  }
1529
1536
  var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1530
- var _a, _b;
1537
+ var _a2, _b;
1531
1538
  let slottedNode = slotNode.nextSibling;
1532
1539
  slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1533
- if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1540
+ if (!slottedNode || ((_a2 = slottedNode.nodeValue) == null ? void 0 : _a2.startsWith(SLOT_NODE_ID + "."))) return;
1534
1541
  do {
1535
1542
  if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
1536
1543
  slottedNode["s-sn"] = slotName;
@@ -1962,8 +1969,33 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
1962
1969
  var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
1963
1970
  var setMode = (handler) => modeResolutionChain.push(handler);
1964
1971
  var getMode = (ref) => {
1965
- var _a;
1966
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
1972
+ var _a2;
1973
+ return (_a2 = getHostRef(ref)) == null ? void 0 : _a2.$modeName$;
1974
+ };
1975
+
1976
+ // src/runtime/normalize-watchers.ts
1977
+ var normalizeWatchers = (raw) => {
1978
+ if (!raw) return void 0;
1979
+ const keys = Object.keys(raw);
1980
+ if (keys.length === 0) return void 0;
1981
+ let hasLegacy = false;
1982
+ for (const propName of keys) {
1983
+ if (hasLegacy) break;
1984
+ for (const h2 of raw[propName]) {
1985
+ if (typeof h2 === "string") {
1986
+ hasLegacy = true;
1987
+ break;
1988
+ }
1989
+ }
1990
+ }
1991
+ if (!hasLegacy) return raw;
1992
+ const out = {};
1993
+ for (const propName of keys) {
1994
+ out[propName] = raw[propName].map(
1995
+ (h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
1996
+ );
1997
+ }
1998
+ return out;
1967
1999
  };
1968
2000
 
1969
2001
  // src/utils/remote-value.ts
@@ -2062,11 +2094,19 @@ var RemoteValue = class _RemoteValue {
2062
2094
  };
2063
2095
 
2064
2096
  // src/utils/serialize.ts
2097
+ function decodeBase64Unicode(base64) {
2098
+ const binary = atob(base64);
2099
+ const bytes = new Uint8Array(binary.length);
2100
+ for (let i2 = 0; i2 < binary.length; i2++) {
2101
+ bytes[i2] = binary.charCodeAt(i2);
2102
+ }
2103
+ return new TextDecoder().decode(bytes);
2104
+ }
2065
2105
  function deserializeProperty(value) {
2066
2106
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
2067
2107
  return value;
2068
2108
  }
2069
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
2109
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
2070
2110
  }
2071
2111
 
2072
2112
  // src/runtime/parse-property-value.ts
@@ -2092,8 +2132,8 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
2092
2132
  return propValue;
2093
2133
  };
2094
2134
  var getElement = (ref) => {
2095
- var _a;
2096
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
2135
+ var _a2;
2136
+ return (_a2 = getHostRef(ref)) == null ? void 0 : _a2.$hostElement$ ;
2097
2137
  };
2098
2138
 
2099
2139
  // src/runtime/event-emitter.ts
@@ -2318,7 +2358,7 @@ var isSvgMode = false;
2318
2358
  var refCallbacksToRemove = [];
2319
2359
  var refCallbacksToAttach = [];
2320
2360
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
2321
- var _a;
2361
+ var _a2;
2322
2362
  const newVNode2 = newParentVNode.$children$[childIndex];
2323
2363
  let i2 = 0;
2324
2364
  let elm;
@@ -2389,7 +2429,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
2389
2429
  elm["s-sr"] = true;
2390
2430
  elm["s-cr"] = contentRef;
2391
2431
  elm["s-sn"] = newVNode2.$name$ || "";
2392
- elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
2432
+ elm["s-rf"] = (_a2 = newVNode2.$attrs$) == null ? void 0 : _a2.ref;
2393
2433
  patchSlotNode(elm);
2394
2434
  oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
2395
2435
  if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
@@ -2731,12 +2771,12 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2731
2771
  }
2732
2772
  };
2733
2773
  function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
2734
- var _a, _b;
2774
+ var _a2, _b;
2735
2775
  let scopeId2;
2736
2776
  if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
2737
2777
  const scopeName = slotNode["s-sn"];
2738
2778
  const hostName = slotNode["s-hn"];
2739
- (_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
2779
+ (_a2 = newParent.classList) == null ? void 0 : _a2.add(scopeId2 + "-s");
2740
2780
  if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
2741
2781
  let child = (oldParent.__childNodes || oldParent.childNodes)[0];
2742
2782
  let found = false;
@@ -2752,7 +2792,7 @@ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
2752
2792
  }
2753
2793
  }
2754
2794
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2755
- var _a, _d, _e;
2795
+ var _a2, _d, _e;
2756
2796
  const hostElm = hostRef.$hostElement$;
2757
2797
  const cmpMeta = hostRef.$cmpMeta$;
2758
2798
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
@@ -2808,7 +2848,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2808
2848
  const nodeToRelocate = relocateData.$nodeToRelocate$;
2809
2849
  const slotRefNode = relocateData.$slotRefNode$;
2810
2850
  if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
2811
- nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
2851
+ nodeToRelocate["s-ih"] = (_a2 = nodeToRelocate.hidden) != null ? _a2 : false;
2812
2852
  }
2813
2853
  if (slotRefNode) {
2814
2854
  const parentNodeRef = slotRefNode.parentNode;
@@ -2868,14 +2908,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
2868
2908
  flushQueuedRefCallbacks();
2869
2909
  };
2870
2910
  var slotReferenceDebugNode = (slotVNode) => {
2871
- var _a;
2872
- return (_a = win$2.document) == null ? void 0 : _a.createComment(
2911
+ var _a2;
2912
+ return (_a2 = win$2.document) == null ? void 0 : _a2.createComment(
2873
2913
  `<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`
2874
2914
  );
2875
2915
  };
2876
2916
  var originalLocationDebugNode = (nodeToRelocate) => {
2877
- var _a;
2878
- return (_a = win$2.document) == null ? void 0 : _a.createComment(
2917
+ var _a2;
2918
+ return (_a2 = win$2.document) == null ? void 0 : _a2.createComment(
2879
2919
  `org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
2880
2920
  );
2881
2921
  };
@@ -2952,7 +2992,7 @@ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then
2952
2992
  }) : fn();
2953
2993
  var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
2954
2994
  var updateComponent = async (hostRef, instance, isInitialLoad) => {
2955
- var _a;
2995
+ var _a2;
2956
2996
  const elm = hostRef.$hostElement$;
2957
2997
  const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
2958
2998
  const rc = elm["s-rc"];
@@ -2984,7 +3024,7 @@ var updateComponent = async (hostRef, instance, isInitialLoad) => {
2984
3024
  endRender();
2985
3025
  endUpdate();
2986
3026
  {
2987
- const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
3027
+ const childrenPromises = (_a2 = elm["s-p"]) != null ? _a2 : [];
2988
3028
  const postUpdate = () => postUpdateComponent(hostRef);
2989
3029
  if (childrenPromises.length === 0) {
2990
3030
  postUpdate();
@@ -3058,13 +3098,13 @@ var forceUpdate = (ref) => {
3058
3098
  return false;
3059
3099
  };
3060
3100
  var appDidLoad = (who) => {
3061
- var _a;
3101
+ var _a2;
3062
3102
  if (BUILD.asyncQueue) {
3063
3103
  plt.$flags$ |= 2 /* appLoaded */;
3064
3104
  }
3065
3105
  nextTick(() => emitEvent(win$2, "appload", { detail: { namespace: NAMESPACE } }));
3066
3106
  {
3067
- if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
3107
+ if ((_a2 = plt.$orgLocNodes$) == null ? void 0 : _a2.size) {
3068
3108
  plt.$orgLocNodes$.clear();
3069
3109
  }
3070
3110
  }
@@ -3080,8 +3120,8 @@ var safeCall$1 = (instance, method, arg, elm) => {
3080
3120
  return void 0;
3081
3121
  };
3082
3122
  var addHydratedFlag = (elm) => {
3083
- var _a;
3084
- return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
3123
+ var _a2;
3124
+ return elm.classList.add((_a2 = BUILD.hydratedSelectorName) != null ? _a2 : "hydrated") ;
3085
3125
  };
3086
3126
  var serverSideConnected = (elm) => {
3087
3127
  const children = elm.children;
@@ -3156,12 +3196,12 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
3156
3196
 
3157
3197
  // src/runtime/proxy-component.ts
3158
3198
  var proxyComponent = (Cstr, cmpMeta, flags) => {
3159
- var _a;
3199
+ var _a2;
3160
3200
  const prototype = Cstr.prototype;
3161
3201
  {
3162
3202
  {
3163
3203
  if (Cstr.watchers && !cmpMeta.$watchers$) {
3164
- cmpMeta.$watchers$ = Cstr.watchers;
3204
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
3165
3205
  }
3166
3206
  if (Cstr.deserializers && !cmpMeta.$deserializers$) {
3167
3207
  cmpMeta.$deserializers$ = Cstr.deserializers;
@@ -3170,10 +3210,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
3170
3210
  cmpMeta.$serializers$ = Cstr.serializers;
3171
3211
  }
3172
3212
  }
3173
- const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
3213
+ const members = Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {});
3174
3214
  members.map(([memberName, [memberFlags]]) => {
3175
3215
  if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
3176
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
3216
+ const { get: origGetter, set: origSetter } = getPropertyDescriptor(prototype, memberName) || {};
3177
3217
  if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
3178
3218
  if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
3179
3219
  if (!origGetter) {
@@ -3248,7 +3288,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
3248
3288
  }
3249
3289
  if (!Cstr.isProxied) {
3250
3290
  {
3251
- cmpMeta.$watchers$ = Cstr.watchers;
3291
+ cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
3252
3292
  cmpMeta.$serializers$ = Cstr.serializers;
3253
3293
  cmpMeta.$deserializers$ = Cstr.deserializers;
3254
3294
  }
@@ -3414,11 +3454,11 @@ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =>
3414
3454
  }
3415
3455
  };
3416
3456
  var hostListenerProxy = (hostRef, methodName) => (ev) => {
3417
- var _a;
3457
+ var _a2;
3418
3458
  try {
3419
3459
  {
3420
3460
  if (hostRef.$flags$ & 256 /* isListenReady */) {
3421
- (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
3461
+ (_a2 = hostRef.$lazyInstance$) == null ? void 0 : _a2[methodName](ev);
3422
3462
  } else {
3423
3463
  (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
3424
3464
  }
@@ -3452,7 +3492,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
3452
3492
  const orgLocationNodes = [];
3453
3493
  parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);
3454
3494
  orgLocationNodes.forEach((orgLocationNode) => {
3455
- var _a;
3495
+ var _a2;
3456
3496
  if (orgLocationNode != null && orgLocationNode["s-nr"]) {
3457
3497
  const nodeRef = orgLocationNode["s-nr"];
3458
3498
  let hostId = nodeRef["s-host-id"];
@@ -3470,7 +3510,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
3470
3510
  }
3471
3511
  } else if (nodeRef.nodeType === 3 /* TextNode */) {
3472
3512
  if (hostId === 0) {
3473
- const textContent = (_a = nodeRef.nodeValue) == null ? void 0 : _a.trim();
3513
+ const textContent = (_a2 = nodeRef.nodeValue) == null ? void 0 : _a2.trim();
3474
3514
  if (textContent === "") {
3475
3515
  orgLocationNode.remove();
3476
3516
  return;
@@ -3500,7 +3540,7 @@ var insertVdomAnnotations = (doc, staticComponents) => {
3500
3540
  }
3501
3541
  };
3502
3542
  var parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
3503
- var _a;
3543
+ var _a2;
3504
3544
  if (node == null) {
3505
3545
  return;
3506
3546
  }
@@ -3508,7 +3548,7 @@ var parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
3508
3548
  orgLocationNodes.push(node);
3509
3549
  }
3510
3550
  if (node.nodeType === 1 /* ElementNode */) {
3511
- const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a = node.shadowRoot) == null ? void 0 : _a.childNodes) || [])];
3551
+ const childNodes = [...Array.from(node.childNodes), ...Array.from(((_a2 = node.shadowRoot) == null ? void 0 : _a2.childNodes) || [])];
3512
3552
  childNodes.forEach((childNode) => {
3513
3553
  const hostRef = getHostRef(childNode);
3514
3554
  if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
@@ -3734,8 +3774,35 @@ var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
3734
3774
  };
3735
3775
 
3736
3776
  // node_modules/minimatch/dist/esm/ast.js
3777
+ var _a;
3737
3778
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
3738
3779
  var isExtglobType = (c) => types.has(c);
3780
+ var isExtglobAST = (c) => isExtglobType(c.type);
3781
+ var adoptionMap = /* @__PURE__ */ new Map([
3782
+ ["!", ["@"]],
3783
+ ["?", ["?", "@"]],
3784
+ ["@", ["@"]],
3785
+ ["*", ["*", "+", "?", "@"]],
3786
+ ["+", ["+", "@"]]
3787
+ ]);
3788
+ var adoptionWithSpaceMap = /* @__PURE__ */ new Map([
3789
+ ["!", ["?"]],
3790
+ ["@", ["?"]],
3791
+ ["+", ["?", "*"]]
3792
+ ]);
3793
+ var adoptionAnyMap = /* @__PURE__ */ new Map([
3794
+ ["!", ["?", "@"]],
3795
+ ["?", ["?", "@"]],
3796
+ ["@", ["?", "@"]],
3797
+ ["*", ["*", "+", "?", "@"]],
3798
+ ["+", ["+", "@", "?", "*"]]
3799
+ ]);
3800
+ var usurpMap = /* @__PURE__ */ new Map([
3801
+ ["!", /* @__PURE__ */ new Map([["!", "@"]])],
3802
+ ["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
3803
+ ["@", /* @__PURE__ */ new Map([["!", "!"], ["?", "?"], ["@", "@"], ["*", "*"], ["+", "+"]])],
3804
+ ["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
3805
+ ]);
3739
3806
  var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
3740
3807
  var startNoDot = "(?!\\.)";
3741
3808
  var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
@@ -3745,8 +3812,8 @@ var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
3745
3812
  var qmark = "[^/]";
3746
3813
  var star = qmark + "*?";
3747
3814
  var starNoEmpty = qmark + "+?";
3748
- var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
3749
- var _AST = class _AST {
3815
+ var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, canAdoptWithSpace_fn, canAdopt_fn, canAdoptType_fn, adoptWithSpace_fn, adopt_fn, canUsurpType_fn, canUsurp_fn, usurp_fn, flatten_fn, partsToRegExp_fn, parseGlob_fn;
3816
+ var AST = class {
3750
3817
  constructor(type, parent, options = {}) {
3751
3818
  __privateAdd(this, _AST_instances);
3752
3819
  __publicField(this, "type");
@@ -3799,44 +3866,44 @@ var _AST = class _AST {
3799
3866
  for (const p of parts) {
3800
3867
  if (p === "")
3801
3868
  continue;
3802
- if (typeof p !== "string" && !(p instanceof _AST && __privateGet(p, _parent) === this)) {
3869
+ if (typeof p !== "string" && !(p instanceof _a && __privateGet(p, _parent) === this)) {
3803
3870
  throw new Error("invalid part: " + p);
3804
3871
  }
3805
3872
  __privateGet(this, _parts).push(p);
3806
3873
  }
3807
3874
  }
3808
3875
  toJSON() {
3809
- var _a;
3876
+ var _a2;
3810
3877
  const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
3811
3878
  if (this.isStart() && !this.type)
3812
3879
  ret.unshift([]);
3813
- if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")) {
3880
+ if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")) {
3814
3881
  ret.push({});
3815
3882
  }
3816
3883
  return ret;
3817
3884
  }
3818
3885
  isStart() {
3819
- var _a;
3886
+ var _a2;
3820
3887
  if (__privateGet(this, _root) === this)
3821
3888
  return true;
3822
- if (!((_a = __privateGet(this, _parent)) == null ? void 0 : _a.isStart()))
3889
+ if (!((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.isStart()))
3823
3890
  return false;
3824
3891
  if (__privateGet(this, _parentIndex) === 0)
3825
3892
  return true;
3826
3893
  const p = __privateGet(this, _parent);
3827
3894
  for (let i2 = 0; i2 < __privateGet(this, _parentIndex); i2++) {
3828
3895
  const pp = __privateGet(p, _parts)[i2];
3829
- if (!(pp instanceof _AST && pp.type === "!")) {
3896
+ if (!(pp instanceof _a && pp.type === "!")) {
3830
3897
  return false;
3831
3898
  }
3832
3899
  }
3833
3900
  return true;
3834
3901
  }
3835
3902
  isEnd() {
3836
- var _a, _b, _c;
3903
+ var _a2, _b, _c;
3837
3904
  if (__privateGet(this, _root) === this)
3838
3905
  return true;
3839
- if (((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")
3906
+ if (((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")
3840
3907
  return true;
3841
3908
  if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
3842
3909
  return false;
@@ -3852,16 +3919,16 @@ var _AST = class _AST {
3852
3919
  this.push(part.clone(this));
3853
3920
  }
3854
3921
  clone(parent) {
3855
- const c = new _AST(this.type, parent);
3922
+ const c = new _a(this.type, parent);
3856
3923
  for (const p of __privateGet(this, _parts)) {
3857
3924
  c.copyIn(p);
3858
3925
  }
3859
3926
  return c;
3860
3927
  }
3861
3928
  static fromGlob(pattern, options = {}) {
3862
- var _a;
3863
- const ast = new _AST(null, void 0, options);
3864
- __privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, pattern, ast, 0, options);
3929
+ var _a2;
3930
+ const ast = new _a(null, void 0, options);
3931
+ __privateMethod(_a2 = _a, _AST_static, parseAST_fn).call(_a2, pattern, ast, 0, options, 0);
3865
3932
  return ast;
3866
3933
  }
3867
3934
  // returns the regular expression if there's magic, or the unescaped
@@ -3954,15 +4021,17 @@ var _AST = class _AST {
3954
4021
  // is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
3955
4022
  // or start or whatever) and prepend ^ or / at the Regexp construction.
3956
4023
  toRegExpSource(allowDot) {
3957
- var _a;
4024
+ var _a2;
3958
4025
  const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
3959
- if (__privateGet(this, _root) === this)
4026
+ if (__privateGet(this, _root) === this) {
4027
+ __privateMethod(this, _AST_instances, flatten_fn).call(this);
3960
4028
  __privateMethod(this, _AST_instances, fillNegs_fn).call(this);
3961
- if (!this.type) {
4029
+ }
4030
+ if (!isExtglobAST(this)) {
3962
4031
  const noEmpty = this.isStart() && this.isEnd();
3963
4032
  const src = __privateGet(this, _parts).map((p) => {
3964
- var _a2;
3965
- const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a2 = _AST, _AST_static, parseGlob_fn).call(_a2, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
4033
+ var _a3;
4034
+ const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a3 = _a, _AST_static, parseGlob_fn).call(_a3, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
3966
4035
  __privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
3967
4036
  __privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
3968
4037
  return re;
@@ -3985,7 +4054,7 @@ var _AST = class _AST {
3985
4054
  }
3986
4055
  }
3987
4056
  let end = "";
3988
- if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!") {
4057
+ if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!") {
3989
4058
  end = "(?:$|\\/)";
3990
4059
  }
3991
4060
  const final2 = start2 + src + end;
@@ -4001,12 +4070,13 @@ var _AST = class _AST {
4001
4070
  let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
4002
4071
  if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
4003
4072
  const s = this.toString();
4004
- __privateSet(this, _parts, [s]);
4005
- this.type = null;
4006
- __privateSet(this, _hasMagic, void 0);
4073
+ const me = this;
4074
+ __privateSet(me, _parts, [s]);
4075
+ me.type = null;
4076
+ __privateSet(me, _hasMagic, void 0);
4007
4077
  return [s, unescape(this.toString()), false, false];
4008
4078
  }
4009
- let bodyDotAllowed = !repeated || allowDot || dot || false ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
4079
+ let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
4010
4080
  if (bodyDotAllowed === body) {
4011
4081
  bodyDotAllowed = "";
4012
4082
  }
@@ -4072,8 +4142,9 @@ fillNegs_fn = function() {
4072
4142
  return this;
4073
4143
  };
4074
4144
  _AST_static = new WeakSet();
4075
- parseAST_fn = function(str, ast, pos, opt) {
4076
- var _a, _b;
4145
+ parseAST_fn = function(str, ast, pos, opt, extDepth) {
4146
+ var _a2, _b, _c, _d, _e;
4147
+ const maxDepth = (_a2 = opt.maxExtglobRecursion) != null ? _a2 : 2;
4077
4148
  let escaping = false;
4078
4149
  let inBrace = false;
4079
4150
  let braceStart = -1;
@@ -4105,11 +4176,12 @@ parseAST_fn = function(str, ast, pos, opt) {
4105
4176
  acc2 += c;
4106
4177
  continue;
4107
4178
  }
4108
- if (!opt.noext && isExtglobType(c) && str.charAt(i3) === "(") {
4179
+ const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i3) === "(" && extDepth <= maxDepth;
4180
+ if (doRecurse) {
4109
4181
  ast.push(acc2);
4110
4182
  acc2 = "";
4111
- const ext2 = new _AST(c, ast);
4112
- i3 = __privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, str, ext2, i3, opt);
4183
+ const ext2 = new _a(c, ast);
4184
+ i3 = __privateMethod(_b = _a, _AST_static, parseAST_fn).call(_b, str, ext2, i3, opt, extDepth + 1);
4113
4185
  ast.push(ext2);
4114
4186
  continue;
4115
4187
  }
@@ -4119,7 +4191,7 @@ parseAST_fn = function(str, ast, pos, opt) {
4119
4191
  return i3;
4120
4192
  }
4121
4193
  let i2 = pos + 1;
4122
- let part = new _AST(null, ast);
4194
+ let part = new _a(null, ast);
4123
4195
  const parts = [];
4124
4196
  let acc = "";
4125
4197
  while (i2 < str.length) {
@@ -4146,19 +4218,22 @@ parseAST_fn = function(str, ast, pos, opt) {
4146
4218
  acc += c;
4147
4219
  continue;
4148
4220
  }
4149
- if (isExtglobType(c) && str.charAt(i2) === "(") {
4221
+ const doRecurse = isExtglobType(c) && str.charAt(i2) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
4222
+ (extDepth <= maxDepth || ast && __privateMethod(_c = ast, _AST_instances, canAdoptType_fn).call(_c, c));
4223
+ if (doRecurse) {
4224
+ const depthAdd = ast && __privateMethod(_d = ast, _AST_instances, canAdoptType_fn).call(_d, c) ? 0 : 1;
4150
4225
  part.push(acc);
4151
4226
  acc = "";
4152
- const ext2 = new _AST(c, part);
4227
+ const ext2 = new _a(c, part);
4153
4228
  part.push(ext2);
4154
- i2 = __privateMethod(_b = _AST, _AST_static, parseAST_fn).call(_b, str, ext2, i2, opt);
4229
+ i2 = __privateMethod(_e = _a, _AST_static, parseAST_fn).call(_e, str, ext2, i2, opt, extDepth + depthAdd);
4155
4230
  continue;
4156
4231
  }
4157
4232
  if (c === "|") {
4158
4233
  part.push(acc);
4159
4234
  acc = "";
4160
4235
  parts.push(part);
4161
- part = new _AST(null, ast);
4236
+ part = new _a(null, ast);
4162
4237
  continue;
4163
4238
  }
4164
4239
  if (c === ")") {
@@ -4177,6 +4252,100 @@ parseAST_fn = function(str, ast, pos, opt) {
4177
4252
  __privateSet(ast, _parts, [str.substring(pos - 1)]);
4178
4253
  return i2;
4179
4254
  };
4255
+ canAdoptWithSpace_fn = function(child) {
4256
+ return __privateMethod(this, _AST_instances, canAdopt_fn).call(this, child, adoptionWithSpaceMap);
4257
+ };
4258
+ canAdopt_fn = function(child, map2 = adoptionMap) {
4259
+ if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null) {
4260
+ return false;
4261
+ }
4262
+ const gc = __privateGet(child, _parts)[0];
4263
+ if (!gc || typeof gc !== "object" || gc.type === null) {
4264
+ return false;
4265
+ }
4266
+ return __privateMethod(this, _AST_instances, canAdoptType_fn).call(this, gc.type, map2);
4267
+ };
4268
+ canAdoptType_fn = function(c, map2 = adoptionAnyMap) {
4269
+ var _a2;
4270
+ return !!((_a2 = map2.get(this.type)) == null ? void 0 : _a2.includes(c));
4271
+ };
4272
+ adoptWithSpace_fn = function(child, index) {
4273
+ const gc = __privateGet(child, _parts)[0];
4274
+ const blank = new _a(null, gc, this.options);
4275
+ __privateGet(blank, _parts).push("");
4276
+ gc.push(blank);
4277
+ __privateMethod(this, _AST_instances, adopt_fn).call(this, child, index);
4278
+ };
4279
+ adopt_fn = function(child, index) {
4280
+ const gc = __privateGet(child, _parts)[0];
4281
+ __privateGet(this, _parts).splice(index, 1, ...__privateGet(gc, _parts));
4282
+ for (const p of __privateGet(gc, _parts)) {
4283
+ if (typeof p === "object")
4284
+ __privateSet(p, _parent, this);
4285
+ }
4286
+ __privateSet(this, _toString, void 0);
4287
+ };
4288
+ canUsurpType_fn = function(c) {
4289
+ const m = usurpMap.get(this.type);
4290
+ return !!(m == null ? void 0 : m.has(c));
4291
+ };
4292
+ canUsurp_fn = function(child) {
4293
+ if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null || __privateGet(this, _parts).length !== 1) {
4294
+ return false;
4295
+ }
4296
+ const gc = __privateGet(child, _parts)[0];
4297
+ if (!gc || typeof gc !== "object" || gc.type === null) {
4298
+ return false;
4299
+ }
4300
+ return __privateMethod(this, _AST_instances, canUsurpType_fn).call(this, gc.type);
4301
+ };
4302
+ usurp_fn = function(child) {
4303
+ const m = usurpMap.get(this.type);
4304
+ const gc = __privateGet(child, _parts)[0];
4305
+ const nt = m == null ? void 0 : m.get(gc.type);
4306
+ if (!nt)
4307
+ return false;
4308
+ __privateSet(this, _parts, __privateGet(gc, _parts));
4309
+ for (const p of __privateGet(this, _parts)) {
4310
+ if (typeof p === "object")
4311
+ __privateSet(p, _parent, this);
4312
+ }
4313
+ this.type = nt;
4314
+ __privateSet(this, _toString, void 0);
4315
+ __privateSet(this, _emptyExt, false);
4316
+ };
4317
+ flatten_fn = function() {
4318
+ var _a2, _b;
4319
+ if (!isExtglobAST(this)) {
4320
+ for (const p of __privateGet(this, _parts)) {
4321
+ if (typeof p === "object")
4322
+ __privateMethod(_a2 = p, _AST_instances, flatten_fn).call(_a2);
4323
+ }
4324
+ } else {
4325
+ let iterations = 0;
4326
+ let done = false;
4327
+ do {
4328
+ done = true;
4329
+ for (let i2 = 0; i2 < __privateGet(this, _parts).length; i2++) {
4330
+ const c = __privateGet(this, _parts)[i2];
4331
+ if (typeof c === "object") {
4332
+ __privateMethod(_b = c, _AST_instances, flatten_fn).call(_b);
4333
+ if (__privateMethod(this, _AST_instances, canAdopt_fn).call(this, c)) {
4334
+ done = false;
4335
+ __privateMethod(this, _AST_instances, adopt_fn).call(this, c, i2);
4336
+ } else if (__privateMethod(this, _AST_instances, canAdoptWithSpace_fn).call(this, c)) {
4337
+ done = false;
4338
+ __privateMethod(this, _AST_instances, adoptWithSpace_fn).call(this, c, i2);
4339
+ } else if (__privateMethod(this, _AST_instances, canUsurp_fn).call(this, c)) {
4340
+ done = false;
4341
+ __privateMethod(this, _AST_instances, usurp_fn).call(this, c);
4342
+ }
4343
+ }
4344
+ }
4345
+ } while (!done && ++iterations < 10);
4346
+ }
4347
+ __privateSet(this, _toString, void 0);
4348
+ };
4180
4349
  partsToRegExp_fn = function(dot) {
4181
4350
  return __privateGet(this, _parts).map((p) => {
4182
4351
  if (typeof p === "string") {
@@ -4191,11 +4360,13 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
4191
4360
  let escaping = false;
4192
4361
  let re = "";
4193
4362
  let uflag = false;
4363
+ let inStar = false;
4194
4364
  for (let i2 = 0; i2 < glob.length; i2++) {
4195
4365
  const c = glob.charAt(i2);
4196
4366
  if (escaping) {
4197
4367
  escaping = false;
4198
4368
  re += (reSpecials.has(c) ? "\\" : "") + c;
4369
+ inStar = false;
4199
4370
  continue;
4200
4371
  }
4201
4372
  if (c === "\\") {
@@ -4213,16 +4384,19 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
4213
4384
  uflag = uflag || needUflag;
4214
4385
  i2 += consumed - 1;
4215
4386
  hasMagic = hasMagic || magic;
4387
+ inStar = false;
4216
4388
  continue;
4217
4389
  }
4218
4390
  }
4219
4391
  if (c === "*") {
4220
- if (noEmpty && glob === "*")
4221
- re += starNoEmpty;
4222
- else
4223
- re += star;
4392
+ if (inStar)
4393
+ continue;
4394
+ inStar = true;
4395
+ re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
4224
4396
  hasMagic = true;
4225
4397
  continue;
4398
+ } else {
4399
+ inStar = false;
4226
4400
  }
4227
4401
  if (c === "?") {
4228
4402
  re += qmark;
@@ -4233,8 +4407,8 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
4233
4407
  }
4234
4408
  return [re, unescape(glob), !!hasMagic, uflag];
4235
4409
  };
4236
- __privateAdd(_AST, _AST_static);
4237
- var AST = _AST;
4410
+ __privateAdd(AST, _AST_static);
4411
+ _a = AST;
4238
4412
 
4239
4413
  // node_modules/minimatch/dist/esm/escape.js
4240
4414
  var escape = (s, { windowsPathsNoEscape = false } = {}) => {
@@ -4373,28 +4547,33 @@ var match = (list, pattern, options = {}) => {
4373
4547
  minimatch.match = match;
4374
4548
  var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
4375
4549
  var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
4550
+ var _Minimatch_instances, matchGlobstar_fn, matchGlobStarBodySections_fn, matchOne_fn;
4376
4551
  var Minimatch = class {
4377
- options;
4378
- set;
4379
- pattern;
4380
- windowsPathsNoEscape;
4381
- nonegate;
4382
- negate;
4383
- comment;
4384
- empty;
4385
- preserveMultipleSlashes;
4386
- partial;
4387
- globSet;
4388
- globParts;
4389
- nocase;
4390
- isWindows;
4391
- platform;
4392
- windowsNoMagicRoot;
4393
- regexp;
4394
4552
  constructor(pattern, options = {}) {
4553
+ __privateAdd(this, _Minimatch_instances);
4554
+ __publicField(this, "options");
4555
+ __publicField(this, "set");
4556
+ __publicField(this, "pattern");
4557
+ __publicField(this, "windowsPathsNoEscape");
4558
+ __publicField(this, "nonegate");
4559
+ __publicField(this, "negate");
4560
+ __publicField(this, "comment");
4561
+ __publicField(this, "empty");
4562
+ __publicField(this, "preserveMultipleSlashes");
4563
+ __publicField(this, "partial");
4564
+ __publicField(this, "globSet");
4565
+ __publicField(this, "globParts");
4566
+ __publicField(this, "nocase");
4567
+ __publicField(this, "isWindows");
4568
+ __publicField(this, "platform");
4569
+ __publicField(this, "windowsNoMagicRoot");
4570
+ __publicField(this, "maxGlobstarRecursion");
4571
+ __publicField(this, "regexp");
4572
+ var _a2;
4395
4573
  assertValidPattern(pattern);
4396
4574
  options = options || {};
4397
4575
  this.options = options;
4576
+ this.maxGlobstarRecursion = (_a2 = options.maxGlobstarRecursion) != null ? _a2 : 200;
4398
4577
  this.pattern = pattern;
4399
4578
  this.platform = options.platform || defaultPlatform;
4400
4579
  this.isWindows = this.platform === "win32";
@@ -4662,10 +4841,11 @@ var Minimatch = class {
4662
4841
  for (let i2 = 0; i2 < globParts.length - 1; i2++) {
4663
4842
  for (let j = i2 + 1; j < globParts.length; j++) {
4664
4843
  const matched = this.partsMatch(globParts[i2], globParts[j], !this.preserveMultipleSlashes);
4665
- if (!matched)
4666
- continue;
4667
- globParts[i2] = matched;
4668
- globParts[j] = [];
4844
+ if (matched) {
4845
+ globParts[i2] = [];
4846
+ globParts[j] = matched;
4847
+ break;
4848
+ }
4669
4849
  }
4670
4850
  }
4671
4851
  return globParts.filter((gs) => gs.length);
@@ -4726,7 +4906,8 @@ var Minimatch = class {
4726
4906
  // out of pattern, then that's fine, as long as all
4727
4907
  // the parts match.
4728
4908
  matchOne(file, pattern, partial = false) {
4729
- const options = this.options;
4909
+ let fileStartIndex = 0;
4910
+ let patternStartIndex = 0;
4730
4911
  if (this.isWindows) {
4731
4912
  const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
4732
4913
  const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
@@ -4735,14 +4916,14 @@ var Minimatch = class {
4735
4916
  const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
4736
4917
  const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
4737
4918
  if (typeof fdi === "number" && typeof pdi === "number") {
4738
- const [fd, pd] = [file[fdi], pattern[pdi]];
4919
+ const [fd, pd] = [
4920
+ file[fdi],
4921
+ pattern[pdi]
4922
+ ];
4739
4923
  if (fd.toLowerCase() === pd.toLowerCase()) {
4740
4924
  pattern[pdi] = fd;
4741
- if (pdi > fdi) {
4742
- pattern = pattern.slice(pdi);
4743
- } else if (fdi > pdi) {
4744
- file = file.slice(fdi);
4745
- }
4925
+ patternStartIndex = pdi;
4926
+ fileStartIndex = fdi;
4746
4927
  }
4747
4928
  }
4748
4929
  }
@@ -4750,71 +4931,10 @@ var Minimatch = class {
4750
4931
  if (optimizationLevel >= 2) {
4751
4932
  file = this.levelTwoFileOptimize(file);
4752
4933
  }
4753
- this.debug("matchOne", this, { file, pattern });
4754
- this.debug("matchOne", file.length, pattern.length);
4755
- for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
4756
- this.debug("matchOne loop");
4757
- var p = pattern[pi];
4758
- var f = file[fi];
4759
- this.debug(pattern, p, f);
4760
- if (p === false) {
4761
- return false;
4762
- }
4763
- if (p === GLOBSTAR) {
4764
- this.debug("GLOBSTAR", [pattern, p, f]);
4765
- var fr = fi;
4766
- var pr = pi + 1;
4767
- if (pr === pl) {
4768
- this.debug("** at the end");
4769
- for (; fi < fl; fi++) {
4770
- if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
4771
- return false;
4772
- }
4773
- return true;
4774
- }
4775
- while (fr < fl) {
4776
- var swallowee = file[fr];
4777
- this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
4778
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
4779
- this.debug("globstar found match!", fr, fl, swallowee);
4780
- return true;
4781
- } else {
4782
- if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
4783
- this.debug("dot detected!", file, fr, pattern, pr);
4784
- break;
4785
- }
4786
- this.debug("globstar swallow a segment, and continue");
4787
- fr++;
4788
- }
4789
- }
4790
- if (partial) {
4791
- this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
4792
- if (fr === fl) {
4793
- return true;
4794
- }
4795
- }
4796
- return false;
4797
- }
4798
- let hit;
4799
- if (typeof p === "string") {
4800
- hit = f === p;
4801
- this.debug("string match", p, f, hit);
4802
- } else {
4803
- hit = p.test(f);
4804
- this.debug("pattern match", p, f, hit);
4805
- }
4806
- if (!hit)
4807
- return false;
4808
- }
4809
- if (fi === fl && pi === pl) {
4810
- return true;
4811
- } else if (fi === fl) {
4812
- return partial;
4813
- } else if (pi === pl) {
4814
- return fi === fl - 1 && file[fi] === "";
4815
- } else {
4816
- throw new Error("wtf?");
4934
+ if (pattern.includes(GLOBSTAR)) {
4935
+ return __privateMethod(this, _Minimatch_instances, matchGlobstar_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
4817
4936
  }
4937
+ return __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
4818
4938
  }
4819
4939
  braceExpand() {
4820
4940
  return braceExpand(this.pattern, this.options);
@@ -4953,6 +5073,135 @@ var Minimatch = class {
4953
5073
  return minimatch.defaults(def).Minimatch;
4954
5074
  }
4955
5075
  };
5076
+ _Minimatch_instances = new WeakSet();
5077
+ matchGlobstar_fn = function(file, pattern, partial, fileIndex, patternIndex) {
5078
+ const firstgs = pattern.indexOf(GLOBSTAR, patternIndex);
5079
+ const lastgs = pattern.lastIndexOf(GLOBSTAR);
5080
+ const [head, body, tail] = partial ? [
5081
+ pattern.slice(patternIndex, firstgs),
5082
+ pattern.slice(firstgs + 1),
5083
+ []
5084
+ ] : [
5085
+ pattern.slice(patternIndex, firstgs),
5086
+ pattern.slice(firstgs + 1, lastgs),
5087
+ pattern.slice(lastgs + 1)
5088
+ ];
5089
+ if (head.length) {
5090
+ const fileHead = file.slice(fileIndex, fileIndex + head.length);
5091
+ if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, fileHead, head, partial, 0, 0))
5092
+ return false;
5093
+ fileIndex += head.length;
5094
+ }
5095
+ let fileTailMatch = 0;
5096
+ if (tail.length) {
5097
+ if (tail.length + fileIndex > file.length)
5098
+ return false;
5099
+ let tailStart = file.length - tail.length;
5100
+ if (__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0)) {
5101
+ fileTailMatch = tail.length;
5102
+ } else {
5103
+ if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) {
5104
+ return false;
5105
+ }
5106
+ tailStart--;
5107
+ if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0))
5108
+ return false;
5109
+ fileTailMatch = tail.length + 1;
5110
+ }
5111
+ }
5112
+ if (!body.length) {
5113
+ let sawSome = !!fileTailMatch;
5114
+ for (let i3 = fileIndex; i3 < file.length - fileTailMatch; i3++) {
5115
+ const f = String(file[i3]);
5116
+ sawSome = true;
5117
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
5118
+ return false;
5119
+ }
5120
+ }
5121
+ return partial || sawSome;
5122
+ }
5123
+ const bodySegments = [[[], 0]];
5124
+ let currentBody = bodySegments[0];
5125
+ let nonGsParts = 0;
5126
+ const nonGsPartsSums = [0];
5127
+ for (const b of body) {
5128
+ if (b === GLOBSTAR) {
5129
+ nonGsPartsSums.push(nonGsParts);
5130
+ currentBody = [[], 0];
5131
+ bodySegments.push(currentBody);
5132
+ } else {
5133
+ currentBody[0].push(b);
5134
+ nonGsParts++;
5135
+ }
5136
+ }
5137
+ let i2 = bodySegments.length - 1;
5138
+ const fileLength = file.length - fileTailMatch;
5139
+ for (const b of bodySegments) {
5140
+ b[1] = fileLength - (nonGsPartsSums[i2--] + b[0].length);
5141
+ }
5142
+ return !!__privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
5143
+ };
5144
+ matchGlobStarBodySections_fn = function(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
5145
+ const bs = bodySegments[bodyIndex];
5146
+ if (!bs) {
5147
+ for (let i2 = fileIndex; i2 < file.length; i2++) {
5148
+ sawTail = true;
5149
+ const f = file[i2];
5150
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
5151
+ return false;
5152
+ }
5153
+ }
5154
+ return sawTail;
5155
+ }
5156
+ const [body, after] = bs;
5157
+ while (fileIndex <= after) {
5158
+ const m = __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
5159
+ if (m && globStarDepth < this.maxGlobstarRecursion) {
5160
+ const sub = __privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
5161
+ if (sub !== false)
5162
+ return sub;
5163
+ }
5164
+ const f = file[fileIndex];
5165
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
5166
+ return false;
5167
+ }
5168
+ fileIndex++;
5169
+ }
5170
+ return partial || null;
5171
+ };
5172
+ matchOne_fn = function(file, pattern, partial, fileIndex, patternIndex) {
5173
+ let fi;
5174
+ let pi;
5175
+ let pl;
5176
+ let fl;
5177
+ for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
5178
+ this.debug("matchOne loop");
5179
+ let p = pattern[pi];
5180
+ let f = file[fi];
5181
+ this.debug(pattern, p, f);
5182
+ if (p === false || p === GLOBSTAR)
5183
+ return false;
5184
+ let hit;
5185
+ if (typeof p === "string") {
5186
+ hit = f === p;
5187
+ this.debug("string match", p, f, hit);
5188
+ } else {
5189
+ hit = p.test(f);
5190
+ this.debug("pattern match", p, f, hit);
5191
+ }
5192
+ if (!hit)
5193
+ return false;
5194
+ }
5195
+ if (fi === fl && pi === pl) {
5196
+ return true;
5197
+ } else if (fi === fl) {
5198
+ return partial;
5199
+ } else if (pi === pl) {
5200
+ return fi === fl - 1 && file[fi] === "";
5201
+ } else {
5202
+ throw new Error("wtf?");
5203
+ }
5204
+ };
4956
5205
  minimatch.AST = AST;
4957
5206
  minimatch.Minimatch = Minimatch;
4958
5207
  minimatch.escape = escape;
@@ -5026,7 +5275,7 @@ function proxyHostElement(elm, cstr) {
5026
5275
  const hostRef = getHostRef(elm);
5027
5276
  const members = Object.entries(cmpMeta.$members$);
5028
5277
  members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
5029
- var _a, _b;
5278
+ var _a2, _b;
5030
5279
  if (memberFlags & 31 /* Prop */) {
5031
5280
  const attributeName = metaAttributeName || memberName;
5032
5281
  const attrValue = elm.getAttribute(attributeName);
@@ -5034,7 +5283,7 @@ function proxyHostElement(elm, cstr) {
5034
5283
  let attrPropVal;
5035
5284
  const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
5036
5285
  if (attrValue != null) {
5037
- if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
5286
+ if ((_a2 = cmpMeta.$deserializers$) == null ? void 0 : _a2[memberName]) {
5038
5287
  for (const deserializer of cmpMeta.$deserializers$[memberName]) {
5039
5288
  const [[methodName]] = Object.entries(deserializer);
5040
5289
  attrPropVal = cstr.prototype[methodName](attrValue, memberName);
@@ -5067,8 +5316,8 @@ function proxyHostElement(elm, cstr) {
5067
5316
  Object.defineProperty(elm, memberName, getterSetterDescriptor);
5068
5317
  Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
5069
5318
  hostRef.$fetchedCbList$.push(() => {
5070
- var _a2;
5071
- if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
5319
+ var _a3;
5320
+ if (!((_a3 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a3.has(memberName))) {
5072
5321
  setValue(
5073
5322
  elm,
5074
5323
  memberName,
@@ -5081,11 +5330,11 @@ function proxyHostElement(elm, cstr) {
5081
5330
  } else if (memberFlags & 64 /* Method */) {
5082
5331
  Object.defineProperty(elm, memberName, {
5083
5332
  value(...args) {
5084
- var _a2;
5333
+ var _a3;
5085
5334
  const ref = getHostRef(this);
5086
- return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
5087
- var _a3;
5088
- return (_a3 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
5335
+ return (_a3 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a3.then(() => {
5336
+ var _a4;
5337
+ return (_a4 = ref == null ? void 0 : ref.$lazyInstance$) == null ? void 0 : _a4[memberName](...args);
5089
5338
  }).catch((e) => {
5090
5339
  consoleError(e, this);
5091
5340
  });
@@ -5096,8 +5345,8 @@ function proxyHostElement(elm, cstr) {
5096
5345
  }
5097
5346
  }
5098
5347
  function componentOnReady$1() {
5099
- var _a;
5100
- return (_a = getHostRef(this)) == null ? void 0 : _a.$onReadyPromise$;
5348
+ var _a2;
5349
+ return (_a2 = getHostRef(this)) == null ? void 0 : _a2.$onReadyPromise$;
5101
5350
  }
5102
5351
  function forceUpdate2() {
5103
5352
  }
@@ -19047,7 +19296,7 @@ class Input {
19047
19296
  /**
19048
19297
  * Whether auto correction should be enabled when the user is entering/editing the text value.
19049
19298
  */
19050
- this.autocorrect = 'off';
19299
+ this.autocorrect = false;
19051
19300
  /**
19052
19301
  * Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.
19053
19302
  *
@@ -19504,7 +19753,7 @@ class Input {
19504
19753
  * TODO(FW-5592): Remove hasStartEndSlots condition
19505
19754
  */
19506
19755
  const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
19507
- return (hAsync(Host, { key: '9ba9cf425b573d2ca9ac34455a0e6b8474c4de6d', class: createColorClasses$1(this.color, {
19756
+ return (hAsync(Host, { key: '6a05f61339d8045285d5820c2508296cc842c210', class: createColorClasses$1(this.color, {
19508
19757
  [mode]: true,
19509
19758
  'has-value': hasValue,
19510
19759
  'has-focus': hasFocus,
@@ -19515,14 +19764,14 @@ class Input {
19515
19764
  'in-item': inItem,
19516
19765
  'in-item-color': hostContext('ion-item.ion-color', this.el),
19517
19766
  'input-disabled': disabled,
19518
- }) }, hAsync("label", { key: '74b989d0aa5ab38f29f952519868f05119df6005', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '47f2b42e2f74ea866b4f871026e08ab375d7a726', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: 'eaabe5a4a329a356cac3294d15c087d0d131fff2', name: "start" }), hAsync("input", Object.assign({ key: 'c821a984a8a9b7f96f30892c06d8deda093ff24b', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (hAsync("button", { key: '62069c11016ee190dc46ab941372e1c4ad8a36ed', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
19767
+ }) }, hAsync("label", { key: 'b546d66f53ea25082494e3a4cb0ce7532ee649d7', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '6af832f2b25fadee7a49adb999166dbc97565e2d', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: 'e7a8895038a8d2503f646acfda20c6c1a99c2839', name: "start" }), hAsync("input", Object.assign({ key: 'ce85703e0434a6322bb4275a924e3cd91c79fa20', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (hAsync("button", { key: '1e59589fc89a37d7830dc915b4c19d26a8f568c7', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
19519
19768
  /**
19520
19769
  * This prevents mobile browsers from
19521
19770
  * blurring the input when the clear
19522
19771
  * button is activated.
19523
19772
  */
19524
19773
  ev.preventDefault();
19525
- }, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'dd75a516d32110d85382b664c663bd41f177ce12', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: '330d4b9389f2c62223a5ee24003e96ef3e6b2473', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '8e442bed130ddc84976ab70fd3f8578d6bcc6316', class: "input-highlight" })), this.renderBottomContent()));
19774
+ }, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '7d443c5061bf6436d3b77a2444676c679b3e62e4', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: '5516f88d46886348217570ec1fadda0b79b63c01', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '2a1fdb7e7c974654dfbb3afb4fbfd9204e9d9092', class: "input-highlight" })), this.renderBottomContent()));
19526
19775
  }
19527
19776
  get el() { return getElement(this); }
19528
19777
  static get watchers() { return {
@@ -19550,7 +19799,7 @@ class Input {
19550
19799
  "color": [513],
19551
19800
  "autocapitalize": [1],
19552
19801
  "autocomplete": [1],
19553
- "autocorrect": [1],
19802
+ "autocorrect": [4],
19554
19803
  "autofocus": [4],
19555
19804
  "clearInput": [4, "clear-input"],
19556
19805
  "clearInputIcon": [1, "clear-input-icon"],
@@ -33296,7 +33545,7 @@ class ReorderGroup {
33296
33545
  }
33297
33546
  let amount = 0;
33298
33547
  if (posY < this.scrollElTop) {
33299
- amount = -10;
33548
+ amount = -SCROLL_JUMP;
33300
33549
  }
33301
33550
  else if (posY > this.scrollElBottom) {
33302
33551
  amount = SCROLL_JUMP;
@@ -34697,7 +34946,7 @@ class Searchbar {
34697
34946
  /**
34698
34947
  * Set the input's autocorrect property.
34699
34948
  */
34700
- this.autocorrect = 'off';
34949
+ this.autocorrect = false;
34701
34950
  /**
34702
34951
  * Set the cancel button icon. Only applies to `md` mode.
34703
34952
  * Defaults to `arrow-back-sharp`.
@@ -35097,8 +35346,8 @@ class Searchbar {
35097
35346
  const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
35098
35347
  const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
35099
35348
  const shouldShowCancelButton = this.shouldShowCancelButton();
35100
- const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '7b4d126a3a3b44dc8695695afb058ccae482d4b1', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '8a23082889ecef13bb5997d914d7dcdf3dc5a480', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
35101
- return (hAsync(Host, { key: 'ce0a2cebb0c2af3b351cb2d4699e3e4dbb8c3ee2', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
35349
+ const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '870c9284441fdf431056ac944ac93afa7cb1ee96', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '730e33f44c5ec6eee898ea6612fdba337de354e3', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
35350
+ return (hAsync(Host, { key: 'd898b9f9768ec7119a3ad4be8350d8a3cfb32ba6', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
35102
35351
  [mode]: true,
35103
35352
  'searchbar-animated': animated,
35104
35353
  'searchbar-disabled': this.disabled,
@@ -35108,14 +35357,14 @@ class Searchbar {
35108
35357
  'searchbar-has-focus': this.focused,
35109
35358
  'searchbar-should-show-clear': this.shouldShowClearButton(),
35110
35359
  'searchbar-should-show-cancel': this.shouldShowCancelButton(),
35111
- }) }, hAsync("div", { key: 'c4d734548345de9cb052269b19359720f50ed7e5', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '849faa302b37b73345847ea7db401d3cc2a00404', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '1d24d7901b61bb982eb9e2af396f53ac20f41a92', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: 'd5af1c9c54785f99f5dd3193e30684896783cde8', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
35360
+ }) }, hAsync("div", { key: 'a0b49cce6241b7e79834de7cbb1d1076f9d42a21', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '8ad5e659f8ed675fa5559f9e5dfcdf99cfcb8bcf', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect ? 'on' : 'off', spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '09f26831a519bb6639115f827b2b8985ae51e4b9', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: 'd70ccda51cb79e51577648fcca3b274c6fa20a4f', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
35112
35361
  /**
35113
35362
  * This prevents mobile browsers from
35114
35363
  * blurring the input when the clear
35115
35364
  * button is activated.
35116
35365
  */
35117
35366
  ev.preventDefault();
35118
- }, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'cc9c8781b22faf80a95550f99670626d2626b7f9', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
35367
+ }, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '428dcb1c0ffef947e24771b060288da47e67b6bd', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
35119
35368
  }
35120
35369
  get el() { return getElement(this); }
35121
35370
  static get watchers() { return {
@@ -35147,7 +35396,7 @@ class Searchbar {
35147
35396
  "animated": [4],
35148
35397
  "autocapitalize": [1],
35149
35398
  "autocomplete": [1],
35150
- "autocorrect": [1],
35399
+ "autocorrect": [4],
35151
35400
  "cancelButtonIcon": [1, "cancel-button-icon"],
35152
35401
  "cancelButtonText": [1, "cancel-button-text"],
35153
35402
  "clearIcon": [1, "clear-icon"],
@@ -38835,7 +39084,7 @@ const createSwipeToDismissGesture = (el, toastPosition, onDismiss) => {
38835
39084
  * consider when the threshold is a negative in the event the
38836
39085
  * user drags up (since the deltaY will also be negative).
38837
39086
  */
38838
- shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -0.5 / 2;
39087
+ shouldDismiss = threshold >= DISMISS_THRESHOLD / 2 || threshold <= -DISMISS_THRESHOLD / 2;
38839
39088
  /**
38840
39089
  * Since we are replacing the keyframes
38841
39090
  * below the animation always starts from
@@ -39740,10 +39989,10 @@ class Toggle {
39740
39989
  }
39741
39990
  const shouldToggle = (rtl, checked, deltaX, margin) => {
39742
39991
  if (checked) {
39743
- return (!rtl && margin > deltaX) || (rtl && 10 < deltaX);
39992
+ return (!rtl && margin > deltaX) || (rtl && -margin < deltaX);
39744
39993
  }
39745
39994
  else {
39746
- return (!rtl && 10 < deltaX) || (rtl && margin > deltaX);
39995
+ return (!rtl && -margin < deltaX) || (rtl && margin > deltaX);
39747
39996
  }
39748
39997
  };
39749
39998
  let toggleIds = 0;
@@ -40890,7 +41139,7 @@ var NAMESPACE = (
40890
41139
  );
40891
41140
 
40892
41141
  /*
40893
- Stencil Hydrate Runner v4.43.0 | MIT Licensed | https://stenciljs.com
41142
+ Stencil Hydrate Runner v4.43.5 | MIT Licensed | https://stenciljs.com
40894
41143
  */
40895
41144
  var __create = Object.create;
40896
41145
  var __defProp = Object.defineProperty;
@@ -42221,11 +42470,11 @@ var fromCodePoint = (
42221
42470
  }
42222
42471
  );
42223
42472
  function replaceCodePoint(codePoint) {
42224
- var _a2;
42473
+ var _a3;
42225
42474
  if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
42226
42475
  return 65533;
42227
42476
  }
42228
- return (_a2 = decodeMap.get(codePoint)) !== null && _a2 !== void 0 ? _a2 : codePoint;
42477
+ return (_a3 = decodeMap.get(codePoint)) !== null && _a3 !== void 0 ? _a3 : codePoint;
42229
42478
  }
42230
42479
 
42231
42480
  // node_modules/entities/lib/esm/decode.js
@@ -42422,9 +42671,9 @@ var EntityDecoder = class {
42422
42671
  * @returns The number of characters that were consumed.
42423
42672
  */
42424
42673
  emitNumericEntity(lastCp, expectedLength) {
42425
- var _a2;
42674
+ var _a3;
42426
42675
  if (this.consumed <= expectedLength) {
42427
- (_a2 = this.errors) === null || _a2 === void 0 ? void 0 : _a2.absenceOfDigitsInNumericCharacterReference(this.consumed);
42676
+ (_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.absenceOfDigitsInNumericCharacterReference(this.consumed);
42428
42677
  return 0;
42429
42678
  }
42430
42679
  if (lastCp === CharCodes.SEMI) {
@@ -42484,11 +42733,11 @@ var EntityDecoder = class {
42484
42733
  * @returns The number of characters consumed.
42485
42734
  */
42486
42735
  emitNotTerminatedNamedEntity() {
42487
- var _a2;
42736
+ var _a3;
42488
42737
  const { result, decodeTree } = this;
42489
42738
  const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
42490
42739
  this.emitNamedEntityData(result, valueLength, this.consumed);
42491
- (_a2 = this.errors) === null || _a2 === void 0 ? void 0 : _a2.missingSemicolonAfterCharacterReference();
42740
+ (_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.missingSemicolonAfterCharacterReference();
42492
42741
  return this.consumed;
42493
42742
  }
42494
42743
  /**
@@ -42516,7 +42765,7 @@ var EntityDecoder = class {
42516
42765
  * @returns The number of characters consumed.
42517
42766
  */
42518
42767
  end() {
42519
- var _a2;
42768
+ var _a3;
42520
42769
  switch (this.state) {
42521
42770
  case EntityDecoderState.NamedEntity: {
42522
42771
  return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
@@ -42529,7 +42778,7 @@ var EntityDecoder = class {
42529
42778
  return this.emitNumericEntity(0, 3);
42530
42779
  }
42531
42780
  case EntityDecoderState.NumericStart: {
42532
- (_a2 = this.errors) === null || _a2 === void 0 ? void 0 : _a2.absenceOfDigitsInNumericCharacterReference(this.consumed);
42781
+ (_a3 = this.errors) === null || _a3 === void 0 ? void 0 : _a3.absenceOfDigitsInNumericCharacterReference(this.consumed);
42533
42782
  return 0;
42534
42783
  }
42535
42784
  case EntityDecoderState.EntityStart: {
@@ -43010,8 +43259,8 @@ var TAG_NAME_TO_ID = /* @__PURE__ */ new Map([
43010
43259
  [TAG_NAMES.XMP, TAG_ID.XMP]
43011
43260
  ]);
43012
43261
  function getTagID(tagName) {
43013
- var _a2;
43014
- return (_a2 = TAG_NAME_TO_ID.get(tagName)) !== null && _a2 !== void 0 ? _a2 : TAG_ID.UNKNOWN;
43262
+ var _a3;
43263
+ return (_a3 = TAG_NAME_TO_ID.get(tagName)) !== null && _a3 !== void 0 ? _a3 : TAG_ID.UNKNOWN;
43015
43264
  }
43016
43265
  var $ = TAG_ID;
43017
43266
  var SPECIAL_ELEMENTS = {
@@ -43278,8 +43527,8 @@ var Tokenizer = class {
43278
43527
  }
43279
43528
  //Errors
43280
43529
  _err(code, cpOffset = 0) {
43281
- var _a2, _b;
43282
- (_b = (_a2 = this.handler).onParseError) === null || _b === void 0 ? void 0 : _b.call(_a2, this.preprocessor.getError(code, cpOffset));
43530
+ var _a3, _b;
43531
+ (_b = (_a3 = this.handler).onParseError) === null || _b === void 0 ? void 0 : _b.call(_a3, this.preprocessor.getError(code, cpOffset));
43283
43532
  }
43284
43533
  // NOTE: `offset` may never run across line boundaries.
43285
43534
  getCurrentLocation(offset) {
@@ -43421,13 +43670,13 @@ var Tokenizer = class {
43421
43670
  this.currentLocation = this.getCurrentLocation(0);
43422
43671
  }
43423
43672
  _leaveAttrName() {
43424
- var _a2;
43673
+ var _a3;
43425
43674
  var _b;
43426
43675
  const token = this.currentToken;
43427
43676
  if (getTokenAttr(token, this.currentAttr.name) === null) {
43428
43677
  token.attrs.push(this.currentAttr);
43429
43678
  if (token.location && this.currentLocation) {
43430
- const attrLocations = (_a2 = (_b = token.location).attrs) !== null && _a2 !== void 0 ? _a2 : _b.attrs = /* @__PURE__ */ Object.create(null);
43679
+ const attrLocations = (_a3 = (_b = token.location).attrs) !== null && _a3 !== void 0 ? _a3 : _b.attrs = /* @__PURE__ */ Object.create(null);
43431
43680
  attrLocations[this.currentAttr.name] = this.currentLocation;
43432
43681
  this._leaveAttrValue();
43433
43682
  }
@@ -46775,10 +47024,10 @@ var Parser = class {
46775
47024
  //Errors
46776
47025
  /** @internal */
46777
47026
  _err(token, code, beforeToken) {
46778
- var _a2;
47027
+ var _a3;
46779
47028
  if (!this.onParseError)
46780
47029
  return;
46781
- const loc = (_a2 = token.location) !== null && _a2 !== void 0 ? _a2 : BASE_LOC;
47030
+ const loc = (_a3 = token.location) !== null && _a3 !== void 0 ? _a3 : BASE_LOC;
46782
47031
  const err2 = {
46783
47032
  code,
46784
47033
  startLine: loc.startLine,
@@ -46793,18 +47042,18 @@ var Parser = class {
46793
47042
  //Stack events
46794
47043
  /** @internal */
46795
47044
  onItemPush(node, tid, isTop) {
46796
- var _a2, _b;
46797
- (_b = (_a2 = this.treeAdapter).onItemPush) === null || _b === void 0 ? void 0 : _b.call(_a2, node);
47045
+ var _a3, _b;
47046
+ (_b = (_a3 = this.treeAdapter).onItemPush) === null || _b === void 0 ? void 0 : _b.call(_a3, node);
46798
47047
  if (isTop && this.openElements.stackTop > 0)
46799
47048
  this._setContextModes(node, tid);
46800
47049
  }
46801
47050
  /** @internal */
46802
47051
  onItemPop(node, isTop) {
46803
- var _a2, _b;
47052
+ var _a3, _b;
46804
47053
  if (this.options.sourceCodeLocationInfo) {
46805
47054
  this._setEndLocation(node, this.currentToken);
46806
47055
  }
46807
- (_b = (_a2 = this.treeAdapter).onItemPop) === null || _b === void 0 ? void 0 : _b.call(_a2, node, this.openElements.current);
47056
+ (_b = (_a3 = this.treeAdapter).onItemPop) === null || _b === void 0 ? void 0 : _b.call(_a3, node, this.openElements.current);
46808
47057
  if (isTop) {
46809
47058
  let current;
46810
47059
  let currentTagId;
@@ -48878,9 +49127,9 @@ function eofInBody(p, token) {
48878
49127
  }
48879
49128
  }
48880
49129
  function endTagInText(p, token) {
48881
- var _a2;
49130
+ var _a3;
48882
49131
  if (token.tagID === TAG_ID.SCRIPT) {
48883
- (_a2 = p.scriptHandler) === null || _a2 === void 0 ? void 0 : _a2.call(p, p.openElements.current);
49132
+ (_a3 = p.scriptHandler) === null || _a3 === void 0 ? void 0 : _a3.call(p, p.openElements.current);
48884
49133
  }
48885
49134
  p.openElements.pop();
48886
49135
  p.insertionMode = p.originalInsertionMode;
@@ -49542,7 +49791,7 @@ function startTagAfterBody(p, token) {
49542
49791
  }
49543
49792
  }
49544
49793
  function endTagAfterBody(p, token) {
49545
- var _a2;
49794
+ var _a3;
49546
49795
  if (token.tagID === TAG_ID.HTML) {
49547
49796
  if (!p.fragmentContext) {
49548
49797
  p.insertionMode = InsertionMode.AFTER_AFTER_BODY;
@@ -49550,7 +49799,7 @@ function endTagAfterBody(p, token) {
49550
49799
  if (p.options.sourceCodeLocationInfo && p.openElements.tagIDs[0] === TAG_ID.HTML) {
49551
49800
  p._setEndLocation(p.openElements.items[0], token);
49552
49801
  const bodyElement = p.openElements.items[1];
49553
- if (bodyElement && !((_a2 = p.treeAdapter.getNodeSourceCodeLocation(bodyElement)) === null || _a2 === void 0 ? void 0 : _a2.endTag)) {
49802
+ if (bodyElement && !((_a3 = p.treeAdapter.getNodeSourceCodeLocation(bodyElement)) === null || _a3 === void 0 ? void 0 : _a3.endTag)) {
49554
49803
  p._setEndLocation(bodyElement, token);
49555
49804
  }
49556
49805
  }
@@ -51414,7 +51663,7 @@ function serializeNodeToHtml(elm, serializationOptions = {}) {
51414
51663
  }
51415
51664
  var shadowRootTag = "mock:shadow-root";
51416
51665
  function* streamToHtml(node, opts, output) {
51417
- var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
51666
+ var _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
51418
51667
  const isShadowRoot = node.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */;
51419
51668
  if (node.nodeType === 1 /* ELEMENT_NODE */ || isShadowRoot) {
51420
51669
  const tagName = isShadowRoot ? shadowRootTag : getTagName(node);
@@ -51423,7 +51672,7 @@ function* streamToHtml(node, opts, output) {
51423
51672
  }
51424
51673
  const ignoreTag = opts.excludeTags != null && opts.excludeTags.includes(tagName);
51425
51674
  if (ignoreTag === false) {
51426
- const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a2 = opts.indentSpaces) != null ? _a2 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
51675
+ const isWithinWhitespaceSensitiveNode = opts.newLines || ((_a3 = opts.indentSpaces) != null ? _a3 : 0) > 0 ? isWithinWhitespaceSensitive(node) : false;
51427
51676
  if (opts.newLines && !isWithinWhitespaceSensitiveNode) {
51428
51677
  yield "\n";
51429
51678
  output.currentLineWidth = 0;
@@ -51942,9 +52191,7 @@ var MockNode2 = class {
51942
52191
  const firstChild = this.firstChild;
51943
52192
  items.forEach((item) => {
51944
52193
  const isNode = typeof item === "object" && item !== null && "nodeType" in item;
51945
- if (firstChild) {
51946
- this.insertBefore(isNode ? item : this.ownerDocument.createTextNode(String(item)), firstChild);
51947
- }
52194
+ this.insertBefore(isNode ? item : this.ownerDocument.createTextNode(String(item)), firstChild);
51948
52195
  });
51949
52196
  }
51950
52197
  cloneNode(deep) {
@@ -51993,8 +52240,8 @@ var MockNode2 = class {
51993
52240
  return null;
51994
52241
  }
51995
52242
  get nodeValue() {
51996
- var _a2;
51997
- return (_a2 = this._nodeValue) != null ? _a2 : "";
52243
+ var _a3;
52244
+ return (_a3 = this._nodeValue) != null ? _a3 : "";
51998
52245
  }
51999
52246
  set nodeValue(value) {
52000
52247
  this._nodeValue = value;
@@ -52054,8 +52301,8 @@ var MockNode2 = class {
52054
52301
  return null;
52055
52302
  }
52056
52303
  get textContent() {
52057
- var _a2;
52058
- return (_a2 = this._nodeValue) != null ? _a2 : "";
52304
+ var _a3;
52305
+ return (_a3 = this._nodeValue) != null ? _a3 : "";
52059
52306
  }
52060
52307
  set textContent(value) {
52061
52308
  this._nodeValue = String(value);
@@ -52114,9 +52361,9 @@ var MockElement = class extends MockNode2 {
52114
52361
  addEventListener(this, type, handler);
52115
52362
  }
52116
52363
  attachShadow(_opts) {
52117
- var _a2;
52364
+ var _a3;
52118
52365
  const shadowRoot = this.ownerDocument.createDocumentFragment();
52119
- shadowRoot.delegatesFocus = (_a2 = _opts.delegatesFocus) != null ? _a2 : false;
52366
+ shadowRoot.delegatesFocus = (_a3 = _opts.delegatesFocus) != null ? _a3 : false;
52120
52367
  this.shadowRoot = shadowRoot;
52121
52368
  return shadowRoot;
52122
52369
  }
@@ -52187,6 +52434,9 @@ var MockElement = class extends MockNode2 {
52187
52434
  get part() {
52188
52435
  return new MockTokenList(this, "part");
52189
52436
  }
52437
+ set part(value) {
52438
+ this.setAttributeNS(null, "part", String(value));
52439
+ }
52190
52440
  click() {
52191
52441
  dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
52192
52442
  }
@@ -52289,8 +52539,8 @@ var MockElement = class extends MockNode2 {
52289
52539
  });
52290
52540
  }
52291
52541
  set innerHTML(html) {
52292
- var _a2;
52293
- if (NON_ESCAPABLE_CONTENT.has((_a2 = this.nodeName) != null ? _a2 : "") === true) {
52542
+ var _a3;
52543
+ if (NON_ESCAPABLE_CONTENT.has((_a3 = this.nodeName) != null ? _a3 : "") === true) {
52294
52544
  setTextContent(this, html);
52295
52545
  } else {
52296
52546
  for (let i = this.childNodes.length - 1; i >= 0; i--) {
@@ -52533,8 +52783,8 @@ var MockElement = class extends MockNode2 {
52533
52783
  this.setAttributeNS(null, "tabindex", value);
52534
52784
  }
52535
52785
  get tagName() {
52536
- var _a2;
52537
- return (_a2 = this.nodeName) != null ? _a2 : "";
52786
+ var _a3;
52787
+ return (_a3 = this.nodeName) != null ? _a3 : "";
52538
52788
  }
52539
52789
  set tagName(value) {
52540
52790
  this.nodeName = value;
@@ -52756,11 +53006,11 @@ function getElementsByClassName(elm, classNames, foundElms) {
52756
53006
  }
52757
53007
  }
52758
53008
  function getElementsByTagName(elm, tagName, foundElms) {
52759
- var _a2;
53009
+ var _a3;
52760
53010
  const children = elm.children;
52761
53011
  for (let i = 0, ii = children.length; i < ii; i++) {
52762
53012
  const childElm = children[i];
52763
- if (tagName === "*" || ((_a2 = childElm.nodeName) != null ? _a2 : "").toLowerCase() === tagName) {
53013
+ if (tagName === "*" || ((_a3 = childElm.nodeName) != null ? _a3 : "").toLowerCase() === tagName) {
52764
53014
  foundElms.push(childElm);
52765
53015
  }
52766
53016
  getElementsByTagName(childElm, tagName, foundElms);
@@ -52797,8 +53047,8 @@ var MockHTMLElement = class extends MockElement {
52797
53047
  super(ownerDocument, typeof nodeName === "string" ? nodeName.toUpperCase() : null);
52798
53048
  }
52799
53049
  get tagName() {
52800
- var _a2;
52801
- return (_a2 = this.nodeName) != null ? _a2 : "";
53050
+ var _a3;
53051
+ return (_a3 = this.nodeName) != null ? _a3 : "";
52802
53052
  }
52803
53053
  set tagName(value) {
52804
53054
  this.nodeName = value;
@@ -53256,10 +53506,10 @@ var MockLabelElement = class extends MockHTMLElement {
53256
53506
  this.setAttributeNS(null, "for", value);
53257
53507
  }
53258
53508
  get control() {
53259
- var _a2, _b;
53509
+ var _a3, _b;
53260
53510
  const forAttr = this.htmlFor;
53261
53511
  if (forAttr) {
53262
- return (_b = (_a2 = this.ownerDocument) == null ? void 0 : _a2.getElementById(forAttr)) != null ? _b : null;
53512
+ return (_b = (_a3 = this.ownerDocument) == null ? void 0 : _a3.getElementById(forAttr)) != null ? _b : null;
53263
53513
  }
53264
53514
  const labelableSelector = 'button, input:not([type="hidden"]), meter, output, progress, select, textarea';
53265
53515
  return this.querySelector(labelableSelector);
@@ -55767,18 +56017,34 @@ var RemoteValue = class _RemoteValue {
55767
56017
  };
55768
56018
 
55769
56019
  // src/utils/serialize.ts
56020
+ function encodeBase64Unicode(str) {
56021
+ const utf8Bytes = new TextEncoder().encode(str);
56022
+ let binary = "";
56023
+ for (let i = 0; i < utf8Bytes.length; i++) {
56024
+ binary += String.fromCharCode(utf8Bytes[i]);
56025
+ }
56026
+ return btoa(binary);
56027
+ }
56028
+ function decodeBase64Unicode(base64) {
56029
+ const binary = atob(base64);
56030
+ const bytes = new Uint8Array(binary.length);
56031
+ for (let i = 0; i < binary.length; i++) {
56032
+ bytes[i] = binary.charCodeAt(i);
56033
+ }
56034
+ return new TextDecoder().decode(bytes);
56035
+ }
55770
56036
  function serializeProperty(value) {
55771
56037
  if (["string", "boolean", "undefined"].includes(typeof value) || typeof value === "number" && value !== Infinity && value !== -Infinity && !isNaN(value)) {
55772
56038
  return value;
55773
56039
  }
55774
56040
  const arg = LocalValue.getArgument(value);
55775
- return SERIALIZED_PREFIX + btoa(JSON.stringify(arg));
56041
+ return SERIALIZED_PREFIX + encodeBase64Unicode(JSON.stringify(arg));
55776
56042
  }
55777
56043
  function deserializeProperty(value) {
55778
56044
  if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
55779
56045
  return value;
55780
56046
  }
55781
- return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
56047
+ return RemoteValue.fromLocalValue(JSON.parse(decodeBase64Unicode(value.slice(SERIALIZED_PREFIX.length))));
55782
56048
  }
55783
56049
  var CAPTURE_EVENT_SUFFIX = "Capture";
55784
56050
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
@@ -55972,8 +56238,35 @@ var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
55972
56238
  };
55973
56239
 
55974
56240
  // node_modules/minimatch/dist/esm/ast.js
56241
+ var _a2;
55975
56242
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
55976
56243
  var isExtglobType = (c) => types.has(c);
56244
+ var isExtglobAST = (c) => isExtglobType(c.type);
56245
+ var adoptionMap = /* @__PURE__ */ new Map([
56246
+ ["!", ["@"]],
56247
+ ["?", ["?", "@"]],
56248
+ ["@", ["@"]],
56249
+ ["*", ["*", "+", "?", "@"]],
56250
+ ["+", ["+", "@"]]
56251
+ ]);
56252
+ var adoptionWithSpaceMap = /* @__PURE__ */ new Map([
56253
+ ["!", ["?"]],
56254
+ ["@", ["?"]],
56255
+ ["+", ["?", "*"]]
56256
+ ]);
56257
+ var adoptionAnyMap = /* @__PURE__ */ new Map([
56258
+ ["!", ["?", "@"]],
56259
+ ["?", ["?", "@"]],
56260
+ ["@", ["?", "@"]],
56261
+ ["*", ["*", "+", "?", "@"]],
56262
+ ["+", ["+", "@", "?", "*"]]
56263
+ ]);
56264
+ var usurpMap = /* @__PURE__ */ new Map([
56265
+ ["!", /* @__PURE__ */ new Map([["!", "@"]])],
56266
+ ["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
56267
+ ["@", /* @__PURE__ */ new Map([["!", "!"], ["?", "?"], ["@", "@"], ["*", "*"], ["+", "+"]])],
56268
+ ["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
56269
+ ]);
55977
56270
  var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
55978
56271
  var startNoDot = "(?!\\.)";
55979
56272
  var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
@@ -55983,8 +56276,8 @@ var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
55983
56276
  var qmark = "[^/]";
55984
56277
  var star = qmark + "*?";
55985
56278
  var starNoEmpty = qmark + "+?";
55986
- var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
55987
- var _AST = class _AST {
56279
+ var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, canAdoptWithSpace_fn, canAdopt_fn, canAdoptType_fn, adoptWithSpace_fn, adopt_fn, canUsurpType_fn, canUsurp_fn, usurp_fn, flatten_fn, partsToRegExp_fn, parseGlob_fn;
56280
+ var AST = class {
55988
56281
  constructor(type, parent, options = {}) {
55989
56282
  __privateAdd(this, _AST_instances);
55990
56283
  __publicField(this, "type");
@@ -56037,44 +56330,44 @@ var _AST = class _AST {
56037
56330
  for (const p of parts) {
56038
56331
  if (p === "")
56039
56332
  continue;
56040
- if (typeof p !== "string" && !(p instanceof _AST && __privateGet(p, _parent) === this)) {
56333
+ if (typeof p !== "string" && !(p instanceof _a2 && __privateGet(p, _parent) === this)) {
56041
56334
  throw new Error("invalid part: " + p);
56042
56335
  }
56043
56336
  __privateGet(this, _parts).push(p);
56044
56337
  }
56045
56338
  }
56046
56339
  toJSON() {
56047
- var _a2;
56340
+ var _a3;
56048
56341
  const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
56049
56342
  if (this.isStart() && !this.type)
56050
56343
  ret.unshift([]);
56051
- if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")) {
56344
+ if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!")) {
56052
56345
  ret.push({});
56053
56346
  }
56054
56347
  return ret;
56055
56348
  }
56056
56349
  isStart() {
56057
- var _a2;
56350
+ var _a3;
56058
56351
  if (__privateGet(this, _root) === this)
56059
56352
  return true;
56060
- if (!((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.isStart()))
56353
+ if (!((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.isStart()))
56061
56354
  return false;
56062
56355
  if (__privateGet(this, _parentIndex) === 0)
56063
56356
  return true;
56064
56357
  const p = __privateGet(this, _parent);
56065
56358
  for (let i = 0; i < __privateGet(this, _parentIndex); i++) {
56066
56359
  const pp = __privateGet(p, _parts)[i];
56067
- if (!(pp instanceof _AST && pp.type === "!")) {
56360
+ if (!(pp instanceof _a2 && pp.type === "!")) {
56068
56361
  return false;
56069
56362
  }
56070
56363
  }
56071
56364
  return true;
56072
56365
  }
56073
56366
  isEnd() {
56074
- var _a2, _b, _c;
56367
+ var _a3, _b, _c;
56075
56368
  if (__privateGet(this, _root) === this)
56076
56369
  return true;
56077
- if (((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!")
56370
+ if (((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!")
56078
56371
  return true;
56079
56372
  if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
56080
56373
  return false;
@@ -56090,16 +56383,16 @@ var _AST = class _AST {
56090
56383
  this.push(part.clone(this));
56091
56384
  }
56092
56385
  clone(parent) {
56093
- const c = new _AST(this.type, parent);
56386
+ const c = new _a2(this.type, parent);
56094
56387
  for (const p of __privateGet(this, _parts)) {
56095
56388
  c.copyIn(p);
56096
56389
  }
56097
56390
  return c;
56098
56391
  }
56099
56392
  static fromGlob(pattern, options = {}) {
56100
- var _a2;
56101
- const ast = new _AST(null, void 0, options);
56102
- __privateMethod(_a2 = _AST, _AST_static, parseAST_fn).call(_a2, pattern, ast, 0, options);
56393
+ var _a3;
56394
+ const ast = new _a2(null, void 0, options);
56395
+ __privateMethod(_a3 = _a2, _AST_static, parseAST_fn).call(_a3, pattern, ast, 0, options, 0);
56103
56396
  return ast;
56104
56397
  }
56105
56398
  // returns the regular expression if there's magic, or the unescaped
@@ -56192,15 +56485,17 @@ var _AST = class _AST {
56192
56485
  // is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
56193
56486
  // or start or whatever) and prepend ^ or / at the Regexp construction.
56194
56487
  toRegExpSource(allowDot) {
56195
- var _a2;
56488
+ var _a3;
56196
56489
  const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
56197
- if (__privateGet(this, _root) === this)
56490
+ if (__privateGet(this, _root) === this) {
56491
+ __privateMethod(this, _AST_instances, flatten_fn).call(this);
56198
56492
  __privateMethod(this, _AST_instances, fillNegs_fn).call(this);
56199
- if (!this.type) {
56493
+ }
56494
+ if (!isExtglobAST(this)) {
56200
56495
  const noEmpty = this.isStart() && this.isEnd();
56201
56496
  const src = __privateGet(this, _parts).map((p) => {
56202
- var _a3;
56203
- const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a3 = _AST, _AST_static, parseGlob_fn).call(_a3, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
56497
+ var _a4;
56498
+ const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a4 = _a2, _AST_static, parseGlob_fn).call(_a4, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
56204
56499
  __privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
56205
56500
  __privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
56206
56501
  return re;
@@ -56223,7 +56518,7 @@ var _AST = class _AST {
56223
56518
  }
56224
56519
  }
56225
56520
  let end = "";
56226
- if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a2 = __privateGet(this, _parent)) == null ? void 0 : _a2.type) === "!") {
56521
+ if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a3 = __privateGet(this, _parent)) == null ? void 0 : _a3.type) === "!") {
56227
56522
  end = "(?:$|\\/)";
56228
56523
  }
56229
56524
  const final2 = start2 + src + end;
@@ -56239,9 +56534,10 @@ var _AST = class _AST {
56239
56534
  let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
56240
56535
  if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
56241
56536
  const s = this.toString();
56242
- __privateSet(this, _parts, [s]);
56243
- this.type = null;
56244
- __privateSet(this, _hasMagic, void 0);
56537
+ const me = this;
56538
+ __privateSet(me, _parts, [s]);
56539
+ me.type = null;
56540
+ __privateSet(me, _hasMagic, void 0);
56245
56541
  return [s, unescape(this.toString()), false, false];
56246
56542
  }
56247
56543
  let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
@@ -56310,8 +56606,9 @@ fillNegs_fn = function() {
56310
56606
  return this;
56311
56607
  };
56312
56608
  _AST_static = new WeakSet();
56313
- parseAST_fn = function(str, ast, pos, opt) {
56314
- var _a2, _b;
56609
+ parseAST_fn = function(str, ast, pos, opt, extDepth) {
56610
+ var _a3, _b, _c, _d, _e;
56611
+ const maxDepth = (_a3 = opt.maxExtglobRecursion) != null ? _a3 : 2;
56315
56612
  let escaping = false;
56316
56613
  let inBrace = false;
56317
56614
  let braceStart = -1;
@@ -56343,11 +56640,12 @@ parseAST_fn = function(str, ast, pos, opt) {
56343
56640
  acc2 += c;
56344
56641
  continue;
56345
56642
  }
56346
- if (!opt.noext && isExtglobType(c) && str.charAt(i2) === "(") {
56643
+ const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i2) === "(" && extDepth <= maxDepth;
56644
+ if (doRecurse) {
56347
56645
  ast.push(acc2);
56348
56646
  acc2 = "";
56349
- const ext2 = new _AST(c, ast);
56350
- i2 = __privateMethod(_a2 = _AST, _AST_static, parseAST_fn).call(_a2, str, ext2, i2, opt);
56647
+ const ext2 = new _a2(c, ast);
56648
+ i2 = __privateMethod(_b = _a2, _AST_static, parseAST_fn).call(_b, str, ext2, i2, opt, extDepth + 1);
56351
56649
  ast.push(ext2);
56352
56650
  continue;
56353
56651
  }
@@ -56357,7 +56655,7 @@ parseAST_fn = function(str, ast, pos, opt) {
56357
56655
  return i2;
56358
56656
  }
56359
56657
  let i = pos + 1;
56360
- let part = new _AST(null, ast);
56658
+ let part = new _a2(null, ast);
56361
56659
  const parts = [];
56362
56660
  let acc = "";
56363
56661
  while (i < str.length) {
@@ -56384,19 +56682,22 @@ parseAST_fn = function(str, ast, pos, opt) {
56384
56682
  acc += c;
56385
56683
  continue;
56386
56684
  }
56387
- if (isExtglobType(c) && str.charAt(i) === "(") {
56685
+ const doRecurse = isExtglobType(c) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
56686
+ (extDepth <= maxDepth || ast && __privateMethod(_c = ast, _AST_instances, canAdoptType_fn).call(_c, c));
56687
+ if (doRecurse) {
56688
+ const depthAdd = ast && __privateMethod(_d = ast, _AST_instances, canAdoptType_fn).call(_d, c) ? 0 : 1;
56388
56689
  part.push(acc);
56389
56690
  acc = "";
56390
- const ext2 = new _AST(c, part);
56691
+ const ext2 = new _a2(c, part);
56391
56692
  part.push(ext2);
56392
- i = __privateMethod(_b = _AST, _AST_static, parseAST_fn).call(_b, str, ext2, i, opt);
56693
+ i = __privateMethod(_e = _a2, _AST_static, parseAST_fn).call(_e, str, ext2, i, opt, extDepth + depthAdd);
56393
56694
  continue;
56394
56695
  }
56395
56696
  if (c === "|") {
56396
56697
  part.push(acc);
56397
56698
  acc = "";
56398
56699
  parts.push(part);
56399
- part = new _AST(null, ast);
56700
+ part = new _a2(null, ast);
56400
56701
  continue;
56401
56702
  }
56402
56703
  if (c === ")") {
@@ -56415,6 +56716,100 @@ parseAST_fn = function(str, ast, pos, opt) {
56415
56716
  __privateSet(ast, _parts, [str.substring(pos - 1)]);
56416
56717
  return i;
56417
56718
  };
56719
+ canAdoptWithSpace_fn = function(child) {
56720
+ return __privateMethod(this, _AST_instances, canAdopt_fn).call(this, child, adoptionWithSpaceMap);
56721
+ };
56722
+ canAdopt_fn = function(child, map2 = adoptionMap) {
56723
+ if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null) {
56724
+ return false;
56725
+ }
56726
+ const gc = __privateGet(child, _parts)[0];
56727
+ if (!gc || typeof gc !== "object" || gc.type === null) {
56728
+ return false;
56729
+ }
56730
+ return __privateMethod(this, _AST_instances, canAdoptType_fn).call(this, gc.type, map2);
56731
+ };
56732
+ canAdoptType_fn = function(c, map2 = adoptionAnyMap) {
56733
+ var _a3;
56734
+ return !!((_a3 = map2.get(this.type)) == null ? void 0 : _a3.includes(c));
56735
+ };
56736
+ adoptWithSpace_fn = function(child, index) {
56737
+ const gc = __privateGet(child, _parts)[0];
56738
+ const blank = new _a2(null, gc, this.options);
56739
+ __privateGet(blank, _parts).push("");
56740
+ gc.push(blank);
56741
+ __privateMethod(this, _AST_instances, adopt_fn).call(this, child, index);
56742
+ };
56743
+ adopt_fn = function(child, index) {
56744
+ const gc = __privateGet(child, _parts)[0];
56745
+ __privateGet(this, _parts).splice(index, 1, ...__privateGet(gc, _parts));
56746
+ for (const p of __privateGet(gc, _parts)) {
56747
+ if (typeof p === "object")
56748
+ __privateSet(p, _parent, this);
56749
+ }
56750
+ __privateSet(this, _toString, void 0);
56751
+ };
56752
+ canUsurpType_fn = function(c) {
56753
+ const m = usurpMap.get(this.type);
56754
+ return !!(m == null ? void 0 : m.has(c));
56755
+ };
56756
+ canUsurp_fn = function(child) {
56757
+ if (!child || typeof child !== "object" || child.type !== null || __privateGet(child, _parts).length !== 1 || this.type === null || __privateGet(this, _parts).length !== 1) {
56758
+ return false;
56759
+ }
56760
+ const gc = __privateGet(child, _parts)[0];
56761
+ if (!gc || typeof gc !== "object" || gc.type === null) {
56762
+ return false;
56763
+ }
56764
+ return __privateMethod(this, _AST_instances, canUsurpType_fn).call(this, gc.type);
56765
+ };
56766
+ usurp_fn = function(child) {
56767
+ const m = usurpMap.get(this.type);
56768
+ const gc = __privateGet(child, _parts)[0];
56769
+ const nt = m == null ? void 0 : m.get(gc.type);
56770
+ if (!nt)
56771
+ return false;
56772
+ __privateSet(this, _parts, __privateGet(gc, _parts));
56773
+ for (const p of __privateGet(this, _parts)) {
56774
+ if (typeof p === "object")
56775
+ __privateSet(p, _parent, this);
56776
+ }
56777
+ this.type = nt;
56778
+ __privateSet(this, _toString, void 0);
56779
+ __privateSet(this, _emptyExt, false);
56780
+ };
56781
+ flatten_fn = function() {
56782
+ var _a3, _b;
56783
+ if (!isExtglobAST(this)) {
56784
+ for (const p of __privateGet(this, _parts)) {
56785
+ if (typeof p === "object")
56786
+ __privateMethod(_a3 = p, _AST_instances, flatten_fn).call(_a3);
56787
+ }
56788
+ } else {
56789
+ let iterations = 0;
56790
+ let done = false;
56791
+ do {
56792
+ done = true;
56793
+ for (let i = 0; i < __privateGet(this, _parts).length; i++) {
56794
+ const c = __privateGet(this, _parts)[i];
56795
+ if (typeof c === "object") {
56796
+ __privateMethod(_b = c, _AST_instances, flatten_fn).call(_b);
56797
+ if (__privateMethod(this, _AST_instances, canAdopt_fn).call(this, c)) {
56798
+ done = false;
56799
+ __privateMethod(this, _AST_instances, adopt_fn).call(this, c, i);
56800
+ } else if (__privateMethod(this, _AST_instances, canAdoptWithSpace_fn).call(this, c)) {
56801
+ done = false;
56802
+ __privateMethod(this, _AST_instances, adoptWithSpace_fn).call(this, c, i);
56803
+ } else if (__privateMethod(this, _AST_instances, canUsurp_fn).call(this, c)) {
56804
+ done = false;
56805
+ __privateMethod(this, _AST_instances, usurp_fn).call(this, c);
56806
+ }
56807
+ }
56808
+ }
56809
+ } while (!done && ++iterations < 10);
56810
+ }
56811
+ __privateSet(this, _toString, void 0);
56812
+ };
56418
56813
  partsToRegExp_fn = function(dot) {
56419
56814
  return __privateGet(this, _parts).map((p) => {
56420
56815
  if (typeof p === "string") {
@@ -56429,11 +56824,13 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
56429
56824
  let escaping = false;
56430
56825
  let re = "";
56431
56826
  let uflag = false;
56827
+ let inStar = false;
56432
56828
  for (let i = 0; i < glob.length; i++) {
56433
56829
  const c = glob.charAt(i);
56434
56830
  if (escaping) {
56435
56831
  escaping = false;
56436
56832
  re += (reSpecials.has(c) ? "\\" : "") + c;
56833
+ inStar = false;
56437
56834
  continue;
56438
56835
  }
56439
56836
  if (c === "\\") {
@@ -56451,16 +56848,19 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
56451
56848
  uflag = uflag || needUflag;
56452
56849
  i += consumed - 1;
56453
56850
  hasMagic = hasMagic || magic;
56851
+ inStar = false;
56454
56852
  continue;
56455
56853
  }
56456
56854
  }
56457
56855
  if (c === "*") {
56458
- if (noEmpty && glob === "*")
56459
- re += starNoEmpty;
56460
- else
56461
- re += star;
56856
+ if (inStar)
56857
+ continue;
56858
+ inStar = true;
56859
+ re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
56462
56860
  hasMagic = true;
56463
56861
  continue;
56862
+ } else {
56863
+ inStar = false;
56464
56864
  }
56465
56865
  if (c === "?") {
56466
56866
  re += qmark;
@@ -56471,8 +56871,8 @@ parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
56471
56871
  }
56472
56872
  return [re, unescape(glob), !!hasMagic, uflag];
56473
56873
  };
56474
- __privateAdd(_AST, _AST_static);
56475
- var AST = _AST;
56874
+ __privateAdd(AST, _AST_static);
56875
+ _a2 = AST;
56476
56876
 
56477
56877
  // node_modules/minimatch/dist/esm/escape.js
56478
56878
  var escape = (s, { windowsPathsNoEscape = false } = {}) => {
@@ -56611,28 +57011,33 @@ var match = (list, pattern, options = {}) => {
56611
57011
  minimatch.match = match;
56612
57012
  var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
56613
57013
  var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
57014
+ var _Minimatch_instances, matchGlobstar_fn, matchGlobStarBodySections_fn, matchOne_fn;
56614
57015
  var Minimatch = class {
56615
- options;
56616
- set;
56617
- pattern;
56618
- windowsPathsNoEscape;
56619
- nonegate;
56620
- negate;
56621
- comment;
56622
- empty;
56623
- preserveMultipleSlashes;
56624
- partial;
56625
- globSet;
56626
- globParts;
56627
- nocase;
56628
- isWindows;
56629
- platform;
56630
- windowsNoMagicRoot;
56631
- regexp;
56632
57016
  constructor(pattern, options = {}) {
57017
+ __privateAdd(this, _Minimatch_instances);
57018
+ __publicField(this, "options");
57019
+ __publicField(this, "set");
57020
+ __publicField(this, "pattern");
57021
+ __publicField(this, "windowsPathsNoEscape");
57022
+ __publicField(this, "nonegate");
57023
+ __publicField(this, "negate");
57024
+ __publicField(this, "comment");
57025
+ __publicField(this, "empty");
57026
+ __publicField(this, "preserveMultipleSlashes");
57027
+ __publicField(this, "partial");
57028
+ __publicField(this, "globSet");
57029
+ __publicField(this, "globParts");
57030
+ __publicField(this, "nocase");
57031
+ __publicField(this, "isWindows");
57032
+ __publicField(this, "platform");
57033
+ __publicField(this, "windowsNoMagicRoot");
57034
+ __publicField(this, "maxGlobstarRecursion");
57035
+ __publicField(this, "regexp");
57036
+ var _a3;
56633
57037
  assertValidPattern(pattern);
56634
57038
  options = options || {};
56635
57039
  this.options = options;
57040
+ this.maxGlobstarRecursion = (_a3 = options.maxGlobstarRecursion) != null ? _a3 : 200;
56636
57041
  this.pattern = pattern;
56637
57042
  this.platform = options.platform || defaultPlatform;
56638
57043
  this.isWindows = this.platform === "win32";
@@ -56900,10 +57305,11 @@ var Minimatch = class {
56900
57305
  for (let i = 0; i < globParts.length - 1; i++) {
56901
57306
  for (let j = i + 1; j < globParts.length; j++) {
56902
57307
  const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
56903
- if (!matched)
56904
- continue;
56905
- globParts[i] = matched;
56906
- globParts[j] = [];
57308
+ if (matched) {
57309
+ globParts[i] = [];
57310
+ globParts[j] = matched;
57311
+ break;
57312
+ }
56907
57313
  }
56908
57314
  }
56909
57315
  return globParts.filter((gs) => gs.length);
@@ -56964,7 +57370,8 @@ var Minimatch = class {
56964
57370
  // out of pattern, then that's fine, as long as all
56965
57371
  // the parts match.
56966
57372
  matchOne(file, pattern, partial = false) {
56967
- const options = this.options;
57373
+ let fileStartIndex = 0;
57374
+ let patternStartIndex = 0;
56968
57375
  if (this.isWindows) {
56969
57376
  const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
56970
57377
  const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
@@ -56973,14 +57380,14 @@ var Minimatch = class {
56973
57380
  const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
56974
57381
  const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
56975
57382
  if (typeof fdi === "number" && typeof pdi === "number") {
56976
- const [fd, pd] = [file[fdi], pattern[pdi]];
57383
+ const [fd, pd] = [
57384
+ file[fdi],
57385
+ pattern[pdi]
57386
+ ];
56977
57387
  if (fd.toLowerCase() === pd.toLowerCase()) {
56978
57388
  pattern[pdi] = fd;
56979
- if (pdi > fdi) {
56980
- pattern = pattern.slice(pdi);
56981
- } else if (fdi > pdi) {
56982
- file = file.slice(fdi);
56983
- }
57389
+ patternStartIndex = pdi;
57390
+ fileStartIndex = fdi;
56984
57391
  }
56985
57392
  }
56986
57393
  }
@@ -56988,71 +57395,10 @@ var Minimatch = class {
56988
57395
  if (optimizationLevel >= 2) {
56989
57396
  file = this.levelTwoFileOptimize(file);
56990
57397
  }
56991
- this.debug("matchOne", this, { file, pattern });
56992
- this.debug("matchOne", file.length, pattern.length);
56993
- for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
56994
- this.debug("matchOne loop");
56995
- var p = pattern[pi];
56996
- var f = file[fi];
56997
- this.debug(pattern, p, f);
56998
- if (p === false) {
56999
- return false;
57000
- }
57001
- if (p === GLOBSTAR) {
57002
- this.debug("GLOBSTAR", [pattern, p, f]);
57003
- var fr = fi;
57004
- var pr = pi + 1;
57005
- if (pr === pl) {
57006
- this.debug("** at the end");
57007
- for (; fi < fl; fi++) {
57008
- if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
57009
- return false;
57010
- }
57011
- return true;
57012
- }
57013
- while (fr < fl) {
57014
- var swallowee = file[fr];
57015
- this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
57016
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
57017
- this.debug("globstar found match!", fr, fl, swallowee);
57018
- return true;
57019
- } else {
57020
- if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
57021
- this.debug("dot detected!", file, fr, pattern, pr);
57022
- break;
57023
- }
57024
- this.debug("globstar swallow a segment, and continue");
57025
- fr++;
57026
- }
57027
- }
57028
- if (partial) {
57029
- this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
57030
- if (fr === fl) {
57031
- return true;
57032
- }
57033
- }
57034
- return false;
57035
- }
57036
- let hit;
57037
- if (typeof p === "string") {
57038
- hit = f === p;
57039
- this.debug("string match", p, f, hit);
57040
- } else {
57041
- hit = p.test(f);
57042
- this.debug("pattern match", p, f, hit);
57043
- }
57044
- if (!hit)
57045
- return false;
57046
- }
57047
- if (fi === fl && pi === pl) {
57048
- return true;
57049
- } else if (fi === fl) {
57050
- return partial;
57051
- } else if (pi === pl) {
57052
- return fi === fl - 1 && file[fi] === "";
57053
- } else {
57054
- throw new Error("wtf?");
57398
+ if (pattern.includes(GLOBSTAR)) {
57399
+ return __privateMethod(this, _Minimatch_instances, matchGlobstar_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
57055
57400
  }
57401
+ return __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, pattern, partial, fileStartIndex, patternStartIndex);
57056
57402
  }
57057
57403
  braceExpand() {
57058
57404
  return braceExpand(this.pattern, this.options);
@@ -57191,6 +57537,135 @@ var Minimatch = class {
57191
57537
  return minimatch.defaults(def).Minimatch;
57192
57538
  }
57193
57539
  };
57540
+ _Minimatch_instances = new WeakSet();
57541
+ matchGlobstar_fn = function(file, pattern, partial, fileIndex, patternIndex) {
57542
+ const firstgs = pattern.indexOf(GLOBSTAR, patternIndex);
57543
+ const lastgs = pattern.lastIndexOf(GLOBSTAR);
57544
+ const [head, body, tail] = partial ? [
57545
+ pattern.slice(patternIndex, firstgs),
57546
+ pattern.slice(firstgs + 1),
57547
+ []
57548
+ ] : [
57549
+ pattern.slice(patternIndex, firstgs),
57550
+ pattern.slice(firstgs + 1, lastgs),
57551
+ pattern.slice(lastgs + 1)
57552
+ ];
57553
+ if (head.length) {
57554
+ const fileHead = file.slice(fileIndex, fileIndex + head.length);
57555
+ if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, fileHead, head, partial, 0, 0))
57556
+ return false;
57557
+ fileIndex += head.length;
57558
+ }
57559
+ let fileTailMatch = 0;
57560
+ if (tail.length) {
57561
+ if (tail.length + fileIndex > file.length)
57562
+ return false;
57563
+ let tailStart = file.length - tail.length;
57564
+ if (__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0)) {
57565
+ fileTailMatch = tail.length;
57566
+ } else {
57567
+ if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) {
57568
+ return false;
57569
+ }
57570
+ tailStart--;
57571
+ if (!__privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file, tail, partial, tailStart, 0))
57572
+ return false;
57573
+ fileTailMatch = tail.length + 1;
57574
+ }
57575
+ }
57576
+ if (!body.length) {
57577
+ let sawSome = !!fileTailMatch;
57578
+ for (let i2 = fileIndex; i2 < file.length - fileTailMatch; i2++) {
57579
+ const f = String(file[i2]);
57580
+ sawSome = true;
57581
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
57582
+ return false;
57583
+ }
57584
+ }
57585
+ return partial || sawSome;
57586
+ }
57587
+ const bodySegments = [[[], 0]];
57588
+ let currentBody = bodySegments[0];
57589
+ let nonGsParts = 0;
57590
+ const nonGsPartsSums = [0];
57591
+ for (const b of body) {
57592
+ if (b === GLOBSTAR) {
57593
+ nonGsPartsSums.push(nonGsParts);
57594
+ currentBody = [[], 0];
57595
+ bodySegments.push(currentBody);
57596
+ } else {
57597
+ currentBody[0].push(b);
57598
+ nonGsParts++;
57599
+ }
57600
+ }
57601
+ let i = bodySegments.length - 1;
57602
+ const fileLength = file.length - fileTailMatch;
57603
+ for (const b of bodySegments) {
57604
+ b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
57605
+ }
57606
+ return !!__privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
57607
+ };
57608
+ matchGlobStarBodySections_fn = function(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
57609
+ const bs = bodySegments[bodyIndex];
57610
+ if (!bs) {
57611
+ for (let i = fileIndex; i < file.length; i++) {
57612
+ sawTail = true;
57613
+ const f = file[i];
57614
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
57615
+ return false;
57616
+ }
57617
+ }
57618
+ return sawTail;
57619
+ }
57620
+ const [body, after] = bs;
57621
+ while (fileIndex <= after) {
57622
+ const m = __privateMethod(this, _Minimatch_instances, matchOne_fn).call(this, file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
57623
+ if (m && globStarDepth < this.maxGlobstarRecursion) {
57624
+ const sub = __privateMethod(this, _Minimatch_instances, matchGlobStarBodySections_fn).call(this, file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
57625
+ if (sub !== false)
57626
+ return sub;
57627
+ }
57628
+ const f = file[fileIndex];
57629
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) {
57630
+ return false;
57631
+ }
57632
+ fileIndex++;
57633
+ }
57634
+ return partial || null;
57635
+ };
57636
+ matchOne_fn = function(file, pattern, partial, fileIndex, patternIndex) {
57637
+ let fi;
57638
+ let pi;
57639
+ let pl;
57640
+ let fl;
57641
+ for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
57642
+ this.debug("matchOne loop");
57643
+ let p = pattern[pi];
57644
+ let f = file[fi];
57645
+ this.debug(pattern, p, f);
57646
+ if (p === false || p === GLOBSTAR)
57647
+ return false;
57648
+ let hit;
57649
+ if (typeof p === "string") {
57650
+ hit = f === p;
57651
+ this.debug("string match", p, f, hit);
57652
+ } else {
57653
+ hit = p.test(f);
57654
+ this.debug("pattern match", p, f, hit);
57655
+ }
57656
+ if (!hit)
57657
+ return false;
57658
+ }
57659
+ if (fi === fl && pi === pl) {
57660
+ return true;
57661
+ } else if (fi === fl) {
57662
+ return partial;
57663
+ } else if (pi === pl) {
57664
+ return fi === fl - 1 && file[fi] === "";
57665
+ } else {
57666
+ throw new Error("wtf?");
57667
+ }
57668
+ };
57194
57669
  minimatch.AST = AST;
57195
57670
  minimatch.Minimatch = Minimatch;
57196
57671
  minimatch.escape = escape;
@@ -57261,7 +57736,7 @@ var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") ||
57261
57736
 
57262
57737
  // src/compiler/html/canonical-link.ts
57263
57738
  var updateCanonicalLink = (doc, href) => {
57264
- var _a2;
57739
+ var _a3;
57265
57740
  let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
57266
57741
  if (typeof href === "string") {
57267
57742
  if (canonicalLinkElm == null) {
@@ -57274,7 +57749,7 @@ var updateCanonicalLink = (doc, href) => {
57274
57749
  if (canonicalLinkElm != null) {
57275
57750
  const existingHref = canonicalLinkElm.getAttribute("href");
57276
57751
  if (!existingHref) {
57277
- (_a2 = canonicalLinkElm.parentNode) == null ? void 0 : _a2.removeChild(canonicalLinkElm);
57752
+ (_a3 = canonicalLinkElm.parentNode) == null ? void 0 : _a3.removeChild(canonicalLinkElm);
57278
57753
  }
57279
57754
  }
57280
57755
  }
@@ -57786,7 +58261,7 @@ var serializeCss = (stylesheet, serializeOpts) => {
57786
58261
  return out.join("");
57787
58262
  };
57788
58263
  var serializeCssVisitNode = (opts, node, index, len) => {
57789
- var _a2;
58264
+ var _a3;
57790
58265
  const nodeType = node.type;
57791
58266
  if (nodeType === 4 /* Declaration */) {
57792
58267
  return serializeCssDeclaration(node, index, len);
@@ -57795,7 +58270,7 @@ var serializeCssVisitNode = (opts, node, index, len) => {
57795
58270
  return serializeCssRule(opts, node);
57796
58271
  }
57797
58272
  if (nodeType === 1 /* Comment */) {
57798
- if (((_a2 = node.comment) == null ? void 0 : _a2[0]) === "!") {
58273
+ if (((_a3 = node.comment) == null ? void 0 : _a3[0]) === "!") {
57799
58274
  return `/*${node.comment}*/`;
57800
58275
  } else {
57801
58276
  return "";
@@ -57843,10 +58318,10 @@ var serializeCssVisitNode = (opts, node, index, len) => {
57843
58318
  return "";
57844
58319
  };
57845
58320
  var serializeCssRule = (opts, node) => {
57846
- var _a2, _b;
58321
+ var _a3, _b;
57847
58322
  const decls = node.declarations;
57848
58323
  const usedSelectors = opts.usedSelectors;
57849
- const selectors = (_b = (_a2 = node.selectors) == null ? void 0 : _a2.slice()) != null ? _b : [];
58324
+ const selectors = (_b = (_a3 = node.selectors) == null ? void 0 : _a3.slice()) != null ? _b : [];
57850
58325
  const hasDecls = decls != null && decls.length > 0;
57851
58326
  const hasNestedRules = node.rules != null && node.rules.length > 0;
57852
58327
  if (!hasDecls && !hasNestedRules) {
@@ -57950,8 +58425,8 @@ var serializeCssKeyframes = (opts, node) => {
57950
58425
  return "@" + (node.vendor || "") + "keyframes " + node.name + "{" + keyframesCss + "}";
57951
58426
  };
57952
58427
  var serializeCssKeyframe = (opts, node) => {
57953
- var _a2, _b;
57954
- return ((_b = (_a2 = node.values) == null ? void 0 : _a2.join(",")) != null ? _b : "") + "{" + serializeCssMapVisit(opts, node.declarations) + "}";
58428
+ var _a3, _b;
58429
+ return ((_b = (_a3 = node.values) == null ? void 0 : _a3.join(",")) != null ? _b : "") + "{" + serializeCssMapVisit(opts, node.declarations) + "}";
57955
58430
  };
57956
58431
  var serializeCssFontFace = (opts, node) => {
57957
58432
  const fontCss = serializeCssMapVisit(opts, node.declarations);
@@ -57975,8 +58450,8 @@ var serializeCssContainer = (opts, node) => {
57975
58450
  return "@container " + removeMediaWhitespace(node.media) + "{" + containerCss + "}";
57976
58451
  };
57977
58452
  var serializeCssPage = (opts, node) => {
57978
- var _a2, _b;
57979
- const sel = (_b = (_a2 = node.selectors) == null ? void 0 : _a2.join(", ")) != null ? _b : "";
58453
+ var _a3, _b;
58454
+ const sel = (_b = (_a3 = node.selectors) == null ? void 0 : _a3.join(", ")) != null ? _b : "";
57980
58455
  return "@page " + sel + "{" + serializeCssMapVisit(opts, node.declarations) + "}";
57981
58456
  };
57982
58457
  var serializeCssDocument = (opts, node) => {
@@ -58023,10 +58498,10 @@ var removeSelectorWhitespace = (selector) => {
58023
58498
  return rtn;
58024
58499
  };
58025
58500
  var removeMediaWhitespace = (media) => {
58026
- var _a2;
58501
+ var _a3;
58027
58502
  let rtn = "";
58028
58503
  let char = "";
58029
- media = (_a2 = media == null ? void 0 : media.trim()) != null ? _a2 : "";
58504
+ media = (_a3 = media == null ? void 0 : media.trim()) != null ? _a3 : "";
58030
58505
  for (let i = 0, l = media.length; i < l; i++) {
58031
58506
  char = media[i];
58032
58507
  if (CSS_WS_REG.test(char)) {