@affinda/wc 0.4.1 → 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 (512) hide show
  1. package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -1
  2. package/dist/affinda/affinda.esm.js +1 -1
  3. package/dist/affinda/index.esm.js +1 -1
  4. package/dist/affinda/{p-9610cd3c.entry.js → p-02c6f6d1.entry.js} +2 -2
  5. package/dist/affinda/{p-5885ebd3.entry.js → p-0c7d81d0.entry.js} +2 -2
  6. package/dist/affinda/{p-bc77706d.entry.js → p-1554f3d7.entry.js} +2 -2
  7. package/dist/affinda/{p-57fcfd78.entry.js → p-15a1d019.entry.js} +2 -2
  8. package/dist/affinda/{p-f9ecbde8.entry.js → p-1819ae80.entry.js} +2 -2
  9. package/dist/affinda/{p-750063ab.entry.js → p-1a71d0f9.entry.js} +2 -2
  10. package/dist/affinda/{p-4f15b8f0.entry.js → p-1e59a051.entry.js} +2 -2
  11. package/dist/affinda/{p-ce77f08f.entry.js → p-1f2f7fff.entry.js} +2 -2
  12. package/dist/affinda/{p-67e8c6f6.entry.js → p-20faf28d.entry.js} +2 -2
  13. package/dist/affinda/{p-42c4d7b1.entry.js → p-2716cdc4.entry.js} +2 -2
  14. package/dist/affinda/{p-fff252df.entry.js → p-3084cb0f.entry.js} +2 -2
  15. package/dist/affinda/{p-67a27eaf.entry.js → p-31d96ddc.entry.js} +2 -2
  16. package/dist/affinda/{p-7eca844d.entry.js → p-374f9557.entry.js} +2 -2
  17. package/dist/affinda/{p-ea150b3d.entry.js → p-3fd3d4cd.entry.js} +2 -2
  18. package/dist/affinda/{p-587fd0fa.entry.js → p-41580a3c.entry.js} +2 -2
  19. package/dist/affinda/{p-43a0286a.entry.js → p-47d2f72b.entry.js} +2 -2
  20. package/dist/affinda/{p-d923549d.entry.js → p-50e12df0.entry.js} +2 -2
  21. package/dist/affinda/{p-9b115359.entry.js → p-54dc41a9.entry.js} +2 -2
  22. package/dist/affinda/{p-05072f90.entry.js → p-56e96bd3.entry.js} +2 -2
  23. package/dist/affinda/{p-f7fc76d2.entry.js → p-5834ffe7.entry.js} +2 -2
  24. package/dist/affinda/{p-9e19a477.entry.js → p-5e966aa6.entry.js} +2 -2
  25. package/dist/affinda/{p-3dd90f46.entry.js → p-616e0116.entry.js} +2 -2
  26. package/dist/affinda/p-64159112.entry.js +2 -0
  27. package/dist/affinda/{p-a7b51bb6.entry.js → p-656630fc.entry.js} +2 -2
  28. package/dist/affinda/{p-44e976ee.entry.js → p-67b08108.entry.js} +2 -2
  29. package/dist/affinda/p-6ff65e42.entry.js +2 -0
  30. package/dist/affinda/{p-3238f8e8.entry.js.map → p-6ff65e42.entry.js.map} +1 -1
  31. package/dist/affinda/{p-26a6d9a7.entry.js → p-75d76909.entry.js} +2 -2
  32. package/dist/affinda/{p-b82fc7f1.entry.js → p-761f06ae.entry.js} +2 -2
  33. package/dist/affinda/{p-dd0cd57e.entry.js → p-7b08b7ba.entry.js} +2 -2
  34. package/dist/affinda/{p-b8ea57a9.entry.js → p-7eff3490.entry.js} +2 -2
  35. package/dist/affinda/{p-7c9683d8.entry.js → p-838bbc80.entry.js} +2 -2
  36. package/dist/affinda/{p-5f3419c3.entry.js → p-88f38401.entry.js} +2 -2
  37. package/dist/affinda/{p-d6b8c3b4.entry.js → p-8b0d08de.entry.js} +2 -2
  38. package/dist/affinda/{p-dd4c8640.entry.js → p-8f36e911.entry.js} +2 -2
  39. package/dist/affinda/{p-c4fd7d48.entry.js → p-919e2144.entry.js} +2 -2
  40. package/dist/affinda/{p-08a42935.entry.js → p-92c61bad.entry.js} +2 -2
  41. package/dist/affinda/{p-3c6790f8.entry.js → p-94119fa2.entry.js} +2 -2
  42. package/dist/affinda/{p-3c6790f8.entry.js.map → p-94119fa2.entry.js.map} +1 -1
  43. package/dist/affinda/{p-9ca72e02.entry.js → p-95da58f3.entry.js} +2 -2
  44. package/dist/affinda/p-976e0c29.entry.js +2 -0
  45. package/dist/affinda/p-99b37588.entry.js +2 -0
  46. package/dist/affinda/p-CYq0zyKH.js +3 -0
  47. package/dist/affinda/p-CYq0zyKH.js.map +1 -0
  48. package/dist/affinda/p-a196f362.entry.js +2 -0
  49. package/dist/affinda/{p-ac45df4b.entry.js → p-a3ed4092.entry.js} +2 -2
  50. package/dist/affinda/{p-d9913985.entry.js → p-a4b36eb7.entry.js} +2 -2
  51. package/dist/affinda/p-a6be61c2.entry.js +2 -0
  52. package/dist/affinda/{p-19dc4331.entry.js → p-a79077d5.entry.js} +2 -2
  53. package/dist/affinda/{p-75443f08.entry.js → p-b31e438d.entry.js} +2 -2
  54. package/dist/affinda/{p-d647ae06.entry.js → p-b77fa201.entry.js} +2 -2
  55. package/dist/affinda/{p-d06ae9cd.entry.js → p-bb80195f.entry.js} +2 -2
  56. package/dist/affinda/{p-7640c285.entry.js → p-bc59dc0e.entry.js} +2 -2
  57. package/dist/affinda/{p-77ec01ee.entry.js → p-be219843.entry.js} +2 -2
  58. package/dist/affinda/{p-bac968a1.entry.js → p-c15d00b5.entry.js} +2 -2
  59. package/dist/affinda/{p-e90a3892.entry.js → p-c23d7aa5.entry.js} +2 -2
  60. package/dist/affinda/p-c2a6c874.entry.js +2 -0
  61. package/dist/affinda/{p-d34da6c0.entry.js → p-c6aa66f3.entry.js} +2 -2
  62. package/dist/affinda/{p-7013570d.entry.js → p-c925d301.entry.js} +2 -2
  63. package/dist/affinda/{p-2586fbb8.entry.js → p-cc2539de.entry.js} +2 -2
  64. package/dist/affinda/p-cd21a62a.entry.js +2 -0
  65. package/dist/affinda/{p-95b49b45.entry.js → p-cea1c1ff.entry.js} +2 -2
  66. package/dist/affinda/{p-479a300e.entry.js → p-d573d115.entry.js} +2 -2
  67. package/dist/affinda/{p-9b9e81cf.entry.js → p-d9b0f217.entry.js} +2 -2
  68. package/dist/affinda/{p-6986f604.entry.js → p-df10dee2.entry.js} +2 -2
  69. package/dist/affinda/{p-7ce2b434.entry.js → p-e057ebf1.entry.js} +2 -2
  70. package/dist/affinda/{p-df6c7170.entry.js → p-e10c03b6.entry.js} +2 -2
  71. package/dist/affinda/{p-e0619222.entry.js → p-ea5aea86.entry.js} +2 -2
  72. package/dist/affinda/{p-2a8441cb.entry.js → p-eca85313.entry.js} +2 -2
  73. package/dist/affinda/{p-255a8254.entry.js → p-f1705df1.entry.js} +2 -2
  74. package/dist/affinda/{p-27469df6.entry.js → p-f38688c6.entry.js} +2 -2
  75. package/dist/affinda/p-fd772af4.entry.js +2 -0
  76. package/dist/affinda/{p-adabec15.entry.js.map → p-fd772af4.entry.js.map} +1 -1
  77. package/dist/affinda/{p-4ccc3147.entry.js → p-fe09a283.entry.js} +2 -2
  78. package/dist/cjs/af-accordion-item.cjs.entry.js +2 -2
  79. package/dist/cjs/af-accordion.cjs.entry.js +2 -2
  80. package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
  81. package/dist/cjs/af-button-group.cjs.entry.js +2 -2
  82. package/dist/cjs/af-button.cjs.entry.js +1 -1
  83. package/dist/cjs/af-card.cjs.entry.js +2 -2
  84. package/dist/cjs/af-center.cjs.entry.js +2 -2
  85. package/dist/cjs/af-checkbox.cjs.entry.js +2 -2
  86. package/dist/cjs/af-client-carousel.cjs.entry.js +2 -2
  87. package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
  88. package/dist/cjs/af-contact-item.cjs.entry.js +2 -2
  89. package/dist/cjs/af-container.cjs.entry.js +1 -1
  90. package/dist/cjs/af-divider.cjs.entry.js +2 -2
  91. package/dist/cjs/af-feature-accordion.cjs.entry.js +3 -3
  92. package/dist/cjs/af-feature-card.cjs.entry.js +1 -1
  93. package/dist/cjs/af-feature-grid.cjs.entry.js +2 -2
  94. package/dist/cjs/af-fieldset.cjs.entry.js +2 -2
  95. package/dist/cjs/af-footer-column.cjs.entry.js +2 -2
  96. package/dist/cjs/af-footer-link.cjs.entry.js +2 -2
  97. package/dist/cjs/af-footer.cjs.entry.js +2 -2
  98. package/dist/cjs/af-grid-callout.cjs.entry.js +1 -1
  99. package/dist/cjs/af-grid.cjs.entry.js +3 -3
  100. package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -1
  101. package/dist/cjs/af-heading_5.cjs.entry.js +3 -3
  102. package/dist/cjs/af-hero.cjs.entry.js +3 -3
  103. package/dist/cjs/af-icon-box.cjs.entry.js +2 -2
  104. package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
  105. package/dist/cjs/af-icon-text.cjs.entry.js +2 -2
  106. package/dist/cjs/af-icon.cjs.entry.js +1 -1
  107. package/dist/cjs/af-illustrated-card.cjs.entry.js +2 -2
  108. package/dist/cjs/af-image.cjs.entry.js +2 -2
  109. package/dist/cjs/af-in-page-banner.cjs.entry.js +2 -2
  110. package/dist/cjs/af-inline.cjs.entry.js +2 -2
  111. package/dist/cjs/af-input.cjs.entry.js +2 -2
  112. package/dist/cjs/af-logo-well.cjs.entry.js +2 -2
  113. package/dist/cjs/af-nav-accordion-item.cjs.entry.js +3 -3
  114. package/dist/cjs/af-nav-accordion.cjs.entry.js +2 -2
  115. package/dist/cjs/af-nav-card.cjs.entry.js +1 -1
  116. package/dist/cjs/af-nav-menu-nest.cjs.entry.js +2 -2
  117. package/dist/cjs/af-nav-menu.cjs.entry.js +2 -2
  118. package/dist/cjs/af-number-badge.cjs.entry.js +2 -2
  119. package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +2 -2
  120. package/dist/cjs/af-numbered-stepper.cjs.entry.js +2 -2
  121. package/dist/cjs/af-paperclip-decoration.cjs.entry.js +2 -2
  122. package/dist/cjs/af-progress-line.cjs.entry.js +3 -3
  123. package/dist/cjs/af-radio.cjs.entry.js +2 -2
  124. package/dist/cjs/af-section.cjs.entry.js +3 -3
  125. package/dist/cjs/af-show.cjs.entry.js +2 -2
  126. package/dist/cjs/af-social-link.cjs.entry.js +2 -2
  127. package/dist/cjs/af-spacer.cjs.entry.js +2 -2
  128. package/dist/cjs/af-split-section.cjs.entry.js +3 -3
  129. package/dist/cjs/af-stack.cjs.entry.js +2 -2
  130. package/dist/cjs/af-stat.cjs.entry.js +2 -2
  131. package/dist/cjs/af-stats-row.cjs.entry.js +2 -2
  132. package/dist/cjs/af-stepper-step.cjs.entry.js +2 -2
  133. package/dist/cjs/af-stepper.cjs.entry.js +2 -2
  134. package/dist/cjs/af-switch.cjs.entry.js +2 -2
  135. package/dist/cjs/af-tab-bar.cjs.entry.js +2 -2
  136. package/dist/cjs/af-tab.cjs.entry.js +2 -2
  137. package/dist/cjs/af-tag.cjs.entry.js +3 -3
  138. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +2 -2
  139. package/dist/cjs/af-testimonial-stat.cjs.entry.js +2 -2
  140. package/dist/cjs/af-testimonial.cjs.entry.js +3 -3
  141. package/dist/cjs/af-text-image-nest.cjs.entry.js +2 -2
  142. package/dist/cjs/af-text-image.cjs.entry.js +1 -1
  143. package/dist/cjs/af-textarea.cjs.entry.js +2 -2
  144. package/dist/cjs/af-theme-override.cjs.entry.js +2 -2
  145. package/dist/cjs/af-typography-lockup.cjs.entry.js +2 -2
  146. package/dist/cjs/af-video-container.cjs.entry.js +2 -2
  147. package/dist/cjs/af-visually-hidden.cjs.entry.js +2 -2
  148. package/dist/cjs/affinda.cjs.js +1 -1
  149. package/dist/cjs/{index-3161MbMQ.js → index-BuJz1C1M.js} +647 -9
  150. package/dist/cjs/index-BuJz1C1M.js.map +1 -0
  151. package/dist/cjs/index.cjs.js +1 -1
  152. package/dist/cjs/loader.cjs.js +1 -1
  153. package/dist/collection/components/af-accordion/af-accordion.js +1 -1
  154. package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -1
  155. package/dist/collection/components/af-button-group/af-button-group.js +1 -1
  156. package/dist/collection/components/af-card/af-card.js +1 -1
  157. package/dist/collection/components/af-center/af-center.js +1 -1
  158. package/dist/collection/components/af-checkbox/af-checkbox.js +1 -1
  159. package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -1
  160. package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
  161. package/dist/collection/components/af-divider/af-divider.js +1 -1
  162. package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
  163. package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
  164. package/dist/collection/components/af-fieldset/af-fieldset.js +1 -1
  165. package/dist/collection/components/af-footer/af-footer.js +1 -1
  166. package/dist/collection/components/af-footer-column/af-footer-column.js +1 -1
  167. package/dist/collection/components/af-footer-link/af-footer-link.js +1 -1
  168. package/dist/collection/components/af-grid/af-grid.js +2 -2
  169. package/dist/collection/components/af-hero/af-hero.js +2 -2
  170. package/dist/collection/components/af-icon-box/af-icon-box.js +1 -1
  171. package/dist/collection/components/af-icon-text/af-icon-text.js +1 -1
  172. package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +1 -1
  173. package/dist/collection/components/af-image/af-image.js +1 -1
  174. package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -1
  175. package/dist/collection/components/af-inline/af-inline.js +1 -1
  176. package/dist/collection/components/af-input/af-input.js +1 -1
  177. package/dist/collection/components/af-logo/af-logo.js +1 -1
  178. package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
  179. package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -1
  180. package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -2
  181. package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -1
  182. package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
  183. package/dist/collection/components/af-navbar/af-navbar.js +1 -1
  184. package/dist/collection/components/af-navbar/af-navbar.js.map +1 -1
  185. package/dist/collection/components/af-number-badge/af-number-badge.js +1 -1
  186. package/dist/collection/components/af-numbered-stepper/af-numbered-stepper.js +1 -1
  187. package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.js +1 -1
  188. package/dist/collection/components/af-paperclip-decoration/af-paperclip-decoration.js +1 -1
  189. package/dist/collection/components/af-progress-line/af-progress-line.js +2 -2
  190. package/dist/collection/components/af-radio/af-radio.js +1 -1
  191. package/dist/collection/components/af-section/af-section.js +2 -2
  192. package/dist/collection/components/af-show/af-show.js +1 -1
  193. package/dist/collection/components/af-social-link/af-social-link.js +1 -1
  194. package/dist/collection/components/af-spacer/af-spacer.js +1 -1
  195. package/dist/collection/components/af-split-section/af-split-section.js +2 -2
  196. package/dist/collection/components/af-stack/af-stack.js +1 -1
  197. package/dist/collection/components/af-stat/af-stat.js +1 -1
  198. package/dist/collection/components/af-stats-row/af-stats-row.js +1 -1
  199. package/dist/collection/components/af-stepper/af-stepper.js +1 -1
  200. package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
  201. package/dist/collection/components/af-switch/af-switch.js +1 -1
  202. package/dist/collection/components/af-tab/af-tab.js +1 -1
  203. package/dist/collection/components/af-tab-bar/af-tab-bar.js +1 -1
  204. package/dist/collection/components/af-tag/af-tag.js +2 -2
  205. package/dist/collection/components/af-testimonial/af-testimonial.js +2 -2
  206. package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -1
  207. package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
  208. package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -1
  209. package/dist/collection/components/af-textarea/af-textarea.js +1 -1
  210. package/dist/collection/components/af-theme-override/af-theme-override.js +1 -1
  211. package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +1 -1
  212. package/dist/collection/components/af-video-container/af-video-container.js +1 -1
  213. package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -1
  214. package/dist/components/af-accordion-item.js +2 -2
  215. package/dist/components/af-accordion.js +2 -2
  216. package/dist/components/af-aspect-ratio.js +1 -1
  217. package/dist/components/af-button-group.js +1 -1
  218. package/dist/components/af-button.js +1 -1
  219. package/dist/components/af-card.js +1 -1
  220. package/dist/components/af-center.js +2 -2
  221. package/dist/components/af-checkbox.js +1 -1
  222. package/dist/components/af-client-carousel.js +2 -2
  223. package/dist/components/af-color-swatch.js +1 -1
  224. package/dist/components/af-contact-item.js +2 -2
  225. package/dist/components/af-container.js +1 -1
  226. package/dist/components/af-divider.js +2 -2
  227. package/dist/components/af-feature-accordion.js +3 -3
  228. package/dist/components/af-feature-card.js +1 -1
  229. package/dist/components/af-feature-grid.js +3 -3
  230. package/dist/components/af-fieldset.js +1 -1
  231. package/dist/components/af-footer-column.js +2 -2
  232. package/dist/components/af-footer-link.js +2 -2
  233. package/dist/components/af-footer.js +2 -2
  234. package/dist/components/af-grid-callout.js +2 -2
  235. package/dist/components/af-grid.js +3 -3
  236. package/dist/components/af-heading.js +1 -1
  237. package/dist/components/af-hero.js +1 -1
  238. package/dist/components/af-icon-box.js +1 -1
  239. package/dist/components/af-icon-button.js +1 -1
  240. package/dist/components/af-icon-text.js +5 -5
  241. package/dist/components/af-icon.js +1 -1
  242. package/dist/components/af-illustrated-card.js +1 -1
  243. package/dist/components/af-image.js +1 -1
  244. package/dist/components/af-in-page-banner.js +3 -3
  245. package/dist/components/af-inline.js +2 -2
  246. package/dist/components/af-input.js +1 -1
  247. package/dist/components/af-logo-well.js +2 -2
  248. package/dist/components/af-logo.js +1 -1
  249. package/dist/components/af-nav-accordion-item.js +3 -3
  250. package/dist/components/af-nav-accordion.js +2 -2
  251. package/dist/components/af-nav-card.js +1 -1
  252. package/dist/components/af-nav-item.js +1 -1
  253. package/dist/components/af-nav-menu-nest.js +2 -2
  254. package/dist/components/af-nav-menu.js +2 -2
  255. package/dist/components/af-navbar.js +1 -1
  256. package/dist/components/af-number-badge.js +1 -1
  257. package/dist/components/af-numbered-stepper-item.js +4 -4
  258. package/dist/components/af-numbered-stepper.js +2 -2
  259. package/dist/components/af-paperclip-decoration.js +2 -2
  260. package/dist/components/af-progress-line.js +1 -1
  261. package/dist/components/af-radio.js +1 -1
  262. package/dist/components/af-section.js +1 -1
  263. package/dist/components/af-show.js +2 -2
  264. package/dist/components/af-social-link.js +2 -2
  265. package/dist/components/af-spacer.js +2 -2
  266. package/dist/components/af-split-section.js +4 -4
  267. package/dist/components/af-stack.js +2 -2
  268. package/dist/components/af-stat.js +4 -4
  269. package/dist/components/af-stats-row.js +2 -2
  270. package/dist/components/af-stepper-step.js +2 -2
  271. package/dist/components/af-stepper.js +2 -2
  272. package/dist/components/af-switch.js +1 -1
  273. package/dist/components/af-tab-bar.js +1 -1
  274. package/dist/components/af-tab.js +1 -1
  275. package/dist/components/af-tag.js +1 -1
  276. package/dist/components/af-testimonial-carousel.js +3 -3
  277. package/dist/components/af-testimonial-stat.js +4 -4
  278. package/dist/components/af-testimonial.js +6 -6
  279. package/dist/components/af-text-image-nest.js +2 -2
  280. package/dist/components/af-text-image.js +2 -2
  281. package/dist/components/af-text.js +1 -1
  282. package/dist/components/af-textarea.js +1 -1
  283. package/dist/components/af-theme-override.js +2 -2
  284. package/dist/components/af-typography-lockup.js +1 -1
  285. package/dist/components/af-video-container.js +4 -4
  286. package/dist/components/af-visually-hidden.js +2 -2
  287. package/dist/components/index.js +25 -25
  288. package/dist/components/{p-BysQTjHh.js → p-B7J9U9if.js} +4 -4
  289. package/dist/components/{p-BysQTjHh.js.map → p-B7J9U9if.js.map} +1 -1
  290. package/dist/components/{p-1ol-T8nk.js → p-BExjo6P2.js} +5 -5
  291. package/dist/components/p-BExjo6P2.js.map +1 -0
  292. package/dist/components/{p-C7gWqhJQ.js → p-B_r5b4JI.js} +4 -4
  293. package/dist/components/{p-C7gWqhJQ.js.map → p-B_r5b4JI.js.map} +1 -1
  294. package/dist/components/{p-DBkfDqnN.js → p-Bebi4EvS.js} +4 -4
  295. package/dist/components/{p-DBkfDqnN.js.map → p-Bebi4EvS.js.map} +1 -1
  296. package/dist/components/{p-OefAiC9E.js → p-BipyebXl.js} +4 -4
  297. package/dist/components/{p-OefAiC9E.js.map → p-BipyebXl.js.map} +1 -1
  298. package/dist/components/{p-CiY0Twna.js → p-Btpdr0Bi.js} +644 -9
  299. package/dist/components/p-Btpdr0Bi.js.map +1 -0
  300. package/dist/components/{p-CaHyFRpU.js → p-C05qWmXd.js} +3 -3
  301. package/dist/components/{p-CaHyFRpU.js.map → p-C05qWmXd.js.map} +1 -1
  302. package/dist/components/{p-G5cG9ahw.js → p-C1nX4HkM.js} +3 -3
  303. package/dist/components/{p-G5cG9ahw.js.map → p-C1nX4HkM.js.map} +1 -1
  304. package/dist/components/{p-DGlAo2Hc.js → p-C8HmyE5-.js} +3 -3
  305. package/dist/components/{p-DGlAo2Hc.js.map → p-C8HmyE5-.js.map} +1 -1
  306. package/dist/components/{p-DmlCoFGW.js → p-CMatO7AD.js} +3 -3
  307. package/dist/components/{p-DmlCoFGW.js.map → p-CMatO7AD.js.map} +1 -1
  308. package/dist/components/{p-DjjPGV3a.js → p-CPPy4ZvS.js} +6 -6
  309. package/dist/components/{p-DjjPGV3a.js.map → p-CPPy4ZvS.js.map} +1 -1
  310. package/dist/components/{p-CDPPh9ES.js → p-CY3F_EFI.js} +5 -5
  311. package/dist/components/{p-CDPPh9ES.js.map → p-CY3F_EFI.js.map} +1 -1
  312. package/dist/components/{p-B-hgy9Qr.js → p-CeWN48Eq.js} +3 -3
  313. package/dist/components/{p-B-hgy9Qr.js.map → p-CeWN48Eq.js.map} +1 -1
  314. package/dist/components/{p-CTDelwMf.js → p-CkaL7yIW.js} +4 -4
  315. package/dist/components/{p-CTDelwMf.js.map → p-CkaL7yIW.js.map} +1 -1
  316. package/dist/components/{p-DYZT-0xm.js → p-CmOT3tAE.js} +4 -4
  317. package/dist/components/{p-DYZT-0xm.js.map → p-CmOT3tAE.js.map} +1 -1
  318. package/dist/components/{p-D6WBvdoZ.js → p-CmU4eYJE.js} +5 -5
  319. package/dist/components/{p-D6WBvdoZ.js.map → p-CmU4eYJE.js.map} +1 -1
  320. package/dist/components/{p-gD0WsQqs.js → p-CxQXmlHR.js} +5 -5
  321. package/dist/components/{p-gD0WsQqs.js.map → p-CxQXmlHR.js.map} +1 -1
  322. package/dist/components/{p-uvbCz67Q.js → p-D1kXpb5A.js} +5 -5
  323. package/dist/components/{p-uvbCz67Q.js.map → p-D1kXpb5A.js.map} +1 -1
  324. package/dist/components/{p-CeBCwjRf.js → p-D5-m35gX.js} +3 -3
  325. package/dist/components/{p-CeBCwjRf.js.map → p-D5-m35gX.js.map} +1 -1
  326. package/dist/components/{p-CdR70Kv1.js → p-DBtE-heu.js} +6 -6
  327. package/dist/components/{p-CdR70Kv1.js.map → p-DBtE-heu.js.map} +1 -1
  328. package/dist/components/{p--aWqZ9H9.js → p-DMXuAjLo.js} +3 -3
  329. package/dist/components/{p--aWqZ9H9.js.map → p-DMXuAjLo.js.map} +1 -1
  330. package/dist/components/{p-G-vNzZpq.js → p-DNdQkidf.js} +4 -4
  331. package/dist/components/{p-G-vNzZpq.js.map → p-DNdQkidf.js.map} +1 -1
  332. package/dist/components/{p-PKWusChD.js → p-DOZPKyww.js} +4 -4
  333. package/dist/components/{p-PKWusChD.js.map → p-DOZPKyww.js.map} +1 -1
  334. package/dist/components/{p-C0enaaNi.js → p-DUWgh2he.js} +4 -4
  335. package/dist/components/{p-C0enaaNi.js.map → p-DUWgh2he.js.map} +1 -1
  336. package/dist/components/{p-sxltTNnO.js → p-Dd_y3e80.js} +4 -4
  337. package/dist/components/{p-sxltTNnO.js.map → p-Dd_y3e80.js.map} +1 -1
  338. package/dist/components/{p-Xy0_sffa.js → p-DinivoZj.js} +4 -4
  339. package/dist/components/{p-Xy0_sffa.js.map → p-DinivoZj.js.map} +1 -1
  340. package/dist/components/{p-DWD7Oc5l.js → p-DrEl4PxE.js} +3 -3
  341. package/dist/components/{p-DWD7Oc5l.js.map → p-DrEl4PxE.js.map} +1 -1
  342. package/dist/components/{p-D44TKuX4.js → p-DrXw6vxx.js} +4 -4
  343. package/dist/components/{p-D44TKuX4.js.map → p-DrXw6vxx.js.map} +1 -1
  344. package/dist/components/{p-Bx-hxLP0.js → p-FV14KcoH.js} +3 -3
  345. package/dist/components/{p-Bx-hxLP0.js.map → p-FV14KcoH.js.map} +1 -1
  346. package/dist/components/{p-D7xVlaes.js → p-WJ7nfpxz.js} +8 -8
  347. package/dist/components/{p-D7xVlaes.js.map → p-WJ7nfpxz.js.map} +1 -1
  348. package/dist/components/{p-Dga7rIrc.js → p-XmT5SQOF.js} +4 -4
  349. package/dist/components/{p-Dga7rIrc.js.map → p-XmT5SQOF.js.map} +1 -1
  350. package/dist/components/{p-Bi6_eN-1.js → p-joRNg4Kk.js} +4 -4
  351. package/dist/components/{p-Bi6_eN-1.js.map → p-joRNg4Kk.js.map} +1 -1
  352. package/dist/esm/af-accordion-item.entry.js +2 -2
  353. package/dist/esm/af-accordion.entry.js +2 -2
  354. package/dist/esm/af-aspect-ratio.entry.js +1 -1
  355. package/dist/esm/af-button-group.entry.js +2 -2
  356. package/dist/esm/af-button.entry.js +1 -1
  357. package/dist/esm/af-card.entry.js +2 -2
  358. package/dist/esm/af-center.entry.js +2 -2
  359. package/dist/esm/af-checkbox.entry.js +2 -2
  360. package/dist/esm/af-client-carousel.entry.js +2 -2
  361. package/dist/esm/af-color-swatch.entry.js +1 -1
  362. package/dist/esm/af-contact-item.entry.js +2 -2
  363. package/dist/esm/af-container.entry.js +1 -1
  364. package/dist/esm/af-divider.entry.js +2 -2
  365. package/dist/esm/af-feature-accordion.entry.js +3 -3
  366. package/dist/esm/af-feature-card.entry.js +1 -1
  367. package/dist/esm/af-feature-grid.entry.js +2 -2
  368. package/dist/esm/af-fieldset.entry.js +2 -2
  369. package/dist/esm/af-footer-column.entry.js +2 -2
  370. package/dist/esm/af-footer-link.entry.js +2 -2
  371. package/dist/esm/af-footer.entry.js +2 -2
  372. package/dist/esm/af-grid-callout.entry.js +1 -1
  373. package/dist/esm/af-grid.entry.js +3 -3
  374. package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -1
  375. package/dist/esm/af-heading_5.entry.js +3 -3
  376. package/dist/esm/af-hero.entry.js +3 -3
  377. package/dist/esm/af-icon-box.entry.js +2 -2
  378. package/dist/esm/af-icon-button.entry.js +1 -1
  379. package/dist/esm/af-icon-text.entry.js +2 -2
  380. package/dist/esm/af-icon.entry.js +1 -1
  381. package/dist/esm/af-illustrated-card.entry.js +2 -2
  382. package/dist/esm/af-image.entry.js +2 -2
  383. package/dist/esm/af-in-page-banner.entry.js +2 -2
  384. package/dist/esm/af-inline.entry.js +2 -2
  385. package/dist/esm/af-input.entry.js +2 -2
  386. package/dist/esm/af-logo-well.entry.js +2 -2
  387. package/dist/esm/af-nav-accordion-item.entry.js +3 -3
  388. package/dist/esm/af-nav-accordion.entry.js +2 -2
  389. package/dist/esm/af-nav-card.entry.js +1 -1
  390. package/dist/esm/af-nav-menu-nest.entry.js +2 -2
  391. package/dist/esm/af-nav-menu.entry.js +2 -2
  392. package/dist/esm/af-number-badge.entry.js +2 -2
  393. package/dist/esm/af-numbered-stepper-item.entry.js +2 -2
  394. package/dist/esm/af-numbered-stepper.entry.js +2 -2
  395. package/dist/esm/af-paperclip-decoration.entry.js +2 -2
  396. package/dist/esm/af-progress-line.entry.js +3 -3
  397. package/dist/esm/af-radio.entry.js +2 -2
  398. package/dist/esm/af-section.entry.js +3 -3
  399. package/dist/esm/af-show.entry.js +2 -2
  400. package/dist/esm/af-social-link.entry.js +2 -2
  401. package/dist/esm/af-spacer.entry.js +2 -2
  402. package/dist/esm/af-split-section.entry.js +3 -3
  403. package/dist/esm/af-stack.entry.js +2 -2
  404. package/dist/esm/af-stat.entry.js +2 -2
  405. package/dist/esm/af-stats-row.entry.js +2 -2
  406. package/dist/esm/af-stepper-step.entry.js +2 -2
  407. package/dist/esm/af-stepper.entry.js +2 -2
  408. package/dist/esm/af-switch.entry.js +2 -2
  409. package/dist/esm/af-tab-bar.entry.js +2 -2
  410. package/dist/esm/af-tab.entry.js +2 -2
  411. package/dist/esm/af-tag.entry.js +3 -3
  412. package/dist/esm/af-testimonial-carousel.entry.js +2 -2
  413. package/dist/esm/af-testimonial-stat.entry.js +2 -2
  414. package/dist/esm/af-testimonial.entry.js +3 -3
  415. package/dist/esm/af-text-image-nest.entry.js +2 -2
  416. package/dist/esm/af-text-image.entry.js +1 -1
  417. package/dist/esm/af-textarea.entry.js +2 -2
  418. package/dist/esm/af-theme-override.entry.js +2 -2
  419. package/dist/esm/af-typography-lockup.entry.js +2 -2
  420. package/dist/esm/af-video-container.entry.js +2 -2
  421. package/dist/esm/af-visually-hidden.entry.js +2 -2
  422. package/dist/esm/affinda.js +2 -2
  423. package/dist/esm/{index-C4WBekD2.js → index-CYq0zyKH.js} +647 -9
  424. package/dist/esm/index-CYq0zyKH.js.map +1 -0
  425. package/dist/esm/index.js +1 -1
  426. package/dist/esm/loader.js +2 -2
  427. package/dist/hydrate/index.d.ts +275 -0
  428. package/dist/hydrate/index.js +24871 -0
  429. package/dist/hydrate/index.mjs +24863 -0
  430. package/dist/hydrate/package.json +12 -0
  431. package/package.json +21 -1
  432. package/dist/affinda/p-14bd7903.entry.js +0 -2
  433. package/dist/affinda/p-1902ed20.entry.js +0 -2
  434. package/dist/affinda/p-3238f8e8.entry.js +0 -2
  435. package/dist/affinda/p-432ee0e3.entry.js +0 -2
  436. package/dist/affinda/p-6b7fcb18.entry.js +0 -2
  437. package/dist/affinda/p-9963bec0.entry.js +0 -2
  438. package/dist/affinda/p-C4WBekD2.js +0 -3
  439. package/dist/affinda/p-C4WBekD2.js.map +0 -1
  440. package/dist/affinda/p-adabec15.entry.js +0 -2
  441. package/dist/affinda/p-b65cf4c3.entry.js +0 -2
  442. package/dist/affinda/p-ec042bc4.entry.js +0 -2
  443. package/dist/cjs/index-3161MbMQ.js.map +0 -1
  444. package/dist/components/p-1ol-T8nk.js.map +0 -1
  445. package/dist/components/p-CiY0Twna.js.map +0 -1
  446. package/dist/esm/index-C4WBekD2.js.map +0 -1
  447. /package/dist/affinda/{p-9610cd3c.entry.js.map → p-02c6f6d1.entry.js.map} +0 -0
  448. /package/dist/affinda/{p-5885ebd3.entry.js.map → p-0c7d81d0.entry.js.map} +0 -0
  449. /package/dist/affinda/{p-bc77706d.entry.js.map → p-1554f3d7.entry.js.map} +0 -0
  450. /package/dist/affinda/{p-57fcfd78.entry.js.map → p-15a1d019.entry.js.map} +0 -0
  451. /package/dist/affinda/{p-f9ecbde8.entry.js.map → p-1819ae80.entry.js.map} +0 -0
  452. /package/dist/affinda/{p-750063ab.entry.js.map → p-1a71d0f9.entry.js.map} +0 -0
  453. /package/dist/affinda/{p-4f15b8f0.entry.js.map → p-1e59a051.entry.js.map} +0 -0
  454. /package/dist/affinda/{p-ce77f08f.entry.js.map → p-1f2f7fff.entry.js.map} +0 -0
  455. /package/dist/affinda/{p-67e8c6f6.entry.js.map → p-20faf28d.entry.js.map} +0 -0
  456. /package/dist/affinda/{p-42c4d7b1.entry.js.map → p-2716cdc4.entry.js.map} +0 -0
  457. /package/dist/affinda/{p-fff252df.entry.js.map → p-3084cb0f.entry.js.map} +0 -0
  458. /package/dist/affinda/{p-67a27eaf.entry.js.map → p-31d96ddc.entry.js.map} +0 -0
  459. /package/dist/affinda/{p-7eca844d.entry.js.map → p-374f9557.entry.js.map} +0 -0
  460. /package/dist/affinda/{p-ea150b3d.entry.js.map → p-3fd3d4cd.entry.js.map} +0 -0
  461. /package/dist/affinda/{p-587fd0fa.entry.js.map → p-41580a3c.entry.js.map} +0 -0
  462. /package/dist/affinda/{p-43a0286a.entry.js.map → p-47d2f72b.entry.js.map} +0 -0
  463. /package/dist/affinda/{p-d923549d.entry.js.map → p-50e12df0.entry.js.map} +0 -0
  464. /package/dist/affinda/{p-9b115359.entry.js.map → p-54dc41a9.entry.js.map} +0 -0
  465. /package/dist/affinda/{p-05072f90.entry.js.map → p-56e96bd3.entry.js.map} +0 -0
  466. /package/dist/affinda/{p-f7fc76d2.entry.js.map → p-5834ffe7.entry.js.map} +0 -0
  467. /package/dist/affinda/{p-9e19a477.entry.js.map → p-5e966aa6.entry.js.map} +0 -0
  468. /package/dist/affinda/{p-3dd90f46.entry.js.map → p-616e0116.entry.js.map} +0 -0
  469. /package/dist/affinda/{p-ec042bc4.entry.js.map → p-64159112.entry.js.map} +0 -0
  470. /package/dist/affinda/{p-a7b51bb6.entry.js.map → p-656630fc.entry.js.map} +0 -0
  471. /package/dist/affinda/{p-44e976ee.entry.js.map → p-67b08108.entry.js.map} +0 -0
  472. /package/dist/affinda/{p-26a6d9a7.entry.js.map → p-75d76909.entry.js.map} +0 -0
  473. /package/dist/affinda/{p-b82fc7f1.entry.js.map → p-761f06ae.entry.js.map} +0 -0
  474. /package/dist/affinda/{p-dd0cd57e.entry.js.map → p-7b08b7ba.entry.js.map} +0 -0
  475. /package/dist/affinda/{p-b8ea57a9.entry.js.map → p-7eff3490.entry.js.map} +0 -0
  476. /package/dist/affinda/{p-7c9683d8.entry.js.map → p-838bbc80.entry.js.map} +0 -0
  477. /package/dist/affinda/{p-5f3419c3.entry.js.map → p-88f38401.entry.js.map} +0 -0
  478. /package/dist/affinda/{p-d6b8c3b4.entry.js.map → p-8b0d08de.entry.js.map} +0 -0
  479. /package/dist/affinda/{p-dd4c8640.entry.js.map → p-8f36e911.entry.js.map} +0 -0
  480. /package/dist/affinda/{p-c4fd7d48.entry.js.map → p-919e2144.entry.js.map} +0 -0
  481. /package/dist/affinda/{p-08a42935.entry.js.map → p-92c61bad.entry.js.map} +0 -0
  482. /package/dist/affinda/{p-9ca72e02.entry.js.map → p-95da58f3.entry.js.map} +0 -0
  483. /package/dist/affinda/{p-6b7fcb18.entry.js.map → p-976e0c29.entry.js.map} +0 -0
  484. /package/dist/affinda/{p-1902ed20.entry.js.map → p-99b37588.entry.js.map} +0 -0
  485. /package/dist/affinda/{p-9963bec0.entry.js.map → p-a196f362.entry.js.map} +0 -0
  486. /package/dist/affinda/{p-ac45df4b.entry.js.map → p-a3ed4092.entry.js.map} +0 -0
  487. /package/dist/affinda/{p-d9913985.entry.js.map → p-a4b36eb7.entry.js.map} +0 -0
  488. /package/dist/affinda/{p-432ee0e3.entry.js.map → p-a6be61c2.entry.js.map} +0 -0
  489. /package/dist/affinda/{p-19dc4331.entry.js.map → p-a79077d5.entry.js.map} +0 -0
  490. /package/dist/affinda/{p-75443f08.entry.js.map → p-b31e438d.entry.js.map} +0 -0
  491. /package/dist/affinda/{p-d647ae06.entry.js.map → p-b77fa201.entry.js.map} +0 -0
  492. /package/dist/affinda/{p-d06ae9cd.entry.js.map → p-bb80195f.entry.js.map} +0 -0
  493. /package/dist/affinda/{p-7640c285.entry.js.map → p-bc59dc0e.entry.js.map} +0 -0
  494. /package/dist/affinda/{p-77ec01ee.entry.js.map → p-be219843.entry.js.map} +0 -0
  495. /package/dist/affinda/{p-bac968a1.entry.js.map → p-c15d00b5.entry.js.map} +0 -0
  496. /package/dist/affinda/{p-e90a3892.entry.js.map → p-c23d7aa5.entry.js.map} +0 -0
  497. /package/dist/affinda/{p-14bd7903.entry.js.map → p-c2a6c874.entry.js.map} +0 -0
  498. /package/dist/affinda/{p-d34da6c0.entry.js.map → p-c6aa66f3.entry.js.map} +0 -0
  499. /package/dist/affinda/{p-7013570d.entry.js.map → p-c925d301.entry.js.map} +0 -0
  500. /package/dist/affinda/{p-2586fbb8.entry.js.map → p-cc2539de.entry.js.map} +0 -0
  501. /package/dist/affinda/{p-b65cf4c3.entry.js.map → p-cd21a62a.entry.js.map} +0 -0
  502. /package/dist/affinda/{p-95b49b45.entry.js.map → p-cea1c1ff.entry.js.map} +0 -0
  503. /package/dist/affinda/{p-479a300e.entry.js.map → p-d573d115.entry.js.map} +0 -0
  504. /package/dist/affinda/{p-9b9e81cf.entry.js.map → p-d9b0f217.entry.js.map} +0 -0
  505. /package/dist/affinda/{p-6986f604.entry.js.map → p-df10dee2.entry.js.map} +0 -0
  506. /package/dist/affinda/{p-7ce2b434.entry.js.map → p-e057ebf1.entry.js.map} +0 -0
  507. /package/dist/affinda/{p-df6c7170.entry.js.map → p-e10c03b6.entry.js.map} +0 -0
  508. /package/dist/affinda/{p-e0619222.entry.js.map → p-ea5aea86.entry.js.map} +0 -0
  509. /package/dist/affinda/{p-2a8441cb.entry.js.map → p-eca85313.entry.js.map} +0 -0
  510. /package/dist/affinda/{p-255a8254.entry.js.map → p-f1705df1.entry.js.map} +0 -0
  511. /package/dist/affinda/{p-27469df6.entry.js.map → p-f38688c6.entry.js.map} +0 -0
  512. /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