@govbr-ds/webcomponents 2.0.0-next.30 → 2.0.0-next.33

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 (560) hide show
  1. package/dist/cjs/app-globals-XonOcHUG.js +11 -0
  2. package/dist/cjs/app-globals-XonOcHUG.js.map +1 -0
  3. package/dist/cjs/br-avatar.cjs.entry.js +129 -0
  4. package/dist/cjs/br-avatar.cjs.entry.js.map +1 -0
  5. package/dist/cjs/br-avatar.entry.cjs.js.map +1 -0
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +308 -0
  7. package/dist/cjs/br-breadcrumb.cjs.entry.js.map +1 -0
  8. package/dist/cjs/br-breadcrumb.entry.cjs.js.map +1 -0
  9. package/dist/cjs/br-button.br-icon.entry.cjs.js.map +1 -0
  10. package/dist/cjs/br-button_2.cjs.entry.js +2506 -0
  11. package/dist/cjs/br-button_2.cjs.entry.js.map +1 -0
  12. package/dist/cjs/br-checkbox.cjs.entry.js +148 -0
  13. package/dist/cjs/br-checkbox.cjs.entry.js.map +1 -0
  14. package/dist/cjs/br-checkbox.entry.cjs.js.map +1 -0
  15. package/dist/cjs/br-checkgroup.cjs.entry.js +116 -0
  16. package/dist/cjs/br-checkgroup.cjs.entry.js.map +1 -0
  17. package/dist/cjs/br-checkgroup.entry.cjs.js.map +1 -0
  18. package/dist/cjs/br-collapse.cjs.entry.js +99 -0
  19. package/dist/cjs/br-collapse.cjs.entry.js.map +1 -0
  20. package/dist/cjs/br-collapse.entry.cjs.js.map +1 -0
  21. package/dist/cjs/br-divider.cjs.entry.js +85 -0
  22. package/dist/cjs/br-divider.cjs.entry.js.map +1 -0
  23. package/dist/cjs/br-divider.entry.cjs.js.map +1 -0
  24. package/dist/cjs/br-dropdown.cjs.entry.js +108 -0
  25. package/dist/cjs/br-dropdown.cjs.entry.js.map +1 -0
  26. package/dist/cjs/br-dropdown.entry.cjs.js.map +1 -0
  27. package/dist/cjs/br-input.br-radio.entry.cjs.js.map +1 -0
  28. package/dist/cjs/br-input_2.cjs.entry.js +393 -0
  29. package/dist/cjs/br-input_2.cjs.entry.js.map +1 -0
  30. package/dist/cjs/br-item.cjs.entry.js +224 -0
  31. package/dist/cjs/br-item.cjs.entry.js.map +1 -0
  32. package/dist/cjs/br-item.entry.cjs.js.map +1 -0
  33. package/dist/cjs/br-list.cjs.entry.js +89 -0
  34. package/dist/cjs/br-list.cjs.entry.js.map +1 -0
  35. package/dist/cjs/br-list.entry.cjs.js.map +1 -0
  36. package/dist/cjs/br-loading.cjs.entry.js +57 -0
  37. package/dist/cjs/br-loading.cjs.entry.js.map +1 -0
  38. package/dist/cjs/br-loading.entry.cjs.js.map +1 -0
  39. package/dist/cjs/br-message.cjs.entry.js +113 -0
  40. package/dist/cjs/br-message.cjs.entry.js.map +1 -0
  41. package/dist/cjs/br-message.entry.cjs.js.map +1 -0
  42. package/dist/cjs/br-select.cjs.entry.js +304 -0
  43. package/dist/cjs/br-select.cjs.entry.js.map +1 -0
  44. package/dist/cjs/br-select.entry.cjs.js.map +1 -0
  45. package/dist/cjs/br-switch.cjs.entry.js +122 -0
  46. package/dist/cjs/br-switch.cjs.entry.js.map +1 -0
  47. package/dist/cjs/br-switch.entry.cjs.js.map +1 -0
  48. package/dist/cjs/br-tag.cjs.entry.js +197 -0
  49. package/dist/cjs/br-tag.cjs.entry.js.map +1 -0
  50. package/dist/cjs/br-tag.entry.cjs.js.map +1 -0
  51. package/dist/cjs/br-textarea.cjs.entry.js +121 -0
  52. package/dist/cjs/br-textarea.cjs.entry.js.map +1 -0
  53. package/dist/cjs/br-textarea.entry.cjs.js.map +1 -0
  54. package/dist/cjs/br-upload.cjs.entry.js +150 -0
  55. package/dist/cjs/br-upload.cjs.entry.js.map +1 -0
  56. package/dist/cjs/br-upload.entry.cjs.js.map +1 -0
  57. package/dist/cjs/index-C5PKqcRm.js +2349 -0
  58. package/dist/cjs/index-C5PKqcRm.js.map +1 -0
  59. package/dist/cjs/index.cjs.js +8 -0
  60. package/dist/cjs/index.cjs.js.map +1 -0
  61. package/dist/cjs/loader.cjs.js +19 -0
  62. package/dist/cjs/loader.cjs.js.map +1 -0
  63. package/dist/cjs/webcomponents.cjs.js +52 -0
  64. package/dist/cjs/webcomponents.cjs.js.map +1 -0
  65. package/dist/collection/assets/wc.svg +1 -0
  66. package/dist/collection/collection-manifest.json +31 -0
  67. package/dist/collection/components/avatar/avatar.css +1 -0
  68. package/dist/collection/components/avatar/avatar.js +343 -0
  69. package/dist/collection/components/avatar/avatar.js.map +1 -0
  70. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
  71. package/dist/collection/components/breadcrumb/breadcrumb.js +390 -0
  72. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -0
  73. package/dist/collection/components/button/button.css +1 -0
  74. package/dist/collection/components/button/button.js +315 -0
  75. package/dist/collection/components/button/button.js.map +1 -0
  76. package/dist/collection/components/checkbox/checkbox.css +1 -0
  77. package/dist/collection/components/checkbox/checkbox.js +415 -0
  78. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  79. package/dist/collection/components/checkgroup/checkgroup.css +1 -0
  80. package/dist/collection/components/checkgroup/checkgroup.js +237 -0
  81. package/dist/collection/components/checkgroup/checkgroup.js.map +1 -0
  82. package/dist/collection/components/collapse/collapse.css +1 -0
  83. package/dist/collection/components/collapse/collapse.js +300 -0
  84. package/dist/collection/components/collapse/collapse.js.map +1 -0
  85. package/dist/collection/components/divider/divider.css +1 -0
  86. package/dist/collection/components/divider/divider.js +261 -0
  87. package/dist/collection/components/divider/divider.js.map +1 -0
  88. package/dist/collection/components/dropdown/dropdown.css +1 -0
  89. package/dist/collection/components/dropdown/dropdown.js +220 -0
  90. package/dist/collection/components/dropdown/dropdown.js.map +1 -0
  91. package/dist/collection/components/icon/icon.css +1 -0
  92. package/dist/collection/components/icon/icon.js +242 -0
  93. package/dist/collection/components/icon/icon.js.map +1 -0
  94. package/dist/collection/components/input/input.css +1 -0
  95. package/dist/collection/components/input/input.js +762 -0
  96. package/dist/collection/components/input/input.js.map +1 -0
  97. package/dist/collection/components/item/item.css +1 -0
  98. package/dist/collection/components/item/item.js +505 -0
  99. package/dist/collection/components/item/item.js.map +1 -0
  100. package/dist/collection/components/list/list.css +1 -0
  101. package/dist/collection/components/list/list.js +176 -0
  102. package/dist/collection/components/list/list.js.map +1 -0
  103. package/dist/collection/components/loading/loading.css +1 -0
  104. package/dist/collection/components/loading/loading.js +166 -0
  105. package/dist/collection/components/loading/loading.js.map +1 -0
  106. package/dist/collection/components/message/message.css +1 -0
  107. package/dist/collection/components/message/message.js +315 -0
  108. package/dist/collection/components/message/message.js.map +1 -0
  109. package/dist/collection/components/radio/radio.css +1 -0
  110. package/dist/collection/components/radio/radio.js +335 -0
  111. package/dist/collection/components/radio/radio.js.map +1 -0
  112. package/dist/collection/components/select/select.css +1 -0
  113. package/dist/collection/components/select/select.js +538 -0
  114. package/dist/collection/components/select/select.js.map +1 -0
  115. package/dist/collection/components/switch/switch.css +1 -0
  116. package/dist/collection/components/switch/switch.js +387 -0
  117. package/dist/collection/components/switch/switch.js.map +1 -0
  118. package/dist/collection/components/tag/tag.css +1 -0
  119. package/dist/collection/components/tag/tag.js +497 -0
  120. package/dist/collection/components/tag/tag.js.map +1 -0
  121. package/dist/collection/components/textarea/textarea.css +1 -0
  122. package/dist/collection/components/textarea/textarea.js +373 -0
  123. package/dist/collection/components/textarea/textarea.js.map +1 -0
  124. package/dist/collection/components/upload/upload.css +1 -0
  125. package/dist/collection/components/upload/upload.js +263 -0
  126. package/dist/collection/components/upload/upload.js.map +1 -0
  127. package/dist/collection/index.js +2 -0
  128. package/dist/collection/index.js.map +1 -0
  129. package/dist/collection/pages/components/breadcrumb/index.js +18 -0
  130. package/dist/collection/pages/components/button/index.js +18 -0
  131. package/dist/collection/pages/components/checkbox/index.js +18 -0
  132. package/dist/collection/pages/components/checkgroup/index.js +20 -0
  133. package/dist/collection/pages/components/collapse/index.js +18 -0
  134. package/dist/collection/pages/components/divider/index.js +18 -0
  135. package/dist/collection/pages/components/dropdown/index.js +18 -0
  136. package/dist/collection/pages/components/icon/index.js +18 -0
  137. package/dist/collection/pages/components/input/index.js +27 -0
  138. package/dist/collection/pages/components/item/index.js +18 -0
  139. package/dist/collection/pages/components/list/index.js +19 -0
  140. package/dist/collection/pages/components/message/index.js +47 -0
  141. package/dist/collection/pages/components/radio/index.js +19 -0
  142. package/dist/collection/pages/components/select/index.js +18 -0
  143. package/dist/collection/pages/components/switch/index.js +18 -0
  144. package/dist/collection/pages/components/tag/index.js +18 -0
  145. package/dist/collection/pages/components/textarea/index.js +19 -0
  146. package/dist/collection/pages/components/upload/index.js +19 -0
  147. package/dist/collection/pages/scripts/menu.js +263 -0
  148. package/dist/collection/pages/scripts/pageLoader.js +192 -0
  149. package/dist/collection/utils/interfaces.js +2 -0
  150. package/dist/collection/utils/interfaces.js.map +1 -0
  151. package/dist/collection/value-accessors/angular-value-accessor-config.js +40 -0
  152. package/dist/collection/value-accessors/angular-value-accessor-config.js.map +1 -0
  153. package/dist/collection/value-accessors/index.js +6 -0
  154. package/dist/collection/value-accessors/index.js.map +1 -0
  155. package/dist/collection/value-accessors/vue-model-config.js +21 -0
  156. package/dist/collection/value-accessors/vue-model-config.js.map +1 -0
  157. package/dist/components/br-avatar.d.ts +11 -0
  158. package/dist/components/br-avatar.js +208 -0
  159. package/dist/components/br-avatar.js.map +1 -0
  160. package/dist/components/br-breadcrumb.d.ts +11 -0
  161. package/dist/components/br-breadcrumb.js +465 -0
  162. package/dist/components/br-breadcrumb.js.map +1 -0
  163. package/dist/components/br-button.d.ts +11 -0
  164. package/dist/components/br-button.js +12 -0
  165. package/dist/components/br-button.js.map +1 -0
  166. package/dist/components/br-checkbox.d.ts +11 -0
  167. package/dist/components/br-checkbox.js +12 -0
  168. package/dist/components/br-checkbox.js.map +1 -0
  169. package/dist/components/br-checkgroup.d.ts +11 -0
  170. package/dist/components/br-checkgroup.js +178 -0
  171. package/dist/components/br-checkgroup.js.map +1 -0
  172. package/dist/components/br-collapse.d.ts +11 -0
  173. package/dist/components/br-collapse.js +179 -0
  174. package/dist/components/br-collapse.js.map +1 -0
  175. package/dist/components/br-divider.d.ts +11 -0
  176. package/dist/components/br-divider.js +139 -0
  177. package/dist/components/br-divider.js.map +1 -0
  178. package/dist/components/br-dropdown.d.ts +11 -0
  179. package/dist/components/br-dropdown.js +165 -0
  180. package/dist/components/br-dropdown.js.map +1 -0
  181. package/dist/components/br-icon.d.ts +11 -0
  182. package/dist/components/br-icon.js +12 -0
  183. package/dist/components/br-icon.js.map +1 -0
  184. package/dist/components/br-input.d.ts +11 -0
  185. package/dist/components/br-input.js +12 -0
  186. package/dist/components/br-input.js.map +1 -0
  187. package/dist/components/br-item.d.ts +11 -0
  188. package/dist/components/br-item.js +12 -0
  189. package/dist/components/br-item.js.map +1 -0
  190. package/dist/components/br-list.d.ts +11 -0
  191. package/dist/components/br-list.js +12 -0
  192. package/dist/components/br-list.js.map +1 -0
  193. package/dist/components/br-loading.d.ts +11 -0
  194. package/dist/components/br-loading.js +116 -0
  195. package/dist/components/br-loading.js.map +1 -0
  196. package/dist/components/br-message.d.ts +11 -0
  197. package/dist/components/br-message.js +196 -0
  198. package/dist/components/br-message.js.map +1 -0
  199. package/dist/components/br-radio.d.ts +11 -0
  200. package/dist/components/br-radio.js +12 -0
  201. package/dist/components/br-radio.js.map +1 -0
  202. package/dist/components/br-select.d.ts +11 -0
  203. package/dist/components/br-select.js +441 -0
  204. package/dist/components/br-select.js.map +1 -0
  205. package/dist/components/br-switch.d.ts +11 -0
  206. package/dist/components/br-switch.js +180 -0
  207. package/dist/components/br-switch.js.map +1 -0
  208. package/dist/components/br-tag.d.ts +11 -0
  209. package/dist/components/br-tag.js +310 -0
  210. package/dist/components/br-tag.js.map +1 -0
  211. package/dist/components/br-textarea.d.ts +11 -0
  212. package/dist/components/br-textarea.js +199 -0
  213. package/dist/components/br-textarea.js.map +1 -0
  214. package/dist/components/br-upload.d.ts +11 -0
  215. package/dist/components/br-upload.js +251 -0
  216. package/dist/components/br-upload.js.map +1 -0
  217. package/dist/components/index.d.ts +76 -0
  218. package/dist/components/index.js +46 -0
  219. package/dist/components/index.js.map +1 -0
  220. package/dist/components/p-4n7uz3ik.js +173 -0
  221. package/dist/components/p-4n7uz3ik.js.map +1 -0
  222. package/dist/components/p-B27qgEvJ.js +284 -0
  223. package/dist/components/p-B27qgEvJ.js.map +1 -0
  224. package/dist/components/p-BPq5El3u.js +2269 -0
  225. package/dist/components/p-BPq5El3u.js.map +1 -0
  226. package/dist/components/p-D02C28Eq.js +2042 -0
  227. package/dist/components/p-D02C28Eq.js.map +1 -0
  228. package/dist/components/p-D27CYIFW.js +153 -0
  229. package/dist/components/p-D27CYIFW.js.map +1 -0
  230. package/dist/components/p-D6xl9W7Q.js +385 -0
  231. package/dist/components/p-D6xl9W7Q.js.map +1 -0
  232. package/dist/components/p-DGRJ0cGS.js +197 -0
  233. package/dist/components/p-DGRJ0cGS.js.map +1 -0
  234. package/dist/components/p-Dt9PiOfU.js +129 -0
  235. package/dist/components/p-Dt9PiOfU.js.map +1 -0
  236. package/dist/custom-docs/docs-utils.js +123 -0
  237. package/dist/custom-docs/docs-utils.js.map +1 -0
  238. package/dist/custom-docs/markdown-css-props.js +25 -0
  239. package/dist/custom-docs/markdown-css-props.js.map +1 -0
  240. package/dist/custom-docs/markdown-dependencies.js +58 -0
  241. package/dist/custom-docs/markdown-dependencies.js.map +1 -0
  242. package/dist/custom-docs/markdown-events-all.js +28 -0
  243. package/dist/custom-docs/markdown-events-all.js.map +1 -0
  244. package/dist/custom-docs/markdown-events.js +33 -0
  245. package/dist/custom-docs/markdown-events.js.map +1 -0
  246. package/dist/custom-docs/markdown-examples.js +22 -0
  247. package/dist/custom-docs/markdown-examples.js.map +1 -0
  248. package/dist/custom-docs/markdown-methods-all.js +27 -0
  249. package/dist/custom-docs/markdown-methods-all.js.map +1 -0
  250. package/dist/custom-docs/markdown-methods.js +55 -0
  251. package/dist/custom-docs/markdown-methods.js.map +1 -0
  252. package/dist/custom-docs/markdown-overview.js +20 -0
  253. package/dist/custom-docs/markdown-overview.js.map +1 -0
  254. package/dist/custom-docs/markdown-parts.js +29 -0
  255. package/dist/custom-docs/markdown-parts.js.map +1 -0
  256. package/dist/custom-docs/markdown-props-all.js +53 -0
  257. package/dist/custom-docs/markdown-props-all.js.map +1 -0
  258. package/dist/custom-docs/markdown-props.js +56 -0
  259. package/dist/custom-docs/markdown-props.js.map +1 -0
  260. package/dist/custom-docs/markdown-sections.js +29 -0
  261. package/dist/custom-docs/markdown-sections.js.map +1 -0
  262. package/dist/custom-docs/markdown-slots-all.js +21 -0
  263. package/dist/custom-docs/markdown-slots-all.js.map +1 -0
  264. package/dist/custom-docs/markdown-slots.js +29 -0
  265. package/dist/custom-docs/markdown-slots.js.map +1 -0
  266. package/dist/custom-docs/output-docs.js +150 -0
  267. package/dist/custom-docs/output-docs.js.map +1 -0
  268. package/dist/custom-docs/path.js +205 -0
  269. package/dist/custom-docs/path.js.map +1 -0
  270. package/dist/custom-docs/sort-markdown-tables.js +33 -0
  271. package/dist/custom-docs/sort-markdown-tables.js.map +1 -0
  272. package/dist/esm/app-globals-BmgwYwlE.js +9 -0
  273. package/dist/esm/app-globals-BmgwYwlE.js.map +1 -0
  274. package/dist/esm/br-avatar.entry.js +127 -0
  275. package/dist/esm/br-avatar.entry.js.map +1 -0
  276. package/dist/esm/br-breadcrumb.entry.js +306 -0
  277. package/dist/esm/br-breadcrumb.entry.js.map +1 -0
  278. package/dist/esm/br-button.br-icon.entry.js.map +1 -0
  279. package/dist/esm/br-button_2.entry.js +2503 -0
  280. package/dist/esm/br-button_2.entry.js.map +1 -0
  281. package/dist/esm/br-checkbox.entry.js +146 -0
  282. package/dist/esm/br-checkbox.entry.js.map +1 -0
  283. package/dist/esm/br-checkgroup.entry.js +114 -0
  284. package/dist/esm/br-checkgroup.entry.js.map +1 -0
  285. package/dist/esm/br-collapse.entry.js +97 -0
  286. package/dist/esm/br-collapse.entry.js.map +1 -0
  287. package/dist/esm/br-divider.entry.js +83 -0
  288. package/dist/esm/br-divider.entry.js.map +1 -0
  289. package/dist/esm/br-dropdown.entry.js +106 -0
  290. package/dist/esm/br-dropdown.entry.js.map +1 -0
  291. package/dist/esm/br-input.br-radio.entry.js.map +1 -0
  292. package/dist/esm/br-input_2.entry.js +390 -0
  293. package/dist/esm/br-input_2.entry.js.map +1 -0
  294. package/dist/esm/br-item.entry.js +222 -0
  295. package/dist/esm/br-item.entry.js.map +1 -0
  296. package/dist/esm/br-list.entry.js +87 -0
  297. package/dist/esm/br-list.entry.js.map +1 -0
  298. package/dist/esm/br-loading.entry.js +55 -0
  299. package/dist/esm/br-loading.entry.js.map +1 -0
  300. package/dist/esm/br-message.entry.js +111 -0
  301. package/dist/esm/br-message.entry.js.map +1 -0
  302. package/dist/esm/br-select.entry.js +302 -0
  303. package/dist/esm/br-select.entry.js.map +1 -0
  304. package/dist/esm/br-switch.entry.js +120 -0
  305. package/dist/esm/br-switch.entry.js.map +1 -0
  306. package/dist/esm/br-tag.entry.js +195 -0
  307. package/dist/esm/br-tag.entry.js.map +1 -0
  308. package/dist/esm/br-textarea.entry.js +119 -0
  309. package/dist/esm/br-textarea.entry.js.map +1 -0
  310. package/dist/esm/br-upload.entry.js +148 -0
  311. package/dist/esm/br-upload.entry.js.map +1 -0
  312. package/dist/esm/index-CAyrQrUt.js +2339 -0
  313. package/dist/esm/index-CAyrQrUt.js.map +1 -0
  314. package/dist/esm/index.js +6 -0
  315. package/dist/esm/index.js.map +1 -0
  316. package/dist/esm/loader.js +17 -0
  317. package/dist/esm/loader.js.map +1 -0
  318. package/dist/esm/polyfills/core-js.js +11 -0
  319. package/dist/esm/polyfills/dom.js +79 -0
  320. package/dist/esm/polyfills/es5-html-element.js +1 -0
  321. package/dist/esm/polyfills/index.js +34 -0
  322. package/dist/esm/polyfills/system.js +6 -0
  323. package/dist/esm/webcomponents.js +48 -0
  324. package/dist/esm/webcomponents.js.map +1 -0
  325. package/dist/esm-es5/app-globals-BmgwYwlE.js +9 -0
  326. package/dist/esm-es5/app-globals-BmgwYwlE.js.map +1 -0
  327. package/dist/esm-es5/br-avatar.entry.js +148 -0
  328. package/dist/esm-es5/br-avatar.entry.js.map +1 -0
  329. package/dist/esm-es5/br-breadcrumb.entry.js +419 -0
  330. package/dist/esm-es5/br-breadcrumb.entry.js.map +1 -0
  331. package/dist/esm-es5/br-button.br-icon.entry.js.map +1 -0
  332. package/dist/esm-es5/br-button_2.entry.js +2387 -0
  333. package/dist/esm-es5/br-button_2.entry.js.map +1 -0
  334. package/dist/esm-es5/br-checkbox.entry.js +274 -0
  335. package/dist/esm-es5/br-checkbox.entry.js.map +1 -0
  336. package/dist/esm-es5/br-checkgroup.entry.js +150 -0
  337. package/dist/esm-es5/br-checkgroup.entry.js.map +1 -0
  338. package/dist/esm-es5/br-collapse.entry.js +270 -0
  339. package/dist/esm-es5/br-collapse.entry.js.map +1 -0
  340. package/dist/esm-es5/br-divider.entry.js +109 -0
  341. package/dist/esm-es5/br-divider.entry.js.map +1 -0
  342. package/dist/esm-es5/br-dropdown.entry.js +272 -0
  343. package/dist/esm-es5/br-dropdown.entry.js.map +1 -0
  344. package/dist/esm-es5/br-input.br-radio.entry.js.map +1 -0
  345. package/dist/esm-es5/br-input_2.entry.js +511 -0
  346. package/dist/esm-es5/br-input_2.entry.js.map +1 -0
  347. package/dist/esm-es5/br-item.entry.js +246 -0
  348. package/dist/esm-es5/br-item.entry.js.map +1 -0
  349. package/dist/esm-es5/br-list.entry.js +114 -0
  350. package/dist/esm-es5/br-list.entry.js.map +1 -0
  351. package/dist/esm-es5/br-loading.entry.js +86 -0
  352. package/dist/esm-es5/br-loading.entry.js.map +1 -0
  353. package/dist/esm-es5/br-message.entry.js +143 -0
  354. package/dist/esm-es5/br-message.entry.js.map +1 -0
  355. package/dist/esm-es5/br-select.entry.js +517 -0
  356. package/dist/esm-es5/br-select.entry.js.map +1 -0
  357. package/dist/esm-es5/br-switch.entry.js +243 -0
  358. package/dist/esm-es5/br-switch.entry.js.map +1 -0
  359. package/dist/esm-es5/br-tag.entry.js +250 -0
  360. package/dist/esm-es5/br-tag.entry.js.map +1 -0
  361. package/dist/esm-es5/br-textarea.entry.js +285 -0
  362. package/dist/esm-es5/br-textarea.entry.js.map +1 -0
  363. package/dist/esm-es5/br-upload.entry.js +229 -0
  364. package/dist/esm-es5/br-upload.entry.js.map +1 -0
  365. package/dist/esm-es5/index-CAyrQrUt.js +2740 -0
  366. package/dist/esm-es5/index-CAyrQrUt.js.map +1 -0
  367. package/dist/esm-es5/index.js +7 -0
  368. package/dist/esm-es5/index.js.map +1 -0
  369. package/dist/esm-es5/loader.js +393 -0
  370. package/dist/esm-es5/loader.js.map +1 -0
  371. package/dist/esm-es5/webcomponents.js +423 -0
  372. package/dist/esm-es5/webcomponents.js.map +1 -0
  373. package/dist/hydrate/index.d.ts +259 -0
  374. package/dist/hydrate/index.js +24297 -0
  375. package/dist/hydrate/index.mjs +24291 -0
  376. package/dist/hydrate/package.json +12 -0
  377. package/dist/index.cjs.js +1 -0
  378. package/dist/index.js +1 -0
  379. package/dist/loader/cdn.js +5 -0
  380. package/dist/loader/index.cjs.js +5 -0
  381. package/dist/loader/index.d.ts +24 -0
  382. package/dist/loader/index.es2017.js +5 -0
  383. package/dist/loader/index.js +6 -0
  384. package/dist/stencil.config.js +175 -0
  385. package/dist/stencil.config.js.map +1 -0
  386. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/docs-utils.d.ts +7 -0
  387. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-css-props.d.ts +2 -0
  388. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-dependencies.d.ts +2 -0
  389. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events-all.d.ts +2 -0
  390. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events.d.ts +2 -0
  391. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-examples.d.ts +2 -0
  392. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods-all.d.ts +2 -0
  393. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods.d.ts +2 -0
  394. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-overview.d.ts +6 -0
  395. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-parts.d.ts +7 -0
  396. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props-all.d.ts +2 -0
  397. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props.d.ts +2 -0
  398. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-sections.d.ts +2 -0
  399. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots-all.d.ts +2 -0
  400. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots.d.ts +7 -0
  401. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/output-docs.d.ts +2 -0
  402. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/path.d.ts +36 -0
  403. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/sort-markdown-tables.d.ts +1 -0
  404. package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
  405. package/dist/types/components/avatar/avatar.d.ts +74 -0
  406. package/dist/types/components/breadcrumb/breadcrumb.d.ts +158 -0
  407. package/dist/types/components/button/button.d.ts +67 -0
  408. package/dist/types/components/checkbox/checkbox.d.ts +88 -0
  409. package/dist/types/components/checkgroup/checkgroup.d.ts +52 -0
  410. package/dist/types/components/collapse/collapse.d.ts +50 -0
  411. package/dist/types/components/divider/divider.d.ts +34 -0
  412. package/dist/types/components/dropdown/dropdown.d.ts +67 -0
  413. package/dist/types/components/icon/icon.d.ts +61 -0
  414. package/dist/types/components/input/input.d.ts +158 -0
  415. package/dist/types/components/item/item.d.ts +102 -0
  416. package/dist/types/components/list/list.d.ts +37 -0
  417. package/dist/types/components/loading/loading.d.ts +37 -0
  418. package/dist/types/components/message/message.d.ts +75 -0
  419. package/dist/types/components/radio/radio.d.ts +77 -0
  420. package/dist/types/components/select/select.d.ts +93 -0
  421. package/dist/types/components/switch/switch.d.ts +80 -0
  422. package/dist/types/components/tag/tag.d.ts +95 -0
  423. package/dist/types/components/textarea/textarea.d.ts +70 -0
  424. package/dist/types/components/upload/upload.d.ts +66 -0
  425. package/dist/types/components.d.ts +2160 -0
  426. package/dist/types/index.d.ts +10 -0
  427. package/dist/types/stencil-public-runtime.d.ts +1681 -0
  428. package/dist/types/utils/interfaces.d.ts +3 -0
  429. package/dist/types/value-accessors/angular-value-accessor-config.d.ts +6 -0
  430. package/dist/types/value-accessors/index.d.ts +2 -0
  431. package/dist/types/value-accessors/vue-model-config.d.ts +2 -0
  432. package/dist/webcomponents/br-avatar.entry.esm.js.map +1 -0
  433. package/dist/webcomponents/br-breadcrumb.entry.esm.js.map +1 -0
  434. package/dist/webcomponents/br-button.br-icon.entry.esm.js.map +1 -0
  435. package/dist/webcomponents/br-checkbox.entry.esm.js.map +1 -0
  436. package/dist/webcomponents/br-checkgroup.entry.esm.js.map +1 -0
  437. package/dist/webcomponents/br-collapse.entry.esm.js.map +1 -0
  438. package/dist/webcomponents/br-divider.entry.esm.js.map +1 -0
  439. package/dist/webcomponents/br-dropdown.entry.esm.js.map +1 -0
  440. package/dist/webcomponents/br-input.br-radio.entry.esm.js.map +1 -0
  441. package/dist/webcomponents/br-item.entry.esm.js.map +1 -0
  442. package/dist/webcomponents/br-list.entry.esm.js.map +1 -0
  443. package/dist/webcomponents/br-loading.entry.esm.js.map +1 -0
  444. package/dist/webcomponents/br-message.entry.esm.js.map +1 -0
  445. package/dist/webcomponents/br-select.entry.esm.js.map +1 -0
  446. package/dist/webcomponents/br-switch.entry.esm.js.map +1 -0
  447. package/dist/webcomponents/br-tag.entry.esm.js.map +1 -0
  448. package/dist/webcomponents/br-textarea.entry.esm.js.map +1 -0
  449. package/dist/webcomponents/br-upload.entry.esm.js.map +1 -0
  450. package/dist/webcomponents/index.esm.js +6 -0
  451. package/dist/webcomponents/index.esm.js.map +1 -0
  452. package/dist/webcomponents/loader.esm.js.map +1 -0
  453. package/dist/webcomponents/p-06f7eeff.system.entry.js +254 -0
  454. package/dist/webcomponents/p-06f7eeff.system.entry.js.map +1 -0
  455. package/dist/webcomponents/p-0b4b4c3c.system.entry.js +235 -0
  456. package/dist/webcomponents/p-0b4b4c3c.system.entry.js.map +1 -0
  457. package/dist/webcomponents/p-0baea87b.system.entry.js +157 -0
  458. package/dist/webcomponents/p-0baea87b.system.entry.js.map +1 -0
  459. package/dist/webcomponents/p-15208deb.system.entry.js +282 -0
  460. package/dist/webcomponents/p-15208deb.system.entry.js.map +1 -0
  461. package/dist/webcomponents/p-1dcPc0rI.system.js.map +1 -0
  462. package/dist/webcomponents/p-24ffcc2b.system.entry.js +524 -0
  463. package/dist/webcomponents/p-24ffcc2b.system.entry.js.map +1 -0
  464. package/dist/webcomponents/p-27378f51.system.entry.js +251 -0
  465. package/dist/webcomponents/p-27378f51.system.entry.js.map +1 -0
  466. package/dist/webcomponents/p-37837c94.entry.js +144 -0
  467. package/dist/webcomponents/p-37837c94.entry.js.map +1 -0
  468. package/dist/webcomponents/p-3a508420.system.entry.js +425 -0
  469. package/dist/webcomponents/p-3a508420.system.entry.js.map +1 -0
  470. package/dist/webcomponents/p-3f0965c1.entry.js +168 -0
  471. package/dist/webcomponents/p-3f0965c1.entry.js.map +1 -0
  472. package/dist/webcomponents/p-4c5b3ba6.entry.js +254 -0
  473. package/dist/webcomponents/p-4c5b3ba6.entry.js.map +1 -0
  474. package/dist/webcomponents/p-5417fc76.system.entry.js +121 -0
  475. package/dist/webcomponents/p-5417fc76.system.entry.js.map +1 -0
  476. package/dist/webcomponents/p-55be3a1b.entry.js +87 -0
  477. package/dist/webcomponents/p-55be3a1b.entry.js.map +1 -0
  478. package/dist/webcomponents/p-58c537dc.system.entry.js +155 -0
  479. package/dist/webcomponents/p-58c537dc.system.entry.js.map +1 -0
  480. package/dist/webcomponents/p-5e68b68a.system.entry.js +515 -0
  481. package/dist/webcomponents/p-5e68b68a.system.entry.js.map +1 -0
  482. package/dist/webcomponents/p-64088f4f.entry.js +398 -0
  483. package/dist/webcomponents/p-64088f4f.entry.js.map +1 -0
  484. package/dist/webcomponents/p-689dffab.entry.js +257 -0
  485. package/dist/webcomponents/p-689dffab.entry.js.map +1 -0
  486. package/dist/webcomponents/p-6b505a38.system.entry.js +293 -0
  487. package/dist/webcomponents/p-6b505a38.system.entry.js.map +1 -0
  488. package/dist/webcomponents/p-6e166dac.entry.js +166 -0
  489. package/dist/webcomponents/p-6e166dac.entry.js.map +1 -0
  490. package/dist/webcomponents/p-703d9fdd.entry.js +209 -0
  491. package/dist/webcomponents/p-703d9fdd.entry.js.map +1 -0
  492. package/dist/webcomponents/p-70b7a2e1.system.entry.js +93 -0
  493. package/dist/webcomponents/p-70b7a2e1.system.entry.js.map +1 -0
  494. package/dist/webcomponents/p-817f83ec.entry.js +148 -0
  495. package/dist/webcomponents/p-817f83ec.entry.js.map +1 -0
  496. package/dist/webcomponents/p-8326e9aa.entry.js +110 -0
  497. package/dist/webcomponents/p-8326e9aa.entry.js.map +1 -0
  498. package/dist/webcomponents/p-91c947d6.entry.js +152 -0
  499. package/dist/webcomponents/p-91c947d6.entry.js.map +1 -0
  500. package/dist/webcomponents/p-9e243fa3.entry.js +2361 -0
  501. package/dist/webcomponents/p-9e243fa3.entry.js.map +1 -0
  502. package/dist/webcomponents/p-B5mVBvvI.system.js.map +1 -0
  503. package/dist/webcomponents/p-B90gByRD.system.js.map +1 -0
  504. package/dist/webcomponents/p-BNl1VeC2.system.js.map +1 -0
  505. package/dist/webcomponents/p-BeMhoFbq.system.js.map +1 -0
  506. package/dist/webcomponents/p-Bhwl8CRi.system.js +433 -0
  507. package/dist/webcomponents/p-Bhwl8CRi.system.js.map +1 -0
  508. package/dist/webcomponents/p-BmSBn_cM.system.js +14 -0
  509. package/dist/webcomponents/p-BmSBn_cM.system.js.map +1 -0
  510. package/dist/webcomponents/p-BmgwYwlE.js +8 -0
  511. package/dist/webcomponents/p-BmgwYwlE.js.map +1 -0
  512. package/dist/webcomponents/p-BqvdZkL7.system.js.map +1 -0
  513. package/dist/webcomponents/p-CAyrQrUt.js +2265 -0
  514. package/dist/webcomponents/p-CAyrQrUt.js.map +1 -0
  515. package/dist/webcomponents/p-CMdFJ4qj.system.js +2512 -0
  516. package/dist/webcomponents/p-CMdFJ4qj.system.js.map +1 -0
  517. package/dist/webcomponents/p-C_4ySWyP.system.js.map +1 -0
  518. package/dist/webcomponents/p-Ct3ex90V.system.js.map +1 -0
  519. package/dist/webcomponents/p-D86s8ueb.system.js.map +1 -0
  520. package/dist/webcomponents/p-DFVDihQu.system.js.map +1 -0
  521. package/dist/webcomponents/p-Dde15d6z.system.js.map +1 -0
  522. package/dist/webcomponents/p-IsnpLreB.system.js +12 -0
  523. package/dist/webcomponents/p-IsnpLreB.system.js.map +1 -0
  524. package/dist/webcomponents/p-MDfQKKJ3.system.js.map +1 -0
  525. package/dist/webcomponents/p-YAlbMep3.system.js.map +1 -0
  526. package/dist/webcomponents/p-be24a356.entry.js +357 -0
  527. package/dist/webcomponents/p-be24a356.entry.js.map +1 -0
  528. package/dist/webcomponents/p-c17f8737.entry.js +104 -0
  529. package/dist/webcomponents/p-c17f8737.entry.js.map +1 -0
  530. package/dist/webcomponents/p-c50854a2.system.entry.js +151 -0
  531. package/dist/webcomponents/p-c50854a2.system.entry.js.map +1 -0
  532. package/dist/webcomponents/p-c51e88c5.system.entry.js +280 -0
  533. package/dist/webcomponents/p-c51e88c5.system.entry.js.map +1 -0
  534. package/dist/webcomponents/p-cc4c57d8.entry.js +144 -0
  535. package/dist/webcomponents/p-cc4c57d8.entry.js.map +1 -0
  536. package/dist/webcomponents/p-d335142c.entry.js +467 -0
  537. package/dist/webcomponents/p-d335142c.entry.js.map +1 -0
  538. package/dist/webcomponents/p-da852ece.system.entry.js +278 -0
  539. package/dist/webcomponents/p-da852ece.system.entry.js.map +1 -0
  540. package/dist/webcomponents/p-daf44e2e.system.entry.js +116 -0
  541. package/dist/webcomponents/p-daf44e2e.system.entry.js.map +1 -0
  542. package/dist/webcomponents/p-de7e8ab8.entry.js +163 -0
  543. package/dist/webcomponents/p-de7e8ab8.entry.js.map +1 -0
  544. package/dist/webcomponents/p-df5400e2.entry.js +140 -0
  545. package/dist/webcomponents/p-df5400e2.entry.js.map +1 -0
  546. package/dist/webcomponents/p-dwDliNFd.system.js.map +1 -0
  547. package/dist/webcomponents/p-fa6f51fa.system.entry.js +251 -0
  548. package/dist/webcomponents/p-fa6f51fa.system.entry.js.map +1 -0
  549. package/dist/webcomponents/p-fcb2845b.system.entry.js +2386 -0
  550. package/dist/webcomponents/p-fcb2845b.system.entry.js.map +1 -0
  551. package/dist/webcomponents/p-mh9IZoxC.system.js.map +1 -0
  552. package/dist/webcomponents/p-s9klvrRa.system.js.map +1 -0
  553. package/dist/webcomponents/p-thasv5yZ.system.js.map +1 -0
  554. package/dist/webcomponents/p-usq43hTj.system.js.map +1 -0
  555. package/dist/webcomponents/p-wytm5zt0.system.js.map +1 -0
  556. package/dist/webcomponents/webcomponents.esm.js +295 -0
  557. package/dist/webcomponents/webcomponents.esm.js.map +1 -0
  558. package/dist/webcomponents/webcomponents.js +127 -0
  559. package/package.json +1 -1
  560. /package/{README.md → dist/README.md} +0 -0
@@ -0,0 +1,2265 @@
1
+ /*!
2
+ * Construído com @govbr-ds/webcomponents
3
+ */
4
+ const e = "webcomponents";
5
+
6
+ const t = /* webcomponents */ {
7
+ hydratedSelectorName: "hydrated",
8
+ lazyLoad: true,
9
+ updatable: true
10
+ };
11
+
12
+ /*
13
+ Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
14
+ */ var n = Object.defineProperty;
15
+
16
+ var __export = (e, t) => {
17
+ for (var i in t) n(e, i, {
18
+ get: t[i],
19
+ enumerable: true
20
+ });
21
+ };
22
+
23
+ // src/utils/es2022-rewire-class-members.ts
24
+ var reWireGetterSetter = (e, t) => {
25
+ var n;
26
+ const i = t._$$cmpMeta$$_;
27
+ const o = Object.entries((n = i._$$members$$_) != null ? n : {});
28
+ o.map((([n, [i]]) => {
29
+ if (i & 31 /* Prop */ || i & 32 /* State */) {
30
+ const i = e[n];
31
+ const o = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), n);
32
+ Object.defineProperty(e, n, {
33
+ get() {
34
+ return o.get.call(this);
35
+ },
36
+ set(e) {
37
+ o.set.call(this, e);
38
+ },
39
+ configurable: true,
40
+ enumerable: true
41
+ });
42
+ e[n] = t._$$instanceValues$$_.has(n) ? t._$$instanceValues$$_.get(n) : i;
43
+ }
44
+ }));
45
+ };
46
+
47
+ // src/client/client-host-ref.ts
48
+ var getHostRef = e => {
49
+ if (e.__stencil__getHostRef) {
50
+ return e.__stencil__getHostRef();
51
+ }
52
+ return void 0;
53
+ };
54
+
55
+ var registerInstance = (e, t) => {
56
+ e.__stencil__getHostRef = () => t;
57
+ t._$$lazyInstance$$_ = e;
58
+ {
59
+ reWireGetterSetter(e, t);
60
+ }
61
+ };
62
+
63
+ var registerHost = (e, t) => {
64
+ const n = {
65
+ _$$flags$$_: 0,
66
+ $hostElement$: e,
67
+ _$$cmpMeta$$_: t,
68
+ _$$instanceValues$$_: new Map
69
+ };
70
+ {
71
+ n._$$onInstancePromise$$_ = new Promise((e => n._$$onInstanceResolve$$_ = e));
72
+ }
73
+ {
74
+ n._$$onReadyPromise$$_ = new Promise((e => n._$$onReadyResolve$$_ = e));
75
+ e["s-p"] = [];
76
+ e["s-rc"] = [];
77
+ }
78
+ const i = n;
79
+ e.__stencil__getHostRef = () => i;
80
+ return i;
81
+ };
82
+
83
+ var isMemberInElement = (e, t) => t in e;
84
+
85
+ var consoleError = (e, t) => (0, console.error)(e, t)
86
+ // src/client/client-load-module.ts
87
+ ;
88
+
89
+ var i = new Map;
90
+
91
+ var loadModule = (e, t, n) => {
92
+ const o = e._$$tagName$$_.replace(/-/g, "_");
93
+ const r = e._$$lazyBundleId$$_;
94
+ if (!r) {
95
+ return void 0;
96
+ }
97
+ const l = i.get(r);
98
+ if (l) {
99
+ return l[o];
100
+ }
101
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/ return import(
102
+ /* @vite-ignore */
103
+ /* webpackInclude: /\.entry\.js$/ */
104
+ /* webpackExclude: /\.system\.entry\.js$/ */
105
+ /* webpackMode: "lazy" */
106
+ `./${r}.entry.js${""}`).then((e => {
107
+ {
108
+ i.set(r, e);
109
+ }
110
+ return e[o];
111
+ }), (e => {
112
+ consoleError(e, t.$hostElement$);
113
+ }));
114
+ };
115
+
116
+ // src/client/client-style.ts
117
+ var o = new Map;
118
+
119
+ // src/runtime/runtime-constants.ts
120
+ var r = "r";
121
+
122
+ var l = "o";
123
+
124
+ var s = "s";
125
+
126
+ var f = "t";
127
+
128
+ var a = "c";
129
+
130
+ var c = "s-id";
131
+
132
+ var u = "sty-id";
133
+
134
+ var v = "c-id";
135
+
136
+ var d = "{visibility:hidden}.hydrated{visibility:inherit}";
137
+
138
+ var p = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
139
+
140
+ var m = "http://www.w3.org/1999/xlink";
141
+
142
+ var $ = [ "formAssociatedCallback", "formResetCallback", "formDisabledCallback", "formStateRestoreCallback" ];
143
+
144
+ var b = typeof window !== "undefined" ? window : {};
145
+
146
+ var y = b.HTMLElement || class {};
147
+
148
+ var g = {
149
+ _$$flags$$_: 0,
150
+ _$$resourcesUrl$$_: "",
151
+ jmp: e => e(),
152
+ raf: e => requestAnimationFrame(e),
153
+ ael: (e, t, n, i) => e.addEventListener(t, n, i),
154
+ rel: (e, t, n, i) => e.removeEventListener(t, n, i),
155
+ ce: (e, t) => new CustomEvent(e, t)
156
+ };
157
+
158
+ var w = (() => {
159
+ var e;
160
+ let t = false;
161
+ try {
162
+ (e = b.document) == null ? void 0 : e.addEventListener("e", null, Object.defineProperty({}, "passive", {
163
+ get() {
164
+ t = true;
165
+ }
166
+ }));
167
+ } catch (e) {}
168
+ return t;
169
+ })();
170
+
171
+ var promiseResolve = e => Promise.resolve(e);
172
+
173
+ var S = (() => {
174
+ try {
175
+ new CSSStyleSheet;
176
+ return typeof (new CSSStyleSheet).replaceSync === "function";
177
+ } catch (e) {}
178
+ return false;
179
+ })();
180
+
181
+ var O = false;
182
+
183
+ var j = [];
184
+
185
+ var C = [];
186
+
187
+ var queueTask = (e, t) => n => {
188
+ e.push(n);
189
+ if (!O) {
190
+ O = true;
191
+ if (t && g._$$flags$$_ & 4 /* queueSync */) {
192
+ nextTick(flush);
193
+ } else {
194
+ g.raf(flush);
195
+ }
196
+ }
197
+ };
198
+
199
+ var consume = e => {
200
+ for (let t = 0; t < e.length; t++) {
201
+ try {
202
+ e[t](performance.now());
203
+ } catch (e) {
204
+ consoleError(e);
205
+ }
206
+ }
207
+ e.length = 0;
208
+ };
209
+
210
+ var flush = () => {
211
+ consume(j);
212
+ {
213
+ consume(C);
214
+ if (O = j.length > 0) {
215
+ g.raf(flush);
216
+ }
217
+ }
218
+ };
219
+
220
+ var nextTick = e => promiseResolve().then(e);
221
+
222
+ var N = queueTask(C, true);
223
+
224
+ var isComplexType = e => {
225
+ e = typeof e;
226
+ return e === "object" || e === "function";
227
+ };
228
+
229
+ // src/utils/query-nonce-meta-tag-content.ts
230
+ function queryNonceMetaTagContent(e) {
231
+ var t, n, i;
232
+ return (i = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? i : void 0;
233
+ }
234
+
235
+ // src/utils/result.ts
236
+ var k = {};
237
+
238
+ __export(k, {
239
+ err: () => err,
240
+ map: () => map,
241
+ ok: () => ok,
242
+ unwrap: () => unwrap,
243
+ unwrapErr: () => unwrapErr
244
+ });
245
+
246
+ var ok = e => ({
247
+ isOk: true,
248
+ isErr: false,
249
+ value: e
250
+ });
251
+
252
+ var err = e => ({
253
+ isOk: false,
254
+ isErr: true,
255
+ value: e
256
+ });
257
+
258
+ function map(e, t) {
259
+ if (e.isOk) {
260
+ const n = t(e.value);
261
+ if (n instanceof Promise) {
262
+ return n.then((e => ok(e)));
263
+ } else {
264
+ return ok(n);
265
+ }
266
+ }
267
+ if (e.isErr) {
268
+ const t = e.value;
269
+ return err(t);
270
+ }
271
+ throw "should never get here";
272
+ }
273
+
274
+ var unwrap = e => {
275
+ if (e.isOk) {
276
+ return e.value;
277
+ } else {
278
+ throw e.value;
279
+ }
280
+ };
281
+
282
+ var unwrapErr = e => {
283
+ if (e.isErr) {
284
+ return e.value;
285
+ } else {
286
+ throw e.value;
287
+ }
288
+ };
289
+
290
+ var getSlottedChildNodes = e => {
291
+ const t = [];
292
+ for (let n = 0; n < e.length; n++) {
293
+ const i = e[n]["s-nr"] || void 0;
294
+ if (i && i.isConnected) {
295
+ t.push(i);
296
+ }
297
+ }
298
+ return t;
299
+ };
300
+
301
+ function getHostSlotNodes(e, t, n) {
302
+ let i = 0;
303
+ let o = [];
304
+ let r;
305
+ for (;i < e.length; i++) {
306
+ r = e[i];
307
+ if (r["s-sr"] && (!t || r["s-hn"] === t) && (n === void 0 || getSlotName(r) === n)) {
308
+ o.push(r);
309
+ if (typeof n !== "undefined") return o;
310
+ }
311
+ o = [ ...o, ...getHostSlotNodes(r.childNodes, t, n) ];
312
+ }
313
+ return o;
314
+ }
315
+
316
+ var addSlotRelocateNode = (e, t, n, i) => {
317
+ if (e["s-ol"] && e["s-ol"].isConnected) {
318
+ return;
319
+ }
320
+ const o = document.createTextNode("");
321
+ o["s-nr"] = e;
322
+ if (!t["s-cr"] || !t["s-cr"].parentNode) return;
323
+ const r = t["s-cr"].parentNode;
324
+ const l = internalCall(r, "appendChild");
325
+ if (typeof i !== "undefined") {
326
+ o["s-oo"] = i;
327
+ const e = internalCall(r, "childNodes");
328
+ const t = [ o ];
329
+ e.forEach((e => {
330
+ if (e["s-nr"]) t.push(e);
331
+ }));
332
+ t.sort(((e, t) => {
333
+ if (!e["s-oo"] || e["s-oo"] < (t["s-oo"] || 0)) return -1; else if (!t["s-oo"] || t["s-oo"] < e["s-oo"]) return 1;
334
+ return 0;
335
+ }));
336
+ t.forEach((e => l.call(r, e)));
337
+ } else {
338
+ l.call(r, o);
339
+ }
340
+ e["s-ol"] = o;
341
+ e["s-sh"] = t["s-hn"];
342
+ };
343
+
344
+ var getSlotName = e => typeof e["s-sn"] === "string" ? e["s-sn"] : e.nodeType === 1 && e.getAttribute("slot") || void 0;
345
+
346
+ function patchSlotNode(e) {
347
+ if (e.assignedElements || e.assignedNodes || !e["s-sr"]) return;
348
+ const assignedFactory = t => function(e) {
349
+ const n = [];
350
+ const i = this["s-sn"];
351
+ if (e == null ? void 0 : e.flatten) {
352
+ console.error(`\n Flattening is not supported for Stencil non-shadow slots. \n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `);
353
+ }
354
+ const o = this["s-cr"].parentElement;
355
+ const r = o.__childNodes ? o.childNodes : getSlottedChildNodes(o.childNodes);
356
+ r.forEach((e => {
357
+ if (i === getSlotName(e)) {
358
+ n.push(e);
359
+ }
360
+ }));
361
+ if (t) {
362
+ return n.filter((e => e.nodeType === 1 /* ElementNode */));
363
+ }
364
+ return n;
365
+ }.bind(e);
366
+ e.assignedElements = assignedFactory(true);
367
+ e.assignedNodes = assignedFactory(false);
368
+ }
369
+
370
+ function dispatchSlotChangeEvent(e) {
371
+ e.dispatchEvent(new CustomEvent("slotchange", {
372
+ bubbles: false,
373
+ cancelable: false,
374
+ composed: false
375
+ }));
376
+ }
377
+
378
+ function findSlotFromSlottedNode(e, t) {
379
+ var n;
380
+ t = t || ((n = e["s-ol"]) == null ? void 0 : n.parentElement);
381
+ if (!t) return {
382
+ slotNode: null,
383
+ slotName: ""
384
+ };
385
+ const i = e["s-sn"] = getSlotName(e) || "";
386
+ const o = internalCall(t, "childNodes");
387
+ const r = getHostSlotNodes(o, t.tagName, i)[0];
388
+ return {
389
+ slotNode: r,
390
+ slotName: i
391
+ };
392
+ }
393
+
394
+ var patchSlottedNode = e => {
395
+ if (!e || e.__nextSibling !== void 0 || !globalThis.Node) return;
396
+ patchNextSibling(e);
397
+ patchPreviousSibling(e);
398
+ patchParentNode(e);
399
+ if (e.nodeType === Node.ELEMENT_NODE) {
400
+ patchNextElementSibling(e);
401
+ patchPreviousElementSibling(e);
402
+ }
403
+ };
404
+
405
+ var patchNextSibling = e => {
406
+ if (!e || e.__nextSibling) return;
407
+ patchHostOriginalAccessor("nextSibling", e);
408
+ Object.defineProperty(e, "nextSibling", {
409
+ get: function() {
410
+ var e;
411
+ const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.childNodes;
412
+ const n = t == null ? void 0 : t.indexOf(this);
413
+ if (t && n > -1) {
414
+ return t[n + 1];
415
+ }
416
+ return this.__nextSibling;
417
+ }
418
+ });
419
+ };
420
+
421
+ var patchNextElementSibling = e => {
422
+ if (!e || e.__nextElementSibling) return;
423
+ patchHostOriginalAccessor("nextElementSibling", e);
424
+ Object.defineProperty(e, "nextElementSibling", {
425
+ get: function() {
426
+ var e;
427
+ const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.children;
428
+ const n = t == null ? void 0 : t.indexOf(this);
429
+ if (t && n > -1) {
430
+ return t[n + 1];
431
+ }
432
+ return this.__nextElementSibling;
433
+ }
434
+ });
435
+ };
436
+
437
+ var patchPreviousSibling = e => {
438
+ if (!e || e.__previousSibling) return;
439
+ patchHostOriginalAccessor("previousSibling", e);
440
+ Object.defineProperty(e, "previousSibling", {
441
+ get: function() {
442
+ var e;
443
+ const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.childNodes;
444
+ const n = t == null ? void 0 : t.indexOf(this);
445
+ if (t && n > -1) {
446
+ return t[n - 1];
447
+ }
448
+ return this.__previousSibling;
449
+ }
450
+ });
451
+ };
452
+
453
+ var patchPreviousElementSibling = e => {
454
+ if (!e || e.__previousElementSibling) return;
455
+ patchHostOriginalAccessor("previousElementSibling", e);
456
+ Object.defineProperty(e, "previousElementSibling", {
457
+ get: function() {
458
+ var e;
459
+ const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.children;
460
+ const n = t == null ? void 0 : t.indexOf(this);
461
+ if (t && n > -1) {
462
+ return t[n - 1];
463
+ }
464
+ return this.__previousElementSibling;
465
+ }
466
+ });
467
+ };
468
+
469
+ var patchParentNode = e => {
470
+ if (!e || e.__parentNode) return;
471
+ patchHostOriginalAccessor("parentNode", e);
472
+ Object.defineProperty(e, "parentNode", {
473
+ get: function() {
474
+ var e;
475
+ return ((e = this["s-ol"]) == null ? void 0 : e.parentNode) || this.__parentNode;
476
+ },
477
+ set: function(e) {
478
+ this.__parentNode = e;
479
+ }
480
+ });
481
+ };
482
+
483
+ var E = [ "children", "nextElementSibling", "previousElementSibling" ];
484
+
485
+ var x = [ "childNodes", "firstChild", "lastChild", "nextSibling", "previousSibling", "textContent", "parentNode" ];
486
+
487
+ function patchHostOriginalAccessor(e, t) {
488
+ let n;
489
+ if (E.includes(e)) {
490
+ n = Object.getOwnPropertyDescriptor(Element.prototype, e);
491
+ } else if (x.includes(e)) {
492
+ n = Object.getOwnPropertyDescriptor(Node.prototype, e);
493
+ }
494
+ if (!n) {
495
+ n = Object.getOwnPropertyDescriptor(t, e);
496
+ }
497
+ if (n) Object.defineProperty(t, "__" + e, n);
498
+ }
499
+
500
+ function internalCall(e, t) {
501
+ if ("__" + t in e) {
502
+ const n = e["__" + t];
503
+ if (typeof n !== "function") return n;
504
+ return n.bind(e);
505
+ } else {
506
+ if (typeof e[t] !== "function") return e[t];
507
+ return e[t].bind(e);
508
+ }
509
+ }
510
+
511
+ var createTime = (e, t = "") => {
512
+ {
513
+ return () => {};
514
+ }
515
+ };
516
+
517
+ var uniqueTime = (e, t) => {
518
+ {
519
+ return () => {};
520
+ }
521
+ };
522
+
523
+ var h = (e, t, ...n) => {
524
+ let i = null;
525
+ let o = null;
526
+ let r = false;
527
+ let l = false;
528
+ const s = [];
529
+ const walk = t => {
530
+ for (let n = 0; n < t.length; n++) {
531
+ i = t[n];
532
+ if (Array.isArray(i)) {
533
+ walk(i);
534
+ } else if (i != null && typeof i !== "boolean") {
535
+ if (r = typeof e !== "function" && !isComplexType(i)) {
536
+ i = String(i);
537
+ }
538
+ if (r && l) {
539
+ s[s.length - 1]._$$text$$_ += i;
540
+ } else {
541
+ s.push(r ? newVNode(null, i) : i);
542
+ }
543
+ l = r;
544
+ }
545
+ }
546
+ };
547
+ walk(n);
548
+ if (t) {
549
+ if (t.key) {
550
+ o = t.key;
551
+ }
552
+ {
553
+ const e = t.className || t.class;
554
+ if (e) {
555
+ t.class = typeof e !== "object" ? e : Object.keys(e).filter((t => e[t])).join(" ");
556
+ }
557
+ }
558
+ }
559
+ if (typeof e === "function") {
560
+ return e(t === null ? {} : t, s, M);
561
+ }
562
+ const f = newVNode(e, null);
563
+ f._$$attrs$$_ = t;
564
+ if (s.length > 0) {
565
+ f._$$children$$_ = s;
566
+ }
567
+ {
568
+ f._$$key$$_ = o;
569
+ }
570
+ return f;
571
+ };
572
+
573
+ var newVNode = (e, t) => {
574
+ const n = {
575
+ _$$flags$$_: 0,
576
+ _$$tag$$_: e,
577
+ _$$text$$_: t,
578
+ _$$elm$$_: null,
579
+ _$$children$$_: null
580
+ };
581
+ {
582
+ n._$$attrs$$_ = null;
583
+ }
584
+ {
585
+ n._$$key$$_ = null;
586
+ }
587
+ return n;
588
+ };
589
+
590
+ var A = {};
591
+
592
+ var isHost = e => e && e._$$tag$$_ === A;
593
+
594
+ var M = {
595
+ forEach: (e, t) => e.map(convertToPublic).forEach(t),
596
+ map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
597
+ };
598
+
599
+ var convertToPublic = e => ({
600
+ vattrs: e._$$attrs$$_,
601
+ vchildren: e._$$children$$_,
602
+ vkey: e._$$key$$_,
603
+ vname: e._$$name$$_,
604
+ vtag: e._$$tag$$_,
605
+ vtext: e._$$text$$_
606
+ });
607
+
608
+ var convertToPrivate = e => {
609
+ if (typeof e.vtag === "function") {
610
+ const t = {
611
+ ...e.vattrs
612
+ };
613
+ if (e.vkey) {
614
+ t.key = e.vkey;
615
+ }
616
+ if (e.vname) {
617
+ t.name = e.vname;
618
+ }
619
+ return h(e.vtag, t, ...e.vchildren || []);
620
+ }
621
+ const t = newVNode(e.vtag, e.vtext);
622
+ t._$$attrs$$_ = e.vattrs;
623
+ t._$$children$$_ = e.vchildren;
624
+ t._$$key$$_ = e.vkey;
625
+ t._$$name$$_ = e.vname;
626
+ return t;
627
+ };
628
+
629
+ // src/runtime/client-hydrate.ts
630
+ var initializeClientHydrate = (e, t, n, i) => {
631
+ const o = createTime("hydrateClient", t);
632
+ const r = e.shadowRoot;
633
+ const l = [];
634
+ const s = [];
635
+ const f = [];
636
+ const a = r ? [] : null;
637
+ const u = newVNode(t, null);
638
+ u._$$elm$$_ = e;
639
+ if (b.document && (!g._$$orgLocNodes$$_ || !g._$$orgLocNodes$$_.size)) {
640
+ initializeDocumentHydrate(b.document.body, g._$$orgLocNodes$$_ = new Map);
641
+ }
642
+ e[c] = n;
643
+ e.removeAttribute(c);
644
+ i._$$vnode$$_ = clientHydrate(u, l, s, a, e, e, n, f);
645
+ let v = 0;
646
+ const d = l.length;
647
+ let p;
648
+ for (v; v < d; v++) {
649
+ p = l[v];
650
+ const n = p._$$hostId$$_ + "." + p._$$nodeId$$_;
651
+ const i = g._$$orgLocNodes$$_.get(n);
652
+ const o = p._$$elm$$_;
653
+ if (!r) {
654
+ o["s-hn"] = t.toUpperCase();
655
+ if (p._$$tag$$_ === "slot") {
656
+ o["s-cr"] = e["s-cr"];
657
+ }
658
+ }
659
+ if (p._$$tag$$_ === "slot") {
660
+ p._$$name$$_ = p._$$elm$$_["s-sn"] || p._$$elm$$_["name"] || null;
661
+ if (p._$$children$$_) {
662
+ p._$$flags$$_ |= 2 /* isSlotFallback */;
663
+ if (!p._$$elm$$_.childNodes.length) {
664
+ p._$$children$$_.forEach((e => {
665
+ p._$$elm$$_.appendChild(e._$$elm$$_);
666
+ }));
667
+ }
668
+ } else {
669
+ p._$$flags$$_ |= 1 /* isSlotReference */;
670
+ }
671
+ }
672
+ if (i && i.isConnected) {
673
+ if (r && i["s-en"] === "") {
674
+ i.parentNode.insertBefore(o, i.nextSibling);
675
+ }
676
+ i.parentNode.removeChild(i);
677
+ if (!r) {
678
+ o["s-oo"] = parseInt(p._$$nodeId$$_);
679
+ }
680
+ }
681
+ g._$$orgLocNodes$$_.delete(n);
682
+ }
683
+ const m = [];
684
+ const $ = f.length;
685
+ let y = 0;
686
+ let w;
687
+ let S;
688
+ let O;
689
+ let j;
690
+ for (y; y < $; y++) {
691
+ w = f[y];
692
+ if (!w || !w.length) continue;
693
+ O = w.length;
694
+ S = 0;
695
+ for (S; S < O; S++) {
696
+ j = w[S];
697
+ if (!m[j.hostId]) {
698
+ m[j.hostId] = g._$$orgLocNodes$$_.get(j.hostId);
699
+ }
700
+ if (!m[j.hostId]) continue;
701
+ const e = m[j.hostId];
702
+ if (!e.shadowRoot || !r) {
703
+ j.slot["s-cr"] = e["s-cr"];
704
+ if (!j.slot["s-cr"] && e.shadowRoot) {
705
+ j.slot["s-cr"] = e;
706
+ } else {
707
+ j.slot["s-cr"] = (e.__childNodes || e.childNodes)[0];
708
+ }
709
+ addSlotRelocateNode(j.node, j.slot, false, j.node["s-oo"]);
710
+ {
711
+ patchSlottedNode(j.node);
712
+ }
713
+ }
714
+ if (e.shadowRoot && j.node.parentElement !== e) {
715
+ e.appendChild(j.node);
716
+ }
717
+ }
718
+ }
719
+ if (r && !r.childNodes.length) {
720
+ let t = 0;
721
+ const n = a.length;
722
+ if (n) {
723
+ for (t; t < n; t++) {
724
+ r.appendChild(a[t]);
725
+ }
726
+ Array.from(e.childNodes).forEach((e => {
727
+ if (typeof e["s-sn"] !== "string") {
728
+ if (e.nodeType === 1 /* ElementNode */ && e.slot && e.hidden) {
729
+ e.removeAttribute("hidden");
730
+ } else if (e.nodeType === 8 /* CommentNode */ || e.nodeType === 3 /* TextNode */ && !e.wholeText.trim()) {
731
+ e.parentNode.removeChild(e);
732
+ }
733
+ }
734
+ }));
735
+ }
736
+ }
737
+ g._$$orgLocNodes$$_.delete(e["s-id"]);
738
+ i.$hostElement$ = e;
739
+ o();
740
+ };
741
+
742
+ var clientHydrate = (e, t, n, i, o, l, c, u = []) => {
743
+ let d;
744
+ let p;
745
+ let m;
746
+ let $;
747
+ if (l.nodeType === 1 /* ElementNode */) {
748
+ d = l.getAttribute(v);
749
+ if (d) {
750
+ p = d.split(".");
751
+ if (p[0] === c || p[0] === "0") {
752
+ m = createSimpleVNode({
753
+ _$$flags$$_: 0,
754
+ _$$hostId$$_: p[0],
755
+ _$$nodeId$$_: p[1],
756
+ _$$depth$$_: p[2],
757
+ _$$index$$_: p[3],
758
+ _$$tag$$_: l.tagName.toLowerCase(),
759
+ _$$elm$$_: l,
760
+ // If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
761
+ // won't try to reconcile them. Classes set on the node will be blown away.
762
+ _$$attrs$$_: {
763
+ class: l.className || ""
764
+ }
765
+ });
766
+ t.push(m);
767
+ l.removeAttribute(v);
768
+ if (!e._$$children$$_) {
769
+ e._$$children$$_ = [];
770
+ }
771
+ const o = m._$$elm$$_.getAttribute("s-sn");
772
+ if (typeof o === "string") {
773
+ if (m._$$tag$$_ === "slot-fb") {
774
+ addSlot(o, p[2], m, l, e, t, n, i, u);
775
+ }
776
+ m._$$elm$$_["s-sn"] = o;
777
+ m._$$elm$$_.removeAttribute("s-sn");
778
+ }
779
+ if (m._$$index$$_ !== void 0) {
780
+ e._$$children$$_[m._$$index$$_] = m;
781
+ }
782
+ e = m;
783
+ if (i && m._$$depth$$_ === "0") {
784
+ i[m._$$index$$_] = m._$$elm$$_;
785
+ }
786
+ }
787
+ }
788
+ if (l.shadowRoot) {
789
+ for ($ = l.shadowRoot.childNodes.length - 1; $ >= 0; $--) {
790
+ clientHydrate(e, t, n, i, o, l.shadowRoot.childNodes[$], c, u);
791
+ }
792
+ }
793
+ const r = l.__childNodes || l.childNodes;
794
+ for ($ = r.length - 1; $ >= 0; $--) {
795
+ clientHydrate(e, t, n, i, o, r[$], c, u);
796
+ }
797
+ } else if (l.nodeType === 8 /* CommentNode */) {
798
+ p = l.nodeValue.split(".");
799
+ if (p[1] === c || p[1] === "0") {
800
+ d = p[0];
801
+ m = createSimpleVNode({
802
+ _$$hostId$$_: p[1],
803
+ _$$nodeId$$_: p[2],
804
+ _$$depth$$_: p[3],
805
+ _$$index$$_: p[4] || "0",
806
+ _$$elm$$_: l,
807
+ _$$attrs$$_: null,
808
+ _$$children$$_: null,
809
+ _$$key$$_: null,
810
+ _$$name$$_: null,
811
+ _$$tag$$_: null,
812
+ _$$text$$_: null
813
+ });
814
+ if (d === f) {
815
+ m._$$elm$$_ = findCorrespondingNode(l, 3 /* TextNode */);
816
+ if (m._$$elm$$_ && m._$$elm$$_.nodeType === 3 /* TextNode */) {
817
+ m._$$text$$_ = m._$$elm$$_.textContent;
818
+ t.push(m);
819
+ l.remove();
820
+ if (c === m._$$hostId$$_) {
821
+ if (!e._$$children$$_) {
822
+ e._$$children$$_ = [];
823
+ }
824
+ e._$$children$$_[m._$$index$$_] = m;
825
+ }
826
+ if (i && m._$$depth$$_ === "0") {
827
+ i[m._$$index$$_] = m._$$elm$$_;
828
+ }
829
+ }
830
+ } else if (d === a) {
831
+ m._$$elm$$_ = findCorrespondingNode(l, 8 /* CommentNode */);
832
+ if (m._$$elm$$_ && m._$$elm$$_.nodeType === 8 /* CommentNode */) {
833
+ t.push(m);
834
+ l.remove();
835
+ }
836
+ } else if (m._$$hostId$$_ === c) {
837
+ if (d === s) {
838
+ const o = l["s-sn"] = p[5] || "";
839
+ addSlot(o, p[2], m, l, e, t, n, i, u);
840
+ } else if (d === r) {
841
+ if (i) {
842
+ l.remove();
843
+ }
844
+ }
845
+ }
846
+ }
847
+ } else if (e && e._$$tag$$_ === "style") {
848
+ const t = newVNode(null, l.textContent);
849
+ t._$$elm$$_ = l;
850
+ t._$$index$$_ = "0";
851
+ e._$$children$$_ = [ t ];
852
+ } else {
853
+ if (l.nodeType === 3 /* TextNode */ && !l.wholeText.trim()) {
854
+ l.remove();
855
+ }
856
+ }
857
+ return e;
858
+ };
859
+
860
+ var initializeDocumentHydrate = (e, t) => {
861
+ if (e.nodeType === 1 /* ElementNode */) {
862
+ const n = e[c] || e.getAttribute(c);
863
+ if (n) {
864
+ t.set(n, e);
865
+ }
866
+ let i = 0;
867
+ if (e.shadowRoot) {
868
+ for (;i < e.shadowRoot.childNodes.length; i++) {
869
+ initializeDocumentHydrate(e.shadowRoot.childNodes[i], t);
870
+ }
871
+ }
872
+ const o = e.__childNodes || e.childNodes;
873
+ for (i = 0; i < o.length; i++) {
874
+ initializeDocumentHydrate(o[i], t);
875
+ }
876
+ } else if (e.nodeType === 8 /* CommentNode */) {
877
+ const n = e.nodeValue.split(".");
878
+ if (n[0] === l) {
879
+ t.set(n[1] + "." + n[2], e);
880
+ e.nodeValue = "";
881
+ e["s-en"] = n[3];
882
+ }
883
+ }
884
+ };
885
+
886
+ var createSimpleVNode = e => {
887
+ const t = {
888
+ _$$flags$$_: 0,
889
+ _$$hostId$$_: null,
890
+ _$$nodeId$$_: null,
891
+ _$$depth$$_: null,
892
+ _$$index$$_: "0",
893
+ _$$elm$$_: null,
894
+ _$$attrs$$_: null,
895
+ _$$children$$_: null,
896
+ _$$key$$_: null,
897
+ _$$name$$_: null,
898
+ _$$tag$$_: null,
899
+ _$$text$$_: null
900
+ };
901
+ return {
902
+ ...t,
903
+ ...e
904
+ };
905
+ };
906
+
907
+ function addSlot(e, t, n, i, o, r, l, s, f) {
908
+ i["s-sr"] = true;
909
+ n._$$name$$_ = e || null;
910
+ n._$$tag$$_ = "slot";
911
+ const a = (o == null ? void 0 : o._$$elm$$_) ? o._$$elm$$_["s-id"] || o._$$elm$$_.getAttribute("s-id") : "";
912
+ if (s && b.document) {
913
+ const r = n._$$elm$$_ = b.document.createElement(n._$$tag$$_);
914
+ if (n._$$name$$_) {
915
+ n._$$elm$$_.setAttribute("name", e);
916
+ }
917
+ if (a && a !== n._$$hostId$$_) {
918
+ o._$$elm$$_.insertBefore(r, o._$$elm$$_.children[0]);
919
+ } else {
920
+ i.parentNode.insertBefore(n._$$elm$$_, i);
921
+ }
922
+ addSlottedNodes(f, t, e, i, n._$$hostId$$_);
923
+ i.remove();
924
+ if (n._$$depth$$_ === "0") {
925
+ s[n._$$index$$_] = n._$$elm$$_;
926
+ }
927
+ } else {
928
+ const l = n._$$elm$$_;
929
+ const s = a && a !== n._$$hostId$$_ && o._$$elm$$_.shadowRoot;
930
+ addSlottedNodes(f, t, e, i, s ? a : n._$$hostId$$_);
931
+ patchSlotNode(i);
932
+ if (s) {
933
+ o._$$elm$$_.insertBefore(l, o._$$elm$$_.children[0]);
934
+ }
935
+ r.push(n);
936
+ }
937
+ l.push(n);
938
+ if (!o._$$children$$_) {
939
+ o._$$children$$_ = [];
940
+ }
941
+ o._$$children$$_[n._$$index$$_] = n;
942
+ }
943
+
944
+ var addSlottedNodes = (e, t, n, i, o) => {
945
+ let r = i.nextSibling;
946
+ e[t] = e[t] || [];
947
+ while (r && ((r["getAttribute"] && r.getAttribute("slot") || r["s-sn"]) === n || n === "" && !r["s-sn"] && (r.nodeType === 8 /* CommentNode */ && r.nodeValue.indexOf(".") !== 1 || r.nodeType === 3 /* TextNode */))) {
948
+ r["s-sn"] = n;
949
+ e[t].push({
950
+ slot: i,
951
+ node: r,
952
+ hostId: o
953
+ });
954
+ r = r.nextSibling;
955
+ }
956
+ };
957
+
958
+ var findCorrespondingNode = (e, t) => {
959
+ let n = e;
960
+ do {
961
+ n = n.nextSibling;
962
+ } while (n && (n.nodeType !== t || !n.nodeValue));
963
+ return n;
964
+ };
965
+
966
+ var parsePropertyValue = (e, t) => {
967
+ if (e != null && !isComplexType(e)) {
968
+ if (t & 4 /* Boolean */) {
969
+ return e === "false" ? false : e === "" || !!e;
970
+ }
971
+ if (t & 2 /* Number */) {
972
+ return parseFloat(e);
973
+ }
974
+ if (t & 1 /* String */) {
975
+ return String(e);
976
+ }
977
+ return e;
978
+ }
979
+ return e;
980
+ };
981
+
982
+ var getElement = e => getHostRef(e).$hostElement$
983
+ // src/runtime/event-emitter.ts
984
+ ;
985
+
986
+ var createEvent = (e, t, n) => {
987
+ const i = getElement(e);
988
+ return {
989
+ emit: e => emitEvent(i, t, {
990
+ bubbles: true,
991
+ composed: true,
992
+ cancelable: true,
993
+ detail: e
994
+ })
995
+ };
996
+ };
997
+
998
+ var emitEvent = (e, t, n) => {
999
+ const i = g.ce(t, n);
1000
+ e.dispatchEvent(i);
1001
+ return i;
1002
+ };
1003
+
1004
+ var H = new WeakMap;
1005
+
1006
+ var registerStyle = (e, t, n) => {
1007
+ let i = o.get(e);
1008
+ if (S && n) {
1009
+ i = i || new CSSStyleSheet;
1010
+ if (typeof i === "string") {
1011
+ i = t;
1012
+ } else {
1013
+ i.replaceSync(t);
1014
+ }
1015
+ } else {
1016
+ i = t;
1017
+ }
1018
+ o.set(e, i);
1019
+ };
1020
+
1021
+ var addStyle = (e, t, n) => {
1022
+ var i;
1023
+ const r = getScopeId(t);
1024
+ const l = o.get(r);
1025
+ if (!b.document) {
1026
+ return r;
1027
+ }
1028
+ e = e.nodeType === 11 /* DocumentFragment */ ? e : b.document;
1029
+ if (l) {
1030
+ if (typeof l === "string") {
1031
+ e = e.head || e;
1032
+ let n = H.get(e);
1033
+ let o;
1034
+ if (!n) {
1035
+ H.set(e, n = new Set);
1036
+ }
1037
+ if (!n.has(r)) {
1038
+ if (e.host && (o = e.querySelector(`[${u}="${r}"]`))) {
1039
+ o.innerHTML = l;
1040
+ } else {
1041
+ o = document.querySelector(`[${u}="${r}"]`) || b.document.createElement("style");
1042
+ o.innerHTML = l;
1043
+ const n = (i = g._$$nonce$$_) != null ? i : queryNonceMetaTagContent(b.document);
1044
+ if (n != null) {
1045
+ o.setAttribute("nonce", n);
1046
+ }
1047
+ if (!(t._$$flags$$_ & 1 /* shadowDomEncapsulation */)) {
1048
+ if (e.nodeName === "HEAD") {
1049
+ const t = e.querySelectorAll("link[rel=preconnect]");
1050
+ const n = t.length > 0 ? t[t.length - 1].nextSibling : e.querySelector("style");
1051
+ e.insertBefore(o, (n == null ? void 0 : n.parentNode) === e ? n : null);
1052
+ } else if ("host" in e) {
1053
+ if (S) {
1054
+ const t = new CSSStyleSheet;
1055
+ t.replaceSync(l);
1056
+ e.adoptedStyleSheets = [ t, ...e.adoptedStyleSheets ];
1057
+ } else {
1058
+ const t = e.querySelector("style");
1059
+ if (t) {
1060
+ t.innerHTML = l + t.innerHTML;
1061
+ } else {
1062
+ e.prepend(o);
1063
+ }
1064
+ }
1065
+ } else {
1066
+ e.append(o);
1067
+ }
1068
+ }
1069
+ if (t._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
1070
+ e.insertBefore(o, null);
1071
+ }
1072
+ }
1073
+ if (t._$$flags$$_ & 4 /* hasSlotRelocation */) {
1074
+ o.innerHTML += p;
1075
+ }
1076
+ if (n) {
1077
+ n.add(r);
1078
+ }
1079
+ }
1080
+ } else if (!e.adoptedStyleSheets.includes(l)) {
1081
+ e.adoptedStyleSheets = [ ...e.adoptedStyleSheets, l ];
1082
+ }
1083
+ }
1084
+ return r;
1085
+ };
1086
+
1087
+ var attachStyles = e => {
1088
+ const t = e._$$cmpMeta$$_;
1089
+ const n = e.$hostElement$;
1090
+ const i = t._$$flags$$_;
1091
+ const o = createTime("attachStyles", t._$$tagName$$_);
1092
+ const r = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
1093
+ if (i & 10 /* needsScopedEncapsulation */ && i & 2 /* scopedCssEncapsulation */ || i & 128 /* shadowNeedsScopedCss */) {
1094
+ n["s-sc"] = r;
1095
+ n.classList.add(r + "-h");
1096
+ }
1097
+ o();
1098
+ };
1099
+
1100
+ var getScopeId = (e, t) => "sc-" + e._$$tagName$$_;
1101
+
1102
+ var convertScopedToShadow = e => e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1103
+
1104
+ var hydrateScopedToShadow = () => {
1105
+ if (!b.document) {
1106
+ return;
1107
+ }
1108
+ const e = b.document.querySelectorAll(`[${u}]`);
1109
+ let t = 0;
1110
+ for (;t < e.length; t++) {
1111
+ registerStyle(e[t].getAttribute(u), convertScopedToShadow(e[t].innerHTML), true);
1112
+ }
1113
+ };
1114
+
1115
+ var setAccessor = (e, t, n, i, o, r, l) => {
1116
+ if (n === i) {
1117
+ return;
1118
+ }
1119
+ let s = isMemberInElement(e, t);
1120
+ let f = t.toLowerCase();
1121
+ if (t === "class") {
1122
+ const t = e.classList;
1123
+ const o = parseClassList(n);
1124
+ let r = parseClassList(i);
1125
+ if (e["s-si"] && l) {
1126
+ r.push(e["s-si"]);
1127
+ o.forEach((t => {
1128
+ if (t.startsWith(e["s-si"])) r.push(t);
1129
+ }));
1130
+ r = [ ...new Set(r) ];
1131
+ t.add(...r);
1132
+ } else {
1133
+ t.remove(...o.filter((e => e && !r.includes(e))));
1134
+ t.add(...r.filter((e => e && !o.includes(e))));
1135
+ }
1136
+ } else if (t === "style") {
1137
+ {
1138
+ for (const t in n) {
1139
+ if (!i || i[t] == null) {
1140
+ if (t.includes("-")) {
1141
+ e.style.removeProperty(t);
1142
+ } else {
1143
+ e.style[t] = "";
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+ for (const t in i) {
1149
+ if (!n || i[t] !== n[t]) {
1150
+ if (t.includes("-")) {
1151
+ e.style.setProperty(t, i[t]);
1152
+ } else {
1153
+ e.style[t] = i[t];
1154
+ }
1155
+ }
1156
+ }
1157
+ } else if (t === "key") ; else if (t === "ref") {
1158
+ if (i) {
1159
+ i(e);
1160
+ }
1161
+ } else if (!s && t[0] === "o" && t[1] === "n") {
1162
+ if (t[2] === "-") {
1163
+ t = t.slice(3);
1164
+ } else if (isMemberInElement(b, f)) {
1165
+ t = f.slice(2);
1166
+ } else {
1167
+ t = f[2] + t.slice(3);
1168
+ }
1169
+ if (n || i) {
1170
+ const o = t.endsWith(D);
1171
+ t = t.replace(R, "");
1172
+ if (n) {
1173
+ g.rel(e, t, n, o);
1174
+ }
1175
+ if (i) {
1176
+ g.ael(e, t, i, o);
1177
+ }
1178
+ }
1179
+ } else {
1180
+ const l = isComplexType(i);
1181
+ if ((s || l && i !== null) && true) {
1182
+ try {
1183
+ if (!e.tagName.includes("-")) {
1184
+ const o = i == null ? "" : i;
1185
+ if (t === "list") {
1186
+ s = false;
1187
+ } else if (n == null || e[t] != o) {
1188
+ if (typeof e.__lookupSetter__(t) === "function") {
1189
+ e[t] = o;
1190
+ } else {
1191
+ e.setAttribute(t, o);
1192
+ }
1193
+ }
1194
+ } else if (e[t] !== i) {
1195
+ e[t] = i;
1196
+ }
1197
+ } catch (e) {}
1198
+ }
1199
+ let a = false;
1200
+ {
1201
+ if (f !== (f = f.replace(/^xlink\:?/, ""))) {
1202
+ t = f;
1203
+ a = true;
1204
+ }
1205
+ }
1206
+ if (i == null || i === false) {
1207
+ if (i !== false || e.getAttribute(t) === "") {
1208
+ if (a) {
1209
+ e.removeAttributeNS(m, t);
1210
+ } else {
1211
+ e.removeAttribute(t);
1212
+ }
1213
+ }
1214
+ } else if ((!s || r & 4 /* isHost */ || o) && !l && e.nodeType === 1 /* ElementNode */) {
1215
+ i = i === true ? "" : i;
1216
+ if (a) {
1217
+ e.setAttributeNS(m, t, i);
1218
+ } else {
1219
+ e.setAttribute(t, i);
1220
+ }
1221
+ }
1222
+ }
1223
+ };
1224
+
1225
+ var I = /\s/;
1226
+
1227
+ var parseClassList = e => {
1228
+ if (typeof e === "object" && e && "baseVal" in e) {
1229
+ e = e.baseVal;
1230
+ }
1231
+ if (!e || typeof e !== "string") {
1232
+ return [];
1233
+ }
1234
+ return e.split(I);
1235
+ };
1236
+
1237
+ var D = "Capture";
1238
+
1239
+ var R = new RegExp(D + "$");
1240
+
1241
+ // src/runtime/vdom/update-element.ts
1242
+ var updateElement = (e, t, n, i) => {
1243
+ const o = t._$$elm$$_.nodeType === 11 /* DocumentFragment */ && t._$$elm$$_.host ? t._$$elm$$_.host : t._$$elm$$_;
1244
+ const r = e && e._$$attrs$$_ || {};
1245
+ const l = t._$$attrs$$_ || {};
1246
+ {
1247
+ for (const e of sortedAttrNames(Object.keys(r))) {
1248
+ if (!(e in l)) {
1249
+ setAccessor(o, e, r[e], void 0, n, t._$$flags$$_, i);
1250
+ }
1251
+ }
1252
+ }
1253
+ for (const e of sortedAttrNames(Object.keys(l))) {
1254
+ setAccessor(o, e, r[e], l[e], n, t._$$flags$$_, i);
1255
+ }
1256
+ };
1257
+
1258
+ function sortedAttrNames(e) {
1259
+ return e.includes("ref") ?
1260
+ // we need to sort these to ensure that `'ref'` is the last attr
1261
+ [ ...e.filter((e => e !== "ref")), "ref" ] :
1262
+ // no need to sort, return the original array
1263
+ e;
1264
+ }
1265
+
1266
+ var U;
1267
+
1268
+ var P = false;
1269
+
1270
+ var W = false;
1271
+
1272
+ var createElm = (e, t, n) => {
1273
+ const i = t._$$children$$_[n];
1274
+ let o = 0;
1275
+ let r;
1276
+ let l;
1277
+ if (i._$$text$$_ !== null) {
1278
+ r = i._$$elm$$_ = b.document.createTextNode(i._$$text$$_);
1279
+ } else {
1280
+ if (!b.document) {
1281
+ throw new Error("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.");
1282
+ }
1283
+ r = i._$$elm$$_ = b.document.createElement(i._$$tag$$_);
1284
+ {
1285
+ updateElement(null, i, W);
1286
+ }
1287
+ if (i._$$children$$_) {
1288
+ for (o = 0; o < i._$$children$$_.length; ++o) {
1289
+ l = createElm(e, i, o);
1290
+ if (l) {
1291
+ r.appendChild(l);
1292
+ }
1293
+ }
1294
+ }
1295
+ }
1296
+ r["s-hn"] = U;
1297
+ return r;
1298
+ };
1299
+
1300
+ var relocateToHostRoot = e => {
1301
+ g._$$flags$$_ |= 1 /* isTmpDisconnected */;
1302
+ const t = e.closest(U.toLowerCase());
1303
+ if (t != null) {
1304
+ const n = Array.from(t.__childNodes || t.childNodes).find((e => e["s-cr"]));
1305
+ const i = Array.from(e.__childNodes || e.childNodes);
1306
+ for (const e of n ? i.reverse() : i) {
1307
+ if (e["s-sh"] != null) {
1308
+ insertBefore(t, e, n != null ? n : null);
1309
+ e["s-sh"] = void 0;
1310
+ }
1311
+ }
1312
+ }
1313
+ g._$$flags$$_ &= -2 /* isTmpDisconnected */;
1314
+ };
1315
+
1316
+ var addVnodes = (e, t, n, i, o, r) => {
1317
+ let l = e;
1318
+ let s;
1319
+ if (l.shadowRoot && l.tagName === U) {
1320
+ l = l.shadowRoot;
1321
+ }
1322
+ for (;o <= r; ++o) {
1323
+ if (i[o]) {
1324
+ s = createElm(null, n, o);
1325
+ if (s) {
1326
+ i[o]._$$elm$$_ = s;
1327
+ insertBefore(l, s, t);
1328
+ }
1329
+ }
1330
+ }
1331
+ };
1332
+
1333
+ var removeVnodes = (e, t, n) => {
1334
+ for (let i = t; i <= n; ++i) {
1335
+ const t = e[i];
1336
+ if (t) {
1337
+ const e = t._$$elm$$_;
1338
+ nullifyVNodeRefs(t);
1339
+ if (e) {
1340
+ e.remove();
1341
+ }
1342
+ }
1343
+ }
1344
+ };
1345
+
1346
+ var updateChildren = (e, t, n, i, o = false) => {
1347
+ let r = 0;
1348
+ let l = 0;
1349
+ let s = 0;
1350
+ let f = 0;
1351
+ let a = t.length - 1;
1352
+ let c = t[0];
1353
+ let u = t[a];
1354
+ let v = i.length - 1;
1355
+ let d = i[0];
1356
+ let p = i[v];
1357
+ let m;
1358
+ let $;
1359
+ while (r <= a && l <= v) {
1360
+ if (c == null) {
1361
+ c = t[++r];
1362
+ } else if (u == null) {
1363
+ u = t[--a];
1364
+ } else if (d == null) {
1365
+ d = i[++l];
1366
+ } else if (p == null) {
1367
+ p = i[--v];
1368
+ } else if (isSameVnode(c, d, o)) {
1369
+ patch(c, d, o);
1370
+ c = t[++r];
1371
+ d = i[++l];
1372
+ } else if (isSameVnode(u, p, o)) {
1373
+ patch(u, p, o);
1374
+ u = t[--a];
1375
+ p = i[--v];
1376
+ } else if (isSameVnode(c, p, o)) {
1377
+ patch(c, p, o);
1378
+ insertBefore(e, c._$$elm$$_, u._$$elm$$_.nextSibling);
1379
+ c = t[++r];
1380
+ p = i[--v];
1381
+ } else if (isSameVnode(u, d, o)) {
1382
+ patch(u, d, o);
1383
+ insertBefore(e, u._$$elm$$_, c._$$elm$$_);
1384
+ u = t[--a];
1385
+ d = i[++l];
1386
+ } else {
1387
+ s = -1;
1388
+ {
1389
+ for (f = r; f <= a; ++f) {
1390
+ if (t[f] && t[f]._$$key$$_ !== null && t[f]._$$key$$_ === d._$$key$$_) {
1391
+ s = f;
1392
+ break;
1393
+ }
1394
+ }
1395
+ }
1396
+ if (s >= 0) {
1397
+ $ = t[s];
1398
+ if ($._$$tag$$_ !== d._$$tag$$_) {
1399
+ m = createElm(t && t[l], n, s);
1400
+ } else {
1401
+ patch($, d, o);
1402
+ t[s] = void 0;
1403
+ m = $._$$elm$$_;
1404
+ }
1405
+ d = i[++l];
1406
+ } else {
1407
+ m = createElm(t && t[l], n, l);
1408
+ d = i[++l];
1409
+ }
1410
+ if (m) {
1411
+ {
1412
+ insertBefore(c._$$elm$$_.parentNode, m, c._$$elm$$_);
1413
+ }
1414
+ }
1415
+ }
1416
+ }
1417
+ if (r > a) {
1418
+ addVnodes(e, i[v + 1] == null ? null : i[v + 1]._$$elm$$_, n, i, l, v);
1419
+ } else if (l > v) {
1420
+ removeVnodes(t, r, a);
1421
+ }
1422
+ };
1423
+
1424
+ var isSameVnode = (e, t, n = false) => {
1425
+ if (e._$$tag$$_ === t._$$tag$$_) {
1426
+ if (!n) {
1427
+ return e._$$key$$_ === t._$$key$$_;
1428
+ }
1429
+ if (n && !e._$$key$$_ && t._$$key$$_) {
1430
+ e._$$key$$_ = t._$$key$$_;
1431
+ }
1432
+ return true;
1433
+ }
1434
+ return false;
1435
+ };
1436
+
1437
+ var patch = (e, n, i = false) => {
1438
+ const o = n._$$elm$$_ = e._$$elm$$_;
1439
+ const r = e._$$children$$_;
1440
+ const l = n._$$children$$_;
1441
+ const s = n._$$tag$$_;
1442
+ const f = n._$$text$$_;
1443
+ if (f === null) {
1444
+ {
1445
+ if (s === "slot" && !P) {
1446
+ if (e._$$name$$_ !== n._$$name$$_) {
1447
+ n._$$elm$$_["s-sn"] = n._$$name$$_ || "";
1448
+ relocateToHostRoot(n._$$elm$$_.parentElement);
1449
+ }
1450
+ }
1451
+ updateElement(e, n, W, i);
1452
+ }
1453
+ if (r !== null && l !== null) {
1454
+ updateChildren(o, r, n, l, i);
1455
+ } else if (l !== null) {
1456
+ if (e._$$text$$_ !== null) {
1457
+ o.textContent = "";
1458
+ }
1459
+ addVnodes(o, null, n, l, 0, l.length - 1);
1460
+ } else if (
1461
+ // don't do this on initial render as it can cause non-hydrated content to be removed
1462
+ !i && t.updatable && r !== null) {
1463
+ removeVnodes(r, 0, r.length - 1);
1464
+ }
1465
+ } else if (e._$$text$$_ !== f) {
1466
+ o.data = f;
1467
+ }
1468
+ };
1469
+
1470
+ var nullifyVNodeRefs = e => {
1471
+ {
1472
+ e._$$attrs$$_ && e._$$attrs$$_.ref && e._$$attrs$$_.ref(null);
1473
+ e._$$children$$_ && e._$$children$$_.map(nullifyVNodeRefs);
1474
+ }
1475
+ };
1476
+
1477
+ var insertBefore = (e, t, n) => {
1478
+ if (typeof t["s-sn"] === "string") {
1479
+ if (e.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
1480
+ patchParentNode(t);
1481
+ }
1482
+ e.insertBefore(t, n);
1483
+ const {slotNode: i} = findSlotFromSlottedNode(t);
1484
+ if (i) dispatchSlotChangeEvent(i);
1485
+ return t;
1486
+ }
1487
+ if (e.__insertBefore) {
1488
+ return e.__insertBefore(t, n);
1489
+ } else {
1490
+ return e == null ? void 0 : e.insertBefore(t, n);
1491
+ }
1492
+ };
1493
+
1494
+ var renderVdom = (e, t, n = false) => {
1495
+ var i;
1496
+ const o = e.$hostElement$;
1497
+ const r = e._$$cmpMeta$$_;
1498
+ const l = e._$$vnode$$_ || newVNode(null, null);
1499
+ const s = isHost(t) ? t : h(null, null, t);
1500
+ U = o.tagName;
1501
+ if (r._$$attrsToReflect$$_) {
1502
+ s._$$attrs$$_ = s._$$attrs$$_ || {};
1503
+ r._$$attrsToReflect$$_.map((([e, t]) => s._$$attrs$$_[t] = o[e]));
1504
+ }
1505
+ if (n && s._$$attrs$$_) {
1506
+ for (const e of Object.keys(s._$$attrs$$_)) {
1507
+ if (o.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
1508
+ s._$$attrs$$_[e] = o[e];
1509
+ }
1510
+ }
1511
+ }
1512
+ s._$$tag$$_ = null;
1513
+ s._$$flags$$_ |= 4 /* isHost */;
1514
+ e._$$vnode$$_ = s;
1515
+ s._$$elm$$_ = l._$$elm$$_ = o.shadowRoot || o;
1516
+ P = !!(r._$$flags$$_ & 1 /* shadowDomEncapsulation */) && !(r._$$flags$$_ & 128 /* shadowNeedsScopedCss */);
1517
+ patch(l, s, n);
1518
+ if (r._$$flags$$_ & 2 /* scopedCssEncapsulation */) {
1519
+ const e = s._$$elm$$_.__childNodes || s._$$elm$$_.childNodes;
1520
+ for (const t of e) {
1521
+ if (t["s-hn"] !== U && !t["s-sh"]) {
1522
+ if (n && t["s-ih"] == null) {
1523
+ t["s-ih"] = (i = t.hidden) != null ? i : false;
1524
+ }
1525
+ t.hidden = true;
1526
+ }
1527
+ }
1528
+ }
1529
+ };
1530
+
1531
+ // src/runtime/update-component.ts
1532
+ var attachToAncestor = (e, t) => {
1533
+ if (t && !e._$$onRenderResolve$$_ && t["s-p"]) {
1534
+ const n = t["s-p"].push(new Promise((i => e._$$onRenderResolve$$_ = () => {
1535
+ t["s-p"].splice(n - 1, 1);
1536
+ i();
1537
+ })));
1538
+ }
1539
+ };
1540
+
1541
+ var scheduleUpdate = (e, t) => {
1542
+ {
1543
+ e._$$flags$$_ |= 16 /* isQueuedForUpdate */;
1544
+ }
1545
+ if (e._$$flags$$_ & 4 /* isWaitingForChildren */) {
1546
+ e._$$flags$$_ |= 512 /* needsRerender */;
1547
+ return;
1548
+ }
1549
+ attachToAncestor(e, e._$$ancestorComponent$$_);
1550
+ const dispatch = () => dispatchHooks(e, t);
1551
+ return N(dispatch);
1552
+ };
1553
+
1554
+ var dispatchHooks = (e, t) => {
1555
+ const n = e.$hostElement$;
1556
+ const i = createTime("scheduleUpdate", e._$$cmpMeta$$_._$$tagName$$_);
1557
+ const o = e._$$lazyInstance$$_;
1558
+ if (!o) {
1559
+ throw new Error(`Can't render component <${n.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`);
1560
+ }
1561
+ let r;
1562
+ if (t) {
1563
+ {
1564
+ e._$$flags$$_ |= 256 /* isListenReady */;
1565
+ if (e._$$queuedListeners$$_) {
1566
+ e._$$queuedListeners$$_.map((([e, t]) => safeCall(o, e, t, n)));
1567
+ e._$$queuedListeners$$_ = void 0;
1568
+ }
1569
+ }
1570
+ emitLifecycleEvent(n, "componentWillLoad");
1571
+ r = safeCall(o, "componentWillLoad", void 0, n);
1572
+ } else {
1573
+ emitLifecycleEvent(n, "componentWillUpdate");
1574
+ r = safeCall(o, "componentWillUpdate", void 0, n);
1575
+ }
1576
+ emitLifecycleEvent(n, "componentWillRender");
1577
+ r = enqueue(r, (() => safeCall(o, "componentWillRender", void 0, n)));
1578
+ i();
1579
+ return enqueue(r, (() => updateComponent(e, o, t)));
1580
+ };
1581
+
1582
+ var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
1583
+ console.error(e);
1584
+ t();
1585
+ })) : t();
1586
+
1587
+ var isPromisey = e => e instanceof Promise || e && e.then && typeof e.then === "function";
1588
+
1589
+ var updateComponent = async (e, t, n) => {
1590
+ var i;
1591
+ const o = e.$hostElement$;
1592
+ const r = createTime("update", e._$$cmpMeta$$_._$$tagName$$_);
1593
+ const l = o["s-rc"];
1594
+ if (n) {
1595
+ attachStyles(e);
1596
+ }
1597
+ const s = createTime("render", e._$$cmpMeta$$_._$$tagName$$_);
1598
+ {
1599
+ callRender(e, t, o, n);
1600
+ }
1601
+ if (l) {
1602
+ l.map((e => e()));
1603
+ o["s-rc"] = void 0;
1604
+ }
1605
+ s();
1606
+ r();
1607
+ {
1608
+ const t = (i = o["s-p"]) != null ? i : [];
1609
+ const postUpdate = () => postUpdateComponent(e);
1610
+ if (t.length === 0) {
1611
+ postUpdate();
1612
+ } else {
1613
+ Promise.all(t).then(postUpdate);
1614
+ e._$$flags$$_ |= 4 /* isWaitingForChildren */;
1615
+ t.length = 0;
1616
+ }
1617
+ }
1618
+ };
1619
+
1620
+ var callRender = (e, t, n, i) => {
1621
+ try {
1622
+ t = t.render();
1623
+ {
1624
+ e._$$flags$$_ &= -17 /* isQueuedForUpdate */;
1625
+ }
1626
+ {
1627
+ e._$$flags$$_ |= 2 /* hasRendered */;
1628
+ }
1629
+ {
1630
+ {
1631
+ {
1632
+ renderVdom(e, t, i);
1633
+ }
1634
+ }
1635
+ }
1636
+ } catch (t) {
1637
+ consoleError(t, e.$hostElement$);
1638
+ }
1639
+ return null;
1640
+ };
1641
+
1642
+ var postUpdateComponent = e => {
1643
+ const t = e._$$cmpMeta$$_._$$tagName$$_;
1644
+ const n = e.$hostElement$;
1645
+ const i = createTime("postUpdate", t);
1646
+ const o = e._$$lazyInstance$$_;
1647
+ const r = e._$$ancestorComponent$$_;
1648
+ safeCall(o, "componentDidRender", void 0, n);
1649
+ emitLifecycleEvent(n, "componentDidRender");
1650
+ if (!(e._$$flags$$_ & 64 /* hasLoadedComponent */)) {
1651
+ e._$$flags$$_ |= 64 /* hasLoadedComponent */;
1652
+ {
1653
+ addHydratedFlag(n);
1654
+ }
1655
+ safeCall(o, "componentDidLoad", void 0, n);
1656
+ emitLifecycleEvent(n, "componentDidLoad");
1657
+ i();
1658
+ {
1659
+ e._$$onReadyResolve$$_(n);
1660
+ if (!r) {
1661
+ appDidLoad();
1662
+ }
1663
+ }
1664
+ } else {
1665
+ safeCall(o, "componentDidUpdate", void 0, n);
1666
+ emitLifecycleEvent(n, "componentDidUpdate");
1667
+ i();
1668
+ }
1669
+ {
1670
+ e._$$onInstanceResolve$$_(n);
1671
+ }
1672
+ {
1673
+ if (e._$$onRenderResolve$$_) {
1674
+ e._$$onRenderResolve$$_();
1675
+ e._$$onRenderResolve$$_ = void 0;
1676
+ }
1677
+ if (e._$$flags$$_ & 512 /* needsRerender */) {
1678
+ nextTick((() => scheduleUpdate(e, false)));
1679
+ }
1680
+ e._$$flags$$_ &= -517;
1681
+ }
1682
+ };
1683
+
1684
+ var appDidLoad = t => {
1685
+ nextTick((() => emitEvent(b, "appload", {
1686
+ detail: {
1687
+ namespace: e
1688
+ }
1689
+ })));
1690
+ };
1691
+
1692
+ var safeCall = (e, t, n, i) => {
1693
+ if (e && e[t]) {
1694
+ try {
1695
+ return e[t](n);
1696
+ } catch (e) {
1697
+ consoleError(e, i);
1698
+ }
1699
+ }
1700
+ return void 0;
1701
+ };
1702
+
1703
+ var emitLifecycleEvent = (t, n) => {
1704
+ {
1705
+ emitEvent(t, "stencil_" + n, {
1706
+ bubbles: true,
1707
+ composed: true,
1708
+ detail: {
1709
+ namespace: e
1710
+ }
1711
+ });
1712
+ }
1713
+ };
1714
+
1715
+ var addHydratedFlag = e => {
1716
+ var n;
1717
+ return e.classList.add((n = t.hydratedSelectorName) != null ? n : "hydrated");
1718
+ };
1719
+
1720
+ // src/runtime/set-value.ts
1721
+ var getValue = (e, t) => getHostRef(e)._$$instanceValues$$_.get(t);
1722
+
1723
+ var setValue = (e, t, n, i) => {
1724
+ const o = getHostRef(e);
1725
+ if (!o) {
1726
+ throw new Error(`Couldn't find host element for "${i._$$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).`);
1727
+ }
1728
+ const r = o.$hostElement$;
1729
+ const l = o._$$instanceValues$$_.get(t);
1730
+ const s = o._$$flags$$_;
1731
+ const f = o._$$lazyInstance$$_;
1732
+ n = parsePropertyValue(n, i._$$members$$_[t][0]);
1733
+ const a = Number.isNaN(l) && Number.isNaN(n);
1734
+ const c = n !== l && !a;
1735
+ if ((!(s & 8 /* isConstructingInstance */) || l === void 0) && c) {
1736
+ o._$$instanceValues$$_.set(t, n);
1737
+ if (f) {
1738
+ if (i._$$watchers$$_ && s & 128 /* isWatchReady */) {
1739
+ const e = i._$$watchers$$_[t];
1740
+ if (e) {
1741
+ e.map((e => {
1742
+ try {
1743
+ f[e](n, l, t);
1744
+ } catch (e) {
1745
+ consoleError(e, r);
1746
+ }
1747
+ }));
1748
+ }
1749
+ }
1750
+ if ((s & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1751
+ if (f.componentShouldUpdate) {
1752
+ if (f.componentShouldUpdate(n, l, t) === false) {
1753
+ return;
1754
+ }
1755
+ }
1756
+ scheduleUpdate(o, false);
1757
+ }
1758
+ }
1759
+ }
1760
+ };
1761
+
1762
+ // src/runtime/proxy-component.ts
1763
+ var proxyComponent = (e, n, i) => {
1764
+ var o, r;
1765
+ const l = e.prototype;
1766
+ if (n._$$flags$$_ & 64 /* formAssociated */ && i & 1 /* isElementConstructor */) {
1767
+ $.forEach((e => {
1768
+ Object.defineProperty(l, e, {
1769
+ value(...t) {
1770
+ const n = getHostRef(this);
1771
+ const i = n._$$lazyInstance$$_;
1772
+ if (!i) {
1773
+ n._$$onReadyPromise$$_.then((n => {
1774
+ const i = n[e];
1775
+ typeof i === "function" && i.call(n, ...t);
1776
+ }));
1777
+ } else {
1778
+ const n = i[e];
1779
+ typeof n === "function" && n.call(i, ...t);
1780
+ }
1781
+ }
1782
+ });
1783
+ }));
1784
+ }
1785
+ if (n._$$members$$_ || (n._$$watchers$$_ || e.watchers)) {
1786
+ if (e.watchers && !n._$$watchers$$_) {
1787
+ n._$$watchers$$_ = e.watchers;
1788
+ }
1789
+ const s = Object.entries((o = n._$$members$$_) != null ? o : {});
1790
+ s.map((([e, [t]]) => {
1791
+ if (t & 31 /* Prop */ || i & 2 /* proxyState */ && t & 32 /* State */) {
1792
+ const {get: o, set: r} = Object.getOwnPropertyDescriptor(l, e) || {};
1793
+ if (o) n._$$members$$_[e][0] |= 2048 /* Getter */;
1794
+ if (r) n._$$members$$_[e][0] |= 4096 /* Setter */;
1795
+ if (i & 1 /* isElementConstructor */ || !o) {
1796
+ Object.defineProperty(l, e, {
1797
+ get() {
1798
+ {
1799
+ if ((n._$$members$$_[e][0] & 2048 /* Getter */) === 0) {
1800
+ return getValue(this, e);
1801
+ }
1802
+ const t = getHostRef(this);
1803
+ const i = t ? t._$$lazyInstance$$_ : l;
1804
+ if (!i) return;
1805
+ return i[e];
1806
+ }
1807
+ },
1808
+ configurable: true,
1809
+ enumerable: true
1810
+ });
1811
+ }
1812
+ Object.defineProperty(l, e, {
1813
+ set(o) {
1814
+ const l = getHostRef(this);
1815
+ if (r) {
1816
+ const i = t & 32 /* State */ ? this[e] : l.$hostElement$[e];
1817
+ if (typeof i === "undefined" && l._$$instanceValues$$_.get(e)) {
1818
+ o = l._$$instanceValues$$_.get(e);
1819
+ } else if (!l._$$instanceValues$$_.get(e) && i) {
1820
+ l._$$instanceValues$$_.set(e, i);
1821
+ }
1822
+ r.apply(this, [ parsePropertyValue(o, t) ]);
1823
+ o = t & 32 /* State */ ? this[e] : l.$hostElement$[e];
1824
+ setValue(this, e, o, n);
1825
+ return;
1826
+ }
1827
+ {
1828
+ if ((i & 1 /* isElementConstructor */) === 0 || (n._$$members$$_[e][0] & 4096 /* Setter */) === 0) {
1829
+ setValue(this, e, o, n);
1830
+ if (i & 1 /* isElementConstructor */ && !l._$$lazyInstance$$_) {
1831
+ l._$$onReadyPromise$$_.then((() => {
1832
+ if (n._$$members$$_[e][0] & 4096 /* Setter */ && l._$$lazyInstance$$_[e] !== l._$$instanceValues$$_.get(e)) {
1833
+ l._$$lazyInstance$$_[e] = o;
1834
+ }
1835
+ }));
1836
+ }
1837
+ return;
1838
+ }
1839
+ const setterSetVal = () => {
1840
+ const i = l._$$lazyInstance$$_[e];
1841
+ if (!l._$$instanceValues$$_.get(e) && i) {
1842
+ l._$$instanceValues$$_.set(e, i);
1843
+ }
1844
+ l._$$lazyInstance$$_[e] = parsePropertyValue(o, t);
1845
+ setValue(this, e, l._$$lazyInstance$$_[e], n);
1846
+ };
1847
+ if (l._$$lazyInstance$$_) {
1848
+ setterSetVal();
1849
+ } else {
1850
+ l._$$onReadyPromise$$_.then((() => setterSetVal()));
1851
+ }
1852
+ }
1853
+ }
1854
+ });
1855
+ } else if (i & 1 /* isElementConstructor */ && t & 64 /* Method */) {
1856
+ Object.defineProperty(l, e, {
1857
+ value(...t) {
1858
+ var n;
1859
+ const i = getHostRef(this);
1860
+ return (n = i == null ? void 0 : i._$$onInstancePromise$$_) == null ? void 0 : n.then((() => {
1861
+ var n;
1862
+ return (n = i._$$lazyInstance$$_) == null ? void 0 : n[e](...t);
1863
+ }));
1864
+ }
1865
+ });
1866
+ }
1867
+ }));
1868
+ if (i & 1 /* isElementConstructor */) {
1869
+ const i = new Map;
1870
+ l.attributeChangedCallback = function(e, o, r) {
1871
+ g.jmp((() => {
1872
+ var s;
1873
+ const f = i.get(e);
1874
+ if (this.hasOwnProperty(f) && t.lazyLoad) {
1875
+ r = this[f];
1876
+ delete this[f];
1877
+ } else if (l.hasOwnProperty(f) && typeof this[f] === "number" && // cast type to number to avoid TS compiler issues
1878
+ this[f] == r) {
1879
+ return;
1880
+ } else if (f == null) {
1881
+ const t = getHostRef(this);
1882
+ const i = t == null ? void 0 : t._$$flags$$_;
1883
+ if (i && !(i & 8 /* isConstructingInstance */) && i & 128 /* isWatchReady */ && r !== o) {
1884
+ const i = t._$$lazyInstance$$_;
1885
+ const l = (s = n._$$watchers$$_) == null ? void 0 : s[e];
1886
+ l == null ? void 0 : l.forEach((t => {
1887
+ if (i[t] != null) {
1888
+ i[t].call(i, r, o, e);
1889
+ }
1890
+ }));
1891
+ }
1892
+ return;
1893
+ }
1894
+ const a = Object.getOwnPropertyDescriptor(l, f);
1895
+ r = r === null && typeof this[f] === "boolean" ? false : r;
1896
+ if (r !== this[f] && (!a.get || !!a.set)) {
1897
+ this[f] = r;
1898
+ }
1899
+ }));
1900
+ };
1901
+ e.observedAttributes = Array.from(
1902
+ new Set([ ...Object.keys((r = n._$$watchers$$_) != null ? r : {}), ...s.filter((([e, t]) => t[0] & 15 /* HasAttribute */)).map((([e, t]) => {
1903
+ var o;
1904
+ const r = t[1] || e;
1905
+ i.set(r, e);
1906
+ if (t[0] & 512 /* ReflectAttr */) {
1907
+ (o = n._$$attrsToReflect$$_) == null ? void 0 : o.push([ e, r ]);
1908
+ }
1909
+ return r;
1910
+ })) ]));
1911
+ }
1912
+ }
1913
+ return e;
1914
+ };
1915
+
1916
+ // src/runtime/initialize-component.ts
1917
+ var initializeComponent = async (e, t, n, i) => {
1918
+ let r;
1919
+ if ((t._$$flags$$_ & 32 /* hasInitializedComponent */) === 0) {
1920
+ t._$$flags$$_ |= 32 /* hasInitializedComponent */;
1921
+ const i = n._$$lazyBundleId$$_;
1922
+ if (i) {
1923
+ const i = loadModule(n, t);
1924
+ if (i && "then" in i) {
1925
+ const e = uniqueTime();
1926
+ r = await i;
1927
+ e();
1928
+ } else {
1929
+ r = i;
1930
+ }
1931
+ if (!r) {
1932
+ throw new Error(`Constructor for "${n._$$tagName$$_}#${t._$$modeName$$_}" was not found`);
1933
+ }
1934
+ if (!r.isProxied) {
1935
+ {
1936
+ n._$$watchers$$_ = r.watchers;
1937
+ }
1938
+ proxyComponent(r, n, 2 /* proxyState */);
1939
+ r.isProxied = true;
1940
+ }
1941
+ const o = createTime("createInstance", n._$$tagName$$_);
1942
+ {
1943
+ t._$$flags$$_ |= 8 /* isConstructingInstance */;
1944
+ }
1945
+ try {
1946
+ new r(t);
1947
+ } catch (t) {
1948
+ consoleError(t, e);
1949
+ }
1950
+ {
1951
+ t._$$flags$$_ &= -9 /* isConstructingInstance */;
1952
+ }
1953
+ {
1954
+ t._$$flags$$_ |= 128 /* isWatchReady */;
1955
+ }
1956
+ o();
1957
+ fireConnectedCallback(t._$$lazyInstance$$_, e);
1958
+ } else {
1959
+ r = e.constructor;
1960
+ const n = e.localName;
1961
+ customElements.whenDefined(n).then((() => t._$$flags$$_ |= 128 /* isWatchReady */));
1962
+ }
1963
+ if (r && r.style) {
1964
+ let e;
1965
+ if (typeof r.style === "string") {
1966
+ e = r.style;
1967
+ }
1968
+ const t = getScopeId(n);
1969
+ if (!o.has(t)) {
1970
+ const i = createTime("registerStyles", n._$$tagName$$_);
1971
+ registerStyle(t, e, !!(n._$$flags$$_ & 1 /* shadowDomEncapsulation */));
1972
+ i();
1973
+ }
1974
+ }
1975
+ }
1976
+ const l = t._$$ancestorComponent$$_;
1977
+ const schedule = () => scheduleUpdate(t, true);
1978
+ if (l && l["s-rc"]) {
1979
+ l["s-rc"].push(schedule);
1980
+ } else {
1981
+ schedule();
1982
+ }
1983
+ };
1984
+
1985
+ var fireConnectedCallback = (e, t) => {
1986
+ {
1987
+ safeCall(e, "connectedCallback", void 0, t);
1988
+ }
1989
+ };
1990
+
1991
+ // src/runtime/connected-callback.ts
1992
+ var connectedCallback = e => {
1993
+ if ((g._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
1994
+ const t = getHostRef(e);
1995
+ const n = t._$$cmpMeta$$_;
1996
+ const i = createTime("connectedCallback", n._$$tagName$$_);
1997
+ if (!(t._$$flags$$_ & 1 /* hasConnected */)) {
1998
+ t._$$flags$$_ |= 1 /* hasConnected */;
1999
+ let i;
2000
+ {
2001
+ i = e.getAttribute(c);
2002
+ if (i) {
2003
+ if (n._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
2004
+ const t = addStyle(e.shadowRoot, n);
2005
+ e.classList.remove(t + "-h", t + "-s");
2006
+ }
2007
+ initializeClientHydrate(e, n._$$tagName$$_, i, t);
2008
+ }
2009
+ }
2010
+ {
2011
+ let n = e;
2012
+ while (n = n.parentNode || n.host) {
2013
+ if (n.nodeType === 1 /* ElementNode */ && n.hasAttribute("s-id") && n["s-p"] || n["s-p"]) {
2014
+ attachToAncestor(t, t._$$ancestorComponent$$_ = n);
2015
+ break;
2016
+ }
2017
+ }
2018
+ }
2019
+ if (n._$$members$$_) {
2020
+ Object.entries(n._$$members$$_).map((([t, [n]]) => {
2021
+ if (n & 31 /* Prop */ && e.hasOwnProperty(t)) {
2022
+ const n = e[t];
2023
+ delete e[t];
2024
+ e[t] = n;
2025
+ }
2026
+ }));
2027
+ }
2028
+ {
2029
+ initializeComponent(e, t, n);
2030
+ }
2031
+ } else {
2032
+ addHostEventListeners(e, t, n._$$listeners$$_);
2033
+ if (t == null ? void 0 : t._$$lazyInstance$$_) {
2034
+ fireConnectedCallback(t._$$lazyInstance$$_, e);
2035
+ } else if (t == null ? void 0 : t._$$onReadyPromise$$_) {
2036
+ t._$$onReadyPromise$$_.then((() => fireConnectedCallback(t._$$lazyInstance$$_, e)));
2037
+ }
2038
+ }
2039
+ i();
2040
+ }
2041
+ };
2042
+
2043
+ var disconnectInstance = (e, t) => {
2044
+ {
2045
+ safeCall(e, "disconnectedCallback", void 0, t || e);
2046
+ }
2047
+ };
2048
+
2049
+ var disconnectedCallback = async e => {
2050
+ if ((g._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
2051
+ const t = getHostRef(e);
2052
+ {
2053
+ if (t._$$rmListeners$$_) {
2054
+ t._$$rmListeners$$_.map((e => e()));
2055
+ t._$$rmListeners$$_ = void 0;
2056
+ }
2057
+ }
2058
+ if (t == null ? void 0 : t._$$lazyInstance$$_) {
2059
+ disconnectInstance(t._$$lazyInstance$$_, e);
2060
+ } else if (t == null ? void 0 : t._$$onReadyPromise$$_) {
2061
+ t._$$onReadyPromise$$_.then((() => disconnectInstance(t._$$lazyInstance$$_, e)));
2062
+ }
2063
+ }
2064
+ if (H.has(e)) {
2065
+ H.delete(e);
2066
+ }
2067
+ if (e.shadowRoot && H.has(e.shadowRoot)) {
2068
+ H.delete(e.shadowRoot);
2069
+ }
2070
+ };
2071
+
2072
+ // src/runtime/bootstrap-lazy.ts
2073
+ var bootstrapLazy = (e, t = {}) => {
2074
+ var n;
2075
+ if (!b.document) {
2076
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
2077
+ return;
2078
+ }
2079
+ const i = createTime();
2080
+ const o = [];
2081
+ const r = t.exclude || [];
2082
+ const l = b.customElements;
2083
+ const s = b.document.head;
2084
+ const f = s.querySelector("meta[charset]");
2085
+ const a = b.document.createElement("style");
2086
+ const c = [];
2087
+ let u;
2088
+ let v = true;
2089
+ Object.assign(g, t);
2090
+ g._$$resourcesUrl$$_ = new URL(t.resourcesUrl || "./", b.document.baseURI).href;
2091
+ {
2092
+ g._$$flags$$_ |= 2 /* appLoaded */;
2093
+ }
2094
+ {
2095
+ hydrateScopedToShadow();
2096
+ }
2097
+ let m = false;
2098
+ e.map((e => {
2099
+ e[1].map((t => {
2100
+ var n;
2101
+ const i = {
2102
+ _$$flags$$_: t[0],
2103
+ _$$tagName$$_: t[1],
2104
+ _$$members$$_: t[2],
2105
+ _$$listeners$$_: t[3]
2106
+ };
2107
+ if (i._$$flags$$_ & 4 /* hasSlotRelocation */) {
2108
+ m = true;
2109
+ }
2110
+ {
2111
+ i._$$members$$_ = t[2];
2112
+ }
2113
+ {
2114
+ i._$$listeners$$_ = t[3];
2115
+ }
2116
+ {
2117
+ i._$$attrsToReflect$$_ = [];
2118
+ }
2119
+ {
2120
+ i._$$watchers$$_ = (n = t[4]) != null ? n : {};
2121
+ }
2122
+ const s = i._$$tagName$$_;
2123
+ const f = class extends HTMLElement {
2124
+ // StencilLazyHost
2125
+ constructor(e) {
2126
+ super(e);
2127
+ this.hasRegisteredEventListeners = false;
2128
+ e = this;
2129
+ registerHost(e, i);
2130
+ if (i._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
2131
+ {
2132
+ if (!e.shadowRoot) {
2133
+ {
2134
+ e.attachShadow({
2135
+ mode: "open"
2136
+ });
2137
+ }
2138
+ } else {
2139
+ if (e.shadowRoot.mode !== "open") {
2140
+ throw new Error(`Unable to re-use existing shadow root for ${i._$$tagName$$_}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`);
2141
+ }
2142
+ }
2143
+ }
2144
+ }
2145
+ }
2146
+ connectedCallback() {
2147
+ const e = getHostRef(this);
2148
+ if (!this.hasRegisteredEventListeners) {
2149
+ this.hasRegisteredEventListeners = true;
2150
+ addHostEventListeners(this, e, i._$$listeners$$_);
2151
+ }
2152
+ if (u) {
2153
+ clearTimeout(u);
2154
+ u = null;
2155
+ }
2156
+ if (v) {
2157
+ c.push(this);
2158
+ } else {
2159
+ g.jmp((() => connectedCallback(this)));
2160
+ }
2161
+ }
2162
+ disconnectedCallback() {
2163
+ g.jmp((() => disconnectedCallback(this)));
2164
+ g.raf((() => {
2165
+ var e;
2166
+ const t = getHostRef(this);
2167
+ const n = c.findIndex((e => e === this));
2168
+ if (n > -1) {
2169
+ c.splice(n, 1);
2170
+ }
2171
+ if (((e = t == null ? void 0 : t._$$vnode$$_) == null ? void 0 : e._$$elm$$_) instanceof Node && !t._$$vnode$$_._$$elm$$_.isConnected) {
2172
+ delete t._$$vnode$$_._$$elm$$_;
2173
+ }
2174
+ }));
2175
+ }
2176
+ componentOnReady() {
2177
+ return getHostRef(this)._$$onReadyPromise$$_;
2178
+ }
2179
+ };
2180
+ if (i._$$flags$$_ & 64 /* formAssociated */) {
2181
+ f.formAssociated = true;
2182
+ }
2183
+ i._$$lazyBundleId$$_ = e[0];
2184
+ if (!r.includes(s) && !l.get(s)) {
2185
+ o.push(s);
2186
+ l.define(s, proxyComponent(f, i, 1 /* isElementConstructor */));
2187
+ }
2188
+ }));
2189
+ }));
2190
+ if (o.length > 0) {
2191
+ if (m) {
2192
+ a.textContent += p;
2193
+ }
2194
+ {
2195
+ a.textContent += o.sort() + d;
2196
+ }
2197
+ if (a.innerHTML.length) {
2198
+ a.setAttribute("data-styles", "");
2199
+ const e = (n = g._$$nonce$$_) != null ? n : queryNonceMetaTagContent(b.document);
2200
+ if (e != null) {
2201
+ a.setAttribute("nonce", e);
2202
+ }
2203
+ s.insertBefore(a, f ? f.nextSibling : s.firstChild);
2204
+ }
2205
+ }
2206
+ v = false;
2207
+ if (c.length) {
2208
+ c.map((e => e.connectedCallback()));
2209
+ } else {
2210
+ {
2211
+ g.jmp((() => u = setTimeout(appDidLoad, 30)));
2212
+ }
2213
+ }
2214
+ i();
2215
+ };
2216
+
2217
+ var addHostEventListeners = (e, t, n, i) => {
2218
+ if (n && b.document) {
2219
+ n.map((([n, i, o]) => {
2220
+ const r = getHostListenerTarget(b.document, e, n);
2221
+ const l = hostListenerProxy(t, o);
2222
+ const s = hostListenerOpts(n);
2223
+ g.ael(r, i, l, s);
2224
+ (t._$$rmListeners$$_ = t._$$rmListeners$$_ || []).push((() => g.rel(r, i, l, s)));
2225
+ }));
2226
+ }
2227
+ };
2228
+
2229
+ var hostListenerProxy = (e, t) => n => {
2230
+ var i;
2231
+ try {
2232
+ {
2233
+ if (e._$$flags$$_ & 256 /* isListenReady */) {
2234
+ (i = e._$$lazyInstance$$_) == null ? void 0 : i[t](n);
2235
+ } else {
2236
+ (e._$$queuedListeners$$_ = e._$$queuedListeners$$_ || []).push([ t, n ]);
2237
+ }
2238
+ }
2239
+ } catch (t) {
2240
+ consoleError(t, e.$hostElement$);
2241
+ }
2242
+ };
2243
+
2244
+ var getHostListenerTarget = (e, t, n) => {
2245
+ if (n & 4 /* TargetDocument */) {
2246
+ return e;
2247
+ }
2248
+ if (n & 8 /* TargetWindow */) {
2249
+ return b;
2250
+ }
2251
+ return t;
2252
+ };
2253
+
2254
+ var hostListenerOpts = e => w ? {
2255
+ passive: (e & 1 /* Passive */) !== 0,
2256
+ capture: (e & 2 /* Capture */) !== 0
2257
+ } : (e & 2 /* Capture */) !== 0
2258
+ // src/runtime/nonce.ts
2259
+ ;
2260
+
2261
+ var setNonce = e => g._$$nonce$$_ = e;
2262
+
2263
+ export { y as H, A as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2264
+ //# sourceMappingURL=p-CAyrQrUt.js.map
2265
+ //# sourceMappingURL=p-CAyrQrUt.js.map