@devtron-labs/devtron-fe-common-lib 0.0.51 → 0.0.52-beta-1

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 (507) hide show
  1. package/dist/BaseInput-8101e714.js +1686 -0
  2. package/dist/CodeEditor-68cd2e5b.js +103676 -0
  3. package/dist/Common/AddCDButton/AddCDButton.d.ts +3 -3
  4. package/dist/Common/AddCDButton/AddCDButton.js +61 -0
  5. package/dist/Common/AddCDButton/index.d.ts +2 -2
  6. package/dist/Common/AddCDButton/index.js +6 -0
  7. package/dist/Common/AddCDButton/types.d.ts +26 -26
  8. package/dist/Common/AddCDButton/types.js +1 -0
  9. package/dist/Common/AddCDButton/utils.d.ts +2 -2
  10. package/dist/Common/AddCDButton/utils.js +19 -0
  11. package/dist/Common/Api.d.ts +5 -5
  12. package/dist/Common/Api.js +167 -0
  13. package/dist/Common/AppStatus/AppStatus.d.ts +3 -3
  14. package/dist/Common/AppStatus/AppStatus.js +37 -0
  15. package/dist/Common/AppStatus/constants.d.ts +51 -51
  16. package/dist/Common/AppStatus/constants.js +37 -0
  17. package/dist/Common/AppStatus/index.d.ts +1 -1
  18. package/dist/Common/AppStatus/index.js +4 -0
  19. package/dist/Common/AppStatus/types.d.ts +12 -12
  20. package/dist/Common/AppStatus/types.js +1 -0
  21. package/dist/Common/AppStatus/utils.d.ts +1 -1
  22. package/dist/Common/AppStatus/utils.js +8 -0
  23. package/dist/Common/BreadCrumb/BreadCrumb.d.ts +5 -5
  24. package/dist/Common/BreadCrumb/BreadCrumb.js +71 -0
  25. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +17 -17
  26. package/dist/Common/BreadCrumb/BreadcrumbStore.js +22 -0
  27. package/dist/Common/BreadCrumb/Types.d.ts +28 -28
  28. package/dist/Common/BreadCrumb/Types.js +1 -0
  29. package/dist/Common/CIPipeline.Types.d.ts +265 -265
  30. package/dist/Common/CIPipeline.Types.js +10 -0
  31. package/dist/Common/ChartVersionAndTypeSelector.d.ts +3 -4
  32. package/dist/Common/ChartVersionAndTypeSelector.js +61 -0
  33. package/dist/Common/Checkbox.d.ts +5 -5
  34. package/dist/Common/Checkbox.js +28 -0
  35. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +10 -10
  36. package/dist/Common/ClipboardButton/ClipboardButton.js +40 -0
  37. package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.d.ts +1 -0
  38. package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.js +27 -0
  39. package/dist/Common/ClipboardButton/types.d.ts +8 -8
  40. package/dist/Common/ClipboardButton/types.js +1 -0
  41. package/dist/Common/CodeEditor/CodeEditor.d.ts +47 -0
  42. package/dist/Common/CodeEditor/CodeEditor.js +15 -0
  43. package/dist/Common/Common.service.d.ts +20 -20
  44. package/dist/Common/Common.service.js +191 -0
  45. package/dist/Common/Constants.d.ts +73 -66
  46. package/dist/Common/Constants.js +234 -0
  47. package/dist/Common/CustomInput/CustomInput.d.ts +3 -3
  48. package/dist/Common/CustomInput/CustomInput.js +80 -0
  49. package/dist/Common/CustomInput/Types.d.ts +29 -29
  50. package/dist/Common/CustomInput/Types.js +1 -0
  51. package/dist/Common/CustomInput/index.d.ts +2 -2
  52. package/dist/Common/CustomInput/index.js +4 -0
  53. package/dist/Common/CustomTagSelector/PropagateTagInfo.d.ts +4 -4
  54. package/dist/Common/CustomTagSelector/PropagateTagInfo.js +43 -0
  55. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +3 -3
  56. package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +58 -0
  57. package/dist/Common/CustomTagSelector/TagDetails.d.ts +2 -3
  58. package/dist/Common/CustomTagSelector/TagDetails.js +65 -0
  59. package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +2 -3
  60. package/dist/Common/CustomTagSelector/TagLabelSelect.js +50 -0
  61. package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +2 -3
  62. package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +121 -0
  63. package/dist/Common/CustomTagSelector/TagSelector.utils.d.ts +12 -12
  64. package/dist/Common/CustomTagSelector/TagSelector.utils.js +61 -0
  65. package/dist/Common/CustomTagSelector/Types.d.ts +68 -68
  66. package/dist/Common/CustomTagSelector/Types.js +1 -0
  67. package/dist/Common/CustomTagSelector/ValidationRules.d.ts +10 -10
  68. package/dist/Common/CustomTagSelector/ValidationRules.js +35 -0
  69. package/dist/Common/CustomTagSelector/index.d.ts +6 -6
  70. package/dist/Common/CustomTagSelector/index.js +12 -0
  71. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +15 -15
  72. package/dist/Common/DebouncedSearch/DebouncedSearch.js +7 -0
  73. package/dist/Common/DebouncedSearch/Types.d.ts +14 -14
  74. package/dist/Common/DebouncedSearch/Types.js +1 -0
  75. package/dist/Common/DebouncedSearch/Utils.d.ts +1 -1
  76. package/dist/Common/DebouncedSearch/Utils.js +19 -0
  77. package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.d.ts +1 -0
  78. package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.js +33 -0
  79. package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +4 -4
  80. package/dist/Common/DeleteComponentModal/DeleteComponent.js +63 -0
  81. package/dist/Common/DeleteComponentModal/types.d.ts +15 -15
  82. package/dist/Common/DeleteComponentModal/types.js +1 -0
  83. package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +3 -3
  84. package/dist/Common/DevtronProgressing/DevtronProgressing.js +98 -0
  85. package/dist/Common/DevtronProgressing/index.d.ts +1 -1
  86. package/dist/Common/DevtronProgressing/index.js +4 -0
  87. package/dist/Common/DevtronProgressing/types.d.ts +4 -4
  88. package/dist/Common/DevtronProgressing/types.js +1 -0
  89. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +9 -9
  90. package/dist/Common/Dialogs/ConfirmationDialog.js +24 -0
  91. package/dist/Common/Dialogs/DeleteDialog.d.ts +5 -5
  92. package/dist/Common/Dialogs/DeleteDialog.js +49 -0
  93. package/dist/Common/Dialogs/DialogForm.d.ts +14 -14
  94. package/dist/Common/Dialogs/DialogForm.js +63 -0
  95. package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +3 -3
  96. package/dist/Common/Dialogs/ForceDeleteDialog.js +23 -0
  97. package/dist/Common/Dialogs/Types.d.ts +45 -45
  98. package/dist/Common/Dialogs/Types.js +1 -0
  99. package/dist/Common/Dialogs/index.d.ts +4 -4
  100. package/dist/Common/Dialogs/index.js +11 -0
  101. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +3 -0
  102. package/dist/Common/DraggableWrapper/DraggableButton.js +16 -0
  103. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +9 -0
  104. package/dist/Common/DraggableWrapper/DraggableWrapper.js +1499 -0
  105. package/dist/Common/DraggableWrapper/index.d.ts +3 -0
  106. package/dist/Common/DraggableWrapper/index.js +8 -0
  107. package/dist/Common/DraggableWrapper/types.d.ts +23 -0
  108. package/dist/Common/DraggableWrapper/types.js +4 -0
  109. package/dist/Common/Drawer/Drawer.d.ts +14 -16
  110. package/dist/Common/Drawer/Drawer.js +22 -0
  111. package/dist/Common/EmptyState/EmptyState.d.ts +24 -25
  112. package/dist/Common/EmptyState/EmptyState.js +32 -0
  113. package/dist/Common/EmptyState/GenericEmptyState.d.ts +4 -5
  114. package/dist/Common/EmptyState/GenericEmptyState.js +52 -0
  115. package/dist/Common/Error.d.ts +17 -17
  116. package/dist/Common/Error.js +49 -0
  117. package/dist/Common/ErrorScreenNotFound.d.ts +3 -3
  118. package/dist/Common/ErrorScreenNotFound.js +23 -0
  119. package/dist/Common/Grid/Grid.d.ts +3 -3
  120. package/dist/Common/Grid/Grid.js +31 -0
  121. package/dist/Common/Grid/types.d.ts +10 -10
  122. package/dist/Common/Grid/types.js +1 -0
  123. package/dist/Common/Helper.d.ts +61 -60
  124. package/dist/Common/Helper.js +38 -0
  125. package/dist/Common/Hooks/UseClickOutside/UseClickOutside.d.ts +1 -1
  126. package/dist/Common/Hooks/UseClickOutside/UseClickOutside.js +14 -0
  127. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +6 -6
  128. package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +16 -0
  129. package/dist/Common/Hooks/UseSuperAdmin/types.d.ts +3 -3
  130. package/dist/Common/Hooks/UseSuperAdmin/types.js +1 -0
  131. package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +4 -0
  132. package/dist/Common/Hooks/UseWindowSize/UseWindowSize.js +17 -0
  133. package/dist/Common/Hooks/index.d.ts +3 -2
  134. package/dist/Common/Hooks/index.js +8 -0
  135. package/dist/Common/ImageTags.Types.d.ts +40 -40
  136. package/dist/Common/ImageTags.Types.js +1 -0
  137. package/dist/Common/ImageTags.d.ts +3 -4
  138. package/dist/Common/ImageTags.js +381 -0
  139. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +4 -5
  140. package/dist/Common/InfoColorBar/InfoColourbar.js +65 -0
  141. package/dist/Common/Modals/Modal.d.ts +3 -3
  142. package/dist/Common/Modals/Modal.js +48 -0
  143. package/dist/Common/Modals/OpaqueModal.d.ts +12 -12
  144. package/dist/Common/Modals/OpaqueModal.js +32 -0
  145. package/dist/Common/Modals/VisibleModal.d.ts +15 -15
  146. package/dist/Common/Modals/VisibleModal.js +31 -0
  147. package/dist/Common/Modals/VisibleModal2.d.ts +12 -12
  148. package/dist/Common/Modals/VisibleModal2.js +31 -0
  149. package/dist/Common/MultiSelectCustomization.d.ts +37 -37
  150. package/dist/Common/MultiSelectCustomization.js +97 -0
  151. package/dist/Common/Policy.Types.d.ts +56 -56
  152. package/dist/Common/Policy.Types.js +6 -0
  153. package/dist/Common/PopupMenu.d.ts +8 -8
  154. package/dist/Common/PopupMenu.js +148 -0
  155. package/dist/Common/Progressing.d.ts +4 -4
  156. package/dist/Common/Progressing.js +52 -0
  157. package/dist/Common/RJSF/Form.d.ts +2 -4
  158. package/dist/Common/RJSF/Form.js +9888 -0
  159. package/dist/Common/RJSF/common/FieldRow.d.ts +5 -6
  160. package/dist/Common/RJSF/common/FieldRow.js +25 -0
  161. package/dist/Common/RJSF/common/types.d.ts +8 -8
  162. package/dist/Common/RJSF/common/types.js +1 -0
  163. package/dist/Common/RJSF/config.d.ts +4 -4
  164. package/dist/Common/RJSF/config.js +33 -0
  165. package/dist/Common/RJSF/constants.d.ts +7 -7
  166. package/dist/Common/RJSF/constants.js +10 -0
  167. package/dist/Common/RJSF/index.d.ts +3 -3
  168. package/dist/Common/RJSF/index.js +7 -0
  169. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +2 -3
  170. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.js +30 -0
  171. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +2 -3
  172. package/dist/Common/RJSF/templates/ArrayFieldTemplate.js +63 -0
  173. package/dist/Common/RJSF/templates/BaseInput.d.ts +2 -3
  174. package/dist/Common/RJSF/templates/BaseInput.js +8 -0
  175. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +2 -3
  176. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.js +18 -0
  177. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +2 -3
  178. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.js +6 -0
  179. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +2 -3
  180. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.js +19 -0
  181. package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +3 -3
  182. package/dist/Common/RJSF/templates/ButtonTemplates/index.js +8 -0
  183. package/dist/Common/RJSF/templates/Description.d.ts +2 -3
  184. package/dist/Common/RJSF/templates/Description.js +9 -0
  185. package/dist/Common/RJSF/templates/Field.d.ts +2 -3
  186. package/dist/Common/RJSF/templates/Field.js +21 -0
  187. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +2 -3
  188. package/dist/Common/RJSF/templates/FieldErrorTemplate.js +15 -0
  189. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +2 -3
  190. package/dist/Common/RJSF/templates/ObjectFieldTemplate.js +76 -0
  191. package/dist/Common/RJSF/templates/TitleField.d.ts +2 -3
  192. package/dist/Common/RJSF/templates/TitleField.js +8 -0
  193. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +2 -3
  194. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.js +44 -0
  195. package/dist/Common/RJSF/templates/index.d.ts +10 -10
  196. package/dist/Common/RJSF/templates/index.js +26 -0
  197. package/dist/Common/RJSF/types.d.ts +3 -3
  198. package/dist/Common/RJSF/types.js +1 -0
  199. package/dist/Common/RJSF/utils.d.ts +25 -26
  200. package/dist/Common/RJSF/utils.js +98 -0
  201. package/dist/Common/RJSF/widgets/Checkbox.d.ts +2 -3
  202. package/dist/Common/RJSF/widgets/Checkbox.js +39 -0
  203. package/dist/Common/RJSF/widgets/Select.d.ts +2 -3
  204. package/dist/Common/RJSF/widgets/Select.js +56 -0
  205. package/dist/Common/RJSF/widgets/index.d.ts +2 -2
  206. package/dist/Common/RJSF/widgets/index.js +6 -0
  207. package/dist/Common/RadioGroup/RadioGroup.d.ts +16 -17
  208. package/dist/Common/RadioGroup/RadioGroup.js +76 -0
  209. package/dist/Common/RadioGroup.d.ts +8 -8
  210. package/dist/Common/RadioGroup.js +47 -0
  211. package/dist/Common/Reload.d.ts +3 -3
  212. package/dist/Common/Reload.js +16 -0
  213. package/dist/Common/ResizableTextarea.d.ts +3 -3
  214. package/dist/Common/ResizableTextarea.js +60 -0
  215. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +3 -4
  216. package/dist/Common/Security/ScanVulnerabilitiesTable.js +49 -0
  217. package/dist/Common/Select/Select.d.ts +4 -0
  218. package/dist/Common/Select/Select.js +131 -0
  219. package/dist/Common/Select/types.d.ts +29 -0
  220. package/dist/Common/Select/types.js +1 -0
  221. package/dist/Common/ServerError.d.ts +15 -15
  222. package/dist/Common/ServerError.js +26 -0
  223. package/dist/Common/TippyCustomized.d.ts +3 -4
  224. package/dist/Common/TippyCustomized.js +10 -0
  225. package/dist/Common/ToastBody.d.ts +23 -23
  226. package/dist/Common/ToastBody.js +41 -0
  227. package/dist/Common/Toggle/Toggle.d.ts +12 -14
  228. package/dist/Common/Toggle/Toggle.js +40 -0
  229. package/dist/Common/Types.d.ts +677 -677
  230. package/dist/Common/Types.js +24 -0
  231. package/dist/Common/UseWindowSize.d.ts +4 -0
  232. package/dist/Common/UseWindowSize.js +20 -0
  233. package/dist/Common/index.d.ts +50 -47
  234. package/dist/Common/index.js +219 -0
  235. package/dist/DebouncedSearch-065f3ac2.js +58 -0
  236. package/dist/Helper-1f1cf2ba.js +9824 -0
  237. package/dist/TippyCustomized-0d0b9a6f.js +124 -0
  238. package/dist/_commonjsHelpers-c5d32002.js +30 -0
  239. package/dist/abap-9f67f57a.js +1314 -0
  240. package/dist/apex-ff62e532.js +315 -0
  241. package/dist/assets/CodeEditor.css +1 -0
  242. package/dist/assets/Drawer.css +1 -0
  243. package/dist/assets/Form.css +1 -0
  244. package/dist/assets/InfoColourbar.css +1 -0
  245. package/dist/assets/RadioGroup.css +1 -0
  246. package/dist/assets/ScanVulnerabilitiesTable.css +1 -0
  247. package/dist/assets/Select.css +1 -0
  248. package/dist/assets/TippyCustomized.css +1 -0
  249. package/dist/assets/Toggle.css +1 -0
  250. package/dist/assets/editor.worker-d26000ef.js +9 -0
  251. package/dist/assets/emptyState.css +1 -0
  252. package/dist/assets/json.worker-f23a4654.js +40 -0
  253. package/dist/assets/yaml.worker-64fecd27.js +463 -0
  254. package/dist/azcli-31e64a7f.js +74 -0
  255. package/dist/bat-0ffe897e.js +95 -0
  256. package/dist/bicep-3414a2b1.js +108 -0
  257. package/dist/cameligo-df1f3f25.js +168 -0
  258. package/dist/canExpand-ab1f6741.js +10 -0
  259. package/dist/clojure-65b0f010.js +754 -0
  260. package/dist/coffee-437f0fba.js +228 -0
  261. package/dist/cpp-66843dd5.js +390 -0
  262. package/dist/csharp-621d9a49.js +320 -0
  263. package/dist/csp-de0d5244.js +57 -0
  264. package/dist/css-7cd5ed4c.js +186 -0
  265. package/dist/cssMode-7289250b.js +1446 -0
  266. package/dist/cypher-70ad96fe.js +262 -0
  267. package/dist/dart-33ae3739.js +270 -0
  268. package/dist/dockerfile-f2274a50.js +132 -0
  269. package/dist/ecl-3b8294a3.js +454 -0
  270. package/dist/elixir-b9dcc73a.js +489 -0
  271. package/dist/englishStringTranslator-2c9a30fc.js +17 -0
  272. package/dist/enums-d0bd3f97.js +6618 -0
  273. package/dist/extends-70f3d2a3.js +13 -0
  274. package/dist/flow9-bdde8316.js +141 -0
  275. package/dist/freemarker2-3b903d5b.js +643 -0
  276. package/dist/fsharp-eac2e449.js +210 -0
  277. package/dist/getSubmitButtonOptions-a1be9bb0.js +20 -0
  278. package/dist/getTemplate-91d3260d.js +11 -0
  279. package/dist/getUiOptions-844b45a7.js +10 -0
  280. package/dist/go-d12ed8d4.js +208 -0
  281. package/dist/graphql-c7356b69.js +141 -0
  282. package/dist/handlebars-702717e9.js +391 -0
  283. package/dist/hcl-e883a0d4.js +177 -0
  284. package/dist/html-9a684e15.js +281 -0
  285. package/dist/htmlMode-3e336aa8.js +1456 -0
  286. package/dist/ic-add-4787ded5.js +5 -0
  287. package/dist/ic-chevron-down-eb7fd953.js +6 -0
  288. package/dist/ic-copy-118b83dc.js +5 -0
  289. package/dist/ic-cross-0e71861d.js +6 -0
  290. package/dist/ic-error-exclamation-5f9af461.js +5 -0
  291. package/dist/ic-info-filled-31a15add.js +6 -0
  292. package/dist/ic-info-outlined-8fa45e87.js +5 -0
  293. package/dist/ic-warning-42534af1.js +5 -0
  294. package/dist/idGenerators-0b33693c.js +35 -0
  295. package/dist/index-5a231705.js +17417 -0
  296. package/dist/index-c855d89c.js +173 -0
  297. package/dist/index.d.ts +1 -1
  298. package/dist/index.js +218 -28498
  299. package/dist/ini-425ab711.js +68 -0
  300. package/dist/inject-tag-824bf92c.js +5 -0
  301. package/dist/java-2bc0fd68.js +221 -0
  302. package/dist/javascript-101cb9b7.js +75 -0
  303. package/dist/jsonMode-006d8be9.js +1867 -0
  304. package/dist/julia-1c932615.js +496 -0
  305. package/dist/kotlin-1ab839c8.js +245 -0
  306. package/dist/less-6fe856f5.js +168 -0
  307. package/dist/lexon-4955ac52.js +151 -0
  308. package/dist/liquid-729ea99d.js +238 -0
  309. package/dist/lua-3cca0047.js +157 -0
  310. package/dist/m3-132e9cb6.js +210 -0
  311. package/dist/markdown-ea59a0c1.js +202 -0
  312. package/dist/mips-19811f4b.js +194 -0
  313. package/dist/msdax-69954a10.js +377 -0
  314. package/dist/mysql-82088e5d.js +876 -0
  315. package/dist/objective-c-1976eccc.js +188 -0
  316. package/dist/pascal-8ef177cb.js +245 -0
  317. package/dist/pascaligo-bc517b9e.js +158 -0
  318. package/dist/perl-8b93582c.js +599 -0
  319. package/dist/pgsql-00c11a6d.js +847 -0
  320. package/dist/php-4c8c276f.js +471 -0
  321. package/dist/pla-e9b4ffb1.js +131 -0
  322. package/dist/postiats-2071af8c.js +544 -0
  323. package/dist/powerquery-8e388ceb.js +890 -0
  324. package/dist/powershell-e35db398.js +233 -0
  325. package/dist/protobuf-a24b9176.js +422 -0
  326. package/dist/pug-2c94d9b8.js +393 -0
  327. package/dist/python-c9b92f72.js +259 -0
  328. package/dist/qsharp-d730d7fe.js +282 -0
  329. package/dist/r-be193556.js +245 -0
  330. package/dist/razor-c48ef378.js +512 -0
  331. package/dist/react-select.esm-fa95915b.js +3992 -0
  332. package/dist/react-toastify.esm-e28f7200.js +798 -0
  333. package/dist/react.esm-9335a421.js +13150 -0
  334. package/dist/redis-9690c6ac.js +298 -0
  335. package/dist/redshift-6bdcdeaa.js +806 -0
  336. package/dist/restructuredtext-a08c1d20.js +162 -0
  337. package/dist/ruby-2247692b.js +444 -0
  338. package/dist/rust-1dffb4d5.js +337 -0
  339. package/dist/sb-136598e9.js +110 -0
  340. package/dist/scala-b1100fed.js +353 -0
  341. package/dist/scheme-038c8094.js +114 -0
  342. package/dist/scss-700d1b52.js +244 -0
  343. package/dist/shell-86c16e0f.js +224 -0
  344. package/dist/solidity-c05fdf3c.js +1351 -0
  345. package/dist/sophia-cd645d71.js +190 -0
  346. package/dist/sparql-01d9ec9c.js +193 -0
  347. package/dist/sql-4c33df41.js +818 -0
  348. package/dist/st-52cf1408.js +414 -0
  349. package/dist/swift-13c792ba.js +315 -0
  350. package/dist/systemverilog-0bd8b730.js +556 -0
  351. package/dist/tcl-463d7c75.js +232 -0
  352. package/dist/tippy-react.esm-d5c56a0a.js +2018 -0
  353. package/dist/tsMode-da78a323.js +811 -0
  354. package/dist/twig-0d98f5ec.js +323 -0
  355. package/dist/typescript-bd6d35ce.js +328 -0
  356. package/dist/vb-3a2b0a51.js +364 -0
  357. package/dist/wgsl-b2ddb3e4.js +420 -0
  358. package/dist/xml-828eca7a.js +95 -0
  359. package/dist/yaml-89980d67.js +184 -0
  360. package/package.json +33 -10
  361. package/.eslintrc.js +0 -41
  362. package/.github/workflows/release-package.yml +0 -49
  363. package/.prettierrc.js +0 -7
  364. package/rollup.config.js +0 -31
  365. package/src/Assets/Icon/ic-add.svg +0 -3
  366. package/src/Assets/Icon/ic-appstatus-cancelled.svg +0 -6
  367. package/src/Assets/Icon/ic-arrow-counter-clockwise.svg +0 -5
  368. package/src/Assets/Icon/ic-check.svg +0 -5
  369. package/src/Assets/Icon/ic-chevron-down.svg +0 -5
  370. package/src/Assets/Icon/ic-copy.svg +0 -3
  371. package/src/Assets/Icon/ic-cross.svg +0 -3
  372. package/src/Assets/Icon/ic-enter.svg +0 -3
  373. package/src/Assets/Icon/ic-error-cross.svg +0 -8
  374. package/src/Assets/Icon/ic-error-exclamation.svg +0 -6
  375. package/src/Assets/Icon/ic-error-medium.svg +0 -6
  376. package/src/Assets/Icon/ic-help-outline.svg +0 -3
  377. package/src/Assets/Icon/ic-help.svg +0 -3
  378. package/src/Assets/Icon/ic-info-filled.svg +0 -7
  379. package/src/Assets/Icon/ic-info-outlined.svg +0 -13
  380. package/src/Assets/Icon/ic-minus.svg +0 -3
  381. package/src/Assets/Icon/ic-pencil.svg +0 -3
  382. package/src/Assets/Icon/ic-progressing.svg +0 -6
  383. package/src/Assets/Icon/ic-rotate-devtron.svg +0 -103
  384. package/src/Assets/Icon/ic-warning.svg +0 -7
  385. package/src/Assets/Icon/inject-tag.svg +0 -5
  386. package/src/Assets/Img/app-not-deployed.png +0 -0
  387. package/src/Assets/Img/delete-medium.svg +0 -15
  388. package/src/Assets/Img/ic-empty-error@2x.png +0 -0
  389. package/src/Assets/Img/ic-loading-failure.png +0 -0
  390. package/src/Assets/Img/ic-not-authorized.svg +0 -62
  391. package/src/Common/AddCDButton/AddCDButton.tsx +0 -68
  392. package/src/Common/AddCDButton/index.ts +0 -2
  393. package/src/Common/AddCDButton/types.ts +0 -38
  394. package/src/Common/AddCDButton/utils.tsx +0 -35
  395. package/src/Common/Api.ts +0 -230
  396. package/src/Common/AppStatus/AppStatus.tsx +0 -64
  397. package/src/Common/AppStatus/constants.ts +0 -53
  398. package/src/Common/AppStatus/index.ts +0 -1
  399. package/src/Common/AppStatus/types.ts +0 -12
  400. package/src/Common/AppStatus/utils.ts +0 -14
  401. package/src/Common/BreadCrumb/BreadCrumb.tsx +0 -105
  402. package/src/Common/BreadCrumb/BreadcrumbStore.tsx +0 -25
  403. package/src/Common/BreadCrumb/Types.ts +0 -30
  404. package/src/Common/CIPipeline.Types.ts +0 -277
  405. package/src/Common/ChartVersionAndTypeSelector.tsx +0 -78
  406. package/src/Common/Checkbox.tsx +0 -36
  407. package/src/Common/ClipboardButton/ClipboardButton.tsx +0 -61
  408. package/src/Common/ClipboardButton/__tests__/ClipboardButton.test.tsx +0 -43
  409. package/src/Common/ClipboardButton/types.ts +0 -7
  410. package/src/Common/Common.service.ts +0 -315
  411. package/src/Common/Constants.ts +0 -243
  412. package/src/Common/CustomInput/CustomInput.tsx +0 -131
  413. package/src/Common/CustomInput/Types.ts +0 -30
  414. package/src/Common/CustomInput/index.ts +0 -2
  415. package/src/Common/CustomTagSelector/PropagateTagInfo.tsx +0 -46
  416. package/src/Common/CustomTagSelector/ResizableTagTextArea.tsx +0 -84
  417. package/src/Common/CustomTagSelector/TagDetails.tsx +0 -76
  418. package/src/Common/CustomTagSelector/TagLabelSelect.tsx +0 -61
  419. package/src/Common/CustomTagSelector/TagLabelValueSelector.tsx +0 -198
  420. package/src/Common/CustomTagSelector/TagSelector.utils.ts +0 -71
  421. package/src/Common/CustomTagSelector/Types.ts +0 -72
  422. package/src/Common/CustomTagSelector/ValidationRules.ts +0 -58
  423. package/src/Common/CustomTagSelector/index.ts +0 -6
  424. package/src/Common/DebouncedSearch/DebouncedSearch.tsx +0 -76
  425. package/src/Common/DebouncedSearch/Types.ts +0 -13
  426. package/src/Common/DebouncedSearch/Utils.ts +0 -19
  427. package/src/Common/DebouncedSearch/__tests__/DebouncedSearch.test.tsx +0 -61
  428. package/src/Common/DeleteComponentModal/DeleteComponent.tsx +0 -95
  429. package/src/Common/DeleteComponentModal/types.ts +0 -15
  430. package/src/Common/DevtronProgressing/DevtronProgressing.tsx +0 -11
  431. package/src/Common/DevtronProgressing/index.ts +0 -1
  432. package/src/Common/DevtronProgressing/types.ts +0 -4
  433. package/src/Common/Dialogs/ConfirmationDialog.tsx +0 -34
  434. package/src/Common/Dialogs/DeleteDialog.tsx +0 -69
  435. package/src/Common/Dialogs/DialogForm.tsx +0 -86
  436. package/src/Common/Dialogs/ForceDeleteDialog.tsx +0 -19
  437. package/src/Common/Dialogs/Types.ts +0 -47
  438. package/src/Common/Dialogs/index.ts +0 -4
  439. package/src/Common/Drawer/Drawer.scss +0 -40
  440. package/src/Common/Drawer/Drawer.tsx +0 -49
  441. package/src/Common/EmptyState/EmptyState.tsx +0 -42
  442. package/src/Common/EmptyState/GenericEmptyState.tsx +0 -49
  443. package/src/Common/EmptyState/emptyState.scss +0 -74
  444. package/src/Common/Error.tsx +0 -61
  445. package/src/Common/ErrorScreenNotFound.tsx +0 -31
  446. package/src/Common/Grid/Grid.tsx +0 -39
  447. package/src/Common/Grid/types.ts +0 -9
  448. package/src/Common/Helper.tsx +0 -561
  449. package/src/Common/Hooks/UseClickOutside/UseClickOutside.tsx +0 -15
  450. package/src/Common/Hooks/UseSuperAdmin/UseSuperAdmin.tsx +0 -24
  451. package/src/Common/Hooks/UseSuperAdmin/types.ts +0 -3
  452. package/src/Common/Hooks/index.ts +0 -2
  453. package/src/Common/ImageTags.Types.ts +0 -44
  454. package/src/Common/ImageTags.tsx +0 -586
  455. package/src/Common/InfoColorBar/InfoColourbar.tsx +0 -80
  456. package/src/Common/InfoColorBar/infoColourBar.scss +0 -28
  457. package/src/Common/Modals/Modal.tsx +0 -68
  458. package/src/Common/Modals/OpaqueModal.tsx +0 -36
  459. package/src/Common/Modals/VisibleModal.tsx +0 -55
  460. package/src/Common/Modals/VisibleModal2.tsx +0 -35
  461. package/src/Common/MultiSelectCustomization.tsx +0 -148
  462. package/src/Common/Policy.Types.ts +0 -63
  463. package/src/Common/PopupMenu.tsx +0 -199
  464. package/src/Common/Progressing.tsx +0 -53
  465. package/src/Common/RJSF/Form.tsx +0 -29
  466. package/src/Common/RJSF/common/FieldRow.tsx +0 -35
  467. package/src/Common/RJSF/common/types.ts +0 -9
  468. package/src/Common/RJSF/config.ts +0 -37
  469. package/src/Common/RJSF/constants.ts +0 -10
  470. package/src/Common/RJSF/index.ts +0 -3
  471. package/src/Common/RJSF/rjsfForm.scss +0 -18
  472. package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -31
  473. package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -78
  474. package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
  475. package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
  476. package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
  477. package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
  478. package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
  479. package/src/Common/RJSF/templates/Description.tsx +0 -12
  480. package/src/Common/RJSF/templates/Field.tsx +0 -30
  481. package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
  482. package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -105
  483. package/src/Common/RJSF/templates/TitleField.tsx +0 -9
  484. package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
  485. package/src/Common/RJSF/templates/index.ts +0 -10
  486. package/src/Common/RJSF/types.ts +0 -4
  487. package/src/Common/RJSF/utils.ts +0 -123
  488. package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
  489. package/src/Common/RJSF/widgets/Select.tsx +0 -77
  490. package/src/Common/RJSF/widgets/index.ts +0 -2
  491. package/src/Common/RadioGroup/RadioGroup.tsx +0 -105
  492. package/src/Common/RadioGroup/radioGroup.scss +0 -46
  493. package/src/Common/RadioGroup.tsx +0 -53
  494. package/src/Common/Reload.tsx +0 -23
  495. package/src/Common/ResizableTextarea.tsx +0 -73
  496. package/src/Common/Security/ScanVulnerabilitiesTable.tsx +0 -55
  497. package/src/Common/Security/scanVulnerabilities.css +0 -69
  498. package/src/Common/ServerError.ts +0 -31
  499. package/src/Common/TippyCustomized.tsx +0 -172
  500. package/src/Common/ToastBody.tsx +0 -62
  501. package/src/Common/Toggle/Toggle.scss +0 -78
  502. package/src/Common/Toggle/Toggle.tsx +0 -50
  503. package/src/Common/Types.ts +0 -750
  504. package/src/Common/index.ts +0 -47
  505. package/src/custom.d.ts +0 -13
  506. package/src/index.ts +0 -1
  507. package/tsconfig.json +0 -40
@@ -0,0 +1,2018 @@
1
+ import bt, { forwardRef as $n, cloneElement as on, useState as dt, useLayoutEffect as kn, useEffect as In, useRef as Bn } from "react";
2
+ import { r as Hn } from "./index-5a231705.js";
3
+ var F = "top", X = "bottom", G = "right", U = "left", ct = "auto", Ue = [F, X, G, U], Se = "start", He = "end", Wn = "clippingParents", an = "viewport", $e = "popper", _n = "reference", Vt = /* @__PURE__ */ Ue.reduce(function(e, t) {
4
+ return e.concat([t + "-" + Se, t + "-" + He]);
5
+ }, []), sn = /* @__PURE__ */ [].concat(Ue, [ct]).reduce(function(e, t) {
6
+ return e.concat([t, t + "-" + Se, t + "-" + He]);
7
+ }, []), Fn = "beforeRead", Un = "read", qn = "afterRead", zn = "beforeMain", Yn = "main", Xn = "afterMain", Gn = "beforeWrite", Kn = "write", Jn = "afterWrite", wt = [Fn, Un, qn, zn, Yn, Xn, Gn, Kn, Jn];
8
+ function ne(e) {
9
+ return e ? (e.nodeName || "").toLowerCase() : null;
10
+ }
11
+ function K(e) {
12
+ if (e == null)
13
+ return window;
14
+ if (e.toString() !== "[object Window]") {
15
+ var t = e.ownerDocument;
16
+ return t && t.defaultView || window;
17
+ }
18
+ return e;
19
+ }
20
+ function be(e) {
21
+ var t = K(e).Element;
22
+ return e instanceof t || e instanceof Element;
23
+ }
24
+ function z(e) {
25
+ var t = K(e).HTMLElement;
26
+ return e instanceof t || e instanceof HTMLElement;
27
+ }
28
+ function St(e) {
29
+ if (typeof ShadowRoot > "u")
30
+ return !1;
31
+ var t = K(e).ShadowRoot;
32
+ return e instanceof t || e instanceof ShadowRoot;
33
+ }
34
+ function Qn(e) {
35
+ var t = e.state;
36
+ Object.keys(t.elements).forEach(function(n) {
37
+ var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
38
+ !z(a) || !ne(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(c) {
39
+ var p = o[c];
40
+ p === !1 ? a.removeAttribute(c) : a.setAttribute(c, p === !0 ? "" : p);
41
+ }));
42
+ });
43
+ }
44
+ function Zn(e) {
45
+ var t = e.state, n = {
46
+ popper: {
47
+ position: t.options.strategy,
48
+ left: "0",
49
+ top: "0",
50
+ margin: "0"
51
+ },
52
+ arrow: {
53
+ position: "absolute"
54
+ },
55
+ reference: {}
56
+ };
57
+ return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
58
+ Object.keys(t.elements).forEach(function(r) {
59
+ var o = t.elements[r], a = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), p = c.reduce(function(u, d) {
60
+ return u[d] = "", u;
61
+ }, {});
62
+ !z(o) || !ne(o) || (Object.assign(o.style, p), Object.keys(a).forEach(function(u) {
63
+ o.removeAttribute(u);
64
+ }));
65
+ });
66
+ };
67
+ }
68
+ const un = {
69
+ name: "applyStyles",
70
+ enabled: !0,
71
+ phase: "write",
72
+ fn: Qn,
73
+ effect: Zn,
74
+ requires: ["computeStyles"]
75
+ };
76
+ function Q(e) {
77
+ return e.split("-")[0];
78
+ }
79
+ var ye = Math.max, st = Math.min, Ce = Math.round;
80
+ function Ot() {
81
+ var e = navigator.userAgentData;
82
+ return e != null && e.brands ? e.brands.map(function(t) {
83
+ return t.brand + "/" + t.version;
84
+ }).join(" ") : navigator.userAgent;
85
+ }
86
+ function cn() {
87
+ return !/^((?!chrome|android).)*safari/i.test(Ot());
88
+ }
89
+ function Ne(e, t, n) {
90
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
91
+ var r = e.getBoundingClientRect(), o = 1, a = 1;
92
+ t && z(e) && (o = e.offsetWidth > 0 && Ce(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Ce(r.height) / e.offsetHeight || 1);
93
+ var c = be(e) ? K(e) : window, p = c.visualViewport, u = !cn() && n, d = (r.left + (u && p ? p.offsetLeft : 0)) / o, f = (r.top + (u && p ? p.offsetTop : 0)) / a, y = r.width / o, T = r.height / a;
94
+ return {
95
+ width: y,
96
+ height: T,
97
+ top: f,
98
+ right: d + y,
99
+ bottom: f + T,
100
+ left: d,
101
+ x: d,
102
+ y: f
103
+ };
104
+ }
105
+ function Ct(e) {
106
+ var t = Ne(e), n = e.offsetWidth, r = e.offsetHeight;
107
+ return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
108
+ x: e.offsetLeft,
109
+ y: e.offsetTop,
110
+ width: n,
111
+ height: r
112
+ };
113
+ }
114
+ function pn(e, t) {
115
+ var n = t.getRootNode && t.getRootNode();
116
+ if (e.contains(t))
117
+ return !0;
118
+ if (n && St(n)) {
119
+ var r = t;
120
+ do {
121
+ if (r && e.isSameNode(r))
122
+ return !0;
123
+ r = r.parentNode || r.host;
124
+ } while (r);
125
+ }
126
+ return !1;
127
+ }
128
+ function Z(e) {
129
+ return K(e).getComputedStyle(e);
130
+ }
131
+ function er(e) {
132
+ return ["table", "td", "th"].indexOf(ne(e)) >= 0;
133
+ }
134
+ function fe(e) {
135
+ return ((be(e) ? e.ownerDocument : (
136
+ // $FlowFixMe[prop-missing]
137
+ e.document
138
+ )) || window.document).documentElement;
139
+ }
140
+ function pt(e) {
141
+ return ne(e) === "html" ? e : (
142
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
143
+ // $FlowFixMe[incompatible-return]
144
+ // $FlowFixMe[prop-missing]
145
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
146
+ e.parentNode || // DOM Element detected
147
+ (St(e) ? e.host : null) || // ShadowRoot detected
148
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
149
+ fe(e)
150
+ );
151
+ }
152
+ function $t(e) {
153
+ return !z(e) || // https://github.com/popperjs/popper-core/issues/837
154
+ Z(e).position === "fixed" ? null : e.offsetParent;
155
+ }
156
+ function tr(e) {
157
+ var t = /firefox/i.test(Ot()), n = /Trident/i.test(Ot());
158
+ if (n && z(e)) {
159
+ var r = Z(e);
160
+ if (r.position === "fixed")
161
+ return null;
162
+ }
163
+ var o = pt(e);
164
+ for (St(o) && (o = o.host); z(o) && ["html", "body"].indexOf(ne(o)) < 0; ) {
165
+ var a = Z(o);
166
+ if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
167
+ return o;
168
+ o = o.parentNode;
169
+ }
170
+ return null;
171
+ }
172
+ function qe(e) {
173
+ for (var t = K(e), n = $t(e); n && er(n) && Z(n).position === "static"; )
174
+ n = $t(n);
175
+ return n && (ne(n) === "html" || ne(n) === "body" && Z(n).position === "static") ? t : n || tr(e) || t;
176
+ }
177
+ function Nt(e) {
178
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
179
+ }
180
+ function ke(e, t, n) {
181
+ return ye(e, st(t, n));
182
+ }
183
+ function nr(e, t, n) {
184
+ var r = ke(e, t, n);
185
+ return r > n ? n : r;
186
+ }
187
+ function fn() {
188
+ return {
189
+ top: 0,
190
+ right: 0,
191
+ bottom: 0,
192
+ left: 0
193
+ };
194
+ }
195
+ function ln(e) {
196
+ return Object.assign({}, fn(), e);
197
+ }
198
+ function dn(e, t) {
199
+ return t.reduce(function(n, r) {
200
+ return n[r] = e, n;
201
+ }, {});
202
+ }
203
+ var rr = function(t, n) {
204
+ return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
205
+ placement: n.placement
206
+ })) : t, ln(typeof t != "number" ? t : dn(t, Ue));
207
+ };
208
+ function ir(e) {
209
+ var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, c = n.modifiersData.popperOffsets, p = Q(n.placement), u = Nt(p), d = [U, G].indexOf(p) >= 0, f = d ? "height" : "width";
210
+ if (!(!a || !c)) {
211
+ var y = rr(o.padding, n), T = Ct(a), m = u === "y" ? F : U, w = u === "y" ? X : G, g = n.rects.reference[f] + n.rects.reference[u] - c[u] - n.rects.popper[f], b = c[u] - n.rects.reference[u], S = qe(a), L = S ? u === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, M = g / 2 - b / 2, i = y[m], E = L - T[f] - y[w], l = L / 2 - T[f] / 2 + M, N = ke(i, l, E), V = u;
212
+ n.modifiersData[r] = (t = {}, t[V] = N, t.centerOffset = N - l, t);
213
+ }
214
+ }
215
+ function or(e) {
216
+ var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
217
+ if (o != null && !(typeof o == "string" && (o = t.elements.popper.querySelector(o), !o))) {
218
+ if (process.env.NODE_ENV !== "production" && (z(o) || 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(" "))), !pn(t.elements.popper, o)) {
219
+ process.env.NODE_ENV !== "production" && console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', "element."].join(" "));
220
+ return;
221
+ }
222
+ t.elements.arrow = o;
223
+ }
224
+ }
225
+ const ar = {
226
+ name: "arrow",
227
+ enabled: !0,
228
+ phase: "main",
229
+ fn: ir,
230
+ effect: or,
231
+ requires: ["popperOffsets"],
232
+ requiresIfExists: ["preventOverflow"]
233
+ };
234
+ function Pe(e) {
235
+ return e.split("-")[1];
236
+ }
237
+ var sr = {
238
+ top: "auto",
239
+ right: "auto",
240
+ bottom: "auto",
241
+ left: "auto"
242
+ };
243
+ function ur(e) {
244
+ var t = e.x, n = e.y, r = window, o = r.devicePixelRatio || 1;
245
+ return {
246
+ x: Ce(t * o) / o || 0,
247
+ y: Ce(n * o) / o || 0
248
+ };
249
+ }
250
+ function kt(e) {
251
+ var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, c = e.offsets, p = e.position, u = e.gpuAcceleration, d = e.adaptive, f = e.roundOffsets, y = e.isFixed, T = c.x, m = T === void 0 ? 0 : T, w = c.y, g = w === void 0 ? 0 : w, b = typeof f == "function" ? f({
252
+ x: m,
253
+ y: g
254
+ }) : {
255
+ x: m,
256
+ y: g
257
+ };
258
+ m = b.x, g = b.y;
259
+ var S = c.hasOwnProperty("x"), L = c.hasOwnProperty("y"), M = U, i = F, E = window;
260
+ if (d) {
261
+ var l = qe(n), N = "clientHeight", V = "clientWidth";
262
+ if (l === K(n) && (l = fe(n), Z(l).position !== "static" && p === "absolute" && (N = "scrollHeight", V = "scrollWidth")), l = l, o === F || (o === U || o === G) && a === He) {
263
+ i = X;
264
+ var D = y && l === E && E.visualViewport ? E.visualViewport.height : (
265
+ // $FlowFixMe[prop-missing]
266
+ l[N]
267
+ );
268
+ g -= D - r.height, g *= u ? 1 : -1;
269
+ }
270
+ if (o === U || (o === F || o === X) && a === He) {
271
+ M = G;
272
+ var C = y && l === E && E.visualViewport ? E.visualViewport.width : (
273
+ // $FlowFixMe[prop-missing]
274
+ l[V]
275
+ );
276
+ m -= C - r.width, m *= u ? 1 : -1;
277
+ }
278
+ }
279
+ var x = Object.assign({
280
+ position: p
281
+ }, d && sr), P = f === !0 ? ur({
282
+ x: m,
283
+ y: g
284
+ }) : {
285
+ x: m,
286
+ y: g
287
+ };
288
+ if (m = P.x, g = P.y, u) {
289
+ var $;
290
+ return Object.assign({}, x, ($ = {}, $[i] = L ? "0" : "", $[M] = S ? "0" : "", $.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", $));
291
+ }
292
+ return Object.assign({}, x, (t = {}, t[i] = L ? g + "px" : "", t[M] = S ? m + "px" : "", t.transform = "", t));
293
+ }
294
+ function cr(e) {
295
+ var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, c = a === void 0 ? !0 : a, p = n.roundOffsets, u = p === void 0 ? !0 : p;
296
+ if (process.env.NODE_ENV !== "production") {
297
+ var d = Z(t.elements.popper).transitionProperty || "";
298
+ c && ["transform", "top", "right", "bottom", "left"].some(function(y) {
299
+ return d.indexOf(y) >= 0;
300
+ }) && console.warn(["Popper: Detected CSS transitions on at least one of the following", 'CSS properties: "transform", "top", "right", "bottom", "left".', `
301
+
302
+ `, '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.", `
303
+
304
+ `, "We recommend using the popper element as a wrapper around an inner", "element that can have any CSS property transitioned for animations."].join(" "));
305
+ }
306
+ var f = {
307
+ placement: Q(t.placement),
308
+ variation: Pe(t.placement),
309
+ popper: t.elements.popper,
310
+ popperRect: t.rects.popper,
311
+ gpuAcceleration: o,
312
+ isFixed: t.options.strategy === "fixed"
313
+ };
314
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, kt(Object.assign({}, f, {
315
+ offsets: t.modifiersData.popperOffsets,
316
+ position: t.options.strategy,
317
+ adaptive: c,
318
+ roundOffsets: u
319
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, kt(Object.assign({}, f, {
320
+ offsets: t.modifiersData.arrow,
321
+ position: "absolute",
322
+ adaptive: !1,
323
+ roundOffsets: u
324
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
325
+ "data-popper-placement": t.placement
326
+ });
327
+ }
328
+ const pr = {
329
+ name: "computeStyles",
330
+ enabled: !0,
331
+ phase: "beforeWrite",
332
+ fn: cr,
333
+ data: {}
334
+ };
335
+ var it = {
336
+ passive: !0
337
+ };
338
+ function fr(e) {
339
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, c = r.resize, p = c === void 0 ? !0 : c, u = K(t.elements.popper), d = [].concat(t.scrollParents.reference, t.scrollParents.popper);
340
+ return a && d.forEach(function(f) {
341
+ f.addEventListener("scroll", n.update, it);
342
+ }), p && u.addEventListener("resize", n.update, it), function() {
343
+ a && d.forEach(function(f) {
344
+ f.removeEventListener("scroll", n.update, it);
345
+ }), p && u.removeEventListener("resize", n.update, it);
346
+ };
347
+ }
348
+ const lr = {
349
+ name: "eventListeners",
350
+ enabled: !0,
351
+ phase: "write",
352
+ fn: function() {
353
+ },
354
+ effect: fr,
355
+ data: {}
356
+ };
357
+ var dr = {
358
+ left: "right",
359
+ right: "left",
360
+ bottom: "top",
361
+ top: "bottom"
362
+ };
363
+ function at(e) {
364
+ return e.replace(/left|right|bottom|top/g, function(t) {
365
+ return dr[t];
366
+ });
367
+ }
368
+ var vr = {
369
+ start: "end",
370
+ end: "start"
371
+ };
372
+ function It(e) {
373
+ return e.replace(/start|end/g, function(t) {
374
+ return vr[t];
375
+ });
376
+ }
377
+ function Pt(e) {
378
+ var t = K(e), n = t.pageXOffset, r = t.pageYOffset;
379
+ return {
380
+ scrollLeft: n,
381
+ scrollTop: r
382
+ };
383
+ }
384
+ function jt(e) {
385
+ return Ne(fe(e)).left + Pt(e).scrollLeft;
386
+ }
387
+ function mr(e, t) {
388
+ var n = K(e), r = fe(e), o = n.visualViewport, a = r.clientWidth, c = r.clientHeight, p = 0, u = 0;
389
+ if (o) {
390
+ a = o.width, c = o.height;
391
+ var d = cn();
392
+ (d || !d && t === "fixed") && (p = o.offsetLeft, u = o.offsetTop);
393
+ }
394
+ return {
395
+ width: a,
396
+ height: c,
397
+ x: p + jt(e),
398
+ y: u
399
+ };
400
+ }
401
+ function hr(e) {
402
+ var t, n = fe(e), r = Pt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = ye(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = ye(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), p = -r.scrollLeft + jt(e), u = -r.scrollTop;
403
+ return Z(o || n).direction === "rtl" && (p += ye(n.clientWidth, o ? o.clientWidth : 0) - a), {
404
+ width: a,
405
+ height: c,
406
+ x: p,
407
+ y: u
408
+ };
409
+ }
410
+ function Lt(e) {
411
+ var t = Z(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
412
+ return /auto|scroll|overlay|hidden/.test(n + o + r);
413
+ }
414
+ function vn(e) {
415
+ return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : z(e) && Lt(e) ? e : vn(pt(e));
416
+ }
417
+ function Ie(e, t) {
418
+ var n;
419
+ t === void 0 && (t = []);
420
+ var r = vn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = K(r), c = o ? [a].concat(a.visualViewport || [], Lt(r) ? r : []) : r, p = t.concat(c);
421
+ return o ? p : (
422
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
423
+ p.concat(Ie(pt(c)))
424
+ );
425
+ }
426
+ function Et(e) {
427
+ return Object.assign({}, e, {
428
+ left: e.x,
429
+ top: e.y,
430
+ right: e.x + e.width,
431
+ bottom: e.y + e.height
432
+ });
433
+ }
434
+ function gr(e, t) {
435
+ var n = Ne(e, !1, t === "fixed");
436
+ return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
437
+ }
438
+ function Bt(e, t, n) {
439
+ return t === an ? Et(mr(e, n)) : be(t) ? gr(t, n) : Et(hr(fe(e)));
440
+ }
441
+ function yr(e) {
442
+ var t = Ie(pt(e)), n = ["absolute", "fixed"].indexOf(Z(e).position) >= 0, r = n && z(e) ? qe(e) : e;
443
+ return be(r) ? t.filter(function(o) {
444
+ return be(o) && pn(o, r) && ne(o) !== "body";
445
+ }) : [];
446
+ }
447
+ function br(e, t, n, r) {
448
+ var o = t === "clippingParents" ? yr(e) : [].concat(t), a = [].concat(o, [n]), c = a[0], p = a.reduce(function(u, d) {
449
+ var f = Bt(e, d, r);
450
+ return u.top = ye(f.top, u.top), u.right = st(f.right, u.right), u.bottom = st(f.bottom, u.bottom), u.left = ye(f.left, u.left), u;
451
+ }, Bt(e, c, r));
452
+ return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
453
+ }
454
+ function mn(e) {
455
+ var t = e.reference, n = e.element, r = e.placement, o = r ? Q(r) : null, a = r ? Pe(r) : null, c = t.x + t.width / 2 - n.width / 2, p = t.y + t.height / 2 - n.height / 2, u;
456
+ switch (o) {
457
+ case F:
458
+ u = {
459
+ x: c,
460
+ y: t.y - n.height
461
+ };
462
+ break;
463
+ case X:
464
+ u = {
465
+ x: c,
466
+ y: t.y + t.height
467
+ };
468
+ break;
469
+ case G:
470
+ u = {
471
+ x: t.x + t.width,
472
+ y: p
473
+ };
474
+ break;
475
+ case U:
476
+ u = {
477
+ x: t.x - n.width,
478
+ y: p
479
+ };
480
+ break;
481
+ default:
482
+ u = {
483
+ x: t.x,
484
+ y: t.y
485
+ };
486
+ }
487
+ var d = o ? Nt(o) : null;
488
+ if (d != null) {
489
+ var f = d === "y" ? "height" : "width";
490
+ switch (a) {
491
+ case Se:
492
+ u[d] = u[d] - (t[f] / 2 - n[f] / 2);
493
+ break;
494
+ case He:
495
+ u[d] = u[d] + (t[f] / 2 - n[f] / 2);
496
+ break;
497
+ }
498
+ }
499
+ return u;
500
+ }
501
+ function We(e, t) {
502
+ t === void 0 && (t = {});
503
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, c = a === void 0 ? e.strategy : a, p = n.boundary, u = p === void 0 ? Wn : p, d = n.rootBoundary, f = d === void 0 ? an : d, y = n.elementContext, T = y === void 0 ? $e : y, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, b = g === void 0 ? 0 : g, S = ln(typeof b != "number" ? b : dn(b, Ue)), L = T === $e ? _n : $e, M = e.rects.popper, i = e.elements[w ? L : T], E = br(be(i) ? i : i.contextElement || fe(e.elements.popper), u, f, c), l = Ne(e.elements.reference), N = mn({
504
+ reference: l,
505
+ element: M,
506
+ strategy: "absolute",
507
+ placement: o
508
+ }), V = Et(Object.assign({}, M, N)), D = T === $e ? V : l, C = {
509
+ top: E.top - D.top + S.top,
510
+ bottom: D.bottom - E.bottom + S.bottom,
511
+ left: E.left - D.left + S.left,
512
+ right: D.right - E.right + S.right
513
+ }, x = e.modifiersData.offset;
514
+ if (T === $e && x) {
515
+ var P = x[o];
516
+ Object.keys(C).forEach(function($) {
517
+ var R = [G, X].indexOf($) >= 0 ? 1 : -1, O = [F, X].indexOf($) >= 0 ? "y" : "x";
518
+ C[$] += P[O] * R;
519
+ });
520
+ }
521
+ return C;
522
+ }
523
+ function wr(e, t) {
524
+ t === void 0 && (t = {});
525
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, c = n.padding, p = n.flipVariations, u = n.allowedAutoPlacements, d = u === void 0 ? sn : u, f = Pe(r), y = f ? p ? Vt : Vt.filter(function(w) {
526
+ return Pe(w) === f;
527
+ }) : Ue, T = y.filter(function(w) {
528
+ return d.indexOf(w) >= 0;
529
+ });
530
+ T.length === 0 && (T = y, process.env.NODE_ENV !== "production" && 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(" ")));
531
+ var m = T.reduce(function(w, g) {
532
+ return w[g] = We(e, {
533
+ placement: g,
534
+ boundary: o,
535
+ rootBoundary: a,
536
+ padding: c
537
+ })[Q(g)], w;
538
+ }, {});
539
+ return Object.keys(m).sort(function(w, g) {
540
+ return m[w] - m[g];
541
+ });
542
+ }
543
+ function Or(e) {
544
+ if (Q(e) === ct)
545
+ return [];
546
+ var t = at(e);
547
+ return [It(e), t, It(t)];
548
+ }
549
+ function Er(e) {
550
+ var t = e.state, n = e.options, r = e.name;
551
+ if (!t.modifiersData[r]._skip) {
552
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, u = n.fallbackPlacements, d = n.padding, f = n.boundary, y = n.rootBoundary, T = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, b = t.options.placement, S = Q(b), L = S === b, M = u || (L || !w ? [at(b)] : Or(b)), i = [b].concat(M).reduce(function(re, J) {
553
+ return re.concat(Q(J) === ct ? wr(t, {
554
+ placement: J,
555
+ boundary: f,
556
+ rootBoundary: y,
557
+ padding: d,
558
+ flipVariations: w,
559
+ allowedAutoPlacements: g
560
+ }) : J);
561
+ }, []), E = t.rects.reference, l = t.rects.popper, N = /* @__PURE__ */ new Map(), V = !0, D = i[0], C = 0; C < i.length; C++) {
562
+ var x = i[C], P = Q(x), $ = Pe(x) === Se, R = [F, X].indexOf(P) >= 0, O = R ? "width" : "height", B = We(t, {
563
+ placement: x,
564
+ boundary: f,
565
+ rootBoundary: y,
566
+ altBoundary: T,
567
+ padding: d
568
+ }), I = R ? $ ? G : U : $ ? X : F;
569
+ E[O] > l[O] && (I = at(I));
570
+ var k = at(I), W = [];
571
+ if (a && W.push(B[P] <= 0), p && W.push(B[I] <= 0, B[k] <= 0), W.every(function(re) {
572
+ return re;
573
+ })) {
574
+ D = x, V = !1;
575
+ break;
576
+ }
577
+ N.set(x, W);
578
+ }
579
+ if (V)
580
+ for (var H = w ? 3 : 1, le = function(J) {
581
+ var ie = i.find(function(we) {
582
+ var oe = N.get(we);
583
+ if (oe)
584
+ return oe.slice(0, J).every(function(Oe) {
585
+ return Oe;
586
+ });
587
+ });
588
+ if (ie)
589
+ return D = ie, "break";
590
+ }, ee = H; ee > 0; ee--) {
591
+ var de = le(ee);
592
+ if (de === "break")
593
+ break;
594
+ }
595
+ t.placement !== D && (t.modifiersData[r]._skip = !0, t.placement = D, t.reset = !0);
596
+ }
597
+ }
598
+ const xr = {
599
+ name: "flip",
600
+ enabled: !0,
601
+ phase: "main",
602
+ fn: Er,
603
+ requiresIfExists: ["offset"],
604
+ data: {
605
+ _skip: !1
606
+ }
607
+ };
608
+ function Ht(e, t, n) {
609
+ return n === void 0 && (n = {
610
+ x: 0,
611
+ y: 0
612
+ }), {
613
+ top: e.top - t.height - n.y,
614
+ right: e.right - t.width + n.x,
615
+ bottom: e.bottom - t.height + n.y,
616
+ left: e.left - t.width - n.x
617
+ };
618
+ }
619
+ function Wt(e) {
620
+ return [F, G, X, U].some(function(t) {
621
+ return e[t] >= 0;
622
+ });
623
+ }
624
+ function Dr(e) {
625
+ var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, c = We(t, {
626
+ elementContext: "reference"
627
+ }), p = We(t, {
628
+ altBoundary: !0
629
+ }), u = Ht(c, r), d = Ht(p, o, a), f = Wt(u), y = Wt(d);
630
+ t.modifiersData[n] = {
631
+ referenceClippingOffsets: u,
632
+ popperEscapeOffsets: d,
633
+ isReferenceHidden: f,
634
+ hasPopperEscaped: y
635
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
636
+ "data-popper-reference-hidden": f,
637
+ "data-popper-escaped": y
638
+ });
639
+ }
640
+ const Tr = {
641
+ name: "hide",
642
+ enabled: !0,
643
+ phase: "main",
644
+ requiresIfExists: ["preventOverflow"],
645
+ fn: Dr
646
+ };
647
+ function Ar(e, t, n) {
648
+ var r = Q(e), o = [U, F].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
649
+ placement: e
650
+ })) : n, c = a[0], p = a[1];
651
+ return c = c || 0, p = (p || 0) * o, [U, G].indexOf(r) >= 0 ? {
652
+ x: p,
653
+ y: c
654
+ } : {
655
+ x: c,
656
+ y: p
657
+ };
658
+ }
659
+ function Sr(e) {
660
+ var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, c = sn.reduce(function(f, y) {
661
+ return f[y] = Ar(y, t.rects, a), f;
662
+ }, {}), p = c[t.placement], u = p.x, d = p.y;
663
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += d), t.modifiersData[r] = c;
664
+ }
665
+ const Cr = {
666
+ name: "offset",
667
+ enabled: !0,
668
+ phase: "main",
669
+ requires: ["popperOffsets"],
670
+ fn: Sr
671
+ };
672
+ function Nr(e) {
673
+ var t = e.state, n = e.name;
674
+ t.modifiersData[n] = mn({
675
+ reference: t.rects.reference,
676
+ element: t.rects.popper,
677
+ strategy: "absolute",
678
+ placement: t.placement
679
+ });
680
+ }
681
+ const Pr = {
682
+ name: "popperOffsets",
683
+ enabled: !0,
684
+ phase: "read",
685
+ fn: Nr,
686
+ data: {}
687
+ };
688
+ function jr(e) {
689
+ return e === "x" ? "y" : "x";
690
+ }
691
+ function Lr(e) {
692
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !1 : c, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, y = n.padding, T = n.tether, m = T === void 0 ? !0 : T, w = n.tetherOffset, g = w === void 0 ? 0 : w, b = We(t, {
693
+ boundary: u,
694
+ rootBoundary: d,
695
+ padding: y,
696
+ altBoundary: f
697
+ }), S = Q(t.placement), L = Pe(t.placement), M = !L, i = Nt(S), E = jr(i), l = t.modifiersData.popperOffsets, N = t.rects.reference, V = t.rects.popper, D = typeof g == "function" ? g(Object.assign({}, t.rects, {
698
+ placement: t.placement
699
+ })) : g, C = typeof D == "number" ? {
700
+ mainAxis: D,
701
+ altAxis: D
702
+ } : Object.assign({
703
+ mainAxis: 0,
704
+ altAxis: 0
705
+ }, D), x = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
706
+ x: 0,
707
+ y: 0
708
+ };
709
+ if (l) {
710
+ if (a) {
711
+ var $, R = i === "y" ? F : U, O = i === "y" ? X : G, B = i === "y" ? "height" : "width", I = l[i], k = I + b[R], W = I - b[O], H = m ? -V[B] / 2 : 0, le = L === Se ? N[B] : V[B], ee = L === Se ? -V[B] : -N[B], de = t.elements.arrow, re = m && de ? Ct(de) : {
712
+ width: 0,
713
+ height: 0
714
+ }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : fn(), ie = J[R], we = J[O], oe = ke(0, N[B], re[B]), Oe = M ? N[B] / 2 - H - oe - ie - C.mainAxis : le - oe - ie - C.mainAxis, ue = M ? -N[B] / 2 + H + oe + we + C.mainAxis : ee + oe + we + C.mainAxis, Ee = t.elements.arrow && qe(t.elements.arrow), Ye = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, je = ($ = x?.[i]) != null ? $ : 0, Xe = I + Oe - je - Ye, Ge = I + ue - je, Le = ke(m ? st(k, Xe) : k, I, m ? ye(W, Ge) : W);
715
+ l[i] = Le, P[i] = Le - I;
716
+ }
717
+ if (p) {
718
+ var Re, Ke = i === "x" ? F : U, Je = i === "x" ? X : G, ae = l[E], ce = E === "y" ? "height" : "width", Me = ae + b[Ke], ve = ae - b[Je], Ve = [F, U].indexOf(S) !== -1, Qe = (Re = x?.[E]) != null ? Re : 0, Ze = Ve ? Me : ae - N[ce] - V[ce] - Qe + C.altAxis, et = Ve ? ae + N[ce] + V[ce] - Qe - C.altAxis : ve, tt = m && Ve ? nr(Ze, ae, et) : ke(m ? Ze : Me, ae, m ? et : ve);
719
+ l[E] = tt, P[E] = tt - ae;
720
+ }
721
+ t.modifiersData[r] = P;
722
+ }
723
+ }
724
+ const Rr = {
725
+ name: "preventOverflow",
726
+ enabled: !0,
727
+ phase: "main",
728
+ fn: Lr,
729
+ requiresIfExists: ["offset"]
730
+ };
731
+ function Mr(e) {
732
+ return {
733
+ scrollLeft: e.scrollLeft,
734
+ scrollTop: e.scrollTop
735
+ };
736
+ }
737
+ function Vr(e) {
738
+ return e === K(e) || !z(e) ? Pt(e) : Mr(e);
739
+ }
740
+ function $r(e) {
741
+ var t = e.getBoundingClientRect(), n = Ce(t.width) / e.offsetWidth || 1, r = Ce(t.height) / e.offsetHeight || 1;
742
+ return n !== 1 || r !== 1;
743
+ }
744
+ function kr(e, t, n) {
745
+ n === void 0 && (n = !1);
746
+ var r = z(t), o = z(t) && $r(t), a = fe(t), c = Ne(e, o, n), p = {
747
+ scrollLeft: 0,
748
+ scrollTop: 0
749
+ }, u = {
750
+ x: 0,
751
+ y: 0
752
+ };
753
+ return (r || !r && !n) && ((ne(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
754
+ Lt(a)) && (p = Vr(t)), z(t) ? (u = Ne(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = jt(a))), {
755
+ x: c.left + p.scrollLeft - u.x,
756
+ y: c.top + p.scrollTop - u.y,
757
+ width: c.width,
758
+ height: c.height
759
+ };
760
+ }
761
+ function Ir(e) {
762
+ var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
763
+ e.forEach(function(a) {
764
+ t.set(a.name, a);
765
+ });
766
+ function o(a) {
767
+ n.add(a.name);
768
+ var c = [].concat(a.requires || [], a.requiresIfExists || []);
769
+ c.forEach(function(p) {
770
+ if (!n.has(p)) {
771
+ var u = t.get(p);
772
+ u && o(u);
773
+ }
774
+ }), r.push(a);
775
+ }
776
+ return e.forEach(function(a) {
777
+ n.has(a.name) || o(a);
778
+ }), r;
779
+ }
780
+ function Br(e) {
781
+ var t = Ir(e);
782
+ return wt.reduce(function(n, r) {
783
+ return n.concat(t.filter(function(o) {
784
+ return o.phase === r;
785
+ }));
786
+ }, []);
787
+ }
788
+ function Hr(e) {
789
+ var t;
790
+ return function() {
791
+ return t || (t = new Promise(function(n) {
792
+ Promise.resolve().then(function() {
793
+ t = void 0, n(e());
794
+ });
795
+ })), t;
796
+ };
797
+ }
798
+ function pe(e) {
799
+ for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
800
+ n[r - 1] = arguments[r];
801
+ return [].concat(n).reduce(function(o, a) {
802
+ return o.replace(/%s/, a);
803
+ }, e);
804
+ }
805
+ var he = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Wr = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', _t = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
806
+ function _r(e) {
807
+ e.forEach(function(t) {
808
+ [].concat(Object.keys(t), _t).filter(function(n, r, o) {
809
+ return o.indexOf(n) === r;
810
+ }).forEach(function(n) {
811
+ switch (n) {
812
+ case "name":
813
+ typeof t.name != "string" && console.error(pe(he, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
814
+ break;
815
+ case "enabled":
816
+ typeof t.enabled != "boolean" && console.error(pe(he, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
817
+ break;
818
+ case "phase":
819
+ wt.indexOf(t.phase) < 0 && console.error(pe(he, t.name, '"phase"', "either " + wt.join(", "), '"' + String(t.phase) + '"'));
820
+ break;
821
+ case "fn":
822
+ typeof t.fn != "function" && console.error(pe(he, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
823
+ break;
824
+ case "effect":
825
+ t.effect != null && typeof t.effect != "function" && console.error(pe(he, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
826
+ break;
827
+ case "requires":
828
+ t.requires != null && !Array.isArray(t.requires) && console.error(pe(he, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
829
+ break;
830
+ case "requiresIfExists":
831
+ Array.isArray(t.requiresIfExists) || console.error(pe(he, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
832
+ break;
833
+ case "options":
834
+ case "data":
835
+ break;
836
+ default:
837
+ console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + _t.map(function(r) {
838
+ return '"' + r + '"';
839
+ }).join(", ") + '; but "' + n + '" was provided.');
840
+ }
841
+ t.requires && t.requires.forEach(function(r) {
842
+ e.find(function(o) {
843
+ return o.name === r;
844
+ }) == null && console.error(pe(Wr, String(t.name), r, r));
845
+ });
846
+ });
847
+ });
848
+ }
849
+ function Fr(e, t) {
850
+ var n = /* @__PURE__ */ new Set();
851
+ return e.filter(function(r) {
852
+ var o = t(r);
853
+ if (!n.has(o))
854
+ return n.add(o), !0;
855
+ });
856
+ }
857
+ function Ur(e) {
858
+ var t = e.reduce(function(n, r) {
859
+ var o = n[r.name];
860
+ return n[r.name] = o ? Object.assign({}, o, r, {
861
+ options: Object.assign({}, o.options, r.options),
862
+ data: Object.assign({}, o.data, r.data)
863
+ }) : r, n;
864
+ }, {});
865
+ return Object.keys(t).map(function(n) {
866
+ return t[n];
867
+ });
868
+ }
869
+ var Ft = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", qr = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Ut = {
870
+ placement: "bottom",
871
+ modifiers: [],
872
+ strategy: "absolute"
873
+ };
874
+ function qt() {
875
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
876
+ t[n] = arguments[n];
877
+ return !t.some(function(r) {
878
+ return !(r && typeof r.getBoundingClientRect == "function");
879
+ });
880
+ }
881
+ function zr(e) {
882
+ e === void 0 && (e = {});
883
+ var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? Ut : o;
884
+ return function(p, u, d) {
885
+ d === void 0 && (d = a);
886
+ var f = {
887
+ placement: "bottom",
888
+ orderedModifiers: [],
889
+ options: Object.assign({}, Ut, a),
890
+ modifiersData: {},
891
+ elements: {
892
+ reference: p,
893
+ popper: u
894
+ },
895
+ attributes: {},
896
+ styles: {}
897
+ }, y = [], T = !1, m = {
898
+ state: f,
899
+ setOptions: function(S) {
900
+ var L = typeof S == "function" ? S(f.options) : S;
901
+ g(), f.options = Object.assign({}, a, f.options, L), f.scrollParents = {
902
+ reference: be(p) ? Ie(p) : p.contextElement ? Ie(p.contextElement) : [],
903
+ popper: Ie(u)
904
+ };
905
+ var M = Br(Ur([].concat(r, f.options.modifiers)));
906
+ if (f.orderedModifiers = M.filter(function(x) {
907
+ return x.enabled;
908
+ }), process.env.NODE_ENV !== "production") {
909
+ var i = Fr([].concat(M, f.options.modifiers), function(x) {
910
+ var P = x.name;
911
+ return P;
912
+ });
913
+ if (_r(i), Q(f.options.placement) === ct) {
914
+ var E = f.orderedModifiers.find(function(x) {
915
+ var P = x.name;
916
+ return P === "flip";
917
+ });
918
+ E || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
919
+ }
920
+ var l = Z(u), N = l.marginTop, V = l.marginRight, D = l.marginBottom, C = l.marginLeft;
921
+ [N, V, D, C].some(function(x) {
922
+ return parseFloat(x);
923
+ }) && 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(" "));
924
+ }
925
+ return w(), m.update();
926
+ },
927
+ // Sync update – it will always be executed, even if not necessary. This
928
+ // is useful for low frequency updates where sync behavior simplifies the
929
+ // logic.
930
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
931
+ // prefer the async Popper#update method
932
+ forceUpdate: function() {
933
+ if (!T) {
934
+ var S = f.elements, L = S.reference, M = S.popper;
935
+ if (!qt(L, M)) {
936
+ process.env.NODE_ENV !== "production" && console.error(Ft);
937
+ return;
938
+ }
939
+ f.rects = {
940
+ reference: kr(L, qe(M), f.options.strategy === "fixed"),
941
+ popper: Ct(M)
942
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(x) {
943
+ return f.modifiersData[x.name] = Object.assign({}, x.data);
944
+ });
945
+ for (var i = 0, E = 0; E < f.orderedModifiers.length; E++) {
946
+ if (process.env.NODE_ENV !== "production" && (i += 1, i > 100)) {
947
+ console.error(qr);
948
+ break;
949
+ }
950
+ if (f.reset === !0) {
951
+ f.reset = !1, E = -1;
952
+ continue;
953
+ }
954
+ var l = f.orderedModifiers[E], N = l.fn, V = l.options, D = V === void 0 ? {} : V, C = l.name;
955
+ typeof N == "function" && (f = N({
956
+ state: f,
957
+ options: D,
958
+ name: C,
959
+ instance: m
960
+ }) || f);
961
+ }
962
+ }
963
+ },
964
+ // Async and optimistically optimized update – it will not be executed if
965
+ // not necessary (debounced to run at most once-per-tick)
966
+ update: Hr(function() {
967
+ return new Promise(function(b) {
968
+ m.forceUpdate(), b(f);
969
+ });
970
+ }),
971
+ destroy: function() {
972
+ g(), T = !0;
973
+ }
974
+ };
975
+ if (!qt(p, u))
976
+ return process.env.NODE_ENV !== "production" && console.error(Ft), m;
977
+ m.setOptions(d).then(function(b) {
978
+ !T && d.onFirstUpdate && d.onFirstUpdate(b);
979
+ });
980
+ function w() {
981
+ f.orderedModifiers.forEach(function(b) {
982
+ var S = b.name, L = b.options, M = L === void 0 ? {} : L, i = b.effect;
983
+ if (typeof i == "function") {
984
+ var E = i({
985
+ state: f,
986
+ name: S,
987
+ instance: m,
988
+ options: M
989
+ }), l = function() {
990
+ };
991
+ y.push(E || l);
992
+ }
993
+ });
994
+ }
995
+ function g() {
996
+ y.forEach(function(b) {
997
+ return b();
998
+ }), y = [];
999
+ }
1000
+ return m;
1001
+ };
1002
+ }
1003
+ var Yr = [lr, Pr, pr, un, Cr, xr, Rr, ar, Tr], Xr = /* @__PURE__ */ zr({
1004
+ defaultModifiers: Yr
1005
+ }), Gr = "tippy-box", hn = "tippy-content", Kr = "tippy-backdrop", gn = "tippy-arrow", yn = "tippy-svg-arrow", ge = {
1006
+ passive: !0,
1007
+ capture: !0
1008
+ }, bn = function() {
1009
+ return document.body;
1010
+ };
1011
+ function Jr(e, t) {
1012
+ return {}.hasOwnProperty.call(e, t);
1013
+ }
1014
+ function vt(e, t, n) {
1015
+ if (Array.isArray(e)) {
1016
+ var r = e[t];
1017
+ return r ?? (Array.isArray(n) ? n[t] : n);
1018
+ }
1019
+ return e;
1020
+ }
1021
+ function Rt(e, t) {
1022
+ var n = {}.toString.call(e);
1023
+ return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
1024
+ }
1025
+ function wn(e, t) {
1026
+ return typeof e == "function" ? e.apply(void 0, t) : e;
1027
+ }
1028
+ function zt(e, t) {
1029
+ if (t === 0)
1030
+ return e;
1031
+ var n;
1032
+ return function(r) {
1033
+ clearTimeout(n), n = setTimeout(function() {
1034
+ e(r);
1035
+ }, t);
1036
+ };
1037
+ }
1038
+ function Qr(e, t) {
1039
+ var n = Object.assign({}, e);
1040
+ return t.forEach(function(r) {
1041
+ delete n[r];
1042
+ }), n;
1043
+ }
1044
+ function Zr(e) {
1045
+ return e.split(/\s+/).filter(Boolean);
1046
+ }
1047
+ function Ae(e) {
1048
+ return [].concat(e);
1049
+ }
1050
+ function Yt(e, t) {
1051
+ e.indexOf(t) === -1 && e.push(t);
1052
+ }
1053
+ function ei(e) {
1054
+ return e.filter(function(t, n) {
1055
+ return e.indexOf(t) === n;
1056
+ });
1057
+ }
1058
+ function ti(e) {
1059
+ return e.split("-")[0];
1060
+ }
1061
+ function ut(e) {
1062
+ return [].slice.call(e);
1063
+ }
1064
+ function Xt(e) {
1065
+ return Object.keys(e).reduce(function(t, n) {
1066
+ return e[n] !== void 0 && (t[n] = e[n]), t;
1067
+ }, {});
1068
+ }
1069
+ function Be() {
1070
+ return document.createElement("div");
1071
+ }
1072
+ function _e(e) {
1073
+ return ["Element", "Fragment"].some(function(t) {
1074
+ return Rt(e, t);
1075
+ });
1076
+ }
1077
+ function ni(e) {
1078
+ return Rt(e, "NodeList");
1079
+ }
1080
+ function ri(e) {
1081
+ return Rt(e, "MouseEvent");
1082
+ }
1083
+ function ii(e) {
1084
+ return !!(e && e._tippy && e._tippy.reference === e);
1085
+ }
1086
+ function oi(e) {
1087
+ return _e(e) ? [e] : ni(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
1088
+ }
1089
+ function mt(e, t) {
1090
+ e.forEach(function(n) {
1091
+ n && (n.style.transitionDuration = t + "ms");
1092
+ });
1093
+ }
1094
+ function Gt(e, t) {
1095
+ e.forEach(function(n) {
1096
+ n && n.setAttribute("data-state", t);
1097
+ });
1098
+ }
1099
+ function ai(e) {
1100
+ var t, n = Ae(e), r = n[0];
1101
+ return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
1102
+ }
1103
+ function si(e, t) {
1104
+ var n = t.clientX, r = t.clientY;
1105
+ return e.every(function(o) {
1106
+ var a = o.popperRect, c = o.popperState, p = o.props, u = p.interactiveBorder, d = ti(c.placement), f = c.modifiersData.offset;
1107
+ if (!f)
1108
+ return !0;
1109
+ var y = d === "bottom" ? f.top.y : 0, T = d === "top" ? f.bottom.y : 0, m = d === "right" ? f.left.x : 0, w = d === "left" ? f.right.x : 0, g = a.top - r + y > u, b = r - a.bottom - T > u, S = a.left - n + m > u, L = n - a.right - w > u;
1110
+ return g || b || S || L;
1111
+ });
1112
+ }
1113
+ function ht(e, t, n) {
1114
+ var r = t + "EventListener";
1115
+ ["transitionend", "webkitTransitionEnd"].forEach(function(o) {
1116
+ e[r](o, n);
1117
+ });
1118
+ }
1119
+ function Kt(e, t) {
1120
+ for (var n = t; n; ) {
1121
+ var r;
1122
+ if (e.contains(n))
1123
+ return !0;
1124
+ n = n.getRootNode == null || (r = n.getRootNode()) == null ? void 0 : r.host;
1125
+ }
1126
+ return !1;
1127
+ }
1128
+ var te = {
1129
+ isTouch: !1
1130
+ }, Jt = 0;
1131
+ function ui() {
1132
+ te.isTouch || (te.isTouch = !0, window.performance && document.addEventListener("mousemove", On));
1133
+ }
1134
+ function On() {
1135
+ var e = performance.now();
1136
+ e - Jt < 20 && (te.isTouch = !1, document.removeEventListener("mousemove", On)), Jt = e;
1137
+ }
1138
+ function ci() {
1139
+ var e = document.activeElement;
1140
+ if (ii(e)) {
1141
+ var t = e._tippy;
1142
+ e.blur && !t.state.isVisible && e.blur();
1143
+ }
1144
+ }
1145
+ function pi() {
1146
+ document.addEventListener("touchstart", ui, ge), window.addEventListener("blur", ci);
1147
+ }
1148
+ var fi = typeof window < "u" && typeof document < "u", li = fi ? (
1149
+ // @ts-ignore
1150
+ !!window.msCrypto
1151
+ ) : !1;
1152
+ function Te(e) {
1153
+ var t = e === "destroy" ? "n already-" : " ";
1154
+ return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1155
+ }
1156
+ function Qt(e) {
1157
+ var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
1158
+ return e.replace(t, " ").replace(n, "").trim();
1159
+ }
1160
+ function di(e) {
1161
+ return Qt(`
1162
+ %ctippy.js
1163
+
1164
+ %c` + Qt(e) + `
1165
+
1166
+ %c👷‍ This is a development-only message. It will be removed in production.
1167
+ `);
1168
+ }
1169
+ function En(e) {
1170
+ return [
1171
+ di(e),
1172
+ // title
1173
+ "color: #00C584; font-size: 1.3em; font-weight: bold;",
1174
+ // message
1175
+ "line-height: 1.5",
1176
+ // footer
1177
+ "color: #a6a095;"
1178
+ ];
1179
+ }
1180
+ var Fe;
1181
+ process.env.NODE_ENV !== "production" && vi();
1182
+ function vi() {
1183
+ Fe = /* @__PURE__ */ new Set();
1184
+ }
1185
+ function se(e, t) {
1186
+ if (e && !Fe.has(t)) {
1187
+ var n;
1188
+ Fe.add(t), (n = console).warn.apply(n, En(t));
1189
+ }
1190
+ }
1191
+ function xt(e, t) {
1192
+ if (e && !Fe.has(t)) {
1193
+ var n;
1194
+ Fe.add(t), (n = console).error.apply(n, En(t));
1195
+ }
1196
+ }
1197
+ function mi(e) {
1198
+ var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1199
+ xt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), xt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1200
+ }
1201
+ var xn = {
1202
+ animateFill: !1,
1203
+ followCursor: !1,
1204
+ inlinePositioning: !1,
1205
+ sticky: !1
1206
+ }, hi = {
1207
+ allowHTML: !1,
1208
+ animation: "fade",
1209
+ arrow: !0,
1210
+ content: "",
1211
+ inertia: !1,
1212
+ maxWidth: 350,
1213
+ role: "tooltip",
1214
+ theme: "",
1215
+ zIndex: 9999
1216
+ }, q = Object.assign({
1217
+ appendTo: bn,
1218
+ aria: {
1219
+ content: "auto",
1220
+ expanded: "auto"
1221
+ },
1222
+ delay: 0,
1223
+ duration: [300, 250],
1224
+ getReferenceClientRect: null,
1225
+ hideOnClick: !0,
1226
+ ignoreAttributes: !1,
1227
+ interactive: !1,
1228
+ interactiveBorder: 2,
1229
+ interactiveDebounce: 0,
1230
+ moveTransition: "",
1231
+ offset: [0, 10],
1232
+ onAfterUpdate: function() {
1233
+ },
1234
+ onBeforeUpdate: function() {
1235
+ },
1236
+ onCreate: function() {
1237
+ },
1238
+ onDestroy: function() {
1239
+ },
1240
+ onHidden: function() {
1241
+ },
1242
+ onHide: function() {
1243
+ },
1244
+ onMount: function() {
1245
+ },
1246
+ onShow: function() {
1247
+ },
1248
+ onShown: function() {
1249
+ },
1250
+ onTrigger: function() {
1251
+ },
1252
+ onUntrigger: function() {
1253
+ },
1254
+ onClickOutside: function() {
1255
+ },
1256
+ placement: "top",
1257
+ plugins: [],
1258
+ popperOptions: {},
1259
+ render: null,
1260
+ showOnCreate: !1,
1261
+ touch: !0,
1262
+ trigger: "mouseenter focus",
1263
+ triggerTarget: null
1264
+ }, xn, hi), gi = Object.keys(q), yi = function(t) {
1265
+ process.env.NODE_ENV !== "production" && Tn(t, []);
1266
+ var n = Object.keys(t);
1267
+ n.forEach(function(r) {
1268
+ q[r] = t[r];
1269
+ });
1270
+ };
1271
+ function Dn(e) {
1272
+ var t = e.plugins || [], n = t.reduce(function(r, o) {
1273
+ var a = o.name, c = o.defaultValue;
1274
+ if (a) {
1275
+ var p;
1276
+ r[a] = e[a] !== void 0 ? e[a] : (p = q[a]) != null ? p : c;
1277
+ }
1278
+ return r;
1279
+ }, {});
1280
+ return Object.assign({}, e, n);
1281
+ }
1282
+ function bi(e, t) {
1283
+ var n = t ? Object.keys(Dn(Object.assign({}, q, {
1284
+ plugins: t
1285
+ }))) : gi, r = n.reduce(function(o, a) {
1286
+ var c = (e.getAttribute("data-tippy-" + a) || "").trim();
1287
+ if (!c)
1288
+ return o;
1289
+ if (a === "content")
1290
+ o[a] = c;
1291
+ else
1292
+ try {
1293
+ o[a] = JSON.parse(c);
1294
+ } catch {
1295
+ o[a] = c;
1296
+ }
1297
+ return o;
1298
+ }, {});
1299
+ return r;
1300
+ }
1301
+ function Zt(e, t) {
1302
+ var n = Object.assign({}, t, {
1303
+ content: wn(t.content, [e])
1304
+ }, t.ignoreAttributes ? {} : bi(e, t.plugins));
1305
+ return n.aria = Object.assign({}, q.aria, n.aria), n.aria = {
1306
+ expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
1307
+ content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
1308
+ }, n;
1309
+ }
1310
+ function Tn(e, t) {
1311
+ e === void 0 && (e = {}), t === void 0 && (t = []);
1312
+ var n = Object.keys(e);
1313
+ n.forEach(function(r) {
1314
+ var o = Qr(q, Object.keys(xn)), a = !Jr(o, r);
1315
+ a && (a = t.filter(function(c) {
1316
+ return c.name === r;
1317
+ }).length === 0), se(a, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1318
+
1319
+ `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1320
+ `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1321
+ });
1322
+ }
1323
+ var wi = function() {
1324
+ return "innerHTML";
1325
+ };
1326
+ function Dt(e, t) {
1327
+ e[wi()] = t;
1328
+ }
1329
+ function en(e) {
1330
+ var t = Be();
1331
+ return e === !0 ? t.className = gn : (t.className = yn, _e(e) ? t.appendChild(e) : Dt(t, e)), t;
1332
+ }
1333
+ function tn(e, t) {
1334
+ _e(t.content) ? (Dt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Dt(e, t.content) : e.textContent = t.content);
1335
+ }
1336
+ function Tt(e) {
1337
+ var t = e.firstElementChild, n = ut(t.children);
1338
+ return {
1339
+ box: t,
1340
+ content: n.find(function(r) {
1341
+ return r.classList.contains(hn);
1342
+ }),
1343
+ arrow: n.find(function(r) {
1344
+ return r.classList.contains(gn) || r.classList.contains(yn);
1345
+ }),
1346
+ backdrop: n.find(function(r) {
1347
+ return r.classList.contains(Kr);
1348
+ })
1349
+ };
1350
+ }
1351
+ function An(e) {
1352
+ var t = Be(), n = Be();
1353
+ n.className = Gr, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1354
+ var r = Be();
1355
+ r.className = hn, r.setAttribute("data-state", "hidden"), tn(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1356
+ function o(a, c) {
1357
+ var p = Tt(t), u = p.box, d = p.content, f = p.arrow;
1358
+ c.theme ? u.setAttribute("data-theme", c.theme) : u.removeAttribute("data-theme"), typeof c.animation == "string" ? u.setAttribute("data-animation", c.animation) : u.removeAttribute("data-animation"), c.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? u.setAttribute("role", c.role) : u.removeAttribute("role"), (a.content !== c.content || a.allowHTML !== c.allowHTML) && tn(d, e.props), c.arrow ? f ? a.arrow !== c.arrow && (u.removeChild(f), u.appendChild(en(c.arrow))) : u.appendChild(en(c.arrow)) : f && u.removeChild(f);
1359
+ }
1360
+ return {
1361
+ popper: t,
1362
+ onUpdate: o
1363
+ };
1364
+ }
1365
+ An.$$tippy = !0;
1366
+ var Oi = 1, ot = [], gt = [];
1367
+ function Ei(e, t) {
1368
+ var n = Zt(e, Object.assign({}, q, Dn(Xt(t)))), r, o, a, c = !1, p = !1, u = !1, d = !1, f, y, T, m = [], w = zt(Xe, n.interactiveDebounce), g, b = Oi++, S = null, L = ei(n.plugins), M = {
1369
+ // Is the instance currently enabled?
1370
+ isEnabled: !0,
1371
+ // Is the tippy currently showing and not transitioning out?
1372
+ isVisible: !1,
1373
+ // Has the instance been destroyed?
1374
+ isDestroyed: !1,
1375
+ // Is the tippy currently mounted to the DOM?
1376
+ isMounted: !1,
1377
+ // Has the tippy finished transitioning in?
1378
+ isShown: !1
1379
+ }, i = {
1380
+ // properties
1381
+ id: b,
1382
+ reference: e,
1383
+ popper: Be(),
1384
+ popperInstance: S,
1385
+ props: n,
1386
+ state: M,
1387
+ plugins: L,
1388
+ // methods
1389
+ clearDelayTimeouts: Ze,
1390
+ setProps: et,
1391
+ setContent: tt,
1392
+ show: Pn,
1393
+ hide: jn,
1394
+ hideWithInteractivity: Ln,
1395
+ enable: Ve,
1396
+ disable: Qe,
1397
+ unmount: Rn,
1398
+ destroy: Mn
1399
+ };
1400
+ if (!n.render)
1401
+ return process.env.NODE_ENV !== "production" && xt(!0, "render() function has not been supplied."), i;
1402
+ var E = n.render(i), l = E.popper, N = E.onUpdate;
1403
+ l.setAttribute("data-tippy-root", ""), l.id = "tippy-" + i.id, i.popper = l, e._tippy = i, l._tippy = i;
1404
+ var V = L.map(function(s) {
1405
+ return s.fn(i);
1406
+ }), D = e.hasAttribute("aria-expanded");
1407
+ return Ee(), H(), I(), k("onCreate", [i]), n.showOnCreate && Me(), l.addEventListener("mouseenter", function() {
1408
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1409
+ }), l.addEventListener("mouseleave", function() {
1410
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && R().addEventListener("mousemove", w);
1411
+ }), i;
1412
+ function C() {
1413
+ var s = i.props.touch;
1414
+ return Array.isArray(s) ? s : [s, 0];
1415
+ }
1416
+ function x() {
1417
+ return C()[0] === "hold";
1418
+ }
1419
+ function P() {
1420
+ var s;
1421
+ return !!((s = i.props.render) != null && s.$$tippy);
1422
+ }
1423
+ function $() {
1424
+ return g || e;
1425
+ }
1426
+ function R() {
1427
+ var s = $().parentNode;
1428
+ return s ? ai(s) : document;
1429
+ }
1430
+ function O() {
1431
+ return Tt(l);
1432
+ }
1433
+ function B(s) {
1434
+ return i.state.isMounted && !i.state.isVisible || te.isTouch || f && f.type === "focus" ? 0 : vt(i.props.delay, s ? 0 : 1, q.delay);
1435
+ }
1436
+ function I(s) {
1437
+ s === void 0 && (s = !1), l.style.pointerEvents = i.props.interactive && !s ? "" : "none", l.style.zIndex = "" + i.props.zIndex;
1438
+ }
1439
+ function k(s, v, h) {
1440
+ if (h === void 0 && (h = !0), V.forEach(function(A) {
1441
+ A[s] && A[s].apply(A, v);
1442
+ }), h) {
1443
+ var j;
1444
+ (j = i.props)[s].apply(j, v);
1445
+ }
1446
+ }
1447
+ function W() {
1448
+ var s = i.props.aria;
1449
+ if (s.content) {
1450
+ var v = "aria-" + s.content, h = l.id, j = Ae(i.props.triggerTarget || e);
1451
+ j.forEach(function(A) {
1452
+ var _ = A.getAttribute(v);
1453
+ if (i.state.isVisible)
1454
+ A.setAttribute(v, _ ? _ + " " + h : h);
1455
+ else {
1456
+ var Y = _ && _.replace(h, "").trim();
1457
+ Y ? A.setAttribute(v, Y) : A.removeAttribute(v);
1458
+ }
1459
+ });
1460
+ }
1461
+ }
1462
+ function H() {
1463
+ if (!(D || !i.props.aria.expanded)) {
1464
+ var s = Ae(i.props.triggerTarget || e);
1465
+ s.forEach(function(v) {
1466
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === $() ? "true" : "false") : v.removeAttribute("aria-expanded");
1467
+ });
1468
+ }
1469
+ }
1470
+ function le() {
1471
+ R().removeEventListener("mousemove", w), ot = ot.filter(function(s) {
1472
+ return s !== w;
1473
+ });
1474
+ }
1475
+ function ee(s) {
1476
+ if (!(te.isTouch && (u || s.type === "mousedown"))) {
1477
+ var v = s.composedPath && s.composedPath()[0] || s.target;
1478
+ if (!(i.props.interactive && Kt(l, v))) {
1479
+ if (Ae(i.props.triggerTarget || e).some(function(h) {
1480
+ return Kt(h, v);
1481
+ })) {
1482
+ if (te.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1483
+ return;
1484
+ } else
1485
+ k("onClickOutside", [i, s]);
1486
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), p = !0, setTimeout(function() {
1487
+ p = !1;
1488
+ }), i.state.isMounted || ie());
1489
+ }
1490
+ }
1491
+ }
1492
+ function de() {
1493
+ u = !0;
1494
+ }
1495
+ function re() {
1496
+ u = !1;
1497
+ }
1498
+ function J() {
1499
+ var s = R();
1500
+ s.addEventListener("mousedown", ee, !0), s.addEventListener("touchend", ee, ge), s.addEventListener("touchstart", re, ge), s.addEventListener("touchmove", de, ge);
1501
+ }
1502
+ function ie() {
1503
+ var s = R();
1504
+ s.removeEventListener("mousedown", ee, !0), s.removeEventListener("touchend", ee, ge), s.removeEventListener("touchstart", re, ge), s.removeEventListener("touchmove", de, ge);
1505
+ }
1506
+ function we(s, v) {
1507
+ Oe(s, function() {
1508
+ !i.state.isVisible && l.parentNode && l.parentNode.contains(l) && v();
1509
+ });
1510
+ }
1511
+ function oe(s, v) {
1512
+ Oe(s, v);
1513
+ }
1514
+ function Oe(s, v) {
1515
+ var h = O().box;
1516
+ function j(A) {
1517
+ A.target === h && (ht(h, "remove", j), v());
1518
+ }
1519
+ if (s === 0)
1520
+ return v();
1521
+ ht(h, "remove", y), ht(h, "add", j), y = j;
1522
+ }
1523
+ function ue(s, v, h) {
1524
+ h === void 0 && (h = !1);
1525
+ var j = Ae(i.props.triggerTarget || e);
1526
+ j.forEach(function(A) {
1527
+ A.addEventListener(s, v, h), m.push({
1528
+ node: A,
1529
+ eventType: s,
1530
+ handler: v,
1531
+ options: h
1532
+ });
1533
+ });
1534
+ }
1535
+ function Ee() {
1536
+ x() && (ue("touchstart", je, {
1537
+ passive: !0
1538
+ }), ue("touchend", Ge, {
1539
+ passive: !0
1540
+ })), Zr(i.props.trigger).forEach(function(s) {
1541
+ if (s !== "manual")
1542
+ switch (ue(s, je), s) {
1543
+ case "mouseenter":
1544
+ ue("mouseleave", Ge);
1545
+ break;
1546
+ case "focus":
1547
+ ue(li ? "focusout" : "blur", Le);
1548
+ break;
1549
+ case "focusin":
1550
+ ue("focusout", Le);
1551
+ break;
1552
+ }
1553
+ });
1554
+ }
1555
+ function Ye() {
1556
+ m.forEach(function(s) {
1557
+ var v = s.node, h = s.eventType, j = s.handler, A = s.options;
1558
+ v.removeEventListener(h, j, A);
1559
+ }), m = [];
1560
+ }
1561
+ function je(s) {
1562
+ var v, h = !1;
1563
+ if (!(!i.state.isEnabled || Re(s) || p)) {
1564
+ var j = ((v = f) == null ? void 0 : v.type) === "focus";
1565
+ f = s, g = s.currentTarget, H(), !i.state.isVisible && ri(s) && ot.forEach(function(A) {
1566
+ return A(s);
1567
+ }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Me(s), s.type === "click" && (c = !h), h && !j && ve(s);
1568
+ }
1569
+ }
1570
+ function Xe(s) {
1571
+ var v = s.target, h = $().contains(v) || l.contains(v);
1572
+ if (!(s.type === "mousemove" && h)) {
1573
+ var j = ce().concat(l).map(function(A) {
1574
+ var _, Y = A._tippy, xe = (_ = Y.popperInstance) == null ? void 0 : _.state;
1575
+ return xe ? {
1576
+ popperRect: A.getBoundingClientRect(),
1577
+ popperState: xe,
1578
+ props: n
1579
+ } : null;
1580
+ }).filter(Boolean);
1581
+ si(j, s) && (le(), ve(s));
1582
+ }
1583
+ }
1584
+ function Ge(s) {
1585
+ var v = Re(s) || i.props.trigger.indexOf("click") >= 0 && c;
1586
+ if (!v) {
1587
+ if (i.props.interactive) {
1588
+ i.hideWithInteractivity(s);
1589
+ return;
1590
+ }
1591
+ ve(s);
1592
+ }
1593
+ }
1594
+ function Le(s) {
1595
+ i.props.trigger.indexOf("focusin") < 0 && s.target !== $() || i.props.interactive && s.relatedTarget && l.contains(s.relatedTarget) || ve(s);
1596
+ }
1597
+ function Re(s) {
1598
+ return te.isTouch ? x() !== s.type.indexOf("touch") >= 0 : !1;
1599
+ }
1600
+ function Ke() {
1601
+ Je();
1602
+ var s = i.props, v = s.popperOptions, h = s.placement, j = s.offset, A = s.getReferenceClientRect, _ = s.moveTransition, Y = P() ? Tt(l).arrow : null, xe = A ? {
1603
+ getBoundingClientRect: A,
1604
+ contextElement: A.contextElement || $()
1605
+ } : e, Mt = {
1606
+ name: "$$tippy",
1607
+ enabled: !0,
1608
+ phase: "beforeWrite",
1609
+ requires: ["computeStyles"],
1610
+ fn: function(nt) {
1611
+ var De = nt.state;
1612
+ if (P()) {
1613
+ var Vn = O(), lt = Vn.box;
1614
+ ["placement", "reference-hidden", "escaped"].forEach(function(rt) {
1615
+ rt === "placement" ? lt.setAttribute("data-placement", De.placement) : De.attributes.popper["data-popper-" + rt] ? lt.setAttribute("data-" + rt, "") : lt.removeAttribute("data-" + rt);
1616
+ }), De.attributes.popper = {};
1617
+ }
1618
+ }
1619
+ }, me = [{
1620
+ name: "offset",
1621
+ options: {
1622
+ offset: j
1623
+ }
1624
+ }, {
1625
+ name: "preventOverflow",
1626
+ options: {
1627
+ padding: {
1628
+ top: 2,
1629
+ bottom: 2,
1630
+ left: 5,
1631
+ right: 5
1632
+ }
1633
+ }
1634
+ }, {
1635
+ name: "flip",
1636
+ options: {
1637
+ padding: 5
1638
+ }
1639
+ }, {
1640
+ name: "computeStyles",
1641
+ options: {
1642
+ adaptive: !_
1643
+ }
1644
+ }, Mt];
1645
+ P() && Y && me.push({
1646
+ name: "arrow",
1647
+ options: {
1648
+ element: Y,
1649
+ padding: 3
1650
+ }
1651
+ }), me.push.apply(me, v?.modifiers || []), i.popperInstance = Xr(xe, l, Object.assign({}, v, {
1652
+ placement: h,
1653
+ onFirstUpdate: T,
1654
+ modifiers: me
1655
+ }));
1656
+ }
1657
+ function Je() {
1658
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1659
+ }
1660
+ function ae() {
1661
+ var s = i.props.appendTo, v, h = $();
1662
+ i.props.interactive && s === bn || s === "parent" ? v = h.parentNode : v = wn(s, [h]), v.contains(l) || v.appendChild(l), i.state.isMounted = !0, Ke(), process.env.NODE_ENV !== "production" && se(i.props.interactive && s === q.appendTo && h.nextElementSibling !== l, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1663
+
1664
+ `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1665
+
1666
+ `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
1667
+
1668
+ `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1669
+ }
1670
+ function ce() {
1671
+ return ut(l.querySelectorAll("[data-tippy-root]"));
1672
+ }
1673
+ function Me(s) {
1674
+ i.clearDelayTimeouts(), s && k("onTrigger", [i, s]), J();
1675
+ var v = B(!0), h = C(), j = h[0], A = h[1];
1676
+ te.isTouch && j === "hold" && A && (v = A), v ? r = setTimeout(function() {
1677
+ i.show();
1678
+ }, v) : i.show();
1679
+ }
1680
+ function ve(s) {
1681
+ if (i.clearDelayTimeouts(), k("onUntrigger", [i, s]), !i.state.isVisible) {
1682
+ ie();
1683
+ return;
1684
+ }
1685
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && c)) {
1686
+ var v = B(!1);
1687
+ v ? o = setTimeout(function() {
1688
+ i.state.isVisible && i.hide();
1689
+ }, v) : a = requestAnimationFrame(function() {
1690
+ i.hide();
1691
+ });
1692
+ }
1693
+ }
1694
+ function Ve() {
1695
+ i.state.isEnabled = !0;
1696
+ }
1697
+ function Qe() {
1698
+ i.hide(), i.state.isEnabled = !1;
1699
+ }
1700
+ function Ze() {
1701
+ clearTimeout(r), clearTimeout(o), cancelAnimationFrame(a);
1702
+ }
1703
+ function et(s) {
1704
+ if (process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
1705
+ k("onBeforeUpdate", [i, s]), Ye();
1706
+ var v = i.props, h = Zt(e, Object.assign({}, v, Xt(s), {
1707
+ ignoreAttributes: !0
1708
+ }));
1709
+ i.props = h, Ee(), v.interactiveDebounce !== h.interactiveDebounce && (le(), w = zt(Xe, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Ae(v.triggerTarget).forEach(function(j) {
1710
+ j.removeAttribute("aria-expanded");
1711
+ }) : h.triggerTarget && e.removeAttribute("aria-expanded"), H(), I(), N && N(v, h), i.popperInstance && (Ke(), ce().forEach(function(j) {
1712
+ requestAnimationFrame(j._tippy.popperInstance.forceUpdate);
1713
+ })), k("onAfterUpdate", [i, s]);
1714
+ }
1715
+ }
1716
+ function tt(s) {
1717
+ i.setProps({
1718
+ content: s
1719
+ });
1720
+ }
1721
+ function Pn() {
1722
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("show"));
1723
+ var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, j = te.isTouch && !i.props.touch, A = vt(i.props.duration, 0, q.duration);
1724
+ if (!(s || v || h || j) && !$().hasAttribute("disabled") && (k("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1725
+ if (i.state.isVisible = !0, P() && (l.style.visibility = "visible"), I(), J(), i.state.isMounted || (l.style.transition = "none"), P()) {
1726
+ var _ = O(), Y = _.box, xe = _.content;
1727
+ mt([Y, xe], 0);
1728
+ }
1729
+ T = function() {
1730
+ var me;
1731
+ if (!(!i.state.isVisible || d)) {
1732
+ if (d = !0, l.offsetHeight, l.style.transition = i.props.moveTransition, P() && i.props.animation) {
1733
+ var ft = O(), nt = ft.box, De = ft.content;
1734
+ mt([nt, De], A), Gt([nt, De], "visible");
1735
+ }
1736
+ W(), H(), Yt(gt, i), (me = i.popperInstance) == null || me.forceUpdate(), k("onMount", [i]), i.props.animation && P() && oe(A, function() {
1737
+ i.state.isShown = !0, k("onShown", [i]);
1738
+ });
1739
+ }
1740
+ }, ae();
1741
+ }
1742
+ }
1743
+ function jn() {
1744
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("hide"));
1745
+ var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, j = vt(i.props.duration, 1, q.duration);
1746
+ if (!(s || v || h) && (k("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1747
+ if (i.state.isVisible = !1, i.state.isShown = !1, d = !1, c = !1, P() && (l.style.visibility = "hidden"), le(), ie(), I(!0), P()) {
1748
+ var A = O(), _ = A.box, Y = A.content;
1749
+ i.props.animation && (mt([_, Y], j), Gt([_, Y], "hidden"));
1750
+ }
1751
+ W(), H(), i.props.animation ? P() && we(j, i.unmount) : i.unmount();
1752
+ }
1753
+ }
1754
+ function Ln(s) {
1755
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("hideWithInteractivity")), R().addEventListener("mousemove", w), Yt(ot, w), w(s);
1756
+ }
1757
+ function Rn() {
1758
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Je(), ce().forEach(function(s) {
1759
+ s._tippy.unmount();
1760
+ }), l.parentNode && l.parentNode.removeChild(l), gt = gt.filter(function(s) {
1761
+ return s !== i;
1762
+ }), i.state.isMounted = !1, k("onHidden", [i]));
1763
+ }
1764
+ function Mn() {
1765
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Te("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), Ye(), delete e._tippy, i.state.isDestroyed = !0, k("onDestroy", [i]));
1766
+ }
1767
+ }
1768
+ function ze(e, t) {
1769
+ t === void 0 && (t = {});
1770
+ var n = q.plugins.concat(t.plugins || []);
1771
+ process.env.NODE_ENV !== "production" && (mi(e), Tn(t, n)), pi();
1772
+ var r = Object.assign({}, t, {
1773
+ plugins: n
1774
+ }), o = oi(e);
1775
+ if (process.env.NODE_ENV !== "production") {
1776
+ var a = _e(r.content), c = o.length > 1;
1777
+ se(a && c, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1778
+
1779
+ `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
1780
+
1781
+ `, `1) content: element.innerHTML
1782
+ `, "2) content: () => element.cloneNode(true)"].join(" "));
1783
+ }
1784
+ var p = o.reduce(function(u, d) {
1785
+ var f = d && Ei(d, r);
1786
+ return f && u.push(f), u;
1787
+ }, []);
1788
+ return _e(e) ? p[0] : p;
1789
+ }
1790
+ ze.defaultProps = q;
1791
+ ze.setDefaultProps = yi;
1792
+ ze.currentInput = te;
1793
+ Object.assign({}, un, {
1794
+ effect: function(t) {
1795
+ var n = t.state, r = {
1796
+ popper: {
1797
+ position: n.options.strategy,
1798
+ left: "0",
1799
+ top: "0",
1800
+ margin: "0"
1801
+ },
1802
+ arrow: {
1803
+ position: "absolute"
1804
+ },
1805
+ reference: {}
1806
+ };
1807
+ Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
1808
+ }
1809
+ });
1810
+ ze.setDefaultProps({
1811
+ render: An
1812
+ });
1813
+ function Sn(e, t) {
1814
+ if (e == null)
1815
+ return {};
1816
+ var n = {}, r = Object.keys(e), o, a;
1817
+ for (a = 0; a < r.length; a++)
1818
+ o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
1819
+ return n;
1820
+ }
1821
+ var Cn = typeof window < "u" && typeof document < "u";
1822
+ function At(e, t) {
1823
+ e && (typeof e == "function" && e(t), {}.hasOwnProperty.call(e, "current") && (e.current = t));
1824
+ }
1825
+ function nn() {
1826
+ return Cn && document.createElement("div");
1827
+ }
1828
+ function xi(e) {
1829
+ var t = {
1830
+ "data-placement": e.placement
1831
+ };
1832
+ return e.referenceHidden && (t["data-reference-hidden"] = ""), e.escaped && (t["data-escaped"] = ""), t;
1833
+ }
1834
+ function Nn(e, t) {
1835
+ if (e === t)
1836
+ return !0;
1837
+ if (typeof e == "object" && e != null && typeof t == "object" && t != null) {
1838
+ if (Object.keys(e).length !== Object.keys(t).length)
1839
+ return !1;
1840
+ for (var n in e)
1841
+ if (t.hasOwnProperty(n)) {
1842
+ if (!Nn(e[n], t[n]))
1843
+ return !1;
1844
+ } else
1845
+ return !1;
1846
+ return !0;
1847
+ } else
1848
+ return !1;
1849
+ }
1850
+ function Di(e) {
1851
+ var t = [];
1852
+ return e.forEach(function(n) {
1853
+ t.find(function(r) {
1854
+ return Nn(n, r);
1855
+ }) || t.push(n);
1856
+ }), t;
1857
+ }
1858
+ function Ti(e, t) {
1859
+ var n, r;
1860
+ return Object.assign({}, t, {
1861
+ popperOptions: Object.assign({}, e.popperOptions, t.popperOptions, {
1862
+ modifiers: Di([].concat(((n = e.popperOptions) == null ? void 0 : n.modifiers) || [], ((r = t.popperOptions) == null ? void 0 : r.modifiers) || []))
1863
+ })
1864
+ });
1865
+ }
1866
+ var yt = Cn ? kn : In;
1867
+ function Ai(e) {
1868
+ var t = Bn();
1869
+ return t.current || (t.current = typeof e == "function" ? e() : e), t.current;
1870
+ }
1871
+ function rn(e, t, n) {
1872
+ n.split(/\s+/).forEach(function(r) {
1873
+ r && e.classList[t](r);
1874
+ });
1875
+ }
1876
+ var Si = {
1877
+ name: "className",
1878
+ defaultValue: "",
1879
+ fn: function(t) {
1880
+ var n = t.popper.firstElementChild, r = function() {
1881
+ var p;
1882
+ return !!((p = t.props.render) != null && p.$$tippy);
1883
+ };
1884
+ function o() {
1885
+ if (t.props.className && !r()) {
1886
+ process.env.NODE_ENV !== "production" && console.warn(["@tippyjs/react: Cannot use `className` prop in conjunction with", "`render` prop. Place the className on the element you are", "rendering."].join(" "));
1887
+ return;
1888
+ }
1889
+ rn(n, "add", t.props.className);
1890
+ }
1891
+ function a() {
1892
+ r() && rn(n, "remove", t.props.className);
1893
+ }
1894
+ return {
1895
+ onCreate: o,
1896
+ onBeforeUpdate: a,
1897
+ onAfterUpdate: o
1898
+ };
1899
+ }
1900
+ };
1901
+ function Ci(e) {
1902
+ function t(n) {
1903
+ var r = n.children, o = n.content, a = n.visible, c = n.singleton, p = n.render, u = n.reference, d = n.disabled, f = d === void 0 ? !1 : d, y = n.ignoreAttributes, T = y === void 0 ? !0 : y;
1904
+ n.__source, n.__self;
1905
+ var m = Sn(n, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]), w = a !== void 0, g = c !== void 0, b = dt(!1), S = b[0], L = b[1], M = dt({}), i = M[0], E = M[1], l = dt(), N = l[0], V = l[1], D = Ai(function() {
1906
+ return {
1907
+ container: nn(),
1908
+ renders: 1
1909
+ };
1910
+ }), C = Object.assign({
1911
+ ignoreAttributes: T
1912
+ }, m, {
1913
+ content: D.container
1914
+ });
1915
+ w && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(R) {
1916
+ C[R] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + R + "` prop in", "controlled mode (`visible` prop)"].join(" "));
1917
+ }), C.trigger = "manual", C.hideOnClick = !1), g && (f = !0);
1918
+ var x = C, P = C.plugins || [];
1919
+ p && (x = Object.assign({}, C, {
1920
+ plugins: g && c.data != null ? [].concat(P, [{
1921
+ fn: function() {
1922
+ return {
1923
+ onTrigger: function(B, I) {
1924
+ var k = c.data.children.find(function(W) {
1925
+ var H = W.instance;
1926
+ return H.reference === I.currentTarget;
1927
+ });
1928
+ B.state.$$activeSingletonInstance = k.instance, V(k.content);
1929
+ }
1930
+ };
1931
+ }
1932
+ }]) : P,
1933
+ render: function() {
1934
+ return {
1935
+ popper: D.container
1936
+ };
1937
+ }
1938
+ }));
1939
+ var $ = [u].concat(r ? [r.type] : []);
1940
+ return yt(function() {
1941
+ var R = u;
1942
+ u && u.hasOwnProperty("current") && (R = u.current);
1943
+ var O = e(R || D.ref || nn(), Object.assign({}, x, {
1944
+ plugins: [Si].concat(C.plugins || [])
1945
+ }));
1946
+ return D.instance = O, f && O.disable(), a && O.show(), g && c.hook({
1947
+ instance: O,
1948
+ content: o,
1949
+ props: x,
1950
+ setSingletonContent: V
1951
+ }), L(!0), function() {
1952
+ O.destroy(), c?.cleanup(O);
1953
+ };
1954
+ }, $), yt(function() {
1955
+ var R;
1956
+ if (D.renders === 1) {
1957
+ D.renders++;
1958
+ return;
1959
+ }
1960
+ var O = D.instance;
1961
+ O.setProps(Ti(O.props, x)), (R = O.popperInstance) == null || R.forceUpdate(), f ? O.disable() : O.enable(), w && (a ? O.show() : O.hide()), g && c.hook({
1962
+ instance: O,
1963
+ content: o,
1964
+ props: x,
1965
+ setSingletonContent: V
1966
+ });
1967
+ }), yt(function() {
1968
+ var R;
1969
+ if (p) {
1970
+ var O = D.instance;
1971
+ O.setProps({
1972
+ popperOptions: Object.assign({}, O.props.popperOptions, {
1973
+ modifiers: [].concat((((R = O.props.popperOptions) == null ? void 0 : R.modifiers) || []).filter(function(B) {
1974
+ var I = B.name;
1975
+ return I !== "$$tippyReact";
1976
+ }), [{
1977
+ name: "$$tippyReact",
1978
+ enabled: !0,
1979
+ phase: "beforeWrite",
1980
+ requires: ["computeStyles"],
1981
+ fn: function(I) {
1982
+ var k, W = I.state, H = (k = W.modifiersData) == null ? void 0 : k.hide;
1983
+ (i.placement !== W.placement || i.referenceHidden !== H?.isReferenceHidden || i.escaped !== H?.hasPopperEscaped) && E({
1984
+ placement: W.placement,
1985
+ referenceHidden: H?.isReferenceHidden,
1986
+ escaped: H?.hasPopperEscaped
1987
+ }), W.attributes.popper = {};
1988
+ }
1989
+ }])
1990
+ })
1991
+ });
1992
+ }
1993
+ }, [i.placement, i.referenceHidden, i.escaped].concat($)), /* @__PURE__ */ bt.createElement(bt.Fragment, null, r ? /* @__PURE__ */ on(r, {
1994
+ ref: function(O) {
1995
+ D.ref = O, At(r.ref, O);
1996
+ }
1997
+ }) : null, S && /* @__PURE__ */ Hn.createPortal(p ? p(xi(i), N, D.instance) : o, D.container));
1998
+ }
1999
+ return t;
2000
+ }
2001
+ var Ni = function(e, t) {
2002
+ return /* @__PURE__ */ $n(function(r, o) {
2003
+ var a = r.children, c = Sn(r, ["children"]);
2004
+ return (
2005
+ // If I spread them separately here, Babel adds the _extends ponyfill for
2006
+ // some reason
2007
+ /* @__PURE__ */ bt.createElement(e, Object.assign({}, t, c), a ? /* @__PURE__ */ on(a, {
2008
+ ref: function(u) {
2009
+ At(o, u), At(a.ref, u);
2010
+ }
2011
+ }) : null)
2012
+ );
2013
+ });
2014
+ }, Pi = /* @__PURE__ */ Ni(/* @__PURE__ */ Ci(ze));
2015
+ const Ri = Pi;
2016
+ export {
2017
+ Ri as T
2018
+ };