@cloudflare/realtimekit-ui 0.0.0 → 1.0.0-staging.2

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 (1229) hide show
  1. package/README.md +61 -0
  2. package/dist/browser.js +1 -0
  3. package/dist/cjs/ChatHead-94cee2c7.js +46 -0
  4. package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
  5. package/dist/cjs/TextMessage-4b80b4f5.js +69 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/chat-7e13b43e.js +217 -0
  8. package/dist/cjs/clone-2e9a4cae.js +754 -0
  9. package/dist/cjs/config-a123c409.js +1177 -0
  10. package/dist/cjs/debounce-6080cc73.js +544 -0
  11. package/dist/cjs/debounce-6dabb441.js +331 -0
  12. package/dist/cjs/file-33e9ed90.js +61 -0
  13. package/dist/cjs/floating-ui.dom.esm-c3c35b98.js +1900 -0
  14. package/dist/cjs/full-screen-de3e9caf.js +55 -0
  15. package/dist/cjs/grid-edc342a7.js +99 -0
  16. package/dist/cjs/hark-c97d0a59.js +301 -0
  17. package/dist/cjs/index-2154d3c1.js +26 -0
  18. package/dist/cjs/index-333077f7.js +227 -0
  19. package/dist/cjs/index-d3eba4b9.js +2188 -0
  20. package/dist/cjs/index.cjs.js +268 -0
  21. package/dist/cjs/isObjectLike-73d13a39.js +171 -0
  22. package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
  23. package/dist/cjs/loader.cjs.js +15 -0
  24. package/dist/cjs/logger-3df9c75d.js +5 -0
  25. package/dist/cjs/notification-30f14d01.js +44 -0
  26. package/dist/cjs/realtimekit-ui.cjs.js +25 -0
  27. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
  28. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
  29. package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
  30. package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
  31. package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
  32. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
  33. package/dist/cjs/rtk-avatar_54.cjs.entry.js +6355 -0
  34. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +86 -0
  35. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +281 -0
  36. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +186 -0
  37. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +84 -0
  38. package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +147 -0
  39. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +315 -0
  40. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +78 -0
  41. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +131 -0
  42. package/dist/cjs/rtk-clock.cjs.entry.js +97 -0
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +48 -0
  44. package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
  45. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
  46. package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
  47. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
  48. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
  49. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
  50. package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
  51. package/dist/cjs/rtk-header.cjs.entry.js +66 -0
  52. package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
  53. package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
  54. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
  55. package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
  56. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
  57. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
  58. package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
  59. package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
  60. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
  61. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
  62. package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
  63. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
  64. package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
  65. package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
  66. package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
  67. package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
  68. package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
  69. package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
  70. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +467 -0
  71. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +144 -0
  72. package/dist/cjs/rtk-participants.cjs.entry.js +190 -0
  73. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +88 -0
  74. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +196 -0
  75. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +99 -0
  76. package/dist/cjs/rtk-plugins_2.cjs.entry.js +181 -0
  77. package/dist/cjs/rtk-poll_2.cjs.entry.js +142 -0
  78. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +110 -0
  79. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
  80. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
  81. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +266 -0
  82. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
  83. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
  84. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
  85. package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
  86. package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
  87. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +58 -0
  88. package/dist/cjs/rtk-sidebar.cjs.entry.js +158 -0
  89. package/dist/cjs/rtk-simple-grid.cjs.entry.js +118 -0
  90. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +107 -0
  91. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +85 -0
  92. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +147 -0
  93. package/dist/cjs/rtk-stage.cjs.entry.js +43 -0
  94. package/dist/cjs/rtk-transcript.cjs.entry.js +58 -0
  95. package/dist/cjs/rtk-transcripts.cjs.entry.js +167 -0
  96. package/dist/cjs/rtk-ui-provider.cjs.entry.js +168 -0
  97. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +47 -0
  98. package/dist/cjs/scroll-c6404609.js +15 -0
  99. package/dist/cjs/sidebar-864a0b7a.js +50 -0
  100. package/dist/cjs/size-2a406e36.js +28 -0
  101. package/dist/cjs/string-a410fab6.js +64 -0
  102. package/dist/cjs/ui-store-790d3fec.js +1602 -0
  103. package/dist/collection/collection-manifest.json +149 -0
  104. package/dist/collection/components/rtk-ai/rtk-ai.css +69 -0
  105. package/dist/collection/components/rtk-ai/rtk-ai.js +292 -0
  106. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.css +8 -0
  107. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +257 -0
  108. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +139 -0
  109. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +221 -0
  110. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.css +102 -0
  111. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +292 -0
  112. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.css +118 -0
  113. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +308 -0
  114. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.css +46 -0
  115. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +324 -0
  116. package/dist/collection/components/rtk-avatar/rtk-avatar.css +117 -0
  117. package/dist/collection/components/rtk-avatar/rtk-avatar.js +202 -0
  118. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.css +272 -0
  119. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +509 -0
  120. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.css +269 -0
  121. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +305 -0
  122. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.css +17 -0
  123. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +273 -0
  124. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.css +379 -0
  125. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +481 -0
  126. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.css +111 -0
  127. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +198 -0
  128. package/dist/collection/components/rtk-button/rtk-button.css +185 -0
  129. package/dist/collection/components/rtk-button/rtk-button.js +197 -0
  130. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.css +146 -0
  131. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +263 -0
  132. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +22 -0
  133. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +350 -0
  134. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.css +17 -0
  135. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +289 -0
  136. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +210 -0
  137. package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +287 -0
  138. package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +93 -0
  139. package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +148 -0
  140. package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +99 -0
  141. package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +255 -0
  142. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +330 -0
  143. package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +283 -0
  144. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +306 -0
  145. package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +341 -0
  146. package/dist/collection/components/rtk-chat/components/ChatHead.js +6 -0
  147. package/dist/collection/components/rtk-chat/rtk-chat.css +224 -0
  148. package/dist/collection/components/rtk-chat/rtk-chat.js +866 -0
  149. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.css +304 -0
  150. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +583 -0
  151. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.css +111 -0
  152. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +535 -0
  153. package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +428 -0
  154. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +569 -0
  155. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +191 -0
  156. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +420 -0
  157. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.css +7 -0
  158. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +465 -0
  159. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.css +22 -0
  160. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +170 -0
  161. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.css +219 -0
  162. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +245 -0
  163. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +63 -0
  164. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +329 -0
  165. package/dist/collection/components/rtk-clock/rtk-clock.css +45 -0
  166. package/dist/collection/components/rtk-clock/rtk-clock.js +162 -0
  167. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +72 -0
  168. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +198 -0
  169. package/dist/collection/components/rtk-controlbar/rtk-controlbar.css +32 -0
  170. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +259 -0
  171. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +187 -0
  172. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +247 -0
  173. package/dist/collection/components/rtk-counter/rtk-counter.css +64 -0
  174. package/dist/collection/components/rtk-counter/rtk-counter.js +219 -0
  175. package/dist/collection/components/rtk-debugger/rtk-debugger.css +262 -0
  176. package/dist/collection/components/rtk-debugger/rtk-debugger.js +271 -0
  177. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.css +180 -0
  178. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +294 -0
  179. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.css +175 -0
  180. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +339 -0
  181. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.css +176 -0
  182. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +260 -0
  183. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.css +17 -0
  184. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +234 -0
  185. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.css +180 -0
  186. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +306 -0
  187. package/dist/collection/components/rtk-dialog/rtk-dialog.css +76 -0
  188. package/dist/collection/components/rtk-dialog/rtk-dialog.js +307 -0
  189. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.css +17 -0
  190. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +343 -0
  191. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.css +81 -0
  192. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +180 -0
  193. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +141 -0
  194. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +192 -0
  195. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.css +3 -0
  196. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +113 -0
  197. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.css +80 -0
  198. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +270 -0
  199. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.css +20 -0
  200. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +162 -0
  201. package/dist/collection/components/rtk-file-message/rtk-file-message.js +186 -0
  202. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.css +76 -0
  203. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +127 -0
  204. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.css +3 -0
  205. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +206 -0
  206. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.css +22 -0
  207. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +268 -0
  208. package/dist/collection/components/rtk-grid/rtk-grid.css +122 -0
  209. package/dist/collection/components/rtk-grid/rtk-grid.js +678 -0
  210. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +178 -0
  211. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +327 -0
  212. package/dist/collection/components/rtk-header/rtk-header.css +35 -0
  213. package/dist/collection/components/rtk-header/rtk-header.js +259 -0
  214. package/dist/collection/components/rtk-icon/rtk-icon.css +73 -0
  215. package/dist/collection/components/rtk-icon/rtk-icon.js +124 -0
  216. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +40 -0
  217. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +152 -0
  218. package/dist/collection/components/rtk-image-message/rtk-image-message.css +21 -0
  219. package/dist/collection/components/rtk-image-message/rtk-image-message.js +235 -0
  220. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.css +117 -0
  221. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +152 -0
  222. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.css +99 -0
  223. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +183 -0
  224. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.css +41 -0
  225. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +65 -0
  226. package/dist/collection/components/rtk-join-stage/rtk-join-stage.css +131 -0
  227. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +310 -0
  228. package/dist/collection/components/rtk-leave-button/rtk-leave-button.css +17 -0
  229. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +182 -0
  230. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.css +75 -0
  231. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +242 -0
  232. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +60 -0
  233. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +180 -0
  234. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.css +177 -0
  235. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +485 -0
  236. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.css +22 -0
  237. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +315 -0
  238. package/dist/collection/components/rtk-logo/rtk-logo.css +34 -0
  239. package/dist/collection/components/rtk-logo/rtk-logo.js +177 -0
  240. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +44 -0
  241. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +136 -0
  242. package/dist/collection/components/rtk-meeting/rtk-meeting.css +43 -0
  243. package/dist/collection/components/rtk-meeting/rtk-meeting.js +520 -0
  244. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +35 -0
  245. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +128 -0
  246. package/dist/collection/components/rtk-menu/rtk-menu.css +25 -0
  247. package/dist/collection/components/rtk-menu/rtk-menu.js +217 -0
  248. package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +46 -0
  249. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +130 -0
  250. package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +30 -0
  251. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +100 -0
  252. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.css +68 -0
  253. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +439 -0
  254. package/dist/collection/components/rtk-message-view/rtk-message-view.css +169 -0
  255. package/dist/collection/components/rtk-message-view/rtk-message-view.js +283 -0
  256. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +27 -0
  257. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +348 -0
  258. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.css +146 -0
  259. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +276 -0
  260. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.css +257 -0
  261. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +577 -0
  262. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.css +61 -0
  263. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +210 -0
  264. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.css +17 -0
  265. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +237 -0
  266. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.css +74 -0
  267. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +185 -0
  268. package/dist/collection/components/rtk-name-tag/rtk-name-tag.css +55 -0
  269. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +253 -0
  270. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.css +68 -0
  271. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +213 -0
  272. package/dist/collection/components/rtk-notification/rtk-notification.css +153 -0
  273. package/dist/collection/components/rtk-notification/rtk-notification.js +196 -0
  274. package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
  275. package/dist/collection/components/rtk-notifications/rtk-notifications.js +734 -0
  276. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.css +41 -0
  277. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +181 -0
  278. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +337 -0
  279. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +591 -0
  280. package/dist/collection/components/rtk-participant/rtk-participant.css +91 -0
  281. package/dist/collection/components/rtk-participant/rtk-participant.js +503 -0
  282. package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +41 -0
  283. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
  284. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
  285. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
  286. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
  287. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
  288. package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
  289. package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
  290. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
  291. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
  292. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
  293. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
  294. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
  295. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +286 -0
  296. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +48 -0
  297. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +340 -0
  298. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.css +58 -0
  299. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +326 -0
  300. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.css +107 -0
  301. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +263 -0
  302. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.css +110 -0
  303. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +325 -0
  304. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.css +22 -0
  305. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +293 -0
  306. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.css +89 -0
  307. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +232 -0
  308. package/dist/collection/components/rtk-plugins/rtk-plugins.css +105 -0
  309. package/dist/collection/components/rtk-plugins/rtk-plugins.js +251 -0
  310. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.css +22 -0
  311. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +292 -0
  312. package/dist/collection/components/rtk-poll/rtk-poll.css +153 -0
  313. package/dist/collection/components/rtk-poll/rtk-poll.js +202 -0
  314. package/dist/collection/components/rtk-poll-form/rtk-poll-form.css +121 -0
  315. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +175 -0
  316. package/dist/collection/components/rtk-polls/rtk-polls.css +69 -0
  317. package/dist/collection/components/rtk-polls/rtk-polls.js +242 -0
  318. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.css +49 -0
  319. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +306 -0
  320. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +60 -0
  321. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
  322. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
  323. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
  324. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
  325. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +470 -0
  326. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
  327. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
  328. package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
  329. package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
  330. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
  331. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
  332. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
  333. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
  334. package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
  335. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
  336. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
  337. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
  338. package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
  339. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +424 -0
  340. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.css +135 -0
  341. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +244 -0
  342. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.css +20 -0
  343. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +343 -0
  344. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.css +144 -0
  345. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +299 -0
  346. package/dist/collection/components/rtk-spinner/rtk-spinner.css +52 -0
  347. package/dist/collection/components/rtk-spinner/rtk-spinner.js +99 -0
  348. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.css +88 -0
  349. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +402 -0
  350. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.css +102 -0
  351. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +195 -0
  352. package/dist/collection/components/rtk-stage/rtk-stage.css +19 -0
  353. package/dist/collection/components/rtk-stage/rtk-stage.js +125 -0
  354. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.css +22 -0
  355. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +321 -0
  356. package/dist/collection/components/rtk-switch/rtk-switch.css +51 -0
  357. package/dist/collection/components/rtk-switch/rtk-switch.js +211 -0
  358. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.css +194 -0
  359. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +330 -0
  360. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.css +81 -0
  361. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +316 -0
  362. package/dist/collection/components/rtk-text-message/components/TextMessage.js +62 -0
  363. package/dist/collection/components/rtk-text-message/rtk-text-message.js +185 -0
  364. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.css +25 -0
  365. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +68 -0
  366. package/dist/collection/components/rtk-tooltip/rtk-tooltip.css +67 -0
  367. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +349 -0
  368. package/dist/collection/components/rtk-transcript/rtk-transcript.css +96 -0
  369. package/dist/collection/components/rtk-transcript/rtk-transcript.js +140 -0
  370. package/dist/collection/components/rtk-transcripts/rtk-transcripts.css +32 -0
  371. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +281 -0
  372. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +5 -0
  373. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +374 -0
  374. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +60 -0
  375. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +191 -0
  376. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.css +4 -0
  377. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +264 -0
  378. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.css +45 -0
  379. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +148 -0
  380. package/dist/collection/exports.js +16 -0
  381. package/dist/collection/index.js +2 -0
  382. package/dist/collection/lib/addons/index.js +19 -0
  383. package/dist/collection/lib/audio.js +54 -0
  384. package/dist/collection/lib/builder/index.js +203 -0
  385. package/dist/collection/lib/default-ui-config.js +318 -0
  386. package/dist/collection/lib/grid.js +94 -0
  387. package/dist/collection/lib/icons/default-icon-pack.js +87 -0
  388. package/dist/collection/lib/icons/index.js +20 -0
  389. package/dist/collection/lib/lang/default-language.js +415 -0
  390. package/dist/collection/lib/lang/index.js +17 -0
  391. package/dist/collection/lib/notification.js +39 -0
  392. package/dist/collection/lib/render/index.js +97 -0
  393. package/dist/collection/lib/render/utils.js +115 -0
  394. package/dist/collection/lib/visualizer.js +42 -0
  395. package/dist/collection/theme/colors.js +130 -0
  396. package/dist/collection/theme/index.js +65 -0
  397. package/dist/collection/theme/presets/border.js +46 -0
  398. package/dist/collection/theme/presets/themes.js +35 -0
  399. package/dist/collection/theme/space.js +17 -0
  400. package/dist/collection/theme/tests/space.spec.js +17 -0
  401. package/dist/collection/types/floating-ui.js +1 -0
  402. package/dist/collection/types/props.js +1 -0
  403. package/dist/collection/types/rtk-ai.js +1 -0
  404. package/dist/collection/types/rtk-client.js +10 -0
  405. package/dist/collection/types/ui-config/config.js +35 -0
  406. package/dist/collection/types/ui-config/design-tokens.js +1 -0
  407. package/dist/collection/types/ui-config/index.js +1 -0
  408. package/dist/collection/types/ui-config/root.js +1 -0
  409. package/dist/collection/utils/assets.js +13 -0
  410. package/dist/collection/utils/breakout-rooms-manager.js +299 -0
  411. package/dist/collection/utils/breakout-rooms.js +69 -0
  412. package/dist/collection/utils/chat.js +198 -0
  413. package/dist/collection/utils/clone.js +7 -0
  414. package/dist/collection/utils/color.js +175 -0
  415. package/dist/collection/utils/config.js +353 -0
  416. package/dist/collection/utils/date.js +30 -0
  417. package/dist/collection/utils/debugger-utils.js +83 -0
  418. package/dist/collection/utils/file.js +54 -0
  419. package/dist/collection/utils/flags.js +24 -0
  420. package/dist/collection/utils/full-screen.js +48 -0
  421. package/dist/collection/utils/graceful-storage.js +18 -0
  422. package/dist/collection/utils/livestream.js +100 -0
  423. package/dist/collection/utils/logger.js +1 -0
  424. package/dist/collection/utils/notification.js +15 -0
  425. package/dist/collection/utils/provide-design-system.js +114 -0
  426. package/dist/collection/utils/scroll.js +11 -0
  427. package/dist/collection/utils/sidebar.js +42 -0
  428. package/dist/collection/utils/size.js +14 -0
  429. package/dist/collection/utils/stage.js +9 -0
  430. package/dist/collection/utils/string.js +56 -0
  431. package/dist/collection/utils/sync-with-store/index.js +21 -0
  432. package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
  433. package/dist/collection/utils/time.js +9 -0
  434. package/dist/collection/utils/troubleshooter.js +469 -0
  435. package/dist/collection/utils/user-prefs.js +20 -0
  436. package/dist/components/index.d.ts +33 -0
  437. package/dist/components/index.js +246 -0
  438. package/dist/components/p-028999b4.js +103 -0
  439. package/dist/components/p-02f19345.js +50 -0
  440. package/dist/components/p-0646bdc7.js +227 -0
  441. package/dist/components/p-0752f2ba.js +13 -0
  442. package/dist/components/p-09e6eab9.js +125 -0
  443. package/dist/components/p-0abe4b8a.js +200 -0
  444. package/dist/components/p-0d6af270.js +42 -0
  445. package/dist/components/p-0e02697c.js +85 -0
  446. package/dist/components/p-12aa04c2.js +168 -0
  447. package/dist/components/p-13ca3cc7.js +148 -0
  448. package/dist/components/p-158fc95d.js +92 -0
  449. package/dist/components/p-174eea40.js +149 -0
  450. package/dist/components/p-1ca992c5.js +95 -0
  451. package/dist/components/p-1cda12a9.js +11 -0
  452. package/dist/components/p-1d055d3f.js +57 -0
  453. package/dist/components/p-1d8ecb94.js +77 -0
  454. package/dist/components/p-1dcb723e.js +91 -0
  455. package/dist/components/p-1f633de4.js +101 -0
  456. package/dist/components/p-212ce4b8.js +95 -0
  457. package/dist/components/p-22605d4a.js +120 -0
  458. package/dist/components/p-25969351.js +153 -0
  459. package/dist/components/p-2c3cda13.js +164 -0
  460. package/dist/components/p-2f01fa36.js +161 -0
  461. package/dist/components/p-2f0318c7.js +150 -0
  462. package/dist/components/p-31964573.js +1892 -0
  463. package/dist/components/p-338c7261.js +58 -0
  464. package/dist/components/p-382270d8.js +32 -0
  465. package/dist/components/p-39af1790.js +316 -0
  466. package/dist/components/p-3b8741ca.js +67 -0
  467. package/dist/components/p-3bfd5b6d.js +1638 -0
  468. package/dist/components/p-3e2ba737.js +29080 -0
  469. package/dist/components/p-3f882e7c.js +299 -0
  470. package/dist/components/p-4611af78.js +97 -0
  471. package/dist/components/p-46923b34.js +1409 -0
  472. package/dist/components/p-46ab4375.js +180 -0
  473. package/dist/components/p-46ff9ad9.js +114 -0
  474. package/dist/components/p-483752a4.js +178 -0
  475. package/dist/components/p-4b5caa33.js +125 -0
  476. package/dist/components/p-512c3bef.js +156 -0
  477. package/dist/components/p-51b56b52.js +159 -0
  478. package/dist/components/p-53b020e2.js +1538 -0
  479. package/dist/components/p-550aa089.js +1172 -0
  480. package/dist/components/p-5605a420.js +3 -0
  481. package/dist/components/p-5c0da120.js +182 -0
  482. package/dist/components/p-5d2cf697.js +76 -0
  483. package/dist/components/p-60db99e3.js +215 -0
  484. package/dist/components/p-613b7d98.js +353 -0
  485. package/dist/components/p-624f14ef.js +951 -0
  486. package/dist/components/p-63e92eda.js +264 -0
  487. package/dist/components/p-641ba920.js +61 -0
  488. package/dist/components/p-6453124f.js +211 -0
  489. package/dist/components/p-64a6ea33.js +194 -0
  490. package/dist/components/p-65bf60df.js +81 -0
  491. package/dist/components/p-6fa3c2fa.js +93 -0
  492. package/dist/components/p-71133697.js +112 -0
  493. package/dist/components/p-746ae804.js +103 -0
  494. package/dist/components/p-749efee6.js +85 -0
  495. package/dist/components/p-77167e1b.js +162 -0
  496. package/dist/components/p-78349933.js +213 -0
  497. package/dist/components/p-7ad5bf75.js +82 -0
  498. package/dist/components/p-82fbdbf4.js +105 -0
  499. package/dist/components/p-87480646.js +309 -0
  500. package/dist/components/p-87d8706e.js +114 -0
  501. package/dist/components/p-89bbfe71.js +203 -0
  502. package/dist/components/p-906cb5bf.js +82 -0
  503. package/dist/components/p-90bd27de.js +199 -0
  504. package/dist/components/p-915562c0.js +307 -0
  505. package/dist/components/p-9217dbe9.js +115 -0
  506. package/dist/components/p-94443423.js +45 -0
  507. package/dist/components/p-963d619f.js +626 -0
  508. package/dist/components/p-96be234f.js +26 -0
  509. package/dist/components/p-971097d5.js +108 -0
  510. package/dist/components/p-98ae3e41.js +86 -0
  511. package/dist/components/p-9c2796e3.js +68 -0
  512. package/dist/components/p-9fc565cf.js +57 -0
  513. package/dist/components/p-a08b5a59.js +329 -0
  514. package/dist/components/p-a4182a97.js +118 -0
  515. package/dist/components/p-a83ccdbd.js +40 -0
  516. package/dist/components/p-abbbb5f3.js +69 -0
  517. package/dist/components/p-ad50fcdc.js +95 -0
  518. package/dist/components/p-ae1931dd.js +79 -0
  519. package/dist/components/p-aec1ab2d.js +96 -0
  520. package/dist/components/p-b13ddb7d.js +96 -0
  521. package/dist/components/p-ba1a0ebf.js +63 -0
  522. package/dist/components/p-baea3e90.js +119 -0
  523. package/dist/components/p-bb4322af.js +131 -0
  524. package/dist/components/p-bb7c5e38.js +134 -0
  525. package/dist/components/p-bc68e74e.js +128 -0
  526. package/dist/components/p-bed2e1b5.js +62 -0
  527. package/dist/components/p-bffc1ba5.js +155 -0
  528. package/dist/components/p-c15d924f.js +752 -0
  529. package/dist/components/p-c4482ff1.js +157 -0
  530. package/dist/components/p-c8a6dfb8.js +305 -0
  531. package/dist/components/p-cbdd7a99.js +542 -0
  532. package/dist/components/p-cdfe8250.js +390 -0
  533. package/dist/components/p-d17beb97.js +223 -0
  534. package/dist/components/p-d978ca76.js +124 -0
  535. package/dist/components/p-da00b09a.js +148 -0
  536. package/dist/components/p-dca85942.js +108 -0
  537. package/dist/components/p-de7f1269.js +224 -0
  538. package/dist/components/p-df1632fd.js +204 -0
  539. package/dist/components/p-df6f9a3f.js +24 -0
  540. package/dist/components/p-eb0fc611.js +43 -0
  541. package/dist/components/p-eebae590.js +357 -0
  542. package/dist/components/p-efc19d8d.js +63 -0
  543. package/dist/components/p-f22929f5.js +105 -0
  544. package/dist/components/p-f47d4fe8.js +928 -0
  545. package/dist/components/p-f5e4f0bb.js +168 -0
  546. package/dist/components/p-f9aece94.js +96 -0
  547. package/dist/components/p-fb535f2c.js +157 -0
  548. package/dist/components/p-fd0abb3e.js +134 -0
  549. package/dist/components/rtk-ai-toggle.d.ts +11 -0
  550. package/dist/components/rtk-ai-toggle.js +119 -0
  551. package/dist/components/rtk-ai-transcriptions.d.ts +11 -0
  552. package/dist/components/rtk-ai-transcriptions.js +6 -0
  553. package/dist/components/rtk-ai.d.ts +11 -0
  554. package/dist/components/rtk-ai.js +134 -0
  555. package/dist/components/rtk-audio-grid.d.ts +11 -0
  556. package/dist/components/rtk-audio-grid.js +145 -0
  557. package/dist/components/rtk-audio-tile.d.ts +11 -0
  558. package/dist/components/rtk-audio-tile.js +182 -0
  559. package/dist/components/rtk-audio-visualizer.d.ts +11 -0
  560. package/dist/components/rtk-audio-visualizer.js +6 -0
  561. package/dist/components/rtk-avatar.d.ts +11 -0
  562. package/dist/components/rtk-avatar.js +6 -0
  563. package/dist/components/rtk-breakout-room-manager.d.ts +11 -0
  564. package/dist/components/rtk-breakout-room-manager.js +6 -0
  565. package/dist/components/rtk-breakout-room-participants.d.ts +11 -0
  566. package/dist/components/rtk-breakout-room-participants.js +6 -0
  567. package/dist/components/rtk-breakout-rooms-manager.d.ts +11 -0
  568. package/dist/components/rtk-breakout-rooms-manager.js +6 -0
  569. package/dist/components/rtk-breakout-rooms-toggle.d.ts +11 -0
  570. package/dist/components/rtk-breakout-rooms-toggle.js +129 -0
  571. package/dist/components/rtk-broadcast-message-modal.d.ts +11 -0
  572. package/dist/components/rtk-broadcast-message-modal.js +6 -0
  573. package/dist/components/rtk-button.d.ts +11 -0
  574. package/dist/components/rtk-button.js +6 -0
  575. package/dist/components/rtk-camera-selector.d.ts +11 -0
  576. package/dist/components/rtk-camera-selector.js +6 -0
  577. package/dist/components/rtk-camera-toggle.d.ts +11 -0
  578. package/dist/components/rtk-camera-toggle.js +237 -0
  579. package/dist/components/rtk-caption-toggle.d.ts +11 -0
  580. package/dist/components/rtk-caption-toggle.js +129 -0
  581. package/dist/components/rtk-channel-creator.d.ts +11 -0
  582. package/dist/components/rtk-channel-creator.js +6 -0
  583. package/dist/components/rtk-channel-details.d.ts +11 -0
  584. package/dist/components/rtk-channel-details.js +6 -0
  585. package/dist/components/rtk-channel-header.d.ts +11 -0
  586. package/dist/components/rtk-channel-header.js +6 -0
  587. package/dist/components/rtk-channel-selector-ui.d.ts +11 -0
  588. package/dist/components/rtk-channel-selector-ui.js +194 -0
  589. package/dist/components/rtk-channel-selector-view.d.ts +11 -0
  590. package/dist/components/rtk-channel-selector-view.js +6 -0
  591. package/dist/components/rtk-chat-composer-ui.d.ts +11 -0
  592. package/dist/components/rtk-chat-composer-ui.js +383 -0
  593. package/dist/components/rtk-chat-composer-view.d.ts +11 -0
  594. package/dist/components/rtk-chat-composer-view.js +6 -0
  595. package/dist/components/rtk-chat-message.d.ts +11 -0
  596. package/dist/components/rtk-chat-message.js +6 -0
  597. package/dist/components/rtk-chat-messages-ui-paginated.d.ts +11 -0
  598. package/dist/components/rtk-chat-messages-ui-paginated.js +6 -0
  599. package/dist/components/rtk-chat-messages-ui.d.ts +11 -0
  600. package/dist/components/rtk-chat-messages-ui.js +6 -0
  601. package/dist/components/rtk-chat-search-results.d.ts +11 -0
  602. package/dist/components/rtk-chat-search-results.js +6 -0
  603. package/dist/components/rtk-chat-selector-ui.d.ts +11 -0
  604. package/dist/components/rtk-chat-selector-ui.js +108 -0
  605. package/dist/components/rtk-chat-toggle.d.ts +11 -0
  606. package/dist/components/rtk-chat-toggle.js +178 -0
  607. package/dist/components/rtk-chat.d.ts +11 -0
  608. package/dist/components/rtk-chat.js +6 -0
  609. package/dist/components/rtk-clock.d.ts +11 -0
  610. package/dist/components/rtk-clock.js +126 -0
  611. package/dist/components/rtk-confirmation-modal.d.ts +11 -0
  612. package/dist/components/rtk-confirmation-modal.js +6 -0
  613. package/dist/components/rtk-controlbar-button.d.ts +11 -0
  614. package/dist/components/rtk-controlbar-button.js +6 -0
  615. package/dist/components/rtk-controlbar.d.ts +11 -0
  616. package/dist/components/rtk-controlbar.js +91 -0
  617. package/dist/components/rtk-counter.d.ts +11 -0
  618. package/dist/components/rtk-counter.js +6 -0
  619. package/dist/components/rtk-debugger-audio.d.ts +11 -0
  620. package/dist/components/rtk-debugger-audio.js +6 -0
  621. package/dist/components/rtk-debugger-screenshare.d.ts +11 -0
  622. package/dist/components/rtk-debugger-screenshare.js +6 -0
  623. package/dist/components/rtk-debugger-system.d.ts +11 -0
  624. package/dist/components/rtk-debugger-system.js +6 -0
  625. package/dist/components/rtk-debugger-toggle.d.ts +11 -0
  626. package/dist/components/rtk-debugger-toggle.js +101 -0
  627. package/dist/components/rtk-debugger-video.d.ts +11 -0
  628. package/dist/components/rtk-debugger-video.js +6 -0
  629. package/dist/components/rtk-debugger.d.ts +11 -0
  630. package/dist/components/rtk-debugger.js +6 -0
  631. package/dist/components/rtk-dialog-manager.d.ts +11 -0
  632. package/dist/components/rtk-dialog-manager.js +6 -0
  633. package/dist/components/rtk-dialog.d.ts +11 -0
  634. package/dist/components/rtk-dialog.js +6 -0
  635. package/dist/components/rtk-draft-attachment-view.d.ts +11 -0
  636. package/dist/components/rtk-draft-attachment-view.js +6 -0
  637. package/dist/components/rtk-emoji-picker-button.d.ts +11 -0
  638. package/dist/components/rtk-emoji-picker-button.js +6 -0
  639. package/dist/components/rtk-emoji-picker.d.ts +11 -0
  640. package/dist/components/rtk-emoji-picker.js +6 -0
  641. package/dist/components/rtk-ended-screen.d.ts +11 -0
  642. package/dist/components/rtk-ended-screen.js +148 -0
  643. package/dist/components/rtk-file-dropzone.d.ts +11 -0
  644. package/dist/components/rtk-file-dropzone.js +87 -0
  645. package/dist/components/rtk-file-message-view.d.ts +11 -0
  646. package/dist/components/rtk-file-message-view.js +6 -0
  647. package/dist/components/rtk-file-message.d.ts +11 -0
  648. package/dist/components/rtk-file-message.js +6 -0
  649. package/dist/components/rtk-file-picker-button.d.ts +11 -0
  650. package/dist/components/rtk-file-picker-button.js +6 -0
  651. package/dist/components/rtk-fullscreen-toggle.d.ts +11 -0
  652. package/dist/components/rtk-fullscreen-toggle.js +6 -0
  653. package/dist/components/rtk-grid-pagination.d.ts +11 -0
  654. package/dist/components/rtk-grid-pagination.js +207 -0
  655. package/dist/components/rtk-grid.d.ts +11 -0
  656. package/dist/components/rtk-grid.js +454 -0
  657. package/dist/components/rtk-header.d.ts +11 -0
  658. package/dist/components/rtk-header.js +91 -0
  659. package/dist/components/rtk-icon.d.ts +11 -0
  660. package/dist/components/rtk-icon.js +6 -0
  661. package/dist/components/rtk-idle-screen.d.ts +11 -0
  662. package/dist/components/rtk-idle-screen.js +86 -0
  663. package/dist/components/rtk-image-message-view.d.ts +11 -0
  664. package/dist/components/rtk-image-message-view.js +6 -0
  665. package/dist/components/rtk-image-message.d.ts +11 -0
  666. package/dist/components/rtk-image-message.js +6 -0
  667. package/dist/components/rtk-image-viewer.d.ts +11 -0
  668. package/dist/components/rtk-image-viewer.js +94 -0
  669. package/dist/components/rtk-information-tooltip.d.ts +11 -0
  670. package/dist/components/rtk-information-tooltip.js +61 -0
  671. package/dist/components/rtk-join-stage.d.ts +11 -0
  672. package/dist/components/rtk-join-stage.js +6 -0
  673. package/dist/components/rtk-leave-button.d.ts +11 -0
  674. package/dist/components/rtk-leave-button.js +90 -0
  675. package/dist/components/rtk-leave-meeting.d.ts +11 -0
  676. package/dist/components/rtk-leave-meeting.js +6 -0
  677. package/dist/components/rtk-livestream-indicator.d.ts +11 -0
  678. package/dist/components/rtk-livestream-indicator.js +6 -0
  679. package/dist/components/rtk-livestream-player.d.ts +11 -0
  680. package/dist/components/rtk-livestream-player.js +6 -0
  681. package/dist/components/rtk-livestream-toggle.d.ts +11 -0
  682. package/dist/components/rtk-livestream-toggle.js +184 -0
  683. package/dist/components/rtk-logo.d.ts +11 -0
  684. package/dist/components/rtk-logo.js +6 -0
  685. package/dist/components/rtk-markdown-view.d.ts +11 -0
  686. package/dist/components/rtk-markdown-view.js +6 -0
  687. package/dist/components/rtk-meeting-title.d.ts +11 -0
  688. package/dist/components/rtk-meeting-title.js +74 -0
  689. package/dist/components/rtk-meeting.d.ts +11 -0
  690. package/dist/components/rtk-meeting.js +566 -0
  691. package/dist/components/rtk-menu-item.d.ts +11 -0
  692. package/dist/components/rtk-menu-item.js +6 -0
  693. package/dist/components/rtk-menu-list.d.ts +11 -0
  694. package/dist/components/rtk-menu-list.js +6 -0
  695. package/dist/components/rtk-menu.d.ts +11 -0
  696. package/dist/components/rtk-menu.js +6 -0
  697. package/dist/components/rtk-message-list-view.d.ts +11 -0
  698. package/dist/components/rtk-message-list-view.js +324 -0
  699. package/dist/components/rtk-message-view.d.ts +11 -0
  700. package/dist/components/rtk-message-view.js +6 -0
  701. package/dist/components/rtk-mic-toggle.d.ts +11 -0
  702. package/dist/components/rtk-mic-toggle.js +235 -0
  703. package/dist/components/rtk-microphone-selector.d.ts +11 -0
  704. package/dist/components/rtk-microphone-selector.js +6 -0
  705. package/dist/components/rtk-mixed-grid.d.ts +11 -0
  706. package/dist/components/rtk-mixed-grid.js +298 -0
  707. package/dist/components/rtk-more-toggle.d.ts +11 -0
  708. package/dist/components/rtk-more-toggle.js +115 -0
  709. package/dist/components/rtk-mute-all-button.d.ts +11 -0
  710. package/dist/components/rtk-mute-all-button.js +128 -0
  711. package/dist/components/rtk-mute-all-confirmation.d.ts +11 -0
  712. package/dist/components/rtk-mute-all-confirmation.js +6 -0
  713. package/dist/components/rtk-name-tag.d.ts +11 -0
  714. package/dist/components/rtk-name-tag.js +6 -0
  715. package/dist/components/rtk-network-indicator.d.ts +11 -0
  716. package/dist/components/rtk-network-indicator.js +117 -0
  717. package/dist/components/rtk-notification.d.ts +11 -0
  718. package/dist/components/rtk-notification.js +6 -0
  719. package/dist/components/rtk-notifications.d.ts +11 -0
  720. package/dist/components/rtk-notifications.js +6 -0
  721. package/dist/components/rtk-overlay-modal.d.ts +11 -0
  722. package/dist/components/rtk-overlay-modal.js +6 -0
  723. package/dist/components/rtk-paginated-list.d.ts +11 -0
  724. package/dist/components/rtk-paginated-list.js +6 -0
  725. package/dist/components/rtk-participant-count.d.ts +11 -0
  726. package/dist/components/rtk-participant-count.js +121 -0
  727. package/dist/components/rtk-participant-setup.d.ts +11 -0
  728. package/dist/components/rtk-participant-setup.js +149 -0
  729. package/dist/components/rtk-participant-tile.d.ts +11 -0
  730. package/dist/components/rtk-participant-tile.js +6 -0
  731. package/dist/components/rtk-participant.d.ts +11 -0
  732. package/dist/components/rtk-participant.js +6 -0
  733. package/dist/components/rtk-participants-audio.d.ts +11 -0
  734. package/dist/components/rtk-participants-audio.js +248 -0
  735. package/dist/components/rtk-participants-stage-list.d.ts +11 -0
  736. package/dist/components/rtk-participants-stage-list.js +6 -0
  737. package/dist/components/rtk-participants-stage-queue.d.ts +11 -0
  738. package/dist/components/rtk-participants-stage-queue.js +6 -0
  739. package/dist/components/rtk-participants-toggle.d.ts +11 -0
  740. package/dist/components/rtk-participants-toggle.js +192 -0
  741. package/dist/components/rtk-participants-viewer-list.d.ts +11 -0
  742. package/dist/components/rtk-participants-viewer-list.js +6 -0
  743. package/dist/components/rtk-participants-waiting-list.d.ts +11 -0
  744. package/dist/components/rtk-participants-waiting-list.js +6 -0
  745. package/dist/components/rtk-participants.d.ts +11 -0
  746. package/dist/components/rtk-participants.js +304 -0
  747. package/dist/components/rtk-permissions-message.d.ts +11 -0
  748. package/dist/components/rtk-permissions-message.js +6 -0
  749. package/dist/components/rtk-pip-toggle.d.ts +11 -0
  750. package/dist/components/rtk-pip-toggle.js +133 -0
  751. package/dist/components/rtk-plugin-main.d.ts +11 -0
  752. package/dist/components/rtk-plugin-main.js +6 -0
  753. package/dist/components/rtk-plugins-toggle.d.ts +11 -0
  754. package/dist/components/rtk-plugins-toggle.js +144 -0
  755. package/dist/components/rtk-plugins.d.ts +11 -0
  756. package/dist/components/rtk-plugins.js +6 -0
  757. package/dist/components/rtk-poll-form.d.ts +11 -0
  758. package/dist/components/rtk-poll-form.js +6 -0
  759. package/dist/components/rtk-poll.d.ts +11 -0
  760. package/dist/components/rtk-poll.js +6 -0
  761. package/dist/components/rtk-polls-toggle.d.ts +11 -0
  762. package/dist/components/rtk-polls-toggle.js +156 -0
  763. package/dist/components/rtk-polls.d.ts +11 -0
  764. package/dist/components/rtk-polls.js +6 -0
  765. package/dist/components/rtk-recording-indicator.d.ts +11 -0
  766. package/dist/components/rtk-recording-indicator.js +99 -0
  767. package/dist/components/rtk-recording-toggle.d.ts +11 -0
  768. package/dist/components/rtk-recording-toggle.js +206 -0
  769. package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
  770. package/dist/components/rtk-screen-share-toggle.js +321 -0
  771. package/dist/components/rtk-screenshare-view.d.ts +11 -0
  772. package/dist/components/rtk-screenshare-view.js +197 -0
  773. package/dist/components/rtk-settings-audio.d.ts +11 -0
  774. package/dist/components/rtk-settings-audio.js +6 -0
  775. package/dist/components/rtk-settings-toggle.d.ts +11 -0
  776. package/dist/components/rtk-settings-toggle.js +96 -0
  777. package/dist/components/rtk-settings-video.d.ts +11 -0
  778. package/dist/components/rtk-settings-video.js +6 -0
  779. package/dist/components/rtk-settings.d.ts +11 -0
  780. package/dist/components/rtk-settings.js +211 -0
  781. package/dist/components/rtk-setup-screen.d.ts +11 -0
  782. package/dist/components/rtk-setup-screen.js +186 -0
  783. package/dist/components/rtk-sidebar-ui.d.ts +11 -0
  784. package/dist/components/rtk-sidebar-ui.js +6 -0
  785. package/dist/components/rtk-sidebar.d.ts +11 -0
  786. package/dist/components/rtk-sidebar.js +238 -0
  787. package/dist/components/rtk-simple-grid.d.ts +11 -0
  788. package/dist/components/rtk-simple-grid.js +147 -0
  789. package/dist/components/rtk-speaker-selector.d.ts +11 -0
  790. package/dist/components/rtk-speaker-selector.js +6 -0
  791. package/dist/components/rtk-spinner.d.ts +11 -0
  792. package/dist/components/rtk-spinner.js +6 -0
  793. package/dist/components/rtk-spotlight-grid.d.ts +11 -0
  794. package/dist/components/rtk-spotlight-grid.js +135 -0
  795. package/dist/components/rtk-spotlight-indicator.d.ts +11 -0
  796. package/dist/components/rtk-spotlight-indicator.js +6 -0
  797. package/dist/components/rtk-stage-toggle.d.ts +11 -0
  798. package/dist/components/rtk-stage-toggle.js +198 -0
  799. package/dist/components/rtk-stage.d.ts +11 -0
  800. package/dist/components/rtk-stage.js +61 -0
  801. package/dist/components/rtk-switch.d.ts +11 -0
  802. package/dist/components/rtk-switch.js +6 -0
  803. package/dist/components/rtk-tab-bar.d.ts +11 -0
  804. package/dist/components/rtk-tab-bar.js +6 -0
  805. package/dist/components/rtk-text-composer-view.d.ts +11 -0
  806. package/dist/components/rtk-text-composer-view.js +6 -0
  807. package/dist/components/rtk-text-message-view.d.ts +11 -0
  808. package/dist/components/rtk-text-message-view.js +6 -0
  809. package/dist/components/rtk-text-message.d.ts +11 -0
  810. package/dist/components/rtk-text-message.js +6 -0
  811. package/dist/components/rtk-tooltip.d.ts +11 -0
  812. package/dist/components/rtk-tooltip.js +6 -0
  813. package/dist/components/rtk-transcript.d.ts +11 -0
  814. package/dist/components/rtk-transcript.js +6 -0
  815. package/dist/components/rtk-transcripts.d.ts +11 -0
  816. package/dist/components/rtk-transcripts.js +197 -0
  817. package/dist/components/rtk-ui-provider.d.ts +11 -0
  818. package/dist/components/rtk-ui-provider.js +195 -0
  819. package/dist/components/rtk-viewer-count.d.ts +11 -0
  820. package/dist/components/rtk-viewer-count.js +6 -0
  821. package/dist/components/rtk-virtualized-participant-list.d.ts +11 -0
  822. package/dist/components/rtk-virtualized-participant-list.js +6 -0
  823. package/dist/components/rtk-waiting-screen.d.ts +11 -0
  824. package/dist/components/rtk-waiting-screen.js +74 -0
  825. package/dist/docs/docs-components.d.ts +443 -0
  826. package/dist/docs/docs-components.json +239216 -0
  827. package/dist/docs/docs-vscode.json +4421 -0
  828. package/dist/esm/ChatHead-4ef9f354.js +41 -0
  829. package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
  830. package/dist/esm/TextMessage-0683cfdd.js +67 -0
  831. package/dist/esm/app-globals-0f993ce5.js +3 -0
  832. package/dist/esm/chat-d82f457b.js +200 -0
  833. package/dist/esm/clone-acd4af50.js +752 -0
  834. package/dist/esm/config-233d8f24.js +1172 -0
  835. package/dist/esm/debounce-0169a54d.js +542 -0
  836. package/dist/esm/debounce-ea0579b2.js +329 -0
  837. package/dist/esm/file-1d408324.js +57 -0
  838. package/dist/esm/floating-ui.dom.esm-cf1488a2.js +1892 -0
  839. package/dist/esm/full-screen-1f58c594.js +50 -0
  840. package/dist/esm/grid-a3ca5a3e.js +96 -0
  841. package/dist/esm/hark-6327d91e.js +299 -0
  842. package/dist/esm/index-25a91036.js +2155 -0
  843. package/dist/esm/index-27e158ce.js +24 -0
  844. package/dist/esm/index-3f9d8968.js +224 -0
  845. package/dist/esm/index.js +249 -0
  846. package/dist/esm/isObjectLike-773b9473.js +164 -0
  847. package/dist/esm/keysIn-310f65c1.js +1409 -0
  848. package/dist/esm/loader.js +56184 -0
  849. package/dist/esm/logger-31448943.js +3 -0
  850. package/dist/esm/notification-90f2d20b.js +42 -0
  851. package/dist/esm/realtimekit-ui.js +20 -0
  852. package/dist/esm/rtk-ai-toggle.entry.js +72 -0
  853. package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
  854. package/dist/esm/rtk-ai.entry.js +87 -0
  855. package/dist/esm/rtk-audio-grid.entry.js +112 -0
  856. package/dist/esm/rtk-audio-tile.entry.js +126 -0
  857. package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
  858. package/dist/esm/rtk-avatar_54.entry.js +6298 -0
  859. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +82 -0
  860. package/dist/esm/rtk-camera-selector_2.entry.js +276 -0
  861. package/dist/esm/rtk-camera-toggle.entry.js +182 -0
  862. package/dist/esm/rtk-caption-toggle.entry.js +80 -0
  863. package/dist/esm/rtk-channel-selector-ui.entry.js +143 -0
  864. package/dist/esm/rtk-chat-composer-ui.entry.js +311 -0
  865. package/dist/esm/rtk-chat-selector-ui.entry.js +74 -0
  866. package/dist/esm/rtk-chat-toggle.entry.js +127 -0
  867. package/dist/esm/rtk-clock.entry.js +93 -0
  868. package/dist/esm/rtk-controlbar-button.entry.js +44 -0
  869. package/dist/esm/rtk-controlbar.entry.js +62 -0
  870. package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
  871. package/dist/esm/rtk-ended-screen.entry.js +105 -0
  872. package/dist/esm/rtk-file-dropzone.entry.js +56 -0
  873. package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
  874. package/dist/esm/rtk-grid-pagination.entry.js +155 -0
  875. package/dist/esm/rtk-grid.entry.js +358 -0
  876. package/dist/esm/rtk-header.entry.js +62 -0
  877. package/dist/esm/rtk-idle-screen.entry.js +43 -0
  878. package/dist/esm/rtk-image-viewer.entry.js +58 -0
  879. package/dist/esm/rtk-information-tooltip.entry.js +33 -0
  880. package/dist/esm/rtk-leave-button.entry.js +48 -0
  881. package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
  882. package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
  883. package/dist/esm/rtk-meeting-title.entry.js +45 -0
  884. package/dist/esm/rtk-message-list-view.entry.js +281 -0
  885. package/dist/esm/rtk-mic-toggle.entry.js +180 -0
  886. package/dist/esm/rtk-mixed-grid.entry.js +222 -0
  887. package/dist/esm/rtk-more-toggle.entry.js +73 -0
  888. package/dist/esm/rtk-mute-all-button.entry.js +75 -0
  889. package/dist/esm/rtk-name-tag.entry.js +68 -0
  890. package/dist/esm/rtk-network-indicator.entry.js +82 -0
  891. package/dist/esm/rtk-participant-count.entry.js +87 -0
  892. package/dist/esm/rtk-participant-setup.entry.js +114 -0
  893. package/dist/esm/rtk-participant_2.entry.js +414 -0
  894. package/dist/esm/rtk-participants-audio.entry.js +203 -0
  895. package/dist/esm/rtk-participants-stage-list_4.entry.js +460 -0
  896. package/dist/esm/rtk-participants-toggle.entry.js +140 -0
  897. package/dist/esm/rtk-participants.entry.js +186 -0
  898. package/dist/esm/rtk-pip-toggle.entry.js +84 -0
  899. package/dist/esm/rtk-plugin-main_2.entry.js +191 -0
  900. package/dist/esm/rtk-plugins-toggle.entry.js +95 -0
  901. package/dist/esm/rtk-plugins_2.entry.js +176 -0
  902. package/dist/esm/rtk-poll_2.entry.js +137 -0
  903. package/dist/esm/rtk-polls-toggle.entry.js +106 -0
  904. package/dist/esm/rtk-recording-indicator.entry.js +66 -0
  905. package/dist/esm/rtk-recording-toggle.entry.js +158 -0
  906. package/dist/esm/rtk-screen-share-toggle.entry.js +262 -0
  907. package/dist/esm/rtk-screenshare-view.entry.js +145 -0
  908. package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
  909. package/dist/esm/rtk-settings-toggle.entry.js +53 -0
  910. package/dist/esm/rtk-settings.entry.js +120 -0
  911. package/dist/esm/rtk-setup-screen.entry.js +116 -0
  912. package/dist/esm/rtk-sidebar-ui.entry.js +54 -0
  913. package/dist/esm/rtk-sidebar.entry.js +154 -0
  914. package/dist/esm/rtk-simple-grid.entry.js +114 -0
  915. package/dist/esm/rtk-spotlight-grid.entry.js +103 -0
  916. package/dist/esm/rtk-spotlight-indicator.entry.js +81 -0
  917. package/dist/esm/rtk-stage-toggle.entry.js +143 -0
  918. package/dist/esm/rtk-stage.entry.js +39 -0
  919. package/dist/esm/rtk-transcript.entry.js +54 -0
  920. package/dist/esm/rtk-transcripts.entry.js +163 -0
  921. package/dist/esm/rtk-ui-provider.entry.js +164 -0
  922. package/dist/esm/rtk-waiting-screen.entry.js +43 -0
  923. package/dist/esm/scroll-2d8e810c.js +13 -0
  924. package/dist/esm/sidebar-aa5e43a2.js +45 -0
  925. package/dist/esm/size-505ade24.js +26 -0
  926. package/dist/esm/string-ed1380fb.js +58 -0
  927. package/dist/esm/ui-store-5383d525.js +1576 -0
  928. package/dist/index.cjs.js +1 -0
  929. package/dist/index.js +1 -0
  930. package/dist/realtimekit-ui/index.esm.js +1 -0
  931. package/dist/realtimekit-ui/p-0218a56b.js +1 -0
  932. package/dist/realtimekit-ui/p-02f19345.js +1 -0
  933. package/dist/realtimekit-ui/p-0336caf2.entry.js +1 -0
  934. package/dist/realtimekit-ui/p-03ac511d.entry.js +1 -0
  935. package/dist/realtimekit-ui/p-06f1ed80.entry.js +1 -0
  936. package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
  937. package/dist/realtimekit-ui/p-0c011730.entry.js +1 -0
  938. package/dist/realtimekit-ui/p-0d9929ac.js +1 -0
  939. package/dist/realtimekit-ui/p-0e8213ad.entry.js +1 -0
  940. package/dist/realtimekit-ui/p-0ec000c9.entry.js +1 -0
  941. package/dist/realtimekit-ui/p-0f5a23ce.entry.js +1 -0
  942. package/dist/realtimekit-ui/p-1206b9a4.entry.js +1 -0
  943. package/dist/realtimekit-ui/p-1567a135.js +1 -0
  944. package/dist/realtimekit-ui/p-15b14b92.entry.js +1 -0
  945. package/dist/realtimekit-ui/p-1b0b0f2d.js +1 -0
  946. package/dist/realtimekit-ui/p-1be4070c.entry.js +1 -0
  947. package/dist/realtimekit-ui/p-1fac5c7d.entry.js +1 -0
  948. package/dist/realtimekit-ui/p-24905c85.entry.js +1 -0
  949. package/dist/realtimekit-ui/p-2573cda1.entry.js +1 -0
  950. package/dist/realtimekit-ui/p-2738468d.entry.js +1 -0
  951. package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
  952. package/dist/realtimekit-ui/p-31964573.js +1 -0
  953. package/dist/realtimekit-ui/p-31cb9664.entry.js +1 -0
  954. package/dist/realtimekit-ui/p-3207575b.entry.js +1 -0
  955. package/dist/realtimekit-ui/p-338c7261.js +1 -0
  956. package/dist/realtimekit-ui/p-36990601.entry.js +1 -0
  957. package/dist/realtimekit-ui/p-3cf531c1.js +1 -0
  958. package/dist/realtimekit-ui/p-3e83ff84.js +1 -0
  959. package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
  960. package/dist/realtimekit-ui/p-46923b34.js +1 -0
  961. package/dist/realtimekit-ui/p-46c3367c.entry.js +1 -0
  962. package/dist/realtimekit-ui/p-46ea4a0d.entry.js +1 -0
  963. package/dist/realtimekit-ui/p-4caa353f.entry.js +1 -0
  964. package/dist/realtimekit-ui/p-533ce032.entry.js +1 -0
  965. package/dist/realtimekit-ui/p-533ecbf2.js +2 -0
  966. package/dist/realtimekit-ui/p-5359c5bf.entry.js +1 -0
  967. package/dist/realtimekit-ui/p-551b32ce.entry.js +1 -0
  968. package/dist/realtimekit-ui/p-5605a420.js +1 -0
  969. package/dist/realtimekit-ui/p-59f22e0a.entry.js +1 -0
  970. package/dist/realtimekit-ui/p-5a7d71b0.entry.js +1 -0
  971. package/dist/realtimekit-ui/p-5da1339e.entry.js +1 -0
  972. package/dist/realtimekit-ui/p-61f4443f.entry.js +1 -0
  973. package/dist/realtimekit-ui/p-63fabdb8.entry.js +1 -0
  974. package/dist/realtimekit-ui/p-646b89d6.entry.js +1 -0
  975. package/dist/realtimekit-ui/p-6481cc88.entry.js +1 -0
  976. package/dist/realtimekit-ui/p-6964a8f6.entry.js +1 -0
  977. package/dist/realtimekit-ui/p-6a4fb57a.entry.js +1 -0
  978. package/dist/realtimekit-ui/p-6ad690e8.entry.js +1 -0
  979. package/dist/realtimekit-ui/p-6b50f9b5.entry.js +1 -0
  980. package/dist/realtimekit-ui/p-6c894b6b.entry.js +1 -0
  981. package/dist/realtimekit-ui/p-6e0f9e5d.entry.js +1 -0
  982. package/dist/realtimekit-ui/p-701e8cc1.entry.js +1 -0
  983. package/dist/realtimekit-ui/p-7895b888.entry.js +1 -0
  984. package/dist/realtimekit-ui/p-7d970fe1.entry.js +1 -0
  985. package/dist/realtimekit-ui/p-7edbcd5e.entry.js +1 -0
  986. package/dist/realtimekit-ui/p-8d04a9a1.entry.js +1 -0
  987. package/dist/realtimekit-ui/p-8edd80c2.entry.js +1 -0
  988. package/dist/realtimekit-ui/p-93f69d20.entry.js +1 -0
  989. package/dist/realtimekit-ui/p-96be234f.js +1 -0
  990. package/dist/realtimekit-ui/p-997830fd.entry.js +1 -0
  991. package/dist/realtimekit-ui/p-9c378706.entry.js +1 -0
  992. package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
  993. package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
  994. package/dist/realtimekit-ui/p-a268fabd.entry.js +1 -0
  995. package/dist/realtimekit-ui/p-a467c711.entry.js +1 -0
  996. package/dist/realtimekit-ui/p-a7ec3e7f.js +1 -0
  997. package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
  998. package/dist/realtimekit-ui/p-b2ad78a0.entry.js +1 -0
  999. package/dist/realtimekit-ui/p-b7183272.entry.js +1 -0
  1000. package/dist/realtimekit-ui/p-b8ea8298.entry.js +1 -0
  1001. package/dist/realtimekit-ui/p-bac4d3cc.entry.js +1 -0
  1002. package/dist/realtimekit-ui/p-badcfa98.entry.js +1 -0
  1003. package/dist/realtimekit-ui/p-bfe04e6b.entry.js +1 -0
  1004. package/dist/realtimekit-ui/p-c15d924f.js +1 -0
  1005. package/dist/realtimekit-ui/p-c1c88e62.entry.js +1 -0
  1006. package/dist/realtimekit-ui/p-c5aabfb2.entry.js +1 -0
  1007. package/dist/realtimekit-ui/p-c9474ab6.entry.js +1 -0
  1008. package/dist/realtimekit-ui/p-ca1a26a8.entry.js +1 -0
  1009. package/dist/realtimekit-ui/p-cadc29e0.entry.js +1 -0
  1010. package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
  1011. package/dist/realtimekit-ui/p-cc0c49b8.entry.js +1 -0
  1012. package/dist/realtimekit-ui/p-cdb45819.entry.js +1 -0
  1013. package/dist/realtimekit-ui/p-d4ad4027.entry.js +1 -0
  1014. package/dist/realtimekit-ui/p-d7509ae5.entry.js +1 -0
  1015. package/dist/realtimekit-ui/p-d9a0b571.entry.js +1 -0
  1016. package/dist/realtimekit-ui/p-db9371e5.js +1 -0
  1017. package/dist/realtimekit-ui/p-e05e4c26.entry.js +1 -0
  1018. package/dist/realtimekit-ui/p-e1255160.js +1 -0
  1019. package/dist/realtimekit-ui/p-e1b5df5c.entry.js +1 -0
  1020. package/dist/realtimekit-ui/p-e4686e58.entry.js +1 -0
  1021. package/dist/realtimekit-ui/p-e9a4f3d2.entry.js +1 -0
  1022. package/dist/realtimekit-ui/p-eb3c426f.entry.js +1 -0
  1023. package/dist/realtimekit-ui/p-f0d98e40.entry.js +1 -0
  1024. package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
  1025. package/dist/realtimekit-ui/p-faf1d40a.js +1 -0
  1026. package/dist/realtimekit-ui/p-fb2ddda7.entry.js +1 -0
  1027. package/dist/realtimekit-ui/p-fdad06d2.entry.js +1 -0
  1028. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -0
  1029. package/dist/types/components/rtk-ai/rtk-ai.d.ts +31 -0
  1030. package/dist/types/components/rtk-ai-toggle/rtk-ai-toggle.d.ts +26 -0
  1031. package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +26 -0
  1032. package/dist/types/components/rtk-audio-grid/rtk-audio-grid.d.ts +29 -0
  1033. package/dist/types/components/rtk-audio-tile/rtk-audio-tile.d.ts +33 -0
  1034. package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +42 -0
  1035. package/dist/types/components/rtk-avatar/rtk-avatar.d.ts +26 -0
  1036. package/dist/types/components/rtk-breakout-room-manager/rtk-breakout-room-manager.d.ts +70 -0
  1037. package/dist/types/components/rtk-breakout-room-participants/rtk-breakout-room-participants.d.ts +46 -0
  1038. package/dist/types/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.d.ts +34 -0
  1039. package/dist/types/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.d.ts +82 -0
  1040. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +26 -0
  1041. package/dist/types/components/rtk-button/rtk-button.d.ts +25 -0
  1042. package/dist/types/components/rtk-camera-selector/rtk-camera-selector.d.ts +40 -0
  1043. package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +39 -0
  1044. package/dist/types/components/rtk-caption-toggle/rtk-caption-toggle.d.ts +30 -0
  1045. package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +34 -0
  1046. package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +15 -0
  1047. package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +31 -0
  1048. package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +32 -0
  1049. package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +62 -0
  1050. package/dist/types/components/rtk-chat/components/ChatHead.d.ts +8 -0
  1051. package/dist/types/components/rtk-chat/rtk-chat.d.ts +122 -0
  1052. package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +84 -0
  1053. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +73 -0
  1054. package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +67 -0
  1055. package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +46 -0
  1056. package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +61 -0
  1057. package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +18 -0
  1058. package/dist/types/components/rtk-chat-selector-ui/rtk-chat-selector-ui.d.ts +29 -0
  1059. package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +48 -0
  1060. package/dist/types/components/rtk-clock/rtk-clock.d.ts +23 -0
  1061. package/dist/types/components/rtk-confirmation-modal/rtk-confirmation-modal.d.ts +27 -0
  1062. package/dist/types/components/rtk-controlbar/rtk-controlbar.d.ts +28 -0
  1063. package/dist/types/components/rtk-controlbar-button/rtk-controlbar-button.d.ts +30 -0
  1064. package/dist/types/components/rtk-counter/rtk-counter.d.ts +27 -0
  1065. package/dist/types/components/rtk-debugger/rtk-debugger.d.ts +34 -0
  1066. package/dist/types/components/rtk-debugger-audio/rtk-debugger-audio.d.ts +36 -0
  1067. package/dist/types/components/rtk-debugger-screenshare/rtk-debugger-screenshare.d.ts +38 -0
  1068. package/dist/types/components/rtk-debugger-system/rtk-debugger-system.d.ts +40 -0
  1069. package/dist/types/components/rtk-debugger-toggle/rtk-debugger-toggle.d.ts +24 -0
  1070. package/dist/types/components/rtk-debugger-video/rtk-debugger-video.d.ts +36 -0
  1071. package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +36 -0
  1072. package/dist/types/components/rtk-dialog-manager/rtk-dialog-manager.d.ts +41 -0
  1073. package/dist/types/components/rtk-draft-attachment-view/rtk-draft-attachment-view.d.ts +26 -0
  1074. package/dist/types/components/rtk-emoji-picker/rtk-emoji-picker.d.ts +32 -0
  1075. package/dist/types/components/rtk-emoji-picker-button/rtk-emoji-picker-button.d.ts +10 -0
  1076. package/dist/types/components/rtk-ended-screen/rtk-ended-screen.d.ts +30 -0
  1077. package/dist/types/components/rtk-file-dropzone/rtk-file-dropzone.d.ts +15 -0
  1078. package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +21 -0
  1079. package/dist/types/components/rtk-file-message-view/rtk-file-message-view.d.ts +15 -0
  1080. package/dist/types/components/rtk-file-picker-button/rtk-file-picker-button.d.ts +21 -0
  1081. package/dist/types/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.d.ts +32 -0
  1082. package/dist/types/components/rtk-grid/rtk-grid.d.ts +83 -0
  1083. package/dist/types/components/rtk-grid-pagination/rtk-grid-pagination.d.ts +40 -0
  1084. package/dist/types/components/rtk-header/rtk-header.d.ts +28 -0
  1085. package/dist/types/components/rtk-icon/rtk-icon.d.ts +14 -0
  1086. package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +19 -0
  1087. package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +26 -0
  1088. package/dist/types/components/rtk-image-message-view/rtk-image-message-view.d.ts +17 -0
  1089. package/dist/types/components/rtk-image-viewer/rtk-image-viewer.d.ts +25 -0
  1090. package/dist/types/components/rtk-information-tooltip/rtk-information-tooltip.d.ts +6 -0
  1091. package/dist/types/components/rtk-join-stage/rtk-join-stage.d.ts +38 -0
  1092. package/dist/types/components/rtk-leave-button/rtk-leave-button.d.ts +22 -0
  1093. package/dist/types/components/rtk-leave-meeting/rtk-leave-meeting.d.ts +35 -0
  1094. package/dist/types/components/rtk-livestream-indicator/rtk-livestream-indicator.d.ts +18 -0
  1095. package/dist/types/components/rtk-livestream-player/rtk-livestream-player.d.ts +60 -0
  1096. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +40 -0
  1097. package/dist/types/components/rtk-logo/rtk-logo.d.ts +20 -0
  1098. package/dist/types/components/rtk-markdown-view/rtk-markdown-view.d.ts +15 -0
  1099. package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +59 -0
  1100. package/dist/types/components/rtk-meeting-title/rtk-meeting-title.d.ts +15 -0
  1101. package/dist/types/components/rtk-menu/rtk-menu.d.ts +30 -0
  1102. package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +19 -0
  1103. package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +14 -0
  1104. package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +62 -0
  1105. package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +33 -0
  1106. package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +39 -0
  1107. package/dist/types/components/rtk-microphone-selector/rtk-microphone-selector.d.ts +42 -0
  1108. package/dist/types/components/rtk-mixed-grid/rtk-mixed-grid.d.ts +61 -0
  1109. package/dist/types/components/rtk-more-toggle/rtk-more-toggle.d.ts +32 -0
  1110. package/dist/types/components/rtk-mute-all-button/rtk-mute-all-button.d.ts +26 -0
  1111. package/dist/types/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.d.ts +21 -0
  1112. package/dist/types/components/rtk-name-tag/rtk-name-tag.d.ts +28 -0
  1113. package/dist/types/components/rtk-network-indicator/rtk-network-indicator.d.ts +20 -0
  1114. package/dist/types/components/rtk-notification/rtk-notification.d.ts +26 -0
  1115. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +68 -0
  1116. package/dist/types/components/rtk-overlay-modal/rtk-overlay-modal.d.ts +22 -0
  1117. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +91 -0
  1118. package/dist/types/components/rtk-participant/rtk-participant.d.ts +62 -0
  1119. package/dist/types/components/rtk-participant-count/rtk-participant-count.d.ts +26 -0
  1120. package/dist/types/components/rtk-participant-setup/rtk-participant-setup.d.ts +37 -0
  1121. package/dist/types/components/rtk-participant-tile/rtk-participant-tile.d.ts +55 -0
  1122. package/dist/types/components/rtk-participants/rtk-participants.d.ts +48 -0
  1123. package/dist/types/components/rtk-participants-audio/rtk-participants-audio.d.ts +34 -0
  1124. package/dist/types/components/rtk-participants-stage-list/rtk-participants-stage-list.d.ts +42 -0
  1125. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +29 -0
  1126. package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +47 -0
  1127. package/dist/types/components/rtk-participants-viewer-list/rtk-participants-viewer-list.d.ts +33 -0
  1128. package/dist/types/components/rtk-participants-waiting-list/rtk-participants-waiting-list.d.ts +29 -0
  1129. package/dist/types/components/rtk-permissions-message/rtk-permissions-message.d.ts +40 -0
  1130. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +28 -0
  1131. package/dist/types/components/rtk-plugin-main/rtk-plugin-main.d.ts +28 -0
  1132. package/dist/types/components/rtk-plugins/rtk-plugins.d.ts +35 -0
  1133. package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +40 -0
  1134. package/dist/types/components/rtk-poll/rtk-poll.d.ts +30 -0
  1135. package/dist/types/components/rtk-poll-form/rtk-poll-form.d.ts +30 -0
  1136. package/dist/types/components/rtk-polls/rtk-polls.d.ts +38 -0
  1137. package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +44 -0
  1138. package/dist/types/components/rtk-recording-indicator/rtk-recording-indicator.d.ts +26 -0
  1139. package/dist/types/components/rtk-recording-toggle/rtk-recording-toggle.d.ts +47 -0
  1140. package/dist/types/components/rtk-screen-share-toggle/rtk-screen-share-toggle.d.ts +67 -0
  1141. package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +52 -0
  1142. package/dist/types/components/rtk-settings/rtk-settings.d.ts +38 -0
  1143. package/dist/types/components/rtk-settings-audio/rtk-settings-audio.d.ts +32 -0
  1144. package/dist/types/components/rtk-settings-toggle/rtk-settings-toggle.d.ts +30 -0
  1145. package/dist/types/components/rtk-settings-video/rtk-settings-video.d.ts +37 -0
  1146. package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +40 -0
  1147. package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +50 -0
  1148. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +112 -0
  1149. package/dist/types/components/rtk-simple-grid/rtk-simple-grid.d.ts +43 -0
  1150. package/dist/types/components/rtk-speaker-selector/rtk-speaker-selector.d.ts +44 -0
  1151. package/dist/types/components/rtk-spinner/rtk-spinner.d.ts +12 -0
  1152. package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +47 -0
  1153. package/dist/types/components/rtk-spotlight-indicator/rtk-spotlight-indicator.d.ts +22 -0
  1154. package/dist/types/components/rtk-stage/rtk-stage.d.ts +19 -0
  1155. package/dist/types/components/rtk-stage-toggle/rtk-stage-toggle.d.ts +36 -0
  1156. package/dist/types/components/rtk-switch/rtk-switch.d.ts +25 -0
  1157. package/dist/types/components/rtk-tab-bar/rtk-tab-bar.d.ts +37 -0
  1158. package/dist/types/components/rtk-text-composer-view/rtk-text-composer-view.d.ts +34 -0
  1159. package/dist/types/components/rtk-text-message/components/TextMessage.d.ts +6 -0
  1160. package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +21 -0
  1161. package/dist/types/components/rtk-text-message-view/rtk-text-message-view.d.ts +10 -0
  1162. package/dist/types/components/rtk-tooltip/rtk-tooltip.d.ts +42 -0
  1163. package/dist/types/components/rtk-transcript/rtk-transcript.d.ts +30 -0
  1164. package/dist/types/components/rtk-transcripts/rtk-transcripts.d.ts +39 -0
  1165. package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +45 -0
  1166. package/dist/types/components/rtk-viewer-count/rtk-viewer-count.d.ts +24 -0
  1167. package/dist/types/components/rtk-virtualized-list/rtk-virtualized-participant-list.d.ts +30 -0
  1168. package/dist/types/components/rtk-waiting-screen/rtk-waiting-screen.d.ts +15 -0
  1169. package/dist/types/components.d.ts +11528 -0
  1170. package/dist/types/exports.d.ts +20 -0
  1171. package/dist/types/globals.d.ts +15 -0
  1172. package/dist/types/index.d.ts +2 -0
  1173. package/dist/types/lib/addons/index.d.ts +27 -0
  1174. package/dist/types/lib/audio.d.ts +17 -0
  1175. package/dist/types/lib/builder/index.d.ts +42 -0
  1176. package/dist/types/lib/default-ui-config.d.ts +5 -0
  1177. package/dist/types/lib/grid.d.ts +43 -0
  1178. package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
  1179. package/dist/types/lib/icons/index.d.ts +9 -0
  1180. package/dist/types/lib/lang/default-language.d.ts +415 -0
  1181. package/dist/types/lib/lang/index.d.ts +16 -0
  1182. package/dist/types/lib/notification.d.ts +19 -0
  1183. package/dist/types/lib/render/index.d.ts +45 -0
  1184. package/dist/types/lib/render/utils.d.ts +31 -0
  1185. package/dist/types/lib/visualizer.d.ts +6 -0
  1186. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  1187. package/dist/types/theme/presets/border.d.ts +13 -0
  1188. package/dist/types/theme/presets/themes.d.ts +2 -0
  1189. package/dist/types/types/floating-ui.d.ts +1 -0
  1190. package/dist/types/types/props.d.ts +175 -0
  1191. package/dist/types/types/rtk-ai.d.ts +9 -0
  1192. package/dist/types/types/rtk-client.d.ts +16 -0
  1193. package/dist/types/types/ui-config/config.d.ts +25 -0
  1194. package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
  1195. package/dist/types/types/ui-config/index.d.ts +15 -0
  1196. package/dist/types/types/ui-config/root.d.ts +23 -0
  1197. package/dist/types/types/web-core.d.ts +9 -0
  1198. package/dist/types/utils/assets.d.ts +6 -0
  1199. package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
  1200. package/dist/types/utils/breakout-rooms.d.ts +24 -0
  1201. package/dist/types/utils/chat.d.ts +49 -0
  1202. package/dist/types/utils/clone.d.ts +1 -0
  1203. package/dist/types/utils/color.d.ts +69 -0
  1204. package/dist/types/utils/config.d.ts +28 -0
  1205. package/dist/types/utils/date.d.ts +3 -0
  1206. package/dist/types/utils/debugger-utils.d.ts +40 -0
  1207. package/dist/types/utils/file.d.ts +23 -0
  1208. package/dist/types/utils/full-screen.d.ts +4 -0
  1209. package/dist/types/utils/graceful-storage.d.ts +2 -0
  1210. package/dist/types/utils/logger.d.ts +1 -0
  1211. package/dist/types/utils/notification.d.ts +9 -0
  1212. package/dist/types/utils/provide-design-system.d.ts +7 -0
  1213. package/dist/types/utils/scroll.d.ts +7 -0
  1214. package/dist/types/utils/sidebar.d.ts +5 -0
  1215. package/dist/types/utils/size.d.ts +7 -0
  1216. package/dist/types/utils/stage.d.ts +3 -0
  1217. package/dist/types/utils/string.d.ts +24 -0
  1218. package/dist/types/utils/sync-with-store/index.d.ts +3 -0
  1219. package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
  1220. package/dist/types/utils/time.d.ts +1 -0
  1221. package/dist/types/utils/troubleshooter.d.ts +151 -0
  1222. package/dist/types/utils/user-prefs.d.ts +7 -0
  1223. package/loader/cdn.js +1 -0
  1224. package/loader/index.cjs.js +1 -0
  1225. package/loader/index.d.ts +24 -0
  1226. package/loader/index.es2017.js +1 -0
  1227. package/loader/index.js +2 -0
  1228. package/loader/package.json +11 -0
  1229. package/package.json +58 -3
@@ -0,0 +1,2155 @@
1
+ const NAMESPACE = 'realtimekit-ui';
2
+ const BUILD = /* realtimekit-ui */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
+
4
+ /*
5
+ Stencil Client Platform v4.27.2 | 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/client/client-host-ref.ts
14
+ var getHostRef = (ref) => {
15
+ if (ref.__stencil__getHostRef) {
16
+ return ref.__stencil__getHostRef();
17
+ }
18
+ return void 0;
19
+ };
20
+ var registerInstance = (lazyInstance, hostRef) => {
21
+ lazyInstance.__stencil__getHostRef = () => hostRef;
22
+ hostRef.$lazyInstance$ = lazyInstance;
23
+ };
24
+ var registerHost = (hostElement, cmpMeta) => {
25
+ const hostRef = {
26
+ $flags$: 0,
27
+ $hostElement$: hostElement,
28
+ $cmpMeta$: cmpMeta,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ {
32
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
33
+ }
34
+ {
35
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
36
+ hostElement["s-p"] = [];
37
+ hostElement["s-rc"] = [];
38
+ }
39
+ const ref = hostRef;
40
+ hostElement.__stencil__getHostRef = () => ref;
41
+ return ref;
42
+ };
43
+ var isMemberInElement = (elm, memberName) => memberName in elm;
44
+ var consoleError = (e, el) => (0, console.error)(e, el);
45
+
46
+ // src/client/client-load-module.ts
47
+ var cmpModules = /* @__PURE__ */ new Map();
48
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
49
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
50
+ const bundleId = cmpMeta.$lazyBundleId$;
51
+ if (!bundleId) {
52
+ return void 0;
53
+ }
54
+ const module = cmpModules.get(bundleId) ;
55
+ if (module) {
56
+ return module[exportName];
57
+ }
58
+
59
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
60
+ const processMod = importedModule => {
61
+ cmpModules.set(bundleId, importedModule);
62
+ return importedModule[exportName];
63
+ }
64
+ switch(bundleId) {
65
+
66
+ case 'rtk-avatar_54':
67
+ return import(
68
+ /* webpackMode: "lazy" */
69
+ './rtk-avatar_54.entry.js').then(processMod, consoleError);
70
+ case 'rtk-ai':
71
+ return import(
72
+ /* webpackMode: "lazy" */
73
+ './rtk-ai.entry.js').then(processMod, consoleError);
74
+ case 'rtk-ai-toggle':
75
+ return import(
76
+ /* webpackMode: "lazy" */
77
+ './rtk-ai-toggle.entry.js').then(processMod, consoleError);
78
+ case 'rtk-audio-grid':
79
+ return import(
80
+ /* webpackMode: "lazy" */
81
+ './rtk-audio-grid.entry.js').then(processMod, consoleError);
82
+ case 'rtk-audio-tile':
83
+ return import(
84
+ /* webpackMode: "lazy" */
85
+ './rtk-audio-tile.entry.js').then(processMod, consoleError);
86
+ case 'rtk-breakout-rooms-toggle':
87
+ return import(
88
+ /* webpackMode: "lazy" */
89
+ './rtk-breakout-rooms-toggle.entry.js').then(processMod, consoleError);
90
+ case 'rtk-camera-toggle':
91
+ return import(
92
+ /* webpackMode: "lazy" */
93
+ './rtk-camera-toggle.entry.js').then(processMod, consoleError);
94
+ case 'rtk-caption-toggle':
95
+ return import(
96
+ /* webpackMode: "lazy" */
97
+ './rtk-caption-toggle.entry.js').then(processMod, consoleError);
98
+ case 'rtk-channel-selector-ui':
99
+ return import(
100
+ /* webpackMode: "lazy" */
101
+ './rtk-channel-selector-ui.entry.js').then(processMod, consoleError);
102
+ case 'rtk-chat-composer-ui':
103
+ return import(
104
+ /* webpackMode: "lazy" */
105
+ './rtk-chat-composer-ui.entry.js').then(processMod, consoleError);
106
+ case 'rtk-chat-selector-ui':
107
+ return import(
108
+ /* webpackMode: "lazy" */
109
+ './rtk-chat-selector-ui.entry.js').then(processMod, consoleError);
110
+ case 'rtk-chat-toggle':
111
+ return import(
112
+ /* webpackMode: "lazy" */
113
+ './rtk-chat-toggle.entry.js').then(processMod, consoleError);
114
+ case 'rtk-clock':
115
+ return import(
116
+ /* webpackMode: "lazy" */
117
+ './rtk-clock.entry.js').then(processMod, consoleError);
118
+ case 'rtk-controlbar':
119
+ return import(
120
+ /* webpackMode: "lazy" */
121
+ './rtk-controlbar.entry.js').then(processMod, consoleError);
122
+ case 'rtk-debugger-toggle':
123
+ return import(
124
+ /* webpackMode: "lazy" */
125
+ './rtk-debugger-toggle.entry.js').then(processMod, consoleError);
126
+ case 'rtk-ended-screen':
127
+ return import(
128
+ /* webpackMode: "lazy" */
129
+ './rtk-ended-screen.entry.js').then(processMod, consoleError);
130
+ case 'rtk-file-dropzone':
131
+ return import(
132
+ /* webpackMode: "lazy" */
133
+ './rtk-file-dropzone.entry.js').then(processMod, consoleError);
134
+ case 'rtk-grid':
135
+ return import(
136
+ /* webpackMode: "lazy" */
137
+ './rtk-grid.entry.js').then(processMod, consoleError);
138
+ case 'rtk-grid-pagination':
139
+ return import(
140
+ /* webpackMode: "lazy" */
141
+ './rtk-grid-pagination.entry.js').then(processMod, consoleError);
142
+ case 'rtk-header':
143
+ return import(
144
+ /* webpackMode: "lazy" */
145
+ './rtk-header.entry.js').then(processMod, consoleError);
146
+ case 'rtk-idle-screen':
147
+ return import(
148
+ /* webpackMode: "lazy" */
149
+ './rtk-idle-screen.entry.js').then(processMod, consoleError);
150
+ case 'rtk-image-viewer':
151
+ return import(
152
+ /* webpackMode: "lazy" */
153
+ './rtk-image-viewer.entry.js').then(processMod, consoleError);
154
+ case 'rtk-information-tooltip':
155
+ return import(
156
+ /* webpackMode: "lazy" */
157
+ './rtk-information-tooltip.entry.js').then(processMod, consoleError);
158
+ case 'rtk-leave-button':
159
+ return import(
160
+ /* webpackMode: "lazy" */
161
+ './rtk-leave-button.entry.js').then(processMod, consoleError);
162
+ case 'rtk-livestream-toggle':
163
+ return import(
164
+ /* webpackMode: "lazy" */
165
+ './rtk-livestream-toggle.entry.js').then(processMod, consoleError);
166
+ case 'rtk-meeting-title':
167
+ return import(
168
+ /* webpackMode: "lazy" */
169
+ './rtk-meeting-title.entry.js').then(processMod, consoleError);
170
+ case 'rtk-message-list-view':
171
+ return import(
172
+ /* webpackMode: "lazy" */
173
+ './rtk-message-list-view.entry.js').then(processMod, consoleError);
174
+ case 'rtk-mic-toggle':
175
+ return import(
176
+ /* webpackMode: "lazy" */
177
+ './rtk-mic-toggle.entry.js').then(processMod, consoleError);
178
+ case 'rtk-mixed-grid':
179
+ return import(
180
+ /* webpackMode: "lazy" */
181
+ './rtk-mixed-grid.entry.js').then(processMod, consoleError);
182
+ case 'rtk-more-toggle':
183
+ return import(
184
+ /* webpackMode: "lazy" */
185
+ './rtk-more-toggle.entry.js').then(processMod, consoleError);
186
+ case 'rtk-mute-all-button':
187
+ return import(
188
+ /* webpackMode: "lazy" */
189
+ './rtk-mute-all-button.entry.js').then(processMod, consoleError);
190
+ case 'rtk-network-indicator':
191
+ return import(
192
+ /* webpackMode: "lazy" */
193
+ './rtk-network-indicator.entry.js').then(processMod, consoleError);
194
+ case 'rtk-participant-count':
195
+ return import(
196
+ /* webpackMode: "lazy" */
197
+ './rtk-participant-count.entry.js').then(processMod, consoleError);
198
+ case 'rtk-participant-setup':
199
+ return import(
200
+ /* webpackMode: "lazy" */
201
+ './rtk-participant-setup.entry.js').then(processMod, consoleError);
202
+ case 'rtk-participants':
203
+ return import(
204
+ /* webpackMode: "lazy" */
205
+ './rtk-participants.entry.js').then(processMod, consoleError);
206
+ case 'rtk-participants-audio':
207
+ return import(
208
+ /* webpackMode: "lazy" */
209
+ './rtk-participants-audio.entry.js').then(processMod, consoleError);
210
+ case 'rtk-participants-toggle':
211
+ return import(
212
+ /* webpackMode: "lazy" */
213
+ './rtk-participants-toggle.entry.js').then(processMod, consoleError);
214
+ case 'rtk-pip-toggle':
215
+ return import(
216
+ /* webpackMode: "lazy" */
217
+ './rtk-pip-toggle.entry.js').then(processMod, consoleError);
218
+ case 'rtk-plugins-toggle':
219
+ return import(
220
+ /* webpackMode: "lazy" */
221
+ './rtk-plugins-toggle.entry.js').then(processMod, consoleError);
222
+ case 'rtk-polls-toggle':
223
+ return import(
224
+ /* webpackMode: "lazy" */
225
+ './rtk-polls-toggle.entry.js').then(processMod, consoleError);
226
+ case 'rtk-recording-indicator':
227
+ return import(
228
+ /* webpackMode: "lazy" */
229
+ './rtk-recording-indicator.entry.js').then(processMod, consoleError);
230
+ case 'rtk-recording-toggle':
231
+ return import(
232
+ /* webpackMode: "lazy" */
233
+ './rtk-recording-toggle.entry.js').then(processMod, consoleError);
234
+ case 'rtk-screen-share-toggle':
235
+ return import(
236
+ /* webpackMode: "lazy" */
237
+ './rtk-screen-share-toggle.entry.js').then(processMod, consoleError);
238
+ case 'rtk-screenshare-view':
239
+ return import(
240
+ /* webpackMode: "lazy" */
241
+ './rtk-screenshare-view.entry.js').then(processMod, consoleError);
242
+ case 'rtk-settings':
243
+ return import(
244
+ /* webpackMode: "lazy" */
245
+ './rtk-settings.entry.js').then(processMod, consoleError);
246
+ case 'rtk-settings-toggle':
247
+ return import(
248
+ /* webpackMode: "lazy" */
249
+ './rtk-settings-toggle.entry.js').then(processMod, consoleError);
250
+ case 'rtk-setup-screen':
251
+ return import(
252
+ /* webpackMode: "lazy" */
253
+ './rtk-setup-screen.entry.js').then(processMod, consoleError);
254
+ case 'rtk-sidebar':
255
+ return import(
256
+ /* webpackMode: "lazy" */
257
+ './rtk-sidebar.entry.js').then(processMod, consoleError);
258
+ case 'rtk-simple-grid':
259
+ return import(
260
+ /* webpackMode: "lazy" */
261
+ './rtk-simple-grid.entry.js').then(processMod, consoleError);
262
+ case 'rtk-spotlight-grid':
263
+ return import(
264
+ /* webpackMode: "lazy" */
265
+ './rtk-spotlight-grid.entry.js').then(processMod, consoleError);
266
+ case 'rtk-stage':
267
+ return import(
268
+ /* webpackMode: "lazy" */
269
+ './rtk-stage.entry.js').then(processMod, consoleError);
270
+ case 'rtk-stage-toggle':
271
+ return import(
272
+ /* webpackMode: "lazy" */
273
+ './rtk-stage-toggle.entry.js').then(processMod, consoleError);
274
+ case 'rtk-transcripts':
275
+ return import(
276
+ /* webpackMode: "lazy" */
277
+ './rtk-transcripts.entry.js').then(processMod, consoleError);
278
+ case 'rtk-ui-provider':
279
+ return import(
280
+ /* webpackMode: "lazy" */
281
+ './rtk-ui-provider.entry.js').then(processMod, consoleError);
282
+ case 'rtk-waiting-screen':
283
+ return import(
284
+ /* webpackMode: "lazy" */
285
+ './rtk-waiting-screen.entry.js').then(processMod, consoleError);
286
+ case 'rtk-ai-transcriptions':
287
+ return import(
288
+ /* webpackMode: "lazy" */
289
+ './rtk-ai-transcriptions.entry.js').then(processMod, consoleError);
290
+ case 'rtk-livestream-indicator_3':
291
+ return import(
292
+ /* webpackMode: "lazy" */
293
+ './rtk-livestream-indicator_3.entry.js').then(processMod, consoleError);
294
+ case 'rtk-name-tag':
295
+ return import(
296
+ /* webpackMode: "lazy" */
297
+ './rtk-name-tag.entry.js').then(processMod, consoleError);
298
+ case 'rtk-participants-stage-list_4':
299
+ return import(
300
+ /* webpackMode: "lazy" */
301
+ './rtk-participants-stage-list_4.entry.js').then(processMod, consoleError);
302
+ case 'rtk-plugin-main_2':
303
+ return import(
304
+ /* webpackMode: "lazy" */
305
+ './rtk-plugin-main_2.entry.js').then(processMod, consoleError);
306
+ case 'rtk-plugins_2':
307
+ return import(
308
+ /* webpackMode: "lazy" */
309
+ './rtk-plugins_2.entry.js').then(processMod, consoleError);
310
+ case 'rtk-settings-audio_2':
311
+ return import(
312
+ /* webpackMode: "lazy" */
313
+ './rtk-settings-audio_2.entry.js').then(processMod, consoleError);
314
+ case 'rtk-transcript':
315
+ return import(
316
+ /* webpackMode: "lazy" */
317
+ './rtk-transcript.entry.js').then(processMod, consoleError);
318
+ case 'rtk-audio-visualizer_4':
319
+ return import(
320
+ /* webpackMode: "lazy" */
321
+ './rtk-audio-visualizer_4.entry.js').then(processMod, consoleError);
322
+ case 'rtk-fullscreen-toggle':
323
+ return import(
324
+ /* webpackMode: "lazy" */
325
+ './rtk-fullscreen-toggle.entry.js').then(processMod, consoleError);
326
+ case 'rtk-participant_2':
327
+ return import(
328
+ /* webpackMode: "lazy" */
329
+ './rtk-participant_2.entry.js').then(processMod, consoleError);
330
+ case 'rtk-camera-selector_2':
331
+ return import(
332
+ /* webpackMode: "lazy" */
333
+ './rtk-camera-selector_2.entry.js').then(processMod, consoleError);
334
+ case 'rtk-poll_2':
335
+ return import(
336
+ /* webpackMode: "lazy" */
337
+ './rtk-poll_2.entry.js').then(processMod, consoleError);
338
+ case 'rtk-sidebar-ui':
339
+ return import(
340
+ /* webpackMode: "lazy" */
341
+ './rtk-sidebar-ui.entry.js').then(processMod, consoleError);
342
+ case 'rtk-spotlight-indicator':
343
+ return import(
344
+ /* webpackMode: "lazy" */
345
+ './rtk-spotlight-indicator.entry.js').then(processMod, consoleError);
346
+ case 'rtk-controlbar-button':
347
+ return import(
348
+ /* webpackMode: "lazy" */
349
+ './rtk-controlbar-button.entry.js').then(processMod, consoleError);
350
+ }
351
+ }
352
+ return import(
353
+ /* @vite-ignore */
354
+ /* webpackInclude: /\.entry\.js$/ */
355
+ /* webpackExclude: /\.system\.entry\.js$/ */
356
+ /* webpackMode: "lazy" */
357
+ `./${bundleId}.entry.js${""}`
358
+ ).then(
359
+ (importedModule) => {
360
+ {
361
+ cmpModules.set(bundleId, importedModule);
362
+ }
363
+ return importedModule[exportName];
364
+ },
365
+ (e) => {
366
+ consoleError(e, hostRef.$hostElement$);
367
+ }
368
+ );
369
+ };
370
+
371
+ // src/client/client-style.ts
372
+ var styles = /* @__PURE__ */ new Map();
373
+ var HYDRATED_STYLE_ID = "sty-id";
374
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
375
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
376
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
377
+ var win = typeof window !== "undefined" ? window : {};
378
+ var plt = {
379
+ $flags$: 0,
380
+ $resourcesUrl$: "",
381
+ jmp: (h2) => h2(),
382
+ raf: (h2) => requestAnimationFrame(h2),
383
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
384
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
385
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
386
+ };
387
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
388
+ var _a;
389
+ let supportsListenerOptions2 = false;
390
+ try {
391
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
392
+ "e",
393
+ null,
394
+ Object.defineProperty({}, "passive", {
395
+ get() {
396
+ supportsListenerOptions2 = true;
397
+ }
398
+ })
399
+ );
400
+ } catch (e) {
401
+ }
402
+ return supportsListenerOptions2;
403
+ })();
404
+ var promiseResolve = (v) => Promise.resolve(v);
405
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
406
+ try {
407
+ new CSSStyleSheet();
408
+ return typeof new CSSStyleSheet().replaceSync === "function";
409
+ } catch (e) {
410
+ }
411
+ return false;
412
+ })() ;
413
+ var queuePending = false;
414
+ var queueDomReads = [];
415
+ var queueDomWrites = [];
416
+ var queueTask = (queue, write) => (cb) => {
417
+ queue.push(cb);
418
+ if (!queuePending) {
419
+ queuePending = true;
420
+ if (write && plt.$flags$ & 4 /* queueSync */) {
421
+ nextTick(flush);
422
+ } else {
423
+ plt.raf(flush);
424
+ }
425
+ }
426
+ };
427
+ var consume = (queue) => {
428
+ for (let i2 = 0; i2 < queue.length; i2++) {
429
+ try {
430
+ queue[i2](performance.now());
431
+ } catch (e) {
432
+ consoleError(e);
433
+ }
434
+ }
435
+ queue.length = 0;
436
+ };
437
+ var flush = () => {
438
+ consume(queueDomReads);
439
+ {
440
+ consume(queueDomWrites);
441
+ if (queuePending = queueDomReads.length > 0) {
442
+ plt.raf(flush);
443
+ }
444
+ }
445
+ };
446
+ var nextTick = (cb) => promiseResolve().then(cb);
447
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
448
+ var isComplexType = (o) => {
449
+ o = typeof o;
450
+ return o === "object" || o === "function";
451
+ };
452
+
453
+ // src/utils/query-nonce-meta-tag-content.ts
454
+ function queryNonceMetaTagContent(doc) {
455
+ var _a, _b, _c;
456
+ 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;
457
+ }
458
+
459
+ // src/utils/result.ts
460
+ var result_exports = {};
461
+ __export(result_exports, {
462
+ err: () => err,
463
+ map: () => map,
464
+ ok: () => ok,
465
+ unwrap: () => unwrap,
466
+ unwrapErr: () => unwrapErr
467
+ });
468
+ var ok = (value) => ({
469
+ isOk: true,
470
+ isErr: false,
471
+ value
472
+ });
473
+ var err = (value) => ({
474
+ isOk: false,
475
+ isErr: true,
476
+ value
477
+ });
478
+ function map(result, fn) {
479
+ if (result.isOk) {
480
+ const val = fn(result.value);
481
+ if (val instanceof Promise) {
482
+ return val.then((newVal) => ok(newVal));
483
+ } else {
484
+ return ok(val);
485
+ }
486
+ }
487
+ if (result.isErr) {
488
+ const value = result.value;
489
+ return err(value);
490
+ }
491
+ throw "should never get here";
492
+ }
493
+ var unwrap = (result) => {
494
+ if (result.isOk) {
495
+ return result.value;
496
+ } else {
497
+ throw result.value;
498
+ }
499
+ };
500
+ var unwrapErr = (result) => {
501
+ if (result.isErr) {
502
+ return result.value;
503
+ } else {
504
+ throw result.value;
505
+ }
506
+ };
507
+ var updateFallbackSlotVisibility = (elm) => {
508
+ const childNodes = internalCall(elm, "childNodes");
509
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
510
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
511
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
512
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
513
+ slotNode.hidden = true;
514
+ } else {
515
+ slotNode.hidden = false;
516
+ }
517
+ }
518
+ });
519
+ }
520
+ let i2 = 0;
521
+ for (i2 = 0; i2 < childNodes.length; i2++) {
522
+ const childNode = childNodes[i2];
523
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
524
+ updateFallbackSlotVisibility(childNode);
525
+ }
526
+ }
527
+ };
528
+ var getSlottedChildNodes = (childNodes) => {
529
+ const result = [];
530
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
531
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
532
+ if (slottedNode && slottedNode.isConnected) {
533
+ result.push(slottedNode);
534
+ }
535
+ }
536
+ return result;
537
+ };
538
+ function getHostSlotNodes(childNodes, hostName, slotName) {
539
+ let i2 = 0;
540
+ let slottedNodes = [];
541
+ let childNode;
542
+ for (; i2 < childNodes.length; i2++) {
543
+ childNode = childNodes[i2];
544
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
545
+ slottedNodes.push(childNode);
546
+ if (typeof slotName !== "undefined") return slottedNodes;
547
+ }
548
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
549
+ }
550
+ return slottedNodes;
551
+ }
552
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
553
+ const childNodes = [];
554
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
555
+ let node = slot;
556
+ while (node = node.nextSibling) {
557
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
558
+ }
559
+ return childNodes;
560
+ };
561
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
562
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
563
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
564
+ return true;
565
+ }
566
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
567
+ return true;
568
+ }
569
+ return false;
570
+ }
571
+ if (nodeToRelocate["s-sn"] === slotName) {
572
+ return true;
573
+ }
574
+ return slotName === "";
575
+ };
576
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
577
+ function patchSlotNode(node) {
578
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
579
+ const assignedFactory = (elementsOnly) => (function(opts) {
580
+ const toReturn = [];
581
+ const slotName = this["s-sn"];
582
+ if (opts == null ? void 0 : opts.flatten) {
583
+ console.error(`
584
+ Flattening is not supported for Stencil non-shadow slots.
585
+ You can use \`.childNodes\` to nested slot fallback content.
586
+ If you have a particular use case, please open an issue on the Stencil repo.
587
+ `);
588
+ }
589
+ const parent = this["s-cr"].parentElement;
590
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
591
+ slottedNodes.forEach((n) => {
592
+ if (slotName === getSlotName(n)) {
593
+ toReturn.push(n);
594
+ }
595
+ });
596
+ if (elementsOnly) {
597
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
598
+ }
599
+ return toReturn;
600
+ }).bind(node);
601
+ node.assignedElements = assignedFactory(true);
602
+ node.assignedNodes = assignedFactory(false);
603
+ }
604
+ function internalCall(node, method) {
605
+ if ("__" + method in node) {
606
+ const toReturn = node["__" + method];
607
+ if (typeof toReturn !== "function") return toReturn;
608
+ return toReturn.bind(node);
609
+ } else {
610
+ if (typeof node[method] !== "function") return node[method];
611
+ return node[method].bind(node);
612
+ }
613
+ }
614
+ var createTime = (fnName, tagName = "") => {
615
+ {
616
+ return () => {
617
+ return;
618
+ };
619
+ }
620
+ };
621
+ var uniqueTime = (key, measureText) => {
622
+ {
623
+ return () => {
624
+ return;
625
+ };
626
+ }
627
+ };
628
+ var h = (nodeName, vnodeData, ...children) => {
629
+ let child = null;
630
+ let key = null;
631
+ let slotName = null;
632
+ let simple = false;
633
+ let lastSimple = false;
634
+ const vNodeChildren = [];
635
+ const walk = (c) => {
636
+ for (let i2 = 0; i2 < c.length; i2++) {
637
+ child = c[i2];
638
+ if (Array.isArray(child)) {
639
+ walk(child);
640
+ } else if (child != null && typeof child !== "boolean") {
641
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
642
+ child = String(child);
643
+ }
644
+ if (simple && lastSimple) {
645
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
646
+ } else {
647
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
648
+ }
649
+ lastSimple = simple;
650
+ }
651
+ }
652
+ };
653
+ walk(children);
654
+ if (vnodeData) {
655
+ if (vnodeData.key) {
656
+ key = vnodeData.key;
657
+ }
658
+ if (vnodeData.name) {
659
+ slotName = vnodeData.name;
660
+ }
661
+ {
662
+ const classData = vnodeData.className || vnodeData.class;
663
+ if (classData) {
664
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
665
+ }
666
+ }
667
+ }
668
+ if (typeof nodeName === "function") {
669
+ return nodeName(
670
+ vnodeData === null ? {} : vnodeData,
671
+ vNodeChildren,
672
+ vdomFnUtils
673
+ );
674
+ }
675
+ const vnode = newVNode(nodeName, null);
676
+ vnode.$attrs$ = vnodeData;
677
+ if (vNodeChildren.length > 0) {
678
+ vnode.$children$ = vNodeChildren;
679
+ }
680
+ {
681
+ vnode.$key$ = key;
682
+ }
683
+ {
684
+ vnode.$name$ = slotName;
685
+ }
686
+ return vnode;
687
+ };
688
+ var newVNode = (tag, text) => {
689
+ const vnode = {
690
+ $flags$: 0,
691
+ $tag$: tag,
692
+ $text$: text,
693
+ $elm$: null,
694
+ $children$: null
695
+ };
696
+ {
697
+ vnode.$attrs$ = null;
698
+ }
699
+ {
700
+ vnode.$key$ = null;
701
+ }
702
+ {
703
+ vnode.$name$ = null;
704
+ }
705
+ return vnode;
706
+ };
707
+ var Host = {};
708
+ var isHost = (node) => node && node.$tag$ === Host;
709
+ var vdomFnUtils = {
710
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
711
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
712
+ };
713
+ var convertToPublic = (node) => ({
714
+ vattrs: node.$attrs$,
715
+ vchildren: node.$children$,
716
+ vkey: node.$key$,
717
+ vname: node.$name$,
718
+ vtag: node.$tag$,
719
+ vtext: node.$text$
720
+ });
721
+ var convertToPrivate = (node) => {
722
+ if (typeof node.vtag === "function") {
723
+ const vnodeData = { ...node.vattrs };
724
+ if (node.vkey) {
725
+ vnodeData.key = node.vkey;
726
+ }
727
+ if (node.vname) {
728
+ vnodeData.name = node.vname;
729
+ }
730
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
731
+ }
732
+ const vnode = newVNode(node.vtag, node.vtext);
733
+ vnode.$attrs$ = node.vattrs;
734
+ vnode.$children$ = node.vchildren;
735
+ vnode.$key$ = node.vkey;
736
+ vnode.$name$ = node.vname;
737
+ return vnode;
738
+ };
739
+ var parsePropertyValue = (propValue, propType) => {
740
+ if (propValue != null && !isComplexType(propValue)) {
741
+ if (propType & 4 /* Boolean */) {
742
+ return propValue === "false" ? false : propValue === "" || !!propValue;
743
+ }
744
+ if (propType & 2 /* Number */) {
745
+ return parseFloat(propValue);
746
+ }
747
+ if (propType & 1 /* String */) {
748
+ return String(propValue);
749
+ }
750
+ return propValue;
751
+ }
752
+ return propValue;
753
+ };
754
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
755
+
756
+ // src/runtime/event-emitter.ts
757
+ var createEvent = (ref, name, flags) => {
758
+ const elm = getElement(ref);
759
+ return {
760
+ emit: (detail) => {
761
+ return emitEvent(elm, name, {
762
+ bubbles: !!(flags & 4 /* Bubbles */),
763
+ composed: !!(flags & 2 /* Composed */),
764
+ cancelable: !!(flags & 1 /* Cancellable */),
765
+ detail
766
+ });
767
+ }
768
+ };
769
+ };
770
+ var emitEvent = (elm, name, opts) => {
771
+ const ev = plt.ce(name, opts);
772
+ elm.dispatchEvent(ev);
773
+ return ev;
774
+ };
775
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
776
+ var registerStyle = (scopeId2, cssText, allowCS) => {
777
+ let style = styles.get(scopeId2);
778
+ if (supportsConstructableStylesheets && allowCS) {
779
+ style = style || new CSSStyleSheet();
780
+ if (typeof style === "string") {
781
+ style = cssText;
782
+ } else {
783
+ style.replaceSync(cssText);
784
+ }
785
+ } else {
786
+ style = cssText;
787
+ }
788
+ styles.set(scopeId2, style);
789
+ };
790
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
791
+ var _a;
792
+ const scopeId2 = getScopeId(cmpMeta);
793
+ const style = styles.get(scopeId2);
794
+ if (!win.document) {
795
+ return scopeId2;
796
+ }
797
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
798
+ if (style) {
799
+ if (typeof style === "string") {
800
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
801
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
802
+ let styleElm;
803
+ if (!appliedStyles) {
804
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
805
+ }
806
+ if (!appliedStyles.has(scopeId2)) {
807
+ {
808
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
809
+ styleElm.innerHTML = style;
810
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
811
+ if (nonce != null) {
812
+ styleElm.setAttribute("nonce", nonce);
813
+ }
814
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
815
+ if (styleContainerNode.nodeName === "HEAD") {
816
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
817
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
818
+ styleContainerNode.insertBefore(
819
+ styleElm,
820
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
821
+ );
822
+ } else if ("host" in styleContainerNode) {
823
+ if (supportsConstructableStylesheets) {
824
+ const stylesheet = new CSSStyleSheet();
825
+ stylesheet.replaceSync(style);
826
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
827
+ } else {
828
+ const existingStyleContainer = styleContainerNode.querySelector("style");
829
+ if (existingStyleContainer) {
830
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
831
+ } else {
832
+ styleContainerNode.prepend(styleElm);
833
+ }
834
+ }
835
+ } else {
836
+ styleContainerNode.append(styleElm);
837
+ }
838
+ }
839
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
840
+ styleContainerNode.insertBefore(styleElm, null);
841
+ }
842
+ }
843
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
844
+ styleElm.innerHTML += SLOT_FB_CSS;
845
+ }
846
+ if (appliedStyles) {
847
+ appliedStyles.add(scopeId2);
848
+ }
849
+ }
850
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
851
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
852
+ }
853
+ }
854
+ return scopeId2;
855
+ };
856
+ var attachStyles = (hostRef) => {
857
+ const cmpMeta = hostRef.$cmpMeta$;
858
+ const elm = hostRef.$hostElement$;
859
+ const flags = cmpMeta.$flags$;
860
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
861
+ const scopeId2 = addStyle(
862
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
863
+ cmpMeta);
864
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
865
+ elm["s-sc"] = scopeId2;
866
+ elm.classList.add(scopeId2 + "-h");
867
+ }
868
+ endAttachStyles();
869
+ };
870
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
871
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
872
+ if (oldValue === newValue) {
873
+ return;
874
+ }
875
+ let isProp = isMemberInElement(elm, memberName);
876
+ let ln = memberName.toLowerCase();
877
+ if (memberName === "class") {
878
+ const classList = elm.classList;
879
+ const oldClasses = parseClassList(oldValue);
880
+ let newClasses = parseClassList(newValue);
881
+ {
882
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
883
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
884
+ }
885
+ } else if (memberName === "style") {
886
+ {
887
+ for (const prop in oldValue) {
888
+ if (!newValue || newValue[prop] == null) {
889
+ if (prop.includes("-")) {
890
+ elm.style.removeProperty(prop);
891
+ } else {
892
+ elm.style[prop] = "";
893
+ }
894
+ }
895
+ }
896
+ }
897
+ for (const prop in newValue) {
898
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
899
+ if (prop.includes("-")) {
900
+ elm.style.setProperty(prop, newValue[prop]);
901
+ } else {
902
+ elm.style[prop] = newValue[prop];
903
+ }
904
+ }
905
+ }
906
+ } else if (memberName === "key") ; else if (memberName === "ref") {
907
+ if (newValue) {
908
+ newValue(elm);
909
+ }
910
+ } else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
911
+ if (memberName[2] === "-") {
912
+ memberName = memberName.slice(3);
913
+ } else if (isMemberInElement(win, ln)) {
914
+ memberName = ln.slice(2);
915
+ } else {
916
+ memberName = ln[2] + memberName.slice(3);
917
+ }
918
+ if (oldValue || newValue) {
919
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
920
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
921
+ if (oldValue) {
922
+ plt.rel(elm, memberName, oldValue, capture);
923
+ }
924
+ if (newValue) {
925
+ plt.ael(elm, memberName, newValue, capture);
926
+ }
927
+ }
928
+ } else {
929
+ const isComplex = isComplexType(newValue);
930
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
931
+ try {
932
+ if (!elm.tagName.includes("-")) {
933
+ const n = newValue == null ? "" : newValue;
934
+ if (memberName === "list") {
935
+ isProp = false;
936
+ } else if (oldValue == null || elm[memberName] != n) {
937
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
938
+ elm[memberName] = n;
939
+ } else {
940
+ elm.setAttribute(memberName, n);
941
+ }
942
+ }
943
+ } else if (elm[memberName] !== newValue) {
944
+ elm[memberName] = newValue;
945
+ }
946
+ } catch (e) {
947
+ }
948
+ }
949
+ let xlink = false;
950
+ {
951
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
952
+ memberName = ln;
953
+ xlink = true;
954
+ }
955
+ }
956
+ if (newValue == null || newValue === false) {
957
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
958
+ if (xlink) {
959
+ elm.removeAttributeNS(XLINK_NS, memberName);
960
+ } else {
961
+ elm.removeAttribute(memberName);
962
+ }
963
+ }
964
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
965
+ newValue = newValue === true ? "" : newValue;
966
+ if (xlink) {
967
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
968
+ } else {
969
+ elm.setAttribute(memberName, newValue);
970
+ }
971
+ }
972
+ }
973
+ };
974
+ var parseClassListRegex = /\s/;
975
+ var parseClassList = (value) => {
976
+ if (typeof value === "object" && value && "baseVal" in value) {
977
+ value = value.baseVal;
978
+ }
979
+ if (!value || typeof value !== "string") {
980
+ return [];
981
+ }
982
+ return value.split(parseClassListRegex);
983
+ };
984
+ var CAPTURE_EVENT_SUFFIX = "Capture";
985
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
986
+
987
+ // src/runtime/vdom/update-element.ts
988
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
989
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
990
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
991
+ const newVnodeAttrs = newVnode.$attrs$ || {};
992
+ {
993
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
994
+ if (!(memberName in newVnodeAttrs)) {
995
+ setAccessor(
996
+ elm,
997
+ memberName,
998
+ oldVnodeAttrs[memberName],
999
+ void 0,
1000
+ isSvgMode2,
1001
+ newVnode.$flags$);
1002
+ }
1003
+ }
1004
+ }
1005
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
1006
+ setAccessor(
1007
+ elm,
1008
+ memberName,
1009
+ oldVnodeAttrs[memberName],
1010
+ newVnodeAttrs[memberName],
1011
+ isSvgMode2,
1012
+ newVnode.$flags$);
1013
+ }
1014
+ };
1015
+ function sortedAttrNames(attrNames) {
1016
+ return attrNames.includes("ref") ? (
1017
+ // we need to sort these to ensure that `'ref'` is the last attr
1018
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
1019
+ ) : (
1020
+ // no need to sort, return the original array
1021
+ attrNames
1022
+ );
1023
+ }
1024
+ var contentRef;
1025
+ var hostTagName;
1026
+ var useNativeShadowDom = false;
1027
+ var checkSlotFallbackVisibility = false;
1028
+ var checkSlotRelocate = false;
1029
+ var isSvgMode = false;
1030
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
1031
+ var _a;
1032
+ const newVNode2 = newParentVNode.$children$[childIndex];
1033
+ let i2 = 0;
1034
+ let elm;
1035
+ let childNode;
1036
+ let oldVNode;
1037
+ if (!useNativeShadowDom) {
1038
+ checkSlotRelocate = true;
1039
+ if (newVNode2.$tag$ === "slot") {
1040
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
1041
+ // slot element has fallback content
1042
+ // still create an element that "mocks" the slot element
1043
+ 2 /* isSlotFallback */
1044
+ ) : (
1045
+ // slot element does not have fallback content
1046
+ // create an html comment we'll use to always reference
1047
+ // where actual slot content should sit next to
1048
+ 1 /* isSlotReference */
1049
+ );
1050
+ }
1051
+ }
1052
+ if (newVNode2.$text$ !== null) {
1053
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
1054
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
1055
+ elm = newVNode2.$elm$ = win.document.createTextNode("");
1056
+ {
1057
+ updateElement(null, newVNode2, isSvgMode);
1058
+ }
1059
+ } else {
1060
+ if (!win.document) {
1061
+ throw new Error(
1062
+ "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."
1063
+ );
1064
+ }
1065
+ elm = newVNode2.$elm$ = win.document.createElement(
1066
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
1067
+ );
1068
+ {
1069
+ updateElement(null, newVNode2, isSvgMode);
1070
+ }
1071
+ if (newVNode2.$children$) {
1072
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
1073
+ childNode = createElm(oldParentVNode, newVNode2, i2);
1074
+ if (childNode) {
1075
+ elm.appendChild(childNode);
1076
+ }
1077
+ }
1078
+ }
1079
+ }
1080
+ elm["s-hn"] = hostTagName;
1081
+ {
1082
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
1083
+ elm["s-sr"] = true;
1084
+ elm["s-cr"] = contentRef;
1085
+ elm["s-sn"] = newVNode2.$name$ || "";
1086
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
1087
+ patchSlotNode(elm);
1088
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
1089
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
1090
+ {
1091
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
1092
+ }
1093
+ }
1094
+ }
1095
+ }
1096
+ return elm;
1097
+ };
1098
+ var putBackInOriginalLocation = (parentElm, recursive) => {
1099
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1100
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
1101
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
1102
+ let node = parentElm;
1103
+ while (node = node.nextSibling) {
1104
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
1105
+ oldSlotChildNodes.push(node);
1106
+ }
1107
+ }
1108
+ }
1109
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
1110
+ const childNode = oldSlotChildNodes[i2];
1111
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
1112
+ insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
1113
+ childNode["s-ol"].remove();
1114
+ childNode["s-ol"] = void 0;
1115
+ childNode["s-sh"] = void 0;
1116
+ checkSlotRelocate = true;
1117
+ }
1118
+ if (recursive) {
1119
+ putBackInOriginalLocation(childNode, recursive);
1120
+ }
1121
+ }
1122
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1123
+ };
1124
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
1125
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
1126
+ let childNode;
1127
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
1128
+ containerElm = containerElm.shadowRoot;
1129
+ }
1130
+ for (; startIdx <= endIdx; ++startIdx) {
1131
+ if (vnodes[startIdx]) {
1132
+ childNode = createElm(null, parentVNode, startIdx);
1133
+ if (childNode) {
1134
+ vnodes[startIdx].$elm$ = childNode;
1135
+ insertBefore(containerElm, childNode, referenceNode(before) );
1136
+ }
1137
+ }
1138
+ }
1139
+ };
1140
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
1141
+ for (let index = startIdx; index <= endIdx; ++index) {
1142
+ const vnode = vnodes[index];
1143
+ if (vnode) {
1144
+ const elm = vnode.$elm$;
1145
+ nullifyVNodeRefs(vnode);
1146
+ if (elm) {
1147
+ {
1148
+ checkSlotFallbackVisibility = true;
1149
+ if (elm["s-ol"]) {
1150
+ elm["s-ol"].remove();
1151
+ } else {
1152
+ putBackInOriginalLocation(elm, true);
1153
+ }
1154
+ }
1155
+ elm.remove();
1156
+ }
1157
+ }
1158
+ }
1159
+ };
1160
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
1161
+ let oldStartIdx = 0;
1162
+ let newStartIdx = 0;
1163
+ let idxInOld = 0;
1164
+ let i2 = 0;
1165
+ let oldEndIdx = oldCh.length - 1;
1166
+ let oldStartVnode = oldCh[0];
1167
+ let oldEndVnode = oldCh[oldEndIdx];
1168
+ let newEndIdx = newCh.length - 1;
1169
+ let newStartVnode = newCh[0];
1170
+ let newEndVnode = newCh[newEndIdx];
1171
+ let node;
1172
+ let elmToMove;
1173
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
1174
+ if (oldStartVnode == null) {
1175
+ oldStartVnode = oldCh[++oldStartIdx];
1176
+ } else if (oldEndVnode == null) {
1177
+ oldEndVnode = oldCh[--oldEndIdx];
1178
+ } else if (newStartVnode == null) {
1179
+ newStartVnode = newCh[++newStartIdx];
1180
+ } else if (newEndVnode == null) {
1181
+ newEndVnode = newCh[--newEndIdx];
1182
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
1183
+ patch(oldStartVnode, newStartVnode, isInitialRender);
1184
+ oldStartVnode = oldCh[++oldStartIdx];
1185
+ newStartVnode = newCh[++newStartIdx];
1186
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
1187
+ patch(oldEndVnode, newEndVnode, isInitialRender);
1188
+ oldEndVnode = oldCh[--oldEndIdx];
1189
+ newEndVnode = newCh[--newEndIdx];
1190
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
1191
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1192
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
1193
+ }
1194
+ patch(oldStartVnode, newEndVnode, isInitialRender);
1195
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
1196
+ oldStartVnode = oldCh[++oldStartIdx];
1197
+ newEndVnode = newCh[--newEndIdx];
1198
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
1199
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
1200
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
1201
+ }
1202
+ patch(oldEndVnode, newStartVnode, isInitialRender);
1203
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
1204
+ oldEndVnode = oldCh[--oldEndIdx];
1205
+ newStartVnode = newCh[++newStartIdx];
1206
+ } else {
1207
+ idxInOld = -1;
1208
+ {
1209
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
1210
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
1211
+ idxInOld = i2;
1212
+ break;
1213
+ }
1214
+ }
1215
+ }
1216
+ if (idxInOld >= 0) {
1217
+ elmToMove = oldCh[idxInOld];
1218
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1219
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
1220
+ } else {
1221
+ patch(elmToMove, newStartVnode, isInitialRender);
1222
+ oldCh[idxInOld] = void 0;
1223
+ node = elmToMove.$elm$;
1224
+ }
1225
+ newStartVnode = newCh[++newStartIdx];
1226
+ } else {
1227
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
1228
+ newStartVnode = newCh[++newStartIdx];
1229
+ }
1230
+ if (node) {
1231
+ {
1232
+ insertBefore(
1233
+ referenceNode(oldStartVnode.$elm$).parentNode,
1234
+ node,
1235
+ referenceNode(oldStartVnode.$elm$)
1236
+ );
1237
+ }
1238
+ }
1239
+ }
1240
+ }
1241
+ if (oldStartIdx > oldEndIdx) {
1242
+ addVnodes(
1243
+ parentElm,
1244
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1245
+ newVNode2,
1246
+ newCh,
1247
+ newStartIdx,
1248
+ newEndIdx
1249
+ );
1250
+ } else if (newStartIdx > newEndIdx) {
1251
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1252
+ }
1253
+ };
1254
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1255
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1256
+ if (leftVNode.$tag$ === "slot") {
1257
+ return leftVNode.$name$ === rightVNode.$name$;
1258
+ }
1259
+ if (!isInitialRender) {
1260
+ return leftVNode.$key$ === rightVNode.$key$;
1261
+ }
1262
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
1263
+ leftVNode.$key$ = rightVNode.$key$;
1264
+ }
1265
+ return true;
1266
+ }
1267
+ return false;
1268
+ };
1269
+ var referenceNode = (node) => node && node["s-ol"] || node;
1270
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1271
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1272
+ const oldChildren = oldVNode.$children$;
1273
+ const newChildren = newVNode2.$children$;
1274
+ const text = newVNode2.$text$;
1275
+ let defaultHolder;
1276
+ if (text === null) {
1277
+ {
1278
+ updateElement(oldVNode, newVNode2, isSvgMode);
1279
+ }
1280
+ if (oldChildren !== null && newChildren !== null) {
1281
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1282
+ } else if (newChildren !== null) {
1283
+ if (oldVNode.$text$ !== null) {
1284
+ elm.textContent = "";
1285
+ }
1286
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1287
+ } else if (
1288
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1289
+ !isInitialRender && BUILD.updatable && oldChildren !== null
1290
+ ) {
1291
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1292
+ }
1293
+ } else if ((defaultHolder = elm["s-cr"])) {
1294
+ defaultHolder.parentNode.textContent = text;
1295
+ } else if (oldVNode.$text$ !== text) {
1296
+ elm.data = text;
1297
+ }
1298
+ };
1299
+ var relocateNodes = [];
1300
+ var markSlotContentForRelocation = (elm) => {
1301
+ let node;
1302
+ let hostContentNodes;
1303
+ let j;
1304
+ const children = elm.__childNodes || elm.childNodes;
1305
+ for (const childNode of children) {
1306
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1307
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
1308
+ const slotName = childNode["s-sn"];
1309
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1310
+ node = hostContentNodes[j];
1311
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
1312
+ if (isNodeLocatedInSlot(node, slotName)) {
1313
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1314
+ checkSlotFallbackVisibility = true;
1315
+ node["s-sn"] = node["s-sn"] || slotName;
1316
+ if (relocateNodeData) {
1317
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1318
+ relocateNodeData.$slotRefNode$ = childNode;
1319
+ } else {
1320
+ node["s-sh"] = childNode["s-hn"];
1321
+ relocateNodes.push({
1322
+ $slotRefNode$: childNode,
1323
+ $nodeToRelocate$: node
1324
+ });
1325
+ }
1326
+ if (node["s-sr"]) {
1327
+ relocateNodes.map((relocateNode) => {
1328
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1329
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1330
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1331
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1332
+ }
1333
+ }
1334
+ });
1335
+ }
1336
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1337
+ relocateNodes.push({
1338
+ $nodeToRelocate$: node
1339
+ });
1340
+ }
1341
+ }
1342
+ }
1343
+ }
1344
+ if (childNode.nodeType === 1 /* ElementNode */) {
1345
+ markSlotContentForRelocation(childNode);
1346
+ }
1347
+ }
1348
+ };
1349
+ var nullifyVNodeRefs = (vNode) => {
1350
+ {
1351
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1352
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1353
+ }
1354
+ };
1355
+ var insertBefore = (parent, newNode, reference) => {
1356
+ {
1357
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1358
+ }
1359
+ };
1360
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1361
+ var _a, _b, _c, _d;
1362
+ const hostElm = hostRef.$hostElement$;
1363
+ const cmpMeta = hostRef.$cmpMeta$;
1364
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1365
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1366
+ hostTagName = hostElm.tagName;
1367
+ if (cmpMeta.$attrsToReflect$) {
1368
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1369
+ cmpMeta.$attrsToReflect$.map(
1370
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1371
+ );
1372
+ }
1373
+ if (isInitialLoad && rootVnode.$attrs$) {
1374
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1375
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1376
+ rootVnode.$attrs$[key] = hostElm[key];
1377
+ }
1378
+ }
1379
+ }
1380
+ rootVnode.$tag$ = null;
1381
+ rootVnode.$flags$ |= 4 /* isHost */;
1382
+ hostRef.$vnode$ = rootVnode;
1383
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1384
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1385
+ {
1386
+ contentRef = hostElm["s-cr"];
1387
+ checkSlotFallbackVisibility = false;
1388
+ }
1389
+ patch(oldVNode, rootVnode, isInitialLoad);
1390
+ {
1391
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1392
+ if (checkSlotRelocate) {
1393
+ markSlotContentForRelocation(rootVnode.$elm$);
1394
+ for (const relocateData of relocateNodes) {
1395
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1396
+ if (!nodeToRelocate["s-ol"] && win.document) {
1397
+ const orgLocationNode = win.document.createTextNode("");
1398
+ orgLocationNode["s-nr"] = nodeToRelocate;
1399
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1400
+ }
1401
+ }
1402
+ for (const relocateData of relocateNodes) {
1403
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1404
+ const slotRefNode = relocateData.$slotRefNode$;
1405
+ if (slotRefNode) {
1406
+ const parentNodeRef = slotRefNode.parentNode;
1407
+ let insertBeforeNode = slotRefNode.nextSibling;
1408
+ {
1409
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1410
+ while (orgLocationNode) {
1411
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1412
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1413
+ refNode = refNode.nextSibling;
1414
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1415
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1416
+ }
1417
+ if (!refNode || !refNode["s-nr"]) {
1418
+ insertBeforeNode = refNode;
1419
+ break;
1420
+ }
1421
+ }
1422
+ orgLocationNode = orgLocationNode.previousSibling;
1423
+ }
1424
+ }
1425
+ const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1426
+ const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1427
+ if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1428
+ if (nodeToRelocate !== insertBeforeNode) {
1429
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1430
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1431
+ }
1432
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1433
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1434
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1435
+ }
1436
+ }
1437
+ }
1438
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1439
+ } else {
1440
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1441
+ if (isInitialLoad) {
1442
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1443
+ }
1444
+ nodeToRelocate.hidden = true;
1445
+ }
1446
+ }
1447
+ }
1448
+ }
1449
+ if (checkSlotFallbackVisibility) {
1450
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1451
+ }
1452
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1453
+ relocateNodes.length = 0;
1454
+ }
1455
+ contentRef = void 0;
1456
+ };
1457
+
1458
+ // src/runtime/update-component.ts
1459
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1460
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1461
+ const index = ancestorComponent["s-p"].push(
1462
+ new Promise(
1463
+ (r) => hostRef.$onRenderResolve$ = () => {
1464
+ ancestorComponent["s-p"].splice(index - 1, 1);
1465
+ r();
1466
+ }
1467
+ )
1468
+ );
1469
+ }
1470
+ };
1471
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1472
+ {
1473
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1474
+ }
1475
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1476
+ hostRef.$flags$ |= 512 /* needsRerender */;
1477
+ return;
1478
+ }
1479
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1480
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1481
+ return writeTask(dispatch) ;
1482
+ };
1483
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1484
+ const elm = hostRef.$hostElement$;
1485
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1486
+ const instance = hostRef.$lazyInstance$ ;
1487
+ if (!instance) {
1488
+ throw new Error(
1489
+ `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`
1490
+ );
1491
+ }
1492
+ let maybePromise;
1493
+ if (isInitialLoad) {
1494
+ {
1495
+ hostRef.$flags$ |= 256 /* isListenReady */;
1496
+ if (hostRef.$queuedListeners$) {
1497
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
1498
+ hostRef.$queuedListeners$ = void 0;
1499
+ }
1500
+ }
1501
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1502
+ } else {
1503
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1504
+ }
1505
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1506
+ endSchedule();
1507
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1508
+ };
1509
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1510
+ console.error(err2);
1511
+ fn();
1512
+ }) : fn();
1513
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1514
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1515
+ var _a;
1516
+ const elm = hostRef.$hostElement$;
1517
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1518
+ const rc = elm["s-rc"];
1519
+ if (isInitialLoad) {
1520
+ attachStyles(hostRef);
1521
+ }
1522
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1523
+ {
1524
+ callRender(hostRef, instance, elm, isInitialLoad);
1525
+ }
1526
+ if (rc) {
1527
+ rc.map((cb) => cb());
1528
+ elm["s-rc"] = void 0;
1529
+ }
1530
+ endRender();
1531
+ endUpdate();
1532
+ {
1533
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1534
+ const postUpdate = () => postUpdateComponent(hostRef);
1535
+ if (childrenPromises.length === 0) {
1536
+ postUpdate();
1537
+ } else {
1538
+ Promise.all(childrenPromises).then(postUpdate);
1539
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1540
+ childrenPromises.length = 0;
1541
+ }
1542
+ }
1543
+ };
1544
+ var renderingRef = null;
1545
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1546
+ try {
1547
+ renderingRef = instance;
1548
+ instance = instance.render() ;
1549
+ {
1550
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1551
+ }
1552
+ {
1553
+ hostRef.$flags$ |= 2 /* hasRendered */;
1554
+ }
1555
+ {
1556
+ {
1557
+ {
1558
+ renderVdom(hostRef, instance, isInitialLoad);
1559
+ }
1560
+ }
1561
+ }
1562
+ } catch (e) {
1563
+ consoleError(e, hostRef.$hostElement$);
1564
+ }
1565
+ renderingRef = null;
1566
+ return null;
1567
+ };
1568
+ var getRenderingRef = () => renderingRef;
1569
+ var postUpdateComponent = (hostRef) => {
1570
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1571
+ const elm = hostRef.$hostElement$;
1572
+ const endPostUpdate = createTime("postUpdate", tagName);
1573
+ const instance = hostRef.$lazyInstance$ ;
1574
+ const ancestorComponent = hostRef.$ancestorComponent$;
1575
+ safeCall(instance, "componentDidRender", void 0, elm);
1576
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1577
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1578
+ {
1579
+ addHydratedFlag(elm);
1580
+ }
1581
+ safeCall(instance, "componentDidLoad", void 0, elm);
1582
+ endPostUpdate();
1583
+ {
1584
+ hostRef.$onReadyResolve$(elm);
1585
+ if (!ancestorComponent) {
1586
+ appDidLoad();
1587
+ }
1588
+ }
1589
+ } else {
1590
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1591
+ endPostUpdate();
1592
+ }
1593
+ {
1594
+ hostRef.$onInstanceResolve$(elm);
1595
+ }
1596
+ {
1597
+ if (hostRef.$onRenderResolve$) {
1598
+ hostRef.$onRenderResolve$();
1599
+ hostRef.$onRenderResolve$ = void 0;
1600
+ }
1601
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1602
+ nextTick(() => scheduleUpdate(hostRef, false));
1603
+ }
1604
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1605
+ }
1606
+ };
1607
+ var forceUpdate = (ref) => {
1608
+ {
1609
+ const hostRef = getHostRef(ref);
1610
+ const isConnected = hostRef.$hostElement$.isConnected;
1611
+ if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1612
+ scheduleUpdate(hostRef, false);
1613
+ }
1614
+ return isConnected;
1615
+ }
1616
+ };
1617
+ var appDidLoad = (who) => {
1618
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1619
+ };
1620
+ var safeCall = (instance, method, arg, elm) => {
1621
+ if (instance && instance[method]) {
1622
+ try {
1623
+ return instance[method](arg);
1624
+ } catch (e) {
1625
+ consoleError(e, elm);
1626
+ }
1627
+ }
1628
+ return void 0;
1629
+ };
1630
+ var addHydratedFlag = (elm) => {
1631
+ var _a;
1632
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1633
+ };
1634
+
1635
+ // src/runtime/set-value.ts
1636
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1637
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1638
+ const hostRef = getHostRef(ref);
1639
+ if (!hostRef) {
1640
+ throw new Error(
1641
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
1642
+ );
1643
+ }
1644
+ const elm = hostRef.$hostElement$ ;
1645
+ const oldVal = hostRef.$instanceValues$.get(propName);
1646
+ const flags = hostRef.$flags$;
1647
+ const instance = hostRef.$lazyInstance$ ;
1648
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1649
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1650
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1651
+ if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1652
+ hostRef.$instanceValues$.set(propName, newVal);
1653
+ if (instance) {
1654
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1655
+ const watchMethods = cmpMeta.$watchers$[propName];
1656
+ if (watchMethods) {
1657
+ watchMethods.map((watchMethodName) => {
1658
+ try {
1659
+ instance[watchMethodName](newVal, oldVal, propName);
1660
+ } catch (e) {
1661
+ consoleError(e, elm);
1662
+ }
1663
+ });
1664
+ }
1665
+ }
1666
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1667
+ if (instance.componentShouldUpdate) {
1668
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1669
+ return;
1670
+ }
1671
+ }
1672
+ scheduleUpdate(hostRef, false);
1673
+ }
1674
+ }
1675
+ }
1676
+ };
1677
+
1678
+ // src/runtime/proxy-component.ts
1679
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1680
+ var _a, _b;
1681
+ const prototype = Cstr.prototype;
1682
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1683
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1684
+ cmpMeta.$watchers$ = Cstr.watchers;
1685
+ }
1686
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1687
+ members.map(([memberName, [memberFlags]]) => {
1688
+ if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1689
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1690
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1691
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1692
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1693
+ Object.defineProperty(prototype, memberName, {
1694
+ get() {
1695
+ {
1696
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1697
+ return getValue(this, memberName);
1698
+ }
1699
+ const ref = getHostRef(this);
1700
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1701
+ if (!instance) return;
1702
+ return instance[memberName];
1703
+ }
1704
+ },
1705
+ configurable: true,
1706
+ enumerable: true
1707
+ });
1708
+ }
1709
+ Object.defineProperty(prototype, memberName, {
1710
+ set(newValue) {
1711
+ const ref = getHostRef(this);
1712
+ if (origSetter) {
1713
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1714
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1715
+ newValue = ref.$instanceValues$.get(memberName);
1716
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1717
+ ref.$instanceValues$.set(memberName, currentValue);
1718
+ }
1719
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1720
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1721
+ setValue(this, memberName, newValue, cmpMeta);
1722
+ return;
1723
+ }
1724
+ {
1725
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1726
+ setValue(this, memberName, newValue, cmpMeta);
1727
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1728
+ ref.$onReadyPromise$.then(() => {
1729
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1730
+ ref.$lazyInstance$[memberName] = newValue;
1731
+ }
1732
+ });
1733
+ }
1734
+ return;
1735
+ }
1736
+ const setterSetVal = () => {
1737
+ const currentValue = ref.$lazyInstance$[memberName];
1738
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1739
+ ref.$instanceValues$.set(memberName, currentValue);
1740
+ }
1741
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1742
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1743
+ };
1744
+ if (ref.$lazyInstance$) {
1745
+ setterSetVal();
1746
+ } else {
1747
+ ref.$onReadyPromise$.then(() => setterSetVal());
1748
+ }
1749
+ }
1750
+ }
1751
+ });
1752
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1753
+ Object.defineProperty(prototype, memberName, {
1754
+ value(...args) {
1755
+ var _a2;
1756
+ const ref = getHostRef(this);
1757
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1758
+ var _a3;
1759
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1760
+ });
1761
+ }
1762
+ });
1763
+ }
1764
+ });
1765
+ if ((flags & 1 /* isElementConstructor */)) {
1766
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1767
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1768
+ plt.jmp(() => {
1769
+ var _a2;
1770
+ const propName = attrNameToPropName.get(attrName);
1771
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1772
+ newValue = this[propName];
1773
+ delete this[propName];
1774
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1775
+ this[propName] == newValue) {
1776
+ return;
1777
+ } else if (propName == null) {
1778
+ const hostRef = getHostRef(this);
1779
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1780
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1781
+ const instance = hostRef.$lazyInstance$ ;
1782
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1783
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1784
+ if (instance[callbackName] != null) {
1785
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1786
+ }
1787
+ });
1788
+ }
1789
+ return;
1790
+ }
1791
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1792
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1793
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1794
+ this[propName] = newValue;
1795
+ }
1796
+ });
1797
+ };
1798
+ Cstr.observedAttributes = Array.from(
1799
+ /* @__PURE__ */ new Set([
1800
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1801
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1802
+ var _a2;
1803
+ const attrName = m[1] || propName;
1804
+ attrNameToPropName.set(attrName, propName);
1805
+ if (m[0] & 512 /* ReflectAttr */) {
1806
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1807
+ }
1808
+ return attrName;
1809
+ })
1810
+ ])
1811
+ );
1812
+ }
1813
+ }
1814
+ return Cstr;
1815
+ };
1816
+
1817
+ // src/runtime/initialize-component.ts
1818
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1819
+ let Cstr;
1820
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1821
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1822
+ const bundleId = cmpMeta.$lazyBundleId$;
1823
+ if (bundleId) {
1824
+ const CstrImport = loadModule(cmpMeta, hostRef);
1825
+ if (CstrImport && "then" in CstrImport) {
1826
+ const endLoad = uniqueTime();
1827
+ Cstr = await CstrImport;
1828
+ endLoad();
1829
+ } else {
1830
+ Cstr = CstrImport;
1831
+ }
1832
+ if (!Cstr) {
1833
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1834
+ }
1835
+ if (!Cstr.isProxied) {
1836
+ {
1837
+ cmpMeta.$watchers$ = Cstr.watchers;
1838
+ }
1839
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1840
+ Cstr.isProxied = true;
1841
+ }
1842
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1843
+ {
1844
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1845
+ }
1846
+ try {
1847
+ new Cstr(hostRef);
1848
+ } catch (e) {
1849
+ consoleError(e, elm);
1850
+ }
1851
+ {
1852
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1853
+ }
1854
+ {
1855
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1856
+ }
1857
+ endNewInstance();
1858
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1859
+ } else {
1860
+ Cstr = elm.constructor;
1861
+ const cmpTag = elm.localName;
1862
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1863
+ }
1864
+ if (Cstr && Cstr.style) {
1865
+ let style;
1866
+ if (typeof Cstr.style === "string") {
1867
+ style = Cstr.style;
1868
+ }
1869
+ const scopeId2 = getScopeId(cmpMeta);
1870
+ if (!styles.has(scopeId2)) {
1871
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1872
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1873
+ endRegisterStyles();
1874
+ }
1875
+ }
1876
+ }
1877
+ const ancestorComponent = hostRef.$ancestorComponent$;
1878
+ const schedule = () => scheduleUpdate(hostRef, true);
1879
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1880
+ ancestorComponent["s-rc"].push(schedule);
1881
+ } else {
1882
+ schedule();
1883
+ }
1884
+ };
1885
+ var fireConnectedCallback = (instance, elm) => {
1886
+ {
1887
+ safeCall(instance, "connectedCallback", void 0, elm);
1888
+ }
1889
+ };
1890
+
1891
+ // src/runtime/connected-callback.ts
1892
+ var connectedCallback = (elm) => {
1893
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1894
+ const hostRef = getHostRef(elm);
1895
+ const cmpMeta = hostRef.$cmpMeta$;
1896
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1897
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1898
+ hostRef.$flags$ |= 1 /* hasConnected */;
1899
+ {
1900
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1901
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1902
+ setContentReference(elm);
1903
+ }
1904
+ }
1905
+ {
1906
+ let ancestorComponent = elm;
1907
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1908
+ if (ancestorComponent["s-p"]) {
1909
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1910
+ break;
1911
+ }
1912
+ }
1913
+ }
1914
+ if (cmpMeta.$members$) {
1915
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1916
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1917
+ const value = elm[memberName];
1918
+ delete elm[memberName];
1919
+ elm[memberName] = value;
1920
+ }
1921
+ });
1922
+ }
1923
+ {
1924
+ initializeComponent(elm, hostRef, cmpMeta);
1925
+ }
1926
+ } else {
1927
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1928
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1929
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1930
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1931
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1932
+ }
1933
+ }
1934
+ endConnected();
1935
+ }
1936
+ };
1937
+ var setContentReference = (elm) => {
1938
+ if (!win.document) {
1939
+ return;
1940
+ }
1941
+ const contentRefElm = elm["s-cr"] = win.document.createComment(
1942
+ ""
1943
+ );
1944
+ contentRefElm["s-cn"] = true;
1945
+ insertBefore(elm, contentRefElm, elm.firstChild);
1946
+ };
1947
+ var disconnectInstance = (instance, elm) => {
1948
+ {
1949
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1950
+ }
1951
+ };
1952
+ var disconnectedCallback = async (elm) => {
1953
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1954
+ const hostRef = getHostRef(elm);
1955
+ {
1956
+ if (hostRef.$rmListeners$) {
1957
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1958
+ hostRef.$rmListeners$ = void 0;
1959
+ }
1960
+ }
1961
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1962
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1963
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1964
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1965
+ }
1966
+ }
1967
+ if (rootAppliedStyles.has(elm)) {
1968
+ rootAppliedStyles.delete(elm);
1969
+ }
1970
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1971
+ rootAppliedStyles.delete(elm.shadowRoot);
1972
+ }
1973
+ };
1974
+
1975
+ // src/runtime/bootstrap-lazy.ts
1976
+ var bootstrapLazy = (lazyBundles, options = {}) => {
1977
+ var _a;
1978
+ if (!win.document) {
1979
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1980
+ return;
1981
+ }
1982
+ const endBootstrap = createTime();
1983
+ const cmpTags = [];
1984
+ const exclude = options.exclude || [];
1985
+ const customElements2 = win.customElements;
1986
+ const head = win.document.head;
1987
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1988
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1989
+ const deferredConnectedCallbacks = [];
1990
+ let appLoadFallback;
1991
+ let isBootstrapping = true;
1992
+ Object.assign(plt, options);
1993
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1994
+ let hasSlotRelocation = false;
1995
+ lazyBundles.map((lazyBundle) => {
1996
+ lazyBundle[1].map((compactMeta) => {
1997
+ var _a2;
1998
+ const cmpMeta = {
1999
+ $flags$: compactMeta[0],
2000
+ $tagName$: compactMeta[1],
2001
+ $members$: compactMeta[2],
2002
+ $listeners$: compactMeta[3]
2003
+ };
2004
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
2005
+ hasSlotRelocation = true;
2006
+ }
2007
+ {
2008
+ cmpMeta.$members$ = compactMeta[2];
2009
+ }
2010
+ {
2011
+ cmpMeta.$listeners$ = compactMeta[3];
2012
+ }
2013
+ {
2014
+ cmpMeta.$attrsToReflect$ = [];
2015
+ }
2016
+ {
2017
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
2018
+ }
2019
+ const tagName = cmpMeta.$tagName$;
2020
+ const HostElement = class extends HTMLElement {
2021
+ // StencilLazyHost
2022
+ constructor(self) {
2023
+ super(self);
2024
+ this.hasRegisteredEventListeners = false;
2025
+ self = this;
2026
+ registerHost(self, cmpMeta);
2027
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2028
+ {
2029
+ if (!self.shadowRoot) {
2030
+ {
2031
+ self.attachShadow({ mode: "open" });
2032
+ }
2033
+ } else {
2034
+ if (self.shadowRoot.mode !== "open") {
2035
+ throw new Error(
2036
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
2037
+ );
2038
+ }
2039
+ }
2040
+ }
2041
+ }
2042
+ }
2043
+ connectedCallback() {
2044
+ const hostRef = getHostRef(this);
2045
+ if (!this.hasRegisteredEventListeners) {
2046
+ this.hasRegisteredEventListeners = true;
2047
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
2048
+ }
2049
+ if (appLoadFallback) {
2050
+ clearTimeout(appLoadFallback);
2051
+ appLoadFallback = null;
2052
+ }
2053
+ if (isBootstrapping) {
2054
+ deferredConnectedCallbacks.push(this);
2055
+ } else {
2056
+ plt.jmp(() => connectedCallback(this));
2057
+ }
2058
+ }
2059
+ disconnectedCallback() {
2060
+ plt.jmp(() => disconnectedCallback(this));
2061
+ plt.raf(() => {
2062
+ var _a3;
2063
+ const hostRef = getHostRef(this);
2064
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
2065
+ if (i2 > -1) {
2066
+ deferredConnectedCallbacks.splice(i2, 1);
2067
+ }
2068
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
2069
+ delete hostRef.$vnode$.$elm$;
2070
+ }
2071
+ });
2072
+ }
2073
+ componentOnReady() {
2074
+ return getHostRef(this).$onReadyPromise$;
2075
+ }
2076
+ };
2077
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2078
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
2079
+ cmpTags.push(tagName);
2080
+ customElements2.define(
2081
+ tagName,
2082
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
2083
+ );
2084
+ }
2085
+ });
2086
+ });
2087
+ if (cmpTags.length > 0) {
2088
+ if (hasSlotRelocation) {
2089
+ dataStyles.textContent += SLOT_FB_CSS;
2090
+ }
2091
+ {
2092
+ dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
2093
+ }
2094
+ if (dataStyles.innerHTML.length) {
2095
+ dataStyles.setAttribute("data-styles", "");
2096
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
2097
+ if (nonce != null) {
2098
+ dataStyles.setAttribute("nonce", nonce);
2099
+ }
2100
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
2101
+ }
2102
+ }
2103
+ isBootstrapping = false;
2104
+ if (deferredConnectedCallbacks.length) {
2105
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2106
+ } else {
2107
+ {
2108
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
2109
+ }
2110
+ }
2111
+ endBootstrap();
2112
+ };
2113
+
2114
+ // src/runtime/fragment.ts
2115
+ var Fragment = (_, children) => children;
2116
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2117
+ if (listeners && win.document) {
2118
+ listeners.map(([flags, name, method]) => {
2119
+ const target = getHostListenerTarget(win.document, elm, flags) ;
2120
+ const handler = hostListenerProxy(hostRef, method);
2121
+ const opts = hostListenerOpts(flags);
2122
+ plt.ael(target, name, handler, opts);
2123
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2124
+ });
2125
+ }
2126
+ };
2127
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
2128
+ var _a;
2129
+ try {
2130
+ {
2131
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
2132
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
2133
+ } else {
2134
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2135
+ }
2136
+ }
2137
+ } catch (e) {
2138
+ consoleError(e, hostRef.$hostElement$);
2139
+ }
2140
+ };
2141
+ var getHostListenerTarget = (doc, elm, flags) => {
2142
+ if (flags & 8 /* TargetWindow */) {
2143
+ return win;
2144
+ }
2145
+ return elm;
2146
+ };
2147
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2148
+ passive: (flags & 1 /* Passive */) !== 0,
2149
+ capture: (flags & 2 /* Capture */) !== 0
2150
+ } : (flags & 2 /* Capture */) !== 0;
2151
+
2152
+ // src/runtime/nonce.ts
2153
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
2154
+
2155
+ export { Fragment as F, Host as H, getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r, setNonce as s, writeTask as w };