@ncino/web-components 2.0.0-preview.2 → 2.0.0-preview.20

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 (252) hide show
  1. package/dist/assets/index-chunk.js +2 -2
  2. package/dist/assets/index-chunk10.js +1 -1
  3. package/dist/assets/index-chunk11.js +1 -1
  4. package/dist/assets/index-chunk12.js +1 -5
  5. package/dist/assets/index-chunk13.js +1 -1
  6. package/dist/assets/index-chunk14.js +1 -1
  7. package/dist/assets/index-chunk2.js +6 -6
  8. package/dist/assets/index-chunk3.js +1 -1
  9. package/dist/assets/index-chunk4.js +5 -1
  10. package/dist/assets/index-chunk5.js +1 -1
  11. package/dist/assets/index-chunk6.js +1 -1
  12. package/dist/assets/index-chunk7.js +3 -11
  13. package/dist/assets/index-chunk8.js +10 -2
  14. package/dist/assets/index-chunk9.js +3 -3
  15. package/dist/assets/input-rich-text.css +1 -1
  16. package/dist/components/accordion/accordion.js +1 -1
  17. package/dist/components/accordion/gator/base/accordion.gator.js +6 -6
  18. package/dist/components/accordion/gator/group/accordion-group.gator.js +2 -2
  19. package/dist/components/accordion/index.js +1 -1
  20. package/dist/components/alert/alert.js +1 -1
  21. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  22. package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +2 -2
  23. package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
  24. package/dist/components/alert/index.js +1 -1
  25. package/dist/components/avatar/avatar.js +1 -1
  26. package/dist/components/avatar/gator/avatar.gator.js +1 -1
  27. package/dist/components/avatar/index.js +1 -1
  28. package/dist/components/badge/badge.js +1 -1
  29. package/dist/components/badge/gator/badge.gator.js +1 -1
  30. package/dist/components/badge/index.js +1 -1
  31. package/dist/components/badge/slds/badge.slds.js +2 -2
  32. package/dist/components/banner/banner.js +1 -1
  33. package/dist/components/banner/gator/banner.gator.js +1 -1
  34. package/dist/components/banner/index.js +1 -1
  35. package/dist/components/boolean/boolean.gator.js +2 -2
  36. package/dist/components/boolean/index.js +1 -1
  37. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +2 -2
  38. package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.js +2 -2
  39. package/dist/components/breadcrumbs/index.js +1 -1
  40. package/dist/components/button/button.js +1 -1
  41. package/dist/components/button/gator/button.gator.js +1 -1
  42. package/dist/components/button/index.js +1 -1
  43. package/dist/components/button/slds/button.slds.js +2 -2
  44. package/dist/components/button-card/button-card.js +1 -1
  45. package/dist/components/button-card/gator/button-card.gator.js +2 -2
  46. package/dist/components/button-card/index.js +1 -1
  47. package/dist/components/card/card.js +1 -1
  48. package/dist/components/card/gator/base/card.gator.js +1 -7
  49. package/dist/components/card/gator/content/card-content.gator.js +2 -2
  50. package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
  51. package/dist/components/card/gator/header/card-header.gator.js +41 -0
  52. package/dist/components/card/index.js +1 -1
  53. package/dist/components/checkbox/checkbox.gator.js +3 -3
  54. package/dist/components/checkbox/index.js +1 -1
  55. package/dist/components/checkbox-group/checkbox-group.gator.js +2 -2
  56. package/dist/components/checkbox-group/index.js +1 -1
  57. package/dist/components/chip/chip.js +1 -1
  58. package/dist/components/chip/gator/chip.gator.js +1 -1
  59. package/dist/components/chip/index.js +1 -1
  60. package/dist/components/combobox/base/combobox.js +1 -1
  61. package/dist/components/combobox/base/combobox.slds.js +1 -1
  62. package/dist/components/combobox/base/index.js +1 -1
  63. package/dist/components/combobox/combobox-item/combobox-item.js +1 -1
  64. package/dist/components/combobox/combobox-item/combobox-item.slds.js +4 -4
  65. package/dist/components/combobox/combobox-item/index.js +1 -1
  66. package/dist/components/combobox/index.js +1 -1
  67. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +12 -0
  68. package/dist/components/display-card/display-card.js +1 -1
  69. package/dist/components/display-card/gator/display-card.gator.js +17 -17
  70. package/dist/components/display-card/index.js +1 -1
  71. package/dist/components/divider/gator/divider.gator.js +1 -1
  72. package/dist/components/fab/fab.js +1 -1
  73. package/dist/components/fab/gator/fab.gator.js +2 -2
  74. package/dist/components/fab/index.js +1 -1
  75. package/dist/components/headline-card/gator/headline-card.gator.js +16 -13
  76. package/dist/components/headline-card/headline-card.js +1 -1
  77. package/dist/components/headline-card/index.js +1 -1
  78. package/dist/components/icon/gator/icon.gator.js +1 -1
  79. package/dist/components/icon/gator/index.js +1 -1
  80. package/dist/components/icon/gator/templates/dashboard.js +11 -0
  81. package/dist/components/icon/gator/templates/index.js +1 -1
  82. package/dist/components/icon/gator/templates/settings.js +11 -0
  83. package/dist/components/icon/gator/templates/shield-lock.js +6 -0
  84. package/dist/components/icon/icon.js +1 -1
  85. package/dist/components/icon/index.js +1 -1
  86. package/dist/components/icon/slds/icon.slds.js +1 -1
  87. package/dist/components/icon-button/gator/icon-button.gator.js +2 -2
  88. package/dist/components/icon-button/icon-button.js +1 -1
  89. package/dist/components/icon-button/index.js +1 -1
  90. package/dist/components/illustration/gator/illustration.gator.js +1 -0
  91. package/dist/components/illustration/gator/index.js +1 -0
  92. package/dist/components/{icon → illustration}/gator/templates/balloons.js +1 -1
  93. package/dist/components/illustration/gator/templates/check-with-pencil.js +6 -0
  94. package/dist/components/illustration/gator/templates/commercial.js +35 -0
  95. package/dist/components/illustration/gator/templates/consumer.js +21 -0
  96. package/dist/components/illustration/gator/templates/index.js +1 -0
  97. package/dist/components/illustration/gator/templates/mortgage.js +26 -0
  98. package/dist/components/illustration/gator/templates/portfolio-analytics.js +43 -0
  99. package/dist/components/illustration/gator/templates/small-business.js +26 -0
  100. package/dist/components/illustration/gator/templates/treasury.js +27 -0
  101. package/dist/components/illustration/gator/templates/your-bank-placeholder.js +40 -0
  102. package/dist/components/illustration/illustration-registry.js +1 -0
  103. package/dist/components/illustration/index.js +1 -0
  104. package/dist/components/input/base/input-base.gator.js +17 -0
  105. package/dist/components/input/base/input-base.js +1 -1
  106. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +90 -0
  107. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  108. package/dist/components/input/gator/input-label/input-label.gator.js +11 -6
  109. package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -0
  110. package/dist/components/input/gator/input-text/input-text.gator.js +19 -18
  111. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +27 -0
  112. package/dist/components/input/index.gator.js +1 -0
  113. package/dist/components/input/index.js +1 -1
  114. package/dist/components/input/index.slds.js +1 -0
  115. package/dist/components/input/slds/input-error/input-error.slds.js +3 -3
  116. package/dist/components/input/slds/input-label/input-label.slds.js +4 -4
  117. package/dist/components/input/slds/input-text/input-text.slds.js +1 -1
  118. package/dist/components/input-rich-text/ckeditor-config.js +285 -276
  119. package/dist/components/input-rich-text/index.js +1 -1
  120. package/dist/components/input-rich-text/input-rich-text.js +1 -1
  121. package/dist/components/input-rich-text/input-rich-text.slds.js +3 -3
  122. package/dist/components/list/gator/list/index.js +1 -1
  123. package/dist/components/list/gator/list/list.gator.js +3 -2
  124. package/dist/components/list/gator/list-item/index.js +1 -1
  125. package/dist/components/list/gator/list-item/list-item.gator.js +8 -8
  126. package/dist/components/list/index.js +1 -0
  127. package/dist/components/loading-spinner/loading-spinner.js +1 -1
  128. package/dist/components/menu/base/gator/menu.gator.js +7 -9
  129. package/dist/components/menu/base/index.js +1 -1
  130. package/dist/components/menu/base/menu.js +1 -1
  131. package/dist/components/menu/base/slds/menu.slds.js +1 -1
  132. package/dist/components/menu/index.js +1 -1
  133. package/dist/components/menu/menu-divider/index.js +1 -1
  134. package/dist/components/menu/menu-divider/menu-divider.slds.js +2 -2
  135. package/dist/components/menu/menu-item/gator/menu-item.gator.js +3 -3
  136. package/dist/components/menu/menu-item/index.js +1 -1
  137. package/dist/components/menu/menu-item/menu-item.js +1 -1
  138. package/dist/components/menu/menu-item/slds/menu-item.slds.js +1 -1
  139. package/dist/components/menu/menu-submenu/index.js +1 -1
  140. package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
  141. package/dist/components/menu/menu-submenu/menu-submenu.slds.js +2 -2
  142. package/dist/components/modal/gator/modal.gator.js +17 -16
  143. package/dist/components/modal/index.js +1 -1
  144. package/dist/components/modal/modal.js +1 -1
  145. package/dist/components/page-header/gator/page-header.gator.js +2 -2
  146. package/dist/components/page-header/index.js +1 -1
  147. package/dist/components/pill/pill.js +1 -1
  148. package/dist/components/pill/pill.slds.js +1 -1
  149. package/dist/components/radio/index.js +1 -1
  150. package/dist/components/radio/radio.gator.js +1 -1
  151. package/dist/components/radio-group/index.js +1 -1
  152. package/dist/components/radio-group/radio-group.gator.js +2 -2
  153. package/dist/components/scoped-notification/index.js +1 -1
  154. package/dist/components/scoped-notification/scoped-notification.slds.js +1 -1
  155. package/dist/components/selection-box/index.js +1 -1
  156. package/dist/components/selection-box/selection-box.gator.js +1 -1
  157. package/dist/components/selection-box-group/index.js +1 -1
  158. package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
  159. package/dist/components/selector/gator/selector.gator.js +15 -0
  160. package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
  161. package/dist/components/skeleton-loader/index.js +1 -1
  162. package/dist/components/switch/gator/switch.gator.js +2 -2
  163. package/dist/components/switch/switch.js +1 -1
  164. package/dist/components/table/gator/table.gator.js +9 -9
  165. package/dist/components/table/table.js +1 -1
  166. package/dist/components/tabs/gator/tab/tab.gator.js +2 -2
  167. package/dist/components/tabs/gator/tabset/tabset.gator.js +4 -4
  168. package/dist/components/tabs/index.gator.js +1 -0
  169. package/dist/components/tabs/index.js +1 -1
  170. package/dist/components/text-detail/gator/text-detail.gator.js +1 -32
  171. package/dist/components/text-detail/index.js +1 -1
  172. package/dist/components/text-detail/text-detail.js +1 -1
  173. package/dist/components/text-link/gator/text-link.gator.js +2 -2
  174. package/dist/components/text-link/index.js +1 -1
  175. package/dist/components/text-link/text-link.js +1 -1
  176. package/dist/components/toast/gator/base/toast.gator.js +2 -2
  177. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +2 -2
  178. package/dist/components/toast/gator/title/toast-title.gator.js +2 -2
  179. package/dist/components/toast/index.js +1 -1
  180. package/dist/components/tooltip/gator/tooltip.gator.js +2 -2
  181. package/dist/components/tooltip/index.js +1 -1
  182. package/dist/components/tooltip/slds/tooltip.slds.js +2 -2
  183. package/dist/components/tooltip/tooltip.js +1 -1
  184. package/dist/index.gator.js +1 -1
  185. package/dist/index.js +1 -1
  186. package/dist/index.slds.js +1 -1
  187. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +3 -0
  188. package/dist/types/components/card/card.d.ts +5 -0
  189. package/dist/types/components/card/gator/base/card.gator.d.ts +1 -2
  190. package/dist/types/components/card/gator/header/card-header.gator.d.ts +5 -0
  191. package/dist/types/components/card/index.d.ts +1 -2
  192. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.d.ts +37 -0
  193. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.test.d.ts +0 -0
  194. package/dist/types/components/display-card/gator/display-card.gator.d.ts +2 -2
  195. package/dist/types/components/headline-card/gator/headline-card.gator.d.ts +1 -3
  196. package/dist/types/components/headline-card/headline-card.d.ts +3 -3
  197. package/dist/types/components/icon/gator/templates/dashboard.d.ts +1 -0
  198. package/dist/types/components/icon/gator/templates/index.d.ts +4 -2
  199. package/dist/types/components/icon/gator/templates/settings.d.ts +1 -0
  200. package/dist/types/components/icon/gator/templates/shield-lock.d.ts +1 -0
  201. package/dist/types/components/illustration/gator/illustration.gator.d.ts +29 -0
  202. package/dist/types/components/illustration/gator/illustration.gator.test.d.ts +0 -0
  203. package/dist/types/components/illustration/gator/index.d.ts +2 -0
  204. package/dist/types/components/illustration/gator/templates/check-with-pencil.d.ts +1 -0
  205. package/dist/types/components/illustration/gator/templates/commercial.d.ts +1 -0
  206. package/dist/types/components/illustration/gator/templates/consumer.d.ts +1 -0
  207. package/dist/types/components/illustration/gator/templates/index.d.ts +9 -0
  208. package/dist/types/components/illustration/gator/templates/mortgage.d.ts +1 -0
  209. package/dist/types/components/illustration/gator/templates/portfolio-analytics.d.ts +1 -0
  210. package/dist/types/components/illustration/gator/templates/small-business.d.ts +1 -0
  211. package/dist/types/components/illustration/gator/templates/treasury.d.ts +1 -0
  212. package/dist/types/components/illustration/gator/templates/your-bank-placeholder.d.ts +1 -0
  213. package/dist/types/components/illustration/illustration-registry.d.ts +9 -0
  214. package/dist/types/components/illustration/index.d.ts +1 -0
  215. package/dist/types/components/input/base/input-base.d.ts +42 -0
  216. package/dist/types/components/input/base/input-base.gator.d.ts +17 -0
  217. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +42 -0
  218. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.test.d.ts +0 -0
  219. package/dist/types/components/input/gator/input-masked/input-masked.gator.d.ts +40 -0
  220. package/dist/types/components/input/gator/input-masked/input-masked.gator.test.d.ts +0 -0
  221. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +28 -12
  222. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +16 -0
  223. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.test.d.ts +0 -0
  224. package/dist/types/components/input/index.d.ts +2 -6
  225. package/dist/types/components/input/index.gator.d.ts +5 -0
  226. package/dist/types/components/input/index.slds.d.ts +3 -0
  227. package/dist/types/components/list/index.d.ts +2 -0
  228. package/dist/types/components/menu/base/gator/menu.gator.d.ts +2 -0
  229. package/dist/types/components/menu/base/menu.d.ts +6 -0
  230. package/dist/types/components/radio-group/radio-group.gator.d.ts +1 -1
  231. package/dist/types/components/selection-box-group/selection-box-group.gator.d.ts +1 -1
  232. package/dist/types/components/selector/gator/selector.gator.d.ts +42 -0
  233. package/dist/types/components/selector/gator/selector.gator.test.d.ts +0 -0
  234. package/dist/types/components/tabs/index.d.ts +1 -1
  235. package/dist/types/components/tabs/index.gator.d.ts +2 -0
  236. package/dist/types/index.d.ts +8 -2
  237. package/dist/types/index.gator.d.ts +36 -32
  238. package/dist/types/index.slds.d.ts +9 -10
  239. package/dist/types/utils/components/illustration-list/illustration-list.gator.d.ts +9 -0
  240. package/dist/types/utils/vitest-utils.d.ts +2 -2
  241. package/dist/utils/components/icon-list/icon-list.gator.js +2 -2
  242. package/dist/utils/components/illustration-list/illustration-list.gator.js +10 -0
  243. package/dist/utils/components/slot-placeholder/slot-placeholder.js +2 -2
  244. package/dist/utils/components/testable-lit-element/testable-lit-element.js +1 -1
  245. package/package.json +39 -39
  246. package/web-types.json +997 -429
  247. package/dist/components/card/gator/subtitle/card-subtitle.gator.js +0 -5
  248. package/dist/components/card/gator/title/card-title.gator.js +0 -5
  249. package/dist/types/components/card/gator/subtitle/card-subtitle.gator.d.ts +0 -5
  250. package/dist/types/components/card/gator/title/card-title.gator.d.ts +0 -5
  251. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +0 -18
  252. /package/dist/types/components/{icon → illustration}/gator/templates/balloons.d.ts +0 -0
@@ -1 +1 @@
1
- const a=".gator-card{position:var(--ngc-card-position, relative);display:var(--ngc-card-display, inline-flex);flex-direction:var(--ngc-card-flex-direction, column);justify-content:var(--ngc-card-justify-content, left);border-radius:var(--ngc-card-border-radius, .5rem);max-width:var(--ngc-card-max-width, 25rem);font-family:var(--ngc-font-family-body),sans-serif;width:var(--ngc-card-width, auto);height:var(--ngc-card-height, auto);padding:var(--ngc-card-padding, 0);box-shadow:var(--ngc-card-box-shadow, none);outline:var(--ngc-card-outline, none);transform:var(--ngc-card-transform);background-color:var(--ngc-card-background-color, var(--color-grey-10));top:var(--ngc-card-top);left:var(--ngc-card-left);word-break:break-all}.gator-card_elevated{box-shadow:var(--ngc-card-box-shadow, 0px 1px 1.5px 0px rgba(31, 31, 31, .04), 0px 2px 5px 0px rgba(31, 31, 31, .1), 0px 3px 9px 6px rgba(31, 31, 31, .05))}.gator-card_outlined{outline:var(--ngc-card-outline, 1px solid var(--color-blue-25, #C3CDD6))}";export{a as b};
1
+ const c=":host{--ngc-card-background-color: var(--color-grey-10);--ngc-card-max-width: 25rem;--ngc-card-width: auto;--ngc-card-height: auto;--ngc-card-padding: 0;--ngc-card-top: 0;--ngc-card-left: 0;--ngc-card-border-radius: 1rem}";export{c};
@@ -1,5 +1 @@
1
- import{n as r}from"./index-chunk.js";/**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */function n(t){return r({...t,state:!0,attribute:!1})}export{n as r};
1
+ const o=":host,:root{--gator-menu-dropdown-max-width: 400px;--ngc-menu-item-min-width: unset;--gator-menu-item-hover-background-color: var(--color-blue-10, #F3F5F7);--gator-menu-item-pressed-background-color: var(--color-blue-25)}";export{o as m};
@@ -1 +1 @@
1
- const o=":host,:root{--gator-menu-dropdown-max-width: 400px;--gator-menu-item-hover-background-color: var(--color-blue-10, #F3F5F7);--gator-menu-item-pressed-background-color: var(--color-blue-25)}";export{o as m};
1
+ const Ot=["top","right","bottom","left"],nt=["start","end"],ot=Ot.reduce((t,e)=>t.concat(e,e+"-"+nt[0],e+"-"+nt[1]),[]),K=Math.min,B=Math.max,z=Math.round,$=Math.floor,C=t=>({x:t,y:t}),Et={left:"right",right:"left",bottom:"top",top:"bottom"},Tt={start:"end",end:"start"};function ft(t,e){return typeof t=="function"?t(e):t}function j(t){return t.split("-")[0]}function D(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function ut(t){return t==="y"?"height":"width"}function at(t){return["top","bottom"].includes(j(t))?"y":"x"}function dt(t){return Ct(at(t))}function Lt(t,e,n){n===void 0&&(n=!1);const o=D(t),i=dt(t),s=ut(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=it(r)),[r,it(r)]}function At(t){return t.replace(/start|end/g,e=>Tt[e])}function it(t){return t.replace(/left|right|bottom|top/g,e=>Et[e])}function St(t){return{top:0,right:0,bottom:0,left:0,...t}}function Pt(t){return typeof t!="number"?St(t):{top:t,right:t,bottom:t,left:t}}function I(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function rt(t,e,n){let{reference:o,floating:i}=t;const s=at(e),r=dt(e),c=ut(r),f=j(e),l=s==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let a;switch(f){case"top":a={x:d,y:o.y-i.height};break;case"bottom":a={x:d,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:u};break;case"left":a={x:o.x-i.width,y:u};break;default:a={x:o.x,y:o.y}}switch(D(e)){case"start":a[r]-=h*(n&&l?-1:1);break;case"end":a[r]+=h*(n&&l?-1:1);break}return a}const Dt=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,c=s.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=rt(l,o,f),h=o,a={},y=0;for(let m=0;m<c.length;m++){const{name:p,fn:g}=c[m],{x:w,y:b,data:v,reset:x}=await g({x:d,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:a,rects:l,platform:r,elements:{reference:t,floating:e}});d=w??d,u=b??u,a={...a,[p]:{...a[p],...v}},x&&y<=50&&(y++,typeof x=="object"&&(x.placement&&(h=x.placement),x.rects&&(l=x.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:d,y:u}=rt(l,h,f)),m=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:a}};async function Ft(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:a=0}=ft(e,t),y=Pt(a),p=c[h?u==="floating"?"reference":"floating":u],g=I(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:f})),w=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),v=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},x=I(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:b,strategy:f}):w);return{top:(g.top-x.top+y.top)/v.y,bottom:(x.bottom-g.bottom+y.bottom)/v.y,left:(g.left-x.left+y.left)/v.x,right:(x.right-g.right+y.right)/v.x}}function Bt(t,e,n){return(t?[...n.filter(i=>D(i)===t),...n.filter(i=>D(i)!==t)]:n.filter(i=>j(i)===i)).filter(i=>t?D(i)===t||(e?At(i)!==i:!1):!0)}const Nt=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;const{rects:s,middlewareData:r,placement:c,platform:f,elements:l}=e,{crossAxis:d=!1,alignment:u,allowedPlacements:h=ot,autoAlignment:a=!0,...y}=ft(t,e),m=u!==void 0||h===ot?Bt(u||null,a,h):h,p=await Ft(e,y),g=((n=r.autoPlacement)==null?void 0:n.index)||0,w=m[g];if(w==null)return{};const b=Lt(w,s,await(f.isRTL==null?void 0:f.isRTL(l.floating)));if(c!==w)return{reset:{placement:m[0]}};const v=[p[j(w)],p[b[0]],p[b[1]]],x=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:w,overflows:v}],V=m[g+1];if(V)return{data:{index:g+1,overflows:x},reset:{placement:V}};const P=x.map(T=>{const k=D(T.placement);return[T.placement,k&&d?T.overflows.slice(0,2).reduce((vt,Rt)=>vt+Rt,0):T.overflows[0],T.overflows]}).sort((T,k)=>T[1]-k[1]),et=((i=P.filter(T=>T[2].slice(0,D(T[0])?2:3).every(k=>k<=0))[0])==null?void 0:i[0])||P[0][0];return et!==c?{data:{index:g+1,overflows:x},reset:{placement:et}}:{}}}};function Y(){return typeof window<"u"}function M(t){return ht(t)?(t.nodeName||"").toLowerCase():"#document"}function R(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function A(t){var e;return(e=(ht(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ht(t){return Y()?t instanceof Node||t instanceof R(t).Node:!1}function O(t){return Y()?t instanceof Element||t instanceof R(t).Element:!1}function L(t){return Y()?t instanceof HTMLElement||t instanceof R(t).HTMLElement:!1}function st(t){return!Y()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof R(t).ShadowRoot}function _(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=E(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Wt(t){return["table","td","th"].includes(M(t))}function q(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function J(t){const e=Q(),n=O(t)?E(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Mt(t){let e=S(t);for(;L(e)&&!W(e);){if(J(e))return e;if(q(e))return null;e=S(e)}return null}function Q(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function W(t){return["html","body","#document"].includes(M(t))}function E(t){return R(t).getComputedStyle(t)}function X(t){return O(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function S(t){if(M(t)==="html")return t;const e=t.assignedSlot||t.parentNode||st(t)&&t.host||A(t);return st(e)?e.host:e}function gt(t){const e=S(t);return W(e)?t.ownerDocument?t.ownerDocument.body:t.body:L(e)&&_(e)?e:gt(e)}function H(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=gt(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=R(i);if(s){const c=G(r);return e.concat(r,r.visualViewport||[],_(i)?i:[],c&&n?H(c):[])}return e.concat(i,H(i,[],n))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function mt(t){const e=E(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=L(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,c=z(n)!==s||z(o)!==r;return c&&(n=s,o=r),{width:n,height:o,$:c}}function Z(t){return O(t)?t:t.contextElement}function N(t){const e=Z(t);if(!L(e))return C(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=mt(e);let r=(s?z(n.width):n.width)/o,c=(s?z(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const Vt=C(0);function pt(t){const e=R(t);return!Q()||!e.visualViewport?Vt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function kt(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==R(t)?!1:e}function F(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=Z(t);let r=C(1);e&&(o?O(o)&&(r=N(o)):r=N(t));const c=kt(s,n,o)?pt(s):C(0);let f=(i.left+c.x)/r.x,l=(i.top+c.y)/r.y,d=i.width/r.x,u=i.height/r.y;if(s){const h=R(s),a=o&&O(o)?R(o):o;let y=h,m=G(y);for(;m&&o&&a!==y;){const p=N(m),g=m.getBoundingClientRect(),w=E(m),b=g.left+(m.clientLeft+parseFloat(w.paddingLeft))*p.x,v=g.top+(m.clientTop+parseFloat(w.paddingTop))*p.y;f*=p.x,l*=p.y,d*=p.x,u*=p.y,f+=b,l+=v,y=R(m),m=G(y)}}return I({width:d,height:u,x:f,y:l})}function tt(t,e){const n=X(t).scrollLeft;return e?e.left+n:F(A(t)).left+n}function wt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:tt(t,o)),s=o.top+e.scrollTop;return{x:i,y:s}}function Ht(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=A(o),c=e?q(e.floating):!1;if(o===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},l=C(1);const d=C(0),u=L(o);if((u||!u&&!s)&&((M(o)!=="body"||_(r))&&(f=X(o)),L(o))){const a=F(o);l=N(o),d.x=a.x+o.clientLeft,d.y=a.y+o.clientTop}const h=r&&!u&&!s?wt(r,f,!0):C(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-f.scrollLeft*l.x+d.x+h.x,y:n.y*l.y-f.scrollTop*l.y+d.y+h.y}}function _t(t){return Array.from(t.getClientRects())}function $t(t){const e=A(t),n=X(t),o=t.ownerDocument.body,i=B(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=B(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+tt(t);const c=-n.scrollTop;return E(o).direction==="rtl"&&(r+=B(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:c}}function zt(t,e){const n=R(t),o=A(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,c=0,f=0;if(i){s=i.width,r=i.height;const l=Q();(!l||l&&e==="fixed")&&(c=i.offsetLeft,f=i.offsetTop)}return{width:s,height:r,x:c,y:f}}function It(t,e){const n=F(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=L(t)?N(t):C(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=i*s.x,l=o*s.y;return{width:r,height:c,x:f,y:l}}function ct(t,e,n){let o;if(e==="viewport")o=zt(t,n);else if(e==="document")o=$t(A(t));else if(O(e))o=It(e,n);else{const i=pt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return I(o)}function yt(t,e){const n=S(t);return n===e||!O(n)||W(n)?!1:E(n).position==="fixed"||yt(n,e)}function jt(t,e){const n=e.get(t);if(n)return n;let o=H(t,[],!1).filter(c=>O(c)&&M(c)!=="body"),i=null;const s=E(t).position==="fixed";let r=s?S(t):t;for(;O(r)&&!W(r);){const c=E(r),f=J(r);!f&&c.position==="fixed"&&(i=null),(s?!f&&!i:!f&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_(r)&&!f&&yt(t,r))?o=o.filter(d=>d!==r):i=c,r=S(r)}return e.set(t,o),o}function Yt(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?q(e)?[]:jt(e,this._c):[].concat(n),o],c=r[0],f=r.reduce((l,d)=>{const u=ct(e,d,i);return l.top=B(u.top,l.top),l.right=K(u.right,l.right),l.bottom=K(u.bottom,l.bottom),l.left=B(u.left,l.left),l},ct(e,c,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function qt(t){const{width:e,height:n}=mt(t);return{width:e,height:n}}function Xt(t,e,n){const o=L(e),i=A(e),s=n==="fixed",r=F(t,!0,s,e);let c={scrollLeft:0,scrollTop:0};const f=C(0);if(o||!o&&!s)if((M(e)!=="body"||_(i))&&(c=X(e)),o){const h=F(e,!0,s,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else i&&(f.x=tt(i));const l=i&&!o&&!s?wt(i,c):C(0),d=r.left+c.scrollLeft-f.x-l.x,u=r.top+c.scrollTop-f.y-l.y;return{x:d,y:u,width:r.width,height:r.height}}function U(t){return E(t).position==="static"}function lt(t,e){if(!L(t)||E(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return A(t)===n&&(n=n.ownerDocument.body),n}function xt(t,e){const n=R(t);if(q(t))return n;if(!L(t)){let i=S(t);for(;i&&!W(i);){if(O(i)&&!U(i))return i;i=S(i)}return n}let o=lt(t,e);for(;o&&Wt(o)&&U(o);)o=lt(o,e);return o&&W(o)&&U(o)&&!J(o)?n:o||Mt(t)||n}const Ut=async function(t){const e=this.getOffsetParent||xt,n=this.getDimensions,o=await n(t.floating);return{reference:Xt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Kt(t){return E(t).direction==="rtl"}const Gt={convertOffsetParentRelativeRectToViewportRelativeRect:Ht,getDocumentElement:A,getClippingRect:Yt,getOffsetParent:xt,getElementRects:Ut,getClientRects:_t,getDimensions:qt,getScale:N,isElement:O,isRTL:Kt};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Jt(t,e){let n=null,o;const i=A(t);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();const l=t.getBoundingClientRect(),{left:d,top:u,width:h,height:a}=l;if(c||e(),!h||!a)return;const y=$(u),m=$(i.clientWidth-(d+h)),p=$(i.clientHeight-(u+a)),g=$(d),b={rootMargin:-y+"px "+-m+"px "+-p+"px "+-g+"px",threshold:B(0,K(1,f))||1};let v=!0;function x(V){const P=V[0].intersectionRatio;if(P!==f){if(!v)return r();P?r(!1,P):o=setTimeout(()=>{r(!1,1e-7)},1e3)}P===1&&!bt(l,t.getBoundingClientRect())&&r(),v=!1}try{n=new IntersectionObserver(x,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(x,b)}n.observe(t)}return r(!0),s}function Zt(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=o,l=Z(t),d=i||s?[...l?H(l):[],...H(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const u=l&&c?Jt(l,n):null;let h=-1,a=null;r&&(a=new ResizeObserver(g=>{let[w]=g;w&&w.target===l&&a&&(a.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=a)==null||b.observe(e)})),n()}),l&&!f&&a.observe(l),a.observe(e));let y,m=f?F(t):null;f&&p();function p(){const g=F(t);m&&!bt(m,g)&&n(),m=g,y=requestAnimationFrame(p)}return n(),()=>{var g;d.forEach(w=>{i&&w.removeEventListener("scroll",n),s&&w.removeEventListener("resize",n)}),u==null||u(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(y)}}const te=Nt,ee=(t,e,n)=>{const o=new Map,i={platform:Gt,...n},s={...i.platform,_c:o};return Dt(t,e,{...i,platform:s})};export{Zt as a,te as b,ee as c};
@@ -1 +1 @@
1
- const St="div[role=tooltip]{position:absolute;width:max-content;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s}#floating{position:absolute;width:max-content;top:0;left:0}",$=Math.min,D=Math.max,M=Math.round,H=Math.floor,T=t=>({x:t,y:t});function Z(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function ut(t){return t==="x"?"y":"x"}function at(t){return t==="y"?"height":"width"}function tt(t){return["top","bottom"].includes(Z(t))?"y":"x"}function dt(t){return ut(tt(t))}function et(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function K(t,e,o){let{reference:n,floating:i}=t;const c=tt(e),r=dt(e),s=at(r),f=Z(e),l=c==="y",a=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,g=n[s]/2-i[s]/2;let u;switch(f){case"top":u={x:a,y:n.y-i.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-i.width,y:d};break;default:u={x:n.x,y:n.y}}switch(ft(e)){case"start":u[r]-=g*(o&&l?-1:1);break;case"end":u[r]+=g*(o&&l?-1:1);break}return u}const ht=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:r}=o,s=c.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:d}=K(l,n,f),g=n,u={},x=0;for(let h=0;h<s.length;h++){const{name:m,fn:p}=s[h],{x:w,y:R,data:F,reset:L}=await p({x:a,y:d,initialPlacement:n,placement:g,strategy:i,middlewareData:u,rects:l,platform:r,elements:{reference:t,floating:e}});a=w??a,d=R??d,u={...u,[m]:{...u[m],...F}},L&&x<=50&&(x++,typeof L=="object"&&(L.placement&&(g=L.placement),L.rects&&(l=L.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):L.rects),{x:a,y:d}=K(l,g,f)),h=-1)}return{x:a,y:d,placement:g,strategy:i,middlewareData:u}};function V(){return typeof window<"u"}function W(t){return nt(t)?(t.nodeName||"").toLowerCase():"#document"}function y(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function E(t){var e;return(e=(nt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nt(t){return V()?t instanceof Node||t instanceof y(t).Node:!1}function v(t){return V()?t instanceof Element||t instanceof y(t).Element:!1}function C(t){return V()?t instanceof HTMLElement||t instanceof y(t).HTMLElement:!1}function G(t){return!V()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof y(t).ShadowRoot}function k(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=b(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function gt(t){return["table","td","th"].includes(W(t))}function z(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function X(t){const e=j(),o=v(t)?b(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(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function pt(t){let e=O(t);for(;C(e)&&!N(e);){if(X(e))return e;if(z(e))return null;e=O(e)}return null}function j(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function N(t){return["html","body","#document"].includes(W(t))}function b(t){return y(t).getComputedStyle(t)}function _(t){return v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function O(t){if(W(t)==="html")return t;const e=t.assignedSlot||t.parentNode||G(t)&&t.host||E(t);return G(e)?e.host:e}function ot(t){const e=O(t);return N(e)?t.ownerDocument?t.ownerDocument.body:t.body:C(e)&&k(e)?e:ot(e)}function B(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=ot(t),c=i===((n=t.ownerDocument)==null?void 0:n.body),r=y(i);if(c){const s=Y(r);return e.concat(r,r.visualViewport||[],k(i)?i:[],s&&o?B(s):[])}return e.concat(i,B(i,[],o))}function Y(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function it(t){const e=b(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=C(t),c=i?t.offsetWidth:o,r=i?t.offsetHeight:n,s=M(o)!==c||M(n)!==r;return s&&(o=c,n=r),{width:o,height:n,$:s}}function q(t){return v(t)?t:t.contextElement}function S(t){const e=q(t);if(!C(e))return T(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:c}=it(e);let r=(c?M(o.width):o.width)/n,s=(c?M(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!s||!Number.isFinite(s))&&(s=1),{x:r,y:s}}const mt=T(0);function rt(t){const e=y(t);return!j()||!e.visualViewport?mt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wt(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==y(t)?!1:e}function A(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),c=q(t);let r=T(1);e&&(n?v(n)&&(r=S(n)):r=S(t));const s=wt(c,o,n)?rt(c):T(0);let f=(i.left+s.x)/r.x,l=(i.top+s.y)/r.y,a=i.width/r.x,d=i.height/r.y;if(c){const g=y(c),u=n&&v(n)?y(n):n;let x=g,h=Y(x);for(;h&&n&&u!==x;){const m=S(h),p=h.getBoundingClientRect(),w=b(h),R=p.left+(h.clientLeft+parseFloat(w.paddingLeft))*m.x,F=p.top+(h.clientTop+parseFloat(w.paddingTop))*m.y;f*=m.x,l*=m.y,a*=m.x,d*=m.y,f+=R,l+=F,x=y(h),h=Y(x)}}return et({width:a,height:d,x:f,y:l})}function U(t,e){const o=_(t).scrollLeft;return e?e.left+o:A(E(t)).left+o}function st(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-(o?0:U(t,n)),c=n.top+e.scrollTop;return{x:i,y:c}}function yt(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const c=i==="fixed",r=E(n),s=e?z(e.floating):!1;if(n===r||s&&c)return o;let f={scrollLeft:0,scrollTop:0},l=T(1);const a=T(0),d=C(n);if((d||!d&&!c)&&((W(n)!=="body"||k(r))&&(f=_(n)),C(n))){const u=A(n);l=S(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}const g=r&&!d&&!c?st(r,f,!0):T(0);return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-f.scrollLeft*l.x+a.x+g.x,y:o.y*l.y-f.scrollTop*l.y+a.y+g.y}}function xt(t){return Array.from(t.getClientRects())}function vt(t){const e=E(t),o=_(t),n=t.ownerDocument.body,i=D(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),c=D(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+U(t);const s=-o.scrollTop;return b(n).direction==="rtl"&&(r+=D(e.clientWidth,n.clientWidth)-i),{width:i,height:c,x:r,y:s}}function bt(t,e){const o=y(t),n=E(t),i=o.visualViewport;let c=n.clientWidth,r=n.clientHeight,s=0,f=0;if(i){c=i.width,r=i.height;const l=j();(!l||l&&e==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:c,height:r,x:s,y:f}}function Rt(t,e){const o=A(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,c=C(t)?S(t):T(1),r=t.clientWidth*c.x,s=t.clientHeight*c.y,f=i*c.x,l=n*c.y;return{width:r,height:s,x:f,y:l}}function J(t,e,o){let n;if(e==="viewport")n=bt(t,o);else if(e==="document")n=vt(E(t));else if(v(e))n=Rt(e,o);else{const i=rt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return et(n)}function ct(t,e){const o=O(t);return o===e||!v(o)||N(o)?!1:b(o).position==="fixed"||ct(o,e)}function Lt(t,e){const o=e.get(t);if(o)return o;let n=B(t,[],!1).filter(s=>v(s)&&W(s)!=="body"),i=null;const c=b(t).position==="fixed";let r=c?O(t):t;for(;v(r)&&!N(r);){const s=b(r),f=X(r);!f&&s.position==="fixed"&&(i=null),(c?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||k(r)&&!f&&ct(t,r))?n=n.filter(a=>a!==r):i=s,r=O(r)}return e.set(t,n),n}function Tt(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?z(e)?[]:Lt(e,this._c):[].concat(o),n],s=r[0],f=r.reduce((l,a)=>{const d=J(e,a,i);return l.top=D(d.top,l.top),l.right=$(d.right,l.right),l.bottom=$(d.bottom,l.bottom),l.left=D(d.left,l.left),l},J(e,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ct(t){const{width:e,height:o}=it(t);return{width:e,height:o}}function Et(t,e,o){const n=C(e),i=E(e),c=o==="fixed",r=A(t,!0,c,e);let s={scrollLeft:0,scrollTop:0};const f=T(0);if(n||!n&&!c)if((W(e)!=="body"||k(i))&&(s=_(e)),n){const g=A(e,!0,c,e);f.x=g.x+e.clientLeft,f.y=g.y+e.clientTop}else i&&(f.x=U(i));const l=i&&!n&&!c?st(i,s):T(0),a=r.left+s.scrollLeft-f.x-l.x,d=r.top+s.scrollTop-f.y-l.y;return{x:a,y:d,width:r.width,height:r.height}}function P(t){return b(t).position==="static"}function Q(t,e){if(!C(t)||b(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return E(t)===o&&(o=o.ownerDocument.body),o}function lt(t,e){const o=y(t);if(z(t))return o;if(!C(t)){let i=O(t);for(;i&&!N(i);){if(v(i)&&!P(i))return i;i=O(i)}return o}let n=Q(t,e);for(;n&&gt(n)&&P(n);)n=Q(n,e);return n&&N(n)&&P(n)&&!X(n)?o:n||pt(t)||o}const Ot=async function(t){const e=this.getOffsetParent||lt,o=this.getDimensions,n=await o(t.floating);return{reference:Et(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function At(t){return b(t).direction==="rtl"}const Ft={convertOffsetParentRelativeRectToViewportRelativeRect:yt,getDocumentElement:E,getClippingRect:Tt,getOffsetParent:lt,getElementRects:Ot,getClientRects:xt,getDimensions:Ct,getScale:S,isElement:v,isRTL:At};function Dt(t,e){let o=null,n;const i=E(t);function c(){var s;clearTimeout(n),(s=o)==null||s.disconnect(),o=null}function r(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),c();const{left:l,top:a,width:d,height:g}=t.getBoundingClientRect();if(s||e(),!d||!g)return;const u=H(a),x=H(i.clientWidth-(l+d)),h=H(i.clientHeight-(a+g)),m=H(l),w={rootMargin:-u+"px "+-x+"px "+-h+"px "+-m+"px",threshold:D(0,$(1,f))||1};let R=!0;function F(L){const I=L[0].intersectionRatio;if(I!==f){if(!R)return r();I?r(!1,I):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R=!1}try{o=new IntersectionObserver(F,{...w,root:i.ownerDocument})}catch{o=new IntersectionObserver(F,w)}o.observe(t)}return r(!0),c}function Nt(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:c=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,l=q(t),a=i||c?[...l?B(l):[],...B(e)]:[];a.forEach(p=>{i&&p.addEventListener("scroll",o,{passive:!0}),c&&p.addEventListener("resize",o)});const d=l&&s?Dt(l,o):null;let g=-1,u=null;r&&(u=new ResizeObserver(p=>{let[w]=p;w&&w.target===l&&u&&(u.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var R;(R=u)==null||R.observe(e)})),o()}),l&&!f&&u.observe(l),u.observe(e));let x,h=f?A(t):null;f&&m();function m(){const p=A(t);h&&(p.x!==h.x||p.y!==h.y||p.width!==h.width||p.height!==h.height)&&o(),h=p,x=requestAnimationFrame(m)}return o(),()=>{var p;a.forEach(w=>{i&&w.removeEventListener("scroll",o),c&&w.removeEventListener("resize",o)}),d==null||d(),(p=u)==null||p.disconnect(),u=null,f&&cancelAnimationFrame(x)}}const Wt=(t,e,o)=>{const n=new Map,i={platform:Ft,...o},c={...i.platform,_c:n};return ht(t,e,{...i,platform:c})};export{Nt as a,Wt as c,St as t};
1
+ const t="div[role=tooltip]{position:absolute;width:max-content;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s}#floating{position:absolute;width:max-content;top:0;left:0}";export{t};
@@ -2,18 +2,18 @@
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),V=new WeakMap;let tt=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(D&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=V.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&V.set(e,t))}return t}toString(){return this.cssText}};const ot=n=>new tt(typeof n=="string"?n:n+"",void 0,I),wt=(n,...t)=>{const e=n.length===1?n[0]:t.reduce((s,i,o)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+n[o+1],n[0]);return new tt(e,n,I)},ht=(n,t)=>{if(D)n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=T.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,n.appendChild(s)}},W=D?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return ot(e)})(n):n;/**
5
+ */const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),V=new WeakMap;let ee=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(D&&e===void 0){const s=t!==void 0&&t.length===1;s&&(e=V.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&V.set(t,e))}return e}toString(){return this.cssText}};const oe=n=>new ee(typeof n=="string"?n:n+"",void 0,I),Pe=(n,...e)=>{const t=n.length===1?n[0]:e.reduce((s,i,o)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+n[o+1],n[0]);return new ee(t,n,I)},he=(n,e)=>{if(D)n.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const s=document.createElement("style"),i=T.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=t.cssText,n.appendChild(s)}},W=D?n=>n:n=>n instanceof CSSStyleSheet?(e=>{let t="";for(const s of e.cssRules)t+=s.cssText;return oe(t)})(n):n;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:at,defineProperty:lt,getOwnPropertyDescriptor:ct,getOwnPropertyNames:dt,getOwnPropertySymbols:pt,getPrototypeOf:$t}=Object,f=globalThis,q=f.trustedTypes,ut=q?q.emptyScript:"",M=f.reactiveElementPolyfillSupport,b=(n,t)=>n,B={toAttribute(n,t){switch(t){case Boolean:n=n?ut:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},et=(n,t)=>!at(n,t),J={attribute:!0,type:String,converter:B,reflect:!1,hasChanged:et};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),f.litPropertyMetadata??(f.litPropertyMetadata=new WeakMap);class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=J){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&lt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=ct(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get(){return i==null?void 0:i.call(this)},set(r){const l=i==null?void 0:i.call(this);o.call(this,r),this.requestUpdate(t,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??J}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=$t(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const e=this.properties,s=[...dt(e),...pt(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var o;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((o=s.converter)==null?void 0:o.toAttribute)!==void 0?s.converter:B).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var o;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const r=s.getPropertyOptions(i),l=typeof r.converter=="function"?{fromAttribute:r.converter}:((o=r.converter)==null?void 0:o.fromAttribute)!==void 0?r.converter:B;this._$Em=i,this[i]=l.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??et)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,r]of this._$Ep)this[o]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,r]of i)r.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(e)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[b("elementProperties")]=new Map,y[b("finalized")]=new Map,M==null||M({ReactiveElement:y}),(f.reactiveElementVersions??(f.reactiveElementVersions=[])).push("2.0.4");/**
9
+ */const{is:ae,defineProperty:le,getOwnPropertyDescriptor:de,getOwnPropertyNames:ce,getOwnPropertySymbols:ue,getPrototypeOf:pe}=Object,_=globalThis,q=_.trustedTypes,$e=q?q.emptyScript:"",M=_.reactiveElementPolyfillSupport,C=(n,e)=>n,B={toAttribute(n,e){switch(e){case Boolean:n=n?$e:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,e){let t=n;switch(e){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},te=(n,e)=>!ae(n,e),J={attribute:!0,type:String,converter:B,reflect:!1,hasChanged:te};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),_.litPropertyMetadata??(_.litPropertyMetadata=new WeakMap);class y extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=J){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(e,s,t);i!==void 0&&le(this.prototype,e,i)}}static getPropertyDescriptor(e,t,s){const{get:i,set:o}=de(this.prototype,e)??{get(){return this[t]},set(r){this[t]=r}};return{get(){return i==null?void 0:i.call(this)},set(r){const l=i==null?void 0:i.call(this);o.call(this,r),this.requestUpdate(e,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??J}static _$Ei(){if(this.hasOwnProperty(C("elementProperties")))return;const e=pe(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(C("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(C("properties"))){const t=this.properties,s=[...ce(t),...ue(t)];for(const i of s)this.createProperty(i,t[i])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[s,i]of t)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const i of s)t.unshift(W(i))}else e!==void 0&&t.push(W(e));return t}static _$Eu(e,t){const s=t.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return he(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostConnected)==null?void 0:s.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostDisconnected)==null?void 0:s.call(t)})}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$EC(e,t){var o;const s=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,s);if(i!==void 0&&s.reflect===!0){const r=(((o=s.converter)==null?void 0:o.toAttribute)!==void 0?s.converter:B).toAttribute(t,s.type);this._$Em=e,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(e,t){var o;const s=this.constructor,i=s._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const r=s.getPropertyOptions(i),l=typeof r.converter=="function"?{fromAttribute:r.converter}:((o=r.converter)==null?void 0:o.fromAttribute)!==void 0?r.converter:B;this._$Em=i,this[i]=l.fromAttribute(t,r.type),this._$Em=null}}requestUpdate(e,t,s){if(e!==void 0){if(s??(s=this.constructor.getPropertyOptions(e)),!(s.hasChanged??te)(this[e],t))return;this.P(e,t,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,s){this._$AL.has(e)||this._$AL.set(e,t),s.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,r]of this._$Ep)this[o]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,r]of i)r.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],r)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(s=this._$EO)==null||s.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(t)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[C("elementProperties")]=new Map,y[C("finalized")]=new Map,M==null||M({ReactiveElement:y}),(_.reactiveElementVersions??(_.reactiveElementVersions=[])).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const C=globalThis,N=C.trustedTypes,K=N?N.createPolicy("lit-html",{createHTML:n=>n}):void 0,st="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,it="?"+_,_t=`<${it}>`,g=document,w=()=>g.createComment(""),P=n=>n===null||typeof n!="object"&&typeof n!="function",j=Array.isArray,ft=n=>j(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",k=`[
14
- \f\r]`,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,F=/>/g,A=RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Q=/"/g,nt=/^(?:script|style|textarea|title)$/i,At=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),Pt=At(1),v=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),X=new WeakMap,m=g.createTreeWalker(g,129);function rt(n,t){if(!j(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return K!==void 0?K.createHTML(t):t}const mt=(n,t)=>{const e=n.length-1,s=[];let i,o=t===2?"<svg>":t===3?"<math>":"",r=S;for(let l=0;l<e;l++){const h=n[l];let c,p,a=-1,$=0;for(;$<h.length&&(r.lastIndex=$,p=r.exec(h),p!==null);)$=r.lastIndex,r===S?p[1]==="!--"?r=Z:p[1]!==void 0?r=F:p[2]!==void 0?(nt.test(p[2])&&(i=RegExp("</"+p[2],"g")),r=A):p[3]!==void 0&&(r=A):r===A?p[0]===">"?(r=i??S,a=-1):p[1]===void 0?a=-2:(a=r.lastIndex-p[2].length,c=p[1],r=p[3]===void 0?A:p[3]==='"'?Q:G):r===Q||r===G?r=A:r===Z||r===F?r=S:(r=A,i=void 0);const u=r===A&&n[l+1].startsWith("/>")?" ":"";o+=r===S?h+_t:a>=0?(s.push(c),h.slice(0,a)+st+h.slice(a)+_+u):h+_+(a===-2?l:u)}return[rt(n,o+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class U{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,r=0;const l=t.length-1,h=this.parts,[c,p]=mt(t,e);if(this.el=U.createElement(c,s),m.currentNode=this.el.content,e===2||e===3){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=m.nextNode())!==null&&h.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const a of i.getAttributeNames())if(a.endsWith(st)){const $=p[r++],u=i.getAttribute(a).split(_),H=/([.?@])?(.*)/.exec($);h.push({type:1,index:o,name:H[2],strings:u,ctor:H[1]==="."?yt:H[1]==="?"?vt:H[1]==="@"?Et:R}),i.removeAttribute(a)}else a.startsWith(_)&&(h.push({type:6,index:o}),i.removeAttribute(a));if(nt.test(i.tagName)){const a=i.textContent.split(_),$=a.length-1;if($>0){i.textContent=N?N.emptyScript:"";for(let u=0;u<$;u++)i.append(a[u],w()),m.nextNode(),h.push({type:2,index:++o});i.append(a[$],w())}}}else if(i.nodeType===8)if(i.data===it)h.push({type:2,index:o});else{let a=-1;for(;(a=i.data.indexOf(_,a+1))!==-1;)h.push({type:7,index:o}),a+=_.length-1}o++}}static createElement(t,e){const s=g.createElement("template");return s.innerHTML=t,s}}function E(n,t,e=n,s){var r,l;if(t===v)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const o=P(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),o===void 0?i=void 0:(i=new o(n),i._$AT(n,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=E(n,i._$AS(n,t.values),i,s)),t}class gt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??g).importNode(e,!0);m.currentNode=i;let o=m.nextNode(),r=0,l=0,h=s[0];for(;h!==void 0;){if(r===h.index){let c;h.type===2?c=new x(o,o.nextSibling,this,t):h.type===1?c=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&(c=new St(o,this,t)),this._$AV.push(c),h=s[++l]}r!==(h==null?void 0:h.index)&&(o=m.nextNode(),r++)}return m.currentNode=g,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class x{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),P(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&P(this._$AH)?this._$AA.nextSibling.data=t:this.T(g.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=U.createElement(rt(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(e);else{const r=new gt(i,this),l=r.u(this.options);r.p(e),this.T(l),this._$AH=r}}_$AC(t){let e=X.get(t.strings);return e===void 0&&X.set(t.strings,e=new U(t)),e}k(t){j(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new x(this.O(w()),this.O(w()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,i){const o=this.strings;let r=!1;if(o===void 0)t=E(this,t,e,0),r=!P(t)||t!==this._$AH&&t!==v,r&&(this._$AH=t);else{const l=t;let h,c;for(t=o[0],h=0;h<o.length-1;h++)c=E(this,l[s+h],e,h),c===v&&(c=this._$AH[h]),r||(r=!P(c)||c!==this._$AH[h]),c===d?t=d:t!==d&&(t+=(c??"")+o[h+1]),this._$AH[h]=c}r&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class yt extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class vt extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Et extends R{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??d)===v)return;const s=this._$AH,i=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==d&&(s===d||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class St{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const L=C.litHtmlPolyfillSupport;L==null||L(U,x),(C.litHtmlVersions??(C.litHtmlVersions=[])).push("3.2.1");const bt=(n,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const o=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new x(t.insertBefore(w(),o),o,void 0,e??{})}return i._$AI(n),i};/**
13
+ */const w=globalThis,N=w.trustedTypes,K=N?N.createPolicy("lit-html",{createHTML:n=>n}):void 0,se="$lit$",f=`lit$${Math.random().toFixed(9).slice(2)}$`,ie="?"+f,fe=`<${ie}>`,g=document,P=()=>g.createComment(""),U=n=>n===null||typeof n!="object"&&typeof n!="function",j=Array.isArray,_e=n=>j(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",k=`[
14
+ \f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,F=/>/g,A=RegExp(`>|${k}(?:([^\\s"'>=/]+)(${k}*=${k}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Q=/"/g,ne=/^(?:script|style|textarea|title)$/i,Ae=n=>(e,...t)=>({_$litType$:n,strings:e,values:t}),Ue=Ae(1),E=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),X=new WeakMap,m=g.createTreeWalker(g,129);function re(n,e){if(!j(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return K!==void 0?K.createHTML(e):e}const me=(n,e)=>{const t=n.length-1,s=[];let i,o=e===2?"<svg>":e===3?"<math>":"",r=b;for(let l=0;l<t;l++){const h=n[l];let d,u,a=-1,p=0;for(;p<h.length&&(r.lastIndex=p,u=r.exec(h),u!==null);)p=r.lastIndex,r===b?u[1]==="!--"?r=Z:u[1]!==void 0?r=F:u[2]!==void 0?(ne.test(u[2])&&(i=RegExp("</"+u[2],"g")),r=A):u[3]!==void 0&&(r=A):r===A?u[0]===">"?(r=i??b,a=-1):u[1]===void 0?a=-2:(a=r.lastIndex-u[2].length,d=u[1],r=u[3]===void 0?A:u[3]==='"'?Q:G):r===Q||r===G?r=A:r===Z||r===F?r=b:(r=A,i=void 0);const $=r===A&&n[l+1].startsWith("/>")?" ":"";o+=r===b?h+fe:a>=0?(s.push(d),h.slice(0,a)+se+h.slice(a)+f+$):h+f+(a===-2?l:$)}return[re(n,o+(n[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),s]};class x{constructor({strings:e,_$litType$:t},s){let i;this.parts=[];let o=0,r=0;const l=e.length-1,h=this.parts,[d,u]=me(e,t);if(this.el=x.createElement(d,s),m.currentNode=this.el.content,t===2||t===3){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=m.nextNode())!==null&&h.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const a of i.getAttributeNames())if(a.endsWith(se)){const p=u[r++],$=i.getAttribute(a).split(f),H=/([.?@])?(.*)/.exec(p);h.push({type:1,index:o,name:H[2],strings:$,ctor:H[1]==="."?ye:H[1]==="?"?Ee:H[1]==="@"?Se:R}),i.removeAttribute(a)}else a.startsWith(f)&&(h.push({type:6,index:o}),i.removeAttribute(a));if(ne.test(i.tagName)){const a=i.textContent.split(f),p=a.length-1;if(p>0){i.textContent=N?N.emptyScript:"";for(let $=0;$<p;$++)i.append(a[$],P()),m.nextNode(),h.push({type:2,index:++o});i.append(a[p],P())}}}else if(i.nodeType===8)if(i.data===ie)h.push({type:2,index:o});else{let a=-1;for(;(a=i.data.indexOf(f,a+1))!==-1;)h.push({type:7,index:o}),a+=f.length-1}o++}}static createElement(e,t){const s=g.createElement("template");return s.innerHTML=e,s}}function S(n,e,t=n,s){var r,l;if(e===E)return e;let i=s!==void 0?(r=t._$Co)==null?void 0:r[s]:t._$Cl;const o=U(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),o===void 0?i=void 0:(i=new o(n),i._$AT(n,t,s)),s!==void 0?(t._$Co??(t._$Co=[]))[s]=i:t._$Cl=i),i!==void 0&&(e=S(n,i._$AS(n,e.values),i,s)),e}class ge{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:s}=this._$AD,i=((e==null?void 0:e.creationScope)??g).importNode(t,!0);m.currentNode=i;let o=m.nextNode(),r=0,l=0,h=s[0];for(;h!==void 0;){if(r===h.index){let d;h.type===2?d=new v(o,o.nextSibling,this,e):h.type===1?d=new h.ctor(o,h.name,h.strings,this,e):h.type===6&&(d=new be(o,this,e)),this._$AV.push(d),h=s[++l]}r!==(h==null?void 0:h.index)&&(o=m.nextNode(),r++)}return m.currentNode=g,i}p(e){let t=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(e,s,t),t+=s.strings.length-2):s._$AI(e[t])),t++}}class v{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,t,s,i){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=S(this,e,t),U(e)?e===c||e==null||e===""?(this._$AH!==c&&this._$AR(),this._$AH=c):e!==this._$AH&&e!==E&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_e(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==c&&U(this._$AH)?this._$AA.nextSibling.data=e:this.T(g.createTextNode(e)),this._$AH=e}$(e){var o;const{values:t,_$litType$:s}=e,i=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=x.createElement(re(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(t);else{const r=new ge(i,this),l=r.u(this.options);r.p(t),this.T(l),this._$AH=r}}_$AC(e){let t=X.get(e.strings);return t===void 0&&X.set(e.strings,t=new x(e)),t}k(e){j(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let s,i=0;for(const o of e)i===t.length?t.push(s=new v(this.O(P()),this.O(P()),this,this.options)):s=t[i],s._$AI(o),i++;i<t.length&&(this._$AR(s&&s._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,t);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,s,i,o){this.type=1,this._$AH=c,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=c}_$AI(e,t=this,s,i){const o=this.strings;let r=!1;if(o===void 0)e=S(this,e,t,0),r=!U(e)||e!==this._$AH&&e!==E,r&&(this._$AH=e);else{const l=e;let h,d;for(e=o[0],h=0;h<o.length-1;h++)d=S(this,l[s+h],t,h),d===E&&(d=this._$AH[h]),r||(r=!U(d)||d!==this._$AH[h]),d===c?e=c:e!==c&&(e+=(d??"")+o[h+1]),this._$AH[h]=d}r&&!i&&this.j(e)}j(e){e===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class ye extends R{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===c?void 0:e}}class Ee extends R{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==c)}}class Se extends R{constructor(e,t,s,i,o){super(e,t,s,i,o),this.type=5}_$AI(e,t=this){if((e=S(this,e,t,0)??c)===E)return;const s=this._$AH,i=e===c&&s!==c||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,o=e!==c&&(s===c||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t;typeof this._$AH=="function"?this._$AH.call(((t=this.options)==null?void 0:t.host)??this.element,e):this._$AH.handleEvent(e)}}class be{constructor(e,t,s){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(e){S(this,e)}}const L=w.litHtmlPolyfillSupport;L==null||L(x,v),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.2.1");const Ce=(n,e,t)=>{const s=(t==null?void 0:t.renderBefore)??e;let i=s._$litPart$;if(i===void 0){const o=(t==null?void 0:t.renderBefore)??null;s._$litPart$=i=new v(e.insertBefore(P(),o),o,void 0,t??{})}return i._$AI(n),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */class O extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return v}}var Y;O._$litElement$=!0,O.finalized=!0,(Y=globalThis.litElementHydrateSupport)==null||Y.call(globalThis,{LitElement:O});const z=globalThis.litElementPolyfillSupport;z==null||z({LitElement:O});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");export{d as E,v as T,ot as a,et as f,wt as i,O as r,B as u,Pt as x};
19
+ */class O extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ce(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return E}}var Y;O._$litElement$=!0,O.finalized=!0,(Y=globalThis.litElementHydrateSupport)==null||Y.call(globalThis,{LitElement:O});const z=globalThis.litElementPolyfillSupport;z==null||z({LitElement:O});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");export{c as E,E as T,oe as a,te as f,Pe as i,O as r,B as u,Ue as x};
@@ -2,4 +2,4 @@
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const n=e=>(t,i)=>{i!==void 0?i.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};export{n as t};
5
+ */const d=e=>(n,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(e,n)}):customElements.define(e,n)};export{d as t};
@@ -1 +1,5 @@
1
- const o='@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_Avenir.woff2) format("woff2"),url(/assets/nCino_Avenir.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirMd.woff2) format("woff2"),url(/assets/nCino_AvenirMd.woff) format("woff");font-weight:500;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirBd.woff2) format("woff2"),url(/assets/nCino_AvenirBd.woff) format("woff");font-weight:600;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirHv.woff2) format("woff2"),url(/assets/nCino_AvenirHv.woff) format("woff");font-weight:700;font-style:normal}:host,:root{--color-black-100: #000000;--color-black-90: #1a1a1a;--color-black-80: #333333;--color-black-70: #4d4d4d;--color-black-60: #666666;--color-black-50: #808080;--color-black-40: #999999;--color-black-30: #b3b3b3;--color-black-20: #cccccc;--color-black-10: #e6e6e6;--color-neutral-70: #1F1F1F;--color-neutral-60: #404040;--color-neutral-50: #6D6D6D;--color-neutral-40: #BFBFBF;--color-neutral-30: #E5E5E5;--color-neutral-20: #F2F2F2;--color-neutral-10: #F7F7F7;--color-neutral-0: #FFFFFF;--color-blue-50: #0A2033;--color-blue-40: #0E304D;--color-blue-30: #11395B;--color-blue-25: #C3CDD6;--color-blue-20: #C3CDD6;--color-blue-10: #F3F5F7;--color-grey-10: #fff;--spacing-1: .125rem;--spacing-2: .25rem;--spacing-3: .5rem;--spacing-4: 1rem;--spacing-6: 1.5rem;--spacing-7: 2rem;--color-red-40: #AA330E;--color-red-30: #D44011;--color-red-20: #E99F88;--color-red-10: #FAEBE7;--color-green-40: #1B8754;--color-green-30: #22A969;--color-green-20: #90D4B4;--color-green-10: #E9F7F0;--color-orange-40: #BD5A00;--color-orange-30: #EC7000;--color-orange-20: #F5B77F;--color-orange-10: #FEF1E6;--ngc-font-family-header: "nCino+Avenir", sans-serif;--ngc-font-family-body: "Open Sans", sans-serif}';export{o as p};
1
+ import{n as r}from"./index-chunk.js";/**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */function n(t){return r({...t,state:!0,attribute:!1})}export{n as r};
@@ -1 +1 @@
1
- const r=':host,:root{--color-background-primary: var(--color-blue-10, #F3F5F7);--color-stroke-brand: var(--color-blue-30, #11395B);--color-stroke-brand-secondary: var(--color-blue-20, #C3CDD6);--color-stroke-primary: var(--color-neutral-50, #6D6D6D);--color-stroke-secondary: var(--color-neutral-40, #BFBFBF);--color-stroke-success: var(--color-green-20);--color-stroke-warning: var(--color-orange-20);--color-stroke-error-weak: var(--color-red-20);--color-stroke-error-strong: var(--color-red-30);--color-stroke-tertiary: var(--color-neutral-30, #E5E5E5);--color-stroke-button: var(--color-neutral-70);--color-stroke-interactive: var(--color-neutral-70);--color-text-primary-base: var(--color-neutral-70, #1F1F1F);--color-text-secondary: var(--color-neutral-50, #6D6D6D);--color-text-brand: var(--color-blue-30, #11395B);--color-text-placeholder: var(--color-neutral-50, #6D6D6D);--color-text-error: var(--color-red-40, #AA330E);--color-text-disabled: var(--color-neutral-50, #6D6D6D);--color-text-inverse: var(--color-neutral-0, #FFFFFF);--color-surface-primary: var(--color-neutral-0, #FFFFFF);--color-surface-brand: var(--color-blue-10, #F3F5F7);--color-surface-brand-secondary: var(--color-blue-20, #C3CDD6);--color-surface-secondary: var(--color-neutral-10);--color-surface-error: var(--color-red-10);--color-surface-success: var(--color-green-10);--color-surface-warning: var(--color-orange-10);--color-surface-badge: var(--color-red-30);--color-surface-hover: var(--color-neutral-10, #F7F7F7);--color-surface-loading: var(--color-neutral-30);--color-surface-interactive-primary: var(--color-blue-40, #0E304D);--color-surface-interactive-primary-hover: var(--color-blue-50, #0A2033);--color-surface-interactive-primary-pressed: var(--color-blue-50, #0A2033);--color-icon-error: var(--color-red-30);--color-icon-success: var(--color-green-30);--color-icon-warning: var(--color-orange-30);--color-icon-disabled: var(--color-neutral-40, #BFBFBF);--color-icon-brand: var(--color-blue-30);--color-primary-03-base: var(--color-neutral-70, #1F1F1F);--color-primary-01-placeholder: var(--color-neutral-50, #6D6D6D);--color-underline-primary: var(--color-neutral-40, #BFBFBF);--color-button-pressed: var(--color-neutral-60, #404040);--color-button-disabled: var(--color-neutral-40, #BFBFBF);--color-focus-gap: var(--color-neutral-0, #FFFFFF);--color-focus-border: var(--color-blue-30, #11395B);--primary-01-placeholder: var(--color-neutral-50, #6D6D6D);--text-color-secondary: var(--color-neutral-50, #6D6D6D);--size-stroke-1: 1px;--radius-sm: .125rem;--text-size-body-1: 1.0625rem;--text-size-body-2: .9375rem;--text-size-caption: .8125rem;--text-size-subtitle-1: 1.0625rem;--text-size-h1: 2.5rem;--text-size-h5: 1.25rem;--text-size-button-small: .8125rem;--text-size-button-large: 1.0625rem;--text-line-height-subtitle-1: 1.5rem;--text-line-height-body-1: 1.5rem;--text-line-height-body-2: 1.375rem;--text-line-height-h1: 3.125rem;--text-line-height-h5: 1.875rem;--text-family-sans-serif: "Open Sans", sans-serif;--spacing-2: .5rem;--spacing-5: 1.5rem;--spacing-padding-margin-16: 1rem;--spacing-padding-margin-8: .5rem;--spacing-padding-margin-4: .25rem;--spacing-gap-4: .25rem;--spacing-gap-8: .5rem;--spacing-gap-12: .75rem;--spacing-gap-16: 1rem;--size-icon-default: 1.5rem;--text-line-height-subtitle: 1.5rem}';export{r as s};
1
+ const o='@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_Avenir.woff2) format("woff2"),url(/assets/nCino_Avenir.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirMd.woff2) format("woff2"),url(/assets/nCino_AvenirMd.woff) format("woff");font-weight:500;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirBd.woff2) format("woff2"),url(/assets/nCino_AvenirBd.woff) format("woff");font-weight:600;font-style:normal}@font-face{font-family:"nCino+Avenir";src:url(/assets/nCino_AvenirHv.woff2) format("woff2"),url(/assets/nCino_AvenirHv.woff) format("woff");font-weight:700;font-style:normal}:host,:root{--color-black-100: #000000;--color-black-90: #1a1a1a;--color-black-80: #333333;--color-black-70: #4d4d4d;--color-black-60: #666666;--color-black-50: #808080;--color-black-40: #999999;--color-black-30: #b3b3b3;--color-black-20: #cccccc;--color-black-10: #e6e6e6;--color-neutral-70: #1F1F1F;--color-neutral-60: #404040;--color-neutral-50: #6D6D6D;--color-neutral-40: #BFBFBF;--color-neutral-30: #E5E5E5;--color-neutral-20: #F2F2F2;--color-neutral-10: #F7F7F7;--color-neutral-0: #FFFFFF;--color-blue-50: #0A2033;--color-blue-40: #0E304D;--color-blue-30: #11395B;--color-blue-25: #C3CDD6;--color-blue-20: #C3CDD6;--color-blue-10: #F3F5F7;--color-grey-10: #fff;--spacing-1: .125rem;--spacing-2: .25rem;--spacing-3: .5rem;--spacing-4: 1rem;--spacing-6: 1.5rem;--spacing-7: 2rem;--color-red-40: #AA330E;--color-red-30: #D44011;--color-red-20: #E99F88;--color-red-10: #FAEBE7;--color-green-40: #1B8754;--color-green-30: #22A969;--color-green-20: #90D4B4;--color-green-10: #E9F7F0;--color-orange-40: #BD5A00;--color-orange-30: #EC7000;--color-orange-20: #F5B77F;--color-orange-10: #FEF1E6;--ngc-font-family-header: "nCino+Avenir", sans-serif;--ngc-font-family-body: "Open Sans", sans-serif}';export{o as p};