@pine-ds/icons 7.4.0 → 7.4.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1059) hide show
  1. package/components/index.d.ts +0 -0
  2. package/components/pds-icon.d.ts +0 -0
  3. package/dist/cheatsheet.html +3 -3
  4. package/dist/docs.json +1 -1
  5. package/dist/pds-icons/index-ff192a13.js +2970 -0
  6. package/dist/pds-icons/index-ff192a13.js.map +1 -0
  7. package/dist/pds-icons/index.esm.js +3 -1
  8. package/dist/pds-icons/index.esm.js.map +1 -1
  9. package/dist/{esm → pds-icons}/pds-icon.entry.js +11 -7
  10. package/dist/pds-icons/pds-icon.entry.js.map +1 -0
  11. package/dist/pds-icons/pds-icons.esm.js +48 -1
  12. package/dist/pds-icons/pds-icons.esm.js.map +1 -1
  13. package/dist/pds-icons/shadow-css-964ae2c5.js +358 -0
  14. package/dist/pds-icons/shadow-css-964ae2c5.js.map +1 -0
  15. package/dist/{esm/utils-cae6cf8b.js → pds-icons/utils-39f6c025.js} +3 -3
  16. package/dist/pds-icons/utils-39f6c025.js.map +1 -0
  17. package/dist/pds-icons.json +1 -1
  18. package/dist/pds-icons.symbols.svg +1 -1
  19. package/dist/types/components/pds-icon/pds-icon.d.ts +1 -0
  20. package/icons/index.d.ts +1 -1
  21. package/icons/index.js +1 -1
  22. package/icons/index.mjs +1 -1
  23. package/icons/package.json +1 -1
  24. package/package.json +1 -1
  25. package/components/index.cjs.js +0 -1
  26. package/components/index.js +0 -4
  27. package/components/index.js.map +0 -1
  28. package/components/package.json +0 -8
  29. package/components/pds-icon.js +0 -370
  30. package/components/pds-icon.js.map +0 -1
  31. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  32. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  33. package/dist/cjs/index-7f71a223.js +0 -1209
  34. package/dist/cjs/index-7f71a223.js.map +0 -1
  35. package/dist/cjs/index.cjs.js +0 -12
  36. package/dist/cjs/index.cjs.js.map +0 -1
  37. package/dist/cjs/loader.cjs.js +0 -17
  38. package/dist/cjs/loader.cjs.js.map +0 -1
  39. package/dist/cjs/pds-icon.cjs.entry.js +0 -215
  40. package/dist/cjs/pds-icon.cjs.entry.js.map +0 -1
  41. package/dist/cjs/pds-icons.cjs.js +0 -27
  42. package/dist/cjs/pds-icons.cjs.js.map +0 -1
  43. package/dist/cjs/utils-89306ddd.js +0 -140
  44. package/dist/cjs/utils-89306ddd.js.map +0 -1
  45. package/dist/collection/collection-manifest.json +0 -12
  46. package/dist/collection/components/pds-icon/assetPath.js +0 -36
  47. package/dist/collection/components/pds-icon/assetPath.js.map +0 -1
  48. package/dist/collection/components/pds-icon/pds-icon.css +0 -25
  49. package/dist/collection/components/pds-icon/pds-icon.js +0 -232
  50. package/dist/collection/components/pds-icon/pds-icon.js.map +0 -1
  51. package/dist/collection/components/pds-icon/request.js +0 -43
  52. package/dist/collection/components/pds-icon/request.js.map +0 -1
  53. package/dist/collection/components/pds-icon/svg/access-key.svg +0 -1
  54. package/dist/collection/components/pds-icon/svg/add-circle.svg +0 -1
  55. package/dist/collection/components/pds-icon/svg/add-image.svg +0 -1
  56. package/dist/collection/components/pds-icon/svg/add-small.svg +0 -1
  57. package/dist/collection/components/pds-icon/svg/add-square.svg +0 -1
  58. package/dist/collection/components/pds-icon/svg/add.svg +0 -1
  59. package/dist/collection/components/pds-icon/svg/advanced.svg +0 -1
  60. package/dist/collection/components/pds-icon/svg/ai-sparkle.svg +0 -1
  61. package/dist/collection/components/pds-icon/svg/ai-writer-filled.svg +0 -1
  62. package/dist/collection/components/pds-icon/svg/ai-writer.svg +0 -1
  63. package/dist/collection/components/pds-icon/svg/align-center.svg +0 -1
  64. package/dist/collection/components/pds-icon/svg/align-justify.svg +0 -1
  65. package/dist/collection/components/pds-icon/svg/align-left.svg +0 -1
  66. package/dist/collection/components/pds-icon/svg/align-right.svg +0 -1
  67. package/dist/collection/components/pds-icon/svg/app-store.svg +0 -1
  68. package/dist/collection/components/pds-icon/svg/archive.svg +0 -1
  69. package/dist/collection/components/pds-icon/svg/arrow-corner.svg +0 -1
  70. package/dist/collection/components/pds-icon/svg/arrow-down.svg +0 -1
  71. package/dist/collection/components/pds-icon/svg/arrow-left.svg +0 -1
  72. package/dist/collection/components/pds-icon/svg/arrow-right.svg +0 -1
  73. package/dist/collection/components/pds-icon/svg/arrow-up.svg +0 -1
  74. package/dist/collection/components/pds-icon/svg/assessment.svg +0 -1
  75. package/dist/collection/components/pds-icon/svg/at-sign.svg +0 -1
  76. package/dist/collection/components/pds-icon/svg/attach.svg +0 -1
  77. package/dist/collection/components/pds-icon/svg/automations.svg +0 -1
  78. package/dist/collection/components/pds-icon/svg/ban.svg +0 -1
  79. package/dist/collection/components/pds-icon/svg/bank.svg +0 -1
  80. package/dist/collection/components/pds-icon/svg/bar-chart-10-tone.svg +0 -1
  81. package/dist/collection/components/pds-icon/svg/bell-01-tone.svg +0 -1
  82. package/dist/collection/components/pds-icon/svg/bell.svg +0 -1
  83. package/dist/collection/components/pds-icon/svg/block.svg +0 -1
  84. package/dist/collection/components/pds-icon/svg/blog-filled.svg +0 -1
  85. package/dist/collection/components/pds-icon/svg/blog.svg +0 -1
  86. package/dist/collection/components/pds-icon/svg/bold.svg +0 -1
  87. package/dist/collection/components/pds-icon/svg/broadcast.svg +0 -1
  88. package/dist/collection/components/pds-icon/svg/bulb.svg +0 -1
  89. package/dist/collection/components/pds-icon/svg/button.svg +0 -1
  90. package/dist/collection/components/pds-icon/svg/calendar-date.svg +0 -1
  91. package/dist/collection/components/pds-icon/svg/calendar-schedule.svg +0 -1
  92. package/dist/collection/components/pds-icon/svg/calendar-simple.svg +0 -1
  93. package/dist/collection/components/pds-icon/svg/card-amex.svg +0 -1
  94. package/dist/collection/components/pds-icon/svg/card-android.svg +0 -1
  95. package/dist/collection/components/pds-icon/svg/card-apple.svg +0 -1
  96. package/dist/collection/components/pds-icon/svg/card-diners-club.svg +0 -1
  97. package/dist/collection/components/pds-icon/svg/card-discover.svg +0 -1
  98. package/dist/collection/components/pds-icon/svg/card-generic.svg +0 -1
  99. package/dist/collection/components/pds-icon/svg/card-gpay.svg +0 -1
  100. package/dist/collection/components/pds-icon/svg/card-mastercard.svg +0 -1
  101. package/dist/collection/components/pds-icon/svg/card-paypal.svg +0 -1
  102. package/dist/collection/components/pds-icon/svg/card-stripe.svg +0 -1
  103. package/dist/collection/components/pds-icon/svg/card-update.svg +0 -1
  104. package/dist/collection/components/pds-icon/svg/card-visa.svg +0 -1
  105. package/dist/collection/components/pds-icon/svg/caret-down.svg +0 -1
  106. package/dist/collection/components/pds-icon/svg/caret-left.svg +0 -1
  107. package/dist/collection/components/pds-icon/svg/caret-right.svg +0 -1
  108. package/dist/collection/components/pds-icon/svg/caret-up.svg +0 -1
  109. package/dist/collection/components/pds-icon/svg/cart-add.svg +0 -1
  110. package/dist/collection/components/pds-icon/svg/cart.svg +0 -1
  111. package/dist/collection/components/pds-icon/svg/certificate.svg +0 -1
  112. package/dist/collection/components/pds-icon/svg/chart-filled.svg +0 -1
  113. package/dist/collection/components/pds-icon/svg/chart.svg +0 -1
  114. package/dist/collection/components/pds-icon/svg/check-circle-filled.svg +0 -1
  115. package/dist/collection/components/pds-icon/svg/check-circle.svg +0 -1
  116. package/dist/collection/components/pds-icon/svg/check.svg +0 -1
  117. package/dist/collection/components/pds-icon/svg/circle-1.svg +0 -1
  118. package/dist/collection/components/pds-icon/svg/circle-2.svg +0 -1
  119. package/dist/collection/components/pds-icon/svg/circle-3.svg +0 -1
  120. package/dist/collection/components/pds-icon/svg/circle-4.svg +0 -1
  121. package/dist/collection/components/pds-icon/svg/circle-5.svg +0 -1
  122. package/dist/collection/components/pds-icon/svg/circle-6.svg +0 -1
  123. package/dist/collection/components/pds-icon/svg/circle-7.svg +0 -1
  124. package/dist/collection/components/pds-icon/svg/circle-8.svg +0 -1
  125. package/dist/collection/components/pds-icon/svg/circle-9.svg +0 -1
  126. package/dist/collection/components/pds-icon/svg/circle-a.svg +0 -1
  127. package/dist/collection/components/pds-icon/svg/circle-b.svg +0 -1
  128. package/dist/collection/components/pds-icon/svg/circle-dashed.svg +0 -1
  129. package/dist/collection/components/pds-icon/svg/clapperboard-tone.svg +0 -1
  130. package/dist/collection/components/pds-icon/svg/clock.svg +0 -1
  131. package/dist/collection/components/pds-icon/svg/closed-captions.svg +0 -1
  132. package/dist/collection/components/pds-icon/svg/cloud-upload.svg +0 -1
  133. package/dist/collection/components/pds-icon/svg/code-block.svg +0 -1
  134. package/dist/collection/components/pds-icon/svg/code.svg +0 -1
  135. package/dist/collection/components/pds-icon/svg/color.svg +0 -1
  136. package/dist/collection/components/pds-icon/svg/columns.svg +0 -1
  137. package/dist/collection/components/pds-icon/svg/comment-no.svg +0 -1
  138. package/dist/collection/components/pds-icon/svg/comment.svg +0 -1
  139. package/dist/collection/components/pds-icon/svg/connect.svg +0 -1
  140. package/dist/collection/components/pds-icon/svg/contact.svg +0 -1
  141. package/dist/collection/components/pds-icon/svg/conversation.svg +0 -1
  142. package/dist/collection/components/pds-icon/svg/copy.svg +0 -1
  143. package/dist/collection/components/pds-icon/svg/coupon.svg +0 -1
  144. package/dist/collection/components/pds-icon/svg/course-filled.svg +0 -1
  145. package/dist/collection/components/pds-icon/svg/course.svg +0 -1
  146. package/dist/collection/components/pds-icon/svg/creator-studio-filled.svg +0 -1
  147. package/dist/collection/components/pds-icon/svg/creator-studio.svg +0 -1
  148. package/dist/collection/components/pds-icon/svg/credit-card-02-tone.svg +0 -1
  149. package/dist/collection/components/pds-icon/svg/cube-01-tone.svg +0 -1
  150. package/dist/collection/components/pds-icon/svg/cursor-pointer.svg +0 -1
  151. package/dist/collection/components/pds-icon/svg/cursor.svg +0 -1
  152. package/dist/collection/components/pds-icon/svg/custom-field.svg +0 -1
  153. package/dist/collection/components/pds-icon/svg/customize.svg +0 -1
  154. package/dist/collection/components/pds-icon/svg/danger-filled.svg +0 -1
  155. package/dist/collection/components/pds-icon/svg/danger.svg +0 -1
  156. package/dist/collection/components/pds-icon/svg/delete-circle.svg +0 -1
  157. package/dist/collection/components/pds-icon/svg/delete-key.svg +0 -1
  158. package/dist/collection/components/pds-icon/svg/delete-x.svg +0 -1
  159. package/dist/collection/components/pds-icon/svg/dollar.svg +0 -1
  160. package/dist/collection/components/pds-icon/svg/dot-menu-horizontal.svg +0 -1
  161. package/dist/collection/components/pds-icon/svg/dots-horizontal-tone.svg +0 -1
  162. package/dist/collection/components/pds-icon/svg/down-small.svg +0 -1
  163. package/dist/collection/components/pds-icon/svg/download.svg +0 -1
  164. package/dist/collection/components/pds-icon/svg/downsell.svg +0 -1
  165. package/dist/collection/components/pds-icon/svg/draft.svg +0 -1
  166. package/dist/collection/components/pds-icon/svg/drawer-collapse.svg +0 -1
  167. package/dist/collection/components/pds-icon/svg/drawer-expand.svg +0 -1
  168. package/dist/collection/components/pds-icon/svg/drop.svg +0 -1
  169. package/dist/collection/components/pds-icon/svg/duplicate.svg +0 -1
  170. package/dist/collection/components/pds-icon/svg/editor-filled.svg +0 -1
  171. package/dist/collection/components/pds-icon/svg/editor.svg +0 -1
  172. package/dist/collection/components/pds-icon/svg/email-activity.svg +0 -1
  173. package/dist/collection/components/pds-icon/svg/emoji.svg +0 -1
  174. package/dist/collection/components/pds-icon/svg/enlarge-vertical.svg +0 -1
  175. package/dist/collection/components/pds-icon/svg/enlarge.svg +0 -1
  176. package/dist/collection/components/pds-icon/svg/expand.svg +0 -1
  177. package/dist/collection/components/pds-icon/svg/favorite.svg +0 -1
  178. package/dist/collection/components/pds-icon/svg/feedback.svg +0 -1
  179. package/dist/collection/components/pds-icon/svg/file-02.svg +0 -1
  180. package/dist/collection/components/pds-icon/svg/file-money.svg +0 -1
  181. package/dist/collection/components/pds-icon/svg/file.svg +0 -1
  182. package/dist/collection/components/pds-icon/svg/filter.svg +0 -1
  183. package/dist/collection/components/pds-icon/svg/flag.svg +0 -1
  184. package/dist/collection/components/pds-icon/svg/flash-filled.svg +0 -1
  185. package/dist/collection/components/pds-icon/svg/flash.svg +0 -1
  186. package/dist/collection/components/pds-icon/svg/floppy-disk.svg +0 -1
  187. package/dist/collection/components/pds-icon/svg/folder-group.svg +0 -1
  188. package/dist/collection/components/pds-icon/svg/folder.svg +0 -1
  189. package/dist/collection/components/pds-icon/svg/form-field.svg +0 -1
  190. package/dist/collection/components/pds-icon/svg/form-filled.svg +0 -1
  191. package/dist/collection/components/pds-icon/svg/form.svg +0 -1
  192. package/dist/collection/components/pds-icon/svg/fullscreen.svg +0 -1
  193. package/dist/collection/components/pds-icon/svg/funnel.svg +0 -1
  194. package/dist/collection/components/pds-icon/svg/gear-filled.svg +0 -1
  195. package/dist/collection/components/pds-icon/svg/gear.svg +0 -1
  196. package/dist/collection/components/pds-icon/svg/grant-offer.svg +0 -1
  197. package/dist/collection/components/pds-icon/svg/handle-2-vertical.svg +0 -1
  198. package/dist/collection/components/pds-icon/svg/handle-2.svg +0 -1
  199. package/dist/collection/components/pds-icon/svg/handle.svg +0 -1
  200. package/dist/collection/components/pds-icon/svg/hashtag.svg +0 -1
  201. package/dist/collection/components/pds-icon/svg/hd-video.svg +0 -1
  202. package/dist/collection/components/pds-icon/svg/heading-1.svg +0 -1
  203. package/dist/collection/components/pds-icon/svg/heading-2.svg +0 -1
  204. package/dist/collection/components/pds-icon/svg/heading-3.svg +0 -1
  205. package/dist/collection/components/pds-icon/svg/heading-4.svg +0 -1
  206. package/dist/collection/components/pds-icon/svg/heading-5.svg +0 -1
  207. package/dist/collection/components/pds-icon/svg/heading-6.svg +0 -1
  208. package/dist/collection/components/pds-icon/svg/heading-large.svg +0 -1
  209. package/dist/collection/components/pds-icon/svg/heading-small.svg +0 -1
  210. package/dist/collection/components/pds-icon/svg/headset-tone.svg +0 -1
  211. package/dist/collection/components/pds-icon/svg/headset.svg +0 -1
  212. package/dist/collection/components/pds-icon/svg/help-filled.svg +0 -1
  213. package/dist/collection/components/pds-icon/svg/help.svg +0 -1
  214. package/dist/collection/components/pds-icon/svg/home-02-tone.svg +0 -1
  215. package/dist/collection/components/pds-icon/svg/home-alt.svg +0 -1
  216. package/dist/collection/components/pds-icon/svg/home-filled.svg +0 -1
  217. package/dist/collection/components/pds-icon/svg/home.svg +0 -1
  218. package/dist/collection/components/pds-icon/svg/horizontal-line.svg +0 -1
  219. package/dist/collection/components/pds-icon/svg/image.svg +0 -1
  220. package/dist/collection/components/pds-icon/svg/info-circle-filled.svg +0 -1
  221. package/dist/collection/components/pds-icon/svg/info-circle.svg +0 -1
  222. package/dist/collection/components/pds-icon/svg/ios-battery.svg +0 -1
  223. package/dist/collection/components/pds-icon/svg/ios-data.svg +0 -1
  224. package/dist/collection/components/pds-icon/svg/ios-wifi.svg +0 -1
  225. package/dist/collection/components/pds-icon/svg/italic.svg +0 -1
  226. package/dist/collection/components/pds-icon/svg/kajabi-filled.svg +0 -1
  227. package/dist/collection/components/pds-icon/svg/kajabi.svg +0 -1
  228. package/dist/collection/components/pds-icon/svg/klarna.svg +0 -1
  229. package/dist/collection/components/pds-icon/svg/lab.svg +0 -1
  230. package/dist/collection/components/pds-icon/svg/launch.svg +0 -1
  231. package/dist/collection/components/pds-icon/svg/layout-grid.svg +0 -1
  232. package/dist/collection/components/pds-icon/svg/layout-list.svg +0 -1
  233. package/dist/collection/components/pds-icon/svg/left-small.svg +0 -1
  234. package/dist/collection/components/pds-icon/svg/list-bullet.svg +0 -1
  235. package/dist/collection/components/pds-icon/svg/list-details.svg +0 -1
  236. package/dist/collection/components/pds-icon/svg/list-numbers.svg +0 -1
  237. package/dist/collection/components/pds-icon/svg/location.svg +0 -1
  238. package/dist/collection/components/pds-icon/svg/lock-alt.svg +0 -1
  239. package/dist/collection/components/pds-icon/svg/lock.svg +0 -1
  240. package/dist/collection/components/pds-icon/svg/logo-afterpay.svg +0 -1
  241. package/dist/collection/components/pds-icon/svg/logo-facebook-round.svg +0 -1
  242. package/dist/collection/components/pds-icon/svg/logo-facebook.svg +0 -1
  243. package/dist/collection/components/pds-icon/svg/logo-instagram.svg +0 -1
  244. package/dist/collection/components/pds-icon/svg/logo-linkedin.svg +0 -1
  245. package/dist/collection/components/pds-icon/svg/logo-tiktok.svg +0 -1
  246. package/dist/collection/components/pds-icon/svg/logo-twitter-x.svg +0 -1
  247. package/dist/collection/components/pds-icon/svg/logo-twitter.svg +0 -1
  248. package/dist/collection/components/pds-icon/svg/logo-youtube.svg +0 -1
  249. package/dist/collection/components/pds-icon/svg/loop.svg +0 -1
  250. package/dist/collection/components/pds-icon/svg/mail-01-tone.svg +0 -1
  251. package/dist/collection/components/pds-icon/svg/mail-filled.svg +0 -1
  252. package/dist/collection/components/pds-icon/svg/mail-open.svg +0 -1
  253. package/dist/collection/components/pds-icon/svg/mail.svg +0 -1
  254. package/dist/collection/components/pds-icon/svg/map.svg +0 -1
  255. package/dist/collection/components/pds-icon/svg/mapped.svg +0 -1
  256. package/dist/collection/components/pds-icon/svg/margin-left.svg +0 -1
  257. package/dist/collection/components/pds-icon/svg/margin-right.svg +0 -1
  258. package/dist/collection/components/pds-icon/svg/marker-filled.svg +0 -1
  259. package/dist/collection/components/pds-icon/svg/marker.svg +0 -1
  260. package/dist/collection/components/pds-icon/svg/megaphone-filled.svg +0 -1
  261. package/dist/collection/components/pds-icon/svg/megaphone.svg +0 -1
  262. package/dist/collection/components/pds-icon/svg/menu-alt.svg +0 -1
  263. package/dist/collection/components/pds-icon/svg/menu-bordered.svg +0 -1
  264. package/dist/collection/components/pds-icon/svg/menu.svg +0 -1
  265. package/dist/collection/components/pds-icon/svg/merge.svg +0 -1
  266. package/dist/collection/components/pds-icon/svg/microphone-off.svg +0 -1
  267. package/dist/collection/components/pds-icon/svg/microphone.svg +0 -1
  268. package/dist/collection/components/pds-icon/svg/monitor-03-tone.svg +0 -1
  269. package/dist/collection/components/pds-icon/svg/monitor-filled.svg +0 -1
  270. package/dist/collection/components/pds-icon/svg/monitor.svg +0 -1
  271. package/dist/collection/components/pds-icon/svg/more-menu-filled.svg +0 -1
  272. package/dist/collection/components/pds-icon/svg/more-menu.svg +0 -1
  273. package/dist/collection/components/pds-icon/svg/move-left.svg +0 -1
  274. package/dist/collection/components/pds-icon/svg/move-right.svg +0 -1
  275. package/dist/collection/components/pds-icon/svg/multi-pay.svg +0 -1
  276. package/dist/collection/components/pds-icon/svg/newsletter-2.svg +0 -1
  277. package/dist/collection/components/pds-icon/svg/newsletter.svg +0 -1
  278. package/dist/collection/components/pds-icon/svg/one-off-session.svg +0 -1
  279. package/dist/collection/components/pds-icon/svg/one-time.svg +0 -1
  280. package/dist/collection/components/pds-icon/svg/packages.svg +0 -1
  281. package/dist/collection/components/pds-icon/svg/pause-circle.svg +0 -1
  282. package/dist/collection/components/pds-icon/svg/pause.svg +0 -1
  283. package/dist/collection/components/pds-icon/svg/payout.svg +0 -1
  284. package/dist/collection/components/pds-icon/svg/pen.svg +0 -1
  285. package/dist/collection/components/pds-icon/svg/phone-02-tone.svg +0 -1
  286. package/dist/collection/components/pds-icon/svg/phone-portrait.svg +0 -1
  287. package/dist/collection/components/pds-icon/svg/phone-toolbar-filled.svg +0 -1
  288. package/dist/collection/components/pds-icon/svg/phone-toolbar.svg +0 -1
  289. package/dist/collection/components/pds-icon/svg/play-circle.svg +0 -1
  290. package/dist/collection/components/pds-icon/svg/play-outline.svg +0 -1
  291. package/dist/collection/components/pds-icon/svg/play-store.svg +0 -1
  292. package/dist/collection/components/pds-icon/svg/play.svg +0 -1
  293. package/dist/collection/components/pds-icon/svg/plug.svg +0 -1
  294. package/dist/collection/components/pds-icon/svg/premium.svg +0 -1
  295. package/dist/collection/components/pds-icon/svg/present.svg +0 -1
  296. package/dist/collection/components/pds-icon/svg/preview-off.svg +0 -1
  297. package/dist/collection/components/pds-icon/svg/preview-on.svg +0 -1
  298. package/dist/collection/components/pds-icon/svg/product-filled.svg +0 -1
  299. package/dist/collection/components/pds-icon/svg/product.svg +0 -1
  300. package/dist/collection/components/pds-icon/svg/question-circle.svg +0 -1
  301. package/dist/collection/components/pds-icon/svg/quote.svg +0 -1
  302. package/dist/collection/components/pds-icon/svg/redo.svg +0 -1
  303. package/dist/collection/components/pds-icon/svg/refresh.svg +0 -1
  304. package/dist/collection/components/pds-icon/svg/remove-circle.svg +0 -1
  305. package/dist/collection/components/pds-icon/svg/remove.svg +0 -1
  306. package/dist/collection/components/pds-icon/svg/rename.svg +0 -1
  307. package/dist/collection/components/pds-icon/svg/reset-password.svg +0 -1
  308. package/dist/collection/components/pds-icon/svg/restore.svg +0 -1
  309. package/dist/collection/components/pds-icon/svg/right-small.svg +0 -1
  310. package/dist/collection/components/pds-icon/svg/rocket-filled.svg +0 -1
  311. package/dist/collection/components/pds-icon/svg/rocket.svg +0 -1
  312. package/dist/collection/components/pds-icon/svg/round-dollar.svg +0 -1
  313. package/dist/collection/components/pds-icon/svg/rows.svg +0 -1
  314. package/dist/collection/components/pds-icon/svg/scissor.svg +0 -1
  315. package/dist/collection/components/pds-icon/svg/screen-share-off.svg +0 -1
  316. package/dist/collection/components/pds-icon/svg/screen-share-on.svg +0 -1
  317. package/dist/collection/components/pds-icon/svg/search-md-tone.svg +0 -1
  318. package/dist/collection/components/pds-icon/svg/search-small.svg +0 -1
  319. package/dist/collection/components/pds-icon/svg/search.svg +0 -1
  320. package/dist/collection/components/pds-icon/svg/send-message.svg +0 -1
  321. package/dist/collection/components/pds-icon/svg/sequences.svg +0 -1
  322. package/dist/collection/components/pds-icon/svg/settings-01-tone.svg +0 -1
  323. package/dist/collection/components/pds-icon/svg/share.svg +0 -1
  324. package/dist/collection/components/pds-icon/svg/skipped.svg +0 -1
  325. package/dist/collection/components/pds-icon/svg/slash-divider.svg +0 -1
  326. package/dist/collection/components/pds-icon/svg/speaker.svg +0 -1
  327. package/dist/collection/components/pds-icon/svg/stack.svg +0 -1
  328. package/dist/collection/components/pds-icon/svg/star.svg +0 -1
  329. package/dist/collection/components/pds-icon/svg/stars-01-tone.svg +0 -1
  330. package/dist/collection/components/pds-icon/svg/stop.svg +0 -1
  331. package/dist/collection/components/pds-icon/svg/stopwatch.svg +0 -1
  332. package/dist/collection/components/pds-icon/svg/strikethrough.svg +0 -1
  333. package/dist/collection/components/pds-icon/svg/subscript.svg +0 -1
  334. package/dist/collection/components/pds-icon/svg/subscriptions.svg +0 -1
  335. package/dist/collection/components/pds-icon/svg/super-admin.svg +0 -1
  336. package/dist/collection/components/pds-icon/svg/superscript.svg +0 -1
  337. package/dist/collection/components/pds-icon/svg/sync.svg +0 -1
  338. package/dist/collection/components/pds-icon/svg/tablet-landscape.svg +0 -1
  339. package/dist/collection/components/pds-icon/svg/tablet-portrait.svg +0 -1
  340. package/dist/collection/components/pds-icon/svg/tag-filled.svg +0 -1
  341. package/dist/collection/components/pds-icon/svg/tag.svg +0 -1
  342. package/dist/collection/components/pds-icon/svg/text-styles.svg +0 -1
  343. package/dist/collection/components/pds-icon/svg/theme-store-filled.svg +0 -1
  344. package/dist/collection/components/pds-icon/svg/theme-store.svg +0 -1
  345. package/dist/collection/components/pds-icon/svg/thumb-down-filled.svg +0 -1
  346. package/dist/collection/components/pds-icon/svg/thumb-down.svg +0 -1
  347. package/dist/collection/components/pds-icon/svg/thumb-up-filled.svg +0 -1
  348. package/dist/collection/components/pds-icon/svg/thumb-up.svg +0 -1
  349. package/dist/collection/components/pds-icon/svg/trash.svg +0 -1
  350. package/dist/collection/components/pds-icon/svg/trophy-filled.svg +0 -1
  351. package/dist/collection/components/pds-icon/svg/trophy.svg +0 -1
  352. package/dist/collection/components/pds-icon/svg/underline.svg +0 -1
  353. package/dist/collection/components/pds-icon/svg/undo.svg +0 -1
  354. package/dist/collection/components/pds-icon/svg/unlock.svg +0 -1
  355. package/dist/collection/components/pds-icon/svg/unmapped.svg +0 -1
  356. package/dist/collection/components/pds-icon/svg/up-small.svg +0 -1
  357. package/dist/collection/components/pds-icon/svg/upload.svg +0 -1
  358. package/dist/collection/components/pds-icon/svg/url.svg +0 -1
  359. package/dist/collection/components/pds-icon/svg/user-circle-filled.svg +0 -1
  360. package/dist/collection/components/pds-icon/svg/user-circle.svg +0 -1
  361. package/dist/collection/components/pds-icon/svg/user-filled.svg +0 -1
  362. package/dist/collection/components/pds-icon/svg/user-star-filled.svg +0 -1
  363. package/dist/collection/components/pds-icon/svg/user-star.svg +0 -1
  364. package/dist/collection/components/pds-icon/svg/user.svg +0 -1
  365. package/dist/collection/components/pds-icon/svg/users-02-tone.svg +0 -1
  366. package/dist/collection/components/pds-icon/svg/users-alt.svg +0 -1
  367. package/dist/collection/components/pds-icon/svg/users-filled.svg +0 -1
  368. package/dist/collection/components/pds-icon/svg/users.svg +0 -1
  369. package/dist/collection/components/pds-icon/svg/video-off.svg +0 -1
  370. package/dist/collection/components/pds-icon/svg/video-on.svg +0 -1
  371. package/dist/collection/components/pds-icon/svg/warning-filled.svg +0 -1
  372. package/dist/collection/components/pds-icon/svg/warning.svg +0 -1
  373. package/dist/collection/components/pds-icon/svg/window-paragraph.svg +0 -1
  374. package/dist/collection/components/pds-icon/svg/world.svg +0 -1
  375. package/dist/collection/components/pds-icon/svg/wrench.svg +0 -1
  376. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js +0 -10
  377. package/dist/collection/components/pds-icon/test/pds-icon.e2e.js.map +0 -1
  378. package/dist/collection/components/pds-icon/test/pds-icon.spec.js +0 -108
  379. package/dist/collection/components/pds-icon/test/pds-icon.spec.js.map +0 -1
  380. package/dist/collection/components/pds-icon/utils.js +0 -95
  381. package/dist/collection/components/pds-icon/utils.js.map +0 -1
  382. package/dist/collection/components/pds-icon/validate.js +0 -46
  383. package/dist/collection/components/pds-icon/validate.js.map +0 -1
  384. package/dist/collection/index.js +0 -2
  385. package/dist/collection/index.js.map +0 -1
  386. package/dist/esm/index-c769669c.js +0 -1181
  387. package/dist/esm/index-c769669c.js.map +0 -1
  388. package/dist/esm/index.js +0 -4
  389. package/dist/esm/index.js.map +0 -1
  390. package/dist/esm/loader.js +0 -13
  391. package/dist/esm/loader.js.map +0 -1
  392. package/dist/esm/pds-icon.entry.js.map +0 -1
  393. package/dist/esm/pds-icons.js +0 -22
  394. package/dist/esm/pds-icons.js.map +0 -1
  395. package/dist/esm/utils-cae6cf8b.js.map +0 -1
  396. package/dist/index.cjs.js +0 -1
  397. package/dist/index.js +0 -1
  398. package/dist/loader/cdn.js +0 -1
  399. package/dist/loader/index.cjs.js +0 -1
  400. package/dist/loader/index.d.ts +0 -21
  401. package/dist/loader/index.es2017.js +0 -1
  402. package/dist/loader/index.js +0 -2
  403. package/dist/loader/package.json +0 -11
  404. package/dist/pds-icons/p-0209c8dc.entry.js +0 -2
  405. package/dist/pds-icons/p-0209c8dc.entry.js.map +0 -1
  406. package/dist/pds-icons/p-72a65a5e.js +0 -2
  407. package/dist/pds-icons/p-72a65a5e.js.map +0 -1
  408. package/dist/pds-icons/p-964f6f9a.js +0 -3
  409. package/dist/pds-icons/p-964f6f9a.js.map +0 -1
  410. package/dist/pds-icons/p-e1255160.js +0 -2
  411. package/dist/pds-icons/p-e1255160.js.map +0 -1
  412. package/dist/pds-icons/svg/access-key.svg +0 -1
  413. package/dist/pds-icons/svg/add-circle.svg +0 -1
  414. package/dist/pds-icons/svg/add-image.svg +0 -1
  415. package/dist/pds-icons/svg/add-small.svg +0 -1
  416. package/dist/pds-icons/svg/add-square.svg +0 -1
  417. package/dist/pds-icons/svg/add.svg +0 -1
  418. package/dist/pds-icons/svg/advanced.svg +0 -1
  419. package/dist/pds-icons/svg/ai-sparkle.svg +0 -1
  420. package/dist/pds-icons/svg/ai-writer-filled.svg +0 -1
  421. package/dist/pds-icons/svg/ai-writer.svg +0 -1
  422. package/dist/pds-icons/svg/align-center.svg +0 -1
  423. package/dist/pds-icons/svg/align-justify.svg +0 -1
  424. package/dist/pds-icons/svg/align-left.svg +0 -1
  425. package/dist/pds-icons/svg/align-right.svg +0 -1
  426. package/dist/pds-icons/svg/app-store.svg +0 -1
  427. package/dist/pds-icons/svg/archive.svg +0 -1
  428. package/dist/pds-icons/svg/arrow-corner.svg +0 -1
  429. package/dist/pds-icons/svg/arrow-down.svg +0 -1
  430. package/dist/pds-icons/svg/arrow-left.svg +0 -1
  431. package/dist/pds-icons/svg/arrow-right.svg +0 -1
  432. package/dist/pds-icons/svg/arrow-up.svg +0 -1
  433. package/dist/pds-icons/svg/assessment.svg +0 -1
  434. package/dist/pds-icons/svg/at-sign.svg +0 -1
  435. package/dist/pds-icons/svg/attach.svg +0 -1
  436. package/dist/pds-icons/svg/automations.svg +0 -1
  437. package/dist/pds-icons/svg/ban.svg +0 -1
  438. package/dist/pds-icons/svg/bank.svg +0 -1
  439. package/dist/pds-icons/svg/bar-chart-10-tone.svg +0 -1
  440. package/dist/pds-icons/svg/bell-01-tone.svg +0 -1
  441. package/dist/pds-icons/svg/bell.svg +0 -1
  442. package/dist/pds-icons/svg/block.svg +0 -1
  443. package/dist/pds-icons/svg/blog-filled.svg +0 -1
  444. package/dist/pds-icons/svg/blog.svg +0 -1
  445. package/dist/pds-icons/svg/bold.svg +0 -1
  446. package/dist/pds-icons/svg/broadcast.svg +0 -1
  447. package/dist/pds-icons/svg/bulb.svg +0 -1
  448. package/dist/pds-icons/svg/button.svg +0 -1
  449. package/dist/pds-icons/svg/calendar-date.svg +0 -1
  450. package/dist/pds-icons/svg/calendar-schedule.svg +0 -1
  451. package/dist/pds-icons/svg/calendar-simple.svg +0 -1
  452. package/dist/pds-icons/svg/card-amex.svg +0 -1
  453. package/dist/pds-icons/svg/card-android.svg +0 -1
  454. package/dist/pds-icons/svg/card-apple.svg +0 -1
  455. package/dist/pds-icons/svg/card-diners-club.svg +0 -1
  456. package/dist/pds-icons/svg/card-discover.svg +0 -1
  457. package/dist/pds-icons/svg/card-generic.svg +0 -1
  458. package/dist/pds-icons/svg/card-gpay.svg +0 -1
  459. package/dist/pds-icons/svg/card-mastercard.svg +0 -1
  460. package/dist/pds-icons/svg/card-paypal.svg +0 -1
  461. package/dist/pds-icons/svg/card-stripe.svg +0 -1
  462. package/dist/pds-icons/svg/card-update.svg +0 -1
  463. package/dist/pds-icons/svg/card-visa.svg +0 -1
  464. package/dist/pds-icons/svg/caret-down.svg +0 -1
  465. package/dist/pds-icons/svg/caret-left.svg +0 -1
  466. package/dist/pds-icons/svg/caret-right.svg +0 -1
  467. package/dist/pds-icons/svg/caret-up.svg +0 -1
  468. package/dist/pds-icons/svg/cart-add.svg +0 -1
  469. package/dist/pds-icons/svg/cart.svg +0 -1
  470. package/dist/pds-icons/svg/certificate.svg +0 -1
  471. package/dist/pds-icons/svg/chart-filled.svg +0 -1
  472. package/dist/pds-icons/svg/chart.svg +0 -1
  473. package/dist/pds-icons/svg/check-circle-filled.svg +0 -1
  474. package/dist/pds-icons/svg/check-circle.svg +0 -1
  475. package/dist/pds-icons/svg/check.svg +0 -1
  476. package/dist/pds-icons/svg/circle-1.svg +0 -1
  477. package/dist/pds-icons/svg/circle-2.svg +0 -1
  478. package/dist/pds-icons/svg/circle-3.svg +0 -1
  479. package/dist/pds-icons/svg/circle-4.svg +0 -1
  480. package/dist/pds-icons/svg/circle-5.svg +0 -1
  481. package/dist/pds-icons/svg/circle-6.svg +0 -1
  482. package/dist/pds-icons/svg/circle-7.svg +0 -1
  483. package/dist/pds-icons/svg/circle-8.svg +0 -1
  484. package/dist/pds-icons/svg/circle-9.svg +0 -1
  485. package/dist/pds-icons/svg/circle-a.svg +0 -1
  486. package/dist/pds-icons/svg/circle-b.svg +0 -1
  487. package/dist/pds-icons/svg/circle-dashed.svg +0 -1
  488. package/dist/pds-icons/svg/clapperboard-tone.svg +0 -1
  489. package/dist/pds-icons/svg/clock.svg +0 -1
  490. package/dist/pds-icons/svg/closed-captions.svg +0 -1
  491. package/dist/pds-icons/svg/cloud-upload.svg +0 -1
  492. package/dist/pds-icons/svg/code-block.svg +0 -1
  493. package/dist/pds-icons/svg/code.svg +0 -1
  494. package/dist/pds-icons/svg/color.svg +0 -1
  495. package/dist/pds-icons/svg/columns.svg +0 -1
  496. package/dist/pds-icons/svg/comment-no.svg +0 -1
  497. package/dist/pds-icons/svg/comment.svg +0 -1
  498. package/dist/pds-icons/svg/connect.svg +0 -1
  499. package/dist/pds-icons/svg/contact.svg +0 -1
  500. package/dist/pds-icons/svg/conversation.svg +0 -1
  501. package/dist/pds-icons/svg/copy.svg +0 -1
  502. package/dist/pds-icons/svg/coupon.svg +0 -1
  503. package/dist/pds-icons/svg/course-filled.svg +0 -1
  504. package/dist/pds-icons/svg/course.svg +0 -1
  505. package/dist/pds-icons/svg/creator-studio-filled.svg +0 -1
  506. package/dist/pds-icons/svg/creator-studio.svg +0 -1
  507. package/dist/pds-icons/svg/credit-card-02-tone.svg +0 -1
  508. package/dist/pds-icons/svg/cube-01-tone.svg +0 -1
  509. package/dist/pds-icons/svg/cursor-pointer.svg +0 -1
  510. package/dist/pds-icons/svg/cursor.svg +0 -1
  511. package/dist/pds-icons/svg/custom-field.svg +0 -1
  512. package/dist/pds-icons/svg/customize.svg +0 -1
  513. package/dist/pds-icons/svg/danger-filled.svg +0 -1
  514. package/dist/pds-icons/svg/danger.svg +0 -1
  515. package/dist/pds-icons/svg/delete-circle.svg +0 -1
  516. package/dist/pds-icons/svg/delete-key.svg +0 -1
  517. package/dist/pds-icons/svg/delete-x.svg +0 -1
  518. package/dist/pds-icons/svg/dollar.svg +0 -1
  519. package/dist/pds-icons/svg/dot-menu-horizontal.svg +0 -1
  520. package/dist/pds-icons/svg/dots-horizontal-tone.svg +0 -1
  521. package/dist/pds-icons/svg/down-small.svg +0 -1
  522. package/dist/pds-icons/svg/download.svg +0 -1
  523. package/dist/pds-icons/svg/downsell.svg +0 -1
  524. package/dist/pds-icons/svg/draft.svg +0 -1
  525. package/dist/pds-icons/svg/drawer-collapse.svg +0 -1
  526. package/dist/pds-icons/svg/drawer-expand.svg +0 -1
  527. package/dist/pds-icons/svg/drop.svg +0 -1
  528. package/dist/pds-icons/svg/duplicate.svg +0 -1
  529. package/dist/pds-icons/svg/editor-filled.svg +0 -1
  530. package/dist/pds-icons/svg/editor.svg +0 -1
  531. package/dist/pds-icons/svg/email-activity.svg +0 -1
  532. package/dist/pds-icons/svg/emoji.svg +0 -1
  533. package/dist/pds-icons/svg/enlarge-vertical.svg +0 -1
  534. package/dist/pds-icons/svg/enlarge.svg +0 -1
  535. package/dist/pds-icons/svg/expand.svg +0 -1
  536. package/dist/pds-icons/svg/favorite.svg +0 -1
  537. package/dist/pds-icons/svg/feedback.svg +0 -1
  538. package/dist/pds-icons/svg/file-02.svg +0 -1
  539. package/dist/pds-icons/svg/file-money.svg +0 -1
  540. package/dist/pds-icons/svg/file.svg +0 -1
  541. package/dist/pds-icons/svg/filter.svg +0 -1
  542. package/dist/pds-icons/svg/flag.svg +0 -1
  543. package/dist/pds-icons/svg/flash-filled.svg +0 -1
  544. package/dist/pds-icons/svg/flash.svg +0 -1
  545. package/dist/pds-icons/svg/floppy-disk.svg +0 -1
  546. package/dist/pds-icons/svg/folder-group.svg +0 -1
  547. package/dist/pds-icons/svg/folder.svg +0 -1
  548. package/dist/pds-icons/svg/form-field.svg +0 -1
  549. package/dist/pds-icons/svg/form-filled.svg +0 -1
  550. package/dist/pds-icons/svg/form.svg +0 -1
  551. package/dist/pds-icons/svg/fullscreen.svg +0 -1
  552. package/dist/pds-icons/svg/funnel.svg +0 -1
  553. package/dist/pds-icons/svg/gear-filled.svg +0 -1
  554. package/dist/pds-icons/svg/gear.svg +0 -1
  555. package/dist/pds-icons/svg/grant-offer.svg +0 -1
  556. package/dist/pds-icons/svg/handle-2-vertical.svg +0 -1
  557. package/dist/pds-icons/svg/handle-2.svg +0 -1
  558. package/dist/pds-icons/svg/handle.svg +0 -1
  559. package/dist/pds-icons/svg/hashtag.svg +0 -1
  560. package/dist/pds-icons/svg/hd-video.svg +0 -1
  561. package/dist/pds-icons/svg/heading-1.svg +0 -1
  562. package/dist/pds-icons/svg/heading-2.svg +0 -1
  563. package/dist/pds-icons/svg/heading-3.svg +0 -1
  564. package/dist/pds-icons/svg/heading-4.svg +0 -1
  565. package/dist/pds-icons/svg/heading-5.svg +0 -1
  566. package/dist/pds-icons/svg/heading-6.svg +0 -1
  567. package/dist/pds-icons/svg/heading-large.svg +0 -1
  568. package/dist/pds-icons/svg/heading-small.svg +0 -1
  569. package/dist/pds-icons/svg/headset-tone.svg +0 -1
  570. package/dist/pds-icons/svg/headset.svg +0 -1
  571. package/dist/pds-icons/svg/help-filled.svg +0 -1
  572. package/dist/pds-icons/svg/help.svg +0 -1
  573. package/dist/pds-icons/svg/home-02-tone.svg +0 -1
  574. package/dist/pds-icons/svg/home-alt.svg +0 -1
  575. package/dist/pds-icons/svg/home-filled.svg +0 -1
  576. package/dist/pds-icons/svg/home.svg +0 -1
  577. package/dist/pds-icons/svg/horizontal-line.svg +0 -1
  578. package/dist/pds-icons/svg/image.svg +0 -1
  579. package/dist/pds-icons/svg/info-circle-filled.svg +0 -1
  580. package/dist/pds-icons/svg/info-circle.svg +0 -1
  581. package/dist/pds-icons/svg/ios-battery.svg +0 -1
  582. package/dist/pds-icons/svg/ios-data.svg +0 -1
  583. package/dist/pds-icons/svg/ios-wifi.svg +0 -1
  584. package/dist/pds-icons/svg/italic.svg +0 -1
  585. package/dist/pds-icons/svg/kajabi-filled.svg +0 -1
  586. package/dist/pds-icons/svg/kajabi.svg +0 -1
  587. package/dist/pds-icons/svg/klarna.svg +0 -1
  588. package/dist/pds-icons/svg/lab.svg +0 -1
  589. package/dist/pds-icons/svg/launch.svg +0 -1
  590. package/dist/pds-icons/svg/layout-grid.svg +0 -1
  591. package/dist/pds-icons/svg/layout-list.svg +0 -1
  592. package/dist/pds-icons/svg/left-small.svg +0 -1
  593. package/dist/pds-icons/svg/list-bullet.svg +0 -1
  594. package/dist/pds-icons/svg/list-details.svg +0 -1
  595. package/dist/pds-icons/svg/list-numbers.svg +0 -1
  596. package/dist/pds-icons/svg/location.svg +0 -1
  597. package/dist/pds-icons/svg/lock-alt.svg +0 -1
  598. package/dist/pds-icons/svg/lock.svg +0 -1
  599. package/dist/pds-icons/svg/logo-afterpay.svg +0 -1
  600. package/dist/pds-icons/svg/logo-facebook-round.svg +0 -1
  601. package/dist/pds-icons/svg/logo-facebook.svg +0 -1
  602. package/dist/pds-icons/svg/logo-instagram.svg +0 -1
  603. package/dist/pds-icons/svg/logo-linkedin.svg +0 -1
  604. package/dist/pds-icons/svg/logo-tiktok.svg +0 -1
  605. package/dist/pds-icons/svg/logo-twitter-x.svg +0 -1
  606. package/dist/pds-icons/svg/logo-twitter.svg +0 -1
  607. package/dist/pds-icons/svg/logo-youtube.svg +0 -1
  608. package/dist/pds-icons/svg/loop.svg +0 -1
  609. package/dist/pds-icons/svg/mail-01-tone.svg +0 -1
  610. package/dist/pds-icons/svg/mail-filled.svg +0 -1
  611. package/dist/pds-icons/svg/mail-open.svg +0 -1
  612. package/dist/pds-icons/svg/mail.svg +0 -1
  613. package/dist/pds-icons/svg/map.svg +0 -1
  614. package/dist/pds-icons/svg/mapped.svg +0 -1
  615. package/dist/pds-icons/svg/margin-left.svg +0 -1
  616. package/dist/pds-icons/svg/margin-right.svg +0 -1
  617. package/dist/pds-icons/svg/marker-filled.svg +0 -1
  618. package/dist/pds-icons/svg/marker.svg +0 -1
  619. package/dist/pds-icons/svg/megaphone-filled.svg +0 -1
  620. package/dist/pds-icons/svg/megaphone.svg +0 -1
  621. package/dist/pds-icons/svg/menu-alt.svg +0 -1
  622. package/dist/pds-icons/svg/menu-bordered.svg +0 -1
  623. package/dist/pds-icons/svg/menu.svg +0 -1
  624. package/dist/pds-icons/svg/merge.svg +0 -1
  625. package/dist/pds-icons/svg/microphone-off.svg +0 -1
  626. package/dist/pds-icons/svg/microphone.svg +0 -1
  627. package/dist/pds-icons/svg/monitor-03-tone.svg +0 -1
  628. package/dist/pds-icons/svg/monitor-filled.svg +0 -1
  629. package/dist/pds-icons/svg/monitor.svg +0 -1
  630. package/dist/pds-icons/svg/more-menu-filled.svg +0 -1
  631. package/dist/pds-icons/svg/more-menu.svg +0 -1
  632. package/dist/pds-icons/svg/move-left.svg +0 -1
  633. package/dist/pds-icons/svg/move-right.svg +0 -1
  634. package/dist/pds-icons/svg/multi-pay.svg +0 -1
  635. package/dist/pds-icons/svg/newsletter-2.svg +0 -1
  636. package/dist/pds-icons/svg/newsletter.svg +0 -1
  637. package/dist/pds-icons/svg/one-off-session.svg +0 -1
  638. package/dist/pds-icons/svg/one-time.svg +0 -1
  639. package/dist/pds-icons/svg/packages.svg +0 -1
  640. package/dist/pds-icons/svg/pause-circle.svg +0 -1
  641. package/dist/pds-icons/svg/pause.svg +0 -1
  642. package/dist/pds-icons/svg/payout.svg +0 -1
  643. package/dist/pds-icons/svg/pen.svg +0 -1
  644. package/dist/pds-icons/svg/phone-02-tone.svg +0 -1
  645. package/dist/pds-icons/svg/phone-portrait.svg +0 -1
  646. package/dist/pds-icons/svg/phone-toolbar-filled.svg +0 -1
  647. package/dist/pds-icons/svg/phone-toolbar.svg +0 -1
  648. package/dist/pds-icons/svg/play-circle.svg +0 -1
  649. package/dist/pds-icons/svg/play-outline.svg +0 -1
  650. package/dist/pds-icons/svg/play-store.svg +0 -1
  651. package/dist/pds-icons/svg/play.svg +0 -1
  652. package/dist/pds-icons/svg/plug.svg +0 -1
  653. package/dist/pds-icons/svg/premium.svg +0 -1
  654. package/dist/pds-icons/svg/present.svg +0 -1
  655. package/dist/pds-icons/svg/preview-off.svg +0 -1
  656. package/dist/pds-icons/svg/preview-on.svg +0 -1
  657. package/dist/pds-icons/svg/product-filled.svg +0 -1
  658. package/dist/pds-icons/svg/product.svg +0 -1
  659. package/dist/pds-icons/svg/question-circle.svg +0 -1
  660. package/dist/pds-icons/svg/quote.svg +0 -1
  661. package/dist/pds-icons/svg/redo.svg +0 -1
  662. package/dist/pds-icons/svg/refresh.svg +0 -1
  663. package/dist/pds-icons/svg/remove-circle.svg +0 -1
  664. package/dist/pds-icons/svg/remove.svg +0 -1
  665. package/dist/pds-icons/svg/rename.svg +0 -1
  666. package/dist/pds-icons/svg/reset-password.svg +0 -1
  667. package/dist/pds-icons/svg/restore.svg +0 -1
  668. package/dist/pds-icons/svg/right-small.svg +0 -1
  669. package/dist/pds-icons/svg/rocket-filled.svg +0 -1
  670. package/dist/pds-icons/svg/rocket.svg +0 -1
  671. package/dist/pds-icons/svg/round-dollar.svg +0 -1
  672. package/dist/pds-icons/svg/rows.svg +0 -1
  673. package/dist/pds-icons/svg/scissor.svg +0 -1
  674. package/dist/pds-icons/svg/screen-share-off.svg +0 -1
  675. package/dist/pds-icons/svg/screen-share-on.svg +0 -1
  676. package/dist/pds-icons/svg/search-md-tone.svg +0 -1
  677. package/dist/pds-icons/svg/search-small.svg +0 -1
  678. package/dist/pds-icons/svg/search.svg +0 -1
  679. package/dist/pds-icons/svg/send-message.svg +0 -1
  680. package/dist/pds-icons/svg/sequences.svg +0 -1
  681. package/dist/pds-icons/svg/settings-01-tone.svg +0 -1
  682. package/dist/pds-icons/svg/share.svg +0 -1
  683. package/dist/pds-icons/svg/skipped.svg +0 -1
  684. package/dist/pds-icons/svg/slash-divider.svg +0 -1
  685. package/dist/pds-icons/svg/speaker.svg +0 -1
  686. package/dist/pds-icons/svg/stack.svg +0 -1
  687. package/dist/pds-icons/svg/star.svg +0 -1
  688. package/dist/pds-icons/svg/stars-01-tone.svg +0 -1
  689. package/dist/pds-icons/svg/stop.svg +0 -1
  690. package/dist/pds-icons/svg/stopwatch.svg +0 -1
  691. package/dist/pds-icons/svg/strikethrough.svg +0 -1
  692. package/dist/pds-icons/svg/subscript.svg +0 -1
  693. package/dist/pds-icons/svg/subscriptions.svg +0 -1
  694. package/dist/pds-icons/svg/super-admin.svg +0 -1
  695. package/dist/pds-icons/svg/superscript.svg +0 -1
  696. package/dist/pds-icons/svg/sync.svg +0 -1
  697. package/dist/pds-icons/svg/tablet-landscape.svg +0 -1
  698. package/dist/pds-icons/svg/tablet-portrait.svg +0 -1
  699. package/dist/pds-icons/svg/tag-filled.svg +0 -1
  700. package/dist/pds-icons/svg/tag.svg +0 -1
  701. package/dist/pds-icons/svg/text-styles.svg +0 -1
  702. package/dist/pds-icons/svg/theme-store-filled.svg +0 -1
  703. package/dist/pds-icons/svg/theme-store.svg +0 -1
  704. package/dist/pds-icons/svg/thumb-down-filled.svg +0 -1
  705. package/dist/pds-icons/svg/thumb-down.svg +0 -1
  706. package/dist/pds-icons/svg/thumb-up-filled.svg +0 -1
  707. package/dist/pds-icons/svg/thumb-up.svg +0 -1
  708. package/dist/pds-icons/svg/trash.svg +0 -1
  709. package/dist/pds-icons/svg/trophy-filled.svg +0 -1
  710. package/dist/pds-icons/svg/trophy.svg +0 -1
  711. package/dist/pds-icons/svg/underline.svg +0 -1
  712. package/dist/pds-icons/svg/undo.svg +0 -1
  713. package/dist/pds-icons/svg/unlock.svg +0 -1
  714. package/dist/pds-icons/svg/unmapped.svg +0 -1
  715. package/dist/pds-icons/svg/up-small.svg +0 -1
  716. package/dist/pds-icons/svg/upload.svg +0 -1
  717. package/dist/pds-icons/svg/url.svg +0 -1
  718. package/dist/pds-icons/svg/user-circle-filled.svg +0 -1
  719. package/dist/pds-icons/svg/user-circle.svg +0 -1
  720. package/dist/pds-icons/svg/user-filled.svg +0 -1
  721. package/dist/pds-icons/svg/user-star-filled.svg +0 -1
  722. package/dist/pds-icons/svg/user-star.svg +0 -1
  723. package/dist/pds-icons/svg/user.svg +0 -1
  724. package/dist/pds-icons/svg/users-02-tone.svg +0 -1
  725. package/dist/pds-icons/svg/users-alt.svg +0 -1
  726. package/dist/pds-icons/svg/users-filled.svg +0 -1
  727. package/dist/pds-icons/svg/users.svg +0 -1
  728. package/dist/pds-icons/svg/video-off.svg +0 -1
  729. package/dist/pds-icons/svg/video-on.svg +0 -1
  730. package/dist/pds-icons/svg/warning-filled.svg +0 -1
  731. package/dist/pds-icons/svg/warning.svg +0 -1
  732. package/dist/pds-icons/svg/window-paragraph.svg +0 -1
  733. package/dist/pds-icons/svg/world.svg +0 -1
  734. package/dist/pds-icons/svg/wrench.svg +0 -1
  735. package/dist/svg/access-key.svg +0 -1
  736. package/dist/svg/add-circle.svg +0 -1
  737. package/dist/svg/add-image.svg +0 -1
  738. package/dist/svg/add-small.svg +0 -1
  739. package/dist/svg/add-square.svg +0 -1
  740. package/dist/svg/add.svg +0 -1
  741. package/dist/svg/advanced.svg +0 -1
  742. package/dist/svg/ai-sparkle.svg +0 -1
  743. package/dist/svg/ai-writer-filled.svg +0 -1
  744. package/dist/svg/ai-writer.svg +0 -1
  745. package/dist/svg/align-center.svg +0 -1
  746. package/dist/svg/align-justify.svg +0 -1
  747. package/dist/svg/align-left.svg +0 -1
  748. package/dist/svg/align-right.svg +0 -1
  749. package/dist/svg/app-store.svg +0 -1
  750. package/dist/svg/archive.svg +0 -1
  751. package/dist/svg/arrow-corner.svg +0 -1
  752. package/dist/svg/arrow-down.svg +0 -1
  753. package/dist/svg/arrow-left.svg +0 -1
  754. package/dist/svg/arrow-right.svg +0 -1
  755. package/dist/svg/arrow-up.svg +0 -1
  756. package/dist/svg/assessment.svg +0 -1
  757. package/dist/svg/at-sign.svg +0 -1
  758. package/dist/svg/attach.svg +0 -1
  759. package/dist/svg/automations.svg +0 -1
  760. package/dist/svg/ban.svg +0 -1
  761. package/dist/svg/bank.svg +0 -1
  762. package/dist/svg/bar-chart-10-tone.svg +0 -1
  763. package/dist/svg/bell-01-tone.svg +0 -1
  764. package/dist/svg/bell.svg +0 -1
  765. package/dist/svg/block.svg +0 -1
  766. package/dist/svg/blog-filled.svg +0 -1
  767. package/dist/svg/blog.svg +0 -1
  768. package/dist/svg/bold.svg +0 -1
  769. package/dist/svg/broadcast.svg +0 -1
  770. package/dist/svg/bulb.svg +0 -1
  771. package/dist/svg/button.svg +0 -1
  772. package/dist/svg/calendar-date.svg +0 -1
  773. package/dist/svg/calendar-schedule.svg +0 -1
  774. package/dist/svg/calendar-simple.svg +0 -1
  775. package/dist/svg/card-amex.svg +0 -1
  776. package/dist/svg/card-android.svg +0 -1
  777. package/dist/svg/card-apple.svg +0 -1
  778. package/dist/svg/card-diners-club.svg +0 -1
  779. package/dist/svg/card-discover.svg +0 -1
  780. package/dist/svg/card-generic.svg +0 -1
  781. package/dist/svg/card-gpay.svg +0 -1
  782. package/dist/svg/card-mastercard.svg +0 -1
  783. package/dist/svg/card-paypal.svg +0 -1
  784. package/dist/svg/card-stripe.svg +0 -1
  785. package/dist/svg/card-update.svg +0 -1
  786. package/dist/svg/card-visa.svg +0 -1
  787. package/dist/svg/caret-down.svg +0 -1
  788. package/dist/svg/caret-left.svg +0 -1
  789. package/dist/svg/caret-right.svg +0 -1
  790. package/dist/svg/caret-up.svg +0 -1
  791. package/dist/svg/cart-add.svg +0 -1
  792. package/dist/svg/cart.svg +0 -1
  793. package/dist/svg/certificate.svg +0 -1
  794. package/dist/svg/chart-filled.svg +0 -1
  795. package/dist/svg/chart.svg +0 -1
  796. package/dist/svg/check-circle-filled.svg +0 -1
  797. package/dist/svg/check-circle.svg +0 -1
  798. package/dist/svg/check.svg +0 -1
  799. package/dist/svg/circle-1.svg +0 -1
  800. package/dist/svg/circle-2.svg +0 -1
  801. package/dist/svg/circle-3.svg +0 -1
  802. package/dist/svg/circle-4.svg +0 -1
  803. package/dist/svg/circle-5.svg +0 -1
  804. package/dist/svg/circle-6.svg +0 -1
  805. package/dist/svg/circle-7.svg +0 -1
  806. package/dist/svg/circle-8.svg +0 -1
  807. package/dist/svg/circle-9.svg +0 -1
  808. package/dist/svg/circle-a.svg +0 -1
  809. package/dist/svg/circle-b.svg +0 -1
  810. package/dist/svg/circle-dashed.svg +0 -1
  811. package/dist/svg/clapperboard-tone.svg +0 -1
  812. package/dist/svg/clock.svg +0 -1
  813. package/dist/svg/closed-captions.svg +0 -1
  814. package/dist/svg/cloud-upload.svg +0 -1
  815. package/dist/svg/code-block.svg +0 -1
  816. package/dist/svg/code.svg +0 -1
  817. package/dist/svg/color.svg +0 -1
  818. package/dist/svg/columns.svg +0 -1
  819. package/dist/svg/comment-no.svg +0 -1
  820. package/dist/svg/comment.svg +0 -1
  821. package/dist/svg/connect.svg +0 -1
  822. package/dist/svg/contact.svg +0 -1
  823. package/dist/svg/conversation.svg +0 -1
  824. package/dist/svg/copy.svg +0 -1
  825. package/dist/svg/coupon.svg +0 -1
  826. package/dist/svg/course-filled.svg +0 -1
  827. package/dist/svg/course.svg +0 -1
  828. package/dist/svg/creator-studio-filled.svg +0 -1
  829. package/dist/svg/creator-studio.svg +0 -1
  830. package/dist/svg/credit-card-02-tone.svg +0 -1
  831. package/dist/svg/cube-01-tone.svg +0 -1
  832. package/dist/svg/cursor-pointer.svg +0 -1
  833. package/dist/svg/cursor.svg +0 -1
  834. package/dist/svg/custom-field.svg +0 -1
  835. package/dist/svg/customize.svg +0 -1
  836. package/dist/svg/danger-filled.svg +0 -1
  837. package/dist/svg/danger.svg +0 -1
  838. package/dist/svg/delete-circle.svg +0 -1
  839. package/dist/svg/delete-key.svg +0 -1
  840. package/dist/svg/delete-x.svg +0 -1
  841. package/dist/svg/dollar.svg +0 -1
  842. package/dist/svg/dot-menu-horizontal.svg +0 -1
  843. package/dist/svg/dots-horizontal-tone.svg +0 -1
  844. package/dist/svg/down-small.svg +0 -1
  845. package/dist/svg/download.svg +0 -1
  846. package/dist/svg/downsell.svg +0 -1
  847. package/dist/svg/draft.svg +0 -1
  848. package/dist/svg/drawer-collapse.svg +0 -1
  849. package/dist/svg/drawer-expand.svg +0 -1
  850. package/dist/svg/drop.svg +0 -1
  851. package/dist/svg/duplicate.svg +0 -1
  852. package/dist/svg/editor-filled.svg +0 -1
  853. package/dist/svg/editor.svg +0 -1
  854. package/dist/svg/email-activity.svg +0 -1
  855. package/dist/svg/emoji.svg +0 -1
  856. package/dist/svg/enlarge-vertical.svg +0 -1
  857. package/dist/svg/enlarge.svg +0 -1
  858. package/dist/svg/expand.svg +0 -1
  859. package/dist/svg/favorite.svg +0 -1
  860. package/dist/svg/feedback.svg +0 -1
  861. package/dist/svg/file-02.svg +0 -1
  862. package/dist/svg/file-money.svg +0 -1
  863. package/dist/svg/file.svg +0 -1
  864. package/dist/svg/filter.svg +0 -1
  865. package/dist/svg/flag.svg +0 -1
  866. package/dist/svg/flash-filled.svg +0 -1
  867. package/dist/svg/flash.svg +0 -1
  868. package/dist/svg/floppy-disk.svg +0 -1
  869. package/dist/svg/folder-group.svg +0 -1
  870. package/dist/svg/folder.svg +0 -1
  871. package/dist/svg/form-field.svg +0 -1
  872. package/dist/svg/form-filled.svg +0 -1
  873. package/dist/svg/form.svg +0 -1
  874. package/dist/svg/fullscreen.svg +0 -1
  875. package/dist/svg/funnel.svg +0 -1
  876. package/dist/svg/gear-filled.svg +0 -1
  877. package/dist/svg/gear.svg +0 -1
  878. package/dist/svg/grant-offer.svg +0 -1
  879. package/dist/svg/handle-2-vertical.svg +0 -1
  880. package/dist/svg/handle-2.svg +0 -1
  881. package/dist/svg/handle.svg +0 -1
  882. package/dist/svg/hashtag.svg +0 -1
  883. package/dist/svg/hd-video.svg +0 -1
  884. package/dist/svg/heading-1.svg +0 -1
  885. package/dist/svg/heading-2.svg +0 -1
  886. package/dist/svg/heading-3.svg +0 -1
  887. package/dist/svg/heading-4.svg +0 -1
  888. package/dist/svg/heading-5.svg +0 -1
  889. package/dist/svg/heading-6.svg +0 -1
  890. package/dist/svg/heading-large.svg +0 -1
  891. package/dist/svg/heading-small.svg +0 -1
  892. package/dist/svg/headset-tone.svg +0 -1
  893. package/dist/svg/headset.svg +0 -1
  894. package/dist/svg/help-filled.svg +0 -1
  895. package/dist/svg/help.svg +0 -1
  896. package/dist/svg/home-02-tone.svg +0 -1
  897. package/dist/svg/home-alt.svg +0 -1
  898. package/dist/svg/home-filled.svg +0 -1
  899. package/dist/svg/home.svg +0 -1
  900. package/dist/svg/horizontal-line.svg +0 -1
  901. package/dist/svg/image.svg +0 -1
  902. package/dist/svg/info-circle-filled.svg +0 -1
  903. package/dist/svg/info-circle.svg +0 -1
  904. package/dist/svg/ios-battery.svg +0 -1
  905. package/dist/svg/ios-data.svg +0 -1
  906. package/dist/svg/ios-wifi.svg +0 -1
  907. package/dist/svg/italic.svg +0 -1
  908. package/dist/svg/kajabi-filled.svg +0 -1
  909. package/dist/svg/kajabi.svg +0 -1
  910. package/dist/svg/klarna.svg +0 -1
  911. package/dist/svg/lab.svg +0 -1
  912. package/dist/svg/launch.svg +0 -1
  913. package/dist/svg/layout-grid.svg +0 -1
  914. package/dist/svg/layout-list.svg +0 -1
  915. package/dist/svg/left-small.svg +0 -1
  916. package/dist/svg/list-bullet.svg +0 -1
  917. package/dist/svg/list-details.svg +0 -1
  918. package/dist/svg/list-numbers.svg +0 -1
  919. package/dist/svg/location.svg +0 -1
  920. package/dist/svg/lock-alt.svg +0 -1
  921. package/dist/svg/lock.svg +0 -1
  922. package/dist/svg/logo-afterpay.svg +0 -1
  923. package/dist/svg/logo-facebook-round.svg +0 -1
  924. package/dist/svg/logo-facebook.svg +0 -1
  925. package/dist/svg/logo-instagram.svg +0 -1
  926. package/dist/svg/logo-linkedin.svg +0 -1
  927. package/dist/svg/logo-tiktok.svg +0 -1
  928. package/dist/svg/logo-twitter-x.svg +0 -1
  929. package/dist/svg/logo-twitter.svg +0 -1
  930. package/dist/svg/logo-youtube.svg +0 -1
  931. package/dist/svg/loop.svg +0 -1
  932. package/dist/svg/mail-01-tone.svg +0 -1
  933. package/dist/svg/mail-filled.svg +0 -1
  934. package/dist/svg/mail-open.svg +0 -1
  935. package/dist/svg/mail.svg +0 -1
  936. package/dist/svg/map.svg +0 -1
  937. package/dist/svg/mapped.svg +0 -1
  938. package/dist/svg/margin-left.svg +0 -1
  939. package/dist/svg/margin-right.svg +0 -1
  940. package/dist/svg/marker-filled.svg +0 -1
  941. package/dist/svg/marker.svg +0 -1
  942. package/dist/svg/megaphone-filled.svg +0 -1
  943. package/dist/svg/megaphone.svg +0 -1
  944. package/dist/svg/menu-alt.svg +0 -1
  945. package/dist/svg/menu-bordered.svg +0 -1
  946. package/dist/svg/menu.svg +0 -1
  947. package/dist/svg/merge.svg +0 -1
  948. package/dist/svg/microphone-off.svg +0 -1
  949. package/dist/svg/microphone.svg +0 -1
  950. package/dist/svg/monitor-03-tone.svg +0 -1
  951. package/dist/svg/monitor-filled.svg +0 -1
  952. package/dist/svg/monitor.svg +0 -1
  953. package/dist/svg/more-menu-filled.svg +0 -1
  954. package/dist/svg/more-menu.svg +0 -1
  955. package/dist/svg/move-left.svg +0 -1
  956. package/dist/svg/move-right.svg +0 -1
  957. package/dist/svg/multi-pay.svg +0 -1
  958. package/dist/svg/newsletter-2.svg +0 -1
  959. package/dist/svg/newsletter.svg +0 -1
  960. package/dist/svg/one-off-session.svg +0 -1
  961. package/dist/svg/one-time.svg +0 -1
  962. package/dist/svg/packages.svg +0 -1
  963. package/dist/svg/pause-circle.svg +0 -1
  964. package/dist/svg/pause.svg +0 -1
  965. package/dist/svg/payout.svg +0 -1
  966. package/dist/svg/pen.svg +0 -1
  967. package/dist/svg/phone-02-tone.svg +0 -1
  968. package/dist/svg/phone-portrait.svg +0 -1
  969. package/dist/svg/phone-toolbar-filled.svg +0 -1
  970. package/dist/svg/phone-toolbar.svg +0 -1
  971. package/dist/svg/play-circle.svg +0 -1
  972. package/dist/svg/play-outline.svg +0 -1
  973. package/dist/svg/play-store.svg +0 -1
  974. package/dist/svg/play.svg +0 -1
  975. package/dist/svg/plug.svg +0 -1
  976. package/dist/svg/premium.svg +0 -1
  977. package/dist/svg/present.svg +0 -1
  978. package/dist/svg/preview-off.svg +0 -1
  979. package/dist/svg/preview-on.svg +0 -1
  980. package/dist/svg/product-filled.svg +0 -1
  981. package/dist/svg/product.svg +0 -1
  982. package/dist/svg/question-circle.svg +0 -1
  983. package/dist/svg/quote.svg +0 -1
  984. package/dist/svg/redo.svg +0 -1
  985. package/dist/svg/refresh.svg +0 -1
  986. package/dist/svg/remove-circle.svg +0 -1
  987. package/dist/svg/remove.svg +0 -1
  988. package/dist/svg/rename.svg +0 -1
  989. package/dist/svg/reset-password.svg +0 -1
  990. package/dist/svg/restore.svg +0 -1
  991. package/dist/svg/right-small.svg +0 -1
  992. package/dist/svg/rocket-filled.svg +0 -1
  993. package/dist/svg/rocket.svg +0 -1
  994. package/dist/svg/round-dollar.svg +0 -1
  995. package/dist/svg/rows.svg +0 -1
  996. package/dist/svg/scissor.svg +0 -1
  997. package/dist/svg/screen-share-off.svg +0 -1
  998. package/dist/svg/screen-share-on.svg +0 -1
  999. package/dist/svg/search-md-tone.svg +0 -1
  1000. package/dist/svg/search-small.svg +0 -1
  1001. package/dist/svg/search.svg +0 -1
  1002. package/dist/svg/send-message.svg +0 -1
  1003. package/dist/svg/sequences.svg +0 -1
  1004. package/dist/svg/settings-01-tone.svg +0 -1
  1005. package/dist/svg/share.svg +0 -1
  1006. package/dist/svg/skipped.svg +0 -1
  1007. package/dist/svg/slash-divider.svg +0 -1
  1008. package/dist/svg/speaker.svg +0 -1
  1009. package/dist/svg/stack.svg +0 -1
  1010. package/dist/svg/star.svg +0 -1
  1011. package/dist/svg/stars-01-tone.svg +0 -1
  1012. package/dist/svg/stop.svg +0 -1
  1013. package/dist/svg/stopwatch.svg +0 -1
  1014. package/dist/svg/strikethrough.svg +0 -1
  1015. package/dist/svg/subscript.svg +0 -1
  1016. package/dist/svg/subscriptions.svg +0 -1
  1017. package/dist/svg/super-admin.svg +0 -1
  1018. package/dist/svg/superscript.svg +0 -1
  1019. package/dist/svg/sync.svg +0 -1
  1020. package/dist/svg/tablet-landscape.svg +0 -1
  1021. package/dist/svg/tablet-portrait.svg +0 -1
  1022. package/dist/svg/tag-filled.svg +0 -1
  1023. package/dist/svg/tag.svg +0 -1
  1024. package/dist/svg/text-styles.svg +0 -1
  1025. package/dist/svg/theme-store-filled.svg +0 -1
  1026. package/dist/svg/theme-store.svg +0 -1
  1027. package/dist/svg/thumb-down-filled.svg +0 -1
  1028. package/dist/svg/thumb-down.svg +0 -1
  1029. package/dist/svg/thumb-up-filled.svg +0 -1
  1030. package/dist/svg/thumb-up.svg +0 -1
  1031. package/dist/svg/trash.svg +0 -1
  1032. package/dist/svg/trophy-filled.svg +0 -1
  1033. package/dist/svg/trophy.svg +0 -1
  1034. package/dist/svg/underline.svg +0 -1
  1035. package/dist/svg/undo.svg +0 -1
  1036. package/dist/svg/unlock.svg +0 -1
  1037. package/dist/svg/unmapped.svg +0 -1
  1038. package/dist/svg/up-small.svg +0 -1
  1039. package/dist/svg/upload.svg +0 -1
  1040. package/dist/svg/url.svg +0 -1
  1041. package/dist/svg/user-circle-filled.svg +0 -1
  1042. package/dist/svg/user-circle.svg +0 -1
  1043. package/dist/svg/user-filled.svg +0 -1
  1044. package/dist/svg/user-star-filled.svg +0 -1
  1045. package/dist/svg/user-star.svg +0 -1
  1046. package/dist/svg/user.svg +0 -1
  1047. package/dist/svg/users-02-tone.svg +0 -1
  1048. package/dist/svg/users-alt.svg +0 -1
  1049. package/dist/svg/users-filled.svg +0 -1
  1050. package/dist/svg/users.svg +0 -1
  1051. package/dist/svg/video-off.svg +0 -1
  1052. package/dist/svg/video-on.svg +0 -1
  1053. package/dist/svg/warning-filled.svg +0 -1
  1054. package/dist/svg/warning.svg +0 -1
  1055. package/dist/svg/window-paragraph.svg +0 -1
  1056. package/dist/svg/world.svg +0 -1
  1057. package/dist/svg/wrench.svg +0 -1
  1058. /package/dist/{esm → pds-icons}/app-globals-0f993ce5.js +0 -0
  1059. /package/dist/{esm → pds-icons}/app-globals-0f993ce5.js.map +0 -0
@@ -0,0 +1,2970 @@
1
+ const NAMESPACE = 'pds-icons';
2
+ const BUILD = /* pds-icons */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: true, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: true, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: true, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: true, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
+ const Env = /* pds-icons */ {};
4
+
5
+ /*
6
+ Stencil Client Platform v4.18.3 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ var __defProp = Object.defineProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var Build = {
14
+ isDev: BUILD.isDev ? true : false,
15
+ isBrowser: true,
16
+ isServer: false,
17
+ isTesting: BUILD.isTesting ? true : false
18
+ };
19
+
20
+ // src/runtime/asset-path.ts
21
+ var getAssetPath = (path) => {
22
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
23
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
24
+ };
25
+ var setAssetPath = (path) => plt.$resourcesUrl$ = path;
26
+
27
+ // src/utils/constants.ts
28
+ var EMPTY_OBJ = {};
29
+ var SVG_NS = "http://www.w3.org/2000/svg";
30
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
31
+
32
+ // src/utils/helpers.ts
33
+ var isDef = (v) => v != null;
34
+ var isComplexType = (o) => {
35
+ o = typeof o;
36
+ return o === "object" || o === "function";
37
+ };
38
+
39
+ // src/utils/query-nonce-meta-tag-content.ts
40
+ function queryNonceMetaTagContent(doc2) {
41
+ var _a, _b, _c;
42
+ return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
43
+ }
44
+
45
+ // src/utils/result.ts
46
+ var result_exports = {};
47
+ __export(result_exports, {
48
+ err: () => err,
49
+ map: () => map,
50
+ ok: () => ok,
51
+ unwrap: () => unwrap,
52
+ unwrapErr: () => unwrapErr
53
+ });
54
+ var ok = (value) => ({
55
+ isOk: true,
56
+ isErr: false,
57
+ value
58
+ });
59
+ var err = (value) => ({
60
+ isOk: false,
61
+ isErr: true,
62
+ value
63
+ });
64
+ function map(result, fn) {
65
+ if (result.isOk) {
66
+ const val = fn(result.value);
67
+ if (val instanceof Promise) {
68
+ return val.then((newVal) => ok(newVal));
69
+ } else {
70
+ return ok(val);
71
+ }
72
+ }
73
+ if (result.isErr) {
74
+ const value = result.value;
75
+ return err(value);
76
+ }
77
+ throw "should never get here";
78
+ }
79
+ var unwrap = (result) => {
80
+ if (result.isOk) {
81
+ return result.value;
82
+ } else {
83
+ throw result.value;
84
+ }
85
+ };
86
+ var unwrapErr = (result) => {
87
+ if (result.isErr) {
88
+ return result.value;
89
+ } else {
90
+ throw result.value;
91
+ }
92
+ };
93
+ var i = 0;
94
+ var createTime = (fnName, tagName = "") => {
95
+ if (BUILD.profile && performance.mark) {
96
+ const key = `st:${fnName}:${tagName}:${i++}`;
97
+ performance.mark(key);
98
+ return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);
99
+ } else {
100
+ return () => {
101
+ return;
102
+ };
103
+ }
104
+ };
105
+ var uniqueTime = (key, measureText) => {
106
+ if (BUILD.profile && performance.mark) {
107
+ if (performance.getEntriesByName(key, "mark").length === 0) {
108
+ performance.mark(key);
109
+ }
110
+ return () => {
111
+ if (performance.getEntriesByName(measureText, "measure").length === 0) {
112
+ performance.measure(measureText, key);
113
+ }
114
+ };
115
+ } else {
116
+ return () => {
117
+ return;
118
+ };
119
+ }
120
+ };
121
+ var inspect = (ref) => {
122
+ const hostRef = getHostRef(ref);
123
+ if (!hostRef) {
124
+ return void 0;
125
+ }
126
+ const flags = hostRef.$flags$;
127
+ const hostElement = hostRef.$hostElement$;
128
+ return {
129
+ renderCount: hostRef.$renderCount$,
130
+ flags: {
131
+ hasRendered: !!(flags & 2 /* hasRendered */),
132
+ hasConnected: !!(flags & 1 /* hasConnected */),
133
+ isWaitingForChildren: !!(flags & 4 /* isWaitingForChildren */),
134
+ isConstructingInstance: !!(flags & 8 /* isConstructingInstance */),
135
+ isQueuedForUpdate: !!(flags & 16 /* isQueuedForUpdate */),
136
+ hasInitializedComponent: !!(flags & 32 /* hasInitializedComponent */),
137
+ hasLoadedComponent: !!(flags & 64 /* hasLoadedComponent */),
138
+ isWatchReady: !!(flags & 128 /* isWatchReady */),
139
+ isListenReady: !!(flags & 256 /* isListenReady */),
140
+ needsRerender: !!(flags & 512 /* needsRerender */)
141
+ },
142
+ instanceValues: hostRef.$instanceValues$,
143
+ ancestorComponent: hostRef.$ancestorComponent$,
144
+ hostElement,
145
+ lazyInstance: hostRef.$lazyInstance$,
146
+ vnode: hostRef.$vnode$,
147
+ modeName: hostRef.$modeName$,
148
+ onReadyPromise: hostRef.$onReadyPromise$,
149
+ onReadyResolve: hostRef.$onReadyResolve$,
150
+ onInstancePromise: hostRef.$onInstancePromise$,
151
+ onInstanceResolve: hostRef.$onInstanceResolve$,
152
+ onRenderResolve: hostRef.$onRenderResolve$,
153
+ queuedListeners: hostRef.$queuedListeners$,
154
+ rmListeners: hostRef.$rmListeners$,
155
+ ["s-id"]: hostElement["s-id"],
156
+ ["s-cr"]: hostElement["s-cr"],
157
+ ["s-lr"]: hostElement["s-lr"],
158
+ ["s-p"]: hostElement["s-p"],
159
+ ["s-rc"]: hostElement["s-rc"],
160
+ ["s-sc"]: hostElement["s-sc"]
161
+ };
162
+ };
163
+ var installDevTools = () => {
164
+ if (BUILD.devTools) {
165
+ const stencil = win.stencil = win.stencil || {};
166
+ const originalInspect = stencil.inspect;
167
+ stencil.inspect = (ref) => {
168
+ let result = inspect(ref);
169
+ if (!result && typeof originalInspect === "function") {
170
+ result = originalInspect(ref);
171
+ }
172
+ return result;
173
+ };
174
+ }
175
+ };
176
+
177
+ // src/runtime/runtime-constants.ts
178
+ var CONTENT_REF_ID = "r";
179
+ var ORG_LOCATION_ID = "o";
180
+ var SLOT_NODE_ID = "s";
181
+ var TEXT_NODE_ID = "t";
182
+ var HYDRATE_ID = "s-id";
183
+ var HYDRATED_STYLE_ID = "sty-id";
184
+ var HYDRATE_CHILD_ID = "c-id";
185
+ var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
186
+ var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
187
+ var XLINK_NS = "http://www.w3.org/1999/xlink";
188
+ var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
189
+ "formAssociatedCallback",
190
+ "formResetCallback",
191
+ "formDisabledCallback",
192
+ "formStateRestoreCallback"
193
+ ];
194
+ var h = (nodeName, vnodeData, ...children) => {
195
+ let child = null;
196
+ let key = null;
197
+ let slotName = null;
198
+ let simple = false;
199
+ let lastSimple = false;
200
+ const vNodeChildren = [];
201
+ const walk = (c) => {
202
+ for (let i2 = 0; i2 < c.length; i2++) {
203
+ child = c[i2];
204
+ if (Array.isArray(child)) {
205
+ walk(child);
206
+ } else if (child != null && typeof child !== "boolean") {
207
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
208
+ child = String(child);
209
+ } else if (BUILD.isDev && typeof nodeName !== "function" && child.$flags$ === void 0) {
210
+ consoleDevError(`vNode passed as children has unexpected type.
211
+ Make sure it's using the correct h() function.
212
+ Empty objects can also be the cause, look for JSX comments that became objects.`);
213
+ }
214
+ if (simple && lastSimple) {
215
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
216
+ } else {
217
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
218
+ }
219
+ lastSimple = simple;
220
+ }
221
+ }
222
+ };
223
+ walk(children);
224
+ if (vnodeData) {
225
+ if (BUILD.isDev && nodeName === "input") {
226
+ validateInputProperties(vnodeData);
227
+ }
228
+ if (BUILD.vdomKey && vnodeData.key) {
229
+ key = vnodeData.key;
230
+ }
231
+ if (BUILD.slotRelocation && vnodeData.name) {
232
+ slotName = vnodeData.name;
233
+ }
234
+ if (BUILD.vdomClass) {
235
+ const classData = vnodeData.className || vnodeData.class;
236
+ if (classData) {
237
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
238
+ }
239
+ }
240
+ }
241
+ if (BUILD.isDev && vNodeChildren.some(isHost)) {
242
+ consoleDevError(`The <Host> must be the single root component. Make sure:
243
+ - You are NOT using hostData() and <Host> in the same component.
244
+ - <Host> is used once, and it's the single root component of the render() function.`);
245
+ }
246
+ if (BUILD.vdomFunctional && typeof nodeName === "function") {
247
+ return nodeName(
248
+ vnodeData === null ? {} : vnodeData,
249
+ vNodeChildren,
250
+ vdomFnUtils
251
+ );
252
+ }
253
+ const vnode = newVNode(nodeName, null);
254
+ vnode.$attrs$ = vnodeData;
255
+ if (vNodeChildren.length > 0) {
256
+ vnode.$children$ = vNodeChildren;
257
+ }
258
+ if (BUILD.vdomKey) {
259
+ vnode.$key$ = key;
260
+ }
261
+ if (BUILD.slotRelocation) {
262
+ vnode.$name$ = slotName;
263
+ }
264
+ return vnode;
265
+ };
266
+ var newVNode = (tag, text) => {
267
+ const vnode = {
268
+ $flags$: 0,
269
+ $tag$: tag,
270
+ $text$: text,
271
+ $elm$: null,
272
+ $children$: null
273
+ };
274
+ if (BUILD.vdomAttribute) {
275
+ vnode.$attrs$ = null;
276
+ }
277
+ if (BUILD.vdomKey) {
278
+ vnode.$key$ = null;
279
+ }
280
+ if (BUILD.slotRelocation) {
281
+ vnode.$name$ = null;
282
+ }
283
+ return vnode;
284
+ };
285
+ var Host = {};
286
+ var isHost = (node) => node && node.$tag$ === Host;
287
+ var vdomFnUtils = {
288
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
289
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
290
+ };
291
+ var convertToPublic = (node) => ({
292
+ vattrs: node.$attrs$,
293
+ vchildren: node.$children$,
294
+ vkey: node.$key$,
295
+ vname: node.$name$,
296
+ vtag: node.$tag$,
297
+ vtext: node.$text$
298
+ });
299
+ var convertToPrivate = (node) => {
300
+ if (typeof node.vtag === "function") {
301
+ const vnodeData = { ...node.vattrs };
302
+ if (node.vkey) {
303
+ vnodeData.key = node.vkey;
304
+ }
305
+ if (node.vname) {
306
+ vnodeData.name = node.vname;
307
+ }
308
+ return h(node.vtag, vnodeData, ...node.vchildren || []);
309
+ }
310
+ const vnode = newVNode(node.vtag, node.vtext);
311
+ vnode.$attrs$ = node.vattrs;
312
+ vnode.$children$ = node.vchildren;
313
+ vnode.$key$ = node.vkey;
314
+ vnode.$name$ = node.vname;
315
+ return vnode;
316
+ };
317
+ var validateInputProperties = (inputElm) => {
318
+ const props = Object.keys(inputElm);
319
+ const value = props.indexOf("value");
320
+ if (value === -1) {
321
+ return;
322
+ }
323
+ const typeIndex = props.indexOf("type");
324
+ const minIndex = props.indexOf("min");
325
+ const maxIndex = props.indexOf("max");
326
+ const stepIndex = props.indexOf("step");
327
+ if (value < typeIndex || value < minIndex || value < maxIndex || value < stepIndex) {
328
+ consoleDevWarn(`The "value" prop of <input> should be set after "min", "max", "type" and "step"`);
329
+ }
330
+ };
331
+
332
+ // src/runtime/client-hydrate.ts
333
+ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
334
+ const endHydrate = createTime("hydrateClient", tagName);
335
+ const shadowRoot = hostElm.shadowRoot;
336
+ const childRenderNodes = [];
337
+ const slotNodes = [];
338
+ const shadowRootNodes = BUILD.shadowDom && shadowRoot ? [] : null;
339
+ const vnode = hostRef.$vnode$ = newVNode(tagName, null);
340
+ if (!plt.$orgLocNodes$) {
341
+ initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
342
+ }
343
+ hostElm[HYDRATE_ID] = hostId;
344
+ hostElm.removeAttribute(HYDRATE_ID);
345
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
346
+ childRenderNodes.map((c) => {
347
+ const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
348
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
349
+ const node = c.$elm$;
350
+ if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
351
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
352
+ }
353
+ if (!shadowRoot) {
354
+ node["s-hn"] = tagName;
355
+ if (orgLocationNode) {
356
+ node["s-ol"] = orgLocationNode;
357
+ node["s-ol"]["s-nr"] = node;
358
+ }
359
+ }
360
+ plt.$orgLocNodes$.delete(orgLocationId);
361
+ });
362
+ if (BUILD.shadowDom && shadowRoot) {
363
+ shadowRootNodes.map((shadowRootNode) => {
364
+ if (shadowRootNode) {
365
+ shadowRoot.appendChild(shadowRootNode);
366
+ }
367
+ });
368
+ }
369
+ endHydrate();
370
+ };
371
+ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
372
+ let childNodeType;
373
+ let childIdSplt;
374
+ let childVNode;
375
+ let i2;
376
+ if (node.nodeType === 1 /* ElementNode */) {
377
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
378
+ if (childNodeType) {
379
+ childIdSplt = childNodeType.split(".");
380
+ if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
381
+ childVNode = {
382
+ $flags$: 0,
383
+ $hostId$: childIdSplt[0],
384
+ $nodeId$: childIdSplt[1],
385
+ $depth$: childIdSplt[2],
386
+ $index$: childIdSplt[3],
387
+ $tag$: node.tagName.toLowerCase(),
388
+ $elm$: node,
389
+ $attrs$: null,
390
+ $children$: null,
391
+ $key$: null,
392
+ $name$: null,
393
+ $text$: null
394
+ };
395
+ childRenderNodes.push(childVNode);
396
+ node.removeAttribute(HYDRATE_CHILD_ID);
397
+ if (!parentVNode.$children$) {
398
+ parentVNode.$children$ = [];
399
+ }
400
+ parentVNode.$children$[childVNode.$index$] = childVNode;
401
+ parentVNode = childVNode;
402
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
403
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
404
+ }
405
+ }
406
+ }
407
+ for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
408
+ clientHydrate(
409
+ parentVNode,
410
+ childRenderNodes,
411
+ slotNodes,
412
+ shadowRootNodes,
413
+ hostElm,
414
+ node.childNodes[i2],
415
+ hostId
416
+ );
417
+ }
418
+ if (node.shadowRoot) {
419
+ for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
420
+ clientHydrate(
421
+ parentVNode,
422
+ childRenderNodes,
423
+ slotNodes,
424
+ shadowRootNodes,
425
+ hostElm,
426
+ node.shadowRoot.childNodes[i2],
427
+ hostId
428
+ );
429
+ }
430
+ }
431
+ } else if (node.nodeType === 8 /* CommentNode */) {
432
+ childIdSplt = node.nodeValue.split(".");
433
+ if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
434
+ childNodeType = childIdSplt[0];
435
+ childVNode = {
436
+ $flags$: 0,
437
+ $hostId$: childIdSplt[1],
438
+ $nodeId$: childIdSplt[2],
439
+ $depth$: childIdSplt[3],
440
+ $index$: childIdSplt[4],
441
+ $elm$: node,
442
+ $attrs$: null,
443
+ $children$: null,
444
+ $key$: null,
445
+ $name$: null,
446
+ $tag$: null,
447
+ $text$: null
448
+ };
449
+ if (childNodeType === TEXT_NODE_ID) {
450
+ childVNode.$elm$ = node.nextSibling;
451
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
452
+ childVNode.$text$ = childVNode.$elm$.textContent;
453
+ childRenderNodes.push(childVNode);
454
+ node.remove();
455
+ if (!parentVNode.$children$) {
456
+ parentVNode.$children$ = [];
457
+ }
458
+ parentVNode.$children$[childVNode.$index$] = childVNode;
459
+ if (shadowRootNodes && childVNode.$depth$ === "0") {
460
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
461
+ }
462
+ }
463
+ } else if (childVNode.$hostId$ === hostId) {
464
+ if (childNodeType === SLOT_NODE_ID) {
465
+ childVNode.$tag$ = "slot";
466
+ if (childIdSplt[5]) {
467
+ node["s-sn"] = childVNode.$name$ = childIdSplt[5];
468
+ } else {
469
+ node["s-sn"] = "";
470
+ }
471
+ node["s-sr"] = true;
472
+ if (BUILD.shadowDom && shadowRootNodes) {
473
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
474
+ if (childVNode.$name$) {
475
+ childVNode.$elm$.setAttribute("name", childVNode.$name$);
476
+ }
477
+ node.parentNode.insertBefore(childVNode.$elm$, node);
478
+ node.remove();
479
+ if (childVNode.$depth$ === "0") {
480
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
481
+ }
482
+ }
483
+ slotNodes.push(childVNode);
484
+ if (!parentVNode.$children$) {
485
+ parentVNode.$children$ = [];
486
+ }
487
+ parentVNode.$children$[childVNode.$index$] = childVNode;
488
+ } else if (childNodeType === CONTENT_REF_ID) {
489
+ if (BUILD.shadowDom && shadowRootNodes) {
490
+ node.remove();
491
+ } else if (BUILD.slotRelocation) {
492
+ hostElm["s-cr"] = node;
493
+ node["s-cn"] = true;
494
+ }
495
+ }
496
+ }
497
+ }
498
+ } else if (parentVNode && parentVNode.$tag$ === "style") {
499
+ const vnode = newVNode(null, node.textContent);
500
+ vnode.$elm$ = node;
501
+ vnode.$index$ = "0";
502
+ parentVNode.$children$ = [vnode];
503
+ }
504
+ };
505
+ var initializeDocumentHydrate = (node, orgLocNodes) => {
506
+ if (node.nodeType === 1 /* ElementNode */) {
507
+ let i2 = 0;
508
+ for (; i2 < node.childNodes.length; i2++) {
509
+ initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
510
+ }
511
+ if (node.shadowRoot) {
512
+ for (i2 = 0; i2 < node.shadowRoot.childNodes.length; i2++) {
513
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
514
+ }
515
+ }
516
+ } else if (node.nodeType === 8 /* CommentNode */) {
517
+ const childIdSplt = node.nodeValue.split(".");
518
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
519
+ orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
520
+ node.nodeValue = "";
521
+ node["s-en"] = childIdSplt[3];
522
+ }
523
+ }
524
+ };
525
+
526
+ // src/runtime/mode.ts
527
+ var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
528
+ var setMode = (handler) => modeResolutionChain.push(handler);
529
+ var getMode = (ref) => getHostRef(ref).$modeName$;
530
+ var parsePropertyValue = (propValue, propType) => {
531
+ if (propValue != null && !isComplexType(propValue)) {
532
+ if (BUILD.propBoolean && propType & 4 /* Boolean */) {
533
+ return propValue === "false" ? false : propValue === "" || !!propValue;
534
+ }
535
+ if (BUILD.propNumber && propType & 2 /* Number */) {
536
+ return parseFloat(propValue);
537
+ }
538
+ if (BUILD.propString && propType & 1 /* String */) {
539
+ return String(propValue);
540
+ }
541
+ return propValue;
542
+ }
543
+ return propValue;
544
+ };
545
+ var getElement = (ref) => BUILD.lazyLoad ? getHostRef(ref).$hostElement$ : ref;
546
+
547
+ // src/runtime/event-emitter.ts
548
+ var createEvent = (ref, name, flags) => {
549
+ const elm = getElement(ref);
550
+ return {
551
+ emit: (detail) => {
552
+ if (BUILD.isDev && !elm.isConnected) {
553
+ consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
554
+ }
555
+ return emitEvent(elm, name, {
556
+ bubbles: !!(flags & 4 /* Bubbles */),
557
+ composed: !!(flags & 2 /* Composed */),
558
+ cancelable: !!(flags & 1 /* Cancellable */),
559
+ detail
560
+ });
561
+ }
562
+ };
563
+ };
564
+ var emitEvent = (elm, name, opts) => {
565
+ const ev = plt.ce(name, opts);
566
+ elm.dispatchEvent(ev);
567
+ return ev;
568
+ };
569
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
570
+ var registerStyle = (scopeId2, cssText, allowCS) => {
571
+ let style = styles.get(scopeId2);
572
+ if (supportsConstructableStylesheets && allowCS) {
573
+ style = style || new CSSStyleSheet();
574
+ if (typeof style === "string") {
575
+ style = cssText;
576
+ } else {
577
+ style.replaceSync(cssText);
578
+ }
579
+ } else {
580
+ style = cssText;
581
+ }
582
+ styles.set(scopeId2, style);
583
+ };
584
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
585
+ var _a;
586
+ const scopeId2 = getScopeId(cmpMeta, mode);
587
+ const style = styles.get(scopeId2);
588
+ if (!BUILD.attachStyles) {
589
+ return scopeId2;
590
+ }
591
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
592
+ if (style) {
593
+ if (typeof style === "string") {
594
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
595
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
596
+ let styleElm;
597
+ if (!appliedStyles) {
598
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
599
+ }
600
+ if (!appliedStyles.has(scopeId2)) {
601
+ if (BUILD.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
602
+ styleElm.innerHTML = style;
603
+ } else {
604
+ styleElm = doc.createElement("style");
605
+ styleElm.innerHTML = style;
606
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
607
+ if (nonce != null) {
608
+ styleElm.setAttribute("nonce", nonce);
609
+ }
610
+ if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {
611
+ styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
612
+ }
613
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
614
+ }
615
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
616
+ styleElm.innerHTML += SLOT_FB_CSS;
617
+ }
618
+ if (appliedStyles) {
619
+ appliedStyles.add(scopeId2);
620
+ }
621
+ }
622
+ } else if (BUILD.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {
623
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
624
+ }
625
+ }
626
+ return scopeId2;
627
+ };
628
+ var attachStyles = (hostRef) => {
629
+ const cmpMeta = hostRef.$cmpMeta$;
630
+ const elm = hostRef.$hostElement$;
631
+ const flags = cmpMeta.$flags$;
632
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
633
+ const scopeId2 = addStyle(
634
+ BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
635
+ cmpMeta,
636
+ hostRef.$modeName$
637
+ );
638
+ if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & 10 /* needsScopedEncapsulation */) {
639
+ elm["s-sc"] = scopeId2;
640
+ elm.classList.add(scopeId2 + "-h");
641
+ if (BUILD.scoped && flags & 2 /* scopedCssEncapsulation */) {
642
+ elm.classList.add(scopeId2 + "-s");
643
+ }
644
+ }
645
+ endAttachStyles();
646
+ };
647
+ var getScopeId = (cmp, mode) => "sc-" + (BUILD.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
648
+ var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
649
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
650
+ if (oldValue !== newValue) {
651
+ let isProp = isMemberInElement(elm, memberName);
652
+ let ln = memberName.toLowerCase();
653
+ if (BUILD.vdomClass && memberName === "class") {
654
+ const classList = elm.classList;
655
+ const oldClasses = parseClassList(oldValue);
656
+ const newClasses = parseClassList(newValue);
657
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
658
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
659
+ } else if (BUILD.vdomStyle && memberName === "style") {
660
+ if (BUILD.updatable) {
661
+ for (const prop in oldValue) {
662
+ if (!newValue || newValue[prop] == null) {
663
+ if (!BUILD.hydrateServerSide && prop.includes("-")) {
664
+ elm.style.removeProperty(prop);
665
+ } else {
666
+ elm.style[prop] = "";
667
+ }
668
+ }
669
+ }
670
+ }
671
+ for (const prop in newValue) {
672
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
673
+ if (!BUILD.hydrateServerSide && prop.includes("-")) {
674
+ elm.style.setProperty(prop, newValue[prop]);
675
+ } else {
676
+ elm.style[prop] = newValue[prop];
677
+ }
678
+ }
679
+ }
680
+ } else if (BUILD.vdomKey && memberName === "key") {
681
+ } else if (BUILD.vdomRef && memberName === "ref") {
682
+ if (newValue) {
683
+ newValue(elm);
684
+ }
685
+ } else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
686
+ if (memberName[2] === "-") {
687
+ memberName = memberName.slice(3);
688
+ } else if (isMemberInElement(win, ln)) {
689
+ memberName = ln.slice(2);
690
+ } else {
691
+ memberName = ln[2] + memberName.slice(3);
692
+ }
693
+ if (oldValue || newValue) {
694
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
695
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
696
+ if (oldValue) {
697
+ plt.rel(elm, memberName, oldValue, capture);
698
+ }
699
+ if (newValue) {
700
+ plt.ael(elm, memberName, newValue, capture);
701
+ }
702
+ }
703
+ } else if (BUILD.vdomPropOrAttr) {
704
+ const isComplex = isComplexType(newValue);
705
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
706
+ try {
707
+ if (!elm.tagName.includes("-")) {
708
+ const n = newValue == null ? "" : newValue;
709
+ if (memberName === "list") {
710
+ isProp = false;
711
+ } else if (oldValue == null || elm[memberName] != n) {
712
+ elm[memberName] = n;
713
+ }
714
+ } else {
715
+ elm[memberName] = newValue;
716
+ }
717
+ } catch (e) {
718
+ }
719
+ }
720
+ let xlink = false;
721
+ if (BUILD.vdomXlink) {
722
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
723
+ memberName = ln;
724
+ xlink = true;
725
+ }
726
+ }
727
+ if (newValue == null || newValue === false) {
728
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
729
+ if (BUILD.vdomXlink && xlink) {
730
+ elm.removeAttributeNS(XLINK_NS, memberName);
731
+ } else {
732
+ elm.removeAttribute(memberName);
733
+ }
734
+ }
735
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
736
+ newValue = newValue === true ? "" : newValue;
737
+ if (BUILD.vdomXlink && xlink) {
738
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
739
+ } else {
740
+ elm.setAttribute(memberName, newValue);
741
+ }
742
+ }
743
+ }
744
+ }
745
+ };
746
+ var parseClassListRegex = /\s/;
747
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
748
+ var CAPTURE_EVENT_SUFFIX = "Capture";
749
+ var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
750
+
751
+ // src/runtime/vdom/update-element.ts
752
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
753
+ const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
754
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
755
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
756
+ if (BUILD.updatable) {
757
+ for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
758
+ if (!(memberName in newVnodeAttrs)) {
759
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
760
+ }
761
+ }
762
+ }
763
+ for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
764
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
765
+ }
766
+ };
767
+ function sortedAttrNames(attrNames) {
768
+ return attrNames.includes("ref") ? (
769
+ // we need to sort these to ensure that `'ref'` is the last attr
770
+ [...attrNames.filter((attr) => attr !== "ref"), "ref"]
771
+ ) : (
772
+ // no need to sort, return the original array
773
+ attrNames
774
+ );
775
+ }
776
+
777
+ // src/runtime/vdom/vdom-render.ts
778
+ var scopeId;
779
+ var contentRef;
780
+ var hostTagName;
781
+ var useNativeShadowDom = false;
782
+ var checkSlotFallbackVisibility = false;
783
+ var checkSlotRelocate = false;
784
+ var isSvgMode = false;
785
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
786
+ var _a;
787
+ const newVNode2 = newParentVNode.$children$[childIndex];
788
+ let i2 = 0;
789
+ let elm;
790
+ let childNode;
791
+ let oldVNode;
792
+ if (BUILD.slotRelocation && !useNativeShadowDom) {
793
+ checkSlotRelocate = true;
794
+ if (newVNode2.$tag$ === "slot") {
795
+ if (scopeId) {
796
+ parentElm.classList.add(scopeId + "-s");
797
+ }
798
+ newVNode2.$flags$ |= newVNode2.$children$ ? (
799
+ // slot element has fallback content
800
+ // still create an element that "mocks" the slot element
801
+ 2 /* isSlotFallback */
802
+ ) : (
803
+ // slot element does not have fallback content
804
+ // create an html comment we'll use to always reference
805
+ // where actual slot content should sit next to
806
+ 1 /* isSlotReference */
807
+ );
808
+ }
809
+ }
810
+ if (BUILD.isDev && newVNode2.$elm$) {
811
+ consoleDevError(
812
+ `The JSX ${newVNode2.$text$ !== null ? `"${newVNode2.$text$}" text` : `"${newVNode2.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`
813
+ );
814
+ }
815
+ if (BUILD.vdomText && newVNode2.$text$ !== null) {
816
+ elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
817
+ } else if (BUILD.slotRelocation && newVNode2.$flags$ & 1 /* isSlotReference */) {
818
+ elm = newVNode2.$elm$ = BUILD.isDebug || BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode2) : doc.createTextNode("");
819
+ } else {
820
+ if (BUILD.svg && !isSvgMode) {
821
+ isSvgMode = newVNode2.$tag$ === "svg";
822
+ }
823
+ elm = newVNode2.$elm$ = BUILD.svg ? doc.createElementNS(
824
+ isSvgMode ? SVG_NS : HTML_NS,
825
+ BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
826
+ ) : doc.createElement(
827
+ BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
828
+ );
829
+ if (BUILD.svg && isSvgMode && newVNode2.$tag$ === "foreignObject") {
830
+ isSvgMode = false;
831
+ }
832
+ if (BUILD.vdomAttribute) {
833
+ updateElement(null, newVNode2, isSvgMode);
834
+ }
835
+ if ((BUILD.shadowDom || BUILD.scoped) && isDef(scopeId) && elm["s-si"] !== scopeId) {
836
+ elm.classList.add(elm["s-si"] = scopeId);
837
+ }
838
+ if (BUILD.scoped) {
839
+ updateElementScopeIds(elm, parentElm);
840
+ }
841
+ if (newVNode2.$children$) {
842
+ for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
843
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
844
+ if (childNode) {
845
+ elm.appendChild(childNode);
846
+ }
847
+ }
848
+ }
849
+ if (BUILD.svg) {
850
+ if (newVNode2.$tag$ === "svg") {
851
+ isSvgMode = false;
852
+ } else if (elm.tagName === "foreignObject") {
853
+ isSvgMode = true;
854
+ }
855
+ }
856
+ }
857
+ elm["s-hn"] = hostTagName;
858
+ if (BUILD.slotRelocation) {
859
+ if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
860
+ elm["s-sr"] = true;
861
+ elm["s-cr"] = contentRef;
862
+ elm["s-sn"] = newVNode2.$name$ || "";
863
+ elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
864
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
865
+ if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
866
+ if (BUILD.experimentalSlotFixes) {
867
+ relocateToHostRoot(oldParentVNode.$elm$);
868
+ } else {
869
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
870
+ }
871
+ }
872
+ }
873
+ }
874
+ return elm;
875
+ };
876
+ var relocateToHostRoot = (parentElm) => {
877
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
878
+ const host = parentElm.closest(hostTagName.toLowerCase());
879
+ if (host != null) {
880
+ const contentRefNode = Array.from(host.childNodes).find((ref) => ref["s-cr"]);
881
+ const childNodeArray = Array.from(parentElm.childNodes);
882
+ for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
883
+ if (childNode["s-sh"] != null) {
884
+ insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
885
+ childNode["s-sh"] = void 0;
886
+ checkSlotRelocate = true;
887
+ }
888
+ }
889
+ }
890
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
891
+ };
892
+ var putBackInOriginalLocation = (parentElm, recursive) => {
893
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
894
+ const oldSlotChildNodes = Array.from(parentElm.childNodes);
895
+ if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
896
+ let node = parentElm;
897
+ while (node = node.nextSibling) {
898
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
899
+ oldSlotChildNodes.push(node);
900
+ }
901
+ }
902
+ }
903
+ for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
904
+ const childNode = oldSlotChildNodes[i2];
905
+ if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
906
+ insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
907
+ childNode["s-ol"].remove();
908
+ childNode["s-ol"] = void 0;
909
+ childNode["s-sh"] = void 0;
910
+ checkSlotRelocate = true;
911
+ }
912
+ if (recursive) {
913
+ putBackInOriginalLocation(childNode, recursive);
914
+ }
915
+ }
916
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
917
+ };
918
+ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
919
+ let containerElm = BUILD.slotRelocation && parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
920
+ let childNode;
921
+ if (BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {
922
+ containerElm = containerElm.shadowRoot;
923
+ }
924
+ for (; startIdx <= endIdx; ++startIdx) {
925
+ if (vnodes[startIdx]) {
926
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
927
+ if (childNode) {
928
+ vnodes[startIdx].$elm$ = childNode;
929
+ insertBefore(containerElm, childNode, BUILD.slotRelocation ? referenceNode(before) : before);
930
+ }
931
+ }
932
+ }
933
+ };
934
+ var removeVnodes = (vnodes, startIdx, endIdx) => {
935
+ for (let index = startIdx; index <= endIdx; ++index) {
936
+ const vnode = vnodes[index];
937
+ if (vnode) {
938
+ const elm = vnode.$elm$;
939
+ nullifyVNodeRefs(vnode);
940
+ if (elm) {
941
+ if (BUILD.slotRelocation) {
942
+ checkSlotFallbackVisibility = true;
943
+ if (elm["s-ol"]) {
944
+ elm["s-ol"].remove();
945
+ } else {
946
+ putBackInOriginalLocation(elm, true);
947
+ }
948
+ }
949
+ elm.remove();
950
+ }
951
+ }
952
+ }
953
+ };
954
+ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
955
+ let oldStartIdx = 0;
956
+ let newStartIdx = 0;
957
+ let idxInOld = 0;
958
+ let i2 = 0;
959
+ let oldEndIdx = oldCh.length - 1;
960
+ let oldStartVnode = oldCh[0];
961
+ let oldEndVnode = oldCh[oldEndIdx];
962
+ let newEndIdx = newCh.length - 1;
963
+ let newStartVnode = newCh[0];
964
+ let newEndVnode = newCh[newEndIdx];
965
+ let node;
966
+ let elmToMove;
967
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
968
+ if (oldStartVnode == null) {
969
+ oldStartVnode = oldCh[++oldStartIdx];
970
+ } else if (oldEndVnode == null) {
971
+ oldEndVnode = oldCh[--oldEndIdx];
972
+ } else if (newStartVnode == null) {
973
+ newStartVnode = newCh[++newStartIdx];
974
+ } else if (newEndVnode == null) {
975
+ newEndVnode = newCh[--newEndIdx];
976
+ } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
977
+ patch(oldStartVnode, newStartVnode, isInitialRender);
978
+ oldStartVnode = oldCh[++oldStartIdx];
979
+ newStartVnode = newCh[++newStartIdx];
980
+ } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
981
+ patch(oldEndVnode, newEndVnode, isInitialRender);
982
+ oldEndVnode = oldCh[--oldEndIdx];
983
+ newEndVnode = newCh[--newEndIdx];
984
+ } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
985
+ if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
986
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
987
+ }
988
+ patch(oldStartVnode, newEndVnode, isInitialRender);
989
+ insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
990
+ oldStartVnode = oldCh[++oldStartIdx];
991
+ newEndVnode = newCh[--newEndIdx];
992
+ } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
993
+ if (BUILD.slotRelocation && (oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
994
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
995
+ }
996
+ patch(oldEndVnode, newStartVnode, isInitialRender);
997
+ insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
998
+ oldEndVnode = oldCh[--oldEndIdx];
999
+ newStartVnode = newCh[++newStartIdx];
1000
+ } else {
1001
+ idxInOld = -1;
1002
+ if (BUILD.vdomKey) {
1003
+ for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
1004
+ if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
1005
+ idxInOld = i2;
1006
+ break;
1007
+ }
1008
+ }
1009
+ }
1010
+ if (BUILD.vdomKey && idxInOld >= 0) {
1011
+ elmToMove = oldCh[idxInOld];
1012
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1013
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
1014
+ } else {
1015
+ patch(elmToMove, newStartVnode, isInitialRender);
1016
+ oldCh[idxInOld] = void 0;
1017
+ node = elmToMove.$elm$;
1018
+ }
1019
+ newStartVnode = newCh[++newStartIdx];
1020
+ } else {
1021
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
1022
+ newStartVnode = newCh[++newStartIdx];
1023
+ }
1024
+ if (node) {
1025
+ if (BUILD.slotRelocation) {
1026
+ insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
1027
+ } else {
1028
+ insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
1029
+ }
1030
+ }
1031
+ }
1032
+ }
1033
+ if (oldStartIdx > oldEndIdx) {
1034
+ addVnodes(
1035
+ parentElm,
1036
+ newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
1037
+ newVNode2,
1038
+ newCh,
1039
+ newStartIdx,
1040
+ newEndIdx
1041
+ );
1042
+ } else if (BUILD.updatable && newStartIdx > newEndIdx) {
1043
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1044
+ }
1045
+ };
1046
+ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
1047
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1048
+ if (BUILD.slotRelocation && leftVNode.$tag$ === "slot") {
1049
+ return leftVNode.$name$ === rightVNode.$name$;
1050
+ }
1051
+ if (BUILD.vdomKey && !isInitialRender) {
1052
+ return leftVNode.$key$ === rightVNode.$key$;
1053
+ }
1054
+ return true;
1055
+ }
1056
+ return false;
1057
+ };
1058
+ var referenceNode = (node) => {
1059
+ return node && node["s-ol"] || node;
1060
+ };
1061
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
1062
+ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1063
+ const elm = newVNode2.$elm$ = oldVNode.$elm$;
1064
+ const oldChildren = oldVNode.$children$;
1065
+ const newChildren = newVNode2.$children$;
1066
+ const tag = newVNode2.$tag$;
1067
+ const text = newVNode2.$text$;
1068
+ let defaultHolder;
1069
+ if (!BUILD.vdomText || text === null) {
1070
+ if (BUILD.svg) {
1071
+ isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
1072
+ }
1073
+ if (BUILD.vdomAttribute || BUILD.reflect) {
1074
+ if (BUILD.slot && tag === "slot" && !useNativeShadowDom) {
1075
+ if (BUILD.experimentalSlotFixes && oldVNode.$name$ !== newVNode2.$name$) {
1076
+ newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
1077
+ relocateToHostRoot(newVNode2.$elm$.parentElement);
1078
+ }
1079
+ } else {
1080
+ updateElement(oldVNode, newVNode2, isSvgMode);
1081
+ }
1082
+ }
1083
+ if (BUILD.updatable && oldChildren !== null && newChildren !== null) {
1084
+ updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
1085
+ } else if (newChildren !== null) {
1086
+ if (BUILD.updatable && BUILD.vdomText && oldVNode.$text$ !== null) {
1087
+ elm.textContent = "";
1088
+ }
1089
+ addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
1090
+ } else if (BUILD.updatable && oldChildren !== null) {
1091
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1092
+ }
1093
+ if (BUILD.svg && isSvgMode && tag === "svg") {
1094
+ isSvgMode = false;
1095
+ }
1096
+ } else if (BUILD.vdomText && BUILD.slotRelocation && (defaultHolder = elm["s-cr"])) {
1097
+ defaultHolder.parentNode.textContent = text;
1098
+ } else if (BUILD.vdomText && oldVNode.$text$ !== text) {
1099
+ elm.data = text;
1100
+ }
1101
+ };
1102
+ var updateFallbackSlotVisibility = (elm) => {
1103
+ const childNodes = elm.childNodes;
1104
+ for (const childNode of childNodes) {
1105
+ if (childNode.nodeType === 1 /* ElementNode */) {
1106
+ if (childNode["s-sr"]) {
1107
+ const slotName = childNode["s-sn"];
1108
+ childNode.hidden = false;
1109
+ for (const siblingNode of childNodes) {
1110
+ if (siblingNode !== childNode) {
1111
+ if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
1112
+ if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
1113
+ childNode.hidden = true;
1114
+ break;
1115
+ }
1116
+ } else {
1117
+ if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
1118
+ childNode.hidden = true;
1119
+ break;
1120
+ }
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+ updateFallbackSlotVisibility(childNode);
1126
+ }
1127
+ }
1128
+ };
1129
+ var relocateNodes = [];
1130
+ var markSlotContentForRelocation = (elm) => {
1131
+ let node;
1132
+ let hostContentNodes;
1133
+ let j;
1134
+ for (const childNode of elm.childNodes) {
1135
+ if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
1136
+ hostContentNodes = node.parentNode.childNodes;
1137
+ const slotName = childNode["s-sn"];
1138
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1139
+ node = hostContentNodes[j];
1140
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes || !node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
1141
+ if (isNodeLocatedInSlot(node, slotName)) {
1142
+ let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1143
+ checkSlotFallbackVisibility = true;
1144
+ node["s-sn"] = node["s-sn"] || slotName;
1145
+ if (relocateNodeData) {
1146
+ relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
1147
+ relocateNodeData.$slotRefNode$ = childNode;
1148
+ } else {
1149
+ node["s-sh"] = childNode["s-hn"];
1150
+ relocateNodes.push({
1151
+ $slotRefNode$: childNode,
1152
+ $nodeToRelocate$: node
1153
+ });
1154
+ }
1155
+ if (node["s-sr"]) {
1156
+ relocateNodes.map((relocateNode) => {
1157
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
1158
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1159
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1160
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1161
+ }
1162
+ }
1163
+ });
1164
+ }
1165
+ } else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1166
+ relocateNodes.push({
1167
+ $nodeToRelocate$: node
1168
+ });
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+ if (childNode.nodeType === 1 /* ElementNode */) {
1174
+ markSlotContentForRelocation(childNode);
1175
+ }
1176
+ }
1177
+ };
1178
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
1179
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1180
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
1181
+ return true;
1182
+ }
1183
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
1184
+ return true;
1185
+ }
1186
+ return false;
1187
+ }
1188
+ if (nodeToRelocate["s-sn"] === slotName) {
1189
+ return true;
1190
+ }
1191
+ return slotName === "";
1192
+ };
1193
+ var nullifyVNodeRefs = (vNode) => {
1194
+ if (BUILD.vdomRef) {
1195
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1196
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1197
+ }
1198
+ };
1199
+ var insertBefore = (parent, newNode, reference) => {
1200
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
1201
+ if (BUILD.scoped) {
1202
+ updateElementScopeIds(newNode, parent);
1203
+ }
1204
+ return inserted;
1205
+ };
1206
+ var findScopeIds = (element) => {
1207
+ const scopeIds = [];
1208
+ if (element) {
1209
+ scopeIds.push(
1210
+ ...element["s-scs"] || [],
1211
+ element["s-si"],
1212
+ element["s-sc"],
1213
+ ...findScopeIds(element.parentElement)
1214
+ );
1215
+ }
1216
+ return scopeIds;
1217
+ };
1218
+ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
1219
+ var _a;
1220
+ if (element && parent && element.nodeType === 1 /* ElementNode */) {
1221
+ const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
1222
+ if (scopeIds.size) {
1223
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
1224
+ if (element["s-ol"] || iterateChildNodes) {
1225
+ for (const childNode of Array.from(element.childNodes)) {
1226
+ updateElementScopeIds(childNode, element, true);
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ };
1232
+ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1233
+ var _a, _b, _c, _d, _e;
1234
+ const hostElm = hostRef.$hostElement$;
1235
+ const cmpMeta = hostRef.$cmpMeta$;
1236
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1237
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1238
+ hostTagName = hostElm.tagName;
1239
+ if (BUILD.isDev && Array.isArray(renderFnResults) && renderFnResults.some(isHost)) {
1240
+ throw new Error(`The <Host> must be the single root component.
1241
+ Looks like the render() function of "${hostTagName.toLowerCase()}" is returning an array that contains the <Host>.
1242
+
1243
+ The render() function should look like this instead:
1244
+
1245
+ render() {
1246
+ // Do not return an array
1247
+ return (
1248
+ <Host>{content}</Host>
1249
+ );
1250
+ }
1251
+ `);
1252
+ }
1253
+ if (BUILD.reflect && cmpMeta.$attrsToReflect$) {
1254
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1255
+ cmpMeta.$attrsToReflect$.map(
1256
+ ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
1257
+ );
1258
+ }
1259
+ if (isInitialLoad && rootVnode.$attrs$) {
1260
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1261
+ if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
1262
+ rootVnode.$attrs$[key] = hostElm[key];
1263
+ }
1264
+ }
1265
+ }
1266
+ rootVnode.$tag$ = null;
1267
+ rootVnode.$flags$ |= 4 /* isHost */;
1268
+ hostRef.$vnode$ = rootVnode;
1269
+ rootVnode.$elm$ = oldVNode.$elm$ = BUILD.shadowDom ? hostElm.shadowRoot || hostElm : hostElm;
1270
+ if (BUILD.scoped || BUILD.shadowDom) {
1271
+ scopeId = hostElm["s-sc"];
1272
+ }
1273
+ useNativeShadowDom = supportsShadow && (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1274
+ if (BUILD.slotRelocation) {
1275
+ contentRef = hostElm["s-cr"];
1276
+ checkSlotFallbackVisibility = false;
1277
+ }
1278
+ patch(oldVNode, rootVnode, isInitialLoad);
1279
+ if (BUILD.slotRelocation) {
1280
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
1281
+ if (checkSlotRelocate) {
1282
+ markSlotContentForRelocation(rootVnode.$elm$);
1283
+ for (const relocateData of relocateNodes) {
1284
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1285
+ if (!nodeToRelocate["s-ol"]) {
1286
+ const orgLocationNode = BUILD.isDebug || BUILD.hydrateServerSide ? originalLocationDebugNode(nodeToRelocate) : doc.createTextNode("");
1287
+ orgLocationNode["s-nr"] = nodeToRelocate;
1288
+ insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
1289
+ }
1290
+ }
1291
+ for (const relocateData of relocateNodes) {
1292
+ const nodeToRelocate = relocateData.$nodeToRelocate$;
1293
+ const slotRefNode = relocateData.$slotRefNode$;
1294
+ if (slotRefNode) {
1295
+ const parentNodeRef = slotRefNode.parentNode;
1296
+ let insertBeforeNode = slotRefNode.nextSibling;
1297
+ if (!BUILD.experimentalSlotFixes || insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
1298
+ let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1299
+ while (orgLocationNode) {
1300
+ let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1301
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
1302
+ refNode = refNode.nextSibling;
1303
+ while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1304
+ refNode = refNode == null ? void 0 : refNode.nextSibling;
1305
+ }
1306
+ if (!refNode || !refNode["s-nr"]) {
1307
+ insertBeforeNode = refNode;
1308
+ break;
1309
+ }
1310
+ }
1311
+ orgLocationNode = orgLocationNode.previousSibling;
1312
+ }
1313
+ }
1314
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
1315
+ if (nodeToRelocate !== insertBeforeNode) {
1316
+ if (!BUILD.experimentalSlotFixes && !nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1317
+ nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1318
+ }
1319
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1320
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1321
+ nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1322
+ }
1323
+ }
1324
+ }
1325
+ nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](nodeToRelocate);
1326
+ } else {
1327
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1328
+ if (isInitialLoad) {
1329
+ nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1330
+ }
1331
+ nodeToRelocate.hidden = true;
1332
+ }
1333
+ }
1334
+ }
1335
+ }
1336
+ if (checkSlotFallbackVisibility) {
1337
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1338
+ }
1339
+ plt.$flags$ &= ~1 /* isTmpDisconnected */;
1340
+ relocateNodes.length = 0;
1341
+ }
1342
+ if (BUILD.experimentalScopedSlotChanges && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
1343
+ for (const childNode of rootVnode.$elm$.childNodes) {
1344
+ if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
1345
+ if (isInitialLoad && childNode["s-ih"] == null) {
1346
+ childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
1347
+ }
1348
+ childNode.hidden = true;
1349
+ }
1350
+ }
1351
+ }
1352
+ contentRef = void 0;
1353
+ };
1354
+ var slotReferenceDebugNode = (slotVNode) => doc.createComment(
1355
+ `<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`
1356
+ );
1357
+ var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(
1358
+ `org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
1359
+ );
1360
+
1361
+ // src/runtime/update-component.ts
1362
+ var attachToAncestor = (hostRef, ancestorComponent) => {
1363
+ if (BUILD.asyncLoading && ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1364
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1365
+ }
1366
+ };
1367
+ var scheduleUpdate = (hostRef, isInitialLoad) => {
1368
+ if (BUILD.taskQueue && BUILD.updatable) {
1369
+ hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1370
+ }
1371
+ if (BUILD.asyncLoading && hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1372
+ hostRef.$flags$ |= 512 /* needsRerender */;
1373
+ return;
1374
+ }
1375
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1376
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1377
+ return BUILD.taskQueue ? writeTask(dispatch) : dispatch();
1378
+ };
1379
+ var dispatchHooks = (hostRef, isInitialLoad) => {
1380
+ const elm = hostRef.$hostElement$;
1381
+ const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
1382
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1383
+ if (!instance) {
1384
+ throw new Error(
1385
+ `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`
1386
+ );
1387
+ }
1388
+ let maybePromise;
1389
+ if (isInitialLoad) {
1390
+ if (BUILD.lazyLoad && BUILD.hostListener) {
1391
+ hostRef.$flags$ |= 256 /* isListenReady */;
1392
+ if (hostRef.$queuedListeners$) {
1393
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1394
+ hostRef.$queuedListeners$ = void 0;
1395
+ }
1396
+ }
1397
+ emitLifecycleEvent(elm, "componentWillLoad");
1398
+ if (BUILD.cmpWillLoad) {
1399
+ maybePromise = safeCall(instance, "componentWillLoad");
1400
+ }
1401
+ } else {
1402
+ emitLifecycleEvent(elm, "componentWillUpdate");
1403
+ if (BUILD.cmpWillUpdate) {
1404
+ maybePromise = safeCall(instance, "componentWillUpdate");
1405
+ }
1406
+ }
1407
+ emitLifecycleEvent(elm, "componentWillRender");
1408
+ if (BUILD.cmpWillRender) {
1409
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
1410
+ }
1411
+ endSchedule();
1412
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1413
+ };
1414
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1415
+ var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
1416
+ var updateComponent = async (hostRef, instance, isInitialLoad) => {
1417
+ var _a;
1418
+ const elm = hostRef.$hostElement$;
1419
+ const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
1420
+ const rc = elm["s-rc"];
1421
+ if (BUILD.style && isInitialLoad) {
1422
+ attachStyles(hostRef);
1423
+ }
1424
+ const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
1425
+ if (BUILD.isDev) {
1426
+ hostRef.$flags$ |= 1024 /* devOnRender */;
1427
+ }
1428
+ if (BUILD.hydrateServerSide) {
1429
+ await callRender(hostRef, instance, elm, isInitialLoad);
1430
+ } else {
1431
+ callRender(hostRef, instance, elm, isInitialLoad);
1432
+ }
1433
+ if (BUILD.isDev) {
1434
+ hostRef.$renderCount$ = hostRef.$renderCount$ === void 0 ? 1 : hostRef.$renderCount$ + 1;
1435
+ hostRef.$flags$ &= ~1024 /* devOnRender */;
1436
+ }
1437
+ if (BUILD.hydrateServerSide) {
1438
+ try {
1439
+ serverSideConnected(elm);
1440
+ if (isInitialLoad) {
1441
+ if (hostRef.$cmpMeta$.$flags$ & 1 /* shadowDomEncapsulation */) {
1442
+ elm["s-en"] = "";
1443
+ } else if (hostRef.$cmpMeta$.$flags$ & 2 /* scopedCssEncapsulation */) {
1444
+ elm["s-en"] = "c";
1445
+ }
1446
+ }
1447
+ } catch (e) {
1448
+ consoleError(e, elm);
1449
+ }
1450
+ }
1451
+ if (BUILD.asyncLoading && rc) {
1452
+ rc.map((cb) => cb());
1453
+ elm["s-rc"] = void 0;
1454
+ }
1455
+ endRender();
1456
+ endUpdate();
1457
+ if (BUILD.asyncLoading) {
1458
+ const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
1459
+ const postUpdate = () => postUpdateComponent(hostRef);
1460
+ if (childrenPromises.length === 0) {
1461
+ postUpdate();
1462
+ } else {
1463
+ Promise.all(childrenPromises).then(postUpdate);
1464
+ hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1465
+ childrenPromises.length = 0;
1466
+ }
1467
+ } else {
1468
+ postUpdateComponent(hostRef);
1469
+ }
1470
+ };
1471
+ var renderingRef = null;
1472
+ var callRender = (hostRef, instance, elm, isInitialLoad) => {
1473
+ const allRenderFn = BUILD.allRenderFn ? true : false;
1474
+ const lazyLoad = BUILD.lazyLoad ? true : false;
1475
+ const taskQueue = BUILD.taskQueue ? true : false;
1476
+ const updatable = BUILD.updatable ? true : false;
1477
+ try {
1478
+ renderingRef = instance;
1479
+ instance = allRenderFn ? instance.render() : instance.render && instance.render();
1480
+ if (updatable && taskQueue) {
1481
+ hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1482
+ }
1483
+ if (updatable || lazyLoad) {
1484
+ hostRef.$flags$ |= 2 /* hasRendered */;
1485
+ }
1486
+ if (BUILD.hasRenderFn || BUILD.reflect) {
1487
+ if (BUILD.vdomRender || BUILD.reflect) {
1488
+ if (BUILD.hydrateServerSide) {
1489
+ return Promise.resolve(instance).then((value) => renderVdom(hostRef, value, isInitialLoad));
1490
+ } else {
1491
+ renderVdom(hostRef, instance, isInitialLoad);
1492
+ }
1493
+ } else {
1494
+ const shadowRoot = elm.shadowRoot;
1495
+ if (hostRef.$cmpMeta$.$flags$ & 1 /* shadowDomEncapsulation */) {
1496
+ shadowRoot.textContent = instance;
1497
+ } else {
1498
+ elm.textContent = instance;
1499
+ }
1500
+ }
1501
+ }
1502
+ } catch (e) {
1503
+ consoleError(e, hostRef.$hostElement$);
1504
+ }
1505
+ renderingRef = null;
1506
+ return null;
1507
+ };
1508
+ var getRenderingRef = () => renderingRef;
1509
+ var postUpdateComponent = (hostRef) => {
1510
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1511
+ const elm = hostRef.$hostElement$;
1512
+ const endPostUpdate = createTime("postUpdate", tagName);
1513
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1514
+ const ancestorComponent = hostRef.$ancestorComponent$;
1515
+ if (BUILD.cmpDidRender) {
1516
+ if (BUILD.isDev) {
1517
+ hostRef.$flags$ |= 1024 /* devOnRender */;
1518
+ }
1519
+ safeCall(instance, "componentDidRender");
1520
+ if (BUILD.isDev) {
1521
+ hostRef.$flags$ &= ~1024 /* devOnRender */;
1522
+ }
1523
+ }
1524
+ emitLifecycleEvent(elm, "componentDidRender");
1525
+ if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1526
+ hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1527
+ if (BUILD.asyncLoading && BUILD.cssAnnotations) {
1528
+ addHydratedFlag(elm);
1529
+ }
1530
+ if (BUILD.cmpDidLoad) {
1531
+ if (BUILD.isDev) {
1532
+ hostRef.$flags$ |= 2048 /* devOnDidLoad */;
1533
+ }
1534
+ safeCall(instance, "componentDidLoad");
1535
+ if (BUILD.isDev) {
1536
+ hostRef.$flags$ &= ~2048 /* devOnDidLoad */;
1537
+ }
1538
+ }
1539
+ emitLifecycleEvent(elm, "componentDidLoad");
1540
+ endPostUpdate();
1541
+ if (BUILD.asyncLoading) {
1542
+ hostRef.$onReadyResolve$(elm);
1543
+ if (!ancestorComponent) {
1544
+ appDidLoad(tagName);
1545
+ }
1546
+ }
1547
+ } else {
1548
+ if (BUILD.cmpDidUpdate) {
1549
+ if (BUILD.isDev) {
1550
+ hostRef.$flags$ |= 1024 /* devOnRender */;
1551
+ }
1552
+ safeCall(instance, "componentDidUpdate");
1553
+ if (BUILD.isDev) {
1554
+ hostRef.$flags$ &= ~1024 /* devOnRender */;
1555
+ }
1556
+ }
1557
+ emitLifecycleEvent(elm, "componentDidUpdate");
1558
+ endPostUpdate();
1559
+ }
1560
+ if (BUILD.method && BUILD.lazyLoad) {
1561
+ hostRef.$onInstanceResolve$(elm);
1562
+ }
1563
+ if (BUILD.asyncLoading) {
1564
+ if (hostRef.$onRenderResolve$) {
1565
+ hostRef.$onRenderResolve$();
1566
+ hostRef.$onRenderResolve$ = void 0;
1567
+ }
1568
+ if (hostRef.$flags$ & 512 /* needsRerender */) {
1569
+ nextTick(() => scheduleUpdate(hostRef, false));
1570
+ }
1571
+ hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1572
+ }
1573
+ };
1574
+ var forceUpdate = (ref) => {
1575
+ if (BUILD.updatable && (Build.isBrowser || Build.isTesting)) {
1576
+ const hostRef = getHostRef(ref);
1577
+ const isConnected = hostRef.$hostElement$.isConnected;
1578
+ if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1579
+ scheduleUpdate(hostRef, false);
1580
+ }
1581
+ return isConnected;
1582
+ }
1583
+ return false;
1584
+ };
1585
+ var appDidLoad = (who) => {
1586
+ if (BUILD.cssAnnotations) {
1587
+ addHydratedFlag(doc.documentElement);
1588
+ }
1589
+ if (BUILD.asyncQueue) {
1590
+ plt.$flags$ |= 2 /* appLoaded */;
1591
+ }
1592
+ nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1593
+ if (BUILD.profile && performance.measure) {
1594
+ performance.measure(`[Stencil] ${NAMESPACE} initial load (by ${who})`, "st:app:start");
1595
+ }
1596
+ };
1597
+ var safeCall = (instance, method, arg) => {
1598
+ if (instance && instance[method]) {
1599
+ try {
1600
+ return instance[method](arg);
1601
+ } catch (e) {
1602
+ consoleError(e);
1603
+ }
1604
+ }
1605
+ return void 0;
1606
+ };
1607
+ var emitLifecycleEvent = (elm, lifecycleName) => {
1608
+ if (BUILD.lifecycleDOMEvents) {
1609
+ emitEvent(elm, "stencil_" + lifecycleName, {
1610
+ bubbles: true,
1611
+ composed: true,
1612
+ detail: {
1613
+ namespace: NAMESPACE
1614
+ }
1615
+ });
1616
+ }
1617
+ };
1618
+ var addHydratedFlag = (elm) => {
1619
+ var _a, _b;
1620
+ return BUILD.hydratedClass ? elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") : BUILD.hydratedAttribute ? elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") : void 0;
1621
+ };
1622
+ var serverSideConnected = (elm) => {
1623
+ const children = elm.children;
1624
+ if (children != null) {
1625
+ for (let i2 = 0, ii = children.length; i2 < ii; i2++) {
1626
+ const childElm = children[i2];
1627
+ if (typeof childElm.connectedCallback === "function") {
1628
+ childElm.connectedCallback();
1629
+ }
1630
+ serverSideConnected(childElm);
1631
+ }
1632
+ }
1633
+ };
1634
+
1635
+ // src/runtime/set-value.ts
1636
+ var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1637
+ var setValue = (ref, propName, newVal, cmpMeta) => {
1638
+ const hostRef = getHostRef(ref);
1639
+ if (BUILD.lazyLoad && !hostRef) {
1640
+ throw new Error(
1641
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
1642
+ );
1643
+ }
1644
+ const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
1645
+ const oldVal = hostRef.$instanceValues$.get(propName);
1646
+ const flags = hostRef.$flags$;
1647
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1648
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1649
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1650
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1651
+ if ((!BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1652
+ hostRef.$instanceValues$.set(propName, newVal);
1653
+ if (BUILD.isDev) {
1654
+ if (hostRef.$flags$ & 1024 /* devOnRender */) {
1655
+ consoleDevWarn(
1656
+ `The state/prop "${propName}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,
1657
+ "\nElement",
1658
+ elm,
1659
+ "\nNew value",
1660
+ newVal,
1661
+ "\nOld value",
1662
+ oldVal
1663
+ );
1664
+ } else if (hostRef.$flags$ & 2048 /* devOnDidLoad */) {
1665
+ consoleDevWarn(
1666
+ `The state/prop "${propName}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,
1667
+ "\nElement",
1668
+ elm,
1669
+ "\nNew value",
1670
+ newVal,
1671
+ "\nOld value",
1672
+ oldVal
1673
+ );
1674
+ }
1675
+ }
1676
+ if (!BUILD.lazyLoad || instance) {
1677
+ if (BUILD.watchCallback && cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1678
+ const watchMethods = cmpMeta.$watchers$[propName];
1679
+ if (watchMethods) {
1680
+ watchMethods.map((watchMethodName) => {
1681
+ try {
1682
+ instance[watchMethodName](newVal, oldVal, propName);
1683
+ } catch (e) {
1684
+ consoleError(e, elm);
1685
+ }
1686
+ });
1687
+ }
1688
+ }
1689
+ if (BUILD.updatable && (flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1690
+ if (BUILD.cmpShouldUpdate && instance.componentShouldUpdate) {
1691
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1692
+ return;
1693
+ }
1694
+ }
1695
+ scheduleUpdate(hostRef, false);
1696
+ }
1697
+ }
1698
+ }
1699
+ };
1700
+
1701
+ // src/runtime/proxy-component.ts
1702
+ var proxyComponent = (Cstr, cmpMeta, flags) => {
1703
+ var _a;
1704
+ const prototype = Cstr.prototype;
1705
+ if (BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */ && flags & 1 /* isElementConstructor */) {
1706
+ FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach(
1707
+ (cbName) => Object.defineProperty(prototype, cbName, {
1708
+ value(...args) {
1709
+ const hostRef = getHostRef(this);
1710
+ const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : this;
1711
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1712
+ if (!instance) {
1713
+ hostRef.$onReadyPromise$.then((instance2) => {
1714
+ const cb = instance2[cbName];
1715
+ typeof cb === "function" && cb.call(instance2, ...args);
1716
+ });
1717
+ } else {
1718
+ const cb = instance[cbName];
1719
+ typeof cb === "function" && cb.call(instance, ...args);
1720
+ }
1721
+ }
1722
+ })
1723
+ );
1724
+ }
1725
+ if (BUILD.member && cmpMeta.$members$) {
1726
+ if (BUILD.watchCallback && Cstr.watchers) {
1727
+ cmpMeta.$watchers$ = Cstr.watchers;
1728
+ }
1729
+ const members = Object.entries(cmpMeta.$members$);
1730
+ members.map(([memberName, [memberFlags]]) => {
1731
+ if ((BUILD.prop || BUILD.state) && (memberFlags & 31 /* Prop */ || (!BUILD.lazyLoad || flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1732
+ Object.defineProperty(prototype, memberName, {
1733
+ get() {
1734
+ return getValue(this, memberName);
1735
+ },
1736
+ set(newValue) {
1737
+ if (BUILD.isDev) {
1738
+ const ref = getHostRef(this);
1739
+ if (
1740
+ // we are proxying the instance (not element)
1741
+ (flags & 1 /* isElementConstructor */) === 0 && // the element is not constructing
1742
+ (ref && ref.$flags$ & 8 /* isConstructingInstance */) === 0 && // the member is a prop
1743
+ (memberFlags & 31 /* Prop */) !== 0 && // the member is not mutable
1744
+ (memberFlags & 1024 /* Mutable */) === 0
1745
+ ) {
1746
+ consoleDevWarn(
1747
+ `@Prop() "${memberName}" on <${cmpMeta.$tagName$}> is immutable but was modified from within the component.
1748
+ More information: https://stenciljs.com/docs/properties#prop-mutability`
1749
+ );
1750
+ }
1751
+ }
1752
+ setValue(this, memberName, newValue, cmpMeta);
1753
+ },
1754
+ configurable: true,
1755
+ enumerable: true
1756
+ });
1757
+ } else if (BUILD.lazyLoad && BUILD.method && flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
1758
+ Object.defineProperty(prototype, memberName, {
1759
+ value(...args) {
1760
+ var _a2;
1761
+ const ref = getHostRef(this);
1762
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
1763
+ var _a3;
1764
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
1765
+ });
1766
+ }
1767
+ });
1768
+ }
1769
+ });
1770
+ if (BUILD.observeAttribute && (!BUILD.lazyLoad || flags & 1 /* isElementConstructor */)) {
1771
+ const attrNameToPropName = /* @__PURE__ */ new Map();
1772
+ prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1773
+ plt.jmp(() => {
1774
+ var _a2;
1775
+ const propName = attrNameToPropName.get(attrName);
1776
+ if (this.hasOwnProperty(propName)) {
1777
+ newValue = this[propName];
1778
+ delete this[propName];
1779
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1780
+ return;
1781
+ } else if (propName == null) {
1782
+ const hostRef = getHostRef(this);
1783
+ const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1784
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1785
+ const elm = BUILD.lazyLoad ? hostRef.$hostElement$ : this;
1786
+ const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
1787
+ const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1788
+ entry == null ? void 0 : entry.forEach((callbackName) => {
1789
+ if (instance[callbackName] != null) {
1790
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1791
+ }
1792
+ });
1793
+ }
1794
+ return;
1795
+ }
1796
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1797
+ });
1798
+ };
1799
+ Cstr.observedAttributes = Array.from(
1800
+ /* @__PURE__ */ new Set([
1801
+ ...Object.keys((_a = cmpMeta.$watchers$) != null ? _a : {}),
1802
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1803
+ var _a2;
1804
+ const attrName = m[1] || propName;
1805
+ attrNameToPropName.set(attrName, propName);
1806
+ if (BUILD.reflect && m[0] & 512 /* ReflectAttr */) {
1807
+ (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
1808
+ }
1809
+ return attrName;
1810
+ })
1811
+ ])
1812
+ );
1813
+ }
1814
+ }
1815
+ return Cstr;
1816
+ };
1817
+
1818
+ // src/runtime/initialize-component.ts
1819
+ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1820
+ let Cstr;
1821
+ if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1822
+ hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1823
+ const bundleId = cmpMeta.$lazyBundleId$;
1824
+ if ((BUILD.lazyLoad || BUILD.hydrateClientSide) && bundleId) {
1825
+ const CstrImport = loadModule(cmpMeta, hostRef, hmrVersionId);
1826
+ if (CstrImport && "then" in CstrImport) {
1827
+ const endLoad = uniqueTime(
1828
+ `st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`,
1829
+ `[Stencil] Load module for <${cmpMeta.$tagName$}>`
1830
+ );
1831
+ Cstr = await CstrImport;
1832
+ endLoad();
1833
+ } else {
1834
+ Cstr = CstrImport;
1835
+ }
1836
+ if (!Cstr) {
1837
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1838
+ }
1839
+ if (BUILD.member && !Cstr.isProxied) {
1840
+ if (BUILD.watchCallback) {
1841
+ cmpMeta.$watchers$ = Cstr.watchers;
1842
+ }
1843
+ proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1844
+ Cstr.isProxied = true;
1845
+ }
1846
+ const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1847
+ if (BUILD.member) {
1848
+ hostRef.$flags$ |= 8 /* isConstructingInstance */;
1849
+ }
1850
+ try {
1851
+ new Cstr(hostRef);
1852
+ } catch (e) {
1853
+ consoleError(e);
1854
+ }
1855
+ if (BUILD.member) {
1856
+ hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1857
+ }
1858
+ if (BUILD.watchCallback) {
1859
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1860
+ }
1861
+ endNewInstance();
1862
+ fireConnectedCallback(hostRef.$lazyInstance$);
1863
+ } else {
1864
+ Cstr = elm.constructor;
1865
+ const cmpTag = elm.localName;
1866
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1867
+ }
1868
+ if (BUILD.style && Cstr && Cstr.style) {
1869
+ let style = Cstr.style;
1870
+ if (BUILD.mode && typeof style !== "string") {
1871
+ hostRef.$modeName$ = computeMode(elm);
1872
+ if (hostRef.$modeName$) {
1873
+ style = style[hostRef.$modeName$];
1874
+ }
1875
+ if (BUILD.hydrateServerSide && hostRef.$modeName$) {
1876
+ elm.setAttribute("s-mode", hostRef.$modeName$);
1877
+ }
1878
+ }
1879
+ const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
1880
+ if (!styles.has(scopeId2)) {
1881
+ const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1882
+ if (!BUILD.hydrateServerSide && BUILD.shadowDom && // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1883
+ BUILD.shadowDomShim && cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
1884
+ style = await import('./shadow-css-964ae2c5.js').then((m) => m.scopeCss(style, scopeId2, false));
1885
+ }
1886
+ registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1887
+ endRegisterStyles();
1888
+ }
1889
+ }
1890
+ }
1891
+ const ancestorComponent = hostRef.$ancestorComponent$;
1892
+ const schedule = () => scheduleUpdate(hostRef, true);
1893
+ if (BUILD.asyncLoading && ancestorComponent && ancestorComponent["s-rc"]) {
1894
+ ancestorComponent["s-rc"].push(schedule);
1895
+ } else {
1896
+ schedule();
1897
+ }
1898
+ };
1899
+ var fireConnectedCallback = (instance) => {
1900
+ if (BUILD.lazyLoad && BUILD.connectedCallback) {
1901
+ safeCall(instance, "connectedCallback");
1902
+ }
1903
+ };
1904
+
1905
+ // src/runtime/connected-callback.ts
1906
+ var connectedCallback = (elm) => {
1907
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1908
+ const hostRef = getHostRef(elm);
1909
+ const cmpMeta = hostRef.$cmpMeta$;
1910
+ const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1911
+ if (BUILD.hostListenerTargetParent) {
1912
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);
1913
+ }
1914
+ if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1915
+ hostRef.$flags$ |= 1 /* hasConnected */;
1916
+ let hostId;
1917
+ if (BUILD.hydrateClientSide) {
1918
+ hostId = elm.getAttribute(HYDRATE_ID);
1919
+ if (hostId) {
1920
+ if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1921
+ const scopeId2 = BUILD.mode ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute("s-mode")) : addStyle(elm.shadowRoot, cmpMeta);
1922
+ elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
1923
+ }
1924
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
1925
+ }
1926
+ }
1927
+ if (BUILD.slotRelocation && !hostId) {
1928
+ if (BUILD.hydrateServerSide || (BUILD.slot || BUILD.shadowDom) && // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1929
+ cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
1930
+ setContentReference(elm);
1931
+ }
1932
+ }
1933
+ if (BUILD.asyncLoading) {
1934
+ let ancestorComponent = elm;
1935
+ while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1936
+ if (BUILD.hydrateClientSide && ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
1937
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1938
+ break;
1939
+ }
1940
+ }
1941
+ }
1942
+ if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {
1943
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1944
+ if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1945
+ const value = elm[memberName];
1946
+ delete elm[memberName];
1947
+ elm[memberName] = value;
1948
+ }
1949
+ });
1950
+ }
1951
+ if (BUILD.initializeNextTick) {
1952
+ nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
1953
+ } else {
1954
+ initializeComponent(elm, hostRef, cmpMeta);
1955
+ }
1956
+ } else {
1957
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);
1958
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1959
+ fireConnectedCallback(hostRef.$lazyInstance$);
1960
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1961
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1962
+ }
1963
+ }
1964
+ endConnected();
1965
+ }
1966
+ };
1967
+ var setContentReference = (elm) => {
1968
+ const contentRefElm = elm["s-cr"] = doc.createComment(
1969
+ BUILD.isDebug ? `content-ref (host=${elm.localName})` : ""
1970
+ );
1971
+ contentRefElm["s-cn"] = true;
1972
+ insertBefore(elm, contentRefElm, elm.firstChild);
1973
+ };
1974
+ var disconnectInstance = (instance) => {
1975
+ if (BUILD.lazyLoad && BUILD.disconnectedCallback) {
1976
+ safeCall(instance, "disconnectedCallback");
1977
+ }
1978
+ if (BUILD.cmpDidUnload) {
1979
+ safeCall(instance, "componentDidUnload");
1980
+ }
1981
+ };
1982
+ var disconnectedCallback = async (elm) => {
1983
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1984
+ const hostRef = getHostRef(elm);
1985
+ if (BUILD.hostListener) {
1986
+ if (hostRef.$rmListeners$) {
1987
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
1988
+ hostRef.$rmListeners$ = void 0;
1989
+ }
1990
+ }
1991
+ if (!BUILD.lazyLoad) {
1992
+ disconnectInstance(elm);
1993
+ } else if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1994
+ disconnectInstance(hostRef.$lazyInstance$);
1995
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1996
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1997
+ }
1998
+ }
1999
+ };
2000
+ var patchPseudoShadowDom = (hostElementPrototype, descriptorPrototype) => {
2001
+ patchCloneNode(hostElementPrototype);
2002
+ patchSlotAppendChild(hostElementPrototype);
2003
+ patchSlotAppend(hostElementPrototype);
2004
+ patchSlotPrepend(hostElementPrototype);
2005
+ patchSlotInsertAdjacentElement(hostElementPrototype);
2006
+ patchSlotInsertAdjacentHTML(hostElementPrototype);
2007
+ patchSlotInsertAdjacentText(hostElementPrototype);
2008
+ patchTextContent(hostElementPrototype);
2009
+ patchChildSlotNodes(hostElementPrototype, descriptorPrototype);
2010
+ patchSlotRemoveChild(hostElementPrototype);
2011
+ };
2012
+ var patchCloneNode = (HostElementPrototype) => {
2013
+ const orgCloneNode = HostElementPrototype.cloneNode;
2014
+ HostElementPrototype.cloneNode = function(deep) {
2015
+ const srcNode = this;
2016
+ const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;
2017
+ const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
2018
+ if (BUILD.slot && !isShadowDom && deep) {
2019
+ let i2 = 0;
2020
+ let slotted, nonStencilNode;
2021
+ const stencilPrivates = [
2022
+ "s-id",
2023
+ "s-cr",
2024
+ "s-lr",
2025
+ "s-rc",
2026
+ "s-sc",
2027
+ "s-p",
2028
+ "s-cn",
2029
+ "s-sr",
2030
+ "s-sn",
2031
+ "s-hn",
2032
+ "s-ol",
2033
+ "s-nr",
2034
+ "s-si",
2035
+ "s-rf",
2036
+ "s-scs"
2037
+ ];
2038
+ for (; i2 < srcNode.childNodes.length; i2++) {
2039
+ slotted = srcNode.childNodes[i2]["s-nr"];
2040
+ nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i2][privateField]);
2041
+ if (slotted) {
2042
+ if (BUILD.appendChildSlotFix && clonedNode.__appendChild) {
2043
+ clonedNode.__appendChild(slotted.cloneNode(true));
2044
+ } else {
2045
+ clonedNode.appendChild(slotted.cloneNode(true));
2046
+ }
2047
+ }
2048
+ if (nonStencilNode) {
2049
+ clonedNode.appendChild(srcNode.childNodes[i2].cloneNode(true));
2050
+ }
2051
+ }
2052
+ }
2053
+ return clonedNode;
2054
+ };
2055
+ };
2056
+ var patchSlotAppendChild = (HostElementPrototype) => {
2057
+ HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
2058
+ HostElementPrototype.appendChild = function(newChild) {
2059
+ const slotName = newChild["s-sn"] = getSlotName(newChild);
2060
+ const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
2061
+ if (slotNode) {
2062
+ const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
2063
+ const appendAfter = slotChildNodes[slotChildNodes.length - 1];
2064
+ const insertedNode = insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
2065
+ updateFallbackSlotVisibility(this);
2066
+ return insertedNode;
2067
+ }
2068
+ return this.__appendChild(newChild);
2069
+ };
2070
+ };
2071
+ var patchSlotRemoveChild = (ElementPrototype) => {
2072
+ ElementPrototype.__removeChild = ElementPrototype.removeChild;
2073
+ ElementPrototype.removeChild = function(toRemove) {
2074
+ if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
2075
+ const slotNode = getHostSlotNode(this.childNodes, toRemove["s-sn"], this.tagName);
2076
+ if (slotNode) {
2077
+ const slotChildNodes = getHostSlotChildNodes(slotNode, toRemove["s-sn"]);
2078
+ const existingNode = slotChildNodes.find((n) => n === toRemove);
2079
+ if (existingNode) {
2080
+ existingNode.remove();
2081
+ updateFallbackSlotVisibility(this);
2082
+ return;
2083
+ }
2084
+ }
2085
+ }
2086
+ return this.__removeChild(toRemove);
2087
+ };
2088
+ };
2089
+ var patchSlotPrepend = (HostElementPrototype) => {
2090
+ const originalPrepend = HostElementPrototype.prepend;
2091
+ HostElementPrototype.prepend = function(...newChildren) {
2092
+ newChildren.forEach((newChild) => {
2093
+ if (typeof newChild === "string") {
2094
+ newChild = this.ownerDocument.createTextNode(newChild);
2095
+ }
2096
+ const slotName = newChild["s-sn"] = getSlotName(newChild);
2097
+ const slotNode = getHostSlotNode(this.childNodes, slotName, this.tagName);
2098
+ if (slotNode) {
2099
+ const slotPlaceholder = document.createTextNode("");
2100
+ slotPlaceholder["s-nr"] = newChild;
2101
+ slotNode["s-cr"].parentNode.__appendChild(slotPlaceholder);
2102
+ newChild["s-ol"] = slotPlaceholder;
2103
+ const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);
2104
+ const appendAfter = slotChildNodes[0];
2105
+ return insertBefore(appendAfter.parentNode, newChild, appendAfter.nextSibling);
2106
+ }
2107
+ if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
2108
+ newChild.hidden = true;
2109
+ }
2110
+ return originalPrepend.call(this, newChild);
2111
+ });
2112
+ };
2113
+ };
2114
+ var patchSlotAppend = (HostElementPrototype) => {
2115
+ HostElementPrototype.append = function(...newChildren) {
2116
+ newChildren.forEach((newChild) => {
2117
+ if (typeof newChild === "string") {
2118
+ newChild = this.ownerDocument.createTextNode(newChild);
2119
+ }
2120
+ this.appendChild(newChild);
2121
+ });
2122
+ };
2123
+ };
2124
+ var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
2125
+ const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
2126
+ HostElementPrototype.insertAdjacentHTML = function(position, text) {
2127
+ if (position !== "afterbegin" && position !== "beforeend") {
2128
+ return originalInsertAdjacentHtml.call(this, position, text);
2129
+ }
2130
+ const container = this.ownerDocument.createElement("_");
2131
+ let node;
2132
+ container.innerHTML = text;
2133
+ if (position === "afterbegin") {
2134
+ while (node = container.firstChild) {
2135
+ this.prepend(node);
2136
+ }
2137
+ } else if (position === "beforeend") {
2138
+ while (node = container.firstChild) {
2139
+ this.append(node);
2140
+ }
2141
+ }
2142
+ };
2143
+ };
2144
+ var patchSlotInsertAdjacentText = (HostElementPrototype) => {
2145
+ HostElementPrototype.insertAdjacentText = function(position, text) {
2146
+ this.insertAdjacentHTML(position, text);
2147
+ };
2148
+ };
2149
+ var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
2150
+ const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
2151
+ HostElementPrototype.insertAdjacentElement = function(position, element) {
2152
+ if (position !== "afterbegin" && position !== "beforeend") {
2153
+ return originalInsertAdjacentElement.call(this, position, element);
2154
+ }
2155
+ if (position === "afterbegin") {
2156
+ this.prepend(element);
2157
+ return element;
2158
+ } else if (position === "beforeend") {
2159
+ this.append(element);
2160
+ return element;
2161
+ }
2162
+ return element;
2163
+ };
2164
+ };
2165
+ var patchTextContent = (hostElementPrototype) => {
2166
+ const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, "textContent");
2167
+ Object.defineProperty(hostElementPrototype, "__textContent", descriptor);
2168
+ if (BUILD.experimentalScopedSlotChanges) {
2169
+ Object.defineProperty(hostElementPrototype, "textContent", {
2170
+ // To mimic shadow root behavior, we need to return the text content of all
2171
+ // nodes in a slot reference node
2172
+ get() {
2173
+ const slotRefNodes = getAllChildSlotNodes(this.childNodes);
2174
+ const textContent = slotRefNodes.map((node) => {
2175
+ var _a, _b;
2176
+ const text = [];
2177
+ let slotContent = node.nextSibling;
2178
+ while (slotContent && slotContent["s-sn"] === node["s-sn"]) {
2179
+ if (slotContent.nodeType === 3 /* TEXT_NODE */ || slotContent.nodeType === 1 /* ELEMENT_NODE */) {
2180
+ text.push((_b = (_a = slotContent.textContent) == null ? void 0 : _a.trim()) != null ? _b : "");
2181
+ }
2182
+ slotContent = slotContent.nextSibling;
2183
+ }
2184
+ return text.filter((ref) => ref !== "").join(" ");
2185
+ }).filter((text) => text !== "").join(" ");
2186
+ return " " + textContent + " ";
2187
+ },
2188
+ // To mimic shadow root behavior, we need to overwrite all nodes in a slot
2189
+ // reference node. If a default slot reference node exists, the text content will be
2190
+ // placed there. Otherwise, the new text node will be hidden
2191
+ set(value) {
2192
+ const slotRefNodes = getAllChildSlotNodes(this.childNodes);
2193
+ slotRefNodes.forEach((node) => {
2194
+ let slotContent = node.nextSibling;
2195
+ while (slotContent && slotContent["s-sn"] === node["s-sn"]) {
2196
+ const tmp = slotContent;
2197
+ slotContent = slotContent.nextSibling;
2198
+ tmp.remove();
2199
+ }
2200
+ if (node["s-sn"] === "") {
2201
+ const textNode = this.ownerDocument.createTextNode(value);
2202
+ textNode["s-sn"] = "";
2203
+ insertBefore(node.parentElement, textNode, node.nextSibling);
2204
+ } else {
2205
+ node.remove();
2206
+ }
2207
+ });
2208
+ }
2209
+ });
2210
+ } else {
2211
+ Object.defineProperty(hostElementPrototype, "textContent", {
2212
+ get() {
2213
+ var _a;
2214
+ const slotNode = getHostSlotNode(this.childNodes, "", this.tagName);
2215
+ if (((_a = slotNode == null ? void 0 : slotNode.nextSibling) == null ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {
2216
+ return slotNode.nextSibling.textContent;
2217
+ } else if (slotNode) {
2218
+ return slotNode.textContent;
2219
+ } else {
2220
+ return this.__textContent;
2221
+ }
2222
+ },
2223
+ set(value) {
2224
+ var _a;
2225
+ const slotNode = getHostSlotNode(this.childNodes, "", this.tagName);
2226
+ if (((_a = slotNode == null ? void 0 : slotNode.nextSibling) == null ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {
2227
+ slotNode.nextSibling.textContent = value;
2228
+ } else if (slotNode) {
2229
+ slotNode.textContent = value;
2230
+ } else {
2231
+ this.__textContent = value;
2232
+ const contentRefElm = this["s-cr"];
2233
+ if (contentRefElm) {
2234
+ insertBefore(this, contentRefElm, this.firstChild);
2235
+ }
2236
+ }
2237
+ }
2238
+ });
2239
+ }
2240
+ };
2241
+ var patchChildSlotNodes = (elm, cmpMeta) => {
2242
+ class FakeNodeList extends Array {
2243
+ item(n) {
2244
+ return this[n];
2245
+ }
2246
+ }
2247
+ if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
2248
+ const childNodesFn = elm.__lookupGetter__("childNodes");
2249
+ Object.defineProperty(elm, "children", {
2250
+ get() {
2251
+ return this.childNodes.map((n) => n.nodeType === 1);
2252
+ }
2253
+ });
2254
+ Object.defineProperty(elm, "childElementCount", {
2255
+ get() {
2256
+ return elm.children.length;
2257
+ }
2258
+ });
2259
+ Object.defineProperty(elm, "childNodes", {
2260
+ get() {
2261
+ const childNodes = childNodesFn.call(this);
2262
+ if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 && getHostRef(this).$flags$ & 2 /* hasRendered */) {
2263
+ const result = new FakeNodeList();
2264
+ for (let i2 = 0; i2 < childNodes.length; i2++) {
2265
+ const slot = childNodes[i2]["s-nr"];
2266
+ if (slot) {
2267
+ result.push(slot);
2268
+ }
2269
+ }
2270
+ return result;
2271
+ }
2272
+ return FakeNodeList.from(childNodes);
2273
+ }
2274
+ });
2275
+ }
2276
+ };
2277
+ var getAllChildSlotNodes = (childNodes) => {
2278
+ const slotRefNodes = [];
2279
+ for (const childNode of Array.from(childNodes)) {
2280
+ if (childNode["s-sr"]) {
2281
+ slotRefNodes.push(childNode);
2282
+ }
2283
+ slotRefNodes.push(...getAllChildSlotNodes(childNode.childNodes));
2284
+ }
2285
+ return slotRefNodes;
2286
+ };
2287
+ var getSlotName = (node) => node["s-sn"] || node.nodeType === 1 && node.getAttribute("slot") || "";
2288
+ var getHostSlotNode = (childNodes, slotName, hostName) => {
2289
+ let i2 = 0;
2290
+ let childNode;
2291
+ for (; i2 < childNodes.length; i2++) {
2292
+ childNode = childNodes[i2];
2293
+ if (childNode["s-sr"] && childNode["s-sn"] === slotName && childNode["s-hn"] === hostName) {
2294
+ return childNode;
2295
+ }
2296
+ childNode = getHostSlotNode(childNode.childNodes, slotName, hostName);
2297
+ if (childNode) {
2298
+ return childNode;
2299
+ }
2300
+ }
2301
+ return null;
2302
+ };
2303
+ var getHostSlotChildNodes = (n, slotName) => {
2304
+ const childNodes = [n];
2305
+ while ((n = n.nextSibling) && n["s-sn"] === slotName) {
2306
+ childNodes.push(n);
2307
+ }
2308
+ return childNodes;
2309
+ };
2310
+
2311
+ // src/runtime/bootstrap-custom-element.ts
2312
+ var defineCustomElement = (Cstr, compactMeta) => {
2313
+ customElements.define(compactMeta[1], proxyCustomElement(Cstr, compactMeta));
2314
+ };
2315
+ var proxyCustomElement = (Cstr, compactMeta) => {
2316
+ const cmpMeta = {
2317
+ $flags$: compactMeta[0],
2318
+ $tagName$: compactMeta[1]
2319
+ };
2320
+ if (BUILD.member) {
2321
+ cmpMeta.$members$ = compactMeta[2];
2322
+ }
2323
+ if (BUILD.hostListener) {
2324
+ cmpMeta.$listeners$ = compactMeta[3];
2325
+ }
2326
+ if (BUILD.watchCallback) {
2327
+ cmpMeta.$watchers$ = Cstr.$watchers$;
2328
+ }
2329
+ if (BUILD.reflect) {
2330
+ cmpMeta.$attrsToReflect$ = [];
2331
+ }
2332
+ if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2333
+ cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
2334
+ }
2335
+ if (BUILD.experimentalSlotFixes) {
2336
+ if (BUILD.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2337
+ patchPseudoShadowDom(Cstr.prototype, cmpMeta);
2338
+ }
2339
+ } else {
2340
+ if (BUILD.slotChildNodesFix) {
2341
+ patchChildSlotNodes(Cstr.prototype, cmpMeta);
2342
+ }
2343
+ if (BUILD.cloneNodeFix) {
2344
+ patchCloneNode(Cstr.prototype);
2345
+ }
2346
+ if (BUILD.appendChildSlotFix) {
2347
+ patchSlotAppendChild(Cstr.prototype);
2348
+ }
2349
+ if (BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2350
+ patchTextContent(Cstr.prototype);
2351
+ }
2352
+ }
2353
+ const originalConnectedCallback = Cstr.prototype.connectedCallback;
2354
+ const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
2355
+ Object.assign(Cstr.prototype, {
2356
+ __registerHost() {
2357
+ registerHost(this, cmpMeta);
2358
+ },
2359
+ connectedCallback() {
2360
+ connectedCallback(this);
2361
+ if (BUILD.connectedCallback && originalConnectedCallback) {
2362
+ originalConnectedCallback.call(this);
2363
+ }
2364
+ },
2365
+ disconnectedCallback() {
2366
+ disconnectedCallback(this);
2367
+ if (BUILD.disconnectedCallback && originalDisconnectedCallback) {
2368
+ originalDisconnectedCallback.call(this);
2369
+ }
2370
+ },
2371
+ __attachShadow() {
2372
+ if (supportsShadow) {
2373
+ if (BUILD.shadowDelegatesFocus) {
2374
+ this.attachShadow({
2375
+ mode: "open",
2376
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
2377
+ });
2378
+ } else {
2379
+ this.attachShadow({ mode: "open" });
2380
+ }
2381
+ } else {
2382
+ this.shadowRoot = this;
2383
+ }
2384
+ }
2385
+ });
2386
+ Cstr.is = cmpMeta.$tagName$;
2387
+ return proxyComponent(Cstr, cmpMeta, 1 /* isElementConstructor */ | 2 /* proxyState */);
2388
+ };
2389
+ var forceModeUpdate = (elm) => {
2390
+ if (BUILD.style && BUILD.mode && !BUILD.lazyLoad) {
2391
+ const mode = computeMode(elm);
2392
+ const hostRef = getHostRef(elm);
2393
+ if (hostRef.$modeName$ !== mode) {
2394
+ const cmpMeta = hostRef.$cmpMeta$;
2395
+ const oldScopeId = elm["s-sc"];
2396
+ const scopeId2 = getScopeId(cmpMeta, mode);
2397
+ const style = elm.constructor.style[mode];
2398
+ const flags = cmpMeta.$flags$;
2399
+ if (style) {
2400
+ if (!styles.has(scopeId2)) {
2401
+ registerStyle(scopeId2, style, !!(flags & 1 /* shadowDomEncapsulation */));
2402
+ }
2403
+ hostRef.$modeName$ = mode;
2404
+ elm.classList.remove(oldScopeId + "-h", oldScopeId + "-s");
2405
+ attachStyles(hostRef);
2406
+ forceUpdate(elm);
2407
+ }
2408
+ }
2409
+ }
2410
+ };
2411
+
2412
+ // src/runtime/hmr-component.ts
2413
+ var hmrStart = (hostElement, cmpMeta, hmrVersionId) => {
2414
+ const hostRef = getHostRef(hostElement);
2415
+ hostRef.$flags$ = 1 /* hasConnected */;
2416
+ initializeComponent(hostElement, hostRef, cmpMeta, hmrVersionId);
2417
+ };
2418
+
2419
+ // src/runtime/bootstrap-lazy.ts
2420
+ var bootstrapLazy = (lazyBundles, options = {}) => {
2421
+ var _a;
2422
+ if (BUILD.profile && performance.mark) {
2423
+ performance.mark("st:app:start");
2424
+ }
2425
+ installDevTools();
2426
+ const endBootstrap = createTime("bootstrapLazy");
2427
+ const cmpTags = [];
2428
+ const exclude = options.exclude || [];
2429
+ const customElements2 = win.customElements;
2430
+ const head = doc.head;
2431
+ const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
2432
+ const dataStyles = /* @__PURE__ */ doc.createElement("style");
2433
+ const deferredConnectedCallbacks = [];
2434
+ const styles2 = /* @__PURE__ */ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
2435
+ let appLoadFallback;
2436
+ let isBootstrapping = true;
2437
+ let i2 = 0;
2438
+ Object.assign(plt, options);
2439
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
2440
+ if (BUILD.asyncQueue) {
2441
+ if (options.syncQueue) {
2442
+ plt.$flags$ |= 4 /* queueSync */;
2443
+ }
2444
+ }
2445
+ if (BUILD.hydrateClientSide) {
2446
+ plt.$flags$ |= 2 /* appLoaded */;
2447
+ }
2448
+ if (BUILD.hydrateClientSide && BUILD.shadowDom) {
2449
+ for (; i2 < styles2.length; i2++) {
2450
+ registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
2451
+ }
2452
+ }
2453
+ let hasSlotRelocation = false;
2454
+ lazyBundles.map((lazyBundle) => {
2455
+ lazyBundle[1].map((compactMeta) => {
2456
+ var _a2;
2457
+ const cmpMeta = {
2458
+ $flags$: compactMeta[0],
2459
+ $tagName$: compactMeta[1],
2460
+ $members$: compactMeta[2],
2461
+ $listeners$: compactMeta[3]
2462
+ };
2463
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
2464
+ hasSlotRelocation = true;
2465
+ }
2466
+ if (BUILD.member) {
2467
+ cmpMeta.$members$ = compactMeta[2];
2468
+ }
2469
+ if (BUILD.hostListener) {
2470
+ cmpMeta.$listeners$ = compactMeta[3];
2471
+ }
2472
+ if (BUILD.reflect) {
2473
+ cmpMeta.$attrsToReflect$ = [];
2474
+ }
2475
+ if (BUILD.watchCallback) {
2476
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
2477
+ }
2478
+ if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2479
+ cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
2480
+ }
2481
+ const tagName = BUILD.transformTagName && options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : cmpMeta.$tagName$;
2482
+ const HostElement = class extends HTMLElement {
2483
+ // StencilLazyHost
2484
+ constructor(self) {
2485
+ super(self);
2486
+ self = this;
2487
+ registerHost(self, cmpMeta);
2488
+ if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
2489
+ if (supportsShadow) {
2490
+ if (BUILD.shadowDelegatesFocus) {
2491
+ self.attachShadow({
2492
+ mode: "open",
2493
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
2494
+ });
2495
+ } else {
2496
+ self.attachShadow({ mode: "open" });
2497
+ }
2498
+ } else if (!BUILD.hydrateServerSide && !("shadowRoot" in self)) {
2499
+ self.shadowRoot = self;
2500
+ }
2501
+ }
2502
+ }
2503
+ connectedCallback() {
2504
+ if (appLoadFallback) {
2505
+ clearTimeout(appLoadFallback);
2506
+ appLoadFallback = null;
2507
+ }
2508
+ if (isBootstrapping) {
2509
+ deferredConnectedCallbacks.push(this);
2510
+ } else {
2511
+ plt.jmp(() => connectedCallback(this));
2512
+ }
2513
+ }
2514
+ disconnectedCallback() {
2515
+ plt.jmp(() => disconnectedCallback(this));
2516
+ }
2517
+ componentOnReady() {
2518
+ return getHostRef(this).$onReadyPromise$;
2519
+ }
2520
+ };
2521
+ if (BUILD.experimentalSlotFixes) {
2522
+ if (BUILD.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2523
+ patchPseudoShadowDom(HostElement.prototype, cmpMeta);
2524
+ }
2525
+ } else {
2526
+ if (BUILD.slotChildNodesFix) {
2527
+ patchChildSlotNodes(HostElement.prototype, cmpMeta);
2528
+ }
2529
+ if (BUILD.cloneNodeFix) {
2530
+ patchCloneNode(HostElement.prototype);
2531
+ }
2532
+ if (BUILD.appendChildSlotFix) {
2533
+ patchSlotAppendChild(HostElement.prototype);
2534
+ }
2535
+ if (BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
2536
+ patchTextContent(HostElement.prototype);
2537
+ }
2538
+ }
2539
+ if (BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */) {
2540
+ HostElement.formAssociated = true;
2541
+ }
2542
+ if (BUILD.hotModuleReplacement) {
2543
+ HostElement.prototype["s-hmr"] = function(hmrVersionId) {
2544
+ hmrStart(this, cmpMeta, hmrVersionId);
2545
+ };
2546
+ }
2547
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2548
+ if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
2549
+ cmpTags.push(tagName);
2550
+ customElements2.define(
2551
+ tagName,
2552
+ proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
2553
+ );
2554
+ }
2555
+ });
2556
+ });
2557
+ if (cmpTags.length > 0) {
2558
+ if (hasSlotRelocation) {
2559
+ dataStyles.textContent += SLOT_FB_CSS;
2560
+ }
2561
+ if (BUILD.invisiblePrehydration && (BUILD.hydratedClass || BUILD.hydratedAttribute)) {
2562
+ dataStyles.textContent += cmpTags + HYDRATED_CSS;
2563
+ }
2564
+ if (dataStyles.innerHTML.length) {
2565
+ dataStyles.setAttribute("data-styles", "");
2566
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
2567
+ if (nonce != null) {
2568
+ dataStyles.setAttribute("nonce", nonce);
2569
+ }
2570
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
2571
+ }
2572
+ }
2573
+ isBootstrapping = false;
2574
+ if (deferredConnectedCallbacks.length) {
2575
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2576
+ } else {
2577
+ if (BUILD.profile) {
2578
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30, "timeout"));
2579
+ } else {
2580
+ plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
2581
+ }
2582
+ }
2583
+ endBootstrap();
2584
+ };
2585
+
2586
+ // src/runtime/fragment.ts
2587
+ var Fragment = (_, children) => children;
2588
+ var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2589
+ if (BUILD.hostListener && listeners) {
2590
+ if (BUILD.hostListenerTargetParent) {
2591
+ if (attachParentListeners) {
2592
+ listeners = listeners.filter(([flags]) => flags & 32 /* TargetParent */);
2593
+ } else {
2594
+ listeners = listeners.filter(([flags]) => !(flags & 32 /* TargetParent */));
2595
+ }
2596
+ }
2597
+ listeners.map(([flags, name, method]) => {
2598
+ const target = BUILD.hostListenerTarget ? getHostListenerTarget(elm, flags) : elm;
2599
+ const handler = hostListenerProxy(hostRef, method);
2600
+ const opts = hostListenerOpts(flags);
2601
+ plt.ael(target, name, handler, opts);
2602
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2603
+ });
2604
+ }
2605
+ };
2606
+ var hostListenerProxy = (hostRef, methodName) => (ev) => {
2607
+ var _a;
2608
+ try {
2609
+ if (BUILD.lazyLoad) {
2610
+ if (hostRef.$flags$ & 256 /* isListenReady */) {
2611
+ (_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
2612
+ } else {
2613
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2614
+ }
2615
+ } else {
2616
+ hostRef.$hostElement$[methodName](ev);
2617
+ }
2618
+ } catch (e) {
2619
+ consoleError(e);
2620
+ }
2621
+ };
2622
+ var getHostListenerTarget = (elm, flags) => {
2623
+ if (BUILD.hostListenerTargetDocument && flags & 4 /* TargetDocument */) return doc;
2624
+ if (BUILD.hostListenerTargetWindow && flags & 8 /* TargetWindow */) return win;
2625
+ if (BUILD.hostListenerTargetBody && flags & 16 /* TargetBody */) return doc.body;
2626
+ if (BUILD.hostListenerTargetParent && flags & 32 /* TargetParent */ && elm.parentElement)
2627
+ return elm.parentElement;
2628
+ return elm;
2629
+ };
2630
+ var hostListenerOpts = (flags) => supportsListenerOptions ? {
2631
+ passive: (flags & 1 /* Passive */) !== 0,
2632
+ capture: (flags & 2 /* Capture */) !== 0
2633
+ } : (flags & 2 /* Capture */) !== 0;
2634
+
2635
+ // src/runtime/nonce.ts
2636
+ var setNonce = (nonce) => plt.$nonce$ = nonce;
2637
+
2638
+ // src/runtime/platform-options.ts
2639
+ var setPlatformOptions = (opts) => Object.assign(plt, opts);
2640
+
2641
+ // src/runtime/vdom/vdom-annotations.ts
2642
+ var insertVdomAnnotations = (doc2, staticComponents) => {
2643
+ if (doc2 != null) {
2644
+ const docData = {
2645
+ hostIds: 0,
2646
+ rootLevelIds: 0,
2647
+ staticComponents: new Set(staticComponents)
2648
+ };
2649
+ const orgLocationNodes = [];
2650
+ parseVNodeAnnotations(doc2, doc2.body, docData, orgLocationNodes);
2651
+ orgLocationNodes.forEach((orgLocationNode) => {
2652
+ var _a;
2653
+ if (orgLocationNode != null && orgLocationNode["s-nr"]) {
2654
+ const nodeRef = orgLocationNode["s-nr"];
2655
+ let hostId = nodeRef["s-host-id"];
2656
+ let nodeId = nodeRef["s-node-id"];
2657
+ let childId = `${hostId}.${nodeId}`;
2658
+ if (hostId == null) {
2659
+ hostId = 0;
2660
+ docData.rootLevelIds++;
2661
+ nodeId = docData.rootLevelIds;
2662
+ childId = `${hostId}.${nodeId}`;
2663
+ if (nodeRef.nodeType === 1 /* ElementNode */) {
2664
+ nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);
2665
+ } else if (nodeRef.nodeType === 3 /* TextNode */) {
2666
+ if (hostId === 0) {
2667
+ const textContent = (_a = nodeRef.nodeValue) == null ? void 0 : _a.trim();
2668
+ if (textContent === "") {
2669
+ orgLocationNode.remove();
2670
+ return;
2671
+ }
2672
+ }
2673
+ const commentBeforeTextNode = doc2.createComment(childId);
2674
+ commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;
2675
+ insertBefore(nodeRef.parentNode, commentBeforeTextNode, nodeRef);
2676
+ }
2677
+ }
2678
+ let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;
2679
+ const orgLocationParentNode = orgLocationNode.parentElement;
2680
+ if (orgLocationParentNode) {
2681
+ if (orgLocationParentNode["s-en"] === "") {
2682
+ orgLocationNodeId += `.`;
2683
+ } else if (orgLocationParentNode["s-en"] === "c") {
2684
+ orgLocationNodeId += `.c`;
2685
+ }
2686
+ }
2687
+ orgLocationNode.nodeValue = orgLocationNodeId;
2688
+ }
2689
+ });
2690
+ }
2691
+ };
2692
+ var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
2693
+ if (node == null) {
2694
+ return;
2695
+ }
2696
+ if (node["s-nr"] != null) {
2697
+ orgLocationNodes.push(node);
2698
+ }
2699
+ if (node.nodeType === 1 /* ElementNode */) {
2700
+ node.childNodes.forEach((childNode) => {
2701
+ const hostRef = getHostRef(childNode);
2702
+ if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {
2703
+ const cmpData = {
2704
+ nodeIds: 0
2705
+ };
2706
+ insertVNodeAnnotations(doc2, childNode, hostRef.$vnode$, docData, cmpData);
2707
+ }
2708
+ parseVNodeAnnotations(doc2, childNode, docData, orgLocationNodes);
2709
+ });
2710
+ }
2711
+ };
2712
+ var insertVNodeAnnotations = (doc2, hostElm, vnode, docData, cmpData) => {
2713
+ if (vnode != null) {
2714
+ const hostId = ++docData.hostIds;
2715
+ hostElm.setAttribute(HYDRATE_ID, hostId);
2716
+ if (hostElm["s-cr"] != null) {
2717
+ hostElm["s-cr"].nodeValue = `${CONTENT_REF_ID}.${hostId}`;
2718
+ }
2719
+ if (vnode.$children$ != null) {
2720
+ const depth = 0;
2721
+ vnode.$children$.forEach((vnodeChild, index) => {
2722
+ insertChildVNodeAnnotations(doc2, vnodeChild, cmpData, hostId, depth, index);
2723
+ });
2724
+ }
2725
+ if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute(HYDRATE_CHILD_ID)) {
2726
+ const parent = hostElm.parentElement;
2727
+ if (parent && parent.childNodes) {
2728
+ const parentChildNodes = Array.from(parent.childNodes);
2729
+ const comment = parentChildNodes.find(
2730
+ (node) => node.nodeType === 8 /* CommentNode */ && node["s-sr"]
2731
+ );
2732
+ if (comment) {
2733
+ const index = parentChildNodes.indexOf(hostElm) - 1;
2734
+ vnode.$elm$.setAttribute(
2735
+ HYDRATE_CHILD_ID,
2736
+ `${comment["s-host-id"]}.${comment["s-node-id"]}.0.${index}`
2737
+ );
2738
+ }
2739
+ }
2740
+ }
2741
+ }
2742
+ };
2743
+ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, index) => {
2744
+ const childElm = vnodeChild.$elm$;
2745
+ if (childElm == null) {
2746
+ return;
2747
+ }
2748
+ const nodeId = cmpData.nodeIds++;
2749
+ const childId = `${hostId}.${nodeId}.${depth}.${index}`;
2750
+ childElm["s-host-id"] = hostId;
2751
+ childElm["s-node-id"] = nodeId;
2752
+ if (childElm.nodeType === 1 /* ElementNode */) {
2753
+ childElm.setAttribute(HYDRATE_CHILD_ID, childId);
2754
+ } else if (childElm.nodeType === 3 /* TextNode */) {
2755
+ const parentNode = childElm.parentNode;
2756
+ const nodeName = parentNode == null ? void 0 : parentNode.nodeName;
2757
+ if (nodeName !== "STYLE" && nodeName !== "SCRIPT") {
2758
+ const textNodeId = `${TEXT_NODE_ID}.${childId}`;
2759
+ const commentBeforeTextNode = doc2.createComment(textNodeId);
2760
+ insertBefore(parentNode, commentBeforeTextNode, childElm);
2761
+ }
2762
+ } else if (childElm.nodeType === 8 /* CommentNode */) {
2763
+ if (childElm["s-sr"]) {
2764
+ const slotName = childElm["s-sn"] || "";
2765
+ const slotNodeId = `${SLOT_NODE_ID}.${childId}.${slotName}`;
2766
+ childElm.nodeValue = slotNodeId;
2767
+ }
2768
+ }
2769
+ if (vnodeChild.$children$ != null) {
2770
+ const childDepth = depth + 1;
2771
+ vnodeChild.$children$.forEach((vnode, index2) => {
2772
+ insertChildVNodeAnnotations(doc2, vnode, cmpData, hostId, childDepth, index2);
2773
+ });
2774
+ }
2775
+ };
2776
+
2777
+ // src/client/client-host-ref.ts
2778
+ var hostRefs = BUILD.hotModuleReplacement ? window.__STENCIL_HOSTREFS__ || (window.__STENCIL_HOSTREFS__ = /* @__PURE__ */ new WeakMap()) : /* @__PURE__ */ new WeakMap();
2779
+ var getHostRef = (ref) => hostRefs.get(ref);
2780
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
2781
+ var registerHost = (hostElement, cmpMeta) => {
2782
+ const hostRef = {
2783
+ $flags$: 0,
2784
+ $hostElement$: hostElement,
2785
+ $cmpMeta$: cmpMeta,
2786
+ $instanceValues$: /* @__PURE__ */ new Map()
2787
+ };
2788
+ if (BUILD.isDev) {
2789
+ hostRef.$renderCount$ = 0;
2790
+ }
2791
+ if (BUILD.method && BUILD.lazyLoad) {
2792
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
2793
+ }
2794
+ if (BUILD.asyncLoading) {
2795
+ hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
2796
+ hostElement["s-p"] = [];
2797
+ hostElement["s-rc"] = [];
2798
+ }
2799
+ addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$, false);
2800
+ return hostRefs.set(hostElement, hostRef);
2801
+ };
2802
+ var isMemberInElement = (elm, memberName) => memberName in elm;
2803
+ var customError;
2804
+ var consoleError = (e, el) => (customError || console.error)(e, el);
2805
+ var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
2806
+ "%cstencil",
2807
+ "color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
2808
+ ];
2809
+ var consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);
2810
+ var consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);
2811
+ var consoleDevInfo = (...m) => console.info(...STENCIL_DEV_MODE, ...m);
2812
+ var setErrorHandler = (handler) => customError = handler;
2813
+
2814
+ // src/client/client-load-module.ts
2815
+ var cmpModules = /* @__PURE__ */ new Map();
2816
+ var MODULE_IMPORT_PREFIX = "./";
2817
+ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2818
+ const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
2819
+ const bundleId = cmpMeta.$lazyBundleId$;
2820
+ if (BUILD.isDev && typeof bundleId !== "string") {
2821
+ consoleDevError(
2822
+ `Trying to lazily load component <${cmpMeta.$tagName$}> with style mode "${hostRef.$modeName$}", but it does not exist.`
2823
+ );
2824
+ return void 0;
2825
+ } else if (!bundleId) {
2826
+ return void 0;
2827
+ }
2828
+ const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;
2829
+ if (module) {
2830
+ return module[exportName];
2831
+ }
2832
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
2833
+ return import(
2834
+ /* @vite-ignore */
2835
+ /* webpackInclude: /\.entry\.js$/ */
2836
+ /* webpackExclude: /\.system\.entry\.js$/ */
2837
+ /* webpackMode: "lazy" */
2838
+ `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? "?s-hmr=" + hmrVersionId : ""}`
2839
+ ).then((importedModule) => {
2840
+ if (!BUILD.hotModuleReplacement) {
2841
+ cmpModules.set(bundleId, importedModule);
2842
+ }
2843
+ return importedModule[exportName];
2844
+ }, consoleError);
2845
+ };
2846
+
2847
+ // src/client/client-style.ts
2848
+ var styles = /* @__PURE__ */ new Map();
2849
+ var modeResolutionChain = [];
2850
+ var win = typeof window !== "undefined" ? window : {};
2851
+ var doc = win.document || { head: {} };
2852
+ var H = win.HTMLElement || class {
2853
+ };
2854
+ var plt = {
2855
+ $flags$: 0,
2856
+ $resourcesUrl$: "",
2857
+ jmp: (h2) => h2(),
2858
+ raf: (h2) => requestAnimationFrame(h2),
2859
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2860
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2861
+ ce: (eventName, opts) => new CustomEvent(eventName, opts)
2862
+ };
2863
+ var setPlatformHelpers = (helpers) => {
2864
+ Object.assign(plt, helpers);
2865
+ };
2866
+ var supportsShadow = (
2867
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2868
+ BUILD.shadowDomShim && BUILD.shadowDom ? /* @__PURE__ */ (() => (doc.head.attachShadow + "").indexOf("[native") > -1)() : true
2869
+ );
2870
+ var supportsListenerOptions = /* @__PURE__ */ (() => {
2871
+ let supportsListenerOptions2 = false;
2872
+ try {
2873
+ doc.addEventListener(
2874
+ "e",
2875
+ null,
2876
+ Object.defineProperty({}, "passive", {
2877
+ get() {
2878
+ supportsListenerOptions2 = true;
2879
+ }
2880
+ })
2881
+ );
2882
+ } catch (e) {
2883
+ }
2884
+ return supportsListenerOptions2;
2885
+ })();
2886
+ var promiseResolve = (v) => Promise.resolve(v);
2887
+ var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
2888
+ try {
2889
+ new CSSStyleSheet();
2890
+ return typeof new CSSStyleSheet().replaceSync === "function";
2891
+ } catch (e) {
2892
+ }
2893
+ return false;
2894
+ })() : false;
2895
+
2896
+ // src/client/client-task-queue.ts
2897
+ var queueCongestion = 0;
2898
+ var queuePending = false;
2899
+ var queueDomReads = [];
2900
+ var queueDomWrites = [];
2901
+ var queueDomWritesLow = [];
2902
+ var queueTask = (queue, write) => (cb) => {
2903
+ queue.push(cb);
2904
+ if (!queuePending) {
2905
+ queuePending = true;
2906
+ if (write && plt.$flags$ & 4 /* queueSync */) {
2907
+ nextTick(flush);
2908
+ } else {
2909
+ plt.raf(flush);
2910
+ }
2911
+ }
2912
+ };
2913
+ var consume = (queue) => {
2914
+ for (let i2 = 0; i2 < queue.length; i2++) {
2915
+ try {
2916
+ queue[i2](performance.now());
2917
+ } catch (e) {
2918
+ consoleError(e);
2919
+ }
2920
+ }
2921
+ queue.length = 0;
2922
+ };
2923
+ var consumeTimeout = (queue, timeout) => {
2924
+ let i2 = 0;
2925
+ let ts = 0;
2926
+ while (i2 < queue.length && (ts = performance.now()) < timeout) {
2927
+ try {
2928
+ queue[i2++](ts);
2929
+ } catch (e) {
2930
+ consoleError(e);
2931
+ }
2932
+ }
2933
+ if (i2 === queue.length) {
2934
+ queue.length = 0;
2935
+ } else if (i2 !== 0) {
2936
+ queue.splice(0, i2);
2937
+ }
2938
+ };
2939
+ var flush = () => {
2940
+ if (BUILD.asyncQueue) {
2941
+ queueCongestion++;
2942
+ }
2943
+ consume(queueDomReads);
2944
+ if (BUILD.asyncQueue) {
2945
+ const timeout = (plt.$flags$ & 6 /* queueMask */) === 2 /* appLoaded */ ? performance.now() + 14 * Math.ceil(queueCongestion * (1 / 10)) : Infinity;
2946
+ consumeTimeout(queueDomWrites, timeout);
2947
+ consumeTimeout(queueDomWritesLow, timeout);
2948
+ if (queueDomWrites.length > 0) {
2949
+ queueDomWritesLow.push(...queueDomWrites);
2950
+ queueDomWrites.length = 0;
2951
+ }
2952
+ if (queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0) {
2953
+ plt.raf(flush);
2954
+ } else {
2955
+ queueCongestion = 0;
2956
+ }
2957
+ } else {
2958
+ consume(queueDomWrites);
2959
+ if (queuePending = queueDomReads.length > 0) {
2960
+ plt.raf(flush);
2961
+ }
2962
+ }
2963
+ };
2964
+ var nextTick = (cb) => promiseResolve().then(cb);
2965
+ var readTask = /* @__PURE__ */ queueTask(queueDomReads, false);
2966
+ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
2967
+
2968
+ export { BUILD as B, H, NAMESPACE as N, Build as a, bootstrapLazy as b, consoleDevInfo as c, doc as d, Host as e, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2969
+
2970
+ //# sourceMappingURL=index-ff192a13.js.map