@ionic/core 8.6.6-nightly.20250728 → 8.6.6

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 (390) hide show
  1. package/components/action-sheet.js +1 -1
  2. package/components/alert.js +1 -1
  3. package/components/backdrop.js +1 -1
  4. package/components/button.js +1 -1
  5. package/components/buttons.js +1 -1
  6. package/components/checkbox.js +1 -1
  7. package/components/content.js +1 -1
  8. package/components/header.js +1 -1
  9. package/components/icon.js +1 -1
  10. package/components/ion-accordion-group.js +1 -1
  11. package/components/ion-accordion.js +1 -1
  12. package/components/ion-app.js +1 -1
  13. package/components/ion-avatar.js +1 -1
  14. package/components/ion-back-button.js +1 -1
  15. package/components/ion-badge.js +1 -1
  16. package/components/ion-breadcrumb.js +1 -1
  17. package/components/ion-breadcrumbs.js +1 -1
  18. package/components/ion-card-content.js +1 -1
  19. package/components/ion-card-header.js +1 -1
  20. package/components/ion-card-subtitle.js +1 -1
  21. package/components/ion-card-title.js +1 -1
  22. package/components/ion-card.js +1 -1
  23. package/components/ion-chip.js +1 -1
  24. package/components/ion-col.js +1 -1
  25. package/components/ion-datetime-button.js +1 -1
  26. package/components/ion-datetime.js +1 -1
  27. package/components/ion-fab-button.js +1 -1
  28. package/components/ion-fab-list.js +1 -1
  29. package/components/ion-fab.js +1 -1
  30. package/components/ion-footer.js +1 -1
  31. package/components/ion-grid.js +1 -1
  32. package/components/ion-img.js +1 -1
  33. package/components/ion-infinite-scroll-content.js +1 -1
  34. package/components/ion-infinite-scroll.js +1 -1
  35. package/components/ion-input-otp.js +1 -1
  36. package/components/ion-input-password-toggle.js +1 -1
  37. package/components/ion-input.js +1 -1
  38. package/components/ion-item-divider.js +1 -1
  39. package/components/ion-item-group.js +1 -1
  40. package/components/ion-item-option.js +1 -1
  41. package/components/ion-item-options.js +1 -1
  42. package/components/ion-item-sliding.js +1 -1
  43. package/components/ion-loading.js +1 -1
  44. package/components/ion-menu-button.js +1 -1
  45. package/components/ion-menu-toggle.js +1 -1
  46. package/components/ion-menu.js +1 -1
  47. package/components/ion-nav-link.js +1 -1
  48. package/components/ion-nav.js +1 -1
  49. package/components/ion-note.js +1 -1
  50. package/components/ion-picker-legacy.js +1 -1
  51. package/components/ion-progress-bar.js +1 -1
  52. package/components/ion-range.js +1 -1
  53. package/components/ion-refresher-content.js +1 -1
  54. package/components/ion-refresher.js +1 -1
  55. package/components/ion-reorder-group.js +1 -1
  56. package/components/ion-reorder.js +1 -1
  57. package/components/ion-router-link.js +1 -1
  58. package/components/ion-router-outlet.js +1 -1
  59. package/components/ion-row.js +1 -1
  60. package/components/ion-searchbar.js +1 -1
  61. package/components/ion-segment-button.js +1 -1
  62. package/components/ion-segment-content.js +1 -1
  63. package/components/ion-segment-view.js +1 -1
  64. package/components/ion-segment.js +1 -1
  65. package/components/ion-select-option.js +1 -1
  66. package/components/ion-select.js +1 -1
  67. package/components/ion-skeleton-text.js +1 -1
  68. package/components/ion-split-pane.js +1 -1
  69. package/components/ion-tab-bar.js +1 -1
  70. package/components/ion-tab-button.js +1 -1
  71. package/components/ion-tab.js +1 -1
  72. package/components/ion-tabs.js +1 -1
  73. package/components/ion-text.js +1 -1
  74. package/components/ion-textarea.js +1 -1
  75. package/components/ion-thumbnail.js +1 -1
  76. package/components/ion-toast.js +1 -1
  77. package/components/ion-toggle.js +1 -1
  78. package/components/item.js +1 -1
  79. package/components/label.js +1 -1
  80. package/components/list-header.js +1 -1
  81. package/components/list.js +1 -1
  82. package/components/modal.js +1 -1
  83. package/components/picker-column-option.js +1 -1
  84. package/components/picker-column.js +1 -1
  85. package/components/picker-column2.js +1 -1
  86. package/components/picker.js +1 -1
  87. package/components/popover.js +1 -1
  88. package/components/radio-group.js +1 -1
  89. package/components/radio.js +1 -1
  90. package/components/ripple-effect.js +1 -1
  91. package/components/select-modal.js +3 -3
  92. package/components/select-popover.js +2 -2
  93. package/components/spinner.js +1 -1
  94. package/components/title.js +1 -1
  95. package/components/toolbar.js +1 -1
  96. package/dist/cjs/{animation-0T7gKwOt.js → animation-ZJ1lAkZD.js} +1 -1
  97. package/dist/cjs/app-globals-77ZfuXXk.js +10 -0
  98. package/dist/cjs/{button-active-C-4ud7Ht.js → button-active-BzZenWWH.js} +1 -1
  99. package/dist/cjs/{config-U7OAuj53.js → config-CKhELRRu.js} +1 -1
  100. package/dist/cjs/{data-DRqa6oM4.js → data-DW6ofvJ8.js} +1 -1
  101. package/dist/cjs/{framework-delegate-C7sIJyT5.js → framework-delegate-WkyjrnCx.js} +1 -1
  102. package/dist/cjs/{hardware-back-button-D90qZxju.js → hardware-back-button-BxdNu76F.js} +1 -1
  103. package/dist/cjs/{helpers-BITAzJfi.js → helpers-DgwmcYAu.js} +1 -1
  104. package/dist/cjs/{index-y0QaNtCi.js → index-BzEyuIww.js} +4 -4
  105. package/dist/cjs/{index-CVa6JE57.js → index-Cc5PNMyz.js} +2 -2
  106. package/dist/cjs/{index-CxfLS2mX.js → index-D24wggHR.js} +12 -11
  107. package/dist/cjs/{index-DODXXb_r.js → index-DNh170BW.js} +274 -319
  108. package/dist/cjs/{index-BDBT0u4l.js → index-bGpoPC4u.js} +2 -2
  109. package/dist/cjs/index.cjs.js +16 -15
  110. package/dist/cjs/{input-shims-D1Mfgd4s.js → input-shims-CLI_OrmU.js} +3 -3
  111. package/dist/cjs/{input.utils-DSoBEyUu.js → input.utils-B2hZ5tX6.js} +2 -2
  112. package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -4
  113. package/dist/cjs/ion-action-sheet.cjs.entry.js +10 -9
  114. package/dist/cjs/ion-alert.cjs.entry.js +13 -12
  115. package/dist/cjs/ion-app_8.cjs.entry.js +28 -27
  116. package/dist/cjs/ion-avatar_3.cjs.entry.js +5 -4
  117. package/dist/cjs/ion-back-button.cjs.entry.js +6 -5
  118. package/dist/cjs/ion-backdrop.cjs.entry.js +3 -2
  119. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +5 -4
  120. package/dist/cjs/ion-button_2.cjs.entry.js +4 -3
  121. package/dist/cjs/ion-card_5.cjs.entry.js +8 -7
  122. package/dist/cjs/ion-checkbox.cjs.entry.js +4 -3
  123. package/dist/cjs/ion-chip.cjs.entry.js +3 -2
  124. package/dist/cjs/ion-col_3.cjs.entry.js +5 -4
  125. package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -4
  126. package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -12
  127. package/dist/cjs/ion-fab_3.cjs.entry.js +6 -5
  128. package/dist/cjs/ion-img.cjs.entry.js +4 -3
  129. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +8 -7
  130. package/dist/cjs/ion-input-otp.cjs.entry.js +4 -3
  131. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -2
  132. package/dist/cjs/ion-input.cjs.entry.js +7 -6
  133. package/dist/cjs/ion-item-option_3.cjs.entry.js +7 -6
  134. package/dist/cjs/ion-item_8.cjs.entry.js +11 -10
  135. package/dist/cjs/ion-loading.cjs.entry.js +10 -9
  136. package/dist/cjs/ion-menu_3.cjs.entry.js +14 -13
  137. package/dist/cjs/ion-modal.cjs.entry.js +16 -15
  138. package/dist/cjs/ion-nav_2.cjs.entry.js +8 -7
  139. package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -3
  140. package/dist/cjs/ion-picker-column.cjs.entry.js +6 -5
  141. package/dist/cjs/ion-picker.cjs.entry.js +2 -2
  142. package/dist/cjs/ion-popover.cjs.entry.js +11 -10
  143. package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -3
  144. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -4
  145. package/dist/cjs/ion-range.cjs.entry.js +5 -4
  146. package/dist/cjs/ion-refresher_2.cjs.entry.js +14 -13
  147. package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -5
  148. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -2
  149. package/dist/cjs/ion-route_4.cjs.entry.js +4 -3
  150. package/dist/cjs/ion-searchbar.cjs.entry.js +5 -4
  151. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  152. package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
  153. package/dist/cjs/ion-segment_2.cjs.entry.js +5 -4
  154. package/dist/cjs/ion-select-modal.cjs.entry.js +9 -8
  155. package/dist/cjs/ion-select_3.cjs.entry.js +17 -16
  156. package/dist/cjs/ion-spinner.cjs.entry.js +4 -3
  157. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -2
  158. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -4
  159. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  160. package/dist/cjs/ion-text.cjs.entry.js +3 -2
  161. package/dist/cjs/ion-textarea.cjs.entry.js +7 -6
  162. package/dist/cjs/ion-toast.cjs.entry.js +11 -10
  163. package/dist/cjs/ion-toggle.cjs.entry.js +6 -5
  164. package/dist/cjs/ionic-global-UI5YPSi-.js +151 -0
  165. package/dist/cjs/ionic.cjs.js +6 -4
  166. package/dist/cjs/{ios.transition-baEy2tr4.js → ios.transition-DEitrLlG.js} +4 -4
  167. package/dist/cjs/loader.cjs.js +5 -3
  168. package/dist/cjs/{md.transition-Bvc-JrM5.js → md.transition-BHtGC-Wg.js} +4 -4
  169. package/dist/cjs/{notch-controller-BAbqGXRi.js → notch-controller-Bf5Rr4R5.js} +1 -1
  170. package/dist/cjs/{overlays-DRDumz2b.js → overlays-CglR7j-u.js} +8 -7
  171. package/dist/cjs/{status-tap-Db3WeCkO.js → status-tap-D9YPr62n.js} +3 -3
  172. package/dist/cjs/{swipe-back-D_VN6H9r.js → swipe-back-C1wRtoww.js} +2 -2
  173. package/dist/collection/collection-manifest.json +1 -1
  174. package/dist/docs.json +2 -2
  175. package/dist/esm/{animation-BWcUKtbn.js → animation-BvhAtgca.js} +1 -1
  176. package/dist/esm/app-globals-CvLYUxE9.js +8 -0
  177. package/dist/esm/{button-active-Bxcnevju.js → button-active-DBUPuLNw.js} +1 -1
  178. package/dist/esm/{config-AaTyISnm.js → config-Dx_6wPIJ.js} +1 -1
  179. package/dist/esm/{data-GIsHsYIB.js → data-CKHMWxfe.js} +1 -1
  180. package/dist/esm/{framework-delegate-DxcnWic_.js → framework-delegate-BLEBgH06.js} +1 -1
  181. package/dist/esm/{hardware-back-button-DcH0BbDp.js → hardware-back-button-Dhbd-23H.js} +1 -1
  182. package/dist/esm/{helpers-1O4D2b7y.js → helpers-8KSQQGQy.js} +1 -1
  183. package/dist/esm/{index-B_U9CtaY.js → index-4DxY6_gG.js} +270 -315
  184. package/dist/esm/{index-BlJTBdxG.js → index-7UbSlv7N.js} +2 -2
  185. package/dist/esm/{index-CWbP1eJz.js → index-C6WeRr09.js} +2 -2
  186. package/dist/esm/{index-D8sncTHY.js → index-CXSTcaAW.js} +5 -4
  187. package/dist/esm/{index-DfBA5ztX.js → index-Dp7GXH1z.js} +4 -4
  188. package/dist/esm/index.js +12 -11
  189. package/dist/esm/{input-shims-C3lNp93k.js → input-shims-C4KDnhxb.js} +3 -3
  190. package/dist/esm/{input.utils-zWijNCrx.js → input.utils-be4gBvVY.js} +2 -2
  191. package/dist/esm/ion-accordion_2.entry.js +3 -2
  192. package/dist/esm/ion-action-sheet.entry.js +8 -7
  193. package/dist/esm/ion-alert.entry.js +9 -8
  194. package/dist/esm/ion-app_8.entry.js +12 -11
  195. package/dist/esm/ion-avatar_3.entry.js +2 -1
  196. package/dist/esm/ion-back-button.entry.js +3 -2
  197. package/dist/esm/ion-backdrop.entry.js +2 -1
  198. package/dist/esm/ion-breadcrumb_2.entry.js +3 -2
  199. package/dist/esm/ion-button_2.entry.js +3 -2
  200. package/dist/esm/ion-card_5.entry.js +3 -2
  201. package/dist/esm/ion-checkbox.entry.js +3 -2
  202. package/dist/esm/ion-chip.entry.js +2 -1
  203. package/dist/esm/ion-col_3.entry.js +2 -1
  204. package/dist/esm/ion-datetime-button.entry.js +4 -3
  205. package/dist/esm/ion-datetime_3.entry.js +8 -7
  206. package/dist/esm/ion-fab_3.entry.js +3 -2
  207. package/dist/esm/ion-img.entry.js +3 -2
  208. package/dist/esm/ion-infinite-scroll_2.entry.js +5 -4
  209. package/dist/esm/ion-input-otp.entry.js +3 -2
  210. package/dist/esm/ion-input-password-toggle.entry.js +2 -1
  211. package/dist/esm/ion-input.entry.js +5 -4
  212. package/dist/esm/ion-item-option_3.entry.js +4 -3
  213. package/dist/esm/ion-item_8.entry.js +3 -2
  214. package/dist/esm/ion-loading.entry.js +8 -7
  215. package/dist/esm/ion-menu_3.entry.js +8 -7
  216. package/dist/esm/ion-modal.entry.js +9 -8
  217. package/dist/esm/ion-nav_2.entry.js +6 -5
  218. package/dist/esm/ion-picker-column-option.entry.js +3 -2
  219. package/dist/esm/ion-picker-column.entry.js +3 -2
  220. package/dist/esm/ion-picker.entry.js +2 -2
  221. package/dist/esm/ion-popover.entry.js +8 -7
  222. package/dist/esm/ion-progress-bar.entry.js +3 -2
  223. package/dist/esm/ion-radio_2.entry.js +3 -2
  224. package/dist/esm/ion-range.entry.js +4 -3
  225. package/dist/esm/ion-refresher_2.entry.js +6 -5
  226. package/dist/esm/ion-reorder_2.entry.js +4 -3
  227. package/dist/esm/ion-ripple-effect.entry.js +2 -1
  228. package/dist/esm/ion-route_4.entry.js +3 -2
  229. package/dist/esm/ion-searchbar.entry.js +3 -2
  230. package/dist/esm/ion-segment-content.entry.js +1 -1
  231. package/dist/esm/ion-segment-view.entry.js +1 -1
  232. package/dist/esm/ion-segment_2.entry.js +3 -2
  233. package/dist/esm/ion-select-modal.entry.js +8 -7
  234. package/dist/esm/ion-select_3.entry.js +8 -7
  235. package/dist/esm/ion-spinner.entry.js +2 -1
  236. package/dist/esm/ion-split-pane.entry.js +2 -1
  237. package/dist/esm/ion-tab-bar_2.entry.js +3 -2
  238. package/dist/esm/ion-tab_2.entry.js +3 -3
  239. package/dist/esm/ion-text.entry.js +2 -1
  240. package/dist/esm/ion-textarea.entry.js +5 -4
  241. package/dist/esm/ion-toast.entry.js +8 -7
  242. package/dist/esm/ion-toggle.entry.js +3 -2
  243. package/dist/esm/ionic-global-CTSyufhF.js +146 -0
  244. package/dist/esm/ionic.js +6 -4
  245. package/dist/esm/{ios.transition-BmXtMRXZ.js → ios.transition-eAEkgVAv.js} +4 -4
  246. package/dist/esm/loader.js +5 -3
  247. package/dist/esm/{md.transition-CLI683c7.js → md.transition-D8TeJ_Pz.js} +4 -4
  248. package/dist/esm/{notch-controller-C5LPspO8.js → notch-controller-lb417-kU.js} +1 -1
  249. package/dist/esm/{overlays-8Y2rA-ps.js → overlays-ZX_4-t_r.js} +5 -4
  250. package/dist/esm/{status-tap-7t9T91bG.js → status-tap-pATNXEtr.js} +3 -3
  251. package/dist/esm/{swipe-back-VdaUzLWy.js → swipe-back-B2YfOHRM.js} +2 -2
  252. package/dist/ionic/index.esm.js +1 -1
  253. package/dist/ionic/ionic.esm.js +1 -1
  254. package/dist/ionic/p-0ec5336d.entry.js +4 -0
  255. package/dist/ionic/p-0f396661.entry.js +4 -0
  256. package/dist/ionic/p-1191a2d9.entry.js +4 -0
  257. package/dist/ionic/p-16116947.entry.js +4 -0
  258. package/dist/ionic/p-1d5b934a.entry.js +4 -0
  259. package/dist/ionic/p-20a7e56a.entry.js +4 -0
  260. package/dist/ionic/p-2cb0f39f.entry.js +4 -0
  261. package/dist/ionic/p-3624b640.entry.js +4 -0
  262. package/dist/ionic/{p-73d7ad90.entry.js → p-3e426ddc.entry.js} +1 -1
  263. package/dist/ionic/p-40d56a51.entry.js +4 -0
  264. package/dist/ionic/p-4DxY6_gG.js +5 -0
  265. package/dist/ionic/p-4a4f543a.entry.js +4 -0
  266. package/dist/ionic/p-4f2c5845.entry.js +4 -0
  267. package/dist/ionic/p-4f4fed67.entry.js +4 -0
  268. package/dist/ionic/p-54dec9b1.entry.js +4 -0
  269. package/dist/ionic/p-5944b332.entry.js +4 -0
  270. package/dist/ionic/p-66424a88.entry.js +4 -0
  271. package/dist/ionic/p-7a53f04c.entry.js +4 -0
  272. package/dist/ionic/p-7bac2c5f.entry.js +4 -0
  273. package/dist/ionic/p-7da05504.entry.js +4 -0
  274. package/dist/ionic/p-82cc4aa2.entry.js +4 -0
  275. package/dist/ionic/p-87b52a3d.entry.js +4 -0
  276. package/dist/ionic/p-8822db41.entry.js +4 -0
  277. package/dist/ionic/p-8b21572b.entry.js +4 -0
  278. package/dist/ionic/p-8d96a0cd.entry.js +4 -0
  279. package/dist/ionic/p-91d6ccb0.entry.js +4 -0
  280. package/dist/ionic/p-92e8f208.entry.js +4 -0
  281. package/dist/ionic/{p-9b46b31b.entry.js → p-9ddf2620.entry.js} +1 -1
  282. package/dist/ionic/p-B1xocg0A.js +4 -0
  283. package/dist/ionic/{p-BmQduG8c.js → p-B5MDSrGg.js} +1 -1
  284. package/dist/ionic/{p-CRiGyYOA.js → p-BB-JoKGB.js} +1 -1
  285. package/dist/ionic/{p-DCfS5Jk_.js → p-BHGXdud8.js} +1 -1
  286. package/dist/ionic/{p-QwEXyOze.js → p-BhNEp2QP.js} +1 -1
  287. package/dist/ionic/p-Br3vSlYh.js +4 -0
  288. package/dist/ionic/{p-Do-uqmtX.js → p-C-Cct-6D.js} +1 -1
  289. package/dist/ionic/p-C4I6B3uV.js +4 -0
  290. package/dist/ionic/p-C87oPMMF.js +4 -0
  291. package/dist/ionic/p-C8d2ebIg.js +4 -0
  292. package/dist/ionic/p-CSwZyt05.js +4 -0
  293. package/dist/ionic/{p-CPgXVSua.js → p-CWvl4RPO.js} +1 -1
  294. package/dist/ionic/p-CvaZMP6T.js +4 -0
  295. package/dist/ionic/{p-DgdWETCP.js → p-D2fQU_qK.js} +1 -1
  296. package/dist/ionic/p-DAfH9Iif.js +4 -0
  297. package/dist/ionic/p-DCuOL88l.js +4 -0
  298. package/dist/ionic/p-DJKvq7vb.js +4 -0
  299. package/dist/ionic/{p-7qk7mxdr.js → p-DiZPU8BH.js} +1 -1
  300. package/dist/ionic/p-Dm_oBkW1.js +4 -0
  301. package/dist/ionic/{p-CbI9XwwW.js → p-EnaLTYYj.js} +1 -1
  302. package/dist/ionic/{p-B1MNHTYX.js → p-LaGjiAVo.js} +1 -1
  303. package/dist/ionic/p-a28a082f.entry.js +4 -0
  304. package/dist/ionic/p-a81be128.entry.js +4 -0
  305. package/dist/ionic/p-ab33ef20.entry.js +4 -0
  306. package/dist/ionic/p-ac434970.entry.js +4 -0
  307. package/dist/ionic/p-acd4479f.entry.js +4 -0
  308. package/dist/ionic/p-afeb9df6.entry.js +4 -0
  309. package/dist/ionic/p-b3c29eab.entry.js +4 -0
  310. package/dist/ionic/p-bc9f9032.entry.js +4 -0
  311. package/dist/ionic/p-be9d091b.entry.js +4 -0
  312. package/dist/ionic/p-bf81a468.entry.js +4 -0
  313. package/dist/ionic/{p-8a8ef46b.entry.js → p-c0d58c8e.entry.js} +1 -1
  314. package/dist/ionic/p-c5210d3e.entry.js +4 -0
  315. package/dist/ionic/p-c836e1a2.entry.js +4 -0
  316. package/dist/ionic/p-cde6d39b.entry.js +4 -0
  317. package/dist/ionic/p-d04d66fc.entry.js +4 -0
  318. package/dist/ionic/{p-fb74fc38.entry.js → p-d3df6032.entry.js} +1 -1
  319. package/dist/ionic/p-dbba38cf.entry.js +4 -0
  320. package/dist/ionic/p-e6c465ff.entry.js +4 -0
  321. package/dist/ionic/p-ec76fec4.entry.js +4 -0
  322. package/dist/ionic/p-ee2e35a6.entry.js +4 -0
  323. package/dist/ionic/p-f2884bc2.entry.js +4 -0
  324. package/dist/ionic/p-f456d176.entry.js +4 -0
  325. package/dist/ionic/p-f7db572a.entry.js +4 -0
  326. package/dist/ionic/p-f9eb54ee.entry.js +4 -0
  327. package/dist/ionic/p-fcd1dba9.entry.js +4 -0
  328. package/dist/types/stencil-public-runtime.d.ts +12 -5
  329. package/hydrate/index.js +440 -250
  330. package/hydrate/index.mjs +440 -250
  331. package/package.json +2 -2
  332. package/dist/ionic/p-01123ecf.entry.js +0 -4
  333. package/dist/ionic/p-03d21728.entry.js +0 -4
  334. package/dist/ionic/p-0d131a02.entry.js +0 -4
  335. package/dist/ionic/p-0fc6fc38.entry.js +0 -4
  336. package/dist/ionic/p-1739f5f2.entry.js +0 -4
  337. package/dist/ionic/p-18f1813b.entry.js +0 -4
  338. package/dist/ionic/p-2bc871ee.entry.js +0 -4
  339. package/dist/ionic/p-2c6c6991.entry.js +0 -4
  340. package/dist/ionic/p-2cfd6b61.entry.js +0 -4
  341. package/dist/ionic/p-2d0eccfb.entry.js +0 -4
  342. package/dist/ionic/p-2da6a16b.entry.js +0 -4
  343. package/dist/ionic/p-2dca6aac.entry.js +0 -4
  344. package/dist/ionic/p-35c4a63f.entry.js +0 -4
  345. package/dist/ionic/p-3c855fa9.entry.js +0 -4
  346. package/dist/ionic/p-4b7d1f35.entry.js +0 -4
  347. package/dist/ionic/p-4d61f20b.entry.js +0 -4
  348. package/dist/ionic/p-5f671887.entry.js +0 -4
  349. package/dist/ionic/p-69f91268.entry.js +0 -4
  350. package/dist/ionic/p-76b697a3.entry.js +0 -4
  351. package/dist/ionic/p-7d5cf8c1.entry.js +0 -4
  352. package/dist/ionic/p-8957540a.entry.js +0 -4
  353. package/dist/ionic/p-8c674371.entry.js +0 -4
  354. package/dist/ionic/p-8f2f76e0.entry.js +0 -4
  355. package/dist/ionic/p-91bde659.entry.js +0 -4
  356. package/dist/ionic/p-97667b9c.entry.js +0 -4
  357. package/dist/ionic/p-99774467.entry.js +0 -4
  358. package/dist/ionic/p-B3XSxWNQ.js +0 -4
  359. package/dist/ionic/p-BROiNJRB.js +0 -4
  360. package/dist/ionic/p-B_U9CtaY.js +0 -5
  361. package/dist/ionic/p-BhLqfMrf.js +0 -4
  362. package/dist/ionic/p-CL-KfWxq.js +0 -4
  363. package/dist/ionic/p-D-7TeYC4.js +0 -4
  364. package/dist/ionic/p-DzH0J0yi.js +0 -4
  365. package/dist/ionic/p-a6282370.entry.js +0 -4
  366. package/dist/ionic/p-a92bfa13.entry.js +0 -4
  367. package/dist/ionic/p-a9ac80bd.entry.js +0 -4
  368. package/dist/ionic/p-a9f99c74.entry.js +0 -4
  369. package/dist/ionic/p-aIxOGKys.js +0 -4
  370. package/dist/ionic/p-aa8956c2.entry.js +0 -4
  371. package/dist/ionic/p-b758a177.entry.js +0 -4
  372. package/dist/ionic/p-b9ba04ca.entry.js +0 -4
  373. package/dist/ionic/p-b9f79efc.entry.js +0 -4
  374. package/dist/ionic/p-bNmY-WfR.js +0 -4
  375. package/dist/ionic/p-bc01c127.entry.js +0 -4
  376. package/dist/ionic/p-c0335397.entry.js +0 -4
  377. package/dist/ionic/p-c4912ca5.entry.js +0 -4
  378. package/dist/ionic/p-c884d7e3.entry.js +0 -4
  379. package/dist/ionic/p-cf632ee2.entry.js +0 -4
  380. package/dist/ionic/p-d47b85ea.entry.js +0 -4
  381. package/dist/ionic/p-d8429eb4.entry.js +0 -4
  382. package/dist/ionic/p-d8ed5df0.entry.js +0 -4
  383. package/dist/ionic/p-e1260ed5.entry.js +0 -4
  384. package/dist/ionic/p-e37d6c67.entry.js +0 -4
  385. package/dist/ionic/p-e90652a0.entry.js +0 -4
  386. package/dist/ionic/p-ei_RiGrl.js +0 -4
  387. package/dist/ionic/p-f83db8cd.entry.js +0 -4
  388. package/dist/ionic/p-fbc5481b.entry.js +0 -4
  389. package/dist/ionic/p-fcc7437b.entry.js +0 -4
  390. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -144
@@ -121,151 +121,8 @@ const printRequiredElementError = (el, ...targetSelectors) => {
121
121
  return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
122
122
  };
123
123
 
124
- const getPlatforms = (win) => setupPlatforms(win);
125
- const isPlatform = (winOrPlatform, platform) => {
126
- if (typeof winOrPlatform === 'string') {
127
- platform = winOrPlatform;
128
- winOrPlatform = undefined;
129
- }
130
- return getPlatforms(winOrPlatform).includes(platform);
131
- };
132
- const setupPlatforms = (win = window) => {
133
- if (typeof win === 'undefined') {
134
- return [];
135
- }
136
- win.Ionic = win.Ionic || {};
137
- let platforms = win.Ionic.platforms;
138
- if (platforms == null) {
139
- platforms = win.Ionic.platforms = detectPlatforms(win);
140
- platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));
141
- }
142
- return platforms;
143
- };
144
- const detectPlatforms = (win) => {
145
- const customPlatformMethods = config.get('platform');
146
- return Object.keys(PLATFORMS_MAP).filter((p) => {
147
- const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
148
- return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
149
- });
150
- };
151
- const isMobileWeb = (win) => isMobile(win) && !isHybrid(win);
152
- const isIpad = (win) => {
153
- // iOS 12 and below
154
- if (testUserAgent(win, /iPad/i)) {
155
- return true;
156
- }
157
- // iOS 13+
158
- if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
159
- return true;
160
- }
161
- return false;
162
- };
163
- const isIphone = (win) => testUserAgent(win, /iPhone/i);
164
- const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
165
- const isAndroid = (win) => testUserAgent(win, /android|sink/i);
166
- const isAndroidTablet = (win) => {
167
- return isAndroid(win) && !testUserAgent(win, /mobile/i);
168
- };
169
- const isPhablet = (win) => {
170
- const width = win.innerWidth;
171
- const height = win.innerHeight;
172
- const smallest = Math.min(width, height);
173
- const largest = Math.max(width, height);
174
- return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
175
- };
176
- const isTablet = (win) => {
177
- const width = win.innerWidth;
178
- const height = win.innerHeight;
179
- const smallest = Math.min(width, height);
180
- const largest = Math.max(width, height);
181
- return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);
182
- };
183
- const isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');
184
- const isDesktop = (win) => !isMobile(win);
185
- const isHybrid = (win) => isCordova(win) || isCapacitorNative(win);
186
- const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
187
- const isCapacitorNative = (win) => {
188
- const capacitor = win['Capacitor'];
189
- // TODO(ROU-11693): Remove when we no longer support Capacitor 2, which does not have isNativePlatform
190
- return !!((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative) || ((capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNativePlatform) && !!capacitor.isNativePlatform()));
191
- };
192
- const isElectron = (win) => testUserAgent(win, /electron/i);
193
- const isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };
194
- const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
195
- const matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };
196
- const PLATFORMS_MAP = {
197
- ipad: isIpad,
198
- iphone: isIphone,
199
- ios: isIOS,
200
- android: isAndroid,
201
- phablet: isPhablet,
202
- tablet: isTablet,
203
- cordova: isCordova,
204
- capacitor: isCapacitorNative,
205
- electron: isElectron,
206
- pwa: isPWA,
207
- mobile: isMobile,
208
- mobileweb: isMobileWeb,
209
- desktop: isDesktop,
210
- hybrid: isHybrid,
211
- };
212
-
213
- // TODO(FW-2832): types
214
- let defaultMode;
215
- const getIonMode = (ref) => {
216
- return (ref && getMode(ref)) || defaultMode;
217
- };
218
- const initialize = (userConfig = {}) => {
219
- if (typeof window === 'undefined') {
220
- return;
221
- }
222
- const doc = window.document;
223
- const win = window;
224
- const Ionic = (win.Ionic = win.Ionic || {});
225
- // create the Ionic.config from raw config object (if it exists)
226
- // and convert Ionic.config into a ConfigApi that has a get() fn
227
- const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);
228
- config.reset(configObj);
229
- if (config.getBoolean('persistConfig')) {
230
- saveConfig(win, configObj);
231
- }
232
- // Setup platforms
233
- setupPlatforms(win);
234
- // first see if the mode was set as an attribute on <html>
235
- // which could have been set by the user, or by pre-rendering
236
- // otherwise get the mode via config settings, and fallback to md
237
- Ionic.config = config;
238
- Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
239
- config.set('mode', defaultMode);
240
- doc.documentElement.setAttribute('mode', defaultMode);
241
- doc.documentElement.classList.add(defaultMode);
242
- if (config.getBoolean('_testing')) {
243
- config.set('animated', false);
244
- }
245
- const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };
246
- const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);
247
- setMode((elm) => {
248
- while (elm) {
249
- const elmMode = elm.mode || elm.getAttribute('mode');
250
- if (elmMode) {
251
- if (isAllowedIonicModeValue(elmMode)) {
252
- return elmMode;
253
- }
254
- else if (isIonicElement(elm)) {
255
- printIonWarning('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
256
- }
257
- }
258
- elm = elm.parentElement;
259
- }
260
- return defaultMode;
261
- });
262
- };
263
-
264
- const globalScripts = initialize;
265
- const globalStyles = "";
266
-
267
124
  /*
268
- Stencil Client Platform v4.33.1 | MIT Licensed | https://stenciljs.com
125
+ Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
269
126
  */
270
127
  var __defProp = Object.defineProperty;
271
128
  var __export = (target, all) => {
@@ -423,6 +280,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
423
280
  }
424
281
  return false;
425
282
  })() ;
283
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
426
284
  var queuePending = false;
427
285
  var queueDomReads = [];
428
286
  var queueDomWrites = [];
@@ -635,15 +493,27 @@ function deserializeProperty(value) {
635
493
  }
636
494
  return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
637
495
  }
496
+
497
+ // src/utils/style.ts
498
+ function createStyleSheetIfNeededAndSupported(styles2) {
499
+ return void 0;
500
+ }
501
+
502
+ // src/utils/shadow-root.ts
503
+ var globalStyleSheet;
638
504
  function createShadowRoot(cmpMeta) {
505
+ var _a;
639
506
  const shadowRoot = this.attachShadow({
640
507
  mode: "open",
641
508
  delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
642
509
  }) ;
643
- if (supportsConstructableStylesheets) {
644
- const sheet = new CSSStyleSheet();
645
- sheet.replaceSync(globalStyles);
646
- shadowRoot.adoptedStyleSheets.push(sheet);
510
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
511
+ if (globalStyleSheet) {
512
+ if (supportsMutableAdoptedStyleSheets) {
513
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
514
+ } else {
515
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
516
+ }
647
517
  }
648
518
  }
649
519
  var updateFallbackSlotVisibility = (elm) => {
@@ -751,7 +621,7 @@ function patchSlotNode(node) {
751
621
  const slotName = this["s-sn"];
752
622
  if (opts == null ? void 0 : opts.flatten) {
753
623
  console.error(`
754
- Flattening is not supported for Stencil non-shadow slots.
624
+ Flattening is not supported for Stencil non-shadow slots.
755
625
  You can use \`.childNodes\` to nested slot fallback content.
756
626
  If you have a particular use case, please open an issue on the Stencil repo.
757
627
  `);
@@ -1138,6 +1008,9 @@ var validNodesPatches = [
1138
1008
  "parentNode"
1139
1009
  ];
1140
1010
  function patchHostOriginalAccessor(accessorName, node) {
1011
+ if (!globalThis.Node || !globalThis.Element) {
1012
+ return;
1013
+ }
1141
1014
  let accessor;
1142
1015
  if (validElementPatches.includes(accessorName)) {
1143
1016
  accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
@@ -1173,6 +1046,125 @@ var uniqueTime = (key, measureText) => {
1173
1046
  };
1174
1047
  }
1175
1048
  };
1049
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1050
+ var registerStyle = (scopeId2, cssText, allowCS) => {
1051
+ let style = styles.get(scopeId2);
1052
+ if (supportsConstructableStylesheets && allowCS) {
1053
+ style = style || new CSSStyleSheet();
1054
+ if (typeof style === "string") {
1055
+ style = cssText;
1056
+ } else {
1057
+ style.replaceSync(cssText);
1058
+ }
1059
+ } else {
1060
+ style = cssText;
1061
+ }
1062
+ styles.set(scopeId2, style);
1063
+ };
1064
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1065
+ var _a;
1066
+ const scopeId2 = getScopeId(cmpMeta, mode);
1067
+ const style = styles.get(scopeId2);
1068
+ if (!win.document) {
1069
+ return scopeId2;
1070
+ }
1071
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1072
+ if (style) {
1073
+ if (typeof style === "string") {
1074
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
1075
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1076
+ let styleElm;
1077
+ if (!appliedStyles) {
1078
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1079
+ }
1080
+ if (!appliedStyles.has(scopeId2)) {
1081
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1082
+ styleElm.innerHTML = style;
1083
+ } else {
1084
+ styleElm = win.document.createElement("style");
1085
+ styleElm.innerHTML = style;
1086
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1087
+ if (nonce != null) {
1088
+ styleElm.setAttribute("nonce", nonce);
1089
+ }
1090
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1091
+ if (styleContainerNode.nodeName === "HEAD") {
1092
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1093
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1094
+ styleContainerNode.insertBefore(
1095
+ styleElm,
1096
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1097
+ );
1098
+ } else if ("host" in styleContainerNode) {
1099
+ if (supportsConstructableStylesheets) {
1100
+ const stylesheet = new CSSStyleSheet();
1101
+ stylesheet.replaceSync(style);
1102
+ if (supportsMutableAdoptedStyleSheets) {
1103
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
1104
+ } else {
1105
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1106
+ }
1107
+ } else {
1108
+ const existingStyleContainer = styleContainerNode.querySelector("style");
1109
+ if (existingStyleContainer) {
1110
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1111
+ } else {
1112
+ styleContainerNode.prepend(styleElm);
1113
+ }
1114
+ }
1115
+ } else {
1116
+ styleContainerNode.append(styleElm);
1117
+ }
1118
+ }
1119
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1120
+ styleContainerNode.insertBefore(styleElm, null);
1121
+ }
1122
+ }
1123
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1124
+ styleElm.innerHTML += SLOT_FB_CSS;
1125
+ }
1126
+ if (appliedStyles) {
1127
+ appliedStyles.add(scopeId2);
1128
+ }
1129
+ }
1130
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1131
+ if (supportsMutableAdoptedStyleSheets) {
1132
+ styleContainerNode.adoptedStyleSheets.push(style);
1133
+ } else {
1134
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1135
+ }
1136
+ }
1137
+ }
1138
+ return scopeId2;
1139
+ };
1140
+ var attachStyles = (hostRef) => {
1141
+ const cmpMeta = hostRef.$cmpMeta$;
1142
+ const elm = hostRef.$hostElement$;
1143
+ const flags = cmpMeta.$flags$;
1144
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1145
+ const scopeId2 = addStyle(
1146
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1147
+ cmpMeta,
1148
+ hostRef.$modeName$
1149
+ );
1150
+ if (flags & 10 /* needsScopedEncapsulation */) {
1151
+ elm["s-sc"] = scopeId2;
1152
+ elm.classList.add(scopeId2 + "-h");
1153
+ }
1154
+ endAttachStyles();
1155
+ };
1156
+ var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1157
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1158
+ var hydrateScopedToShadow = () => {
1159
+ if (!win.document) {
1160
+ return;
1161
+ }
1162
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1163
+ let i2 = 0;
1164
+ for (; i2 < styles2.length; i2++) {
1165
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1166
+ }
1167
+ };
1176
1168
  var h = (nodeName, vnodeData, ...children) => {
1177
1169
  let child = null;
1178
1170
  let key = null;
@@ -1287,7 +1279,7 @@ var convertToPrivate = (node) => {
1287
1279
 
1288
1280
  // src/runtime/client-hydrate.ts
1289
1281
  var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1290
- var _a;
1282
+ var _a, _b, _c;
1291
1283
  const endHydrate = createTime("hydrateClient", tagName);
1292
1284
  const shadowRoot = hostElm.shadowRoot;
1293
1285
  const childRenderNodes = [];
@@ -1298,15 +1290,17 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1298
1290
  vnode.$elm$ = hostElm;
1299
1291
  const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
1300
1292
  members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
1301
- var _a2;
1293
+ var _b2;
1302
1294
  if (!(memberFlags & 31 /* Prop */)) {
1303
1295
  return;
1304
1296
  }
1305
1297
  const attributeName = metaAttributeName || memberName;
1306
1298
  const attrVal = hostElm.getAttribute(attributeName);
1307
1299
  if (attrVal !== null) {
1308
- const attrPropVal = parsePropertyValue(attrVal, memberFlags);
1309
- (_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.set(memberName, attrPropVal);
1300
+ const attrPropVal = parsePropertyValue(
1301
+ attrVal,
1302
+ memberFlags);
1303
+ (_b2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b2.set(memberName, attrPropVal);
1310
1304
  }
1311
1305
  });
1312
1306
  let scopeId2;
@@ -1347,6 +1341,18 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1347
1341
  if (childRenderNode.$tag$ === "slot") {
1348
1342
  node["s-cr"] = hostElm["s-cr"];
1349
1343
  }
1344
+ } else if (((_b = childRenderNode.$tag$) == null ? void 0 : _b.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
1345
+ const cmpMeta = getHostRef(childRenderNode.$elm$);
1346
+ if (cmpMeta) {
1347
+ const scopeId3 = getScopeId(
1348
+ cmpMeta.$cmpMeta$,
1349
+ childRenderNode.$elm$.getAttribute("s-mode")
1350
+ );
1351
+ const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
1352
+ if (styleSheet) {
1353
+ hostElm.shadowRoot.append(styleSheet.cloneNode(true));
1354
+ }
1355
+ }
1350
1356
  }
1351
1357
  if (childRenderNode.$tag$ === "slot") {
1352
1358
  childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
@@ -1362,7 +1368,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1362
1368
  }
1363
1369
  }
1364
1370
  if (orgLocationNode && orgLocationNode.isConnected) {
1365
- if (shadowRoot && orgLocationNode["s-en"] === "") {
1371
+ if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
1366
1372
  orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
1367
1373
  }
1368
1374
  orgLocationNode.parentNode.removeChild(orgLocationNode);
@@ -1370,7 +1376,9 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1370
1376
  node["s-oo"] = parseInt(childRenderNode.$nodeId$);
1371
1377
  }
1372
1378
  }
1373
- plt.$orgLocNodes$.delete(orgLocationId);
1379
+ if (orgLocationNode && !orgLocationNode["s-id"]) {
1380
+ plt.$orgLocNodes$.delete(orgLocationId);
1381
+ }
1374
1382
  }
1375
1383
  const hosts = [];
1376
1384
  const snLen = slottedNodes.length;
@@ -1391,21 +1399,26 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1391
1399
  }
1392
1400
  if (!hosts[slottedItem.hostId]) continue;
1393
1401
  const hostEle = hosts[slottedItem.hostId];
1402
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1403
+ hostEle.appendChild(slottedItem.node);
1404
+ }
1394
1405
  if (!hostEle.shadowRoot || !shadowRoot) {
1395
- slottedItem.slot["s-cr"] = hostEle["s-cr"];
1396
- if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1397
- slottedItem.slot["s-cr"] = hostEle;
1398
- } else {
1399
- slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
1406
+ if (!slottedItem.slot["s-cr"]) {
1407
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
1408
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
1409
+ slottedItem.slot["s-cr"] = hostEle;
1410
+ } else {
1411
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
1412
+ }
1400
1413
  }
1401
1414
  addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
1415
+ if (((_c = slottedItem.node.parentElement) == null ? void 0 : _c.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
1416
+ slottedItem.node.removeAttribute("slot");
1417
+ }
1402
1418
  {
1403
1419
  patchSlottedNode(slottedItem.node);
1404
1420
  }
1405
1421
  }
1406
- if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
1407
- hostEle.appendChild(slottedItem.node);
1408
- }
1409
1422
  }
1410
1423
  }
1411
1424
  if (scopeId2 && slotNodes.length) {
@@ -1413,25 +1426,27 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
1413
1426
  slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
1414
1427
  });
1415
1428
  }
1416
- if (shadowRoot && !shadowRoot.childNodes.length) {
1429
+ if (shadowRoot) {
1417
1430
  let rnIdex = 0;
1418
1431
  const rnLen = shadowRootNodes.length;
1419
1432
  if (rnLen) {
1420
1433
  for (rnIdex; rnIdex < rnLen; rnIdex++) {
1421
- shadowRoot.appendChild(shadowRootNodes[rnIdex]);
1434
+ const node = shadowRootNodes[rnIdex];
1435
+ if (node) {
1436
+ shadowRoot.appendChild(node);
1437
+ }
1422
1438
  }
1423
1439
  Array.from(hostElm.childNodes).forEach((node) => {
1424
- if (typeof node["s-sn"] !== "string") {
1440
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
1425
1441
  if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
1426
1442
  node.removeAttribute("hidden");
1427
- } else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1443
+ } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1428
1444
  node.parentNode.removeChild(node);
1429
1445
  }
1430
1446
  }
1431
1447
  });
1432
1448
  }
1433
1449
  }
1434
- plt.$orgLocNodes$.delete(hostElm["s-id"]);
1435
1450
  hostRef.$hostElement$ = hostElm;
1436
1451
  endHydrate();
1437
1452
  };
@@ -1463,7 +1478,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1463
1478
  if (!parentVNode.$children$) {
1464
1479
  parentVNode.$children$ = [];
1465
1480
  }
1466
- if (scopeId2) {
1481
+ if (scopeId2 && childIdSplt[0] === hostId) {
1467
1482
  node["s-si"] = scopeId2;
1468
1483
  childVNode.$attrs$.class += " " + scopeId2;
1469
1484
  }
@@ -1593,7 +1608,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1593
1608
  vnode.$index$ = "0";
1594
1609
  parentVNode.$children$ = [vnode];
1595
1610
  } else {
1596
- if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
1611
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
1597
1612
  node.remove();
1598
1613
  }
1599
1614
  }
@@ -1651,10 +1666,10 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1651
1666
  if (childVNode.$name$) {
1652
1667
  childVNode.$elm$.setAttribute("name", slotName);
1653
1668
  }
1654
- if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
1655
- parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1669
+ if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1670
+ internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1656
1671
  } else {
1657
- node.parentNode.insertBefore(childVNode.$elm$, node);
1672
+ internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1658
1673
  }
1659
1674
  addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1660
1675
  node.remove();
@@ -1669,8 +1684,8 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1669
1684
  if (shouldMove) {
1670
1685
  parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1671
1686
  }
1672
- childRenderNodes.push(childVNode);
1673
1687
  }
1688
+ childRenderNodes.push(childVNode);
1674
1689
  slotNodes.push(childVNode);
1675
1690
  if (!parentVNode.$children$) {
1676
1691
  parentVNode.$children$ = [];
@@ -1678,13 +1693,17 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
1678
1693
  parentVNode.$children$[childVNode.$index$] = childVNode;
1679
1694
  }
1680
1695
  var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1696
+ var _a, _b;
1681
1697
  let slottedNode = slotNode.nextSibling;
1682
1698
  slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1683
- while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
1684
- slottedNode["s-sn"] = slotName;
1685
- slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1686
- slottedNode = slottedNode.nextSibling;
1687
- }
1699
+ if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1700
+ do {
1701
+ 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 */))) {
1702
+ slottedNode["s-sn"] = slotName;
1703
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1704
+ }
1705
+ slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1706
+ } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1688
1707
  };
1689
1708
  var findCorrespondingNode = (node, type) => {
1690
1709
  let sibling = node;
@@ -1709,22 +1728,26 @@ createSupportsRuleRe(":host-context");
1709
1728
  // src/runtime/mode.ts
1710
1729
  var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
1711
1730
  var setMode = (handler) => modeResolutionChain.push(handler);
1712
- var getMode = (ref) => getHostRef(ref).$modeName$;
1713
- var parsePropertyValue = (propValue, propType) => {
1714
- if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1715
- try {
1716
- propValue = JSON.parse(propValue);
1717
- return propValue;
1718
- } catch (e) {
1719
- }
1720
- }
1731
+ var getMode = (ref) => {
1732
+ var _a;
1733
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
1734
+ };
1735
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1721
1736
  if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1722
1737
  propValue = deserializeProperty(propValue);
1723
1738
  return propValue;
1724
1739
  }
1740
+ if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1741
+ try {
1742
+ return JSON.parse(propValue);
1743
+ } catch (e) {
1744
+ }
1745
+ }
1725
1746
  if (propValue != null && !isComplexType(propValue)) {
1726
1747
  if (propType & 4 /* Boolean */) {
1727
- return propValue === "false" ? false : propValue === "" || !!propValue;
1748
+ {
1749
+ return propValue === "false" ? false : propValue === "" || !!propValue;
1750
+ }
1728
1751
  }
1729
1752
  if (propType & 2 /* Number */) {
1730
1753
  return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
@@ -1736,7 +1759,10 @@ var parsePropertyValue = (propValue, propType) => {
1736
1759
  }
1737
1760
  return propValue;
1738
1761
  };
1739
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
1762
+ var getElement = (ref) => {
1763
+ var _a;
1764
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
1765
+ };
1740
1766
 
1741
1767
  // src/runtime/event-emitter.ts
1742
1768
  var createEvent = (ref, name, flags) => {
@@ -1757,117 +1783,6 @@ var emitEvent = (elm, name, opts) => {
1757
1783
  elm.dispatchEvent(ev);
1758
1784
  return ev;
1759
1785
  };
1760
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1761
- var registerStyle = (scopeId2, cssText, allowCS) => {
1762
- let style = styles.get(scopeId2);
1763
- if (supportsConstructableStylesheets && allowCS) {
1764
- style = style || new CSSStyleSheet();
1765
- if (typeof style === "string") {
1766
- style = cssText;
1767
- } else {
1768
- style.replaceSync(cssText);
1769
- }
1770
- } else {
1771
- style = cssText;
1772
- }
1773
- styles.set(scopeId2, style);
1774
- };
1775
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
1776
- var _a;
1777
- const scopeId2 = getScopeId(cmpMeta, mode);
1778
- const style = styles.get(scopeId2);
1779
- if (!win.document) {
1780
- return scopeId2;
1781
- }
1782
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1783
- if (style) {
1784
- if (typeof style === "string") {
1785
- styleContainerNode = styleContainerNode.head || styleContainerNode;
1786
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1787
- let styleElm;
1788
- if (!appliedStyles) {
1789
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1790
- }
1791
- if (!appliedStyles.has(scopeId2)) {
1792
- if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1793
- styleElm.innerHTML = style;
1794
- } else {
1795
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
1796
- styleElm.innerHTML = style;
1797
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1798
- if (nonce != null) {
1799
- styleElm.setAttribute("nonce", nonce);
1800
- }
1801
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1802
- if (styleContainerNode.nodeName === "HEAD") {
1803
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1804
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1805
- styleContainerNode.insertBefore(
1806
- styleElm,
1807
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1808
- );
1809
- } else if ("host" in styleContainerNode) {
1810
- if (supportsConstructableStylesheets) {
1811
- const stylesheet = new CSSStyleSheet();
1812
- stylesheet.replaceSync(style);
1813
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1814
- } else {
1815
- const existingStyleContainer = styleContainerNode.querySelector("style");
1816
- if (existingStyleContainer) {
1817
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1818
- } else {
1819
- styleContainerNode.prepend(styleElm);
1820
- }
1821
- }
1822
- } else {
1823
- styleContainerNode.append(styleElm);
1824
- }
1825
- }
1826
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1827
- styleContainerNode.insertBefore(styleElm, null);
1828
- }
1829
- }
1830
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1831
- styleElm.innerHTML += SLOT_FB_CSS;
1832
- }
1833
- if (appliedStyles) {
1834
- appliedStyles.add(scopeId2);
1835
- }
1836
- }
1837
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1838
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1839
- }
1840
- }
1841
- return scopeId2;
1842
- };
1843
- var attachStyles = (hostRef) => {
1844
- const cmpMeta = hostRef.$cmpMeta$;
1845
- const elm = hostRef.$hostElement$;
1846
- const flags = cmpMeta.$flags$;
1847
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1848
- const scopeId2 = addStyle(
1849
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1850
- cmpMeta,
1851
- hostRef.$modeName$
1852
- );
1853
- if (flags & 10 /* needsScopedEncapsulation */) {
1854
- elm["s-sc"] = scopeId2;
1855
- elm.classList.add(scopeId2 + "-h");
1856
- }
1857
- endAttachStyles();
1858
- };
1859
- var getScopeId = (cmp, mode) => "sc-" + (mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1860
- var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1861
- var hydrateScopedToShadow = () => {
1862
- if (!win.document) {
1863
- return;
1864
- }
1865
- const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1866
- let i2 = 0;
1867
- for (; i2 < styles2.length; i2++) {
1868
- registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1869
- }
1870
- };
1871
1786
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1872
1787
  if (oldValue === newValue) {
1873
1788
  return;
@@ -1878,12 +1793,13 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
1878
1793
  const classList = elm.classList;
1879
1794
  const oldClasses = parseClassList(oldValue);
1880
1795
  let newClasses = parseClassList(newValue);
1881
- if (elm["s-si"] && initialRender) {
1882
- newClasses.push(elm["s-si"]);
1796
+ if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1797
+ const scopeId2 = elm["s-sc"] || elm["s-si"];
1798
+ newClasses.push(scopeId2);
1883
1799
  oldClasses.forEach((c) => {
1884
- if (c.startsWith(elm["s-si"])) newClasses.push(c);
1800
+ if (c.startsWith(scopeId2)) newClasses.push(c);
1885
1801
  });
1886
- newClasses = [...new Set(newClasses)];
1802
+ newClasses = [...new Set(newClasses)].filter((c) => c);
1887
1803
  classList.add(...newClasses);
1888
1804
  } else {
1889
1805
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
@@ -2353,6 +2269,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
2353
2269
  !isInitialRender && BUILD.updatable && oldChildren !== null
2354
2270
  ) {
2355
2271
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
2272
+ } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
2273
+ newVNode2.$children$ = oldChildren;
2356
2274
  }
2357
2275
  if (isSvgMode && tag === "svg") {
2358
2276
  isSvgMode = false;
@@ -2591,6 +2509,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
2591
2509
  }
2592
2510
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
2593
2511
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
2512
+ if (isInitialLoad) {
2513
+ queueMicrotask(() => {
2514
+ dispatch();
2515
+ });
2516
+ return;
2517
+ }
2594
2518
  return writeTask(dispatch) ;
2595
2519
  };
2596
2520
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -2714,9 +2638,10 @@ var postUpdateComponent = (hostRef) => {
2714
2638
  }
2715
2639
  };
2716
2640
  var forceUpdate = (ref) => {
2641
+ var _a;
2717
2642
  {
2718
2643
  const hostRef = getHostRef(ref);
2719
- const isConnected = hostRef.$hostElement$.isConnected;
2644
+ const isConnected = (_a = hostRef == null ? void 0 : hostRef.$hostElement$) == null ? void 0 : _a.isConnected;
2720
2645
  if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
2721
2646
  scheduleUpdate(hostRef, false);
2722
2647
  }
@@ -2724,7 +2649,13 @@ var forceUpdate = (ref) => {
2724
2649
  }
2725
2650
  };
2726
2651
  var appDidLoad = (who) => {
2652
+ var _a;
2727
2653
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
2654
+ {
2655
+ if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
2656
+ plt.$orgLocNodes$.clear();
2657
+ }
2658
+ }
2728
2659
  };
2729
2660
  var safeCall = (instance, method, arg, elm) => {
2730
2661
  if (instance && instance[method]) {
@@ -2745,6 +2676,9 @@ var addHydratedFlag = (elm) => {
2745
2676
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
2746
2677
  var setValue = (ref, propName, newVal, cmpMeta) => {
2747
2678
  const hostRef = getHostRef(ref);
2679
+ if (!hostRef) {
2680
+ return;
2681
+ }
2748
2682
  if (!hostRef) {
2749
2683
  throw new Error(
2750
2684
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
@@ -2754,7 +2688,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2754
2688
  const oldVal = hostRef.$instanceValues$.get(propName);
2755
2689
  const flags = hostRef.$flags$;
2756
2690
  const instance = hostRef.$lazyInstance$ ;
2757
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
2691
+ newVal = parsePropertyValue(
2692
+ newVal,
2693
+ cmpMeta.$members$[propName][0]);
2758
2694
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
2759
2695
  const didValueChange = newVal !== oldVal && !areBothNaN;
2760
2696
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -2818,6 +2754,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2818
2754
  Object.defineProperty(prototype, memberName, {
2819
2755
  set(newValue) {
2820
2756
  const ref = getHostRef(this);
2757
+ if (!ref) {
2758
+ return;
2759
+ }
2821
2760
  if (origSetter) {
2822
2761
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2823
2762
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
@@ -2825,7 +2764,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2825
2764
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2826
2765
  ref.$instanceValues$.set(memberName, currentValue);
2827
2766
  }
2828
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
2767
+ origSetter.apply(this, [
2768
+ parsePropertyValue(
2769
+ newValue,
2770
+ memberFlags)
2771
+ ]);
2829
2772
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2830
2773
  setValue(this, memberName, newValue, cmpMeta);
2831
2774
  return;
@@ -2847,7 +2790,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2847
2790
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
2848
2791
  ref.$instanceValues$.set(memberName, currentValue);
2849
2792
  }
2850
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
2793
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
2794
+ newValue,
2795
+ memberFlags);
2851
2796
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
2852
2797
  };
2853
2798
  if (ref.$lazyInstance$) {
@@ -2886,7 +2831,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2886
2831
  } else if (propName == null) {
2887
2832
  const hostRef = getHostRef(this);
2888
2833
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2889
- if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2834
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2890
2835
  const instance = hostRef.$lazyInstance$ ;
2891
2836
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2892
2837
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -3006,6 +2951,9 @@ var fireConnectedCallback = (instance, elm) => {
3006
2951
  var connectedCallback = (elm) => {
3007
2952
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
3008
2953
  const hostRef = getHostRef(elm);
2954
+ if (!hostRef) {
2955
+ return;
2956
+ }
3009
2957
  const cmpMeta = hostRef.$cmpMeta$;
3010
2958
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
3011
2959
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -3081,7 +3029,7 @@ var disconnectedCallback = async (elm) => {
3081
3029
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
3082
3030
  const hostRef = getHostRef(elm);
3083
3031
  {
3084
- if (hostRef.$rmListeners$) {
3032
+ if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
3085
3033
  hostRef.$rmListeners$.map((rmListener) => rmListener());
3086
3034
  hostRef.$rmListeners$ = void 0;
3087
3035
  }
@@ -3174,6 +3122,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3174
3122
  }
3175
3123
  connectedCallback() {
3176
3124
  const hostRef = getHostRef(this);
3125
+ if (!hostRef) {
3126
+ return;
3127
+ }
3177
3128
  if (!this.hasRegisteredEventListeners) {
3178
3129
  this.hasRegisteredEventListeners = true;
3179
3130
  addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
@@ -3193,6 +3144,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3193
3144
  plt.raf(() => {
3194
3145
  var _a3;
3195
3146
  const hostRef = getHostRef(this);
3147
+ if (!hostRef) {
3148
+ return;
3149
+ }
3196
3150
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
3197
3151
  if (i2 > -1) {
3198
3152
  deferredConnectedCallbacks.splice(i2, 1);
@@ -3203,11 +3157,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
3203
3157
  });
3204
3158
  }
3205
3159
  componentOnReady() {
3206
- return getHostRef(this).$onReadyPromise$;
3160
+ var _a3;
3161
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
3207
3162
  }
3208
3163
  };
3209
- {
3210
- if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
3164
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
3165
+ {
3211
3166
  patchPseudoShadowDom(HostElement.prototype);
3212
3167
  }
3213
3168
  }
@@ -3295,4 +3250,4 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
3295
3250
  // src/runtime/nonce.ts
3296
3251
  var setNonce = (nonce) => plt.$nonce$ = nonce;
3297
3252
 
3298
- export { Build as B, Fragment as F, H, LogLevel as L, isPlatform as a, bootstrapLazy as b, getPlatforms as c, createEvent as d, getIonMode as e, readTask as f, globalScripts as g, h, initialize as i, Host as j, getElement as k, config as l, printIonWarning as m, forceUpdate as n, printIonError as o, promiseResolve as p, getAssetPath as q, registerInstance as r, setNonce as s, printRequiredElementError as t, writeTask as w };
3253
+ export { Build as B, Fragment as F, H, LogLevel as L, readTask as a, bootstrapLazy as b, createEvent as c, Host as d, config as e, printIonWarning as f, getElement as g, h, forceUpdate as i, printIonError as j, getAssetPath as k, configFromSession as l, configFromURL as m, saveConfig as n, getMode as o, promiseResolve as p, setMode as q, registerInstance as r, setNonce as s, printRequiredElementError as t, writeTask as w };