@beamimpact/web-sdk 1.39.2 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/README.md +7 -11
  2. package/dist/chunks/_share-dialog-dependencies-0XZ9j6DF.esm.js +2 -0
  3. package/dist/chunks/_share-dialog-dependencies-0XZ9j6DF.esm.js.map +1 -0
  4. package/dist/chunks/_share-dialog-dependencies-cBi8GG00.esm.js +2 -0
  5. package/dist/chunks/_share-dialog-dependencies-cBi8GG00.esm.js.map +1 -0
  6. package/dist/chunks/cart-contents-h60geKWa.esm.js.map +1 -1
  7. package/dist/chunks/{cart-contents-3-9fB-7m.esm.d.ts → cart-contents-sUhfwLAz.esm.d.ts} +2 -1
  8. package/dist/chunks/checkbox-P2JYPqxl.esm.js +17 -0
  9. package/dist/chunks/checkbox-P2JYPqxl.esm.js.map +1 -0
  10. package/dist/chunks/{css-card-grid-7tObtoJx.esm.js → css-card-grid-r6wxRbPV.esm.js} +2 -2
  11. package/dist/chunks/{css-card-grid-7tObtoJx.esm.js.map → css-card-grid-r6wxRbPV.esm.js.map} +1 -1
  12. package/dist/chunks/enforce-config-HksNiOMu.esm.js +3 -0
  13. package/dist/chunks/enforce-config-HksNiOMu.esm.js.map +1 -0
  14. package/dist/chunks/enforce-config-er6B5Gkj.esm.js +3 -0
  15. package/dist/chunks/enforce-config-er6B5Gkj.esm.js.map +1 -0
  16. package/dist/chunks/{events-7cGXyV7_.esm.d.ts → events-QJc86_5Y.esm.d.ts} +2 -2
  17. package/dist/chunks/{events-Y8fYvSqM.esm.js → events-_4nImo3u.esm.js} +2 -2
  18. package/dist/chunks/{events-Y8fYvSqM.esm.js.map → events-_4nImo3u.esm.js.map} +1 -1
  19. package/dist/chunks/index--phjcEHh.esm.js +2 -0
  20. package/dist/chunks/index--phjcEHh.esm.js.map +1 -0
  21. package/dist/chunks/{index-uCfdsWtt.esm.js → index-1nI7l5vj.esm.js} +2 -2
  22. package/dist/chunks/{index-uCfdsWtt.esm.js.map → index-1nI7l5vj.esm.js.map} +1 -1
  23. package/dist/chunks/index-2K1cEtb1.esm.js +2 -0
  24. package/dist/chunks/index-2K1cEtb1.esm.js.map +1 -0
  25. package/dist/chunks/index-3-VTK-nH.esm.js +2 -0
  26. package/dist/chunks/index-3-VTK-nH.esm.js.map +1 -0
  27. package/dist/chunks/index-AQ8n9ODJ.esm.js +2 -0
  28. package/dist/chunks/{index-XlnH7ARQ.esm.js.map → index-AQ8n9ODJ.esm.js.map} +1 -1
  29. package/dist/chunks/index-E8H5A7Qq.esm.js +2 -0
  30. package/dist/chunks/index-E8H5A7Qq.esm.js.map +1 -0
  31. package/dist/chunks/index-FQExZDX9.esm.js +2 -0
  32. package/dist/chunks/index-FQExZDX9.esm.js.map +1 -0
  33. package/dist/chunks/index-JA-7NqMF.esm.js +2 -0
  34. package/dist/chunks/index-JA-7NqMF.esm.js.map +1 -0
  35. package/dist/chunks/{index-8KzbQIsU.esm.d.ts → index-M-0eAFA6.esm.d.ts} +1 -1
  36. package/dist/chunks/{index-phDmC-TS.esm.js → index-NOF_HeFP.esm.js} +2 -2
  37. package/dist/chunks/index-NOF_HeFP.esm.js.map +1 -0
  38. package/dist/chunks/index-PiMq5a49.esm.js +2 -0
  39. package/dist/chunks/index-PiMq5a49.esm.js.map +1 -0
  40. package/dist/chunks/{index-rFBYAk7m.esm.d.ts → index-VHXu2kRx.esm.d.ts} +1 -1
  41. package/dist/chunks/index-XCMf22lv.esm.js +2 -0
  42. package/dist/chunks/index-XCMf22lv.esm.js.map +1 -0
  43. package/dist/chunks/{index-0VcD5nhV.esm.d.ts → index-ZgCs6F4e.esm.d.ts} +4 -4
  44. package/dist/chunks/{index-TOzSFOvI.esm.d.ts → index-_Hgu38MH.esm.d.ts} +1 -1
  45. package/dist/chunks/{index-SxFKifVJ.esm.d.ts → index-_UuYsIe9.esm.d.ts} +1 -1
  46. package/dist/chunks/index-cUb-0Igl.esm.js +2 -0
  47. package/dist/chunks/{index-dsJIs5Sr.esm.js.map → index-cUb-0Igl.esm.js.map} +1 -1
  48. package/dist/chunks/index-eHSdKArB.esm.js +2 -0
  49. package/dist/chunks/index-eHSdKArB.esm.js.map +1 -0
  50. package/dist/chunks/{index-HBDtoJlQ.esm.d.ts → index-euJMrXIc.esm.d.ts} +1 -1
  51. package/dist/chunks/{index-Hb-jziQs.esm.d.ts → index-hn6JhG_w.esm.d.ts} +7 -1
  52. package/dist/chunks/{index-6t9MtjyS.esm.d.ts → index-mTXm0DPh.esm.d.ts} +9 -1
  53. package/dist/chunks/{index-Q1vx4WtG.esm.js → index-mw70Caof.esm.js} +2 -2
  54. package/dist/chunks/{index-Q1vx4WtG.esm.js.map → index-mw70Caof.esm.js.map} +1 -1
  55. package/dist/chunks/{index-8yrr7ZZv.esm.js → index-n6QNFLXV.esm.js} +2 -2
  56. package/dist/chunks/index-n6QNFLXV.esm.js.map +1 -0
  57. package/dist/chunks/index-sOAq6oM0.esm.js +2 -0
  58. package/dist/chunks/index-sOAq6oM0.esm.js.map +1 -0
  59. package/dist/chunks/{index-uF-Qtewb.esm.js → index-x2kxA_Xo.esm.js} +2 -2
  60. package/dist/chunks/index-x2kxA_Xo.esm.js.map +1 -0
  61. package/dist/chunks/{index-Lw32NXij.esm.js → index-z8c9I9IQ.esm.js} +2 -2
  62. package/dist/chunks/index-z8c9I9IQ.esm.js.map +1 -0
  63. package/dist/chunks/{lit-qtGbjGnK.esm.js → lit-3QHn3fwl.esm.js} +5 -5
  64. package/dist/chunks/lit-3QHn3fwl.esm.js.map +1 -0
  65. package/dist/chunks/loading-template-mLjOGXMj.esm.js +2 -0
  66. package/dist/chunks/{loading-template-Av0IUyKF.esm.js.map → loading-template-mLjOGXMj.esm.js.map} +1 -1
  67. package/dist/chunks/localize-IRs8JglT.esm.js +29 -0
  68. package/dist/chunks/localize-IRs8JglT.esm.js.map +1 -0
  69. package/dist/chunks/localize-SsJbTmMj.esm.js +29 -0
  70. package/dist/chunks/localize-SsJbTmMj.esm.js.map +1 -0
  71. package/dist/chunks/{openapi-spec--MzXvfCC.esm.d.ts → openapi-spec--WoGcZgR.esm.d.ts} +232 -9
  72. package/dist/chunks/order-page-4qPr8vqZ.esm.js +2 -0
  73. package/dist/chunks/order-page-4qPr8vqZ.esm.js.map +1 -0
  74. package/dist/chunks/order-page-Ps8Qyjfg.esm.d.ts +74 -0
  75. package/dist/chunks/order-page-akvp5h2x.esm.js +2 -0
  76. package/dist/chunks/order-page-akvp5h2x.esm.js.map +1 -0
  77. package/dist/chunks/{progress-bar-Sn2QspHy.esm.js → progress-bar-HVG_n8_6.esm.js} +7 -6
  78. package/dist/chunks/progress-bar-HVG_n8_6.esm.js.map +1 -0
  79. package/dist/chunks/{promo-pill-label-j0A8qZ0c.esm.js → promo-pill-label-3Xtr5ALT.esm.js} +4 -3
  80. package/dist/chunks/{promo-pill-label-j0A8qZ0c.esm.js.map → promo-pill-label-3Xtr5ALT.esm.js.map} +1 -1
  81. package/dist/chunks/{responsive-aWj_7ZN_.esm.js → responsive-KbDsZM6S.esm.js} +2 -2
  82. package/dist/chunks/{responsive-aWj_7ZN_.esm.js.map → responsive-KbDsZM6S.esm.js.map} +1 -1
  83. package/dist/chunks/routes-qbvie7oI.esm.d.ts +445 -0
  84. package/dist/chunks/routes-r5D_LdgT.esm.js +2 -0
  85. package/dist/chunks/routes-r5D_LdgT.esm.js.map +1 -0
  86. package/dist/chunks/routes-rmhOokKz.esm.js +2 -0
  87. package/dist/chunks/routes-rmhOokKz.esm.js.map +1 -0
  88. package/dist/chunks/share-button-CqTd80g8.esm.js +2 -0
  89. package/dist/chunks/share-button-CqTd80g8.esm.js.map +1 -0
  90. package/dist/chunks/share-button-JqbM7N_4.esm.js +163 -0
  91. package/dist/chunks/share-button-JqbM7N_4.esm.js.map +1 -0
  92. package/dist/chunks/share-button-hDn8fnBI.esm.d.ts +22 -0
  93. package/dist/chunks/share-button-jpa1X3FA.esm.js +163 -0
  94. package/dist/chunks/share-button-jpa1X3FA.esm.js.map +1 -0
  95. package/dist/chunks/shoelace-components-NR11kwmz.esm.js +2 -0
  96. package/dist/chunks/shoelace-components-NR11kwmz.esm.js.map +1 -0
  97. package/dist/chunks/shoelace-components-yXqj8DyM.esm.js +2 -0
  98. package/dist/chunks/shoelace-components-yXqj8DyM.esm.js.map +1 -0
  99. package/dist/chunks/{types-CfbVJRfU.esm.d.ts → types-zbTZ8-KP.esm.d.ts} +4 -1
  100. package/dist/chunks/update-cart-05ZiT0Xf.esm.js +2 -0
  101. package/dist/chunks/update-cart-05ZiT0Xf.esm.js.map +1 -0
  102. package/dist/chunks/{update-cart-xaWdPxse.esm.d.ts → update-cart-SajqAoez.esm.d.ts} +2 -1
  103. package/dist/chunks/update-cart-lTgKV-Zu.esm.js +2 -0
  104. package/dist/chunks/update-cart-lTgKV-Zu.esm.js.map +1 -0
  105. package/dist/chunks/{vendor-jQ8cxMpw.esm.js → vendor--f7lkyBk.esm.js} +44 -44
  106. package/dist/chunks/vendor--f7lkyBk.esm.js.map +1 -0
  107. package/dist/components/beam-partner-logos.esm.js +2 -2
  108. package/dist/components/beam-partner-logos.esm.js.map +1 -1
  109. package/dist/components/beam-partner-logos.js +2 -2
  110. package/dist/components/beam-partner-logos.js.map +1 -1
  111. package/dist/components/community-impact.d.ts +1 -1
  112. package/dist/components/community-impact.esm.js +15 -9
  113. package/dist/components/community-impact.esm.js.map +1 -1
  114. package/dist/components/community-impact.js +15 -9
  115. package/dist/components/community-impact.js.map +1 -1
  116. package/dist/components/cumulative-impact.d.ts +1 -1
  117. package/dist/components/cumulative-impact.esm.js +1 -1
  118. package/dist/components/cumulative-impact.esm.js.map +1 -1
  119. package/dist/components/cumulative-impact.js +1 -1
  120. package/dist/components/cumulative-impact.js.map +1 -1
  121. package/dist/components/impact-overview.d.ts +16 -4
  122. package/dist/components/impact-overview.esm.js +29 -146
  123. package/dist/components/impact-overview.esm.js.map +1 -1
  124. package/dist/components/impact-overview.js +29 -146
  125. package/dist/components/impact-overview.js.map +1 -1
  126. package/dist/components/index.d.ts +8 -3
  127. package/dist/components/index.esm.js +1 -1
  128. package/dist/components/index.js +1 -1
  129. package/dist/components/post-purchase.d.ts +6 -3
  130. package/dist/components/post-purchase.esm.js +2 -1
  131. package/dist/components/post-purchase.esm.js.map +1 -1
  132. package/dist/components/post-purchase.js +2 -1
  133. package/dist/components/post-purchase.js.map +1 -1
  134. package/dist/components/product-details-page.d.ts +7 -1
  135. package/dist/components/product-details-page.esm.js +67 -19
  136. package/dist/components/product-details-page.esm.js.map +1 -1
  137. package/dist/components/product-details-page.js +67 -19
  138. package/dist/components/product-details-page.js.map +1 -1
  139. package/dist/components/redeem-transaction.d.ts +4 -3
  140. package/dist/components/redeem-transaction.esm.js +44 -55
  141. package/dist/components/redeem-transaction.esm.js.map +1 -1
  142. package/dist/components/redeem-transaction.js +44 -55
  143. package/dist/components/redeem-transaction.js.map +1 -1
  144. package/dist/components/select-nonprofit.d.ts +3 -3
  145. package/dist/components/select-nonprofit.esm.js +20 -16
  146. package/dist/components/select-nonprofit.esm.js.map +1 -1
  147. package/dist/components/select-nonprofit.js +20 -16
  148. package/dist/components/select-nonprofit.js.map +1 -1
  149. package/dist/components/select-subscription-nonprofit.d.ts +67 -0
  150. package/dist/components/select-subscription-nonprofit.esm.js +373 -0
  151. package/dist/components/select-subscription-nonprofit.esm.js.map +1 -0
  152. package/dist/components/select-subscription-nonprofit.js +373 -0
  153. package/dist/components/select-subscription-nonprofit.js.map +1 -0
  154. package/dist/components/shopify.d.ts +8 -6
  155. package/dist/components/shopify.esm.js +1 -1
  156. package/dist/components/shopify.esm.js.map +1 -1
  157. package/dist/components/shopify.js +1 -1
  158. package/dist/components/shopify.js.map +1 -1
  159. package/dist/components/social-share.d.ts +47 -0
  160. package/dist/components/social-share.esm.js +170 -0
  161. package/dist/components/social-share.esm.js.map +1 -0
  162. package/dist/components/social-share.js +170 -0
  163. package/dist/components/social-share.js.map +1 -0
  164. package/dist/components/subscription-impact.d.ts +179 -0
  165. package/dist/components/subscription-impact.esm.js +269 -0
  166. package/dist/components/subscription-impact.esm.js.map +1 -0
  167. package/dist/components/subscription-impact.js +269 -0
  168. package/dist/components/subscription-impact.js.map +1 -0
  169. package/dist/components/subscription-management.d.ts +143 -14
  170. package/dist/components/subscription-management.esm.js +267 -31
  171. package/dist/components/subscription-management.esm.js.map +1 -1
  172. package/dist/components/subscription-management.js +267 -31
  173. package/dist/components/subscription-management.js.map +1 -1
  174. package/dist/index.d.ts +23 -14
  175. package/dist/index.esm.js +1 -1
  176. package/dist/index.js +1 -1
  177. package/dist/integrations/beam.d.ts +1 -1
  178. package/dist/integrations/beam.esm.js +1 -1
  179. package/dist/integrations/beam.js +1 -1
  180. package/dist/integrations/cart.d.ts +3 -3
  181. package/dist/integrations/cart.esm.js +1 -1
  182. package/dist/integrations/cart.js +1 -1
  183. package/dist/integrations/index.d.ts +12 -10
  184. package/dist/integrations/index.esm.js +1 -1
  185. package/dist/integrations/index.js +1 -1
  186. package/dist/integrations/logs.d.ts +2 -2
  187. package/dist/integrations/logs.esm.js +1 -1
  188. package/dist/integrations/logs.js +1 -1
  189. package/dist/integrations/session.esm.js +1 -1
  190. package/dist/integrations/session.js +1 -1
  191. package/dist/integrations/shopify.d.ts +7 -5
  192. package/dist/integrations/shopify.esm.js +1 -1
  193. package/dist/integrations/shopify.js +1 -1
  194. package/dist/integrations/statsig.d.ts +1 -1
  195. package/dist/integrations/statsig.esm.js +14 -10
  196. package/dist/integrations/statsig.esm.js.map +1 -1
  197. package/dist/integrations/statsig.js +14 -10
  198. package/dist/integrations/statsig.js.map +1 -1
  199. package/dist/integrations/utils.d.ts +4 -4
  200. package/dist/integrations/utils.esm.js +1 -1
  201. package/dist/integrations/utils.js +1 -1
  202. package/dist/react/beam-partner-logos.esm.js +1 -1
  203. package/dist/react/beam-partner-logos.js +1 -1
  204. package/dist/react/community-impact.d.ts +1 -1
  205. package/dist/react/community-impact.esm.js +1 -1
  206. package/dist/react/community-impact.esm.js.map +1 -1
  207. package/dist/react/community-impact.js +1 -1
  208. package/dist/react/community-impact.js.map +1 -1
  209. package/dist/react/cumulative-impact.d.ts +1 -1
  210. package/dist/react/cumulative-impact.esm.js +1 -1
  211. package/dist/react/cumulative-impact.esm.js.map +1 -1
  212. package/dist/react/cumulative-impact.js +1 -1
  213. package/dist/react/cumulative-impact.js.map +1 -1
  214. package/dist/react/impact-overview.d.ts +2 -1
  215. package/dist/react/impact-overview.esm.js +1 -1
  216. package/dist/react/impact-overview.esm.js.map +1 -1
  217. package/dist/react/impact-overview.js +1 -1
  218. package/dist/react/impact-overview.js.map +1 -1
  219. package/dist/react/index.d.ts +14 -4
  220. package/dist/react/index.esm.js +1 -1
  221. package/dist/react/index.js +1 -1
  222. package/dist/react/post-purchase.d.ts +4 -3
  223. package/dist/react/post-purchase.esm.js +1 -1
  224. package/dist/react/post-purchase.esm.js.map +1 -1
  225. package/dist/react/post-purchase.js +1 -1
  226. package/dist/react/post-purchase.js.map +1 -1
  227. package/dist/react/product-details-page.esm.js +1 -1
  228. package/dist/react/product-details-page.esm.js.map +1 -1
  229. package/dist/react/product-details-page.js +1 -1
  230. package/dist/react/product-details-page.js.map +1 -1
  231. package/dist/react/redeem-transaction.d.ts +4 -4
  232. package/dist/react/redeem-transaction.esm.js +1 -1
  233. package/dist/react/redeem-transaction.esm.js.map +1 -1
  234. package/dist/react/redeem-transaction.js +1 -1
  235. package/dist/react/redeem-transaction.js.map +1 -1
  236. package/dist/react/select-nonprofit.d.ts +4 -4
  237. package/dist/react/select-nonprofit.esm.js +1 -1
  238. package/dist/react/select-nonprofit.esm.js.map +1 -1
  239. package/dist/react/select-nonprofit.js +1 -1
  240. package/dist/react/select-nonprofit.js.map +1 -1
  241. package/dist/react/select-subscription-nonprofit.d.ts +19 -0
  242. package/dist/react/select-subscription-nonprofit.esm.js +2 -0
  243. package/dist/react/select-subscription-nonprofit.esm.js.map +1 -0
  244. package/dist/react/select-subscription-nonprofit.js +2 -0
  245. package/dist/react/select-subscription-nonprofit.js.map +1 -0
  246. package/dist/react/social-share.d.ts +12 -0
  247. package/dist/react/social-share.esm.js +2 -0
  248. package/dist/react/social-share.esm.js.map +1 -0
  249. package/dist/react/social-share.js +2 -0
  250. package/dist/react/social-share.js.map +1 -0
  251. package/dist/react/subscription-impact.d.ts +13 -0
  252. package/dist/react/subscription-impact.esm.js +2 -0
  253. package/dist/react/subscription-impact.esm.js.map +1 -0
  254. package/dist/react/subscription-impact.js +2 -0
  255. package/dist/react/subscription-impact.js.map +1 -0
  256. package/dist/react/subscription-management.d.ts +9 -8
  257. package/dist/react/subscription-management.esm.js +1 -1
  258. package/dist/react/subscription-management.esm.js.map +1 -1
  259. package/dist/react/subscription-management.js +1 -1
  260. package/dist/react/subscription-management.js.map +1 -1
  261. package/dist/utils/events.d.ts +4 -4
  262. package/dist/utils/events.esm.js +1 -1
  263. package/dist/utils/events.js +1 -1
  264. package/dist/utils/index.d.ts +4 -4
  265. package/dist/utils/index.esm.js +1 -1
  266. package/dist/utils/index.js +1 -1
  267. package/dist/utils/network-listeners.esm.js +1 -1
  268. package/dist/utils/network-listeners.js +1 -1
  269. package/package.json +1 -1
  270. package/dist/chunks/_share-dialog-dependencies-K7WZWxUL.esm.js +0 -2
  271. package/dist/chunks/_share-dialog-dependencies-K7WZWxUL.esm.js.map +0 -1
  272. package/dist/chunks/_share-dialog-dependencies-VjhRF4_b.esm.js +0 -2
  273. package/dist/chunks/_share-dialog-dependencies-VjhRF4_b.esm.js.map +0 -1
  274. package/dist/chunks/index-8yrr7ZZv.esm.js.map +0 -1
  275. package/dist/chunks/index-EHubF2KN.esm.js +0 -2
  276. package/dist/chunks/index-EHubF2KN.esm.js.map +0 -1
  277. package/dist/chunks/index-EUMlzqI-.esm.js +0 -2
  278. package/dist/chunks/index-EUMlzqI-.esm.js.map +0 -1
  279. package/dist/chunks/index-Lw32NXij.esm.js.map +0 -1
  280. package/dist/chunks/index-U5URUABu.esm.js +0 -2
  281. package/dist/chunks/index-U5URUABu.esm.js.map +0 -1
  282. package/dist/chunks/index-V-BsPYtl.esm.js +0 -2
  283. package/dist/chunks/index-V-BsPYtl.esm.js.map +0 -1
  284. package/dist/chunks/index-VELk9_yH.esm.js +0 -2
  285. package/dist/chunks/index-VELk9_yH.esm.js.map +0 -1
  286. package/dist/chunks/index-XlnH7ARQ.esm.js +0 -2
  287. package/dist/chunks/index-cekgAcEE.esm.js +0 -2
  288. package/dist/chunks/index-cekgAcEE.esm.js.map +0 -1
  289. package/dist/chunks/index-dsJIs5Sr.esm.js +0 -2
  290. package/dist/chunks/index-o7YiP4gC.esm.js +0 -2
  291. package/dist/chunks/index-o7YiP4gC.esm.js.map +0 -1
  292. package/dist/chunks/index-phDmC-TS.esm.js.map +0 -1
  293. package/dist/chunks/index-q_XLkvqc.esm.js +0 -2
  294. package/dist/chunks/index-q_XLkvqc.esm.js.map +0 -1
  295. package/dist/chunks/index-uF-Qtewb.esm.js.map +0 -1
  296. package/dist/chunks/index-xR738adx.esm.js +0 -2
  297. package/dist/chunks/index-xR738adx.esm.js.map +0 -1
  298. package/dist/chunks/index-xfPSpbUV.esm.js +0 -2
  299. package/dist/chunks/index-xfPSpbUV.esm.js.map +0 -1
  300. package/dist/chunks/lit-qtGbjGnK.esm.js.map +0 -1
  301. package/dist/chunks/loading-template-Av0IUyKF.esm.js +0 -2
  302. package/dist/chunks/localize-F31ae3j6.esm.js +0 -30
  303. package/dist/chunks/localize-F31ae3j6.esm.js.map +0 -1
  304. package/dist/chunks/localize-fH8KOrMi.esm.js +0 -30
  305. package/dist/chunks/localize-fH8KOrMi.esm.js.map +0 -1
  306. package/dist/chunks/order-page-6Q-6CHug.esm.js +0 -2
  307. package/dist/chunks/order-page-6Q-6CHug.esm.js.map +0 -1
  308. package/dist/chunks/order-page-DPx5SUKM.esm.d.ts +0 -255
  309. package/dist/chunks/order-page-mYYXHDVr.esm.js +0 -2
  310. package/dist/chunks/order-page-mYYXHDVr.esm.js.map +0 -1
  311. package/dist/chunks/progress-bar-Sn2QspHy.esm.js.map +0 -1
  312. package/dist/chunks/routes-3jKReDai.esm.js +0 -2
  313. package/dist/chunks/routes-3jKReDai.esm.js.map +0 -1
  314. package/dist/chunks/routes-b8sncPq8.esm.js +0 -2
  315. package/dist/chunks/routes-b8sncPq8.esm.js.map +0 -1
  316. package/dist/chunks/shoelace-components-7XWYNn-Z.esm.js +0 -2
  317. package/dist/chunks/shoelace-components-7XWYNn-Z.esm.js.map +0 -1
  318. package/dist/chunks/shoelace-components-paAsUPkU.esm.js +0 -2
  319. package/dist/chunks/shoelace-components-paAsUPkU.esm.js.map +0 -1
  320. package/dist/chunks/update-cart-GaVMWI6J.esm.js +0 -2
  321. package/dist/chunks/update-cart-GaVMWI6J.esm.js.map +0 -1
  322. package/dist/chunks/update-cart-xW6a5_bz.esm.js +0 -2
  323. package/dist/chunks/update-cart-xW6a5_bz.esm.js.map +0 -1
  324. package/dist/chunks/vendor-jQ8cxMpw.esm.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as Ot,o as E}from"./lit-qtGbjGnK.esm.js";var qt="";function Kt(t){qt=t}function Ze(t=""){if(!qt){const e=[...document.getElementsByTagName("script")],o=e.find(r=>r.hasAttribute("data-shoelace"));if(o)Kt(o.getAttribute("data-shoelace"));else{const r=e.find(n=>/shoelace(\.min)?\.js($|\?)/.test(n.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(n.src));let i="";r&&(i=r.getAttribute("src")),Kt(i.split("/").slice(0,-1).join("/"))}}return qt.replace(/\/$/,"")+(t?`/${t.replace(/^\//,"")}`:"")}var he=Object.defineProperty,Ge=Object.defineProperties,Je=Object.getOwnPropertyDescriptor,Qe=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,Xt=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),fe=(t,e,o)=>e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,rt=(t,e)=>{for(var o in e||(e={}))to.call(e,o)&&fe(t,o,e[o]);if(pe)for(var o of pe(e))eo.call(e,o)&&fe(t,o,e[o]);return t},$t=(t,e)=>Ge(t,Qe(e)),c=(t,e,o,r)=>{for(var i=r>1?void 0:r?Je(e,o):e,n=t.length-1,s;n>=0;n--)(s=t[n])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&he(e,o,i),i},oo=function(t,e){this[0]=t,this[1]=e},ro=t=>{var e=t[Xt("asyncIterator")],o=!1,r,i={};return e==null?(e=t[Xt("iterator")](),r=n=>i[n]=s=>e[n](s)):(e=e.call(t),r=n=>i[n]=s=>{if(o){if(o=!1,n==="throw")throw s;return s}return o=!0,{done:!1,value:new oo(new Promise(a=>{var l=e[n](s);if(!(l instanceof Object))throw TypeError("Object expected");a(l)}),1)}}),i[Xt("iterator")]=()=>i,r("next"),"throw"in e?r("throw"):i.throw=n=>{throw n},"return"in e&&r("return"),i},io={name:"default",resolver:t=>Ze(`assets/icons/${t}.svg`)},no=io,be={caret:`
1
+ import{i as U,n as u,s as Xe,r as Lt,x as Y,e as Ye,a as ot,b as I,c as zt,d as Ot,o as E}from"./lit-3QHn3fwl.esm.js";var qt="";function Kt(t){qt=t}function Ze(t=""){if(!qt){const e=[...document.getElementsByTagName("script")],o=e.find(r=>r.hasAttribute("data-shoelace"));if(o)Kt(o.getAttribute("data-shoelace"));else{const r=e.find(n=>/shoelace(\.min)?\.js($|\?)/.test(n.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(n.src));let i="";r&&(i=r.getAttribute("src")),Kt(i.split("/").slice(0,-1).join("/"))}}return qt.replace(/\/$/,"")+(t?`/${t.replace(/^\//,"")}`:"")}var he=Object.defineProperty,Ge=Object.defineProperties,Je=Object.getOwnPropertyDescriptor,Qe=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,Xt=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),fe=(t,e,o)=>e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,rt=(t,e)=>{for(var o in e||(e={}))to.call(e,o)&&fe(t,o,e[o]);if(pe)for(var o of pe(e))eo.call(e,o)&&fe(t,o,e[o]);return t},$t=(t,e)=>Ge(t,Qe(e)),c=(t,e,o,r)=>{for(var i=r>1?void 0:r?Je(e,o):e,n=t.length-1,s;n>=0;n--)(s=t[n])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&he(e,o,i),i},oo=function(t,e){this[0]=t,this[1]=e},ro=t=>{var e=t[Xt("asyncIterator")],o=!1,r,i={};return e==null?(e=t[Xt("iterator")](),r=n=>i[n]=s=>e[n](s)):(e=e.call(t),r=n=>i[n]=s=>{if(o){if(o=!1,n==="throw")throw s;return s}return o=!0,{done:!1,value:new oo(new Promise(a=>{var l=e[n](s);if(!(l instanceof Object))throw TypeError("Object expected");a(l)}),1)}}),i[Xt("iterator")]=()=>i,r("next"),"throw"in e?r("throw"):i.throw=n=>{throw n},"return"in e&&r("return"),i},io={name:"default",resolver:t=>Ze(`assets/icons/${t}.svg`)},no=io,be={caret:`
2
2
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
3
3
  <polyline points="6 9 12 15 18 9"></polyline>
4
4
  </svg>
@@ -91,6 +91,35 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
91
91
  <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
92
92
  </svg>
93
93
  `},so={name:"system",resolver:t=>t in be?`data:image/svg+xml,${encodeURIComponent(be[t])}`:""},ao=so,Pt=[no,ao],Ft=[];function lo(t){Ft.push(t)}function co(t){Ft=Ft.filter(e=>e!==t)}function ge(t){return Pt.find(e=>e.name===t)}function uo(t,e){ho(t),Pt.push({name:t,resolver:e.resolver,mutator:e.mutator,spriteSheet:e.spriteSheet}),Ft.forEach(o=>{o.library===t&&o.setIcon()})}function ho(t){Pt=Pt.filter(e=>e.name!==t)}var po=U`
94
+ :host {
95
+ display: inline-block;
96
+ width: 1em;
97
+ height: 1em;
98
+ box-sizing: content-box !important;
99
+ }
100
+
101
+ svg {
102
+ display: block;
103
+ height: 100%;
104
+ width: 100%;
105
+ }
106
+ `;function it(t,e){const o=rt({waitUntilFirstUpdate:!1},e);return(r,i)=>{const{update:n}=r,s=Array.isArray(t)?t:[t];r.update=function(a){s.forEach(l=>{const d=l;if(a.has(d)){const p=a.get(d),b=this[d];p!==b&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[i](p,b)}}),n.call(this,a)}}}var Z=U`
107
+ :host {
108
+ box-sizing: border-box;
109
+ }
110
+
111
+ :host *,
112
+ :host *::before,
113
+ :host *::after {
114
+ box-sizing: inherit;
115
+ }
116
+
117
+ [hidden] {
118
+ display: none !important;
119
+ }
120
+ `,B=class extends Xe{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,rt({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let i=" (unknown version)",n=i;"version"in e&&e.version&&(i=" v"+e.version),"version"in r&&r.version&&(n=" v"+r.version),!(i&&n&&i===n)&&console.warn(`Attempted to register <${t}>${i}, but <${t}>${n} has already been registered.`)}};B.version="2.15.0",B.dependencies={},c([u()],B.prototype,"dir",2),c([u()],B.prototype,"lang",2);var yt=Symbol(),Rt=Symbol(),Yt,Zt=new Map,D=class extends B{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e?.spriteSheet){this.svg=Y`<svg part="svg">
121
+ <use part="use" href="${t}"></use>
122
+ </svg>`,await this.updateComplete;const i=this.shadowRoot.querySelector("[part='svg']");return typeof e.mutator=="function"&&e.mutator(i),this.svg}try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?yt:Rt}catch{return Rt}try{const i=document.createElement("div");i.innerHTML=await r.text();const n=i.firstElementChild;if(((o=n?.tagName)==null?void 0:o.toLowerCase())!=="svg")return yt;Yt||(Yt=new DOMParser);const a=Yt.parseFromString(n.outerHTML,"text/html").body.querySelector("svg");return a?(a.part.add("svg"),document.adoptNode(a)):yt}catch{return yt}}connectedCallback(){super.connectedCallback(),lo(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),co(this)}getIconSource(){const t=ge(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?ge(this.library):void 0;if(!e){this.svg=null;return}let i=Zt.get(e);if(i||(i=this.resolveIcon(e,r),Zt.set(e,i)),!this.initialRender)return;const n=await i;if(n===Rt&&Zt.delete(e),e===this.getIconSource().url){if(Ye(n)){this.svg=n;return}switch(n){case Rt:case yt:this.svg=null,this.emit("sl-error");break;default:this.svg=n.cloneNode(!0),(t=r?.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};D.styles=[Z,po],c([Lt()],D.prototype,"svg",2),c([u({reflect:!0})],D.prototype,"name",2),c([u()],D.prototype,"src",2),c([u()],D.prototype,"label",2),c([u({reflect:!0})],D.prototype,"library",2),c([it("label")],D.prototype,"handleLabelChange",1),c([it(["name","src","library"])],D.prototype,"setIcon",1),D.define("sl-icon");var fo=U`
94
123
  :host {
95
124
  display: inline-flex;
96
125
  }
@@ -179,21 +208,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
179
208
  box-shadow: 0 0 0 0 transparent;
180
209
  }
181
210
  }
182
- `,Z=U`
183
- :host {
184
- box-sizing: border-box;
185
- }
186
-
187
- :host *,
188
- :host *::before,
189
- :host *::after {
190
- box-sizing: inherit;
191
- }
192
-
193
- [hidden] {
194
- display: none !important;
195
- }
196
- `,B=class extends Xe{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,rt({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let i=" (unknown version)",n=i;"version"in e&&e.version&&(i=" v"+e.version),"version"in r&&r.version&&(n=" v"+r.version),!(i&&n&&i===n)&&console.warn(`Attempted to register <${t}>${i}, but <${t}>${n} has already been registered.`)}};B.version="2.15.0",B.dependencies={},c([u()],B.prototype,"dir",2),c([u()],B.prototype,"lang",2);var yt=class extends B{constructor(){super(...arguments),this.variant="primary",this.pill=!1,this.pulse=!1}render(){return Y`
211
+ `,wt=class extends B{constructor(){super(...arguments),this.variant="primary",this.pill=!1,this.pulse=!1}render(){return Y`
197
212
  <span
198
213
  part="base"
199
214
  class=${ot({badge:!0,"badge--primary":this.variant==="primary","badge--success":this.variant==="success","badge--neutral":this.variant==="neutral","badge--warning":this.variant==="warning","badge--danger":this.variant==="danger","badge--pill":this.pill,"badge--pulse":this.pulse})}
@@ -201,7 +216,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
201
216
  >
202
217
  <slot></slot>
203
218
  </span>
204
- `}};yt.styles=[Z,po],c([u({reflect:!0})],yt.prototype,"variant",2),c([u({type:Boolean,reflect:!0})],yt.prototype,"pill",2),c([u({type:Boolean,reflect:!0})],yt.prototype,"pulse",2),yt.define("sl-badge");var fo=U`
219
+ `}};wt.styles=[Z,fo],c([u({reflect:!0})],wt.prototype,"variant",2),c([u({type:Boolean,reflect:!0})],wt.prototype,"pill",2),c([u({type:Boolean,reflect:!0})],wt.prototype,"pulse",2),wt.define("sl-badge");var bo=U`
205
220
  :host {
206
221
  --max-width: 20rem;
207
222
  --hide-delay: 0ms;
@@ -251,7 +266,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
251
266
  user-select: none;
252
267
  -webkit-user-select: none;
253
268
  }
254
- `,bo=U`
269
+ `,go=U`
255
270
  :host {
256
271
  --arrow-color: var(--sl-color-neutral-1000);
257
272
  --arrow-size: 6px;
@@ -309,7 +324,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
309
324
  var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)
310
325
  );
311
326
  }
312
- `;const G=Math.min,P=Math.max,Rt=Math.round,Bt=Math.floor,J=t=>({x:t,y:t}),go={left:"right",right:"left",bottom:"top",top:"bottom"},mo={start:"end",end:"start"};function Yt(t,e,o){return P(t,G(e,o))}function dt(t,e){return typeof t=="function"?t(e):t}function Q(t){return t.split("-")[0]}function ut(t){return t.split("-")[1]}function me(t){return t==="x"?"y":"x"}function Zt(t){return t==="y"?"height":"width"}function wt(t){return["top","bottom"].includes(Q(t))?"y":"x"}function Gt(t){return me(wt(t))}function vo(t,e,o){o===void 0&&(o=!1);const r=ut(t),i=Gt(t),n=Zt(i);let s=i==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=Tt(s)),[s,Tt(s)]}function yo(t){const e=Tt(t);return[Jt(t),e,Jt(e)]}function Jt(t){return t.replace(/start|end/g,e=>mo[e])}function wo(t,e,o){const r=["left","right"],i=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:r:e?r:i;case"left":case"right":return e?n:s;default:return[]}}function xo(t,e,o,r){const i=ut(t);let n=wo(Q(t),o==="start",r);return i&&(n=n.map(s=>s+"-"+i),e&&(n=n.concat(n.map(Jt)))),n}function Tt(t){return t.replace(/left|right|bottom|top/g,e=>go[e])}function ko(t){return{top:0,right:0,bottom:0,left:0,...t}}function ve(t){return typeof t!="number"?ko(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,e,o){let{reference:r,floating:i}=t;const n=wt(e),s=Gt(e),a=Zt(s),l=Q(e),d=n==="y",p=r.x+r.width/2-i.width/2,b=r.y+r.height/2-i.height/2,g=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:b};break;case"left":h={x:r.x-i.width,y:b};break;default:h={x:r.x,y:r.y}}switch(ut(e)){case"start":h[s]-=g*(o&&d?-1:1);break;case"end":h[s]+=g*(o&&d?-1:1);break}return h}const _o=async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:b}=ye(d,r,l),g=r,h={},f=0;for(let m=0;m<a.length;m++){const{name:y,fn:v}=a[m],{x,y:_,data:A,reset:C}=await v({x:p,y:b,initialPlacement:r,placement:g,strategy:i,middlewareData:h,rects:d,platform:s,elements:{reference:t,floating:e}});if(p=x??p,b=_??b,h={...h,[y]:{...h[y],...A}},C&&f<=50){f++,typeof C=="object"&&(C.placement&&(g=C.placement),C.rects&&(d=C.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):C.rects),{x:p,y:b}=ye(d,g,l)),m=-1;continue}}return{x:p,y:b,placement:g,strategy:i,middlewareData:h}};async function Qt(t,e){var o;e===void 0&&(e={});const{x:r,y:i,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:b="floating",altBoundary:g=!1,padding:h=0}=dt(e,t),f=ve(h),y=a[g?b==="floating"?"reference":"floating":b],v=Dt(await n.getClippingRect({element:(o=await(n.isElement==null?void 0:n.isElement(y)))==null||o?y:y.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(a.floating)),boundary:d,rootBoundary:p,strategy:l})),x=b==="floating"?{...s.floating,x:r,y:i}:s.reference,_=await(n.getOffsetParent==null?void 0:n.getOffsetParent(a.floating)),A=await(n.isElement==null?void 0:n.isElement(_))?await(n.getScale==null?void 0:n.getScale(_))||{x:1,y:1}:{x:1,y:1},C=Dt(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:_,strategy:l}):x);return{top:(v.top-C.top+f.top)/A.y,bottom:(C.bottom-v.bottom+f.bottom)/A.y,left:(v.left-C.left+f.left)/A.x,right:(C.right-v.right+f.right)/A.x}}const Co=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:d,padding:p=0}=dt(t,e)||{};if(d==null)return{};const b=ve(p),g={x:o,y:r},h=Gt(i),f=Zt(h),m=await s.getDimensions(d),y=h==="y",v=y?"top":"left",x=y?"bottom":"right",_=y?"clientHeight":"clientWidth",A=n.reference[f]+n.reference[h]-g[h]-n.floating[f],C=g[h]-n.reference[h],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let O=S?S[_]:0;(!O||!await(s.isElement==null?void 0:s.isElement(S)))&&(O=a.floating[_]||n.floating[f]);const V=A/2-C/2,X=O/2-m[f]/2-1,gt=G(b[v],X),mt=G(b[x],X),R=gt,vt=O-m[f]-mt,$=O/2-m[f]/2+V,M=Yt(R,$,vt),N=!l.arrow&&ut(i)!=null&&$!=M&&n.reference[f]/2-($<R?gt:mt)-m[f]/2<0,j=N?$<R?$-R:$-vt:0;return{[h]:g[h]+j,data:{[h]:M,centerOffset:$-M-j,...N&&{alignmentOffset:j}},reset:N}}}),Eo=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:i,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:d}=e,{mainAxis:p=!0,crossAxis:b=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...y}=dt(t,e);if((o=n.arrow)!=null&&o.alignmentOffset)return{};const v=Q(i),x=Q(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(d.floating)),A=g||(x||!m?[Tt(a)]:yo(a));!g&&f!=="none"&&A.push(...xo(a,m,f,_));const C=[a,...A],S=await Qt(e,y),O=[];let V=((r=n.flip)==null?void 0:r.overflows)||[];if(p&&O.push(S[v]),b){const R=vo(i,s,_);O.push(S[R[0]],S[R[1]])}if(V=[...V,{placement:i,overflows:O}],!O.every(R=>R<=0)){var X,gt;const R=(((X=n.flip)==null?void 0:X.index)||0)+1,vt=C[R];if(vt)return{data:{index:R,overflows:V},reset:{placement:vt}};let $=(gt=V.filter(M=>M.overflows[0]<=0).sort((M,N)=>M.overflows[1]-N.overflows[1])[0])==null?void 0:gt.placement;if(!$)switch(h){case"bestFit":{var mt;const M=(mt=V.map(N=>[N.placement,N.overflows.filter(j=>j>0).reduce((j,Ke)=>j+Ke,0)]).sort((N,j)=>N[1]-j[1])[0])==null?void 0:mt[0];M&&($=M);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};async function So(t,e){const{placement:o,platform:r,elements:i}=t,n=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Q(o),a=ut(o),l=wt(o)==="y",d=["left","top"].includes(s)?-1:1,p=n&&l?-1:1,b=dt(e,t);let{mainAxis:g,crossAxis:h,alignmentAxis:f}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return a&&typeof f=="number"&&(h=a==="end"?f*-1:f),l?{x:h*p,y:g*d}:{x:g*d,y:h*p}}const Ao=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,i=await So(e,t);return{x:o+i.x,y:r+i.y,data:i}}}},Lo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:i}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:v,y:x}=y;return{x:v,y:x}}},...l}=dt(t,e),d={x:o,y:r},p=await Qt(e,l),b=wt(Q(i)),g=me(b);let h=d[g],f=d[b];if(n){const y=g==="y"?"top":"left",v=g==="y"?"bottom":"right",x=h+p[y],_=h-p[v];h=Yt(x,h,_)}if(s){const y=b==="y"?"top":"left",v=b==="y"?"bottom":"right",x=f+p[y],_=f-p[v];f=Yt(x,f,_)}const m=a.fn({...e,[g]:h,[b]:f});return{...m,data:{x:m.x-o,y:m.y-r}}}}},we=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:i,elements:n}=e,{apply:s=()=>{},...a}=dt(t,e),l=await Qt(e,a),d=Q(o),p=ut(o),b=wt(o)==="y",{width:g,height:h}=r.floating;let f,m;d==="top"||d==="bottom"?(f=d,m=p===(await(i.isRTL==null?void 0:i.isRTL(n.floating))?"start":"end")?"left":"right"):(m=d,f=p==="end"?"top":"bottom");const y=h-l[f],v=g-l[m],x=!e.middlewareData.shift;let _=y,A=v;if(b){const S=g-l.left-l.right;A=p||x?G(v,S):S}else{const S=h-l.top-l.bottom;_=p||x?G(y,S):S}if(x&&!p){const S=P(l.left,0),O=P(l.right,0),V=P(l.top,0),X=P(l.bottom,0);b?A=g-2*(S!==0||O!==0?S+O:P(l.left,l.right)):_=h-2*(V!==0||X!==0?V+X:P(l.top,l.bottom))}await s({...e,availableWidth:A,availableHeight:_});const C=await i.getDimensions(n.floating);return g!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function tt(t){return xe(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(xe(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function xe(t){return t instanceof Node||t instanceof F(t).Node}function K(t){return t instanceof Element||t instanceof F(t).Element}function W(t){return t instanceof HTMLElement||t instanceof F(t).HTMLElement}function ke(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function xt(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function zo(t){return["table","td","th"].includes(tt(t))}function te(t){const e=ee(),o=T(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function Oo(t){let e=ht(t);for(;W(e)&&!Vt(e);){if(te(e))return e;e=ht(e)}return null}function ee(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vt(t){return["html","body","#document"].includes(tt(t))}function T(t){return F(t).getComputedStyle(t)}function Mt(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ht(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||ke(t)&&t.host||q(t);return ke(e)?e.host:e}function _e(t){const e=ht(t);return Vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:W(e)&&xt(e)?e:_e(e)}function kt(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=_e(t),n=i===((r=t.ownerDocument)==null?void 0:r.body),s=F(i);return n?e.concat(s,s.visualViewport||[],xt(i)?i:[],s.frameElement&&o?kt(s.frameElement):[]):e.concat(i,kt(i,[],o))}function Ce(t){const e=T(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=W(t),n=i?t.offsetWidth:o,s=i?t.offsetHeight:r,a=Rt(o)!==n||Rt(r)!==s;return a&&(o=n,r=s),{width:o,height:r,$:a}}function oe(t){return K(t)?t:t.contextElement}function pt(t){const e=oe(t);if(!W(e))return J(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Ce(e);let s=(n?Rt(o.width):o.width)/r,a=(n?Rt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const $o=J(0);function Ee(t){const e=F(t);return!ee()||!e.visualViewport?$o:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Po(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==F(t)?!1:e}function it(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),n=oe(t);let s=J(1);e&&(r?K(r)&&(s=pt(r)):s=pt(t));const a=Po(n,o,r)?Ee(n):J(0);let l=(i.left+a.x)/s.x,d=(i.top+a.y)/s.y,p=i.width/s.x,b=i.height/s.y;if(n){const g=F(n),h=r&&K(r)?F(r):r;let f=g.frameElement;for(;f&&r&&h!==g;){const m=pt(f),y=f.getBoundingClientRect(),v=T(f),x=y.left+(f.clientLeft+parseFloat(v.paddingLeft))*m.x,_=y.top+(f.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,d*=m.y,p*=m.x,b*=m.y,l+=x,d+=_,f=F(f).frameElement}}return Dt({width:p,height:b,x:l,y:d})}function Fo(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=W(o),n=q(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=J(1);const l=J(0);if((i||!i&&r!=="fixed")&&((tt(o)!=="body"||xt(n))&&(s=Mt(o)),W(o))){const d=it(o);a=pt(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}}function Ro(t){return Array.from(t.getClientRects())}function Se(t){return it(q(t)).left+Mt(t).scrollLeft}function Bo(t){const e=q(t),o=Mt(t),r=t.ownerDocument.body,i=P(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=P(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-o.scrollLeft+Se(t);const a=-o.scrollTop;return T(r).direction==="rtl"&&(s+=P(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:s,y:a}}function To(t,e){const o=F(t),r=q(t),i=o.visualViewport;let n=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;const d=ee();(!d||d&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:n,height:s,x:a,y:l}}function Do(t,e){const o=it(t,!0,e==="fixed"),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=W(t)?pt(t):J(1),s=t.clientWidth*n.x,a=t.clientHeight*n.y,l=i*n.x,d=r*n.y;return{width:s,height:a,x:l,y:d}}function Ae(t,e,o){let r;if(e==="viewport")r=To(t,o);else if(e==="document")r=Bo(q(t));else if(K(e))r=Do(e,o);else{const i=Ee(t);r={...e,x:e.x-i.x,y:e.y-i.y}}return Dt(r)}function Le(t,e){const o=ht(t);return o===e||!K(o)||Vt(o)?!1:T(o).position==="fixed"||Le(o,e)}function Vo(t,e){const o=e.get(t);if(o)return o;let r=kt(t,[],!1).filter(a=>K(a)&&tt(a)!=="body"),i=null;const n=T(t).position==="fixed";let s=n?ht(t):t;for(;K(s)&&!Vt(s);){const a=T(s),l=te(s);!l&&a.position==="fixed"&&(i=null),(n?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xt(s)&&!l&&Le(t,s))?r=r.filter(p=>p!==s):i=a,s=ht(s)}return e.set(t,r),r}function Mo(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const s=[...o==="clippingAncestors"?Vo(e,this._c):[].concat(o),r],a=s[0],l=s.reduce((d,p)=>{const b=Ae(e,p,i);return d.top=P(b.top,d.top),d.right=G(b.right,d.right),d.bottom=G(b.bottom,d.bottom),d.left=P(b.left,d.left),d},Ae(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function No(t){return Ce(t)}function Io(t,e,o){const r=W(e),i=q(e),n=o==="fixed",s=it(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=J(0);if(r||!r&&!n)if((tt(e)!=="body"||xt(i))&&(a=Mt(e)),r){const d=it(e,!0,n,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Se(i));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function ze(t,e){return!W(t)||T(t).position==="fixed"?null:e?e(t):t.offsetParent}function Oe(t,e){const o=F(t);if(!W(t))return o;let r=ze(t,e);for(;r&&zo(r)&&T(r).position==="static";)r=ze(r,e);return r&&(tt(r)==="html"||tt(r)==="body"&&T(r).position==="static"&&!te(r))?o:r||Oo(t)||o}const Wo=async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Oe,n=this.getDimensions;return{reference:Io(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}};function Ho(t){return T(t).direction==="rtl"}const Nt={convertOffsetParentRelativeRectToViewportRelativeRect:Fo,getDocumentElement:q,getClippingRect:Mo,getOffsetParent:Oe,getElementRects:Wo,getClientRects:Ro,getDimensions:No,getScale:pt,isElement:K,isRTL:Ho};function jo(t,e){let o=null,r;const i=q(t);function n(){clearTimeout(r),o&&o.disconnect(),o=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),n();const{left:d,top:p,width:b,height:g}=t.getBoundingClientRect();if(a||e(),!b||!g)return;const h=Bt(p),f=Bt(i.clientWidth-(d+b)),m=Bt(i.clientHeight-(p+g)),y=Bt(d),x={rootMargin:-h+"px "+-f+"px "+-m+"px "+-y+"px",threshold:P(0,G(1,l))||1};let _=!0;function A(C){const S=C[0].intersectionRatio;if(S!==l){if(!_)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},100)}_=!1}try{o=new IntersectionObserver(A,{...x,root:i.ownerDocument})}catch{o=new IntersectionObserver(A,x)}o.observe(t)}return s(!0),n}function Uo(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:n=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=oe(t),p=i||n?[...d?kt(d):[],...kt(e)]:[];p.forEach(v=>{i&&v.addEventListener("scroll",o,{passive:!0}),n&&v.addEventListener("resize",o)});const b=d&&a?jo(d,o):null;let g=-1,h=null;s&&(h=new ResizeObserver(v=>{let[x]=v;x&&x.target===d&&h&&(h.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{h&&h.observe(e)})),o()}),d&&!l&&h.observe(d),h.observe(e));let f,m=l?it(t):null;l&&y();function y(){const v=it(t);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&o(),m=v,f=requestAnimationFrame(y)}return o(),()=>{p.forEach(v=>{i&&v.removeEventListener("scroll",o),n&&v.removeEventListener("resize",o)}),b&&b(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const qo=(t,e,o)=>{const r=new Map,i={platform:Nt,...o},n={...i.platform,_c:r};return _o(t,e,{...i,platform:n})};function Ko(t){return Xo(t)}function re(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xo(t){for(let e=t;e;e=re(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=re(t);e;e=re(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function Yo(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t&&("contextElement"in t?t instanceof Element:!0)}var k=class extends B{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0,this.hoverBridge=!1,this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorEl){const t=this.anchorEl.getBoundingClientRect(),e=this.popup.getBoundingClientRect(),o=this.placement.includes("top")||this.placement.includes("bottom");let r=0,i=0,n=0,s=0,a=0,l=0,d=0,p=0;o?t.top<e.top?(r=t.left,i=t.bottom,n=t.right,s=t.bottom,a=e.left,l=e.top,d=e.right,p=e.top):(r=e.left,i=e.bottom,n=e.right,s=e.bottom,a=t.left,l=t.top,d=t.right,p=t.top):t.left<e.left?(r=t.right,i=t.top,n=e.left,s=e.top,a=t.right,l=t.bottom,d=e.left,p=e.bottom):(r=e.right,i=e.top,n=t.left,s=t.top,a=e.right,l=e.bottom,d=t.left,p=t.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${r}px`),this.style.setProperty("--hover-bridge-top-left-y",`${i}px`),this.style.setProperty("--hover-bridge-top-right-x",`${n}px`),this.style.setProperty("--hover-bridge-top-right-y",`${s}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${a}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${l}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${d}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${p}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||Yo(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=Uo(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[Ao({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(we({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",i=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=i?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(Eo({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(Lo({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(we({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(Co({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>Nt.getOffsetParent(o,Ko):Nt.getOffsetParent;qo(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:$t(rt({},Nt),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:i,placement:n})=>{const s=getComputedStyle(this).direction==="rtl",a={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const l=i.arrow.x,d=i.arrow.y;let p="",b="",g="",h="";if(this.arrowPlacement==="start"){const f=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",b=s?f:"",h=s?"":f}else if(this.arrowPlacement==="end"){const f=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";b=s?"":f,h=s?f:"",g=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":"",p=typeof d=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(h=typeof l=="number"?`${l}px`:"",p=typeof d=="number"?`${d}px`:"");Object.assign(this.arrowEl.style,{top:p,right:b,bottom:g,left:h,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),requestAnimationFrame(()=>this.updateHoverBridge()),this.emit("sl-reposition")}render(){return Y`
327
+ `;const G=Math.min,P=Math.max,Bt=Math.round,Tt=Math.floor,J=t=>({x:t,y:t}),mo={left:"right",right:"left",bottom:"top",top:"bottom"},vo={start:"end",end:"start"};function Gt(t,e,o){return P(t,G(e,o))}function dt(t,e){return typeof t=="function"?t(e):t}function Q(t){return t.split("-")[0]}function ut(t){return t.split("-")[1]}function me(t){return t==="x"?"y":"x"}function Jt(t){return t==="y"?"height":"width"}function xt(t){return["top","bottom"].includes(Q(t))?"y":"x"}function Qt(t){return me(xt(t))}function yo(t,e,o){o===void 0&&(o=!1);const r=ut(t),i=Qt(t),n=Jt(i);let s=i==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=Dt(s)),[s,Dt(s)]}function wo(t){const e=Dt(t);return[te(t),e,te(e)]}function te(t){return t.replace(/start|end/g,e=>vo[e])}function xo(t,e,o){const r=["left","right"],i=["right","left"],n=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:r:e?r:i;case"left":case"right":return e?n:s;default:return[]}}function ko(t,e,o,r){const i=ut(t);let n=xo(Q(t),o==="start",r);return i&&(n=n.map(s=>s+"-"+i),e&&(n=n.concat(n.map(te)))),n}function Dt(t){return t.replace(/left|right|bottom|top/g,e=>mo[e])}function _o(t){return{top:0,right:0,bottom:0,left:0,...t}}function ve(t){return typeof t!="number"?_o(t):{top:t,right:t,bottom:t,left:t}}function Vt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ye(t,e,o){let{reference:r,floating:i}=t;const n=xt(e),s=Qt(e),a=Jt(s),l=Q(e),d=n==="y",p=r.x+r.width/2-i.width/2,b=r.y+r.height/2-i.height/2,g=r[a]/2-i[a]/2;let h;switch(l){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:b};break;case"left":h={x:r.x-i.width,y:b};break;default:h={x:r.x,y:r.y}}switch(ut(e)){case"start":h[s]-=g*(o&&d?-1:1);break;case"end":h[s]+=g*(o&&d?-1:1);break}return h}const Co=async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:b}=ye(d,r,l),g=r,h={},f=0;for(let m=0;m<a.length;m++){const{name:y,fn:v}=a[m],{x,y:_,data:A,reset:C}=await v({x:p,y:b,initialPlacement:r,placement:g,strategy:i,middlewareData:h,rects:d,platform:s,elements:{reference:t,floating:e}});if(p=x??p,b=_??b,h={...h,[y]:{...h[y],...A}},C&&f<=50){f++,typeof C=="object"&&(C.placement&&(g=C.placement),C.rects&&(d=C.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):C.rects),{x:p,y:b}=ye(d,g,l)),m=-1;continue}}return{x:p,y:b,placement:g,strategy:i,middlewareData:h}};async function ee(t,e){var o;e===void 0&&(e={});const{x:r,y:i,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:b="floating",altBoundary:g=!1,padding:h=0}=dt(e,t),f=ve(h),y=a[g?b==="floating"?"reference":"floating":b],v=Vt(await n.getClippingRect({element:(o=await(n.isElement==null?void 0:n.isElement(y)))==null||o?y:y.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(a.floating)),boundary:d,rootBoundary:p,strategy:l})),x=b==="floating"?{...s.floating,x:r,y:i}:s.reference,_=await(n.getOffsetParent==null?void 0:n.getOffsetParent(a.floating)),A=await(n.isElement==null?void 0:n.isElement(_))?await(n.getScale==null?void 0:n.getScale(_))||{x:1,y:1}:{x:1,y:1},C=Vt(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:_,strategy:l}):x);return{top:(v.top-C.top+f.top)/A.y,bottom:(C.bottom-v.bottom+f.bottom)/A.y,left:(v.left-C.left+f.left)/A.x,right:(C.right-v.right+f.right)/A.x}}const Eo=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:i,rects:n,platform:s,elements:a,middlewareData:l}=e,{element:d,padding:p=0}=dt(t,e)||{};if(d==null)return{};const b=ve(p),g={x:o,y:r},h=Qt(i),f=Jt(h),m=await s.getDimensions(d),y=h==="y",v=y?"top":"left",x=y?"bottom":"right",_=y?"clientHeight":"clientWidth",A=n.reference[f]+n.reference[h]-g[h]-n.floating[f],C=g[h]-n.reference[h],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let O=S?S[_]:0;(!O||!await(s.isElement==null?void 0:s.isElement(S)))&&(O=a.floating[_]||n.floating[f]);const V=A/2-C/2,X=O/2-m[f]/2-1,gt=G(b[v],X),mt=G(b[x],X),R=gt,vt=O-m[f]-mt,$=O/2-m[f]/2+V,M=Gt(R,$,vt),N=!l.arrow&&ut(i)!=null&&$!=M&&n.reference[f]/2-($<R?gt:mt)-m[f]/2<0,j=N?$<R?$-R:$-vt:0;return{[h]:g[h]+j,data:{[h]:M,centerOffset:$-M-j,...N&&{alignmentOffset:j}},reset:N}}}),So=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:i,middlewareData:n,rects:s,initialPlacement:a,platform:l,elements:d}=e,{mainAxis:p=!0,crossAxis:b=!0,fallbackPlacements:g,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...y}=dt(t,e);if((o=n.arrow)!=null&&o.alignmentOffset)return{};const v=Q(i),x=Q(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(d.floating)),A=g||(x||!m?[Dt(a)]:wo(a));!g&&f!=="none"&&A.push(...ko(a,m,f,_));const C=[a,...A],S=await ee(e,y),O=[];let V=((r=n.flip)==null?void 0:r.overflows)||[];if(p&&O.push(S[v]),b){const R=yo(i,s,_);O.push(S[R[0]],S[R[1]])}if(V=[...V,{placement:i,overflows:O}],!O.every(R=>R<=0)){var X,gt;const R=(((X=n.flip)==null?void 0:X.index)||0)+1,vt=C[R];if(vt)return{data:{index:R,overflows:V},reset:{placement:vt}};let $=(gt=V.filter(M=>M.overflows[0]<=0).sort((M,N)=>M.overflows[1]-N.overflows[1])[0])==null?void 0:gt.placement;if(!$)switch(h){case"bestFit":{var mt;const M=(mt=V.map(N=>[N.placement,N.overflows.filter(j=>j>0).reduce((j,Ke)=>j+Ke,0)]).sort((N,j)=>N[1]-j[1])[0])==null?void 0:mt[0];M&&($=M);break}case"initialPlacement":$=a;break}if(i!==$)return{reset:{placement:$}}}return{}}}};async function Ao(t,e){const{placement:o,platform:r,elements:i}=t,n=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Q(o),a=ut(o),l=xt(o)==="y",d=["left","top"].includes(s)?-1:1,p=n&&l?-1:1,b=dt(e,t);let{mainAxis:g,crossAxis:h,alignmentAxis:f}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return a&&typeof f=="number"&&(h=a==="end"?f*-1:f),l?{x:h*p,y:g*d}:{x:g*d,y:h*p}}const Lo=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,i=await Ao(e,t);return{x:o+i.x,y:r+i.y,data:i}}}},zo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:i}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:v,y:x}=y;return{x:v,y:x}}},...l}=dt(t,e),d={x:o,y:r},p=await ee(e,l),b=xt(Q(i)),g=me(b);let h=d[g],f=d[b];if(n){const y=g==="y"?"top":"left",v=g==="y"?"bottom":"right",x=h+p[y],_=h-p[v];h=Gt(x,h,_)}if(s){const y=b==="y"?"top":"left",v=b==="y"?"bottom":"right",x=f+p[y],_=f-p[v];f=Gt(x,f,_)}const m=a.fn({...e,[g]:h,[b]:f});return{...m,data:{x:m.x-o,y:m.y-r}}}}},we=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:i,elements:n}=e,{apply:s=()=>{},...a}=dt(t,e),l=await ee(e,a),d=Q(o),p=ut(o),b=xt(o)==="y",{width:g,height:h}=r.floating;let f,m;d==="top"||d==="bottom"?(f=d,m=p===(await(i.isRTL==null?void 0:i.isRTL(n.floating))?"start":"end")?"left":"right"):(m=d,f=p==="end"?"top":"bottom");const y=h-l[f],v=g-l[m],x=!e.middlewareData.shift;let _=y,A=v;if(b){const S=g-l.left-l.right;A=p||x?G(v,S):S}else{const S=h-l.top-l.bottom;_=p||x?G(y,S):S}if(x&&!p){const S=P(l.left,0),O=P(l.right,0),V=P(l.top,0),X=P(l.bottom,0);b?A=g-2*(S!==0||O!==0?S+O:P(l.left,l.right)):_=h-2*(V!==0||X!==0?V+X:P(l.top,l.bottom))}await s({...e,availableWidth:A,availableHeight:_});const C=await i.getDimensions(n.floating);return g!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function tt(t){return xe(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(xe(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function xe(t){return t instanceof Node||t instanceof F(t).Node}function K(t){return t instanceof Element||t instanceof F(t).Element}function W(t){return t instanceof HTMLElement||t instanceof F(t).HTMLElement}function ke(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}function kt(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Oo(t){return["table","td","th"].includes(tt(t))}function oe(t){const e=re(),o=T(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function $o(t){let e=ht(t);for(;W(e)&&!Mt(e);){if(oe(e))return e;e=ht(e)}return null}function re(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mt(t){return["html","body","#document"].includes(tt(t))}function T(t){return F(t).getComputedStyle(t)}function Nt(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ht(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||ke(t)&&t.host||q(t);return ke(e)?e.host:e}function _e(t){const e=ht(t);return Mt(e)?t.ownerDocument?t.ownerDocument.body:t.body:W(e)&&kt(e)?e:_e(e)}function _t(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=_e(t),n=i===((r=t.ownerDocument)==null?void 0:r.body),s=F(i);return n?e.concat(s,s.visualViewport||[],kt(i)?i:[],s.frameElement&&o?_t(s.frameElement):[]):e.concat(i,_t(i,[],o))}function Ce(t){const e=T(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=W(t),n=i?t.offsetWidth:o,s=i?t.offsetHeight:r,a=Bt(o)!==n||Bt(r)!==s;return a&&(o=n,r=s),{width:o,height:r,$:a}}function ie(t){return K(t)?t:t.contextElement}function pt(t){const e=ie(t);if(!W(e))return J(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Ce(e);let s=(n?Bt(o.width):o.width)/r,a=(n?Bt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Po=J(0);function Ee(t){const e=F(t);return!re()||!e.visualViewport?Po:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fo(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==F(t)?!1:e}function nt(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),n=ie(t);let s=J(1);e&&(r?K(r)&&(s=pt(r)):s=pt(t));const a=Fo(n,o,r)?Ee(n):J(0);let l=(i.left+a.x)/s.x,d=(i.top+a.y)/s.y,p=i.width/s.x,b=i.height/s.y;if(n){const g=F(n),h=r&&K(r)?F(r):r;let f=g.frameElement;for(;f&&r&&h!==g;){const m=pt(f),y=f.getBoundingClientRect(),v=T(f),x=y.left+(f.clientLeft+parseFloat(v.paddingLeft))*m.x,_=y.top+(f.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,d*=m.y,p*=m.x,b*=m.y,l+=x,d+=_,f=F(f).frameElement}}return Vt({width:p,height:b,x:l,y:d})}function Ro(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=W(o),n=q(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=J(1);const l=J(0);if((i||!i&&r!=="fixed")&&((tt(o)!=="body"||kt(n))&&(s=Nt(o)),W(o))){const d=nt(o);a=pt(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}}function Bo(t){return Array.from(t.getClientRects())}function Se(t){return nt(q(t)).left+Nt(t).scrollLeft}function To(t){const e=q(t),o=Nt(t),r=t.ownerDocument.body,i=P(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=P(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-o.scrollLeft+Se(t);const a=-o.scrollTop;return T(r).direction==="rtl"&&(s+=P(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:s,y:a}}function Do(t,e){const o=F(t),r=q(t),i=o.visualViewport;let n=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){n=i.width,s=i.height;const d=re();(!d||d&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:n,height:s,x:a,y:l}}function Vo(t,e){const o=nt(t,!0,e==="fixed"),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=W(t)?pt(t):J(1),s=t.clientWidth*n.x,a=t.clientHeight*n.y,l=i*n.x,d=r*n.y;return{width:s,height:a,x:l,y:d}}function Ae(t,e,o){let r;if(e==="viewport")r=Do(t,o);else if(e==="document")r=To(q(t));else if(K(e))r=Vo(e,o);else{const i=Ee(t);r={...e,x:e.x-i.x,y:e.y-i.y}}return Vt(r)}function Le(t,e){const o=ht(t);return o===e||!K(o)||Mt(o)?!1:T(o).position==="fixed"||Le(o,e)}function Mo(t,e){const o=e.get(t);if(o)return o;let r=_t(t,[],!1).filter(a=>K(a)&&tt(a)!=="body"),i=null;const n=T(t).position==="fixed";let s=n?ht(t):t;for(;K(s)&&!Mt(s);){const a=T(s),l=oe(s);!l&&a.position==="fixed"&&(i=null),(n?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||kt(s)&&!l&&Le(t,s))?r=r.filter(p=>p!==s):i=a,s=ht(s)}return e.set(t,r),r}function No(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const s=[...o==="clippingAncestors"?Mo(e,this._c):[].concat(o),r],a=s[0],l=s.reduce((d,p)=>{const b=Ae(e,p,i);return d.top=P(b.top,d.top),d.right=G(b.right,d.right),d.bottom=G(b.bottom,d.bottom),d.left=P(b.left,d.left),d},Ae(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Io(t){return Ce(t)}function Wo(t,e,o){const r=W(e),i=q(e),n=o==="fixed",s=nt(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=J(0);if(r||!r&&!n)if((tt(e)!=="body"||kt(i))&&(a=Nt(e)),r){const d=nt(e,!0,n,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Se(i));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function ze(t,e){return!W(t)||T(t).position==="fixed"?null:e?e(t):t.offsetParent}function Oe(t,e){const o=F(t);if(!W(t))return o;let r=ze(t,e);for(;r&&Oo(r)&&T(r).position==="static";)r=ze(r,e);return r&&(tt(r)==="html"||tt(r)==="body"&&T(r).position==="static"&&!oe(r))?o:r||$o(t)||o}const Ho=async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Oe,n=this.getDimensions;return{reference:Wo(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}};function jo(t){return T(t).direction==="rtl"}const It={convertOffsetParentRelativeRectToViewportRelativeRect:Ro,getDocumentElement:q,getClippingRect:No,getOffsetParent:Oe,getElementRects:Ho,getClientRects:Bo,getDimensions:Io,getScale:pt,isElement:K,isRTL:jo};function Uo(t,e){let o=null,r;const i=q(t);function n(){clearTimeout(r),o&&o.disconnect(),o=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),n();const{left:d,top:p,width:b,height:g}=t.getBoundingClientRect();if(a||e(),!b||!g)return;const h=Tt(p),f=Tt(i.clientWidth-(d+b)),m=Tt(i.clientHeight-(p+g)),y=Tt(d),x={rootMargin:-h+"px "+-f+"px "+-m+"px "+-y+"px",threshold:P(0,G(1,l))||1};let _=!0;function A(C){const S=C[0].intersectionRatio;if(S!==l){if(!_)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},100)}_=!1}try{o=new IntersectionObserver(A,{...x,root:i.ownerDocument})}catch{o=new IntersectionObserver(A,x)}o.observe(t)}return s(!0),n}function qo(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:n=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,d=ie(t),p=i||n?[...d?_t(d):[],..._t(e)]:[];p.forEach(v=>{i&&v.addEventListener("scroll",o,{passive:!0}),n&&v.addEventListener("resize",o)});const b=d&&a?Uo(d,o):null;let g=-1,h=null;s&&(h=new ResizeObserver(v=>{let[x]=v;x&&x.target===d&&h&&(h.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{h&&h.observe(e)})),o()}),d&&!l&&h.observe(d),h.observe(e));let f,m=l?nt(t):null;l&&y();function y(){const v=nt(t);m&&(v.x!==m.x||v.y!==m.y||v.width!==m.width||v.height!==m.height)&&o(),m=v,f=requestAnimationFrame(y)}return o(),()=>{p.forEach(v=>{i&&v.removeEventListener("scroll",o),n&&v.removeEventListener("resize",o)}),b&&b(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const Ko=(t,e,o)=>{const r=new Map,i={platform:It,...o},n={...i.platform,_c:r};return Co(t,e,{...i,platform:n})};function Xo(t){return Yo(t)}function ne(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yo(t){for(let e=t;e;e=ne(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ne(t);e;e=ne(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function Zo(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t&&("contextElement"in t?t instanceof Element:!0)}var k=class extends B{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0,this.hoverBridge=!1,this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorEl){const t=this.anchorEl.getBoundingClientRect(),e=this.popup.getBoundingClientRect(),o=this.placement.includes("top")||this.placement.includes("bottom");let r=0,i=0,n=0,s=0,a=0,l=0,d=0,p=0;o?t.top<e.top?(r=t.left,i=t.bottom,n=t.right,s=t.bottom,a=e.left,l=e.top,d=e.right,p=e.top):(r=e.left,i=e.bottom,n=e.right,s=e.bottom,a=t.left,l=t.top,d=t.right,p=t.top):t.left<e.left?(r=t.right,i=t.top,n=e.left,s=e.top,a=t.right,l=t.bottom,d=e.left,p=e.bottom):(r=e.right,i=e.top,n=t.left,s=t.top,a=e.right,l=e.bottom,d=t.left,p=t.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${r}px`),this.style.setProperty("--hover-bridge-top-left-y",`${i}px`),this.style.setProperty("--hover-bridge-top-right-x",`${n}px`),this.style.setProperty("--hover-bridge-top-right-y",`${s}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${a}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${l}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${d}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${p}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||Zo(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=qo(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[Lo({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(we({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",i=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=i?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(So({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(zo({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(we({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(Eo({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>It.getOffsetParent(o,Xo):It.getOffsetParent;Ko(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:$t(rt({},It),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:i,placement:n})=>{const s=getComputedStyle(this).direction==="rtl",a={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];if(this.setAttribute("data-current-placement",n),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const l=i.arrow.x,d=i.arrow.y;let p="",b="",g="",h="";if(this.arrowPlacement==="start"){const f=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";p=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",b=s?f:"",h=s?"":f}else if(this.arrowPlacement==="end"){const f=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";b=s?"":f,h=s?f:"",g=typeof d=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":"",p=typeof d=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(h=typeof l=="number"?`${l}px`:"",p=typeof d=="number"?`${d}px`:"");Object.assign(this.arrowEl.style,{top:p,right:b,bottom:g,left:h,[a]:"calc(var(--arrow-size-diagonal) * -1)"})}}),requestAnimationFrame(()=>this.updateHoverBridge()),this.emit("sl-reposition")}render(){return Y`
313
328
  <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
314
329
 
315
330
  <span
@@ -324,7 +339,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
324
339
  <slot></slot>
325
340
  ${this.arrow?Y`<div part="arrow" class="popup__arrow" role="presentation"></div>`:""}
326
341
  </div>
327
- `}};k.styles=[Z,bo],c([I(".popup")],k.prototype,"popup",2),c([I(".popup__arrow")],k.prototype,"arrowEl",2),c([u()],k.prototype,"anchor",2),c([u({type:Boolean,reflect:!0})],k.prototype,"active",2),c([u({reflect:!0})],k.prototype,"placement",2),c([u({reflect:!0})],k.prototype,"strategy",2),c([u({type:Number})],k.prototype,"distance",2),c([u({type:Number})],k.prototype,"skidding",2),c([u({type:Boolean})],k.prototype,"arrow",2),c([u({attribute:"arrow-placement"})],k.prototype,"arrowPlacement",2),c([u({attribute:"arrow-padding",type:Number})],k.prototype,"arrowPadding",2),c([u({type:Boolean})],k.prototype,"flip",2),c([u({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],k.prototype,"flipFallbackPlacements",2),c([u({attribute:"flip-fallback-strategy"})],k.prototype,"flipFallbackStrategy",2),c([u({type:Object})],k.prototype,"flipBoundary",2),c([u({attribute:"flip-padding",type:Number})],k.prototype,"flipPadding",2),c([u({type:Boolean})],k.prototype,"shift",2),c([u({type:Object})],k.prototype,"shiftBoundary",2),c([u({attribute:"shift-padding",type:Number})],k.prototype,"shiftPadding",2),c([u({attribute:"auto-size"})],k.prototype,"autoSize",2),c([u()],k.prototype,"sync",2),c([u({type:Object})],k.prototype,"autoSizeBoundary",2),c([u({attribute:"auto-size-padding",type:Number})],k.prototype,"autoSizePadding",2),c([u({attribute:"hover-bridge",type:Boolean})],k.prototype,"hoverBridge",2);var $e=new Map,Zo=new WeakMap;function Go(t){return t??{keyframes:[],options:{duration:0}}}function Pe(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function nt(t,e){$e.set(t,Go(e))}function st(t,e,o){const r=Zo.get(t);if(r?.[e])return Pe(r[e],o.dir);const i=$e.get(e);return i?Pe(i,o.dir):{keyframes:[],options:{duration:0}}}function It(t,e){return new Promise(o=>{function r(i){i.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function at(t,e,o){return new Promise(r=>{if(o?.duration===1/0)throw new Error("Promise-based animations must be finite.");const i=t.animate(e,$t(rt({},o),{duration:Jo()?0:o.duration}));i.addEventListener("cancel",r,{once:!0}),i.addEventListener("finish",r,{once:!0})})}function Fe(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function Jo(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function ft(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{e.cancel(),requestAnimationFrame(o)})))}const ie=new Set,Qo=new MutationObserver(De),bt=new Map;let Re=document.documentElement.dir||"ltr",Be=document.documentElement.lang||navigator.language,lt;Qo.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function Te(...t){t.map(e=>{const o=e.$code.toLowerCase();bt.has(o)?bt.set(o,Object.assign(Object.assign({},bt.get(o)),e)):bt.set(o,e),lt||(lt=e)}),De()}function De(){Re=document.documentElement.dir||"ltr",Be=document.documentElement.lang||navigator.language,[...ie.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let tr=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){ie.add(this.host)}hostDisconnected(){ie.delete(this.host)}dir(){return`${this.host.dir||Re}`.toLowerCase()}lang(){return`${this.host.lang||Be}`.toLowerCase()}getTranslationData(e){var o,r;const i=new Intl.Locale(e.replace(/_/g,"-")),n=i?.language.toLowerCase(),s=(r=(o=i?.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",a=bt.get(`${n}-${s}`),l=bt.get(n);return{locale:i,language:n,region:s,primary:a,secondary:l}}exists(e,o){var r;const{primary:i,secondary:n}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(i&&i[e]||n&&n[e]||o.includeFallback&&lt&&lt[e])}term(e,...o){const{primary:r,secondary:i}=this.getTranslationData(this.lang());let n;if(r&&r[e])n=r[e];else if(i&&i[e])n=i[e];else if(lt&&lt[e])n=lt[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof n=="function"?n(...o):n}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var Ve={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};Te(Ve);var er=Ve,Wt=class extends tr{};Te(er);function ct(t,e){const o=rt({waitUntilFirstUpdate:!1},e);return(r,i)=>{const{update:n}=r,s=Array.isArray(t)?t:[t];r.update=function(a){s.forEach(l=>{const d=l;if(a.has(d)){const p=a.get(d),b=this[d];p!==b&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[i](p,b)}}),n.call(this,a)}}}var L=class extends B{constructor(){super(),this.localize=new Wt(this),this.content="",this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger="hover focus",this.hoist=!1,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleDocumentKeyDown=t=>{t.key==="Escape"&&(t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger("hover")){const t=Fe(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){const t=Fe(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}},this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}disconnectedCallback(){var t;(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){var t,e;if(this.open){if(this.disabled)return;this.emit("sl-show"),"CloseWatcher"in window?((t=this.closeWatcher)==null||t.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener("keydown",this.handleDocumentKeyDown),await ft(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:o,options:r}=st(this,"tooltip.show",{dir:this.localize.dir()});await at(this.popup.popup,o,r),this.popup.reposition(),this.emit("sl-after-show")}else{this.emit("sl-hide"),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown),await ft(this.body);const{keyframes:o,options:r}=st(this,"tooltip.hide",{dir:this.localize.dir()});await at(this.popup.popup,o,r),this.popup.active=!1,this.body.hidden=!0,this.emit("sl-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,It(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,It(this,"sl-after-hide")}render(){return Y`
342
+ `}};k.styles=[Z,go],c([I(".popup")],k.prototype,"popup",2),c([I(".popup__arrow")],k.prototype,"arrowEl",2),c([u()],k.prototype,"anchor",2),c([u({type:Boolean,reflect:!0})],k.prototype,"active",2),c([u({reflect:!0})],k.prototype,"placement",2),c([u({reflect:!0})],k.prototype,"strategy",2),c([u({type:Number})],k.prototype,"distance",2),c([u({type:Number})],k.prototype,"skidding",2),c([u({type:Boolean})],k.prototype,"arrow",2),c([u({attribute:"arrow-placement"})],k.prototype,"arrowPlacement",2),c([u({attribute:"arrow-padding",type:Number})],k.prototype,"arrowPadding",2),c([u({type:Boolean})],k.prototype,"flip",2),c([u({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],k.prototype,"flipFallbackPlacements",2),c([u({attribute:"flip-fallback-strategy"})],k.prototype,"flipFallbackStrategy",2),c([u({type:Object})],k.prototype,"flipBoundary",2),c([u({attribute:"flip-padding",type:Number})],k.prototype,"flipPadding",2),c([u({type:Boolean})],k.prototype,"shift",2),c([u({type:Object})],k.prototype,"shiftBoundary",2),c([u({attribute:"shift-padding",type:Number})],k.prototype,"shiftPadding",2),c([u({attribute:"auto-size"})],k.prototype,"autoSize",2),c([u()],k.prototype,"sync",2),c([u({type:Object})],k.prototype,"autoSizeBoundary",2),c([u({attribute:"auto-size-padding",type:Number})],k.prototype,"autoSizePadding",2),c([u({attribute:"hover-bridge",type:Boolean})],k.prototype,"hoverBridge",2);var $e=new Map,Go=new WeakMap;function Jo(t){return t??{keyframes:[],options:{duration:0}}}function Pe(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function st(t,e){$e.set(t,Jo(e))}function at(t,e,o){const r=Go.get(t);if(r?.[e])return Pe(r[e],o.dir);const i=$e.get(e);return i?Pe(i,o.dir):{keyframes:[],options:{duration:0}}}function Wt(t,e){return new Promise(o=>{function r(i){i.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function lt(t,e,o){return new Promise(r=>{if(o?.duration===1/0)throw new Error("Promise-based animations must be finite.");const i=t.animate(e,$t(rt({},o),{duration:Qo()?0:o.duration}));i.addEventListener("cancel",r,{once:!0}),i.addEventListener("finish",r,{once:!0})})}function Fe(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function Qo(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function ft(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{e.cancel(),requestAnimationFrame(o)})))}const se=new Set,tr=new MutationObserver(De),bt=new Map;let Re=document.documentElement.dir||"ltr",Be=document.documentElement.lang||navigator.language,ct;tr.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function Te(...t){t.map(e=>{const o=e.$code.toLowerCase();bt.has(o)?bt.set(o,Object.assign(Object.assign({},bt.get(o)),e)):bt.set(o,e),ct||(ct=e)}),De()}function De(){Re=document.documentElement.dir||"ltr",Be=document.documentElement.lang||navigator.language,[...se.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let er=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){se.add(this.host)}hostDisconnected(){se.delete(this.host)}dir(){return`${this.host.dir||Re}`.toLowerCase()}lang(){return`${this.host.lang||Be}`.toLowerCase()}getTranslationData(e){var o,r;const i=new Intl.Locale(e.replace(/_/g,"-")),n=i?.language.toLowerCase(),s=(r=(o=i?.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",a=bt.get(`${n}-${s}`),l=bt.get(n);return{locale:i,language:n,region:s,primary:a,secondary:l}}exists(e,o){var r;const{primary:i,secondary:n}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(i&&i[e]||n&&n[e]||o.includeFallback&&ct&&ct[e])}term(e,...o){const{primary:r,secondary:i}=this.getTranslationData(this.lang());let n;if(r&&r[e])n=r[e];else if(i&&i[e])n=i[e];else if(ct&&ct[e])n=ct[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof n=="function"?n(...o):n}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var Ve={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};Te(Ve);var or=Ve,Ht=class extends er{};Te(or);var L=class extends B{constructor(){super(),this.localize=new Ht(this),this.content="",this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger="hover focus",this.hoist=!1,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleDocumentKeyDown=t=>{t.key==="Escape"&&(t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger("hover")){const t=Fe(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){const t=Fe(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}},this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}disconnectedCallback(){var t;(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown)}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){var t,e;if(this.open){if(this.disabled)return;this.emit("sl-show"),"CloseWatcher"in window?((t=this.closeWatcher)==null||t.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.hide()}):document.addEventListener("keydown",this.handleDocumentKeyDown),await ft(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:o,options:r}=at(this,"tooltip.show",{dir:this.localize.dir()});await lt(this.popup.popup,o,r),this.popup.reposition(),this.emit("sl-after-show")}else{this.emit("sl-hide"),(e=this.closeWatcher)==null||e.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown),await ft(this.body);const{keyframes:o,options:r}=at(this,"tooltip.hide",{dir:this.localize.dir()});await lt(this.popup.popup,o,r),this.popup.active=!1,this.body.hidden=!0,this.emit("sl-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,Wt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,Wt(this,"sl-after-hide")}render(){return Y`
328
343
  <sl-popup
329
344
  part="base"
330
345
  exportparts="
@@ -349,7 +364,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
349
364
  <slot name="content">${this.content}</slot>
350
365
  </div>
351
366
  </sl-popup>
352
- `}};L.styles=[Z,fo],L.dependencies={"sl-popup":k},c([I("slot:not([name])")],L.prototype,"defaultSlot",2),c([I(".tooltip__body")],L.prototype,"body",2),c([I("sl-popup")],L.prototype,"popup",2),c([u()],L.prototype,"content",2),c([u()],L.prototype,"placement",2),c([u({type:Boolean,reflect:!0})],L.prototype,"disabled",2),c([u({type:Number})],L.prototype,"distance",2),c([u({type:Boolean,reflect:!0})],L.prototype,"open",2),c([u({type:Number})],L.prototype,"skidding",2),c([u()],L.prototype,"trigger",2),c([u({type:Boolean})],L.prototype,"hoist",2),c([ct("open",{waitUntilFirstUpdate:!0})],L.prototype,"handleOpenChange",1),c([ct(["content","distance","hoist","placement","skidding"])],L.prototype,"handleOptionsChange",1),c([ct("disabled")],L.prototype,"handleDisabledChange",1),nt("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),nt("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),L.define("sl-tooltip");function or(t){return crypto.getRandomValues(new Uint8Array(t))}for(var Me=4096,Ht=[],et=0,ne;et<256;et++)Ht[et]=(et+256).toString(16).substring(1);function rr(){(!ne||et+16>Me)&&(ne=or(Me),et=0);for(var t=0,e,o="";t<16;t++)e=ne[et+t],t==6?o+=Ht[e&15|64]:t==8?o+=Ht[e&63|128]:o+=Ht[e],t&1&&t>1&&t<11&&(o+="-");return et+=16,o}var ir=U`
367
+ `}};L.styles=[Z,bo],L.dependencies={"sl-popup":k},c([I("slot:not([name])")],L.prototype,"defaultSlot",2),c([I(".tooltip__body")],L.prototype,"body",2),c([I("sl-popup")],L.prototype,"popup",2),c([u()],L.prototype,"content",2),c([u()],L.prototype,"placement",2),c([u({type:Boolean,reflect:!0})],L.prototype,"disabled",2),c([u({type:Number})],L.prototype,"distance",2),c([u({type:Boolean,reflect:!0})],L.prototype,"open",2),c([u({type:Number})],L.prototype,"skidding",2),c([u()],L.prototype,"trigger",2),c([u({type:Boolean})],L.prototype,"hoist",2),c([it("open",{waitUntilFirstUpdate:!0})],L.prototype,"handleOpenChange",1),c([it(["content","distance","hoist","placement","skidding"])],L.prototype,"handleOptionsChange",1),c([it("disabled")],L.prototype,"handleDisabledChange",1),st("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),st("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),L.define("sl-tooltip");var rr=U`
353
368
  :host {
354
369
  --track-width: 2px;
355
370
  --track-color: rgb(128 128 128 / 25%);
@@ -406,12 +421,12 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
406
421
  stroke-dasharray: 0.05em, 3em;
407
422
  }
408
423
  }
409
- `,Ne=class extends B{constructor(){super(...arguments),this.localize=new Wt(this)}render(){return Y`
424
+ `,Me=class extends B{constructor(){super(...arguments),this.localize=new Ht(this)}render(){return Y`
410
425
  <svg part="base" class="spinner" role="progressbar" aria-label=${this.localize.term("loading")}>
411
426
  <circle class="spinner__track"></circle>
412
427
  <circle class="spinner__indicator"></circle>
413
428
  </svg>
414
- `}};Ne.styles=[Z,ir];var _t=new WeakMap,Ct=new WeakMap,Et=new WeakMap,se=new WeakSet,jt=new WeakMap,nr=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),i=this.options.name(this.host),n=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sl-button";this.host.isConnected&&!r&&!s&&typeof i=="string"&&i.length>0&&typeof n<"u"&&(Array.isArray(n)?n.forEach(a=>{o.formData.append(i,a.toString())}):o.formData.append(i,n.toString()))},this.handleFormSubmit=o=>{var r;const i=this.options.disabled(this.host),n=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=_t.get(this.form))==null||r.forEach(s=>{this.setUserInteracted(s,!0)})),this.form&&!this.form.noValidate&&!i&&!n(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),jt.set(this.host,[])},this.handleInteraction=o=>{const r=jt.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.checkFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.checkValidity=="function"&&!r.checkValidity())return!1}return!0},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=rt({form:o=>{const r=o.form;if(r){const n=o.getRootNode().querySelector(`#${r}`);if(n)return n}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,checkValidity:o=>typeof o.checkValidity=="function"?o.checkValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),jt.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),jt.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,_t.has(this.form)?_t.get(this.form).add(this.host):_t.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),Ct.has(this.form)||(Ct.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity()),Et.has(this.form)||(Et.set(this.form,this.form.checkValidity),this.form.checkValidity=()=>this.checkFormValidity())):this.form=void 0}detachForm(){if(!this.form)return;const t=_t.get(this.form);t&&(t.delete(this.host),t.size<=0&&(this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),Ct.has(this.form)&&(this.form.reportValidity=Ct.get(this.form),Ct.delete(this.form)),Et.has(this.form)&&(this.form.checkValidity=Et.get(this.form),Et.delete(this.form)),this.form=void 0))}setUserInteracted(t,e){e?se.add(t):se.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!se.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t?.preventDefault()}},ae=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1});Object.freeze($t(rt({},ae),{valid:!1,valueMissing:!0})),Object.freeze($t(rt({},ae),{valid:!1,customError:!0}));var sr=U`
429
+ `}};Me.styles=[Z,rr];var Ct=new WeakMap,Et=new WeakMap,St=new WeakMap,ae=new WeakSet,jt=new WeakMap,ir=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),i=this.options.name(this.host),n=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sl-button";this.host.isConnected&&!r&&!s&&typeof i=="string"&&i.length>0&&typeof n<"u"&&(Array.isArray(n)?n.forEach(a=>{o.formData.append(i,a.toString())}):o.formData.append(i,n.toString()))},this.handleFormSubmit=o=>{var r;const i=this.options.disabled(this.host),n=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=Ct.get(this.form))==null||r.forEach(s=>{this.setUserInteracted(s,!0)})),this.form&&!this.form.noValidate&&!i&&!n(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),jt.set(this.host,[])},this.handleInteraction=o=>{const r=jt.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.checkFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.checkValidity=="function"&&!r.checkValidity())return!1}return!0},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=rt({form:o=>{const r=o.form;if(r){const n=o.getRootNode().querySelector(`#${r}`);if(n)return n}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,checkValidity:o=>typeof o.checkValidity=="function"?o.checkValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),jt.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),jt.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,Ct.has(this.form)?Ct.get(this.form).add(this.host):Ct.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),Et.has(this.form)||(Et.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity()),St.has(this.form)||(St.set(this.form,this.form.checkValidity),this.form.checkValidity=()=>this.checkFormValidity())):this.form=void 0}detachForm(){if(!this.form)return;const t=Ct.get(this.form);t&&(t.delete(this.host),t.size<=0&&(this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),Et.has(this.form)&&(this.form.reportValidity=Et.get(this.form),Et.delete(this.form)),St.has(this.form)&&(this.form.checkValidity=St.get(this.form),St.delete(this.form)),this.form=void 0))}setUserInteracted(t,e){e?ae.add(t):ae.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!ae.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t?.preventDefault()}},le=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1});Object.freeze($t(rt({},le),{valid:!1,valueMissing:!0})),Object.freeze($t(rt({},le),{valid:!1,customError:!0}));var nr=U`
415
430
  :host {
416
431
  display: inline-block;
417
432
  position: relative;
@@ -1004,22 +1019,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
1004
1019
  :host([data-sl-button-group__button[checked]]) {
1005
1020
  z-index: 2;
1006
1021
  }
1007
- `,Ie=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},ar=U`
1008
- :host {
1009
- display: inline-block;
1010
- width: 1em;
1011
- height: 1em;
1012
- box-sizing: content-box !important;
1013
- }
1014
-
1015
- svg {
1016
- display: block;
1017
- height: 100%;
1018
- width: 100%;
1019
- }
1020
- `,St=Symbol(),Ut=Symbol(),le,ce=new Map,D=class extends B{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e?.spriteSheet){this.svg=Y`<svg part="svg">
1021
- <use part="use" href="${t}"></use>
1022
- </svg>`,await this.updateComplete;const i=this.shadowRoot.querySelector("[part='svg']");return typeof e.mutator=="function"&&e.mutator(i),this.svg}try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?St:Ut}catch{return Ut}try{const i=document.createElement("div");i.innerHTML=await r.text();const n=i.firstElementChild;if(((o=n?.tagName)==null?void 0:o.toLowerCase())!=="svg")return St;le||(le=new DOMParser);const a=le.parseFromString(n.outerHTML,"text/html").body.querySelector("svg");return a?(a.part.add("svg"),document.adoptNode(a)):St}catch{return St}}connectedCallback(){super.connectedCallback(),lo(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),co(this)}getIconSource(){const t=ge(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?ge(this.library):void 0;if(!e){this.svg=null;return}let i=ce.get(e);if(i||(i=this.resolveIcon(e,r),ce.set(e,i)),!this.initialRender)return;const n=await i;if(n===Ut&&ce.delete(e),e===this.getIconSource().url){if(Ye(n)){this.svg=n;return}switch(n){case Ut:case St:this.svg=null,this.emit("sl-error");break;default:this.svg=n.cloneNode(!0),(t=r?.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};D.styles=[Z,ar],c([Lt()],D.prototype,"svg",2),c([u({reflect:!0})],D.prototype,"name",2),c([u()],D.prototype,"src",2),c([u()],D.prototype,"label",2),c([u({reflect:!0})],D.prototype,"library",2),c([ct("label")],D.prototype,"handleLabelChange",1),c([ct(["name","src","library"])],D.prototype,"setIcon",1);var w=class extends B{constructor(){super(...arguments),this.formControlController=new nr(this,{assumeInteractionOn:["click"]}),this.hasSlotController=new Ie(this,"[default]","prefix","suffix"),this.localize=new Wt(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:ae}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?zt`a`:zt`button`;return Ot`
1022
+ `,Ne=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},w=class extends B{constructor(){super(...arguments),this.formControlController=new ir(this,{assumeInteractionOn:["click"]}),this.hasSlotController=new Ne(this,"[default]","prefix","suffix"),this.localize=new Ht(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:le}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?zt`a`:zt`button`;return Ot`
1023
1023
  <${e}
1024
1024
  part="base"
1025
1025
  class=${ot({button:!0,"button--default":this.variant==="default","button--primary":this.variant==="primary","button--success":this.variant==="success","button--neutral":this.variant==="neutral","button--warning":this.variant==="warning","button--danger":this.variant==="danger","button--text":this.variant==="text","button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--caret":this.caret,"button--circle":this.circle,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--standard":!this.outline,"button--outline":this.outline,"button--pill":this.pill,"button--rtl":this.localize.dir()==="rtl","button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
@@ -1046,7 +1046,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
1046
1046
  ${this.caret?Ot` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
1047
1047
  ${this.loading?Ot`<sl-spinner part="spinner"></sl-spinner>`:""}
1048
1048
  </${e}>
1049
- `}};w.styles=[Z,sr],w.dependencies={"sl-icon":D,"sl-spinner":Ne},c([I(".button")],w.prototype,"button",2),c([Lt()],w.prototype,"hasFocus",2),c([Lt()],w.prototype,"invalid",2),c([u()],w.prototype,"title",2),c([u({reflect:!0})],w.prototype,"variant",2),c([u({reflect:!0})],w.prototype,"size",2),c([u({type:Boolean,reflect:!0})],w.prototype,"caret",2),c([u({type:Boolean,reflect:!0})],w.prototype,"disabled",2),c([u({type:Boolean,reflect:!0})],w.prototype,"loading",2),c([u({type:Boolean,reflect:!0})],w.prototype,"outline",2),c([u({type:Boolean,reflect:!0})],w.prototype,"pill",2),c([u({type:Boolean,reflect:!0})],w.prototype,"circle",2),c([u()],w.prototype,"type",2),c([u()],w.prototype,"name",2),c([u()],w.prototype,"value",2),c([u()],w.prototype,"href",2),c([u()],w.prototype,"target",2),c([u()],w.prototype,"rel",2),c([u()],w.prototype,"download",2),c([u()],w.prototype,"form",2),c([u({attribute:"formaction"})],w.prototype,"formAction",2),c([u({attribute:"formenctype"})],w.prototype,"formEnctype",2),c([u({attribute:"formmethod"})],w.prototype,"formMethod",2),c([u({attribute:"formnovalidate",type:Boolean})],w.prototype,"formNoValidate",2),c([u({attribute:"formtarget"})],w.prototype,"formTarget",2),c([ct("disabled",{waitUntilFirstUpdate:!0})],w.prototype,"handleDisabledChange",1),w.define("sl-button");var We=new WeakMap;function He(t){let e=We.get(t);return e||(e=window.getComputedStyle(t,null),We.set(t,e)),e}function lr(t){if(typeof t.checkVisibility=="function")return t.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0});const e=He(t);return e.visibility!=="hidden"&&e.display!=="none"}function cr(t){const e=He(t),{overflowY:o,overflowX:r}=e;return o==="scroll"||r==="scroll"?!0:o!=="auto"||r!=="auto"?!1:t.scrollHeight>t.clientHeight&&o==="auto"||t.scrollWidth>t.clientWidth&&r==="auto"}function dr(t){const e=t.tagName.toLowerCase(),o=Number(t.getAttribute("tabindex"));return t.hasAttribute("tabindex")&&(isNaN(o)||o<=-1)||t.hasAttribute("disabled")||t.closest("[inert]")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!lr(t)?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"||["button","input","select","textarea","a","audio","video","summary","iframe"].includes(e)?!0:cr(t)}function ur(t,e){var o;return((o=t.getRootNode({composed:!0}))==null?void 0:o.host)!==e}function je(t){const e=new WeakMap,o=[];function r(i){if(i instanceof Element){if(i.hasAttribute("inert")||i.closest("[inert]")||e.has(i))return;e.set(i,!0),!o.includes(i)&&dr(i)&&o.push(i),i instanceof HTMLSlotElement&&ur(i,t)&&i.assignedElements({flatten:!0}).forEach(n=>{r(n)}),i.shadowRoot!==null&&i.shadowRoot.mode==="open"&&r(i.shadowRoot)}for(const n of i.children)r(n)}return r(t),o.sort((i,n)=>{const s=Number(i.getAttribute("tabindex"))||0;return(Number(n.getAttribute("tabindex"))||0)-s})}function*de(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*ro(de(t.shadowRoot.activeElement))))}function hr(){return[...de()].pop()}var At=[],pr=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.isActive()&&this.checkFocus()},this.handleKeyDown=e=>{var o;if(e.key!=="Tab"||this.isExternalActivated||!this.isActive())return;const r=hr();if(this.previousFocus=r,this.previousFocus&&this.possiblyHasTabbableChildren(this.previousFocus))return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward";const i=je(this.element);let n=i.findIndex(a=>a===r);this.previousFocus=this.currentFocus;const s=this.tabDirection==="forward"?1:-1;for(;;){n+s>=i.length?n=0:n+s<0?n=i.length-1:n+=s,this.previousFocus=this.currentFocus;const a=i[n];if(this.tabDirection==="backward"&&this.previousFocus&&this.possiblyHasTabbableChildren(this.previousFocus)||a&&this.possiblyHasTabbableChildren(a))return;e.preventDefault(),this.currentFocus=a,(o=this.currentFocus)==null||o.focus({preventScroll:!1});const l=[...de()];if(l.includes(this.currentFocus)||!l.includes(this.previousFocus))break}setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t,this.elementsWithTabbableControls=["iframe"]}activate(){At.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){At=At.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return At[At.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=je(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof r?.focus=="function"&&(this.currentFocus=r,r.focus({preventScroll:!1}))}}}possiblyHasTabbableChildren(t){return this.elementsWithTabbableControls.includes(t.tagName.toLowerCase())||t.hasAttribute("controls")}},ue=new Set;function fr(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function br(){const t=Number(getComputedStyle(document.body).paddingRight.replace(/px/,""));return isNaN(t)||!t?0:t}function Ue(t){if(ue.add(t),!document.documentElement.classList.contains("sl-scroll-lock")){const e=fr()+br();document.documentElement.classList.add("sl-scroll-lock"),document.documentElement.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function qe(t){ue.delete(t),ue.size===0&&(document.documentElement.classList.remove("sl-scroll-lock"),document.documentElement.style.removeProperty("--sl-scroll-lock-size"))}var gr=U`
1049
+ `}};w.styles=[Z,nr],w.dependencies={"sl-icon":D,"sl-spinner":Me},c([I(".button")],w.prototype,"button",2),c([Lt()],w.prototype,"hasFocus",2),c([Lt()],w.prototype,"invalid",2),c([u()],w.prototype,"title",2),c([u({reflect:!0})],w.prototype,"variant",2),c([u({reflect:!0})],w.prototype,"size",2),c([u({type:Boolean,reflect:!0})],w.prototype,"caret",2),c([u({type:Boolean,reflect:!0})],w.prototype,"disabled",2),c([u({type:Boolean,reflect:!0})],w.prototype,"loading",2),c([u({type:Boolean,reflect:!0})],w.prototype,"outline",2),c([u({type:Boolean,reflect:!0})],w.prototype,"pill",2),c([u({type:Boolean,reflect:!0})],w.prototype,"circle",2),c([u()],w.prototype,"type",2),c([u()],w.prototype,"name",2),c([u()],w.prototype,"value",2),c([u()],w.prototype,"href",2),c([u()],w.prototype,"target",2),c([u()],w.prototype,"rel",2),c([u()],w.prototype,"download",2),c([u()],w.prototype,"form",2),c([u({attribute:"formaction"})],w.prototype,"formAction",2),c([u({attribute:"formenctype"})],w.prototype,"formEnctype",2),c([u({attribute:"formmethod"})],w.prototype,"formMethod",2),c([u({attribute:"formnovalidate",type:Boolean})],w.prototype,"formNoValidate",2),c([u({attribute:"formtarget"})],w.prototype,"formTarget",2),c([it("disabled",{waitUntilFirstUpdate:!0})],w.prototype,"handleDisabledChange",1),w.define("sl-button");var Ie=new WeakMap;function We(t){let e=Ie.get(t);return e||(e=window.getComputedStyle(t,null),Ie.set(t,e)),e}function sr(t){if(typeof t.checkVisibility=="function")return t.checkVisibility({checkOpacity:!1,checkVisibilityCSS:!0});const e=We(t);return e.visibility!=="hidden"&&e.display!=="none"}function ar(t){const e=We(t),{overflowY:o,overflowX:r}=e;return o==="scroll"||r==="scroll"?!0:o!=="auto"||r!=="auto"?!1:t.scrollHeight>t.clientHeight&&o==="auto"||t.scrollWidth>t.clientWidth&&r==="auto"}function lr(t){const e=t.tagName.toLowerCase(),o=Number(t.getAttribute("tabindex"));return t.hasAttribute("tabindex")&&(isNaN(o)||o<=-1)||t.hasAttribute("disabled")||t.closest("[inert]")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!sr(t)?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"||["button","input","select","textarea","a","audio","video","summary","iframe"].includes(e)?!0:ar(t)}function cr(t,e){var o;return((o=t.getRootNode({composed:!0}))==null?void 0:o.host)!==e}function He(t){const e=new WeakMap,o=[];function r(i){if(i instanceof Element){if(i.hasAttribute("inert")||i.closest("[inert]")||e.has(i))return;e.set(i,!0),!o.includes(i)&&lr(i)&&o.push(i),i instanceof HTMLSlotElement&&cr(i,t)&&i.assignedElements({flatten:!0}).forEach(n=>{r(n)}),i.shadowRoot!==null&&i.shadowRoot.mode==="open"&&r(i.shadowRoot)}for(const n of i.children)r(n)}return r(t),o.sort((i,n)=>{const s=Number(i.getAttribute("tabindex"))||0;return(Number(n.getAttribute("tabindex"))||0)-s})}function*ce(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*ro(ce(t.shadowRoot.activeElement))))}function dr(){return[...ce()].pop()}var At=[],ur=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.isActive()&&this.checkFocus()},this.handleKeyDown=e=>{var o;if(e.key!=="Tab"||this.isExternalActivated||!this.isActive())return;const r=dr();if(this.previousFocus=r,this.previousFocus&&this.possiblyHasTabbableChildren(this.previousFocus))return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward";const i=He(this.element);let n=i.findIndex(a=>a===r);this.previousFocus=this.currentFocus;const s=this.tabDirection==="forward"?1:-1;for(;;){n+s>=i.length?n=0:n+s<0?n=i.length-1:n+=s,this.previousFocus=this.currentFocus;const a=i[n];if(this.tabDirection==="backward"&&this.previousFocus&&this.possiblyHasTabbableChildren(this.previousFocus)||a&&this.possiblyHasTabbableChildren(a))return;e.preventDefault(),this.currentFocus=a,(o=this.currentFocus)==null||o.focus({preventScroll:!1});const l=[...ce()];if(l.includes(this.currentFocus)||!l.includes(this.previousFocus))break}setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t,this.elementsWithTabbableControls=["iframe"]}activate(){At.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){At=At.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return At[At.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=He(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof r?.focus=="function"&&(this.currentFocus=r,r.focus({preventScroll:!1}))}}}possiblyHasTabbableChildren(t){return this.elementsWithTabbableControls.includes(t.tagName.toLowerCase())||t.hasAttribute("controls")}},de=new Set;function hr(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function pr(){const t=Number(getComputedStyle(document.body).paddingRight.replace(/px/,""));return isNaN(t)||!t?0:t}function je(t){if(de.add(t),!document.documentElement.classList.contains("sl-scroll-lock")){const e=hr()+pr();document.documentElement.classList.add("sl-scroll-lock"),document.documentElement.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function Ue(t){de.delete(t),de.size===0&&(document.documentElement.classList.remove("sl-scroll-lock"),document.documentElement.style.removeProperty("--sl-scroll-lock-size"))}var fr=U`
1050
1050
  :host {
1051
1051
  --width: 31rem;
1052
1052
  --header-spacing: var(--sl-spacing-large);
@@ -1163,7 +1163,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
1163
1163
  border: solid 1px var(--sl-color-neutral-0);
1164
1164
  }
1165
1165
  }
1166
- `,mr=U`
1166
+ `,br=U`
1167
1167
  :host {
1168
1168
  display: inline-block;
1169
1169
  color: var(--sl-color-neutral-600);
@@ -1236,7 +1236,7 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
1236
1236
  aria-hidden="true"
1237
1237
  ></sl-icon>
1238
1238
  </${e}>
1239
- `}};z.styles=[Z,mr],z.dependencies={"sl-icon":D},c([I(".icon-button")],z.prototype,"button",2),c([Lt()],z.prototype,"hasFocus",2),c([u()],z.prototype,"name",2),c([u()],z.prototype,"library",2),c([u()],z.prototype,"src",2),c([u()],z.prototype,"href",2),c([u()],z.prototype,"target",2),c([u()],z.prototype,"download",2),c([u()],z.prototype,"label",2),c([u({type:Boolean,reflect:!0})],z.prototype,"disabled",2);var H=class extends B{constructor(){super(...arguments),this.hasSlotController=new Ie(this,"footer"),this.localize=new Wt(this),this.modal=new pr(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),Ue(this))}disconnectedCallback(){var t;super.disconnectedCallback(),this.modal.deactivate(),qe(this),(t=this.closeWatcher)==null||t.destroy()}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=st(this,"dialog.denyClose",{dir:this.localize.dir()});at(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){var t;"CloseWatcher"in window?((t=this.closeWatcher)==null||t.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>this.requestClose("keyboard")):document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){var t;(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),Ue(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([ft(this.dialog),ft(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=st(this,"dialog.show",{dir:this.localize.dir()}),o=st(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([at(this.panel,e.keyframes,e.options),at(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([ft(this.dialog),ft(this.overlay)]);const t=st(this,"dialog.hide",{dir:this.localize.dir()}),e=st(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([at(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),at(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,qe(this);const o=this.originalTrigger;typeof o?.focus=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,It(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,It(this,"sl-after-hide")}render(){return Y`
1239
+ `}};z.styles=[Z,br],z.dependencies={"sl-icon":D},c([I(".icon-button")],z.prototype,"button",2),c([Lt()],z.prototype,"hasFocus",2),c([u()],z.prototype,"name",2),c([u()],z.prototype,"library",2),c([u()],z.prototype,"src",2),c([u()],z.prototype,"href",2),c([u()],z.prototype,"target",2),c([u()],z.prototype,"download",2),c([u()],z.prototype,"label",2),c([u({type:Boolean,reflect:!0})],z.prototype,"disabled",2);var H=class extends B{constructor(){super(...arguments),this.hasSlotController=new Ne(this,"footer"),this.localize=new Ht(this),this.modal=new ur(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),je(this))}disconnectedCallback(){var t;super.disconnectedCallback(),this.modal.deactivate(),Ue(this),(t=this.closeWatcher)==null||t.destroy()}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=at(this,"dialog.denyClose",{dir:this.localize.dir()});lt(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){var t;"CloseWatcher"in window?((t=this.closeWatcher)==null||t.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>this.requestClose("keyboard")):document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){var t;(t=this.closeWatcher)==null||t.destroy(),document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),je(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([ft(this.dialog),ft(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=at(this,"dialog.show",{dir:this.localize.dir()}),o=at(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([lt(this.panel,e.keyframes,e.options),lt(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([ft(this.dialog),ft(this.overlay)]);const t=at(this,"dialog.hide",{dir:this.localize.dir()}),e=at(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([lt(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),lt(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,Ue(this);const o=this.originalTrigger;typeof o?.focus=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,Wt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,Wt(this,"sl-after-hide")}render(){return Y`
1240
1240
  <div
1241
1241
  part="base"
1242
1242
  class=${ot({dialog:!0,"dialog--open":this.open,"dialog--has-footer":this.hasSlotController.test("footer")})}
@@ -1280,5 +1280,5 @@ import{i as U,n as u,s as Xe,x as Y,e as ot,a as I,r as Lt,b as Ye,c as zt,d as
1280
1280
  </footer>
1281
1281
  </div>
1282
1282
  </div>
1283
- `}};H.styles=[Z,gr],H.dependencies={"sl-icon-button":z},c([I(".dialog")],H.prototype,"dialog",2),c([I(".dialog__panel")],H.prototype,"panel",2),c([I(".dialog__overlay")],H.prototype,"overlay",2),c([u({type:Boolean,reflect:!0})],H.prototype,"open",2),c([u({reflect:!0})],H.prototype,"label",2),c([u({attribute:"no-header",type:Boolean,reflect:!0})],H.prototype,"noHeader",2),c([ct("open",{waitUntilFirstUpdate:!0})],H.prototype,"handleOpenChange",1),nt("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),nt("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),nt("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),nt("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),nt("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),H.define("sl-dialog"),D.define("sl-icon"),z.define("sl-icon-button");export{uo as r,Kt as s,rr as v};
1284
- //# sourceMappingURL=vendor-jQ8cxMpw.esm.js.map
1283
+ `}};H.styles=[Z,fr],H.dependencies={"sl-icon-button":z},c([I(".dialog")],H.prototype,"dialog",2),c([I(".dialog__panel")],H.prototype,"panel",2),c([I(".dialog__overlay")],H.prototype,"overlay",2),c([u({type:Boolean,reflect:!0})],H.prototype,"open",2),c([u({reflect:!0})],H.prototype,"label",2),c([u({attribute:"no-header",type:Boolean,reflect:!0})],H.prototype,"noHeader",2),c([it("open",{waitUntilFirstUpdate:!0})],H.prototype,"handleOpenChange",1),st("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),st("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),st("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),st("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),st("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),H.define("sl-dialog"),z.define("sl-icon-button");function gr(t){return crypto.getRandomValues(new Uint8Array(t))}for(var qe=4096,Ut=[],et=0,ue;et<256;et++)Ut[et]=(et+256).toString(16).substring(1);function mr(){(!ue||et+16>qe)&&(ue=gr(qe),et=0);for(var t=0,e,o="";t<16;t++)e=ue[et+t],t==6?o+=Ut[e&15|64]:t==8?o+=Ut[e&63|128]:o+=Ut[e],t&1&&t>1&&t<11&&(o+="-");return et+=16,o}export{uo as r,Kt as s,mr as v};
1284
+ //# sourceMappingURL=vendor--f7lkyBk.esm.js.map