proto-ikon-loader-wc 0.1.118 → 0.1.120

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 (500) hide show
  1. package/dist/cjs/acura-ikon.cjs.entry.js +1 -1
  2. package/dist/cjs/alfa-romeo-alt-ikon.cjs.entry.js +1 -1
  3. package/dist/cjs/alfa-romeo-ikon.cjs.entry.js +1 -1
  4. package/dist/cjs/alien-icon.cjs.entry.js +1 -1
  5. package/dist/cjs/am-general-ikon.cjs.entry.js +1 -1
  6. package/dist/cjs/asterisk-icon.cjs.entry.js +1 -1
  7. package/dist/cjs/aston-martin-alt-ikon.cjs.entry.js +1 -1
  8. package/dist/cjs/aston-martin-ikon.cjs.entry.js +1 -1
  9. package/dist/cjs/audi-ikon.cjs.entry.js +1 -1
  10. package/dist/cjs/barcode-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/barcode-scan-icon.cjs.entry.js +1 -1
  12. package/dist/cjs/bash-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/beaker-icon.cjs.entry.js +1 -1
  14. package/dist/cjs/bently-ikon.cjs.entry.js +1 -1
  15. package/dist/cjs/bmw-ikon.cjs.entry.js +1 -1
  16. package/dist/cjs/bugatti-ikon.cjs.entry.js +1 -1
  17. package/dist/cjs/buick-ikon.cjs.entry.js +1 -1
  18. package/dist/cjs/cadillac-ikon.cjs.entry.js +1 -1
  19. package/dist/cjs/chart-bar-icon.cjs.entry.js +1 -1
  20. package/dist/cjs/chart-bubble-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/chart-donut-icon.cjs.entry.js +1 -1
  22. package/dist/cjs/chart-donuts-icon.cjs.entry.js +1 -1
  23. package/dist/cjs/check-icon.cjs.entry.js +1 -1
  24. package/dist/cjs/chevrolet-ikon.cjs.entry.js +1 -1
  25. package/dist/cjs/chevron-double-left-icon.cjs.entry.js +1 -1
  26. package/dist/cjs/chrysler-ikon.cjs.entry.js +1 -1
  27. package/dist/cjs/circular-saw-icon.cjs.entry.js +1 -1
  28. package/dist/cjs/citroen-ikon.cjs.entry.js +1 -1
  29. package/dist/cjs/close-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/daewoo-ikon.cjs.entry.js +1 -1
  31. package/dist/cjs/dodge-ikon.cjs.entry.js +1 -1
  32. package/dist/cjs/eagle-ikon.cjs.entry.js +1 -1
  33. package/dist/cjs/ferrari-ikon.cjs.entry.js +1 -1
  34. package/dist/cjs/fiat-alt-ikon.cjs.entry.js +1 -1
  35. package/dist/cjs/fiat-ikon.cjs.entry.js +1 -1
  36. package/dist/cjs/fingerprint-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/fire-icon.cjs.entry.js +1 -1
  38. package/dist/cjs/fisker-ikon.cjs.entry.js +1 -1
  39. package/dist/cjs/flask-icon.cjs.entry.js +1 -1
  40. package/dist/cjs/ford-ikon.cjs.entry.js +1 -1
  41. package/dist/cjs/genesis-ikon.cjs.entry.js +1 -1
  42. package/dist/cjs/geo-ikon.cjs.entry.js +1 -1
  43. package/dist/cjs/git-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/gmc-ikon.cjs.entry.js +1 -1
  45. package/dist/cjs/honda-ikon.cjs.entry.js +1 -1
  46. package/dist/cjs/hummer-ikon.cjs.entry.js +1 -1
  47. package/dist/cjs/hyundai-ikon.cjs.entry.js +1 -1
  48. package/dist/cjs/index-BtgryfeE.js +3085 -0
  49. package/dist/cjs/infiniti-ikon.cjs.entry.js +1 -1
  50. package/dist/cjs/isuzu-ikon.cjs.entry.js +1 -1
  51. package/dist/cjs/jaguar-alt-ikon.cjs.entry.js +1 -1
  52. package/dist/cjs/jaguar-ikon.cjs.entry.js +1 -1
  53. package/dist/cjs/java-script-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/jeep-alt-ikon.cjs.entry.js +1 -1
  55. package/dist/cjs/jeep-ikon.cjs.entry.js +1 -1
  56. package/dist/cjs/kia-ikon.cjs.entry.js +1 -1
  57. package/dist/cjs/lamborghini-alt-ikon.cjs.entry.js +1 -1
  58. package/dist/cjs/lamborghini-ikon.cjs.entry.js +1 -1
  59. package/dist/cjs/land-rover-ikon.cjs.entry.js +1 -1
  60. package/dist/cjs/lexus-ikon.cjs.entry.js +1 -1
  61. package/dist/cjs/lincoln-ikon.cjs.entry.js +1 -1
  62. package/dist/cjs/loader.cjs.js +2 -2
  63. package/dist/cjs/lotus-alt-ikon.cjs.entry.js +1 -1
  64. package/dist/cjs/lotus-ikon.cjs.entry.js +1 -1
  65. package/dist/cjs/maserati-ikon.cjs.entry.js +1 -1
  66. package/dist/cjs/maybach-ikon.cjs.entry.js +1 -1
  67. package/dist/cjs/mazda-alt-ikon.cjs.entry.js +1 -1
  68. package/dist/cjs/mazda-ikon.cjs.entry.js +1 -1
  69. package/dist/cjs/mclaren-alt-ikon.cjs.entry.js +1 -1
  70. package/dist/cjs/mclaren-ikon.cjs.entry.js +1 -1
  71. package/dist/cjs/mercedes-benz-alt-ikon.cjs.entry.js +1 -1
  72. package/dist/cjs/mercedes-benz-ikon.cjs.entry.js +1 -1
  73. package/dist/cjs/mercury-ikon.cjs.entry.js +1 -1
  74. package/dist/cjs/mini-alt-ikon.cjs.entry.js +1 -1
  75. package/dist/cjs/mini-ikon.cjs.entry.js +1 -1
  76. package/dist/cjs/mitsubishi-ikon.cjs.entry.js +1 -1
  77. package/dist/cjs/nissan-ikon.cjs.entry.js +1 -1
  78. package/dist/cjs/oldsmobile-ikon.cjs.entry.js +1 -1
  79. package/dist/cjs/one-password-icon.cjs.entry.js +1 -1
  80. package/dist/cjs/opel-ikon.cjs.entry.js +1 -1
  81. package/dist/cjs/panoz-ikon.cjs.entry.js +1 -1
  82. package/dist/cjs/paw-icon.cjs.entry.js +1 -1
  83. package/dist/cjs/peugeot-alt-ikon.cjs.entry.js +1 -1
  84. package/dist/cjs/peugeot-ikon.cjs.entry.js +1 -1
  85. package/dist/cjs/plymouth-ikon.cjs.entry.js +1 -1
  86. package/dist/cjs/pontiac-ikon.cjs.entry.js +1 -1
  87. package/dist/cjs/porsche-ikon.cjs.entry.js +1 -1
  88. package/dist/cjs/proto-ikon-loader-wc.cjs.js +3 -3
  89. package/dist/cjs/proto-ikon-loader_2.cjs.entry.js +1 -1
  90. package/dist/cjs/protocol-icon.cjs.entry.js +1 -1
  91. package/dist/cjs/pulse-icon.cjs.entry.js +1 -1
  92. package/dist/cjs/puzzle-icon.cjs.entry.js +1 -1
  93. package/dist/cjs/qr-code-icon.cjs.entry.js +1 -1
  94. package/dist/cjs/radio-2-icon.cjs.entry.js +1 -1
  95. package/dist/cjs/radio-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/ram-alt-ikon.cjs.entry.js +1 -1
  97. package/dist/cjs/ram-ikon.cjs.entry.js +1 -1
  98. package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/renault-alt-ikon.cjs.entry.js +1 -1
  100. package/dist/cjs/renault-ikon.cjs.entry.js +1 -1
  101. package/dist/cjs/rolls-royce-ikon.cjs.entry.js +1 -1
  102. package/dist/cjs/saab-alt-ikon.cjs.entry.js +1 -1
  103. package/dist/cjs/saab-ikon.cjs.entry.js +1 -1
  104. package/dist/cjs/saturn-ikon.cjs.entry.js +1 -1
  105. package/dist/cjs/scion-ikon.cjs.entry.js +1 -1
  106. package/dist/cjs/seat-ikon.cjs.entry.js +1 -1
  107. package/dist/cjs/skoda-ikon.cjs.entry.js +1 -1
  108. package/dist/cjs/slug-icon.cjs.entry.js +1 -1
  109. package/dist/cjs/smart-ikon.cjs.entry.js +1 -1
  110. package/dist/cjs/spider-icon.cjs.entry.js +1 -1
  111. package/dist/cjs/spyker-alt-ikon.cjs.entry.js +1 -1
  112. package/dist/cjs/spyker-ikon.cjs.entry.js +1 -1
  113. package/dist/cjs/subaru-alt-ikon.cjs.entry.js +1 -1
  114. package/dist/cjs/subaru-ikon.cjs.entry.js +1 -1
  115. package/dist/cjs/suzuki-ikon.cjs.entry.js +1 -1
  116. package/dist/cjs/svg-icon.cjs.entry.js +1 -1
  117. package/dist/cjs/tesla-ikon.cjs.entry.js +1 -1
  118. package/dist/cjs/toyota-ikon.cjs.entry.js +1 -1
  119. package/dist/cjs/vector-curve-icon.cjs.entry.js +1 -1
  120. package/dist/cjs/volkswagen-ikon.cjs.entry.js +1 -1
  121. package/dist/cjs/volvo-alt-ikon.cjs.entry.js +1 -1
  122. package/dist/cjs/volvo-ikon.cjs.entry.js +1 -1
  123. package/dist/cjs/webhook-icon.cjs.entry.js +1 -1
  124. package/dist/collection/collection-manifest.json +1 -1
  125. package/dist/components/acura-ikon.js +1 -42
  126. package/dist/components/alfa-romeo-alt-ikon.js +1 -45
  127. package/dist/components/alfa-romeo-ikon.js +1 -42
  128. package/dist/components/alien-icon.js +1 -45
  129. package/dist/components/am-general-ikon.js +1 -42
  130. package/dist/components/asterisk-icon.js +1 -45
  131. package/dist/components/aston-martin-alt-ikon.js +1 -45
  132. package/dist/components/aston-martin-ikon.js +1 -42
  133. package/dist/components/audi-ikon.js +1 -42
  134. package/dist/components/barcode-icon.js +1 -45
  135. package/dist/components/barcode-scan-icon.js +1 -45
  136. package/dist/components/bash-icon.js +1 -45
  137. package/dist/components/beaker-icon.js +1 -45
  138. package/dist/components/bently-ikon.js +1 -42
  139. package/dist/components/bmw-ikon.js +1 -42
  140. package/dist/components/bugatti-ikon.js +1 -42
  141. package/dist/components/buick-ikon.js +1 -42
  142. package/dist/components/cadillac-ikon.js +1 -42
  143. package/dist/components/chart-bar-icon.js +1 -45
  144. package/dist/components/chart-bubble-icon.js +1 -45
  145. package/dist/components/chart-donut-icon.js +1 -45
  146. package/dist/components/chart-donuts-icon.js +1 -45
  147. package/dist/components/check-icon.js +1 -47
  148. package/dist/components/chevrolet-ikon.js +1 -42
  149. package/dist/components/chevron-double-left-icon.js +1 -45
  150. package/dist/components/chrysler-ikon.js +1 -42
  151. package/dist/components/circular-saw-icon.js +1 -45
  152. package/dist/components/citroen-ikon.js +1 -42
  153. package/dist/components/close-icon.js +1 -45
  154. package/dist/components/daewoo-ikon.js +1 -42
  155. package/dist/components/dodge-ikon.js +1 -42
  156. package/dist/components/eagle-ikon.js +1 -42
  157. package/dist/components/ferrari-ikon.js +1 -42
  158. package/dist/components/fiat-alt-ikon.js +1 -45
  159. package/dist/components/fiat-ikon.js +1 -42
  160. package/dist/components/fingerprint-icon.js +1 -45
  161. package/dist/components/fire-icon.js +1 -45
  162. package/dist/components/fisker-ikon.js +1 -42
  163. package/dist/components/flask-icon.js +1 -45
  164. package/dist/components/ford-ikon.js +1 -42
  165. package/dist/components/genesis-ikon.js +1 -42
  166. package/dist/components/geo-ikon.js +1 -42
  167. package/dist/components/git-icon.js +1 -45
  168. package/dist/components/gmc-ikon.js +1 -42
  169. package/dist/components/honda-ikon.js +1 -42
  170. package/dist/components/hummer-ikon.js +1 -42
  171. package/dist/components/hyundai-ikon.js +1 -42
  172. package/dist/components/index.d.ts +2 -0
  173. package/dist/components/index.js +1 -15
  174. package/dist/components/index2.js +1 -125
  175. package/dist/components/infiniti-ikon.js +1 -42
  176. package/dist/components/isuzu-ikon.js +1 -42
  177. package/dist/components/jaguar-alt-ikon.js +1 -45
  178. package/dist/components/jaguar-ikon.js +1 -42
  179. package/dist/components/java-script-icon.js +1 -45
  180. package/dist/components/jeep-alt-ikon.js +1 -45
  181. package/dist/components/jeep-ikon.js +1 -42
  182. package/dist/components/kia-ikon.js +1 -42
  183. package/dist/components/lamborghini-alt-ikon.js +1 -45
  184. package/dist/components/lamborghini-ikon.js +1 -42
  185. package/dist/components/land-rover-ikon.js +1 -42
  186. package/dist/components/lexus-ikon.js +1 -42
  187. package/dist/components/lincoln-ikon.js +1 -42
  188. package/dist/components/lotus-alt-ikon.js +1 -45
  189. package/dist/components/lotus-ikon.js +1 -42
  190. package/dist/components/maserati-ikon.js +1 -42
  191. package/dist/components/maybach-ikon.js +1 -42
  192. package/dist/components/mazda-alt-ikon.js +1 -45
  193. package/dist/components/mazda-ikon.js +1 -42
  194. package/dist/components/mclaren-alt-ikon.js +1 -45
  195. package/dist/components/mclaren-ikon.js +1 -42
  196. package/dist/components/mercedes-benz-alt-ikon.js +1 -45
  197. package/dist/components/mercedes-benz-ikon.js +1 -42
  198. package/dist/components/mercury-ikon.js +1 -42
  199. package/dist/components/mini-alt-ikon.js +1 -45
  200. package/dist/components/mini-ikon.js +1 -42
  201. package/dist/components/mitsubishi-ikon.js +1 -42
  202. package/dist/components/nissan-ikon.js +1 -42
  203. package/dist/components/oldsmobile-ikon.js +1 -42
  204. package/dist/components/one-password-icon.js +1 -45
  205. package/dist/components/opel-ikon.js +1 -42
  206. package/dist/components/panoz-ikon.js +1 -42
  207. package/dist/components/paw-icon.js +1 -45
  208. package/dist/components/peugeot-alt-ikon.js +1 -45
  209. package/dist/components/peugeot-ikon.js +1 -42
  210. package/dist/components/plymouth-ikon.js +1 -42
  211. package/dist/components/pontiac-ikon.js +1 -42
  212. package/dist/components/porsche-ikon.js +1 -42
  213. package/dist/components/proto-ikon-loader.js +1 -63
  214. package/dist/components/proto-ikon-raw.js +1 -60
  215. package/dist/components/protocol-icon.js +1 -45
  216. package/dist/components/pulse-icon.js +1 -45
  217. package/dist/components/puzzle-icon.js +1 -47
  218. package/dist/components/qr-code-icon.js +1 -45
  219. package/dist/components/radio-2-icon.js +1 -47
  220. package/dist/components/radio-icon.js +1 -47
  221. package/dist/components/ram-alt-ikon.js +1 -45
  222. package/dist/components/ram-ikon.js +1 -42
  223. package/dist/components/refresh-icon.js +1 -45
  224. package/dist/components/renault-alt-ikon.js +1 -45
  225. package/dist/components/renault-ikon.js +1 -42
  226. package/dist/components/rolls-royce-ikon.js +1 -42
  227. package/dist/components/saab-alt-ikon.js +1 -45
  228. package/dist/components/saab-ikon.js +1 -42
  229. package/dist/components/saturn-ikon.js +1 -42
  230. package/dist/components/scion-ikon.js +1 -42
  231. package/dist/components/seat-ikon.js +1 -42
  232. package/dist/components/skoda-ikon.js +1 -42
  233. package/dist/components/slug-icon.js +1 -43
  234. package/dist/components/smart-ikon.js +1 -42
  235. package/dist/components/spider-icon.js +1 -45
  236. package/dist/components/spyker-alt-ikon.js +1 -45
  237. package/dist/components/spyker-ikon.js +1 -42
  238. package/dist/components/subaru-alt-ikon.js +1 -45
  239. package/dist/components/subaru-ikon.js +1 -42
  240. package/dist/components/suzuki-ikon.js +1 -42
  241. package/dist/components/svg-icon.js +1 -45
  242. package/dist/components/tesla-ikon.js +1 -42
  243. package/dist/components/toyota-ikon.js +1 -42
  244. package/dist/components/vector-curve-icon.js +1 -45
  245. package/dist/components/volkswagen-ikon.js +1 -42
  246. package/dist/components/volvo-alt-ikon.js +1 -45
  247. package/dist/components/volvo-ikon.js +1 -42
  248. package/dist/components/webhook-icon.js +1 -45
  249. package/dist/esm/acura-ikon.entry.js +1 -1
  250. package/dist/esm/alfa-romeo-alt-ikon.entry.js +1 -1
  251. package/dist/esm/alfa-romeo-ikon.entry.js +1 -1
  252. package/dist/esm/alien-icon.entry.js +1 -1
  253. package/dist/esm/am-general-ikon.entry.js +1 -1
  254. package/dist/esm/asterisk-icon.entry.js +1 -1
  255. package/dist/esm/aston-martin-alt-ikon.entry.js +1 -1
  256. package/dist/esm/aston-martin-ikon.entry.js +1 -1
  257. package/dist/esm/audi-ikon.entry.js +1 -1
  258. package/dist/esm/barcode-icon.entry.js +1 -1
  259. package/dist/esm/barcode-scan-icon.entry.js +1 -1
  260. package/dist/esm/bash-icon.entry.js +1 -1
  261. package/dist/esm/beaker-icon.entry.js +1 -1
  262. package/dist/esm/bently-ikon.entry.js +1 -1
  263. package/dist/esm/bmw-ikon.entry.js +1 -1
  264. package/dist/esm/bugatti-ikon.entry.js +1 -1
  265. package/dist/esm/buick-ikon.entry.js +1 -1
  266. package/dist/esm/cadillac-ikon.entry.js +1 -1
  267. package/dist/esm/chart-bar-icon.entry.js +1 -1
  268. package/dist/esm/chart-bubble-icon.entry.js +1 -1
  269. package/dist/esm/chart-donut-icon.entry.js +1 -1
  270. package/dist/esm/chart-donuts-icon.entry.js +1 -1
  271. package/dist/esm/check-icon.entry.js +1 -1
  272. package/dist/esm/chevrolet-ikon.entry.js +1 -1
  273. package/dist/esm/chevron-double-left-icon.entry.js +1 -1
  274. package/dist/esm/chrysler-ikon.entry.js +1 -1
  275. package/dist/esm/circular-saw-icon.entry.js +1 -1
  276. package/dist/esm/citroen-ikon.entry.js +1 -1
  277. package/dist/esm/close-icon.entry.js +1 -1
  278. package/dist/esm/daewoo-ikon.entry.js +1 -1
  279. package/dist/esm/dodge-ikon.entry.js +1 -1
  280. package/dist/esm/eagle-ikon.entry.js +1 -1
  281. package/dist/esm/ferrari-ikon.entry.js +1 -1
  282. package/dist/esm/fiat-alt-ikon.entry.js +1 -1
  283. package/dist/esm/fiat-ikon.entry.js +1 -1
  284. package/dist/esm/fingerprint-icon.entry.js +1 -1
  285. package/dist/esm/fire-icon.entry.js +1 -1
  286. package/dist/esm/fisker-ikon.entry.js +1 -1
  287. package/dist/esm/flask-icon.entry.js +1 -1
  288. package/dist/esm/ford-ikon.entry.js +1 -1
  289. package/dist/esm/genesis-ikon.entry.js +1 -1
  290. package/dist/esm/geo-ikon.entry.js +1 -1
  291. package/dist/esm/git-icon.entry.js +1 -1
  292. package/dist/esm/gmc-ikon.entry.js +1 -1
  293. package/dist/esm/honda-ikon.entry.js +1 -1
  294. package/dist/esm/hummer-ikon.entry.js +1 -1
  295. package/dist/esm/hyundai-ikon.entry.js +1 -1
  296. package/dist/esm/index-C5gShwAu.js +3078 -0
  297. package/dist/esm/infiniti-ikon.entry.js +1 -1
  298. package/dist/esm/isuzu-ikon.entry.js +1 -1
  299. package/dist/esm/jaguar-alt-ikon.entry.js +1 -1
  300. package/dist/esm/jaguar-ikon.entry.js +1 -1
  301. package/dist/esm/java-script-icon.entry.js +1 -1
  302. package/dist/esm/jeep-alt-ikon.entry.js +1 -1
  303. package/dist/esm/jeep-ikon.entry.js +1 -1
  304. package/dist/esm/kia-ikon.entry.js +1 -1
  305. package/dist/esm/lamborghini-alt-ikon.entry.js +1 -1
  306. package/dist/esm/lamborghini-ikon.entry.js +1 -1
  307. package/dist/esm/land-rover-ikon.entry.js +1 -1
  308. package/dist/esm/lexus-ikon.entry.js +1 -1
  309. package/dist/esm/lincoln-ikon.entry.js +1 -1
  310. package/dist/esm/loader.js +3 -3
  311. package/dist/esm/lotus-alt-ikon.entry.js +1 -1
  312. package/dist/esm/lotus-ikon.entry.js +1 -1
  313. package/dist/esm/maserati-ikon.entry.js +1 -1
  314. package/dist/esm/maybach-ikon.entry.js +1 -1
  315. package/dist/esm/mazda-alt-ikon.entry.js +1 -1
  316. package/dist/esm/mazda-ikon.entry.js +1 -1
  317. package/dist/esm/mclaren-alt-ikon.entry.js +1 -1
  318. package/dist/esm/mclaren-ikon.entry.js +1 -1
  319. package/dist/esm/mercedes-benz-alt-ikon.entry.js +1 -1
  320. package/dist/esm/mercedes-benz-ikon.entry.js +1 -1
  321. package/dist/esm/mercury-ikon.entry.js +1 -1
  322. package/dist/esm/mini-alt-ikon.entry.js +1 -1
  323. package/dist/esm/mini-ikon.entry.js +1 -1
  324. package/dist/esm/mitsubishi-ikon.entry.js +1 -1
  325. package/dist/esm/nissan-ikon.entry.js +1 -1
  326. package/dist/esm/oldsmobile-ikon.entry.js +1 -1
  327. package/dist/esm/one-password-icon.entry.js +1 -1
  328. package/dist/esm/opel-ikon.entry.js +1 -1
  329. package/dist/esm/panoz-ikon.entry.js +1 -1
  330. package/dist/esm/paw-icon.entry.js +1 -1
  331. package/dist/esm/peugeot-alt-ikon.entry.js +1 -1
  332. package/dist/esm/peugeot-ikon.entry.js +1 -1
  333. package/dist/esm/plymouth-ikon.entry.js +1 -1
  334. package/dist/esm/pontiac-ikon.entry.js +1 -1
  335. package/dist/esm/porsche-ikon.entry.js +1 -1
  336. package/dist/esm/proto-ikon-loader-wc.js +4 -4
  337. package/dist/esm/proto-ikon-loader_2.entry.js +1 -1
  338. package/dist/esm/protocol-icon.entry.js +1 -1
  339. package/dist/esm/pulse-icon.entry.js +1 -1
  340. package/dist/esm/puzzle-icon.entry.js +1 -1
  341. package/dist/esm/qr-code-icon.entry.js +1 -1
  342. package/dist/esm/radio-2-icon.entry.js +1 -1
  343. package/dist/esm/radio-icon.entry.js +1 -1
  344. package/dist/esm/ram-alt-ikon.entry.js +1 -1
  345. package/dist/esm/ram-ikon.entry.js +1 -1
  346. package/dist/esm/refresh-icon.entry.js +1 -1
  347. package/dist/esm/renault-alt-ikon.entry.js +1 -1
  348. package/dist/esm/renault-ikon.entry.js +1 -1
  349. package/dist/esm/rolls-royce-ikon.entry.js +1 -1
  350. package/dist/esm/saab-alt-ikon.entry.js +1 -1
  351. package/dist/esm/saab-ikon.entry.js +1 -1
  352. package/dist/esm/saturn-ikon.entry.js +1 -1
  353. package/dist/esm/scion-ikon.entry.js +1 -1
  354. package/dist/esm/seat-ikon.entry.js +1 -1
  355. package/dist/esm/skoda-ikon.entry.js +1 -1
  356. package/dist/esm/slug-icon.entry.js +1 -1
  357. package/dist/esm/smart-ikon.entry.js +1 -1
  358. package/dist/esm/spider-icon.entry.js +1 -1
  359. package/dist/esm/spyker-alt-ikon.entry.js +1 -1
  360. package/dist/esm/spyker-ikon.entry.js +1 -1
  361. package/dist/esm/subaru-alt-ikon.entry.js +1 -1
  362. package/dist/esm/subaru-ikon.entry.js +1 -1
  363. package/dist/esm/suzuki-ikon.entry.js +1 -1
  364. package/dist/esm/svg-icon.entry.js +1 -1
  365. package/dist/esm/tesla-ikon.entry.js +1 -1
  366. package/dist/esm/toyota-ikon.entry.js +1 -1
  367. package/dist/esm/vector-curve-icon.entry.js +1 -1
  368. package/dist/esm/volkswagen-ikon.entry.js +1 -1
  369. package/dist/esm/volvo-alt-ikon.entry.js +1 -1
  370. package/dist/esm/volvo-ikon.entry.js +1 -1
  371. package/dist/esm/webhook-icon.entry.js +1 -1
  372. package/dist/proto-ikon-loader-wc/{p-59af44c7.entry.js → p-01a6d261.entry.js} +1 -1
  373. package/dist/proto-ikon-loader-wc/{p-4f3ec041.entry.js → p-024e4cdb.entry.js} +1 -1
  374. package/dist/proto-ikon-loader-wc/{p-34d185da.entry.js → p-02531c81.entry.js} +1 -1
  375. package/dist/proto-ikon-loader-wc/{p-17c10c13.entry.js → p-042dc15f.entry.js} +1 -1
  376. package/dist/proto-ikon-loader-wc/{p-b32e82c2.entry.js → p-0970fa62.entry.js} +1 -1
  377. package/dist/proto-ikon-loader-wc/{p-8bd4e02c.entry.js → p-09808ab4.entry.js} +1 -1
  378. package/dist/proto-ikon-loader-wc/{p-ddb3d6ff.entry.js → p-09b28bcc.entry.js} +1 -1
  379. package/dist/proto-ikon-loader-wc/{p-f0724437.entry.js → p-0c549e9a.entry.js} +1 -1
  380. package/dist/proto-ikon-loader-wc/{p-ce934a19.entry.js → p-0e9f15f7.entry.js} +1 -1
  381. package/dist/proto-ikon-loader-wc/{p-eae1170c.entry.js → p-128dc7c6.entry.js} +1 -1
  382. package/dist/proto-ikon-loader-wc/{p-57377979.entry.js → p-18c510f4.entry.js} +1 -1
  383. package/dist/proto-ikon-loader-wc/{p-668eb54e.entry.js → p-19f24556.entry.js} +1 -1
  384. package/dist/proto-ikon-loader-wc/{p-bf275276.entry.js → p-1e29fe5f.entry.js} +1 -1
  385. package/dist/proto-ikon-loader-wc/{p-3e183dc8.entry.js → p-1ee57ea8.entry.js} +1 -1
  386. package/dist/proto-ikon-loader-wc/{p-f81734f0.entry.js → p-24b294c2.entry.js} +1 -1
  387. package/dist/proto-ikon-loader-wc/{p-54fbd0e3.entry.js → p-2674bcfe.entry.js} +1 -1
  388. package/dist/proto-ikon-loader-wc/p-27499fa4.entry.js +1 -0
  389. package/dist/proto-ikon-loader-wc/{p-500e6a2c.entry.js → p-275024c4.entry.js} +1 -1
  390. package/dist/proto-ikon-loader-wc/{p-707d094f.entry.js → p-27db3e2b.entry.js} +1 -1
  391. package/dist/proto-ikon-loader-wc/{p-0cfb31f7.entry.js → p-28aea5a7.entry.js} +1 -1
  392. package/dist/proto-ikon-loader-wc/{p-8a4060e1.entry.js → p-2ac55eab.entry.js} +1 -1
  393. package/dist/proto-ikon-loader-wc/{p-505a720d.entry.js → p-2b01fdad.entry.js} +1 -1
  394. package/dist/proto-ikon-loader-wc/{p-7691eae1.entry.js → p-2d08b4eb.entry.js} +1 -1
  395. package/dist/proto-ikon-loader-wc/{p-54796ee3.entry.js → p-30d3416d.entry.js} +1 -1
  396. package/dist/proto-ikon-loader-wc/{p-00995783.entry.js → p-34b7fb73.entry.js} +1 -1
  397. package/dist/proto-ikon-loader-wc/{p-7668e9f3.entry.js → p-3529ac39.entry.js} +1 -1
  398. package/dist/proto-ikon-loader-wc/{p-4df7f413.entry.js → p-36030e88.entry.js} +1 -1
  399. package/dist/proto-ikon-loader-wc/{p-2f6eb50b.entry.js → p-39c81924.entry.js} +1 -1
  400. package/dist/proto-ikon-loader-wc/{p-2f35c8ac.entry.js → p-3c7fb207.entry.js} +1 -1
  401. package/dist/proto-ikon-loader-wc/{p-08eacd70.entry.js → p-3d66df31.entry.js} +1 -1
  402. package/dist/proto-ikon-loader-wc/{p-736552a1.entry.js → p-413e7a38.entry.js} +1 -1
  403. package/dist/proto-ikon-loader-wc/{p-acacd795.entry.js → p-41ab2602.entry.js} +1 -1
  404. package/dist/proto-ikon-loader-wc/{p-c7e41936.entry.js → p-429e09b0.entry.js} +1 -1
  405. package/dist/proto-ikon-loader-wc/{p-a1018d19.entry.js → p-4480c873.entry.js} +1 -1
  406. package/dist/proto-ikon-loader-wc/{p-a0d171e1.entry.js → p-46922108.entry.js} +1 -1
  407. package/dist/proto-ikon-loader-wc/{p-fe00f03b.entry.js → p-48ea4177.entry.js} +1 -1
  408. package/dist/proto-ikon-loader-wc/{p-e58b5b0d.entry.js → p-491c4f44.entry.js} +1 -1
  409. package/dist/proto-ikon-loader-wc/{p-86da52de.entry.js → p-4a55997f.entry.js} +1 -1
  410. package/dist/proto-ikon-loader-wc/{p-02322127.entry.js → p-4be0881b.entry.js} +1 -1
  411. package/dist/proto-ikon-loader-wc/{p-3f36a4f3.entry.js → p-4dd6166f.entry.js} +1 -1
  412. package/dist/proto-ikon-loader-wc/{p-156faa5a.entry.js → p-4f1eba0e.entry.js} +1 -1
  413. package/dist/proto-ikon-loader-wc/{p-24661808.entry.js → p-4fa0c5ae.entry.js} +1 -1
  414. package/dist/proto-ikon-loader-wc/{p-6795eea0.entry.js → p-516b581b.entry.js} +1 -1
  415. package/dist/proto-ikon-loader-wc/{p-4f920706.entry.js → p-54cc8e3e.entry.js} +1 -1
  416. package/dist/proto-ikon-loader-wc/{p-49cabc84.entry.js → p-5bca8b33.entry.js} +1 -1
  417. package/dist/proto-ikon-loader-wc/{p-0e20461f.entry.js → p-604533fd.entry.js} +1 -1
  418. package/dist/proto-ikon-loader-wc/{p-8d07193d.entry.js → p-6298d10e.entry.js} +1 -1
  419. package/dist/proto-ikon-loader-wc/{p-d15911a0.entry.js → p-652b0c0c.entry.js} +1 -1
  420. package/dist/proto-ikon-loader-wc/{p-5641e74c.entry.js → p-65ecdb8c.entry.js} +1 -1
  421. package/dist/proto-ikon-loader-wc/{p-92381700.entry.js → p-6ac90674.entry.js} +1 -1
  422. package/dist/proto-ikon-loader-wc/{p-d02f6b48.entry.js → p-6c853c9b.entry.js} +1 -1
  423. package/dist/proto-ikon-loader-wc/{p-e2001b84.entry.js → p-6d33c43f.entry.js} +1 -1
  424. package/dist/proto-ikon-loader-wc/{p-c8353f18.entry.js → p-720aa10d.entry.js} +1 -1
  425. package/dist/proto-ikon-loader-wc/{p-fd8e1f6f.entry.js → p-738c5a1a.entry.js} +1 -1
  426. package/dist/proto-ikon-loader-wc/{p-aeac1435.entry.js → p-77c1cc4d.entry.js} +1 -1
  427. package/dist/proto-ikon-loader-wc/{p-d4151734.entry.js → p-784aab1d.entry.js} +1 -1
  428. package/dist/proto-ikon-loader-wc/{p-f2911415.entry.js → p-7d662667.entry.js} +1 -1
  429. package/dist/proto-ikon-loader-wc/{p-363cbd41.entry.js → p-7ddd1e8e.entry.js} +1 -1
  430. package/dist/proto-ikon-loader-wc/{p-6d3c5c2f.entry.js → p-7e6da60e.entry.js} +1 -1
  431. package/dist/proto-ikon-loader-wc/{p-7d2c4fb4.entry.js → p-81bcf944.entry.js} +1 -1
  432. package/dist/proto-ikon-loader-wc/{p-f9272305.entry.js → p-86dc7d79.entry.js} +1 -1
  433. package/dist/proto-ikon-loader-wc/{p-cd4dcfb2.entry.js → p-8a54aa01.entry.js} +1 -1
  434. package/dist/proto-ikon-loader-wc/{p-d7fbe6c2.entry.js → p-8f27e04a.entry.js} +1 -1
  435. package/dist/proto-ikon-loader-wc/{p-d186a9cb.entry.js → p-8f9e11d0.entry.js} +1 -1
  436. package/dist/proto-ikon-loader-wc/{p-efb71889.entry.js → p-91bb0757.entry.js} +1 -1
  437. package/dist/proto-ikon-loader-wc/{p-455f84c3.entry.js → p-92563e62.entry.js} +1 -1
  438. package/dist/proto-ikon-loader-wc/{p-df75f952.entry.js → p-93e95ea1.entry.js} +1 -1
  439. package/dist/proto-ikon-loader-wc/{p-d19da4ac.entry.js → p-93ec3f3d.entry.js} +1 -1
  440. package/dist/proto-ikon-loader-wc/{p-eb8151bb.entry.js → p-9423fa0b.entry.js} +1 -1
  441. package/dist/proto-ikon-loader-wc/{p-7e3f589d.entry.js → p-98e30cda.entry.js} +1 -1
  442. package/dist/proto-ikon-loader-wc/{p-67a1af0e.entry.js → p-9930e9bd.entry.js} +1 -1
  443. package/dist/proto-ikon-loader-wc/{p-f569cae3.entry.js → p-99811a48.entry.js} +1 -1
  444. package/dist/proto-ikon-loader-wc/{p-f9026590.entry.js → p-9ae760d6.entry.js} +1 -1
  445. package/dist/proto-ikon-loader-wc/{p-30e0bd0d.entry.js → p-9be0b3dc.entry.js} +1 -1
  446. package/dist/proto-ikon-loader-wc/{p-955434f4.entry.js → p-9d4aff04.entry.js} +1 -1
  447. package/dist/proto-ikon-loader-wc/p-C5gShwAu.js +2 -0
  448. package/dist/proto-ikon-loader-wc/{p-778f0f98.entry.js → p-a1ca11ec.entry.js} +1 -1
  449. package/dist/proto-ikon-loader-wc/{p-c2ade4cf.entry.js → p-a32cf0ee.entry.js} +1 -1
  450. package/dist/proto-ikon-loader-wc/{p-8b803760.entry.js → p-a3de24d9.entry.js} +1 -1
  451. package/dist/proto-ikon-loader-wc/{p-b5062456.entry.js → p-a41e9a5b.entry.js} +1 -1
  452. package/dist/proto-ikon-loader-wc/{p-78dadf06.entry.js → p-a8622082.entry.js} +1 -1
  453. package/dist/proto-ikon-loader-wc/{p-ba95e0a6.entry.js → p-aa0d2e20.entry.js} +1 -1
  454. package/dist/proto-ikon-loader-wc/{p-1993169a.entry.js → p-ae3134ee.entry.js} +1 -1
  455. package/dist/proto-ikon-loader-wc/{p-9c185aee.entry.js → p-af90eb57.entry.js} +1 -1
  456. package/dist/proto-ikon-loader-wc/{p-0533a908.entry.js → p-b07cde47.entry.js} +1 -1
  457. package/dist/proto-ikon-loader-wc/{p-6610c485.entry.js → p-b6a7cad9.entry.js} +1 -1
  458. package/dist/proto-ikon-loader-wc/{p-f36f664f.entry.js → p-b6f7326b.entry.js} +1 -1
  459. package/dist/proto-ikon-loader-wc/{p-02cdc9ce.entry.js → p-b843e16f.entry.js} +1 -1
  460. package/dist/proto-ikon-loader-wc/{p-8ee75ce3.entry.js → p-b8804780.entry.js} +1 -1
  461. package/dist/proto-ikon-loader-wc/{p-b137af4c.entry.js → p-bc94be8f.entry.js} +1 -1
  462. package/dist/proto-ikon-loader-wc/{p-d584141c.entry.js → p-c21d218a.entry.js} +1 -1
  463. package/dist/proto-ikon-loader-wc/{p-1bd262b8.entry.js → p-c4adc217.entry.js} +1 -1
  464. package/dist/proto-ikon-loader-wc/{p-10d97264.entry.js → p-c51fe452.entry.js} +1 -1
  465. package/dist/proto-ikon-loader-wc/{p-58e7f657.entry.js → p-c8e80b91.entry.js} +1 -1
  466. package/dist/proto-ikon-loader-wc/{p-3c0d8fb6.entry.js → p-c9f23dff.entry.js} +1 -1
  467. package/dist/proto-ikon-loader-wc/{p-32fa4824.entry.js → p-cd14bfc9.entry.js} +1 -1
  468. package/dist/proto-ikon-loader-wc/{p-093eb577.entry.js → p-cdc72158.entry.js} +1 -1
  469. package/dist/proto-ikon-loader-wc/{p-51b88e6e.entry.js → p-d08a5162.entry.js} +1 -1
  470. package/dist/proto-ikon-loader-wc/{p-8dfd87c6.entry.js → p-d10c5746.entry.js} +1 -1
  471. package/dist/proto-ikon-loader-wc/{p-5e759854.entry.js → p-d7ba4311.entry.js} +1 -1
  472. package/dist/proto-ikon-loader-wc/{p-441064dd.entry.js → p-d7eb5a77.entry.js} +1 -1
  473. package/dist/proto-ikon-loader-wc/{p-363d672a.entry.js → p-d8b002fb.entry.js} +1 -1
  474. package/dist/proto-ikon-loader-wc/{p-a7e8e50d.entry.js → p-d8e298bf.entry.js} +1 -1
  475. package/dist/proto-ikon-loader-wc/p-dad6f9d9.entry.js +1 -0
  476. package/dist/proto-ikon-loader-wc/{p-de33c760.entry.js → p-e3452232.entry.js} +1 -1
  477. package/dist/proto-ikon-loader-wc/{p-ff3f13b6.entry.js → p-e3470717.entry.js} +1 -1
  478. package/dist/proto-ikon-loader-wc/{p-667abe82.entry.js → p-e9d2a093.entry.js} +1 -1
  479. package/dist/proto-ikon-loader-wc/{p-ea3ccb58.entry.js → p-ec60befd.entry.js} +1 -1
  480. package/dist/proto-ikon-loader-wc/{p-fb17f27e.entry.js → p-eea1af9e.entry.js} +1 -1
  481. package/dist/proto-ikon-loader-wc/{p-277b76d1.entry.js → p-efccff91.entry.js} +1 -1
  482. package/dist/proto-ikon-loader-wc/{p-7065fcdf.entry.js → p-f0c40670.entry.js} +1 -1
  483. package/dist/proto-ikon-loader-wc/{p-754dafef.entry.js → p-f3b82ef8.entry.js} +1 -1
  484. package/dist/proto-ikon-loader-wc/{p-36e62813.entry.js → p-fa1fb22b.entry.js} +1 -1
  485. package/dist/proto-ikon-loader-wc/{p-d8b8980f.entry.js → p-fb4b9a9d.entry.js} +1 -1
  486. package/dist/proto-ikon-loader-wc/{p-202aa82f.entry.js → p-fb995b90.entry.js} +1 -1
  487. package/dist/proto-ikon-loader-wc/{p-335dfc2b.entry.js → p-fc6d9920.entry.js} +1 -1
  488. package/dist/proto-ikon-loader-wc/{p-6c2d44b3.entry.js → p-fcc06a4d.entry.js} +1 -1
  489. package/dist/proto-ikon-loader-wc/{p-b3e2c7b8.entry.js → p-fd15a4ff.entry.js} +1 -1
  490. package/dist/proto-ikon-loader-wc/{p-3ae47ce1.entry.js → p-fde28ed9.entry.js} +1 -1
  491. package/dist/proto-ikon-loader-wc/{p-2f0e9f61.entry.js → p-fe0016ab.entry.js} +1 -1
  492. package/dist/proto-ikon-loader-wc/{p-b9c2067b.entry.js → p-fe4b8b6b.entry.js} +1 -1
  493. package/dist/proto-ikon-loader-wc/proto-ikon-loader-wc.esm.js +1 -1
  494. package/dist/types/stencil-public-runtime.d.ts +14 -3
  495. package/package.json +4 -4
  496. package/dist/cjs/index-khaT_l8O.js +0 -1470
  497. package/dist/esm/index-C0SYXKsm.js +0 -1463
  498. package/dist/proto-ikon-loader-wc/p-65207b6b.entry.js +0 -1
  499. package/dist/proto-ikon-loader-wc/p-844814ce.entry.js +0 -1
  500. package/dist/proto-ikon-loader-wc/p-C0SYXKsm.js +0 -2
@@ -1,1470 +0,0 @@
1
- 'use strict';
2
-
3
- const NAMESPACE = 'proto-ikon-loader-wc';
4
- const BUILD = /* proto-ikon-loader-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
5
-
6
- /*
7
- Stencil Client Platform v4.39.0 | MIT Licensed | https://stenciljs.com
8
- */
9
- var __defProp = Object.defineProperty;
10
- var __export = (target, all) => {
11
- for (var name in all)
12
- __defProp(target, name, { get: all[name], enumerable: true });
13
- };
14
-
15
- // src/utils/constants.ts
16
- var SVG_NS = "http://www.w3.org/2000/svg";
17
- var HTML_NS = "http://www.w3.org/1999/xhtml";
18
- var reWireGetterSetter = (instance, hostRef) => {
19
- var _a;
20
- const cmpMeta = hostRef.$cmpMeta$;
21
- const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
22
- members.map(([memberName, [memberFlags]]) => {
23
- if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
24
- const ogValue = instance[memberName];
25
- const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
26
- if (ogDescriptor) {
27
- Object.defineProperty(instance, memberName, {
28
- get() {
29
- return ogDescriptor.get.call(this);
30
- },
31
- set(newValue) {
32
- ogDescriptor.set.call(this, newValue);
33
- },
34
- configurable: true,
35
- enumerable: true
36
- });
37
- }
38
- instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
39
- }
40
- });
41
- };
42
- function getPropertyDescriptor(obj, memberName) {
43
- while (obj) {
44
- const desc = Object.getOwnPropertyDescriptor(obj, memberName);
45
- if (desc == null ? void 0 : desc.get) return desc;
46
- obj = Object.getPrototypeOf(obj);
47
- }
48
- return void 0;
49
- }
50
-
51
- // src/client/client-host-ref.ts
52
- var getHostRef = (ref) => {
53
- if (ref.__stencil__getHostRef) {
54
- return ref.__stencil__getHostRef();
55
- }
56
- return void 0;
57
- };
58
- var registerInstance = (lazyInstance, hostRef) => {
59
- if (!hostRef) return;
60
- lazyInstance.__stencil__getHostRef = () => hostRef;
61
- hostRef.$lazyInstance$ = lazyInstance;
62
- if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.prop)) {
63
- reWireGetterSetter(lazyInstance, hostRef);
64
- }
65
- };
66
- var registerHost = (hostElement, cmpMeta) => {
67
- const hostRef = {
68
- $flags$: 0,
69
- $hostElement$: hostElement,
70
- $cmpMeta$: cmpMeta,
71
- $instanceValues$: /* @__PURE__ */ new Map(),
72
- $serializerValues$: /* @__PURE__ */ new Map()
73
- };
74
- {
75
- hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
76
- hostElement["s-p"] = [];
77
- hostElement["s-rc"] = [];
78
- }
79
- {
80
- hostRef.$fetchedCbList$ = [];
81
- }
82
- const ref = hostRef;
83
- hostElement.__stencil__getHostRef = () => ref;
84
- return ref;
85
- };
86
- var isMemberInElement = (elm, memberName) => memberName in elm;
87
- var consoleError = (e, el) => (0, console.error)(e, el);
88
-
89
- // src/client/client-load-module.ts
90
- var cmpModules = /* @__PURE__ */ new Map();
91
- var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
- const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
93
- const bundleId = cmpMeta.$lazyBundleId$;
94
- if (!bundleId) {
95
- return void 0;
96
- }
97
- const module = cmpModules.get(bundleId) ;
98
- if (module) {
99
- return module[exportName];
100
- }
101
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
102
- return import(
103
- /* @vite-ignore */
104
- /* webpackInclude: /\.entry\.js$/ */
105
- /* webpackExclude: /\.system\.entry\.js$/ */
106
- /* webpackMode: "lazy" */
107
- `./${bundleId}.entry.js${""}`
108
- ).then(
109
- (importedModule) => {
110
- {
111
- cmpModules.set(bundleId, importedModule);
112
- }
113
- return importedModule[exportName];
114
- },
115
- (e) => {
116
- consoleError(e, hostRef.$hostElement$);
117
- }
118
- );
119
- };
120
-
121
- // src/client/client-style.ts
122
- var styles = /* @__PURE__ */ new Map();
123
- var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
124
- var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
125
- var XLINK_NS = "http://www.w3.org/1999/xlink";
126
- var win = typeof window !== "undefined" ? window : {};
127
- var plt = {
128
- $flags$: 0,
129
- $resourcesUrl$: "",
130
- jmp: (h2) => h2(),
131
- raf: (h2) => requestAnimationFrame(h2),
132
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
133
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
134
- ce: (eventName, opts) => new CustomEvent(eventName, opts)
135
- };
136
- var promiseResolve = (v) => Promise.resolve(v);
137
- var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
138
- try {
139
- new CSSStyleSheet();
140
- return typeof new CSSStyleSheet().replaceSync === "function";
141
- } catch (e) {
142
- }
143
- return false;
144
- })() ;
145
- var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
146
- var queuePending = false;
147
- var queueDomReads = [];
148
- var queueDomWrites = [];
149
- var queueTask = (queue, write) => (cb) => {
150
- queue.push(cb);
151
- if (!queuePending) {
152
- queuePending = true;
153
- if (write && plt.$flags$ & 4 /* queueSync */) {
154
- nextTick(flush);
155
- } else {
156
- plt.raf(flush);
157
- }
158
- }
159
- };
160
- var consume = (queue) => {
161
- for (let i2 = 0; i2 < queue.length; i2++) {
162
- try {
163
- queue[i2](performance.now());
164
- } catch (e) {
165
- consoleError(e);
166
- }
167
- }
168
- queue.length = 0;
169
- };
170
- var flush = () => {
171
- consume(queueDomReads);
172
- {
173
- consume(queueDomWrites);
174
- if (queuePending = queueDomReads.length > 0) {
175
- plt.raf(flush);
176
- }
177
- }
178
- };
179
- var nextTick = (cb) => promiseResolve().then(cb);
180
- var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
181
- var isComplexType = (o) => {
182
- o = typeof o;
183
- return o === "object" || o === "function";
184
- };
185
-
186
- // src/utils/query-nonce-meta-tag-content.ts
187
- function queryNonceMetaTagContent(doc) {
188
- var _a, _b, _c;
189
- return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
190
- }
191
-
192
- // src/utils/regular-expression.ts
193
- var escapeRegExpSpecialCharacters = (text) => {
194
- return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
195
- };
196
-
197
- // src/utils/result.ts
198
- var result_exports = {};
199
- __export(result_exports, {
200
- err: () => err,
201
- map: () => map,
202
- ok: () => ok,
203
- unwrap: () => unwrap,
204
- unwrapErr: () => unwrapErr
205
- });
206
- var ok = (value) => ({
207
- isOk: true,
208
- isErr: false,
209
- value
210
- });
211
- var err = (value) => ({
212
- isOk: false,
213
- isErr: true,
214
- value
215
- });
216
- function map(result, fn) {
217
- if (result.isOk) {
218
- const val = fn(result.value);
219
- if (val instanceof Promise) {
220
- return val.then((newVal) => ok(newVal));
221
- } else {
222
- return ok(val);
223
- }
224
- }
225
- if (result.isErr) {
226
- const value = result.value;
227
- return err(value);
228
- }
229
- throw "should never get here";
230
- }
231
- var unwrap = (result) => {
232
- if (result.isOk) {
233
- return result.value;
234
- } else {
235
- throw result.value;
236
- }
237
- };
238
- var unwrapErr = (result) => {
239
- if (result.isErr) {
240
- return result.value;
241
- } else {
242
- throw result.value;
243
- }
244
- };
245
-
246
- // src/utils/style.ts
247
- function createStyleSheetIfNeededAndSupported(styles2) {
248
- return void 0;
249
- }
250
-
251
- // src/utils/shadow-root.ts
252
- var globalStyleSheet;
253
- function createShadowRoot(cmpMeta) {
254
- var _a;
255
- const shadowRoot = this.attachShadow({ mode: "open" });
256
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
257
- if (globalStyleSheet) {
258
- if (supportsMutableAdoptedStyleSheets) {
259
- shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
260
- } else {
261
- shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
262
- }
263
- }
264
- }
265
- var createTime = (fnName, tagName = "") => {
266
- {
267
- return () => {
268
- return;
269
- };
270
- }
271
- };
272
- var uniqueTime = (key, measureText) => {
273
- {
274
- return () => {
275
- return;
276
- };
277
- }
278
- };
279
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
280
- var registerStyle = (scopeId2, cssText, allowCS) => {
281
- let style = styles.get(scopeId2);
282
- if (supportsConstructableStylesheets && allowCS) {
283
- style = style || new CSSStyleSheet();
284
- if (typeof style === "string") {
285
- style = cssText;
286
- } else {
287
- style.replaceSync(cssText);
288
- }
289
- } else {
290
- style = cssText;
291
- }
292
- styles.set(scopeId2, style);
293
- };
294
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
295
- var _a;
296
- const scopeId2 = getScopeId(cmpMeta);
297
- const style = styles.get(scopeId2);
298
- if (!win.document) {
299
- return scopeId2;
300
- }
301
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
302
- if (style) {
303
- if (typeof style === "string") {
304
- styleContainerNode = styleContainerNode.head || styleContainerNode;
305
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
306
- let styleElm;
307
- if (!appliedStyles) {
308
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
309
- }
310
- if (!appliedStyles.has(scopeId2)) {
311
- {
312
- styleElm = win.document.createElement("style");
313
- styleElm.innerHTML = style;
314
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
315
- if (nonce != null) {
316
- styleElm.setAttribute("nonce", nonce);
317
- }
318
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
319
- if (styleContainerNode.nodeName === "HEAD") {
320
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
321
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
322
- styleContainerNode.insertBefore(
323
- styleElm,
324
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
325
- );
326
- } else if ("host" in styleContainerNode) {
327
- if (supportsConstructableStylesheets) {
328
- const stylesheet = new CSSStyleSheet();
329
- stylesheet.replaceSync(style);
330
- if (supportsMutableAdoptedStyleSheets) {
331
- styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
332
- } else {
333
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
334
- }
335
- } else {
336
- const existingStyleContainer = styleContainerNode.querySelector("style");
337
- if (existingStyleContainer) {
338
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
339
- } else {
340
- styleContainerNode.prepend(styleElm);
341
- }
342
- }
343
- } else {
344
- styleContainerNode.append(styleElm);
345
- }
346
- }
347
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
348
- styleContainerNode.insertBefore(styleElm, null);
349
- }
350
- }
351
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
352
- styleElm.innerHTML += SLOT_FB_CSS;
353
- }
354
- if (appliedStyles) {
355
- appliedStyles.add(scopeId2);
356
- }
357
- }
358
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
359
- if (supportsMutableAdoptedStyleSheets) {
360
- styleContainerNode.adoptedStyleSheets.push(style);
361
- } else {
362
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
363
- }
364
- }
365
- }
366
- return scopeId2;
367
- };
368
- var attachStyles = (hostRef) => {
369
- const cmpMeta = hostRef.$cmpMeta$;
370
- const elm = hostRef.$hostElement$;
371
- const flags = cmpMeta.$flags$;
372
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
373
- const scopeId2 = addStyle(
374
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
375
- cmpMeta);
376
- if (flags & 10 /* needsScopedEncapsulation */) {
377
- elm["s-sc"] = scopeId2;
378
- elm.classList.add(scopeId2 + "-h");
379
- }
380
- endAttachStyles();
381
- };
382
- var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
383
- var h = (nodeName, vnodeData, ...children) => {
384
- if (typeof nodeName === "string") {
385
- nodeName = transformTag(nodeName);
386
- }
387
- let child = null;
388
- let key = null;
389
- let simple = false;
390
- let lastSimple = false;
391
- const vNodeChildren = [];
392
- const walk = (c) => {
393
- for (let i2 = 0; i2 < c.length; i2++) {
394
- child = c[i2];
395
- if (Array.isArray(child)) {
396
- walk(child);
397
- } else if (child != null && typeof child !== "boolean") {
398
- if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
399
- child = String(child);
400
- }
401
- if (simple && lastSimple) {
402
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
403
- } else {
404
- vNodeChildren.push(simple ? newVNode(null, child) : child);
405
- }
406
- lastSimple = simple;
407
- }
408
- }
409
- };
410
- walk(children);
411
- if (vnodeData) {
412
- if (vnodeData.key) {
413
- key = vnodeData.key;
414
- }
415
- {
416
- const classData = vnodeData.className || vnodeData.class;
417
- if (classData) {
418
- vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
419
- }
420
- }
421
- }
422
- if (typeof nodeName === "function") {
423
- return nodeName(
424
- vnodeData === null ? {} : vnodeData,
425
- vNodeChildren,
426
- vdomFnUtils
427
- );
428
- }
429
- const vnode = newVNode(nodeName, null);
430
- vnode.$attrs$ = vnodeData;
431
- if (vNodeChildren.length > 0) {
432
- vnode.$children$ = vNodeChildren;
433
- }
434
- {
435
- vnode.$key$ = key;
436
- }
437
- return vnode;
438
- };
439
- var newVNode = (tag, text) => {
440
- const vnode = {
441
- $flags$: 0,
442
- $tag$: tag,
443
- $text$: text,
444
- $elm$: null,
445
- $children$: null
446
- };
447
- {
448
- vnode.$attrs$ = null;
449
- }
450
- {
451
- vnode.$key$ = null;
452
- }
453
- return vnode;
454
- };
455
- var Host = {};
456
- var isHost = (node) => node && node.$tag$ === Host;
457
- var vdomFnUtils = {
458
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
459
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
460
- };
461
- var convertToPublic = (node) => ({
462
- vattrs: node.$attrs$,
463
- vchildren: node.$children$,
464
- vkey: node.$key$,
465
- vname: node.$name$,
466
- vtag: node.$tag$,
467
- vtext: node.$text$
468
- });
469
- var convertToPrivate = (node) => {
470
- if (typeof node.vtag === "function") {
471
- const vnodeData = { ...node.vattrs };
472
- if (node.vkey) {
473
- vnodeData.key = node.vkey;
474
- }
475
- if (node.vname) {
476
- vnodeData.name = node.vname;
477
- }
478
- return h(node.vtag, vnodeData, ...node.vchildren || []);
479
- }
480
- const vnode = newVNode(node.vtag, node.vtext);
481
- vnode.$attrs$ = node.vattrs;
482
- vnode.$children$ = node.vchildren;
483
- vnode.$key$ = node.vkey;
484
- vnode.$name$ = node.vname;
485
- return vnode;
486
- };
487
- var createSupportsRuleRe = (selector) => {
488
- const safeSelector2 = escapeRegExpSpecialCharacters(selector);
489
- return new RegExp(
490
- // First capture group: match any context before the selector that's not inside @supports selector()
491
- // Using negative lookahead to avoid matching inside @supports selector(...) condition
492
- `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
493
- "g"
494
- );
495
- };
496
- createSupportsRuleRe("::slotted");
497
- createSupportsRuleRe(":host");
498
- createSupportsRuleRe(":host-context");
499
- var parsePropertyValue = (propValue, propType, isFormAssociated) => {
500
- if (propValue != null && !isComplexType(propValue)) {
501
- if (propType & 4 /* Boolean */) {
502
- {
503
- return propValue === "false" ? false : propValue === "" || !!propValue;
504
- }
505
- }
506
- if (propType & 2 /* Number */) {
507
- return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
508
- }
509
- if (propType & 1 /* String */) {
510
- return String(propValue);
511
- }
512
- return propValue;
513
- }
514
- return propValue;
515
- };
516
- var getElement = (ref) => {
517
- var _a;
518
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
519
- };
520
- var emitEvent = (elm, name, opts) => {
521
- const ev = plt.ce(name, opts);
522
- elm.dispatchEvent(ev);
523
- return ev;
524
- };
525
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
526
- if (oldValue === newValue) {
527
- return;
528
- }
529
- let isProp = isMemberInElement(elm, memberName);
530
- let ln = memberName.toLowerCase();
531
- if (memberName === "class") {
532
- const classList = elm.classList;
533
- const oldClasses = parseClassList(oldValue);
534
- let newClasses = parseClassList(newValue);
535
- {
536
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
537
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
538
- }
539
- } else if (memberName === "key") ; else {
540
- const isComplex = isComplexType(newValue);
541
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
542
- try {
543
- if (!elm.tagName.includes("-")) {
544
- const n = newValue == null ? "" : newValue;
545
- if (memberName === "list") {
546
- isProp = false;
547
- } else if (oldValue == null || elm[memberName] != n) {
548
- if (typeof elm.__lookupSetter__(memberName) === "function") {
549
- elm[memberName] = n;
550
- } else {
551
- elm.setAttribute(memberName, n);
552
- }
553
- }
554
- } else if (elm[memberName] !== newValue) {
555
- elm[memberName] = newValue;
556
- }
557
- } catch (e) {
558
- }
559
- }
560
- let xlink = false;
561
- {
562
- if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
563
- memberName = ln;
564
- xlink = true;
565
- }
566
- }
567
- if (newValue == null || newValue === false) {
568
- if (newValue !== false || elm.getAttribute(memberName) === "") {
569
- if (xlink) {
570
- elm.removeAttributeNS(XLINK_NS, memberName);
571
- } else {
572
- elm.removeAttribute(memberName);
573
- }
574
- }
575
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
576
- newValue = newValue === true ? "" : newValue;
577
- if (xlink) {
578
- elm.setAttributeNS(XLINK_NS, memberName, newValue);
579
- } else {
580
- elm.setAttribute(memberName, newValue);
581
- }
582
- }
583
- }
584
- };
585
- var parseClassListRegex = /\s/;
586
- var parseClassList = (value) => {
587
- if (typeof value === "object" && value && "baseVal" in value) {
588
- value = value.baseVal;
589
- }
590
- if (!value || typeof value !== "string") {
591
- return [];
592
- }
593
- return value.split(parseClassListRegex);
594
- };
595
-
596
- // src/runtime/vdom/update-element.ts
597
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
598
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
599
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
600
- const newVnodeAttrs = newVnode.$attrs$ || {};
601
- {
602
- for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
603
- if (!(memberName in newVnodeAttrs)) {
604
- setAccessor(
605
- elm,
606
- memberName,
607
- oldVnodeAttrs[memberName],
608
- void 0,
609
- isSvgMode2,
610
- newVnode.$flags$);
611
- }
612
- }
613
- }
614
- for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
615
- setAccessor(
616
- elm,
617
- memberName,
618
- oldVnodeAttrs[memberName],
619
- newVnodeAttrs[memberName],
620
- isSvgMode2,
621
- newVnode.$flags$);
622
- }
623
- };
624
- function sortedAttrNames(attrNames) {
625
- return attrNames.includes("ref") ? (
626
- // we need to sort these to ensure that `'ref'` is the last attr
627
- [...attrNames.filter((attr) => attr !== "ref"), "ref"]
628
- ) : (
629
- // no need to sort, return the original array
630
- attrNames
631
- );
632
- }
633
- var hostTagName;
634
- var isSvgMode = false;
635
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
636
- const newVNode2 = newParentVNode.$children$[childIndex];
637
- let i2 = 0;
638
- let elm;
639
- let childNode;
640
- if (newVNode2.$text$ !== null) {
641
- elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
642
- } else {
643
- if (!isSvgMode) {
644
- isSvgMode = newVNode2.$tag$ === "svg";
645
- }
646
- if (!win.document) {
647
- throw new Error(
648
- "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
649
- );
650
- }
651
- elm = newVNode2.$elm$ = win.document.createElementNS(
652
- isSvgMode ? SVG_NS : HTML_NS,
653
- newVNode2.$tag$
654
- ) ;
655
- if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
656
- isSvgMode = false;
657
- }
658
- {
659
- updateElement(null, newVNode2, isSvgMode);
660
- }
661
- if (newVNode2.$children$) {
662
- for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
663
- childNode = createElm(oldParentVNode, newVNode2, i2);
664
- if (childNode) {
665
- elm.appendChild(childNode);
666
- }
667
- }
668
- }
669
- {
670
- if (newVNode2.$tag$ === "svg") {
671
- isSvgMode = false;
672
- } else if (elm.tagName === "foreignObject") {
673
- isSvgMode = true;
674
- }
675
- }
676
- }
677
- elm["s-hn"] = hostTagName;
678
- return elm;
679
- };
680
- var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
681
- let containerElm = parentElm;
682
- let childNode;
683
- if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
684
- containerElm = containerElm.shadowRoot;
685
- }
686
- for (; startIdx <= endIdx; ++startIdx) {
687
- if (vnodes[startIdx]) {
688
- childNode = createElm(null, parentVNode, startIdx);
689
- if (childNode) {
690
- vnodes[startIdx].$elm$ = childNode;
691
- insertBefore(containerElm, childNode, before);
692
- }
693
- }
694
- }
695
- };
696
- var removeVnodes = (vnodes, startIdx, endIdx) => {
697
- for (let index = startIdx; index <= endIdx; ++index) {
698
- const vnode = vnodes[index];
699
- if (vnode) {
700
- const elm = vnode.$elm$;
701
- if (elm) {
702
- elm.remove();
703
- }
704
- }
705
- }
706
- };
707
- var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
708
- let oldStartIdx = 0;
709
- let newStartIdx = 0;
710
- let idxInOld = 0;
711
- let i2 = 0;
712
- let oldEndIdx = oldCh.length - 1;
713
- let oldStartVnode = oldCh[0];
714
- let oldEndVnode = oldCh[oldEndIdx];
715
- let newEndIdx = newCh.length - 1;
716
- let newStartVnode = newCh[0];
717
- let newEndVnode = newCh[newEndIdx];
718
- let node;
719
- let elmToMove;
720
- while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
721
- if (oldStartVnode == null) {
722
- oldStartVnode = oldCh[++oldStartIdx];
723
- } else if (oldEndVnode == null) {
724
- oldEndVnode = oldCh[--oldEndIdx];
725
- } else if (newStartVnode == null) {
726
- newStartVnode = newCh[++newStartIdx];
727
- } else if (newEndVnode == null) {
728
- newEndVnode = newCh[--newEndIdx];
729
- } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
730
- patch(oldStartVnode, newStartVnode, isInitialRender);
731
- oldStartVnode = oldCh[++oldStartIdx];
732
- newStartVnode = newCh[++newStartIdx];
733
- } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
734
- patch(oldEndVnode, newEndVnode, isInitialRender);
735
- oldEndVnode = oldCh[--oldEndIdx];
736
- newEndVnode = newCh[--newEndIdx];
737
- } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
738
- patch(oldStartVnode, newEndVnode, isInitialRender);
739
- insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
740
- oldStartVnode = oldCh[++oldStartIdx];
741
- newEndVnode = newCh[--newEndIdx];
742
- } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
743
- patch(oldEndVnode, newStartVnode, isInitialRender);
744
- insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
745
- oldEndVnode = oldCh[--oldEndIdx];
746
- newStartVnode = newCh[++newStartIdx];
747
- } else {
748
- idxInOld = -1;
749
- {
750
- for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
751
- if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
752
- idxInOld = i2;
753
- break;
754
- }
755
- }
756
- }
757
- if (idxInOld >= 0) {
758
- elmToMove = oldCh[idxInOld];
759
- if (elmToMove.$tag$ !== newStartVnode.$tag$) {
760
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
761
- } else {
762
- patch(elmToMove, newStartVnode, isInitialRender);
763
- oldCh[idxInOld] = void 0;
764
- node = elmToMove.$elm$;
765
- }
766
- newStartVnode = newCh[++newStartIdx];
767
- } else {
768
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
769
- newStartVnode = newCh[++newStartIdx];
770
- }
771
- if (node) {
772
- {
773
- insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
774
- }
775
- }
776
- }
777
- }
778
- if (oldStartIdx > oldEndIdx) {
779
- addVnodes(
780
- parentElm,
781
- newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
782
- newVNode2,
783
- newCh,
784
- newStartIdx,
785
- newEndIdx
786
- );
787
- } else if (newStartIdx > newEndIdx) {
788
- removeVnodes(oldCh, oldStartIdx, oldEndIdx);
789
- }
790
- };
791
- var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
792
- if (leftVNode.$tag$ === rightVNode.$tag$) {
793
- if (!isInitialRender) {
794
- return leftVNode.$key$ === rightVNode.$key$;
795
- }
796
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
797
- leftVNode.$key$ = rightVNode.$key$;
798
- }
799
- return true;
800
- }
801
- return false;
802
- };
803
- var patch = (oldVNode, newVNode2, isInitialRender = false) => {
804
- const elm = newVNode2.$elm$ = oldVNode.$elm$;
805
- const oldChildren = oldVNode.$children$;
806
- const newChildren = newVNode2.$children$;
807
- const tag = newVNode2.$tag$;
808
- const text = newVNode2.$text$;
809
- if (text === null) {
810
- {
811
- isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
812
- }
813
- {
814
- updateElement(oldVNode, newVNode2, isSvgMode);
815
- }
816
- if (oldChildren !== null && newChildren !== null) {
817
- updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
818
- } else if (newChildren !== null) {
819
- if (oldVNode.$text$ !== null) {
820
- elm.textContent = "";
821
- }
822
- addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
823
- } else if (
824
- // don't do this on initial render as it can cause non-hydrated content to be removed
825
- !isInitialRender && BUILD.updatable && oldChildren !== null
826
- ) {
827
- removeVnodes(oldChildren, 0, oldChildren.length - 1);
828
- } else ;
829
- if (isSvgMode && tag === "svg") {
830
- isSvgMode = false;
831
- }
832
- } else if (oldVNode.$text$ !== text) {
833
- elm.data = text;
834
- }
835
- };
836
- var insertBefore = (parent, newNode, reference) => {
837
- {
838
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
839
- }
840
- };
841
- var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
842
- const hostElm = hostRef.$hostElement$;
843
- const oldVNode = hostRef.$vnode$ || newVNode(null, null);
844
- const isHostElement = isHost(renderFnResults);
845
- const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
846
- hostTagName = hostElm.tagName;
847
- if (isInitialLoad && rootVnode.$attrs$) {
848
- for (const key of Object.keys(rootVnode.$attrs$)) {
849
- if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
850
- rootVnode.$attrs$[key] = hostElm[key];
851
- }
852
- }
853
- }
854
- rootVnode.$tag$ = null;
855
- rootVnode.$flags$ |= 4 /* isHost */;
856
- hostRef.$vnode$ = rootVnode;
857
- rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
858
- patch(oldVNode, rootVnode, isInitialLoad);
859
- };
860
-
861
- // src/runtime/update-component.ts
862
- var attachToAncestor = (hostRef, ancestorComponent) => {
863
- if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
864
- const index = ancestorComponent["s-p"].push(
865
- new Promise(
866
- (r) => hostRef.$onRenderResolve$ = () => {
867
- ancestorComponent["s-p"].splice(index - 1, 1);
868
- r();
869
- }
870
- )
871
- );
872
- }
873
- };
874
- var scheduleUpdate = (hostRef, isInitialLoad) => {
875
- {
876
- hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
877
- }
878
- if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
879
- hostRef.$flags$ |= 512 /* needsRerender */;
880
- return;
881
- }
882
- attachToAncestor(hostRef, hostRef.$ancestorComponent$);
883
- const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
884
- if (isInitialLoad) {
885
- queueMicrotask(() => {
886
- dispatch();
887
- });
888
- return;
889
- }
890
- return writeTask(dispatch) ;
891
- };
892
- var dispatchHooks = (hostRef, isInitialLoad) => {
893
- const elm = hostRef.$hostElement$;
894
- const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
895
- const instance = hostRef.$lazyInstance$ ;
896
- if (!instance) {
897
- throw new Error(
898
- `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`
899
- );
900
- }
901
- let maybePromise;
902
- if (isInitialLoad) {
903
- {
904
- if (hostRef.$fetchedCbList$.length) {
905
- hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
906
- }
907
- }
908
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
909
- } else {
910
- maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
911
- }
912
- maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
913
- endSchedule();
914
- return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
915
- };
916
- var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
917
- console.error(err2);
918
- fn();
919
- }) : fn();
920
- var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
921
- var updateComponent = async (hostRef, instance, isInitialLoad) => {
922
- var _a;
923
- const elm = hostRef.$hostElement$;
924
- const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
925
- const rc = elm["s-rc"];
926
- if (isInitialLoad) {
927
- attachStyles(hostRef);
928
- }
929
- const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
930
- {
931
- callRender(hostRef, instance, elm, isInitialLoad);
932
- }
933
- if (rc) {
934
- rc.map((cb) => cb());
935
- elm["s-rc"] = void 0;
936
- }
937
- endRender();
938
- endUpdate();
939
- {
940
- const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
941
- const postUpdate = () => postUpdateComponent(hostRef);
942
- if (childrenPromises.length === 0) {
943
- postUpdate();
944
- } else {
945
- Promise.all(childrenPromises).then(postUpdate);
946
- hostRef.$flags$ |= 4 /* isWaitingForChildren */;
947
- childrenPromises.length = 0;
948
- }
949
- }
950
- };
951
- var callRender = (hostRef, instance, elm, isInitialLoad) => {
952
- try {
953
- instance = instance.render() ;
954
- {
955
- hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
956
- }
957
- {
958
- hostRef.$flags$ |= 2 /* hasRendered */;
959
- }
960
- {
961
- {
962
- {
963
- renderVdom(hostRef, instance, isInitialLoad);
964
- }
965
- }
966
- }
967
- } catch (e) {
968
- consoleError(e, hostRef.$hostElement$);
969
- }
970
- return null;
971
- };
972
- var postUpdateComponent = (hostRef) => {
973
- const tagName = hostRef.$cmpMeta$.$tagName$;
974
- const elm = hostRef.$hostElement$;
975
- const endPostUpdate = createTime("postUpdate", tagName);
976
- const instance = hostRef.$lazyInstance$ ;
977
- const ancestorComponent = hostRef.$ancestorComponent$;
978
- safeCall(instance, "componentDidRender", void 0, elm);
979
- if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
980
- hostRef.$flags$ |= 64 /* hasLoadedComponent */;
981
- {
982
- addHydratedFlag(elm);
983
- }
984
- safeCall(instance, "componentDidLoad", void 0, elm);
985
- endPostUpdate();
986
- {
987
- hostRef.$onReadyResolve$(elm);
988
- if (!ancestorComponent) {
989
- appDidLoad();
990
- }
991
- }
992
- } else {
993
- safeCall(instance, "componentDidUpdate", void 0, elm);
994
- endPostUpdate();
995
- }
996
- {
997
- if (hostRef.$onRenderResolve$) {
998
- hostRef.$onRenderResolve$();
999
- hostRef.$onRenderResolve$ = void 0;
1000
- }
1001
- if (hostRef.$flags$ & 512 /* needsRerender */) {
1002
- nextTick(() => scheduleUpdate(hostRef, false));
1003
- }
1004
- hostRef.$flags$ &= -517;
1005
- }
1006
- };
1007
- var appDidLoad = (who) => {
1008
- nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1009
- };
1010
- var safeCall = (instance, method, arg, elm) => {
1011
- if (instance && instance[method]) {
1012
- try {
1013
- return instance[method](arg);
1014
- } catch (e) {
1015
- consoleError(e, elm);
1016
- }
1017
- }
1018
- return void 0;
1019
- };
1020
- var addHydratedFlag = (elm) => {
1021
- var _a;
1022
- return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
1023
- };
1024
-
1025
- // src/runtime/set-value.ts
1026
- var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1027
- var setValue = (ref, propName, newVal, cmpMeta) => {
1028
- const hostRef = getHostRef(ref);
1029
- if (!hostRef) {
1030
- return;
1031
- }
1032
- if (!hostRef) {
1033
- throw new Error(
1034
- `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
1035
- );
1036
- }
1037
- const oldVal = hostRef.$instanceValues$.get(propName);
1038
- const flags = hostRef.$flags$;
1039
- const instance = hostRef.$lazyInstance$ ;
1040
- newVal = parsePropertyValue(
1041
- newVal,
1042
- cmpMeta.$members$[propName][0]);
1043
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1044
- const didValueChange = newVal !== oldVal && !areBothNaN;
1045
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1046
- hostRef.$instanceValues$.set(propName, newVal);
1047
- if (instance) {
1048
- if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1049
- if (instance.componentShouldUpdate) {
1050
- if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1051
- return;
1052
- }
1053
- }
1054
- scheduleUpdate(hostRef, false);
1055
- }
1056
- }
1057
- }
1058
- };
1059
-
1060
- // src/runtime/proxy-component.ts
1061
- var proxyComponent = (Cstr, cmpMeta, flags) => {
1062
- var _a, _b;
1063
- const prototype = Cstr.prototype;
1064
- if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1065
- const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1066
- members.map(([memberName, [memberFlags]]) => {
1067
- if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1068
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1069
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1070
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1071
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1072
- Object.defineProperty(prototype, memberName, {
1073
- get() {
1074
- {
1075
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1076
- return getValue(this, memberName);
1077
- }
1078
- const ref = getHostRef(this);
1079
- const instance = ref ? ref.$lazyInstance$ : prototype;
1080
- if (!instance) return;
1081
- return instance[memberName];
1082
- }
1083
- },
1084
- configurable: true,
1085
- enumerable: true
1086
- });
1087
- }
1088
- Object.defineProperty(prototype, memberName, {
1089
- set(newValue) {
1090
- const ref = getHostRef(this);
1091
- if (!ref) {
1092
- return;
1093
- }
1094
- if (origSetter) {
1095
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1096
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1097
- newValue = ref.$instanceValues$.get(memberName);
1098
- }
1099
- origSetter.apply(this, [
1100
- parsePropertyValue(
1101
- newValue,
1102
- memberFlags)
1103
- ]);
1104
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1105
- setValue(this, memberName, newValue, cmpMeta);
1106
- return;
1107
- }
1108
- {
1109
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1110
- setValue(this, memberName, newValue, cmpMeta);
1111
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1112
- ref.$fetchedCbList$.push(() => {
1113
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1114
- ref.$lazyInstance$[memberName] = newValue;
1115
- }
1116
- });
1117
- }
1118
- return;
1119
- }
1120
- const setterSetVal = () => {
1121
- const currentValue = ref.$lazyInstance$[memberName];
1122
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1123
- ref.$instanceValues$.set(memberName, currentValue);
1124
- }
1125
- ref.$lazyInstance$[memberName] = parsePropertyValue(
1126
- newValue,
1127
- memberFlags);
1128
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1129
- };
1130
- if (ref.$lazyInstance$) {
1131
- setterSetVal();
1132
- } else {
1133
- ref.$fetchedCbList$.push(() => {
1134
- setterSetVal();
1135
- });
1136
- }
1137
- }
1138
- }
1139
- });
1140
- }
1141
- });
1142
- if ((flags & 1 /* isElementConstructor */)) {
1143
- const attrNameToPropName = /* @__PURE__ */ new Map();
1144
- prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
1145
- plt.jmp(() => {
1146
- var _a2;
1147
- const propName = attrNameToPropName.get(attrName);
1148
- const hostRef = getHostRef(this);
1149
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1150
- newValue = this[propName];
1151
- delete this[propName];
1152
- }
1153
- if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1154
- this[propName] == newValue) {
1155
- return;
1156
- } else if (propName == null) {
1157
- const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1158
- if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1159
- const instance = hostRef.$lazyInstance$ ;
1160
- const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1161
- entry == null ? void 0 : entry.forEach((callbackName) => {
1162
- if (instance[callbackName] != null) {
1163
- instance[callbackName].call(instance, newValue, oldValue, attrName);
1164
- }
1165
- });
1166
- }
1167
- return;
1168
- }
1169
- const propFlags = members.find(([m]) => m === propName);
1170
- if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
1171
- newValue = newValue === null || newValue === "false" ? false : true;
1172
- }
1173
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1174
- if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1175
- this[propName] = newValue;
1176
- }
1177
- });
1178
- };
1179
- Cstr.observedAttributes = Array.from(
1180
- /* @__PURE__ */ new Set([
1181
- ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1182
- ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
1183
- const attrName = m[1] || propName;
1184
- attrNameToPropName.set(attrName, propName);
1185
- return attrName;
1186
- })
1187
- ])
1188
- );
1189
- }
1190
- }
1191
- return Cstr;
1192
- };
1193
-
1194
- // src/runtime/initialize-component.ts
1195
- var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1196
- let Cstr;
1197
- if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1198
- hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1199
- const bundleId = cmpMeta.$lazyBundleId$;
1200
- if (bundleId) {
1201
- const CstrImport = loadModule(cmpMeta, hostRef);
1202
- if (CstrImport && "then" in CstrImport) {
1203
- const endLoad = uniqueTime();
1204
- Cstr = await CstrImport;
1205
- endLoad();
1206
- } else {
1207
- Cstr = CstrImport;
1208
- }
1209
- if (!Cstr) {
1210
- throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1211
- }
1212
- if (!Cstr.isProxied) {
1213
- proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1214
- Cstr.isProxied = true;
1215
- }
1216
- const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
1217
- {
1218
- hostRef.$flags$ |= 8 /* isConstructingInstance */;
1219
- }
1220
- try {
1221
- new Cstr(hostRef);
1222
- } catch (e) {
1223
- consoleError(e, elm);
1224
- }
1225
- {
1226
- hostRef.$flags$ &= -9 /* isConstructingInstance */;
1227
- }
1228
- endNewInstance();
1229
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1230
- } else {
1231
- Cstr = elm.constructor;
1232
- const cmpTag = elm.localName;
1233
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1234
- }
1235
- if (Cstr && Cstr.style) {
1236
- let style;
1237
- if (typeof Cstr.style === "string") {
1238
- style = Cstr.style;
1239
- }
1240
- const scopeId2 = getScopeId(cmpMeta);
1241
- if (!styles.has(scopeId2)) {
1242
- const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
1243
- registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1244
- endRegisterStyles();
1245
- }
1246
- }
1247
- }
1248
- const ancestorComponent = hostRef.$ancestorComponent$;
1249
- const schedule = () => scheduleUpdate(hostRef, true);
1250
- if (ancestorComponent && ancestorComponent["s-rc"]) {
1251
- ancestorComponent["s-rc"].push(schedule);
1252
- } else {
1253
- schedule();
1254
- }
1255
- };
1256
- var fireConnectedCallback = (instance, elm) => {
1257
- {
1258
- safeCall(instance, "connectedCallback", void 0, elm);
1259
- }
1260
- };
1261
-
1262
- // src/runtime/connected-callback.ts
1263
- var connectedCallback = (elm) => {
1264
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1265
- const hostRef = getHostRef(elm);
1266
- if (!hostRef) {
1267
- return;
1268
- }
1269
- const cmpMeta = hostRef.$cmpMeta$;
1270
- const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1271
- if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1272
- hostRef.$flags$ |= 1 /* hasConnected */;
1273
- {
1274
- let ancestorComponent = elm;
1275
- while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
1276
- if (ancestorComponent["s-p"]) {
1277
- attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
1278
- break;
1279
- }
1280
- }
1281
- }
1282
- if (cmpMeta.$members$) {
1283
- Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1284
- if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1285
- const value = elm[memberName];
1286
- delete elm[memberName];
1287
- elm[memberName] = value;
1288
- }
1289
- });
1290
- }
1291
- {
1292
- initializeComponent(elm, hostRef, cmpMeta);
1293
- }
1294
- } else {
1295
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1296
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1297
- } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1298
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1299
- }
1300
- }
1301
- endConnected();
1302
- }
1303
- };
1304
- var disconnectInstance = (instance, elm) => {
1305
- {
1306
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1307
- }
1308
- };
1309
- var disconnectedCallback = async (elm) => {
1310
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1311
- const hostRef = getHostRef(elm);
1312
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1313
- disconnectInstance(hostRef.$lazyInstance$, elm);
1314
- } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1315
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1316
- }
1317
- }
1318
- if (rootAppliedStyles.has(elm)) {
1319
- rootAppliedStyles.delete(elm);
1320
- }
1321
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1322
- rootAppliedStyles.delete(elm.shadowRoot);
1323
- }
1324
- };
1325
-
1326
- // src/runtime/bootstrap-lazy.ts
1327
- var bootstrapLazy = (lazyBundles, options = {}) => {
1328
- var _a;
1329
- if (!win.document) {
1330
- console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1331
- return;
1332
- }
1333
- const endBootstrap = createTime();
1334
- const cmpTags = [];
1335
- const exclude = options.exclude || [];
1336
- const customElements2 = win.customElements;
1337
- const head = win.document.head;
1338
- const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1339
- const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1340
- const deferredConnectedCallbacks = [];
1341
- let appLoadFallback;
1342
- let isBootstrapping = true;
1343
- Object.assign(plt, options);
1344
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1345
- let hasSlotRelocation = false;
1346
- lazyBundles.map((lazyBundle) => {
1347
- lazyBundle[1].map((compactMeta) => {
1348
- const cmpMeta = {
1349
- $flags$: compactMeta[0],
1350
- $tagName$: compactMeta[1],
1351
- $members$: compactMeta[2],
1352
- $listeners$: compactMeta[3]
1353
- };
1354
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
1355
- hasSlotRelocation = true;
1356
- }
1357
- {
1358
- cmpMeta.$members$ = compactMeta[2];
1359
- }
1360
- const tagName = transformTag(cmpMeta.$tagName$);
1361
- const HostElement = class extends HTMLElement {
1362
- // StencilLazyHost
1363
- constructor(self) {
1364
- super(self);
1365
- this.hasRegisteredEventListeners = false;
1366
- self = this;
1367
- registerHost(self, cmpMeta);
1368
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1369
- {
1370
- if (!self.shadowRoot) {
1371
- createShadowRoot.call(self, cmpMeta);
1372
- } else {
1373
- if (self.shadowRoot.mode !== "open") {
1374
- throw new Error(
1375
- `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
1376
- );
1377
- }
1378
- }
1379
- }
1380
- }
1381
- }
1382
- connectedCallback() {
1383
- const hostRef = getHostRef(this);
1384
- if (!hostRef) {
1385
- return;
1386
- }
1387
- if (!this.hasRegisteredEventListeners) {
1388
- this.hasRegisteredEventListeners = true;
1389
- }
1390
- if (appLoadFallback) {
1391
- clearTimeout(appLoadFallback);
1392
- appLoadFallback = null;
1393
- }
1394
- if (isBootstrapping) {
1395
- deferredConnectedCallbacks.push(this);
1396
- } else {
1397
- plt.jmp(() => connectedCallback(this));
1398
- }
1399
- }
1400
- disconnectedCallback() {
1401
- plt.jmp(() => disconnectedCallback(this));
1402
- plt.raf(() => {
1403
- var _a3;
1404
- const hostRef = getHostRef(this);
1405
- if (!hostRef) {
1406
- return;
1407
- }
1408
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1409
- if (i2 > -1) {
1410
- deferredConnectedCallbacks.splice(i2, 1);
1411
- }
1412
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1413
- delete hostRef.$vnode$.$elm$;
1414
- }
1415
- });
1416
- }
1417
- componentOnReady() {
1418
- var _a3;
1419
- return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
1420
- }
1421
- };
1422
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1423
- if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
1424
- cmpTags.push(tagName);
1425
- customElements2.define(
1426
- tagName,
1427
- proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
1428
- );
1429
- }
1430
- });
1431
- });
1432
- if (cmpTags.length > 0) {
1433
- if (hasSlotRelocation) {
1434
- dataStyles.textContent += SLOT_FB_CSS;
1435
- }
1436
- {
1437
- dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
1438
- }
1439
- if (dataStyles.innerHTML.length) {
1440
- dataStyles.setAttribute("data-styles", "");
1441
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1442
- if (nonce != null) {
1443
- dataStyles.setAttribute("nonce", nonce);
1444
- }
1445
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1446
- }
1447
- }
1448
- isBootstrapping = false;
1449
- if (deferredConnectedCallbacks.length) {
1450
- deferredConnectedCallbacks.map((host) => host.connectedCallback());
1451
- } else {
1452
- {
1453
- plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
1454
- }
1455
- }
1456
- endBootstrap();
1457
- };
1458
-
1459
- // src/runtime/nonce.ts
1460
- var setNonce = (nonce) => plt.$nonce$ = nonce;
1461
- function transformTag(tag) {
1462
- return tag;
1463
- }
1464
-
1465
- exports.bootstrapLazy = bootstrapLazy;
1466
- exports.getElement = getElement;
1467
- exports.h = h;
1468
- exports.promiseResolve = promiseResolve;
1469
- exports.registerInstance = registerInstance;
1470
- exports.setNonce = setNonce;