@cling-se/widget 0.17.3 → 0.18.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 (232) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/AddClientCallout-CCt78VvH.js +101 -0
  3. package/dist/AnswerModal-B4LwVv2N.js +3371 -0
  4. package/dist/AttachmentItem-DnvYffKP.js +171 -0
  5. package/dist/BaseUpload-DFoV0ZLe.js +6503 -0
  6. package/dist/BlockMedia-Amo_kdHo.js +103 -0
  7. package/dist/CCallout-Gd06ds6O.js +104 -0
  8. package/dist/{CCurrencyDropdown-CXXQu8th.js → CCurrencyDropdown-B4GNmOGA.js} +91 -53
  9. package/dist/CDropdownItem-BUNVCpSR.js +749 -0
  10. package/dist/CFormField.vue_vue_type_script_setup_true_lang-Bo2J0c4G.js +292 -0
  11. package/dist/{CPhoneFormat-BtBGl8b4.js → CPhoneFormat-DmN5r9Ci.js} +13 -21
  12. package/dist/CPhoneInput-B6iyhsOG.js +207 -0
  13. package/dist/CPriceInput-BLQaNu1d.js +142 -0
  14. package/dist/CSelect-BVO9iO9L.js +98 -0
  15. package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-C9loRtrk.js +51 -0
  16. package/dist/ClientAutocomplete-C__yUaxD.js +532 -0
  17. package/dist/ClientModal-B9cbuEiC.js +1188 -0
  18. package/dist/ColorPicker-G2kkxL7_.js +1408 -0
  19. package/dist/CompanyModal-por9AG4P.js +250 -0
  20. package/dist/ContentWrapper-CQtaGA2u.js +265 -0
  21. package/dist/CoverBlockSettings-BCBDouyl.js +861 -0
  22. package/dist/DocAnswer-BrKctwrY.js +33 -0
  23. package/dist/DocDetails-B_LWVHGt.js +452 -0
  24. package/dist/DocForm-D6T7NmfO.js +6772 -0
  25. package/dist/DocFormSend-COYPrhl7.js +171 -0
  26. package/dist/DocLinks-B0LjxXIk.js +36 -0
  27. package/dist/DocModalBase-DObZHuYr.js +29 -0
  28. package/dist/DocPrint-CkDq78fB.js +399 -0
  29. package/dist/DocReceipt-CYBPyePC.js +341 -0
  30. package/dist/DocSendReminder-Dau6s43e.js +181 -0
  31. package/dist/{DocTextEditor-yD9Dt_um.js → DocTextEditor-CVn6gE1i.js} +7907 -5579
  32. package/dist/DocTimeline-ChBDPOfd.js +537 -0
  33. package/dist/DocumentClient-MLXzzXLb.js +90 -0
  34. package/dist/DocumentLayout-BMHOt380.js +1434 -0
  35. package/dist/DocumentLogotype-Clj3fopX.js +162 -0
  36. package/dist/DocumentVoided-B5_MSBbC.js +33 -0
  37. package/dist/EmbedInput-CzkOa02p.js +156 -0
  38. package/dist/EmbedSettings-Cf_F3KrM.js +103 -0
  39. package/dist/ErrorCallout-CJn6NCse.js +34 -0
  40. package/dist/FilePreviewModal-Di1VnPNY.js +202 -0
  41. package/dist/Flag-C4_G5IY1.js +41 -0
  42. package/dist/HeaderSettings-DWN0TjVD.js +720 -0
  43. package/dist/ImageSelectModal-DmAJ9PrN.js +119 -0
  44. package/dist/ImageUploadWrapper-QLEhA_dI.js +1585 -0
  45. package/dist/Index-B06eCuBA.js +76 -0
  46. package/dist/Index-B8Zj0-MX.js +87 -0
  47. package/dist/{Index-C_aIQ908.js → Index-BBBXL4zh.js} +319 -214
  48. package/dist/Index-BCHLxp7B.js +21 -0
  49. package/dist/Index-BDAp1CwZ.js +363 -0
  50. package/dist/Index-BFbcjFo4.js +16 -0
  51. package/dist/{Index-CRiATiQn.js → Index-BODJXJNp.js} +10 -18
  52. package/dist/Index-BOx_9tTM.js +136 -0
  53. package/dist/Index-BgZNiD7A.js +47 -0
  54. package/dist/Index-Bt97lEsI.js +228 -0
  55. package/dist/Index-C9aBeBBk.js +70 -0
  56. package/dist/Index-CE3pWPzp.js +49 -0
  57. package/dist/Index-CMdPSsp4.js +38 -0
  58. package/dist/Index-CNhBDG2e.js +126 -0
  59. package/dist/Index-CdsOdgG2.js +28 -0
  60. package/dist/{Index-Ch9r5yhG.js → Index-CmxFh3dW.js} +9 -17
  61. package/dist/Index-CpxzwwQS.js +52 -0
  62. package/dist/Index-CxTwWRD9.js +93 -0
  63. package/dist/Index-D9WFWlE6.js +140 -0
  64. package/dist/Index-D9bulLeI.js +39 -0
  65. package/dist/{Index-RWMPRDAE.js → Index-DL_9LzoR.js} +10 -18
  66. package/dist/Index-DR-sGE3Y.js +25 -0
  67. package/dist/Index-DRoOW5Pn.js +163 -0
  68. package/dist/Index-DTn47-hP.js +74 -0
  69. package/dist/Index-DeGDlj0B.js +68 -0
  70. package/dist/Index-DhYYK4bK.js +28 -0
  71. package/dist/Index-Dssdb-0Z.js +629 -0
  72. package/dist/Index-OcBnU480.js +200 -0
  73. package/dist/Index-Qh_8JqAv.js +3477 -0
  74. package/dist/Index-W10PQb8i.js +102 -0
  75. package/dist/Index-lbWFEELM.js +4 -0
  76. package/dist/Index-qFAg7VVU.js +1098 -0
  77. package/dist/Index-rDndJKo1.js +160 -0
  78. package/dist/{Index-Dfq7egc1.js → Index-s-6Qh_NE.js} +47 -60
  79. package/dist/Index.vue_vue_type_script_lang-CriDqp1F.js +671 -0
  80. package/dist/InputToggleRow-DJarYsVL.js +99 -0
  81. package/dist/ManualPopover-BMrkEHtV.js +65 -0
  82. package/dist/MediaWrapper-BYdVpmov.js +18 -0
  83. package/dist/{NotBindingText-CC7TxUqg.js → NotBindingText-DGjJoN8-.js} +13 -17
  84. package/dist/PackageGroup-q7_oBOqw.js +1060 -0
  85. package/dist/PdfTerms-DBEClYQ5.js +34 -0
  86. package/dist/PdfViewer-C_y5sqXB.js +392 -0
  87. package/dist/PlainHtml.vue_vue_type_script_setup_true_lang-D5ZLw34T.js +17 -0
  88. package/dist/PriceHeader-BSwv3mzc.js +488 -0
  89. package/dist/{SearchApi-G2Hvp0Dd.js → SearchApi-BM6TTqxW.js} +37 -49
  90. package/dist/SendForm-DfmBbhp9.js +6689 -0
  91. package/dist/Setup-BC1feKr_.js +47 -0
  92. package/dist/{SmartList-BynTuXtB.js → SmartList-B3pgsg4S.js} +16 -24
  93. package/dist/Sortable.vue_vue_type_script_setup_true_lang-YOP-Y07m.js +1349 -0
  94. package/dist/{TermsSettings-cA5YAO77.js → TermsSettings-DEkACrRU.js} +169 -56
  95. package/dist/ThemeColorRow-qG8Dkkyj.js +105 -0
  96. package/dist/ToggleBinding-Cdtl_-1s.js +44 -0
  97. package/dist/UploadModal-1OWPRxA5.js +134 -0
  98. package/dist/VideoPlayerInput-DgFNjiKK.js +134 -0
  99. package/dist/VideoPlayerSettings-CFuA-7RC.js +78 -0
  100. package/dist/VideoSelectModal-CSv67eA8.js +217 -0
  101. package/dist/{anime.es-BrPTThYb.js → anime.es-4wvNItHq.js} +205 -201
  102. package/dist/{color-TdtKxwVa.js → color-HetJPhlA.js} +1 -2
  103. package/dist/{dom-Ds4ypDrd.js → dom-CkTGWrfu.js} +3 -6
  104. package/dist/{focusDrawerMixin-CximZA1J.js → focusDrawerMixin-r-OZchfV.js} +1 -1
  105. package/dist/{formDrawerState-CkNGdxn5.js → formDrawerState-COVczNhJ.js} +2 -2
  106. package/dist/helpers-ChwW54Ex.js +46 -0
  107. package/dist/index-BMZle8Ew.js +513 -0
  108. package/dist/index-Bf-fiKJf.js +268 -0
  109. package/dist/index-Bg4JRi5S.js +125 -0
  110. package/dist/index-C7chK2UD.js +3525 -0
  111. package/dist/index-CR52qIBO.js +149 -0
  112. package/dist/index-D1x9O_nJ.js +188 -0
  113. package/dist/index-YFcPqc9m.js +508 -0
  114. package/dist/index.es.js +2 -5
  115. package/dist/index.umd.js +303 -1486
  116. package/dist/main-DI0diChK.js +57570 -0
  117. package/dist/mapFormMixin-Cgvwie9a.js +1528 -0
  118. package/dist/omit-DpjD7Dj9.js +56 -0
  119. package/dist/{publicSenderState-CGEm9EYe.js → publicSenderState-BcjNldje.js} +4 -4
  120. package/dist/splitpanes-BypKTSRL.js +342 -0
  121. package/dist/template-Dzexob5I.js +1572 -0
  122. package/dist/tippy.esm-0UMN6kWf.js +1994 -0
  123. package/dist/useTermsModal-DzH_PDFP.js +87 -0
  124. package/dist/{utils-Dr4AcaE9.js → utils--kBYCNZD.js} +8 -11
  125. package/dist/validation-B-omH73u.js +40 -0
  126. package/dist/widget.css +1 -0
  127. package/package.json +20 -25
  128. package/dist/AddClientCallout-Br6IhwGH.js +0 -48
  129. package/dist/AnswerModal-CsWltR6j.js +0 -3879
  130. package/dist/AttachmentItem-BG7FuSCD.js +0 -85
  131. package/dist/BaseDatePicker-PSNBtUIh.js +0 -3187
  132. package/dist/BaseUpload-BfEurAAV.js +0 -1977
  133. package/dist/BlockMedia-Bo3OfNSU.js +0 -76
  134. package/dist/CCallout-CAjM8-1X.js +0 -58
  135. package/dist/CDropdownItem-CN7gSfgY.js +0 -640
  136. package/dist/CFormField-Clvcf2Jh.js +0 -240
  137. package/dist/CPhoneInput-CEHXh5jM.js +0 -138
  138. package/dist/CPriceInput-D2c07SXp.js +0 -116
  139. package/dist/CSelect-Cz2IPzxS.js +0 -91
  140. package/dist/CSkeleton-AsnvnD-m.js +0 -55
  141. package/dist/ClientAutocomplete-CZ55-DKe.js +0 -438
  142. package/dist/ClientModal-CgUhWZ5L.js +0 -666
  143. package/dist/ColorPicker-IFGHqH-u.js +0 -2879
  144. package/dist/CompanyModal-TLSBFo3U.js +0 -147
  145. package/dist/ContentWrapper-HClxKPuT.js +0 -190
  146. package/dist/CoverBlockSettings-D99hAa6e.js +0 -659
  147. package/dist/DocAnswer-CTV_Bpt7.js +0 -36
  148. package/dist/DocDetails-CQe5htXj.js +0 -263
  149. package/dist/DocForm-6Efv5_oz.js +0 -5017
  150. package/dist/DocFormSend-DbXcklxU.js +0 -146
  151. package/dist/DocLinks-BO545zbL.js +0 -38
  152. package/dist/DocModalBase-DXHNJ-6i.js +0 -28
  153. package/dist/DocPrint-Bf2U4FQN.js +0 -240
  154. package/dist/DocReceipt-CWXvC7bY.js +0 -217
  155. package/dist/DocSendReminder-CRzBM2NJ.js +0 -140
  156. package/dist/DocTimeline-DGVOk8-2.js +0 -485
  157. package/dist/DocumentClient-Das9BaJ7.js +0 -136
  158. package/dist/DocumentLayout-4q8rmTVT.js +0 -4880
  159. package/dist/DocumentLogotype-DLncJJAB.js +0 -92
  160. package/dist/DocumentVoided-CcI9lX27.js +0 -25
  161. package/dist/EmbedInput-BPdy0lGS.js +0 -117
  162. package/dist/EmbedSettings-L2iwYLQK.js +0 -74
  163. package/dist/ErrorCallout-Ds_tBT02.js +0 -27
  164. package/dist/FilePreviewModal-hxUu330p.js +0 -81
  165. package/dist/Flag-1-HcT5Dz.js +0 -46
  166. package/dist/HeaderSettings-C27fMugK.js +0 -440
  167. package/dist/ImageSelectModal-BKDIyxF4.js +0 -86
  168. package/dist/ImageUploadWrapper-BiYzUQur.js +0 -1604
  169. package/dist/Index-5BOWxcPG.js +0 -26
  170. package/dist/Index-B1Odktov.js +0 -754
  171. package/dist/Index-B3d5BjEn.js +0 -25
  172. package/dist/Index-B3sSU_4X.js +0 -54
  173. package/dist/Index-B5Dqsh3K.js +0 -150
  174. package/dist/Index-B6aO1c_w.js +0 -62
  175. package/dist/Index-BGfICxJQ.js +0 -643
  176. package/dist/Index-BHopC0hv.js +0 -24
  177. package/dist/Index-BJXcSmp_.js +0 -55
  178. package/dist/Index-BQe6QjQZ.js +0 -25
  179. package/dist/Index-BmXx_x6t.js +0 -77
  180. package/dist/Index-C692qMTG.js +0 -294
  181. package/dist/Index-CEvbw-3i.js +0 -41
  182. package/dist/Index-CYSULnpn.js +0 -32
  183. package/dist/Index-CdtYzwAM.js +0 -107
  184. package/dist/Index-CetF2FW0.js +0 -230
  185. package/dist/Index-Cv6XLM20.js +0 -73
  186. package/dist/Index-Cwy8ff76.js +0 -154
  187. package/dist/Index-D34z4UEY.js +0 -84
  188. package/dist/Index-DNCei-lp.js +0 -56
  189. package/dist/Index-DUbxgIYB.js +0 -2445
  190. package/dist/Index-DVwn_LLf.js +0 -28
  191. package/dist/Index-Dla-mesV.js +0 -146
  192. package/dist/Index-KtUkOPI2.js +0 -58
  193. package/dist/Index-LjnOTVJk.js +0 -66
  194. package/dist/Index-ky1SRtfY.js +0 -94
  195. package/dist/Index-mceZW2NX.js +0 -41
  196. package/dist/Index-tD3hZjh8.js +0 -144
  197. package/dist/Index-vM5kDtC2.js +0 -33
  198. package/dist/InputToggleRow-BmDuSbE2.js +0 -57
  199. package/dist/ManualPopover-CQfjPvFe.js +0 -60
  200. package/dist/MediaWrapper-DDzcjR6V.js +0 -23
  201. package/dist/PackageGroup-mAGXfZDv.js +0 -704
  202. package/dist/PdfTerms-BH_Nwf2h.js +0 -31
  203. package/dist/PdfViewer-mBLxI8bA.js +0 -383
  204. package/dist/PlainHtml-B7gUNNZd.js +0 -27
  205. package/dist/PriceHeader-DClYMPcq.js +0 -338
  206. package/dist/SendForm-Cxv_m8Rq.js +0 -1023
  207. package/dist/Setup-B90VDZTG.js +0 -50
  208. package/dist/ThemeColorRow-D-Z7w4Wk.js +0 -69
  209. package/dist/ToggleBinding-DOeTcWzi.js +0 -42
  210. package/dist/UploadModal-DOPLVEpV.js +0 -95
  211. package/dist/VideoPlayerInput-1zG06elO.js +0 -97
  212. package/dist/VideoPlayerSettings-O-4rAYYh.js +0 -61
  213. package/dist/VideoSelectModal-DzqFrqCg.js +0 -104
  214. package/dist/answerDocumentMixin-HBiNWYCH.js +0 -51
  215. package/dist/debounce-Ch1d3526.js +0 -84
  216. package/dist/formValidationMixin-D_MzsHsR.js +0 -49
  217. package/dist/index-BNdbPq4J.js +0 -492
  218. package/dist/index-BXzugeJ6.js +0 -81
  219. package/dist/index-C5wcxrC6.js +0 -167
  220. package/dist/index-CgDOs7t4.js +0 -2700
  221. package/dist/index-Cj-_2coz.js +0 -351
  222. package/dist/index-DpqV5y0K.js +0 -102
  223. package/dist/main-BL_yzf2r.js +0 -57357
  224. package/dist/mapFormMixin-Cu_vkTP-.js +0 -3028
  225. package/dist/omit-Dfe_H1Ft.js +0 -31
  226. package/dist/simplebar.min-CRlLD1Oz.js +0 -71
  227. package/dist/splitpanes-BHUVsCZF.js +0 -382
  228. package/dist/style.css +0 -4
  229. package/dist/throttle-BX_w77tW.js +0 -18
  230. package/dist/tippy.esm-n4arfVzA.js +0 -1805
  231. package/dist/vuedraggable.umd-DW4PJoZ3.js +0 -3161
  232. package/dist/vuex.esm-DKGl8mcw.js +0 -467
@@ -0,0 +1,1994 @@
1
+ import { F as Tr } from "./DocumentLayout-BMHOt380.js";
2
+ import { _ as Ar, z as Cr, o as P, b as I, s as _, v as pe, E as Dr, f as It, F as Le, k as st, e as xe, a2 as kr, n as _r, $ as ve, d as ce, w as Se, l as Lr, an as Sr, c as Rr, B as Pr } from "./main-DI0diChK.js";
3
+ import { C as Ir, b as Mr } from "./CDropdownItem-BUNVCpSR.js";
4
+ import { C as jr } from "./ColorPicker-G2kkxL7_.js";
5
+ import { C as Br } from "./CCurrencyDropdown-B4GNmOGA.js";
6
+ const Vr = {
7
+ components: {
8
+ ColorPicker: jr,
9
+ FontPickerDropdown: Tr,
10
+ CCurrencyDropdown: Br,
11
+ CDropdown: Ir,
12
+ CSwitch: Mr,
13
+ FormInputRow: Cr(() => Promise.resolve().then(() => ln))
14
+ },
15
+ props: {
16
+ label: {
17
+ type: String,
18
+ default: ""
19
+ },
20
+ infoTooltip: {
21
+ type: String,
22
+ default: ""
23
+ },
24
+ inputs: {
25
+ type: Array,
26
+ required: !0
27
+ }
28
+ },
29
+ methods: {
30
+ onKeyPressNumberRestrict(e) {
31
+ ["-", "+", "e", "E"].includes(e.key) && e.preventDefault();
32
+ }
33
+ }
34
+ }, $r = { style: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, Nr = { style: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, Fr = { style: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, Hr = {
35
+ key: 0,
36
+ class: "info-tooltip",
37
+ width: "13",
38
+ height: "13",
39
+ viewBox: "0 0 24 24",
40
+ xmlns: "http://www.w3.org/2000/svg",
41
+ fill: "none",
42
+ stroke: "currentColor",
43
+ "stroke-width": "2",
44
+ "stroke-linecap": "square",
45
+ "stroke-linejoin": "bevel"
46
+ }, Ur = { style: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, Wr = ["onInput", "onKeypress"], zr = ["onInput", "onKeypress"], qr = { class: "select-wrapper" }, Xr = ["onInput"], Yr = ["value", "selected"], Kr = ["onClick"], Gr = ["onClick"], Jr = ["onInput"], Qr = ["value", "selected"], Zr = { style: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" } }, en = { style: { padding: "0 5px" } }, tn = ["onClick"], rn = { class: "truncate-text" }, nn = { style: { width: "90%", display: "block" } }, on = { class: "truncate-text" }, an = { style: { width: "90%", display: "block" } }, sn = { style: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" } }, un = { style: { padding: "0 5px" } }, pn = ["onClick"];
47
+ function cn(e, t, r, n, i, s) {
48
+ const p = xe("CIcon"), c = xe("ColorPicker"), u = xe("CDropdown"), v = xe("FontPickerDropdown"), d = xe("CCurrencyDropdown"), x = xe("CSwitch"), O = xe("FormInputRow", !0), y = kr("tooltip");
49
+ return P(), I("div", $r, [
50
+ _("div", Nr, [
51
+ _("div", Fr, pe(r.label), 1),
52
+ r.infoTooltip ? Dr((P(), I("svg", Hr, t[0] || (t[0] = [
53
+ _("circle", {
54
+ cx: "12",
55
+ cy: "12",
56
+ r: "10"
57
+ }, null, -1),
58
+ _("line", {
59
+ x1: "12",
60
+ y1: "16",
61
+ x2: "12",
62
+ y2: "12"
63
+ }, null, -1),
64
+ _("line", {
65
+ x1: "12",
66
+ y1: "8",
67
+ x2: "12",
68
+ y2: "8"
69
+ }, null, -1)
70
+ ]))), [
71
+ [y, r.infoTooltip]
72
+ ]) : It("", !0)
73
+ ]),
74
+ _("div", Ur, [
75
+ (P(!0), I(Le, null, st(r.inputs, (f, b) => (P(), I(Le, { key: b }, [
76
+ f.component === "input" ? (P(), I("div", {
77
+ key: 0,
78
+ class: _r({ "input-wrapper": f.props.type !== "range" })
79
+ }, [
80
+ _("input", ve({ ref_for: !0 }, f.props, {
81
+ class: {
82
+ slider: f.props.type === "range"
83
+ },
84
+ style: [
85
+ f.props.type === "range" && {
86
+ "--progress": `${(f.props.value - f.props.min) * 100 / (f.props.max - f.props.min)}%`
87
+ }
88
+ ],
89
+ onInput: (l) => f.onInput ? f.onInput(l.target.value) : null,
90
+ onKeypress: (l) => f.props.type === "number" ? s.onKeyPressNumberRestrict(l) : null
91
+ }), null, 16, Wr)
92
+ ], 2)) : f.component === "inputSelect" ? (P(), I("div", {
93
+ key: b + "input",
94
+ class: "input-wrapper"
95
+ }, [
96
+ _("input", ve({ ref_for: !0 }, f.props.input, {
97
+ style: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" },
98
+ onInput: (l) => f.props.input.onInput ? f.props.input.onInput(l.target.value) : null,
99
+ onKeypress: (l) => f.props.input.type === "number" ? s.onKeyPressNumberRestrict(l) : null
100
+ }), null, 16, zr),
101
+ _("div", qr, [
102
+ _("select", ve({ ref_for: !0 }, f.props.select, {
103
+ style: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" },
104
+ onInput: (l) => f.props.select.onInput ? f.props.select.onInput(l.target.value) : null
105
+ }), [
106
+ (P(!0), I(Le, null, st(f.props.select.options, (l) => (P(), I("option", {
107
+ key: l.value,
108
+ value: l.value,
109
+ selected: l.value === f.props.select.value
110
+ }, pe(l.label), 9, Yr))), 128))
111
+ ], 16, Xr)
112
+ ])
113
+ ])) : f.component === "step" ? (P(), I("div", {
114
+ key: b + "step",
115
+ class: "input-wrapper"
116
+ }, [
117
+ _("button", {
118
+ style: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" },
119
+ onClick: f.onDecrease
120
+ }, [
121
+ ce(p, {
122
+ size: "15",
123
+ type: "minus",
124
+ style: { opacity: "0.85" }
125
+ })
126
+ ], 8, Kr),
127
+ t[1] || (t[1] = _("div", { style: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }, null, -1)),
128
+ _("button", {
129
+ style: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" },
130
+ onClick: f.onIncrease
131
+ }, [
132
+ ce(p, {
133
+ size: "15",
134
+ type: "plus",
135
+ style: { opacity: "0.85" }
136
+ })
137
+ ], 8, Gr)
138
+ ])) : f.component === "select" ? (P(), I("div", {
139
+ key: b + "select",
140
+ class: "input-wrapper"
141
+ }, [
142
+ _("select", ve({ ref_for: !0 }, f.props, {
143
+ onInput: (l) => f.onInput ? f.onInput(l.target.value) : null
144
+ }), [
145
+ (P(!0), I(Le, null, st(f.props.options, (l) => (P(), I("option", {
146
+ key: l.value,
147
+ value: l.value,
148
+ selected: l.value === f.props.value
149
+ }, pe(l.label), 9, Qr))), 128))
150
+ ], 16, Jr)
151
+ ])) : f.component === "color" ? (P(), I("div", {
152
+ key: b + "color",
153
+ class: "input-wrapper"
154
+ }, [
155
+ ce(u, {
156
+ "menu-styling": { width: "240px" },
157
+ position: f.props.position || "is-top-right",
158
+ paddingless: "",
159
+ expanded: "",
160
+ style: { width: "100%" }
161
+ }, {
162
+ trigger: Se(() => [
163
+ _("div", Zr, [
164
+ _("div", {
165
+ style: Lr([{ "background-color": f.props.value }, { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0, 0, 0, 0.3)" }])
166
+ }, null, 4),
167
+ _("div", en, pe(f.props.value), 1),
168
+ f.props.value && f.props.showReset ? (P(), I("div", {
169
+ key: 0,
170
+ class: "plain-button",
171
+ style: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" },
172
+ onClick: Sr((l) => f.onInput(""), ["prevent", "stop"])
173
+ }, [
174
+ ce(p, {
175
+ type: "reset",
176
+ size: "14",
177
+ "stroke-width": "2.5"
178
+ })
179
+ ], 8, tn)) : It("", !0)
180
+ ])
181
+ ]),
182
+ default: Se(() => [
183
+ ce(c, ve({ ref_for: !0 }, f.props, {
184
+ style: { "box-shadow": "none" },
185
+ "model-value": f.props.value,
186
+ "onUpdate:modelValue": ({ a: l, hex: g, hex8: E }) => f.onInput && f.onInput(l === 1 ? g : E)
187
+ }), null, 16, ["model-value", "onUpdate:modelValue"])
188
+ ]),
189
+ _: 2
190
+ }, 1032, ["position"])
191
+ ])) : f.component === "font" ? (P(), I("div", {
192
+ key: b + "font",
193
+ class: "input-wrapper"
194
+ }, [
195
+ ce(v, ve({ ref_for: !0 }, f.props, {
196
+ "model-value": f.props.value,
197
+ class: "font-input-wrapper",
198
+ "onUpdate:modelValue": (l) => f.onInput && f.onInput(l)
199
+ }), {
200
+ default: Se(({ selectedFamily: l }) => [
201
+ _("button", rn, [
202
+ _("span", nn, pe(l), 1)
203
+ ])
204
+ ]),
205
+ _: 2
206
+ }, 1040, ["model-value", "onUpdate:modelValue"])
207
+ ])) : f.component === "currency" ? (P(), I("div", {
208
+ key: b + "currency",
209
+ class: "input-wrapper"
210
+ }, [
211
+ ce(d, ve({ ref_for: !0 }, f.props, {
212
+ "model-value": f.props.value,
213
+ class: "currency-input-wrapper",
214
+ "onUpdate:modelValue": (l) => f.onInput && f.onInput(l)
215
+ }), {
216
+ default: Se(({ selectedValue: l }) => [
217
+ _("button", on, [
218
+ _("span", an, pe(l), 1)
219
+ ])
220
+ ]),
221
+ _: 2
222
+ }, 1040, ["model-value", "onUpdate:modelValue"])
223
+ ])) : f.component === "switch" ? (P(), I("div", {
224
+ key: b + "switch",
225
+ class: "input-wrapper switch"
226
+ }, [
227
+ ce(x, ve({ ref_for: !0 }, f.props, {
228
+ "model-value": f.props.value,
229
+ size: "tiny",
230
+ type: "secondary",
231
+ "onUpdate:modelValue": (l) => f.onInput && f.onInput(l)
232
+ }), null, 16, ["model-value", "onUpdate:modelValue"])
233
+ ])) : f.component === "popup" ? (P(), I("div", {
234
+ key: b + "popup",
235
+ class: "input-wrapper"
236
+ }, [
237
+ ce(u, {
238
+ "menu-styling": { width: f.props.width },
239
+ style: { width: "100%" }
240
+ }, {
241
+ trigger: Se(() => [
242
+ _("div", sn, [
243
+ _("div", un, pe(f.props.value), 1)
244
+ ])
245
+ ]),
246
+ default: Se(() => [
247
+ _("div", null, [
248
+ (P(!0), I(Le, null, st(f.props.popup.inputs, (l, g) => (P(), Rr(O, {
249
+ key: g,
250
+ inputs: l.inputs,
251
+ label: l.label
252
+ }, null, 8, ["inputs", "label"]))), 128))
253
+ ])
254
+ ]),
255
+ _: 2
256
+ }, 1032, ["menu-styling"])
257
+ ])) : f.component === "button" ? (P(), I("div", {
258
+ key: b + "button",
259
+ class: "input-wrapper"
260
+ }, [
261
+ _("button", {
262
+ style: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" },
263
+ onClick: f.onClick
264
+ }, pe(f.props.text), 9, pn)
265
+ ])) : (P(), I(Le, { key: 10 }, [
266
+ Pr(pe(f.component), 1)
267
+ ], 64))
268
+ ], 64))), 128))
269
+ ])
270
+ ]);
271
+ }
272
+ const fn = /* @__PURE__ */ Ar(Vr, [["render", cn], ["__scopeId", "data-v-f7e945d7"]]), ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
273
+ __proto__: null,
274
+ default: fn
275
+ }, Symbol.toStringTag, { value: "Module" }));
276
+ var H = "top", K = "bottom", G = "right", U = "left", At = "auto", Ye = [H, K, G, U], Re = "start", qe = "end", dn = "clippingParents", er = "viewport", He = "popper", vn = "reference", Mt = /* @__PURE__ */ Ye.reduce(function(e, t) {
277
+ return e.concat([t + "-" + Re, t + "-" + qe]);
278
+ }, []), tr = /* @__PURE__ */ [].concat(Ye, [At]).reduce(function(e, t) {
279
+ return e.concat([t, t + "-" + Re, t + "-" + qe]);
280
+ }, []), mn = "beforeRead", hn = "read", gn = "afterRead", yn = "beforeMain", bn = "main", wn = "afterMain", xn = "beforeWrite", On = "write", En = "afterWrite", Tn = [mn, hn, gn, yn, bn, wn, xn, On, En];
281
+ function oe(e) {
282
+ return e ? (e.nodeName || "").toLowerCase() : null;
283
+ }
284
+ function J(e) {
285
+ if (e == null)
286
+ return window;
287
+ if (e.toString() !== "[object Window]") {
288
+ var t = e.ownerDocument;
289
+ return t && t.defaultView || window;
290
+ }
291
+ return e;
292
+ }
293
+ function Te(e) {
294
+ var t = J(e).Element;
295
+ return e instanceof t || e instanceof Element;
296
+ }
297
+ function Y(e) {
298
+ var t = J(e).HTMLElement;
299
+ return e instanceof t || e instanceof HTMLElement;
300
+ }
301
+ function Ct(e) {
302
+ if (typeof ShadowRoot > "u")
303
+ return !1;
304
+ var t = J(e).ShadowRoot;
305
+ return e instanceof t || e instanceof ShadowRoot;
306
+ }
307
+ function An(e) {
308
+ var t = e.state;
309
+ Object.keys(t.elements).forEach(function(r) {
310
+ var n = t.styles[r] || {}, i = t.attributes[r] || {}, s = t.elements[r];
311
+ !Y(s) || !oe(s) || (Object.assign(s.style, n), Object.keys(i).forEach(function(p) {
312
+ var c = i[p];
313
+ c === !1 ? s.removeAttribute(p) : s.setAttribute(p, c === !0 ? "" : c);
314
+ }));
315
+ });
316
+ }
317
+ function Cn(e) {
318
+ var t = e.state, r = {
319
+ popper: {
320
+ position: t.options.strategy,
321
+ left: "0",
322
+ top: "0",
323
+ margin: "0"
324
+ },
325
+ arrow: {
326
+ position: "absolute"
327
+ },
328
+ reference: {}
329
+ };
330
+ return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
331
+ Object.keys(t.elements).forEach(function(n) {
332
+ var i = t.elements[n], s = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = p.reduce(function(u, v) {
333
+ return u[v] = "", u;
334
+ }, {});
335
+ !Y(i) || !oe(i) || (Object.assign(i.style, c), Object.keys(s).forEach(function(u) {
336
+ i.removeAttribute(u);
337
+ }));
338
+ });
339
+ };
340
+ }
341
+ const rr = {
342
+ name: "applyStyles",
343
+ enabled: !0,
344
+ phase: "write",
345
+ fn: An,
346
+ effect: Cn,
347
+ requires: ["computeStyles"]
348
+ };
349
+ function ne(e) {
350
+ return e.split("-")[0];
351
+ }
352
+ var Ee = Math.max, ft = Math.min, Pe = Math.round;
353
+ function xt() {
354
+ var e = navigator.userAgentData;
355
+ return e != null && e.brands ? e.brands.map(function(t) {
356
+ return t.brand + "/" + t.version;
357
+ }).join(" ") : navigator.userAgent;
358
+ }
359
+ function nr() {
360
+ return !/^((?!chrome|android).)*safari/i.test(xt());
361
+ }
362
+ function Ie(e, t, r) {
363
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
364
+ var n = e.getBoundingClientRect(), i = 1, s = 1;
365
+ t && Y(e) && (i = e.offsetWidth > 0 && Pe(n.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Pe(n.height) / e.offsetHeight || 1);
366
+ var p = Te(e) ? J(e) : window, c = p.visualViewport, u = !nr() && r, v = (n.left + (u && c ? c.offsetLeft : 0)) / i, d = (n.top + (u && c ? c.offsetTop : 0)) / s, x = n.width / i, O = n.height / s;
367
+ return {
368
+ width: x,
369
+ height: O,
370
+ top: d,
371
+ right: v + x,
372
+ bottom: d + O,
373
+ left: v,
374
+ x: v,
375
+ y: d
376
+ };
377
+ }
378
+ function Dt(e) {
379
+ var t = Ie(e), r = e.offsetWidth, n = e.offsetHeight;
380
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
381
+ x: e.offsetLeft,
382
+ y: e.offsetTop,
383
+ width: r,
384
+ height: n
385
+ };
386
+ }
387
+ function or(e, t) {
388
+ var r = t.getRootNode && t.getRootNode();
389
+ if (e.contains(t))
390
+ return !0;
391
+ if (r && Ct(r)) {
392
+ var n = t;
393
+ do {
394
+ if (n && e.isSameNode(n))
395
+ return !0;
396
+ n = n.parentNode || n.host;
397
+ } while (n);
398
+ }
399
+ return !1;
400
+ }
401
+ function fe(e) {
402
+ return J(e).getComputedStyle(e);
403
+ }
404
+ function Dn(e) {
405
+ return ["table", "td", "th"].indexOf(oe(e)) >= 0;
406
+ }
407
+ function he(e) {
408
+ return ((Te(e) ? e.ownerDocument : (
409
+ // $FlowFixMe[prop-missing]
410
+ e.document
411
+ )) || window.document).documentElement;
412
+ }
413
+ function dt(e) {
414
+ return oe(e) === "html" ? e : (
415
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
416
+ // $FlowFixMe[incompatible-return]
417
+ // $FlowFixMe[prop-missing]
418
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
419
+ e.parentNode || // DOM Element detected
420
+ (Ct(e) ? e.host : null) || // ShadowRoot detected
421
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
422
+ he(e)
423
+ );
424
+ }
425
+ function jt(e) {
426
+ return !Y(e) || // https://github.com/popperjs/popper-core/issues/837
427
+ fe(e).position === "fixed" ? null : e.offsetParent;
428
+ }
429
+ function kn(e) {
430
+ var t = /firefox/i.test(xt()), r = /Trident/i.test(xt());
431
+ if (r && Y(e)) {
432
+ var n = fe(e);
433
+ if (n.position === "fixed")
434
+ return null;
435
+ }
436
+ var i = dt(e);
437
+ for (Ct(i) && (i = i.host); Y(i) && ["html", "body"].indexOf(oe(i)) < 0; ) {
438
+ var s = fe(i);
439
+ if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
440
+ return i;
441
+ i = i.parentNode;
442
+ }
443
+ return null;
444
+ }
445
+ function Ke(e) {
446
+ for (var t = J(e), r = jt(e); r && Dn(r) && fe(r).position === "static"; )
447
+ r = jt(r);
448
+ return r && (oe(r) === "html" || oe(r) === "body" && fe(r).position === "static") ? t : r || kn(e) || t;
449
+ }
450
+ function kt(e) {
451
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
452
+ }
453
+ function Ue(e, t, r) {
454
+ return Ee(e, ft(t, r));
455
+ }
456
+ function _n(e, t, r) {
457
+ var n = Ue(e, t, r);
458
+ return n > r ? r : n;
459
+ }
460
+ function ir() {
461
+ return {
462
+ top: 0,
463
+ right: 0,
464
+ bottom: 0,
465
+ left: 0
466
+ };
467
+ }
468
+ function ar(e) {
469
+ return Object.assign({}, ir(), e);
470
+ }
471
+ function sr(e, t) {
472
+ return t.reduce(function(r, n) {
473
+ return r[n] = e, r;
474
+ }, {});
475
+ }
476
+ var Ln = function(t, r) {
477
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
478
+ placement: r.placement
479
+ })) : t, ar(typeof t != "number" ? t : sr(t, Ye));
480
+ };
481
+ function Sn(e) {
482
+ var t, r = e.state, n = e.name, i = e.options, s = r.elements.arrow, p = r.modifiersData.popperOffsets, c = ne(r.placement), u = kt(c), v = [U, G].indexOf(c) >= 0, d = v ? "height" : "width";
483
+ if (!(!s || !p)) {
484
+ var x = Ln(i.padding, r), O = Dt(s), y = u === "y" ? H : U, f = u === "y" ? K : G, b = r.rects.reference[d] + r.rects.reference[u] - p[u] - r.rects.popper[d], l = p[u] - r.rects.reference[u], g = Ke(s), E = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, T = b / 2 - l / 2, o = x[y], A = E - O[d] - x[f], h = E / 2 - O[d] / 2 + T, k = Ue(o, h, A), j = u;
485
+ r.modifiersData[n] = (t = {}, t[j] = k, t.centerOffset = k - h, t);
486
+ }
487
+ }
488
+ function Rn(e) {
489
+ var t = e.state, r = e.options, n = r.element, i = n === void 0 ? "[data-popper-arrow]" : n;
490
+ i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || or(t.elements.popper, i) && (t.elements.arrow = i));
491
+ }
492
+ const Pn = {
493
+ name: "arrow",
494
+ enabled: !0,
495
+ phase: "main",
496
+ fn: Sn,
497
+ effect: Rn,
498
+ requires: ["popperOffsets"],
499
+ requiresIfExists: ["preventOverflow"]
500
+ };
501
+ function Me(e) {
502
+ return e.split("-")[1];
503
+ }
504
+ var In = {
505
+ top: "auto",
506
+ right: "auto",
507
+ bottom: "auto",
508
+ left: "auto"
509
+ };
510
+ function Mn(e) {
511
+ var t = e.x, r = e.y, n = window, i = n.devicePixelRatio || 1;
512
+ return {
513
+ x: Pe(t * i) / i || 0,
514
+ y: Pe(r * i) / i || 0
515
+ };
516
+ }
517
+ function Bt(e) {
518
+ var t, r = e.popper, n = e.popperRect, i = e.placement, s = e.variation, p = e.offsets, c = e.position, u = e.gpuAcceleration, v = e.adaptive, d = e.roundOffsets, x = e.isFixed, O = p.x, y = O === void 0 ? 0 : O, f = p.y, b = f === void 0 ? 0 : f, l = typeof d == "function" ? d({
519
+ x: y,
520
+ y: b
521
+ }) : {
522
+ x: y,
523
+ y: b
524
+ };
525
+ y = l.x, b = l.y;
526
+ var g = p.hasOwnProperty("x"), E = p.hasOwnProperty("y"), T = U, o = H, A = window;
527
+ if (v) {
528
+ var h = Ke(r), k = "clientHeight", j = "clientWidth";
529
+ if (h === J(r) && (h = he(r), fe(h).position !== "static" && c === "absolute" && (k = "scrollHeight", j = "scrollWidth")), h = h, i === H || (i === U || i === G) && s === qe) {
530
+ o = K;
531
+ var M = x && h === A && A.visualViewport ? A.visualViewport.height : (
532
+ // $FlowFixMe[prop-missing]
533
+ h[k]
534
+ );
535
+ b -= M - n.height, b *= u ? 1 : -1;
536
+ }
537
+ if (i === U || (i === H || i === K) && s === qe) {
538
+ T = G;
539
+ var S = x && h === A && A.visualViewport ? A.visualViewport.width : (
540
+ // $FlowFixMe[prop-missing]
541
+ h[j]
542
+ );
543
+ y -= S - n.width, y *= u ? 1 : -1;
544
+ }
545
+ }
546
+ var B = Object.assign({
547
+ position: c
548
+ }, v && In), R = d === !0 ? Mn({
549
+ x: y,
550
+ y: b
551
+ }) : {
552
+ x: y,
553
+ y: b
554
+ };
555
+ if (y = R.x, b = R.y, u) {
556
+ var L;
557
+ return Object.assign({}, B, (L = {}, L[o] = E ? "0" : "", L[T] = g ? "0" : "", L.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + b + "px)" : "translate3d(" + y + "px, " + b + "px, 0)", L));
558
+ }
559
+ return Object.assign({}, B, (t = {}, t[o] = E ? b + "px" : "", t[T] = g ? y + "px" : "", t.transform = "", t));
560
+ }
561
+ function jn(e) {
562
+ var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, s = r.adaptive, p = s === void 0 ? !0 : s, c = r.roundOffsets, u = c === void 0 ? !0 : c, v = {
563
+ placement: ne(t.placement),
564
+ variation: Me(t.placement),
565
+ popper: t.elements.popper,
566
+ popperRect: t.rects.popper,
567
+ gpuAcceleration: i,
568
+ isFixed: t.options.strategy === "fixed"
569
+ };
570
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Bt(Object.assign({}, v, {
571
+ offsets: t.modifiersData.popperOffsets,
572
+ position: t.options.strategy,
573
+ adaptive: p,
574
+ roundOffsets: u
575
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Bt(Object.assign({}, v, {
576
+ offsets: t.modifiersData.arrow,
577
+ position: "absolute",
578
+ adaptive: !1,
579
+ roundOffsets: u
580
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
581
+ "data-popper-placement": t.placement
582
+ });
583
+ }
584
+ const Bn = {
585
+ name: "computeStyles",
586
+ enabled: !0,
587
+ phase: "beforeWrite",
588
+ fn: jn,
589
+ data: {}
590
+ };
591
+ var ut = {
592
+ passive: !0
593
+ };
594
+ function Vn(e) {
595
+ var t = e.state, r = e.instance, n = e.options, i = n.scroll, s = i === void 0 ? !0 : i, p = n.resize, c = p === void 0 ? !0 : p, u = J(t.elements.popper), v = [].concat(t.scrollParents.reference, t.scrollParents.popper);
596
+ return s && v.forEach(function(d) {
597
+ d.addEventListener("scroll", r.update, ut);
598
+ }), c && u.addEventListener("resize", r.update, ut), function() {
599
+ s && v.forEach(function(d) {
600
+ d.removeEventListener("scroll", r.update, ut);
601
+ }), c && u.removeEventListener("resize", r.update, ut);
602
+ };
603
+ }
604
+ const $n = {
605
+ name: "eventListeners",
606
+ enabled: !0,
607
+ phase: "write",
608
+ fn: function() {
609
+ },
610
+ effect: Vn,
611
+ data: {}
612
+ };
613
+ var Nn = {
614
+ left: "right",
615
+ right: "left",
616
+ bottom: "top",
617
+ top: "bottom"
618
+ };
619
+ function ct(e) {
620
+ return e.replace(/left|right|bottom|top/g, function(t) {
621
+ return Nn[t];
622
+ });
623
+ }
624
+ var Fn = {
625
+ start: "end",
626
+ end: "start"
627
+ };
628
+ function Vt(e) {
629
+ return e.replace(/start|end/g, function(t) {
630
+ return Fn[t];
631
+ });
632
+ }
633
+ function _t(e) {
634
+ var t = J(e), r = t.pageXOffset, n = t.pageYOffset;
635
+ return {
636
+ scrollLeft: r,
637
+ scrollTop: n
638
+ };
639
+ }
640
+ function Lt(e) {
641
+ return Ie(he(e)).left + _t(e).scrollLeft;
642
+ }
643
+ function Hn(e, t) {
644
+ var r = J(e), n = he(e), i = r.visualViewport, s = n.clientWidth, p = n.clientHeight, c = 0, u = 0;
645
+ if (i) {
646
+ s = i.width, p = i.height;
647
+ var v = nr();
648
+ (v || !v && t === "fixed") && (c = i.offsetLeft, u = i.offsetTop);
649
+ }
650
+ return {
651
+ width: s,
652
+ height: p,
653
+ x: c + Lt(e),
654
+ y: u
655
+ };
656
+ }
657
+ function Un(e) {
658
+ var t, r = he(e), n = _t(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ee(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), p = Ee(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), c = -n.scrollLeft + Lt(e), u = -n.scrollTop;
659
+ return fe(i || r).direction === "rtl" && (c += Ee(r.clientWidth, i ? i.clientWidth : 0) - s), {
660
+ width: s,
661
+ height: p,
662
+ x: c,
663
+ y: u
664
+ };
665
+ }
666
+ function St(e) {
667
+ var t = fe(e), r = t.overflow, n = t.overflowX, i = t.overflowY;
668
+ return /auto|scroll|overlay|hidden/.test(r + i + n);
669
+ }
670
+ function ur(e) {
671
+ return ["html", "body", "#document"].indexOf(oe(e)) >= 0 ? e.ownerDocument.body : Y(e) && St(e) ? e : ur(dt(e));
672
+ }
673
+ function We(e, t) {
674
+ var r;
675
+ t === void 0 && (t = []);
676
+ var n = ur(e), i = n === ((r = e.ownerDocument) == null ? void 0 : r.body), s = J(n), p = i ? [s].concat(s.visualViewport || [], St(n) ? n : []) : n, c = t.concat(p);
677
+ return i ? c : (
678
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
679
+ c.concat(We(dt(p)))
680
+ );
681
+ }
682
+ function Ot(e) {
683
+ return Object.assign({}, e, {
684
+ left: e.x,
685
+ top: e.y,
686
+ right: e.x + e.width,
687
+ bottom: e.y + e.height
688
+ });
689
+ }
690
+ function Wn(e, t) {
691
+ var r = Ie(e, !1, t === "fixed");
692
+ return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
693
+ }
694
+ function $t(e, t, r) {
695
+ return t === er ? Ot(Hn(e, r)) : Te(t) ? Wn(t, r) : Ot(Un(he(e)));
696
+ }
697
+ function zn(e) {
698
+ var t = We(dt(e)), r = ["absolute", "fixed"].indexOf(fe(e).position) >= 0, n = r && Y(e) ? Ke(e) : e;
699
+ return Te(n) ? t.filter(function(i) {
700
+ return Te(i) && or(i, n) && oe(i) !== "body";
701
+ }) : [];
702
+ }
703
+ function qn(e, t, r, n) {
704
+ var i = t === "clippingParents" ? zn(e) : [].concat(t), s = [].concat(i, [r]), p = s[0], c = s.reduce(function(u, v) {
705
+ var d = $t(e, v, n);
706
+ return u.top = Ee(d.top, u.top), u.right = ft(d.right, u.right), u.bottom = ft(d.bottom, u.bottom), u.left = Ee(d.left, u.left), u;
707
+ }, $t(e, p, n));
708
+ return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
709
+ }
710
+ function pr(e) {
711
+ var t = e.reference, r = e.element, n = e.placement, i = n ? ne(n) : null, s = n ? Me(n) : null, p = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
712
+ switch (i) {
713
+ case H:
714
+ u = {
715
+ x: p,
716
+ y: t.y - r.height
717
+ };
718
+ break;
719
+ case K:
720
+ u = {
721
+ x: p,
722
+ y: t.y + t.height
723
+ };
724
+ break;
725
+ case G:
726
+ u = {
727
+ x: t.x + t.width,
728
+ y: c
729
+ };
730
+ break;
731
+ case U:
732
+ u = {
733
+ x: t.x - r.width,
734
+ y: c
735
+ };
736
+ break;
737
+ default:
738
+ u = {
739
+ x: t.x,
740
+ y: t.y
741
+ };
742
+ }
743
+ var v = i ? kt(i) : null;
744
+ if (v != null) {
745
+ var d = v === "y" ? "height" : "width";
746
+ switch (s) {
747
+ case Re:
748
+ u[v] = u[v] - (t[d] / 2 - r[d] / 2);
749
+ break;
750
+ case qe:
751
+ u[v] = u[v] + (t[d] / 2 - r[d] / 2);
752
+ break;
753
+ }
754
+ }
755
+ return u;
756
+ }
757
+ function Xe(e, t) {
758
+ t === void 0 && (t = {});
759
+ var r = t, n = r.placement, i = n === void 0 ? e.placement : n, s = r.strategy, p = s === void 0 ? e.strategy : s, c = r.boundary, u = c === void 0 ? dn : c, v = r.rootBoundary, d = v === void 0 ? er : v, x = r.elementContext, O = x === void 0 ? He : x, y = r.altBoundary, f = y === void 0 ? !1 : y, b = r.padding, l = b === void 0 ? 0 : b, g = ar(typeof l != "number" ? l : sr(l, Ye)), E = O === He ? vn : He, T = e.rects.popper, o = e.elements[f ? E : O], A = qn(Te(o) ? o : o.contextElement || he(e.elements.popper), u, d, p), h = Ie(e.elements.reference), k = pr({
760
+ reference: h,
761
+ element: T,
762
+ strategy: "absolute",
763
+ placement: i
764
+ }), j = Ot(Object.assign({}, T, k)), M = O === He ? j : h, S = {
765
+ top: A.top - M.top + g.top,
766
+ bottom: M.bottom - A.bottom + g.bottom,
767
+ left: A.left - M.left + g.left,
768
+ right: M.right - A.right + g.right
769
+ }, B = e.modifiersData.offset;
770
+ if (O === He && B) {
771
+ var R = B[i];
772
+ Object.keys(S).forEach(function(L) {
773
+ var W = [G, K].indexOf(L) >= 0 ? 1 : -1, z = [H, K].indexOf(L) >= 0 ? "y" : "x";
774
+ S[L] += R[z] * W;
775
+ });
776
+ }
777
+ return S;
778
+ }
779
+ function Xn(e, t) {
780
+ t === void 0 && (t = {});
781
+ var r = t, n = r.placement, i = r.boundary, s = r.rootBoundary, p = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, v = u === void 0 ? tr : u, d = Me(n), x = d ? c ? Mt : Mt.filter(function(f) {
782
+ return Me(f) === d;
783
+ }) : Ye, O = x.filter(function(f) {
784
+ return v.indexOf(f) >= 0;
785
+ });
786
+ O.length === 0 && (O = x);
787
+ var y = O.reduce(function(f, b) {
788
+ return f[b] = Xe(e, {
789
+ placement: b,
790
+ boundary: i,
791
+ rootBoundary: s,
792
+ padding: p
793
+ })[ne(b)], f;
794
+ }, {});
795
+ return Object.keys(y).sort(function(f, b) {
796
+ return y[f] - y[b];
797
+ });
798
+ }
799
+ function Yn(e) {
800
+ if (ne(e) === At)
801
+ return [];
802
+ var t = ct(e);
803
+ return [Vt(e), t, Vt(t)];
804
+ }
805
+ function Kn(e) {
806
+ var t = e.state, r = e.options, n = e.name;
807
+ if (!t.modifiersData[n]._skip) {
808
+ for (var i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !0 : p, u = r.fallbackPlacements, v = r.padding, d = r.boundary, x = r.rootBoundary, O = r.altBoundary, y = r.flipVariations, f = y === void 0 ? !0 : y, b = r.allowedAutoPlacements, l = t.options.placement, g = ne(l), E = g === l, T = u || (E || !f ? [ct(l)] : Yn(l)), o = [l].concat(T).reduce(function(ie, Q) {
809
+ return ie.concat(ne(Q) === At ? Xn(t, {
810
+ placement: Q,
811
+ boundary: d,
812
+ rootBoundary: x,
813
+ padding: v,
814
+ flipVariations: f,
815
+ allowedAutoPlacements: b
816
+ }) : Q);
817
+ }, []), A = t.rects.reference, h = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0, M = o[0], S = 0; S < o.length; S++) {
818
+ var B = o[S], R = ne(B), L = Me(B) === Re, W = [H, K].indexOf(R) >= 0, z = W ? "width" : "height", $ = Xe(t, {
819
+ placement: B,
820
+ boundary: d,
821
+ rootBoundary: x,
822
+ altBoundary: O,
823
+ padding: v
824
+ }), N = W ? L ? G : U : L ? K : H;
825
+ A[z] > h[z] && (N = ct(N));
826
+ var V = ct(N), Z = [];
827
+ if (s && Z.push($[R] <= 0), c && Z.push($[N] <= 0, $[V] <= 0), Z.every(function(ie) {
828
+ return ie;
829
+ })) {
830
+ M = B, j = !1;
831
+ break;
832
+ }
833
+ k.set(B, Z);
834
+ }
835
+ if (j)
836
+ for (var ee = f ? 3 : 1, ge = function(Q) {
837
+ var ae = o.find(function(Ae) {
838
+ var se = k.get(Ae);
839
+ if (se)
840
+ return se.slice(0, Q).every(function(Ce) {
841
+ return Ce;
842
+ });
843
+ });
844
+ if (ae)
845
+ return M = ae, "break";
846
+ }, te = ee; te > 0; te--) {
847
+ var ye = ge(te);
848
+ if (ye === "break") break;
849
+ }
850
+ t.placement !== M && (t.modifiersData[n]._skip = !0, t.placement = M, t.reset = !0);
851
+ }
852
+ }
853
+ const Gn = {
854
+ name: "flip",
855
+ enabled: !0,
856
+ phase: "main",
857
+ fn: Kn,
858
+ requiresIfExists: ["offset"],
859
+ data: {
860
+ _skip: !1
861
+ }
862
+ };
863
+ function Nt(e, t, r) {
864
+ return r === void 0 && (r = {
865
+ x: 0,
866
+ y: 0
867
+ }), {
868
+ top: e.top - t.height - r.y,
869
+ right: e.right - t.width + r.x,
870
+ bottom: e.bottom - t.height + r.y,
871
+ left: e.left - t.width - r.x
872
+ };
873
+ }
874
+ function Ft(e) {
875
+ return [H, G, K, U].some(function(t) {
876
+ return e[t] >= 0;
877
+ });
878
+ }
879
+ function Jn(e) {
880
+ var t = e.state, r = e.name, n = t.rects.reference, i = t.rects.popper, s = t.modifiersData.preventOverflow, p = Xe(t, {
881
+ elementContext: "reference"
882
+ }), c = Xe(t, {
883
+ altBoundary: !0
884
+ }), u = Nt(p, n), v = Nt(c, i, s), d = Ft(u), x = Ft(v);
885
+ t.modifiersData[r] = {
886
+ referenceClippingOffsets: u,
887
+ popperEscapeOffsets: v,
888
+ isReferenceHidden: d,
889
+ hasPopperEscaped: x
890
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
891
+ "data-popper-reference-hidden": d,
892
+ "data-popper-escaped": x
893
+ });
894
+ }
895
+ const Qn = {
896
+ name: "hide",
897
+ enabled: !0,
898
+ phase: "main",
899
+ requiresIfExists: ["preventOverflow"],
900
+ fn: Jn
901
+ };
902
+ function Zn(e, t, r) {
903
+ var n = ne(e), i = [U, H].indexOf(n) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
904
+ placement: e
905
+ })) : r, p = s[0], c = s[1];
906
+ return p = p || 0, c = (c || 0) * i, [U, G].indexOf(n) >= 0 ? {
907
+ x: c,
908
+ y: p
909
+ } : {
910
+ x: p,
911
+ y: c
912
+ };
913
+ }
914
+ function eo(e) {
915
+ var t = e.state, r = e.options, n = e.name, i = r.offset, s = i === void 0 ? [0, 0] : i, p = tr.reduce(function(d, x) {
916
+ return d[x] = Zn(x, t.rects, s), d;
917
+ }, {}), c = p[t.placement], u = c.x, v = c.y;
918
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += v), t.modifiersData[n] = p;
919
+ }
920
+ const to = {
921
+ name: "offset",
922
+ enabled: !0,
923
+ phase: "main",
924
+ requires: ["popperOffsets"],
925
+ fn: eo
926
+ };
927
+ function ro(e) {
928
+ var t = e.state, r = e.name;
929
+ t.modifiersData[r] = pr({
930
+ reference: t.rects.reference,
931
+ element: t.rects.popper,
932
+ strategy: "absolute",
933
+ placement: t.placement
934
+ });
935
+ }
936
+ const no = {
937
+ name: "popperOffsets",
938
+ enabled: !0,
939
+ phase: "read",
940
+ fn: ro,
941
+ data: {}
942
+ };
943
+ function oo(e) {
944
+ return e === "x" ? "y" : "x";
945
+ }
946
+ function io(e) {
947
+ var t = e.state, r = e.options, n = e.name, i = r.mainAxis, s = i === void 0 ? !0 : i, p = r.altAxis, c = p === void 0 ? !1 : p, u = r.boundary, v = r.rootBoundary, d = r.altBoundary, x = r.padding, O = r.tether, y = O === void 0 ? !0 : O, f = r.tetherOffset, b = f === void 0 ? 0 : f, l = Xe(t, {
948
+ boundary: u,
949
+ rootBoundary: v,
950
+ padding: x,
951
+ altBoundary: d
952
+ }), g = ne(t.placement), E = Me(t.placement), T = !E, o = kt(g), A = oo(o), h = t.modifiersData.popperOffsets, k = t.rects.reference, j = t.rects.popper, M = typeof b == "function" ? b(Object.assign({}, t.rects, {
953
+ placement: t.placement
954
+ })) : b, S = typeof M == "number" ? {
955
+ mainAxis: M,
956
+ altAxis: M
957
+ } : Object.assign({
958
+ mainAxis: 0,
959
+ altAxis: 0
960
+ }, M), B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, R = {
961
+ x: 0,
962
+ y: 0
963
+ };
964
+ if (h) {
965
+ if (s) {
966
+ var L, W = o === "y" ? H : U, z = o === "y" ? K : G, $ = o === "y" ? "height" : "width", N = h[o], V = N + l[W], Z = N - l[z], ee = y ? -j[$] / 2 : 0, ge = E === Re ? k[$] : j[$], te = E === Re ? -j[$] : -k[$], ye = t.elements.arrow, ie = y && ye ? Dt(ye) : {
967
+ width: 0,
968
+ height: 0
969
+ }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ir(), ae = Q[W], Ae = Q[z], se = Ue(0, k[$], ie[$]), Ce = T ? k[$] / 2 - ee - se - ae - S.mainAxis : ge - se - ae - S.mainAxis, le = T ? -k[$] / 2 + ee + se + Ae + S.mainAxis : te + se + Ae + S.mainAxis, De = t.elements.arrow && Ke(t.elements.arrow), Ge = De ? o === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, Be = (L = B == null ? void 0 : B[o]) != null ? L : 0, Je = N + Ce - Be - Ge, Qe = N + le - Be, Ve = Ue(y ? ft(V, Je) : V, N, y ? Ee(Z, Qe) : Z);
970
+ h[o] = Ve, R[o] = Ve - N;
971
+ }
972
+ if (c) {
973
+ var $e, Ze = o === "x" ? H : U, et = o === "x" ? K : G, ue = h[A], de = A === "y" ? "height" : "width", Ne = ue + l[Ze], be = ue - l[et], Fe = [H, U].indexOf(g) !== -1, tt = ($e = B == null ? void 0 : B[A]) != null ? $e : 0, rt = Fe ? Ne : ue - k[de] - j[de] - tt + S.altAxis, nt = Fe ? ue + k[de] + j[de] - tt - S.altAxis : be, ot = y && Fe ? _n(rt, ue, nt) : Ue(y ? rt : Ne, ue, y ? nt : be);
974
+ h[A] = ot, R[A] = ot - ue;
975
+ }
976
+ t.modifiersData[n] = R;
977
+ }
978
+ }
979
+ const ao = {
980
+ name: "preventOverflow",
981
+ enabled: !0,
982
+ phase: "main",
983
+ fn: io,
984
+ requiresIfExists: ["offset"]
985
+ };
986
+ function so(e) {
987
+ return {
988
+ scrollLeft: e.scrollLeft,
989
+ scrollTop: e.scrollTop
990
+ };
991
+ }
992
+ function uo(e) {
993
+ return e === J(e) || !Y(e) ? _t(e) : so(e);
994
+ }
995
+ function po(e) {
996
+ var t = e.getBoundingClientRect(), r = Pe(t.width) / e.offsetWidth || 1, n = Pe(t.height) / e.offsetHeight || 1;
997
+ return r !== 1 || n !== 1;
998
+ }
999
+ function co(e, t, r) {
1000
+ r === void 0 && (r = !1);
1001
+ var n = Y(t), i = Y(t) && po(t), s = he(t), p = Ie(e, i, r), c = {
1002
+ scrollLeft: 0,
1003
+ scrollTop: 0
1004
+ }, u = {
1005
+ x: 0,
1006
+ y: 0
1007
+ };
1008
+ return (n || !n && !r) && ((oe(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1009
+ St(s)) && (c = uo(t)), Y(t) ? (u = Ie(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Lt(s))), {
1010
+ x: p.left + c.scrollLeft - u.x,
1011
+ y: p.top + c.scrollTop - u.y,
1012
+ width: p.width,
1013
+ height: p.height
1014
+ };
1015
+ }
1016
+ function fo(e) {
1017
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
1018
+ e.forEach(function(s) {
1019
+ t.set(s.name, s);
1020
+ });
1021
+ function i(s) {
1022
+ r.add(s.name);
1023
+ var p = [].concat(s.requires || [], s.requiresIfExists || []);
1024
+ p.forEach(function(c) {
1025
+ if (!r.has(c)) {
1026
+ var u = t.get(c);
1027
+ u && i(u);
1028
+ }
1029
+ }), n.push(s);
1030
+ }
1031
+ return e.forEach(function(s) {
1032
+ r.has(s.name) || i(s);
1033
+ }), n;
1034
+ }
1035
+ function lo(e) {
1036
+ var t = fo(e);
1037
+ return Tn.reduce(function(r, n) {
1038
+ return r.concat(t.filter(function(i) {
1039
+ return i.phase === n;
1040
+ }));
1041
+ }, []);
1042
+ }
1043
+ function vo(e) {
1044
+ var t;
1045
+ return function() {
1046
+ return t || (t = new Promise(function(r) {
1047
+ Promise.resolve().then(function() {
1048
+ t = void 0, r(e());
1049
+ });
1050
+ })), t;
1051
+ };
1052
+ }
1053
+ function mo(e) {
1054
+ var t = e.reduce(function(r, n) {
1055
+ var i = r[n.name];
1056
+ return r[n.name] = i ? Object.assign({}, i, n, {
1057
+ options: Object.assign({}, i.options, n.options),
1058
+ data: Object.assign({}, i.data, n.data)
1059
+ }) : n, r;
1060
+ }, {});
1061
+ return Object.keys(t).map(function(r) {
1062
+ return t[r];
1063
+ });
1064
+ }
1065
+ var Ht = {
1066
+ placement: "bottom",
1067
+ modifiers: [],
1068
+ strategy: "absolute"
1069
+ };
1070
+ function Ut() {
1071
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1072
+ t[r] = arguments[r];
1073
+ return !t.some(function(n) {
1074
+ return !(n && typeof n.getBoundingClientRect == "function");
1075
+ });
1076
+ }
1077
+ function ho(e) {
1078
+ e === void 0 && (e = {});
1079
+ var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, i = t.defaultOptions, s = i === void 0 ? Ht : i;
1080
+ return function(c, u, v) {
1081
+ v === void 0 && (v = s);
1082
+ var d = {
1083
+ placement: "bottom",
1084
+ orderedModifiers: [],
1085
+ options: Object.assign({}, Ht, s),
1086
+ modifiersData: {},
1087
+ elements: {
1088
+ reference: c,
1089
+ popper: u
1090
+ },
1091
+ attributes: {},
1092
+ styles: {}
1093
+ }, x = [], O = !1, y = {
1094
+ state: d,
1095
+ setOptions: function(g) {
1096
+ var E = typeof g == "function" ? g(d.options) : g;
1097
+ b(), d.options = Object.assign({}, s, d.options, E), d.scrollParents = {
1098
+ reference: Te(c) ? We(c) : c.contextElement ? We(c.contextElement) : [],
1099
+ popper: We(u)
1100
+ };
1101
+ var T = lo(mo([].concat(n, d.options.modifiers)));
1102
+ return d.orderedModifiers = T.filter(function(o) {
1103
+ return o.enabled;
1104
+ }), f(), y.update();
1105
+ },
1106
+ // Sync update – it will always be executed, even if not necessary. This
1107
+ // is useful for low frequency updates where sync behavior simplifies the
1108
+ // logic.
1109
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
1110
+ // prefer the async Popper#update method
1111
+ forceUpdate: function() {
1112
+ if (!O) {
1113
+ var g = d.elements, E = g.reference, T = g.popper;
1114
+ if (Ut(E, T)) {
1115
+ d.rects = {
1116
+ reference: co(E, Ke(T), d.options.strategy === "fixed"),
1117
+ popper: Dt(T)
1118
+ }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(S) {
1119
+ return d.modifiersData[S.name] = Object.assign({}, S.data);
1120
+ });
1121
+ for (var o = 0; o < d.orderedModifiers.length; o++) {
1122
+ if (d.reset === !0) {
1123
+ d.reset = !1, o = -1;
1124
+ continue;
1125
+ }
1126
+ var A = d.orderedModifiers[o], h = A.fn, k = A.options, j = k === void 0 ? {} : k, M = A.name;
1127
+ typeof h == "function" && (d = h({
1128
+ state: d,
1129
+ options: j,
1130
+ name: M,
1131
+ instance: y
1132
+ }) || d);
1133
+ }
1134
+ }
1135
+ }
1136
+ },
1137
+ // Async and optimistically optimized update – it will not be executed if
1138
+ // not necessary (debounced to run at most once-per-tick)
1139
+ update: vo(function() {
1140
+ return new Promise(function(l) {
1141
+ y.forceUpdate(), l(d);
1142
+ });
1143
+ }),
1144
+ destroy: function() {
1145
+ b(), O = !0;
1146
+ }
1147
+ };
1148
+ if (!Ut(c, u))
1149
+ return y;
1150
+ y.setOptions(v).then(function(l) {
1151
+ !O && v.onFirstUpdate && v.onFirstUpdate(l);
1152
+ });
1153
+ function f() {
1154
+ d.orderedModifiers.forEach(function(l) {
1155
+ var g = l.name, E = l.options, T = E === void 0 ? {} : E, o = l.effect;
1156
+ if (typeof o == "function") {
1157
+ var A = o({
1158
+ state: d,
1159
+ name: g,
1160
+ instance: y,
1161
+ options: T
1162
+ }), h = function() {
1163
+ };
1164
+ x.push(A || h);
1165
+ }
1166
+ });
1167
+ }
1168
+ function b() {
1169
+ x.forEach(function(l) {
1170
+ return l();
1171
+ }), x = [];
1172
+ }
1173
+ return y;
1174
+ };
1175
+ }
1176
+ var go = [$n, no, Bn, rr, to, Gn, ao, Pn, Qn], yo = /* @__PURE__ */ ho({
1177
+ defaultModifiers: go
1178
+ }), bo = "tippy-box", cr = "tippy-content", wo = "tippy-backdrop", fr = "tippy-arrow", lr = "tippy-svg-arrow", me = {
1179
+ passive: !0,
1180
+ capture: !0
1181
+ }, dr = function() {
1182
+ return document.body;
1183
+ };
1184
+ function gt(e, t, r) {
1185
+ if (Array.isArray(e)) {
1186
+ var n = e[t];
1187
+ return n ?? (Array.isArray(r) ? r[t] : r);
1188
+ }
1189
+ return e;
1190
+ }
1191
+ function Rt(e, t) {
1192
+ var r = {}.toString.call(e);
1193
+ return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
1194
+ }
1195
+ function vr(e, t) {
1196
+ return typeof e == "function" ? e.apply(void 0, t) : e;
1197
+ }
1198
+ function Wt(e, t) {
1199
+ if (t === 0)
1200
+ return e;
1201
+ var r;
1202
+ return function(n) {
1203
+ clearTimeout(r), r = setTimeout(function() {
1204
+ e(n);
1205
+ }, t);
1206
+ };
1207
+ }
1208
+ function xo(e, t) {
1209
+ var r = Object.assign({}, e);
1210
+ return t.forEach(function(n) {
1211
+ delete r[n];
1212
+ }), r;
1213
+ }
1214
+ function Oo(e) {
1215
+ return e.split(/\s+/).filter(Boolean);
1216
+ }
1217
+ function Oe(e) {
1218
+ return [].concat(e);
1219
+ }
1220
+ function zt(e, t) {
1221
+ e.indexOf(t) === -1 && e.push(t);
1222
+ }
1223
+ function Eo(e) {
1224
+ return e.filter(function(t, r) {
1225
+ return e.indexOf(t) === r;
1226
+ });
1227
+ }
1228
+ function To(e) {
1229
+ return e.split("-")[0];
1230
+ }
1231
+ function lt(e) {
1232
+ return [].slice.call(e);
1233
+ }
1234
+ function qt(e) {
1235
+ return Object.keys(e).reduce(function(t, r) {
1236
+ return e[r] !== void 0 && (t[r] = e[r]), t;
1237
+ }, {});
1238
+ }
1239
+ function ze() {
1240
+ return document.createElement("div");
1241
+ }
1242
+ function vt(e) {
1243
+ return ["Element", "Fragment"].some(function(t) {
1244
+ return Rt(e, t);
1245
+ });
1246
+ }
1247
+ function Ao(e) {
1248
+ return Rt(e, "NodeList");
1249
+ }
1250
+ function Co(e) {
1251
+ return Rt(e, "MouseEvent");
1252
+ }
1253
+ function Do(e) {
1254
+ return !!(e && e._tippy && e._tippy.reference === e);
1255
+ }
1256
+ function ko(e) {
1257
+ return vt(e) ? [e] : Ao(e) ? lt(e) : Array.isArray(e) ? e : lt(document.querySelectorAll(e));
1258
+ }
1259
+ function yt(e, t) {
1260
+ e.forEach(function(r) {
1261
+ r && (r.style.transitionDuration = t + "ms");
1262
+ });
1263
+ }
1264
+ function Xt(e, t) {
1265
+ e.forEach(function(r) {
1266
+ r && r.setAttribute("data-state", t);
1267
+ });
1268
+ }
1269
+ function _o(e) {
1270
+ var t, r = Oe(e), n = r[0];
1271
+ return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
1272
+ }
1273
+ function Lo(e, t) {
1274
+ var r = t.clientX, n = t.clientY;
1275
+ return e.every(function(i) {
1276
+ var s = i.popperRect, p = i.popperState, c = i.props, u = c.interactiveBorder, v = To(p.placement), d = p.modifiersData.offset;
1277
+ if (!d)
1278
+ return !0;
1279
+ var x = v === "bottom" ? d.top.y : 0, O = v === "top" ? d.bottom.y : 0, y = v === "right" ? d.left.x : 0, f = v === "left" ? d.right.x : 0, b = s.top - n + x > u, l = n - s.bottom - O > u, g = s.left - r + y > u, E = r - s.right - f > u;
1280
+ return b || l || g || E;
1281
+ });
1282
+ }
1283
+ function bt(e, t, r) {
1284
+ var n = t + "EventListener";
1285
+ ["transitionend", "webkitTransitionEnd"].forEach(function(i) {
1286
+ e[n](i, r);
1287
+ });
1288
+ }
1289
+ function Yt(e, t) {
1290
+ for (var r = t; r; ) {
1291
+ var n;
1292
+ if (e.contains(r))
1293
+ return !0;
1294
+ r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
1295
+ }
1296
+ return !1;
1297
+ }
1298
+ var re = {
1299
+ isTouch: !1
1300
+ }, Kt = 0;
1301
+ function So() {
1302
+ re.isTouch || (re.isTouch = !0, window.performance && document.addEventListener("mousemove", mr));
1303
+ }
1304
+ function mr() {
1305
+ var e = performance.now();
1306
+ e - Kt < 20 && (re.isTouch = !1, document.removeEventListener("mousemove", mr)), Kt = e;
1307
+ }
1308
+ function Ro() {
1309
+ var e = document.activeElement;
1310
+ if (Do(e)) {
1311
+ var t = e._tippy;
1312
+ e.blur && !t.state.isVisible && e.blur();
1313
+ }
1314
+ }
1315
+ function Po() {
1316
+ document.addEventListener("touchstart", So, me), window.addEventListener("blur", Ro);
1317
+ }
1318
+ var Io = typeof window < "u" && typeof document < "u", Mo = Io ? (
1319
+ // @ts-ignore
1320
+ !!window.msCrypto
1321
+ ) : !1, jo = {
1322
+ animateFill: !1,
1323
+ followCursor: !1,
1324
+ inlinePositioning: !1,
1325
+ sticky: !1
1326
+ }, Bo = {
1327
+ allowHTML: !1,
1328
+ animation: "fade",
1329
+ arrow: !0,
1330
+ content: "",
1331
+ inertia: !1,
1332
+ maxWidth: 350,
1333
+ role: "tooltip",
1334
+ theme: "",
1335
+ zIndex: 9999
1336
+ }, q = Object.assign({
1337
+ appendTo: dr,
1338
+ aria: {
1339
+ content: "auto",
1340
+ expanded: "auto"
1341
+ },
1342
+ delay: 0,
1343
+ duration: [300, 250],
1344
+ getReferenceClientRect: null,
1345
+ hideOnClick: !0,
1346
+ ignoreAttributes: !1,
1347
+ interactive: !1,
1348
+ interactiveBorder: 2,
1349
+ interactiveDebounce: 0,
1350
+ moveTransition: "",
1351
+ offset: [0, 10],
1352
+ onAfterUpdate: function() {
1353
+ },
1354
+ onBeforeUpdate: function() {
1355
+ },
1356
+ onCreate: function() {
1357
+ },
1358
+ onDestroy: function() {
1359
+ },
1360
+ onHidden: function() {
1361
+ },
1362
+ onHide: function() {
1363
+ },
1364
+ onMount: function() {
1365
+ },
1366
+ onShow: function() {
1367
+ },
1368
+ onShown: function() {
1369
+ },
1370
+ onTrigger: function() {
1371
+ },
1372
+ onUntrigger: function() {
1373
+ },
1374
+ onClickOutside: function() {
1375
+ },
1376
+ placement: "top",
1377
+ plugins: [],
1378
+ popperOptions: {},
1379
+ render: null,
1380
+ showOnCreate: !1,
1381
+ touch: !0,
1382
+ trigger: "mouseenter focus",
1383
+ triggerTarget: null
1384
+ }, jo, Bo), Vo = Object.keys(q), $o = function(t) {
1385
+ var r = Object.keys(t);
1386
+ r.forEach(function(n) {
1387
+ q[n] = t[n];
1388
+ });
1389
+ };
1390
+ function hr(e) {
1391
+ var t = e.plugins || [], r = t.reduce(function(n, i) {
1392
+ var s = i.name, p = i.defaultValue;
1393
+ if (s) {
1394
+ var c;
1395
+ n[s] = e[s] !== void 0 ? e[s] : (c = q[s]) != null ? c : p;
1396
+ }
1397
+ return n;
1398
+ }, {});
1399
+ return Object.assign({}, e, r);
1400
+ }
1401
+ function No(e, t) {
1402
+ var r = t ? Object.keys(hr(Object.assign({}, q, {
1403
+ plugins: t
1404
+ }))) : Vo, n = r.reduce(function(i, s) {
1405
+ var p = (e.getAttribute("data-tippy-" + s) || "").trim();
1406
+ if (!p)
1407
+ return i;
1408
+ if (s === "content")
1409
+ i[s] = p;
1410
+ else
1411
+ try {
1412
+ i[s] = JSON.parse(p);
1413
+ } catch {
1414
+ i[s] = p;
1415
+ }
1416
+ return i;
1417
+ }, {});
1418
+ return n;
1419
+ }
1420
+ function Gt(e, t) {
1421
+ var r = Object.assign({}, t, {
1422
+ content: vr(t.content, [e])
1423
+ }, t.ignoreAttributes ? {} : No(e, t.plugins));
1424
+ return r.aria = Object.assign({}, q.aria, r.aria), r.aria = {
1425
+ expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
1426
+ content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
1427
+ }, r;
1428
+ }
1429
+ var Fo = function() {
1430
+ return "innerHTML";
1431
+ };
1432
+ function Et(e, t) {
1433
+ e[Fo()] = t;
1434
+ }
1435
+ function Jt(e) {
1436
+ var t = ze();
1437
+ return e === !0 ? t.className = fr : (t.className = lr, vt(e) ? t.appendChild(e) : Et(t, e)), t;
1438
+ }
1439
+ function Qt(e, t) {
1440
+ vt(t.content) ? (Et(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Et(e, t.content) : e.textContent = t.content);
1441
+ }
1442
+ function Tt(e) {
1443
+ var t = e.firstElementChild, r = lt(t.children);
1444
+ return {
1445
+ box: t,
1446
+ content: r.find(function(n) {
1447
+ return n.classList.contains(cr);
1448
+ }),
1449
+ arrow: r.find(function(n) {
1450
+ return n.classList.contains(fr) || n.classList.contains(lr);
1451
+ }),
1452
+ backdrop: r.find(function(n) {
1453
+ return n.classList.contains(wo);
1454
+ })
1455
+ };
1456
+ }
1457
+ function gr(e) {
1458
+ var t = ze(), r = ze();
1459
+ r.className = bo, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
1460
+ var n = ze();
1461
+ n.className = cr, n.setAttribute("data-state", "hidden"), Qt(n, e.props), t.appendChild(r), r.appendChild(n), i(e.props, e.props);
1462
+ function i(s, p) {
1463
+ var c = Tt(t), u = c.box, v = c.content, d = c.arrow;
1464
+ p.theme ? u.setAttribute("data-theme", p.theme) : u.removeAttribute("data-theme"), typeof p.animation == "string" ? u.setAttribute("data-animation", p.animation) : u.removeAttribute("data-animation"), p.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof p.maxWidth == "number" ? p.maxWidth + "px" : p.maxWidth, p.role ? u.setAttribute("role", p.role) : u.removeAttribute("role"), (s.content !== p.content || s.allowHTML !== p.allowHTML) && Qt(v, e.props), p.arrow ? d ? s.arrow !== p.arrow && (u.removeChild(d), u.appendChild(Jt(p.arrow))) : u.appendChild(Jt(p.arrow)) : d && u.removeChild(d);
1465
+ }
1466
+ return {
1467
+ popper: t,
1468
+ onUpdate: i
1469
+ };
1470
+ }
1471
+ gr.$$tippy = !0;
1472
+ var Ho = 1, pt = [], wt = [];
1473
+ function Uo(e, t) {
1474
+ var r = Gt(e, Object.assign({}, q, hr(qt(t)))), n, i, s, p = !1, c = !1, u = !1, v = !1, d, x, O, y = [], f = Wt(Je, r.interactiveDebounce), b, l = Ho++, g = null, E = Eo(r.plugins), T = {
1475
+ // Is the instance currently enabled?
1476
+ isEnabled: !0,
1477
+ // Is the tippy currently showing and not transitioning out?
1478
+ isVisible: !1,
1479
+ // Has the instance been destroyed?
1480
+ isDestroyed: !1,
1481
+ // Is the tippy currently mounted to the DOM?
1482
+ isMounted: !1,
1483
+ // Has the tippy finished transitioning in?
1484
+ isShown: !1
1485
+ }, o = {
1486
+ // properties
1487
+ id: l,
1488
+ reference: e,
1489
+ popper: ze(),
1490
+ popperInstance: g,
1491
+ props: r,
1492
+ state: T,
1493
+ plugins: E,
1494
+ // methods
1495
+ clearDelayTimeouts: rt,
1496
+ setProps: nt,
1497
+ setContent: ot,
1498
+ show: yr,
1499
+ hide: br,
1500
+ hideWithInteractivity: wr,
1501
+ enable: Fe,
1502
+ disable: tt,
1503
+ unmount: xr,
1504
+ destroy: Or
1505
+ };
1506
+ if (!r.render)
1507
+ return o;
1508
+ var A = r.render(o), h = A.popper, k = A.onUpdate;
1509
+ h.setAttribute("data-tippy-root", ""), h.id = "tippy-" + o.id, o.popper = h, e._tippy = o, h._tippy = o;
1510
+ var j = E.map(function(a) {
1511
+ return a.fn(o);
1512
+ }), M = e.hasAttribute("aria-expanded");
1513
+ return De(), ee(), N(), V("onCreate", [o]), r.showOnCreate && Ne(), h.addEventListener("mouseenter", function() {
1514
+ o.props.interactive && o.state.isVisible && o.clearDelayTimeouts();
1515
+ }), h.addEventListener("mouseleave", function() {
1516
+ o.props.interactive && o.props.trigger.indexOf("mouseenter") >= 0 && W().addEventListener("mousemove", f);
1517
+ }), o;
1518
+ function S() {
1519
+ var a = o.props.touch;
1520
+ return Array.isArray(a) ? a : [a, 0];
1521
+ }
1522
+ function B() {
1523
+ return S()[0] === "hold";
1524
+ }
1525
+ function R() {
1526
+ var a;
1527
+ return !!((a = o.props.render) != null && a.$$tippy);
1528
+ }
1529
+ function L() {
1530
+ return b || e;
1531
+ }
1532
+ function W() {
1533
+ var a = L().parentNode;
1534
+ return a ? _o(a) : document;
1535
+ }
1536
+ function z() {
1537
+ return Tt(h);
1538
+ }
1539
+ function $(a) {
1540
+ return o.state.isMounted && !o.state.isVisible || re.isTouch || d && d.type === "focus" ? 0 : gt(o.props.delay, a ? 0 : 1, q.delay);
1541
+ }
1542
+ function N(a) {
1543
+ a === void 0 && (a = !1), h.style.pointerEvents = o.props.interactive && !a ? "" : "none", h.style.zIndex = "" + o.props.zIndex;
1544
+ }
1545
+ function V(a, m, w) {
1546
+ if (w === void 0 && (w = !0), j.forEach(function(C) {
1547
+ C[a] && C[a].apply(C, m);
1548
+ }), w) {
1549
+ var D;
1550
+ (D = o.props)[a].apply(D, m);
1551
+ }
1552
+ }
1553
+ function Z() {
1554
+ var a = o.props.aria;
1555
+ if (a.content) {
1556
+ var m = "aria-" + a.content, w = h.id, D = Oe(o.props.triggerTarget || e);
1557
+ D.forEach(function(C) {
1558
+ var F = C.getAttribute(m);
1559
+ if (o.state.isVisible)
1560
+ C.setAttribute(m, F ? F + " " + w : w);
1561
+ else {
1562
+ var X = F && F.replace(w, "").trim();
1563
+ X ? C.setAttribute(m, X) : C.removeAttribute(m);
1564
+ }
1565
+ });
1566
+ }
1567
+ }
1568
+ function ee() {
1569
+ if (!(M || !o.props.aria.expanded)) {
1570
+ var a = Oe(o.props.triggerTarget || e);
1571
+ a.forEach(function(m) {
1572
+ o.props.interactive ? m.setAttribute("aria-expanded", o.state.isVisible && m === L() ? "true" : "false") : m.removeAttribute("aria-expanded");
1573
+ });
1574
+ }
1575
+ }
1576
+ function ge() {
1577
+ W().removeEventListener("mousemove", f), pt = pt.filter(function(a) {
1578
+ return a !== f;
1579
+ });
1580
+ }
1581
+ function te(a) {
1582
+ if (!(re.isTouch && (u || a.type === "mousedown"))) {
1583
+ var m = a.composedPath && a.composedPath()[0] || a.target;
1584
+ if (!(o.props.interactive && Yt(h, m))) {
1585
+ if (Oe(o.props.triggerTarget || e).some(function(w) {
1586
+ return Yt(w, m);
1587
+ })) {
1588
+ if (re.isTouch || o.state.isVisible && o.props.trigger.indexOf("click") >= 0)
1589
+ return;
1590
+ } else
1591
+ V("onClickOutside", [o, a]);
1592
+ o.props.hideOnClick === !0 && (o.clearDelayTimeouts(), o.hide(), c = !0, setTimeout(function() {
1593
+ c = !1;
1594
+ }), o.state.isMounted || ae());
1595
+ }
1596
+ }
1597
+ }
1598
+ function ye() {
1599
+ u = !0;
1600
+ }
1601
+ function ie() {
1602
+ u = !1;
1603
+ }
1604
+ function Q() {
1605
+ var a = W();
1606
+ a.addEventListener("mousedown", te, !0), a.addEventListener("touchend", te, me), a.addEventListener("touchstart", ie, me), a.addEventListener("touchmove", ye, me);
1607
+ }
1608
+ function ae() {
1609
+ var a = W();
1610
+ a.removeEventListener("mousedown", te, !0), a.removeEventListener("touchend", te, me), a.removeEventListener("touchstart", ie, me), a.removeEventListener("touchmove", ye, me);
1611
+ }
1612
+ function Ae(a, m) {
1613
+ Ce(a, function() {
1614
+ !o.state.isVisible && h.parentNode && h.parentNode.contains(h) && m();
1615
+ });
1616
+ }
1617
+ function se(a, m) {
1618
+ Ce(a, m);
1619
+ }
1620
+ function Ce(a, m) {
1621
+ var w = z().box;
1622
+ function D(C) {
1623
+ C.target === w && (bt(w, "remove", D), m());
1624
+ }
1625
+ if (a === 0)
1626
+ return m();
1627
+ bt(w, "remove", x), bt(w, "add", D), x = D;
1628
+ }
1629
+ function le(a, m, w) {
1630
+ w === void 0 && (w = !1);
1631
+ var D = Oe(o.props.triggerTarget || e);
1632
+ D.forEach(function(C) {
1633
+ C.addEventListener(a, m, w), y.push({
1634
+ node: C,
1635
+ eventType: a,
1636
+ handler: m,
1637
+ options: w
1638
+ });
1639
+ });
1640
+ }
1641
+ function De() {
1642
+ B() && (le("touchstart", Be, {
1643
+ passive: !0
1644
+ }), le("touchend", Qe, {
1645
+ passive: !0
1646
+ })), Oo(o.props.trigger).forEach(function(a) {
1647
+ if (a !== "manual")
1648
+ switch (le(a, Be), a) {
1649
+ case "mouseenter":
1650
+ le("mouseleave", Qe);
1651
+ break;
1652
+ case "focus":
1653
+ le(Mo ? "focusout" : "blur", Ve);
1654
+ break;
1655
+ case "focusin":
1656
+ le("focusout", Ve);
1657
+ break;
1658
+ }
1659
+ });
1660
+ }
1661
+ function Ge() {
1662
+ y.forEach(function(a) {
1663
+ var m = a.node, w = a.eventType, D = a.handler, C = a.options;
1664
+ m.removeEventListener(w, D, C);
1665
+ }), y = [];
1666
+ }
1667
+ function Be(a) {
1668
+ var m, w = !1;
1669
+ if (!(!o.state.isEnabled || $e(a) || c)) {
1670
+ var D = ((m = d) == null ? void 0 : m.type) === "focus";
1671
+ d = a, b = a.currentTarget, ee(), !o.state.isVisible && Co(a) && pt.forEach(function(C) {
1672
+ return C(a);
1673
+ }), a.type === "click" && (o.props.trigger.indexOf("mouseenter") < 0 || p) && o.props.hideOnClick !== !1 && o.state.isVisible ? w = !0 : Ne(a), a.type === "click" && (p = !w), w && !D && be(a);
1674
+ }
1675
+ }
1676
+ function Je(a) {
1677
+ var m = a.target, w = L().contains(m) || h.contains(m);
1678
+ if (!(a.type === "mousemove" && w)) {
1679
+ var D = de().concat(h).map(function(C) {
1680
+ var F, X = C._tippy, ke = (F = X.popperInstance) == null ? void 0 : F.state;
1681
+ return ke ? {
1682
+ popperRect: C.getBoundingClientRect(),
1683
+ popperState: ke,
1684
+ props: r
1685
+ } : null;
1686
+ }).filter(Boolean);
1687
+ Lo(D, a) && (ge(), be(a));
1688
+ }
1689
+ }
1690
+ function Qe(a) {
1691
+ var m = $e(a) || o.props.trigger.indexOf("click") >= 0 && p;
1692
+ if (!m) {
1693
+ if (o.props.interactive) {
1694
+ o.hideWithInteractivity(a);
1695
+ return;
1696
+ }
1697
+ be(a);
1698
+ }
1699
+ }
1700
+ function Ve(a) {
1701
+ o.props.trigger.indexOf("focusin") < 0 && a.target !== L() || o.props.interactive && a.relatedTarget && h.contains(a.relatedTarget) || be(a);
1702
+ }
1703
+ function $e(a) {
1704
+ return re.isTouch ? B() !== a.type.indexOf("touch") >= 0 : !1;
1705
+ }
1706
+ function Ze() {
1707
+ et();
1708
+ var a = o.props, m = a.popperOptions, w = a.placement, D = a.offset, C = a.getReferenceClientRect, F = a.moveTransition, X = R() ? Tt(h).arrow : null, ke = C ? {
1709
+ getBoundingClientRect: C,
1710
+ contextElement: C.contextElement || L()
1711
+ } : e, Pt = {
1712
+ name: "$$tippy",
1713
+ enabled: !0,
1714
+ phase: "beforeWrite",
1715
+ requires: ["computeStyles"],
1716
+ fn: function(it) {
1717
+ var _e = it.state;
1718
+ if (R()) {
1719
+ var Er = z(), ht = Er.box;
1720
+ ["placement", "reference-hidden", "escaped"].forEach(function(at) {
1721
+ at === "placement" ? ht.setAttribute("data-placement", _e.placement) : _e.attributes.popper["data-popper-" + at] ? ht.setAttribute("data-" + at, "") : ht.removeAttribute("data-" + at);
1722
+ }), _e.attributes.popper = {};
1723
+ }
1724
+ }
1725
+ }, we = [{
1726
+ name: "offset",
1727
+ options: {
1728
+ offset: D
1729
+ }
1730
+ }, {
1731
+ name: "preventOverflow",
1732
+ options: {
1733
+ padding: {
1734
+ top: 2,
1735
+ bottom: 2,
1736
+ left: 5,
1737
+ right: 5
1738
+ }
1739
+ }
1740
+ }, {
1741
+ name: "flip",
1742
+ options: {
1743
+ padding: 5
1744
+ }
1745
+ }, {
1746
+ name: "computeStyles",
1747
+ options: {
1748
+ adaptive: !F
1749
+ }
1750
+ }, Pt];
1751
+ R() && X && we.push({
1752
+ name: "arrow",
1753
+ options: {
1754
+ element: X,
1755
+ padding: 3
1756
+ }
1757
+ }), we.push.apply(we, (m == null ? void 0 : m.modifiers) || []), o.popperInstance = yo(ke, h, Object.assign({}, m, {
1758
+ placement: w,
1759
+ onFirstUpdate: O,
1760
+ modifiers: we
1761
+ }));
1762
+ }
1763
+ function et() {
1764
+ o.popperInstance && (o.popperInstance.destroy(), o.popperInstance = null);
1765
+ }
1766
+ function ue() {
1767
+ var a = o.props.appendTo, m, w = L();
1768
+ o.props.interactive && a === dr || a === "parent" ? m = w.parentNode : m = vr(a, [w]), m.contains(h) || m.appendChild(h), o.state.isMounted = !0, Ze();
1769
+ }
1770
+ function de() {
1771
+ return lt(h.querySelectorAll("[data-tippy-root]"));
1772
+ }
1773
+ function Ne(a) {
1774
+ o.clearDelayTimeouts(), a && V("onTrigger", [o, a]), Q();
1775
+ var m = $(!0), w = S(), D = w[0], C = w[1];
1776
+ re.isTouch && D === "hold" && C && (m = C), m ? n = setTimeout(function() {
1777
+ o.show();
1778
+ }, m) : o.show();
1779
+ }
1780
+ function be(a) {
1781
+ if (o.clearDelayTimeouts(), V("onUntrigger", [o, a]), !o.state.isVisible) {
1782
+ ae();
1783
+ return;
1784
+ }
1785
+ if (!(o.props.trigger.indexOf("mouseenter") >= 0 && o.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(a.type) >= 0 && p)) {
1786
+ var m = $(!1);
1787
+ m ? i = setTimeout(function() {
1788
+ o.state.isVisible && o.hide();
1789
+ }, m) : s = requestAnimationFrame(function() {
1790
+ o.hide();
1791
+ });
1792
+ }
1793
+ }
1794
+ function Fe() {
1795
+ o.state.isEnabled = !0;
1796
+ }
1797
+ function tt() {
1798
+ o.hide(), o.state.isEnabled = !1;
1799
+ }
1800
+ function rt() {
1801
+ clearTimeout(n), clearTimeout(i), cancelAnimationFrame(s);
1802
+ }
1803
+ function nt(a) {
1804
+ if (!o.state.isDestroyed) {
1805
+ V("onBeforeUpdate", [o, a]), Ge();
1806
+ var m = o.props, w = Gt(e, Object.assign({}, m, qt(a), {
1807
+ ignoreAttributes: !0
1808
+ }));
1809
+ o.props = w, De(), m.interactiveDebounce !== w.interactiveDebounce && (ge(), f = Wt(Je, w.interactiveDebounce)), m.triggerTarget && !w.triggerTarget ? Oe(m.triggerTarget).forEach(function(D) {
1810
+ D.removeAttribute("aria-expanded");
1811
+ }) : w.triggerTarget && e.removeAttribute("aria-expanded"), ee(), N(), k && k(m, w), o.popperInstance && (Ze(), de().forEach(function(D) {
1812
+ requestAnimationFrame(D._tippy.popperInstance.forceUpdate);
1813
+ })), V("onAfterUpdate", [o, a]);
1814
+ }
1815
+ }
1816
+ function ot(a) {
1817
+ o.setProps({
1818
+ content: a
1819
+ });
1820
+ }
1821
+ function yr() {
1822
+ var a = o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = re.isTouch && !o.props.touch, C = gt(o.props.duration, 0, q.duration);
1823
+ if (!(a || m || w || D) && !L().hasAttribute("disabled") && (V("onShow", [o], !1), o.props.onShow(o) !== !1)) {
1824
+ if (o.state.isVisible = !0, R() && (h.style.visibility = "visible"), N(), Q(), o.state.isMounted || (h.style.transition = "none"), R()) {
1825
+ var F = z(), X = F.box, ke = F.content;
1826
+ yt([X, ke], 0);
1827
+ }
1828
+ O = function() {
1829
+ var we;
1830
+ if (!(!o.state.isVisible || v)) {
1831
+ if (v = !0, h.offsetHeight, h.style.transition = o.props.moveTransition, R() && o.props.animation) {
1832
+ var mt = z(), it = mt.box, _e = mt.content;
1833
+ yt([it, _e], C), Xt([it, _e], "visible");
1834
+ }
1835
+ Z(), ee(), zt(wt, o), (we = o.popperInstance) == null || we.forceUpdate(), V("onMount", [o]), o.props.animation && R() && se(C, function() {
1836
+ o.state.isShown = !0, V("onShown", [o]);
1837
+ });
1838
+ }
1839
+ }, ue();
1840
+ }
1841
+ }
1842
+ function br() {
1843
+ var a = !o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = gt(o.props.duration, 1, q.duration);
1844
+ if (!(a || m || w) && (V("onHide", [o], !1), o.props.onHide(o) !== !1)) {
1845
+ if (o.state.isVisible = !1, o.state.isShown = !1, v = !1, p = !1, R() && (h.style.visibility = "hidden"), ge(), ae(), N(!0), R()) {
1846
+ var C = z(), F = C.box, X = C.content;
1847
+ o.props.animation && (yt([F, X], D), Xt([F, X], "hidden"));
1848
+ }
1849
+ Z(), ee(), o.props.animation ? R() && Ae(D, o.unmount) : o.unmount();
1850
+ }
1851
+ }
1852
+ function wr(a) {
1853
+ W().addEventListener("mousemove", f), zt(pt, f), f(a);
1854
+ }
1855
+ function xr() {
1856
+ o.state.isVisible && o.hide(), o.state.isMounted && (et(), de().forEach(function(a) {
1857
+ a._tippy.unmount();
1858
+ }), h.parentNode && h.parentNode.removeChild(h), wt = wt.filter(function(a) {
1859
+ return a !== o;
1860
+ }), o.state.isMounted = !1, V("onHidden", [o]));
1861
+ }
1862
+ function Or() {
1863
+ o.state.isDestroyed || (o.clearDelayTimeouts(), o.unmount(), Ge(), delete e._tippy, o.state.isDestroyed = !0, V("onDestroy", [o]));
1864
+ }
1865
+ }
1866
+ function je(e, t) {
1867
+ t === void 0 && (t = {});
1868
+ var r = q.plugins.concat(t.plugins || []);
1869
+ Po();
1870
+ var n = Object.assign({}, t, {
1871
+ plugins: r
1872
+ }), i = ko(e), s = i.reduce(function(p, c) {
1873
+ var u = c && Uo(c, n);
1874
+ return u && p.push(u), p;
1875
+ }, []);
1876
+ return vt(e) ? s[0] : s;
1877
+ }
1878
+ je.defaultProps = q;
1879
+ je.setDefaultProps = $o;
1880
+ je.currentInput = re;
1881
+ Object.assign({}, rr, {
1882
+ effect: function(t) {
1883
+ var r = t.state, n = {
1884
+ popper: {
1885
+ position: r.options.strategy,
1886
+ left: "0",
1887
+ top: "0",
1888
+ margin: "0"
1889
+ },
1890
+ arrow: {
1891
+ position: "absolute"
1892
+ },
1893
+ reference: {}
1894
+ };
1895
+ Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
1896
+ }
1897
+ });
1898
+ var Wo = {
1899
+ mouseover: "mouseenter",
1900
+ focusin: "focus",
1901
+ click: "click"
1902
+ };
1903
+ function Go(e, t) {
1904
+ var r = [], n = [], i = !1, s = t.target, p = xo(t, ["target"]), c = Object.assign({}, p, {
1905
+ trigger: "manual",
1906
+ touch: !1
1907
+ }), u = Object.assign({
1908
+ touch: q.touch
1909
+ }, p, {
1910
+ showOnCreate: !0
1911
+ }), v = je(e, c), d = Oe(v);
1912
+ function x(l) {
1913
+ if (!(!l.target || i)) {
1914
+ var g = l.target.closest(s);
1915
+ if (g) {
1916
+ var E = g.getAttribute("data-tippy-trigger") || t.trigger || q.trigger;
1917
+ if (!g._tippy && !(l.type === "touchstart" && typeof u.touch == "boolean") && !(l.type !== "touchstart" && E.indexOf(Wo[l.type]) < 0)) {
1918
+ var T = je(g, u);
1919
+ T && (n = n.concat(T));
1920
+ }
1921
+ }
1922
+ }
1923
+ }
1924
+ function O(l, g, E, T) {
1925
+ T === void 0 && (T = !1), l.addEventListener(g, E, T), r.push({
1926
+ node: l,
1927
+ eventType: g,
1928
+ handler: E,
1929
+ options: T
1930
+ });
1931
+ }
1932
+ function y(l) {
1933
+ var g = l.reference;
1934
+ O(g, "touchstart", x, me), O(g, "mouseover", x), O(g, "focusin", x), O(g, "click", x);
1935
+ }
1936
+ function f() {
1937
+ r.forEach(function(l) {
1938
+ var g = l.node, E = l.eventType, T = l.handler, o = l.options;
1939
+ g.removeEventListener(E, T, o);
1940
+ }), r = [];
1941
+ }
1942
+ function b(l) {
1943
+ var g = l.destroy, E = l.enable, T = l.disable;
1944
+ l.destroy = function(o) {
1945
+ o === void 0 && (o = !0), o && n.forEach(function(A) {
1946
+ A.destroy();
1947
+ }), n = [], f(), g();
1948
+ }, l.enable = function() {
1949
+ E(), n.forEach(function(o) {
1950
+ return o.enable();
1951
+ }), i = !1;
1952
+ }, l.disable = function() {
1953
+ T(), n.forEach(function(o) {
1954
+ return o.disable();
1955
+ }), i = !0;
1956
+ }, y(l);
1957
+ }
1958
+ return d.forEach(b), v;
1959
+ }
1960
+ var Jo = {
1961
+ name: "sticky",
1962
+ defaultValue: !1,
1963
+ fn: function(t) {
1964
+ var r = t.reference, n = t.popper;
1965
+ function i() {
1966
+ return t.popperInstance ? t.popperInstance.state.elements.reference : r;
1967
+ }
1968
+ function s(v) {
1969
+ return t.props.sticky === !0 || t.props.sticky === v;
1970
+ }
1971
+ var p = null, c = null;
1972
+ function u() {
1973
+ var v = s("reference") ? i().getBoundingClientRect() : null, d = s("popper") ? n.getBoundingClientRect() : null;
1974
+ (v && Zt(p, v) || d && Zt(c, d)) && t.popperInstance && t.popperInstance.update(), p = v, c = d, t.state.isMounted && requestAnimationFrame(u);
1975
+ }
1976
+ return {
1977
+ onMount: function() {
1978
+ t.props.sticky && u();
1979
+ }
1980
+ };
1981
+ }
1982
+ };
1983
+ function Zt(e, t) {
1984
+ return e && t ? e.top !== t.top || e.right !== t.right || e.bottom !== t.bottom || e.left !== t.left : !0;
1985
+ }
1986
+ je.setDefaultProps({
1987
+ render: gr
1988
+ });
1989
+ export {
1990
+ fn as F,
1991
+ Go as d,
1992
+ Jo as s,
1993
+ je as t
1994
+ };