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

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 +62 -0
  2. package/dist/browser.js +1 -0
  3. package/dist/cjs/ChatHead-d2f094ec.js +46 -0
  4. package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
  5. package/dist/cjs/TextMessage-e9ca06aa.js +69 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/chat-46e7e4fe.js +217 -0
  8. package/dist/cjs/clone-2e9a4cae.js +754 -0
  9. package/dist/cjs/config-dba24e25.js +1183 -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-05554ce6.js +2191 -0
  18. package/dist/cjs/index-821d14b7.js +227 -0
  19. package/dist/cjs/index-daae8cee.js +26 -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-1948ed2f.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 +6378 -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 +138 -0
  42. package/dist/cjs/rtk-clock.cjs.entry.js +98 -0
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +49 -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 +150 -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 +106 -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 +117 -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 +80 -0
  88. package/dist/cjs/rtk-sidebar.cjs.entry.js +151 -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-a3c87828.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-3ddce955.js +1608 -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 +198 -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 +65 -0
  164. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +338 -0
  165. package/dist/collection/components/rtk-clock/rtk-clock.css +46 -0
  166. package/dist/collection/components/rtk-clock/rtk-clock.js +163 -0
  167. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +68 -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 +188 -0
  172. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +248 -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 +47 -0
  188. package/dist/collection/components/rtk-dialog/rtk-dialog.js +322 -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 +174 -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 +239 -0
  232. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +65 -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 +38 -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 +161 -0
  273. package/dist/collection/components/rtk-notification/rtk-notification.js +226 -0
  274. package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
  275. package/dist/collection/components/rtk-notifications/rtk-notifications.js +736 -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 +42 -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 +50 -0
  297. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +348 -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 +301 -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 +51 -0
  319. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +315 -0
  320. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +63 -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 +417 -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 +289 -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 +61 -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 +324 -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 +359 -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-02f19345.js +50 -0
  439. package/dist/components/p-0752f2ba.js +13 -0
  440. package/dist/components/p-0a9d8224.js +168 -0
  441. package/dist/components/p-0abe4b8a.js +200 -0
  442. package/dist/components/p-0c4a1808.js +305 -0
  443. package/dist/components/p-0c94b402.js +309 -0
  444. package/dist/components/p-0e02697c.js +85 -0
  445. package/dist/components/p-0ea515b2.js +108 -0
  446. package/dist/components/p-0eab3933.js +97 -0
  447. package/dist/components/p-10182034.js +61 -0
  448. package/dist/components/p-10759cad.js +95 -0
  449. package/dist/components/p-135d5d2f.js +82 -0
  450. package/dist/components/p-1a546cf4.js +628 -0
  451. package/dist/components/p-24e9b37b.js +157 -0
  452. package/dist/components/p-24ffce5a.js +227 -0
  453. package/dist/components/p-260b86da.js +131 -0
  454. package/dist/components/p-2c3cda13.js +164 -0
  455. package/dist/components/p-2ecf028f.js +168 -0
  456. package/dist/components/p-2f2fb96d.js +62 -0
  457. package/dist/components/p-31964573.js +1892 -0
  458. package/dist/components/p-31a1dc4d.js +159 -0
  459. package/dist/components/p-31ce3b90.js +182 -0
  460. package/dist/components/p-32d788e7.js +149 -0
  461. package/dist/components/p-3358d7dc.js +108 -0
  462. package/dist/components/p-338c7261.js +58 -0
  463. package/dist/components/p-35d6211b.js +81 -0
  464. package/dist/components/p-382270d8.js +32 -0
  465. package/dist/components/p-3d845f44.js +131 -0
  466. package/dist/components/p-3f882e7c.js +299 -0
  467. package/dist/components/p-406292be.js +68 -0
  468. package/dist/components/p-4096426e.js +92 -0
  469. package/dist/components/p-4307888c.js +96 -0
  470. package/dist/components/p-4608147b.js +105 -0
  471. package/dist/components/p-46690510.js +157 -0
  472. package/dist/components/p-46923b34.js +1409 -0
  473. package/dist/components/p-4880c342.js +148 -0
  474. package/dist/components/p-4a436e2d.js +1178 -0
  475. package/dist/components/p-4cc0e9a5.js +64 -0
  476. package/dist/components/p-4cedc9e8.js +105 -0
  477. package/dist/components/p-4e3d7f9d.js +95 -0
  478. package/dist/components/p-50ecaaf1.js +42 -0
  479. package/dist/components/p-5279fae9.js +125 -0
  480. package/dist/components/p-55598b38.js +76 -0
  481. package/dist/components/p-5605a420.js +3 -0
  482. package/dist/components/p-563bc723.js +156 -0
  483. package/dist/components/p-56919690.js +29080 -0
  484. package/dist/components/p-59ea0ce1.js +116 -0
  485. package/dist/components/p-59fb6900.js +204 -0
  486. package/dist/components/p-5c3d1c4f.js +148 -0
  487. package/dist/components/p-5ffcbba3.js +95 -0
  488. package/dist/components/p-606ca241.js +119 -0
  489. package/dist/components/p-60fdbd75.js +224 -0
  490. package/dist/components/p-62a6b783.js +194 -0
  491. package/dist/components/p-68b6f23b.js +223 -0
  492. package/dist/components/p-71e0f6f2.js +79 -0
  493. package/dist/components/p-734a10e4.js +86 -0
  494. package/dist/components/p-7a7d1710.js +134 -0
  495. package/dist/components/p-81f4e985.js +63 -0
  496. package/dist/components/p-898da6ae.js +307 -0
  497. package/dist/components/p-8f99c783.js +316 -0
  498. package/dist/components/p-922f201f.js +103 -0
  499. package/dist/components/p-935b5e0f.js +77 -0
  500. package/dist/components/p-965a4bd9.js +101 -0
  501. package/dist/components/p-96be234f.js +26 -0
  502. package/dist/components/p-9c17c7ce.js +93 -0
  503. package/dist/components/p-9cace38c.js +203 -0
  504. package/dist/components/p-9cfe5c7c.js +353 -0
  505. package/dist/components/p-9da5b9d0.js +211 -0
  506. package/dist/components/p-9fc565cf.js +57 -0
  507. package/dist/components/p-a08b5a59.js +329 -0
  508. package/dist/components/p-a24309fd.js +118 -0
  509. package/dist/components/p-a2f4f9e3.js +67 -0
  510. package/dist/components/p-a41e1b94.js +161 -0
  511. package/dist/components/p-a83ccdbd.js +40 -0
  512. package/dist/components/p-aa9ee9a5.js +180 -0
  513. package/dist/components/p-ab87c5be.js +178 -0
  514. package/dist/components/p-ae239151.js +150 -0
  515. package/dist/components/p-b12e5011.js +115 -0
  516. package/dist/components/p-b13ddb7d.js +96 -0
  517. package/dist/components/p-b3537ccc.js +69 -0
  518. package/dist/components/p-b373da43.js +357 -0
  519. package/dist/components/p-b39c779d.js +114 -0
  520. package/dist/components/p-bcb91396.js +43 -0
  521. package/dist/components/p-bdbaa65b.js +83 -0
  522. package/dist/components/p-c11b2f37.js +45 -0
  523. package/dist/components/p-c15d924f.js +752 -0
  524. package/dist/components/p-c2723ebb.js +213 -0
  525. package/dist/components/p-c27c353f.js +128 -0
  526. package/dist/components/p-c3592601.js +1641 -0
  527. package/dist/components/p-c7dcb441.js +57 -0
  528. package/dist/components/p-c939f92d.js +114 -0
  529. package/dist/components/p-cbdd7a99.js +542 -0
  530. package/dist/components/p-cd50770d.js +127 -0
  531. package/dist/components/p-d5791958.js +24 -0
  532. package/dist/components/p-dba3cdd1.js +951 -0
  533. package/dist/components/p-ddf6148a.js +125 -0
  534. package/dist/components/p-e2b78972.js +153 -0
  535. package/dist/components/p-e3b59650.js +155 -0
  536. package/dist/components/p-e3ffbf6c.js +124 -0
  537. package/dist/components/p-e4376670.js +162 -0
  538. package/dist/components/p-e542eda6.js +264 -0
  539. package/dist/components/p-e6d09c50.js +1544 -0
  540. package/dist/components/p-eb10c563.js +390 -0
  541. package/dist/components/p-ece96324.js +107 -0
  542. package/dist/components/p-ef376a73.js +103 -0
  543. package/dist/components/p-f0dfdfea.js +120 -0
  544. package/dist/components/p-f33bb583.js +199 -0
  545. package/dist/components/p-f47d4fe8.js +928 -0
  546. package/dist/components/p-f6046472.js +85 -0
  547. package/dist/components/p-fe278fba.js +215 -0
  548. package/dist/components/p-febe3ebc.js +11 -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 +186 -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 +127 -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 +199 -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 +152 -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 +164 -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 +231 -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 +239263 -0
  827. package/dist/docs/docs-vscode.json +4429 -0
  828. package/dist/esm/ChatHead-cf7a7e22.js +41 -0
  829. package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
  830. package/dist/esm/TextMessage-efd224db.js +67 -0
  831. package/dist/esm/app-globals-0f993ce5.js +3 -0
  832. package/dist/esm/chat-c25836b0.js +200 -0
  833. package/dist/esm/clone-acd4af50.js +752 -0
  834. package/dist/esm/config-1ca1ba30.js +1178 -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-6aaa85ca.js +24 -0
  843. package/dist/esm/index-c1fb98bb.js +2158 -0
  844. package/dist/esm/index-d31a2e33.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 +56266 -0
  849. package/dist/esm/logger-31448943.js +3 -0
  850. package/dist/esm/notification-800f2bcd.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 +6321 -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 +134 -0
  867. package/dist/esm/rtk-clock.entry.js +94 -0
  868. package/dist/esm/rtk-controlbar-button.entry.js +45 -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 +146 -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 +102 -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 +113 -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 +76 -0
  913. package/dist/esm/rtk-sidebar.entry.js +147 -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-cafaa8d3.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-b453cdf2.js +1582 -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-01f5aba6.entry.js +1 -0
  932. package/dist/realtimekit-ui/p-02f19345.js +1 -0
  933. package/dist/realtimekit-ui/p-03a04390.entry.js +1 -0
  934. package/dist/realtimekit-ui/p-050f0b1f.entry.js +1 -0
  935. package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
  936. package/dist/realtimekit-ui/p-0a1d9e02.entry.js +1 -0
  937. package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
  938. package/dist/realtimekit-ui/p-0d4db84d.entry.js +1 -0
  939. package/dist/realtimekit-ui/p-0e777b3f.entry.js +1 -0
  940. package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
  941. package/dist/realtimekit-ui/p-131b1e94.entry.js +1 -0
  942. package/dist/realtimekit-ui/p-139da463.entry.js +1 -0
  943. package/dist/realtimekit-ui/p-18fdb6bb.entry.js +1 -0
  944. package/dist/realtimekit-ui/p-235b7aa8.entry.js +1 -0
  945. package/dist/realtimekit-ui/p-238a19f8.entry.js +1 -0
  946. package/dist/realtimekit-ui/p-29802710.entry.js +1 -0
  947. package/dist/realtimekit-ui/p-2aa242f4.js +1 -0
  948. package/dist/realtimekit-ui/p-2bfa32da.entry.js +1 -0
  949. package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
  950. package/dist/realtimekit-ui/p-31964573.js +1 -0
  951. package/dist/realtimekit-ui/p-338c7261.js +1 -0
  952. package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
  953. package/dist/realtimekit-ui/p-3fd79328.entry.js +1 -0
  954. package/dist/realtimekit-ui/p-42a64cbb.entry.js +1 -0
  955. package/dist/realtimekit-ui/p-44915a3b.entry.js +1 -0
  956. package/dist/realtimekit-ui/p-457a0412.entry.js +1 -0
  957. package/dist/realtimekit-ui/p-46923b34.js +1 -0
  958. package/dist/realtimekit-ui/p-4b882b41.js +1 -0
  959. package/dist/realtimekit-ui/p-4d8ab9a5.entry.js +1 -0
  960. package/dist/realtimekit-ui/p-4f2ec64b.entry.js +1 -0
  961. package/dist/realtimekit-ui/p-4f45e362.entry.js +1 -0
  962. package/dist/realtimekit-ui/p-4ff47eb0.entry.js +1 -0
  963. package/dist/realtimekit-ui/p-5325b5e5.entry.js +1 -0
  964. package/dist/realtimekit-ui/p-55040827.entry.js +1 -0
  965. package/dist/realtimekit-ui/p-55503b00.entry.js +1 -0
  966. package/dist/realtimekit-ui/p-556db3a1.entry.js +1 -0
  967. package/dist/realtimekit-ui/p-5605a420.js +1 -0
  968. package/dist/realtimekit-ui/p-560c3d93.entry.js +1 -0
  969. package/dist/realtimekit-ui/p-58e58de6.entry.js +1 -0
  970. package/dist/realtimekit-ui/p-5b15e3cf.entry.js +1 -0
  971. package/dist/realtimekit-ui/p-61c38e05.entry.js +1 -0
  972. package/dist/realtimekit-ui/p-621a7265.entry.js +1 -0
  973. package/dist/realtimekit-ui/p-679bd218.entry.js +1 -0
  974. package/dist/realtimekit-ui/p-6be9be47.entry.js +1 -0
  975. package/dist/realtimekit-ui/p-6c238609.entry.js +1 -0
  976. package/dist/realtimekit-ui/p-6ededa68.js +1 -0
  977. package/dist/realtimekit-ui/p-73bc3abd.entry.js +1 -0
  978. package/dist/realtimekit-ui/p-7536cb87.entry.js +1 -0
  979. package/dist/realtimekit-ui/p-7c1a2584.entry.js +1 -0
  980. package/dist/realtimekit-ui/p-7dbd2a25.entry.js +1 -0
  981. package/dist/realtimekit-ui/p-807dd186.entry.js +1 -0
  982. package/dist/realtimekit-ui/p-85ff4a34.entry.js +1 -0
  983. package/dist/realtimekit-ui/p-89f6a08a.entry.js +1 -0
  984. package/dist/realtimekit-ui/p-8cc2459d.entry.js +1 -0
  985. package/dist/realtimekit-ui/p-8fe6b03c.entry.js +1 -0
  986. package/dist/realtimekit-ui/p-917f2951.entry.js +1 -0
  987. package/dist/realtimekit-ui/p-93f881e2.entry.js +1 -0
  988. package/dist/realtimekit-ui/p-9435f236.entry.js +1 -0
  989. package/dist/realtimekit-ui/p-94b739b4.entry.js +1 -0
  990. package/dist/realtimekit-ui/p-96be234f.js +1 -0
  991. package/dist/realtimekit-ui/p-9946b484.entry.js +1 -0
  992. package/dist/realtimekit-ui/p-9bbe1d7c.entry.js +1 -0
  993. package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
  994. package/dist/realtimekit-ui/p-9ff45356.entry.js +1 -0
  995. package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
  996. package/dist/realtimekit-ui/p-a5d22edf.entry.js +1 -0
  997. package/dist/realtimekit-ui/p-a6f03681.entry.js +1 -0
  998. package/dist/realtimekit-ui/p-a738a7b3.entry.js +1 -0
  999. package/dist/realtimekit-ui/p-aaba206b.js +1 -0
  1000. package/dist/realtimekit-ui/p-ac91f9f9.entry.js +1 -0
  1001. package/dist/realtimekit-ui/p-affaaf1a.entry.js +1 -0
  1002. package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
  1003. package/dist/realtimekit-ui/p-b14563cb.entry.js +1 -0
  1004. package/dist/realtimekit-ui/p-b16cee89.js +1 -0
  1005. package/dist/realtimekit-ui/p-b62f9abb.entry.js +1 -0
  1006. package/dist/realtimekit-ui/p-b80f1bed.entry.js +1 -0
  1007. package/dist/realtimekit-ui/p-bc17c582.entry.js +1 -0
  1008. package/dist/realtimekit-ui/p-bf56688f.entry.js +1 -0
  1009. package/dist/realtimekit-ui/p-c15d924f.js +1 -0
  1010. package/dist/realtimekit-ui/p-c6f7cd03.entry.js +1 -0
  1011. package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
  1012. package/dist/realtimekit-ui/p-c8f8b690.entry.js +1 -0
  1013. package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
  1014. package/dist/realtimekit-ui/p-d013442a.entry.js +1 -0
  1015. package/dist/realtimekit-ui/p-d075d673.entry.js +1 -0
  1016. package/dist/realtimekit-ui/p-d77f7f22.entry.js +1 -0
  1017. package/dist/realtimekit-ui/p-d9217d24.entry.js +1 -0
  1018. package/dist/realtimekit-ui/p-d9e81b11.entry.js +1 -0
  1019. package/dist/realtimekit-ui/p-dbb95589.entry.js +1 -0
  1020. package/dist/realtimekit-ui/p-e1255160.js +1 -0
  1021. package/dist/realtimekit-ui/p-e13b5128.entry.js +1 -0
  1022. package/dist/realtimekit-ui/p-e171b1c4.entry.js +1 -0
  1023. package/dist/realtimekit-ui/p-e80cf367.entry.js +1 -0
  1024. package/dist/realtimekit-ui/p-ee167b96.js +1 -0
  1025. package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
  1026. package/dist/realtimekit-ui/p-f7c6931d.entry.js +1 -0
  1027. package/dist/realtimekit-ui/p-fc36f92c.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 +50 -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 +38 -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 +30 -0
  1115. package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +69 -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 +49 -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 +42 -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 +46 -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 +49 -0
  1148. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +120 -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 +11544 -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 +59 -3
@@ -0,0 +1,1641 @@
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", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: false, 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: true, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, 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 registerHost = (hostElement, cmpMeta) => {
21
+ const hostRef = {
22
+ $flags$: 0,
23
+ $hostElement$: hostElement,
24
+ $cmpMeta$: cmpMeta,
25
+ $instanceValues$: /* @__PURE__ */ new Map()
26
+ };
27
+ {
28
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
29
+ hostElement["s-p"] = [];
30
+ hostElement["s-rc"] = [];
31
+ }
32
+ const ref = hostRef;
33
+ hostElement.__stencil__getHostRef = () => ref;
34
+ return ref;
35
+ };
36
+ var isMemberInElement = (elm, memberName) => memberName in elm;
37
+ var consoleError = (e, el) => (0, console.error)(e, el);
38
+
39
+ // src/client/client-style.ts
40
+ var styles = /* @__PURE__ */ new Map();
41
+ var HYDRATED_STYLE_ID = "sty-id";
42
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
43
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
44
+ var win = typeof window !== "undefined" ? window : {};
45
+ var H = win.HTMLElement || class {
46
+ };
47
+ var plt = {
48
+ $flags$: 0,
49
+ $resourcesUrl$: "",
50
+ jmp: (h2) => h2(),
51
+ raf: (h2) => requestAnimationFrame(h2),
52
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
53
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
54
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
55
+ };
56
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
57
+ var _a;
58
+ let supportsListenerOptions2 = false;
59
+ try {
60
+ (_a = win.document) == null ? void 0 : _a.addEventListener(
61
+ "e",
62
+ null,
63
+ Object.defineProperty({}, "passive", {
64
+ get() {
65
+ supportsListenerOptions2 = true;
66
+ }
67
+ })
68
+ );
69
+ } catch (e) {
70
+ }
71
+ return supportsListenerOptions2;
72
+ })();
73
+ var promiseResolve = (v) => Promise.resolve(v);
74
+ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
75
+ try {
76
+ new CSSStyleSheet();
77
+ return typeof new CSSStyleSheet().replaceSync === "function";
78
+ } catch (e) {
79
+ }
80
+ return false;
81
+ })() ;
82
+ var queuePending = false;
83
+ var queueDomReads = [];
84
+ var queueDomWrites = [];
85
+ var queueTask = (queue, write) => (cb) => {
86
+ queue.push(cb);
87
+ if (!queuePending) {
88
+ queuePending = true;
89
+ if (write && plt.$flags$ & 4 /* queueSync */) {
90
+ nextTick(flush);
91
+ } else {
92
+ plt.raf(flush);
93
+ }
94
+ }
95
+ };
96
+ var consume = (queue) => {
97
+ for (let i2 = 0; i2 < queue.length; i2++) {
98
+ try {
99
+ queue[i2](performance.now());
100
+ } catch (e) {
101
+ consoleError(e);
102
+ }
103
+ }
104
+ queue.length = 0;
105
+ };
106
+ var flush = () => {
107
+ consume(queueDomReads);
108
+ {
109
+ consume(queueDomWrites);
110
+ if (queuePending = queueDomReads.length > 0) {
111
+ plt.raf(flush);
112
+ }
113
+ }
114
+ };
115
+ var nextTick = (cb) => promiseResolve().then(cb);
116
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
117
+
118
+ // src/runtime/asset-path.ts
119
+ var getAssetPath = (path) => {
120
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
121
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
122
+ };
123
+ var setAssetPath = (path) => plt.$resourcesUrl$ = path;
124
+ var isComplexType = (o) => {
125
+ o = typeof o;
126
+ return o === "object" || o === "function";
127
+ };
128
+
129
+ // src/utils/query-nonce-meta-tag-content.ts
130
+ function queryNonceMetaTagContent(doc) {
131
+ var _a, _b, _c;
132
+ 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;
133
+ }
134
+
135
+ // src/utils/result.ts
136
+ var result_exports = {};
137
+ __export(result_exports, {
138
+ err: () => err,
139
+ map: () => map,
140
+ ok: () => ok,
141
+ unwrap: () => unwrap,
142
+ unwrapErr: () => unwrapErr
143
+ });
144
+ var ok = (value) => ({
145
+ isOk: true,
146
+ isErr: false,
147
+ value
148
+ });
149
+ var err = (value) => ({
150
+ isOk: false,
151
+ isErr: true,
152
+ value
153
+ });
154
+ function map(result, fn) {
155
+ if (result.isOk) {
156
+ const val = fn(result.value);
157
+ if (val instanceof Promise) {
158
+ return val.then((newVal) => ok(newVal));
159
+ } else {
160
+ return ok(val);
161
+ }
162
+ }
163
+ if (result.isErr) {
164
+ const value = result.value;
165
+ return err(value);
166
+ }
167
+ throw "should never get here";
168
+ }
169
+ var unwrap = (result) => {
170
+ if (result.isOk) {
171
+ return result.value;
172
+ } else {
173
+ throw result.value;
174
+ }
175
+ };
176
+ var unwrapErr = (result) => {
177
+ if (result.isErr) {
178
+ return result.value;
179
+ } else {
180
+ throw result.value;
181
+ }
182
+ };
183
+ var updateFallbackSlotVisibility = (elm) => {
184
+ const childNodes = internalCall(elm, "childNodes");
185
+ if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
186
+ getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
187
+ if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
188
+ if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
189
+ slotNode.hidden = true;
190
+ } else {
191
+ slotNode.hidden = false;
192
+ }
193
+ }
194
+ });
195
+ }
196
+ let i2 = 0;
197
+ for (i2 = 0; i2 < childNodes.length; i2++) {
198
+ const childNode = childNodes[i2];
199
+ if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
200
+ updateFallbackSlotVisibility(childNode);
201
+ }
202
+ }
203
+ };
204
+ var getSlottedChildNodes = (childNodes) => {
205
+ const result = [];
206
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
207
+ const slottedNode = childNodes[i2]["s-nr"] || void 0;
208
+ if (slottedNode && slottedNode.isConnected) {
209
+ result.push(slottedNode);
210
+ }
211
+ }
212
+ return result;
213
+ };
214
+ function getHostSlotNodes(childNodes, hostName, slotName) {
215
+ let i2 = 0;
216
+ let slottedNodes = [];
217
+ let childNode;
218
+ for (; i2 < childNodes.length; i2++) {
219
+ childNode = childNodes[i2];
220
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
221
+ slottedNodes.push(childNode);
222
+ if (typeof slotName !== "undefined") return slottedNodes;
223
+ }
224
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
225
+ }
226
+ return slottedNodes;
227
+ }
228
+ var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
229
+ const childNodes = [];
230
+ if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
231
+ let node = slot;
232
+ while (node = node.nextSibling) {
233
+ if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
234
+ }
235
+ return childNodes;
236
+ };
237
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
238
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
239
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
240
+ return true;
241
+ }
242
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
243
+ return true;
244
+ }
245
+ return false;
246
+ }
247
+ if (nodeToRelocate["s-sn"] === slotName) {
248
+ return true;
249
+ }
250
+ return slotName === "";
251
+ };
252
+ var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
253
+ function patchSlotNode(node) {
254
+ if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
255
+ const assignedFactory = (elementsOnly) => (function(opts) {
256
+ const toReturn = [];
257
+ const slotName = this["s-sn"];
258
+ if (opts == null ? void 0 : opts.flatten) {
259
+ console.error(`
260
+ Flattening is not supported for Stencil non-shadow slots.
261
+ You can use \`.childNodes\` to nested slot fallback content.
262
+ If you have a particular use case, please open an issue on the Stencil repo.
263
+ `);
264
+ }
265
+ const parent = this["s-cr"].parentElement;
266
+ const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
267
+ slottedNodes.forEach((n) => {
268
+ if (slotName === getSlotName(n)) {
269
+ toReturn.push(n);
270
+ }
271
+ });
272
+ if (elementsOnly) {
273
+ return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
274
+ }
275
+ return toReturn;
276
+ }).bind(node);
277
+ node.assignedElements = assignedFactory(true);
278
+ node.assignedNodes = assignedFactory(false);
279
+ }
280
+ function internalCall(node, method) {
281
+ if ("__" + method in node) {
282
+ const toReturn = node["__" + method];
283
+ if (typeof toReturn !== "function") return toReturn;
284
+ return toReturn.bind(node);
285
+ } else {
286
+ if (typeof node[method] !== "function") return node[method];
287
+ return node[method].bind(node);
288
+ }
289
+ }
290
+ var createTime = (fnName, tagName = "") => {
291
+ {
292
+ return () => {
293
+ return;
294
+ };
295
+ }
296
+ };
297
+ var h = (nodeName, vnodeData, ...children) => {
298
+ let child = null;
299
+ let key = null;
300
+ let slotName = null;
301
+ let simple = false;
302
+ let lastSimple = false;
303
+ const vNodeChildren = [];
304
+ const walk = (c) => {
305
+ for (let i2 = 0; i2 < c.length; i2++) {
306
+ child = c[i2];
307
+ if (Array.isArray(child)) {
308
+ walk(child);
309
+ } else if (child != null && typeof child !== "boolean") {
310
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
311
+ child = String(child);
312
+ }
313
+ if (simple && lastSimple) {
314
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
315
+ } else {
316
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
317
+ }
318
+ lastSimple = simple;
319
+ }
320
+ }
321
+ };
322
+ walk(children);
323
+ if (vnodeData) {
324
+ if (vnodeData.key) {
325
+ key = vnodeData.key;
326
+ }
327
+ if (vnodeData.name) {
328
+ slotName = vnodeData.name;
329
+ }
330
+ {
331
+ const classData = vnodeData.className || vnodeData.class;
332
+ if (classData) {
333
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
334
+ }
335
+ }
336
+ }
337
+ if (typeof nodeName === "function") {
338
+ return nodeName(
339
+ vnodeData === null ? {} : vnodeData,
340
+ vNodeChildren,
341
+ vdomFnUtils
342
+ );
343
+ }
344
+ const vnode = newVNode(nodeName, null);
345
+ vnode.$attrs$ = vnodeData;
346
+ if (vNodeChildren.length > 0) {
347
+ vnode.$children$ = vNodeChildren;
348
+ }
349
+ {
350
+ vnode.$key$ = key;
351
+ }
352
+ {
353
+ vnode.$name$ = slotName;
354
+ }
355
+ return vnode;
356
+ };
357
+ var newVNode = (tag, text) => {
358
+ const vnode = {
359
+ $flags$: 0,
360
+ $tag$: tag,
361
+ $text$: text,
362
+ $elm$: null,
363
+ $children$: null
364
+ };
365
+ {
366
+ vnode.$attrs$ = null;
367
+ }
368
+ {
369
+ vnode.$key$ = null;
370
+ }
371
+ {
372
+ vnode.$name$ = null;
373
+ }
374
+ return vnode;
375
+ };
376
+ var Host = {};
377
+ var isHost = (node) => node && node.$tag$ === Host;
378
+ var vdomFnUtils = {
379
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
380
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
381
+ };
382
+ var convertToPublic = (node) => ({
383
+ vattrs: node.$attrs$,
384
+ vchildren: node.$children$,
385
+ vkey: node.$key$,
386
+ vname: node.$name$,
387
+ vtag: node.$tag$,
388
+ vtext: node.$text$
389
+ });
390
+ var convertToPrivate = (node) => {
391
+ if (typeof node.vtag === "function") {
392
+ const vnodeData = { ...node.vattrs };
393
+ if (node.vkey) {
394
+ vnodeData.key = node.vkey;
395
+ }
396
+ if (node.vname) {
397
+ vnodeData.name = node.vname;
398
+ }
399
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
400
+ }
401
+ const vnode = newVNode(node.vtag, node.vtext);
402
+ vnode.$attrs$ = node.vattrs;
403
+ vnode.$children$ = node.vchildren;
404
+ vnode.$key$ = node.vkey;
405
+ vnode.$name$ = node.vname;
406
+ return vnode;
407
+ };
408
+ var parsePropertyValue = (propValue, propType) => {
409
+ if (propValue != null && !isComplexType(propValue)) {
410
+ if (propType & 4 /* Boolean */) {
411
+ return propValue === "false" ? false : propValue === "" || !!propValue;
412
+ }
413
+ if (propType & 2 /* Number */) {
414
+ return parseFloat(propValue);
415
+ }
416
+ if (propType & 1 /* String */) {
417
+ return String(propValue);
418
+ }
419
+ return propValue;
420
+ }
421
+ return propValue;
422
+ };
423
+ var getElement = (ref) => ref;
424
+
425
+ // src/runtime/event-emitter.ts
426
+ var createEvent = (ref, name, flags) => {
427
+ const elm = getElement(ref);
428
+ return {
429
+ emit: (detail) => {
430
+ return emitEvent(elm, name, {
431
+ bubbles: !!(flags & 4 /* Bubbles */),
432
+ composed: !!(flags & 2 /* Composed */),
433
+ cancelable: !!(flags & 1 /* Cancellable */),
434
+ detail
435
+ });
436
+ }
437
+ };
438
+ };
439
+ var emitEvent = (elm, name, opts) => {
440
+ const ev = plt.ce(name, opts);
441
+ elm.dispatchEvent(ev);
442
+ return ev;
443
+ };
444
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
445
+ var registerStyle = (scopeId2, cssText, allowCS) => {
446
+ let style = styles.get(scopeId2);
447
+ if (supportsConstructableStylesheets && allowCS) {
448
+ style = style || new CSSStyleSheet();
449
+ if (typeof style === "string") {
450
+ style = cssText;
451
+ } else {
452
+ style.replaceSync(cssText);
453
+ }
454
+ } else {
455
+ style = cssText;
456
+ }
457
+ styles.set(scopeId2, style);
458
+ };
459
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
460
+ var _a;
461
+ const scopeId2 = getScopeId(cmpMeta);
462
+ const style = styles.get(scopeId2);
463
+ if (!win.document) {
464
+ return scopeId2;
465
+ }
466
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
467
+ if (style) {
468
+ if (typeof style === "string") {
469
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
470
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
471
+ let styleElm;
472
+ if (!appliedStyles) {
473
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
474
+ }
475
+ if (!appliedStyles.has(scopeId2)) {
476
+ {
477
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
478
+ styleElm.innerHTML = style;
479
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
480
+ if (nonce != null) {
481
+ styleElm.setAttribute("nonce", nonce);
482
+ }
483
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
484
+ if (styleContainerNode.nodeName === "HEAD") {
485
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
486
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
487
+ styleContainerNode.insertBefore(
488
+ styleElm,
489
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
490
+ );
491
+ } else if ("host" in styleContainerNode) {
492
+ if (supportsConstructableStylesheets) {
493
+ const stylesheet = new CSSStyleSheet();
494
+ stylesheet.replaceSync(style);
495
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
496
+ } else {
497
+ const existingStyleContainer = styleContainerNode.querySelector("style");
498
+ if (existingStyleContainer) {
499
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
500
+ } else {
501
+ styleContainerNode.prepend(styleElm);
502
+ }
503
+ }
504
+ } else {
505
+ styleContainerNode.append(styleElm);
506
+ }
507
+ }
508
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
509
+ styleContainerNode.insertBefore(styleElm, null);
510
+ }
511
+ }
512
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
513
+ styleElm.innerHTML += SLOT_FB_CSS;
514
+ }
515
+ if (appliedStyles) {
516
+ appliedStyles.add(scopeId2);
517
+ }
518
+ }
519
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
520
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
521
+ }
522
+ }
523
+ return scopeId2;
524
+ };
525
+ var attachStyles = (hostRef) => {
526
+ const cmpMeta = hostRef.$cmpMeta$;
527
+ const elm = hostRef.$hostElement$;
528
+ const flags = cmpMeta.$flags$;
529
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
530
+ const scopeId2 = addStyle(
531
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
532
+ cmpMeta);
533
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
534
+ elm["s-sc"] = scopeId2;
535
+ elm.classList.add(scopeId2 + "-h");
536
+ }
537
+ endAttachStyles();
538
+ };
539
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
540
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
541
+ if (oldValue === newValue) {
542
+ return;
543
+ }
544
+ let isProp = isMemberInElement(elm, memberName);
545
+ let ln = memberName.toLowerCase();
546
+ if (memberName === "class") {
547
+ const classList = elm.classList;
548
+ const oldClasses = parseClassList(oldValue);
549
+ let newClasses = parseClassList(newValue);
550
+ {
551
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
552
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
553
+ }
554
+ } else if (memberName === "style") {
555
+ {
556
+ for (const prop in oldValue) {
557
+ if (!newValue || newValue[prop] == null) {
558
+ if (prop.includes("-")) {
559
+ elm.style.removeProperty(prop);
560
+ } else {
561
+ elm.style[prop] = "";
562
+ }
563
+ }
564
+ }
565
+ }
566
+ for (const prop in newValue) {
567
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
568
+ if (prop.includes("-")) {
569
+ elm.style.setProperty(prop, newValue[prop]);
570
+ } else {
571
+ elm.style[prop] = newValue[prop];
572
+ }
573
+ }
574
+ }
575
+ } else if (memberName === "key") ; else if (memberName === "ref") {
576
+ if (newValue) {
577
+ newValue(elm);
578
+ }
579
+ } else if ((!elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
580
+ if (memberName[2] === "-") {
581
+ memberName = memberName.slice(3);
582
+ } else if (isMemberInElement(win, ln)) {
583
+ memberName = ln.slice(2);
584
+ } else {
585
+ memberName = ln[2] + memberName.slice(3);
586
+ }
587
+ if (oldValue || newValue) {
588
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
589
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
590
+ if (oldValue) {
591
+ plt.rel(elm, memberName, oldValue, capture);
592
+ }
593
+ if (newValue) {
594
+ plt.ael(elm, memberName, newValue, capture);
595
+ }
596
+ }
597
+ } else {
598
+ const isComplex = isComplexType(newValue);
599
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
600
+ try {
601
+ if (!elm.tagName.includes("-")) {
602
+ const n = newValue == null ? "" : newValue;
603
+ if (memberName === "list") {
604
+ isProp = false;
605
+ } else if (oldValue == null || elm[memberName] != n) {
606
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
607
+ elm[memberName] = n;
608
+ } else {
609
+ elm.setAttribute(memberName, n);
610
+ }
611
+ }
612
+ } else if (elm[memberName] !== newValue) {
613
+ elm[memberName] = newValue;
614
+ }
615
+ } catch (e) {
616
+ }
617
+ }
618
+ let xlink = false;
619
+ {
620
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
621
+ memberName = ln;
622
+ xlink = true;
623
+ }
624
+ }
625
+ if (newValue == null || newValue === false) {
626
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
627
+ if (xlink) {
628
+ elm.removeAttributeNS(XLINK_NS, memberName);
629
+ } else {
630
+ elm.removeAttribute(memberName);
631
+ }
632
+ }
633
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
634
+ newValue = newValue === true ? "" : newValue;
635
+ if (xlink) {
636
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
637
+ } else {
638
+ elm.setAttribute(memberName, newValue);
639
+ }
640
+ }
641
+ }
642
+ };
643
+ var parseClassListRegex = /\s/;
644
+ var parseClassList = (value) => {
645
+ if (typeof value === "object" && value && "baseVal" in value) {
646
+ value = value.baseVal;
647
+ }
648
+ if (!value || typeof value !== "string") {
649
+ return [];
650
+ }
651
+ return value.split(parseClassListRegex);
652
+ };
653
+ var CAPTURE_EVENT_SUFFIX = "Capture";
654
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
655
+
656
+ // src/runtime/vdom/update-element.ts
657
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
658
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
659
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
660
+ const newVnodeAttrs = newVnode.$attrs$ || {};
661
+ {
662
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
663
+ if (!(memberName in newVnodeAttrs)) {
664
+ setAccessor(
665
+ elm,
666
+ memberName,
667
+ oldVnodeAttrs[memberName],
668
+ void 0,
669
+ isSvgMode2,
670
+ newVnode.$flags$);
671
+ }
672
+ }
673
+ }
674
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
675
+ setAccessor(
676
+ elm,
677
+ memberName,
678
+ oldVnodeAttrs[memberName],
679
+ newVnodeAttrs[memberName],
680
+ isSvgMode2,
681
+ newVnode.$flags$);
682
+ }
683
+ };
684
+ function sortedAttrNames(attrNames) {
685
+ return attrNames.includes("ref") ? (
686
+ // we need to sort these to ensure that `'ref'` is the last attr
687
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
688
+ ) : (
689
+ // no need to sort, return the original array
690
+ attrNames
691
+ );
692
+ }
693
+ var contentRef;
694
+ var hostTagName;
695
+ var useNativeShadowDom = false;
696
+ var checkSlotFallbackVisibility = false;
697
+ var checkSlotRelocate = false;
698
+ var isSvgMode = false;
699
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
700
+ var _a;
701
+ const newVNode2 = newParentVNode.$children$[childIndex];
702
+ let i2 = 0;
703
+ let elm;
704
+ let childNode;
705
+ let oldVNode;
706
+ if (!useNativeShadowDom) {
707
+ checkSlotRelocate = true;
708
+ if (newVNode2.$tag$ === "slot") {
709
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
710
+ // slot element has fallback content
711
+ // still create an element that "mocks" the slot element
712
+ 2 /* isSlotFallback */
713
+ ) : (
714
+ // slot element does not have fallback content
715
+ // create an html comment we'll use to always reference
716
+ // where actual slot content should sit next to
717
+ 1 /* isSlotReference */
718
+ );
719
+ }
720
+ }
721
+ if (newVNode2.$text$ !== null) {
722
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
723
+ } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
724
+ elm = newVNode2.$elm$ = win.document.createTextNode("");
725
+ {
726
+ updateElement(null, newVNode2, isSvgMode);
727
+ }
728
+ } else {
729
+ if (!win.document) {
730
+ throw new Error(
731
+ "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."
732
+ );
733
+ }
734
+ elm = newVNode2.$elm$ = win.document.createElement(
735
+ !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
736
+ );
737
+ {
738
+ updateElement(null, newVNode2, isSvgMode);
739
+ }
740
+ if (newVNode2.$children$) {
741
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
742
+ childNode = createElm(oldParentVNode, newVNode2, i2);
743
+ if (childNode) {
744
+ elm.appendChild(childNode);
745
+ }
746
+ }
747
+ }
748
+ }
749
+ elm["s-hn"] = hostTagName;
750
+ {
751
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
752
+ elm["s-sr"] = true;
753
+ elm["s-cr"] = contentRef;
754
+ elm["s-sn"] = newVNode2.$name$ || "";
755
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
756
+ patchSlotNode(elm);
757
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
758
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
759
+ {
760
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
761
+ }
762
+ }
763
+ }
764
+ }
765
+ return elm;
766
+ };
767
+ var putBackInOriginalLocation = (parentElm, recursive) => {
768
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
769
+ const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
770
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
771
+ let node = parentElm;
772
+ while (node = node.nextSibling) {
773
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
774
+ oldSlotChildNodes.push(node);
775
+ }
776
+ }
777
+ }
778
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
779
+ const childNode = oldSlotChildNodes[i2];
780
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
781
+ insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
782
+ childNode["s-ol"].remove();
783
+ childNode["s-ol"] = void 0;
784
+ childNode["s-sh"] = void 0;
785
+ checkSlotRelocate = true;
786
+ }
787
+ if (recursive) {
788
+ putBackInOriginalLocation(childNode, recursive);
789
+ }
790
+ }
791
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
792
+ };
793
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
794
+ let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
795
+ let childNode;
796
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
797
+ containerElm = containerElm.shadowRoot;
798
+ }
799
+ for (; startIdx <= endIdx; ++startIdx) {
800
+ if (vnodes[startIdx]) {
801
+ childNode = createElm(null, parentVNode, startIdx);
802
+ if (childNode) {
803
+ vnodes[startIdx].$elm$ = childNode;
804
+ insertBefore(containerElm, childNode, referenceNode(before) );
805
+ }
806
+ }
807
+ }
808
+ };
809
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
810
+ for (let index = startIdx; index <= endIdx; ++index) {
811
+ const vnode = vnodes[index];
812
+ if (vnode) {
813
+ const elm = vnode.$elm$;
814
+ nullifyVNodeRefs(vnode);
815
+ if (elm) {
816
+ {
817
+ checkSlotFallbackVisibility = true;
818
+ if (elm["s-ol"]) {
819
+ elm["s-ol"].remove();
820
+ } else {
821
+ putBackInOriginalLocation(elm, true);
822
+ }
823
+ }
824
+ elm.remove();
825
+ }
826
+ }
827
+ }
828
+ };
829
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
830
+ let oldStartIdx = 0;
831
+ let newStartIdx = 0;
832
+ let idxInOld = 0;
833
+ let i2 = 0;
834
+ let oldEndIdx = oldCh.length - 1;
835
+ let oldStartVnode = oldCh[0];
836
+ let oldEndVnode = oldCh[oldEndIdx];
837
+ let newEndIdx = newCh.length - 1;
838
+ let newStartVnode = newCh[0];
839
+ let newEndVnode = newCh[newEndIdx];
840
+ let node;
841
+ let elmToMove;
842
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
843
+ if (oldStartVnode == null) {
844
+ oldStartVnode = oldCh[++oldStartIdx];
845
+ } else if (oldEndVnode == null) {
846
+ oldEndVnode = oldCh[--oldEndIdx];
847
+ } else if (newStartVnode == null) {
848
+ newStartVnode = newCh[++newStartIdx];
849
+ } else if (newEndVnode == null) {
850
+ newEndVnode = newCh[--newEndIdx];
851
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
852
+ patch(oldStartVnode, newStartVnode, isInitialRender);
853
+ oldStartVnode = oldCh[++oldStartIdx];
854
+ newStartVnode = newCh[++newStartIdx];
855
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
856
+ patch(oldEndVnode, newEndVnode, isInitialRender);
857
+ oldEndVnode = oldCh[--oldEndIdx];
858
+ newEndVnode = newCh[--newEndIdx];
859
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
860
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
861
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
862
+ }
863
+ patch(oldStartVnode, newEndVnode, isInitialRender);
864
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
865
+ oldStartVnode = oldCh[++oldStartIdx];
866
+ newEndVnode = newCh[--newEndIdx];
867
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
868
+ if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
869
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
870
+ }
871
+ patch(oldEndVnode, newStartVnode, isInitialRender);
872
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
873
+ oldEndVnode = oldCh[--oldEndIdx];
874
+ newStartVnode = newCh[++newStartIdx];
875
+ } else {
876
+ idxInOld = -1;
877
+ {
878
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
879
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
880
+ idxInOld = i2;
881
+ break;
882
+ }
883
+ }
884
+ }
885
+ if (idxInOld >= 0) {
886
+ elmToMove = oldCh[idxInOld];
887
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
888
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
889
+ } else {
890
+ patch(elmToMove, newStartVnode, isInitialRender);
891
+ oldCh[idxInOld] = void 0;
892
+ node = elmToMove.$elm$;
893
+ }
894
+ newStartVnode = newCh[++newStartIdx];
895
+ } else {
896
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
897
+ newStartVnode = newCh[++newStartIdx];
898
+ }
899
+ if (node) {
900
+ {
901
+ insertBefore(
902
+ referenceNode(oldStartVnode.$elm$).parentNode,
903
+ node,
904
+ referenceNode(oldStartVnode.$elm$)
905
+ );
906
+ }
907
+ }
908
+ }
909
+ }
910
+ if (oldStartIdx > oldEndIdx) {
911
+ addVnodes(
912
+ parentElm,
913
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
914
+ newVNode2,
915
+ newCh,
916
+ newStartIdx,
917
+ newEndIdx
918
+ );
919
+ } else if (newStartIdx > newEndIdx) {
920
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
921
+ }
922
+ };
923
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
924
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
925
+ if (leftVNode.$tag$ === "slot") {
926
+ return leftVNode.$name$ === rightVNode.$name$;
927
+ }
928
+ if (!isInitialRender) {
929
+ return leftVNode.$key$ === rightVNode.$key$;
930
+ }
931
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
932
+ leftVNode.$key$ = rightVNode.$key$;
933
+ }
934
+ return true;
935
+ }
936
+ return false;
937
+ };
938
+ var referenceNode = (node) => node && node["s-ol"] || node;
939
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
940
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
941
+ const oldChildren = oldVNode.$children$;
942
+ const newChildren = newVNode2.$children$;
943
+ const text = newVNode2.$text$;
944
+ let defaultHolder;
945
+ if (text === null) {
946
+ {
947
+ updateElement(oldVNode, newVNode2, isSvgMode);
948
+ }
949
+ if (oldChildren !== null && newChildren !== null) {
950
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
951
+ } else if (newChildren !== null) {
952
+ if (oldVNode.$text$ !== null) {
953
+ elm.textContent = "";
954
+ }
955
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
956
+ } else if (
957
+ // don't do this on initial render as it can cause non-hydrated content to be removed
958
+ !isInitialRender && BUILD.updatable && oldChildren !== null
959
+ ) {
960
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
961
+ }
962
+ } else if ((defaultHolder = elm["s-cr"])) {
963
+ defaultHolder.parentNode.textContent = text;
964
+ } else if (oldVNode.$text$ !== text) {
965
+ elm.data = text;
966
+ }
967
+ };
968
+ var relocateNodes = [];
969
+ var markSlotContentForRelocation = (elm) => {
970
+ let node;
971
+ let hostContentNodes;
972
+ let j;
973
+ const children = elm.__childNodes || elm.childNodes;
974
+ for (const childNode of children) {
975
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
976
+ hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
977
+ const slotName = childNode["s-sn"];
978
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
979
+ node = hostContentNodes[j];
980
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes )) {
981
+ if (isNodeLocatedInSlot(node, slotName)) {
982
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
983
+ checkSlotFallbackVisibility = true;
984
+ node["s-sn"] = node["s-sn"] || slotName;
985
+ if (relocateNodeData) {
986
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
987
+ relocateNodeData.$slotRefNode$ = childNode;
988
+ } else {
989
+ node["s-sh"] = childNode["s-hn"];
990
+ relocateNodes.push({
991
+ $slotRefNode$: childNode,
992
+ $nodeToRelocate$: node
993
+ });
994
+ }
995
+ if (node["s-sr"]) {
996
+ relocateNodes.map((relocateNode) => {
997
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
998
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
999
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1000
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1001
+ }
1002
+ }
1003
+ });
1004
+ }
1005
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1006
+ relocateNodes.push({
1007
+ $nodeToRelocate$: node
1008
+ });
1009
+ }
1010
+ }
1011
+ }
1012
+ }
1013
+ if (childNode.nodeType === 1 /* ElementNode */) {
1014
+ markSlotContentForRelocation(childNode);
1015
+ }
1016
+ }
1017
+ };
1018
+ var nullifyVNodeRefs = (vNode) => {
1019
+ {
1020
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1021
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1022
+ }
1023
+ };
1024
+ var insertBefore = (parent, newNode, reference) => {
1025
+ {
1026
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1027
+ }
1028
+ };
1029
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1030
+ var _a, _b, _c, _d;
1031
+ const hostElm = hostRef.$hostElement$;
1032
+ const cmpMeta = hostRef.$cmpMeta$;
1033
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1034
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1035
+ hostTagName = hostElm.tagName;
1036
+ if (cmpMeta.$attrsToReflect$) {
1037
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1038
+ cmpMeta.$attrsToReflect$.map(
1039
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1040
+ );
1041
+ }
1042
+ if (isInitialLoad && rootVnode.$attrs$) {
1043
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1044
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1045
+ rootVnode.$attrs$[key] = hostElm[key];
1046
+ }
1047
+ }
1048
+ }
1049
+ rootVnode.$tag$ = null;
1050
+ rootVnode.$flags$ |= 4 /* isHost */;
1051
+ hostRef.$vnode$ = rootVnode;
1052
+ rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1053
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1054
+ {
1055
+ contentRef = hostElm["s-cr"];
1056
+ checkSlotFallbackVisibility = false;
1057
+ }
1058
+ patch(oldVNode, rootVnode, isInitialLoad);
1059
+ {
1060
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1061
+ if (checkSlotRelocate) {
1062
+ markSlotContentForRelocation(rootVnode.$elm$);
1063
+ for (const relocateData of relocateNodes) {
1064
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1065
+ if (!nodeToRelocate["s-ol"] && win.document) {
1066
+ const orgLocationNode = win.document.createTextNode("");
1067
+ orgLocationNode["s-nr"] = nodeToRelocate;
1068
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1069
+ }
1070
+ }
1071
+ for (const relocateData of relocateNodes) {
1072
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1073
+ const slotRefNode = relocateData.$slotRefNode$;
1074
+ if (slotRefNode) {
1075
+ const parentNodeRef = slotRefNode.parentNode;
1076
+ let insertBeforeNode = slotRefNode.nextSibling;
1077
+ {
1078
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1079
+ while (orgLocationNode) {
1080
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1081
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1082
+ refNode = refNode.nextSibling;
1083
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1084
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1085
+ }
1086
+ if (!refNode || !refNode["s-nr"]) {
1087
+ insertBeforeNode = refNode;
1088
+ break;
1089
+ }
1090
+ }
1091
+ orgLocationNode = orgLocationNode.previousSibling;
1092
+ }
1093
+ }
1094
+ const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1095
+ const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1096
+ if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1097
+ if (nodeToRelocate !== insertBeforeNode) {
1098
+ if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1099
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1100
+ }
1101
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1102
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1103
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1104
+ }
1105
+ }
1106
+ }
1107
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1108
+ } else {
1109
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1110
+ if (isInitialLoad) {
1111
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1112
+ }
1113
+ nodeToRelocate.hidden = true;
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ if (checkSlotFallbackVisibility) {
1119
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1120
+ }
1121
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1122
+ relocateNodes.length = 0;
1123
+ }
1124
+ contentRef = void 0;
1125
+ };
1126
+
1127
+ // src/runtime/update-component.ts
1128
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1129
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1130
+ const index = ancestorComponent["s-p"].push(
1131
+ new Promise(
1132
+ (r) => hostRef.$onRenderResolve$ = () => {
1133
+ ancestorComponent["s-p"].splice(index - 1, 1);
1134
+ r();
1135
+ }
1136
+ )
1137
+ );
1138
+ }
1139
+ };
1140
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1141
+ {
1142
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1143
+ }
1144
+ if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1145
+ hostRef.$flags$ |= 512 /* needsRerender */;
1146
+ return;
1147
+ }
1148
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1149
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1150
+ return writeTask(dispatch) ;
1151
+ };
1152
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1153
+ const elm = hostRef.$hostElement$;
1154
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1155
+ const instance = elm;
1156
+ if (!instance) {
1157
+ throw new Error(
1158
+ `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`
1159
+ );
1160
+ }
1161
+ let maybePromise;
1162
+ if (isInitialLoad) {
1163
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1164
+ } else {
1165
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
1166
+ }
1167
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
1168
+ endSchedule();
1169
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1170
+ };
1171
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1172
+ console.error(err2);
1173
+ fn();
1174
+ }) : fn();
1175
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1176
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1177
+ var _a;
1178
+ const elm = hostRef.$hostElement$;
1179
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1180
+ const rc = elm["s-rc"];
1181
+ if (isInitialLoad) {
1182
+ attachStyles(hostRef);
1183
+ }
1184
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1185
+ {
1186
+ callRender(hostRef, instance, elm, isInitialLoad);
1187
+ }
1188
+ if (rc) {
1189
+ rc.map((cb) => cb());
1190
+ elm["s-rc"] = void 0;
1191
+ }
1192
+ endRender();
1193
+ endUpdate();
1194
+ {
1195
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1196
+ const postUpdate = () => postUpdateComponent(hostRef);
1197
+ if (childrenPromises.length === 0) {
1198
+ postUpdate();
1199
+ } else {
1200
+ Promise.all(childrenPromises).then(postUpdate);
1201
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1202
+ childrenPromises.length = 0;
1203
+ }
1204
+ }
1205
+ };
1206
+ var renderingRef = null;
1207
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1208
+ try {
1209
+ renderingRef = instance;
1210
+ instance = instance.render() ;
1211
+ {
1212
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1213
+ }
1214
+ {
1215
+ hostRef.$flags$ |= 2 /* hasRendered */;
1216
+ }
1217
+ {
1218
+ {
1219
+ {
1220
+ renderVdom(hostRef, instance, isInitialLoad);
1221
+ }
1222
+ }
1223
+ }
1224
+ } catch (e) {
1225
+ consoleError(e, hostRef.$hostElement$);
1226
+ }
1227
+ renderingRef = null;
1228
+ return null;
1229
+ };
1230
+ var getRenderingRef = () => renderingRef;
1231
+ var postUpdateComponent = (hostRef) => {
1232
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1233
+ const elm = hostRef.$hostElement$;
1234
+ const endPostUpdate = createTime("postUpdate", tagName);
1235
+ const instance = elm;
1236
+ const ancestorComponent = hostRef.$ancestorComponent$;
1237
+ safeCall(instance, "componentDidRender", void 0, elm);
1238
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1239
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1240
+ {
1241
+ addHydratedFlag(elm);
1242
+ }
1243
+ safeCall(instance, "componentDidLoad", void 0, elm);
1244
+ endPostUpdate();
1245
+ {
1246
+ hostRef.$onReadyResolve$(elm);
1247
+ if (!ancestorComponent) {
1248
+ appDidLoad();
1249
+ }
1250
+ }
1251
+ } else {
1252
+ safeCall(instance, "componentDidUpdate", void 0, elm);
1253
+ endPostUpdate();
1254
+ }
1255
+ {
1256
+ if (hostRef.$onRenderResolve$) {
1257
+ hostRef.$onRenderResolve$();
1258
+ hostRef.$onRenderResolve$ = void 0;
1259
+ }
1260
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1261
+ nextTick(() => scheduleUpdate(hostRef, false));
1262
+ }
1263
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1264
+ }
1265
+ };
1266
+ var forceUpdate = (ref) => {
1267
+ {
1268
+ const hostRef = getHostRef(ref);
1269
+ const isConnected = hostRef.$hostElement$.isConnected;
1270
+ if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1271
+ scheduleUpdate(hostRef, false);
1272
+ }
1273
+ return isConnected;
1274
+ }
1275
+ };
1276
+ var appDidLoad = (who) => {
1277
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1278
+ };
1279
+ var safeCall = (instance, method, arg, elm) => {
1280
+ if (instance && instance[method]) {
1281
+ try {
1282
+ return instance[method](arg);
1283
+ } catch (e) {
1284
+ consoleError(e, elm);
1285
+ }
1286
+ }
1287
+ return void 0;
1288
+ };
1289
+ var addHydratedFlag = (elm) => {
1290
+ var _a;
1291
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1292
+ };
1293
+
1294
+ // src/runtime/set-value.ts
1295
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1296
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1297
+ const hostRef = getHostRef(ref);
1298
+ const elm = ref;
1299
+ const oldVal = hostRef.$instanceValues$.get(propName);
1300
+ const flags = hostRef.$flags$;
1301
+ const instance = elm;
1302
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1303
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1304
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1305
+ if (didValueChange) {
1306
+ hostRef.$instanceValues$.set(propName, newVal);
1307
+ {
1308
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1309
+ const watchMethods = cmpMeta.$watchers$[propName];
1310
+ if (watchMethods) {
1311
+ watchMethods.map((watchMethodName) => {
1312
+ try {
1313
+ instance[watchMethodName](newVal, oldVal, propName);
1314
+ } catch (e) {
1315
+ consoleError(e, elm);
1316
+ }
1317
+ });
1318
+ }
1319
+ }
1320
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1321
+ if (instance.componentShouldUpdate) {
1322
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1323
+ return;
1324
+ }
1325
+ }
1326
+ scheduleUpdate(hostRef, false);
1327
+ }
1328
+ }
1329
+ }
1330
+ };
1331
+
1332
+ // src/runtime/proxy-component.ts
1333
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1334
+ var _a, _b;
1335
+ const prototype = Cstr.prototype;
1336
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1337
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1338
+ cmpMeta.$watchers$ = Cstr.watchers;
1339
+ }
1340
+ const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1341
+ members.map(([memberName, [memberFlags]]) => {
1342
+ if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
1343
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1344
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1345
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1346
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1347
+ Object.defineProperty(prototype, memberName, {
1348
+ get() {
1349
+ {
1350
+ return origGetter ? origGetter.apply(this) : getValue(this, memberName);
1351
+ }
1352
+ },
1353
+ configurable: true,
1354
+ enumerable: true
1355
+ });
1356
+ }
1357
+ Object.defineProperty(prototype, memberName, {
1358
+ set(newValue) {
1359
+ const ref = getHostRef(this);
1360
+ if (origSetter) {
1361
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1362
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1363
+ newValue = ref.$instanceValues$.get(memberName);
1364
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1365
+ ref.$instanceValues$.set(memberName, currentValue);
1366
+ }
1367
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1368
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1369
+ setValue(this, memberName, newValue, cmpMeta);
1370
+ return;
1371
+ }
1372
+ {
1373
+ setValue(this, memberName, newValue, cmpMeta);
1374
+ return;
1375
+ }
1376
+ }
1377
+ });
1378
+ }
1379
+ });
1380
+ {
1381
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1382
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1383
+ plt.jmp(() => {
1384
+ var _a2;
1385
+ const propName = attrNameToPropName.get(attrName);
1386
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1387
+ newValue = this[propName];
1388
+ delete this[propName];
1389
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1390
+ this[propName] == newValue) {
1391
+ return;
1392
+ } else if (propName == null) {
1393
+ const hostRef = getHostRef(this);
1394
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1395
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1396
+ const elm = this;
1397
+ const instance = elm;
1398
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1399
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1400
+ if (instance[callbackName] != null) {
1401
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1402
+ }
1403
+ });
1404
+ }
1405
+ return;
1406
+ }
1407
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1408
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1409
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1410
+ this[propName] = newValue;
1411
+ }
1412
+ });
1413
+ };
1414
+ Cstr.observedAttributes = Array.from(
1415
+ /* @__PURE__ */ new Set([
1416
+ ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1417
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1418
+ var _a2;
1419
+ const attrName = m[1] || propName;
1420
+ attrNameToPropName.set(attrName, propName);
1421
+ if (m[0] & 512 /* ReflectAttr */) {
1422
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1423
+ }
1424
+ return attrName;
1425
+ })
1426
+ ])
1427
+ );
1428
+ }
1429
+ }
1430
+ return Cstr;
1431
+ };
1432
+
1433
+ // src/runtime/initialize-component.ts
1434
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1435
+ let Cstr;
1436
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1437
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1438
+ {
1439
+ Cstr = elm.constructor;
1440
+ const cmpTag = elm.localName;
1441
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1442
+ }
1443
+ if (Cstr && Cstr.style) {
1444
+ let style;
1445
+ if (typeof Cstr.style === "string") {
1446
+ style = Cstr.style;
1447
+ }
1448
+ const scopeId2 = getScopeId(cmpMeta);
1449
+ if (!styles.has(scopeId2)) {
1450
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1451
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1452
+ endRegisterStyles();
1453
+ }
1454
+ }
1455
+ }
1456
+ const ancestorComponent = hostRef.$ancestorComponent$;
1457
+ const schedule = () => scheduleUpdate(hostRef, true);
1458
+ if (ancestorComponent && ancestorComponent["s-rc"]) {
1459
+ ancestorComponent["s-rc"].push(schedule);
1460
+ } else {
1461
+ schedule();
1462
+ }
1463
+ };
1464
+ var fireConnectedCallback = (instance, elm) => {
1465
+ };
1466
+
1467
+ // src/runtime/connected-callback.ts
1468
+ var connectedCallback = (elm) => {
1469
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1470
+ const hostRef = getHostRef(elm);
1471
+ const cmpMeta = hostRef.$cmpMeta$;
1472
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1473
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1474
+ hostRef.$flags$ |= 1 /* hasConnected */;
1475
+ {
1476
+ if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1477
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1478
+ setContentReference(elm);
1479
+ }
1480
+ }
1481
+ {
1482
+ let ancestorComponent = elm;
1483
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1484
+ if (ancestorComponent["s-p"]) {
1485
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1486
+ break;
1487
+ }
1488
+ }
1489
+ }
1490
+ if (cmpMeta.$members$) {
1491
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1492
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1493
+ const value = elm[memberName];
1494
+ delete elm[memberName];
1495
+ elm[memberName] = value;
1496
+ }
1497
+ });
1498
+ }
1499
+ {
1500
+ initializeComponent(elm, hostRef, cmpMeta);
1501
+ }
1502
+ } else {
1503
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1504
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1505
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1506
+ }
1507
+ }
1508
+ endConnected();
1509
+ }
1510
+ };
1511
+ var setContentReference = (elm) => {
1512
+ if (!win.document) {
1513
+ return;
1514
+ }
1515
+ const contentRefElm = elm["s-cr"] = win.document.createComment(
1516
+ ""
1517
+ );
1518
+ contentRefElm["s-cn"] = true;
1519
+ insertBefore(elm, contentRefElm, elm.firstChild);
1520
+ };
1521
+ var disconnectedCallback = async (elm) => {
1522
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1523
+ const hostRef = getHostRef(elm);
1524
+ {
1525
+ if (hostRef.$rmListeners$) {
1526
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1527
+ hostRef.$rmListeners$ = void 0;
1528
+ }
1529
+ }
1530
+ }
1531
+ if (rootAppliedStyles.has(elm)) {
1532
+ rootAppliedStyles.delete(elm);
1533
+ }
1534
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1535
+ rootAppliedStyles.delete(elm.shadowRoot);
1536
+ }
1537
+ };
1538
+ var proxyCustomElement = (Cstr, compactMeta) => {
1539
+ const cmpMeta = {
1540
+ $flags$: compactMeta[0],
1541
+ $tagName$: compactMeta[1]
1542
+ };
1543
+ {
1544
+ cmpMeta.$members$ = compactMeta[2];
1545
+ }
1546
+ {
1547
+ cmpMeta.$listeners$ = compactMeta[3];
1548
+ }
1549
+ {
1550
+ cmpMeta.$watchers$ = Cstr.$watchers$;
1551
+ }
1552
+ {
1553
+ cmpMeta.$attrsToReflect$ = [];
1554
+ }
1555
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
1556
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
1557
+ Object.assign(Cstr.prototype, {
1558
+ __hasHostListenerAttached: false,
1559
+ __registerHost() {
1560
+ registerHost(this, cmpMeta);
1561
+ },
1562
+ connectedCallback() {
1563
+ if (!this.__hasHostListenerAttached) {
1564
+ const hostRef = getHostRef(this);
1565
+ addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
1566
+ this.__hasHostListenerAttached = true;
1567
+ }
1568
+ connectedCallback(this);
1569
+ if (originalConnectedCallback) {
1570
+ originalConnectedCallback.call(this);
1571
+ }
1572
+ },
1573
+ disconnectedCallback() {
1574
+ disconnectedCallback(this);
1575
+ if (originalDisconnectedCallback) {
1576
+ originalDisconnectedCallback.call(this);
1577
+ }
1578
+ },
1579
+ __attachShadow() {
1580
+ {
1581
+ if (!this.shadowRoot) {
1582
+ {
1583
+ this.attachShadow({
1584
+ mode: "open",
1585
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
1586
+ });
1587
+ }
1588
+ } else {
1589
+ if (this.shadowRoot.mode !== "open") {
1590
+ throw new Error(
1591
+ `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`
1592
+ );
1593
+ }
1594
+ }
1595
+ }
1596
+ }
1597
+ });
1598
+ Cstr.is = cmpMeta.$tagName$;
1599
+ return proxyComponent(Cstr, cmpMeta, 1 /* isElementConstructor */ | 2 /* proxyState */);
1600
+ };
1601
+
1602
+ // src/runtime/fragment.ts
1603
+ var Fragment = (_, children) => children;
1604
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1605
+ if (listeners && win.document) {
1606
+ listeners.map(([flags, name, method]) => {
1607
+ const target = getHostListenerTarget(win.document, elm, flags) ;
1608
+ const handler = hostListenerProxy(hostRef, method);
1609
+ const opts = hostListenerOpts(flags);
1610
+ plt.ael(target, name, handler, opts);
1611
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1612
+ });
1613
+ }
1614
+ };
1615
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1616
+ try {
1617
+ {
1618
+ hostRef.$hostElement$[methodName](ev);
1619
+ }
1620
+ } catch (e) {
1621
+ consoleError(e, hostRef.$hostElement$);
1622
+ }
1623
+ };
1624
+ var getHostListenerTarget = (doc, elm, flags) => {
1625
+ if (flags & 8 /* TargetWindow */) {
1626
+ return win;
1627
+ }
1628
+ return elm;
1629
+ };
1630
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1631
+ passive: (flags & 1 /* Passive */) !== 0,
1632
+ capture: (flags & 2 /* Capture */) !== 0
1633
+ } : (flags & 2 /* Capture */) !== 0;
1634
+
1635
+ // src/runtime/nonce.ts
1636
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
1637
+
1638
+ // src/runtime/platform-options.ts
1639
+ var setPlatformOptions = (opts) => Object.assign(plt, opts);
1640
+
1641
+ export { Fragment as F, H, setNonce as a, setPlatformOptions as b, getRenderingRef as c, createEvent as d, Host as e, forceUpdate as f, getAssetPath as g, h, getElement as i, proxyCustomElement as p, setAssetPath as s, writeTask as w };