@affinda/wc 0.4.2 → 0.5.0

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 (439) hide show
  1. package/dist/affinda/affinda.esm.js +1 -1
  2. package/dist/affinda/index.esm.js +1 -1
  3. package/dist/affinda/{p-8fe10b18.entry.js → p-02c6f6d1.entry.js} +2 -2
  4. package/dist/affinda/{p-5885ebd3.entry.js → p-0c7d81d0.entry.js} +2 -2
  5. package/dist/affinda/{p-d40f8d18.entry.js → p-1554f3d7.entry.js} +2 -2
  6. package/dist/affinda/{p-0254b263.entry.js → p-15a1d019.entry.js} +2 -2
  7. package/dist/affinda/{p-4f731d31.entry.js → p-1819ae80.entry.js} +2 -2
  8. package/dist/affinda/{p-6898d4bd.entry.js → p-1a71d0f9.entry.js} +2 -2
  9. package/dist/affinda/{p-4f15b8f0.entry.js → p-1e59a051.entry.js} +2 -2
  10. package/dist/affinda/{p-c0f71971.entry.js → p-1f2f7fff.entry.js} +2 -2
  11. package/dist/affinda/{p-7eb0875d.entry.js → p-20faf28d.entry.js} +2 -2
  12. package/dist/affinda/{p-42c4d7b1.entry.js → p-2716cdc4.entry.js} +2 -2
  13. package/dist/affinda/{p-62eb01fa.entry.js → p-3084cb0f.entry.js} +2 -2
  14. package/dist/affinda/{p-8a2cbcf0.entry.js → p-31d96ddc.entry.js} +2 -2
  15. package/dist/affinda/{p-aa9c2609.entry.js → p-374f9557.entry.js} +2 -2
  16. package/dist/affinda/{p-15eac0d5.entry.js → p-3fd3d4cd.entry.js} +2 -2
  17. package/dist/affinda/{p-b13c1438.entry.js → p-41580a3c.entry.js} +2 -2
  18. package/dist/affinda/{p-43a0286a.entry.js → p-47d2f72b.entry.js} +2 -2
  19. package/dist/affinda/{p-9dfb5fab.entry.js → p-50e12df0.entry.js} +2 -2
  20. package/dist/affinda/{p-b69bce30.entry.js → p-54dc41a9.entry.js} +2 -2
  21. package/dist/affinda/{p-283a9dec.entry.js → p-56e96bd3.entry.js} +2 -2
  22. package/dist/affinda/{p-3cd4edd0.entry.js → p-5834ffe7.entry.js} +2 -2
  23. package/dist/affinda/{p-a35ab849.entry.js → p-5e966aa6.entry.js} +2 -2
  24. package/dist/affinda/{p-dd933272.entry.js → p-616e0116.entry.js} +2 -2
  25. package/dist/affinda/{p-3b429a16.entry.js → p-64159112.entry.js} +2 -2
  26. package/dist/affinda/{p-606159d2.entry.js → p-656630fc.entry.js} +2 -2
  27. package/dist/affinda/{p-3a7afe33.entry.js → p-67b08108.entry.js} +2 -2
  28. package/dist/affinda/{p-5e01b103.entry.js → p-6ff65e42.entry.js} +2 -2
  29. package/dist/affinda/{p-369dfdd8.entry.js → p-75d76909.entry.js} +2 -2
  30. package/dist/affinda/{p-b82fc7f1.entry.js → p-761f06ae.entry.js} +2 -2
  31. package/dist/affinda/{p-d9ff321b.entry.js → p-7b08b7ba.entry.js} +2 -2
  32. package/dist/affinda/{p-db7eb209.entry.js → p-7eff3490.entry.js} +2 -2
  33. package/dist/affinda/{p-7faa3fb9.entry.js → p-838bbc80.entry.js} +2 -2
  34. package/dist/affinda/{p-d12d33c8.entry.js → p-88f38401.entry.js} +2 -2
  35. package/dist/affinda/{p-b2a41a48.entry.js → p-8b0d08de.entry.js} +2 -2
  36. package/dist/affinda/{p-f5b4923f.entry.js → p-8f36e911.entry.js} +2 -2
  37. package/dist/affinda/{p-73de3aa7.entry.js → p-919e2144.entry.js} +2 -2
  38. package/dist/affinda/{p-08a42935.entry.js → p-92c61bad.entry.js} +2 -2
  39. package/dist/affinda/{p-646b73fb.entry.js → p-94119fa2.entry.js} +2 -2
  40. package/dist/affinda/{p-6949fbdf.entry.js → p-95da58f3.entry.js} +2 -2
  41. package/dist/affinda/{p-4ff626de.entry.js → p-976e0c29.entry.js} +2 -2
  42. package/dist/affinda/{p-1efa4787.entry.js → p-99b37588.entry.js} +2 -2
  43. package/dist/affinda/p-CYq0zyKH.js +3 -0
  44. package/dist/affinda/p-CYq0zyKH.js.map +1 -0
  45. package/dist/affinda/{p-988fb256.entry.js → p-a196f362.entry.js} +2 -2
  46. package/dist/affinda/{p-91b71a8f.entry.js → p-a3ed4092.entry.js} +2 -2
  47. package/dist/affinda/{p-a70ce66f.entry.js → p-a4b36eb7.entry.js} +2 -2
  48. package/dist/affinda/{p-27026c90.entry.js → p-a6be61c2.entry.js} +2 -2
  49. package/dist/affinda/{p-bc1088a7.entry.js → p-a79077d5.entry.js} +2 -2
  50. package/dist/affinda/{p-cebfc8a9.entry.js → p-b31e438d.entry.js} +2 -2
  51. package/dist/affinda/{p-64f24ab4.entry.js → p-b77fa201.entry.js} +2 -2
  52. package/dist/affinda/{p-6de54e73.entry.js → p-bb80195f.entry.js} +2 -2
  53. package/dist/affinda/{p-7640c285.entry.js → p-bc59dc0e.entry.js} +2 -2
  54. package/dist/affinda/{p-d275fb5d.entry.js → p-be219843.entry.js} +2 -2
  55. package/dist/affinda/{p-17c2999b.entry.js → p-c15d00b5.entry.js} +2 -2
  56. package/dist/affinda/{p-02427605.entry.js → p-c23d7aa5.entry.js} +2 -2
  57. package/dist/affinda/{p-6df7b689.entry.js → p-c2a6c874.entry.js} +2 -2
  58. package/dist/affinda/{p-d34da6c0.entry.js → p-c6aa66f3.entry.js} +2 -2
  59. package/dist/affinda/{p-2d5eb5ac.entry.js → p-c925d301.entry.js} +2 -2
  60. package/dist/affinda/{p-42c69bc9.entry.js → p-cc2539de.entry.js} +2 -2
  61. package/dist/affinda/{p-972984a9.entry.js → p-cd21a62a.entry.js} +2 -2
  62. package/dist/affinda/{p-4f422489.entry.js → p-cea1c1ff.entry.js} +2 -2
  63. package/dist/affinda/{p-1aa795c7.entry.js → p-d573d115.entry.js} +2 -2
  64. package/dist/affinda/{p-c2c16447.entry.js → p-d9b0f217.entry.js} +2 -2
  65. package/dist/affinda/{p-f76ef563.entry.js → p-df10dee2.entry.js} +2 -2
  66. package/dist/affinda/{p-09e202d1.entry.js → p-e057ebf1.entry.js} +2 -2
  67. package/dist/affinda/{p-df6c7170.entry.js → p-e10c03b6.entry.js} +2 -2
  68. package/dist/affinda/{p-78941fec.entry.js → p-ea5aea86.entry.js} +2 -2
  69. package/dist/affinda/{p-8eb60b77.entry.js → p-eca85313.entry.js} +2 -2
  70. package/dist/affinda/{p-bdb3e590.entry.js → p-f1705df1.entry.js} +2 -2
  71. package/dist/affinda/{p-a326d8f6.entry.js → p-f38688c6.entry.js} +2 -2
  72. package/dist/affinda/p-fd772af4.entry.js +2 -0
  73. package/dist/affinda/{p-4ccc3147.entry.js → p-fe09a283.entry.js} +2 -2
  74. package/dist/cjs/af-accordion-item.cjs.entry.js +1 -1
  75. package/dist/cjs/af-accordion.cjs.entry.js +1 -1
  76. package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
  77. package/dist/cjs/af-button-group.cjs.entry.js +1 -1
  78. package/dist/cjs/af-button.cjs.entry.js +1 -1
  79. package/dist/cjs/af-card.cjs.entry.js +1 -1
  80. package/dist/cjs/af-center.cjs.entry.js +1 -1
  81. package/dist/cjs/af-checkbox.cjs.entry.js +1 -1
  82. package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
  83. package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
  84. package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
  85. package/dist/cjs/af-container.cjs.entry.js +1 -1
  86. package/dist/cjs/af-divider.cjs.entry.js +1 -1
  87. package/dist/cjs/af-feature-accordion.cjs.entry.js +1 -1
  88. package/dist/cjs/af-feature-card.cjs.entry.js +1 -1
  89. package/dist/cjs/af-feature-grid.cjs.entry.js +1 -1
  90. package/dist/cjs/af-fieldset.cjs.entry.js +1 -1
  91. package/dist/cjs/af-footer-column.cjs.entry.js +1 -1
  92. package/dist/cjs/af-footer-link.cjs.entry.js +1 -1
  93. package/dist/cjs/af-footer.cjs.entry.js +1 -1
  94. package/dist/cjs/af-grid-callout.cjs.entry.js +1 -1
  95. package/dist/cjs/af-grid.cjs.entry.js +1 -1
  96. package/dist/cjs/af-heading_5.cjs.entry.js +1 -1
  97. package/dist/cjs/af-hero.cjs.entry.js +1 -1
  98. package/dist/cjs/af-icon-box.cjs.entry.js +1 -1
  99. package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
  100. package/dist/cjs/af-icon-text.cjs.entry.js +1 -1
  101. package/dist/cjs/af-icon.cjs.entry.js +1 -1
  102. package/dist/cjs/af-illustrated-card.cjs.entry.js +1 -1
  103. package/dist/cjs/af-image.cjs.entry.js +1 -1
  104. package/dist/cjs/af-in-page-banner.cjs.entry.js +1 -1
  105. package/dist/cjs/af-inline.cjs.entry.js +1 -1
  106. package/dist/cjs/af-input.cjs.entry.js +1 -1
  107. package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
  108. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +1 -1
  109. package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
  110. package/dist/cjs/af-nav-card.cjs.entry.js +1 -1
  111. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +1 -1
  112. package/dist/cjs/af-nav-menu.cjs.entry.js +1 -1
  113. package/dist/cjs/af-number-badge.cjs.entry.js +1 -1
  114. package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/af-numbered-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/af-paperclip-decoration.cjs.entry.js +1 -1
  117. package/dist/cjs/af-progress-line.cjs.entry.js +1 -1
  118. package/dist/cjs/af-radio.cjs.entry.js +1 -1
  119. package/dist/cjs/af-section.cjs.entry.js +1 -1
  120. package/dist/cjs/af-show.cjs.entry.js +1 -1
  121. package/dist/cjs/af-social-link.cjs.entry.js +1 -1
  122. package/dist/cjs/af-spacer.cjs.entry.js +1 -1
  123. package/dist/cjs/af-split-section.cjs.entry.js +1 -1
  124. package/dist/cjs/af-stack.cjs.entry.js +1 -1
  125. package/dist/cjs/af-stat.cjs.entry.js +1 -1
  126. package/dist/cjs/af-stats-row.cjs.entry.js +1 -1
  127. package/dist/cjs/af-stepper-step.cjs.entry.js +1 -1
  128. package/dist/cjs/af-stepper.cjs.entry.js +1 -1
  129. package/dist/cjs/af-switch.cjs.entry.js +1 -1
  130. package/dist/cjs/af-tab-bar.cjs.entry.js +1 -1
  131. package/dist/cjs/af-tab.cjs.entry.js +1 -1
  132. package/dist/cjs/af-tag.cjs.entry.js +1 -1
  133. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +1 -1
  134. package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
  135. package/dist/cjs/af-testimonial.cjs.entry.js +1 -1
  136. package/dist/cjs/af-text-image-nest.cjs.entry.js +1 -1
  137. package/dist/cjs/af-text-image.cjs.entry.js +1 -1
  138. package/dist/cjs/af-textarea.cjs.entry.js +1 -1
  139. package/dist/cjs/af-theme-override.cjs.entry.js +1 -1
  140. package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
  141. package/dist/cjs/af-video-container.cjs.entry.js +1 -1
  142. package/dist/cjs/af-visually-hidden.cjs.entry.js +1 -1
  143. package/dist/cjs/affinda.cjs.js +1 -1
  144. package/dist/cjs/{index-3161MbMQ.js → index-BuJz1C1M.js} +647 -9
  145. package/dist/cjs/index-BuJz1C1M.js.map +1 -0
  146. package/dist/cjs/index.cjs.js +1 -1
  147. package/dist/cjs/loader.cjs.js +1 -1
  148. package/dist/components/af-accordion-item.js +1 -1
  149. package/dist/components/af-accordion.js +1 -1
  150. package/dist/components/af-aspect-ratio.js +1 -1
  151. package/dist/components/af-button-group.js +1 -1
  152. package/dist/components/af-button.js +1 -1
  153. package/dist/components/af-card.js +1 -1
  154. package/dist/components/af-center.js +1 -1
  155. package/dist/components/af-checkbox.js +1 -1
  156. package/dist/components/af-client-carousel.js +1 -1
  157. package/dist/components/af-color-swatch.js +1 -1
  158. package/dist/components/af-contact-item.js +1 -1
  159. package/dist/components/af-container.js +1 -1
  160. package/dist/components/af-divider.js +1 -1
  161. package/dist/components/af-feature-accordion.js +1 -1
  162. package/dist/components/af-feature-card.js +1 -1
  163. package/dist/components/af-feature-grid.js +2 -2
  164. package/dist/components/af-fieldset.js +1 -1
  165. package/dist/components/af-footer-column.js +1 -1
  166. package/dist/components/af-footer-link.js +1 -1
  167. package/dist/components/af-footer.js +1 -1
  168. package/dist/components/af-grid-callout.js +2 -2
  169. package/dist/components/af-grid.js +1 -1
  170. package/dist/components/af-heading.js +1 -1
  171. package/dist/components/af-hero.js +1 -1
  172. package/dist/components/af-icon-box.js +1 -1
  173. package/dist/components/af-icon-button.js +1 -1
  174. package/dist/components/af-icon-text.js +4 -4
  175. package/dist/components/af-icon.js +1 -1
  176. package/dist/components/af-illustrated-card.js +1 -1
  177. package/dist/components/af-image.js +1 -1
  178. package/dist/components/af-in-page-banner.js +2 -2
  179. package/dist/components/af-inline.js +1 -1
  180. package/dist/components/af-input.js +1 -1
  181. package/dist/components/af-logo-well.js +1 -1
  182. package/dist/components/af-logo.js +1 -1
  183. package/dist/components/af-nav-accordion-item.js +1 -1
  184. package/dist/components/af-nav-accordion.js +1 -1
  185. package/dist/components/af-nav-card.js +1 -1
  186. package/dist/components/af-nav-item.js +1 -1
  187. package/dist/components/af-nav-menu-nest.js +1 -1
  188. package/dist/components/af-nav-menu.js +1 -1
  189. package/dist/components/af-navbar.js +1 -1
  190. package/dist/components/af-number-badge.js +1 -1
  191. package/dist/components/af-numbered-stepper-item.js +3 -3
  192. package/dist/components/af-numbered-stepper.js +1 -1
  193. package/dist/components/af-paperclip-decoration.js +1 -1
  194. package/dist/components/af-progress-line.js +1 -1
  195. package/dist/components/af-radio.js +1 -1
  196. package/dist/components/af-section.js +1 -1
  197. package/dist/components/af-show.js +1 -1
  198. package/dist/components/af-social-link.js +1 -1
  199. package/dist/components/af-spacer.js +1 -1
  200. package/dist/components/af-split-section.js +2 -2
  201. package/dist/components/af-stack.js +1 -1
  202. package/dist/components/af-stat.js +3 -3
  203. package/dist/components/af-stats-row.js +1 -1
  204. package/dist/components/af-stepper-step.js +1 -1
  205. package/dist/components/af-stepper.js +1 -1
  206. package/dist/components/af-switch.js +1 -1
  207. package/dist/components/af-tab-bar.js +1 -1
  208. package/dist/components/af-tab.js +1 -1
  209. package/dist/components/af-tag.js +1 -1
  210. package/dist/components/af-testimonial-carousel.js +2 -2
  211. package/dist/components/af-testimonial-stat.js +3 -3
  212. package/dist/components/af-testimonial.js +4 -4
  213. package/dist/components/af-text-image-nest.js +1 -1
  214. package/dist/components/af-text-image.js +2 -2
  215. package/dist/components/af-text.js +1 -1
  216. package/dist/components/af-textarea.js +1 -1
  217. package/dist/components/af-theme-override.js +1 -1
  218. package/dist/components/af-typography-lockup.js +1 -1
  219. package/dist/components/af-video-container.js +3 -3
  220. package/dist/components/af-visually-hidden.js +1 -1
  221. package/dist/components/index.js +25 -25
  222. package/dist/components/{p-BuiXTazC.js → p-B7J9U9if.js} +3 -3
  223. package/dist/components/{p-BuiXTazC.js.map → p-B7J9U9if.js.map} +1 -1
  224. package/dist/components/{p-CZdcAZe_.js → p-BExjo6P2.js} +4 -4
  225. package/dist/components/{p-CZdcAZe_.js.map → p-BExjo6P2.js.map} +1 -1
  226. package/dist/components/{p-BkTUo72F.js → p-B_r5b4JI.js} +3 -3
  227. package/dist/components/{p-BkTUo72F.js.map → p-B_r5b4JI.js.map} +1 -1
  228. package/dist/components/{p-C_y6F4SM.js → p-Bebi4EvS.js} +3 -3
  229. package/dist/components/{p-C_y6F4SM.js.map → p-Bebi4EvS.js.map} +1 -1
  230. package/dist/components/{p-QpoTJlVn.js → p-BipyebXl.js} +3 -3
  231. package/dist/components/{p-QpoTJlVn.js.map → p-BipyebXl.js.map} +1 -1
  232. package/dist/components/{p-CiY0Twna.js → p-Btpdr0Bi.js} +644 -9
  233. package/dist/components/p-Btpdr0Bi.js.map +1 -0
  234. package/dist/components/{p-CaHyFRpU.js → p-C05qWmXd.js} +3 -3
  235. package/dist/components/{p-CaHyFRpU.js.map → p-C05qWmXd.js.map} +1 -1
  236. package/dist/components/{p-G5cG9ahw.js → p-C1nX4HkM.js} +3 -3
  237. package/dist/components/{p-G5cG9ahw.js.map → p-C1nX4HkM.js.map} +1 -1
  238. package/dist/components/{p-DGlAo2Hc.js → p-C8HmyE5-.js} +3 -3
  239. package/dist/components/{p-DGlAo2Hc.js.map → p-C8HmyE5-.js.map} +1 -1
  240. package/dist/components/{p-DmlCoFGW.js → p-CMatO7AD.js} +3 -3
  241. package/dist/components/{p-DmlCoFGW.js.map → p-CMatO7AD.js.map} +1 -1
  242. package/dist/components/{p-DdH3uwBx.js → p-CPPy4ZvS.js} +4 -4
  243. package/dist/components/{p-DdH3uwBx.js.map → p-CPPy4ZvS.js.map} +1 -1
  244. package/dist/components/{p-DyqBBl8X.js → p-CY3F_EFI.js} +5 -5
  245. package/dist/components/{p-DyqBBl8X.js.map → p-CY3F_EFI.js.map} +1 -1
  246. package/dist/components/{p-B-hgy9Qr.js → p-CeWN48Eq.js} +3 -3
  247. package/dist/components/{p-B-hgy9Qr.js.map → p-CeWN48Eq.js.map} +1 -1
  248. package/dist/components/{p-CUmn76Kf.js → p-CkaL7yIW.js} +3 -3
  249. package/dist/components/{p-CUmn76Kf.js.map → p-CkaL7yIW.js.map} +1 -1
  250. package/dist/components/{p-B_32JVKl.js → p-CmOT3tAE.js} +3 -3
  251. package/dist/components/{p-B_32JVKl.js.map → p-CmOT3tAE.js.map} +1 -1
  252. package/dist/components/{p-B4IVxpr4.js → p-CmU4eYJE.js} +3 -3
  253. package/dist/components/{p-B4IVxpr4.js.map → p-CmU4eYJE.js.map} +1 -1
  254. package/dist/components/{p-BTZzBVqv.js → p-CxQXmlHR.js} +4 -4
  255. package/dist/components/{p-BTZzBVqv.js.map → p-CxQXmlHR.js.map} +1 -1
  256. package/dist/components/{p-Dye7hRk7.js → p-D1kXpb5A.js} +3 -3
  257. package/dist/components/{p-Dye7hRk7.js.map → p-D1kXpb5A.js.map} +1 -1
  258. package/dist/components/{p-CeBCwjRf.js → p-D5-m35gX.js} +3 -3
  259. package/dist/components/{p-CeBCwjRf.js.map → p-D5-m35gX.js.map} +1 -1
  260. package/dist/components/{p-DrCZBGKv.js → p-DBtE-heu.js} +5 -5
  261. package/dist/components/{p-DrCZBGKv.js.map → p-DBtE-heu.js.map} +1 -1
  262. package/dist/components/{p--aWqZ9H9.js → p-DMXuAjLo.js} +3 -3
  263. package/dist/components/{p--aWqZ9H9.js.map → p-DMXuAjLo.js.map} +1 -1
  264. package/dist/components/{p-CnbO_hx0.js → p-DNdQkidf.js} +3 -3
  265. package/dist/components/{p-CnbO_hx0.js.map → p-DNdQkidf.js.map} +1 -1
  266. package/dist/components/{p-DobkLkti.js → p-DOZPKyww.js} +3 -3
  267. package/dist/components/{p-DobkLkti.js.map → p-DOZPKyww.js.map} +1 -1
  268. package/dist/components/{p-DQF6qg3h.js → p-DUWgh2he.js} +3 -3
  269. package/dist/components/{p-DQF6qg3h.js.map → p-DUWgh2he.js.map} +1 -1
  270. package/dist/components/{p-DQFOagz0.js → p-Dd_y3e80.js} +3 -3
  271. package/dist/components/{p-DQFOagz0.js.map → p-Dd_y3e80.js.map} +1 -1
  272. package/dist/components/{p-BsHk9vlU.js → p-DinivoZj.js} +3 -3
  273. package/dist/components/{p-BsHk9vlU.js.map → p-DinivoZj.js.map} +1 -1
  274. package/dist/components/{p-DWD7Oc5l.js → p-DrEl4PxE.js} +3 -3
  275. package/dist/components/{p-DWD7Oc5l.js.map → p-DrEl4PxE.js.map} +1 -1
  276. package/dist/components/{p-CJU2A9Ab.js → p-DrXw6vxx.js} +3 -3
  277. package/dist/components/{p-CJU2A9Ab.js.map → p-DrXw6vxx.js.map} +1 -1
  278. package/dist/components/{p-Bx-hxLP0.js → p-FV14KcoH.js} +3 -3
  279. package/dist/components/{p-Bx-hxLP0.js.map → p-FV14KcoH.js.map} +1 -1
  280. package/dist/components/{p-BMs3J6ty.js → p-WJ7nfpxz.js} +6 -6
  281. package/dist/components/{p-BMs3J6ty.js.map → p-WJ7nfpxz.js.map} +1 -1
  282. package/dist/components/{p-CImZ9bq8.js → p-XmT5SQOF.js} +3 -3
  283. package/dist/components/{p-CImZ9bq8.js.map → p-XmT5SQOF.js.map} +1 -1
  284. package/dist/components/{p-DnDXrxJ7.js → p-joRNg4Kk.js} +3 -3
  285. package/dist/components/{p-DnDXrxJ7.js.map → p-joRNg4Kk.js.map} +1 -1
  286. package/dist/esm/af-accordion-item.entry.js +1 -1
  287. package/dist/esm/af-accordion.entry.js +1 -1
  288. package/dist/esm/af-aspect-ratio.entry.js +1 -1
  289. package/dist/esm/af-button-group.entry.js +1 -1
  290. package/dist/esm/af-button.entry.js +1 -1
  291. package/dist/esm/af-card.entry.js +1 -1
  292. package/dist/esm/af-center.entry.js +1 -1
  293. package/dist/esm/af-checkbox.entry.js +1 -1
  294. package/dist/esm/af-client-carousel.entry.js +1 -1
  295. package/dist/esm/af-color-swatch.entry.js +1 -1
  296. package/dist/esm/af-contact-item.entry.js +1 -1
  297. package/dist/esm/af-container.entry.js +1 -1
  298. package/dist/esm/af-divider.entry.js +1 -1
  299. package/dist/esm/af-feature-accordion.entry.js +1 -1
  300. package/dist/esm/af-feature-card.entry.js +1 -1
  301. package/dist/esm/af-feature-grid.entry.js +1 -1
  302. package/dist/esm/af-fieldset.entry.js +1 -1
  303. package/dist/esm/af-footer-column.entry.js +1 -1
  304. package/dist/esm/af-footer-link.entry.js +1 -1
  305. package/dist/esm/af-footer.entry.js +1 -1
  306. package/dist/esm/af-grid-callout.entry.js +1 -1
  307. package/dist/esm/af-grid.entry.js +1 -1
  308. package/dist/esm/af-heading_5.entry.js +1 -1
  309. package/dist/esm/af-hero.entry.js +1 -1
  310. package/dist/esm/af-icon-box.entry.js +1 -1
  311. package/dist/esm/af-icon-button.entry.js +1 -1
  312. package/dist/esm/af-icon-text.entry.js +1 -1
  313. package/dist/esm/af-icon.entry.js +1 -1
  314. package/dist/esm/af-illustrated-card.entry.js +1 -1
  315. package/dist/esm/af-image.entry.js +1 -1
  316. package/dist/esm/af-in-page-banner.entry.js +1 -1
  317. package/dist/esm/af-inline.entry.js +1 -1
  318. package/dist/esm/af-input.entry.js +1 -1
  319. package/dist/esm/af-logo-well.entry.js +1 -1
  320. package/dist/esm/af-nav-accordion-item.entry.js +1 -1
  321. package/dist/esm/af-nav-accordion.entry.js +1 -1
  322. package/dist/esm/af-nav-card.entry.js +1 -1
  323. package/dist/esm/af-nav-menu-nest.entry.js +1 -1
  324. package/dist/esm/af-nav-menu.entry.js +1 -1
  325. package/dist/esm/af-number-badge.entry.js +1 -1
  326. package/dist/esm/af-numbered-stepper-item.entry.js +1 -1
  327. package/dist/esm/af-numbered-stepper.entry.js +1 -1
  328. package/dist/esm/af-paperclip-decoration.entry.js +1 -1
  329. package/dist/esm/af-progress-line.entry.js +1 -1
  330. package/dist/esm/af-radio.entry.js +1 -1
  331. package/dist/esm/af-section.entry.js +1 -1
  332. package/dist/esm/af-show.entry.js +1 -1
  333. package/dist/esm/af-social-link.entry.js +1 -1
  334. package/dist/esm/af-spacer.entry.js +1 -1
  335. package/dist/esm/af-split-section.entry.js +1 -1
  336. package/dist/esm/af-stack.entry.js +1 -1
  337. package/dist/esm/af-stat.entry.js +1 -1
  338. package/dist/esm/af-stats-row.entry.js +1 -1
  339. package/dist/esm/af-stepper-step.entry.js +1 -1
  340. package/dist/esm/af-stepper.entry.js +1 -1
  341. package/dist/esm/af-switch.entry.js +1 -1
  342. package/dist/esm/af-tab-bar.entry.js +1 -1
  343. package/dist/esm/af-tab.entry.js +1 -1
  344. package/dist/esm/af-tag.entry.js +1 -1
  345. package/dist/esm/af-testimonial-carousel.entry.js +1 -1
  346. package/dist/esm/af-testimonial-stat.entry.js +1 -1
  347. package/dist/esm/af-testimonial.entry.js +1 -1
  348. package/dist/esm/af-text-image-nest.entry.js +1 -1
  349. package/dist/esm/af-text-image.entry.js +1 -1
  350. package/dist/esm/af-textarea.entry.js +1 -1
  351. package/dist/esm/af-theme-override.entry.js +1 -1
  352. package/dist/esm/af-typography-lockup.entry.js +1 -1
  353. package/dist/esm/af-video-container.entry.js +1 -1
  354. package/dist/esm/af-visually-hidden.entry.js +1 -1
  355. package/dist/esm/affinda.js +2 -2
  356. package/dist/esm/{index-C4WBekD2.js → index-CYq0zyKH.js} +647 -9
  357. package/dist/esm/index-CYq0zyKH.js.map +1 -0
  358. package/dist/esm/index.js +1 -1
  359. package/dist/esm/loader.js +2 -2
  360. package/dist/hydrate/index.d.ts +275 -0
  361. package/dist/hydrate/index.js +24871 -0
  362. package/dist/hydrate/index.mjs +24863 -0
  363. package/dist/hydrate/package.json +12 -0
  364. package/package.json +21 -1
  365. package/dist/affinda/p-C4WBekD2.js +0 -3
  366. package/dist/affinda/p-C4WBekD2.js.map +0 -1
  367. package/dist/affinda/p-d0fdef08.entry.js +0 -2
  368. package/dist/cjs/index-3161MbMQ.js.map +0 -1
  369. package/dist/components/p-CiY0Twna.js.map +0 -1
  370. package/dist/esm/index-C4WBekD2.js.map +0 -1
  371. /package/dist/affinda/{p-8fe10b18.entry.js.map → p-02c6f6d1.entry.js.map} +0 -0
  372. /package/dist/affinda/{p-5885ebd3.entry.js.map → p-0c7d81d0.entry.js.map} +0 -0
  373. /package/dist/affinda/{p-d40f8d18.entry.js.map → p-1554f3d7.entry.js.map} +0 -0
  374. /package/dist/affinda/{p-0254b263.entry.js.map → p-15a1d019.entry.js.map} +0 -0
  375. /package/dist/affinda/{p-4f731d31.entry.js.map → p-1819ae80.entry.js.map} +0 -0
  376. /package/dist/affinda/{p-6898d4bd.entry.js.map → p-1a71d0f9.entry.js.map} +0 -0
  377. /package/dist/affinda/{p-4f15b8f0.entry.js.map → p-1e59a051.entry.js.map} +0 -0
  378. /package/dist/affinda/{p-c0f71971.entry.js.map → p-1f2f7fff.entry.js.map} +0 -0
  379. /package/dist/affinda/{p-7eb0875d.entry.js.map → p-20faf28d.entry.js.map} +0 -0
  380. /package/dist/affinda/{p-42c4d7b1.entry.js.map → p-2716cdc4.entry.js.map} +0 -0
  381. /package/dist/affinda/{p-62eb01fa.entry.js.map → p-3084cb0f.entry.js.map} +0 -0
  382. /package/dist/affinda/{p-8a2cbcf0.entry.js.map → p-31d96ddc.entry.js.map} +0 -0
  383. /package/dist/affinda/{p-aa9c2609.entry.js.map → p-374f9557.entry.js.map} +0 -0
  384. /package/dist/affinda/{p-15eac0d5.entry.js.map → p-3fd3d4cd.entry.js.map} +0 -0
  385. /package/dist/affinda/{p-b13c1438.entry.js.map → p-41580a3c.entry.js.map} +0 -0
  386. /package/dist/affinda/{p-43a0286a.entry.js.map → p-47d2f72b.entry.js.map} +0 -0
  387. /package/dist/affinda/{p-9dfb5fab.entry.js.map → p-50e12df0.entry.js.map} +0 -0
  388. /package/dist/affinda/{p-b69bce30.entry.js.map → p-54dc41a9.entry.js.map} +0 -0
  389. /package/dist/affinda/{p-283a9dec.entry.js.map → p-56e96bd3.entry.js.map} +0 -0
  390. /package/dist/affinda/{p-3cd4edd0.entry.js.map → p-5834ffe7.entry.js.map} +0 -0
  391. /package/dist/affinda/{p-a35ab849.entry.js.map → p-5e966aa6.entry.js.map} +0 -0
  392. /package/dist/affinda/{p-dd933272.entry.js.map → p-616e0116.entry.js.map} +0 -0
  393. /package/dist/affinda/{p-3b429a16.entry.js.map → p-64159112.entry.js.map} +0 -0
  394. /package/dist/affinda/{p-606159d2.entry.js.map → p-656630fc.entry.js.map} +0 -0
  395. /package/dist/affinda/{p-3a7afe33.entry.js.map → p-67b08108.entry.js.map} +0 -0
  396. /package/dist/affinda/{p-5e01b103.entry.js.map → p-6ff65e42.entry.js.map} +0 -0
  397. /package/dist/affinda/{p-369dfdd8.entry.js.map → p-75d76909.entry.js.map} +0 -0
  398. /package/dist/affinda/{p-b82fc7f1.entry.js.map → p-761f06ae.entry.js.map} +0 -0
  399. /package/dist/affinda/{p-d9ff321b.entry.js.map → p-7b08b7ba.entry.js.map} +0 -0
  400. /package/dist/affinda/{p-db7eb209.entry.js.map → p-7eff3490.entry.js.map} +0 -0
  401. /package/dist/affinda/{p-7faa3fb9.entry.js.map → p-838bbc80.entry.js.map} +0 -0
  402. /package/dist/affinda/{p-d12d33c8.entry.js.map → p-88f38401.entry.js.map} +0 -0
  403. /package/dist/affinda/{p-b2a41a48.entry.js.map → p-8b0d08de.entry.js.map} +0 -0
  404. /package/dist/affinda/{p-f5b4923f.entry.js.map → p-8f36e911.entry.js.map} +0 -0
  405. /package/dist/affinda/{p-73de3aa7.entry.js.map → p-919e2144.entry.js.map} +0 -0
  406. /package/dist/affinda/{p-08a42935.entry.js.map → p-92c61bad.entry.js.map} +0 -0
  407. /package/dist/affinda/{p-646b73fb.entry.js.map → p-94119fa2.entry.js.map} +0 -0
  408. /package/dist/affinda/{p-6949fbdf.entry.js.map → p-95da58f3.entry.js.map} +0 -0
  409. /package/dist/affinda/{p-4ff626de.entry.js.map → p-976e0c29.entry.js.map} +0 -0
  410. /package/dist/affinda/{p-1efa4787.entry.js.map → p-99b37588.entry.js.map} +0 -0
  411. /package/dist/affinda/{p-988fb256.entry.js.map → p-a196f362.entry.js.map} +0 -0
  412. /package/dist/affinda/{p-91b71a8f.entry.js.map → p-a3ed4092.entry.js.map} +0 -0
  413. /package/dist/affinda/{p-a70ce66f.entry.js.map → p-a4b36eb7.entry.js.map} +0 -0
  414. /package/dist/affinda/{p-27026c90.entry.js.map → p-a6be61c2.entry.js.map} +0 -0
  415. /package/dist/affinda/{p-bc1088a7.entry.js.map → p-a79077d5.entry.js.map} +0 -0
  416. /package/dist/affinda/{p-cebfc8a9.entry.js.map → p-b31e438d.entry.js.map} +0 -0
  417. /package/dist/affinda/{p-64f24ab4.entry.js.map → p-b77fa201.entry.js.map} +0 -0
  418. /package/dist/affinda/{p-6de54e73.entry.js.map → p-bb80195f.entry.js.map} +0 -0
  419. /package/dist/affinda/{p-7640c285.entry.js.map → p-bc59dc0e.entry.js.map} +0 -0
  420. /package/dist/affinda/{p-d275fb5d.entry.js.map → p-be219843.entry.js.map} +0 -0
  421. /package/dist/affinda/{p-17c2999b.entry.js.map → p-c15d00b5.entry.js.map} +0 -0
  422. /package/dist/affinda/{p-02427605.entry.js.map → p-c23d7aa5.entry.js.map} +0 -0
  423. /package/dist/affinda/{p-6df7b689.entry.js.map → p-c2a6c874.entry.js.map} +0 -0
  424. /package/dist/affinda/{p-d34da6c0.entry.js.map → p-c6aa66f3.entry.js.map} +0 -0
  425. /package/dist/affinda/{p-2d5eb5ac.entry.js.map → p-c925d301.entry.js.map} +0 -0
  426. /package/dist/affinda/{p-42c69bc9.entry.js.map → p-cc2539de.entry.js.map} +0 -0
  427. /package/dist/affinda/{p-972984a9.entry.js.map → p-cd21a62a.entry.js.map} +0 -0
  428. /package/dist/affinda/{p-4f422489.entry.js.map → p-cea1c1ff.entry.js.map} +0 -0
  429. /package/dist/affinda/{p-1aa795c7.entry.js.map → p-d573d115.entry.js.map} +0 -0
  430. /package/dist/affinda/{p-c2c16447.entry.js.map → p-d9b0f217.entry.js.map} +0 -0
  431. /package/dist/affinda/{p-f76ef563.entry.js.map → p-df10dee2.entry.js.map} +0 -0
  432. /package/dist/affinda/{p-09e202d1.entry.js.map → p-e057ebf1.entry.js.map} +0 -0
  433. /package/dist/affinda/{p-df6c7170.entry.js.map → p-e10c03b6.entry.js.map} +0 -0
  434. /package/dist/affinda/{p-78941fec.entry.js.map → p-ea5aea86.entry.js.map} +0 -0
  435. /package/dist/affinda/{p-8eb60b77.entry.js.map → p-eca85313.entry.js.map} +0 -0
  436. /package/dist/affinda/{p-bdb3e590.entry.js.map → p-f1705df1.entry.js.map} +0 -0
  437. /package/dist/affinda/{p-a326d8f6.entry.js.map → p-f38688c6.entry.js.map} +0 -0
  438. /package/dist/affinda/{p-d0fdef08.entry.js.map → p-fd772af4.entry.js.map} +0 -0
  439. /package/dist/affinda/{p-4ccc3147.entry.js.map → p-fe09a283.entry.js.map} +0 -0
@@ -16,6 +16,30 @@ var __export = (target, all) => {
16
16
  // src/utils/constants.ts
17
17
  var SVG_NS = "http://www.w3.org/2000/svg";
18
18
  var HTML_NS = "http://www.w3.org/1999/xhtml";
19
+ var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
20
+ PrimitiveType2["Undefined"] = "undefined";
21
+ PrimitiveType2["Null"] = "null";
22
+ PrimitiveType2["String"] = "string";
23
+ PrimitiveType2["Number"] = "number";
24
+ PrimitiveType2["SpecialNumber"] = "number";
25
+ PrimitiveType2["Boolean"] = "boolean";
26
+ PrimitiveType2["BigInt"] = "bigint";
27
+ return PrimitiveType2;
28
+ })(PrimitiveType || {});
29
+ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
30
+ NonPrimitiveType2["Array"] = "array";
31
+ NonPrimitiveType2["Date"] = "date";
32
+ NonPrimitiveType2["Map"] = "map";
33
+ NonPrimitiveType2["Object"] = "object";
34
+ NonPrimitiveType2["RegularExpression"] = "regexp";
35
+ NonPrimitiveType2["Set"] = "set";
36
+ NonPrimitiveType2["Channel"] = "channel";
37
+ NonPrimitiveType2["Symbol"] = "symbol";
38
+ return NonPrimitiveType2;
39
+ })(NonPrimitiveType || {});
40
+ var TYPE_CONSTANT = "type";
41
+ var VALUE_CONSTANT = "value";
42
+ var SERIALIZED_PREFIX = "serialized:";
19
43
 
20
44
  // src/client/client-host-ref.ts
21
45
  var getHostRef = (ref) => {
@@ -89,6 +113,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
89
113
 
90
114
  // src/client/client-style.ts
91
115
  var styles = /* @__PURE__ */ new Map();
116
+
117
+ // src/runtime/runtime-constants.ts
118
+ var CONTENT_REF_ID = "r";
119
+ var ORG_LOCATION_ID = "o";
120
+ var SLOT_NODE_ID = "s";
121
+ var TEXT_NODE_ID = "t";
122
+ var COMMENT_NODE_ID = "c";
123
+ var HYDRATE_ID = "s-id";
124
+ var HYDRATED_STYLE_ID = "sty-id";
125
+ var HYDRATE_CHILD_ID = "c-id";
92
126
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
93
127
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
94
128
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -183,6 +217,101 @@ var escapeRegExpSpecialCharacters = (text) => {
183
217
  return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
184
218
  };
185
219
 
220
+ // src/utils/remote-value.ts
221
+ var RemoteValue = class _RemoteValue {
222
+ /**
223
+ * Deserializes a LocalValue serialized object back to its original JavaScript representation
224
+ *
225
+ * @param serialized The serialized LocalValue object
226
+ * @returns The original JavaScript value/object
227
+ */
228
+ static fromLocalValue(serialized) {
229
+ const type = serialized[TYPE_CONSTANT];
230
+ const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
231
+ switch (type) {
232
+ case "string" /* String */:
233
+ return value;
234
+ case "boolean" /* Boolean */:
235
+ return value;
236
+ case "bigint" /* BigInt */:
237
+ return BigInt(value);
238
+ case "undefined" /* Undefined */:
239
+ return void 0;
240
+ case "null" /* Null */:
241
+ return null;
242
+ case "number" /* Number */:
243
+ if (value === "NaN") return NaN;
244
+ if (value === "-0") return -0;
245
+ if (value === "Infinity") return Infinity;
246
+ if (value === "-Infinity") return -Infinity;
247
+ return value;
248
+ case "array" /* Array */:
249
+ return value.map((item) => _RemoteValue.fromLocalValue(item));
250
+ case "date" /* Date */:
251
+ return new Date(value);
252
+ case "map" /* Map */:
253
+ const map2 = /* @__PURE__ */ new Map();
254
+ for (const [key, val] of value) {
255
+ const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
256
+ const deserializedValue = _RemoteValue.fromLocalValue(val);
257
+ map2.set(deserializedKey, deserializedValue);
258
+ }
259
+ return map2;
260
+ case "object" /* Object */:
261
+ const obj = {};
262
+ for (const [key, val] of value) {
263
+ obj[key] = _RemoteValue.fromLocalValue(val);
264
+ }
265
+ return obj;
266
+ case "regexp" /* RegularExpression */:
267
+ const { pattern, flags } = value;
268
+ return new RegExp(pattern, flags);
269
+ case "set" /* Set */:
270
+ const set = /* @__PURE__ */ new Set();
271
+ for (const item of value) {
272
+ set.add(_RemoteValue.fromLocalValue(item));
273
+ }
274
+ return set;
275
+ case "symbol" /* Symbol */:
276
+ return Symbol(value);
277
+ default:
278
+ throw new Error(`Unsupported type: ${type}`);
279
+ }
280
+ }
281
+ /**
282
+ * Utility method to deserialize multiple LocalValues at once
283
+ *
284
+ * @param serializedValues Array of serialized LocalValue objects
285
+ * @returns Array of deserialized JavaScript values
286
+ */
287
+ static fromLocalValueArray(serializedValues) {
288
+ return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
289
+ }
290
+ /**
291
+ * Verifies if the given object matches the structure of a serialized LocalValue
292
+ *
293
+ * @param obj Object to verify
294
+ * @returns boolean indicating if the object has LocalValue structure
295
+ */
296
+ static isLocalValueObject(obj) {
297
+ if (typeof obj !== "object" || obj === null) {
298
+ return false;
299
+ }
300
+ if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
301
+ return false;
302
+ }
303
+ const type = obj[TYPE_CONSTANT];
304
+ const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
305
+ if (!hasTypeProperty) {
306
+ return false;
307
+ }
308
+ if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
309
+ return obj.hasOwnProperty(VALUE_CONSTANT);
310
+ }
311
+ return true;
312
+ }
313
+ };
314
+
186
315
  // src/utils/result.ts
187
316
  var result_exports = {};
188
317
  __export(result_exports, {
@@ -232,6 +361,14 @@ var unwrapErr = (result) => {
232
361
  }
233
362
  };
234
363
 
364
+ // src/utils/serialize.ts
365
+ function deserializeProperty(value) {
366
+ if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
367
+ return value;
368
+ }
369
+ return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
370
+ }
371
+
235
372
  // src/utils/style.ts
236
373
  function createStyleSheetIfNeededAndSupported(styles2) {
237
374
  if (!supportsConstructableStylesheets) return void 0;
@@ -322,6 +459,34 @@ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
322
459
  }
323
460
  return slotName === "";
324
461
  };
462
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
463
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
464
+ return;
465
+ }
466
+ const slottedNodeLocation = document.createTextNode("");
467
+ slottedNodeLocation["s-nr"] = newChild;
468
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
469
+ const parent = slotNode["s-cr"].parentNode;
470
+ const appendMethod = internalCall(parent, "appendChild");
471
+ if (typeof position !== "undefined") {
472
+ slottedNodeLocation["s-oo"] = position;
473
+ const childNodes = internalCall(parent, "childNodes");
474
+ const slotRelocateNodes = [slottedNodeLocation];
475
+ childNodes.forEach((n) => {
476
+ if (n["s-nr"]) slotRelocateNodes.push(n);
477
+ });
478
+ slotRelocateNodes.sort((a, b) => {
479
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
480
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
481
+ return 0;
482
+ });
483
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
484
+ } else {
485
+ appendMethod.call(parent, slottedNodeLocation);
486
+ }
487
+ newChild["s-ol"] = slottedNodeLocation;
488
+ newChild["s-sh"] = slotNode["s-hn"];
489
+ };
325
490
  var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
326
491
  function patchSlotNode(node) {
327
492
  if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
@@ -406,7 +571,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
406
571
  rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
407
572
  }
408
573
  if (!appliedStyles.has(scopeId2)) {
409
- {
574
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
575
+ styleElm.innerHTML = style;
576
+ } else {
410
577
  styleElm = win.document.createElement("style");
411
578
  styleElm.innerHTML = style;
412
579
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
@@ -478,6 +645,17 @@ var attachStyles = (hostRef) => {
478
645
  endAttachStyles();
479
646
  };
480
647
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
648
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
649
+ var hydrateScopedToShadow = () => {
650
+ if (!win.document) {
651
+ return;
652
+ }
653
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
654
+ let i2 = 0;
655
+ for (; i2 < styles2.length; i2++) {
656
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
657
+ }
658
+ };
481
659
  var h = (nodeName, vnodeData, ...children) => {
482
660
  let child = null;
483
661
  let key = null;
@@ -589,6 +767,422 @@ var convertToPrivate = (node) => {
589
767
  vnode.$name$ = node.vname;
590
768
  return vnode;
591
769
  };
770
+
771
+ // src/runtime/client-hydrate.ts
772
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
773
+ var _a, _b;
774
+ const endHydrate = createTime("hydrateClient", tagName);
775
+ const shadowRoot = hostElm.shadowRoot;
776
+ const childRenderNodes = [];
777
+ const slotNodes = [];
778
+ const slottedNodes = [];
779
+ const shadowRootNodes = shadowRoot ? [] : null;
780
+ const vnode = newVNode(tagName, null);
781
+ vnode.$elm$ = hostElm;
782
+ let scopeId2;
783
+ {
784
+ const cmpMeta = hostRef.$cmpMeta$;
785
+ if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
786
+ scopeId2 = hostElm["s-sc"];
787
+ hostElm.classList.add(scopeId2 + "-h");
788
+ } else if (hostElm["s-sc"]) {
789
+ delete hostElm["s-sc"];
790
+ }
791
+ }
792
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
793
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
794
+ }
795
+ hostElm[HYDRATE_ID] = hostId;
796
+ hostElm.removeAttribute(HYDRATE_ID);
797
+ hostRef.$vnode$ = clientHydrate(
798
+ vnode,
799
+ childRenderNodes,
800
+ slotNodes,
801
+ shadowRootNodes,
802
+ hostElm,
803
+ hostElm,
804
+ hostId,
805
+ slottedNodes
806
+ );
807
+ let crIndex = 0;
808
+ const crLength = childRenderNodes.length;
809
+ let childRenderNode;
810
+ for (crIndex; crIndex < crLength; crIndex++) {
811
+ childRenderNode = childRenderNodes[crIndex];
812
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
813
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
814
+ const node = childRenderNode.$elm$;
815
+ if (!shadowRoot) {
816
+ node["s-hn"] = tagName.toUpperCase();
817
+ if (childRenderNode.$tag$ === "slot") {
818
+ node["s-cr"] = hostElm["s-cr"];
819
+ }
820
+ } else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
821
+ const cmpMeta = getHostRef(childRenderNode.$elm$);
822
+ if (cmpMeta) {
823
+ const scopeId3 = getScopeId(
824
+ cmpMeta.$cmpMeta$);
825
+ const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
826
+ if (styleSheet) {
827
+ hostElm.shadowRoot.append(styleSheet.cloneNode(true));
828
+ }
829
+ }
830
+ }
831
+ if (childRenderNode.$tag$ === "slot") {
832
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
833
+ if (childRenderNode.$children$) {
834
+ childRenderNode.$flags$ |= 2 /* isSlotFallback */;
835
+ if (!childRenderNode.$elm$.childNodes.length) {
836
+ childRenderNode.$children$.forEach((c) => {
837
+ childRenderNode.$elm$.appendChild(c.$elm$);
838
+ });
839
+ }
840
+ } else {
841
+ childRenderNode.$flags$ |= 1 /* isSlotReference */;
842
+ }
843
+ }
844
+ if (orgLocationNode && orgLocationNode.isConnected) {
845
+ if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
846
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
847
+ }
848
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
849
+ if (!shadowRoot) {
850
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
851
+ }
852
+ }
853
+ if (orgLocationNode && !orgLocationNode["s-id"]) {
854
+ plt.$orgLocNodes$.delete(orgLocationId);
855
+ }
856
+ }
857
+ const hosts = [];
858
+ const snLen = slottedNodes.length;
859
+ let snIndex = 0;
860
+ let slotGroup;
861
+ let snGroupIdx;
862
+ let snGroupLen;
863
+ let slottedItem;
864
+ for (snIndex; snIndex < snLen; snIndex++) {
865
+ slotGroup = slottedNodes[snIndex];
866
+ if (!slotGroup || !slotGroup.length) continue;
867
+ snGroupLen = slotGroup.length;
868
+ snGroupIdx = 0;
869
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
870
+ slottedItem = slotGroup[snGroupIdx];
871
+ if (!hosts[slottedItem.hostId]) {
872
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
873
+ }
874
+ if (!hosts[slottedItem.hostId]) continue;
875
+ const hostEle = hosts[slottedItem.hostId];
876
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
877
+ hostEle.appendChild(slottedItem.node);
878
+ }
879
+ if (!hostEle.shadowRoot || !shadowRoot) {
880
+ if (!slottedItem.slot["s-cr"]) {
881
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
882
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
883
+ slottedItem.slot["s-cr"] = hostEle;
884
+ } else {
885
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
886
+ }
887
+ }
888
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
889
+ if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
890
+ slottedItem.node.removeAttribute("slot");
891
+ }
892
+ }
893
+ }
894
+ }
895
+ if (scopeId2 && slotNodes.length) {
896
+ slotNodes.forEach((slot) => {
897
+ slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
898
+ });
899
+ }
900
+ if (shadowRoot) {
901
+ let rnIdex = 0;
902
+ const rnLen = shadowRootNodes.length;
903
+ if (rnLen) {
904
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
905
+ const node = shadowRootNodes[rnIdex];
906
+ if (node) {
907
+ shadowRoot.appendChild(node);
908
+ }
909
+ }
910
+ Array.from(hostElm.childNodes).forEach((node) => {
911
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
912
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
913
+ node.removeAttribute("hidden");
914
+ } else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
915
+ node.parentNode.removeChild(node);
916
+ }
917
+ }
918
+ });
919
+ }
920
+ }
921
+ hostRef.$hostElement$ = hostElm;
922
+ endHydrate();
923
+ };
924
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
925
+ let childNodeType;
926
+ let childIdSplt;
927
+ let childVNode;
928
+ let i2;
929
+ const scopeId2 = hostElm["s-sc"];
930
+ if (node.nodeType === 1 /* ElementNode */) {
931
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
932
+ if (childNodeType) {
933
+ childIdSplt = childNodeType.split(".");
934
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
935
+ childVNode = createSimpleVNode({
936
+ $flags$: 0,
937
+ $hostId$: childIdSplt[0],
938
+ $nodeId$: childIdSplt[1],
939
+ $depth$: childIdSplt[2],
940
+ $index$: childIdSplt[3],
941
+ $tag$: node.tagName.toLowerCase(),
942
+ $elm$: node,
943
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
944
+ // won't try to reconcile them. Classes set on the node will be blown away.
945
+ $attrs$: { class: node.className || "" }
946
+ });
947
+ childRenderNodes.push(childVNode);
948
+ node.removeAttribute(HYDRATE_CHILD_ID);
949
+ if (!parentVNode.$children$) {
950
+ parentVNode.$children$ = [];
951
+ }
952
+ if (scopeId2 && childIdSplt[0] === hostId) {
953
+ node["s-si"] = scopeId2;
954
+ childVNode.$attrs$.class += " " + scopeId2;
955
+ }
956
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
957
+ if (typeof slotName === "string") {
958
+ if (childVNode.$tag$ === "slot-fb") {
959
+ addSlot(
960
+ slotName,
961
+ childIdSplt[2],
962
+ childVNode,
963
+ node,
964
+ parentVNode,
965
+ childRenderNodes,
966
+ slotNodes,
967
+ shadowRootNodes,
968
+ slottedNodes
969
+ );
970
+ if (scopeId2) {
971
+ node.classList.add(scopeId2);
972
+ }
973
+ }
974
+ childVNode.$elm$["s-sn"] = slotName;
975
+ childVNode.$elm$.removeAttribute("s-sn");
976
+ }
977
+ if (childVNode.$index$ !== void 0) {
978
+ parentVNode.$children$[childVNode.$index$] = childVNode;
979
+ }
980
+ parentVNode = childVNode;
981
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
982
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
983
+ }
984
+ }
985
+ }
986
+ if (node.shadowRoot) {
987
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
988
+ clientHydrate(
989
+ parentVNode,
990
+ childRenderNodes,
991
+ slotNodes,
992
+ shadowRootNodes,
993
+ hostElm,
994
+ node.shadowRoot.childNodes[i2],
995
+ hostId,
996
+ slottedNodes
997
+ );
998
+ }
999
+ }
1000
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1001
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
1002
+ clientHydrate(
1003
+ parentVNode,
1004
+ childRenderNodes,
1005
+ slotNodes,
1006
+ shadowRootNodes,
1007
+ hostElm,
1008
+ nonShadowNodes[i2],
1009
+ hostId,
1010
+ slottedNodes
1011
+ );
1012
+ }
1013
+ } else if (node.nodeType === 8 /* CommentNode */) {
1014
+ childIdSplt = node.nodeValue.split(".");
1015
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
1016
+ childNodeType = childIdSplt[0];
1017
+ childVNode = createSimpleVNode({
1018
+ $hostId$: childIdSplt[1],
1019
+ $nodeId$: childIdSplt[2],
1020
+ $depth$: childIdSplt[3],
1021
+ $index$: childIdSplt[4] || "0",
1022
+ $elm$: node,
1023
+ $attrs$: null,
1024
+ $children$: null,
1025
+ $key$: null,
1026
+ $name$: null,
1027
+ $tag$: null,
1028
+ $text$: null
1029
+ });
1030
+ if (childNodeType === TEXT_NODE_ID) {
1031
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
1032
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
1033
+ childVNode.$text$ = childVNode.$elm$.textContent;
1034
+ childRenderNodes.push(childVNode);
1035
+ node.remove();
1036
+ if (hostId === childVNode.$hostId$) {
1037
+ if (!parentVNode.$children$) {
1038
+ parentVNode.$children$ = [];
1039
+ }
1040
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1041
+ }
1042
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
1043
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1044
+ }
1045
+ }
1046
+ } else if (childNodeType === COMMENT_NODE_ID) {
1047
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
1048
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
1049
+ childRenderNodes.push(childVNode);
1050
+ node.remove();
1051
+ }
1052
+ } else if (childVNode.$hostId$ === hostId) {
1053
+ if (childNodeType === SLOT_NODE_ID) {
1054
+ const slotName = node["s-sn"] = childIdSplt[5] || "";
1055
+ addSlot(
1056
+ slotName,
1057
+ childIdSplt[2],
1058
+ childVNode,
1059
+ node,
1060
+ parentVNode,
1061
+ childRenderNodes,
1062
+ slotNodes,
1063
+ shadowRootNodes,
1064
+ slottedNodes
1065
+ );
1066
+ } else if (childNodeType === CONTENT_REF_ID) {
1067
+ if (shadowRootNodes) {
1068
+ node.remove();
1069
+ } else {
1070
+ hostElm["s-cr"] = node;
1071
+ node["s-cn"] = true;
1072
+ }
1073
+ }
1074
+ }
1075
+ }
1076
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
1077
+ const vnode = newVNode(null, node.textContent);
1078
+ vnode.$elm$ = node;
1079
+ vnode.$index$ = "0";
1080
+ parentVNode.$children$ = [vnode];
1081
+ } else {
1082
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
1083
+ node.remove();
1084
+ }
1085
+ }
1086
+ return parentVNode;
1087
+ };
1088
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
1089
+ if (node.nodeType === 1 /* ElementNode */) {
1090
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
1091
+ if (componentId) {
1092
+ orgLocNodes.set(componentId, node);
1093
+ }
1094
+ let i2 = 0;
1095
+ if (node.shadowRoot) {
1096
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
1097
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
1098
+ }
1099
+ }
1100
+ const nonShadowNodes = node.__childNodes || node.childNodes;
1101
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
1102
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
1103
+ }
1104
+ } else if (node.nodeType === 8 /* CommentNode */) {
1105
+ const childIdSplt = node.nodeValue.split(".");
1106
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
1107
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
1108
+ node.nodeValue = "";
1109
+ node["s-en"] = childIdSplt[3];
1110
+ }
1111
+ }
1112
+ };
1113
+ var createSimpleVNode = (vnode) => {
1114
+ const defaultVNode = {
1115
+ $flags$: 0,
1116
+ $hostId$: null,
1117
+ $nodeId$: null,
1118
+ $depth$: null,
1119
+ $index$: "0",
1120
+ $elm$: null,
1121
+ $attrs$: null,
1122
+ $children$: null,
1123
+ $key$: null,
1124
+ $name$: null,
1125
+ $tag$: null,
1126
+ $text$: null
1127
+ };
1128
+ return { ...defaultVNode, ...vnode };
1129
+ };
1130
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
1131
+ node["s-sr"] = true;
1132
+ childVNode.$name$ = slotName || null;
1133
+ childVNode.$tag$ = "slot";
1134
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
1135
+ if (shadowRootNodes && win.document) {
1136
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
1137
+ if (childVNode.$name$) {
1138
+ childVNode.$elm$.setAttribute("name", slotName);
1139
+ }
1140
+ if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
1141
+ internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
1142
+ } else {
1143
+ internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
1144
+ }
1145
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
1146
+ node.remove();
1147
+ if (childVNode.$depth$ === "0") {
1148
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
1149
+ }
1150
+ } else {
1151
+ const slot = childVNode.$elm$;
1152
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
1153
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
1154
+ patchSlotNode(node);
1155
+ if (shouldMove) {
1156
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
1157
+ }
1158
+ }
1159
+ childRenderNodes.push(childVNode);
1160
+ slotNodes.push(childVNode);
1161
+ if (!parentVNode.$children$) {
1162
+ parentVNode.$children$ = [];
1163
+ }
1164
+ parentVNode.$children$[childVNode.$index$] = childVNode;
1165
+ }
1166
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
1167
+ var _a, _b;
1168
+ let slottedNode = slotNode.nextSibling;
1169
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
1170
+ if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
1171
+ do {
1172
+ 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 */))) {
1173
+ slottedNode["s-sn"] = slotName;
1174
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
1175
+ }
1176
+ slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
1177
+ } while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
1178
+ };
1179
+ var findCorrespondingNode = (node, type) => {
1180
+ let sibling = node;
1181
+ do {
1182
+ sibling = sibling.nextSibling;
1183
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
1184
+ return sibling;
1185
+ };
592
1186
  var createSupportsRuleRe = (selector) => {
593
1187
  const safeSelector2 = escapeRegExpSpecialCharacters(selector);
594
1188
  return new RegExp(
@@ -602,6 +1196,10 @@ createSupportsRuleRe("::slotted");
602
1196
  createSupportsRuleRe(":host");
603
1197
  createSupportsRuleRe(":host-context");
604
1198
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1199
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1200
+ propValue = deserializeProperty(propValue);
1201
+ return propValue;
1202
+ }
605
1203
  if (propValue != null && !isComplexType(propValue)) {
606
1204
  if (propType & 4 /* Boolean */) {
607
1205
  {
@@ -652,7 +1250,15 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
652
1250
  const classList = elm.classList;
653
1251
  const oldClasses = parseClassList(oldValue);
654
1252
  let newClasses = parseClassList(newValue);
655
- {
1253
+ if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
1254
+ const scopeId2 = elm["s-sc"] || elm["s-si"];
1255
+ newClasses.push(scopeId2);
1256
+ oldClasses.forEach((c) => {
1257
+ if (c.startsWith(scopeId2)) newClasses.push(c);
1258
+ });
1259
+ newClasses = [...new Set(newClasses)].filter((c) => c);
1260
+ classList.add(...newClasses);
1261
+ } else {
656
1262
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
657
1263
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
658
1264
  }
@@ -772,7 +1378,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
772
1378
  oldVnodeAttrs[memberName],
773
1379
  void 0,
774
1380
  isSvgMode2,
775
- newVnode.$flags$);
1381
+ newVnode.$flags$,
1382
+ isInitialRender
1383
+ );
776
1384
  }
777
1385
  }
778
1386
  }
@@ -783,7 +1391,9 @@ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
783
1391
  oldVnodeAttrs[memberName],
784
1392
  newVnodeAttrs[memberName],
785
1393
  isSvgMode2,
786
- newVnode.$flags$);
1394
+ newVnode.$flags$,
1395
+ isInitialRender
1396
+ );
787
1397
  }
788
1398
  };
789
1399
  function sortedAttrNames(attrNames) {
@@ -1068,7 +1678,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1068
1678
  isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1069
1679
  }
1070
1680
  {
1071
- updateElement(oldVNode, newVNode2, isSvgMode);
1681
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1072
1682
  }
1073
1683
  if (oldChildren !== null && newChildren !== null) {
1074
1684
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -1082,7 +1692,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1082
1692
  !isInitialRender && BUILD.updatable && oldChildren !== null
1083
1693
  ) {
1084
1694
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
1085
- } else ;
1695
+ } else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
1696
+ newVNode2.$children$ = oldChildren;
1697
+ }
1086
1698
  if (isSvgMode && tag === "svg") {
1087
1699
  isSvgMode = false;
1088
1700
  }
@@ -1438,7 +2050,13 @@ var postUpdateComponent = (hostRef) => {
1438
2050
  }
1439
2051
  };
1440
2052
  var appDidLoad = (who) => {
2053
+ var _a;
1441
2054
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
2055
+ {
2056
+ if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
2057
+ plt.$orgLocNodes$.clear();
2058
+ }
2059
+ }
1442
2060
  };
1443
2061
  var safeCall = (instance, method, arg, elm) => {
1444
2062
  if (instance && instance[method]) {
@@ -1750,7 +2368,21 @@ var connectedCallback = (elm) => {
1750
2368
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1751
2369
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1752
2370
  hostRef.$flags$ |= 1 /* hasConnected */;
2371
+ let hostId;
1753
2372
  {
2373
+ hostId = elm.getAttribute(HYDRATE_ID);
2374
+ if (hostId) {
2375
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2376
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
2377
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2378
+ } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2379
+ const scopeId2 = getScopeId(cmpMeta);
2380
+ elm["s-sc"] = scopeId2;
2381
+ }
2382
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2383
+ }
2384
+ }
2385
+ if (!hostId) {
1754
2386
  if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1755
2387
  cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1756
2388
  setContentReference(elm);
@@ -1759,7 +2391,7 @@ var connectedCallback = (elm) => {
1759
2391
  {
1760
2392
  let ancestorComponent = elm;
1761
2393
  while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1762
- if (ancestorComponent["s-p"]) {
2394
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1763
2395
  attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1764
2396
  break;
1765
2397
  }
@@ -1845,6 +2477,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1845
2477
  let isBootstrapping = true;
1846
2478
  Object.assign(plt, options);
1847
2479
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
2480
+ {
2481
+ plt.$flags$ |= 2 /* appLoaded */;
2482
+ }
2483
+ {
2484
+ hydrateScopedToShadow();
2485
+ }
1848
2486
  let hasSlotRelocation = false;
1849
2487
  lazyBundles.map((lazyBundle) => {
1850
2488
  lazyBundle[1].map((compactMeta) => {
@@ -2011,6 +2649,6 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2011
2649
  var setNonce = (nonce) => plt.$nonce$ = nonce;
2012
2650
 
2013
2651
  export { Host as H, getElement as a, bootstrapLazy as b, createEvent as c, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2014
- //# sourceMappingURL=index-C4WBekD2.js.map
2652
+ //# sourceMappingURL=index-CYq0zyKH.js.map
2015
2653
 
2016
- //# sourceMappingURL=index-C4WBekD2.js.map
2654
+ //# sourceMappingURL=index-CYq0zyKH.js.map