@xplor-education/core-stencil-components 2.0.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 (724) hide show
  1. package/LICENSE +21 -0
  2. package/components/index.d.ts +33 -0
  3. package/components/index.js +2324 -0
  4. package/components/index.js.map +1 -0
  5. package/components/p-B1W2qj2l.js +50 -0
  6. package/components/p-B1W2qj2l.js.map +1 -0
  7. package/components/p-BK_ATKuB.js +37 -0
  8. package/components/p-BK_ATKuB.js.map +1 -0
  9. package/components/p-CBSi5kQB.js +56 -0
  10. package/components/p-CBSi5kQB.js.map +1 -0
  11. package/components/p-CTD6SyTD.js +181 -0
  12. package/components/p-CTD6SyTD.js.map +1 -0
  13. package/components/p-Ddr35stE.js +117 -0
  14. package/components/p-Ddr35stE.js.map +1 -0
  15. package/components/p-x30CgLRv.js +184 -0
  16. package/components/p-x30CgLRv.js.map +1 -0
  17. package/components/xplor-alert-dialog.d.ts +11 -0
  18. package/components/xplor-alert-dialog.js +85 -0
  19. package/components/xplor-alert-dialog.js.map +1 -0
  20. package/components/xplor-alert-message.d.ts +11 -0
  21. package/components/xplor-alert-message.js +48 -0
  22. package/components/xplor-alert-message.js.map +1 -0
  23. package/components/xplor-assistant.d.ts +11 -0
  24. package/components/xplor-assistant.js +763 -0
  25. package/components/xplor-assistant.js.map +1 -0
  26. package/components/xplor-autocomplete.d.ts +11 -0
  27. package/components/xplor-autocomplete.js +268 -0
  28. package/components/xplor-autocomplete.js.map +1 -0
  29. package/components/xplor-avatar-and-name.d.ts +11 -0
  30. package/components/xplor-avatar-and-name.js +48 -0
  31. package/components/xplor-avatar-and-name.js.map +1 -0
  32. package/components/xplor-avatar.d.ts +11 -0
  33. package/components/xplor-avatar.js +9 -0
  34. package/components/xplor-avatar.js.map +1 -0
  35. package/components/xplor-badge-active.d.ts +11 -0
  36. package/components/xplor-badge-active.js +35 -0
  37. package/components/xplor-badge-active.js.map +1 -0
  38. package/components/xplor-badge-archived.d.ts +11 -0
  39. package/components/xplor-badge-archived.js +35 -0
  40. package/components/xplor-badge-archived.js.map +1 -0
  41. package/components/xplor-badge-deleted.d.ts +11 -0
  42. package/components/xplor-badge-deleted.js +35 -0
  43. package/components/xplor-badge-deleted.js.map +1 -0
  44. package/components/xplor-badge-expired.d.ts +11 -0
  45. package/components/xplor-badge-expired.js +35 -0
  46. package/components/xplor-badge-expired.js.map +1 -0
  47. package/components/xplor-badge-inactive.d.ts +11 -0
  48. package/components/xplor-badge-inactive.js +35 -0
  49. package/components/xplor-badge-inactive.js.map +1 -0
  50. package/components/xplor-badge-recalled.d.ts +11 -0
  51. package/components/xplor-badge-recalled.js +35 -0
  52. package/components/xplor-badge-recalled.js.map +1 -0
  53. package/components/xplor-badge-session-booking.d.ts +11 -0
  54. package/components/xplor-badge-session-booking.js +60 -0
  55. package/components/xplor-badge-session-booking.js.map +1 -0
  56. package/components/xplor-badge-upcoming.d.ts +11 -0
  57. package/components/xplor-badge-upcoming.js +35 -0
  58. package/components/xplor-badge-upcoming.js.map +1 -0
  59. package/components/xplor-badge-waitlist.d.ts +11 -0
  60. package/components/xplor-badge-waitlist.js +35 -0
  61. package/components/xplor-badge-waitlist.js.map +1 -0
  62. package/components/xplor-badge.d.ts +11 -0
  63. package/components/xplor-badge.js +151 -0
  64. package/components/xplor-badge.js.map +1 -0
  65. package/components/xplor-btn-back-to-parent.d.ts +11 -0
  66. package/components/xplor-btn-back-to-parent.js +72 -0
  67. package/components/xplor-btn-back-to-parent.js.map +1 -0
  68. package/components/xplor-btn-back.d.ts +11 -0
  69. package/components/xplor-btn-back.js +76 -0
  70. package/components/xplor-btn-back.js.map +1 -0
  71. package/components/xplor-btn-icon.d.ts +11 -0
  72. package/components/xplor-btn-icon.js +77 -0
  73. package/components/xplor-btn-icon.js.map +1 -0
  74. package/components/xplor-btn-menu.d.ts +11 -0
  75. package/components/xplor-btn-menu.js +105 -0
  76. package/components/xplor-btn-menu.js.map +1 -0
  77. package/components/xplor-btn-toggle-group.d.ts +11 -0
  78. package/components/xplor-btn-toggle-group.js +46 -0
  79. package/components/xplor-btn-toggle-group.js.map +1 -0
  80. package/components/xplor-btn-toggle-secondary.d.ts +11 -0
  81. package/components/xplor-btn-toggle-secondary.js +64 -0
  82. package/components/xplor-btn-toggle-secondary.js.map +1 -0
  83. package/components/xplor-btn-toggle.d.ts +11 -0
  84. package/components/xplor-btn-toggle.js +69 -0
  85. package/components/xplor-btn-toggle.js.map +1 -0
  86. package/components/xplor-btn-tooltip.d.ts +11 -0
  87. package/components/xplor-btn-tooltip.js +58 -0
  88. package/components/xplor-btn-tooltip.js.map +1 -0
  89. package/components/xplor-button.d.ts +11 -0
  90. package/components/xplor-button.js +9 -0
  91. package/components/xplor-button.js.map +1 -0
  92. package/components/xplor-chat-widget.d.ts +11 -0
  93. package/components/xplor-chat-widget.js +104 -0
  94. package/components/xplor-chat-widget.js.map +1 -0
  95. package/components/xplor-checkbox.d.ts +11 -0
  96. package/components/xplor-checkbox.js +124 -0
  97. package/components/xplor-checkbox.js.map +1 -0
  98. package/components/xplor-combobox.d.ts +11 -0
  99. package/components/xplor-combobox.js +278 -0
  100. package/components/xplor-combobox.js.map +1 -0
  101. package/components/xplor-datatable.d.ts +11 -0
  102. package/components/xplor-datatable.js +243 -0
  103. package/components/xplor-datatable.js.map +1 -0
  104. package/components/xplor-date-picker.d.ts +11 -0
  105. package/components/xplor-date-picker.js +268 -0
  106. package/components/xplor-date-picker.js.map +1 -0
  107. package/components/xplor-drag-and-drop-input.d.ts +11 -0
  108. package/components/xplor-drag-and-drop-input.js +137 -0
  109. package/components/xplor-drag-and-drop-input.js.map +1 -0
  110. package/components/xplor-dropdown.d.ts +11 -0
  111. package/components/xplor-dropdown.js +9 -0
  112. package/components/xplor-dropdown.js.map +1 -0
  113. package/components/xplor-expansion-panel.d.ts +11 -0
  114. package/components/xplor-expansion-panel.js +74 -0
  115. package/components/xplor-expansion-panel.js.map +1 -0
  116. package/components/xplor-expansion-panels.d.ts +11 -0
  117. package/components/xplor-expansion-panels.js +70 -0
  118. package/components/xplor-expansion-panels.js.map +1 -0
  119. package/components/xplor-file-upload.d.ts +11 -0
  120. package/components/xplor-file-upload.js +183 -0
  121. package/components/xplor-file-upload.js.map +1 -0
  122. package/components/xplor-inline-checkbox.d.ts +11 -0
  123. package/components/xplor-inline-checkbox.js +75 -0
  124. package/components/xplor-inline-checkbox.js.map +1 -0
  125. package/components/xplor-inline-date-picker.d.ts +11 -0
  126. package/components/xplor-inline-date-picker.js +9 -0
  127. package/components/xplor-inline-date-picker.js.map +1 -0
  128. package/components/xplor-inline-switch.d.ts +11 -0
  129. package/components/xplor-inline-switch.js +68 -0
  130. package/components/xplor-inline-switch.js.map +1 -0
  131. package/components/xplor-input-file.d.ts +11 -0
  132. package/components/xplor-input-file.js +121 -0
  133. package/components/xplor-input-file.js.map +1 -0
  134. package/components/xplor-input-search.d.ts +11 -0
  135. package/components/xplor-input-search.js +89 -0
  136. package/components/xplor-input-search.js.map +1 -0
  137. package/components/xplor-input-select.d.ts +11 -0
  138. package/components/xplor-input-select.js +168 -0
  139. package/components/xplor-input-select.js.map +1 -0
  140. package/components/xplor-input-send.d.ts +11 -0
  141. package/components/xplor-input-send.js +87 -0
  142. package/components/xplor-input-send.js.map +1 -0
  143. package/components/xplor-input-text-area.d.ts +11 -0
  144. package/components/xplor-input-text-area.js +131 -0
  145. package/components/xplor-input-text-area.js.map +1 -0
  146. package/components/xplor-input-text-secondary.d.ts +11 -0
  147. package/components/xplor-input-text-secondary.js +94 -0
  148. package/components/xplor-input-text-secondary.js.map +1 -0
  149. package/components/xplor-input-text.d.ts +11 -0
  150. package/components/xplor-input-text.js +129 -0
  151. package/components/xplor-input-text.js.map +1 -0
  152. package/components/xplor-input-title.d.ts +11 -0
  153. package/components/xplor-input-title.js +68 -0
  154. package/components/xplor-input-title.js.map +1 -0
  155. package/components/xplor-links.d.ts +11 -0
  156. package/components/xplor-links.js +38 -0
  157. package/components/xplor-links.js.map +1 -0
  158. package/components/xplor-modal-persistent.d.ts +11 -0
  159. package/components/xplor-modal-persistent.js +65 -0
  160. package/components/xplor-modal-persistent.js.map +1 -0
  161. package/components/xplor-modal.d.ts +11 -0
  162. package/components/xplor-modal.js +9 -0
  163. package/components/xplor-modal.js.map +1 -0
  164. package/components/xplor-nav-tabs.d.ts +11 -0
  165. package/components/xplor-nav-tabs.js +58 -0
  166. package/components/xplor-nav-tabs.js.map +1 -0
  167. package/components/xplor-section-card.d.ts +11 -0
  168. package/components/xplor-section-card.js +46 -0
  169. package/components/xplor-section-card.js.map +1 -0
  170. package/components/xplor-section-heading.d.ts +11 -0
  171. package/components/xplor-section-heading.js +43 -0
  172. package/components/xplor-section-heading.js.map +1 -0
  173. package/components/xplor-table.d.ts +11 -0
  174. package/components/xplor-table.js +275 -0
  175. package/components/xplor-table.js.map +1 -0
  176. package/components/xplor-text-bubble.d.ts +11 -0
  177. package/components/xplor-text-bubble.js +42 -0
  178. package/components/xplor-text-bubble.js.map +1 -0
  179. package/components/xplor-text-field.d.ts +11 -0
  180. package/components/xplor-text-field.js +190 -0
  181. package/components/xplor-text-field.js.map +1 -0
  182. package/components/xplor-time-picker.d.ts +11 -0
  183. package/components/xplor-time-picker.js +348 -0
  184. package/components/xplor-time-picker.js.map +1 -0
  185. package/components/xplor-tooltip.d.ts +11 -0
  186. package/components/xplor-tooltip.js +9 -0
  187. package/components/xplor-tooltip.js.map +1 -0
  188. package/dist/cjs/index-Bc5o_4vY.js +2594 -0
  189. package/dist/cjs/index-Bc5o_4vY.js.map +1 -0
  190. package/dist/cjs/index.cjs.js +5 -0
  191. package/dist/cjs/index.cjs.js.map +1 -0
  192. package/dist/cjs/loader.cjs.js +15 -0
  193. package/dist/cjs/loader.cjs.js.map +1 -0
  194. package/dist/cjs/xplor-alert-dialog_57.cjs.entry.js +4750 -0
  195. package/dist/cjs/xplor-alert-dialog_57.cjs.entry.js.map +1 -0
  196. package/dist/cjs/xplor-component-library.cjs.js +27 -0
  197. package/dist/cjs/xplor-component-library.cjs.js.map +1 -0
  198. package/dist/collection/collection-manifest.json +69 -0
  199. package/dist/collection/components/element-interface.js +2 -0
  200. package/dist/collection/components/element-interface.js.map +1 -0
  201. package/dist/collection/components/helpers.js +129 -0
  202. package/dist/collection/components/helpers.js.map +1 -0
  203. package/dist/collection/components/xplor-alert-dialog/xplor-alert-dialog.css +348 -0
  204. package/dist/collection/components/xplor-alert-dialog/xplor-alert-dialog.js +163 -0
  205. package/dist/collection/components/xplor-alert-dialog/xplor-alert-dialog.js.map +1 -0
  206. package/dist/collection/components/xplor-alert-message/xplor-alert-message.css +352 -0
  207. package/dist/collection/components/xplor-alert-message/xplor-alert-message.js +110 -0
  208. package/dist/collection/components/xplor-alert-message/xplor-alert-message.js.map +1 -0
  209. package/dist/collection/components/xplor-assistant/internal/AssistantInput.js +39 -0
  210. package/dist/collection/components/xplor-assistant/internal/AssistantInput.js.map +1 -0
  211. package/dist/collection/components/xplor-assistant/internal/AssistantMessage.js +35 -0
  212. package/dist/collection/components/xplor-assistant/internal/AssistantMessage.js.map +1 -0
  213. package/dist/collection/components/xplor-assistant/internal/QuickReplies.js +13 -0
  214. package/dist/collection/components/xplor-assistant/internal/QuickReplies.js.map +1 -0
  215. package/dist/collection/components/xplor-assistant/internal/TypingIndicator.js +9 -0
  216. package/dist/collection/components/xplor-assistant/internal/TypingIndicator.js.map +1 -0
  217. package/dist/collection/components/xplor-assistant/internal/types.js +2 -0
  218. package/dist/collection/components/xplor-assistant/internal/types.js.map +1 -0
  219. package/dist/collection/components/xplor-assistant/utils/api.js +138 -0
  220. package/dist/collection/components/xplor-assistant/utils/api.js.map +1 -0
  221. package/dist/collection/components/xplor-assistant/utils/icons.js +53 -0
  222. package/dist/collection/components/xplor-assistant/utils/icons.js.map +1 -0
  223. package/dist/collection/components/xplor-assistant/utils/speech.js +230 -0
  224. package/dist/collection/components/xplor-assistant/utils/speech.js.map +1 -0
  225. package/dist/collection/components/xplor-assistant/xplor-assistant.css +1384 -0
  226. package/dist/collection/components/xplor-assistant/xplor-assistant.js +675 -0
  227. package/dist/collection/components/xplor-assistant/xplor-assistant.js.map +1 -0
  228. package/dist/collection/components/xplor-autocomplete/xplor-autocomplete.css +458 -0
  229. package/dist/collection/components/xplor-autocomplete/xplor-autocomplete.js +613 -0
  230. package/dist/collection/components/xplor-autocomplete/xplor-autocomplete.js.map +1 -0
  231. package/dist/collection/components/xplor-avatar/avatar.stories.js +175 -0
  232. package/dist/collection/components/xplor-avatar/avatar.stories.js.map +1 -0
  233. package/dist/collection/components/xplor-avatar/xplor-avatar.css +271 -0
  234. package/dist/collection/components/xplor-avatar/xplor-avatar.js +186 -0
  235. package/dist/collection/components/xplor-avatar/xplor-avatar.js.map +1 -0
  236. package/dist/collection/components/xplor-avatar-and-name/xplor-avatar-and-name.css +284 -0
  237. package/dist/collection/components/xplor-avatar-and-name/xplor-avatar-and-name.js +122 -0
  238. package/dist/collection/components/xplor-avatar-and-name/xplor-avatar-and-name.js.map +1 -0
  239. package/dist/collection/components/xplor-badge/xplor-badge.css +1100 -0
  240. package/dist/collection/components/xplor-badge/xplor-badge.js +273 -0
  241. package/dist/collection/components/xplor-badge/xplor-badge.js.map +1 -0
  242. package/dist/collection/components/xplor-badge-active/xplor-badge-active.css +280 -0
  243. package/dist/collection/components/xplor-badge-active/xplor-badge-active.js +19 -0
  244. package/dist/collection/components/xplor-badge-active/xplor-badge-active.js.map +1 -0
  245. package/dist/collection/components/xplor-badge-archived/xplor-badge-archived.css +280 -0
  246. package/dist/collection/components/xplor-badge-archived/xplor-badge-archived.js +19 -0
  247. package/dist/collection/components/xplor-badge-archived/xplor-badge-archived.js.map +1 -0
  248. package/dist/collection/components/xplor-badge-deleted/xplor-badge-deleted.css +280 -0
  249. package/dist/collection/components/xplor-badge-deleted/xplor-badge-deleted.js +19 -0
  250. package/dist/collection/components/xplor-badge-deleted/xplor-badge-deleted.js.map +1 -0
  251. package/dist/collection/components/xplor-badge-expired/xplor-badge-expired.css +280 -0
  252. package/dist/collection/components/xplor-badge-expired/xplor-badge-expired.js +19 -0
  253. package/dist/collection/components/xplor-badge-expired/xplor-badge-expired.js.map +1 -0
  254. package/dist/collection/components/xplor-badge-inactive/xplor-badge-inactive.css +280 -0
  255. package/dist/collection/components/xplor-badge-inactive/xplor-badge-inactive.js +19 -0
  256. package/dist/collection/components/xplor-badge-inactive/xplor-badge-inactive.js.map +1 -0
  257. package/dist/collection/components/xplor-badge-recalled/xplor-badge-recalled.css +280 -0
  258. package/dist/collection/components/xplor-badge-recalled/xplor-badge-recalled.js +19 -0
  259. package/dist/collection/components/xplor-badge-recalled/xplor-badge-recalled.js.map +1 -0
  260. package/dist/collection/components/xplor-badge-session-booking/xplor-badge-session-booking.css +300 -0
  261. package/dist/collection/components/xplor-badge-session-booking/xplor-badge-session-booking.js +93 -0
  262. package/dist/collection/components/xplor-badge-session-booking/xplor-badge-session-booking.js.map +1 -0
  263. package/dist/collection/components/xplor-badge-upcoming/xplor-badge-upcoming.css +280 -0
  264. package/dist/collection/components/xplor-badge-upcoming/xplor-badge-upcoming.js +19 -0
  265. package/dist/collection/components/xplor-badge-upcoming/xplor-badge-upcoming.js.map +1 -0
  266. package/dist/collection/components/xplor-badge-waitlist/xplor-badge-waitlist.css +280 -0
  267. package/dist/collection/components/xplor-badge-waitlist/xplor-badge-waitlist.js +19 -0
  268. package/dist/collection/components/xplor-badge-waitlist/xplor-badge-waitlist.js.map +1 -0
  269. package/dist/collection/components/xplor-btn-back/xplor-btn-back.css +306 -0
  270. package/dist/collection/components/xplor-btn-back/xplor-btn-back.js +182 -0
  271. package/dist/collection/components/xplor-btn-back/xplor-btn-back.js.map +1 -0
  272. package/dist/collection/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.css +306 -0
  273. package/dist/collection/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.js +173 -0
  274. package/dist/collection/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.js.map +1 -0
  275. package/dist/collection/components/xplor-btn-icon/xplor-btn-icon.css +370 -0
  276. package/dist/collection/components/xplor-btn-icon/xplor-btn-icon.js +183 -0
  277. package/dist/collection/components/xplor-btn-icon/xplor-btn-icon.js.map +1 -0
  278. package/dist/collection/components/xplor-btn-menu/xplor-btn-menu.css +327 -0
  279. package/dist/collection/components/xplor-btn-menu/xplor-btn-menu.js +238 -0
  280. package/dist/collection/components/xplor-btn-menu/xplor-btn-menu.js.map +1 -0
  281. package/dist/collection/components/xplor-btn-toggle/xplor-btn-toggle.css +312 -0
  282. package/dist/collection/components/xplor-btn-toggle/xplor-btn-toggle.js +151 -0
  283. package/dist/collection/components/xplor-btn-toggle/xplor-btn-toggle.js.map +1 -0
  284. package/dist/collection/components/xplor-btn-toggle-group/xplor-btn-toggle-group.css +278 -0
  285. package/dist/collection/components/xplor-btn-toggle-group/xplor-btn-toggle-group.js +73 -0
  286. package/dist/collection/components/xplor-btn-toggle-group/xplor-btn-toggle-group.js.map +1 -0
  287. package/dist/collection/components/xplor-btn-toggle-secondary/xplor-btn-toggle-secondary.css +314 -0
  288. package/dist/collection/components/xplor-btn-toggle-secondary/xplor-btn-toggle-secondary.js +127 -0
  289. package/dist/collection/components/xplor-btn-toggle-secondary/xplor-btn-toggle-secondary.js.map +1 -0
  290. package/dist/collection/components/xplor-btn-tooltip/xplor-btn-tooltip.css +271 -0
  291. package/dist/collection/components/xplor-btn-tooltip/xplor-btn-tooltip.js +164 -0
  292. package/dist/collection/components/xplor-btn-tooltip/xplor-btn-tooltip.js.map +1 -0
  293. package/dist/collection/components/xplor-button/xplor-button.css +1253 -0
  294. package/dist/collection/components/xplor-button/xplor-button.js +212 -0
  295. package/dist/collection/components/xplor-button/xplor-button.js.map +1 -0
  296. package/dist/collection/components/xplor-button/xplor-buttons.stories.js +49 -0
  297. package/dist/collection/components/xplor-button/xplor-buttons.stories.js.map +1 -0
  298. package/dist/collection/components/xplor-chat-widget/xplor-chat-widget.css +276 -0
  299. package/dist/collection/components/xplor-chat-widget/xplor-chat-widget.js +139 -0
  300. package/dist/collection/components/xplor-chat-widget/xplor-chat-widget.js.map +1 -0
  301. package/dist/collection/components/xplor-chat-widget/xplor-chat.stories.js +31 -0
  302. package/dist/collection/components/xplor-chat-widget/xplor-chat.stories.js.map +1 -0
  303. package/dist/collection/components/xplor-checkbox/xplor-checkbox.css +453 -0
  304. package/dist/collection/components/xplor-checkbox/xplor-checkbox.js +230 -0
  305. package/dist/collection/components/xplor-checkbox/xplor-checkbox.js.map +1 -0
  306. package/dist/collection/components/xplor-combobox/xplor-combobox.css +473 -0
  307. package/dist/collection/components/xplor-combobox/xplor-combobox.js +553 -0
  308. package/dist/collection/components/xplor-combobox/xplor-combobox.js.map +1 -0
  309. package/dist/collection/components/xplor-datatable/xplor-datatable.css +580 -0
  310. package/dist/collection/components/xplor-datatable/xplor-datatable.js +536 -0
  311. package/dist/collection/components/xplor-datatable/xplor-datatable.js.map +1 -0
  312. package/dist/collection/components/xplor-datatable/xplor-datatable.stories.js +137 -0
  313. package/dist/collection/components/xplor-datatable/xplor-datatable.stories.js.map +1 -0
  314. package/dist/collection/components/xplor-date-picker/xplor-date-picker.css +415 -0
  315. package/dist/collection/components/xplor-date-picker/xplor-date-picker.js +694 -0
  316. package/dist/collection/components/xplor-date-picker/xplor-date-picker.js.map +1 -0
  317. package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.css +1149 -0
  318. package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.js +256 -0
  319. package/dist/collection/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.js.map +1 -0
  320. package/dist/collection/components/xplor-dropdown/xplor-dropdown.css +286 -0
  321. package/dist/collection/components/xplor-dropdown/xplor-dropdown.js +83 -0
  322. package/dist/collection/components/xplor-dropdown/xplor-dropdown.js.map +1 -0
  323. package/dist/collection/components/xplor-expansion-panel/xplor-expansion-panel.css +334 -0
  324. package/dist/collection/components/xplor-expansion-panel/xplor-expansion-panel.js +122 -0
  325. package/dist/collection/components/xplor-expansion-panel/xplor-expansion-panel.js.map +1 -0
  326. package/dist/collection/components/xplor-expansion-panels/xplor-expansion-panels.css +277 -0
  327. package/dist/collection/components/xplor-expansion-panels/xplor-expansion-panels.js +129 -0
  328. package/dist/collection/components/xplor-expansion-panels/xplor-expansion-panels.js.map +1 -0
  329. package/dist/collection/components/xplor-file-upload/xplor-file-upload.css +433 -0
  330. package/dist/collection/components/xplor-file-upload/xplor-file-upload.js +347 -0
  331. package/dist/collection/components/xplor-file-upload/xplor-file-upload.js.map +1 -0
  332. package/dist/collection/components/xplor-inline-checkbox/xplor-inline-checkbox.css +300 -0
  333. package/dist/collection/components/xplor-inline-checkbox/xplor-inline-checkbox.js +194 -0
  334. package/dist/collection/components/xplor-inline-checkbox/xplor-inline-checkbox.js.map +1 -0
  335. package/dist/collection/components/xplor-inline-date-picker/xplor-inline-date-picker.css +410 -0
  336. package/dist/collection/components/xplor-inline-date-picker/xplor-inline-date-picker.js +325 -0
  337. package/dist/collection/components/xplor-inline-date-picker/xplor-inline-date-picker.js.map +1 -0
  338. package/dist/collection/components/xplor-inline-switch/xplor-inline-switch.css +343 -0
  339. package/dist/collection/components/xplor-inline-switch/xplor-inline-switch.js +168 -0
  340. package/dist/collection/components/xplor-inline-switch/xplor-inline-switch.js.map +1 -0
  341. package/dist/collection/components/xplor-input-file/xplor-input-file.css +392 -0
  342. package/dist/collection/components/xplor-input-file/xplor-input-file.js +340 -0
  343. package/dist/collection/components/xplor-input-file/xplor-input-file.js.map +1 -0
  344. package/dist/collection/components/xplor-input-search/xplor-input-search.css +371 -0
  345. package/dist/collection/components/xplor-input-search/xplor-input-search.js +213 -0
  346. package/dist/collection/components/xplor-input-search/xplor-input-search.js.map +1 -0
  347. package/dist/collection/components/xplor-input-select/xplor-input-select.css +397 -0
  348. package/dist/collection/components/xplor-input-select/xplor-input-select.js +430 -0
  349. package/dist/collection/components/xplor-input-select/xplor-input-select.js.map +1 -0
  350. package/dist/collection/components/xplor-input-send/xplor-input-send.css +312 -0
  351. package/dist/collection/components/xplor-input-send/xplor-input-send.js +218 -0
  352. package/dist/collection/components/xplor-input-send/xplor-input-send.js.map +1 -0
  353. package/dist/collection/components/xplor-input-text/xplor-input-text.css +334 -0
  354. package/dist/collection/components/xplor-input-text/xplor-input-text.js +419 -0
  355. package/dist/collection/components/xplor-input-text/xplor-input-text.js.map +1 -0
  356. package/dist/collection/components/xplor-input-text-area/xplor-input-text-area.css +359 -0
  357. package/dist/collection/components/xplor-input-text-area/xplor-input-text-area.js +416 -0
  358. package/dist/collection/components/xplor-input-text-area/xplor-input-text-area.js.map +1 -0
  359. package/dist/collection/components/xplor-input-text-secondary/xplor-input-text-secondary.css +339 -0
  360. package/dist/collection/components/xplor-input-text-secondary/xplor-input-text-secondary.js +384 -0
  361. package/dist/collection/components/xplor-input-text-secondary/xplor-input-text-secondary.js.map +1 -0
  362. package/dist/collection/components/xplor-input-title/xplor-input-title.css +304 -0
  363. package/dist/collection/components/xplor-input-title/xplor-input-title.js +164 -0
  364. package/dist/collection/components/xplor-input-title/xplor-input-title.js.map +1 -0
  365. package/dist/collection/components/xplor-links/xplor-links.css +9 -0
  366. package/dist/collection/components/xplor-links/xplor-links.js +42 -0
  367. package/dist/collection/components/xplor-links/xplor-links.js.map +1 -0
  368. package/dist/collection/components/xplor-links/xplor-links.stories.js +18 -0
  369. package/dist/collection/components/xplor-links/xplor-links.stories.js.map +1 -0
  370. package/dist/collection/components/xplor-modal/xplor-modal.css +385 -0
  371. package/dist/collection/components/xplor-modal/xplor-modal.js +279 -0
  372. package/dist/collection/components/xplor-modal/xplor-modal.js.map +1 -0
  373. package/dist/collection/components/xplor-modal-persistent/xplor-modal-persistent.js +152 -0
  374. package/dist/collection/components/xplor-modal-persistent/xplor-modal-persistent.js.map +1 -0
  375. package/dist/collection/components/xplor-nav-tabs/xplor-nav-tabs.css +333 -0
  376. package/dist/collection/components/xplor-nav-tabs/xplor-nav-tabs.js +144 -0
  377. package/dist/collection/components/xplor-nav-tabs/xplor-nav-tabs.js.map +1 -0
  378. package/dist/collection/components/xplor-section-card/xplor-section-card.css +1076 -0
  379. package/dist/collection/components/xplor-section-card/xplor-section-card.js +92 -0
  380. package/dist/collection/components/xplor-section-card/xplor-section-card.js.map +1 -0
  381. package/dist/collection/components/xplor-section-heading/xplor-section-heading.css +285 -0
  382. package/dist/collection/components/xplor-section-heading/xplor-section-heading.js +69 -0
  383. package/dist/collection/components/xplor-section-heading/xplor-section-heading.js.map +1 -0
  384. package/dist/collection/components/xplor-table/xplor-table.js +695 -0
  385. package/dist/collection/components/xplor-table/xplor-table.js.map +1 -0
  386. package/dist/collection/components/xplor-table/xplor-table.stories.js +159 -0
  387. package/dist/collection/components/xplor-table/xplor-table.stories.js.map +1 -0
  388. package/dist/collection/components/xplor-text-bubble/xplor-text-bubble.css +285 -0
  389. package/dist/collection/components/xplor-text-bubble/xplor-text-bubble.js +50 -0
  390. package/dist/collection/components/xplor-text-bubble/xplor-text-bubble.js.map +1 -0
  391. package/dist/collection/components/xplor-text-field/xplor-text-field.css +1280 -0
  392. package/dist/collection/components/xplor-text-field/xplor-text-field.js +591 -0
  393. package/dist/collection/components/xplor-text-field/xplor-text-field.js.map +1 -0
  394. package/dist/collection/components/xplor-time-picker/xplor-time-picker.css +448 -0
  395. package/dist/collection/components/xplor-time-picker/xplor-time-picker.js +647 -0
  396. package/dist/collection/components/xplor-time-picker/xplor-time-picker.js.map +1 -0
  397. package/dist/collection/components/xplor-tooltip/xplor-tooltip.css +336 -0
  398. package/dist/collection/components/xplor-tooltip/xplor-tooltip.js +311 -0
  399. package/dist/collection/components/xplor-tooltip/xplor-tooltip.js.map +1 -0
  400. package/dist/collection/globals/globals.js +32 -0
  401. package/dist/collection/globals/globals.js.map +1 -0
  402. package/dist/collection/index.js +2 -0
  403. package/dist/collection/index.js.map +1 -0
  404. package/dist/collection/stories/Button.js +17 -0
  405. package/dist/collection/stories/Button.js.map +1 -0
  406. package/dist/collection/stories/Button.stories.js +50 -0
  407. package/dist/collection/stories/Button.stories.js.map +1 -0
  408. package/dist/collection/stories/Header.js +41 -0
  409. package/dist/collection/stories/Header.js.map +1 -0
  410. package/dist/collection/stories/Header.stories.js +28 -0
  411. package/dist/collection/stories/Header.stories.js.map +1 -0
  412. package/dist/collection/stories/Page.js +85 -0
  413. package/dist/collection/stories/Page.js.map +1 -0
  414. package/dist/collection/stories/Page.stories.js +25 -0
  415. package/dist/collection/stories/Page.stories.js.map +1 -0
  416. package/dist/collection/stories/assets/accessibility.svg +1 -0
  417. package/dist/collection/stories/assets/discord.svg +1 -0
  418. package/dist/collection/stories/assets/github.svg +1 -0
  419. package/dist/collection/stories/assets/tutorials.svg +1 -0
  420. package/dist/collection/stories/assets/youtube.svg +1 -0
  421. package/dist/collection/utils/helpers.js +25 -0
  422. package/dist/collection/utils/helpers.js.map +1 -0
  423. package/dist/components/index.d.ts +33 -0
  424. package/dist/components/index.js +2324 -0
  425. package/dist/components/index.js.map +1 -0
  426. package/dist/components/p-4l9DAhAo.js +182 -0
  427. package/dist/components/p-4l9DAhAo.js.map +1 -0
  428. package/dist/components/p-BHdeGt6k.js +51 -0
  429. package/dist/components/p-BHdeGt6k.js.map +1 -0
  430. package/dist/components/p-BIFlTsO8.js +185 -0
  431. package/dist/components/p-BIFlTsO8.js.map +1 -0
  432. package/dist/components/p-CJGP2_5k.js +38 -0
  433. package/dist/components/p-CJGP2_5k.js.map +1 -0
  434. package/dist/components/p-DIv_A5Gj.js +57 -0
  435. package/dist/components/p-DIv_A5Gj.js.map +1 -0
  436. package/dist/components/p-DKh6y3GY.js +118 -0
  437. package/dist/components/p-DKh6y3GY.js.map +1 -0
  438. package/dist/components/xplor-alert-dialog.d.ts +11 -0
  439. package/dist/components/xplor-alert-dialog.js +86 -0
  440. package/dist/components/xplor-alert-dialog.js.map +1 -0
  441. package/dist/components/xplor-alert-message.d.ts +11 -0
  442. package/dist/components/xplor-alert-message.js +49 -0
  443. package/dist/components/xplor-alert-message.js.map +1 -0
  444. package/dist/components/xplor-assistant.d.ts +11 -0
  445. package/dist/components/xplor-assistant.js +764 -0
  446. package/dist/components/xplor-assistant.js.map +1 -0
  447. package/dist/components/xplor-autocomplete.d.ts +11 -0
  448. package/dist/components/xplor-autocomplete.js +269 -0
  449. package/dist/components/xplor-autocomplete.js.map +1 -0
  450. package/dist/components/xplor-avatar-and-name.d.ts +11 -0
  451. package/dist/components/xplor-avatar-and-name.js +49 -0
  452. package/dist/components/xplor-avatar-and-name.js.map +1 -0
  453. package/dist/components/xplor-avatar.d.ts +11 -0
  454. package/dist/components/xplor-avatar.js +9 -0
  455. package/dist/components/xplor-avatar.js.map +1 -0
  456. package/dist/components/xplor-badge-active.d.ts +11 -0
  457. package/dist/components/xplor-badge-active.js +36 -0
  458. package/dist/components/xplor-badge-active.js.map +1 -0
  459. package/dist/components/xplor-badge-archived.d.ts +11 -0
  460. package/dist/components/xplor-badge-archived.js +36 -0
  461. package/dist/components/xplor-badge-archived.js.map +1 -0
  462. package/dist/components/xplor-badge-deleted.d.ts +11 -0
  463. package/dist/components/xplor-badge-deleted.js +36 -0
  464. package/dist/components/xplor-badge-deleted.js.map +1 -0
  465. package/dist/components/xplor-badge-expired.d.ts +11 -0
  466. package/dist/components/xplor-badge-expired.js +36 -0
  467. package/dist/components/xplor-badge-expired.js.map +1 -0
  468. package/dist/components/xplor-badge-inactive.d.ts +11 -0
  469. package/dist/components/xplor-badge-inactive.js +36 -0
  470. package/dist/components/xplor-badge-inactive.js.map +1 -0
  471. package/dist/components/xplor-badge-recalled.d.ts +11 -0
  472. package/dist/components/xplor-badge-recalled.js +36 -0
  473. package/dist/components/xplor-badge-recalled.js.map +1 -0
  474. package/dist/components/xplor-badge-session-booking.d.ts +11 -0
  475. package/dist/components/xplor-badge-session-booking.js +61 -0
  476. package/dist/components/xplor-badge-session-booking.js.map +1 -0
  477. package/dist/components/xplor-badge-upcoming.d.ts +11 -0
  478. package/dist/components/xplor-badge-upcoming.js +36 -0
  479. package/dist/components/xplor-badge-upcoming.js.map +1 -0
  480. package/dist/components/xplor-badge-waitlist.d.ts +11 -0
  481. package/dist/components/xplor-badge-waitlist.js +36 -0
  482. package/dist/components/xplor-badge-waitlist.js.map +1 -0
  483. package/dist/components/xplor-badge.d.ts +11 -0
  484. package/dist/components/xplor-badge.js +152 -0
  485. package/dist/components/xplor-badge.js.map +1 -0
  486. package/dist/components/xplor-btn-back-to-parent.d.ts +11 -0
  487. package/dist/components/xplor-btn-back-to-parent.js +73 -0
  488. package/dist/components/xplor-btn-back-to-parent.js.map +1 -0
  489. package/dist/components/xplor-btn-back.d.ts +11 -0
  490. package/dist/components/xplor-btn-back.js +77 -0
  491. package/dist/components/xplor-btn-back.js.map +1 -0
  492. package/dist/components/xplor-btn-icon.d.ts +11 -0
  493. package/dist/components/xplor-btn-icon.js +78 -0
  494. package/dist/components/xplor-btn-icon.js.map +1 -0
  495. package/dist/components/xplor-btn-menu.d.ts +11 -0
  496. package/dist/components/xplor-btn-menu.js +106 -0
  497. package/dist/components/xplor-btn-menu.js.map +1 -0
  498. package/dist/components/xplor-btn-toggle-group.d.ts +11 -0
  499. package/dist/components/xplor-btn-toggle-group.js +47 -0
  500. package/dist/components/xplor-btn-toggle-group.js.map +1 -0
  501. package/dist/components/xplor-btn-toggle-secondary.d.ts +11 -0
  502. package/dist/components/xplor-btn-toggle-secondary.js +65 -0
  503. package/dist/components/xplor-btn-toggle-secondary.js.map +1 -0
  504. package/dist/components/xplor-btn-toggle.d.ts +11 -0
  505. package/dist/components/xplor-btn-toggle.js +70 -0
  506. package/dist/components/xplor-btn-toggle.js.map +1 -0
  507. package/dist/components/xplor-btn-tooltip.d.ts +11 -0
  508. package/dist/components/xplor-btn-tooltip.js +59 -0
  509. package/dist/components/xplor-btn-tooltip.js.map +1 -0
  510. package/dist/components/xplor-button.d.ts +11 -0
  511. package/dist/components/xplor-button.js +9 -0
  512. package/dist/components/xplor-button.js.map +1 -0
  513. package/dist/components/xplor-chat-widget.d.ts +11 -0
  514. package/dist/components/xplor-chat-widget.js +105 -0
  515. package/dist/components/xplor-chat-widget.js.map +1 -0
  516. package/dist/components/xplor-checkbox.d.ts +11 -0
  517. package/dist/components/xplor-checkbox.js +125 -0
  518. package/dist/components/xplor-checkbox.js.map +1 -0
  519. package/dist/components/xplor-combobox.d.ts +11 -0
  520. package/dist/components/xplor-combobox.js +279 -0
  521. package/dist/components/xplor-combobox.js.map +1 -0
  522. package/dist/components/xplor-datatable.d.ts +11 -0
  523. package/dist/components/xplor-datatable.js +244 -0
  524. package/dist/components/xplor-datatable.js.map +1 -0
  525. package/dist/components/xplor-date-picker.d.ts +11 -0
  526. package/dist/components/xplor-date-picker.js +269 -0
  527. package/dist/components/xplor-date-picker.js.map +1 -0
  528. package/dist/components/xplor-drag-and-drop-input.d.ts +11 -0
  529. package/dist/components/xplor-drag-and-drop-input.js +138 -0
  530. package/dist/components/xplor-drag-and-drop-input.js.map +1 -0
  531. package/dist/components/xplor-dropdown.d.ts +11 -0
  532. package/dist/components/xplor-dropdown.js +9 -0
  533. package/dist/components/xplor-dropdown.js.map +1 -0
  534. package/dist/components/xplor-expansion-panel.d.ts +11 -0
  535. package/dist/components/xplor-expansion-panel.js +75 -0
  536. package/dist/components/xplor-expansion-panel.js.map +1 -0
  537. package/dist/components/xplor-expansion-panels.d.ts +11 -0
  538. package/dist/components/xplor-expansion-panels.js +71 -0
  539. package/dist/components/xplor-expansion-panels.js.map +1 -0
  540. package/dist/components/xplor-file-upload.d.ts +11 -0
  541. package/dist/components/xplor-file-upload.js +184 -0
  542. package/dist/components/xplor-file-upload.js.map +1 -0
  543. package/dist/components/xplor-inline-checkbox.d.ts +11 -0
  544. package/dist/components/xplor-inline-checkbox.js +76 -0
  545. package/dist/components/xplor-inline-checkbox.js.map +1 -0
  546. package/dist/components/xplor-inline-date-picker.d.ts +11 -0
  547. package/dist/components/xplor-inline-date-picker.js +9 -0
  548. package/dist/components/xplor-inline-date-picker.js.map +1 -0
  549. package/dist/components/xplor-inline-switch.d.ts +11 -0
  550. package/dist/components/xplor-inline-switch.js +69 -0
  551. package/dist/components/xplor-inline-switch.js.map +1 -0
  552. package/dist/components/xplor-input-file.d.ts +11 -0
  553. package/dist/components/xplor-input-file.js +122 -0
  554. package/dist/components/xplor-input-file.js.map +1 -0
  555. package/dist/components/xplor-input-search.d.ts +11 -0
  556. package/dist/components/xplor-input-search.js +90 -0
  557. package/dist/components/xplor-input-search.js.map +1 -0
  558. package/dist/components/xplor-input-select.d.ts +11 -0
  559. package/dist/components/xplor-input-select.js +169 -0
  560. package/dist/components/xplor-input-select.js.map +1 -0
  561. package/dist/components/xplor-input-send.d.ts +11 -0
  562. package/dist/components/xplor-input-send.js +88 -0
  563. package/dist/components/xplor-input-send.js.map +1 -0
  564. package/dist/components/xplor-input-text-area.d.ts +11 -0
  565. package/dist/components/xplor-input-text-area.js +132 -0
  566. package/dist/components/xplor-input-text-area.js.map +1 -0
  567. package/dist/components/xplor-input-text-secondary.d.ts +11 -0
  568. package/dist/components/xplor-input-text-secondary.js +95 -0
  569. package/dist/components/xplor-input-text-secondary.js.map +1 -0
  570. package/dist/components/xplor-input-text.d.ts +11 -0
  571. package/dist/components/xplor-input-text.js +130 -0
  572. package/dist/components/xplor-input-text.js.map +1 -0
  573. package/dist/components/xplor-input-title.d.ts +11 -0
  574. package/dist/components/xplor-input-title.js +69 -0
  575. package/dist/components/xplor-input-title.js.map +1 -0
  576. package/dist/components/xplor-links.d.ts +11 -0
  577. package/dist/components/xplor-links.js +39 -0
  578. package/dist/components/xplor-links.js.map +1 -0
  579. package/dist/components/xplor-modal-persistent.d.ts +11 -0
  580. package/dist/components/xplor-modal-persistent.js +66 -0
  581. package/dist/components/xplor-modal-persistent.js.map +1 -0
  582. package/dist/components/xplor-modal.d.ts +11 -0
  583. package/dist/components/xplor-modal.js +9 -0
  584. package/dist/components/xplor-modal.js.map +1 -0
  585. package/dist/components/xplor-nav-tabs.d.ts +11 -0
  586. package/dist/components/xplor-nav-tabs.js +59 -0
  587. package/dist/components/xplor-nav-tabs.js.map +1 -0
  588. package/dist/components/xplor-section-card.d.ts +11 -0
  589. package/dist/components/xplor-section-card.js +47 -0
  590. package/dist/components/xplor-section-card.js.map +1 -0
  591. package/dist/components/xplor-section-heading.d.ts +11 -0
  592. package/dist/components/xplor-section-heading.js +44 -0
  593. package/dist/components/xplor-section-heading.js.map +1 -0
  594. package/dist/components/xplor-table.d.ts +11 -0
  595. package/dist/components/xplor-table.js +276 -0
  596. package/dist/components/xplor-table.js.map +1 -0
  597. package/dist/components/xplor-text-bubble.d.ts +11 -0
  598. package/dist/components/xplor-text-bubble.js +43 -0
  599. package/dist/components/xplor-text-bubble.js.map +1 -0
  600. package/dist/components/xplor-text-field.d.ts +11 -0
  601. package/dist/components/xplor-text-field.js +191 -0
  602. package/dist/components/xplor-text-field.js.map +1 -0
  603. package/dist/components/xplor-time-picker.d.ts +11 -0
  604. package/dist/components/xplor-time-picker.js +349 -0
  605. package/dist/components/xplor-time-picker.js.map +1 -0
  606. package/dist/components/xplor-tooltip.d.ts +11 -0
  607. package/dist/components/xplor-tooltip.js +9 -0
  608. package/dist/components/xplor-tooltip.js.map +1 -0
  609. package/dist/esm/index-Zkk2NJif.js +2566 -0
  610. package/dist/esm/index-Zkk2NJif.js.map +1 -0
  611. package/dist/esm/index.js +4 -0
  612. package/dist/esm/index.js.map +1 -0
  613. package/dist/esm/loader.js +13 -0
  614. package/dist/esm/loader.js.map +1 -0
  615. package/dist/esm/xplor-alert-dialog_57.entry.js +4692 -0
  616. package/dist/esm/xplor-alert-dialog_57.entry.js.map +1 -0
  617. package/dist/esm/xplor-component-library.js +23 -0
  618. package/dist/esm/xplor-component-library.js.map +1 -0
  619. package/dist/hydrate/index.d.ts +273 -0
  620. package/dist/hydrate/index.js +25064 -0
  621. package/dist/hydrate/index.mjs +25056 -0
  622. package/dist/hydrate/package.json +12 -0
  623. package/dist/index.cjs.js +1 -0
  624. package/dist/index.js +1 -0
  625. package/dist/types/components/element-interface.d.ts +19 -0
  626. package/dist/types/components/helpers.d.ts +47 -0
  627. package/dist/types/components/xplor-alert-dialog/xplor-alert-dialog.d.ts +29 -0
  628. package/dist/types/components/xplor-alert-message/xplor-alert-message.d.ts +9 -0
  629. package/dist/types/components/xplor-assistant/internal/AssistantInput.d.ts +17 -0
  630. package/dist/types/components/xplor-assistant/internal/AssistantMessage.d.ts +6 -0
  631. package/dist/types/components/xplor-assistant/internal/QuickReplies.d.ts +6 -0
  632. package/dist/types/components/xplor-assistant/internal/TypingIndicator.d.ts +5 -0
  633. package/dist/types/components/xplor-assistant/internal/types.d.ts +106 -0
  634. package/dist/types/components/xplor-assistant/utils/api.d.ts +48 -0
  635. package/dist/types/components/xplor-assistant/utils/icons.d.ts +24 -0
  636. package/dist/types/components/xplor-assistant/utils/speech.d.ts +86 -0
  637. package/dist/types/components/xplor-assistant/xplor-assistant.d.ts +52 -0
  638. package/dist/types/components/xplor-autocomplete/xplor-autocomplete.d.ts +92 -0
  639. package/dist/types/components/xplor-avatar/avatar.stories.d.ts +75 -0
  640. package/dist/types/components/xplor-avatar/xplor-avatar.d.ts +21 -0
  641. package/dist/types/components/xplor-avatar-and-name/xplor-avatar-and-name.d.ts +8 -0
  642. package/dist/types/components/xplor-badge/xplor-badge.d.ts +52 -0
  643. package/dist/types/components/xplor-badge-active/xplor-badge-active.d.ts +3 -0
  644. package/dist/types/components/xplor-badge-archived/xplor-badge-archived.d.ts +3 -0
  645. package/dist/types/components/xplor-badge-deleted/xplor-badge-deleted.d.ts +3 -0
  646. package/dist/types/components/xplor-badge-expired/xplor-badge-expired.d.ts +3 -0
  647. package/dist/types/components/xplor-badge-inactive/xplor-badge-inactive.d.ts +3 -0
  648. package/dist/types/components/xplor-badge-recalled/xplor-badge-recalled.d.ts +3 -0
  649. package/dist/types/components/xplor-badge-session-booking/xplor-badge-session-booking.d.ts +20 -0
  650. package/dist/types/components/xplor-badge-upcoming/xplor-badge-upcoming.d.ts +3 -0
  651. package/dist/types/components/xplor-badge-waitlist/xplor-badge-waitlist.d.ts +3 -0
  652. package/dist/types/components/xplor-btn-back/xplor-btn-back.d.ts +29 -0
  653. package/dist/types/components/xplor-btn-back-to-parent/xplor-btn-back-to-parent.d.ts +29 -0
  654. package/dist/types/components/xplor-btn-icon/xplor-btn-icon.d.ts +29 -0
  655. package/dist/types/components/xplor-btn-menu/xplor-btn-menu.d.ts +49 -0
  656. package/dist/types/components/xplor-btn-toggle/xplor-btn-toggle.d.ts +25 -0
  657. package/dist/types/components/xplor-btn-toggle-group/xplor-btn-toggle-group.d.ts +11 -0
  658. package/dist/types/components/xplor-btn-toggle-secondary/xplor-btn-toggle-secondary.d.ts +21 -0
  659. package/dist/types/components/xplor-btn-tooltip/xplor-btn-tooltip.d.ts +10 -0
  660. package/dist/types/components/xplor-button/xplor-button.d.ts +19 -0
  661. package/dist/types/components/xplor-button/xplor-buttons.stories.d.ts +32 -0
  662. package/dist/types/components/xplor-chat-widget/xplor-chat-widget.d.ts +13 -0
  663. package/dist/types/components/xplor-chat-widget/xplor-chat.stories.d.ts +32 -0
  664. package/dist/types/components/xplor-checkbox/xplor-checkbox.d.ts +25 -0
  665. package/dist/types/components/xplor-combobox/xplor-combobox.d.ts +77 -0
  666. package/dist/types/components/xplor-datatable/xplor-datatable.d.ts +103 -0
  667. package/dist/types/components/xplor-datatable/xplor-datatable.stories.d.ts +18 -0
  668. package/dist/types/components/xplor-date-picker/xplor-date-picker.d.ts +53 -0
  669. package/dist/types/components/xplor-drag-and-drop-input/xplor-drag-and-drop-input.d.ts +42 -0
  670. package/dist/types/components/xplor-dropdown/xplor-dropdown.d.ts +6 -0
  671. package/dist/types/components/xplor-expansion-panel/xplor-expansion-panel.d.ts +18 -0
  672. package/dist/types/components/xplor-expansion-panels/xplor-expansion-panels.d.ts +12 -0
  673. package/dist/types/components/xplor-file-upload/xplor-file-upload.d.ts +51 -0
  674. package/dist/types/components/xplor-inline-checkbox/xplor-inline-checkbox.d.ts +33 -0
  675. package/dist/types/components/xplor-inline-date-picker/xplor-inline-date-picker.d.ts +57 -0
  676. package/dist/types/components/xplor-inline-switch/xplor-inline-switch.d.ts +29 -0
  677. package/dist/types/components/xplor-input-file/xplor-input-file.d.ts +60 -0
  678. package/dist/types/components/xplor-input-search/xplor-input-search.d.ts +36 -0
  679. package/dist/types/components/xplor-input-select/xplor-input-select.d.ts +76 -0
  680. package/dist/types/components/xplor-input-send/xplor-input-send.d.ts +18 -0
  681. package/dist/types/components/xplor-input-text/xplor-input-text.d.ts +73 -0
  682. package/dist/types/components/xplor-input-text-area/xplor-input-text-area.d.ts +72 -0
  683. package/dist/types/components/xplor-input-text-secondary/xplor-input-text-secondary.d.ts +25 -0
  684. package/dist/types/components/xplor-input-title/xplor-input-title.d.ts +30 -0
  685. package/dist/types/components/xplor-links/xplor-links.d.ts +4 -0
  686. package/dist/types/components/xplor-links/xplor-links.stories.d.ts +12 -0
  687. package/dist/types/components/xplor-modal/xplor-modal.d.ts +45 -0
  688. package/dist/types/components/xplor-modal-persistent/xplor-modal-persistent.d.ts +28 -0
  689. package/dist/types/components/xplor-nav-tabs/xplor-nav-tabs.d.ts +15 -0
  690. package/dist/types/components/xplor-section-card/xplor-section-card.d.ts +6 -0
  691. package/dist/types/components/xplor-section-heading/xplor-section-heading.d.ts +5 -0
  692. package/dist/types/components/xplor-table/xplor-table.d.ts +65 -0
  693. package/dist/types/components/xplor-table/xplor-table.stories.d.ts +77 -0
  694. package/dist/types/components/xplor-text-bubble/xplor-text-bubble.d.ts +4 -0
  695. package/dist/types/components/xplor-text-field/xplor-text-field.d.ts +111 -0
  696. package/dist/types/components/xplor-time-picker/xplor-time-picker.d.ts +55 -0
  697. package/dist/types/components/xplor-tooltip/xplor-tooltip.d.ts +28 -0
  698. package/dist/types/components.d.ts +4360 -0
  699. package/dist/types/globals/globals.d.ts +3 -0
  700. package/dist/types/index.d.ts +1 -0
  701. package/dist/types/interfaces.d.ts +104 -0
  702. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  703. package/dist/types/stories/Button.d.ts +15 -0
  704. package/dist/types/stories/Header.d.ts +10 -0
  705. package/dist/types/stories/Page.d.ts +2 -0
  706. package/dist/types/stories/Page.stories.d.ts +11 -0
  707. package/dist/types/utils/helpers.d.ts +3 -0
  708. package/dist/xplor-component-library/index.esm.js +2 -0
  709. package/dist/xplor-component-library/index.esm.js.map +1 -0
  710. package/dist/xplor-component-library/loader.esm.js.map +1 -0
  711. package/dist/xplor-component-library/p-25fa8553.entry.js +2 -0
  712. package/dist/xplor-component-library/p-25fa8553.entry.js.map +1 -0
  713. package/dist/xplor-component-library/p-Zkk2NJif.js +3 -0
  714. package/dist/xplor-component-library/p-Zkk2NJif.js.map +1 -0
  715. package/dist/xplor-component-library/xplor-component-library.css +1 -0
  716. package/dist/xplor-component-library/xplor-component-library.esm.js +2 -0
  717. package/dist/xplor-component-library/xplor-component-library.esm.js.map +1 -0
  718. package/loader/cdn.js +1 -0
  719. package/loader/index.cjs.js +1 -0
  720. package/loader/index.d.ts +24 -0
  721. package/loader/index.es2017.js +1 -0
  722. package/loader/index.js +2 -0
  723. package/package.json +124 -0
  724. package/readme.md +315 -0
@@ -0,0 +1,2324 @@
1
+ const NAMESPACE = 'xplor-component-library';
2
+ const BUILD = /* xplor-component-library */ { hydratedSelectorName: "hydrated", lazyLoad: false, slotRelocation: true, updatable: true};
3
+
4
+ /*
5
+ Stencil Client Platform v4.35.1 | MIT Licensed | https://stenciljs.com
6
+ */
7
+ var __defProp = Object.defineProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+
13
+ // src/utils/constants.ts
14
+ var SVG_NS = "http://www.w3.org/2000/svg";
15
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
16
+ var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
17
+ PrimitiveType2["Undefined"] = "undefined";
18
+ PrimitiveType2["Null"] = "null";
19
+ PrimitiveType2["String"] = "string";
20
+ PrimitiveType2["Number"] = "number";
21
+ PrimitiveType2["SpecialNumber"] = "number";
22
+ PrimitiveType2["Boolean"] = "boolean";
23
+ PrimitiveType2["BigInt"] = "bigint";
24
+ return PrimitiveType2;
25
+ })(PrimitiveType || {});
26
+ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
27
+ NonPrimitiveType2["Array"] = "array";
28
+ NonPrimitiveType2["Date"] = "date";
29
+ NonPrimitiveType2["Map"] = "map";
30
+ NonPrimitiveType2["Object"] = "object";
31
+ NonPrimitiveType2["RegularExpression"] = "regexp";
32
+ NonPrimitiveType2["Set"] = "set";
33
+ NonPrimitiveType2["Channel"] = "channel";
34
+ NonPrimitiveType2["Symbol"] = "symbol";
35
+ return NonPrimitiveType2;
36
+ })(NonPrimitiveType || {});
37
+ var TYPE_CONSTANT = "type";
38
+ var VALUE_CONSTANT = "value";
39
+ var SERIALIZED_PREFIX = "serialized:";
40
+
41
+ // src/client/client-host-ref.ts
42
+ var getHostRef = (ref) => {
43
+ if (ref.__stencil__getHostRef) {
44
+ return ref.__stencil__getHostRef();
45
+ }
46
+ return void 0;
47
+ };
48
+ var registerHost = (hostElement, cmpMeta) => {
49
+ const hostRef = {
50
+ $flags$: 0,
51
+ $hostElement$: hostElement,
52
+ $cmpMeta$: cmpMeta,
53
+ $instanceValues$: /* @__PURE__ */ new Map()
54
+ };
55
+ {
56
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
57
+ hostElement["s-p"] = [];
58
+ hostElement["s-rc"] = [];
59
+ }
60
+ const ref = hostRef;
61
+ hostElement.__stencil__getHostRef = () => ref;
62
+ return ref;
63
+ };
64
+ var isMemberInElement = (elm, memberName) => memberName in elm;
65
+ var consoleError = (e, el) => (0, console.error)(e, el);
66
+
67
+ // src/client/client-style.ts
68
+ var styles = /* @__PURE__ */ new Map();
69
+
70
+ // src/runtime/runtime-constants.ts
71
+ var CONTENT_REF_ID = "r";
72
+ var ORG_LOCATION_ID = "o";
73
+ var SLOT_NODE_ID = "s";
74
+ var TEXT_NODE_ID = "t";
75
+ var COMMENT_NODE_ID = "c";
76
+ var HYDRATE_ID = "s-id";
77
+ var HYDRATED_STYLE_ID = "sty-id";
78
+ var HYDRATE_CHILD_ID = "c-id";
79
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
80
+ var win = typeof window !== "undefined" ? window : {};
81
+ var H = win.HTMLElement || class {
82
+ };
83
+ var plt = {
84
+ $flags$: 0,
85
+ $resourcesUrl$: "",
86
+ jmp: (h2) => h2(),
87
+ raf: (h2) => requestAnimationFrame(h2),
88
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
89
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
90
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
91
+ };
92
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
93
+ var _a;
94
+ let supportsListenerOptions2 = false;
95
+ try {
96
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
97
+ "e",
98
+ null,
99
+ Object.defineProperty({}, "passive", {
100
+ get() {
101
+ supportsListenerOptions2 = true;
102
+ }
103
+ })
104
+ );
105
+ } catch (e) {
106
+ }
107
+ return supportsListenerOptions2;
108
+ })();
109
+ var promiseResolve = (v) => Promise.resolve(v);
110
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
111
+ try {
112
+ new CSSStyleSheet();
113
+ return typeof new CSSStyleSheet().replaceSync === "function";
114
+ } catch (e) {
115
+ }
116
+ return false;
117
+ })() ;
118
+ var queuePending = false;
119
+ var queueDomReads = [];
120
+ var queueDomWrites = [];
121
+ var queueTask = (queue, write) => (cb) => {
122
+ queue.push(cb);
123
+ if (!queuePending) {
124
+ queuePending = true;
125
+ if (write && plt.$flags$ & 4 /* queueSync */) {
126
+ nextTick(flush);
127
+ } else {
128
+ plt.raf(flush);
129
+ }
130
+ }
131
+ };
132
+ var consume = (queue) => {
133
+ for (let i2 = 0; i2 < queue.length; i2++) {
134
+ try {
135
+ queue[i2](performance.now());
136
+ } catch (e) {
137
+ consoleError(e);
138
+ }
139
+ }
140
+ queue.length = 0;
141
+ };
142
+ var flush = () => {
143
+ consume(queueDomReads);
144
+ {
145
+ consume(queueDomWrites);
146
+ if (queuePending = queueDomReads.length > 0) {
147
+ plt.raf(flush);
148
+ }
149
+ }
150
+ };
151
+ var nextTick = (cb) => promiseResolve().then(cb);
152
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
+
154
+ // src/runtime/asset-path.ts
155
+ var getAssetPath = (path) => {
156
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
157
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
158
+ };
159
+ var setAssetPath = (path) => plt.$resourcesUrl$ = path;
160
+
161
+ // src/utils/helpers.ts
162
+ var isDef = (v) => v != null && v !== void 0;
163
+ var isComplexType = (o) => {
164
+ o = typeof o;
165
+ return o === "object" || o === "function";
166
+ };
167
+
168
+ // src/utils/query-nonce-meta-tag-content.ts
169
+ function queryNonceMetaTagContent(doc) {
170
+ var _a, _b, _c;
171
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
172
+ }
173
+
174
+ // src/utils/regular-expression.ts
175
+ var escapeRegExpSpecialCharacters = (text) => {
176
+ return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
177
+ };
178
+
179
+ // src/utils/remote-value.ts
180
+ var RemoteValue = class _RemoteValue {
181
+ /**
182
+ * Deserializes a LocalValue serialized object back to its original JavaScript representation
183
+ *
184
+ * @param serialized The serialized LocalValue object
185
+ * @returns The original JavaScript value/object
186
+ */
187
+ static fromLocalValue(serialized) {
188
+ const type = serialized[TYPE_CONSTANT];
189
+ const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
190
+ switch (type) {
191
+ case "string" /* String */:
192
+ return value;
193
+ case "boolean" /* Boolean */:
194
+ return value;
195
+ case "bigint" /* BigInt */:
196
+ return BigInt(value);
197
+ case "undefined" /* Undefined */:
198
+ return void 0;
199
+ case "null" /* Null */:
200
+ return null;
201
+ case "number" /* Number */:
202
+ if (value === "NaN") return NaN;
203
+ if (value === "-0") return -0;
204
+ if (value === "Infinity") return Infinity;
205
+ if (value === "-Infinity") return -Infinity;
206
+ return value;
207
+ case "array" /* Array */:
208
+ return value.map((item) => _RemoteValue.fromLocalValue(item));
209
+ case "date" /* Date */:
210
+ return new Date(value);
211
+ case "map" /* Map */:
212
+ const map2 = /* @__PURE__ */ new Map();
213
+ for (const [key, val] of value) {
214
+ const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
215
+ const deserializedValue = _RemoteValue.fromLocalValue(val);
216
+ map2.set(deserializedKey, deserializedValue);
217
+ }
218
+ return map2;
219
+ case "object" /* Object */:
220
+ const obj = {};
221
+ for (const [key, val] of value) {
222
+ obj[key] = _RemoteValue.fromLocalValue(val);
223
+ }
224
+ return obj;
225
+ case "regexp" /* RegularExpression */:
226
+ const { pattern, flags } = value;
227
+ return new RegExp(pattern, flags);
228
+ case "set" /* Set */:
229
+ const set = /* @__PURE__ */ new Set();
230
+ for (const item of value) {
231
+ set.add(_RemoteValue.fromLocalValue(item));
232
+ }
233
+ return set;
234
+ case "symbol" /* Symbol */:
235
+ return Symbol(value);
236
+ default:
237
+ throw new Error(`Unsupported type: ${type}`);
238
+ }
239
+ }
240
+ /**
241
+ * Utility method to deserialize multiple LocalValues at once
242
+ *
243
+ * @param serializedValues Array of serialized LocalValue objects
244
+ * @returns Array of deserialized JavaScript values
245
+ */
246
+ static fromLocalValueArray(serializedValues) {
247
+ return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
248
+ }
249
+ /**
250
+ * Verifies if the given object matches the structure of a serialized LocalValue
251
+ *
252
+ * @param obj Object to verify
253
+ * @returns boolean indicating if the object has LocalValue structure
254
+ */
255
+ static isLocalValueObject(obj) {
256
+ if (typeof obj !== "object" || obj === null) {
257
+ return false;
258
+ }
259
+ if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
260
+ return false;
261
+ }
262
+ const type = obj[TYPE_CONSTANT];
263
+ const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
264
+ if (!hasTypeProperty) {
265
+ return false;
266
+ }
267
+ if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
268
+ return obj.hasOwnProperty(VALUE_CONSTANT);
269
+ }
270
+ return true;
271
+ }
272
+ };
273
+
274
+ // src/utils/result.ts
275
+ var result_exports = {};
276
+ __export(result_exports, {
277
+ err: () => err,
278
+ map: () => map,
279
+ ok: () => ok,
280
+ unwrap: () => unwrap,
281
+ unwrapErr: () => unwrapErr
282
+ });
283
+ var ok = (value) => ({
284
+ isOk: true,
285
+ isErr: false,
286
+ value
287
+ });
288
+ var err = (value) => ({
289
+ isOk: false,
290
+ isErr: true,
291
+ value
292
+ });
293
+ function map(result, fn) {
294
+ if (result.isOk) {
295
+ const val = fn(result.value);
296
+ if (val instanceof Promise) {
297
+ return val.then((newVal) => ok(newVal));
298
+ } else {
299
+ return ok(val);
300
+ }
301
+ }
302
+ if (result.isErr) {
303
+ const value = result.value;
304
+ return err(value);
305
+ }
306
+ throw "should never get here";
307
+ }
308
+ var unwrap = (result) => {
309
+ if (result.isOk) {
310
+ return result.value;
311
+ } else {
312
+ throw result.value;
313
+ }
314
+ };
315
+ var unwrapErr = (result) => {
316
+ if (result.isErr) {
317
+ return result.value;
318
+ } else {
319
+ throw result.value;
320
+ }
321
+ };
322
+
323
+ // src/utils/serialize.ts
324
+ function deserializeProperty(value) {
325
+ if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
326
+ return value;
327
+ }
328
+ return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
329
+ }
330
+ function createShadowRoot(cmpMeta) {
331
+ const shadowRoot = this.attachShadow({ mode: "open" });
332
+ if (supportsConstructableStylesheets) {
333
+ const sheet = new CSSStyleSheet();
334
+ sheet.replaceSync(globalStyles);
335
+ shadowRoot.adoptedStyleSheets.push(sheet);
336
+ }
337
+ }
338
+ var updateFallbackSlotVisibility = (elm) => {
339
+ const childNodes = internalCall(elm, "childNodes");
340
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
341
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
342
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
343
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
344
+ slotNode.hidden = true;
345
+ } else {
346
+ slotNode.hidden = false;
347
+ }
348
+ }
349
+ });
350
+ }
351
+ let i2 = 0;
352
+ for (i2 = 0; i2 < childNodes.length; i2++) {
353
+ const childNode = childNodes[i2];
354
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
355
+ updateFallbackSlotVisibility(childNode);
356
+ }
357
+ }
358
+ };
359
+ var getSlottedChildNodes = (childNodes) => {
360
+ const result = [];
361
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
362
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
363
+ if (slottedNode && slottedNode.isConnected) {
364
+ result.push(slottedNode);
365
+ }
366
+ }
367
+ return result;
368
+ };
369
+ function getHostSlotNodes(childNodes, hostName, slotName) {
370
+ let i2 = 0;
371
+ let slottedNodes = [];
372
+ let childNode;
373
+ for (; i2 < childNodes.length; i2++) {
374
+ childNode = childNodes[i2];
375
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
376
+ slottedNodes.push(childNode);
377
+ }
378
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
379
+ }
380
+ return slottedNodes;
381
+ }
382
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
383
+ const childNodes = [];
384
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
385
+ let node = slot;
386
+ while (node = node.nextSibling) {
387
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
388
+ }
389
+ return childNodes;
390
+ };
391
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
392
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
393
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
394
+ return true;
395
+ }
396
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
397
+ return true;
398
+ }
399
+ return false;
400
+ }
401
+ if (nodeToRelocate["s-sn"] === slotName) {
402
+ return true;
403
+ }
404
+ return slotName === "";
405
+ };
406
+ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
407
+ if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
408
+ return;
409
+ }
410
+ const slottedNodeLocation = document.createTextNode("");
411
+ slottedNodeLocation["s-nr"] = newChild;
412
+ if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
413
+ const parent = slotNode["s-cr"].parentNode;
414
+ const appendMethod = internalCall(parent, "appendChild");
415
+ if (typeof position !== "undefined") {
416
+ slottedNodeLocation["s-oo"] = position;
417
+ const childNodes = internalCall(parent, "childNodes");
418
+ const slotRelocateNodes = [slottedNodeLocation];
419
+ childNodes.forEach((n) => {
420
+ if (n["s-nr"]) slotRelocateNodes.push(n);
421
+ });
422
+ slotRelocateNodes.sort((a, b) => {
423
+ if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
424
+ else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
425
+ return 0;
426
+ });
427
+ slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
428
+ } else {
429
+ appendMethod.call(parent, slottedNodeLocation);
430
+ }
431
+ newChild["s-ol"] = slottedNodeLocation;
432
+ newChild["s-sh"] = slotNode["s-hn"];
433
+ };
434
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
435
+ function patchSlotNode(node) {
436
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
437
+ const assignedFactory = (elementsOnly) => (function(opts) {
438
+ const toReturn = [];
439
+ const slotName = this["s-sn"];
440
+ if (opts == null ? void 0 : opts.flatten) {
441
+ console.error(`
442
+ Flattening is not supported for Stencil non-shadow slots.
443
+ You can use \`.childNodes\` to nested slot fallback content.
444
+ If you have a particular use case, please open an issue on the Stencil repo.
445
+ `);
446
+ }
447
+ const parent = this["s-cr"].parentElement;
448
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
449
+ slottedNodes.forEach((n) => {
450
+ if (slotName === getSlotName(n)) {
451
+ toReturn.push(n);
452
+ }
453
+ });
454
+ if (elementsOnly) {
455
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
456
+ }
457
+ return toReturn;
458
+ }).bind(node);
459
+ node.assignedElements = assignedFactory(true);
460
+ node.assignedNodes = assignedFactory(false);
461
+ }
462
+ function internalCall(node, method) {
463
+ if ("__" + method in node) {
464
+ const toReturn = node["__" + method];
465
+ if (typeof toReturn !== "function") return toReturn;
466
+ return toReturn.bind(node);
467
+ } else {
468
+ if (typeof node[method] !== "function") return node[method];
469
+ return node[method].bind(node);
470
+ }
471
+ }
472
+ var createTime = (fnName, tagName = "") => {
473
+ {
474
+ return () => {
475
+ return;
476
+ };
477
+ }
478
+ };
479
+ var h = (nodeName, vnodeData, ...children) => {
480
+ let child = null;
481
+ let key = null;
482
+ let slotName = null;
483
+ let simple = false;
484
+ let lastSimple = false;
485
+ const vNodeChildren = [];
486
+ const walk = (c) => {
487
+ for (let i2 = 0; i2 < c.length; i2++) {
488
+ child = c[i2];
489
+ if (Array.isArray(child)) {
490
+ walk(child);
491
+ } else if (child != null && typeof child !== "boolean") {
492
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
493
+ child = String(child);
494
+ }
495
+ if (simple && lastSimple) {
496
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
497
+ } else {
498
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
499
+ }
500
+ lastSimple = simple;
501
+ }
502
+ }
503
+ };
504
+ walk(children);
505
+ if (vnodeData) {
506
+ if (vnodeData.key) {
507
+ key = vnodeData.key;
508
+ }
509
+ if (vnodeData.name) {
510
+ slotName = vnodeData.name;
511
+ }
512
+ {
513
+ const classData = vnodeData.className || vnodeData.class;
514
+ if (classData) {
515
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
516
+ }
517
+ }
518
+ }
519
+ if (typeof nodeName === "function") {
520
+ return nodeName(
521
+ vnodeData === null ? {} : vnodeData,
522
+ vNodeChildren,
523
+ vdomFnUtils
524
+ );
525
+ }
526
+ const vnode = newVNode(nodeName, null);
527
+ vnode.$attrs$ = vnodeData;
528
+ if (vNodeChildren.length > 0) {
529
+ vnode.$children$ = vNodeChildren;
530
+ }
531
+ {
532
+ vnode.$key$ = key;
533
+ }
534
+ {
535
+ vnode.$name$ = slotName;
536
+ }
537
+ return vnode;
538
+ };
539
+ var newVNode = (tag, text) => {
540
+ const vnode = {
541
+ $flags$: 0,
542
+ $tag$: tag,
543
+ $text$: text,
544
+ $elm$: null,
545
+ $children$: null
546
+ };
547
+ {
548
+ vnode.$attrs$ = null;
549
+ }
550
+ {
551
+ vnode.$key$ = null;
552
+ }
553
+ {
554
+ vnode.$name$ = null;
555
+ }
556
+ return vnode;
557
+ };
558
+ var Host = {};
559
+ var isHost = (node) => node && node.$tag$ === Host;
560
+ var vdomFnUtils = {
561
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
562
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
563
+ };
564
+ var convertToPublic = (node) => ({
565
+ vattrs: node.$attrs$,
566
+ vchildren: node.$children$,
567
+ vkey: node.$key$,
568
+ vname: node.$name$,
569
+ vtag: node.$tag$,
570
+ vtext: node.$text$
571
+ });
572
+ var convertToPrivate = (node) => {
573
+ if (typeof node.vtag === "function") {
574
+ const vnodeData = { ...node.vattrs };
575
+ if (node.vkey) {
576
+ vnodeData.key = node.vkey;
577
+ }
578
+ if (node.vname) {
579
+ vnodeData.name = node.vname;
580
+ }
581
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
582
+ }
583
+ const vnode = newVNode(node.vtag, node.vtext);
584
+ vnode.$attrs$ = node.vattrs;
585
+ vnode.$children$ = node.vchildren;
586
+ vnode.$key$ = node.vkey;
587
+ vnode.$name$ = node.vname;
588
+ return vnode;
589
+ };
590
+
591
+ // src/runtime/client-hydrate.ts
592
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
593
+ var _a;
594
+ const endHydrate = createTime("hydrateClient", tagName);
595
+ const shadowRoot = hostElm.shadowRoot;
596
+ const childRenderNodes = [];
597
+ const slotNodes = [];
598
+ const slottedNodes = [];
599
+ const shadowRootNodes = shadowRoot ? [] : null;
600
+ const vnode = newVNode(tagName, null);
601
+ vnode.$elm$ = hostElm;
602
+ const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
603
+ members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
604
+ var _b;
605
+ if (!(memberFlags & 31 /* Prop */)) {
606
+ return;
607
+ }
608
+ const attributeName = metaAttributeName || memberName;
609
+ const attrVal = hostElm.getAttribute(attributeName);
610
+ if (attrVal !== null) {
611
+ const attrPropVal = parsePropertyValue(
612
+ attrVal,
613
+ memberFlags);
614
+ (_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
615
+ }
616
+ });
617
+ let scopeId2;
618
+ {
619
+ const cmpMeta = hostRef.$cmpMeta$;
620
+ if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
621
+ scopeId2 = hostElm["s-sc"];
622
+ hostElm.classList.add(scopeId2 + "-h");
623
+ } else if (hostElm["s-sc"]) {
624
+ delete hostElm["s-sc"];
625
+ }
626
+ }
627
+ if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
628
+ initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
629
+ }
630
+ hostElm[HYDRATE_ID] = hostId;
631
+ hostElm.removeAttribute(HYDRATE_ID);
632
+ hostRef.$vnode$ = clientHydrate(
633
+ vnode,
634
+ childRenderNodes,
635
+ slotNodes,
636
+ shadowRootNodes,
637
+ hostElm,
638
+ hostElm,
639
+ hostId,
640
+ slottedNodes
641
+ );
642
+ let crIndex = 0;
643
+ const crLength = childRenderNodes.length;
644
+ let childRenderNode;
645
+ for (crIndex; crIndex < crLength; crIndex++) {
646
+ childRenderNode = childRenderNodes[crIndex];
647
+ const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
648
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
649
+ const node = childRenderNode.$elm$;
650
+ if (!shadowRoot) {
651
+ node["s-hn"] = tagName.toUpperCase();
652
+ if (childRenderNode.$tag$ === "slot") {
653
+ node["s-cr"] = hostElm["s-cr"];
654
+ }
655
+ }
656
+ if (childRenderNode.$tag$ === "slot") {
657
+ childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
658
+ if (childRenderNode.$children$) {
659
+ childRenderNode.$flags$ |= 2 /* isSlotFallback */;
660
+ if (!childRenderNode.$elm$.childNodes.length) {
661
+ childRenderNode.$children$.forEach((c) => {
662
+ childRenderNode.$elm$.appendChild(c.$elm$);
663
+ });
664
+ }
665
+ } else {
666
+ childRenderNode.$flags$ |= 1 /* isSlotReference */;
667
+ }
668
+ }
669
+ if (orgLocationNode && orgLocationNode.isConnected) {
670
+ if (shadowRoot && orgLocationNode["s-en"] === "") {
671
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
672
+ }
673
+ orgLocationNode.parentNode.removeChild(orgLocationNode);
674
+ if (!shadowRoot) {
675
+ node["s-oo"] = parseInt(childRenderNode.$nodeId$);
676
+ }
677
+ }
678
+ plt.$orgLocNodes$.delete(orgLocationId);
679
+ }
680
+ const hosts = [];
681
+ const snLen = slottedNodes.length;
682
+ let snIndex = 0;
683
+ let slotGroup;
684
+ let snGroupIdx;
685
+ let snGroupLen;
686
+ let slottedItem;
687
+ for (snIndex; snIndex < snLen; snIndex++) {
688
+ slotGroup = slottedNodes[snIndex];
689
+ if (!slotGroup || !slotGroup.length) continue;
690
+ snGroupLen = slotGroup.length;
691
+ snGroupIdx = 0;
692
+ for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
693
+ slottedItem = slotGroup[snGroupIdx];
694
+ if (!hosts[slottedItem.hostId]) {
695
+ hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
696
+ }
697
+ if (!hosts[slottedItem.hostId]) continue;
698
+ const hostEle = hosts[slottedItem.hostId];
699
+ if (!hostEle.shadowRoot || !shadowRoot) {
700
+ slottedItem.slot["s-cr"] = hostEle["s-cr"];
701
+ if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
702
+ slottedItem.slot["s-cr"] = hostEle;
703
+ } else {
704
+ slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
705
+ }
706
+ addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
707
+ }
708
+ if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
709
+ hostEle.appendChild(slottedItem.node);
710
+ }
711
+ }
712
+ }
713
+ if (scopeId2 && slotNodes.length) {
714
+ slotNodes.forEach((slot) => {
715
+ slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
716
+ });
717
+ }
718
+ if (shadowRoot && !shadowRoot.childNodes.length) {
719
+ let rnIdex = 0;
720
+ const rnLen = shadowRootNodes.length;
721
+ if (rnLen) {
722
+ for (rnIdex; rnIdex < rnLen; rnIdex++) {
723
+ shadowRoot.appendChild(shadowRootNodes[rnIdex]);
724
+ }
725
+ Array.from(hostElm.childNodes).forEach((node) => {
726
+ if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
727
+ if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
728
+ node.removeAttribute("hidden");
729
+ } else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
730
+ node.parentNode.removeChild(node);
731
+ }
732
+ }
733
+ });
734
+ }
735
+ }
736
+ plt.$orgLocNodes$.delete(hostElm["s-id"]);
737
+ hostRef.$hostElement$ = hostElm;
738
+ endHydrate();
739
+ };
740
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
741
+ let childNodeType;
742
+ let childIdSplt;
743
+ let childVNode;
744
+ let i2;
745
+ const scopeId2 = hostElm["s-sc"];
746
+ if (node.nodeType === 1 /* ElementNode */) {
747
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
748
+ if (childNodeType) {
749
+ childIdSplt = childNodeType.split(".");
750
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
751
+ childVNode = createSimpleVNode({
752
+ $flags$: 0,
753
+ $hostId$: childIdSplt[0],
754
+ $nodeId$: childIdSplt[1],
755
+ $depth$: childIdSplt[2],
756
+ $index$: childIdSplt[3],
757
+ $tag$: node.tagName.toLowerCase(),
758
+ $elm$: node,
759
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
760
+ // won't try to reconcile them. Classes set on the node will be blown away.
761
+ $attrs$: { class: node.className || "" }
762
+ });
763
+ childRenderNodes.push(childVNode);
764
+ node.removeAttribute(HYDRATE_CHILD_ID);
765
+ if (!parentVNode.$children$) {
766
+ parentVNode.$children$ = [];
767
+ }
768
+ if (scopeId2) {
769
+ node["s-si"] = scopeId2;
770
+ childVNode.$attrs$.class += " " + scopeId2;
771
+ }
772
+ const slotName = childVNode.$elm$.getAttribute("s-sn");
773
+ if (typeof slotName === "string") {
774
+ if (childVNode.$tag$ === "slot-fb") {
775
+ addSlot(
776
+ slotName,
777
+ childIdSplt[2],
778
+ childVNode,
779
+ node,
780
+ parentVNode,
781
+ childRenderNodes,
782
+ slotNodes,
783
+ shadowRootNodes,
784
+ slottedNodes
785
+ );
786
+ if (scopeId2) {
787
+ node.classList.add(scopeId2);
788
+ }
789
+ }
790
+ childVNode.$elm$["s-sn"] = slotName;
791
+ childVNode.$elm$.removeAttribute("s-sn");
792
+ }
793
+ if (childVNode.$index$ !== void 0) {
794
+ parentVNode.$children$[childVNode.$index$] = childVNode;
795
+ }
796
+ parentVNode = childVNode;
797
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
798
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
799
+ }
800
+ }
801
+ }
802
+ if (node.shadowRoot) {
803
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
804
+ clientHydrate(
805
+ parentVNode,
806
+ childRenderNodes,
807
+ slotNodes,
808
+ shadowRootNodes,
809
+ hostElm,
810
+ node.shadowRoot.childNodes[i2],
811
+ hostId,
812
+ slottedNodes
813
+ );
814
+ }
815
+ }
816
+ const nonShadowNodes = node.__childNodes || node.childNodes;
817
+ for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
818
+ clientHydrate(
819
+ parentVNode,
820
+ childRenderNodes,
821
+ slotNodes,
822
+ shadowRootNodes,
823
+ hostElm,
824
+ nonShadowNodes[i2],
825
+ hostId,
826
+ slottedNodes
827
+ );
828
+ }
829
+ } else if (node.nodeType === 8 /* CommentNode */) {
830
+ childIdSplt = node.nodeValue.split(".");
831
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
832
+ childNodeType = childIdSplt[0];
833
+ childVNode = createSimpleVNode({
834
+ $hostId$: childIdSplt[1],
835
+ $nodeId$: childIdSplt[2],
836
+ $depth$: childIdSplt[3],
837
+ $index$: childIdSplt[4] || "0",
838
+ $elm$: node,
839
+ $attrs$: null,
840
+ $children$: null,
841
+ $key$: null,
842
+ $name$: null,
843
+ $tag$: null,
844
+ $text$: null
845
+ });
846
+ if (childNodeType === TEXT_NODE_ID) {
847
+ childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
848
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
849
+ childVNode.$text$ = childVNode.$elm$.textContent;
850
+ childRenderNodes.push(childVNode);
851
+ node.remove();
852
+ if (hostId === childVNode.$hostId$) {
853
+ if (!parentVNode.$children$) {
854
+ parentVNode.$children$ = [];
855
+ }
856
+ parentVNode.$children$[childVNode.$index$] = childVNode;
857
+ }
858
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
859
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
860
+ }
861
+ }
862
+ } else if (childNodeType === COMMENT_NODE_ID) {
863
+ childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
864
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
865
+ childRenderNodes.push(childVNode);
866
+ node.remove();
867
+ }
868
+ } else if (childVNode.$hostId$ === hostId) {
869
+ if (childNodeType === SLOT_NODE_ID) {
870
+ const slotName = node["s-sn"] = childIdSplt[5] || "";
871
+ addSlot(
872
+ slotName,
873
+ childIdSplt[2],
874
+ childVNode,
875
+ node,
876
+ parentVNode,
877
+ childRenderNodes,
878
+ slotNodes,
879
+ shadowRootNodes,
880
+ slottedNodes
881
+ );
882
+ } else if (childNodeType === CONTENT_REF_ID) {
883
+ if (shadowRootNodes) {
884
+ node.remove();
885
+ } else {
886
+ hostElm["s-cr"] = node;
887
+ node["s-cn"] = true;
888
+ }
889
+ }
890
+ }
891
+ }
892
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
893
+ const vnode = newVNode(null, node.textContent);
894
+ vnode.$elm$ = node;
895
+ vnode.$index$ = "0";
896
+ parentVNode.$children$ = [vnode];
897
+ } else {
898
+ if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
899
+ node.remove();
900
+ }
901
+ }
902
+ return parentVNode;
903
+ };
904
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
905
+ if (node.nodeType === 1 /* ElementNode */) {
906
+ const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
907
+ if (componentId) {
908
+ orgLocNodes.set(componentId, node);
909
+ }
910
+ let i2 = 0;
911
+ if (node.shadowRoot) {
912
+ for (; i2 < node.shadowRoot.childNodes.length; i2++) {
913
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
914
+ }
915
+ }
916
+ const nonShadowNodes = node.__childNodes || node.childNodes;
917
+ for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
918
+ initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
919
+ }
920
+ } else if (node.nodeType === 8 /* CommentNode */) {
921
+ const childIdSplt = node.nodeValue.split(".");
922
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
923
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
924
+ node.nodeValue = "";
925
+ node["s-en"] = childIdSplt[3];
926
+ }
927
+ }
928
+ };
929
+ var createSimpleVNode = (vnode) => {
930
+ const defaultVNode = {
931
+ $flags$: 0,
932
+ $hostId$: null,
933
+ $nodeId$: null,
934
+ $depth$: null,
935
+ $index$: "0",
936
+ $elm$: null,
937
+ $attrs$: null,
938
+ $children$: null,
939
+ $key$: null,
940
+ $name$: null,
941
+ $tag$: null,
942
+ $text$: null
943
+ };
944
+ return { ...defaultVNode, ...vnode };
945
+ };
946
+ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
947
+ node["s-sr"] = true;
948
+ childVNode.$name$ = slotName || null;
949
+ childVNode.$tag$ = "slot";
950
+ const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
951
+ if (shadowRootNodes && win.document) {
952
+ const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
953
+ if (childVNode.$name$) {
954
+ childVNode.$elm$.setAttribute("name", slotName);
955
+ }
956
+ if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
957
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
958
+ } else {
959
+ node.parentNode.insertBefore(slot, node);
960
+ }
961
+ addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
962
+ node.remove();
963
+ if (childVNode.$depth$ === "0") {
964
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
965
+ }
966
+ } else {
967
+ const slot = childVNode.$elm$;
968
+ const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
969
+ addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
970
+ patchSlotNode(node);
971
+ if (shouldMove) {
972
+ parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
973
+ }
974
+ }
975
+ childRenderNodes.push(childVNode);
976
+ slotNodes.push(childVNode);
977
+ if (!parentVNode.$children$) {
978
+ parentVNode.$children$ = [];
979
+ }
980
+ parentVNode.$children$[childVNode.$index$] = childVNode;
981
+ }
982
+ var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
983
+ let slottedNode = slotNode.nextSibling;
984
+ slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
985
+ while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
986
+ slottedNode["s-sn"] = slotName;
987
+ slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
988
+ slottedNode = slottedNode.nextSibling;
989
+ }
990
+ };
991
+ var findCorrespondingNode = (node, type) => {
992
+ let sibling = node;
993
+ do {
994
+ sibling = sibling.nextSibling;
995
+ } while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
996
+ return sibling;
997
+ };
998
+ var createSupportsRuleRe = (selector) => {
999
+ const safeSelector2 = escapeRegExpSpecialCharacters(selector);
1000
+ return new RegExp(
1001
+ // First capture group: match any context before the selector that's not inside @supports selector()
1002
+ // Using negative lookahead to avoid matching inside @supports selector(...) condition
1003
+ `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
1004
+ "g"
1005
+ );
1006
+ };
1007
+ createSupportsRuleRe("::slotted");
1008
+ createSupportsRuleRe(":host");
1009
+ createSupportsRuleRe(":host-context");
1010
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
1011
+ if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
1012
+ try {
1013
+ propValue = JSON.parse(propValue);
1014
+ return propValue;
1015
+ } catch (e) {
1016
+ }
1017
+ }
1018
+ if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
1019
+ propValue = deserializeProperty(propValue);
1020
+ return propValue;
1021
+ }
1022
+ if (propValue != null && !isComplexType(propValue)) {
1023
+ if (propType & 4 /* Boolean */) {
1024
+ {
1025
+ return propValue === "false" ? false : propValue === "" || !!propValue;
1026
+ }
1027
+ }
1028
+ if (propType & 2 /* Number */) {
1029
+ return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
1030
+ }
1031
+ if (propType & 1 /* String */) {
1032
+ return String(propValue);
1033
+ }
1034
+ return propValue;
1035
+ }
1036
+ return propValue;
1037
+ };
1038
+ var getElement = (ref) => ref;
1039
+
1040
+ // src/runtime/event-emitter.ts
1041
+ var createEvent = (ref, name, flags) => {
1042
+ const elm = getElement(ref);
1043
+ return {
1044
+ emit: (detail) => {
1045
+ return emitEvent(elm, name, {
1046
+ bubbles: true,
1047
+ composed: true,
1048
+ cancelable: true,
1049
+ detail
1050
+ });
1051
+ }
1052
+ };
1053
+ };
1054
+ var emitEvent = (elm, name, opts) => {
1055
+ const ev = plt.ce(name, opts);
1056
+ elm.dispatchEvent(ev);
1057
+ return ev;
1058
+ };
1059
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
1060
+ var registerStyle = (scopeId2, cssText, allowCS) => {
1061
+ let style = styles.get(scopeId2);
1062
+ if (supportsConstructableStylesheets && allowCS) {
1063
+ style = style || new CSSStyleSheet();
1064
+ if (typeof style === "string") {
1065
+ style = cssText;
1066
+ } else {
1067
+ style.replaceSync(cssText);
1068
+ }
1069
+ } else {
1070
+ style = cssText;
1071
+ }
1072
+ styles.set(scopeId2, style);
1073
+ };
1074
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1075
+ var _a;
1076
+ const scopeId2 = getScopeId(cmpMeta);
1077
+ const style = styles.get(scopeId2);
1078
+ if (!win.document) {
1079
+ return scopeId2;
1080
+ }
1081
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
1082
+ if (style) {
1083
+ if (typeof style === "string") {
1084
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
1085
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
1086
+ let styleElm;
1087
+ if (!appliedStyles) {
1088
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
1089
+ }
1090
+ if (!appliedStyles.has(scopeId2)) {
1091
+ if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
1092
+ styleElm.innerHTML = style;
1093
+ } else {
1094
+ styleElm = win.document.createElement("style");
1095
+ styleElm.innerHTML = style;
1096
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1097
+ if (nonce != null) {
1098
+ styleElm.setAttribute("nonce", nonce);
1099
+ }
1100
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1101
+ if (styleContainerNode.nodeName === "HEAD") {
1102
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
1103
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
1104
+ styleContainerNode.insertBefore(
1105
+ styleElm,
1106
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
1107
+ );
1108
+ } else if ("host" in styleContainerNode) {
1109
+ if (supportsConstructableStylesheets) {
1110
+ const stylesheet = new CSSStyleSheet();
1111
+ stylesheet.replaceSync(style);
1112
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
1113
+ } else {
1114
+ const existingStyleContainer = styleContainerNode.querySelector("style");
1115
+ if (existingStyleContainer) {
1116
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
1117
+ } else {
1118
+ styleContainerNode.prepend(styleElm);
1119
+ }
1120
+ }
1121
+ } else {
1122
+ styleContainerNode.append(styleElm);
1123
+ }
1124
+ }
1125
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1126
+ styleContainerNode.insertBefore(styleElm, null);
1127
+ }
1128
+ }
1129
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1130
+ styleElm.innerHTML += SLOT_FB_CSS;
1131
+ }
1132
+ if (appliedStyles) {
1133
+ appliedStyles.add(scopeId2);
1134
+ }
1135
+ }
1136
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
1137
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
1138
+ }
1139
+ }
1140
+ return scopeId2;
1141
+ };
1142
+ var attachStyles = (hostRef) => {
1143
+ const cmpMeta = hostRef.$cmpMeta$;
1144
+ const elm = hostRef.$hostElement$;
1145
+ const flags = cmpMeta.$flags$;
1146
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
1147
+ const scopeId2 = addStyle(
1148
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
1149
+ cmpMeta);
1150
+ if (flags & 10 /* needsScopedEncapsulation */) {
1151
+ elm["s-sc"] = scopeId2;
1152
+ elm.classList.add(scopeId2 + "-h");
1153
+ }
1154
+ endAttachStyles();
1155
+ };
1156
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
1157
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1158
+ var hydrateScopedToShadow = () => {
1159
+ if (!win.document) {
1160
+ return;
1161
+ }
1162
+ const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1163
+ let i2 = 0;
1164
+ for (; i2 < styles2.length; i2++) {
1165
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1166
+ }
1167
+ };
1168
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
1169
+ if (oldValue === newValue) {
1170
+ return;
1171
+ }
1172
+ let isProp = isMemberInElement(elm, memberName);
1173
+ let ln = memberName.toLowerCase();
1174
+ if (memberName === "class") {
1175
+ const classList = elm.classList;
1176
+ const oldClasses = parseClassList(oldValue);
1177
+ let newClasses = parseClassList(newValue);
1178
+ if (elm["s-si"] && initialRender) {
1179
+ newClasses.push(elm["s-si"]);
1180
+ oldClasses.forEach((c) => {
1181
+ if (c.startsWith(elm["s-si"])) newClasses.push(c);
1182
+ });
1183
+ newClasses = [...new Set(newClasses)];
1184
+ classList.add(...newClasses);
1185
+ } else {
1186
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
1187
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
1188
+ }
1189
+ } else if (memberName === "style") {
1190
+ {
1191
+ for (const prop in oldValue) {
1192
+ if (!newValue || newValue[prop] == null) {
1193
+ if (prop.includes("-")) {
1194
+ elm.style.removeProperty(prop);
1195
+ } else {
1196
+ elm.style[prop] = "";
1197
+ }
1198
+ }
1199
+ }
1200
+ }
1201
+ for (const prop in newValue) {
1202
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
1203
+ if (prop.includes("-")) {
1204
+ elm.style.setProperty(prop, newValue[prop]);
1205
+ } else {
1206
+ elm.style[prop] = newValue[prop];
1207
+ }
1208
+ }
1209
+ }
1210
+ } else if (memberName === "key") ; else if (memberName === "ref") {
1211
+ if (newValue) {
1212
+ newValue(elm);
1213
+ }
1214
+ } else if ((!elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
1215
+ if (memberName[2] === "-") {
1216
+ memberName = memberName.slice(3);
1217
+ } else if (isMemberInElement(win, ln)) {
1218
+ memberName = ln.slice(2);
1219
+ } else {
1220
+ memberName = ln[2] + memberName.slice(3);
1221
+ }
1222
+ if (oldValue || newValue) {
1223
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
1224
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
1225
+ if (oldValue) {
1226
+ plt.rel(elm, memberName, oldValue, capture);
1227
+ }
1228
+ if (newValue) {
1229
+ plt.ael(elm, memberName, newValue, capture);
1230
+ }
1231
+ }
1232
+ } else {
1233
+ const isComplex = isComplexType(newValue);
1234
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
1235
+ try {
1236
+ if (!elm.tagName.includes("-")) {
1237
+ const n = newValue == null ? "" : newValue;
1238
+ if (memberName === "list") {
1239
+ isProp = false;
1240
+ } else if (oldValue == null || elm[memberName] != n) {
1241
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
1242
+ elm[memberName] = n;
1243
+ } else {
1244
+ elm.setAttribute(memberName, n);
1245
+ }
1246
+ }
1247
+ } else if (elm[memberName] !== newValue) {
1248
+ elm[memberName] = newValue;
1249
+ }
1250
+ } catch (e) {
1251
+ }
1252
+ }
1253
+ if (newValue == null || newValue === false) {
1254
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
1255
+ {
1256
+ elm.removeAttribute(memberName);
1257
+ }
1258
+ }
1259
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
1260
+ newValue = newValue === true ? "" : newValue;
1261
+ {
1262
+ elm.setAttribute(memberName, newValue);
1263
+ }
1264
+ }
1265
+ }
1266
+ };
1267
+ var parseClassListRegex = /\s/;
1268
+ var parseClassList = (value) => {
1269
+ if (typeof value === "object" && value && "baseVal" in value) {
1270
+ value = value.baseVal;
1271
+ }
1272
+ if (!value || typeof value !== "string") {
1273
+ return [];
1274
+ }
1275
+ return value.split(parseClassListRegex);
1276
+ };
1277
+ var CAPTURE_EVENT_SUFFIX = "Capture";
1278
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
1279
+
1280
+ // src/runtime/vdom/update-element.ts
1281
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
1282
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
1283
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
1284
+ const newVnodeAttrs = newVnode.$attrs$ || {};
1285
+ {
1286
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
1287
+ if (!(memberName in newVnodeAttrs)) {
1288
+ setAccessor(
1289
+ elm,
1290
+ memberName,
1291
+ oldVnodeAttrs[memberName],
1292
+ void 0,
1293
+ isSvgMode2,
1294
+ newVnode.$flags$,
1295
+ isInitialRender
1296
+ );
1297
+ }
1298
+ }
1299
+ }
1300
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
1301
+ setAccessor(
1302
+ elm,
1303
+ memberName,
1304
+ oldVnodeAttrs[memberName],
1305
+ newVnodeAttrs[memberName],
1306
+ isSvgMode2,
1307
+ newVnode.$flags$,
1308
+ isInitialRender
1309
+ );
1310
+ }
1311
+ };
1312
+ function sortedAttrNames(attrNames) {
1313
+ return attrNames.includes("ref") ? (
1314
+ // we need to sort these to ensure that `'ref'` is the last attr
1315
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
1316
+ ) : (
1317
+ // no need to sort, return the original array
1318
+ attrNames
1319
+ );
1320
+ }
1321
+
1322
+ // src/runtime/vdom/vdom-render.ts
1323
+ var scopeId;
1324
+ var contentRef;
1325
+ var hostTagName;
1326
+ var useNativeShadowDom = false;
1327
+ var checkSlotFallbackVisibility = false;
1328
+ var checkSlotRelocate = false;
1329
+ var isSvgMode = false;
1330
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
1331
+ var _a;
1332
+ const newVNode2 = newParentVNode.$children$[childIndex];
1333
+ let i2 = 0;
1334
+ let elm;
1335
+ let childNode;
1336
+ let oldVNode;
1337
+ if (!useNativeShadowDom) {
1338
+ checkSlotRelocate = true;
1339
+ if (newVNode2.$tag$ === "slot") {
1340
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
1341
+ // slot element has fallback content
1342
+ // still create an element that "mocks" the slot element
1343
+ 2 /* isSlotFallback */
1344
+ ) : (
1345
+ // slot element does not have fallback content
1346
+ // create an html comment we'll use to always reference
1347
+ // where actual slot content should sit next to
1348
+ 1 /* isSlotReference */
1349
+ );
1350
+ }
1351
+ }
1352
+ if (newVNode2.$text$ !== null) {
1353
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
1354
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
1355
+ elm = newVNode2.$elm$ = win.document.createTextNode("");
1356
+ {
1357
+ updateElement(null, newVNode2, isSvgMode);
1358
+ }
1359
+ } else {
1360
+ if (!isSvgMode) {
1361
+ isSvgMode = newVNode2.$tag$ === "svg";
1362
+ }
1363
+ if (!win.document) {
1364
+ throw new Error(
1365
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
1366
+ );
1367
+ }
1368
+ elm = newVNode2.$elm$ = win.document.createElementNS(
1369
+ isSvgMode ? SVG_NS : HTML_NS,
1370
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
1371
+ ) ;
1372
+ if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
1373
+ isSvgMode = false;
1374
+ }
1375
+ {
1376
+ updateElement(null, newVNode2, isSvgMode);
1377
+ }
1378
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
1379
+ elm.classList.add(elm["s-si"] = scopeId);
1380
+ }
1381
+ if (newVNode2.$children$) {
1382
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
1383
+ childNode = createElm(oldParentVNode, newVNode2, i2);
1384
+ if (childNode) {
1385
+ elm.appendChild(childNode);
1386
+ }
1387
+ }
1388
+ }
1389
+ {
1390
+ if (newVNode2.$tag$ === "svg") {
1391
+ isSvgMode = false;
1392
+ } else if (elm.tagName === "foreignObject") {
1393
+ isSvgMode = true;
1394
+ }
1395
+ }
1396
+ }
1397
+ elm["s-hn"] = hostTagName;
1398
+ {
1399
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
1400
+ elm["s-sr"] = true;
1401
+ elm["s-cr"] = contentRef;
1402
+ elm["s-sn"] = newVNode2.$name$ || "";
1403
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
1404
+ patchSlotNode(elm);
1405
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
1406
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
1407
+ {
1408
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
1409
+ }
1410
+ }
1411
+ {
1412
+ addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
1413
+ }
1414
+ }
1415
+ }
1416
+ return elm;
1417
+ };
1418
+ var putBackInOriginalLocation = (parentElm, recursive) => {
1419
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1420
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
1421
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
1422
+ const childNode = oldSlotChildNodes[i2];
1423
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
1424
+ insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
1425
+ childNode["s-ol"].remove();
1426
+ childNode["s-ol"] = void 0;
1427
+ childNode["s-sh"] = void 0;
1428
+ checkSlotRelocate = true;
1429
+ }
1430
+ if (recursive) {
1431
+ putBackInOriginalLocation(childNode, recursive);
1432
+ }
1433
+ }
1434
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
1435
+ };
1436
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
1437
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
1438
+ let childNode;
1439
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
1440
+ containerElm = containerElm.shadowRoot;
1441
+ }
1442
+ for (; startIdx <= endIdx; ++startIdx) {
1443
+ if (vnodes[startIdx]) {
1444
+ childNode = createElm(null, parentVNode, startIdx);
1445
+ if (childNode) {
1446
+ vnodes[startIdx].$elm$ = childNode;
1447
+ insertBefore(containerElm, childNode, referenceNode(before) );
1448
+ }
1449
+ }
1450
+ }
1451
+ };
1452
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
1453
+ for (let index = startIdx; index <= endIdx; ++index) {
1454
+ const vnode = vnodes[index];
1455
+ if (vnode) {
1456
+ const elm = vnode.$elm$;
1457
+ nullifyVNodeRefs(vnode);
1458
+ if (elm) {
1459
+ {
1460
+ checkSlotFallbackVisibility = true;
1461
+ if (elm["s-ol"]) {
1462
+ elm["s-ol"].remove();
1463
+ } else {
1464
+ putBackInOriginalLocation(elm, true);
1465
+ }
1466
+ }
1467
+ elm.remove();
1468
+ }
1469
+ }
1470
+ }
1471
+ };
1472
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
1473
+ let oldStartIdx = 0;
1474
+ let newStartIdx = 0;
1475
+ let idxInOld = 0;
1476
+ let i2 = 0;
1477
+ let oldEndIdx = oldCh.length - 1;
1478
+ let oldStartVnode = oldCh[0];
1479
+ let oldEndVnode = oldCh[oldEndIdx];
1480
+ let newEndIdx = newCh.length - 1;
1481
+ let newStartVnode = newCh[0];
1482
+ let newEndVnode = newCh[newEndIdx];
1483
+ let node;
1484
+ let elmToMove;
1485
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
1486
+ if (oldStartVnode == null) {
1487
+ oldStartVnode = oldCh[++oldStartIdx];
1488
+ } else if (oldEndVnode == null) {
1489
+ oldEndVnode = oldCh[--oldEndIdx];
1490
+ } else if (newStartVnode == null) {
1491
+ newStartVnode = newCh[++newStartIdx];
1492
+ } else if (newEndVnode == null) {
1493
+ newEndVnode = newCh[--newEndIdx];
1494
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
1495
+ patch(oldStartVnode, newStartVnode, isInitialRender);
1496
+ oldStartVnode = oldCh[++oldStartIdx];
1497
+ newStartVnode = newCh[++newStartIdx];
1498
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
1499
+ patch(oldEndVnode, newEndVnode, isInitialRender);
1500
+ oldEndVnode = oldCh[--oldEndIdx];
1501
+ newEndVnode = newCh[--newEndIdx];
1502
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
1503
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1504
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
1505
+ }
1506
+ patch(oldStartVnode, newEndVnode, isInitialRender);
1507
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
1508
+ oldStartVnode = oldCh[++oldStartIdx];
1509
+ newEndVnode = newCh[--newEndIdx];
1510
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
1511
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1512
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
1513
+ }
1514
+ patch(oldEndVnode, newStartVnode, isInitialRender);
1515
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
1516
+ oldEndVnode = oldCh[--oldEndIdx];
1517
+ newStartVnode = newCh[++newStartIdx];
1518
+ } else {
1519
+ idxInOld = -1;
1520
+ {
1521
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
1522
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
1523
+ idxInOld = i2;
1524
+ break;
1525
+ }
1526
+ }
1527
+ }
1528
+ if (idxInOld >= 0) {
1529
+ elmToMove = oldCh[idxInOld];
1530
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1531
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
1532
+ } else {
1533
+ patch(elmToMove, newStartVnode, isInitialRender);
1534
+ oldCh[idxInOld] = void 0;
1535
+ node = elmToMove.$elm$;
1536
+ }
1537
+ newStartVnode = newCh[++newStartIdx];
1538
+ } else {
1539
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
1540
+ newStartVnode = newCh[++newStartIdx];
1541
+ }
1542
+ if (node) {
1543
+ {
1544
+ insertBefore(
1545
+ referenceNode(oldStartVnode.$elm$).parentNode,
1546
+ node,
1547
+ referenceNode(oldStartVnode.$elm$)
1548
+ );
1549
+ }
1550
+ }
1551
+ }
1552
+ }
1553
+ if (oldStartIdx > oldEndIdx) {
1554
+ addVnodes(
1555
+ parentElm,
1556
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1557
+ newVNode2,
1558
+ newCh,
1559
+ newStartIdx,
1560
+ newEndIdx
1561
+ );
1562
+ } else if (newStartIdx > newEndIdx) {
1563
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1564
+ }
1565
+ };
1566
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1567
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1568
+ if (leftVNode.$tag$ === "slot") {
1569
+ return leftVNode.$name$ === rightVNode.$name$;
1570
+ }
1571
+ if (!isInitialRender) {
1572
+ return leftVNode.$key$ === rightVNode.$key$;
1573
+ }
1574
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
1575
+ leftVNode.$key$ = rightVNode.$key$;
1576
+ }
1577
+ return true;
1578
+ }
1579
+ return false;
1580
+ };
1581
+ var referenceNode = (node) => node && node["s-ol"] || node;
1582
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1583
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1584
+ const oldChildren = oldVNode.$children$;
1585
+ const newChildren = newVNode2.$children$;
1586
+ const tag = newVNode2.$tag$;
1587
+ const text = newVNode2.$text$;
1588
+ let defaultHolder;
1589
+ if (text === null) {
1590
+ {
1591
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1592
+ }
1593
+ {
1594
+ updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
1595
+ }
1596
+ if (oldChildren !== null && newChildren !== null) {
1597
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1598
+ } else if (newChildren !== null) {
1599
+ if (oldVNode.$text$ !== null) {
1600
+ elm.textContent = "";
1601
+ }
1602
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1603
+ } else if (
1604
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1605
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1606
+ ) {
1607
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1608
+ }
1609
+ if (isSvgMode && tag === "svg") {
1610
+ isSvgMode = false;
1611
+ }
1612
+ } else if ((defaultHolder = elm["s-cr"])) {
1613
+ defaultHolder.parentNode.textContent = text;
1614
+ } else if (oldVNode.$text$ !== text) {
1615
+ elm.data = text;
1616
+ }
1617
+ };
1618
+ var relocateNodes = [];
1619
+ var markSlotContentForRelocation = (elm) => {
1620
+ let node;
1621
+ let hostContentNodes;
1622
+ let j;
1623
+ const children = elm.__childNodes || elm.childNodes;
1624
+ for (const childNode of children) {
1625
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1626
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
1627
+ const slotName = childNode["s-sn"];
1628
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1629
+ node = hostContentNodes[j];
1630
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (true)) {
1631
+ if (isNodeLocatedInSlot(node, slotName)) {
1632
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1633
+ checkSlotFallbackVisibility = true;
1634
+ node["s-sn"] = node["s-sn"] || slotName;
1635
+ if (relocateNodeData) {
1636
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1637
+ relocateNodeData.$slotRefNode$ = childNode;
1638
+ } else {
1639
+ node["s-sh"] = childNode["s-hn"];
1640
+ relocateNodes.push({
1641
+ $slotRefNode$: childNode,
1642
+ $nodeToRelocate$: node
1643
+ });
1644
+ }
1645
+ if (node["s-sr"]) {
1646
+ relocateNodes.map((relocateNode) => {
1647
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1648
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1649
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1650
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1651
+ }
1652
+ }
1653
+ });
1654
+ }
1655
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1656
+ relocateNodes.push({
1657
+ $nodeToRelocate$: node
1658
+ });
1659
+ }
1660
+ }
1661
+ }
1662
+ }
1663
+ if (childNode.nodeType === 1 /* ElementNode */) {
1664
+ markSlotContentForRelocation(childNode);
1665
+ }
1666
+ }
1667
+ };
1668
+ var nullifyVNodeRefs = (vNode) => {
1669
+ {
1670
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1671
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1672
+ }
1673
+ };
1674
+ var insertBefore = (parent, newNode, reference) => {
1675
+ if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
1676
+ addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
1677
+ }
1678
+ {
1679
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1680
+ }
1681
+ };
1682
+ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
1683
+ var _a, _b;
1684
+ let scopeId2;
1685
+ if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
1686
+ const scopeName = slotNode["s-sn"];
1687
+ const hostName = slotNode["s-hn"];
1688
+ (_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
1689
+ if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
1690
+ let child = (oldParent.__childNodes || oldParent.childNodes)[0];
1691
+ let found = false;
1692
+ while (child) {
1693
+ if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
1694
+ found = true;
1695
+ break;
1696
+ }
1697
+ child = child.nextSibling;
1698
+ }
1699
+ if (!found) oldParent.classList.remove(scopeId2 + "-s");
1700
+ }
1701
+ }
1702
+ }
1703
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1704
+ var _a, _b, _c, _d;
1705
+ const hostElm = hostRef.$hostElement$;
1706
+ const cmpMeta = hostRef.$cmpMeta$;
1707
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1708
+ const isHostElement = isHost(renderFnResults);
1709
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
1710
+ hostTagName = hostElm.tagName;
1711
+ if (isInitialLoad && rootVnode.$attrs$) {
1712
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1713
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1714
+ rootVnode.$attrs$[key] = hostElm[key];
1715
+ }
1716
+ }
1717
+ }
1718
+ rootVnode.$tag$ = null;
1719
+ rootVnode.$flags$ |= 4 /* isHost */;
1720
+ hostRef.$vnode$ = rootVnode;
1721
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1722
+ {
1723
+ scopeId = hostElm["s-sc"];
1724
+ }
1725
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1726
+ {
1727
+ contentRef = hostElm["s-cr"];
1728
+ checkSlotFallbackVisibility = false;
1729
+ }
1730
+ patch(oldVNode, rootVnode, isInitialLoad);
1731
+ {
1732
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1733
+ if (checkSlotRelocate) {
1734
+ markSlotContentForRelocation(rootVnode.$elm$);
1735
+ for (const relocateData of relocateNodes) {
1736
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1737
+ if (!nodeToRelocate["s-ol"] && win.document) {
1738
+ const orgLocationNode = win.document.createTextNode("");
1739
+ orgLocationNode["s-nr"] = nodeToRelocate;
1740
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1741
+ }
1742
+ }
1743
+ for (const relocateData of relocateNodes) {
1744
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1745
+ const slotRefNode = relocateData.$slotRefNode$;
1746
+ if (slotRefNode) {
1747
+ const parentNodeRef = slotRefNode.parentNode;
1748
+ let insertBeforeNode = slotRefNode.nextSibling;
1749
+ {
1750
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1751
+ while (orgLocationNode) {
1752
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1753
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1754
+ refNode = refNode.nextSibling;
1755
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1756
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1757
+ }
1758
+ if (!refNode || !refNode["s-nr"]) {
1759
+ insertBeforeNode = refNode;
1760
+ break;
1761
+ }
1762
+ }
1763
+ orgLocationNode = orgLocationNode.previousSibling;
1764
+ }
1765
+ }
1766
+ const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1767
+ const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1768
+ if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1769
+ if (nodeToRelocate !== insertBeforeNode) {
1770
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1771
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1772
+ }
1773
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1774
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1775
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1776
+ }
1777
+ }
1778
+ }
1779
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1780
+ } else {
1781
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1782
+ if (isInitialLoad) {
1783
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1784
+ }
1785
+ nodeToRelocate.hidden = true;
1786
+ }
1787
+ }
1788
+ }
1789
+ }
1790
+ if (checkSlotFallbackVisibility) {
1791
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1792
+ }
1793
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
1794
+ relocateNodes.length = 0;
1795
+ }
1796
+ contentRef = void 0;
1797
+ };
1798
+
1799
+ // src/runtime/update-component.ts
1800
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1801
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1802
+ const index = ancestorComponent["s-p"].push(
1803
+ new Promise(
1804
+ (r) => hostRef.$onRenderResolve$ = () => {
1805
+ ancestorComponent["s-p"].splice(index - 1, 1);
1806
+ r();
1807
+ }
1808
+ )
1809
+ );
1810
+ }
1811
+ };
1812
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1813
+ {
1814
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1815
+ }
1816
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1817
+ hostRef.$flags$ |= 512 /* needsRerender */;
1818
+ return;
1819
+ }
1820
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1821
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1822
+ return writeTask(dispatch) ;
1823
+ };
1824
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1825
+ const elm = hostRef.$hostElement$;
1826
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1827
+ const instance = elm;
1828
+ if (!instance) {
1829
+ throw new Error(
1830
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
1831
+ );
1832
+ }
1833
+ let maybePromise;
1834
+ if (isInitialLoad) {
1835
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1836
+ } else {
1837
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1838
+ }
1839
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1840
+ endSchedule();
1841
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1842
+ };
1843
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1844
+ console.error(err2);
1845
+ fn();
1846
+ }) : fn();
1847
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1848
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1849
+ var _a;
1850
+ const elm = hostRef.$hostElement$;
1851
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1852
+ const rc = elm["s-rc"];
1853
+ if (isInitialLoad) {
1854
+ attachStyles(hostRef);
1855
+ }
1856
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1857
+ {
1858
+ callRender(hostRef, instance, elm, isInitialLoad);
1859
+ }
1860
+ if (rc) {
1861
+ rc.map((cb) => cb());
1862
+ elm["s-rc"] = void 0;
1863
+ }
1864
+ endRender();
1865
+ endUpdate();
1866
+ {
1867
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1868
+ const postUpdate = () => postUpdateComponent(hostRef);
1869
+ if (childrenPromises.length === 0) {
1870
+ postUpdate();
1871
+ } else {
1872
+ Promise.all(childrenPromises).then(postUpdate);
1873
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1874
+ childrenPromises.length = 0;
1875
+ }
1876
+ }
1877
+ };
1878
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1879
+ try {
1880
+ instance = instance.render() ;
1881
+ {
1882
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
1883
+ }
1884
+ {
1885
+ hostRef.$flags$ |= 2 /* hasRendered */;
1886
+ }
1887
+ {
1888
+ {
1889
+ {
1890
+ renderVdom(hostRef, instance, isInitialLoad);
1891
+ }
1892
+ }
1893
+ }
1894
+ } catch (e) {
1895
+ consoleError(e, hostRef.$hostElement$);
1896
+ }
1897
+ return null;
1898
+ };
1899
+ var postUpdateComponent = (hostRef) => {
1900
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1901
+ const elm = hostRef.$hostElement$;
1902
+ const endPostUpdate = createTime("postUpdate", tagName);
1903
+ const instance = elm;
1904
+ const ancestorComponent = hostRef.$ancestorComponent$;
1905
+ safeCall(instance, "componentDidRender", void 0, elm);
1906
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1907
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1908
+ {
1909
+ addHydratedFlag(elm);
1910
+ }
1911
+ safeCall(instance, "componentDidLoad", void 0, elm);
1912
+ endPostUpdate();
1913
+ {
1914
+ hostRef.$onReadyResolve$(elm);
1915
+ if (!ancestorComponent) {
1916
+ appDidLoad();
1917
+ }
1918
+ }
1919
+ } else {
1920
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1921
+ endPostUpdate();
1922
+ }
1923
+ {
1924
+ if (hostRef.$onRenderResolve$) {
1925
+ hostRef.$onRenderResolve$();
1926
+ hostRef.$onRenderResolve$ = void 0;
1927
+ }
1928
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1929
+ nextTick(() => scheduleUpdate(hostRef, false));
1930
+ }
1931
+ hostRef.$flags$ &= -517;
1932
+ }
1933
+ };
1934
+ var appDidLoad = (who) => {
1935
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1936
+ };
1937
+ var safeCall = (instance, method, arg, elm) => {
1938
+ if (instance && instance[method]) {
1939
+ try {
1940
+ return instance[method](arg);
1941
+ } catch (e) {
1942
+ consoleError(e, elm);
1943
+ }
1944
+ }
1945
+ return void 0;
1946
+ };
1947
+ var addHydratedFlag = (elm) => {
1948
+ var _b;
1949
+ return elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") ;
1950
+ };
1951
+
1952
+ // src/runtime/set-value.ts
1953
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1954
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1955
+ const hostRef = getHostRef(ref);
1956
+ const elm = ref;
1957
+ const oldVal = hostRef.$instanceValues$.get(propName);
1958
+ const flags = hostRef.$flags$;
1959
+ const instance = elm;
1960
+ newVal = parsePropertyValue(
1961
+ newVal,
1962
+ cmpMeta.$members$[propName][0]);
1963
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1964
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1965
+ if (didValueChange) {
1966
+ hostRef.$instanceValues$.set(propName, newVal);
1967
+ {
1968
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1969
+ const watchMethods = cmpMeta.$watchers$[propName];
1970
+ if (watchMethods) {
1971
+ watchMethods.map((watchMethodName) => {
1972
+ try {
1973
+ instance[watchMethodName](newVal, oldVal, propName);
1974
+ } catch (e) {
1975
+ consoleError(e, elm);
1976
+ }
1977
+ });
1978
+ }
1979
+ }
1980
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1981
+ if (instance.componentShouldUpdate) {
1982
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1983
+ return;
1984
+ }
1985
+ }
1986
+ scheduleUpdate(hostRef, false);
1987
+ }
1988
+ }
1989
+ }
1990
+ };
1991
+
1992
+ // src/runtime/proxy-component.ts
1993
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1994
+ var _a, _b;
1995
+ const prototype = Cstr.prototype;
1996
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1997
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1998
+ cmpMeta.$watchers$ = Cstr.watchers;
1999
+ }
2000
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
2001
+ members.map(([memberName, [memberFlags]]) => {
2002
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
2003
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
2004
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
2005
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
2006
+ {
2007
+ Object.defineProperty(prototype, memberName, {
2008
+ get() {
2009
+ {
2010
+ return origGetter ? origGetter.apply(this) : getValue(this, memberName);
2011
+ }
2012
+ },
2013
+ configurable: true,
2014
+ enumerable: true
2015
+ });
2016
+ }
2017
+ Object.defineProperty(prototype, memberName, {
2018
+ set(newValue) {
2019
+ const ref = getHostRef(this);
2020
+ if (origSetter) {
2021
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2022
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
2023
+ newValue = ref.$instanceValues$.get(memberName);
2024
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
2025
+ ref.$instanceValues$.set(memberName, currentValue);
2026
+ }
2027
+ origSetter.apply(this, [
2028
+ parsePropertyValue(
2029
+ newValue,
2030
+ memberFlags)
2031
+ ]);
2032
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
2033
+ setValue(this, memberName, newValue, cmpMeta);
2034
+ return;
2035
+ }
2036
+ {
2037
+ setValue(this, memberName, newValue, cmpMeta);
2038
+ return;
2039
+ }
2040
+ }
2041
+ });
2042
+ }
2043
+ });
2044
+ {
2045
+ const attrNameToPropName = /* @__PURE__ */ new Map();
2046
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
2047
+ plt.jmp(() => {
2048
+ var _a2;
2049
+ const propName = attrNameToPropName.get(attrName);
2050
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) ; else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
2051
+ this[propName] == newValue) {
2052
+ return;
2053
+ } else if (propName == null) {
2054
+ const hostRef = getHostRef(this);
2055
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
2056
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
2057
+ const elm = this;
2058
+ const instance = elm;
2059
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
2060
+ entry == null ? void 0 : entry.forEach((callbackName) => {
2061
+ if (instance[callbackName] != null) {
2062
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
2063
+ }
2064
+ });
2065
+ }
2066
+ return;
2067
+ }
2068
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
2069
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
2070
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
2071
+ this[propName] = newValue;
2072
+ }
2073
+ });
2074
+ };
2075
+ Cstr.observedAttributes = Array.from(
2076
+ /* @__PURE__ */ new Set([
2077
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
2078
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
2079
+ const attrName = m[1] || propName;
2080
+ attrNameToPropName.set(attrName, propName);
2081
+ return attrName;
2082
+ })
2083
+ ])
2084
+ );
2085
+ }
2086
+ }
2087
+ return Cstr;
2088
+ };
2089
+
2090
+ // src/runtime/initialize-component.ts
2091
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2092
+ let Cstr;
2093
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
2094
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
2095
+ {
2096
+ Cstr = elm.constructor;
2097
+ const cmpTag = elm.localName;
2098
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
2099
+ }
2100
+ if (Cstr && Cstr.style) {
2101
+ let style;
2102
+ if (typeof Cstr.style === "string") {
2103
+ style = Cstr.style;
2104
+ }
2105
+ const scopeId2 = getScopeId(cmpMeta);
2106
+ if (!styles.has(scopeId2)) {
2107
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
2108
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
2109
+ endRegisterStyles();
2110
+ }
2111
+ }
2112
+ }
2113
+ const ancestorComponent = hostRef.$ancestorComponent$;
2114
+ const schedule = () => scheduleUpdate(hostRef, true);
2115
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
2116
+ ancestorComponent["s-rc"].push(schedule);
2117
+ } else {
2118
+ schedule();
2119
+ }
2120
+ };
2121
+ var fireConnectedCallback = (instance, elm) => {
2122
+ };
2123
+
2124
+ // src/runtime/connected-callback.ts
2125
+ var connectedCallback = (elm) => {
2126
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2127
+ const hostRef = getHostRef(elm);
2128
+ const cmpMeta = hostRef.$cmpMeta$;
2129
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
2130
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
2131
+ hostRef.$flags$ |= 1 /* hasConnected */;
2132
+ let hostId;
2133
+ {
2134
+ hostId = elm.getAttribute(HYDRATE_ID);
2135
+ if (hostId) {
2136
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2137
+ const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
2138
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
2139
+ } else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2140
+ const scopeId2 = getScopeId(cmpMeta);
2141
+ elm["s-sc"] = scopeId2;
2142
+ }
2143
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2144
+ }
2145
+ }
2146
+ if (!hostId) {
2147
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2148
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
2149
+ setContentReference(elm);
2150
+ }
2151
+ }
2152
+ {
2153
+ let ancestorComponent = elm;
2154
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
2155
+ if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
2156
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
2157
+ break;
2158
+ }
2159
+ }
2160
+ }
2161
+ if (cmpMeta.$members$) {
2162
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
2163
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
2164
+ const value = elm[memberName];
2165
+ delete elm[memberName];
2166
+ elm[memberName] = value;
2167
+ }
2168
+ });
2169
+ }
2170
+ if (BUILD.initializeNextTick) {
2171
+ nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
2172
+ } else {
2173
+ initializeComponent(elm, hostRef, cmpMeta);
2174
+ }
2175
+ } else {
2176
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2177
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
2178
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
2179
+ }
2180
+ }
2181
+ endConnected();
2182
+ }
2183
+ };
2184
+ var setContentReference = (elm) => {
2185
+ if (!win.document) {
2186
+ return;
2187
+ }
2188
+ const contentRefElm = elm["s-cr"] = win.document.createComment(
2189
+ ""
2190
+ );
2191
+ contentRefElm["s-cn"] = true;
2192
+ insertBefore(elm, contentRefElm, elm.firstChild);
2193
+ };
2194
+ var disconnectedCallback = async (elm) => {
2195
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
2196
+ const hostRef = getHostRef(elm);
2197
+ {
2198
+ if (hostRef.$rmListeners$) {
2199
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
2200
+ hostRef.$rmListeners$ = void 0;
2201
+ }
2202
+ }
2203
+ }
2204
+ if (rootAppliedStyles.has(elm)) {
2205
+ rootAppliedStyles.delete(elm);
2206
+ }
2207
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
2208
+ rootAppliedStyles.delete(elm.shadowRoot);
2209
+ }
2210
+ };
2211
+ var proxyCustomElement = (Cstr, compactMeta) => {
2212
+ const cmpMeta = {
2213
+ $flags$: compactMeta[0],
2214
+ $tagName$: compactMeta[1]
2215
+ };
2216
+ {
2217
+ cmpMeta.$members$ = compactMeta[2];
2218
+ }
2219
+ {
2220
+ cmpMeta.$listeners$ = compactMeta[3];
2221
+ }
2222
+ {
2223
+ cmpMeta.$watchers$ = Cstr.$watchers$;
2224
+ }
2225
+ {
2226
+ hydrateScopedToShadow();
2227
+ }
2228
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
2229
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
2230
+ Object.assign(Cstr.prototype, {
2231
+ __hasHostListenerAttached: false,
2232
+ __registerHost() {
2233
+ registerHost(this, cmpMeta);
2234
+ },
2235
+ connectedCallback() {
2236
+ if (!this.__hasHostListenerAttached) {
2237
+ const hostRef = getHostRef(this);
2238
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
2239
+ this.__hasHostListenerAttached = true;
2240
+ }
2241
+ connectedCallback(this);
2242
+ if (originalConnectedCallback) {
2243
+ originalConnectedCallback.call(this);
2244
+ }
2245
+ },
2246
+ disconnectedCallback() {
2247
+ disconnectedCallback(this);
2248
+ if (originalDisconnectedCallback) {
2249
+ originalDisconnectedCallback.call(this);
2250
+ }
2251
+ },
2252
+ __attachShadow() {
2253
+ {
2254
+ if (!this.shadowRoot) {
2255
+ createShadowRoot.call(this, cmpMeta);
2256
+ } else {
2257
+ if (this.shadowRoot.mode !== "open") {
2258
+ throw new Error(
2259
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`
2260
+ );
2261
+ }
2262
+ }
2263
+ }
2264
+ }
2265
+ });
2266
+ Cstr.is = cmpMeta.$tagName$;
2267
+ return proxyComponent(Cstr, cmpMeta);
2268
+ };
2269
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2270
+ if (listeners && win.document) {
2271
+ listeners.map(([flags, name, method]) => {
2272
+ const target = getHostListenerTarget(win.document, elm, flags) ;
2273
+ const handler = hostListenerProxy(hostRef, method);
2274
+ const opts = hostListenerOpts(flags);
2275
+ plt.ael(target, name, handler, opts);
2276
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2277
+ });
2278
+ }
2279
+ };
2280
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
2281
+ try {
2282
+ {
2283
+ hostRef.$hostElement$[methodName](ev);
2284
+ }
2285
+ } catch (e) {
2286
+ consoleError(e, hostRef.$hostElement$);
2287
+ }
2288
+ };
2289
+ var getHostListenerTarget = (doc, elm, flags) => {
2290
+ if (flags & 4 /* TargetDocument */) {
2291
+ return doc;
2292
+ }
2293
+ return elm;
2294
+ };
2295
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2296
+ passive: (flags & 1 /* Passive */) !== 0,
2297
+ capture: (flags & 2 /* Capture */) !== 0
2298
+ } : (flags & 2 /* Capture */) !== 0;
2299
+
2300
+ // src/runtime/nonce.ts
2301
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
2302
+
2303
+ // src/runtime/platform-options.ts
2304
+ var setPlatformOptions = (opts) => Object.assign(plt, opts);
2305
+
2306
+ // src/runtime/render.ts
2307
+ function render(vnode, container) {
2308
+ const cmpMeta = {
2309
+ $flags$: 0,
2310
+ $tagName$: container.tagName
2311
+ };
2312
+ const ref = {
2313
+ $cmpMeta$: cmpMeta,
2314
+ $hostElement$: container
2315
+ };
2316
+ renderVdom(ref, vnode);
2317
+ }
2318
+
2319
+ const globalStyles = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb;}::before,::after{--tw-content:''}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Montserrat, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;}body{margin:0;line-height:inherit;}hr{height:0;color:inherit;border-top-width:1px;}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse;}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0;}button,select{text-transform:none}button,input:where([type='button']),input:where([type='reset']),input:where([type='submit']){-webkit-appearance:button;background-color:transparent;background-image:none;}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type='search']{-webkit-appearance:textfield;outline-offset:-2px;}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af;}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af;}button,[role=\"button\"]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle;}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=\"until-found\"])){display:none}html[data-theme='office']{--color-primary:rgb(219, 59, 3);--color-secondary:rgb(0, 119, 107);--color-buttons:#89da59;--color-typography:#ff320e}html{--color-primary:#db3b03;--color-secondary:rgb(0, 119, 107);--color-buttons:#fbbc05;--color-typography:#ea4335}:root{--color-primary:#db3b03;--color-secondary:rgb(0, 119, 107);--color-tertiary:rgb(128, 104, 186);--color-white:white;--color-emphasis:rgb(8, 8, 9);--color-supergiant:rgb(213, 66, 99);--color-orange:rgb(250, 200, 127);--color-buttons:#fbbc05;--color-typography:#ea4335;--background:20 66% 99%;--foreground:20 51% 4%;--muted:20 25% 86%;--muted-foreground:20 7% 25%;--popover:20 66% 98%;--popover-foreground:20 51% 3%;--card:20 66% 98%;--card-foreground:20 51% 3%;--border:20 15% 94%;--input:20 15% 94%;--primary:20 48% 72%;--primary-foreground:20 48% 12%;--secondary:20 12% 92%;--secondary-foreground:20 12% 32%;--accent:20 12% 92%;--accent-foreground:20 12% 32%;--destructive:11 80% 22%;--destructive-foreground:11 80% 82%;--ring:20 48% 72%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}.dark{--background:253 43% 3%;--foreground:253 31% 98%;--muted:253 7% 13%;--muted-foreground:253 13% 63%;--popover:253 43% 3%;--popover-foreground:253 31% 98%;--card:253 43% 4%;--card-foreground:253 31% 99%;--border:215 27.9% 16.9%;--input:215 27.9% 16.9%;--primary:253 91% 58%;--primary-foreground:253 91% 98%;--secondary:253 7% 9%;--secondary-foreground:253 7% 69%;--accent:253 13% 14%;--accent-foreground:253 13% 74%;--destructive:339.2 90.36% 51.18%;--destructive-foreground:0 0% 100%;--ring:253 91% 58%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%}*{border-color:hsl(var(--border))}body{box-sizing:border-box;background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:0.25rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.size-16{width:1rem;height:1rem}.h-3{height:0.75rem}.h-4{height:0.25rem}.w-3{width:0.75rem}.w-4{width:0.25rem}.w-full{width:100%}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-xl{max-width:36rem}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:0.25rem}.gap-2{gap:0.5rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.gap-y-12{row-gap:0.75rem}.overflow-x-auto{overflow-x:auto}.text-pretty{text-wrap:pretty}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-teal-600{--tw-bg-opacity:1;background-color:rgb(13 148 136 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1\\.5{padding:0.375rem}.p-2{padding:0.5rem}.p-6{padding:1.5rem}.px-2{padding-left:0.5rem;padding-right:0.5rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:0.25rem;padding-bottom:0.25rem}.py-1\\.5{padding-top:0.375rem;padding-bottom:0.375rem}.py-24{padding-top:1.5rem;padding-bottom:1.5rem}.py-3{padding-top:0.75rem;padding-bottom:0.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Montserrat, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base\\/7{font-size:1rem;line-height:1.75rem}.text-lg\\/8{font-size:1.125rem;line-height:2rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-sm\\/6{font-size:0.875rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:0.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-0.025em}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-primary{color:var(--color-primary)}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.theme-office{--color-black:#000000;--color-white:#ffffff;--color-primary:#db3b03;--color-secondary:#ec7702;--color-buttons:#89da59;--color-typography:#ff320e}.theme-pg{--color-primary:#00776b;--color-secondary:#01a39d;--color-buttons:#89da59;--color-typography:#ff320e}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-teal-50:hover{--tw-bg-opacity:1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.hover\\:bg-teal-700:hover{--tw-bg-opacity:1;background-color:rgb(15 118 110 / var(--tw-bg-opacity, 1))}.hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:text-gray-800:hover{--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\\:text-teal-800:hover{--tw-text-opacity:1;color:rgb(17 94 89 / var(--tw-text-opacity, 1))}.focus\\:border-teal-500:focus{--tw-border-opacity:1;border-color:rgb(20 184 166 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.focus\\:ring-teal-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(20 184 166 / var(--tw-ring-opacity, 1))}.disabled\\:opacity-50:disabled{opacity:0.5}@media (min-width: 640px){.sm\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.sm\\:gap-y-16{row-gap:1rem}.sm\\:py-32{padding-top:2rem;padding-bottom:2rem}.sm\\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.lg\\:px-8{padding-left:0.5rem;padding-right:0.5rem}}@media (min-width: 1280px){.xl\\:col-span-2{grid-column:span 2 / span 2}.xl\\:grid-cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}}";
2320
+
2321
+ export { H, Host as a, createEvent as c, getAssetPath, h, proxyCustomElement as p, render, setAssetPath, setNonce, setPlatformOptions };
2322
+ //# sourceMappingURL=index.js.map
2323
+
2324
+ //# sourceMappingURL=index.js.map