@swisspost/internet-header 10.6.0 → 10.7.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 (244) hide show
  1. package/dist/cjs/index.cjs.js +1 -1
  2. package/dist/cjs/{package-D7UYFbVU.js → package-BWgt2bx3.js} +1 -1
  3. package/dist/cjs/{package-pKyFPwiA.js → package-BtKYhTNj.js} +1 -1
  4. package/dist/cjs/post-accordion_4.cjs.entry.js +1 -1
  5. package/dist/cjs/post-autocomplete.cjs.entry.js +1 -1
  6. package/dist/cjs/post-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/post-back-to-top.cjs.entry.js +1 -1
  8. package/dist/cjs/post-banner.cjs.entry.js +1 -1
  9. package/dist/cjs/post-breadcrumb-item.cjs.entry.js +1 -1
  10. package/dist/cjs/post-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/post-closebutton.cjs.entry.js +1 -1
  12. package/dist/cjs/post-date-picker.cjs.entry.js +24 -22
  13. package/dist/cjs/post-footer.cjs.entry.js +2 -2
  14. package/dist/cjs/post-header.cjs.entry.js +16 -10
  15. package/dist/cjs/post-icon.cjs.entry.js +1 -1
  16. package/dist/cjs/post-language-menu-item.cjs.entry.js +1 -1
  17. package/dist/cjs/post-language-menu.cjs.entry.js +1 -1
  18. package/dist/cjs/post-linkarea.cjs.entry.js +1 -1
  19. package/dist/cjs/post-listbox-option.cjs.entry.js +1 -1
  20. package/dist/cjs/post-listbox.cjs.entry.js +1 -1
  21. package/dist/cjs/post-logo.cjs.entry.js +1 -1
  22. package/dist/cjs/post-mainnavigation.cjs.entry.js +1 -1
  23. package/dist/cjs/post-megadropdown-trigger.cjs.entry.js +1 -1
  24. package/dist/cjs/post-megadropdown.cjs.entry.js +2 -2
  25. package/dist/cjs/post-menu-item.cjs.entry.js +1 -1
  26. package/dist/cjs/post-menu_2.cjs.entry.js +1 -1
  27. package/dist/cjs/post-number-input.cjs.entry.js +1 -1
  28. package/dist/cjs/post-pagination.cjs.entry.js +1 -1
  29. package/dist/cjs/post-popover-trigger.cjs.entry.js +1 -1
  30. package/dist/cjs/post-popover.cjs.entry.js +1 -1
  31. package/dist/cjs/post-popovercontainer.cjs.entry.js +1 -1
  32. package/dist/cjs/post-rating.cjs.entry.js +1 -1
  33. package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +1 -1
  34. package/dist/cjs/post-side-navigation.cjs.entry.js +1 -1
  35. package/dist/cjs/post-stepper-item.cjs.entry.js +1 -1
  36. package/dist/cjs/post-stepper.cjs.entry.js +1 -1
  37. package/dist/cjs/post-tab-item.cjs.entry.js +1 -1
  38. package/dist/cjs/post-tab-panel.cjs.entry.js +1 -1
  39. package/dist/cjs/post-tabs.cjs.entry.js +1 -1
  40. package/dist/cjs/post-togglebutton.cjs.entry.js +1 -1
  41. package/dist/cjs/post-tooltip-trigger.cjs.entry.js +1 -1
  42. package/dist/cjs/post-tooltip.cjs.entry.js +1 -1
  43. package/dist/cjs/swisspost-internet-footer.cjs.entry.js +1 -1
  44. package/dist/cjs/swisspost-internet-header.cjs.entry.js +26 -11
  45. package/dist/collection/services/config.service.js +25 -10
  46. package/dist/components/package.js +1 -1
  47. package/dist/components/package2.js +1 -1
  48. package/dist/components/post-date-picker.js +1 -1
  49. package/dist/components/post-footer2.js +1 -1
  50. package/dist/components/post-header2.js +1 -1
  51. package/dist/components/post-megadropdown.js +1 -1
  52. package/dist/components/swisspost-internet-header.js +1 -1
  53. package/dist/docs.json +1 -1
  54. package/dist/esm/index.js +1 -1
  55. package/dist/esm/{package-T8T3po4z.js → package-BBz9PVf0.js} +1 -1
  56. package/dist/esm/{package-Dy8-dzD8.js → package-DRoYikPQ.js} +1 -1
  57. package/dist/esm/post-accordion_4.entry.js +1 -1
  58. package/dist/esm/post-autocomplete.entry.js +1 -1
  59. package/dist/esm/post-avatar.entry.js +1 -1
  60. package/dist/esm/post-back-to-top.entry.js +1 -1
  61. package/dist/esm/post-banner.entry.js +1 -1
  62. package/dist/esm/post-breadcrumb-item.entry.js +1 -1
  63. package/dist/esm/post-breadcrumbs.entry.js +1 -1
  64. package/dist/esm/post-closebutton.entry.js +1 -1
  65. package/dist/esm/post-date-picker.entry.js +24 -22
  66. package/dist/esm/post-footer.entry.js +2 -2
  67. package/dist/esm/post-header.entry.js +16 -10
  68. package/dist/esm/post-icon.entry.js +1 -1
  69. package/dist/esm/post-language-menu-item.entry.js +1 -1
  70. package/dist/esm/post-language-menu.entry.js +1 -1
  71. package/dist/esm/post-linkarea.entry.js +1 -1
  72. package/dist/esm/post-listbox-option.entry.js +1 -1
  73. package/dist/esm/post-listbox.entry.js +1 -1
  74. package/dist/esm/post-logo.entry.js +1 -1
  75. package/dist/esm/post-mainnavigation.entry.js +1 -1
  76. package/dist/esm/post-megadropdown-trigger.entry.js +1 -1
  77. package/dist/esm/post-megadropdown.entry.js +2 -2
  78. package/dist/esm/post-menu-item.entry.js +1 -1
  79. package/dist/esm/post-menu_2.entry.js +1 -1
  80. package/dist/esm/post-number-input.entry.js +1 -1
  81. package/dist/esm/post-pagination.entry.js +1 -1
  82. package/dist/esm/post-popover-trigger.entry.js +1 -1
  83. package/dist/esm/post-popover.entry.js +1 -1
  84. package/dist/esm/post-popovercontainer.entry.js +1 -1
  85. package/dist/esm/post-rating.entry.js +1 -1
  86. package/dist/esm/post-side-navigation-trigger.entry.js +1 -1
  87. package/dist/esm/post-side-navigation.entry.js +1 -1
  88. package/dist/esm/post-stepper-item.entry.js +1 -1
  89. package/dist/esm/post-stepper.entry.js +1 -1
  90. package/dist/esm/post-tab-item.entry.js +1 -1
  91. package/dist/esm/post-tab-panel.entry.js +1 -1
  92. package/dist/esm/post-tabs.entry.js +1 -1
  93. package/dist/esm/post-togglebutton.entry.js +1 -1
  94. package/dist/esm/post-tooltip-trigger.entry.js +1 -1
  95. package/dist/esm/post-tooltip.entry.js +1 -1
  96. package/dist/esm/swisspost-internet-footer.entry.js +1 -1
  97. package/dist/esm/swisspost-internet-header.entry.js +26 -11
  98. package/dist/esm-es5/index.js +1 -1
  99. package/dist/esm-es5/package-BBz9PVf0.js +1 -0
  100. package/dist/esm-es5/{package-Dy8-dzD8.js → package-DRoYikPQ.js} +1 -1
  101. package/dist/esm-es5/post-accordion_4.entry.js +1 -1
  102. package/dist/esm-es5/post-autocomplete.entry.js +1 -1
  103. package/dist/esm-es5/post-avatar.entry.js +1 -1
  104. package/dist/esm-es5/post-back-to-top.entry.js +1 -1
  105. package/dist/esm-es5/post-banner.entry.js +1 -1
  106. package/dist/esm-es5/post-breadcrumb-item.entry.js +1 -1
  107. package/dist/esm-es5/post-breadcrumbs.entry.js +1 -1
  108. package/dist/esm-es5/post-closebutton.entry.js +1 -1
  109. package/dist/esm-es5/post-date-picker.entry.js +1 -1
  110. package/dist/esm-es5/post-footer.entry.js +1 -1
  111. package/dist/esm-es5/post-header.entry.js +1 -1
  112. package/dist/esm-es5/post-icon.entry.js +1 -1
  113. package/dist/esm-es5/post-language-menu-item.entry.js +1 -1
  114. package/dist/esm-es5/post-language-menu.entry.js +1 -1
  115. package/dist/esm-es5/post-linkarea.entry.js +1 -1
  116. package/dist/esm-es5/post-listbox-option.entry.js +1 -1
  117. package/dist/esm-es5/post-listbox.entry.js +1 -1
  118. package/dist/esm-es5/post-logo.entry.js +1 -1
  119. package/dist/esm-es5/post-mainnavigation.entry.js +1 -1
  120. package/dist/esm-es5/post-megadropdown-trigger.entry.js +1 -1
  121. package/dist/esm-es5/post-megadropdown.entry.js +1 -1
  122. package/dist/esm-es5/post-menu-item.entry.js +1 -1
  123. package/dist/esm-es5/post-menu_2.entry.js +1 -1
  124. package/dist/esm-es5/post-number-input.entry.js +1 -1
  125. package/dist/esm-es5/post-pagination.entry.js +1 -1
  126. package/dist/esm-es5/post-popover-trigger.entry.js +1 -1
  127. package/dist/esm-es5/post-popover.entry.js +1 -1
  128. package/dist/esm-es5/post-popovercontainer.entry.js +1 -1
  129. package/dist/esm-es5/post-rating.entry.js +1 -1
  130. package/dist/esm-es5/post-side-navigation-trigger.entry.js +1 -1
  131. package/dist/esm-es5/post-side-navigation.entry.js +1 -1
  132. package/dist/esm-es5/post-stepper-item.entry.js +1 -1
  133. package/dist/esm-es5/post-stepper.entry.js +1 -1
  134. package/dist/esm-es5/post-tab-item.entry.js +1 -1
  135. package/dist/esm-es5/post-tab-panel.entry.js +1 -1
  136. package/dist/esm-es5/post-tabs.entry.js +1 -1
  137. package/dist/esm-es5/post-togglebutton.entry.js +1 -1
  138. package/dist/esm-es5/post-tooltip-trigger.entry.js +1 -1
  139. package/dist/esm-es5/post-tooltip.entry.js +1 -1
  140. package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
  141. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  142. package/dist/swisspost-internet-header/index.esm.js +1 -1
  143. package/dist/swisspost-internet-header/{p-84ebaf4b.system.entry.js → p-06f12978.system.entry.js} +1 -1
  144. package/dist/swisspost-internet-header/{p-a75d1e4f.entry.js → p-110f7b07.entry.js} +1 -1
  145. package/dist/swisspost-internet-header/{p-613fa3a4.entry.js → p-12cb6db2.entry.js} +1 -1
  146. package/dist/swisspost-internet-header/p-1587ba27.system.entry.js +1 -0
  147. package/dist/swisspost-internet-header/{p-a435a51d.system.entry.js → p-17c15d71.system.entry.js} +1 -1
  148. package/dist/swisspost-internet-header/{p-81f34993.system.entry.js → p-1bb3ad80.system.entry.js} +1 -1
  149. package/dist/swisspost-internet-header/{p-c96dbc97.system.entry.js → p-1d5fca41.system.entry.js} +1 -1
  150. package/dist/swisspost-internet-header/{p-caed751e.entry.js → p-211fa616.entry.js} +1 -1
  151. package/dist/swisspost-internet-header/{p-087b1e22.system.entry.js → p-317104a6.system.entry.js} +1 -1
  152. package/dist/swisspost-internet-header/{p-8f21a530.entry.js → p-32fd1973.entry.js} +1 -1
  153. package/dist/swisspost-internet-header/{p-42806d60.system.entry.js → p-34c89f09.system.entry.js} +1 -1
  154. package/dist/swisspost-internet-header/{p-000978a2.system.entry.js → p-35ddf3ca.system.entry.js} +1 -1
  155. package/dist/swisspost-internet-header/{p-31af5cf2.system.entry.js → p-36be4427.system.entry.js} +1 -1
  156. package/dist/swisspost-internet-header/{p-826d0669.entry.js → p-370ecda3.entry.js} +1 -1
  157. package/dist/swisspost-internet-header/{p-586ee1e8.system.entry.js → p-3975075b.system.entry.js} +1 -1
  158. package/dist/swisspost-internet-header/{p-bb4c3ac1.entry.js → p-3ca53634.entry.js} +1 -1
  159. package/dist/swisspost-internet-header/{p-fdbcf065.entry.js → p-429c457a.entry.js} +1 -1
  160. package/dist/swisspost-internet-header/p-46dc968c.entry.js +1 -0
  161. package/dist/swisspost-internet-header/{p-068b1e2b.entry.js → p-47cd54ff.entry.js} +1 -1
  162. package/dist/swisspost-internet-header/{p-e69e8fa4.entry.js → p-4889abef.entry.js} +1 -1
  163. package/dist/swisspost-internet-header/p-495d1a20.system.entry.js +1 -0
  164. package/dist/swisspost-internet-header/{p-599e94e7.entry.js → p-4d9971e2.entry.js} +1 -1
  165. package/dist/swisspost-internet-header/{p-547d9572.system.entry.js → p-5915d0c4.system.entry.js} +1 -1
  166. package/dist/swisspost-internet-header/{p-03587cd5.entry.js → p-5971e15b.entry.js} +1 -1
  167. package/dist/swisspost-internet-header/{p-2197ca9e.system.entry.js → p-65457750.system.entry.js} +1 -1
  168. package/dist/swisspost-internet-header/p-65f9efeb.entry.js +1 -0
  169. package/dist/swisspost-internet-header/{p-72377b16.system.entry.js → p-68898c0b.system.entry.js} +1 -1
  170. package/dist/swisspost-internet-header/{p-abe2eefe.entry.js → p-6a35fb20.entry.js} +1 -1
  171. package/dist/swisspost-internet-header/{p-8717e0ce.system.entry.js → p-6c9cb3b7.system.entry.js} +1 -1
  172. package/dist/swisspost-internet-header/{p-2e8c0f26.entry.js → p-6f3ba321.entry.js} +1 -1
  173. package/dist/swisspost-internet-header/{p-d45690b3.system.entry.js → p-77a5472c.system.entry.js} +1 -1
  174. package/dist/swisspost-internet-header/{p-1502d221.system.entry.js → p-7949ff33.system.entry.js} +1 -1
  175. package/dist/swisspost-internet-header/{p-0d4d5c56.entry.js → p-79f2d9ef.entry.js} +1 -1
  176. package/dist/swisspost-internet-header/{p-fcfd3134.entry.js → p-7e8c8743.entry.js} +1 -1
  177. package/dist/swisspost-internet-header/{p-b4de053e.system.entry.js → p-81a2ec15.system.entry.js} +1 -1
  178. package/dist/swisspost-internet-header/{p-d7c2cce3.entry.js → p-82b18f9d.entry.js} +1 -1
  179. package/dist/swisspost-internet-header/{p-9c5941a2.entry.js → p-85f59fc3.entry.js} +1 -1
  180. package/dist/swisspost-internet-header/{p-bfc4a6a9.entry.js → p-8943e2e2.entry.js} +1 -1
  181. package/dist/swisspost-internet-header/{p-cec19e1d.system.entry.js → p-895b1160.system.entry.js} +1 -1
  182. package/dist/swisspost-internet-header/p-8bce262b.entry.js +1 -0
  183. package/dist/swisspost-internet-header/{p-651b9efe.entry.js → p-8d9023ce.entry.js} +1 -1
  184. package/dist/swisspost-internet-header/{p-a8b0c0ec.system.entry.js → p-94c6710f.system.entry.js} +1 -1
  185. package/dist/swisspost-internet-header/{p-d68a1179.entry.js → p-97727574.entry.js} +1 -1
  186. package/dist/swisspost-internet-header/{p-0f501e99.system.entry.js → p-990da9f3.system.entry.js} +1 -1
  187. package/dist/swisspost-internet-header/{p-f3e68437.system.entry.js → p-9c09cf8b.system.entry.js} +1 -1
  188. package/dist/swisspost-internet-header/{p-4557a744.entry.js → p-9dc1ecd1.entry.js} +1 -1
  189. package/dist/swisspost-internet-header/p-9e6a4c52.system.entry.js +1 -0
  190. package/dist/swisspost-internet-header/{p-b344fa82.entry.js → p-9e85063a.entry.js} +1 -1
  191. package/dist/swisspost-internet-header/{p-5443664a.entry.js → p-9f0ff23c.entry.js} +1 -1
  192. package/dist/swisspost-internet-header/p-B6etRRpy.system.js +1 -0
  193. package/dist/swisspost-internet-header/p-BBz9PVf0.js +1 -0
  194. package/dist/swisspost-internet-header/{p-D_rLPX5e.system.js → p-DHWj-DKi.system.js} +1 -1
  195. package/dist/swisspost-internet-header/{p-COm5Sc71.system.js → p-DHpwVMSs.system.js} +1 -1
  196. package/dist/swisspost-internet-header/{p-B-DGLCj0.js → p-IHvD9UqE.js} +1 -1
  197. package/dist/swisspost-internet-header/p-R5BnOD0U.system.js +1 -1
  198. package/dist/swisspost-internet-header/{p-e5ebe099.system.entry.js → p-a0ee4b1e.system.entry.js} +1 -1
  199. package/dist/swisspost-internet-header/{p-6f79a60d.system.entry.js → p-a41bc8b4.system.entry.js} +1 -1
  200. package/dist/swisspost-internet-header/{p-c1e818d2.entry.js → p-a41bdf7a.entry.js} +1 -1
  201. package/dist/swisspost-internet-header/{p-b85fabc2.system.entry.js → p-aa5d0b16.system.entry.js} +1 -1
  202. package/dist/swisspost-internet-header/{p-089412b9.entry.js → p-b3481769.entry.js} +1 -1
  203. package/dist/swisspost-internet-header/{p-7ad0de4b.system.entry.js → p-bdd376c5.system.entry.js} +1 -1
  204. package/dist/swisspost-internet-header/{p-a46ef8a8.system.entry.js → p-c0c10b63.system.entry.js} +1 -1
  205. package/dist/swisspost-internet-header/{p-6f187e15.entry.js → p-c1db8f13.entry.js} +1 -1
  206. package/dist/swisspost-internet-header/{p-f4ce6247.entry.js → p-c28020b7.entry.js} +1 -1
  207. package/dist/swisspost-internet-header/{p-3ff138ba.entry.js → p-c5e6949c.entry.js} +1 -1
  208. package/dist/swisspost-internet-header/{p-16623b05.entry.js → p-c6659dca.entry.js} +1 -1
  209. package/dist/swisspost-internet-header/{p-25407470.system.entry.js → p-c6672194.system.entry.js} +1 -1
  210. package/dist/swisspost-internet-header/{p-0c651391.system.entry.js → p-c785b2d8.system.entry.js} +1 -1
  211. package/dist/swisspost-internet-header/{p-094ef16a.entry.js → p-cc4571a9.entry.js} +1 -1
  212. package/dist/swisspost-internet-header/{p-35b6e07c.system.entry.js → p-cde7b565.system.entry.js} +1 -1
  213. package/dist/swisspost-internet-header/{p-2da6fba5.entry.js → p-cfd1f343.entry.js} +1 -1
  214. package/dist/swisspost-internet-header/{p-f4489f68.system.entry.js → p-d35adc7b.system.entry.js} +1 -1
  215. package/dist/swisspost-internet-header/{p-57f1f9e2.system.entry.js → p-d61814f0.system.entry.js} +1 -1
  216. package/dist/swisspost-internet-header/{p-21e537be.system.entry.js → p-d6b85bbe.system.entry.js} +1 -1
  217. package/dist/swisspost-internet-header/p-d6e0e5f2.system.entry.js +1 -0
  218. package/dist/swisspost-internet-header/{p-4bdbf9e9.system.entry.js → p-d7b33964.system.entry.js} +1 -1
  219. package/dist/swisspost-internet-header/{p-ca68b8cf.entry.js → p-d91f90a1.entry.js} +1 -1
  220. package/dist/swisspost-internet-header/p-d9741ab5.system.entry.js +1 -0
  221. package/dist/swisspost-internet-header/{p-3d38ab21.entry.js → p-d9c1046b.entry.js} +1 -1
  222. package/dist/swisspost-internet-header/{p-39af32a0.system.entry.js → p-db3f471b.system.entry.js} +1 -1
  223. package/dist/swisspost-internet-header/{p-255b2067.entry.js → p-dbcd6fb9.entry.js} +1 -1
  224. package/dist/swisspost-internet-header/{p-9b6c8533.entry.js → p-df83b4ce.entry.js} +1 -1
  225. package/dist/swisspost-internet-header/{p-2196012d.entry.js → p-e0f04375.entry.js} +1 -1
  226. package/dist/swisspost-internet-header/{p-e6ec5fa5.entry.js → p-e67350dd.entry.js} +1 -1
  227. package/dist/swisspost-internet-header/{p-161b1a45.system.entry.js → p-eb76e336.system.entry.js} +1 -1
  228. package/dist/swisspost-internet-header/{p-155f5b00.system.entry.js → p-ec7c0b5e.system.entry.js} +1 -1
  229. package/dist/swisspost-internet-header/{p-1780039a.entry.js → p-ef16275c.entry.js} +1 -1
  230. package/dist/swisspost-internet-header/{p-4562d9d8.system.entry.js → p-fc08fd7d.system.entry.js} +1 -1
  231. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  232. package/dist/types/services/config.service.d.ts +2 -1
  233. package/package.json +9 -7
  234. package/dist/esm-es5/package-T8T3po4z.js +0 -1
  235. package/dist/swisspost-internet-header/p-1a18ac48.system.entry.js +0 -1
  236. package/dist/swisspost-internet-header/p-2b0f93fb.entry.js +0 -1
  237. package/dist/swisspost-internet-header/p-53c33e94.entry.js +0 -1
  238. package/dist/swisspost-internet-header/p-6d6fb84b.entry.js +0 -1
  239. package/dist/swisspost-internet-header/p-98d2dfb3.system.entry.js +0 -1
  240. package/dist/swisspost-internet-header/p-BT1GO8tc.system.js +0 -1
  241. package/dist/swisspost-internet-header/p-T8T3po4z.js +0 -1
  242. package/dist/swisspost-internet-header/p-cb52e42c.system.entry.js +0 -1
  243. package/dist/swisspost-internet-header/p-ede58236.system.entry.js +0 -1
  244. package/dist/swisspost-internet-header/p-f783b224.system.entry.js +0 -1
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,t){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]};return r(e,t)};return function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function i(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,o){function a(r){try{u(n.next(r))}catch(r){o(r)}}function s(r){try{u(n["throw"](r))}catch(r){o(r)}}function u(r){r.done?t(r.value):i(r.value).then(a,s)}u((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(r){return function(e){return u([r,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(t=0)),t)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;i=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=e.call(r,t)}catch(r){s=[6,r];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,e){var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0)t[n]=r[n];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++){if(e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i]))t[n[i]]=r[n[i]]}return t};var __spreadArray=this&&this.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return r.concat(o||Array.prototype.slice.call(e))};System.register(["./p-CN_0KCBp.system.js","./p-D_rLPX5e.system.js","./p-CiwQnVr3.system.js","./p-BYB4z0RW.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(r){"use strict";var e,t,n,i,o,a,s,u,f;return{setters:[function(r){e=r.r;t=r.c;n=r.h;i=r.H;o=r.g},function(r){a=r.v},function(r){s=r.O},function(r){u=r.P},function(r){f=r.T},null],execute:function(){var c=this;var p;var v=["top","right","bottom","left"];var l=Math.min;var d=Math.max;var h=Math.round;var g=Math.floor;var w=function(r){return{x:r,y:r}};var b={left:"right",right:"left",bottom:"top",top:"bottom"};function x(r,e,t){return d(r,l(e,t))}function m(r,e){return typeof r==="function"?r(e):r}function y(r){return r.split("-")[0]}function _(r){return r.split("-")[1]}function k(r){return r==="x"?"y":"x"}function S(r){return r==="y"?"height":"width"}function A(r){var e=r[0];return e==="t"||e==="b"?"y":"x"}function T(r){return k(A(r))}function E(r,e,t){if(t===void 0){t=false}var n=_(r);var i=T(r);var o=S(i);var a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[o]>e.floating[o]){a=D(a)}return[a,D(a)]}function O(r){var e=D(r);return[M(r),e,M(e)]}function M(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var j=["left","right"];var H=["right","left"];var L=["top","bottom"];var C=["bottom","top"];function R(r,e,t){switch(r){case"top":case"bottom":if(t)return e?H:j;return e?j:H;case"left":case"right":return e?L:C;default:return[]}}function z(r,e,t,n){var i=_(r);var o=R(y(r),t==="start",n);if(i){o=o.map((function(r){return r+"-"+i}));if(e){o=o.concat(o.map(M))}}return o}function D(r){var e=y(r);return b[e]+r.slice(e.length)}function F(r){var e,t,n,i;return{top:(e=r.top)!=null?e:0,right:(t=r.right)!=null?t:0,bottom:(n=r.bottom)!=null?n:0,left:(i=r.left)!=null?i:0}}function W(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function B(r){var e=r.x,t=r.y,n=r.width,i=r.height;return{width:n,height:i,top:t,left:e,right:e+n,bottom:t+i,x:e,y:t}}function P(r,e,t){var n=r.reference,i=r.floating;var o=A(e);var a=T(e);var s=S(a);var u=y(e);var f=o==="y";var c=n.x+n.width/2-i.width/2;var p=n.y+n.height/2-i.height/2;var v=n[s]/2-i[s]/2;var l;switch(u){case"top":l={x:c,y:n.y-i.height};break;case"bottom":l={x:c,y:n.y+n.height};break;case"right":l={x:n.x+n.width,y:p};break;case"left":l={x:n.x-i.width,y:p};break;default:l={x:n.x,y:n.y}}var d=_(e);if(d){l[a]+=v*(d==="end"?1:-1)*(t&&f?-1:1)}return l}function I(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,y,_,k,S,A,T,E,O,M,j,H,L,C,R,z,D;var F;return __generator(this,(function(P){switch(P.label){case 0:if(e===void 0){e={}}n=r.x,i=r.y,o=r.platform,a=r.rects,s=r.elements,u=r.strategy;f=m(e,r),c=f.boundary,p=c===void 0?"clippingAncestors":c,v=f.rootBoundary,l=v===void 0?"viewport":v,d=f.elementContext,h=d===void 0?"floating":d,g=f.altBoundary,w=g===void 0?false:g,b=f.padding,x=b===void 0?0:b;y=W(x);_=h==="floating"?"reference":"floating";k=s[w?_:h];A=B;E=(T=o).getClippingRect;F={};return[4,o.isElement==null?void 0:o.isElement(k)];case 1:if(!((t=P.sent())!=null?t:true))return[3,2];O=k;return[3,5];case 2:M=k.contextElement;if(M)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)];case 3:M=P.sent();P.label=4;case 4:O=M;P.label=5;case 5:return[4,E.apply(T,[(F.element=O,F.boundary=p,F.rootBoundary=l,F.strategy=u,F)])];case 6:S=A.apply(void 0,[P.sent()]);j=h==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)];case 7:H=P.sent();return[4,o.isElement==null?void 0:o.isElement(H)];case 8:C=P.sent();if(!C)return[3,10];return[4,o.getScale==null?void 0:o.getScale(H)];case 9:C=P.sent();P.label=10;case 10:L=C||{x:1,y:1};z=B;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,12];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:j,offsetParent:H,strategy:u})];case 11:D=P.sent();return[3,13];case 12:D=j;P.label=13;case 13:R=z.apply(void 0,[D]);return[2,{top:(S.top-R.top+y.top)/L.y,bottom:(R.bottom-S.bottom+y.bottom)/L.y,left:(S.left-R.left+y.left)/L.x,right:(R.right-S.right+y.right)/L.x}]}}))}))}var q=50;var N=function(r,e,t){return __awaiter(c,void 0,void 0,(function(){var n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,m,y,_,k,S,A,T,E,O;var M;return __generator(this,(function(j){switch(j.label){case 0:n=t.placement,i=n===void 0?"bottom":n,o=t.strategy,a=o===void 0?"absolute":o,s=t.middleware,u=s===void 0?[]:s,f=t.platform;c=f.detectOverflow?f:__assign(__assign({},f),{detectOverflow:I});return[4,f.isRTL==null?void 0:f.isRTL(e)];case 1:p=j.sent();return[4,f.getElementRects({reference:r,floating:e,strategy:a})];case 2:v=j.sent();l=P(v,i,p),d=l.x,h=l.y;g=i;w=0;b={};x=0;j.label=3;case 3:if(!(x<u.length))return[3,11];m=u[x];if(!m){return[3,10]}y=m.name,_=m.fn;return[4,_({x:d,y:h,initialPlacement:i,placement:g,strategy:a,middlewareData:b,rects:v,platform:c,elements:{reference:r,floating:e}})];case 4:k=j.sent(),S=k.x,A=k.y,T=k.data,E=k.reset;d=S!=null?S:d;h=A!=null?A:h;b[y]=__assign(__assign({},b[y]),T);if(!(E&&w<q))return[3,10];w++;if(!(typeof E==="object"))return[3,9];if(E.placement){g=E.placement}if(!E.rects)return[3,8];if(!(E.rects===true))return[3,6];return[4,f.getElementRects({reference:r,floating:e,strategy:a})];case 5:O=j.sent();return[3,7];case 6:O=E.rects;j.label=7;case 7:v=O;j.label=8;case 8:M=P(v,g,p),d=M.x,h=M.y;j.label=9;case 9:x=-1;j.label=10;case 10:x++;return[3,3];case 11:return[2,{x:d,y:h,placement:g,strategy:a,middlewareData:b}]}}))}))};var V=function(r){return{name:"arrow",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,d,h,g,w,b,y,k,A,E,O,M,j,H,L,C,R,z,D,F,B,P,I,q;var N,V;return __generator(this,(function($){switch($.label){case 0:t=e.x,n=e.y,i=e.placement,o=e.rects,a=e.platform,s=e.elements,u=e.middlewareData;f=m(r,e)||{},c=f.element,p=f.padding,v=p===void 0?0:p;if(c==null){return[2,{}]}d=W(v);h={x:t,y:n};g=T(i);w=S(g);return[4,a.getDimensions(c)];case 1:b=$.sent();y=g==="y";k=y?"top":"left";A=y?"bottom":"right";E=y?"clientHeight":"clientWidth";O=o.reference[w]+o.reference[g]-h[g]-o.floating[w];M=h[g]-o.reference[g];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:j=$.sent();H=j?j[E]:0;L=!H;if(L)return[3,4];return[4,a.isElement==null?void 0:a.isElement(j)];case 3:L=!$.sent();$.label=4;case 4:if(L){H=s.floating[E]||o.floating[w]}C=O/2-M/2;R=H/2-b[w]/2-1;z=l(d[k],R);D=l(d[A],R);F=H-b[w]-D;B=H/2-b[w]/2+C;P=x(z,B,F);I=!u.arrow&&_(i)!=null&&B!==P&&o.reference[w]/2-(B<z?z:D)-b[w]/2<0;q=I?B<z?B-z:B-F:0;return[2,(N={},N[g]=h[g]+q,N.data=__assign((V={},V[g]=P,V.centerOffset=B-P-q,V),I&&{alignmentOffset:q}),N.reset=I,N)]}}))}))}}};var $=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,_,k,S,T,M,j,H,L,C,R,F,W,B,P,I,q,N,V,$,G,K,Q;return __generator(this,(function(X){switch(X.label){case 0:i=e.placement,o=e.middlewareData,a=e.rects,s=e.initialPlacement,u=e.platform,f=e.elements;c=m(r,e),p=c.mainAxis,v=p===void 0?true:p,l=c.crossAxis,d=l===void 0?true:l,h=c.fallbackPlacements,g=c.fallbackStrategy,w=g===void 0?"bestFit":g,b=c.fallbackAxisSideDirection,x=b===void 0?"none":b,_=c.flipAlignment,k=_===void 0?true:_,S=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((t=o.arrow)!=null&&t.alignmentOffset){return[2,{}]}T=y(i);M=A(s);j=y(s)===s;return[4,u.isRTL==null?void 0:u.isRTL(f.floating)];case 1:H=X.sent();L=h||(j||!k?[D(s)]:O(s));C=x!=="none";if(!h&&C){L.push.apply(L,z(s,k,x,H))}R=__spreadArray([s],L,true);return[4,u.detectOverflow(e,S)];case 2:F=X.sent();W=[];B=((n=o.flip)==null?void 0:n.overflows)||[];if(v){W.push(F[T])}if(d){P=E(i,a,H);W.push(F[P[0]],F[P[1]])}B=__spreadArray(__spreadArray([],B,true),[{placement:i,overflows:W}],false);if(!W.every((function(r){return r<=0}))){N=(((I=o.flip)==null?void 0:I.index)||0)+1;V=R[N];if(V){$=d==="alignment"?M!==A(V):false;if(!$||B.every((function(r){return A(r.placement)===M?r.overflows[0]>0:true}))){return[2,{data:{index:N,overflows:B},reset:{placement:V}}]}}G=(q=B.filter((function(r){return r.overflows[0]<=0})).sort((function(r,e){return r.overflows[1]-e.overflows[1]}))[0])==null?void 0:q.placement;if(!G){switch(w){case"bestFit":{Q=(K=B.filter((function(r){if(C){var e=A(r.placement);return e===M||e==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,e){return r+e}),0)]})).sort((function(r,e){return r[1]-e[1]}))[0])==null?void 0:K[0];if(Q){G=Q}break}case"initialPlacement":G=s;break}}if(i!==G){return[2,{reset:{placement:G}}]}}return[2,{}]}}))}))}}};function G(r,e){return{top:r.top-e.height,right:r.right-e.width,bottom:r.bottom-e.height,left:r.left-e.width}}function K(r){return v.some((function(e){return r[e]>=0}))}var Q=function(r){if(r===void 0){r={}}return{name:"hide",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,f,c;return __generator(this,(function(p){switch(p.label){case 0:t=e.rects,n=e.platform;i=m(r,e),o=i.strategy,a=o===void 0?"referenceHidden":o,s=__rest(i,["strategy"]);u=a;switch(u){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,n.detectOverflow(e,__assign(__assign({},s),{elementContext:"reference"}))];case 2:f=p.sent();c=G(f,t.reference);return[2,{data:{referenceHiddenOffsets:c,referenceHidden:K(c)}}];case 3:return[4,n.detectOverflow(e,__assign(__assign({},s),{altBoundary:true}))];case 4:f=p.sent();c=G(f,t.floating);return[2,{data:{escapedOffsets:c,escaped:K(c)}}];case 5:{return[2,{}]}p.label=6;case 6:return[2]}}))}))}}};function X(r){var e=l.apply(void 0,r.map((function(r){return r.left})));var t=l.apply(void 0,r.map((function(r){return r.top})));var n=d.apply(void 0,r.map((function(r){return r.right})));var i=d.apply(void 0,r.map((function(r){return r.bottom})));return{x:e,y:t,width:n-e,height:i-t}}function Y(r){var e=r.slice().sort((function(r,e){return r.y-e.y}));var t=[];var n=null;for(var i=0;i<e.length;i++){var o=e[i];if(!n||o.y-n.y>n.height/2){t.push([o])}else{t[t.length-1].push(o)}n=o}return t.map((function(r){return B(X(r))}))}var Z=function(r){if(r===void 0){r={}}return{name:"inline",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){function t(){if(b.length===2&&(b[0].left>b[1].right||b[1].left>b[0].right)&&p!=null&&v!=null){return b.find((function(r){return p>r.left-_.left&&p<r.right+_.right&&v>r.top-_.top&&v<r.bottom+_.bottom}))||x}if(b.length>=2){if(A(n)==="y"){var r=b[0];var e=b[b.length-1];var t=y(n)==="top";var i=r.top;var o=e.bottom;var a=t?r.left:e.left;var s=t?r.right:e.right;return B({x:a,y:i,width:s-a,height:o-i})}var u=y(n)==="left";var f=d.apply(void 0,b.map((function(r){return r.right})));var c=l.apply(void 0,b.map((function(r){return r.left})));var h=b.filter((function(r){return u?r.left===c:r.right===f}));var g=h[0].top;var w=h[h.length-1].bottom;return B({x:c,y:g,width:f-c,height:w-g})}return x}var n,i,o,a,s,u,f,c,p,v,h,g,w,b,x,_,k;return __generator(this,(function(l){switch(l.label){case 0:n=e.placement,i=e.elements,o=e.rects,a=e.platform,s=e.strategy;u=m(r,e),f=u.padding,c=f===void 0?2:f,p=u.x,v=u.y;w=(g=Array).from;return[4,a.getClientRects==null?void 0:a.getClientRects(i.reference)];case 1:h=w.apply(g,[l.sent()||[]]);if(!h.length){return[2,{}]}b=Y(h);x=B(X(h));_=W(c);return[4,a.getElementRects({reference:{getBoundingClientRect:t},floating:i.floating,strategy:s})];case 2:k=l.sent();if(o.reference.x!==k.reference.x||o.reference.y!==k.reference.y||o.reference.width!==k.reference.width||o.reference.height!==k.reference.height){return[2,{reset:{rects:k}}]}return[2,{}]}}))}))}}};var J=new Set(["left","top"]);function U(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h;return __generator(this,(function(g){switch(g.label){case 0:t=r.placement,n=r.platform,i=r.elements;return[4,n.isRTL==null?void 0:n.isRTL(i.floating)];case 1:o=g.sent();a=y(t);s=_(t);u=A(t)==="y";f=J.has(a)?-1:1;c=o&&u?-1:1;p=m(e,r);v=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis},l=v.mainAxis,d=v.crossAxis,h=v.alignmentAxis;if(s&&typeof h==="number"){d=s==="end"?h*-1:h}return[2,u?{x:d*c,y:l*f}:{x:l*f,y:d*c}]}}))}))}var rr=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u;return __generator(this,(function(f){switch(f.label){case 0:i=e.x,o=e.y,a=e.placement,s=e.middlewareData;return[4,U(e,r)];case 1:u=f.sent();if(a===((t=s.offset)==null?void 0:t.placement)&&(n=s.arrow)!=null&&n.alignmentOffset){return[2,{}]}return[2,{x:i+u.x,y:o+u.y,data:__assign(__assign({},u),{placement:a})}]}}))}))}}};var er=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,y,_,S;var T,E;return __generator(this,(function(O){switch(O.label){case 0:t=e.x,n=e.y,i=e.placement,o=e.platform;a=m(r,e),s=a.mainAxis,u=s===void 0?true:s,f=a.crossAxis,c=f===void 0?false:f,p=a.limiter,v=p===void 0?{fn:function(r){var e=r.x,t=r.y;return{x:e,y:t}}}:p,l=__rest(a,["mainAxis","crossAxis","limiter"]);d={x:t,y:n};return[4,o.detectOverflow(e,l)];case 1:h=O.sent();g=A(i);w=k(g);b=d[w];y=d[g];_=function(r,e){return x(e+h[r==="y"?"top":"left"],e,e-h[r==="y"?"bottom":"right"])};if(u){b=_(w,b)}if(c){y=_(g,y)}S=v.fn(__assign(__assign({},e),(T={},T[w]=b,T[g]=y,T)));return[2,__assign(__assign({},S),{data:{x:S.x-t,y:S.y-n,enabled:(E={},E[w]=u,E[g]=c,E)}})]}}))}))}}};var tr=function(r){if(r===void 0){r={}}return{options:r,fn:function(e){var t;var n,i;var o=e.x,a=e.y,s=e.placement,u=e.rects,f=e.middlewareData;var c=m(r,e),p=c.offset,v=p===void 0?0:p,l=c.mainAxis,d=l===void 0?true:l,h=c.crossAxis,g=h===void 0?true:h;var w={x:o,y:a};var b=A(s);var x=k(b);var _=w[x];var S=w[b];var T=m(v,e);var E=typeof T==="number"?{mainAxis:T,crossAxis:0}:{mainAxis:(n=T.mainAxis)!=null?n:0,crossAxis:(i=T.crossAxis)!=null?i:0};if(d){var O=x==="y"?"height":"width";var M=u.reference[x]-u.floating[O]+E.mainAxis;var j=u.reference[x]+u.reference[O]-E.mainAxis;if(_<M){_=M}else if(_>j){_=j}}if(g){var H,L;var O=x==="y"?"width":"height";var C=J.has(y(s));var M=u.reference[b]-u.floating[O]+(C?((H=f.offset)==null?void 0:H[b])||0:0)+(C?0:E.crossAxis);var j=u.reference[b]+u.reference[O]+(C?0:((L=f.offset)==null?void 0:L[b])||0)-(C?E.crossAxis:0);if(S<M){S=M}else if(S>j){S=j}}return t={},t[x]=_,t[b]=S,t}}};var nr=function(r){if(r===void 0){r={}}return{name:"size",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,h,g,w,b,x,k,S,T,E,O,M,j,H,L,C,R;return __generator(this,(function(z){switch(z.label){case 0:t=e.placement,n=e.rects,i=e.platform,o=e.elements;a=m(r,e),s=a.apply,u=s===void 0?function(){}:s,f=__rest(a,["apply"]);return[4,i.detectOverflow(e,f)];case 1:c=z.sent();p=y(t);v=_(t);h=A(t)==="y";g=n.floating,w=g.width,b=g.height;if(!(p==="top"||p==="bottom"))return[3,3];x=p;S=v;return[4,i.isRTL==null?void 0:i.isRTL(o.floating)];case 2:k=S===(z.sent()?"start":"end")?"left":"right";return[3,4];case 3:k=p;x=v==="end"?"top":"bottom";z.label=4;case 4:T=b-c.top-c.bottom;E=w-c.left-c.right;O=l(b-c[x],T);M=l(w-c[k],E);j=e.middlewareData.shift;H=!j;L=O;C=M;if(j!=null&&j.enabled.x){C=E}if(j!=null&&j.enabled.y){L=T}if(H&&!v){if(h){C=w-2*d(c.left,c.right)}else{L=b-2*d(c.top,c.bottom)}}return[4,u(__assign(__assign({},e),{availableWidth:C,availableHeight:L}))];case 5:z.sent();return[4,i.getDimensions(o.floating)];case 6:R=z.sent();if(w!==R.width||b!==R.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function ir(){return typeof window!=="undefined"}function or(r){if(ur(r)){return(r.nodeName||"").toLowerCase()}return"#document"}function ar(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function sr(r){var e;return(e=(ur(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function ur(r){if(!ir()){return false}return r instanceof Node||r instanceof ar(r).Node}function fr(r){if(!ir()){return false}return r instanceof Element||r instanceof ar(r).Element}function cr(r){if(!ir()){return false}return r instanceof HTMLElement||r instanceof ar(r).HTMLElement}function pr(r){if(!ir()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof ar(r).ShadowRoot}function vr(r){var e=kr(r),t=e.overflow,n=e.overflowX,i=e.overflowY,o=e.display;return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&o!=="inline"&&o!=="contents"}function lr(r){return/^(table|td|th)$/.test(or(r))}function dr(r){try{if(r.matches(":popover-open")){return true}}catch(r){}try{return r.matches(":modal")}catch(r){return false}}var hr=/transform|translate|scale|rotate|perspective|filter/;var gr=/paint|layout|strict|content/;var wr=function(r){return!!r&&r!=="none"};var br;function xr(r){var e=fr(r)?kr(r):r;return wr(e.transform)||wr(e.translate)||wr(e.scale)||wr(e.rotate)||wr(e.perspective)||!yr()&&(wr(e.backdropFilter)||wr(e.filter))||hr.test(e.willChange||"")||gr.test(e.contain||"")}function mr(r){var e=Ar(r);while(cr(e)&&!_r(e)){if(xr(e)){return e}else if(dr(e)){return null}e=Ar(e)}return null}function yr(){if(br==null){br=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return br}function _r(r){return/^(html|body|#document)$/.test(or(r))}function kr(r){return ar(r).getComputedStyle(r)}function Sr(r){if(fr(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Ar(r){if(or(r)==="html"){return r}var e=r.assignedSlot||r.parentNode||pr(r)&&r.host||sr(r);return pr(e)?e.host:e}function Tr(r){var e=Ar(r);if(_r(e)){return(r.ownerDocument||r).body}if(cr(e)&&vr(e)){return e}return Tr(e)}function Er(r,e,t){var n;if(e===void 0){e=[]}if(t===void 0){t=true}var i=Tr(r);var o=i===((n=r.ownerDocument)==null?void 0:n.body);var a=ar(i);if(o){var s=Or(a);return e.concat(a,a.visualViewport||[],vr(i)?i:[],s&&t?Er(s):[])}else{return e.concat(i,Er(i,[],t))}}function Or(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function Mr(r){var e=kr(r);var t=parseFloat(e.width)||0;var n=parseFloat(e.height)||0;var i=cr(r);var o=i?r.offsetWidth:t;var a=i?r.offsetHeight:n;var s=h(t)!==o||h(n)!==a;if(s){t=o;n=a}return{width:t,height:n,$:s}}function jr(r){return!fr(r)?r.contextElement:r}function Hr(r){var e=jr(r);if(!cr(e)){return w(1)}var t=e.getBoundingClientRect();var n=Mr(e),i=n.width,o=n.height,a=n.$;var s=(a?h(t.width):t.width)/i;var u=(a?h(t.height):t.height)/o;if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var Lr=w(0);function Cr(r){var e=ar(r);if(!yr()||!e.visualViewport){return Lr}return{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rr(r,e,t){if(e===void 0){e=false}return!!t&&e&&t===ar(r)}function zr(r,e,t,n){if(e===void 0){e=false}if(t===void 0){t=false}var i=r.getBoundingClientRect();var o=jr(r);var a=w(1);if(e){if(n){if(fr(n)){a=Hr(n)}}else{a=Hr(r)}}var s=Rr(o,t,n)?Cr(o):w(0);var u=(i.left+s.x)/a.x;var f=(i.top+s.y)/a.y;var c=i.width/a.x;var p=i.height/a.y;if(o&&n){var v=ar(o);var l=fr(n)?ar(n):n;var d=v;var h=Or(d);while(h&&l!==d){var g=Hr(h);var b=h.getBoundingClientRect();var x=kr(h);var m=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x;var y=b.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;u*=g.x;f*=g.y;c*=g.x;p*=g.y;u+=m;f+=y;d=ar(h);h=Or(d)}}return B({width:c,height:p,x:u,y:f})}function Dr(r,e){var t=Sr(r).scrollLeft;if(!e){return zr(sr(r)).left+t}return e.left+t}function Fr(r,e){var t=r.getBoundingClientRect();var n=t.left+e.scrollLeft-Dr(r,t);var i=t.top+e.scrollTop;return{x:n,y:i}}function Wr(r){var e=r.elements,t=r.rect,n=r.offsetParent,i=r.strategy;var o=i==="fixed";var a=sr(n);var s=e?dr(e.floating):false;if(n===a||s&&o){return t}var u={scrollLeft:0,scrollTop:0};var f=w(1);var c=w(0);var p=cr(n);if(p||!o){if(or(n)!=="body"||vr(a)){u=Sr(n)}if(p){var v=zr(n);f=Hr(n);c.x=v.x+n.clientLeft;c.y=v.y+n.clientTop}}var l=a&&!p&&!o?Fr(a,u):w(0);return{width:t.width*f.x,height:t.height*f.y,x:t.x*f.x-u.scrollLeft*f.x+c.x+l.x,y:t.y*f.y-u.scrollTop*f.y+c.y+l.y}}function Br(r){return r.getClientRects?Array.from(r.getClientRects()):[]}function Pr(r){var e=Sr(r);var t=r.ownerDocument.body;var n=d(r.scrollWidth,r.clientWidth,t.scrollWidth,t.clientWidth);var i=d(r.scrollHeight,r.clientHeight,t.scrollHeight,t.clientHeight);var o=-e.scrollLeft+Dr(r);var a=-e.scrollTop;if(kr(t).direction==="rtl"){o+=d(r.clientWidth,t.clientWidth)-n}return{width:n,height:i,x:o,y:a}}var Ir=25;function qr(r,e,t){if(t===void 0){t="viewport"}var n=t==="layoutViewport";var i=ar(r);var o=sr(r);var a=i.visualViewport;var s=o.clientWidth;var u=o.clientHeight;var f=0;var c=0;if(a){var p=!yr()||e==="fixed";if(n){if(!p){f=-a.offsetLeft;c=-a.offsetTop}}else{s=a.width;u=a.height;if(p){f=a.offsetLeft;c=a.offsetTop}}}var v=Dr(o);if(v<=0){var l=o.ownerDocument;var d=l.body;var h=getComputedStyle(d);var g=l.compatMode==="CSS1Compat"?parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0:0;var w=Math.abs(o.clientWidth-d.clientWidth-g);var b=getComputedStyle(o).scrollbarGutter==="stable both-edges"?w/2:w;if(b<=Ir){s-=b}}return{width:s,height:u,x:f,y:c}}function Nr(r,e){var t=zr(r,true,e==="fixed");var n=t.top+r.clientTop;var i=t.left+r.clientLeft;var o=Hr(r);var a=r.clientWidth*o.x;var s=r.clientHeight*o.y;var u=i*o.x;var f=n*o.y;return{width:a,height:s,x:u,y:f}}function Vr(r,e,t){var n;if(e==="viewport"||e==="layoutViewport"){n=qr(r,t,e)}else if(e==="document"){n=Pr(sr(r))}else if(fr(e)){n=Nr(e,t)}else{var i=Cr(r);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return B(n)}function $r(r,e){var t=e.get(r);if(t){return t}var n=Er(r,[],false).filter((function(r){return fr(r)&&or(r)!=="body"}));var i=null;var o=kr(r).position==="fixed";var a=o?Ar(r):r;while(fr(a)&&!_r(a)){var s=kr(a);var u=xr(a);var f=i?i.position:o?"fixed":"";var c=!u&&(f==="fixed"||f==="absolute"&&s.position==="static");if(c){n=n.filter((function(r){return r!==a}))}else{i=s}a=Ar(a)}e.set(r,n);return n}function Gr(r){var e=r.element,t=r.boundary,n=r.rootBoundary,i=r.strategy;var o=t==="clippingAncestors"?dr(e)?[]:$r(e,this._c):[].concat(t);var a=__spreadArray(__spreadArray([],o,true),[n],false);var s=Vr(e,a[0],i);var u=s.top;var f=s.right;var c=s.bottom;var p=s.left;for(var v=1;v<a.length;v++){var h=Vr(e,a[v],i);u=d(h.top,u);f=l(h.right,f);c=l(h.bottom,c);p=d(h.left,p)}return{width:f-p,height:c-u,x:p,y:u}}function Kr(r){var e=Mr(r),t=e.width,n=e.height;return{width:t,height:n}}function Qr(r,e,t){var n=cr(e);var i=sr(e);var o=t==="fixed";var a=zr(r,true,o,e);var s={scrollLeft:0,scrollTop:0};var u=w(0);if(n||!o){if(or(e)!=="body"||vr(i)){s=Sr(e)}if(n){var f=zr(e,true,o,e);u.x=f.x+e.clientLeft;u.y=f.y+e.clientTop}}if(!n&&i){u.x=Dr(i)}var c=i&&!n&&!o?Fr(i,s):w(0);var p=a.left+s.scrollLeft-u.x-c.x;var v=a.top+s.scrollTop-u.y-c.y;return{x:p,y:v,width:a.width,height:a.height}}function Xr(r){return kr(r).position==="static"}function Yr(r,e){if(!cr(r)||kr(r).position==="fixed"){return null}if(e){return e(r)}var t=r.offsetParent;if(sr(r)===t){t=t.ownerDocument.body}return t}function Zr(r,e){var t=ar(r);if(dr(r)){return t}if(!cr(r)){var n=Ar(r);while(n&&!_r(n)){if(fr(n)&&!Xr(n)){return n}n=Ar(n)}return t}var i=Yr(r,e);while(i&&lr(i)&&Xr(i)){i=Yr(i,e)}if(i&&_r(i)&&Xr(i)&&!xr(i)){return t}return i||mr(r)||t}var Jr=function(r){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o;var a;return __generator(this,(function(s){switch(s.label){case 0:e=this.getOffsetParent||Zr;t=this.getDimensions;return[4,t(r.floating)];case 1:n=s.sent();a={};i=Qr;o=[r.reference];return[4,e(r.floating)];case 2:return[2,(a.reference=i.apply(void 0,o.concat([s.sent(),r.strategy])),a.floating={x:0,y:0,width:n.width,height:n.height},a)]}}))}))};function Ur(r){return kr(r).direction==="rtl"}var re={convertOffsetParentRelativeRectToViewportRelativeRect:Wr,getDocumentElement:sr,getClippingRect:Gr,getOffsetParent:Zr,getElementRects:Jr,getClientRects:Br,getDimensions:Kr,getScale:Hr,isElement:fr,isRTL:Ur};function ee(r,e){return r.x===e.x&&r.y===e.y&&r.width===e.width&&r.height===e.height}function te(r,e,t){var n=null;var i;var o=sr(r);function a(){var r;clearTimeout(i);(r=n)==null||r.disconnect();n=null}function s(t,u){if(t===void 0){t=false}if(u===void 0){u=1}a();var f=r.getBoundingClientRect();var c=f.left,p=f.top,v=f.width,h=f.height;if(!t){e()}if(!v||!h){return}var w=g(p);var b=g(o.clientWidth-(c+v));var x=g(o.clientHeight-(p+h));var m=g(c);var y=-w+"px "+-b+"px "+-x+"px "+-m+"px";var _={rootMargin:y,threshold:d(0,l(1,u))||1};var k=true;function S(e){var t=e[0].intersectionRatio;if(!ee(f,r.getBoundingClientRect())){return s()}if(t!==u){if(!k){return s()}if(!t){i=setTimeout((function(){s(false,1e-7)}),1e3)}else{s(false,t)}}k=false}try{n=new IntersectionObserver(S,__assign(__assign({},_),{root:o.ownerDocument}))}catch(r){n=new IntersectionObserver(S,_)}n.observe(r)}var u=ar(r);var f=function(){return s(t)};u.addEventListener("resize",f);s(true);return function(){u.removeEventListener("resize",f);a()}}function ne(r,e,t,n){if(n===void 0){n={}}var i=n.ancestorScroll,o=i===void 0?true:i,a=n.ancestorResize,s=a===void 0?true:a,u=n.elementResize,f=u===void 0?typeof ResizeObserver==="function":u,c=n.layoutShift,p=c===void 0?typeof IntersectionObserver==="function":c,v=n.animationFrame,l=v===void 0?false:v;var d=jr(r);var h=o||s?__spreadArray(__spreadArray([],d?Er(d):[],true),e?Er(e):[],true):[];h.forEach((function(r){o&&r.addEventListener("scroll",t);s&&r.addEventListener("resize",t)}));var g=d&&p?te(d,t,s):null;var w=-1;var b=null;if(f){b=new ResizeObserver((function(r){var n=r[0];if(n&&n.target===d&&b&&e){b.unobserve(e);cancelAnimationFrame(w);w=requestAnimationFrame((function(){var r;(r=b)==null||r.observe(e)}))}t()}));if(d&&!l){b.observe(d)}if(e){b.observe(e)}}var x;var m=l?zr(r):null;if(l){y()}function y(){var e=zr(r);if(m&&!ee(m,e)){t()}m=e;x=requestAnimationFrame(y)}t();return function(){var r;h.forEach((function(r){o&&r.removeEventListener("scroll",t);s&&r.removeEventListener("resize",t)}));g==null||g();(r=b)==null||r.disconnect();b=null;if(l){cancelAnimationFrame(x)}}}var ie=rr;var oe=er;var ae=$;var se=nr;var ue=Q;var fe=V;var ce=Z;var pe=tr;var ve=function(r,e,t){var n=new Map;var i=t!=null?t:{};var o=__assign(__assign(__assign({},re),i.platform),{_c:n});return N(r,e,__assign(__assign({},i),{platform:o}))};var le=250;var de="ease-out";function he(r){if(!r)return;return r.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:le,easing:de,fill:"forwards"})}var ge=function(r){__extends(e,r);function e(e,t){if(t===void 0){t={}}var n=this;var i=t.oldState,o=i===void 0?"":i,a=t.newState,s=a===void 0?"":a,u=__rest(t,["oldState","newState"]);n=r.call(this,e,u)||this;n.oldState=String(o||"");n.newState=String(s||"");return n}return e}(Event);var we=new WeakMap;function be(r,e,t){we.set(r,setTimeout((function(){if(!we.has(r))return;r.dispatchEvent(new ge("toggle",{cancelable:false,oldState:e,newState:t}))}),0))}var xe=globalThis.ShadowRoot||function(){};var me=globalThis.HTMLDialogElement||function(){};var ye=new WeakMap;var _e=new WeakMap;var ke=new WeakMap;var Se=new WeakMap;function Ae(r){return Se.get(r)||"hidden"}var Te=new WeakMap;function Ee(r){return __spreadArray([],r,true).pop()}function Oe(r){var e=r.popoverTargetElement;if(!(e instanceof HTMLElement)){return}var t=Ae(e);if(r.popoverTargetAction==="show"&&t==="showing"){return}if(r.popoverTargetAction==="hide"&&t==="hidden")return;if(t==="showing"){Ne(e,true,true)}else if(Me(e,false)){Te.set(e,r);qe(e)}}function Me(r,e){if(r.popover!=="auto"&&r.popover!=="manual"&&r.popover!=="hint"){return false}if(!r.isConnected)return false;if(e&&Ae(r)!=="showing"){return false}if(!e&&Ae(r)!=="hidden"){return false}if(r instanceof me&&r.hasAttribute("open")){return false}if(document.fullscreenElement===r)return false;return true}function je(r){if(!r)return 0;var e=_e.get(document)||new Set;var t=ke.get(document)||new Set;if(t.has(r)){return __spreadArray([],t,true).indexOf(r)+e.size+1}if(e.has(r)){return __spreadArray([],e,true).indexOf(r)+1}return 0}function He(r){var e=ze(r);var t=De(r);if(je(e)>je(t)){return e}return t}function Le(r){var e;var t=ke.get(r)||new Set;var n=_e.get(r)||new Set;var i=t.size>0?t:n.size>0?n:null;if(i){e=Ee(i);if(!e.isConnected){i.delete(e);return Le(r)}return e}return null}function Ce(r){for(var e=0,t=r||[];e<t.length;e++){var n=t[e];if(!n.isConnected){r.delete(n)}else{return n}}return null}function Re(r){if(typeof r.getRootNode==="function"){return r.getRootNode()}if(r.parentNode)return Re(r.parentNode);return r}function ze(r){while(r){if(r instanceof HTMLElement&&r.popover==="auto"&&Se.get(r)==="showing"){return r}r=r instanceof Element&&r.assignedSlot||r.parentElement||Re(r);if(r instanceof xe)r=r.host;if(r instanceof Document)return}}function De(r){while(r){var e=r.popoverTargetElement;if(e instanceof HTMLElement)return e;r=r.parentElement||Re(r);if(r instanceof xe)r=r.host;if(r instanceof Document)return}}function Fe(r,e){var t=new Map;var n=0;for(var i=0,o=e||[];i<o.length;i++){var a=o[i];t.set(a,n);n+=1}t.set(r,n);n+=1;var s=null;function u(e){if(!e)return;var n=false;var i=null;var o=null;while(!n){i=ze(e)||null;if(i===null)return;if(!t.has(i))return;if(r.popover==="hint"||i.popover==="auto"){n=true}if(!n){e=i.parentElement}}o=t.get(i);if(s===null||t.get(s)<o){s=i}}u(r.parentElement||Re(r));return s}function We(r){if(r.hidden||r instanceof xe)return false;if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLSelectElement||r instanceof HTMLTextAreaElement||r instanceof HTMLOptGroupElement||r instanceof HTMLOptionElement||r instanceof HTMLFieldSetElement){if(r.disabled)return false}if(r instanceof HTMLInputElement&&r.type==="hidden"){return false}if(r instanceof HTMLAnchorElement&&r.href===""){return false}return typeof r.tabIndex==="number"&&r.tabIndex!==-1}function Be(r){if(r.shadowRoot&&r.shadowRoot.delegatesFocus!==true){return null}var e=r;if(e.shadowRoot){e=e.shadowRoot}var t=e.querySelector("[autofocus]");if(t){return t}else{var n=e.querySelectorAll("slot");for(var i=0,o=n;i<o.length;i++){var a=o[i];var s=a.assignedElements({flatten:true});for(var u=0,f=s;u<f.length;u++){var c=f[u];if(c.hasAttribute("autofocus")){return c}else{t=c.querySelector("[autofocus]");if(t){return t}}}}}var p=r.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);var v=p.currentNode;while(v){if(We(v)){return v}v=p.nextNode()}}function Pe(r){var e;(e=Be(r))===null||e===void 0?void 0:e.focus()}var Ie=new WeakMap;function qe(r){if(!Me(r,false)){return}var e=r.ownerDocument;if(!r.dispatchEvent(new ge("beforetoggle",{cancelable:true,oldState:"closed",newState:"open"}))){return}if(!Me(r,false)){return}var t=false;var n=r.popover;var i=null;var o=Fe(r,_e.get(e)||new Set);var a=Fe(r,ke.get(e)||new Set);if(n==="auto"){$e(ke.get(e)||new Set,t,true);var s=o||e;Ke(s,t,true);i="auto"}if(n==="hint"){if(a){Ke(a,t,true);i="hint"}else{$e(ke.get(e)||new Set,t,true);if(o){Ke(o,t,true);i="auto"}else{i="hint"}}}if(n==="auto"||n==="hint"){if(n!==r.popover||!Me(r,false)){return}if(!Le(e)){t=true}if(i==="auto"){if(!_e.has(e)){_e.set(e,new Set)}_e.get(e).add(r)}else if(i==="hint"){if(!ke.has(e)){ke.set(e,new Set)}ke.get(e).add(r)}}Ie.delete(r);var u=e.activeElement;r.classList.add(":popover-open");Se.set(r,"showing");if(!ye.has(e)){ye.set(e,new Set)}ye.get(e).add(r);Ze(Te.get(r),true);Pe(r);if(t&&u&&r.popover==="auto"){Ie.set(r,u)}be(r,"closed","open")}function Ne(r,e,t){var n,i;if(e===void 0){e=false}if(t===void 0){t=false}if(!Me(r,true)){return}var o=r.ownerDocument;if(["auto","hint"].includes(r.popover)){Ke(r,e,t);if(!Me(r,true)){return}}var a=_e.get(o)||new Set;var s=a.has(r)&&Ee(a)===r;Ze(Te.get(r),false);Te.delete(r);if(t){r.dispatchEvent(new ge("beforetoggle",{oldState:"open",newState:"closed"}));if(s&&Ee(a)!==r){Ke(r,e,t)}if(!Me(r,true)){return}}(n=ye.get(o))===null||n===void 0?void 0:n.delete(r);a.delete(r);(i=ke.get(o))===null||i===void 0?void 0:i.delete(r);r.classList.remove(":popover-open");Se.set(r,"hidden");if(t){be(r,"open","closed")}var u=Ie.get(r);if(u){Ie.delete(r);if(e){u.focus()}}}function Ve(r,e,t){if(e===void 0){e=false}if(t===void 0){t=false}var n=Le(r);while(n){Ne(n,e,t);n=Le(r)}}function $e(r,e,t){if(e===void 0){e=false}if(t===void 0){t=false}var n=Ce(r);while(n){Ne(n,e,t);n=Ce(r)}}function Ge(r,e,t,n){var i=false;var o=false;while(i||!o){o=true;var a=null;var s=false;for(var u=0,f=e;u<f.length;u++){var c=f[u];if(c===r){s=true}else if(s){a=c;break}}if(!a)return;while(Ae(a)==="showing"&&e.size){Ne(Ee(e),t,n)}if(e.has(r)&&Ee(e)!==r){i=true}if(i){n=false}}}function Ke(r,e,t){var n,i;var o=r.ownerDocument||r;if(r instanceof Document){return Ve(o,e,t)}if((n=ke.get(o))===null||n===void 0?void 0:n.has(r)){Ge(r,ke.get(o),e,t);return}$e(ke.get(o)||new Set,e,t);if(!((i=_e.get(o))===null||i===void 0?void 0:i.has(r))){return}Ge(r,_e.get(o),e,t)}var Qe=new WeakMap;function Xe(r){if(!r.isTrusted)return;var e=r.composedPath()[0];if(!e)return;var t=e.ownerDocument;var n=Le(t);if(!n)return;var i=He(e);if(i&&r.type==="pointerdown"){Qe.set(t,i)}else if(r.type==="pointerup"){var o=Qe.get(t)===i;Qe.delete(t);if(o){Ke(i||t,false,true)}}}var Ye=new WeakMap;function Ze(r,e){if(e===void 0){e=false}if(!r)return;if(!Ye.has(r)){Ye.set(r,r.getAttribute("aria-expanded"))}var t=r.popoverTargetElement;if(t instanceof HTMLElement&&t.popover==="auto"){r.setAttribute("aria-expanded",String(e))}else{var n=Ye.get(r);if(!n){r.removeAttribute("aria-expanded")}else{r.setAttribute("aria-expanded",n)}}}var Je=globalThis.ShadowRoot||function(){};function Ue(){return typeof HTMLElement!=="undefined"&&typeof HTMLElement.prototype==="object"&&"popover"in HTMLElement.prototype}function rt(r,e,t){var n=r[e];Object.defineProperty(r,e,{value:function(r){return n.call(this,t(r))}})}var et=/(^|[^\\]):popover-open\b/g;function tt(){return typeof globalThis.CSSLayerBlockRule==="function"}function nt(){var r=tt();return"\n".concat(r?"@layer popover-polyfill {":"","\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n").concat(r?"}":"","\n")}var it=null;function ot(r){var e=nt();if(it===null){try{it=new CSSStyleSheet;it.replaceSync(e)}catch(r){it=false}}if(it===false){var t=document.createElement("style");t.textContent=e;if(r instanceof Document){r.head.prepend(t)}else{r.prepend(t)}}else{r.adoptedStyleSheets=__spreadArray([it],r.adoptedStyleSheets,true)}}function at(){if(typeof window==="undefined")return;window.ToggleEvent=window.ToggleEvent||ge;function r(r){if(r===null||r===void 0?void 0:r.includes(":popover-open")){r=r.replace(et,"$1.\\:popover-open")}return r}rt(Document.prototype,"querySelector",r);rt(Document.prototype,"querySelectorAll",r);rt(Element.prototype,"querySelector",r);rt(Element.prototype,"querySelectorAll",r);rt(Element.prototype,"matches",r);rt(Element.prototype,"closest",r);rt(DocumentFragment.prototype,"querySelectorAll",r);Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:true,configurable:true,get:function(){if(!this.hasAttribute("popover"))return null;var r=(this.getAttribute("popover")||"").toLowerCase();if(r===""||r=="auto")return"auto";if(r=="hint")return"hint";return"manual"},set:function(r){if(r===null){this.removeAttribute("popover")}else{this.setAttribute("popover",r)}}},showPopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}qe(this)}},hidePopover:{enumerable:true,configurable:true,value:function(){Ne(this,true,true)}},togglePopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}if(typeof r==="boolean"){r={force:r}}if(Se.get(this)==="showing"&&r.force===void 0||r.force===false){Ne(this,true,true)}else if(r.force===void 0||r.force===true){qe(this)}return Se.get(this)==="showing"}}});var e=Element.prototype.attachShadow;if(e){Object.defineProperties(Element.prototype,{attachShadow:{enumerable:true,configurable:true,writable:true,value:function(r){var t=e.call(this,r);ot(t);return t}}})}var t=HTMLElement.prototype.attachInternals;if(t){Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:true,configurable:true,writable:true,value:function(){var r=t.call(this);if(r.shadowRoot){ot(r.shadowRoot)}return r}}})}var n=new WeakMap;function i(r){Object.defineProperties(r.prototype,{popoverTargetElement:{enumerable:true,configurable:true,set:function(r){if(r===null){this.removeAttribute("popovertarget");n.delete(this)}else if(!(r instanceof Element)){throw new TypeError("popoverTargetElement must be an element or null")}else{this.setAttribute("popovertarget","");n.set(this,r)}},get:function(){if(this.localName!=="button"&&this.localName!=="input"){return null}if(this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"){return null}if(this.disabled){return null}if(this.form&&this.type==="submit"){return null}var r=n.get(this);if(r&&r.isConnected){return r}else if(r&&!r.isConnected){n.delete(this);return null}var e=Re(this);var t=this.getAttribute("popovertarget");if((e instanceof Document||e instanceof Je)&&t){return e.getElementById(t)||null}return null}},popoverTargetAction:{enumerable:true,configurable:true,get:function(){var r=(this.getAttribute("popovertargetaction")||"").toLowerCase();if(r==="show"||r==="hide")return r;return"toggle"},set:function(r){this.setAttribute("popovertargetaction",r)}}})}i(HTMLButtonElement);i(HTMLInputElement);var o=function(r){var e=r.composedPath();var t=e[0];if(!(t instanceof Element)||(t===null||t===void 0?void 0:t.shadowRoot)){return}var n=Re(t);if(!(n instanceof Je||n instanceof Document)){return}var i=e.find((function(r){var e;return(e=r.matches)===null||e===void 0?void 0:e.call(r,"[popovertargetaction],[popovertarget]")}));if(i){Oe(i);r.preventDefault();return}};var a=function(r){var e=r.key;var t=r.target;if(!r.defaultPrevented&&t&&(e==="Escape"||e==="Esc")){Ke(t.ownerDocument,true,true)}};var s=function(r){r.addEventListener("click",o);r.addEventListener("keydown",a);r.addEventListener("pointerdown",Xe);r.addEventListener("pointerup",Xe)};s(document);ot(document)}var st=Symbol("Clipping Rect Cache");var ut=__assign(__assign({},re),{getClippingRect:ft});function ft(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:e=r[0].element;t=this[st].get(e);if(t)return[2,t];return[4,re.getClippingRect.apply(this,r)];case 1:n=i.sent();ct(n,e);this[st].set(e,n);return[2,n]}}))}))}function ct(r,e){var t=e.ownerDocument.querySelector("post-header");if(t===null)return;var n=e;while(!_r(n)){n=Ar(n);if(!cr(n))continue;if(dr(n)||n===t)return}var i=t.getBoundingClientRect();var o=Math.max(r.y,i.bottom);r.height-=o-r.y;r.y=o}var pt=function(r,e,t){var n;t!==null&&t!==void 0?t:t={};return ve(r,e,__assign(__assign({},t),{platform:__assign(__assign(__assign({},ut),t.platform),(n={},n[st]=new Map,n))}))};var vt=function(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{-webkit-clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)));clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{-webkit-clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)));clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{-webkit-filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{-webkit-filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{-webkit-filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{-webkit-filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}'};var lt=undefined&&undefined.__decorate||function(r,e,t,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(r,e,t,n);else for(var s=r.length-1;s>=0;s--)if(a=r[s])o=(i<3?a(o):i>3?a(e,t,o):a(e,t))||o;return i>3&&o&&Object.defineProperty(e,t,o),o};var dt={"pop-in":he};var ht=r("post_popovercontainer",(p=function(){function r(r){e(this,r);this.postBeforeShow=t(this,"postBeforeShow");this.postShow=t(this,"postShow");this.postHide=t(this,"postHide");this.postBeforeToggle=t(this,"postBeforeToggle");this.postToggle=t(this,"postToggle");this.toggleTimeoutId=null;this.hasOpenedOnce=true;this.placement="top";this.edgeGap=8;this.arrow=false;this.animation="pop-in";this.currentAnimation=null;this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}r.prototype.mouseTrackingHandler=function(r){this.host.style.setProperty("--post-safe-space-cursor-x","".concat(r.clientX,"px"));this.host.style.setProperty("--post-safe-space-cursor-y","".concat(r.clientY,"px"))};r.prototype.connectedCallback=function(){if(!Ue()){at()}};r.prototype.componentDidLoad=function(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.disconnectedCallback=function(){if(typeof this.clearAutoUpdate==="function"){this.clearAutoUpdate()}this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.show=function(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.toggleTimeoutId||!r)return[2];this.eventTarget=r;this.updatePosition();this.host.showPopover();return[2]}))}))};r.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!this.toggleTimeoutId){this.eventTarget=null;this.host.hidePopover();this.postHide.emit()}return[2]}))}))};r.prototype.toggle=function(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){t=this.host.matches(":where(:popover-open, .popover-open)");n=e===true||e===undefined&&!t;if(n&&!r)return[2,t];this.eventTarget=r;if(!this.toggleTimeoutId){this.updatePosition();this.host.togglePopover(e);this.toggleTimeoutId=null}return[2,this.host.matches(":where(:popover-open, .popover-open)")]}))}))};r.prototype.open=function(){var r;var e=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".popover-content");this.startAutoupdates();if(e){var t=dt[this.animation];if(typeof t==="function"){this.runOpenAnimation(t,e)}else{this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});if(this.hasOpenedOnce)this.hasOpenedOnce=false}}if(this.safeSpace){globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}};r.prototype.close=function(){if(typeof this.clearAutoUpdate==="function"){this.clearAutoUpdate()}if(this.safeSpace){globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler)}if(this.currentAnimation){this.currentAnimation.cancel();this.currentAnimation=null}this.postBeforeToggle.emit({willOpen:false});this.postToggle.emit({isOpen:false});this.postHide.emit()};r.prototype.runOpenAnimation=function(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,3,4]);t=r(e);if(!t){this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});return[2]}this.currentAnimation=t;if(t.playState==="running"){this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce})}return[4,t.finished];case 1:i.sent();this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});this.hasOpenedOnce=true;return[3,4];case 2:n=i.sent();console.warn("Animation failed or was interrupted:",n);this.postBeforeToggle.emit({willOpen:false});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:false});return[3,4];case 3:if(this.currentAnimation===t){this.currentAnimation=null}return[7];case 4:return[2]}}))}))};r.prototype.handleToggle=function(r){var e=this;this.toggleTimeoutId=globalThis.setTimeout((function(){return e.toggleTimeoutId=null}),10);var t=r.newState==="open";if(t){this.open()}else{this.close()}};r.prototype.startAutoupdates=function(){if(!this.eventTarget||!this.host)return;this.clearAutoUpdate=ne(this.eventTarget,this.host,this.updatePosition.bind(this))};r.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,t,n,i,o,a,s,u,f,c,p;var v;var l;return __generator(this,(function(d){switch(d.label){case 0:return[4,this.calculatePosition()];case 1:r=d.sent(),e=r.x,t=r.y,n=r.middlewareData,i=r.placement;if((l=n.hide)===null||l===void 0?void 0:l.referenceHidden){this.host.hidePopover()}o=i.split("-")[0];this.dynamicPlacement=o;this.host.style.left="".concat(e,"px");this.host.style.top="".concat(t,"px");if(this.arrow&&n.arrow){a=n.arrow,s=a.x,u=a.y;f=ht.STATIC_SIDES[o];c=this.arrowRef.offsetWidth;p=-.5*c;if(f){Object.assign(this.arrowRef.style,(v={left:s?"".concat(s,"px"):"",top:u?"".concat(u,"px"):""},v[f]="".concat(p,"px"),v))}}if(!(this.safeSpace&&this.eventTarget))return[3,3];return[4,this.updateSafeSpaceBoundaries(o)];case 2:d.sent();d.label=3;case 3:return[2]}}))}))};r.prototype.calculatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,t,n,i;var o;return __generator(this,(function(a){r=this.edgeGap;e=(this.placement||"top").includes("-");t=[ae({elementContext:"reference",crossAxis:false}),ae({elementContext:"floating",crossAxis:false})];n=oe({padding:r,limiter:pe({offset:32})});i=__spreadArray(__spreadArray([ie((o=this.offset)!==null&&o!==void 0?o:this.arrow?r+4:r),ce()],e?__spreadArray(__spreadArray([],t,true),[n],false):__spreadArray([n],t,true),true),[se({apply:function(e){var t=e.availableWidth,n=e.elements;Object.assign(n.floating.style,{maxWidth:"".concat(t-r*2,"px")})}})],false);if(this.arrow){i.push(fe({element:this.arrowRef,padding:r}))}if(this.autoHide){i.push(ue({strategy:"referenceHidden"}))}return[2,pt(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:i})]}))}))};r.prototype.updateSafeSpaceBoundaries=function(r){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o;var a=this;return __generator(this,(function(s){e=this.eventTarget.getBoundingClientRect();t=this.host.getBoundingClientRect();n=r==="top"||r==="bottom";i=function(r,e,t){if(r==="top"||r==="bottom"){return{popover:{y:r==="top"?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:r==="top"?t.top:t.bottom,xStart:t.left,xEnd:t.right}}}else{return{popover:{x:r==="left"?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:r==="left"?t.left:t.right,yStart:t.top,yEnd:t.bottom}}}};o=i(r,t,e);ht.PROPERTIES_TO_CLEAR.forEach((function(r){a.host.style.removeProperty(r)}));if(n){this.host.style.setProperty("--post-safe-space-popover-y","".concat(o.popover.y,"px"));this.host.style.setProperty("--post-safe-space-popover-x-start","".concat(o.popover.xStart,"px"));this.host.style.setProperty("--post-safe-space-popover-x-end","".concat(o.popover.xEnd,"px"));this.host.style.setProperty("--post-safe-space-trigger-y","".concat(o.trigger.y,"px"));this.host.style.setProperty("--post-safe-space-trigger-x-start","".concat(o.trigger.xStart,"px"));this.host.style.setProperty("--post-safe-space-trigger-x-end","".concat(o.trigger.xEnd,"px"))}else{this.host.style.setProperty("--post-safe-space-popover-x","".concat(o.popover.x,"px"));this.host.style.setProperty("--post-safe-space-popover-y-start","".concat(o.popover.yStart,"px"));this.host.style.setProperty("--post-safe-space-popover-y-end","".concat(o.popover.yEnd,"px"));this.host.style.setProperty("--post-safe-space-trigger-x","".concat(o.trigger.x,"px"));this.host.style.setProperty("--post-safe-space-trigger-y-start","".concat(o.trigger.yStart,"px"));this.host.style.setProperty("--post-safe-space-trigger-y-end","".concat(o.trigger.yEnd,"px"))}return[2]}))}))};r.prototype.render=function(){var r=this;return n(i,{key:"f3ea4bfc9a59faa2fbf1e413a1ec648f598a6779","data-version":a,popover:"auto"},n("div",{key:"a328c73c7e08eca1e423fcbe736798188cca2a87",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&n("span",{key:"8fad0095fb8d8c903ba84a639b4efc3e321c6aef","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:function(e){r.arrowRef=e}}),n("span",{key:"deadbcc5892ed545a64b4a0e5e0936e0dd1feb70",part:"post-popovercontainer-border-mask"}),n("slot",{key:"48c4db7ab222f3ef18157ce19d8ba15d75441f98"})))};Object.defineProperty(r.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return r}(),function(){p.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"}}(),function(){p.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"]}(),p));lt([s(u)],ht.prototype,"placement",void 0);lt([f("number")],ht.prototype,"edgeGap",void 0);lt([s(["triangle","trapezoid"])],ht.prototype,"safeSpace",void 0);ht.style=vt()}}}));
1
+ var __extends=this&&this.__extends||function(){var r=function(e,t){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=e[t]};return r(e,t)};return function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function i(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,o){function a(r){try{u(n.next(r))}catch(r){o(r)}}function s(r){try{u(n["throw"](r))}catch(r){o(r)}}function u(r){r.done?t(r.value):i(r.value).then(a,s)}u((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(r){return function(e){return u([r,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(t=0)),t)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;i=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){t.label=s[1];break}if(s[0]===6&&t.label<o[1]){t.label=o[1];o=s;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(s);break}if(o[2])t.ops.pop();t.trys.pop();continue}s=e.call(r,t)}catch(r){s=[6,r];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,e){var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0)t[n]=r[n];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++){if(e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i]))t[n[i]]=r[n[i]]}return t};var __spreadArray=this&&this.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return r.concat(o||Array.prototype.slice.call(e))};System.register(["./p-CN_0KCBp.system.js","./p-DHWj-DKi.system.js","./p-CiwQnVr3.system.js","./p-BYB4z0RW.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(r){"use strict";var e,t,n,i,o,a,s,u,f;return{setters:[function(r){e=r.r;t=r.c;n=r.h;i=r.H;o=r.g},function(r){a=r.v},function(r){s=r.O},function(r){u=r.P},function(r){f=r.T},null],execute:function(){var c=this;var p;var v=["top","right","bottom","left"];var l=Math.min;var d=Math.max;var h=Math.round;var g=Math.floor;var w=function(r){return{x:r,y:r}};var b={left:"right",right:"left",bottom:"top",top:"bottom"};function x(r,e,t){return d(r,l(e,t))}function m(r,e){return typeof r==="function"?r(e):r}function y(r){return r.split("-")[0]}function _(r){return r.split("-")[1]}function k(r){return r==="x"?"y":"x"}function S(r){return r==="y"?"height":"width"}function A(r){var e=r[0];return e==="t"||e==="b"?"y":"x"}function T(r){return k(A(r))}function E(r,e,t){if(t===void 0){t=false}var n=_(r);var i=T(r);var o=S(i);var a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";if(e.reference[o]>e.floating[o]){a=D(a)}return[a,D(a)]}function O(r){var e=D(r);return[M(r),e,M(e)]}function M(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}var j=["left","right"];var H=["right","left"];var L=["top","bottom"];var C=["bottom","top"];function R(r,e,t){switch(r){case"top":case"bottom":if(t)return e?H:j;return e?j:H;case"left":case"right":return e?L:C;default:return[]}}function z(r,e,t,n){var i=_(r);var o=R(y(r),t==="start",n);if(i){o=o.map((function(r){return r+"-"+i}));if(e){o=o.concat(o.map(M))}}return o}function D(r){var e=y(r);return b[e]+r.slice(e.length)}function F(r){var e,t,n,i;return{top:(e=r.top)!=null?e:0,right:(t=r.right)!=null?t:0,bottom:(n=r.bottom)!=null?n:0,left:(i=r.left)!=null?i:0}}function W(r){return typeof r!=="number"?F(r):{top:r,right:r,bottom:r,left:r}}function B(r){var e=r.x,t=r.y,n=r.width,i=r.height;return{width:n,height:i,top:t,left:e,right:e+n,bottom:t+i,x:e,y:t}}function P(r,e,t){var n=r.reference,i=r.floating;var o=A(e);var a=T(e);var s=S(a);var u=y(e);var f=o==="y";var c=n.x+n.width/2-i.width/2;var p=n.y+n.height/2-i.height/2;var v=n[s]/2-i[s]/2;var l;switch(u){case"top":l={x:c,y:n.y-i.height};break;case"bottom":l={x:c,y:n.y+n.height};break;case"right":l={x:n.x+n.width,y:p};break;case"left":l={x:n.x-i.width,y:p};break;default:l={x:n.x,y:n.y}}var d=_(e);if(d){l[a]+=v*(d==="end"?1:-1)*(t&&f?-1:1)}return l}function I(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,y,_,k,S,A,T,E,O,M,j,H,L,C,R,z,D;var F;return __generator(this,(function(P){switch(P.label){case 0:if(e===void 0){e={}}n=r.x,i=r.y,o=r.platform,a=r.rects,s=r.elements,u=r.strategy;f=m(e,r),c=f.boundary,p=c===void 0?"clippingAncestors":c,v=f.rootBoundary,l=v===void 0?"viewport":v,d=f.elementContext,h=d===void 0?"floating":d,g=f.altBoundary,w=g===void 0?false:g,b=f.padding,x=b===void 0?0:b;y=W(x);_=h==="floating"?"reference":"floating";k=s[w?_:h];A=B;E=(T=o).getClippingRect;F={};return[4,o.isElement==null?void 0:o.isElement(k)];case 1:if(!((t=P.sent())!=null?t:true))return[3,2];O=k;return[3,5];case 2:M=k.contextElement;if(M)return[3,4];return[4,o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)];case 3:M=P.sent();P.label=4;case 4:O=M;P.label=5;case 5:return[4,E.apply(T,[(F.element=O,F.boundary=p,F.rootBoundary=l,F.strategy=u,F)])];case 6:S=A.apply(void 0,[P.sent()]);j=h==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference;return[4,o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)];case 7:H=P.sent();return[4,o.isElement==null?void 0:o.isElement(H)];case 8:C=P.sent();if(!C)return[3,10];return[4,o.getScale==null?void 0:o.getScale(H)];case 9:C=P.sent();P.label=10;case 10:L=C||{x:1,y:1};z=B;if(!o.convertOffsetParentRelativeRectToViewportRelativeRect)return[3,12];return[4,o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:j,offsetParent:H,strategy:u})];case 11:D=P.sent();return[3,13];case 12:D=j;P.label=13;case 13:R=z.apply(void 0,[D]);return[2,{top:(S.top-R.top+y.top)/L.y,bottom:(R.bottom-S.bottom+y.bottom)/L.y,left:(S.left-R.left+y.left)/L.x,right:(R.right-S.right+y.right)/L.x}]}}))}))}var q=50;var N=function(r,e,t){return __awaiter(c,void 0,void 0,(function(){var n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,m,y,_,k,S,A,T,E,O;var M;return __generator(this,(function(j){switch(j.label){case 0:n=t.placement,i=n===void 0?"bottom":n,o=t.strategy,a=o===void 0?"absolute":o,s=t.middleware,u=s===void 0?[]:s,f=t.platform;c=f.detectOverflow?f:__assign(__assign({},f),{detectOverflow:I});return[4,f.isRTL==null?void 0:f.isRTL(e)];case 1:p=j.sent();return[4,f.getElementRects({reference:r,floating:e,strategy:a})];case 2:v=j.sent();l=P(v,i,p),d=l.x,h=l.y;g=i;w=0;b={};x=0;j.label=3;case 3:if(!(x<u.length))return[3,11];m=u[x];if(!m){return[3,10]}y=m.name,_=m.fn;return[4,_({x:d,y:h,initialPlacement:i,placement:g,strategy:a,middlewareData:b,rects:v,platform:c,elements:{reference:r,floating:e}})];case 4:k=j.sent(),S=k.x,A=k.y,T=k.data,E=k.reset;d=S!=null?S:d;h=A!=null?A:h;b[y]=__assign(__assign({},b[y]),T);if(!(E&&w<q))return[3,10];w++;if(!(typeof E==="object"))return[3,9];if(E.placement){g=E.placement}if(!E.rects)return[3,8];if(!(E.rects===true))return[3,6];return[4,f.getElementRects({reference:r,floating:e,strategy:a})];case 5:O=j.sent();return[3,7];case 6:O=E.rects;j.label=7;case 7:v=O;j.label=8;case 8:M=P(v,g,p),d=M.x,h=M.y;j.label=9;case 9:x=-1;j.label=10;case 10:x++;return[3,3];case 11:return[2,{x:d,y:h,placement:g,strategy:a,middlewareData:b}]}}))}))};var V=function(r){return{name:"arrow",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,d,h,g,w,b,y,k,A,E,O,M,j,H,L,C,R,z,D,F,B,P,I,q;var N,V;return __generator(this,(function($){switch($.label){case 0:t=e.x,n=e.y,i=e.placement,o=e.rects,a=e.platform,s=e.elements,u=e.middlewareData;f=m(r,e)||{},c=f.element,p=f.padding,v=p===void 0?0:p;if(c==null){return[2,{}]}d=W(v);h={x:t,y:n};g=T(i);w=S(g);return[4,a.getDimensions(c)];case 1:b=$.sent();y=g==="y";k=y?"top":"left";A=y?"bottom":"right";E=y?"clientHeight":"clientWidth";O=o.reference[w]+o.reference[g]-h[g]-o.floating[w];M=h[g]-o.reference[g];return[4,a.getOffsetParent==null?void 0:a.getOffsetParent(c)];case 2:j=$.sent();H=j?j[E]:0;L=!H;if(L)return[3,4];return[4,a.isElement==null?void 0:a.isElement(j)];case 3:L=!$.sent();$.label=4;case 4:if(L){H=s.floating[E]||o.floating[w]}C=O/2-M/2;R=H/2-b[w]/2-1;z=l(d[k],R);D=l(d[A],R);F=H-b[w]-D;B=H/2-b[w]/2+C;P=x(z,B,F);I=!u.arrow&&_(i)!=null&&B!==P&&o.reference[w]/2-(B<z?z:D)-b[w]/2<0;q=I?B<z?B-z:B-F:0;return[2,(N={},N[g]=h[g]+q,N.data=__assign((V={},V[g]=P,V.centerOffset=B-P-q,V),I&&{alignmentOffset:q}),N.reset=I,N)]}}))}))}}};var $=function(r){if(r===void 0){r={}}return{name:"flip",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,x,_,k,S,T,M,j,H,L,C,R,F,W,B,P,I,q,N,V,$,G,K,Q;return __generator(this,(function(Y){switch(Y.label){case 0:i=e.placement,o=e.middlewareData,a=e.rects,s=e.initialPlacement,u=e.platform,f=e.elements;c=m(r,e),p=c.mainAxis,v=p===void 0?true:p,l=c.crossAxis,d=l===void 0?true:l,h=c.fallbackPlacements,g=c.fallbackStrategy,w=g===void 0?"bestFit":g,b=c.fallbackAxisSideDirection,x=b===void 0?"none":b,_=c.flipAlignment,k=_===void 0?true:_,S=__rest(c,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((t=o.arrow)!=null&&t.alignmentOffset){return[2,{}]}T=y(i);M=A(s);j=y(s)===s;return[4,u.isRTL==null?void 0:u.isRTL(f.floating)];case 1:H=Y.sent();L=h||(j||!k?[D(s)]:O(s));C=x!=="none";if(!h&&C){L.push.apply(L,z(s,k,x,H))}R=__spreadArray([s],L,true);return[4,u.detectOverflow(e,S)];case 2:F=Y.sent();W=[];B=((n=o.flip)==null?void 0:n.overflows)||[];if(v){W.push(F[T])}if(d){P=E(i,a,H);W.push(F[P[0]],F[P[1]])}B=__spreadArray(__spreadArray([],B,true),[{placement:i,overflows:W}],false);if(!W.every((function(r){return r<=0}))){N=(((I=o.flip)==null?void 0:I.index)||0)+1;V=R[N];if(V){$=d==="alignment"?M!==A(V):false;if(!$||B.every((function(r){return A(r.placement)===M?r.overflows[0]>0:true}))){return[2,{data:{index:N,overflows:B},reset:{placement:V}}]}}G=(q=B.filter((function(r){return r.overflows[0]<=0})).sort((function(r,e){return r.overflows[1]-e.overflows[1]}))[0])==null?void 0:q.placement;if(!G){switch(w){case"bestFit":{Q=(K=B.filter((function(r){if(C){var e=A(r.placement);return e===M||e==="y"}return true})).map((function(r){return[r.placement,r.overflows.filter((function(r){return r>0})).reduce((function(r,e){return r+e}),0)]})).sort((function(r,e){return r[1]-e[1]}))[0])==null?void 0:K[0];if(Q){G=Q}break}case"initialPlacement":G=s;break}}if(i!==G){return[2,{reset:{placement:G}}]}}return[2,{}]}}))}))}}};function G(r,e){return{top:r.top-e.height,right:r.right-e.width,bottom:r.bottom-e.height,left:r.left-e.width}}function K(r){return v.some((function(e){return r[e]>=0}))}var Q=function(r){if(r===void 0){r={}}return{name:"hide",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,f,c;return __generator(this,(function(p){switch(p.label){case 0:t=e.rects,n=e.platform;i=m(r,e),o=i.strategy,a=o===void 0?"referenceHidden":o,s=__rest(i,["strategy"]);u=a;switch(u){case"referenceHidden":return[3,1];case"escaped":return[3,3]}return[3,5];case 1:return[4,n.detectOverflow(e,__assign(__assign({},s),{elementContext:"reference"}))];case 2:f=p.sent();c=G(f,t.reference);return[2,{data:{referenceHiddenOffsets:c,referenceHidden:K(c)}}];case 3:return[4,n.detectOverflow(e,__assign(__assign({},s),{altBoundary:true}))];case 4:f=p.sent();c=G(f,t.floating);return[2,{data:{escapedOffsets:c,escaped:K(c)}}];case 5:{return[2,{}]}p.label=6;case 6:return[2]}}))}))}}};function Y(r){var e=l.apply(void 0,r.map((function(r){return r.left})));var t=l.apply(void 0,r.map((function(r){return r.top})));var n=d.apply(void 0,r.map((function(r){return r.right})));var i=d.apply(void 0,r.map((function(r){return r.bottom})));return{x:e,y:t,width:n-e,height:i-t}}function Z(r){var e=r.slice().sort((function(r,e){return r.y-e.y}));var t=[];var n=null;for(var i=0;i<e.length;i++){var o=e[i];if(!n||o.y-n.y>n.height/2){t.push([o])}else{t[t.length-1].push(o)}n=o}return t.map((function(r){return B(Y(r))}))}var J=function(r){if(r===void 0){r={}}return{name:"inline",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){function t(){if(b.length===2&&(b[0].left>b[1].right||b[1].left>b[0].right)&&p!=null&&v!=null){return b.find((function(r){return p>r.left-_.left&&p<r.right+_.right&&v>r.top-_.top&&v<r.bottom+_.bottom}))||x}if(b.length>=2){if(A(n)==="y"){var r=b[0];var e=b[b.length-1];var t=y(n)==="top";var i=r.top;var o=e.bottom;var a=t?r.left:e.left;var s=t?r.right:e.right;return B({x:a,y:i,width:s-a,height:o-i})}var u=y(n)==="left";var f=d.apply(void 0,b.map((function(r){return r.right})));var c=l.apply(void 0,b.map((function(r){return r.left})));var h=b.filter((function(r){return u?r.left===c:r.right===f}));var g=h[0].top;var w=h[h.length-1].bottom;return B({x:c,y:g,width:f-c,height:w-g})}return x}var n,i,o,a,s,u,f,c,p,v,h,g,w,b,x,_,k;return __generator(this,(function(l){switch(l.label){case 0:n=e.placement,i=e.elements,o=e.rects,a=e.platform,s=e.strategy;u=m(r,e),f=u.padding,c=f===void 0?2:f,p=u.x,v=u.y;w=(g=Array).from;return[4,a.getClientRects==null?void 0:a.getClientRects(i.reference)];case 1:h=w.apply(g,[l.sent()||[]]);if(!h.length){return[2,{}]}b=Z(h);x=B(Y(h));_=W(c);return[4,a.getElementRects({reference:{getBoundingClientRect:t},floating:i.floating,strategy:s})];case 2:k=l.sent();if(o.reference.x!==k.reference.x||o.reference.y!==k.reference.y||o.reference.width!==k.reference.width||o.reference.height!==k.reference.height){return[2,{reset:{rects:k}}]}return[2,{}]}}))}))}}};var U=new Set(["left","top"]);function X(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h;return __generator(this,(function(g){switch(g.label){case 0:t=r.placement,n=r.platform,i=r.elements;return[4,n.isRTL==null?void 0:n.isRTL(i.floating)];case 1:o=g.sent();a=y(t);s=_(t);u=A(t)==="y";f=U.has(a)?-1:1;c=o&&u?-1:1;p=m(e,r);v=typeof p==="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis},l=v.mainAxis,d=v.crossAxis,h=v.alignmentAxis;if(s&&typeof h==="number"){d=s==="end"?h*-1:h}return[2,u?{x:d*c,y:l*f}:{x:l*f,y:d*c}]}}))}))}var rr=function(r){if(r===void 0){r=0}return{name:"offset",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u;return __generator(this,(function(f){switch(f.label){case 0:i=e.x,o=e.y,a=e.placement,s=e.middlewareData;return[4,X(e,r)];case 1:u=f.sent();if(a===((t=s.offset)==null?void 0:t.placement)&&(n=s.arrow)!=null&&n.alignmentOffset){return[2,{}]}return[2,{x:i+u.x,y:o+u.y,data:__assign(__assign({},u),{placement:a})}]}}))}))}}};var er=function(r){if(r===void 0){r={}}return{name:"shift",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,l,d,h,g,w,b,y,_,S;var T,E;return __generator(this,(function(O){switch(O.label){case 0:t=e.x,n=e.y,i=e.placement,o=e.platform;a=m(r,e),s=a.mainAxis,u=s===void 0?true:s,f=a.crossAxis,c=f===void 0?false:f,p=a.limiter,v=p===void 0?{fn:function(r){var e=r.x,t=r.y;return{x:e,y:t}}}:p,l=__rest(a,["mainAxis","crossAxis","limiter"]);d={x:t,y:n};return[4,o.detectOverflow(e,l)];case 1:h=O.sent();g=A(i);w=k(g);b=d[w];y=d[g];_=function(r,e){return x(e+h[r==="y"?"top":"left"],e,e-h[r==="y"?"bottom":"right"])};if(u){b=_(w,b)}if(c){y=_(g,y)}S=v.fn(__assign(__assign({},e),(T={},T[w]=b,T[g]=y,T)));return[2,__assign(__assign({},S),{data:{x:S.x-t,y:S.y-n,enabled:(E={},E[w]=u,E[g]=c,E)}})]}}))}))}}};var tr=function(r){if(r===void 0){r={}}return{options:r,fn:function(e){var t;var n,i;var o=e.x,a=e.y,s=e.placement,u=e.rects,f=e.middlewareData;var c=m(r,e),p=c.offset,v=p===void 0?0:p,l=c.mainAxis,d=l===void 0?true:l,h=c.crossAxis,g=h===void 0?true:h;var w={x:o,y:a};var b=A(s);var x=k(b);var _=w[x];var S=w[b];var T=m(v,e);var E=typeof T==="number"?{mainAxis:T,crossAxis:0}:{mainAxis:(n=T.mainAxis)!=null?n:0,crossAxis:(i=T.crossAxis)!=null?i:0};if(d){var O=x==="y"?"height":"width";var M=u.reference[x]-u.floating[O]+E.mainAxis;var j=u.reference[x]+u.reference[O]-E.mainAxis;if(_<M){_=M}else if(_>j){_=j}}if(g){var H,L;var O=x==="y"?"width":"height";var C=U.has(y(s));var M=u.reference[b]-u.floating[O]+(C?((H=f.offset)==null?void 0:H[b])||0:0)+(C?0:E.crossAxis);var j=u.reference[b]+u.reference[O]+(C?0:((L=f.offset)==null?void 0:L[b])||0)-(C?E.crossAxis:0);if(S<M){S=M}else if(S>j){S=j}}return t={},t[x]=_,t[b]=S,t}}};var nr=function(r){if(r===void 0){r={}}return{name:"size",options:r,fn:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,o,a,s,u,f,c,p,v,h,g,w,b,x,k,S,T,E,O,M,j,H,L,C,R;return __generator(this,(function(z){switch(z.label){case 0:t=e.placement,n=e.rects,i=e.platform,o=e.elements;a=m(r,e),s=a.apply,u=s===void 0?function(){}:s,f=__rest(a,["apply"]);return[4,i.detectOverflow(e,f)];case 1:c=z.sent();p=y(t);v=_(t);h=A(t)==="y";g=n.floating,w=g.width,b=g.height;if(!(p==="top"||p==="bottom"))return[3,3];x=p;S=v;return[4,i.isRTL==null?void 0:i.isRTL(o.floating)];case 2:k=S===(z.sent()?"start":"end")?"left":"right";return[3,4];case 3:k=p;x=v==="end"?"top":"bottom";z.label=4;case 4:T=b-c.top-c.bottom;E=w-c.left-c.right;O=l(b-c[x],T);M=l(w-c[k],E);j=e.middlewareData.shift;H=!j;L=O;C=M;if(j!=null&&j.enabled.x){C=E}if(j!=null&&j.enabled.y){L=T}if(H&&!v){if(h){C=w-2*d(c.left,c.right)}else{L=b-2*d(c.top,c.bottom)}}return[4,u(__assign(__assign({},e),{availableWidth:C,availableHeight:L}))];case 5:z.sent();return[4,i.getDimensions(o.floating)];case 6:R=z.sent();if(w!==R.width||b!==R.height){return[2,{reset:{rects:true}}]}return[2,{}]}}))}))}}};function ir(){return typeof window!=="undefined"}function or(r){if(ur(r)){return(r.nodeName||"").toLowerCase()}return"#document"}function ar(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function sr(r){var e;return(e=(ur(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function ur(r){if(!ir()){return false}return r instanceof Node||r instanceof ar(r).Node}function fr(r){if(!ir()){return false}return r instanceof Element||r instanceof ar(r).Element}function cr(r){if(!ir()){return false}return r instanceof HTMLElement||r instanceof ar(r).HTMLElement}function pr(r){if(!ir()||typeof ShadowRoot==="undefined"){return false}return r instanceof ShadowRoot||r instanceof ar(r).ShadowRoot}function vr(r){var e=kr(r),t=e.overflow,n=e.overflowX,i=e.overflowY,o=e.display;return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&o!=="inline"&&o!=="contents"}function lr(r){return/^(table|td|th)$/.test(or(r))}function dr(r){try{if(r.matches(":popover-open")){return true}}catch(r){}try{return r.matches(":modal")}catch(r){return false}}var hr=/transform|translate|scale|rotate|perspective|filter/;var gr=/paint|layout|strict|content/;var wr=function(r){return!!r&&r!=="none"};var br;function xr(r){var e=fr(r)?kr(r):r;return wr(e.transform)||wr(e.translate)||wr(e.scale)||wr(e.rotate)||wr(e.perspective)||!yr()&&(wr(e.backdropFilter)||wr(e.filter))||hr.test(e.willChange||"")||gr.test(e.contain||"")}function mr(r){var e=Ar(r);while(cr(e)&&!_r(e)){if(xr(e)){return e}else if(dr(e)){return null}e=Ar(e)}return null}function yr(){if(br==null){br=typeof CSS!=="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}return br}function _r(r){return/^(html|body|#document)$/.test(or(r))}function kr(r){return ar(r).getComputedStyle(r)}function Sr(r){if(fr(r)){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}return{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Ar(r){if(or(r)==="html"){return r}var e=r.assignedSlot||r.parentNode||pr(r)&&r.host||sr(r);return pr(e)?e.host:e}function Tr(r){var e=Ar(r);if(_r(e)){return(r.ownerDocument||r).body}if(cr(e)&&vr(e)){return e}return Tr(e)}function Er(r,e,t){var n;if(e===void 0){e=[]}if(t===void 0){t=true}var i=Tr(r);var o=i===((n=r.ownerDocument)==null?void 0:n.body);var a=ar(i);if(o){var s=Or(a);return e.concat(a,a.visualViewport||[],vr(i)?i:[],s&&t?Er(s):[])}else{return e.concat(i,Er(i,[],t))}}function Or(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function Mr(r){var e=kr(r);var t=parseFloat(e.width)||0;var n=parseFloat(e.height)||0;var i=cr(r);var o=i?r.offsetWidth:t;var a=i?r.offsetHeight:n;var s=h(t)!==o||h(n)!==a;if(s){t=o;n=a}return{width:t,height:n,$:s}}function jr(r){return!fr(r)?r.contextElement:r}function Hr(r){var e=jr(r);if(!cr(e)){return w(1)}var t=e.getBoundingClientRect();var n=Mr(e),i=n.width,o=n.height,a=n.$;var s=(a?h(t.width):t.width)/i;var u=(a?h(t.height):t.height)/o;if(!s||!Number.isFinite(s)){s=1}if(!u||!Number.isFinite(u)){u=1}return{x:s,y:u}}var Lr=w(0);function Cr(r){var e=ar(r);if(!yr()||!e.visualViewport){return Lr}return{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rr(r,e,t){if(e===void 0){e=false}return!!t&&e&&t===ar(r)}function zr(r,e,t,n){if(e===void 0){e=false}if(t===void 0){t=false}var i=r.getBoundingClientRect();var o=jr(r);var a=w(1);if(e){if(n){if(fr(n)){a=Hr(n)}}else{a=Hr(r)}}var s=Rr(o,t,n)?Cr(o):w(0);var u=(i.left+s.x)/a.x;var f=(i.top+s.y)/a.y;var c=i.width/a.x;var p=i.height/a.y;if(o&&n){var v=ar(o);var l=fr(n)?ar(n):n;var d=v;var h=Or(d);while(h&&l!==d){var g=Hr(h);var b=h.getBoundingClientRect();var x=kr(h);var m=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x;var y=b.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;u*=g.x;f*=g.y;c*=g.x;p*=g.y;u+=m;f+=y;d=ar(h);h=Or(d)}}return B({width:c,height:p,x:u,y:f})}function Dr(r,e){var t=Sr(r).scrollLeft;if(!e){return zr(sr(r)).left+t}return e.left+t}function Fr(r,e){var t=r.getBoundingClientRect();var n=t.left+e.scrollLeft-Dr(r,t);var i=t.top+e.scrollTop;return{x:n,y:i}}function Wr(r){var e=r.elements,t=r.rect,n=r.offsetParent,i=r.strategy;var o=i==="fixed";var a=sr(n);var s=e?dr(e.floating):false;if(n===a||s&&o){return t}var u={scrollLeft:0,scrollTop:0};var f=w(1);var c=w(0);var p=cr(n);if(p||!o){if(or(n)!=="body"||vr(a)){u=Sr(n)}if(p){var v=zr(n);f=Hr(n);c.x=v.x+n.clientLeft;c.y=v.y+n.clientTop}}var l=a&&!p&&!o?Fr(a,u):w(0);return{width:t.width*f.x,height:t.height*f.y,x:t.x*f.x-u.scrollLeft*f.x+c.x+l.x,y:t.y*f.y-u.scrollTop*f.y+c.y+l.y}}function Br(r){return r.getClientRects?Array.from(r.getClientRects()):[]}function Pr(r){var e=Sr(r);var t=r.ownerDocument.body;var n=d(r.scrollWidth,r.clientWidth,t.scrollWidth,t.clientWidth);var i=d(r.scrollHeight,r.clientHeight,t.scrollHeight,t.clientHeight);var o=-e.scrollLeft+Dr(r);var a=-e.scrollTop;if(kr(t).direction==="rtl"){o+=d(r.clientWidth,t.clientWidth)-n}return{width:n,height:i,x:o,y:a}}var Ir=25;function qr(r,e,t){if(t===void 0){t="viewport"}var n=t==="layoutViewport";var i=ar(r);var o=sr(r);var a=i.visualViewport;var s=o.clientWidth;var u=o.clientHeight;var f=0;var c=0;if(a){var p=!yr()||e==="fixed";if(n){if(!p){f=-a.offsetLeft;c=-a.offsetTop}}else{s=a.width;u=a.height;if(p){f=a.offsetLeft;c=a.offsetTop}}}var v=Dr(o);if(v<=0){var l=o.ownerDocument;var d=l.body;var h=getComputedStyle(d);var g=l.compatMode==="CSS1Compat"?parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0:0;var w=Math.abs(o.clientWidth-d.clientWidth-g);var b=getComputedStyle(o).scrollbarGutter==="stable both-edges"?w/2:w;if(b<=Ir){s-=b}}return{width:s,height:u,x:f,y:c}}function Nr(r,e){var t=zr(r,true,e==="fixed");var n=t.top+r.clientTop;var i=t.left+r.clientLeft;var o=Hr(r);var a=r.clientWidth*o.x;var s=r.clientHeight*o.y;var u=i*o.x;var f=n*o.y;return{width:a,height:s,x:u,y:f}}function Vr(r,e,t){var n;if(e==="viewport"||e==="layoutViewport"){n=qr(r,t,e)}else if(e==="document"){n=Pr(sr(r))}else if(fr(e)){n=Nr(e,t)}else{var i=Cr(r);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return B(n)}function $r(r,e){var t=e.get(r);if(t){return t}var n=Er(r,[],false).filter((function(r){return fr(r)&&or(r)!=="body"}));var i=null;var o=kr(r).position==="fixed";var a=o?Ar(r):r;while(fr(a)&&!_r(a)){var s=kr(a);var u=xr(a);var f=i?i.position:o?"fixed":"";var c=!u&&(f==="fixed"||f==="absolute"&&s.position==="static");if(c){n=n.filter((function(r){return r!==a}))}else{i=s}a=Ar(a)}e.set(r,n);return n}function Gr(r){var e=r.element,t=r.boundary,n=r.rootBoundary,i=r.strategy;var o=t==="clippingAncestors"?dr(e)?[]:$r(e,this._c):[].concat(t);var a=__spreadArray(__spreadArray([],o,true),[n],false);var s=Vr(e,a[0],i);var u=s.top;var f=s.right;var c=s.bottom;var p=s.left;for(var v=1;v<a.length;v++){var h=Vr(e,a[v],i);u=d(h.top,u);f=l(h.right,f);c=l(h.bottom,c);p=d(h.left,p)}return{width:f-p,height:c-u,x:p,y:u}}function Kr(r){var e=Mr(r),t=e.width,n=e.height;return{width:t,height:n}}function Qr(r,e,t){var n=cr(e);var i=sr(e);var o=t==="fixed";var a=zr(r,true,o,e);var s={scrollLeft:0,scrollTop:0};var u=w(0);if(n||!o){if(or(e)!=="body"||vr(i)){s=Sr(e)}if(n){var f=zr(e,true,o,e);u.x=f.x+e.clientLeft;u.y=f.y+e.clientTop}}if(!n&&i){u.x=Dr(i)}var c=i&&!n&&!o?Fr(i,s):w(0);var p=a.left+s.scrollLeft-u.x-c.x;var v=a.top+s.scrollTop-u.y-c.y;return{x:p,y:v,width:a.width,height:a.height}}function Yr(r){return kr(r).position==="static"}function Zr(r,e){if(!cr(r)||kr(r).position==="fixed"){return null}if(e){return e(r)}var t=r.offsetParent;if(sr(r)===t){t=t.ownerDocument.body}return t}function Jr(r,e){var t=ar(r);if(dr(r)){return t}if(!cr(r)){var n=Ar(r);while(n&&!_r(n)){if(fr(n)&&!Yr(n)){return n}n=Ar(n)}return t}var i=Zr(r,e);while(i&&lr(i)&&Yr(i)){i=Zr(i,e)}if(i&&_r(i)&&Yr(i)&&!xr(i)){return t}return i||mr(r)||t}var Ur=function(r){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o;var a;return __generator(this,(function(s){switch(s.label){case 0:e=this.getOffsetParent||Jr;t=this.getDimensions;return[4,t(r.floating)];case 1:n=s.sent();a={};i=Qr;o=[r.reference];return[4,e(r.floating)];case 2:return[2,(a.reference=i.apply(void 0,o.concat([s.sent(),r.strategy])),a.floating={x:0,y:0,width:n.width,height:n.height},a)]}}))}))};function Xr(r){return kr(r).direction==="rtl"}var re={convertOffsetParentRelativeRectToViewportRelativeRect:Wr,getDocumentElement:sr,getClippingRect:Gr,getOffsetParent:Jr,getElementRects:Ur,getClientRects:Br,getDimensions:Kr,getScale:Hr,isElement:fr,isRTL:Xr};function ee(r,e){return r.x===e.x&&r.y===e.y&&r.width===e.width&&r.height===e.height}function te(r,e,t){var n=null;var i;var o=sr(r);function a(){var r;clearTimeout(i);(r=n)==null||r.disconnect();n=null}function s(t,u){if(t===void 0){t=false}if(u===void 0){u=1}a();var f=r.getBoundingClientRect();var c=f.left,p=f.top,v=f.width,h=f.height;if(!t){e()}if(!v||!h){return}var w=g(p);var b=g(o.clientWidth-(c+v));var x=g(o.clientHeight-(p+h));var m=g(c);var y=-w+"px "+-b+"px "+-x+"px "+-m+"px";var _={rootMargin:y,threshold:d(0,l(1,u))||1};var k=true;function S(e){var t=e[0].intersectionRatio;if(!ee(f,r.getBoundingClientRect())){return s()}if(t!==u){if(!k){return s()}if(!t){i=setTimeout((function(){s(false,1e-7)}),1e3)}else{s(false,t)}}k=false}try{n=new IntersectionObserver(S,__assign(__assign({},_),{root:o.ownerDocument}))}catch(r){n=new IntersectionObserver(S,_)}n.observe(r)}var u=ar(r);var f=function(){return s(t)};u.addEventListener("resize",f);s(true);return function(){u.removeEventListener("resize",f);a()}}function ne(r,e,t,n){if(n===void 0){n={}}var i=n.ancestorScroll,o=i===void 0?true:i,a=n.ancestorResize,s=a===void 0?true:a,u=n.elementResize,f=u===void 0?typeof ResizeObserver==="function":u,c=n.layoutShift,p=c===void 0?typeof IntersectionObserver==="function":c,v=n.animationFrame,l=v===void 0?false:v;var d=jr(r);var h=o||s?__spreadArray(__spreadArray([],d?Er(d):[],true),e?Er(e):[],true):[];h.forEach((function(r){o&&r.addEventListener("scroll",t);s&&r.addEventListener("resize",t)}));var g=d&&p?te(d,t,s):null;var w=-1;var b=null;if(f){b=new ResizeObserver((function(r){var n=r[0];if(n&&n.target===d&&b&&e){b.unobserve(e);cancelAnimationFrame(w);w=requestAnimationFrame((function(){var r;(r=b)==null||r.observe(e)}))}t()}));if(d&&!l){b.observe(d)}if(e){b.observe(e)}}var x;var m=l?zr(r):null;if(l){y()}function y(){var e=zr(r);if(m&&!ee(m,e)){t()}m=e;x=requestAnimationFrame(y)}t();return function(){var r;h.forEach((function(r){o&&r.removeEventListener("scroll",t);s&&r.removeEventListener("resize",t)}));g==null||g();(r=b)==null||r.disconnect();b=null;if(l){cancelAnimationFrame(x)}}}var ie=rr;var oe=er;var ae=$;var se=nr;var ue=Q;var fe=V;var ce=J;var pe=tr;var ve=function(r,e,t){var n=new Map;var i=t!=null?t:{};var o=__assign(__assign(__assign({},re),i.platform),{_c:n});return N(r,e,__assign(__assign({},i),{platform:o}))};var le=250;var de="ease-out";function he(r){if(!r)return;return r.animate([{transform:"scale(0.9)",opacity:0},{transform:"scale(1)",opacity:1}],{duration:le,easing:de,fill:"forwards"})}var ge=function(r){__extends(e,r);function e(e,t){if(t===void 0){t={}}var n=this;var i=t.oldState,o=i===void 0?"":i,a=t.newState,s=a===void 0?"":a,u=__rest(t,["oldState","newState"]);n=r.call(this,e,u)||this;n.oldState=String(o||"");n.newState=String(s||"");return n}return e}(Event);var we=new WeakMap;function be(r,e,t){we.set(r,setTimeout((function(){if(!we.has(r))return;r.dispatchEvent(new ge("toggle",{cancelable:false,oldState:e,newState:t}))}),0))}var xe=globalThis.ShadowRoot||function(){};var me=globalThis.HTMLDialogElement||function(){};var ye=new WeakMap;var _e=new WeakMap;var ke=new WeakMap;var Se=new WeakMap;function Ae(r){return Se.get(r)||"hidden"}var Te=new WeakMap;function Ee(r){return __spreadArray([],r,true).pop()}function Oe(r){var e=r.popoverTargetElement;if(!(e instanceof HTMLElement)){return}var t=Ae(e);if(r.popoverTargetAction==="show"&&t==="showing"){return}if(r.popoverTargetAction==="hide"&&t==="hidden")return;if(t==="showing"){Ne(e,true,true)}else if(Me(e,false)){Te.set(e,r);qe(e)}}function Me(r,e){if(r.popover!=="auto"&&r.popover!=="manual"&&r.popover!=="hint"){return false}if(!r.isConnected)return false;if(e&&Ae(r)!=="showing"){return false}if(!e&&Ae(r)!=="hidden"){return false}if(r instanceof me&&r.hasAttribute("open")){return false}if(document.fullscreenElement===r)return false;return true}function je(r){if(!r)return 0;var e=_e.get(document)||new Set;var t=ke.get(document)||new Set;if(t.has(r)){return __spreadArray([],t,true).indexOf(r)+e.size+1}if(e.has(r)){return __spreadArray([],e,true).indexOf(r)+1}return 0}function He(r){var e=ze(r);var t=De(r);if(je(e)>je(t)){return e}return t}function Le(r){var e;var t=ke.get(r)||new Set;var n=_e.get(r)||new Set;var i=t.size>0?t:n.size>0?n:null;if(i){e=Ee(i);if(!e.isConnected){i.delete(e);return Le(r)}return e}return null}function Ce(r){for(var e=0,t=r||[];e<t.length;e++){var n=t[e];if(!n.isConnected){r.delete(n)}else{return n}}return null}function Re(r){if(typeof r.getRootNode==="function"){return r.getRootNode()}if(r.parentNode)return Re(r.parentNode);return r}function ze(r){while(r){if(r instanceof HTMLElement&&r.popover==="auto"&&Se.get(r)==="showing"){return r}r=r instanceof Element&&r.assignedSlot||r.parentElement||Re(r);if(r instanceof xe)r=r.host;if(r instanceof Document)return}}function De(r){while(r){var e=r.popoverTargetElement;if(e instanceof HTMLElement)return e;r=r.parentElement||Re(r);if(r instanceof xe)r=r.host;if(r instanceof Document)return}}function Fe(r,e){var t=new Map;var n=0;for(var i=0,o=e||[];i<o.length;i++){var a=o[i];t.set(a,n);n+=1}t.set(r,n);n+=1;var s=null;function u(e){if(!e)return;var n=false;var i=null;var o=null;while(!n){i=ze(e)||null;if(i===null)return;if(!t.has(i))return;if(r.popover==="hint"||i.popover==="auto"){n=true}if(!n){e=i.parentElement}}o=t.get(i);if(s===null||t.get(s)<o){s=i}}u(r.parentElement||Re(r));return s}function We(r){if(r.hidden||r instanceof xe)return false;if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLSelectElement||r instanceof HTMLTextAreaElement||r instanceof HTMLOptGroupElement||r instanceof HTMLOptionElement||r instanceof HTMLFieldSetElement){if(r.disabled)return false}if(r instanceof HTMLInputElement&&r.type==="hidden"){return false}if(r instanceof HTMLAnchorElement&&r.href===""){return false}return typeof r.tabIndex==="number"&&r.tabIndex!==-1}function Be(r){if(r.shadowRoot&&r.shadowRoot.delegatesFocus!==true){return null}var e=r;if(e.shadowRoot){e=e.shadowRoot}var t=e.querySelector("[autofocus]");if(t){return t}else{var n=e.querySelectorAll("slot");for(var i=0,o=n;i<o.length;i++){var a=o[i];var s=a.assignedElements({flatten:true});for(var u=0,f=s;u<f.length;u++){var c=f[u];if(c.hasAttribute("autofocus")){return c}else{t=c.querySelector("[autofocus]");if(t){return t}}}}}var p=r.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);var v=p.currentNode;while(v){if(We(v)){return v}v=p.nextNode()}}function Pe(r){var e;(e=Be(r))===null||e===void 0?void 0:e.focus()}var Ie=new WeakMap;function qe(r){if(!Me(r,false)){return}var e=r.ownerDocument;if(!r.dispatchEvent(new ge("beforetoggle",{cancelable:true,oldState:"closed",newState:"open"}))){return}if(!Me(r,false)){return}var t=false;var n=r.popover;var i=null;var o=Fe(r,_e.get(e)||new Set);var a=Fe(r,ke.get(e)||new Set);if(n==="auto"){$e(ke.get(e)||new Set,t,true);var s=o||e;Ke(s,t,true);i="auto"}if(n==="hint"){if(a){Ke(a,t,true);i="hint"}else{$e(ke.get(e)||new Set,t,true);if(o){Ke(o,t,true);i="auto"}else{i="hint"}}}if(n==="auto"||n==="hint"){if(n!==r.popover||!Me(r,false)){return}if(!Le(e)){t=true}if(i==="auto"){if(!_e.has(e)){_e.set(e,new Set)}_e.get(e).add(r)}else if(i==="hint"){if(!ke.has(e)){ke.set(e,new Set)}ke.get(e).add(r)}}Ie.delete(r);var u=e.activeElement;r.classList.add(":popover-open");Se.set(r,"showing");if(!ye.has(e)){ye.set(e,new Set)}ye.get(e).add(r);Je(Te.get(r),true);Pe(r);if(t&&u&&r.popover==="auto"){Ie.set(r,u)}be(r,"closed","open")}function Ne(r,e,t){var n,i;if(e===void 0){e=false}if(t===void 0){t=false}if(!Me(r,true)){return}var o=r.ownerDocument;if(["auto","hint"].includes(r.popover)){Ke(r,e,t);if(!Me(r,true)){return}}var a=_e.get(o)||new Set;var s=a.has(r)&&Ee(a)===r;Je(Te.get(r),false);Te.delete(r);if(t){r.dispatchEvent(new ge("beforetoggle",{oldState:"open",newState:"closed"}));if(s&&Ee(a)!==r){Ke(r,e,t)}if(!Me(r,true)){return}}(n=ye.get(o))===null||n===void 0?void 0:n.delete(r);a.delete(r);(i=ke.get(o))===null||i===void 0?void 0:i.delete(r);r.classList.remove(":popover-open");Se.set(r,"hidden");if(t){be(r,"open","closed")}var u=Ie.get(r);if(u){Ie.delete(r);if(e){u.focus()}}}function Ve(r,e,t){if(e===void 0){e=false}if(t===void 0){t=false}var n=Le(r);while(n){Ne(n,e,t);n=Le(r)}}function $e(r,e,t){if(e===void 0){e=false}if(t===void 0){t=false}var n=Ce(r);while(n){Ne(n,e,t);n=Ce(r)}}function Ge(r,e,t,n){var i=false;var o=false;while(i||!o){o=true;var a=null;var s=false;for(var u=0,f=e;u<f.length;u++){var c=f[u];if(c===r){s=true}else if(s){a=c;break}}if(!a)return;while(Ae(a)==="showing"&&e.size){Ne(Ee(e),t,n)}if(e.has(r)&&Ee(e)!==r){i=true}if(i){n=false}}}function Ke(r,e,t){var n,i;var o=r.ownerDocument||r;if(r instanceof Document){return Ve(o,e,t)}if((n=ke.get(o))===null||n===void 0?void 0:n.has(r)){Ge(r,ke.get(o),e,t);return}$e(ke.get(o)||new Set,e,t);if(!((i=_e.get(o))===null||i===void 0?void 0:i.has(r))){return}Ge(r,_e.get(o),e,t)}var Qe=new WeakMap;function Ye(r){if(!r.isTrusted)return;var e=r.composedPath()[0];if(!e)return;var t=e.ownerDocument;var n=Le(t);if(!n)return;var i=He(e);if(i&&r.type==="pointerdown"){Qe.set(t,i)}else if(r.type==="pointerup"){var o=Qe.get(t)===i;Qe.delete(t);if(o){Ke(i||t,false,true)}}}var Ze=new WeakMap;function Je(r,e){if(e===void 0){e=false}if(!r)return;if(!Ze.has(r)){Ze.set(r,r.getAttribute("aria-expanded"))}var t=r.popoverTargetElement;if(t instanceof HTMLElement&&t.popover==="auto"){r.setAttribute("aria-expanded",String(e))}else{var n=Ze.get(r);if(!n){r.removeAttribute("aria-expanded")}else{r.setAttribute("aria-expanded",n)}}}var Ue=globalThis.ShadowRoot||function(){};function Xe(){return typeof HTMLElement!=="undefined"&&typeof HTMLElement.prototype==="object"&&"popover"in HTMLElement.prototype}function rt(r,e,t){var n=r[e];Object.defineProperty(r,e,{value:function(r){return n.call(this,t(r))}})}var et=/(^|[^\\]):popover-open\b/g;function tt(){return typeof globalThis.CSSLayerBlockRule==="function"}function nt(){var r=tt();return"\n".concat(r?"@layer popover-polyfill {":"","\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n\n :where(dialog[popover].\\:popover-open) {\n display: block;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n").concat(r?"}":"","\n")}var it=null;function ot(r){var e=nt();if(it===null){try{it=new CSSStyleSheet;it.replaceSync(e)}catch(r){it=false}}if(it===false){var t=document.createElement("style");t.textContent=e;if(r instanceof Document){r.head.prepend(t)}else{r.prepend(t)}}else{r.adoptedStyleSheets=__spreadArray([it],r.adoptedStyleSheets,true)}}function at(){if(typeof window==="undefined")return;window.ToggleEvent=window.ToggleEvent||ge;function r(r){if(r===null||r===void 0?void 0:r.includes(":popover-open")){r=r.replace(et,"$1.\\:popover-open")}return r}rt(Document.prototype,"querySelector",r);rt(Document.prototype,"querySelectorAll",r);rt(Element.prototype,"querySelector",r);rt(Element.prototype,"querySelectorAll",r);rt(Element.prototype,"matches",r);rt(Element.prototype,"closest",r);rt(DocumentFragment.prototype,"querySelectorAll",r);Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:true,configurable:true,get:function(){if(!this.hasAttribute("popover"))return null;var r=(this.getAttribute("popover")||"").toLowerCase();if(r===""||r=="auto")return"auto";if(r=="hint")return"hint";return"manual"},set:function(r){if(r===null){this.removeAttribute("popover")}else{this.setAttribute("popover",r)}}},showPopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}qe(this)}},hidePopover:{enumerable:true,configurable:true,value:function(){Ne(this,true,true)}},togglePopover:{enumerable:true,configurable:true,value:function(r){if(r===void 0){r={}}if(typeof r==="boolean"){r={force:r}}if(Se.get(this)==="showing"&&r.force===void 0||r.force===false){Ne(this,true,true)}else if(r.force===void 0||r.force===true){qe(this)}return Se.get(this)==="showing"}}});var e=Element.prototype.attachShadow;if(e){Object.defineProperties(Element.prototype,{attachShadow:{enumerable:true,configurable:true,writable:true,value:function(r){var t=e.call(this,r);ot(t);return t}}})}var t=HTMLElement.prototype.attachInternals;if(t){Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:true,configurable:true,writable:true,value:function(){var r=t.call(this);if(r.shadowRoot){ot(r.shadowRoot)}return r}}})}var n=new WeakMap;function i(r){Object.defineProperties(r.prototype,{popoverTargetElement:{enumerable:true,configurable:true,set:function(r){if(r===null){this.removeAttribute("popovertarget");n.delete(this)}else if(!(r instanceof Element)){throw new TypeError("popoverTargetElement must be an element or null")}else{this.setAttribute("popovertarget","");n.set(this,r)}},get:function(){if(this.localName!=="button"&&this.localName!=="input"){return null}if(this.localName==="input"&&this.type!=="reset"&&this.type!=="image"&&this.type!=="button"){return null}if(this.disabled){return null}if(this.form&&this.type==="submit"){return null}var r=n.get(this);if(r&&r.isConnected){return r}else if(r&&!r.isConnected){n.delete(this);return null}var e=Re(this);var t=this.getAttribute("popovertarget");if((e instanceof Document||e instanceof Ue)&&t){return e.getElementById(t)||null}return null}},popoverTargetAction:{enumerable:true,configurable:true,get:function(){var r=(this.getAttribute("popovertargetaction")||"").toLowerCase();if(r==="show"||r==="hide")return r;return"toggle"},set:function(r){this.setAttribute("popovertargetaction",r)}}})}i(HTMLButtonElement);i(HTMLInputElement);var o=function(r){var e=r.composedPath();var t=e[0];if(!(t instanceof Element)||(t===null||t===void 0?void 0:t.shadowRoot)){return}var n=Re(t);if(!(n instanceof Ue||n instanceof Document)){return}var i=e.find((function(r){var e;return(e=r.matches)===null||e===void 0?void 0:e.call(r,"[popovertargetaction],[popovertarget]")}));if(i){Oe(i);r.preventDefault();return}};var a=function(r){var e=r.key;var t=r.target;if(!r.defaultPrevented&&t&&(e==="Escape"||e==="Esc")){Ke(t.ownerDocument,true,true)}};var s=function(r){r.addEventListener("click",o);r.addEventListener("keydown",a);r.addEventListener("pointerdown",Ye);r.addEventListener("pointerup",Ye)};s(document);ot(document)}var st=Symbol("Clipping Rect Cache");var ut=__assign(__assign({},re),{getClippingRect:ft});function ft(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(i){switch(i.label){case 0:e=r[0].element;t=this[st].get(e);if(t)return[2,t];return[4,re.getClippingRect.apply(this,r)];case 1:n=i.sent();ct(n,e);this[st].set(e,n);return[2,n]}}))}))}function ct(r,e){var t=e.ownerDocument.querySelector("post-header");if(t===null)return;var n=e;while(!_r(n)){n=Ar(n);if(!cr(n))continue;if(dr(n)||n===t)return}var i=t.getBoundingClientRect();var o=Math.max(r.y,i.bottom);r.height-=o-r.y;r.y=o}var pt=function(r,e,t){var n;t!==null&&t!==void 0?t:t={};return ve(r,e,__assign(__assign({},t),{platform:__assign(__assign(__assign({},ut),t.platform),(n={},n[st]=new Map,n))}))};var vt=function(){return'@layer polyfill{@supports not selector(:popover-open){:host([popover]:not(.\\:popover-open)){display:none}}}:host{background-color:rgba(0,0,0,0);border:rgba(0,0,0,0);position:fixed;margin:0;padding:0;overflow:visible}:host>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;color:var(--post-current-fg);background-color:var(--post-current-bg);border-radius:4px;position:relative}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host>div{border:2px solid rgba(0,0,0,0)}}:host [part=post-popovercontainer-border-mask]{display:none;position:absolute;inset:0;border-radius:4px;pointer-events:none}:host .arrow{--post-popovercontainer-arrow-border: var(--post-popovercontainer-arrow-border-width, 0px) solid var(--post-popovercontainer-arrow-border-color, transparent);position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}:host .arrow[dynamic-placement=top]{border-bottom-right-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=right]{border-bottom-left-radius:2px;border-bottom:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=bottom]{border-top-left-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-left:var(--post-popovercontainer-arrow-border)}:host .arrow[dynamic-placement=left]{border-top-right-radius:2px;border-top:var(--post-popovercontainer-arrow-border);border-right:var(--post-popovercontainer-arrow-border)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .arrow[dynamic-placement=top]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);bottom:-0.3796735336rem !important}:host .arrow[dynamic-placement=left]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-end:2px solid rgba(0,0,0,0);border-inline-end:2px solid rgba(0,0,0,0);right:-0.3796735336rem !important}:host .arrow[dynamic-placement=right]{-webkit-border-after:2px solid rgba(0,0,0,0);border-block-end:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);left:-0.3796735336rem !important}:host .arrow[dynamic-placement=bottom]{-webkit-border-before:2px solid rgba(0,0,0,0);border-block-start:2px solid rgba(0,0,0,0);-webkit-border-start:2px solid rgba(0,0,0,0);border-inline-start:2px solid rgba(0,0,0,0);top:-0.3796735336rem !important}}:host([tooltip]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}:host([safe-space])::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:auto}:host([safe-space=triangle])::after{-webkit-clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)));clip-path:polygon(var(--post-safe-space-cursor-x, 0) var(--post-safe-space-cursor-y, 0), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)))}:host([safe-space=trapezoid])::after{-webkit-clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)));clip-path:polygon(var(--post-safe-space-trigger-x-start, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-start, 0)), var(--post-safe-space-trigger-x-end, var(--post-safe-space-trigger-x, 0)) var(--post-safe-space-trigger-y, var(--post-safe-space-trigger-y-end, 0)), var(--post-safe-space-popover-x-end, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-end, 0)), var(--post-safe-space-popover-x-start, var(--post-safe-space-popover-x, 0)) var(--post-safe-space-popover-y, var(--post-safe-space-popover-y-start, 0)))}:host(:not(:has(.arrow)))>div{-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}:host(:has(.arrow))>div{-webkit-filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(1px 2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(2px 4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(4px 8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=top]))>div{-webkit-filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(0px -2px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(0px -4px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(0px -8px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=left]))>div{-webkit-filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(-2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(-4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(-8px 0px 12px hsla(225, 7%, 11%, 0.15))}:host(:has(.arrow[dynamic-placement=right]))>div{-webkit-filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15));filter:drop-shadow(2px 0px 3px hsla(216, 9%, 11%, 0.15)) drop-shadow(4px 0px 6px hsla(225, 17%, 9%, 0.15)) drop-shadow(8px 0px 12px hsla(225, 7%, 11%, 0.15))}'};var lt=undefined&&undefined.__decorate||function(r,e,t,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(r,e,t,n);else for(var s=r.length-1;s>=0;s--)if(a=r[s])o=(i<3?a(o):i>3?a(e,t,o):a(e,t))||o;return i>3&&o&&Object.defineProperty(e,t,o),o};var dt={"pop-in":he};var ht=r("post_popovercontainer",(p=function(){function r(r){e(this,r);this.postBeforeShow=t(this,"postBeforeShow");this.postShow=t(this,"postShow");this.postHide=t(this,"postHide");this.postBeforeToggle=t(this,"postBeforeToggle");this.postToggle=t(this,"postToggle");this.toggleTimeoutId=null;this.hasOpenedOnce=true;this.placement="top";this.edgeGap=8;this.arrow=false;this.animation="pop-in";this.currentAnimation=null;this.boundMouseTrackingHandler=this.mouseTrackingHandler.bind(this)}r.prototype.mouseTrackingHandler=function(r){this.host.style.setProperty("--post-safe-space-cursor-x","".concat(r.clientX,"px"));this.host.style.setProperty("--post-safe-space-cursor-y","".concat(r.clientY,"px"))};r.prototype.connectedCallback=function(){if(!Xe()){at()}};r.prototype.componentDidLoad=function(){this.host.addEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.disconnectedCallback=function(){if(typeof this.clearAutoUpdate==="function"){this.clearAutoUpdate()}this.host.removeEventListener("beforetoggle",this.handleToggle.bind(this))};r.prototype.show=function(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.toggleTimeoutId||!r)return[2];this.eventTarget=r;this.updatePosition();this.host.showPopover();return[2]}))}))};r.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!this.toggleTimeoutId){this.eventTarget=null;this.host.hidePopover();this.postHide.emit()}return[2]}))}))};r.prototype.toggle=function(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){t=this.host.matches(":where(:popover-open, .popover-open)");n=e===true||e===undefined&&!t;if(n&&!r)return[2,t];this.eventTarget=r;if(!this.toggleTimeoutId){this.updatePosition();this.host.togglePopover(e);this.toggleTimeoutId=null}return[2,this.host.matches(":where(:popover-open, .popover-open)")]}))}))};r.prototype.open=function(){var r;var e=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".popover-content");this.startAutoupdates();if(e){var t=dt[this.animation];if(typeof t==="function"){this.runOpenAnimation(t,e)}else{this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});if(this.hasOpenedOnce)this.hasOpenedOnce=false}}if(this.safeSpace){globalThis.addEventListener("mousemove",this.boundMouseTrackingHandler)}};r.prototype.close=function(){if(typeof this.clearAutoUpdate==="function"){this.clearAutoUpdate()}if(this.safeSpace){globalThis.removeEventListener("mousemove",this.boundMouseTrackingHandler)}if(this.currentAnimation){this.currentAnimation.cancel();this.currentAnimation=null}this.postBeforeToggle.emit({willOpen:false});this.postToggle.emit({isOpen:false});this.postHide.emit()};r.prototype.runOpenAnimation=function(r,e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,3,4]);t=r(e);if(!t){this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});return[2]}this.currentAnimation=t;if(t.playState==="running"){this.postBeforeToggle.emit({willOpen:true});this.postBeforeShow.emit({first:this.hasOpenedOnce})}return[4,t.finished];case 1:i.sent();this.postToggle.emit({isOpen:true});this.postShow.emit({first:this.hasOpenedOnce});this.hasOpenedOnce=true;return[3,4];case 2:n=i.sent();console.warn("Animation failed or was interrupted:",n);this.postBeforeToggle.emit({willOpen:false});this.postBeforeShow.emit({first:this.hasOpenedOnce});this.postToggle.emit({isOpen:false});return[3,4];case 3:if(this.currentAnimation===t){this.currentAnimation=null}return[7];case 4:return[2]}}))}))};r.prototype.handleToggle=function(r){var e=this;this.toggleTimeoutId=globalThis.setTimeout((function(){return e.toggleTimeoutId=null}),10);var t=r.newState==="open";if(t){this.open()}else{this.close()}};r.prototype.startAutoupdates=function(){if(!this.eventTarget||!this.host)return;this.clearAutoUpdate=ne(this.eventTarget,this.host,this.updatePosition.bind(this))};r.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,t,n,i,o,a,s,u,f,c,p;var v;var l;return __generator(this,(function(d){switch(d.label){case 0:return[4,this.calculatePosition()];case 1:r=d.sent(),e=r.x,t=r.y,n=r.middlewareData,i=r.placement;if((l=n.hide)===null||l===void 0?void 0:l.referenceHidden){this.host.hidePopover()}o=i.split("-")[0];this.dynamicPlacement=o;this.host.style.left="".concat(e,"px");this.host.style.top="".concat(t,"px");if(this.arrow&&n.arrow){a=n.arrow,s=a.x,u=a.y;f=ht.STATIC_SIDES[o];c=this.arrowRef.offsetWidth;p=-.5*c;if(f){Object.assign(this.arrowRef.style,(v={left:s?"".concat(s,"px"):"",top:u?"".concat(u,"px"):""},v[f]="".concat(p,"px"),v))}}if(!(this.safeSpace&&this.eventTarget))return[3,3];return[4,this.updateSafeSpaceBoundaries(o)];case 2:d.sent();d.label=3;case 3:return[2]}}))}))};r.prototype.calculatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,t,n,i;var o;return __generator(this,(function(a){r=this.edgeGap;e=(this.placement||"top").includes("-");t=[ae({elementContext:"reference",crossAxis:false}),ae({elementContext:"floating",crossAxis:false})];n=oe({padding:r,limiter:pe({offset:32})});i=__spreadArray(__spreadArray([ie((o=this.offset)!==null&&o!==void 0?o:this.arrow?r+4:r),ce()],e?__spreadArray(__spreadArray([],t,true),[n],false):__spreadArray([n],t,true),true),[se({apply:function(e){var t=e.availableWidth,n=e.elements;Object.assign(n.floating.style,{maxWidth:"".concat(t-r*2,"px")})}})],false);if(this.arrow){i.push(fe({element:this.arrowRef,padding:r}))}if(this.autoHide){i.push(ue({strategy:"referenceHidden"}))}return[2,pt(this.eventTarget,this.host,{placement:this.placement||"top",strategy:"fixed",middleware:i})]}))}))};r.prototype.updateSafeSpaceBoundaries=function(r){return __awaiter(this,void 0,void 0,(function(){var e,t,n,i,o;var a=this;return __generator(this,(function(s){e=this.eventTarget.getBoundingClientRect();t=this.host.getBoundingClientRect();n=r==="top"||r==="bottom";i=function(r,e,t){if(r==="top"||r==="bottom"){return{popover:{y:r==="top"?e.bottom:e.top,xStart:e.left,xEnd:e.right},trigger:{y:r==="top"?t.top:t.bottom,xStart:t.left,xEnd:t.right}}}else{return{popover:{x:r==="left"?e.right:e.left,yStart:e.top,yEnd:e.bottom},trigger:{x:r==="left"?t.left:t.right,yStart:t.top,yEnd:t.bottom}}}};o=i(r,t,e);ht.PROPERTIES_TO_CLEAR.forEach((function(r){a.host.style.removeProperty(r)}));if(n){this.host.style.setProperty("--post-safe-space-popover-y","".concat(o.popover.y,"px"));this.host.style.setProperty("--post-safe-space-popover-x-start","".concat(o.popover.xStart,"px"));this.host.style.setProperty("--post-safe-space-popover-x-end","".concat(o.popover.xEnd,"px"));this.host.style.setProperty("--post-safe-space-trigger-y","".concat(o.trigger.y,"px"));this.host.style.setProperty("--post-safe-space-trigger-x-start","".concat(o.trigger.xStart,"px"));this.host.style.setProperty("--post-safe-space-trigger-x-end","".concat(o.trigger.xEnd,"px"))}else{this.host.style.setProperty("--post-safe-space-popover-x","".concat(o.popover.x,"px"));this.host.style.setProperty("--post-safe-space-popover-y-start","".concat(o.popover.yStart,"px"));this.host.style.setProperty("--post-safe-space-popover-y-end","".concat(o.popover.yEnd,"px"));this.host.style.setProperty("--post-safe-space-trigger-x","".concat(o.trigger.x,"px"));this.host.style.setProperty("--post-safe-space-trigger-y-start","".concat(o.trigger.yStart,"px"));this.host.style.setProperty("--post-safe-space-trigger-y-end","".concat(o.trigger.yEnd,"px"))}return[2]}))}))};r.prototype.render=function(){var r=this;return n(i,{key:"f3ea4bfc9a59faa2fbf1e413a1ec648f598a6779","data-version":a,popover:"auto"},n("div",{key:"a328c73c7e08eca1e423fcbe736798188cca2a87",part:"post-popovercontainer-content",class:"popover-content"},this.arrow&&n("span",{key:"8fad0095fb8d8c903ba84a639b4efc3e321c6aef","dynamic-placement":this.dynamicPlacement,class:"arrow",ref:function(e){r.arrowRef=e}}),n("span",{key:"deadbcc5892ed545a64b4a0e5e0936e0dd1feb70",part:"post-popovercontainer-border-mask"}),n("slot",{key:"48c4db7ab222f3ef18157ce19d8ba15d75441f98"})))};Object.defineProperty(r.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return r}(),function(){p.STATIC_SIDES={top:"bottom",right:"left",bottom:"top",left:"right"}}(),function(){p.PROPERTIES_TO_CLEAR=["--post-safe-space-popover-x","--post-safe-space-popover-y","--post-safe-space-popover-x-start","--post-safe-space-popover-x-end","--post-safe-space-popover-y-start","--post-safe-space-popover-y-end","--post-safe-space-trigger-x","--post-safe-space-trigger-y","--post-safe-space-trigger-x-start","--post-safe-space-trigger-x-end","--post-safe-space-trigger-y-start","--post-safe-space-trigger-y-end"]}(),p));lt([s(u)],ht.prototype,"placement",void 0);lt([f("number")],ht.prototype,"edgeGap",void 0);lt([s(["triangle","trapezoid"])],ht.prototype,"safeSpace",void 0);ht.style=vt()}}}));
@@ -1 +1 @@
1
- System.register(["./p-CN_0KCBp.system.js","./p-D_rLPX5e.system.js","./p-a2b_YLeP.system.js","./p-Bwi1IyPf.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-uEVdce-r.system.js","./p-CiwQnVr3.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(e){"use strict";var t,r,o,i,n,s,a,c,u,l,d,g,p;return{setters:[function(e){t=e.r;r=e.c;o=e.h;i=e.H;n=e.g},function(e){s=e.v},function(e){a=e.S},function(e){c=e.n},function(e){u=e.R},function(e){l=e.T},function(e){d=e.P},function(e){g=e.O},function(e){p=e.E},null],execute:function(){var m=function(){return":host{display:-ms-flexbox;display:flex}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.post-language-menu-dropdown-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.post-language-menu-trigger{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:-ms-flexbox;display:flex;padding:4px 10px;gap:6px;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);text-transform:uppercase;line-height:inherit;cursor:pointer}.post-language-menu-trigger:not(:disabled):hover{text-decoration:none}.post-language-menu-trigger:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.post-language-menu-trigger{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-language-menu-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger{border-width:1px !important;-webkit-transition:none;transition:none}.post-language-menu-trigger:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.post-language-menu-trigger:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}.post-language-menu-trigger post-icon{-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true]) post-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.post-language-menu-list{display:-ms-flexbox;display:flex;gap:8px;margin-top:16px}"};var h=undefined&&undefined.__decorate||function(e,t,r,o){var i=arguments.length,n=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])n=(i<3?s(n):i>3?s(t,r,n):s(t,r))||n;return i>3&&n&&Object.defineProperty(t,r,n),n};var b=e("post_language_menu",function(){function e(e){t(this,e);this.postChange=r(this,"postChange");this.menuId="p".concat(c(11));this.listSpanId="list-span-".concat(c(11));this.variant="menu"}Object.defineProperty(e.prototype,"languageOptions",{get:function(){return Array.from(this.host.querySelectorAll("post-language-menu-item"))},enumerable:false,configurable:true});e.prototype.handleVariantChange=function(){this.updateChildrenVariant()};Object.defineProperty(e.prototype,"description",{get:function(){var e=this.activeLang&&document.querySelector('post-language-menu-item[code="'.concat(this.activeLang,'"]'));if(!e)return undefined;return this.textCurrentLanguage.replaceAll("{name}",e.name).replaceAll("#name",e.name)},enumerable:false,configurable:true});e.prototype.componentDidLoad=function(){this.updateChildrenVariant()};e.prototype.handlePostChange=function(e){var t=this;this.activeLang=e.detail;this.languageOptions.forEach((function(e){if(e.code&&e.code===t.activeLang){e.setAttribute("active","")}else{e.removeAttribute("active")}}));if(this.variant==="menu"){var r=this.host.shadowRoot.querySelector("post-menu");r.hide()}};e.prototype.hideMenuOnScroll=function(){if(this.menu)this.menu.hide()};e.prototype.handleInitiallyActive=function(e){this.activeLang=e.detail};e.prototype.updateChildrenVariant=function(){var e=this;this.languageOptions.forEach((function(t){t.setAttribute("variant",e.variant)}))};e.prototype.renderList=function(){return o(i,{"data-version":s},o("div",{class:"post-language-menu-list",role:"list","aria-label":this.textChangeLanguage,"aria-describedby":this.listSpanId},o("span",{id:this.listSpanId,class:"visually-hidden"},this.description),o("slot",null)))};e.prototype.renderDropdown=function(){var e=this;return o(i,{"data-version":s},o("post-menu-trigger",{for:this.menuId},o("button",{class:"post-language-menu-trigger"},this.activeLang,o("span",{class:"visually-hidden"},this.textChangeLanguage),o("span",{class:"visually-hidden"},this.description),o("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),o("post-menu",{ref:function(t){return e.menu=t},id:this.menuId,class:"post-language-menu-dropdown-container",label:this.textChangeLanguage,placement:"bottom-end"},o("slot",null)))};e.prototype.render=function(){return this.variant==="list"?this.renderList():this.renderDropdown()};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{variant:[{handleVariantChange:0}]}},enumerable:false,configurable:true});return e}());h([u(),l("string")],b.prototype,"textChangeLanguage",void 0);h([u(),d(/(\{name\}|#name)/)],b.prototype,"textCurrentLanguage",void 0);h([g(a)],b.prototype,"variant",void 0);h([p("post-language-menu-item")],b.prototype,"handlePostChange",null);b.style=m()}}}));
1
+ System.register(["./p-CN_0KCBp.system.js","./p-DHWj-DKi.system.js","./p-a2b_YLeP.system.js","./p-Bwi1IyPf.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-uEVdce-r.system.js","./p-CiwQnVr3.system.js","./p-iSGRM5O1.system.js","./p-DaxAbTyB.system.js"],(function(e){"use strict";var t,r,o,i,n,s,a,c,u,l,d,g,p;return{setters:[function(e){t=e.r;r=e.c;o=e.h;i=e.H;n=e.g},function(e){s=e.v},function(e){a=e.S},function(e){c=e.n},function(e){u=e.R},function(e){l=e.T},function(e){d=e.P},function(e){g=e.O},function(e){p=e.E},null],execute:function(){var m=function(){return":host{display:-ms-flexbox;display:flex}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.post-language-menu-dropdown-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.post-language-menu-trigger{display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;border:unset;font-weight:unset;display:-ms-flexbox;display:flex;padding:4px 10px;gap:6px;font-size:1rem;border-color:var(--post-scheme-color-interactive-button-tertiary-enabled-stroke);color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-enabled-bg);text-transform:uppercase;line-height:inherit;cursor:pointer}.post-language-menu-trigger:not(:disabled):hover{text-decoration:none}.post-language-menu-trigger:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.post-language-menu-trigger{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.post-language-menu-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.post-language-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.post-language-menu-trigger{border-width:1px !important;-webkit-transition:none;transition:none}.post-language-menu-trigger:is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}.post-language-menu-trigger:hover{border-color:var(--post-scheme-color-interactive-button-tertiary-hover-stroke);color:var(--post-scheme-color-interactive-button-tertiary-hover-fg);background-color:var(--post-scheme-color-interactive-button-tertiary-hover-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active){-webkit-box-shadow:var(--post-device-elevation-100);box-shadow:var(--post-device-elevation-100);border-color:var(--post-scheme-color-interactive-button-primary-enabled-stroke);color:var(--post-scheme-color-interactive-button-primary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-primary-enabled-bg)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true],.active):hover{border-color:var(--post-scheme-color-interactive-button-primary-hover-stroke);color:var(--post-scheme-color-interactive-button-primary-hover-fg);background-color:var(--post-scheme-color-interactive-button-primary-hover-bg)}.post-language-menu-trigger post-icon{-webkit-transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.post-language-menu-trigger:is([aria-current],[aria-pressed=true],[aria-expanded=true]) post-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.post-language-menu-list{display:-ms-flexbox;display:flex;gap:8px;margin-top:16px}"};var h=undefined&&undefined.__decorate||function(e,t,r,o){var i=arguments.length,n=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])n=(i<3?s(n):i>3?s(t,r,n):s(t,r))||n;return i>3&&n&&Object.defineProperty(t,r,n),n};var b=e("post_language_menu",function(){function e(e){t(this,e);this.postChange=r(this,"postChange");this.menuId="p".concat(c(11));this.listSpanId="list-span-".concat(c(11));this.variant="menu"}Object.defineProperty(e.prototype,"languageOptions",{get:function(){return Array.from(this.host.querySelectorAll("post-language-menu-item"))},enumerable:false,configurable:true});e.prototype.handleVariantChange=function(){this.updateChildrenVariant()};Object.defineProperty(e.prototype,"description",{get:function(){var e=this.activeLang&&document.querySelector('post-language-menu-item[code="'.concat(this.activeLang,'"]'));if(!e)return undefined;return this.textCurrentLanguage.replaceAll("{name}",e.name).replaceAll("#name",e.name)},enumerable:false,configurable:true});e.prototype.componentDidLoad=function(){this.updateChildrenVariant()};e.prototype.handlePostChange=function(e){var t=this;this.activeLang=e.detail;this.languageOptions.forEach((function(e){if(e.code&&e.code===t.activeLang){e.setAttribute("active","")}else{e.removeAttribute("active")}}));if(this.variant==="menu"){var r=this.host.shadowRoot.querySelector("post-menu");r.hide()}};e.prototype.hideMenuOnScroll=function(){if(this.menu)this.menu.hide()};e.prototype.handleInitiallyActive=function(e){this.activeLang=e.detail};e.prototype.updateChildrenVariant=function(){var e=this;this.languageOptions.forEach((function(t){t.setAttribute("variant",e.variant)}))};e.prototype.renderList=function(){return o(i,{"data-version":s},o("div",{class:"post-language-menu-list",role:"list","aria-label":this.textChangeLanguage,"aria-describedby":this.listSpanId},o("span",{id:this.listSpanId,class:"visually-hidden"},this.description),o("slot",null)))};e.prototype.renderDropdown=function(){var e=this;return o(i,{"data-version":s},o("post-menu-trigger",{for:this.menuId},o("button",{class:"post-language-menu-trigger"},this.activeLang,o("span",{class:"visually-hidden"},this.textChangeLanguage),o("span",{class:"visually-hidden"},this.description),o("post-icon",{"aria-hidden":"true",name:"chevrondown"}))),o("post-menu",{ref:function(t){return e.menu=t},id:this.menuId,class:"post-language-menu-dropdown-container",label:this.textChangeLanguage,placement:"bottom-end"},o("slot",null)))};e.prototype.render=function(){return this.variant==="list"?this.renderList():this.renderDropdown()};Object.defineProperty(e.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{variant:[{handleVariantChange:0}]}},enumerable:false,configurable:true});return e}());h([u(),l("string")],b.prototype,"textChangeLanguage",void 0);h([u(),d(/(\{name\}|#name)/)],b.prototype,"textCurrentLanguage",void 0);h([g(a)],b.prototype,"variant",void 0);h([p("post-language-menu-item")],b.prototype,"handlePostChange",null);b.style=m()}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function a(t){try{c(n["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):s(t.value).then(o,a)}c((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,s,r,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=a(0),o["throw"]=a(1),o["return"]=a(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(i){return c([t,i])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(e=0)),e)try{if(n=1,s&&(r=a[0]&2?s["return"]:a[0]?s["throw"]||((r=s["return"])&&r.call(s),0):s.next)&&!(r=r.call(s,a[1])).done)return r;if(s=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;s=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];s=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-D_rLPX5e.system.js","./p-DIiKaF8J.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var i,e,n,s,r,o,a,c,u;return{setters:[function(t){i=t.r;e=t.c;n=t.h;s=t.H;r=t.g},function(t){o=t.v},function(t){a=t.d},function(t){c=t.R},function(t){u=t.T},null],execute:function(){var f=function(){return":host{position:relative;display:block}.autocomplete-icon,.autocomplete-clear{position:absolute;inset-block-start:16px}@media screen and (min-width: 780px){.autocomplete-icon,.autocomplete-clear{inset-block-start:20px}}.autocomplete-icon{inset-inline-end:16px;width:24px;height:24px;pointer-events:none;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out}:host([open]) .autocomplete-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.autocomplete-clear{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;inset-inline-end:42px;background:none;border:none;cursor:pointer}.autocomplete-clear>post-icon{width:20px;height:20px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}"};var h=undefined&&undefined.__decorate||function(t,i,e,n){var s=arguments.length,r=s<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(t,i,e,n);else for(var a=t.length-1;a>=0;a--)if(o=t[a])r=(s<3?o(r):s>3?o(i,e,r):o(i,e))||r;return s>3&&r&&Object.defineProperty(i,e,r),r};var l=t("post_autocomplete",function(){function t(t){var n=this;i(this,t);this.postFilteringEvent=e(this,"postFilteringEvent");this.debouncedHandleInput=a((function(t){void n.handleInput(t)}),250);this.filterThreshold=0;this.clearable=false;this.expanded=false;this.lastQuery="";this.selectedValue=null;this.handleClick=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runQuery("",true)];case 1:t.sent();return[2]}}))}))};this.handleBlur=function(){n.restoreSelectedValue();n.hideListBox()};this.handleInput=function(t){return __awaiter(n,void 0,void 0,(function(){var i;return __generator(this,(function(e){switch(e.label){case 0:if(!this.listBoxElement)return[2];i=t.target.value.trim();return[4,this.runQuery(i.length>=this.filterThreshold?i:"")];case 1:e.sent();return[2]}}))}))};this.handleKeyDown=function(t){var i=t.key,e=t.altKey;switch(i){case"ArrowDown":t.preventDefault();n.showListBox();if(!e){n.listBoxElement.navigate("down")}break;case"ArrowUp":t.preventDefault();n.listBoxElement.navigate("up");break;case"Enter":if(n.listBoxElement.hidden)return;t.preventDefault();n.listBoxElement.selectActive();n.hideListBox();break;case"Escape":n.hideListBox();break;case"Tab":n.listBoxElement.selectActive();n.hideListBox();break;case"Home":t.preventDefault();n.listBoxElement.navigate("first");break;case"End":t.preventDefault();n.listBoxElement.navigate("last");break}};this.handleOptionSelected=function(t){var i=t.detail;n.updateSelectedValue(i);n.hideListBox()};this.handleOptionActive=function(t){var i=t.detail;if(i){n.inputElement.setAttribute("aria-activedescendant",i)}else{n.inputElement.removeAttribute("aria-activedescendant")}};this.handleClear=function(){if(n.inputElement){n.updateSelectedValue(null);n.listBoxElement.clearSelection();n.hideListBox()}}}Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.host.querySelector("input")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"listBoxElement",{get:function(){if(this.listbox){return document.getElementById(this.listbox)}else{return this.host.querySelector("post-listbox")}},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){var t;if(!this.inputElement)return;this.inputElement.role="combobox";this.inputElement.ariaAutoComplete="list";if(!this.listBoxElement)return;if(!this.listBoxElement.id)this.listBoxElement.id=crypto.randomUUID();this.inputElement.setAttribute("aria-controls",this.listBoxElement.id);this.inputElement.setAttribute("aria-expanded","false");var i=(t=this.inputElement.labels)===null||t===void 0?void 0:t[0];if(i){if(!i.id)i.id=crypto.randomUUID();this.listBoxElement.setAttribute("aria-labelledby",i.id)}this.inputElement.autocomplete="off";this.attachInputListeners();this.attachListboxListeners()};t.prototype.disconnectedCallback=function(){this.detachInputListeners();this.detachListboxListeners()};t.prototype.attachInputListeners=function(){if(this.inputElement){this.inputElement.addEventListener("input",this.debouncedHandleInput);this.inputElement.addEventListener("keydown",this.handleKeyDown);this.inputElement.addEventListener("blur",this.handleBlur);this.inputElement.addEventListener("click",this.handleClick)}};t.prototype.detachInputListeners=function(){if(this.inputElement){this.inputElement.removeEventListener("input",this.debouncedHandleInput);this.inputElement.removeEventListener("keydown",this.handleKeyDown);this.inputElement.removeEventListener("blur",this.handleBlur);this.inputElement.removeEventListener("click",this.handleClick)}};t.prototype.attachListboxListeners=function(){if(this.listBoxElement){this.listBoxElement.addEventListener("postOptionSelected",this.handleOptionSelected);this.listBoxElement.addEventListener("postOptionActive",this.handleOptionActive)}};t.prototype.detachListboxListeners=function(){if(this.listBoxElement){this.listBoxElement.removeEventListener("postOptionSelected",this.handleOptionSelected);this.listBoxElement.removeEventListener("postOptionActive",this.handleOptionActive)}};t.prototype.clearAnnouncement=function(){if(this.outputElement)this.outputElement.textContent=""};t.prototype.announceCount=function(){if(!this.outputElement||!this.listBoxElement)return;var t=this.listBoxElement.querySelectorAll("post-listbox-option:not([hidden])").length;this.outputElement.textContent=this.textAvailableSuggestions.replace("{count}",String(t))};t.prototype.showListBox=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.listBoxElement.show()];case 1:t.sent();this.expanded=true;this.inputElement.ariaExpanded="true";this.host.setAttribute("open","");this.announceCount();return[2]}}))}))};t.prototype.hideListBox=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.clearAnnouncement();this.expanded=false;this.host.removeAttribute("open");this.inputElement.ariaExpanded="false";this.inputElement.removeAttribute("aria-activedescendant");return[4,this.listBoxElement.hide()];case 1:t.sent();return[2]}}))}))};t.prototype.updateSelectedValue=function(t){var i;this.selectedValue=t;this.inputElement.value=(i=this.selectedValue)!==null&&i!==void 0?i:""};t.prototype.restoreSelectedValue=function(){var t;this.inputElement.value=(t=this.selectedValue)!==null&&t!==void 0?t:""};t.prototype.runQuery=function(t){return __awaiter(this,arguments,void 0,(function(t,i){if(i===void 0){i=false}return __generator(this,(function(e){switch(e.label){case 0:if(!(this.lastQuery!==(this.lastQuery=t)))return[3,2];return[4,this.filterListBox(t)];case 1:e.sent();e.label=2;case 2:if(!this.expanded)return[3,3];this.announceCount();return[3,5];case 3:if(!(i||t))return[3,5];return[4,this.showListBox()];case 4:e.sent();e.label=5;case 5:return[2]}}))}))};t.prototype.filterListBox=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){switch(e.label){case 0:if(this.postFilteringEvent.emit(t).defaultPrevented)return[2];return[4,(i=this.listBoxElement)===null||i===void 0?void 0:i.filter(t)];case 1:e.sent();return[2]}}))}))};t.prototype.render=function(){var t=this;return n(s,{key:"8b386930fe5484cd73395224b5f0c5daea867b33","data-version":o},n("slot",{key:"9aa5a34de2cf18c3d6342069fc2b4ce52baac0d3"}),this.clearable&&this.selectedValue!==null&&n("button",{key:"90b459fffc29066667ca4656b6871275d061d3fd",type:"button",class:"autocomplete-clear",onClick:this.handleClear},n("post-icon",{key:"419de2b608f1638b14aed086f8e2c6064ae634bc","aria-hidden":"true",name:"closex"})),n("post-icon",{key:"56b7dd986023a0e46d902020b923ae525c88bef1","aria-hidden":"true",class:"autocomplete-icon",name:"chevronDown"}),n("output",{key:"6ef02d0baf03c7f562ba6d5c95918e4a7ae1214f",class:"visually-hidden",ref:function(i){return t.outputElement=i}}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h([c(),u("string")],l.prototype,"textAvailableSuggestions",void 0);l.style=f()}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function a(t){try{c(n["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):s(t.value).then(o,a)}c((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,s,r,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=a(0),o["throw"]=a(1),o["return"]=a(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(i){return c([t,i])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(e=0)),e)try{if(n=1,s&&(r=a[0]&2?s["return"]:a[0]?s["throw"]||((r=s["return"])&&r.call(s),0):s.next)&&!(r=r.call(s,a[1])).done)return r;if(s=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;s=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){e.label=a[1];break}if(a[0]===6&&e.label<r[1]){e.label=r[1];r=a;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(a);break}if(r[2])e.ops.pop();e.trys.pop();continue}a=i.call(t,e)}catch(t){a=[6,t];s=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-CN_0KCBp.system.js","./p-DHWj-DKi.system.js","./p-DIiKaF8J.system.js","./p-D4wq7hIE.system.js","./p-BMZcKRx0.system.js","./p-DaxAbTyB.system.js"],(function(t){"use strict";var i,e,n,s,r,o,a,c,u;return{setters:[function(t){i=t.r;e=t.c;n=t.h;s=t.H;r=t.g},function(t){o=t.v},function(t){a=t.d},function(t){c=t.R},function(t){u=t.T},null],execute:function(){var f=function(){return":host{position:relative;display:block}.autocomplete-icon,.autocomplete-clear{position:absolute;inset-block-start:16px}@media screen and (min-width: 780px){.autocomplete-icon,.autocomplete-clear{inset-block-start:20px}}.autocomplete-icon{inset-inline-end:16px;width:24px;height:24px;pointer-events:none;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out, -webkit-transform .2s ease-in-out}:host([open]) .autocomplete-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.autocomplete-clear{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;inset-inline-end:42px;background:none;border:none;cursor:pointer}.autocomplete-clear>post-icon{width:20px;height:20px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}"};var h=undefined&&undefined.__decorate||function(t,i,e,n){var s=arguments.length,r=s<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(t,i,e,n);else for(var a=t.length-1;a>=0;a--)if(o=t[a])r=(s<3?o(r):s>3?o(i,e,r):o(i,e))||r;return s>3&&r&&Object.defineProperty(i,e,r),r};var l=t("post_autocomplete",function(){function t(t){var n=this;i(this,t);this.postFilteringEvent=e(this,"postFilteringEvent");this.debouncedHandleInput=a((function(t){void n.handleInput(t)}),250);this.filterThreshold=0;this.clearable=false;this.expanded=false;this.lastQuery="";this.selectedValue=null;this.handleClick=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.runQuery("",true)];case 1:t.sent();return[2]}}))}))};this.handleBlur=function(){n.restoreSelectedValue();n.hideListBox()};this.handleInput=function(t){return __awaiter(n,void 0,void 0,(function(){var i;return __generator(this,(function(e){switch(e.label){case 0:if(!this.listBoxElement)return[2];i=t.target.value.trim();return[4,this.runQuery(i.length>=this.filterThreshold?i:"")];case 1:e.sent();return[2]}}))}))};this.handleKeyDown=function(t){var i=t.key,e=t.altKey;switch(i){case"ArrowDown":t.preventDefault();n.showListBox();if(!e){n.listBoxElement.navigate("down")}break;case"ArrowUp":t.preventDefault();n.listBoxElement.navigate("up");break;case"Enter":if(n.listBoxElement.hidden)return;t.preventDefault();n.listBoxElement.selectActive();n.hideListBox();break;case"Escape":n.hideListBox();break;case"Tab":n.listBoxElement.selectActive();n.hideListBox();break;case"Home":t.preventDefault();n.listBoxElement.navigate("first");break;case"End":t.preventDefault();n.listBoxElement.navigate("last");break}};this.handleOptionSelected=function(t){var i=t.detail;n.updateSelectedValue(i);n.hideListBox()};this.handleOptionActive=function(t){var i=t.detail;if(i){n.inputElement.setAttribute("aria-activedescendant",i)}else{n.inputElement.removeAttribute("aria-activedescendant")}};this.handleClear=function(){if(n.inputElement){n.updateSelectedValue(null);n.listBoxElement.clearSelection();n.hideListBox()}}}Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.host.querySelector("input")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"listBoxElement",{get:function(){if(this.listbox){return document.getElementById(this.listbox)}else{return this.host.querySelector("post-listbox")}},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){var t;if(!this.inputElement)return;this.inputElement.role="combobox";this.inputElement.ariaAutoComplete="list";if(!this.listBoxElement)return;if(!this.listBoxElement.id)this.listBoxElement.id=crypto.randomUUID();this.inputElement.setAttribute("aria-controls",this.listBoxElement.id);this.inputElement.setAttribute("aria-expanded","false");var i=(t=this.inputElement.labels)===null||t===void 0?void 0:t[0];if(i){if(!i.id)i.id=crypto.randomUUID();this.listBoxElement.setAttribute("aria-labelledby",i.id)}this.inputElement.autocomplete="off";this.attachInputListeners();this.attachListboxListeners()};t.prototype.disconnectedCallback=function(){this.detachInputListeners();this.detachListboxListeners()};t.prototype.attachInputListeners=function(){if(this.inputElement){this.inputElement.addEventListener("input",this.debouncedHandleInput);this.inputElement.addEventListener("keydown",this.handleKeyDown);this.inputElement.addEventListener("blur",this.handleBlur);this.inputElement.addEventListener("click",this.handleClick)}};t.prototype.detachInputListeners=function(){if(this.inputElement){this.inputElement.removeEventListener("input",this.debouncedHandleInput);this.inputElement.removeEventListener("keydown",this.handleKeyDown);this.inputElement.removeEventListener("blur",this.handleBlur);this.inputElement.removeEventListener("click",this.handleClick)}};t.prototype.attachListboxListeners=function(){if(this.listBoxElement){this.listBoxElement.addEventListener("postOptionSelected",this.handleOptionSelected);this.listBoxElement.addEventListener("postOptionActive",this.handleOptionActive)}};t.prototype.detachListboxListeners=function(){if(this.listBoxElement){this.listBoxElement.removeEventListener("postOptionSelected",this.handleOptionSelected);this.listBoxElement.removeEventListener("postOptionActive",this.handleOptionActive)}};t.prototype.clearAnnouncement=function(){if(this.outputElement)this.outputElement.textContent=""};t.prototype.announceCount=function(){if(!this.outputElement||!this.listBoxElement)return;var t=this.listBoxElement.querySelectorAll("post-listbox-option:not([hidden])").length;this.outputElement.textContent=this.textAvailableSuggestions.replace("{count}",String(t))};t.prototype.showListBox=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.listBoxElement.show()];case 1:t.sent();this.expanded=true;this.inputElement.ariaExpanded="true";this.host.setAttribute("open","");this.announceCount();return[2]}}))}))};t.prototype.hideListBox=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:this.clearAnnouncement();this.expanded=false;this.host.removeAttribute("open");this.inputElement.ariaExpanded="false";this.inputElement.removeAttribute("aria-activedescendant");return[4,this.listBoxElement.hide()];case 1:t.sent();return[2]}}))}))};t.prototype.updateSelectedValue=function(t){var i;this.selectedValue=t;this.inputElement.value=(i=this.selectedValue)!==null&&i!==void 0?i:""};t.prototype.restoreSelectedValue=function(){var t;this.inputElement.value=(t=this.selectedValue)!==null&&t!==void 0?t:""};t.prototype.runQuery=function(t){return __awaiter(this,arguments,void 0,(function(t,i){if(i===void 0){i=false}return __generator(this,(function(e){switch(e.label){case 0:if(!(this.lastQuery!==(this.lastQuery=t)))return[3,2];return[4,this.filterListBox(t)];case 1:e.sent();e.label=2;case 2:if(!this.expanded)return[3,3];this.announceCount();return[3,5];case 3:if(!(i||t))return[3,5];return[4,this.showListBox()];case 4:e.sent();e.label=5;case 5:return[2]}}))}))};t.prototype.filterListBox=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){switch(e.label){case 0:if(this.postFilteringEvent.emit(t).defaultPrevented)return[2];return[4,(i=this.listBoxElement)===null||i===void 0?void 0:i.filter(t)];case 1:e.sent();return[2]}}))}))};t.prototype.render=function(){var t=this;return n(s,{key:"8b386930fe5484cd73395224b5f0c5daea867b33","data-version":o},n("slot",{key:"9aa5a34de2cf18c3d6342069fc2b4ce52baac0d3"}),this.clearable&&this.selectedValue!==null&&n("button",{key:"90b459fffc29066667ca4656b6871275d061d3fd",type:"button",class:"autocomplete-clear",onClick:this.handleClear},n("post-icon",{key:"419de2b608f1638b14aed086f8e2c6064ae634bc","aria-hidden":"true",name:"closex"})),n("post-icon",{key:"56b7dd986023a0e46d902020b923ae525c88bef1","aria-hidden":"true",class:"autocomplete-icon",name:"chevronDown"}),n("output",{key:"6ef02d0baf03c7f562ba6d5c95918e4a7ae1214f",class:"visually-hidden",ref:function(i){return t.outputElement=i}}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h([c(),u("string")],l.prototype,"textAvailableSuggestions",void 0);l.style=f()}}}));