@cling-se/widget 0.13.5 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
- package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
- package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
- package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
- package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
- package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
- package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
- package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
- package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
- package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
- package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-DXPrTit9.js} +1 -1
- package/dist/CPriceInput-CYsf1n6T.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
- package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
- package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
- package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
- package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
- package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
- package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
- package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
- package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
- package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
- package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
- package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
- package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
- package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
- package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
- package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
- package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
- package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
- package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
- package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
- package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
- package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
- package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
- package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
- package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
- package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
- package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
- package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
- package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
- package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
- package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
- package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
- package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
- package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
- package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
- package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
- package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
- package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
- package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
- package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
- package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
- package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
- package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
- package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
- package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
- package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
- package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
- package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
- package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
- package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
- package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
- package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
- package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
- package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
- package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
- package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
- package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
- package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
- package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
- package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
- package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
- package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
- package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
- package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
- package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
- package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
- package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
- package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
- package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
- package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
- package/dist/PdfViewer-D1_Roqu2.js +374 -0
- package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
- package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
- package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
- package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
- package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
- package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
- package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
- package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
- package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
- package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
- package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
- package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
- package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
- package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
- package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
- package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
- package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
- package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
- package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
- package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
- package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
- package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +134 -142
- package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
- package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
- package/dist/omit-21u5fFMx.js +31 -0
- package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
- package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
- package/dist/tippy.esm-B5TcTBWX.js +1799 -0
- package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
- package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
- package/package.json +1 -1
- package/dist/BaseInput-BtgFVDxx.js +0 -364
- package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
- package/dist/dom-CPYqHOIw.js +0 -69
- package/dist/tippy.esm-DowQrfWM.js +0 -2039
|
@@ -1,2039 +0,0 @@
|
|
|
1
|
-
import { F as mr } from "./DocumentLayout-0-y6ChW3.js";
|
|
2
|
-
import { C as hr, a as gr } from "./CDropdownItem-BeK9wNHJ.js";
|
|
3
|
-
import { n as Wt, r as yr, aM as Ot } from "./main-DQ6SH_E_.js";
|
|
4
|
-
import { C as br } from "./ColorPicker-2gfbU60o.js";
|
|
5
|
-
import { S as wr } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js";
|
|
6
|
-
const xr = {
|
|
7
|
-
AED: "United Arab Emirates Dirham",
|
|
8
|
-
AFN: "Afghan Afghani",
|
|
9
|
-
ALL: "Albanian Lek",
|
|
10
|
-
AMD: "Armenian Dram",
|
|
11
|
-
ANG: "Netherlands Antillean Guilder",
|
|
12
|
-
AOA: "Angolan Kwanza",
|
|
13
|
-
ARS: "Argentine Peso",
|
|
14
|
-
AUD: "Australian Dollar",
|
|
15
|
-
AWG: "Aruban Florin",
|
|
16
|
-
AZN: "Azerbaijani Manat",
|
|
17
|
-
BAM: "Bosnia-Herzegovina Convertible Mark",
|
|
18
|
-
BBD: "Barbadian Dollar",
|
|
19
|
-
BDT: "Bangladeshi Taka",
|
|
20
|
-
BGN: "Bulgarian Lev",
|
|
21
|
-
BHD: "Bahraini Dinar",
|
|
22
|
-
BIF: "Burundian Franc",
|
|
23
|
-
BMD: "Bermudan Dollar",
|
|
24
|
-
BND: "Brunei Dollar",
|
|
25
|
-
BOB: "Bolivian Boliviano",
|
|
26
|
-
BRL: "Brazilian Real",
|
|
27
|
-
BSD: "Bahamian Dollar",
|
|
28
|
-
BTC: "Bitcoin",
|
|
29
|
-
BTN: "Bhutanese Ngultrum",
|
|
30
|
-
BWP: "Botswanan Pula",
|
|
31
|
-
BYN: "Belarusian Ruble",
|
|
32
|
-
BZD: "Belize Dollar",
|
|
33
|
-
CAD: "Canadian Dollar",
|
|
34
|
-
CDF: "Congolese Franc",
|
|
35
|
-
CHF: "Swiss Franc",
|
|
36
|
-
CLF: "Chilean Unit of Account (UF)",
|
|
37
|
-
CLP: "Chilean Peso",
|
|
38
|
-
CNH: "Chinese Yuan (Offshore)",
|
|
39
|
-
CNY: "Chinese Yuan",
|
|
40
|
-
COP: "Colombian Peso",
|
|
41
|
-
CRC: "Costa Rican Colón",
|
|
42
|
-
CUC: "Cuban Convertible Peso",
|
|
43
|
-
CUP: "Cuban Peso",
|
|
44
|
-
CVE: "Cape Verdean Escudo",
|
|
45
|
-
CZK: "Czech Republic Koruna",
|
|
46
|
-
DJF: "Djiboutian Franc",
|
|
47
|
-
DKK: "Danish Krone",
|
|
48
|
-
DOP: "Dominican Peso",
|
|
49
|
-
DZD: "Algerian Dinar",
|
|
50
|
-
EGP: "Egyptian Pound",
|
|
51
|
-
ERN: "Eritrean Nakfa",
|
|
52
|
-
ETB: "Ethiopian Birr",
|
|
53
|
-
EUR: "Euro",
|
|
54
|
-
FJD: "Fijian Dollar",
|
|
55
|
-
FKP: "Falkland Islands Pound",
|
|
56
|
-
GBP: "British Pound Sterling",
|
|
57
|
-
GEL: "Georgian Lari",
|
|
58
|
-
GGP: "Guernsey Pound",
|
|
59
|
-
GHS: "Ghanaian Cedi",
|
|
60
|
-
GIP: "Gibraltar Pound",
|
|
61
|
-
GMD: "Gambian Dalasi",
|
|
62
|
-
GNF: "Guinean Franc",
|
|
63
|
-
GTQ: "Guatemalan Quetzal",
|
|
64
|
-
GYD: "Guyanaese Dollar",
|
|
65
|
-
HKD: "Hong Kong Dollar",
|
|
66
|
-
HNL: "Honduran Lempira",
|
|
67
|
-
HRK: "Croatian Kuna",
|
|
68
|
-
HTG: "Haitian Gourde",
|
|
69
|
-
HUF: "Hungarian Forint",
|
|
70
|
-
IDR: "Indonesian Rupiah",
|
|
71
|
-
ILS: "Israeli New Sheqel",
|
|
72
|
-
IMP: "Manx pound",
|
|
73
|
-
INR: "Indian Rupee",
|
|
74
|
-
IQD: "Iraqi Dinar",
|
|
75
|
-
IRR: "Iranian Rial",
|
|
76
|
-
ISK: "Icelandic Króna",
|
|
77
|
-
JEP: "Jersey Pound",
|
|
78
|
-
JMD: "Jamaican Dollar",
|
|
79
|
-
JOD: "Jordanian Dinar",
|
|
80
|
-
JPY: "Japanese Yen",
|
|
81
|
-
KES: "Kenyan Shilling",
|
|
82
|
-
KGS: "Kyrgystani Som",
|
|
83
|
-
KHR: "Cambodian Riel",
|
|
84
|
-
KMF: "Comorian Franc",
|
|
85
|
-
KPW: "North Korean Won",
|
|
86
|
-
KRW: "South Korean Won",
|
|
87
|
-
KWD: "Kuwaiti Dinar",
|
|
88
|
-
KYD: "Cayman Islands Dollar",
|
|
89
|
-
KZT: "Kazakhstani Tenge",
|
|
90
|
-
LAK: "Laotian Kip",
|
|
91
|
-
LBP: "Lebanese Pound",
|
|
92
|
-
LKR: "Sri Lankan Rupee",
|
|
93
|
-
LRD: "Liberian Dollar",
|
|
94
|
-
LSL: "Lesotho Loti",
|
|
95
|
-
LYD: "Libyan Dinar",
|
|
96
|
-
MAD: "Moroccan Dirham",
|
|
97
|
-
MDL: "Moldovan Leu",
|
|
98
|
-
MGA: "Malagasy Ariary",
|
|
99
|
-
MKD: "Macedonian Denar",
|
|
100
|
-
MMK: "Myanma Kyat",
|
|
101
|
-
MNT: "Mongolian Tugrik",
|
|
102
|
-
MOP: "Macanese Pataca",
|
|
103
|
-
MRO: "Mauritanian Ouguiya (pre-2018)",
|
|
104
|
-
MRU: "Mauritanian Ouguiya",
|
|
105
|
-
MUR: "Mauritian Rupee",
|
|
106
|
-
MVR: "Maldivian Rufiyaa",
|
|
107
|
-
MWK: "Malawian Kwacha",
|
|
108
|
-
MXN: "Mexican Peso",
|
|
109
|
-
MYR: "Malaysian Ringgit",
|
|
110
|
-
MZN: "Mozambican Metical",
|
|
111
|
-
NAD: "Namibian Dollar",
|
|
112
|
-
NGN: "Nigerian Naira",
|
|
113
|
-
NIO: "Nicaraguan Córdoba",
|
|
114
|
-
NOK: "Norwegian Krone",
|
|
115
|
-
NPR: "Nepalese Rupee",
|
|
116
|
-
NZD: "New Zealand Dollar",
|
|
117
|
-
OMR: "Omani Rial",
|
|
118
|
-
PAB: "Panamanian Balboa",
|
|
119
|
-
PEN: "Peruvian Nuevo Sol",
|
|
120
|
-
PGK: "Papua New Guinean Kina",
|
|
121
|
-
PHP: "Philippine Peso",
|
|
122
|
-
PKR: "Pakistani Rupee",
|
|
123
|
-
PLN: "Polish Zloty",
|
|
124
|
-
PYG: "Paraguayan Guarani",
|
|
125
|
-
QAR: "Qatari Rial",
|
|
126
|
-
RON: "Romanian Leu",
|
|
127
|
-
RSD: "Serbian Dinar",
|
|
128
|
-
RUB: "Russian Ruble",
|
|
129
|
-
RWF: "Rwandan Franc",
|
|
130
|
-
SAR: "Saudi Riyal",
|
|
131
|
-
SBD: "Solomon Islands Dollar",
|
|
132
|
-
SCR: "Seychellois Rupee",
|
|
133
|
-
SDG: "Sudanese Pound",
|
|
134
|
-
SEK: "Swedish Krona",
|
|
135
|
-
SGD: "Singapore Dollar",
|
|
136
|
-
SHP: "Saint Helena Pound",
|
|
137
|
-
SLL: "Sierra Leonean Leone",
|
|
138
|
-
SOS: "Somali Shilling",
|
|
139
|
-
SRD: "Surinamese Dollar",
|
|
140
|
-
SSP: "South Sudanese Pound",
|
|
141
|
-
STD: "São Tomé and Príncipe Dobra (pre-2018)",
|
|
142
|
-
STN: "São Tomé and Príncipe Dobra",
|
|
143
|
-
SVC: "Salvadoran Colón",
|
|
144
|
-
SYP: "Syrian Pound",
|
|
145
|
-
SZL: "Swazi Lilangeni",
|
|
146
|
-
THB: "Thai Baht",
|
|
147
|
-
TJS: "Tajikistani Somoni",
|
|
148
|
-
TMT: "Turkmenistani Manat",
|
|
149
|
-
TND: "Tunisian Dinar",
|
|
150
|
-
TOP: "Tongan Pa'anga",
|
|
151
|
-
TRY: "Turkish Lira",
|
|
152
|
-
TTD: "Trinidad and Tobago Dollar",
|
|
153
|
-
TWD: "New Taiwan Dollar",
|
|
154
|
-
TZS: "Tanzanian Shilling",
|
|
155
|
-
UAH: "Ukrainian Hryvnia",
|
|
156
|
-
UGX: "Ugandan Shilling",
|
|
157
|
-
USD: "United States Dollar",
|
|
158
|
-
UYU: "Uruguayan Peso",
|
|
159
|
-
UZS: "Uzbekistan Som",
|
|
160
|
-
VEF: "Venezuelan Bolívar Fuerte (Old)",
|
|
161
|
-
VES: "Venezuelan Bolívar Soberano",
|
|
162
|
-
VND: "Vietnamese Dong",
|
|
163
|
-
VUV: "Vanuatu Vatu",
|
|
164
|
-
WST: "Samoan Tala",
|
|
165
|
-
XAF: "CFA Franc BEAC",
|
|
166
|
-
XCD: "East Caribbean Dollar",
|
|
167
|
-
XOF: "CFA Franc BCEAO",
|
|
168
|
-
XPF: "CFP Franc",
|
|
169
|
-
YER: "Yemeni Rial",
|
|
170
|
-
ZAR: "South African Rand",
|
|
171
|
-
ZMW: "Zambian Kwacha",
|
|
172
|
-
ZWL: "Zimbabwean Dollar"
|
|
173
|
-
}, Dr = {
|
|
174
|
-
name: "CCurrencyDropdown",
|
|
175
|
-
components: {
|
|
176
|
-
CInput: yr,
|
|
177
|
-
CDropdown: hr,
|
|
178
|
-
CDropdownItem: gr,
|
|
179
|
-
SmartList: wr
|
|
180
|
-
},
|
|
181
|
-
props: {
|
|
182
|
-
value: {
|
|
183
|
-
type: String,
|
|
184
|
-
required: !0
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
data() {
|
|
188
|
-
return {
|
|
189
|
-
currencies: xr,
|
|
190
|
-
isCurrencyDropdownOpen: !1,
|
|
191
|
-
searchQuery: ""
|
|
192
|
-
};
|
|
193
|
-
},
|
|
194
|
-
computed: {
|
|
195
|
-
internalCurrency: {
|
|
196
|
-
get() {
|
|
197
|
-
return this.value;
|
|
198
|
-
},
|
|
199
|
-
set(t) {
|
|
200
|
-
this.$emit("input", t);
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
selectedValue() {
|
|
204
|
-
return this.internalCurrency ? Ot(this.internalCurrency) : "";
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
watch: {
|
|
208
|
-
isCurrencyDropdownOpen(t) {
|
|
209
|
-
this.$emit("active-change", t), t ? this.$refs.searchCurrencyInput && this.$refs.searchCurrencyInput.focus() : this.searchQuery = "";
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
methods: {
|
|
213
|
-
getCurrencySymbol: Ot
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
var Cr = function() {
|
|
217
|
-
var e = this, r = e._self._c;
|
|
218
|
-
return r("SmartList", { attrs: { query: e.searchQuery, items: Object.keys(e.currencies), "default-sort": "asc" }, scopedSlots: e._u([{ key: "default", fn: function({ items: n }) {
|
|
219
|
-
return [r("CDropdown", e._b({ staticClass: "control", attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
|
|
220
|
-
maxWidth: "300px"
|
|
221
|
-
}, scrollable: !0, "max-height": 200 }, on: { "active-change": function(a) {
|
|
222
|
-
e.isCurrencyDropdownOpen = a;
|
|
223
|
-
} }, model: { value: e.internalCurrency, callback: function(a) {
|
|
224
|
-
e.internalCurrency = a;
|
|
225
|
-
}, expression: "internalCurrency" } }, "CDropdown", {
|
|
226
|
-
position: "is-bottom-left",
|
|
227
|
-
...e.$attrs,
|
|
228
|
-
...e.$props
|
|
229
|
-
}, !1), [e._t("default", function() {
|
|
230
|
-
return [r("CButton", { staticClass: "is-left", staticStyle: { width: "100%", "text-align": "left", "min-width": "7em" }, attrs: { "dropdown-icon": !0, raised: "" } }, [e._v(" " + e._s(e.selectedValue) + " ")])];
|
|
231
|
-
}, { slot: "trigger", selectedValue: e.selectedValue }), r("CInput", { ref: "searchCurrencyInput", staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: e.$t("_common:search"), filled: "" }, slot: "header", model: { value: e.searchQuery, callback: function(a) {
|
|
232
|
-
e.searchQuery = a;
|
|
233
|
-
}, expression: "searchQuery" } }), e._l(n, function(a) {
|
|
234
|
-
return r("CDropdownItem", { key: a, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: a } }, [r("div", { staticStyle: { "margin-right": "auto" } }, [e._v(e._s(a))]), r("div", { staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.getCurrencySymbol(a)) + " ")])]);
|
|
235
|
-
})], 2)];
|
|
236
|
-
} }], null, !0) });
|
|
237
|
-
}, Or = [], Sr = /* @__PURE__ */ Wt(
|
|
238
|
-
Dr,
|
|
239
|
-
Cr,
|
|
240
|
-
Or,
|
|
241
|
-
!1,
|
|
242
|
-
null,
|
|
243
|
-
"6508b8fc"
|
|
244
|
-
);
|
|
245
|
-
const Ar = Sr.exports, Tr = {
|
|
246
|
-
components: {
|
|
247
|
-
ColorPicker: br,
|
|
248
|
-
FontPickerDropdown: mr,
|
|
249
|
-
CCurrencyDropdown: Ar,
|
|
250
|
-
FormInputRow: () => Promise.resolve().then(() => Mr)
|
|
251
|
-
},
|
|
252
|
-
props: {
|
|
253
|
-
label: {
|
|
254
|
-
type: String,
|
|
255
|
-
default: ""
|
|
256
|
-
},
|
|
257
|
-
infoTooltip: {
|
|
258
|
-
type: String,
|
|
259
|
-
default: ""
|
|
260
|
-
},
|
|
261
|
-
inputs: {
|
|
262
|
-
type: Array,
|
|
263
|
-
required: !0
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
methods: {
|
|
267
|
-
onKeyPressNumberRestrict(t) {
|
|
268
|
-
["-", "+", "e", "E"].includes(t.key) && t.preventDefault();
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
var Er = function() {
|
|
273
|
-
var e = this, r = e._self._c;
|
|
274
|
-
return r("div", { staticStyle: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, [r("div", { staticStyle: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, [r("div", { staticStyle: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, [e._v(" " + e._s(e.label) + " ")]), e.infoTooltip ? r("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.infoTooltip, expression: "infoTooltip" }], staticClass: "info-tooltip", attrs: { width: "13", height: "13", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [r("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })]) : e._e()]), r("div", { staticStyle: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, [e._l(e.inputs, function(n, a) {
|
|
275
|
-
return [n.component === "input" ? r("div", { key: a, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", e._b({ class: {
|
|
276
|
-
slider: n.props.type === "range"
|
|
277
|
-
}, style: [
|
|
278
|
-
n.props.type === "range" && {
|
|
279
|
-
"--progress": `${(n.props.value - n.props.min) * 100 / (n.props.max - n.props.min)}%`
|
|
280
|
-
}
|
|
281
|
-
], on: { input: function(o) {
|
|
282
|
-
n.onInput && n.onInput(o.target.value);
|
|
283
|
-
}, keypress: function(o) {
|
|
284
|
-
n.props.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
285
|
-
} } }, "input", n.props, !1))]) : n.component === "inputSelect" ? r("div", { key: a + "input", staticClass: "input-wrapper" }, [r("input", e._b({ staticStyle: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" }, on: { input: function(o) {
|
|
286
|
-
n.props.input.onInput && n.props.input.onInput(o.target.value);
|
|
287
|
-
}, keypress: function(o) {
|
|
288
|
-
n.props.input.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
289
|
-
} } }, "input", n.props.input, !1)), r("div", { staticClass: "select-wrapper" }, [r("select", e._b({ staticStyle: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" }, on: { input: function(o) {
|
|
290
|
-
n.props.select.onInput && n.props.select.onInput(o.target.value);
|
|
291
|
-
} } }, "select", n.props.select, !1), e._l(n.props.select.options, function(o) {
|
|
292
|
-
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.select.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
293
|
-
}), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("CIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "minus" } })], 1), r("div", { staticStyle: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }), r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onIncrease } }, [r("CIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "plus" } })], 1)]) : n.component === "select" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("select", e._b({ on: { input: function(o) {
|
|
294
|
-
n.onInput && n.onInput(o.target.value);
|
|
295
|
-
} } }, "select", n.props, !1), e._l(n.props.options, function(o) {
|
|
296
|
-
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
297
|
-
}), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0, 0, 0, 0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
|
|
298
|
-
return o.preventDefault(), o.stopPropagation(), n.onInput("");
|
|
299
|
-
} } }, [r("CIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
|
|
300
|
-
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
301
|
-
} }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", e._b({ staticClass: "currency-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: o }) {
|
|
302
|
-
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
303
|
-
} }], null, !0) }, "CCurrencyDropdown", n.props, !1))], 1) : n.component === "switch" ? r("div", { key: a, staticClass: "input-wrapper switch" }, [r("CSwitch", e._b({ attrs: { size: "tiny", type: "secondary" }, on: { input: (o) => n.onInput && n.onInput(o) } }, "CSwitch", n.props, !1))], 1) : n.component === "popup" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: n.props.width } } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))])]), r("div", e._l(n.props.popup.inputs, function(o, l) {
|
|
304
|
-
return r("FormInputRow", { key: l, attrs: { inputs: o.inputs, label: o.label } });
|
|
305
|
-
}), 1)])], 1) : n.component === "button" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [e._v(" " + e._s(n.props.text) + " ")])]) : [e._v(" " + e._s(n.component) + " ")]];
|
|
306
|
-
})], 2)]);
|
|
307
|
-
}, Pr = [], Rr = /* @__PURE__ */ Wt(
|
|
308
|
-
Tr,
|
|
309
|
-
Er,
|
|
310
|
-
Pr,
|
|
311
|
-
!1,
|
|
312
|
-
null,
|
|
313
|
-
"96de55ea"
|
|
314
|
-
);
|
|
315
|
-
const Lr = Rr.exports, Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
316
|
-
__proto__: null,
|
|
317
|
-
default: Lr
|
|
318
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
319
|
-
var j = "top", z = "bottom", G = "right", $ = "left", mt = "auto", je = [j, z, G, $], Ce = "start", _e = "end", Br = "clippingParents", Kt = "viewport", Be = "popper", kr = "reference", St = /* @__PURE__ */ je.reduce(function(t, e) {
|
|
320
|
-
return t.concat([e + "-" + Ce, e + "-" + _e]);
|
|
321
|
-
}, []), zt = /* @__PURE__ */ [].concat(je, [mt]).reduce(function(t, e) {
|
|
322
|
-
return t.concat([e, e + "-" + Ce, e + "-" + _e]);
|
|
323
|
-
}, []), Ir = "beforeRead", Nr = "read", _r = "afterRead", Fr = "beforeMain", jr = "main", $r = "afterMain", Vr = "beforeWrite", Hr = "write", Ur = "afterWrite", Wr = [Ir, Nr, _r, Fr, jr, $r, Vr, Hr, Ur];
|
|
324
|
-
function te(t) {
|
|
325
|
-
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
326
|
-
}
|
|
327
|
-
function Y(t) {
|
|
328
|
-
if (t == null)
|
|
329
|
-
return window;
|
|
330
|
-
if (t.toString() !== "[object Window]") {
|
|
331
|
-
var e = t.ownerDocument;
|
|
332
|
-
return e && e.defaultView || window;
|
|
333
|
-
}
|
|
334
|
-
return t;
|
|
335
|
-
}
|
|
336
|
-
function ge(t) {
|
|
337
|
-
var e = Y(t).Element;
|
|
338
|
-
return t instanceof e || t instanceof Element;
|
|
339
|
-
}
|
|
340
|
-
function K(t) {
|
|
341
|
-
var e = Y(t).HTMLElement;
|
|
342
|
-
return t instanceof e || t instanceof HTMLElement;
|
|
343
|
-
}
|
|
344
|
-
function ht(t) {
|
|
345
|
-
if (typeof ShadowRoot > "u")
|
|
346
|
-
return !1;
|
|
347
|
-
var e = Y(t).ShadowRoot;
|
|
348
|
-
return t instanceof e || t instanceof ShadowRoot;
|
|
349
|
-
}
|
|
350
|
-
function Kr(t) {
|
|
351
|
-
var e = t.state;
|
|
352
|
-
Object.keys(e.elements).forEach(function(r) {
|
|
353
|
-
var n = e.styles[r] || {}, a = e.attributes[r] || {}, o = e.elements[r];
|
|
354
|
-
!K(o) || !te(o) || (Object.assign(o.style, n), Object.keys(a).forEach(function(l) {
|
|
355
|
-
var c = a[l];
|
|
356
|
-
c === !1 ? o.removeAttribute(l) : o.setAttribute(l, c === !0 ? "" : c);
|
|
357
|
-
}));
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
function zr(t) {
|
|
361
|
-
var e = t.state, r = {
|
|
362
|
-
popper: {
|
|
363
|
-
position: e.options.strategy,
|
|
364
|
-
left: "0",
|
|
365
|
-
top: "0",
|
|
366
|
-
margin: "0"
|
|
367
|
-
},
|
|
368
|
-
arrow: {
|
|
369
|
-
position: "absolute"
|
|
370
|
-
},
|
|
371
|
-
reference: {}
|
|
372
|
-
};
|
|
373
|
-
return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
|
|
374
|
-
Object.keys(e.elements).forEach(function(n) {
|
|
375
|
-
var a = e.elements[n], o = e.attributes[n] || {}, l = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : r[n]), c = l.reduce(function(u, f) {
|
|
376
|
-
return u[f] = "", u;
|
|
377
|
-
}, {});
|
|
378
|
-
!K(a) || !te(a) || (Object.assign(a.style, c), Object.keys(o).forEach(function(u) {
|
|
379
|
-
a.removeAttribute(u);
|
|
380
|
-
}));
|
|
381
|
-
});
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
const Gt = {
|
|
385
|
-
name: "applyStyles",
|
|
386
|
-
enabled: !0,
|
|
387
|
-
phase: "write",
|
|
388
|
-
fn: Kr,
|
|
389
|
-
effect: zr,
|
|
390
|
-
requires: ["computeStyles"]
|
|
391
|
-
};
|
|
392
|
-
function ee(t) {
|
|
393
|
-
return t.split("-")[0];
|
|
394
|
-
}
|
|
395
|
-
var he = Math.max, tt = Math.min, Oe = Math.round;
|
|
396
|
-
function pt() {
|
|
397
|
-
var t = navigator.userAgentData;
|
|
398
|
-
return t != null && t.brands ? t.brands.map(function(e) {
|
|
399
|
-
return e.brand + "/" + e.version;
|
|
400
|
-
}).join(" ") : navigator.userAgent;
|
|
401
|
-
}
|
|
402
|
-
function Yt() {
|
|
403
|
-
return !/^((?!chrome|android).)*safari/i.test(pt());
|
|
404
|
-
}
|
|
405
|
-
function Se(t, e, r) {
|
|
406
|
-
e === void 0 && (e = !1), r === void 0 && (r = !1);
|
|
407
|
-
var n = t.getBoundingClientRect(), a = 1, o = 1;
|
|
408
|
-
e && K(t) && (a = t.offsetWidth > 0 && Oe(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Oe(n.height) / t.offsetHeight || 1);
|
|
409
|
-
var l = ge(t) ? Y(t) : window, c = l.visualViewport, u = !Yt() && r, f = (n.left + (u && c ? c.offsetLeft : 0)) / a, p = (n.top + (u && c ? c.offsetTop : 0)) / o, b = n.width / a, x = n.height / o;
|
|
410
|
-
return {
|
|
411
|
-
width: b,
|
|
412
|
-
height: x,
|
|
413
|
-
top: p,
|
|
414
|
-
right: f + b,
|
|
415
|
-
bottom: p + x,
|
|
416
|
-
left: f,
|
|
417
|
-
x: f,
|
|
418
|
-
y: p
|
|
419
|
-
};
|
|
420
|
-
}
|
|
421
|
-
function gt(t) {
|
|
422
|
-
var e = Se(t), r = t.offsetWidth, n = t.offsetHeight;
|
|
423
|
-
return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
|
|
424
|
-
x: t.offsetLeft,
|
|
425
|
-
y: t.offsetTop,
|
|
426
|
-
width: r,
|
|
427
|
-
height: n
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
function qt(t, e) {
|
|
431
|
-
var r = e.getRootNode && e.getRootNode();
|
|
432
|
-
if (t.contains(e))
|
|
433
|
-
return !0;
|
|
434
|
-
if (r && ht(r)) {
|
|
435
|
-
var n = e;
|
|
436
|
-
do {
|
|
437
|
-
if (n && t.isSameNode(n))
|
|
438
|
-
return !0;
|
|
439
|
-
n = n.parentNode || n.host;
|
|
440
|
-
} while (n);
|
|
441
|
-
}
|
|
442
|
-
return !1;
|
|
443
|
-
}
|
|
444
|
-
function oe(t) {
|
|
445
|
-
return Y(t).getComputedStyle(t);
|
|
446
|
-
}
|
|
447
|
-
function Gr(t) {
|
|
448
|
-
return ["table", "td", "th"].indexOf(te(t)) >= 0;
|
|
449
|
-
}
|
|
450
|
-
function ce(t) {
|
|
451
|
-
return ((ge(t) ? t.ownerDocument : (
|
|
452
|
-
// $FlowFixMe[prop-missing]
|
|
453
|
-
t.document
|
|
454
|
-
)) || window.document).documentElement;
|
|
455
|
-
}
|
|
456
|
-
function nt(t) {
|
|
457
|
-
return te(t) === "html" ? t : (
|
|
458
|
-
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
459
|
-
// $FlowFixMe[incompatible-return]
|
|
460
|
-
// $FlowFixMe[prop-missing]
|
|
461
|
-
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
462
|
-
t.parentNode || // DOM Element detected
|
|
463
|
-
(ht(t) ? t.host : null) || // ShadowRoot detected
|
|
464
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
465
|
-
ce(t)
|
|
466
|
-
);
|
|
467
|
-
}
|
|
468
|
-
function At(t) {
|
|
469
|
-
return !K(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
470
|
-
oe(t).position === "fixed" ? null : t.offsetParent;
|
|
471
|
-
}
|
|
472
|
-
function Yr(t) {
|
|
473
|
-
var e = /firefox/i.test(pt()), r = /Trident/i.test(pt());
|
|
474
|
-
if (r && K(t)) {
|
|
475
|
-
var n = oe(t);
|
|
476
|
-
if (n.position === "fixed")
|
|
477
|
-
return null;
|
|
478
|
-
}
|
|
479
|
-
var a = nt(t);
|
|
480
|
-
for (ht(a) && (a = a.host); K(a) && ["html", "body"].indexOf(te(a)) < 0; ) {
|
|
481
|
-
var o = oe(a);
|
|
482
|
-
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
483
|
-
return a;
|
|
484
|
-
a = a.parentNode;
|
|
485
|
-
}
|
|
486
|
-
return null;
|
|
487
|
-
}
|
|
488
|
-
function $e(t) {
|
|
489
|
-
for (var e = Y(t), r = At(t); r && Gr(r) && oe(r).position === "static"; )
|
|
490
|
-
r = At(r);
|
|
491
|
-
return r && (te(r) === "html" || te(r) === "body" && oe(r).position === "static") ? e : r || Yr(t) || e;
|
|
492
|
-
}
|
|
493
|
-
function yt(t) {
|
|
494
|
-
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
495
|
-
}
|
|
496
|
-
function ke(t, e, r) {
|
|
497
|
-
return he(t, tt(e, r));
|
|
498
|
-
}
|
|
499
|
-
function qr(t, e, r) {
|
|
500
|
-
var n = ke(t, e, r);
|
|
501
|
-
return n > r ? r : n;
|
|
502
|
-
}
|
|
503
|
-
function Xt() {
|
|
504
|
-
return {
|
|
505
|
-
top: 0,
|
|
506
|
-
right: 0,
|
|
507
|
-
bottom: 0,
|
|
508
|
-
left: 0
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
function Zt(t) {
|
|
512
|
-
return Object.assign({}, Xt(), t);
|
|
513
|
-
}
|
|
514
|
-
function Jt(t, e) {
|
|
515
|
-
return e.reduce(function(r, n) {
|
|
516
|
-
return r[n] = t, r;
|
|
517
|
-
}, {});
|
|
518
|
-
}
|
|
519
|
-
var Xr = function(e, r) {
|
|
520
|
-
return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
|
|
521
|
-
placement: r.placement
|
|
522
|
-
})) : e, Zt(typeof e != "number" ? e : Jt(e, je));
|
|
523
|
-
};
|
|
524
|
-
function Zr(t) {
|
|
525
|
-
var e, r = t.state, n = t.name, a = t.options, o = r.elements.arrow, l = r.modifiersData.popperOffsets, c = ee(r.placement), u = yt(c), f = [$, G].indexOf(c) >= 0, p = f ? "height" : "width";
|
|
526
|
-
if (!(!o || !l)) {
|
|
527
|
-
var b = Xr(a.padding, r), x = gt(o), h = u === "y" ? j : $, D = u === "y" ? z : G, w = r.rects.reference[p] + r.rects.reference[u] - l[u] - r.rects.popper[p], d = l[u] - r.rects.reference[u], g = $e(o), C = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, O = w / 2 - d / 2, i = b[h], S = C - x[p] - b[D], m = C / 2 - x[p] / 2 + O, E = ke(i, m, S), B = u;
|
|
528
|
-
r.modifiersData[n] = (e = {}, e[B] = E, e.centerOffset = E - m, e);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
function Jr(t) {
|
|
532
|
-
var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
|
533
|
-
a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || qt(e.elements.popper, a) && (e.elements.arrow = a));
|
|
534
|
-
}
|
|
535
|
-
const Qr = {
|
|
536
|
-
name: "arrow",
|
|
537
|
-
enabled: !0,
|
|
538
|
-
phase: "main",
|
|
539
|
-
fn: Zr,
|
|
540
|
-
effect: Jr,
|
|
541
|
-
requires: ["popperOffsets"],
|
|
542
|
-
requiresIfExists: ["preventOverflow"]
|
|
543
|
-
};
|
|
544
|
-
function Ae(t) {
|
|
545
|
-
return t.split("-")[1];
|
|
546
|
-
}
|
|
547
|
-
var en = {
|
|
548
|
-
top: "auto",
|
|
549
|
-
right: "auto",
|
|
550
|
-
bottom: "auto",
|
|
551
|
-
left: "auto"
|
|
552
|
-
};
|
|
553
|
-
function tn(t) {
|
|
554
|
-
var e = t.x, r = t.y, n = window, a = n.devicePixelRatio || 1;
|
|
555
|
-
return {
|
|
556
|
-
x: Oe(e * a) / a || 0,
|
|
557
|
-
y: Oe(r * a) / a || 0
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
function Tt(t) {
|
|
561
|
-
var e, r = t.popper, n = t.popperRect, a = t.placement, o = t.variation, l = t.offsets, c = t.position, u = t.gpuAcceleration, f = t.adaptive, p = t.roundOffsets, b = t.isFixed, x = l.x, h = x === void 0 ? 0 : x, D = l.y, w = D === void 0 ? 0 : D, d = typeof p == "function" ? p({
|
|
562
|
-
x: h,
|
|
563
|
-
y: w
|
|
564
|
-
}) : {
|
|
565
|
-
x: h,
|
|
566
|
-
y: w
|
|
567
|
-
};
|
|
568
|
-
h = d.x, w = d.y;
|
|
569
|
-
var g = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"), O = $, i = j, S = window;
|
|
570
|
-
if (f) {
|
|
571
|
-
var m = $e(r), E = "clientHeight", B = "clientWidth";
|
|
572
|
-
if (m === Y(r) && (m = ce(r), oe(m).position !== "static" && c === "absolute" && (E = "scrollHeight", B = "scrollWidth")), m = m, a === j || (a === $ || a === G) && o === _e) {
|
|
573
|
-
i = z;
|
|
574
|
-
var M = b && m === S && S.visualViewport ? S.visualViewport.height : (
|
|
575
|
-
// $FlowFixMe[prop-missing]
|
|
576
|
-
m[E]
|
|
577
|
-
);
|
|
578
|
-
w -= M - n.height, w *= u ? 1 : -1;
|
|
579
|
-
}
|
|
580
|
-
if (a === $ || (a === j || a === z) && o === _e) {
|
|
581
|
-
O = G;
|
|
582
|
-
var R = b && m === S && S.visualViewport ? S.visualViewport.width : (
|
|
583
|
-
// $FlowFixMe[prop-missing]
|
|
584
|
-
m[B]
|
|
585
|
-
);
|
|
586
|
-
h -= R - n.width, h *= u ? 1 : -1;
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
var k = Object.assign({
|
|
590
|
-
position: c
|
|
591
|
-
}, f && en), L = p === !0 ? tn({
|
|
592
|
-
x: h,
|
|
593
|
-
y: w
|
|
594
|
-
}) : {
|
|
595
|
-
x: h,
|
|
596
|
-
y: w
|
|
597
|
-
};
|
|
598
|
-
if (h = L.x, w = L.y, u) {
|
|
599
|
-
var P;
|
|
600
|
-
return Object.assign({}, k, (P = {}, P[i] = C ? "0" : "", P[O] = g ? "0" : "", P.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", P));
|
|
601
|
-
}
|
|
602
|
-
return Object.assign({}, k, (e = {}, e[i] = C ? w + "px" : "", e[O] = g ? h + "px" : "", e.transform = "", e));
|
|
603
|
-
}
|
|
604
|
-
function rn(t) {
|
|
605
|
-
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, o = r.adaptive, l = o === void 0 ? !0 : o, c = r.roundOffsets, u = c === void 0 ? !0 : c, f = {
|
|
606
|
-
placement: ee(e.placement),
|
|
607
|
-
variation: Ae(e.placement),
|
|
608
|
-
popper: e.elements.popper,
|
|
609
|
-
popperRect: e.rects.popper,
|
|
610
|
-
gpuAcceleration: a,
|
|
611
|
-
isFixed: e.options.strategy === "fixed"
|
|
612
|
-
};
|
|
613
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Tt(Object.assign({}, f, {
|
|
614
|
-
offsets: e.modifiersData.popperOffsets,
|
|
615
|
-
position: e.options.strategy,
|
|
616
|
-
adaptive: l,
|
|
617
|
-
roundOffsets: u
|
|
618
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Tt(Object.assign({}, f, {
|
|
619
|
-
offsets: e.modifiersData.arrow,
|
|
620
|
-
position: "absolute",
|
|
621
|
-
adaptive: !1,
|
|
622
|
-
roundOffsets: u
|
|
623
|
-
})))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
624
|
-
"data-popper-placement": e.placement
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
const nn = {
|
|
628
|
-
name: "computeStyles",
|
|
629
|
-
enabled: !0,
|
|
630
|
-
phase: "beforeWrite",
|
|
631
|
-
fn: rn,
|
|
632
|
-
data: {}
|
|
633
|
-
};
|
|
634
|
-
var Je = {
|
|
635
|
-
passive: !0
|
|
636
|
-
};
|
|
637
|
-
function an(t) {
|
|
638
|
-
var e = t.state, r = t.instance, n = t.options, a = n.scroll, o = a === void 0 ? !0 : a, l = n.resize, c = l === void 0 ? !0 : l, u = Y(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
639
|
-
return o && f.forEach(function(p) {
|
|
640
|
-
p.addEventListener("scroll", r.update, Je);
|
|
641
|
-
}), c && u.addEventListener("resize", r.update, Je), function() {
|
|
642
|
-
o && f.forEach(function(p) {
|
|
643
|
-
p.removeEventListener("scroll", r.update, Je);
|
|
644
|
-
}), c && u.removeEventListener("resize", r.update, Je);
|
|
645
|
-
};
|
|
646
|
-
}
|
|
647
|
-
const on = {
|
|
648
|
-
name: "eventListeners",
|
|
649
|
-
enabled: !0,
|
|
650
|
-
phase: "write",
|
|
651
|
-
fn: function() {
|
|
652
|
-
},
|
|
653
|
-
effect: an,
|
|
654
|
-
data: {}
|
|
655
|
-
};
|
|
656
|
-
var sn = {
|
|
657
|
-
left: "right",
|
|
658
|
-
right: "left",
|
|
659
|
-
bottom: "top",
|
|
660
|
-
top: "bottom"
|
|
661
|
-
};
|
|
662
|
-
function et(t) {
|
|
663
|
-
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
664
|
-
return sn[e];
|
|
665
|
-
});
|
|
666
|
-
}
|
|
667
|
-
var un = {
|
|
668
|
-
start: "end",
|
|
669
|
-
end: "start"
|
|
670
|
-
};
|
|
671
|
-
function Et(t) {
|
|
672
|
-
return t.replace(/start|end/g, function(e) {
|
|
673
|
-
return un[e];
|
|
674
|
-
});
|
|
675
|
-
}
|
|
676
|
-
function bt(t) {
|
|
677
|
-
var e = Y(t), r = e.pageXOffset, n = e.pageYOffset;
|
|
678
|
-
return {
|
|
679
|
-
scrollLeft: r,
|
|
680
|
-
scrollTop: n
|
|
681
|
-
};
|
|
682
|
-
}
|
|
683
|
-
function wt(t) {
|
|
684
|
-
return Se(ce(t)).left + bt(t).scrollLeft;
|
|
685
|
-
}
|
|
686
|
-
function ln(t, e) {
|
|
687
|
-
var r = Y(t), n = ce(t), a = r.visualViewport, o = n.clientWidth, l = n.clientHeight, c = 0, u = 0;
|
|
688
|
-
if (a) {
|
|
689
|
-
o = a.width, l = a.height;
|
|
690
|
-
var f = Yt();
|
|
691
|
-
(f || !f && e === "fixed") && (c = a.offsetLeft, u = a.offsetTop);
|
|
692
|
-
}
|
|
693
|
-
return {
|
|
694
|
-
width: o,
|
|
695
|
-
height: l,
|
|
696
|
-
x: c + wt(t),
|
|
697
|
-
y: u
|
|
698
|
-
};
|
|
699
|
-
}
|
|
700
|
-
function cn(t) {
|
|
701
|
-
var e, r = ce(t), n = bt(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, o = he(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = he(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), c = -n.scrollLeft + wt(t), u = -n.scrollTop;
|
|
702
|
-
return oe(a || r).direction === "rtl" && (c += he(r.clientWidth, a ? a.clientWidth : 0) - o), {
|
|
703
|
-
width: o,
|
|
704
|
-
height: l,
|
|
705
|
-
x: c,
|
|
706
|
-
y: u
|
|
707
|
-
};
|
|
708
|
-
}
|
|
709
|
-
function xt(t) {
|
|
710
|
-
var e = oe(t), r = e.overflow, n = e.overflowX, a = e.overflowY;
|
|
711
|
-
return /auto|scroll|overlay|hidden/.test(r + a + n);
|
|
712
|
-
}
|
|
713
|
-
function Qt(t) {
|
|
714
|
-
return ["html", "body", "#document"].indexOf(te(t)) >= 0 ? t.ownerDocument.body : K(t) && xt(t) ? t : Qt(nt(t));
|
|
715
|
-
}
|
|
716
|
-
function Ie(t, e) {
|
|
717
|
-
var r;
|
|
718
|
-
e === void 0 && (e = []);
|
|
719
|
-
var n = Qt(t), a = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = Y(n), l = a ? [o].concat(o.visualViewport || [], xt(n) ? n : []) : n, c = e.concat(l);
|
|
720
|
-
return a ? c : (
|
|
721
|
-
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
722
|
-
c.concat(Ie(nt(l)))
|
|
723
|
-
);
|
|
724
|
-
}
|
|
725
|
-
function ft(t) {
|
|
726
|
-
return Object.assign({}, t, {
|
|
727
|
-
left: t.x,
|
|
728
|
-
top: t.y,
|
|
729
|
-
right: t.x + t.width,
|
|
730
|
-
bottom: t.y + t.height
|
|
731
|
-
});
|
|
732
|
-
}
|
|
733
|
-
function pn(t, e) {
|
|
734
|
-
var r = Se(t, !1, e === "fixed");
|
|
735
|
-
return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
736
|
-
}
|
|
737
|
-
function Pt(t, e, r) {
|
|
738
|
-
return e === Kt ? ft(ln(t, r)) : ge(e) ? pn(e, r) : ft(cn(ce(t)));
|
|
739
|
-
}
|
|
740
|
-
function fn(t) {
|
|
741
|
-
var e = Ie(nt(t)), r = ["absolute", "fixed"].indexOf(oe(t).position) >= 0, n = r && K(t) ? $e(t) : t;
|
|
742
|
-
return ge(n) ? e.filter(function(a) {
|
|
743
|
-
return ge(a) && qt(a, n) && te(a) !== "body";
|
|
744
|
-
}) : [];
|
|
745
|
-
}
|
|
746
|
-
function dn(t, e, r, n) {
|
|
747
|
-
var a = e === "clippingParents" ? fn(t) : [].concat(e), o = [].concat(a, [r]), l = o[0], c = o.reduce(function(u, f) {
|
|
748
|
-
var p = Pt(t, f, n);
|
|
749
|
-
return u.top = he(p.top, u.top), u.right = tt(p.right, u.right), u.bottom = tt(p.bottom, u.bottom), u.left = he(p.left, u.left), u;
|
|
750
|
-
}, Pt(t, l, n));
|
|
751
|
-
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
752
|
-
}
|
|
753
|
-
function er(t) {
|
|
754
|
-
var e = t.reference, r = t.element, n = t.placement, a = n ? ee(n) : null, o = n ? Ae(n) : null, l = e.x + e.width / 2 - r.width / 2, c = e.y + e.height / 2 - r.height / 2, u;
|
|
755
|
-
switch (a) {
|
|
756
|
-
case j:
|
|
757
|
-
u = {
|
|
758
|
-
x: l,
|
|
759
|
-
y: e.y - r.height
|
|
760
|
-
};
|
|
761
|
-
break;
|
|
762
|
-
case z:
|
|
763
|
-
u = {
|
|
764
|
-
x: l,
|
|
765
|
-
y: e.y + e.height
|
|
766
|
-
};
|
|
767
|
-
break;
|
|
768
|
-
case G:
|
|
769
|
-
u = {
|
|
770
|
-
x: e.x + e.width,
|
|
771
|
-
y: c
|
|
772
|
-
};
|
|
773
|
-
break;
|
|
774
|
-
case $:
|
|
775
|
-
u = {
|
|
776
|
-
x: e.x - r.width,
|
|
777
|
-
y: c
|
|
778
|
-
};
|
|
779
|
-
break;
|
|
780
|
-
default:
|
|
781
|
-
u = {
|
|
782
|
-
x: e.x,
|
|
783
|
-
y: e.y
|
|
784
|
-
};
|
|
785
|
-
}
|
|
786
|
-
var f = a ? yt(a) : null;
|
|
787
|
-
if (f != null) {
|
|
788
|
-
var p = f === "y" ? "height" : "width";
|
|
789
|
-
switch (o) {
|
|
790
|
-
case Ce:
|
|
791
|
-
u[f] = u[f] - (e[p] / 2 - r[p] / 2);
|
|
792
|
-
break;
|
|
793
|
-
case _e:
|
|
794
|
-
u[f] = u[f] + (e[p] / 2 - r[p] / 2);
|
|
795
|
-
break;
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
return u;
|
|
799
|
-
}
|
|
800
|
-
function Fe(t, e) {
|
|
801
|
-
e === void 0 && (e = {});
|
|
802
|
-
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ? Br : c, f = r.rootBoundary, p = f === void 0 ? Kt : f, b = r.elementContext, x = b === void 0 ? Be : b, h = r.altBoundary, D = h === void 0 ? !1 : h, w = r.padding, d = w === void 0 ? 0 : w, g = Zt(typeof d != "number" ? d : Jt(d, je)), C = x === Be ? kr : Be, O = t.rects.popper, i = t.elements[D ? C : x], S = dn(ge(i) ? i : i.contextElement || ce(t.elements.popper), u, p, l), m = Se(t.elements.reference), E = er({
|
|
803
|
-
reference: m,
|
|
804
|
-
element: O,
|
|
805
|
-
strategy: "absolute",
|
|
806
|
-
placement: a
|
|
807
|
-
}), B = ft(Object.assign({}, O, E)), M = x === Be ? B : m, R = {
|
|
808
|
-
top: S.top - M.top + g.top,
|
|
809
|
-
bottom: M.bottom - S.bottom + g.bottom,
|
|
810
|
-
left: S.left - M.left + g.left,
|
|
811
|
-
right: M.right - S.right + g.right
|
|
812
|
-
}, k = t.modifiersData.offset;
|
|
813
|
-
if (x === Be && k) {
|
|
814
|
-
var L = k[a];
|
|
815
|
-
Object.keys(R).forEach(function(P) {
|
|
816
|
-
var V = [G, z].indexOf(P) >= 0 ? 1 : -1, H = [j, z].indexOf(P) >= 0 ? "y" : "x";
|
|
817
|
-
R[P] += L[H] * V;
|
|
818
|
-
});
|
|
819
|
-
}
|
|
820
|
-
return R;
|
|
821
|
-
}
|
|
822
|
-
function vn(t, e) {
|
|
823
|
-
e === void 0 && (e = {});
|
|
824
|
-
var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, l = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? zt : u, p = Ae(n), b = p ? c ? St : St.filter(function(D) {
|
|
825
|
-
return Ae(D) === p;
|
|
826
|
-
}) : je, x = b.filter(function(D) {
|
|
827
|
-
return f.indexOf(D) >= 0;
|
|
828
|
-
});
|
|
829
|
-
x.length === 0 && (x = b);
|
|
830
|
-
var h = x.reduce(function(D, w) {
|
|
831
|
-
return D[w] = Fe(t, {
|
|
832
|
-
placement: w,
|
|
833
|
-
boundary: a,
|
|
834
|
-
rootBoundary: o,
|
|
835
|
-
padding: l
|
|
836
|
-
})[ee(w)], D;
|
|
837
|
-
}, {});
|
|
838
|
-
return Object.keys(h).sort(function(D, w) {
|
|
839
|
-
return h[D] - h[w];
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
function mn(t) {
|
|
843
|
-
if (ee(t) === mt)
|
|
844
|
-
return [];
|
|
845
|
-
var e = et(t);
|
|
846
|
-
return [Et(t), e, Et(e)];
|
|
847
|
-
}
|
|
848
|
-
function hn(t) {
|
|
849
|
-
var e = t.state, r = t.options, n = t.name;
|
|
850
|
-
if (!e.modifiersData[n]._skip) {
|
|
851
|
-
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d), C = g === d, O = u || (C || !D ? [et(d)] : mn(d)), i = [d].concat(O).reduce(function(re, q) {
|
|
852
|
-
return re.concat(ee(q) === mt ? vn(e, {
|
|
853
|
-
placement: q,
|
|
854
|
-
boundary: p,
|
|
855
|
-
rootBoundary: b,
|
|
856
|
-
padding: f,
|
|
857
|
-
flipVariations: D,
|
|
858
|
-
allowedAutoPlacements: w
|
|
859
|
-
}) : q);
|
|
860
|
-
}, []), S = e.rects.reference, m = e.rects.popper, E = /* @__PURE__ */ new Map(), B = !0, M = i[0], R = 0; R < i.length; R++) {
|
|
861
|
-
var k = i[R], L = ee(k), P = Ae(k) === Ce, V = [j, z].indexOf(L) >= 0, H = V ? "width" : "height", N = Fe(e, {
|
|
862
|
-
placement: k,
|
|
863
|
-
boundary: p,
|
|
864
|
-
rootBoundary: b,
|
|
865
|
-
altBoundary: x,
|
|
866
|
-
padding: f
|
|
867
|
-
}), _ = V ? P ? G : $ : P ? z : j;
|
|
868
|
-
S[H] > m[H] && (_ = et(_));
|
|
869
|
-
var I = et(_), X = [];
|
|
870
|
-
if (o && X.push(N[L] <= 0), c && X.push(N[_] <= 0, N[I] <= 0), X.every(function(re) {
|
|
871
|
-
return re;
|
|
872
|
-
})) {
|
|
873
|
-
M = k, B = !1;
|
|
874
|
-
break;
|
|
875
|
-
}
|
|
876
|
-
E.set(k, X);
|
|
877
|
-
}
|
|
878
|
-
if (B)
|
|
879
|
-
for (var Z = D ? 3 : 1, pe = function(q) {
|
|
880
|
-
var ne = i.find(function(ye) {
|
|
881
|
-
var ie = E.get(ye);
|
|
882
|
-
if (ie)
|
|
883
|
-
return ie.slice(0, q).every(function(be) {
|
|
884
|
-
return be;
|
|
885
|
-
});
|
|
886
|
-
});
|
|
887
|
-
if (ne)
|
|
888
|
-
return M = ne, "break";
|
|
889
|
-
}, J = Z; J > 0; J--) {
|
|
890
|
-
var fe = pe(J);
|
|
891
|
-
if (fe === "break")
|
|
892
|
-
break;
|
|
893
|
-
}
|
|
894
|
-
e.placement !== M && (e.modifiersData[n]._skip = !0, e.placement = M, e.reset = !0);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
const gn = {
|
|
898
|
-
name: "flip",
|
|
899
|
-
enabled: !0,
|
|
900
|
-
phase: "main",
|
|
901
|
-
fn: hn,
|
|
902
|
-
requiresIfExists: ["offset"],
|
|
903
|
-
data: {
|
|
904
|
-
_skip: !1
|
|
905
|
-
}
|
|
906
|
-
};
|
|
907
|
-
function Rt(t, e, r) {
|
|
908
|
-
return r === void 0 && (r = {
|
|
909
|
-
x: 0,
|
|
910
|
-
y: 0
|
|
911
|
-
}), {
|
|
912
|
-
top: t.top - e.height - r.y,
|
|
913
|
-
right: t.right - e.width + r.x,
|
|
914
|
-
bottom: t.bottom - e.height + r.y,
|
|
915
|
-
left: t.left - e.width - r.x
|
|
916
|
-
};
|
|
917
|
-
}
|
|
918
|
-
function Lt(t) {
|
|
919
|
-
return [j, G, z, $].some(function(e) {
|
|
920
|
-
return t[e] >= 0;
|
|
921
|
-
});
|
|
922
|
-
}
|
|
923
|
-
function yn(t) {
|
|
924
|
-
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, o = e.modifiersData.preventOverflow, l = Fe(e, {
|
|
925
|
-
elementContext: "reference"
|
|
926
|
-
}), c = Fe(e, {
|
|
927
|
-
altBoundary: !0
|
|
928
|
-
}), u = Rt(l, n), f = Rt(c, a, o), p = Lt(u), b = Lt(f);
|
|
929
|
-
e.modifiersData[r] = {
|
|
930
|
-
referenceClippingOffsets: u,
|
|
931
|
-
popperEscapeOffsets: f,
|
|
932
|
-
isReferenceHidden: p,
|
|
933
|
-
hasPopperEscaped: b
|
|
934
|
-
}, e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
935
|
-
"data-popper-reference-hidden": p,
|
|
936
|
-
"data-popper-escaped": b
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
const bn = {
|
|
940
|
-
name: "hide",
|
|
941
|
-
enabled: !0,
|
|
942
|
-
phase: "main",
|
|
943
|
-
requiresIfExists: ["preventOverflow"],
|
|
944
|
-
fn: yn
|
|
945
|
-
};
|
|
946
|
-
function wn(t, e, r) {
|
|
947
|
-
var n = ee(t), a = [$, j].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, e, {
|
|
948
|
-
placement: t
|
|
949
|
-
})) : r, l = o[0], c = o[1];
|
|
950
|
-
return l = l || 0, c = (c || 0) * a, [$, G].indexOf(n) >= 0 ? {
|
|
951
|
-
x: c,
|
|
952
|
-
y: l
|
|
953
|
-
} : {
|
|
954
|
-
x: l,
|
|
955
|
-
y: c
|
|
956
|
-
};
|
|
957
|
-
}
|
|
958
|
-
function xn(t) {
|
|
959
|
-
var e = t.state, r = t.options, n = t.name, a = r.offset, o = a === void 0 ? [0, 0] : a, l = zt.reduce(function(p, b) {
|
|
960
|
-
return p[b] = wn(b, e.rects, o), p;
|
|
961
|
-
}, {}), c = l[e.placement], u = c.x, f = c.y;
|
|
962
|
-
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += u, e.modifiersData.popperOffsets.y += f), e.modifiersData[n] = l;
|
|
963
|
-
}
|
|
964
|
-
const Dn = {
|
|
965
|
-
name: "offset",
|
|
966
|
-
enabled: !0,
|
|
967
|
-
phase: "main",
|
|
968
|
-
requires: ["popperOffsets"],
|
|
969
|
-
fn: xn
|
|
970
|
-
};
|
|
971
|
-
function Cn(t) {
|
|
972
|
-
var e = t.state, r = t.name;
|
|
973
|
-
e.modifiersData[r] = er({
|
|
974
|
-
reference: e.rects.reference,
|
|
975
|
-
element: e.rects.popper,
|
|
976
|
-
strategy: "absolute",
|
|
977
|
-
placement: e.placement
|
|
978
|
-
});
|
|
979
|
-
}
|
|
980
|
-
const On = {
|
|
981
|
-
name: "popperOffsets",
|
|
982
|
-
enabled: !0,
|
|
983
|
-
phase: "read",
|
|
984
|
-
fn: Cn,
|
|
985
|
-
data: {}
|
|
986
|
-
};
|
|
987
|
-
function Sn(t) {
|
|
988
|
-
return t === "x" ? "y" : "x";
|
|
989
|
-
}
|
|
990
|
-
function An(t) {
|
|
991
|
-
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !1 : l, u = r.boundary, f = r.rootBoundary, p = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, D = r.tetherOffset, w = D === void 0 ? 0 : D, d = Fe(e, {
|
|
992
|
-
boundary: u,
|
|
993
|
-
rootBoundary: f,
|
|
994
|
-
padding: b,
|
|
995
|
-
altBoundary: p
|
|
996
|
-
}), g = ee(e.placement), C = Ae(e.placement), O = !C, i = yt(g), S = Sn(i), m = e.modifiersData.popperOffsets, E = e.rects.reference, B = e.rects.popper, M = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
997
|
-
placement: e.placement
|
|
998
|
-
})) : w, R = typeof M == "number" ? {
|
|
999
|
-
mainAxis: M,
|
|
1000
|
-
altAxis: M
|
|
1001
|
-
} : Object.assign({
|
|
1002
|
-
mainAxis: 0,
|
|
1003
|
-
altAxis: 0
|
|
1004
|
-
}, M), k = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, L = {
|
|
1005
|
-
x: 0,
|
|
1006
|
-
y: 0
|
|
1007
|
-
};
|
|
1008
|
-
if (m) {
|
|
1009
|
-
if (o) {
|
|
1010
|
-
var P, V = i === "y" ? j : $, H = i === "y" ? z : G, N = i === "y" ? "height" : "width", _ = m[i], I = _ + d[V], X = _ - d[H], Z = h ? -B[N] / 2 : 0, pe = C === Ce ? E[N] : B[N], J = C === Ce ? -B[N] : -E[N], fe = e.elements.arrow, re = h && fe ? gt(fe) : {
|
|
1011
|
-
width: 0,
|
|
1012
|
-
height: 0
|
|
1013
|
-
}, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Xt(), ne = q[V], ye = q[H], ie = ke(0, E[N], re[N]), be = O ? E[N] / 2 - Z - ie - ne - R.mainAxis : pe - ie - ne - R.mainAxis, se = O ? -E[N] / 2 + Z + ie + ye + R.mainAxis : J + ie + ye + R.mainAxis, we = e.elements.arrow && $e(e.elements.arrow), Ve = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, Ee = (P = k == null ? void 0 : k[i]) != null ? P : 0, He = _ + be - Ee - Ve, Ue = _ + se - Ee, Pe = ke(h ? tt(I, He) : I, _, h ? he(X, Ue) : X);
|
|
1014
|
-
m[i] = Pe, L[i] = Pe - _;
|
|
1015
|
-
}
|
|
1016
|
-
if (c) {
|
|
1017
|
-
var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke], Me = [j, $].indexOf(g) !== -1, ze = (Re = k == null ? void 0 : k[S]) != null ? Re : 0, Ge = Me ? Le : ae - E[ue] - B[ue] - ze + R.altAxis, Ye = Me ? ae + E[ue] + B[ue] - ze - R.altAxis : de, qe = h && Me ? qr(Ge, ae, Ye) : ke(h ? Ge : Le, ae, h ? Ye : de);
|
|
1018
|
-
m[S] = qe, L[S] = qe - ae;
|
|
1019
|
-
}
|
|
1020
|
-
e.modifiersData[n] = L;
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
const Tn = {
|
|
1024
|
-
name: "preventOverflow",
|
|
1025
|
-
enabled: !0,
|
|
1026
|
-
phase: "main",
|
|
1027
|
-
fn: An,
|
|
1028
|
-
requiresIfExists: ["offset"]
|
|
1029
|
-
};
|
|
1030
|
-
function En(t) {
|
|
1031
|
-
return {
|
|
1032
|
-
scrollLeft: t.scrollLeft,
|
|
1033
|
-
scrollTop: t.scrollTop
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
function Pn(t) {
|
|
1037
|
-
return t === Y(t) || !K(t) ? bt(t) : En(t);
|
|
1038
|
-
}
|
|
1039
|
-
function Rn(t) {
|
|
1040
|
-
var e = t.getBoundingClientRect(), r = Oe(e.width) / t.offsetWidth || 1, n = Oe(e.height) / t.offsetHeight || 1;
|
|
1041
|
-
return r !== 1 || n !== 1;
|
|
1042
|
-
}
|
|
1043
|
-
function Ln(t, e, r) {
|
|
1044
|
-
r === void 0 && (r = !1);
|
|
1045
|
-
var n = K(e), a = K(e) && Rn(e), o = ce(e), l = Se(t, a, r), c = {
|
|
1046
|
-
scrollLeft: 0,
|
|
1047
|
-
scrollTop: 0
|
|
1048
|
-
}, u = {
|
|
1049
|
-
x: 0,
|
|
1050
|
-
y: 0
|
|
1051
|
-
};
|
|
1052
|
-
return (n || !n && !r) && ((te(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1053
|
-
xt(o)) && (c = Pn(e)), K(e) ? (u = Se(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = wt(o))), {
|
|
1054
|
-
x: l.left + c.scrollLeft - u.x,
|
|
1055
|
-
y: l.top + c.scrollTop - u.y,
|
|
1056
|
-
width: l.width,
|
|
1057
|
-
height: l.height
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
function Mn(t) {
|
|
1061
|
-
var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
1062
|
-
t.forEach(function(o) {
|
|
1063
|
-
e.set(o.name, o);
|
|
1064
|
-
});
|
|
1065
|
-
function a(o) {
|
|
1066
|
-
r.add(o.name);
|
|
1067
|
-
var l = [].concat(o.requires || [], o.requiresIfExists || []);
|
|
1068
|
-
l.forEach(function(c) {
|
|
1069
|
-
if (!r.has(c)) {
|
|
1070
|
-
var u = e.get(c);
|
|
1071
|
-
u && a(u);
|
|
1072
|
-
}
|
|
1073
|
-
}), n.push(o);
|
|
1074
|
-
}
|
|
1075
|
-
return t.forEach(function(o) {
|
|
1076
|
-
r.has(o.name) || a(o);
|
|
1077
|
-
}), n;
|
|
1078
|
-
}
|
|
1079
|
-
function Bn(t) {
|
|
1080
|
-
var e = Mn(t);
|
|
1081
|
-
return Wr.reduce(function(r, n) {
|
|
1082
|
-
return r.concat(e.filter(function(a) {
|
|
1083
|
-
return a.phase === n;
|
|
1084
|
-
}));
|
|
1085
|
-
}, []);
|
|
1086
|
-
}
|
|
1087
|
-
function kn(t) {
|
|
1088
|
-
var e;
|
|
1089
|
-
return function() {
|
|
1090
|
-
return e || (e = new Promise(function(r) {
|
|
1091
|
-
Promise.resolve().then(function() {
|
|
1092
|
-
e = void 0, r(t());
|
|
1093
|
-
});
|
|
1094
|
-
})), e;
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
function In(t) {
|
|
1098
|
-
var e = t.reduce(function(r, n) {
|
|
1099
|
-
var a = r[n.name];
|
|
1100
|
-
return r[n.name] = a ? Object.assign({}, a, n, {
|
|
1101
|
-
options: Object.assign({}, a.options, n.options),
|
|
1102
|
-
data: Object.assign({}, a.data, n.data)
|
|
1103
|
-
}) : n, r;
|
|
1104
|
-
}, {});
|
|
1105
|
-
return Object.keys(e).map(function(r) {
|
|
1106
|
-
return e[r];
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
1109
|
-
var Mt = {
|
|
1110
|
-
placement: "bottom",
|
|
1111
|
-
modifiers: [],
|
|
1112
|
-
strategy: "absolute"
|
|
1113
|
-
};
|
|
1114
|
-
function Bt() {
|
|
1115
|
-
for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
|
|
1116
|
-
e[r] = arguments[r];
|
|
1117
|
-
return !e.some(function(n) {
|
|
1118
|
-
return !(n && typeof n.getBoundingClientRect == "function");
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
function Nn(t) {
|
|
1122
|
-
t === void 0 && (t = {});
|
|
1123
|
-
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ? Mt : a;
|
|
1124
|
-
return function(c, u, f) {
|
|
1125
|
-
f === void 0 && (f = o);
|
|
1126
|
-
var p = {
|
|
1127
|
-
placement: "bottom",
|
|
1128
|
-
orderedModifiers: [],
|
|
1129
|
-
options: Object.assign({}, Mt, o),
|
|
1130
|
-
modifiersData: {},
|
|
1131
|
-
elements: {
|
|
1132
|
-
reference: c,
|
|
1133
|
-
popper: u
|
|
1134
|
-
},
|
|
1135
|
-
attributes: {},
|
|
1136
|
-
styles: {}
|
|
1137
|
-
}, b = [], x = !1, h = {
|
|
1138
|
-
state: p,
|
|
1139
|
-
setOptions: function(g) {
|
|
1140
|
-
var C = typeof g == "function" ? g(p.options) : g;
|
|
1141
|
-
w(), p.options = Object.assign({}, o, p.options, C), p.scrollParents = {
|
|
1142
|
-
reference: ge(c) ? Ie(c) : c.contextElement ? Ie(c.contextElement) : [],
|
|
1143
|
-
popper: Ie(u)
|
|
1144
|
-
};
|
|
1145
|
-
var O = Bn(In([].concat(n, p.options.modifiers)));
|
|
1146
|
-
return p.orderedModifiers = O.filter(function(i) {
|
|
1147
|
-
return i.enabled;
|
|
1148
|
-
}), D(), h.update();
|
|
1149
|
-
},
|
|
1150
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
1151
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
1152
|
-
// logic.
|
|
1153
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
1154
|
-
// prefer the async Popper#update method
|
|
1155
|
-
forceUpdate: function() {
|
|
1156
|
-
if (!x) {
|
|
1157
|
-
var g = p.elements, C = g.reference, O = g.popper;
|
|
1158
|
-
if (Bt(C, O)) {
|
|
1159
|
-
p.rects = {
|
|
1160
|
-
reference: Ln(C, $e(O), p.options.strategy === "fixed"),
|
|
1161
|
-
popper: gt(O)
|
|
1162
|
-
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(R) {
|
|
1163
|
-
return p.modifiersData[R.name] = Object.assign({}, R.data);
|
|
1164
|
-
});
|
|
1165
|
-
for (var i = 0; i < p.orderedModifiers.length; i++) {
|
|
1166
|
-
if (p.reset === !0) {
|
|
1167
|
-
p.reset = !1, i = -1;
|
|
1168
|
-
continue;
|
|
1169
|
-
}
|
|
1170
|
-
var S = p.orderedModifiers[i], m = S.fn, E = S.options, B = E === void 0 ? {} : E, M = S.name;
|
|
1171
|
-
typeof m == "function" && (p = m({
|
|
1172
|
-
state: p,
|
|
1173
|
-
options: B,
|
|
1174
|
-
name: M,
|
|
1175
|
-
instance: h
|
|
1176
|
-
}) || p);
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
1182
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
1183
|
-
update: kn(function() {
|
|
1184
|
-
return new Promise(function(d) {
|
|
1185
|
-
h.forceUpdate(), d(p);
|
|
1186
|
-
});
|
|
1187
|
-
}),
|
|
1188
|
-
destroy: function() {
|
|
1189
|
-
w(), x = !0;
|
|
1190
|
-
}
|
|
1191
|
-
};
|
|
1192
|
-
if (!Bt(c, u))
|
|
1193
|
-
return h;
|
|
1194
|
-
h.setOptions(f).then(function(d) {
|
|
1195
|
-
!x && f.onFirstUpdate && f.onFirstUpdate(d);
|
|
1196
|
-
});
|
|
1197
|
-
function D() {
|
|
1198
|
-
p.orderedModifiers.forEach(function(d) {
|
|
1199
|
-
var g = d.name, C = d.options, O = C === void 0 ? {} : C, i = d.effect;
|
|
1200
|
-
if (typeof i == "function") {
|
|
1201
|
-
var S = i({
|
|
1202
|
-
state: p,
|
|
1203
|
-
name: g,
|
|
1204
|
-
instance: h,
|
|
1205
|
-
options: O
|
|
1206
|
-
}), m = function() {
|
|
1207
|
-
};
|
|
1208
|
-
b.push(S || m);
|
|
1209
|
-
}
|
|
1210
|
-
});
|
|
1211
|
-
}
|
|
1212
|
-
function w() {
|
|
1213
|
-
b.forEach(function(d) {
|
|
1214
|
-
return d();
|
|
1215
|
-
}), b = [];
|
|
1216
|
-
}
|
|
1217
|
-
return h;
|
|
1218
|
-
};
|
|
1219
|
-
}
|
|
1220
|
-
var _n = [on, On, nn, Gt, Dn, gn, Tn, Qr, bn], Fn = /* @__PURE__ */ Nn({
|
|
1221
|
-
defaultModifiers: _n
|
|
1222
|
-
}), jn = "tippy-box", tr = "tippy-content", $n = "tippy-backdrop", rr = "tippy-arrow", nr = "tippy-svg-arrow", le = {
|
|
1223
|
-
passive: !0,
|
|
1224
|
-
capture: !0
|
|
1225
|
-
}, ir = function() {
|
|
1226
|
-
return document.body;
|
|
1227
|
-
};
|
|
1228
|
-
function st(t, e, r) {
|
|
1229
|
-
if (Array.isArray(t)) {
|
|
1230
|
-
var n = t[e];
|
|
1231
|
-
return n ?? (Array.isArray(r) ? r[e] : r);
|
|
1232
|
-
}
|
|
1233
|
-
return t;
|
|
1234
|
-
}
|
|
1235
|
-
function Dt(t, e) {
|
|
1236
|
-
var r = {}.toString.call(t);
|
|
1237
|
-
return r.indexOf("[object") === 0 && r.indexOf(e + "]") > -1;
|
|
1238
|
-
}
|
|
1239
|
-
function ar(t, e) {
|
|
1240
|
-
return typeof t == "function" ? t.apply(void 0, e) : t;
|
|
1241
|
-
}
|
|
1242
|
-
function kt(t, e) {
|
|
1243
|
-
if (e === 0)
|
|
1244
|
-
return t;
|
|
1245
|
-
var r;
|
|
1246
|
-
return function(n) {
|
|
1247
|
-
clearTimeout(r), r = setTimeout(function() {
|
|
1248
|
-
t(n);
|
|
1249
|
-
}, e);
|
|
1250
|
-
};
|
|
1251
|
-
}
|
|
1252
|
-
function Vn(t, e) {
|
|
1253
|
-
var r = Object.assign({}, t);
|
|
1254
|
-
return e.forEach(function(n) {
|
|
1255
|
-
delete r[n];
|
|
1256
|
-
}), r;
|
|
1257
|
-
}
|
|
1258
|
-
function Hn(t) {
|
|
1259
|
-
return t.split(/\s+/).filter(Boolean);
|
|
1260
|
-
}
|
|
1261
|
-
function me(t) {
|
|
1262
|
-
return [].concat(t);
|
|
1263
|
-
}
|
|
1264
|
-
function It(t, e) {
|
|
1265
|
-
t.indexOf(e) === -1 && t.push(e);
|
|
1266
|
-
}
|
|
1267
|
-
function Un(t) {
|
|
1268
|
-
return t.filter(function(e, r) {
|
|
1269
|
-
return t.indexOf(e) === r;
|
|
1270
|
-
});
|
|
1271
|
-
}
|
|
1272
|
-
function Wn(t) {
|
|
1273
|
-
return t.split("-")[0];
|
|
1274
|
-
}
|
|
1275
|
-
function rt(t) {
|
|
1276
|
-
return [].slice.call(t);
|
|
1277
|
-
}
|
|
1278
|
-
function Nt(t) {
|
|
1279
|
-
return Object.keys(t).reduce(function(e, r) {
|
|
1280
|
-
return t[r] !== void 0 && (e[r] = t[r]), e;
|
|
1281
|
-
}, {});
|
|
1282
|
-
}
|
|
1283
|
-
function Ne() {
|
|
1284
|
-
return document.createElement("div");
|
|
1285
|
-
}
|
|
1286
|
-
function it(t) {
|
|
1287
|
-
return ["Element", "Fragment"].some(function(e) {
|
|
1288
|
-
return Dt(t, e);
|
|
1289
|
-
});
|
|
1290
|
-
}
|
|
1291
|
-
function Kn(t) {
|
|
1292
|
-
return Dt(t, "NodeList");
|
|
1293
|
-
}
|
|
1294
|
-
function zn(t) {
|
|
1295
|
-
return Dt(t, "MouseEvent");
|
|
1296
|
-
}
|
|
1297
|
-
function Gn(t) {
|
|
1298
|
-
return !!(t && t._tippy && t._tippy.reference === t);
|
|
1299
|
-
}
|
|
1300
|
-
function Yn(t) {
|
|
1301
|
-
return it(t) ? [t] : Kn(t) ? rt(t) : Array.isArray(t) ? t : rt(document.querySelectorAll(t));
|
|
1302
|
-
}
|
|
1303
|
-
function ut(t, e) {
|
|
1304
|
-
t.forEach(function(r) {
|
|
1305
|
-
r && (r.style.transitionDuration = e + "ms");
|
|
1306
|
-
});
|
|
1307
|
-
}
|
|
1308
|
-
function _t(t, e) {
|
|
1309
|
-
t.forEach(function(r) {
|
|
1310
|
-
r && r.setAttribute("data-state", e);
|
|
1311
|
-
});
|
|
1312
|
-
}
|
|
1313
|
-
function qn(t) {
|
|
1314
|
-
var e, r = me(t), n = r[0];
|
|
1315
|
-
return n != null && (e = n.ownerDocument) != null && e.body ? n.ownerDocument : document;
|
|
1316
|
-
}
|
|
1317
|
-
function Xn(t, e) {
|
|
1318
|
-
var r = e.clientX, n = e.clientY;
|
|
1319
|
-
return t.every(function(a) {
|
|
1320
|
-
var o = a.popperRect, l = a.popperState, c = a.props, u = c.interactiveBorder, f = Wn(l.placement), p = l.modifiersData.offset;
|
|
1321
|
-
if (!p)
|
|
1322
|
-
return !0;
|
|
1323
|
-
var b = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, D = f === "left" ? p.right.x : 0, w = o.top - n + b > u, d = n - o.bottom - x > u, g = o.left - r + h > u, C = r - o.right - D > u;
|
|
1324
|
-
return w || d || g || C;
|
|
1325
|
-
});
|
|
1326
|
-
}
|
|
1327
|
-
function lt(t, e, r) {
|
|
1328
|
-
var n = e + "EventListener";
|
|
1329
|
-
["transitionend", "webkitTransitionEnd"].forEach(function(a) {
|
|
1330
|
-
t[n](a, r);
|
|
1331
|
-
});
|
|
1332
|
-
}
|
|
1333
|
-
function Ft(t, e) {
|
|
1334
|
-
for (var r = e; r; ) {
|
|
1335
|
-
var n;
|
|
1336
|
-
if (t.contains(r))
|
|
1337
|
-
return !0;
|
|
1338
|
-
r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
|
|
1339
|
-
}
|
|
1340
|
-
return !1;
|
|
1341
|
-
}
|
|
1342
|
-
var Q = {
|
|
1343
|
-
isTouch: !1
|
|
1344
|
-
}, jt = 0;
|
|
1345
|
-
function Zn() {
|
|
1346
|
-
Q.isTouch || (Q.isTouch = !0, window.performance && document.addEventListener("mousemove", or));
|
|
1347
|
-
}
|
|
1348
|
-
function or() {
|
|
1349
|
-
var t = performance.now();
|
|
1350
|
-
t - jt < 20 && (Q.isTouch = !1, document.removeEventListener("mousemove", or)), jt = t;
|
|
1351
|
-
}
|
|
1352
|
-
function Jn() {
|
|
1353
|
-
var t = document.activeElement;
|
|
1354
|
-
if (Gn(t)) {
|
|
1355
|
-
var e = t._tippy;
|
|
1356
|
-
t.blur && !e.state.isVisible && t.blur();
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
function Qn() {
|
|
1360
|
-
document.addEventListener("touchstart", Zn, le), window.addEventListener("blur", Jn);
|
|
1361
|
-
}
|
|
1362
|
-
var ei = typeof window < "u" && typeof document < "u", ti = ei ? (
|
|
1363
|
-
// @ts-ignore
|
|
1364
|
-
!!window.msCrypto
|
|
1365
|
-
) : !1, ri = {
|
|
1366
|
-
animateFill: !1,
|
|
1367
|
-
followCursor: !1,
|
|
1368
|
-
inlinePositioning: !1,
|
|
1369
|
-
sticky: !1
|
|
1370
|
-
}, ni = {
|
|
1371
|
-
allowHTML: !1,
|
|
1372
|
-
animation: "fade",
|
|
1373
|
-
arrow: !0,
|
|
1374
|
-
content: "",
|
|
1375
|
-
inertia: !1,
|
|
1376
|
-
maxWidth: 350,
|
|
1377
|
-
role: "tooltip",
|
|
1378
|
-
theme: "",
|
|
1379
|
-
zIndex: 9999
|
|
1380
|
-
}, U = Object.assign({
|
|
1381
|
-
appendTo: ir,
|
|
1382
|
-
aria: {
|
|
1383
|
-
content: "auto",
|
|
1384
|
-
expanded: "auto"
|
|
1385
|
-
},
|
|
1386
|
-
delay: 0,
|
|
1387
|
-
duration: [300, 250],
|
|
1388
|
-
getReferenceClientRect: null,
|
|
1389
|
-
hideOnClick: !0,
|
|
1390
|
-
ignoreAttributes: !1,
|
|
1391
|
-
interactive: !1,
|
|
1392
|
-
interactiveBorder: 2,
|
|
1393
|
-
interactiveDebounce: 0,
|
|
1394
|
-
moveTransition: "",
|
|
1395
|
-
offset: [0, 10],
|
|
1396
|
-
onAfterUpdate: function() {
|
|
1397
|
-
},
|
|
1398
|
-
onBeforeUpdate: function() {
|
|
1399
|
-
},
|
|
1400
|
-
onCreate: function() {
|
|
1401
|
-
},
|
|
1402
|
-
onDestroy: function() {
|
|
1403
|
-
},
|
|
1404
|
-
onHidden: function() {
|
|
1405
|
-
},
|
|
1406
|
-
onHide: function() {
|
|
1407
|
-
},
|
|
1408
|
-
onMount: function() {
|
|
1409
|
-
},
|
|
1410
|
-
onShow: function() {
|
|
1411
|
-
},
|
|
1412
|
-
onShown: function() {
|
|
1413
|
-
},
|
|
1414
|
-
onTrigger: function() {
|
|
1415
|
-
},
|
|
1416
|
-
onUntrigger: function() {
|
|
1417
|
-
},
|
|
1418
|
-
onClickOutside: function() {
|
|
1419
|
-
},
|
|
1420
|
-
placement: "top",
|
|
1421
|
-
plugins: [],
|
|
1422
|
-
popperOptions: {},
|
|
1423
|
-
render: null,
|
|
1424
|
-
showOnCreate: !1,
|
|
1425
|
-
touch: !0,
|
|
1426
|
-
trigger: "mouseenter focus",
|
|
1427
|
-
triggerTarget: null
|
|
1428
|
-
}, ri, ni), ii = Object.keys(U), ai = function(e) {
|
|
1429
|
-
var r = Object.keys(e);
|
|
1430
|
-
r.forEach(function(n) {
|
|
1431
|
-
U[n] = e[n];
|
|
1432
|
-
});
|
|
1433
|
-
};
|
|
1434
|
-
function sr(t) {
|
|
1435
|
-
var e = t.plugins || [], r = e.reduce(function(n, a) {
|
|
1436
|
-
var o = a.name, l = a.defaultValue;
|
|
1437
|
-
if (o) {
|
|
1438
|
-
var c;
|
|
1439
|
-
n[o] = t[o] !== void 0 ? t[o] : (c = U[o]) != null ? c : l;
|
|
1440
|
-
}
|
|
1441
|
-
return n;
|
|
1442
|
-
}, {});
|
|
1443
|
-
return Object.assign({}, t, r);
|
|
1444
|
-
}
|
|
1445
|
-
function oi(t, e) {
|
|
1446
|
-
var r = e ? Object.keys(sr(Object.assign({}, U, {
|
|
1447
|
-
plugins: e
|
|
1448
|
-
}))) : ii, n = r.reduce(function(a, o) {
|
|
1449
|
-
var l = (t.getAttribute("data-tippy-" + o) || "").trim();
|
|
1450
|
-
if (!l)
|
|
1451
|
-
return a;
|
|
1452
|
-
if (o === "content")
|
|
1453
|
-
a[o] = l;
|
|
1454
|
-
else
|
|
1455
|
-
try {
|
|
1456
|
-
a[o] = JSON.parse(l);
|
|
1457
|
-
} catch {
|
|
1458
|
-
a[o] = l;
|
|
1459
|
-
}
|
|
1460
|
-
return a;
|
|
1461
|
-
}, {});
|
|
1462
|
-
return n;
|
|
1463
|
-
}
|
|
1464
|
-
function $t(t, e) {
|
|
1465
|
-
var r = Object.assign({}, e, {
|
|
1466
|
-
content: ar(e.content, [t])
|
|
1467
|
-
}, e.ignoreAttributes ? {} : oi(t, e.plugins));
|
|
1468
|
-
return r.aria = Object.assign({}, U.aria, r.aria), r.aria = {
|
|
1469
|
-
expanded: r.aria.expanded === "auto" ? e.interactive : r.aria.expanded,
|
|
1470
|
-
content: r.aria.content === "auto" ? e.interactive ? null : "describedby" : r.aria.content
|
|
1471
|
-
}, r;
|
|
1472
|
-
}
|
|
1473
|
-
var si = function() {
|
|
1474
|
-
return "innerHTML";
|
|
1475
|
-
};
|
|
1476
|
-
function dt(t, e) {
|
|
1477
|
-
t[si()] = e;
|
|
1478
|
-
}
|
|
1479
|
-
function Vt(t) {
|
|
1480
|
-
var e = Ne();
|
|
1481
|
-
return t === !0 ? e.className = rr : (e.className = nr, it(t) ? e.appendChild(t) : dt(e, t)), e;
|
|
1482
|
-
}
|
|
1483
|
-
function Ht(t, e) {
|
|
1484
|
-
it(e.content) ? (dt(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? dt(t, e.content) : t.textContent = e.content);
|
|
1485
|
-
}
|
|
1486
|
-
function vt(t) {
|
|
1487
|
-
var e = t.firstElementChild, r = rt(e.children);
|
|
1488
|
-
return {
|
|
1489
|
-
box: e,
|
|
1490
|
-
content: r.find(function(n) {
|
|
1491
|
-
return n.classList.contains(tr);
|
|
1492
|
-
}),
|
|
1493
|
-
arrow: r.find(function(n) {
|
|
1494
|
-
return n.classList.contains(rr) || n.classList.contains(nr);
|
|
1495
|
-
}),
|
|
1496
|
-
backdrop: r.find(function(n) {
|
|
1497
|
-
return n.classList.contains($n);
|
|
1498
|
-
})
|
|
1499
|
-
};
|
|
1500
|
-
}
|
|
1501
|
-
function ur(t) {
|
|
1502
|
-
var e = Ne(), r = Ne();
|
|
1503
|
-
r.className = jn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
|
|
1504
|
-
var n = Ne();
|
|
1505
|
-
n.className = tr, n.setAttribute("data-state", "hidden"), Ht(n, t.props), e.appendChild(r), r.appendChild(n), a(t.props, t.props);
|
|
1506
|
-
function a(o, l) {
|
|
1507
|
-
var c = vt(e), u = c.box, f = c.content, p = c.arrow;
|
|
1508
|
-
l.theme ? u.setAttribute("data-theme", l.theme) : u.removeAttribute("data-theme"), typeof l.animation == "string" ? u.setAttribute("data-animation", l.animation) : u.removeAttribute("data-animation"), l.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof l.maxWidth == "number" ? l.maxWidth + "px" : l.maxWidth, l.role ? u.setAttribute("role", l.role) : u.removeAttribute("role"), (o.content !== l.content || o.allowHTML !== l.allowHTML) && Ht(f, t.props), l.arrow ? p ? o.arrow !== l.arrow && (u.removeChild(p), u.appendChild(Vt(l.arrow))) : u.appendChild(Vt(l.arrow)) : p && u.removeChild(p);
|
|
1509
|
-
}
|
|
1510
|
-
return {
|
|
1511
|
-
popper: e,
|
|
1512
|
-
onUpdate: a
|
|
1513
|
-
};
|
|
1514
|
-
}
|
|
1515
|
-
ur.$$tippy = !0;
|
|
1516
|
-
var ui = 1, Qe = [], ct = [];
|
|
1517
|
-
function li(t, e) {
|
|
1518
|
-
var r = $t(t, Object.assign({}, U, sr(Nt(e)))), n, a, o, l = !1, c = !1, u = !1, f = !1, p, b, x, h = [], D = kt(He, r.interactiveDebounce), w, d = ui++, g = null, C = Un(r.plugins), O = {
|
|
1519
|
-
// Is the instance currently enabled?
|
|
1520
|
-
isEnabled: !0,
|
|
1521
|
-
// Is the tippy currently showing and not transitioning out?
|
|
1522
|
-
isVisible: !1,
|
|
1523
|
-
// Has the instance been destroyed?
|
|
1524
|
-
isDestroyed: !1,
|
|
1525
|
-
// Is the tippy currently mounted to the DOM?
|
|
1526
|
-
isMounted: !1,
|
|
1527
|
-
// Has the tippy finished transitioning in?
|
|
1528
|
-
isShown: !1
|
|
1529
|
-
}, i = {
|
|
1530
|
-
// properties
|
|
1531
|
-
id: d,
|
|
1532
|
-
reference: t,
|
|
1533
|
-
popper: Ne(),
|
|
1534
|
-
popperInstance: g,
|
|
1535
|
-
props: r,
|
|
1536
|
-
state: O,
|
|
1537
|
-
plugins: C,
|
|
1538
|
-
// methods
|
|
1539
|
-
clearDelayTimeouts: Ge,
|
|
1540
|
-
setProps: Ye,
|
|
1541
|
-
setContent: qe,
|
|
1542
|
-
show: lr,
|
|
1543
|
-
hide: cr,
|
|
1544
|
-
hideWithInteractivity: pr,
|
|
1545
|
-
enable: Me,
|
|
1546
|
-
disable: ze,
|
|
1547
|
-
unmount: fr,
|
|
1548
|
-
destroy: dr
|
|
1549
|
-
};
|
|
1550
|
-
if (!r.render)
|
|
1551
|
-
return i;
|
|
1552
|
-
var S = r.render(i), m = S.popper, E = S.onUpdate;
|
|
1553
|
-
m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, t._tippy = i, m._tippy = i;
|
|
1554
|
-
var B = C.map(function(s) {
|
|
1555
|
-
return s.fn(i);
|
|
1556
|
-
}), M = t.hasAttribute("aria-expanded");
|
|
1557
|
-
return we(), Z(), _(), I("onCreate", [i]), r.showOnCreate && Le(), m.addEventListener("mouseenter", function() {
|
|
1558
|
-
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
1559
|
-
}), m.addEventListener("mouseleave", function() {
|
|
1560
|
-
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && V().addEventListener("mousemove", D);
|
|
1561
|
-
}), i;
|
|
1562
|
-
function R() {
|
|
1563
|
-
var s = i.props.touch;
|
|
1564
|
-
return Array.isArray(s) ? s : [s, 0];
|
|
1565
|
-
}
|
|
1566
|
-
function k() {
|
|
1567
|
-
return R()[0] === "hold";
|
|
1568
|
-
}
|
|
1569
|
-
function L() {
|
|
1570
|
-
var s;
|
|
1571
|
-
return !!((s = i.props.render) != null && s.$$tippy);
|
|
1572
|
-
}
|
|
1573
|
-
function P() {
|
|
1574
|
-
return w || t;
|
|
1575
|
-
}
|
|
1576
|
-
function V() {
|
|
1577
|
-
var s = P().parentNode;
|
|
1578
|
-
return s ? qn(s) : document;
|
|
1579
|
-
}
|
|
1580
|
-
function H() {
|
|
1581
|
-
return vt(m);
|
|
1582
|
-
}
|
|
1583
|
-
function N(s) {
|
|
1584
|
-
return i.state.isMounted && !i.state.isVisible || Q.isTouch || p && p.type === "focus" ? 0 : st(i.props.delay, s ? 0 : 1, U.delay);
|
|
1585
|
-
}
|
|
1586
|
-
function _(s) {
|
|
1587
|
-
s === void 0 && (s = !1), m.style.pointerEvents = i.props.interactive && !s ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
|
|
1588
|
-
}
|
|
1589
|
-
function I(s, v, y) {
|
|
1590
|
-
if (y === void 0 && (y = !0), B.forEach(function(A) {
|
|
1591
|
-
A[s] && A[s].apply(A, v);
|
|
1592
|
-
}), y) {
|
|
1593
|
-
var T;
|
|
1594
|
-
(T = i.props)[s].apply(T, v);
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
function X() {
|
|
1598
|
-
var s = i.props.aria;
|
|
1599
|
-
if (s.content) {
|
|
1600
|
-
var v = "aria-" + s.content, y = m.id, T = me(i.props.triggerTarget || t);
|
|
1601
|
-
T.forEach(function(A) {
|
|
1602
|
-
var F = A.getAttribute(v);
|
|
1603
|
-
if (i.state.isVisible)
|
|
1604
|
-
A.setAttribute(v, F ? F + " " + y : y);
|
|
1605
|
-
else {
|
|
1606
|
-
var W = F && F.replace(y, "").trim();
|
|
1607
|
-
W ? A.setAttribute(v, W) : A.removeAttribute(v);
|
|
1608
|
-
}
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
function Z() {
|
|
1613
|
-
if (!(M || !i.props.aria.expanded)) {
|
|
1614
|
-
var s = me(i.props.triggerTarget || t);
|
|
1615
|
-
s.forEach(function(v) {
|
|
1616
|
-
i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === P() ? "true" : "false") : v.removeAttribute("aria-expanded");
|
|
1617
|
-
});
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
function pe() {
|
|
1621
|
-
V().removeEventListener("mousemove", D), Qe = Qe.filter(function(s) {
|
|
1622
|
-
return s !== D;
|
|
1623
|
-
});
|
|
1624
|
-
}
|
|
1625
|
-
function J(s) {
|
|
1626
|
-
if (!(Q.isTouch && (u || s.type === "mousedown"))) {
|
|
1627
|
-
var v = s.composedPath && s.composedPath()[0] || s.target;
|
|
1628
|
-
if (!(i.props.interactive && Ft(m, v))) {
|
|
1629
|
-
if (me(i.props.triggerTarget || t).some(function(y) {
|
|
1630
|
-
return Ft(y, v);
|
|
1631
|
-
})) {
|
|
1632
|
-
if (Q.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
|
|
1633
|
-
return;
|
|
1634
|
-
} else
|
|
1635
|
-
I("onClickOutside", [i, s]);
|
|
1636
|
-
i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), c = !0, setTimeout(function() {
|
|
1637
|
-
c = !1;
|
|
1638
|
-
}), i.state.isMounted || ne());
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
function fe() {
|
|
1643
|
-
u = !0;
|
|
1644
|
-
}
|
|
1645
|
-
function re() {
|
|
1646
|
-
u = !1;
|
|
1647
|
-
}
|
|
1648
|
-
function q() {
|
|
1649
|
-
var s = V();
|
|
1650
|
-
s.addEventListener("mousedown", J, !0), s.addEventListener("touchend", J, le), s.addEventListener("touchstart", re, le), s.addEventListener("touchmove", fe, le);
|
|
1651
|
-
}
|
|
1652
|
-
function ne() {
|
|
1653
|
-
var s = V();
|
|
1654
|
-
s.removeEventListener("mousedown", J, !0), s.removeEventListener("touchend", J, le), s.removeEventListener("touchstart", re, le), s.removeEventListener("touchmove", fe, le);
|
|
1655
|
-
}
|
|
1656
|
-
function ye(s, v) {
|
|
1657
|
-
be(s, function() {
|
|
1658
|
-
!i.state.isVisible && m.parentNode && m.parentNode.contains(m) && v();
|
|
1659
|
-
});
|
|
1660
|
-
}
|
|
1661
|
-
function ie(s, v) {
|
|
1662
|
-
be(s, v);
|
|
1663
|
-
}
|
|
1664
|
-
function be(s, v) {
|
|
1665
|
-
var y = H().box;
|
|
1666
|
-
function T(A) {
|
|
1667
|
-
A.target === y && (lt(y, "remove", T), v());
|
|
1668
|
-
}
|
|
1669
|
-
if (s === 0)
|
|
1670
|
-
return v();
|
|
1671
|
-
lt(y, "remove", b), lt(y, "add", T), b = T;
|
|
1672
|
-
}
|
|
1673
|
-
function se(s, v, y) {
|
|
1674
|
-
y === void 0 && (y = !1);
|
|
1675
|
-
var T = me(i.props.triggerTarget || t);
|
|
1676
|
-
T.forEach(function(A) {
|
|
1677
|
-
A.addEventListener(s, v, y), h.push({
|
|
1678
|
-
node: A,
|
|
1679
|
-
eventType: s,
|
|
1680
|
-
handler: v,
|
|
1681
|
-
options: y
|
|
1682
|
-
});
|
|
1683
|
-
});
|
|
1684
|
-
}
|
|
1685
|
-
function we() {
|
|
1686
|
-
k() && (se("touchstart", Ee, {
|
|
1687
|
-
passive: !0
|
|
1688
|
-
}), se("touchend", Ue, {
|
|
1689
|
-
passive: !0
|
|
1690
|
-
})), Hn(i.props.trigger).forEach(function(s) {
|
|
1691
|
-
if (s !== "manual")
|
|
1692
|
-
switch (se(s, Ee), s) {
|
|
1693
|
-
case "mouseenter":
|
|
1694
|
-
se("mouseleave", Ue);
|
|
1695
|
-
break;
|
|
1696
|
-
case "focus":
|
|
1697
|
-
se(ti ? "focusout" : "blur", Pe);
|
|
1698
|
-
break;
|
|
1699
|
-
case "focusin":
|
|
1700
|
-
se("focusout", Pe);
|
|
1701
|
-
break;
|
|
1702
|
-
}
|
|
1703
|
-
});
|
|
1704
|
-
}
|
|
1705
|
-
function Ve() {
|
|
1706
|
-
h.forEach(function(s) {
|
|
1707
|
-
var v = s.node, y = s.eventType, T = s.handler, A = s.options;
|
|
1708
|
-
v.removeEventListener(y, T, A);
|
|
1709
|
-
}), h = [];
|
|
1710
|
-
}
|
|
1711
|
-
function Ee(s) {
|
|
1712
|
-
var v, y = !1;
|
|
1713
|
-
if (!(!i.state.isEnabled || Re(s) || c)) {
|
|
1714
|
-
var T = ((v = p) == null ? void 0 : v.type) === "focus";
|
|
1715
|
-
p = s, w = s.currentTarget, Z(), !i.state.isVisible && zn(s) && Qe.forEach(function(A) {
|
|
1716
|
-
return A(s);
|
|
1717
|
-
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Le(s), s.type === "click" && (l = !y), y && !T && de(s);
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
function He(s) {
|
|
1721
|
-
var v = s.target, y = P().contains(v) || m.contains(v);
|
|
1722
|
-
if (!(s.type === "mousemove" && y)) {
|
|
1723
|
-
var T = ue().concat(m).map(function(A) {
|
|
1724
|
-
var F, W = A._tippy, xe = (F = W.popperInstance) == null ? void 0 : F.state;
|
|
1725
|
-
return xe ? {
|
|
1726
|
-
popperRect: A.getBoundingClientRect(),
|
|
1727
|
-
popperState: xe,
|
|
1728
|
-
props: r
|
|
1729
|
-
} : null;
|
|
1730
|
-
}).filter(Boolean);
|
|
1731
|
-
Xn(T, s) && (pe(), de(s));
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
function Ue(s) {
|
|
1735
|
-
var v = Re(s) || i.props.trigger.indexOf("click") >= 0 && l;
|
|
1736
|
-
if (!v) {
|
|
1737
|
-
if (i.props.interactive) {
|
|
1738
|
-
i.hideWithInteractivity(s);
|
|
1739
|
-
return;
|
|
1740
|
-
}
|
|
1741
|
-
de(s);
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
function Pe(s) {
|
|
1745
|
-
i.props.trigger.indexOf("focusin") < 0 && s.target !== P() || i.props.interactive && s.relatedTarget && m.contains(s.relatedTarget) || de(s);
|
|
1746
|
-
}
|
|
1747
|
-
function Re(s) {
|
|
1748
|
-
return Q.isTouch ? k() !== s.type.indexOf("touch") >= 0 : !1;
|
|
1749
|
-
}
|
|
1750
|
-
function We() {
|
|
1751
|
-
Ke();
|
|
1752
|
-
var s = i.props, v = s.popperOptions, y = s.placement, T = s.offset, A = s.getReferenceClientRect, F = s.moveTransition, W = L() ? vt(m).arrow : null, xe = A ? {
|
|
1753
|
-
getBoundingClientRect: A,
|
|
1754
|
-
contextElement: A.contextElement || P()
|
|
1755
|
-
} : t, Ct = {
|
|
1756
|
-
name: "$$tippy",
|
|
1757
|
-
enabled: !0,
|
|
1758
|
-
phase: "beforeWrite",
|
|
1759
|
-
requires: ["computeStyles"],
|
|
1760
|
-
fn: function(Xe) {
|
|
1761
|
-
var De = Xe.state;
|
|
1762
|
-
if (L()) {
|
|
1763
|
-
var vr = H(), ot = vr.box;
|
|
1764
|
-
["placement", "reference-hidden", "escaped"].forEach(function(Ze) {
|
|
1765
|
-
Ze === "placement" ? ot.setAttribute("data-placement", De.placement) : De.attributes.popper["data-popper-" + Ze] ? ot.setAttribute("data-" + Ze, "") : ot.removeAttribute("data-" + Ze);
|
|
1766
|
-
}), De.attributes.popper = {};
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
}, ve = [{
|
|
1770
|
-
name: "offset",
|
|
1771
|
-
options: {
|
|
1772
|
-
offset: T
|
|
1773
|
-
}
|
|
1774
|
-
}, {
|
|
1775
|
-
name: "preventOverflow",
|
|
1776
|
-
options: {
|
|
1777
|
-
padding: {
|
|
1778
|
-
top: 2,
|
|
1779
|
-
bottom: 2,
|
|
1780
|
-
left: 5,
|
|
1781
|
-
right: 5
|
|
1782
|
-
}
|
|
1783
|
-
}
|
|
1784
|
-
}, {
|
|
1785
|
-
name: "flip",
|
|
1786
|
-
options: {
|
|
1787
|
-
padding: 5
|
|
1788
|
-
}
|
|
1789
|
-
}, {
|
|
1790
|
-
name: "computeStyles",
|
|
1791
|
-
options: {
|
|
1792
|
-
adaptive: !F
|
|
1793
|
-
}
|
|
1794
|
-
}, Ct];
|
|
1795
|
-
L() && W && ve.push({
|
|
1796
|
-
name: "arrow",
|
|
1797
|
-
options: {
|
|
1798
|
-
element: W,
|
|
1799
|
-
padding: 3
|
|
1800
|
-
}
|
|
1801
|
-
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Fn(xe, m, Object.assign({}, v, {
|
|
1802
|
-
placement: y,
|
|
1803
|
-
onFirstUpdate: x,
|
|
1804
|
-
modifiers: ve
|
|
1805
|
-
}));
|
|
1806
|
-
}
|
|
1807
|
-
function Ke() {
|
|
1808
|
-
i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
|
|
1809
|
-
}
|
|
1810
|
-
function ae() {
|
|
1811
|
-
var s = i.props.appendTo, v, y = P();
|
|
1812
|
-
i.props.interactive && s === ir || s === "parent" ? v = y.parentNode : v = ar(s, [y]), v.contains(m) || v.appendChild(m), i.state.isMounted = !0, We();
|
|
1813
|
-
}
|
|
1814
|
-
function ue() {
|
|
1815
|
-
return rt(m.querySelectorAll("[data-tippy-root]"));
|
|
1816
|
-
}
|
|
1817
|
-
function Le(s) {
|
|
1818
|
-
i.clearDelayTimeouts(), s && I("onTrigger", [i, s]), q();
|
|
1819
|
-
var v = N(!0), y = R(), T = y[0], A = y[1];
|
|
1820
|
-
Q.isTouch && T === "hold" && A && (v = A), v ? n = setTimeout(function() {
|
|
1821
|
-
i.show();
|
|
1822
|
-
}, v) : i.show();
|
|
1823
|
-
}
|
|
1824
|
-
function de(s) {
|
|
1825
|
-
if (i.clearDelayTimeouts(), I("onUntrigger", [i, s]), !i.state.isVisible) {
|
|
1826
|
-
ne();
|
|
1827
|
-
return;
|
|
1828
|
-
}
|
|
1829
|
-
if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
|
|
1830
|
-
var v = N(!1);
|
|
1831
|
-
v ? a = setTimeout(function() {
|
|
1832
|
-
i.state.isVisible && i.hide();
|
|
1833
|
-
}, v) : o = requestAnimationFrame(function() {
|
|
1834
|
-
i.hide();
|
|
1835
|
-
});
|
|
1836
|
-
}
|
|
1837
|
-
}
|
|
1838
|
-
function Me() {
|
|
1839
|
-
i.state.isEnabled = !0;
|
|
1840
|
-
}
|
|
1841
|
-
function ze() {
|
|
1842
|
-
i.hide(), i.state.isEnabled = !1;
|
|
1843
|
-
}
|
|
1844
|
-
function Ge() {
|
|
1845
|
-
clearTimeout(n), clearTimeout(a), cancelAnimationFrame(o);
|
|
1846
|
-
}
|
|
1847
|
-
function Ye(s) {
|
|
1848
|
-
if (!i.state.isDestroyed) {
|
|
1849
|
-
I("onBeforeUpdate", [i, s]), Ve();
|
|
1850
|
-
var v = i.props, y = $t(t, Object.assign({}, v, Nt(s), {
|
|
1851
|
-
ignoreAttributes: !0
|
|
1852
|
-
}));
|
|
1853
|
-
i.props = y, we(), v.interactiveDebounce !== y.interactiveDebounce && (pe(), D = kt(He, y.interactiveDebounce)), v.triggerTarget && !y.triggerTarget ? me(v.triggerTarget).forEach(function(T) {
|
|
1854
|
-
T.removeAttribute("aria-expanded");
|
|
1855
|
-
}) : y.triggerTarget && t.removeAttribute("aria-expanded"), Z(), _(), E && E(v, y), i.popperInstance && (We(), ue().forEach(function(T) {
|
|
1856
|
-
requestAnimationFrame(T._tippy.popperInstance.forceUpdate);
|
|
1857
|
-
})), I("onAfterUpdate", [i, s]);
|
|
1858
|
-
}
|
|
1859
|
-
}
|
|
1860
|
-
function qe(s) {
|
|
1861
|
-
i.setProps({
|
|
1862
|
-
content: s
|
|
1863
|
-
});
|
|
1864
|
-
}
|
|
1865
|
-
function lr() {
|
|
1866
|
-
var s = i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, T = Q.isTouch && !i.props.touch, A = st(i.props.duration, 0, U.duration);
|
|
1867
|
-
if (!(s || v || y || T) && !P().hasAttribute("disabled") && (I("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1868
|
-
if (i.state.isVisible = !0, L() && (m.style.visibility = "visible"), _(), q(), i.state.isMounted || (m.style.transition = "none"), L()) {
|
|
1869
|
-
var F = H(), W = F.box, xe = F.content;
|
|
1870
|
-
ut([W, xe], 0);
|
|
1871
|
-
}
|
|
1872
|
-
x = function() {
|
|
1873
|
-
var ve;
|
|
1874
|
-
if (!(!i.state.isVisible || f)) {
|
|
1875
|
-
if (f = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, L() && i.props.animation) {
|
|
1876
|
-
var at = H(), Xe = at.box, De = at.content;
|
|
1877
|
-
ut([Xe, De], A), _t([Xe, De], "visible");
|
|
1878
|
-
}
|
|
1879
|
-
X(), Z(), It(ct, i), (ve = i.popperInstance) == null || ve.forceUpdate(), I("onMount", [i]), i.props.animation && L() && ie(A, function() {
|
|
1880
|
-
i.state.isShown = !0, I("onShown", [i]);
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
}, ae();
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
function cr() {
|
|
1887
|
-
var s = !i.state.isVisible, v = i.state.isDestroyed, y = !i.state.isEnabled, T = st(i.props.duration, 1, U.duration);
|
|
1888
|
-
if (!(s || v || y) && (I("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
1889
|
-
if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, l = !1, L() && (m.style.visibility = "hidden"), pe(), ne(), _(!0), L()) {
|
|
1890
|
-
var A = H(), F = A.box, W = A.content;
|
|
1891
|
-
i.props.animation && (ut([F, W], T), _t([F, W], "hidden"));
|
|
1892
|
-
}
|
|
1893
|
-
X(), Z(), i.props.animation ? L() && ye(T, i.unmount) : i.unmount();
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
function pr(s) {
|
|
1897
|
-
V().addEventListener("mousemove", D), It(Qe, D), D(s);
|
|
1898
|
-
}
|
|
1899
|
-
function fr() {
|
|
1900
|
-
i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ue().forEach(function(s) {
|
|
1901
|
-
s._tippy.unmount();
|
|
1902
|
-
}), m.parentNode && m.parentNode.removeChild(m), ct = ct.filter(function(s) {
|
|
1903
|
-
return s !== i;
|
|
1904
|
-
}), i.state.isMounted = !1, I("onHidden", [i]));
|
|
1905
|
-
}
|
|
1906
|
-
function dr() {
|
|
1907
|
-
i.state.isDestroyed || (i.clearDelayTimeouts(), i.unmount(), Ve(), delete t._tippy, i.state.isDestroyed = !0, I("onDestroy", [i]));
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
function Te(t, e) {
|
|
1911
|
-
e === void 0 && (e = {});
|
|
1912
|
-
var r = U.plugins.concat(e.plugins || []);
|
|
1913
|
-
Qn();
|
|
1914
|
-
var n = Object.assign({}, e, {
|
|
1915
|
-
plugins: r
|
|
1916
|
-
}), a = Yn(t), o = a.reduce(function(l, c) {
|
|
1917
|
-
var u = c && li(c, n);
|
|
1918
|
-
return u && l.push(u), l;
|
|
1919
|
-
}, []);
|
|
1920
|
-
return it(t) ? o[0] : o;
|
|
1921
|
-
}
|
|
1922
|
-
Te.defaultProps = U;
|
|
1923
|
-
Te.setDefaultProps = ai;
|
|
1924
|
-
Te.currentInput = Q;
|
|
1925
|
-
Object.assign({}, Gt, {
|
|
1926
|
-
effect: function(e) {
|
|
1927
|
-
var r = e.state, n = {
|
|
1928
|
-
popper: {
|
|
1929
|
-
position: r.options.strategy,
|
|
1930
|
-
left: "0",
|
|
1931
|
-
top: "0",
|
|
1932
|
-
margin: "0"
|
|
1933
|
-
},
|
|
1934
|
-
arrow: {
|
|
1935
|
-
position: "absolute"
|
|
1936
|
-
},
|
|
1937
|
-
reference: {}
|
|
1938
|
-
};
|
|
1939
|
-
Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
|
|
1940
|
-
}
|
|
1941
|
-
});
|
|
1942
|
-
var ci = {
|
|
1943
|
-
mouseover: "mouseenter",
|
|
1944
|
-
focusin: "focus",
|
|
1945
|
-
click: "click"
|
|
1946
|
-
};
|
|
1947
|
-
function hi(t, e) {
|
|
1948
|
-
var r = [], n = [], a = !1, o = e.target, l = Vn(e, ["target"]), c = Object.assign({}, l, {
|
|
1949
|
-
trigger: "manual",
|
|
1950
|
-
touch: !1
|
|
1951
|
-
}), u = Object.assign({
|
|
1952
|
-
touch: U.touch
|
|
1953
|
-
}, l, {
|
|
1954
|
-
showOnCreate: !0
|
|
1955
|
-
}), f = Te(t, c), p = me(f);
|
|
1956
|
-
function b(d) {
|
|
1957
|
-
if (!(!d.target || a)) {
|
|
1958
|
-
var g = d.target.closest(o);
|
|
1959
|
-
if (g) {
|
|
1960
|
-
var C = g.getAttribute("data-tippy-trigger") || e.trigger || U.trigger;
|
|
1961
|
-
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && C.indexOf(ci[d.type]) < 0)) {
|
|
1962
|
-
var O = Te(g, u);
|
|
1963
|
-
O && (n = n.concat(O));
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
function x(d, g, C, O) {
|
|
1969
|
-
O === void 0 && (O = !1), d.addEventListener(g, C, O), r.push({
|
|
1970
|
-
node: d,
|
|
1971
|
-
eventType: g,
|
|
1972
|
-
handler: C,
|
|
1973
|
-
options: O
|
|
1974
|
-
});
|
|
1975
|
-
}
|
|
1976
|
-
function h(d) {
|
|
1977
|
-
var g = d.reference;
|
|
1978
|
-
x(g, "touchstart", b, le), x(g, "mouseover", b), x(g, "focusin", b), x(g, "click", b);
|
|
1979
|
-
}
|
|
1980
|
-
function D() {
|
|
1981
|
-
r.forEach(function(d) {
|
|
1982
|
-
var g = d.node, C = d.eventType, O = d.handler, i = d.options;
|
|
1983
|
-
g.removeEventListener(C, O, i);
|
|
1984
|
-
}), r = [];
|
|
1985
|
-
}
|
|
1986
|
-
function w(d) {
|
|
1987
|
-
var g = d.destroy, C = d.enable, O = d.disable;
|
|
1988
|
-
d.destroy = function(i) {
|
|
1989
|
-
i === void 0 && (i = !0), i && n.forEach(function(S) {
|
|
1990
|
-
S.destroy();
|
|
1991
|
-
}), n = [], D(), g();
|
|
1992
|
-
}, d.enable = function() {
|
|
1993
|
-
C(), n.forEach(function(i) {
|
|
1994
|
-
return i.enable();
|
|
1995
|
-
}), a = !1;
|
|
1996
|
-
}, d.disable = function() {
|
|
1997
|
-
O(), n.forEach(function(i) {
|
|
1998
|
-
return i.disable();
|
|
1999
|
-
}), a = !0;
|
|
2000
|
-
}, h(d);
|
|
2001
|
-
}
|
|
2002
|
-
return p.forEach(w), f;
|
|
2003
|
-
}
|
|
2004
|
-
var gi = {
|
|
2005
|
-
name: "sticky",
|
|
2006
|
-
defaultValue: !1,
|
|
2007
|
-
fn: function(e) {
|
|
2008
|
-
var r = e.reference, n = e.popper;
|
|
2009
|
-
function a() {
|
|
2010
|
-
return e.popperInstance ? e.popperInstance.state.elements.reference : r;
|
|
2011
|
-
}
|
|
2012
|
-
function o(f) {
|
|
2013
|
-
return e.props.sticky === !0 || e.props.sticky === f;
|
|
2014
|
-
}
|
|
2015
|
-
var l = null, c = null;
|
|
2016
|
-
function u() {
|
|
2017
|
-
var f = o("reference") ? a().getBoundingClientRect() : null, p = o("popper") ? n.getBoundingClientRect() : null;
|
|
2018
|
-
(f && Ut(l, f) || p && Ut(c, p)) && e.popperInstance && e.popperInstance.update(), l = f, c = p, e.state.isMounted && requestAnimationFrame(u);
|
|
2019
|
-
}
|
|
2020
|
-
return {
|
|
2021
|
-
onMount: function() {
|
|
2022
|
-
e.props.sticky && u();
|
|
2023
|
-
}
|
|
2024
|
-
};
|
|
2025
|
-
}
|
|
2026
|
-
};
|
|
2027
|
-
function Ut(t, e) {
|
|
2028
|
-
return t && e ? t.top !== e.top || t.right !== e.right || t.bottom !== e.bottom || t.left !== e.left : !0;
|
|
2029
|
-
}
|
|
2030
|
-
Te.setDefaultProps({
|
|
2031
|
-
render: ur
|
|
2032
|
-
});
|
|
2033
|
-
export {
|
|
2034
|
-
Ar as C,
|
|
2035
|
-
Lr as F,
|
|
2036
|
-
hi as d,
|
|
2037
|
-
gi as s,
|
|
2038
|
-
Te as t
|
|
2039
|
-
};
|