@openeuropa/bcl-theme-default 0.28.1 → 1.0.2

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 (540) hide show
  1. package/css/oe-bcl-default.css +153 -149
  2. package/css/oe-bcl-default.css.map +1 -1
  3. package/css/oe-bcl-default.min.css +1 -1
  4. package/css/oe-bcl-default.min.css.map +1 -1
  5. package/icons/bcl-default-icons.svg +1 -1
  6. package/icons/bootstrap-icons.svg +1 -1
  7. package/icons/icons-flag.svg +1 -1
  8. package/js/oe-bcl-default.bundle.js +1031 -1748
  9. package/js/oe-bcl-default.bundle.js.map +1 -1
  10. package/js/oe-bcl-default.bundle.min.js +1 -1
  11. package/js/oe-bcl-default.bundle.min.js.map +1 -1
  12. package/js/oe-bcl-default.esm.js +909 -1447
  13. package/js/oe-bcl-default.esm.js.map +1 -1
  14. package/js/oe-bcl-default.esm.min.js +1 -1
  15. package/js/oe-bcl-default.esm.min.js.map +1 -1
  16. package/js/oe-bcl-default.umd.js +1052 -1796
  17. package/js/oe-bcl-default.umd.js.map +1 -1
  18. package/js/oe-bcl-default.umd.min.js +1 -1
  19. package/js/oe-bcl-default.umd.min.js.map +1 -1
  20. package/logos/ec/logo-ec--mute.svg +220 -45
  21. package/logos/ec/negative/logo-ec--ar.svg +388 -67
  22. package/logos/ec/negative/logo-ec--bg.svg +247 -58
  23. package/logos/ec/negative/logo-ec--ca.svg +403 -69
  24. package/logos/ec/negative/logo-ec--cs.svg +423 -67
  25. package/logos/ec/negative/logo-ec--da.svg +453 -72
  26. package/logos/ec/negative/logo-ec--de.svg +465 -74
  27. package/logos/ec/negative/logo-ec--el.svg +441 -70
  28. package/logos/ec/negative/logo-ec--en.svg +447 -71
  29. package/logos/ec/negative/logo-ec--es.svg +429 -68
  30. package/logos/ec/negative/logo-ec--et.svg +429 -68
  31. package/logos/ec/negative/logo-ec--fi.svg +435 -69
  32. package/logos/ec/negative/logo-ec--fr.svg +459 -73
  33. package/logos/ec/negative/logo-ec--ga.svg +447 -71
  34. package/logos/ec/negative/logo-ec--hr.svg +435 -69
  35. package/logos/ec/negative/logo-ec--hu.svg +245 -57
  36. package/logos/ec/negative/logo-ec--is.svg +475 -87
  37. package/logos/ec/negative/logo-ec--it.svg +462 -73
  38. package/logos/ec/negative/logo-ec--jp.svg +348 -57
  39. package/logos/ec/negative/logo-ec--lb.svg +427 -75
  40. package/logos/ec/negative/logo-ec--lt.svg +429 -68
  41. package/logos/ec/negative/logo-ec--lv.svg +429 -68
  42. package/logos/ec/negative/logo-ec--mt.svg +480 -76
  43. package/logos/ec/negative/logo-ec--nl.svg +441 -70
  44. package/logos/ec/negative/logo-ec--no.svg +411 -71
  45. package/logos/ec/negative/logo-ec--pl.svg +441 -70
  46. package/logos/ec/negative/logo-ec--pt.svg +245 -57
  47. package/logos/ec/negative/logo-ec--ro.svg +456 -72
  48. package/logos/ec/negative/logo-ec--ru.svg +419 -73
  49. package/logos/ec/negative/logo-ec--sk.svg +429 -68
  50. package/logos/ec/negative/logo-ec--sl.svg +435 -69
  51. package/logos/ec/negative/logo-ec--sv.svg +471 -75
  52. package/logos/ec/negative/logo-ec--sw.svg +521 -101
  53. package/logos/ec/negative/logo-ec--tr.svg +403 -69
  54. package/logos/ec/negative/logo-ec--uk.svg +415 -72
  55. package/logos/ec/negative/logo-ec--zh.svg +348 -57
  56. package/logos/ec/positive/logo-ec--ar.svg +382 -66
  57. package/logos/ec/positive/logo-ec--bg.svg +363 -122
  58. package/logos/ec/positive/logo-ec--ca.svg +397 -68
  59. package/logos/ec/positive/logo-ec--cs.svg +321 -109
  60. package/logos/ec/positive/logo-ec--da.svg +346 -119
  61. package/logos/ec/positive/logo-ec--de.svg +357 -119
  62. package/logos/ec/positive/logo-ec--el.svg +336 -115
  63. package/logos/ec/positive/logo-ec--en.svg +341 -117
  64. package/logos/ec/positive/logo-ec--es.svg +326 -111
  65. package/logos/ec/positive/logo-ec--et.svg +326 -111
  66. package/logos/ec/positive/logo-ec--fi.svg +331 -113
  67. package/logos/ec/positive/logo-ec--fr.svg +233 -1
  68. package/logos/ec/positive/logo-ec--ga.svg +341 -117
  69. package/logos/ec/positive/logo-ec--hr.svg +331 -113
  70. package/logos/ec/positive/logo-ec--hu.svg +330 -113
  71. package/logos/ec/positive/logo-ec--is.svg +469 -86
  72. package/logos/ec/positive/logo-ec--it.svg +341 -117
  73. package/logos/ec/positive/logo-ec--jp.svg +357 -58
  74. package/logos/ec/positive/logo-ec--lb.svg +421 -74
  75. package/logos/ec/positive/logo-ec--lt.svg +326 -111
  76. package/logos/ec/positive/logo-ec--lv.svg +326 -111
  77. package/logos/ec/positive/logo-ec--mt.svg +353 -122
  78. package/logos/ec/positive/logo-ec--nl.svg +336 -115
  79. package/logos/ec/positive/logo-ec--no.svg +405 -70
  80. package/logos/ec/positive/logo-ec--pl.svg +336 -115
  81. package/logos/ec/positive/logo-ec--pt.svg +331 -113
  82. package/logos/ec/positive/logo-ec--ro.svg +331 -113
  83. package/logos/ec/positive/logo-ec--ru.svg +413 -72
  84. package/logos/ec/positive/logo-ec--sk.svg +328 -113
  85. package/logos/ec/positive/logo-ec--sl.svg +331 -113
  86. package/logos/ec/positive/logo-ec--sv.svg +361 -125
  87. package/logos/ec/positive/logo-ec--sw.svg +366 -62
  88. package/logos/ec/positive/logo-ec--tr.svg +397 -68
  89. package/logos/ec/positive/logo-ec--uk.svg +409 -71
  90. package/logos/ec/positive/logo-ec--zh.svg +357 -58
  91. package/logos/eu/condensed-version/negative/logo-eu--ar.svg +72 -17
  92. package/logos/eu/condensed-version/negative/logo-eu--bg.svg +32 -6
  93. package/logos/eu/condensed-version/negative/logo-eu--ca.svg +28 -6
  94. package/logos/eu/condensed-version/negative/logo-eu--cs.svg +32 -6
  95. package/logos/eu/condensed-version/negative/logo-eu--da.svg +32 -6
  96. package/logos/eu/condensed-version/negative/logo-eu--de.svg +32 -6
  97. package/logos/eu/condensed-version/negative/logo-eu--el.svg +32 -6
  98. package/logos/eu/condensed-version/negative/logo-eu--en.svg +32 -6
  99. package/logos/eu/condensed-version/negative/logo-eu--es.svg +32 -6
  100. package/logos/eu/condensed-version/negative/logo-eu--et.svg +32 -6
  101. package/logos/eu/condensed-version/negative/logo-eu--fi.svg +32 -6
  102. package/logos/eu/condensed-version/negative/logo-eu--fr.svg +32 -6
  103. package/logos/eu/condensed-version/negative/logo-eu--ga.svg +32 -6
  104. package/logos/eu/condensed-version/negative/logo-eu--hr.svg +32 -6
  105. package/logos/eu/condensed-version/negative/logo-eu--hu.svg +32 -6
  106. package/logos/eu/condensed-version/negative/logo-eu--is.svg +32 -7
  107. package/logos/eu/condensed-version/negative/logo-eu--it.svg +32 -6
  108. package/logos/eu/condensed-version/negative/logo-eu--jp.svg +37 -6
  109. package/logos/eu/condensed-version/negative/logo-eu--lb.svg +37 -6
  110. package/logos/eu/condensed-version/negative/logo-eu--lt.svg +32 -6
  111. package/logos/eu/condensed-version/negative/logo-eu--lv.svg +32 -6
  112. package/logos/eu/condensed-version/negative/logo-eu--mt.svg +32 -6
  113. package/logos/eu/condensed-version/negative/logo-eu--nl.svg +32 -6
  114. package/logos/eu/condensed-version/negative/logo-eu--no.svg +28 -6
  115. package/logos/eu/condensed-version/negative/logo-eu--pl.svg +32 -6
  116. package/logos/eu/condensed-version/negative/logo-eu--pt.svg +32 -6
  117. package/logos/eu/condensed-version/negative/logo-eu--ro.svg +32 -6
  118. package/logos/eu/condensed-version/negative/logo-eu--ru.svg +37 -6
  119. package/logos/eu/condensed-version/negative/logo-eu--sk.svg +32 -6
  120. package/logos/eu/condensed-version/negative/logo-eu--sl.svg +32 -6
  121. package/logos/eu/condensed-version/negative/logo-eu--sv.svg +32 -6
  122. package/logos/eu/condensed-version/negative/logo-eu--sw.svg +32 -6
  123. package/logos/eu/condensed-version/negative/logo-eu--tr.svg +28 -6
  124. package/logos/eu/condensed-version/negative/logo-eu--uk.svg +37 -6
  125. package/logos/eu/condensed-version/negative/logo-eu--zh.svg +28 -6
  126. package/logos/eu/condensed-version/positive/logo-eu--ar.svg +79 -18
  127. package/logos/eu/condensed-version/positive/logo-eu--bg.svg +45 -9
  128. package/logos/eu/condensed-version/positive/logo-eu--ca.svg +28 -5
  129. package/logos/eu/condensed-version/positive/logo-eu--cs.svg +45 -9
  130. package/logos/eu/condensed-version/positive/logo-eu--da.svg +45 -9
  131. package/logos/eu/condensed-version/positive/logo-eu--de.svg +45 -9
  132. package/logos/eu/condensed-version/positive/logo-eu--el.svg +45 -9
  133. package/logos/eu/condensed-version/positive/logo-eu--en.svg +45 -9
  134. package/logos/eu/condensed-version/positive/logo-eu--es.svg +45 -9
  135. package/logos/eu/condensed-version/positive/logo-eu--et.svg +40 -8
  136. package/logos/eu/condensed-version/positive/logo-eu--fi.svg +45 -9
  137. package/logos/eu/condensed-version/positive/logo-eu--fr.svg +40 -8
  138. package/logos/eu/condensed-version/positive/logo-eu--ga.svg +40 -8
  139. package/logos/eu/condensed-version/positive/logo-eu--hr.svg +40 -8
  140. package/logos/eu/condensed-version/positive/logo-eu--hu.svg +40 -8
  141. package/logos/eu/condensed-version/positive/logo-eu--is.svg +32 -6
  142. package/logos/eu/condensed-version/positive/logo-eu--it.svg +40 -8
  143. package/logos/eu/condensed-version/positive/logo-eu--jp.svg +22 -5
  144. package/logos/eu/condensed-version/positive/logo-eu--lb.svg +22 -5
  145. package/logos/eu/condensed-version/positive/logo-eu--lt.svg +40 -8
  146. package/logos/eu/condensed-version/positive/logo-eu--lv.svg +40 -8
  147. package/logos/eu/condensed-version/positive/logo-eu--mt.svg +40 -8
  148. package/logos/eu/condensed-version/positive/logo-eu--nl.svg +40 -8
  149. package/logos/eu/condensed-version/positive/logo-eu--no.svg +28 -5
  150. package/logos/eu/condensed-version/positive/logo-eu--pl.svg +40 -8
  151. package/logos/eu/condensed-version/positive/logo-eu--pt.svg +40 -8
  152. package/logos/eu/condensed-version/positive/logo-eu--ro.svg +40 -8
  153. package/logos/eu/condensed-version/positive/logo-eu--ru.svg +22 -5
  154. package/logos/eu/condensed-version/positive/logo-eu--sk.svg +44 -9
  155. package/logos/eu/condensed-version/positive/logo-eu--sl.svg +40 -8
  156. package/logos/eu/condensed-version/positive/logo-eu--sv.svg +40 -8
  157. package/logos/eu/condensed-version/positive/logo-eu--sw.svg +26 -5
  158. package/logos/eu/condensed-version/positive/logo-eu--tr.svg +28 -5
  159. package/logos/eu/condensed-version/positive/logo-eu--uk.svg +22 -5
  160. package/logos/eu/condensed-version/positive/logo-eu--zh.svg +22 -5
  161. package/logos/eu/logo-eu--mute.svg +30 -6
  162. package/logos/eu/standard-version/negative/logo-eu--ar.svg +72 -17
  163. package/logos/eu/standard-version/negative/logo-eu--bg.svg +92 -16
  164. package/logos/eu/standard-version/negative/logo-eu--ca.svg +64 -15
  165. package/logos/eu/standard-version/negative/logo-eu--cs.svg +92 -16
  166. package/logos/eu/standard-version/negative/logo-eu--da.svg +128 -22
  167. package/logos/eu/standard-version/negative/logo-eu--de.svg +116 -20
  168. package/logos/eu/standard-version/negative/logo-eu--el.svg +104 -18
  169. package/logos/eu/standard-version/negative/logo-eu--en.svg +84 -17
  170. package/logos/eu/standard-version/negative/logo-eu--es.svg +92 -16
  171. package/logos/eu/standard-version/negative/logo-eu--et.svg +86 -15
  172. package/logos/eu/standard-version/negative/logo-eu--fi.svg +104 -18
  173. package/logos/eu/standard-version/negative/logo-eu--fr.svg +110 -19
  174. package/logos/eu/standard-version/negative/logo-eu--ga.svg +106 -20
  175. package/logos/eu/standard-version/negative/logo-eu--hr.svg +98 -17
  176. package/logos/eu/standard-version/negative/logo-eu--hu.svg +86 -15
  177. package/logos/eu/standard-version/negative/logo-eu--is.svg +80 -19
  178. package/logos/eu/standard-version/negative/logo-eu--it.svg +98 -17
  179. package/logos/eu/standard-version/negative/logo-eu--jp.svg +36 -8
  180. package/logos/eu/standard-version/negative/logo-eu--lb.svg +84 -20
  181. package/logos/eu/standard-version/negative/logo-eu--lt.svg +104 -18
  182. package/logos/eu/standard-version/negative/logo-eu--lv.svg +116 -20
  183. package/logos/eu/standard-version/negative/logo-eu--mt.svg +104 -18
  184. package/logos/eu/standard-version/negative/logo-eu--nl.svg +92 -16
  185. package/logos/eu/standard-version/negative/logo-eu--no.svg +80 -19
  186. package/logos/eu/standard-version/negative/logo-eu--pl.svg +104 -18
  187. package/logos/eu/standard-version/negative/logo-eu--pt.svg +98 -17
  188. package/logos/eu/standard-version/negative/logo-eu--ro.svg +116 -20
  189. package/logos/eu/standard-version/negative/logo-eu--ru.svg +80 -19
  190. package/logos/eu/standard-version/negative/logo-eu--sk.svg +92 -16
  191. package/logos/eu/standard-version/negative/logo-eu--sl.svg +98 -17
  192. package/logos/eu/standard-version/negative/logo-eu--sv.svg +122 -21
  193. package/logos/eu/standard-version/negative/logo-eu--sw.svg +65 -16
  194. package/logos/eu/standard-version/negative/logo-eu--tr.svg +69 -17
  195. package/logos/eu/standard-version/negative/logo-eu--uk.svg +84 -20
  196. package/logos/eu/standard-version/negative/logo-eu--zh.svg +36 -8
  197. package/logos/eu/standard-version/positive/logo-eu--ar.svg +76 -17
  198. package/logos/eu/standard-version/positive/logo-eu--bg.svg +98 -22
  199. package/logos/eu/standard-version/positive/logo-eu--ca.svg +64 -14
  200. package/logos/eu/standard-version/positive/logo-eu--cs.svg +90 -20
  201. package/logos/eu/standard-version/positive/logo-eu--da.svg +114 -26
  202. package/logos/eu/standard-version/positive/logo-eu--de.svg +106 -24
  203. package/logos/eu/standard-version/positive/logo-eu--el.svg +98 -22
  204. package/logos/eu/standard-version/positive/logo-eu--en.svg +96 -21
  205. package/logos/eu/standard-version/positive/logo-eu--es.svg +90 -20
  206. package/logos/eu/standard-version/positive/logo-eu--et.svg +86 -19
  207. package/logos/eu/standard-version/positive/logo-eu--fi.svg +98 -22
  208. package/logos/eu/standard-version/positive/logo-eu--fr.svg +102 -23
  209. package/logos/eu/standard-version/positive/logo-eu--ga.svg +108 -24
  210. package/logos/eu/standard-version/positive/logo-eu--hr.svg +94 -21
  211. package/logos/eu/standard-version/positive/logo-eu--hu.svg +86 -19
  212. package/logos/eu/standard-version/positive/logo-eu--is.svg +80 -18
  213. package/logos/eu/standard-version/positive/logo-eu--it.svg +94 -21
  214. package/logos/eu/standard-version/positive/logo-eu--jp.svg +30 -7
  215. package/logos/eu/standard-version/positive/logo-eu--lb.svg +78 -19
  216. package/logos/eu/standard-version/positive/logo-eu--lt.svg +98 -22
  217. package/logos/eu/standard-version/positive/logo-eu--lv.svg +106 -24
  218. package/logos/eu/standard-version/positive/logo-eu--mt.svg +99 -22
  219. package/logos/eu/standard-version/positive/logo-eu--nl.svg +90 -20
  220. package/logos/eu/standard-version/positive/logo-eu--no.svg +80 -18
  221. package/logos/eu/standard-version/positive/logo-eu--pl.svg +98 -22
  222. package/logos/eu/standard-version/positive/logo-eu--pt.svg +94 -21
  223. package/logos/eu/standard-version/positive/logo-eu--ro.svg +106 -24
  224. package/logos/eu/standard-version/positive/logo-eu--ru.svg +74 -18
  225. package/logos/eu/standard-version/positive/logo-eu--sk.svg +90 -20
  226. package/logos/eu/standard-version/positive/logo-eu--sl.svg +94 -21
  227. package/logos/eu/standard-version/positive/logo-eu--sv.svg +110 -25
  228. package/logos/eu/standard-version/positive/logo-eu--sw.svg +59 -15
  229. package/logos/eu/standard-version/positive/logo-eu--tr.svg +69 -16
  230. package/logos/eu/standard-version/positive/logo-eu--uk.svg +78 -19
  231. package/logos/eu/standard-version/positive/logo-eu--zh.svg +30 -7
  232. package/package.json +8 -8
  233. package/src/js/index.esm.js +3 -1
  234. package/src/js/index.umd.js +3 -1
  235. package/templates/bcl-accordion/accordion.html.twig +1 -1
  236. package/templates/bcl-badge/badge.html.twig +29 -28
  237. package/templates/bcl-banner/banner.html.twig +4 -4
  238. package/templates/bcl-base-templates/content-type.html.twig +5 -5
  239. package/templates/bcl-breadcrumb/breadcrumb.html.twig +1 -1
  240. package/templates/bcl-button/button.html.twig +6 -6
  241. package/templates/bcl-button-group/button-group.html.twig +3 -3
  242. package/templates/bcl-card/card.html.twig +3 -4
  243. package/templates/bcl-card-layout/card-layout.html.twig +2 -2
  244. package/templates/bcl-carousel/carousel.html.twig +7 -10
  245. package/templates/bcl-content-banner/content-banner.html.twig +23 -8
  246. package/templates/bcl-description-list/description-list.html.twig +4 -5
  247. package/templates/bcl-dropdown/dropdown.html.twig +7 -7
  248. package/templates/bcl-fact-figures/fact-figures.html.twig +3 -3
  249. package/templates/bcl-featured-media/featured-media.html.twig +16 -16
  250. package/templates/bcl-file/file-translations.html.twig +1 -1
  251. package/templates/bcl-file/file.html.twig +2 -2
  252. package/templates/bcl-footer/footer.html.twig +3 -2
  253. package/templates/bcl-form/form.html.twig +2 -2
  254. package/templates/bcl-form-input/form-input.html.twig +12 -12
  255. package/templates/bcl-gallery/gallery-item.html.twig +7 -6
  256. package/templates/bcl-gallery/gallery.html.twig +120 -79
  257. package/templates/bcl-header/header.html.twig +3 -2
  258. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +3 -5
  259. package/templates/bcl-language-list/language-list.html.twig +2 -2
  260. package/templates/bcl-language-switcher/language-switcher.html.twig +3 -3
  261. package/templates/bcl-link/link.html.twig +3 -3
  262. package/templates/bcl-links-block/links-block.html.twig +1 -1
  263. package/templates/bcl-list-group/list-group.html.twig +3 -3
  264. package/templates/bcl-listing/listing.html.twig +1 -1
  265. package/templates/bcl-modal/modal.html.twig +4 -4
  266. package/templates/bcl-navbar/navbar.html.twig +1 -1
  267. package/templates/bcl-navigation/navigation.html.twig +10 -10
  268. package/templates/bcl-offcanvas/offcanvas.html.twig +2 -2
  269. package/templates/bcl-pagination/pagination-item.html.twig +43 -36
  270. package/templates/bcl-pagination/pagination.html.twig +103 -223
  271. package/templates/bcl-progress/progress.html.twig +3 -3
  272. package/templates/bcl-project/project.html.twig +14 -29
  273. package/templates/bcl-project-status/project-contributions.html.twig +2 -2
  274. package/templates/bcl-project-status/project-status.html.twig +3 -4
  275. package/templates/bcl-recent-activities/recent-activities.html.twig +1 -1
  276. package/templates/bcl-search-form/search-form.html.twig +1 -1
  277. package/templates/bcl-select/select.html.twig +22 -8
  278. package/templates/bcl-subscription/subscription-modal.html.twig +1 -1
  279. package/templates/bcl-table/table.html.twig +8 -8
  280. package/templates/bcl-textarea/textarea.html.twig +8 -8
  281. package/templates/bcl-timeline/timeline.html.twig +2 -2
  282. package/templates/bcl-toast/toasts.html.twig +4 -4
  283. package/templates/bcl-user/user-compact.html.twig +1 -1
  284. package/icons/world-flags/ad.svg +0 -154
  285. package/icons/world-flags/ae.svg +0 -6
  286. package/icons/world-flags/af.svg +0 -1
  287. package/icons/world-flags/ag.svg +0 -1
  288. package/icons/world-flags/ai.svg +0 -1
  289. package/icons/world-flags/al.svg +0 -1
  290. package/icons/world-flags/am.svg +0 -5
  291. package/icons/world-flags/an.svg +0 -24
  292. package/icons/world-flags/ao.svg +0 -1
  293. package/icons/world-flags/aq.svg +0 -1
  294. package/icons/world-flags/ar.svg +0 -33
  295. package/icons/world-flags/as.svg +0 -1
  296. package/icons/world-flags/at.svg +0 -4
  297. package/icons/world-flags/au.svg +0 -1
  298. package/icons/world-flags/aw.svg +0 -1
  299. package/icons/world-flags/ax.svg +0 -11
  300. package/icons/world-flags/az.svg +0 -8
  301. package/icons/world-flags/ba.svg +0 -11
  302. package/icons/world-flags/bb.svg +0 -7
  303. package/icons/world-flags/bd.svg +0 -4
  304. package/icons/world-flags/be.svg +0 -5
  305. package/icons/world-flags/bf.svg +0 -14
  306. package/icons/world-flags/bg.svg +0 -5
  307. package/icons/world-flags/bh.svg +0 -1
  308. package/icons/world-flags/bi.svg +0 -26
  309. package/icons/world-flags/bj.svg +0 -5
  310. package/icons/world-flags/bl.svg +0 -160
  311. package/icons/world-flags/bm.svg +0 -1
  312. package/icons/world-flags/bn.svg +0 -58
  313. package/icons/world-flags/bo.svg +0 -1
  314. package/icons/world-flags/bq.svg +0 -5
  315. package/icons/world-flags/br.svg +0 -89
  316. package/icons/world-flags/bs.svg +0 -5
  317. package/icons/world-flags/bt.svg +0 -466
  318. package/icons/world-flags/bv.svg +0 -7
  319. package/icons/world-flags/bw.svg +0 -5
  320. package/icons/world-flags/by.svg +0 -14
  321. package/icons/world-flags/bz.svg +0 -1
  322. package/icons/world-flags/ca.svg +0 -1
  323. package/icons/world-flags/cc.svg +0 -19
  324. package/icons/world-flags/cd.svg +0 -5
  325. package/icons/world-flags/cf.svg +0 -8
  326. package/icons/world-flags/cg.svg +0 -5
  327. package/icons/world-flags/ch.svg +0 -5
  328. package/icons/world-flags/ci.svg +0 -5
  329. package/icons/world-flags/ck.svg +0 -1
  330. package/icons/world-flags/cl.svg +0 -14
  331. package/icons/world-flags/cm.svg +0 -15
  332. package/icons/world-flags/cn.svg +0 -11
  333. package/icons/world-flags/co.svg +0 -5
  334. package/icons/world-flags/cr.svg +0 -1
  335. package/icons/world-flags/cu.svg +0 -6
  336. package/icons/world-flags/cv.svg +0 -24
  337. package/icons/world-flags/cw.svg +0 -16
  338. package/icons/world-flags/cx.svg +0 -15
  339. package/icons/world-flags/cy.svg +0 -1
  340. package/icons/world-flags/cz.svg +0 -5
  341. package/icons/world-flags/de.svg +0 -6
  342. package/icons/world-flags/dj.svg +0 -6
  343. package/icons/world-flags/dk.svg +0 -5
  344. package/icons/world-flags/dm.svg +0 -1
  345. package/icons/world-flags/do.svg +0 -1
  346. package/icons/world-flags/dz.svg +0 -5
  347. package/icons/world-flags/ec.svg +0 -519
  348. package/icons/world-flags/ee.svg +0 -5
  349. package/icons/world-flags/eg.svg +0 -78
  350. package/icons/world-flags/eh.svg +0 -9
  351. package/icons/world-flags/er.svg +0 -6
  352. package/icons/world-flags/es.svg +0 -1
  353. package/icons/world-flags/et.svg +0 -16
  354. package/icons/world-flags/eu.svg +0 -29
  355. package/icons/world-flags/fi.svg +0 -5
  356. package/icons/world-flags/fj.svg +0 -1
  357. package/icons/world-flags/fk.svg +0 -1
  358. package/icons/world-flags/fm.svg +0 -16
  359. package/icons/world-flags/fo.svg +0 -11
  360. package/icons/world-flags/fr.svg +0 -1
  361. package/icons/world-flags/ga.svg +0 -5
  362. package/icons/world-flags/gb-eng.svg +0 -7
  363. package/icons/world-flags/gb-nir.svg +0 -1
  364. package/icons/world-flags/gb-sct.svg +0 -1
  365. package/icons/world-flags/gb-wls.svg +0 -9
  366. package/icons/world-flags/gb.svg +0 -1
  367. package/icons/world-flags/gd.svg +0 -27
  368. package/icons/world-flags/ge.svg +0 -17
  369. package/icons/world-flags/gf.svg +0 -5
  370. package/icons/world-flags/gg.svg +0 -8
  371. package/icons/world-flags/gh.svg +0 -6
  372. package/icons/world-flags/gi.svg +0 -54
  373. package/icons/world-flags/gl.svg +0 -4
  374. package/icons/world-flags/gm.svg +0 -7
  375. package/icons/world-flags/gn.svg +0 -5
  376. package/icons/world-flags/gp.svg +0 -5
  377. package/icons/world-flags/gq.svg +0 -75
  378. package/icons/world-flags/gr.svg +0 -4
  379. package/icons/world-flags/gs.svg +0 -1
  380. package/icons/world-flags/gt.svg +0 -214
  381. package/icons/world-flags/gu.svg +0 -1
  382. package/icons/world-flags/gw.svg +0 -13
  383. package/icons/world-flags/gy.svg +0 -7
  384. package/icons/world-flags/hk.svg +0 -12
  385. package/icons/world-flags/hm.svg +0 -1
  386. package/icons/world-flags/hn.svg +0 -18
  387. package/icons/world-flags/hr.svg +0 -240
  388. package/icons/world-flags/ht.svg +0 -196
  389. package/icons/world-flags/hu.svg +0 -5
  390. package/icons/world-flags/id.svg +0 -4
  391. package/icons/world-flags/ie.svg +0 -9
  392. package/icons/world-flags/il.svg +0 -1
  393. package/icons/world-flags/im.svg +0 -59
  394. package/icons/world-flags/in.svg +0 -25
  395. package/icons/world-flags/io.svg +0 -178
  396. package/icons/world-flags/iq.svg +0 -1
  397. package/icons/world-flags/ir.svg +0 -31
  398. package/icons/world-flags/is.svg +0 -5
  399. package/icons/world-flags/it.svg +0 -5
  400. package/icons/world-flags/je.svg +0 -49
  401. package/icons/world-flags/jm.svg +0 -4
  402. package/icons/world-flags/jo.svg +0 -7
  403. package/icons/world-flags/jp.svg +0 -4
  404. package/icons/world-flags/ke.svg +0 -23
  405. package/icons/world-flags/kg.svg +0 -1
  406. package/icons/world-flags/kh.svg +0 -116
  407. package/icons/world-flags/ki.svg +0 -1
  408. package/icons/world-flags/km.svg +0 -13
  409. package/icons/world-flags/kn.svg +0 -1
  410. package/icons/world-flags/kp.svg +0 -16
  411. package/icons/world-flags/kr.svg +0 -1
  412. package/icons/world-flags/kw.svg +0 -6
  413. package/icons/world-flags/ky.svg +0 -1
  414. package/icons/world-flags/kz.svg +0 -37
  415. package/icons/world-flags/la.svg +0 -5
  416. package/icons/world-flags/lb.svg +0 -5
  417. package/icons/world-flags/lc.svg +0 -6
  418. package/icons/world-flags/li.svg +0 -56
  419. package/icons/world-flags/lk.svg +0 -31
  420. package/icons/world-flags/lr.svg +0 -15
  421. package/icons/world-flags/ls.svg +0 -23
  422. package/icons/world-flags/lt.svg +0 -5
  423. package/icons/world-flags/lu.svg +0 -5
  424. package/icons/world-flags/lv.svg +0 -4
  425. package/icons/world-flags/ly.svg +0 -8
  426. package/icons/world-flags/ma.svg +0 -6
  427. package/icons/world-flags/mc.svg +0 -4
  428. package/icons/world-flags/md.svg +0 -140
  429. package/icons/world-flags/me.svg +0 -93
  430. package/icons/world-flags/mf.svg +0 -5
  431. package/icons/world-flags/mg.svg +0 -5
  432. package/icons/world-flags/mh.svg +0 -19
  433. package/icons/world-flags/mk.svg +0 -7
  434. package/icons/world-flags/ml.svg +0 -5
  435. package/icons/world-flags/mm.svg +0 -12
  436. package/icons/world-flags/mn.svg +0 -21
  437. package/icons/world-flags/mo.svg +0 -10
  438. package/icons/world-flags/mp.svg +0 -240
  439. package/icons/world-flags/mq.svg +0 -1
  440. package/icons/world-flags/mr.svg +0 -6
  441. package/icons/world-flags/ms.svg +0 -1
  442. package/icons/world-flags/mt.svg +0 -49
  443. package/icons/world-flags/mu.svg +0 -6
  444. package/icons/world-flags/mv.svg +0 -8
  445. package/icons/world-flags/mw.svg +0 -24
  446. package/icons/world-flags/mx.svg +0 -1
  447. package/icons/world-flags/my.svg +0 -13
  448. package/icons/world-flags/mz.svg +0 -13
  449. package/icons/world-flags/na.svg +0 -1
  450. package/icons/world-flags/nc.svg +0 -18
  451. package/icons/world-flags/ne.svg +0 -6
  452. package/icons/world-flags/nf.svg +0 -5
  453. package/icons/world-flags/ng.svg +0 -4
  454. package/icons/world-flags/ni.svg +0 -161
  455. package/icons/world-flags/nl.svg +0 -5
  456. package/icons/world-flags/no.svg +0 -7
  457. package/icons/world-flags/np.svg +0 -33
  458. package/icons/world-flags/nr.svg +0 -5
  459. package/icons/world-flags/nu.svg +0 -1
  460. package/icons/world-flags/nz.svg +0 -1
  461. package/icons/world-flags/om.svg +0 -226
  462. package/icons/world-flags/pa.svg +0 -20
  463. package/icons/world-flags/pe.svg +0 -320
  464. package/icons/world-flags/pf.svg +0 -55
  465. package/icons/world-flags/pg.svg +0 -13
  466. package/icons/world-flags/ph.svg +0 -30
  467. package/icons/world-flags/pk.svg +0 -8
  468. package/icons/world-flags/pl.svg +0 -4
  469. package/icons/world-flags/pm.svg +0 -5
  470. package/icons/world-flags/pn.svg +0 -1
  471. package/icons/world-flags/pr.svg +0 -1
  472. package/icons/world-flags/ps.svg +0 -6
  473. package/icons/world-flags/pt.svg +0 -66
  474. package/icons/world-flags/pw.svg +0 -4
  475. package/icons/world-flags/py.svg +0 -193
  476. package/icons/world-flags/qa.svg +0 -1
  477. package/icons/world-flags/re.svg +0 -5
  478. package/icons/world-flags/ro.svg +0 -5
  479. package/icons/world-flags/rs.svg +0 -294
  480. package/icons/world-flags/ru.svg +0 -5
  481. package/icons/world-flags/rw.svg +0 -13
  482. package/icons/world-flags/sa.svg +0 -4
  483. package/icons/world-flags/sb.svg +0 -23
  484. package/icons/world-flags/sc.svg +0 -7
  485. package/icons/world-flags/sd.svg +0 -6
  486. package/icons/world-flags/se.svg +0 -5
  487. package/icons/world-flags/sg.svg +0 -11
  488. package/icons/world-flags/sh.svg +0 -1
  489. package/icons/world-flags/si.svg +0 -22
  490. package/icons/world-flags/sj.svg +0 -7
  491. package/icons/world-flags/sk.svg +0 -12
  492. package/icons/world-flags/sl.svg +0 -5
  493. package/icons/world-flags/sm.svg +0 -321
  494. package/icons/world-flags/sn.svg +0 -15
  495. package/icons/world-flags/so.svg +0 -13
  496. package/icons/world-flags/sr.svg +0 -6
  497. package/icons/world-flags/ss.svg +0 -8
  498. package/icons/world-flags/st.svg +0 -16
  499. package/icons/world-flags/sv.svg +0 -1
  500. package/icons/world-flags/sx.svg +0 -94
  501. package/icons/world-flags/sy.svg +0 -17
  502. package/icons/world-flags/sz.svg +0 -1
  503. package/icons/world-flags/tc.svg +0 -1
  504. package/icons/world-flags/td.svg +0 -5
  505. package/icons/world-flags/tf.svg +0 -15
  506. package/icons/world-flags/tg.svg +0 -16
  507. package/icons/world-flags/th.svg +0 -5
  508. package/icons/world-flags/tj.svg +0 -26
  509. package/icons/world-flags/tk.svg +0 -25
  510. package/icons/world-flags/tl.svg +0 -1
  511. package/icons/world-flags/tm.svg +0 -179
  512. package/icons/world-flags/tn.svg +0 -9
  513. package/icons/world-flags/to.svg +0 -8
  514. package/icons/world-flags/tr.svg +0 -6
  515. package/icons/world-flags/tt.svg +0 -5
  516. package/icons/world-flags/tv.svg +0 -1
  517. package/icons/world-flags/tw.svg +0 -9
  518. package/icons/world-flags/tz.svg +0 -6
  519. package/icons/world-flags/ua.svg +0 -4
  520. package/icons/world-flags/ug.svg +0 -24
  521. package/icons/world-flags/um.svg +0 -25
  522. package/icons/world-flags/us.svg +0 -25
  523. package/icons/world-flags/uy.svg +0 -36
  524. package/icons/world-flags/uz.svg +0 -30
  525. package/icons/world-flags/va.svg +0 -205
  526. package/icons/world-flags/vc.svg +0 -10
  527. package/icons/world-flags/ve.svg +0 -28
  528. package/icons/world-flags/vg.svg +0 -1
  529. package/icons/world-flags/vi.svg +0 -1
  530. package/icons/world-flags/vn.svg +0 -12
  531. package/icons/world-flags/vu.svg +0 -15
  532. package/icons/world-flags/wf.svg +0 -7
  533. package/icons/world-flags/ws.svg +0 -14
  534. package/icons/world-flags/xk.svg +0 -1
  535. package/icons/world-flags/ye.svg +0 -5
  536. package/icons/world-flags/yt.svg +0 -5
  537. package/icons/world-flags/za.svg +0 -1
  538. package/icons/world-flags/zm.svg +0 -23
  539. package/icons/world-flags/zw.svg +0 -28
  540. package/templates/bcl-gallery/gallery-modal.html.twig +0 -105
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},i=e=>{const i=t(e);return i&&document.querySelector(i)?i:null},n=e=>{const i=t(e);return i?document.querySelector(i):null},s=t=>{t.dispatchEvent(new Event(e))},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),r=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=e=>{if(!o(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},h=()=>{},d=e=>{e.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=u();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},g=e=>{"function"==typeof e&&e()},_=(t,i,n=!0)=>{if(!n)return void g(t);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(e,a),g(t))};i.addEventListener(e,a),setTimeout((()=>{r||s(i)}),o)},b=(e,t,i,n)=>{const s=e.length;let o=e.indexOf(t);return-1===o?!i&&n?e[s-1]:e[0]:(o+=i?1:-1,n&&(o=(o+s)%s),e[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let A=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(e,t){return t&&`${t}::${A++}`||e.uidEvent||A++}function x(e){const t=O(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function k(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function L(e,t,i){const n="string"==typeof t,s=n?i:t||i;let o=N(e);return C.has(o)||(o=e),[n,s,o]}function S(e,t,i,n,s){if("string"!=typeof t||!e)return;let[o,r,a]=L(t,i,n);if(t in T){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r=e(r)}const l=x(e),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,t.replace(v,"")),u=o?function(e,t,i){return function n(s){const o=e.querySelectorAll(t);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return j(s,{delegateTarget:r}),n.oneOff&&P.off(e,s.type,t,i),i.apply(r,[s])}}(e,i,r):function(e,t){return function i(n){return j(n,{delegateTarget:e}),i.oneOff&&P.off(e,n.type,t),t.apply(e,[n])}}(e,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,e.addEventListener(a,u,o)}function D(e,t,i,n,s){const o=k(t[i],n,s);o&&(e.removeEventListener(i,o,Boolean(s)),delete t[i][o.uidEvent])}function I(e,t,i,n){const s=t[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(e,t,i,n.callable,n.delegationSelector)}}function N(e){return e=e.replace(y,""),T[e]||e}const P={on(e,t,i,n){S(e,t,i,n,!1)},one(e,t,i,n){S(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,o,r]=L(t,i,n),a=r!==t,l=x(e),c=l[r]||{},h=t.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))I(e,l,i,t.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||t.includes(n)){const t=c[i];D(e,l,r,t.callable,t.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(e,l,r,o,s?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=u();let s=null,o=!0,r=!0,a=!1;t!==N(t)&&n&&(s=n.Event(t,i),n(e).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(t,{bubbles:o,cancelable:!0});return l=j(l,i),a&&l.preventDefault(),r&&e.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function j(e,t){for(const[i,n]of Object.entries(t||{}))try{e[i]=n}catch{Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}const M=new Map;var H={set(e,t,i){M.has(e)||M.set(e,new Map);const n=M.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>M.has(e)&&M.get(e).get(t)||null,remove(e,t){if(!M.has(e))return;const i=M.get(e);i.delete(t),0===i.size&&M.delete(e)}};function q(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function W(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const $={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${W(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${W(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=q(e.dataset[n])}return t},getDataAttribute:(e,t)=>q(e.getAttribute(`data-bs-${W(t)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=o(t)?$.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(t)?$.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const n of Object.keys(t)){const s=t[n],r=e[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class B extends F{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){_(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return H.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const z=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;P.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[t]()}))};class V extends B{static get NAME(){return"alert"}close(){if(P.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=V.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}z(V,"close"),m(V);const R='[data-bs-toggle="button"]';class K extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=K.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}P.on(document,"click.bs.button.data-api",R,(e=>{e.preventDefault();const t=e.target.closest(R);K.getOrCreateInstance(t).toggle()})),m(K);const Q={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))}},X={endCallback:null,leftCallback:null,rightCallback:null},Y={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class U extends F{constructor(e,t){super(),this._element=e,e&&U.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return X}static get DefaultType(){return Y}static get NAME(){return"swipe"}dispose(){P.off(this._element,".bs.swipe")}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(P.on(this._element,"pointerdown.bs.swipe",(e=>this._start(e))),P.on(this._element,"pointerup.bs.swipe",(e=>this._end(e))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.swipe",(e=>this._start(e))),P.on(this._element,"touchmove.bs.swipe",(e=>this._move(e))),P.on(this._element,"touchend.bs.swipe",(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const G="next",J="prev",Z="left",ee="right",te="slid.bs.carousel",ie="carousel",ne="active",se={ArrowLeft:ee,ArrowRight:Z},oe={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},re={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ae extends B{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Q.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ie&&this.cycle()}static get Default(){return oe}static get DefaultType(){return re}static get NAME(){return"carousel"}next(){this._slide(G)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(J)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?P.one(this._element,te,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void P.one(this._element,te,(()=>this.to(e)));const i=this._getItemIndex(this._getActive());if(i===e)return;const n=e>i?G:J;this._slide(n,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),P.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&U.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of Q.find(".carousel-item img",this._element))P.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(Z)),rightCallback:()=>this._slide(this._directionToOrder(ee)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new U(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=se[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=Q.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const i=Q.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(ne),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===G,s=t||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=t=>P.trigger(this._element,t,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:o});if(r("slide.bs.carousel").defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(ne),i.classList.remove(ne,c,l),this._isSliding=!1,r(te)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Q.findOne(".active.carousel-item",this._element)}_getItems(){return Q.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===Z?J:G:e===Z?G:J}_orderToDirection(e){return p()?e===J?Z:ee:e===J?ee:Z}static jQueryInterface(e){return this.each((function(){const t=ae.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(e){const t=n(this);if(!t||!t.classList.contains(ie))return;e.preventDefault();const i=ae.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===$.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),P.on(window,"load.bs.carousel.data-api",(()=>{const e=Q.find('[data-bs-ride="carousel"]');for(const t of e)ae.getOrCreateInstance(t)})),m(ae);const le="show",ce="collapse",he="collapsing",de='[data-bs-toggle="collapse"]',ue={parent:null,toggle:!0},fe={parent:"(null|element)",toggle:"boolean"};class pe extends B{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=Q.find(de);for(const e of n){const t=i(e),n=Q.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ue}static get DefaultType(){return fe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>pe.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(ce),this._element.classList.add(he),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(ce,le),this._element.style[t]="",P.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(he),this._element.classList.remove(ce,le);for(const e of this._triggerArray){const t=n(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(ce),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(le)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(de);for(const t of e){const e=n(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=Q.find(":scope .collapse .collapse",this._config.parent);return Q.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const i=pe.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}P.on(document,"click.bs.collapse.data-api",de,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=i(this),n=Q.find(t);for(const e of n)pe.getOrCreateInstance(e,{toggle:!1}).toggle()})),m(pe);var me="top",ge="bottom",_e="right",be="left",ve="auto",ye=[me,ge,_e,be],we="start",Ee="end",Ae="clippingParents",Te="viewport",Ce="popper",Oe="reference",xe=ye.reduce((function(e,t){return e.concat([t+"-"+we,t+"-"+Ee])}),[]),ke=[].concat(ye,[ve]).reduce((function(e,t){return e.concat([t,t+"-"+we,t+"-"+Ee])}),[]),Le="beforeRead",Se="read",De="afterRead",Ie="beforeMain",Ne="main",Pe="afterMain",je="beforeWrite",Me="write",He="afterWrite",qe=[Le,Se,De,Ie,Ne,Pe,je,Me,He];function We(e){return e?(e.nodeName||"").toLowerCase():null}function $e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fe(e){return e instanceof $e(e).Element||e instanceof Element}function Be(e){return e instanceof $e(e).HTMLElement||e instanceof HTMLElement}function ze(e){return"undefined"!=typeof ShadowRoot&&(e instanceof $e(e).ShadowRoot||e instanceof ShadowRoot)}var Ve={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];Be(s)&&We(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],s=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});Be(n)&&We(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Re(e){return e.split("-")[0]}var Ke=Math.max,Qe=Math.min,Xe=Math.round;function Ye(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ue(){return!/^((?!chrome|android).)*safari/i.test(Ye())}function Ge(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,o=1;t&&Be(e)&&(s=e.offsetWidth>0&&Xe(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Xe(n.height)/e.offsetHeight||1);var r=(Fe(e)?$e(e):window).visualViewport,a=!Ue()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Je(e){var t=Ge(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function Ze(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&ze(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function et(e){return $e(e).getComputedStyle(e)}function tt(e){return["table","td","th"].indexOf(We(e))>=0}function it(e){return((Fe(e)?e.ownerDocument:e.document)||window.document).documentElement}function nt(e){return"html"===We(e)?e:e.assignedSlot||e.parentNode||(ze(e)?e.host:null)||it(e)}function st(e){return Be(e)&&"fixed"!==et(e).position?e.offsetParent:null}function ot(e){for(var t=$e(e),i=st(e);i&&tt(i)&&"static"===et(i).position;)i=st(i);return i&&("html"===We(i)||"body"===We(i)&&"static"===et(i).position)?t:i||function(e){var t=/firefox/i.test(Ye());if(/Trident/i.test(Ye())&&Be(e)&&"fixed"===et(e).position)return null;var i=nt(e);for(ze(i)&&(i=i.host);Be(i)&&["html","body"].indexOf(We(i))<0;){var n=et(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function rt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function at(e,t,i){return Ke(e,Qe(t,i))}function lt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ct(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}var ht={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=Re(i.placement),l=rt(a),c=[be,_e].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(e,t){return lt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ct(e,ye))}(s.padding,i),d=Je(o),u="y"===l?me:be,f="y"===l?ge:_e,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=ot(o),_=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=p/2-m/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=at(v,w,y),A=l;i.modifiersData[n]=((t={})[A]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&("production"!==process.env.NODE_ENV&&(Be(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),Ze(t.elements.popper,n)?t.elements.arrow=n:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dt(e){return e.split("-")[1]}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ft(e){var t,i=e.popper,n=e.popperRect,s=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,h=e.roundOffsets,d=e.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,m=void 0===p?0:p,g="function"==typeof h?h({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=be,y=me,w=window;if(c){var E=ot(i),A="clientHeight",T="clientWidth";E===$e(i)&&"static"!==et(E=it(i)).position&&"absolute"===a&&(A="scrollHeight",T="scrollWidth"),(s===me||(s===be||s===_e)&&o===Ee)&&(y=ge,m-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-n.height,m*=l?1:-1),s!==be&&(s!==me&&s!==ge||o!==Ee)||(v=_e,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&ut),x=!0===h?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Xe(t*n)/n||0,y:Xe(i*n)/n||0}}({x:f,y:m}):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[y]=b?m+"px":"",t[v]=_?f+"px":"",t.transform="",t))}var pt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a;if("production"!==process.env.NODE_ENV){var c=et(t.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var h={placement:Re(t.placement),variation:dt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ft(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ft(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},mt={passive:!0},gt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=$e(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",i.update,mt)})),a&&l.addEventListener("resize",i.update,mt),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",i.update,mt)})),a&&l.removeEventListener("resize",i.update,mt)}},data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function bt(e){return e.replace(/left|right|bottom|top/g,(function(e){return _t[e]}))}var vt={start:"end",end:"start"};function yt(e){return e.replace(/start|end/g,(function(e){return vt[e]}))}function wt(e){var t=$e(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Et(e){return Ge(it(e)).left+wt(e).scrollLeft}function At(e){var t=et(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Tt(e){return["html","body","#document"].indexOf(We(e))>=0?e.ownerDocument.body:Be(e)&&At(e)?e:Tt(nt(e))}function Ct(e,t){var i;void 0===t&&(t=[]);var n=Tt(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),o=$e(n),r=s?[o].concat(o.visualViewport||[],At(n)?n:[]):n,a=t.concat(r);return s?a:a.concat(Ct(nt(r)))}function Ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xt(e,t,i){return t===Te?Ot(function(e,t){var i=$e(e),n=it(e),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Ue();(c||!c&&"fixed"===t)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Et(e),y:l}}(e,i)):Fe(t)?function(e,t){var i=Ge(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):Ot(function(e){var t,i=it(e),n=wt(e),s=null==(t=e.ownerDocument)?void 0:t.body,o=Ke(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ke(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Et(e),l=-n.scrollTop;return"rtl"===et(s||i).direction&&(a+=Ke(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(it(e)))}function kt(e){var t,i=e.reference,n=e.element,s=e.placement,o=s?Re(s):null,r=s?dt(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case me:t={x:a,y:i.y-n.height};break;case ge:t={x:a,y:i.y+i.height};break;case _e:t={x:i.x+i.width,y:l};break;case be:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=o?rt(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case we:t[c]=t[c]-(i[h]/2-n[h]/2);break;case Ee:t[c]=t[c]+(i[h]/2-n[h]/2)}}return t}function Lt(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,o=i.strategy,r=void 0===o?e.strategy:o,a=i.boundary,l=void 0===a?Ae:a,c=i.rootBoundary,h=void 0===c?Te:c,d=i.elementContext,u=void 0===d?Ce:d,f=i.altBoundary,p=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,_=lt("number"!=typeof g?g:ct(g,ye)),b=u===Ce?Oe:Ce,v=e.rects.popper,y=e.elements[p?b:u],w=function(e,t,i,n){var s="clippingParents"===t?function(e){var t=Ct(nt(e)),i=["absolute","fixed"].indexOf(et(e).position)>=0&&Be(e)?ot(e):e;return Fe(i)?t.filter((function(e){return Fe(e)&&Ze(e,i)&&"body"!==We(e)})):[]}(e):[].concat(t),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(t,i){var s=xt(e,i,n);return t.top=Ke(s.top,t.top),t.right=Qe(s.right,t.right),t.bottom=Qe(s.bottom,t.bottom),t.left=Ke(s.left,t.left),t}),xt(e,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Fe(y)?y:y.contextElement||it(e.elements.popper),l,h,r),E=Ge(e.elements.reference),A=kt({reference:E,element:v,strategy:"absolute",placement:s}),T=Ot(Object.assign({},v,A)),C=u===Ce?T:E,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=e.modifiersData.offset;if(u===Ce&&x){var k=x[s];Object.keys(O).forEach((function(e){var t=[_e,ge].indexOf(e)>=0?1:-1,i=[me,ge].indexOf(e)>=0?"y":"x";O[e]+=k[i]*t}))}return O}function St(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ke:l,h=dt(n),d=h?a?xe:xe.filter((function(e){return dt(e)===h})):ye,u=d.filter((function(e){return c.indexOf(e)>=0}));0===u.length&&(u=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=u.reduce((function(t,i){return t[i]=Lt(e,{placement:i,boundary:s,rootBoundary:o,padding:r})[Re(i)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Dt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,m=i.allowedAutoPlacements,g=t.options.placement,_=Re(g),b=l||(_!==g&&p?function(e){if(Re(e)===ve)return[];var t=bt(e);return[yt(e),t,yt(t)]}(g):[bt(g)]),v=[g].concat(b).reduce((function(e,i){return e.concat(Re(i)===ve?St(t,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):i)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,A=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=Re(O),k=dt(O)===we,L=[me,ge].indexOf(x)>=0,S=L?"width":"height",D=Lt(t,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),I=L?k?_e:be:k?ge:me;y[S]>w[S]&&(I=bt(I));var N=bt(I),P=[];if(o&&P.push(D[x]<=0),a&&P.push(D[I]<=0,D[N]<=0),P.every((function(e){return e}))){T=O,A=!1;break}E.set(O,P)}if(A)for(var j=function(e){var t=v.find((function(t){var i=E.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},M=p?3:1;M>0&&"break"!==j(M);M--);t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function It(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Nt(e){return[me,_e,ge,be].some((function(t){return e[t]>=0}))}var Pt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,r=Lt(t,{elementContext:"reference"}),a=Lt(t,{altBoundary:!0}),l=It(r,n),c=It(a,s,o),h=Nt(l),d=Nt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},jt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,o=void 0===s?[0,0]:s,r=ke.reduce((function(e,i){return e[i]=function(e,t,i){var n=Re(e),s=[be,me].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[be,_e].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,t.rects,o),e}),{}),a=r[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}},Mt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=kt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ht={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,m=void 0===p?0:p,g=Lt(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=Re(t.placement),b=dt(t.placement),v=!b,y=rt(_),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,A=t.rects.reference,T=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(E){if(o){var L,S="y"===y?me:be,D="y"===y?ge:_e,I="y"===y?"height":"width",N=E[y],P=N+g[S],j=N-g[D],M=f?-T[I]/2:0,H=b===we?A[I]:T[I],q=b===we?-T[I]:-A[I],W=t.elements.arrow,$=f&&W?Je(W):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[S],z=F[D],V=at(0,A[I],$[I]),R=v?A[I]/2-M-V-B-O.mainAxis:H-V-B-O.mainAxis,K=v?-A[I]/2+M+V+z+O.mainAxis:q+V+z+O.mainAxis,Q=t.elements.arrow&&ot(t.elements.arrow),X=Q?"y"===y?Q.clientTop||0:Q.clientLeft||0:0,Y=null!=(L=null==x?void 0:x[y])?L:0,U=N+K-Y,G=at(f?Qe(P,N+R-Y-X):P,N,f?Ke(j,U):j);E[y]=G,k[y]=G-N}if(a){var J,Z="x"===y?me:be,ee="x"===y?ge:_e,te=E[w],ie="y"===w?"height":"width",ne=te+g[Z],se=te-g[ee],oe=-1!==[me,be].indexOf(_),re=null!=(J=null==x?void 0:x[w])?J:0,ae=oe?ne:te-A[ie]-T[ie]-re+O.altAxis,le=oe?te+A[ie]+T[ie]-re-O.altAxis:se,ce=f&&oe?function(e,t,i){var n=at(e,t,i);return n>i?i:n}(ae,te,le):at(f?ae:ne,te,f?le:se);E[w]=ce,k[w]=ce-te}t.modifiersData[n]=k}},requiresIfExists:["offset"]};function qt(e,t,i){void 0===i&&(i=!1);var n,s,o=Be(t),r=Be(t)&&function(e){var t=e.getBoundingClientRect(),i=Xe(t.width)/e.offsetWidth||1,n=Xe(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=it(t),l=Ge(e,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==We(t)||At(a))&&(c=(n=t)!==$e(n)&&Be(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:wt(n)),Be(t)?((h=Ge(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):a&&(h.x=Et(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function Wt(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||s(e)})),n}function $t(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return[].concat(i).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Ft='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Bt=["name","enabled","phase","fn","effect","requires","options"],zt="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Vt={placement:"bottom",modifiers:[],strategy:"absolute"};function Rt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Kt(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,o=void 0===s?Vt:s;return function(e,t,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:Fe(e)?Ct(e):e.contextElement?Ct(e.contextElement):[],popper:Ct(t)};var r,c,u,f,p,m=function(e){var t=Wt(e);return qe.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}((f=[].concat(n,a.options.modifiers),p=f.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));if(a.orderedModifiers=m.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){(function(e){e.forEach((function(t){[].concat(Object.keys(t),Bt).filter((function(e,t,i){return i.indexOf(e)===t})).forEach((function(i){switch(i){case"name":"string"!=typeof t.name&&console.error($t(Ft,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error($t(Ft,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":qe.indexOf(t.phase)<0&&console.error($t(Ft,t.name,'"phase"',"either "+qe.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error($t(Ft,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error($t(Ft,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error($t(Ft,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error($t(Ft,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Bt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+i+'" was provided.')}t.requires&&t.requires.forEach((function(i){null==e.find((function(e){return e.name===i}))&&console.error($t('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),i,i))}))}))}))})((r=[].concat(m,a.options.modifiers),c=function(e){return e.name},u=new Set,r.filter((function(e){var t=c(e);if(!u.has(t))return u.add(t),!0})))),Re(a.options.placement)===ve&&(a.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var g=et(t);[g.marginTop,g.marginRight,g.marginBottom,g.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var o=s({state:a,name:t,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(Rt(t,i)){a.rects={reference:qt(t,ot(i),"fixed"===a.options.strategy),popper:Je(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0,s=0;s<a.orderedModifiers.length;s++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var o=a.orderedModifiers[s],r=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof r&&(a=r({state:a,options:d,name:u,instance:h})||a)}else a.reset=!1,s=-1}}else"production"!==process.env.NODE_ENV&&console.error(zt)}},update:(s=function(){return new Promise((function(e){h.forceUpdate(),e(a)}))},function(){return r||(r=new Promise((function(e){Promise.resolve().then((function(){r=void 0,e(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!Rt(e,t))return"production"!==process.env.NODE_ENV&&console.error(zt),h;function d(){l.forEach((function(e){return e()})),l=[]}return h.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),h}}var Qt=Kt(),Xt=Kt({defaultModifiers:[gt,Mt,pt,Ve]}),Yt=Kt({defaultModifiers:[gt,Mt,pt,Ve,jt,Dt,Ht,ht,Pt]}),Ut=Object.freeze({__proto__:null,popperGenerator:Kt,detectOverflow:Lt,createPopperBase:Qt,createPopper:Yt,createPopperLite:Xt,top:me,bottom:ge,right:_e,left:be,auto:ve,basePlacements:ye,start:we,end:Ee,clippingParents:Ae,viewport:Te,popper:Ce,reference:Oe,variationPlacements:xe,placements:ke,beforeRead:Le,read:Se,afterRead:De,beforeMain:Ie,main:Ne,afterMain:Pe,beforeWrite:je,write:Me,afterWrite:He,modifierPhases:qe,applyStyles:Ve,arrow:ht,computeStyles:pt,eventListeners:gt,flip:Dt,hide:Pt,offset:jt,popperOffsets:Mt,preventOverflow:Ht});const Gt="dropdown",Jt="ArrowUp",Zt="ArrowDown",ei="click.bs.dropdown.data-api",ti="keydown.bs.dropdown.data-api",ii="show",ni='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',si=`${ni}.show`,oi=".dropdown-menu",ri=p()?"top-end":"top-start",ai=p()?"top-start":"top-end",li=p()?"bottom-end":"bottom-start",ci=p()?"bottom-start":"bottom-end",hi=p()?"left-start":"right-start",di=p()?"right-start":"left-start",ui={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pi extends B{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Q.next(this._element,oi)[0]||Q.prev(this._element,oi)[0],this._inNavbar=this._detectNavbar()}static get Default(){return ui}static get DefaultType(){return fi}static get NAME(){return Gt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!P.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))P.on(e,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ii),this._element.classList.add(ii),P.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!P.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.off(e,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(ii),this._element.classList.remove(ii),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!o(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Gt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Ut)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:o(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Yt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(ii)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return hi;if(e.classList.contains("dropstart"))return di;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ai:ri:t?ci:li}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&($.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=Q.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));i.length&&b(i,t,e===Zt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=pi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=Q.find(si);for(const i of t){const t=pi.getInstance(i);if(!t||!1===t._config.autoClose)continue;const n=e.composedPath(),s=n.includes(t._menu);if(n.includes(t._element)||"inside"===t._config.autoClose&&!s||"outside"===t._config.autoClose&&s)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const o={relatedTarget:t._element};"click"===e.type&&(o.clickEvent=e),t._completeHide(o)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[Jt,Zt].includes(e.key);if(!n&&!i)return;if(t&&!i)return;e.preventDefault();const s=this.matches(ni)?this:Q.prev(this,ni)[0]||Q.next(this,ni)[0],o=pi.getOrCreateInstance(s);if(n)return e.stopPropagation(),o.show(),void o._selectMenuItem(e);o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}P.on(document,ti,ni,pi.dataApiKeydownHandler),P.on(document,ti,oi,pi.dataApiKeydownHandler),P.on(document,ei,pi.clearMenus),P.on(document,"keyup.bs.dropdown.data-api",pi.clearMenus),P.on(document,ei,ni,(function(e){e.preventDefault(),pi.getOrCreateInstance(this).toggle()})),m(pi);const mi={},gi=".carousel-item.active";class _i extends B{constructor(e,t){super(e,t),this.carousel=Q.findOne(".carousel",this.element),this.carouselPager=Q.findOne(".carousel-pager span",this.element),this.carouselStartIndex=e.getAttribute("data-gallery-start"),this.carouselActiveItem=Q.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=Q.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(e){const t=Q.findOne(gi,this.carousel),i=e.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=e.to+1,this.stopVideo(t)}stopSlide(){const e=Q.findOne(gi,this.carousel);this.stopVideo(e)}stopVideo(e){const t=Q.findOne("iframe",e),i=Q.findOne("video",e);t?t.src=t.dataset.src:i&&i.pause()}carouselLazyLoad(e){const t=Q.findOne("[data-src]",e);t&&!t.src&&(t.src=t.dataset.src)}addEventListeners(){P.on(this.carousel,"slide.bs.carousel",(e=>this.setSlide(e))),P.on(this.modal,"hide.bs.modal",(e=>this.stopSlide(e)))}static get Default(){return mi}static jQueryInterface(e){return this.each((function(){const t=_i.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}P.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(e=>{const t=e.target.closest("div.bcl-gallery"),i=e.target.parentNode.getAttribute("data-bs-slide-to");t.dataset.galleryStart=i,_i.getOrCreateInstance(t)})),m(_i);const bi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",yi="padding-right",wi="margin-right";class Ei{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,(t=>t+e)),this._setElementAttributes(bi,yi,(t=>t+e)),this._setElementAttributes(vi,wi,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(bi,yi),this._resetElementAttributes(vi,wi)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const s=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&$.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=$.getDataAttribute(e,t);null!==i?($.removeDataAttribute(e,t),e.style.setProperty(t,i)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(o(e))t(e);else for(const i of Q.find(e,this._element))t(i)}}const Ai="show",Ti="mousedown.bs.backdrop",Ci={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Oi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xi extends F{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Ci}static get DefaultType(){return Oi}static get NAME(){return"backdrop"}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&d(t),t.classList.add(Ai),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(Ai),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(P.off(this._element,Ti),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),P.on(e,Ti,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){_(e,this._getElement(),this._config.isAnimated)}}const ki=".bs.focustrap",Li="backward",Si={autofocus:!0,trapElement:null},Di={autofocus:"boolean",trapElement:"element"};class Ii extends F{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Si}static get DefaultType(){return Di}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),P.off(document,ki),P.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),P.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,ki))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=Q.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===Li?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Li:"forward")}}const Ni="hidden.bs.modal",Pi="show.bs.modal",ji="modal-open",Mi="show",Hi="modal-static",qi={backdrop:!0,focus:!0,keyboard:!0},Wi={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $i extends B{constructor(e,t){super(e,t),this._dialog=Q.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ei,this._addEventListeners()}static get Default(){return qi}static get DefaultType(){return Wi}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||P.trigger(this._element,Pi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ji),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(P.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Mi),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const e of[window,this._dialog])P.off(e,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ii({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=Q.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),d(this._element),this._element.classList.add(Mi),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.modal",(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),P.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),P.on(this._element,"mousedown.dismiss.bs.modal",(e=>{P.one(this._element,"click.dismiss.bs.modal",(t=>{this._dialog.contains(e.target)||this._dialog.contains(t.target)||("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(ji),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,Ni)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Hi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Hi),this._queueCallback((()=>{this._element.classList.remove(Hi),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!i&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=$i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=n(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),P.one(t,Pi,(e=>{e.defaultPrevented||P.one(t,Ni,(()=>{a(this)&&this.focus()}))}));const i=Q.findOne(".modal.show");i&&$i.getInstance(i).hide(),$i.getOrCreateInstance(t).toggle(this)})),z($i),m($i);const Fi="show",Bi="showing",zi="hiding",Vi=".offcanvas.show",Ri="hidePrevented.bs.offcanvas",Ki="hidden.bs.offcanvas",Qi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Yi extends B{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qi}static get DefaultType(){return Xi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Ei).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Bi),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Fi),this._element.classList.remove(Bi),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(zi),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Fi,zi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Ei).reset(),P.trigger(this._element,Ki)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new xi({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():P.trigger(this._element,Ri)}:null})}_initializeFocusTrap(){return new Ii({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():P.trigger(this._element,Ri))}))}static jQueryInterface(e){return this.each((function(){const t=Yi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=n(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;P.one(t,Ki,(()=>{a(this)&&this.focus()}));const i=Q.findOne(Vi);i&&i!==t&&Yi.getInstance(i).hide(),Yi.getOrCreateInstance(t).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>{for(const e of Q.find(Vi))Yi.getOrCreateInstance(e).show()})),P.on(window,"resize.bs.offcanvas",(()=>{for(const e of Q.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Yi.getOrCreateInstance(e).hide()})),z(Yi),m(Yi);const Ui=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Gi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ji=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Zi=(e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!Ui.has(i)||Boolean(Gi.test(e.nodeValue)||Ji.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(i)))},en={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},tn={allowList:en,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},nn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},sn={entry:"(string|element|function|null)",selector:"(string|element)"};class on extends F{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return tn}static get DefaultType(){return nn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,i]of Object.entries(this._config.content))this._setContent(e,i,t);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},sn)}_setContent(e,t,i){const n=Q.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(r(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const e of s){const i=e.nodeName.toLowerCase();if(!Object.keys(t).includes(i)){e.remove();continue}const n=[].concat(...e.attributes),s=[].concat(t["*"]||[],t[i]||[]);for(const t of n)Zi(t,s)||e.removeAttribute(t.nodeName)}return n.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const rn=new Set(["sanitize","allowList","sanitizeFn"]),an="fade",ln="show",cn=".modal",hn="hide.bs.modal",dn="hover",un="focus",fn={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},pn={allowList:en,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},mn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class gn extends B{constructor(e,t){if(void 0===Ut)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners()}static get Default(){return pn}static get DefaultType(){return mn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled){if(e){const t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(cn),hn,this._hideModalHandler),this.tip&&this.tip.remove(),this._config.originalTitle&&this._element.setAttribute("title",this._config.originalTitle),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=P.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),P.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(ln),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.on(e,"mouseover",h);this._queueCallback((()=>{P.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(P.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const e=this._getTipElement();if(e.classList.remove(ln),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))P.off(e,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||e.remove(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(an,ln),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(an),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new on({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(an)}_isShown(){return this.tip&&this.tip.classList.contains(ln)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,i=fn[t.toUpperCase()];return Yt(this._element,e,this._getPopperConfig(i))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)P.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>this.toggle(e)));else if("manual"!==t){const e=t===dn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=t===dn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");P.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?un:dn]=!0,t._enter()})),P.on(this._element,i,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?un:dn]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(cn),hn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=$.getDataAttributes(this._element);for(const e of Object.keys(t))rn.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"","number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=gn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(gn);const _n={...gn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},bn={...gn.DefaultType,content:"(null|string|element|function)"};class vn extends gn{static get Default(){return _n}static get DefaultType(){return bn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(vn);const yn="click.bs.scrollspy",wn="active",En="[href]",An={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Tn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Cn extends B{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return An}static get DefaultType(){return Tn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(P.off(this._config.target,yn),P.on(this._config.target,yn,En,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(o));continue}const e=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&e){if(i(o),!n)return}else s||e||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Q.find(En,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=Q.findOne(t.hash,this._element);a(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(wn),this._activateParents(e),P.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))Q.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(wn);else for(const t of Q.parents(e,".nav, .list-group"))for(const e of Q.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(wn)}_clearActiveClass(e){e.classList.remove(wn);const t=Q.find("[href].active",e);for(const e of t)e.classList.remove(wn)}static jQueryInterface(e){return this.each((function(){const t=Cn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{for(const e of Q.find('[data-bs-spy="scroll"]'))Cn.getOrCreateInstance(e)})),m(Cn);const On="ArrowLeft",xn="ArrowRight",kn="ArrowUp",Ln="ArrowDown",Sn="active",Dn="fade",In="show",Nn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Pn=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Nn}`;class jn extends B{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),P.on(this._element,"keydown.bs.tab",(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?P.trigger(t,"hide.bs.tab",{relatedTarget:e}):null;P.trigger(e,"show.bs.tab",{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Sn),this._activate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),P.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add(In)}),e,e.classList.contains(Dn)))}_deactivate(e,t){e&&(e.classList.remove(Sn),e.blur(),this._deactivate(n(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),P.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove(In)}),e,e.classList.contains(Dn)))}_keydown(e){if(![On,xn,kn,Ln].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[xn,Ln].includes(e.key),i=b(this._getChildren().filter((e=>!l(e))),e.target,t,!0);i&&jn.getOrCreateInstance(i).show()}_getChildren(){return Q.find(Pn,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(e,n)=>{const s=Q.findOne(e,i);s&&s.classList.toggle(n,t)};n(".dropdown-toggle",Sn),n(".dropdown-menu",In),n(".dropdown-item",Sn),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(Sn)}_getInnerElement(e){return e.matches(Pn)?e:Q.findOne(Pn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=jn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(document,"click.bs.tab",Nn,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||jn.getOrCreateInstance(this).show()})),P.on(window,"load.bs.tab",(()=>{for(const e of Q.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))jn.getOrCreateInstance(e)})),m(jn);const Mn="hide",Hn="show",qn="showing",Wn={animation:"boolean",autohide:"boolean",delay:"number"},$n={animation:!0,autohide:!0,delay:5e3};class Fn extends B{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return $n}static get DefaultType(){return Wn}static get NAME(){return"toast"}show(){P.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Mn),d(this._element),this._element.classList.add(Hn,qn),this._queueCallback((()=>{this._element.classList.remove(qn),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(P.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(qn),this._queueCallback((()=>{this._element.classList.add(Mn),this._element.classList.remove(qn,Hn),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Hn),super.dispose()}isShown(){return this._element.classList.contains(Hn)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),P.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return z(Fn),m(Fn),{Alert:V,Button:K,Carousel:ae,Collapse:pe,Dropdown:pi,Gallery:_i,Modal:$i,Offcanvas:Yi,Popover:vn,ScrollSpy:Cn,Tab:jn,Toast:Fn,Tooltip:gn}}));
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},n=t=>{const i=e(t);return i?document.querySelector(i):null},s=e=>{e.dispatchEvent(new Event(t))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},m=t=>{"function"==typeof t&&t()},_=(e,i,n=!0)=>{if(!n)return void m(e);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+5;let r=!1;const a=({target:n})=>{n===i&&(r=!0,i.removeEventListener(t,a),m(e))};i.addEventListener(t,a),setTimeout((()=>{r||s(i)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let A=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${A++}`||t.uidEvent||A++}function x(t){const e=O(t);return t.uidEvent=e,E[e]=E[e]||{},E[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=N(t);return C.has(o)||(o=t),[n,s,o]}function S(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);if(e in T){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&I.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return P(n,{delegateTarget:t}),i.oneOff&&I.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function $(t,e,i,n){const s=e[i]||{};for(const o of Object.keys(s))if(o.includes(n)){const n=s[o];D(t,e,i,n.callable,n.delegationSelector)}}function N(t){return t=t.replace(y,""),T[t]||t}const I={on(t,e,i,n){S(t,e,i,n,!1)},one(t,e,i,n){S(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))$(t,l,i,e.slice(1));for(const i of Object.keys(c)){const n=i.replace(w,"");if(!a||e.includes(n)){const e=c[i];D(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;D(t,l,r,o,s?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;const n=u();let s=null,o=!0,r=!0,a=!1;e!==N(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),o=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());let l=new Event(e,{bubbles:o,cancelable:!0});return l=P(l,i),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&s&&s.preventDefault(),l}};function P(t,e){for(const[i,n]of Object.entries(e||{}))try{t[i]=n}catch{Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}const j=new Map;var M={set(t,e,i){j.has(t)||j.set(t,new Map);const n=j.get(t);n.has(e)||0===n.size?n.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(t,e)=>j.has(t)&&j.get(t).get(e)||null,remove(t,e){if(!j.has(t))return;const i=j.get(t);i.delete(e),0===i.size&&j.delete(t)}};function H(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function q(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const B={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${q(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${q(e)}`)},getDataAttributes(t){if(!t)return{};const e={},i=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=H(t.dataset[n])}return e},getDataAttribute:(t,e)=>H(t.getAttribute(`data-bs-${q(e)}`))};class W{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const i=o(e)?B.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?B.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const n of Object.keys(e)){const s=e[n],r=t[n],a=o(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}}class F extends W{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),M.set(this._element,this.constructor.DATA_KEY,this))}dispose(){M.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){_(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return M.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const z=(t,e="hide")=>{const i=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;I.on(document,i,`[data-bs-dismiss="${s}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),l(this))return;const o=n(this)||this.closest(`.${s}`);t.getOrCreateInstance(o)[e]()}))},V=".bs.alert",R=`close${V}`,Y=`closed${V}`;class K extends F{static get NAME(){return"alert"}close(){if(I.trigger(this._element,R).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),I.trigger(this._element,Y),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=K.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}z(K,"close"),g(K);const Q='[data-bs-toggle="button"]';class X extends F{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=X.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}I.on(document,"click.bs.button.data-api",Q,(t=>{t.preventDefault();const e=t.target.closest(Q);X.getOrCreateInstance(e).toggle()})),g(X);const U={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!l(t)&&a(t)))}},G=".bs.swipe",J=`touchstart${G}`,Z=`touchmove${G}`,tt=`touchend${G}`,et=`pointerdown${G}`,it=`pointerup${G}`,nt={endCallback:null,leftCallback:null,rightCallback:null},st={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ot extends W{constructor(t,e){super(),this._element=t,t&&ot.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return nt}static get DefaultType(){return st}static get NAME(){return"swipe"}dispose(){I.off(this._element,G)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),m(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&m(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,et,(t=>this._start(t))),I.on(this._element,it,(t=>this._end(t))),this._element.classList.add("pointer-event")):(I.on(this._element,J,(t=>this._start(t))),I.on(this._element,Z,(t=>this._move(t))),I.on(this._element,tt,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const rt=".bs.carousel",at=".data-api",lt="next",ct="prev",ht="left",dt="right",ut=`slide${rt}`,ft=`slid${rt}`,pt=`keydown${rt}`,gt=`mouseenter${rt}`,mt=`mouseleave${rt}`,_t=`dragstart${rt}`,bt=`load${rt}${at}`,vt=`click${rt}${at}`,yt="carousel",wt="active",Et=".active",At=".carousel-item",Tt=Et+At,Ct={ArrowLeft:dt,ArrowRight:ht},Ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class kt extends F{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=U.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===yt&&this.cycle()}static get Default(){return Ot}static get DefaultType(){return xt}static get NAME(){return"carousel"}next(){this._slide(lt)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(ct)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,ft,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void I.one(this._element,ft,(()=>this.to(t)));const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?lt:ct;this._slide(n,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&I.on(this._element,pt,(t=>this._keydown(t))),"hover"===this._config.pause&&(I.on(this._element,gt,(()=>this.pause())),I.on(this._element,mt,(()=>this._maybeEnableCycle()))),this._config.touch&&ot.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of U.find(".carousel-item img",this._element))I.on(t,_t,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(ht)),rightCallback:()=>this._slide(this._directionToOrder(dt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ot(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Ct[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=U.findOne(Et,this._indicatorsElement);e.classList.remove(wt),e.removeAttribute("aria-current");const i=U.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(wt),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const i=this._getActive(),n=t===lt,s=e||b(this._getItems(),i,n,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),r=e=>I.trigger(this._element,e,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(r(ut).defaultPrevented)return;if(!i||!s)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const l=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";s.classList.add(c),d(s),i.classList.add(l),s.classList.add(l),this._queueCallback((()=>{s.classList.remove(l,c),s.classList.add(wt),i.classList.remove(wt,c,l),this._isSliding=!1,r(ft)}),i,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return U.findOne(Tt,this._element)}_getItems(){return U.find(At,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===ht?ct:lt:t===ht?lt:ct}_orderToDirection(t){return p()?t===ct?ht:dt:t===ct?dt:ht}static jQueryInterface(t){return this.each((function(){const e=kt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}I.on(document,vt,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=n(this);if(!e||!e.classList.contains(yt))return;t.preventDefault();const i=kt.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");return s?(i.to(s),void i._maybeEnableCycle()):"next"===B.getDataAttribute(this,"slide")?(i.next(),void i._maybeEnableCycle()):(i.prev(),void i._maybeEnableCycle())})),I.on(window,bt,(()=>{const t=U.find('[data-bs-ride="carousel"]');for(const e of t)kt.getOrCreateInstance(e)})),g(kt);const Lt=".bs.collapse",St=`show${Lt}`,Dt=`shown${Lt}`,$t=`hide${Lt}`,Nt=`hidden${Lt}`,It=`click${Lt}.data-api`,Pt="show",jt="collapse",Mt="collapsing",Ht=`:scope .${jt} .${jt}`,qt='[data-bs-toggle="collapse"]',Bt={parent:null,toggle:!0},Wt={parent:"(null|element)",toggle:"boolean"};class Ft extends F{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=U.find(qt);for(const t of n){const e=i(t),n=U.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Bt}static get DefaultType(){return Wt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Ft.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(I.trigger(this._element,St).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(jt),this._element.classList.add(Mt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Mt),this._element.classList.add(jt,Pt),this._element.style[e]="",I.trigger(this._element,Dt)}),this._element,!0),this._element.style[e]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,$t).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,d(this._element),this._element.classList.add(Mt),this._element.classList.remove(jt,Pt);for(const t of this._triggerArray){const e=n(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Mt),this._element.classList.add(jt),I.trigger(this._element,Nt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(qt);for(const e of t){const t=n(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=U.find(Ht,this._config.parent);return U.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const i=Ft.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}I.on(document,It,qt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=i(this),n=U.find(e);for(const t of n)Ft.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(Ft);var zt="top",Vt="bottom",Rt="right",Yt="left",Kt="auto",Qt=[zt,Vt,Rt,Yt],Xt="start",Ut="end",Gt="clippingParents",Jt="viewport",Zt="popper",te="reference",ee=Qt.reduce((function(t,e){return t.concat([e+"-"+Xt,e+"-"+Ut])}),[]),ie=[].concat(Qt,[Kt]).reduce((function(t,e){return t.concat([e,e+"-"+Xt,e+"-"+Ut])}),[]),ne="beforeRead",se="read",oe="afterRead",re="beforeMain",ae="main",le="afterMain",ce="beforeWrite",he="write",de="afterWrite",ue=[ne,se,oe,re,ae,le,ce,he,de];function fe(t){return t?(t.nodeName||"").toLowerCase():null}function pe(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ge(t){return t instanceof pe(t).Element||t instanceof Element}function me(t){return t instanceof pe(t).HTMLElement||t instanceof HTMLElement}function _e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof pe(t).ShadowRoot||t instanceof ShadowRoot)}var be={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];me(s)&&fe(s)&&(Object.assign(s.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],s=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});me(n)&&fe(n)&&(Object.assign(n.style,o),Object.keys(s).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function ve(t){return t.split("-")[0]}var ye=Math.max,we=Math.min,Ee=Math.round;function Ae(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Te(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Ce(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,o=1;e&&me(t)&&(s=t.offsetWidth>0&&Ee(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Ee(n.height)/t.offsetHeight||1);var r=(ge(t)?pe(t):window).visualViewport,a=!Te()&&i,l=(n.left+(a&&r?r.offsetLeft:0))/s,c=(n.top+(a&&r?r.offsetTop:0))/o,h=n.width/s,d=n.height/o;return{width:h,height:d,top:c,right:l+h,bottom:c+d,left:l,x:l,y:c}}function Oe(t){var e=Ce(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function xe(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&_e(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ke(t){return pe(t).getComputedStyle(t)}function Le(t){return["table","td","th"].indexOf(fe(t))>=0}function Se(t){return((ge(t)?t.ownerDocument:t.document)||window.document).documentElement}function De(t){return"html"===fe(t)?t:t.assignedSlot||t.parentNode||(_e(t)?t.host:null)||Se(t)}function $e(t){return me(t)&&"fixed"!==ke(t).position?t.offsetParent:null}function Ne(t){for(var e=pe(t),i=$e(t);i&&Le(i)&&"static"===ke(i).position;)i=$e(i);return i&&("html"===fe(i)||"body"===fe(i)&&"static"===ke(i).position)?e:i||function(t){var e=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(t)&&"fixed"===ke(t).position)return null;var i=De(t);for(_e(i)&&(i=i.host);me(i)&&["html","body"].indexOf(fe(i))<0;){var n=ke(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function Ie(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pe(t,e,i){return ye(t,we(e,i))}function je(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Me(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var He={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=ve(i.placement),l=Ie(a),c=[Yt,Rt].indexOf(a)>=0?"height":"width";if(o&&r){var h=function(t,e){return je("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Me(t,Qt))}(s.padding,i),d=Oe(o),u="y"===l?zt:Yt,f="y"===l?Vt:Rt,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=Ne(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=h[u],y=_-d[c]-h[f],w=_/2-d[c]/2+b,E=Pe(v,w,y),A=l;i.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&("production"!==process.env.NODE_ENV&&(me(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),xe(e.elements.popper,n)?e.elements.arrow=n:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qe(t){return t.split("-")[1]}var Be={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(t){var e,i=t.popper,n=t.popperRect,s=t.placement,o=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,h=t.roundOffsets,d=t.isFixed,u=r.x,f=void 0===u?0:u,p=r.y,g=void 0===p?0:p,m="function"==typeof h?h({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),v=Yt,y=zt,w=window;if(c){var E=Ne(i),A="clientHeight",T="clientWidth";E===pe(i)&&"static"!==ke(E=Se(i)).position&&"absolute"===a&&(A="scrollHeight",T="scrollWidth"),(s===zt||(s===Yt||s===Rt)&&o===Ut)&&(y=Vt,g-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[A])-n.height,g*=l?1:-1),s!==Yt&&(s!==zt&&s!==Vt||o!==Ut)||(v=Rt,f-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[T])-n.width,f*=l?1:-1)}var C,O=Object.assign({position:a},c&&Be),x=!0===h?function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:Ee(e*n)/n||0,y:Ee(i*n)/n||0}}({x:f,y:g}):{x:f,y:g};return f=x.x,g=x.y,l?Object.assign({},O,((C={})[y]=b?"0":"",C[v]=_?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",C)):Object.assign({},O,((e={})[y]=b?g+"px":"",e[v]=_?f+"px":"",e.transform="",e))}var Fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a;if("production"!==process.env.NODE_ENV){var c=ke(e.elements.popper).transitionProperty||"";r&&["transform","top","right","bottom","left"].some((function(t){return c.indexOf(t)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var h={placement:ve(e.placement),variation:qe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,We(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,We(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},ze={passive:!0},Ve={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,l=pe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,ze)})),a&&l.addEventListener("resize",i.update,ze),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,ze)})),a&&l.removeEventListener("resize",i.update,ze)}},data:{}},Re={left:"right",right:"left",bottom:"top",top:"bottom"};function Ye(t){return t.replace(/left|right|bottom|top/g,(function(t){return Re[t]}))}var Ke={start:"end",end:"start"};function Qe(t){return t.replace(/start|end/g,(function(t){return Ke[t]}))}function Xe(t){var e=pe(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ue(t){return Ce(Se(t)).left+Xe(t).scrollLeft}function Ge(t){var e=ke(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Je(t){return["html","body","#document"].indexOf(fe(t))>=0?t.ownerDocument.body:me(t)&&Ge(t)?t:Je(De(t))}function Ze(t,e){var i;void 0===e&&(e=[]);var n=Je(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),o=pe(n),r=s?[o].concat(o.visualViewport||[],Ge(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(Ze(De(r)))}function ti(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ei(t,e,i){return e===Jt?ti(function(t,e){var i=pe(t),n=Se(t),s=i.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;var c=Te();(c||!c&&"fixed"===e)&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:r,x:a+Ue(t),y:l}}(t,i)):ge(e)?function(t,e){var i=Ce(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ti(function(t){var e,i=Se(t),n=Xe(t),s=null==(e=t.ownerDocument)?void 0:e.body,o=ye(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=ye(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),a=-n.scrollLeft+Ue(t),l=-n.scrollTop;return"rtl"===ke(s||i).direction&&(a+=ye(i.clientWidth,s?s.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(Se(t)))}function ii(t){var e,i=t.reference,n=t.element,s=t.placement,o=s?ve(s):null,r=s?qe(s):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case zt:e={x:a,y:i.y-n.height};break;case Vt:e={x:a,y:i.y+i.height};break;case Rt:e={x:i.x+i.width,y:l};break;case Yt:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?Ie(o):null;if(null!=c){var h="y"===c?"height":"width";switch(r){case Xt:e[c]=e[c]-(i[h]/2-n[h]/2);break;case Ut:e[c]=e[c]+(i[h]/2-n[h]/2)}}return e}function ni(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,o=i.strategy,r=void 0===o?t.strategy:o,a=i.boundary,l=void 0===a?Gt:a,c=i.rootBoundary,h=void 0===c?Jt:c,d=i.elementContext,u=void 0===d?Zt:d,f=i.altBoundary,p=void 0!==f&&f,g=i.padding,m=void 0===g?0:g,_=je("number"!=typeof m?m:Me(m,Qt)),b=u===Zt?te:Zt,v=t.rects.popper,y=t.elements[p?b:u],w=function(t,e,i,n){var s="clippingParents"===e?function(t){var e=Ze(De(t)),i=["absolute","fixed"].indexOf(ke(t).position)>=0&&me(t)?Ne(t):t;return ge(i)?e.filter((function(t){return ge(t)&&xe(t,i)&&"body"!==fe(t)})):[]}(t):[].concat(e),o=[].concat(s,[i]),r=o[0],a=o.reduce((function(e,i){var s=ei(t,i,n);return e.top=ye(s.top,e.top),e.right=we(s.right,e.right),e.bottom=we(s.bottom,e.bottom),e.left=ye(s.left,e.left),e}),ei(t,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ge(y)?y:y.contextElement||Se(t.elements.popper),l,h,r),E=Ce(t.elements.reference),A=ii({reference:E,element:v,strategy:"absolute",placement:s}),T=ti(Object.assign({},v,A)),C=u===Zt?T:E,O={top:w.top-C.top+_.top,bottom:C.bottom-w.bottom+_.bottom,left:w.left-C.left+_.left,right:C.right-w.right+_.right},x=t.modifiersData.offset;if(u===Zt&&x){var k=x[s];Object.keys(O).forEach((function(t){var e=[Rt,Vt].indexOf(t)>=0?1:-1,i=[zt,Vt].indexOf(t)>=0?"y":"x";O[t]+=k[i]*e}))}return O}function si(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?ie:l,h=qe(n),d=h?a?ee:ee.filter((function(t){return qe(t)===h})):Qt,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=u.reduce((function(e,i){return e[i]=ni(t,{placement:i,boundary:s,rootBoundary:o,padding:r})[ve(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}var oi={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,h=i.boundary,d=i.rootBoundary,u=i.altBoundary,f=i.flipVariations,p=void 0===f||f,g=i.allowedAutoPlacements,m=e.options.placement,_=ve(m),b=l||(_!==m&&p?function(t){if(ve(t)===Kt)return[];var e=Ye(t);return[Qe(t),e,Qe(e)]}(m):[Ye(m)]),v=[m].concat(b).reduce((function(t,i){return t.concat(ve(i)===Kt?si(e,{placement:i,boundary:h,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,T=v[0],C=0;C<v.length;C++){var O=v[C],x=ve(O),k=qe(O)===Xt,L=[zt,Vt].indexOf(x)>=0,S=L?"width":"height",D=ni(e,{placement:O,boundary:h,rootBoundary:d,altBoundary:u,padding:c}),$=L?k?Rt:Yt:k?Vt:zt;y[S]>w[S]&&($=Ye($));var N=Ye($),I=[];if(o&&I.push(D[x]<=0),a&&I.push(D[$]<=0,D[N]<=0),I.every((function(t){return t}))){T=O,A=!1;break}E.set(O,I)}if(A)for(var P=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},j=p?3:1;j>0&&"break"!==P(j);j--);e.placement!==T&&(e.modifiersData[n]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ri(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ai(t){return[zt,Rt,Vt,Yt].some((function(e){return t[e]>=0}))}var li={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=ni(e,{elementContext:"reference"}),a=ni(e,{altBoundary:!0}),l=ri(r,n),c=ri(a,s,o),h=ai(l),d=ai(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}},ci={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,o=void 0===s?[0,0]:s,r=ie.reduce((function(t,i){return t[i]=function(t,e,i){var n=ve(t),s=[Yt,zt].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*s,[Yt,Rt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},hi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=ii({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},di={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,o=void 0===s||s,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,h=i.altBoundary,d=i.padding,u=i.tether,f=void 0===u||u,p=i.tetherOffset,g=void 0===p?0:p,m=ni(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:h}),_=ve(e.placement),b=qe(e.placement),v=!b,y=Ie(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,T=e.rects.popper,C="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),x=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,k={x:0,y:0};if(E){if(o){var L,S="y"===y?zt:Yt,D="y"===y?Vt:Rt,$="y"===y?"height":"width",N=E[y],I=N+m[S],P=N-m[D],j=f?-T[$]/2:0,M=b===Xt?A[$]:T[$],H=b===Xt?-T[$]:-A[$],q=e.elements.arrow,B=f&&q?Oe(q):{width:0,height:0},W=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=W[S],z=W[D],V=Pe(0,A[$],B[$]),R=v?A[$]/2-j-V-F-O.mainAxis:M-V-F-O.mainAxis,Y=v?-A[$]/2+j+V+z+O.mainAxis:H+V+z+O.mainAxis,K=e.elements.arrow&&Ne(e.elements.arrow),Q=K?"y"===y?K.clientTop||0:K.clientLeft||0:0,X=null!=(L=null==x?void 0:x[y])?L:0,U=N+Y-X,G=Pe(f?we(I,N+R-X-Q):I,N,f?ye(P,U):P);E[y]=G,k[y]=G-N}if(a){var J,Z="x"===y?zt:Yt,tt="x"===y?Vt:Rt,et=E[w],it="y"===w?"height":"width",nt=et+m[Z],st=et-m[tt],ot=-1!==[zt,Yt].indexOf(_),rt=null!=(J=null==x?void 0:x[w])?J:0,at=ot?nt:et-A[it]-T[it]-rt+O.altAxis,lt=ot?et+A[it]+T[it]-rt-O.altAxis:st,ct=f&&ot?function(t,e,i){var n=Pe(t,e,i);return n>i?i:n}(at,et,lt):Pe(f?at:nt,et,f?lt:st);E[w]=ct,k[w]=ct-et}e.modifiersData[n]=k}},requiresIfExists:["offset"]};function ui(t,e,i){void 0===i&&(i=!1);var n,s,o=me(e),r=me(e)&&function(t){var e=t.getBoundingClientRect(),i=Ee(e.width)/t.offsetWidth||1,n=Ee(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=Se(e),l=Ce(t,r,i),c={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!i)&&(("body"!==fe(e)||Ge(a))&&(c=(n=e)!==pe(n)&&me(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Xe(n)),me(e)?((h=Ce(e,!0)).x+=e.clientLeft,h.y+=e.clientTop):a&&(h.x=Ue(a))),{x:l.left+c.scrollLeft-h.x,y:l.top+c.scrollTop-h.y,width:l.width,height:l.height}}function fi(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||s(t)})),n}function pi(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return[].concat(i).reduce((function(t,e){return t.replace(/%s/,e)}),t)}var gi='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',mi=["name","enabled","phase","fn","effect","requires","options"],_i="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",bi={placement:"bottom",modifiers:[],strategy:"absolute"};function vi(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function yi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,o=void 0===s?bi:s;return function(t,e,i){void 0===i&&(i=o);var s,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},bi,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,h={state:a,setOptions:function(i){var s="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:ge(t)?Ze(t):t.contextElement?Ze(t.contextElement):[],popper:Ze(e)};var r,c,u,f,p,g=function(t){var e=fi(t);return ue.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((f=[].concat(n,a.options.modifiers),p=f.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(p).map((function(t){return p[t]}))));if(a.orderedModifiers=g.filter((function(t){return t.enabled})),"production"!==process.env.NODE_ENV){(function(t){t.forEach((function(e){[].concat(Object.keys(e),mi).filter((function(t,e,i){return i.indexOf(t)===e})).forEach((function(i){switch(i){case"name":"string"!=typeof e.name&&console.error(pi(gi,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":"boolean"!=typeof e.enabled&&console.error(pi(gi,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":ue.indexOf(e.phase)<0&&console.error(pi(gi,e.name,'"phase"',"either "+ue.join(", "),'"'+String(e.phase)+'"'));break;case"fn":"function"!=typeof e.fn&&console.error(pi(gi,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":null!=e.effect&&"function"!=typeof e.effect&&console.error(pi(gi,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":null==e.requires||Array.isArray(e.requires)||console.error(pi(gi,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(pi(gi,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+mi.map((function(t){return'"'+t+'"'})).join(", ")+'; but "'+i+'" was provided.')}e.requires&&e.requires.forEach((function(i){null==t.find((function(t){return t.name===i}))&&console.error(pi('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(e.name),i,i))}))}))}))})((r=[].concat(g,a.options.modifiers),c=function(t){return t.name},u=new Set,r.filter((function(t){var e=c(t);if(!u.has(e))return u.add(e),!0})))),ve(a.options.placement)===Kt&&(a.orderedModifiers.find((function(t){return"flip"===t.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" ")));var m=ke(e);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some((function(t){return parseFloat(t)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var o=s({state:a,name:e,instance:h,options:n});l.push(o||function(){})}})),h.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(vi(e,i)){a.rects={reference:ui(e,Ne(i),"fixed"===a.options.strategy),popper:Oe(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0,s=0;s<a.orderedModifiers.length;s++){if("production"!==process.env.NODE_ENV&&(n+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var o=a.orderedModifiers[s],r=o.fn,l=o.options,d=void 0===l?{}:l,u=o.name;"function"==typeof r&&(a=r({state:a,options:d,name:u,instance:h})||a)}else a.reset=!1,s=-1}}else"production"!==process.env.NODE_ENV&&console.error(_i)}},update:(s=function(){return new Promise((function(t){h.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(s())}))}))),r}),destroy:function(){d(),c=!0}};if(!vi(t,e))return"production"!==process.env.NODE_ENV&&console.error(_i),h;function d(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),h}}var wi=yi(),Ei=yi({defaultModifiers:[Ve,hi,Fe,be]}),Ai=yi({defaultModifiers:[Ve,hi,Fe,be,ci,oi,di,He,li]}),Ti=Object.freeze({__proto__:null,afterMain:le,afterRead:oe,afterWrite:de,applyStyles:be,arrow:He,auto:Kt,basePlacements:Qt,beforeMain:re,beforeRead:ne,beforeWrite:ce,bottom:Vt,clippingParents:Gt,computeStyles:Fe,createPopper:Ai,createPopperBase:wi,createPopperLite:Ei,detectOverflow:ni,end:Ut,eventListeners:Ve,flip:oi,hide:li,left:Yt,main:ae,modifierPhases:ue,offset:ci,placements:ie,popper:Zt,popperGenerator:yi,popperOffsets:hi,preventOverflow:di,read:se,reference:te,right:Rt,start:Xt,top:zt,variationPlacements:ee,viewport:Jt,write:he});const Ci="dropdown",Oi=".bs.dropdown",xi=".data-api",ki="ArrowUp",Li="ArrowDown",Si=`hide${Oi}`,Di=`hidden${Oi}`,$i=`show${Oi}`,Ni=`shown${Oi}`,Ii=`click${Oi}${xi}`,Pi=`keydown${Oi}${xi}`,ji=`keyup${Oi}${xi}`,Mi="show",Hi='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',qi=`${Hi}.${Mi}`,Bi=".dropdown-menu",Wi=p()?"top-end":"top-start",Fi=p()?"top-start":"top-end",zi=p()?"bottom-end":"bottom-start",Vi=p()?"bottom-start":"bottom-end",Ri=p()?"left-start":"right-start",Yi=p()?"right-start":"left-start",Ki={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Qi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Xi extends F{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=U.next(this._element,Bi)[0]||U.prev(this._element,Bi)[0]||U.findOne(Bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ki}static get DefaultType(){return Qi}static get NAME(){return Ci}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!I.trigger(this._element,$i,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))I.on(t,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Mi),this._element.classList.add(Mi),I.trigger(this._element,Ni,t)}}hide(){if(l(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!I.trigger(this._element,Si,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.off(t,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Mi),this._element.classList.remove(Mi),this._element.setAttribute("aria-expanded","false"),B.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,Di,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!o(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Ci.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===Ti)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:o(this._config.reference)?t=r(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=Ai(t,this._menu,e)}_isShown(){return this._menu.classList.contains(Mi)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return Ri;if(t.classList.contains("dropstart"))return Yi;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Fi:Wi:e?Vi:zi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(B.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const i=U.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));i.length&&b(i,e,t===Li,!i.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Xi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=U.find(qi);for(const i of e){const e=Xi.getInstance(i);if(!e||!1===e._config.autoClose)continue;const n=t.composedPath(),s=n.includes(e._menu);if(n.includes(e._element)||"inside"===e._config.autoClose&&!s||"outside"===e._config.autoClose&&s)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=[ki,Li].includes(t.key);if(!n&&!i)return;if(e&&!i)return;t.preventDefault();const s=this.matches(Hi)?this:U.prev(this,Hi)[0]||U.next(this,Hi)[0]||U.findOne(Hi,t.delegateTarget.parentNode),o=Xi.getOrCreateInstance(s);if(n)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}I.on(document,Pi,Hi,Xi.dataApiKeydownHandler),I.on(document,Pi,Bi,Xi.dataApiKeydownHandler),I.on(document,Ii,Xi.clearMenus),I.on(document,ji,Xi.clearMenus),I.on(document,Ii,Hi,(function(t){t.preventDefault(),Xi.getOrCreateInstance(this).toggle()})),g(Xi);const Ui={},Gi=".carousel-item.active";class Ji extends F{constructor(t,e){super(t,e),this.carousel=U.findOne(".carousel",this.element),this.carouselPager=U.findOne(".carousel-pager span",this.element),this.carouselStartIndex=t.getAttribute("data-gallery-start"),this.carouselActiveItem=U.find(".carousel-item",this.carousel)[this.carouselStartIndex],this.carouselPager.textContent=Number(this.carouselStartIndex)+1,this.modal=U.findOne(".modal",this.element),this.addEventListeners(),this.carouselLazyLoad(this.carouselActiveItem)}static get NAME(){return"gallery"}setSlide(t){const e=U.findOne(Gi,this.carousel),i=t.relatedTarget;this.carouselLazyLoad(i),this.carouselPager.textContent=t.to+1,this.stopVideo(e)}stopSlide(){const t=U.findOne(Gi,this.carousel);this.stopVideo(t)}stopVideo(t){const e=U.findOne("iframe",t),i=U.findOne("video",t);e?e.src=e.dataset.src:i&&i.pause()}carouselLazyLoad(t){const e=U.findOne("[data-src]",t);e&&!e.src&&(e.src=e.dataset.src)}addEventListeners(){I.on(this.carousel,"slide.bs.carousel",(t=>this.setSlide(t))),I.on(this.modal,"hide.bs.modal",(t=>this.stopSlide(t)))}static get Default(){return Ui}static jQueryInterface(t){return this.each((function(){const e=Ji.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}I.on(document,"click.bs.gallery.data-api",".bcl-gallery__grid a, .bcl-gallery__mobile-view-more",(t=>{const e=t.target.closest("div.bcl-gallery"),i=t.target.parentNode.getAttribute("data-bs-slide-to");e.dataset.galleryStart=i,Ji.getOrCreateInstance(e)})),g(Ji);const Zi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",tn=".sticky-top",en="padding-right",nn="margin-right";class sn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,en,(e=>e+t)),this._setElementAttributes(Zi,en,(e=>e+t)),this._setElementAttributes(tn,nn,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,en),this._resetElementAttributes(Zi,en),this._resetElementAttributes(tn,nn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const n=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+n)return;this._saveInitialAttribute(t,e);const s=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(s))}px`)}))}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&B.setDataAttribute(t,e,i)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const i=B.getDataAttribute(t,e);null!==i?(B.removeDataAttribute(t,e),t.style.setProperty(e,i)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of U.find(t,this._element))e(i)}}const on="backdrop",rn="show",an=`mousedown.bs.${on}`,ln={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class hn extends W{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return on}show(t){if(!this._config.isVisible)return void m(t);this._append();const e=this._getElement();this._config.isAnimated&&d(e),e.classList.add(rn),this._emulateAnimation((()=>{m(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(rn),this._emulateAnimation((()=>{this.dispose(),m(t)}))):m(t)}dispose(){this._isAppended&&(I.off(this._element,an),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),I.on(t,an,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){_(t,this._getElement(),this._config.isAnimated)}}const dn=".bs.focustrap",un=`focusin${dn}`,fn=`keydown.tab${dn}`,pn="backward",gn={autofocus:!0,trapElement:null},mn={autofocus:"boolean",trapElement:"element"};class _n extends W{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return gn}static get DefaultType(){return mn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,dn),I.on(document,un,(t=>this._handleFocusin(t))),I.on(document,fn,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,dn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const i=U.focusableChildren(e);0===i.length?e.focus():this._lastTabNavDirection===pn?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?pn:"forward")}}const bn=".bs.modal",vn=`hide${bn}`,yn=`hidePrevented${bn}`,wn=`hidden${bn}`,En=`show${bn}`,An=`shown${bn}`,Tn=`resize${bn}`,Cn=`click.dismiss${bn}`,On=`mousedown.dismiss${bn}`,xn=`keydown.dismiss${bn}`,kn=`click${bn}.data-api`,Ln="modal-open",Sn="show",Dn="modal-static",$n={backdrop:!0,focus:!0,keyboard:!0},Nn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class In extends F{constructor(t,e){super(t,e),this._dialog=U.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new sn,this._addEventListeners()}static get Default(){return $n}static get DefaultType(){return Nn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||I.trigger(this._element,En,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ln),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,vn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Sn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])I.off(t,bn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new hn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=U.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),d(this._element),this._element.classList.add(Sn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,An,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,xn,(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),I.on(window,Tn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,On,(t=>{I.one(this._element,Cn,(e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Ln),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,wn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,yn).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Dn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Dn),this._queueCallback((()=>{this._element.classList.remove(Dn),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=p()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const i=In.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}I.on(document,kn,'[data-bs-toggle="modal"]',(function(t){const e=n(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),I.one(e,En,(t=>{t.defaultPrevented||I.one(e,wn,(()=>{a(this)&&this.focus()}))}));const i=U.findOne(".modal.show");i&&In.getInstance(i).hide(),In.getOrCreateInstance(e).toggle(this)})),z(In),g(In);const Pn=".bs.offcanvas",jn=".data-api",Mn=`load${Pn}${jn}`,Hn="show",qn="showing",Bn="hiding",Wn=".offcanvas.show",Fn=`show${Pn}`,zn=`shown${Pn}`,Vn=`hide${Pn}`,Rn=`hidePrevented${Pn}`,Yn=`hidden${Pn}`,Kn=`resize${Pn}`,Qn=`click${Pn}${jn}`,Xn=`keydown.dismiss${Pn}`,Un={backdrop:!0,keyboard:!0,scroll:!1},Gn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Jn extends F{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Un}static get DefaultType(){return Gn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||I.trigger(this._element,Fn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new sn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(qn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Hn),this._element.classList.remove(qn),I.trigger(this._element,zn,{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,Vn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Bn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Hn,Bn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new sn).reset(),I.trigger(this._element,Yn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new hn({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Rn)}:null})}_initializeFocusTrap(){return new _n({trapElement:this._element})}_addEventListeners(){I.on(this._element,Xn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Rn))}))}static jQueryInterface(t){return this.each((function(){const e=Jn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}I.on(document,Qn,'[data-bs-toggle="offcanvas"]',(function(t){const e=n(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;I.one(e,Yn,(()=>{a(this)&&this.focus()}));const i=U.findOne(Wn);i&&i!==e&&Jn.getInstance(i).hide(),Jn.getOrCreateInstance(e).toggle(this)})),I.on(window,Mn,(()=>{for(const t of U.find(Wn))Jn.getOrCreateInstance(t).show()})),I.on(window,Kn,(()=>{for(const t of U.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Jn.getOrCreateInstance(t).hide()})),z(Jn),g(Jn);const Zn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ts=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,es=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,is=(t,e)=>{const i=t.nodeName.toLowerCase();return e.includes(i)?!Zn.has(i)||Boolean(ts.test(t.nodeValue)||es.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(i)))},ns={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ss={allowList:ns,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},os={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},rs={entry:"(string|element|function|null)",selector:"(string|element)"};class as extends W{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return ss}static get DefaultType(){return os}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,i]of Object.entries(this._config.content))this._setContent(t,i,e);const e=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&e.classList.add(...i.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,i]of Object.entries(t))super._typeCheckConfig({selector:e,entry:i},rs)}_setContent(t,e,i){const n=U.findOne(i,t);n&&((e=this._resolvePossibleFunction(e))?o(e)?this._putElementInTemplate(r(e),n):this._config.html?n.innerHTML=this._maybeSanitize(e):n.textContent=e:n.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const n=(new window.DOMParser).parseFromString(t,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const t of s){const i=t.nodeName.toLowerCase();if(!Object.keys(e).includes(i)){t.remove();continue}const n=[].concat(...t.attributes),s=[].concat(e["*"]||[],e[i]||[]);for(const e of n)is(e,s)||t.removeAttribute(e.nodeName)}return n.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const ls=new Set(["sanitize","allowList","sanitizeFn"]),cs="fade",hs="show",ds=".modal",us="hide.bs.modal",fs="hover",ps="focus",gs={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},ms={allowList:ns,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},_s={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class bs extends F{constructor(t,e){if(void 0===Ti)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ms}static get DefaultType(){return _s}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(ds),us,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const t=I.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(hs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.on(t,"mouseover",h);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(hs),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.off(t,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[ps]=!1,this._activeTrigger[fs]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(cs,hs),e.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",i),this._isAnimated()&&e.classList.add(cs),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new as({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cs)}_isShown(){return this.tip&&this.tip.classList.contains(hs)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,i=gs[e.toUpperCase()];return Ai(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===fs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===fs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?ps:fs]=!0,e._enter()})),I.on(this._element,i,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?ps:fs]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(ds),us,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=B.getDataAttributes(this._element);for(const t of Object.keys(e))ls.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:r(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=bs.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(bs);const vs={...bs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ys={...bs.DefaultType,content:"(null|string|element|function)"};class ws extends bs{static get Default(){return vs}static get DefaultType(){return ys}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=ws.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(ws);const Es=".bs.scrollspy",As=`activate${Es}`,Ts=`click${Es}`,Cs=`load${Es}.data-api`,Os="active",xs="[href]",ks=".nav-link",Ls=`${ks}, .nav-item > ${ks}, .list-group-item`,Ss={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ds={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};let $s=class extends F{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ss}static get DefaultType(){return Ds}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=r(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(I.off(this._config.target,Ts),I.on(this._config.target,Ts,xs,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const i=this._rootElement||window,n=e.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(o),!n)return}else s||t||i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=U.find(xs,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=U.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Os),this._activateParents(t),I.trigger(this._element,As,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))U.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Os);else for(const e of U.parents(t,".nav, .list-group"))for(const t of U.prev(e,Ls))t.classList.add(Os)}_clearActiveClass(t){t.classList.remove(Os);const e=U.find(`${xs}.${Os}`,t);for(const t of e)t.classList.remove(Os)}static jQueryInterface(t){return this.each((function(){const e=$s.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}};function Ns(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Is(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}I.on(window,Cs,(()=>{for(const t of U.find('[data-bs-spy="scroll"]'))$s.getOrCreateInstance(t)})),g($s);const Ps={setDataAttribute(t,e,i){t.setAttribute(`data-bs-${Is(e)}`,i)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Is(e)}`)},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter((t=>t.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=Ns(t.dataset[i])})),e},getDataAttribute:(t,e)=>Ns(t.getAttribute(`data-bs-${Is(e)}`)),offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},js=".bs.scrollspy",Ms={offset:10,method:"auto",target:""},Hs=`activate${js}`,qs=`scroll${js}`,Bs=`load${js}.data-api`,Ws="dropdown-item",Fs="active",zs=".nav-link",Vs=".list-group-item",Rs=`${zs}, ${Vs}, .${Ws}`,Ys="position";class Ks extends F{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,I.on(this._scrollElement,qs,(()=>this._process())),this.refresh(),this._process()}static get Default(){return Ms}static get NAME(){return"scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ys,e="auto"===this._config.method?t:this._config.method,n=e===Ys?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),U.find(Rs,this._config.target).map((t=>{const s=i(t),o=s?U.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[Ps[e](o).top+n,s]}return null})).filter((t=>t)).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){I.off(this._scrollElement,js),super.dispose()}_getConfig(t){return(t={...Ms,...Ps.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=r(t.target)||document.documentElement,t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=Rs.split(",").map((e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`)),i=U.findOne(e.join(","),this._config.target);i.classList.add(Fs),i.classList.contains(Ws)?U.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Fs):U.parents(i,".nav, .list-group").forEach((t=>{U.prev(t,`${zs}, ${Vs}`).forEach((t=>t.classList.add(Fs))),U.prev(t,".nav-item").forEach((t=>{U.children(t,zs).forEach((t=>t.classList.add(Fs)))}))})),I.trigger(this._scrollElement,Hs,{relatedTarget:t})}_clear(){U.find(Rs,this._config.target).filter((t=>t.classList.contains(Fs))).forEach((t=>t.classList.remove(Fs)))}static jQueryInterface(t){return this.each((function(){const e=Ks.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}I.on(window,Bs,(()=>{U.find('[data-bs-spy="scroll"]').forEach((t=>new Ks(t)))})),g(Ks);const Qs=".bs.tab",Xs=`hide${Qs}`,Us=`hidden${Qs}`,Gs=`show${Qs}`,Js=`shown${Qs}`,Zs=`click${Qs}`,to=`keydown${Qs}`,eo=`load${Qs}`,io="ArrowLeft",no="ArrowRight",so="ArrowUp",oo="ArrowDown",ro="active",ao="fade",lo="show",co=":not(.dropdown-toggle)",ho='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uo=`.nav-link${co}, .list-group-item${co}, [role="tab"]${co}, ${ho}`,fo=`.${ro}[data-bs-toggle="tab"], .${ro}[data-bs-toggle="pill"], .${ro}[data-bs-toggle="list"]`;class po extends F{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,to,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),i=e?I.trigger(e,Xs,{relatedTarget:t}):null;I.trigger(t,Gs,{relatedTarget:e}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(ro),this._activate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),I.trigger(t,Js,{relatedTarget:e})):t.classList.add(lo)}),t,t.classList.contains(ao)))}_deactivate(t,e){t&&(t.classList.remove(ro),t.blur(),this._deactivate(n(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),I.trigger(t,Us,{relatedTarget:e})):t.classList.remove(lo)}),t,t.classList.contains(ao)))}_keydown(t){if(![io,no,so,oo].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[no,oo].includes(t.key),i=b(this._getChildren().filter((t=>!l(t))),t.target,e,!0);i&&(i.focus({preventScroll:!0}),po.getOrCreateInstance(i).show())}_getChildren(){return U.find(uo,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=n(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`#${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const s=U.findOne(t,i);s&&s.classList.toggle(n,e)};n(".dropdown-toggle",ro),n(".dropdown-menu",lo),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains(ro)}_getInnerElement(t){return t.matches(uo)?t:U.findOne(uo,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=po.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}I.on(document,Zs,ho,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||po.getOrCreateInstance(this).show()})),I.on(window,eo,(()=>{for(const t of U.find(fo))po.getOrCreateInstance(t)})),g(po);const go=".bs.toast",mo=`mouseover${go}`,_o=`mouseout${go}`,bo=`focusin${go}`,vo=`focusout${go}`,yo=`hide${go}`,wo=`hidden${go}`,Eo=`show${go}`,Ao=`shown${go}`,To="hide",Co="show",Oo="showing",xo={animation:"boolean",autohide:"boolean",delay:"number"},ko={animation:!0,autohide:!0,delay:5e3};class Lo extends F{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ko}static get DefaultType(){return xo}static get NAME(){return"toast"}show(){I.trigger(this._element,Eo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(To),d(this._element),this._element.classList.add(Co,Oo),this._queueCallback((()=>{this._element.classList.remove(Oo),I.trigger(this._element,Ao),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,yo).defaultPrevented||(this._element.classList.add(Oo),this._queueCallback((()=>{this._element.classList.add(To),this._element.classList.remove(Oo,Co),I.trigger(this._element,wo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Co),super.dispose()}isShown(){return this._element.classList.contains(Co)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,mo,(t=>this._onInteraction(t,!0))),I.on(this._element,_o,(t=>this._onInteraction(t,!1))),I.on(this._element,bo,(t=>this._onInteraction(t,!0))),I.on(this._element,vo,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Lo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return z(Lo),g(Lo),{Alert:K,Button:X,Carousel:kt,Collapse:Ft,Dropdown:Xi,Gallery:Ji,Modal:In,Offcanvas:Jn,Popover:ws,ScrollSpyV2:$s,ScrollSpy:Ks,Tab:po,Toast:Lo,Tooltip:bs}}));
2
2
  //# sourceMappingURL=oe-bcl-default.umd.min.js.map