fansunited-frontend-components 0.0.92 → 0.0.94
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/Betslip.js +1 -1
- package/ChanceGame.js +139 -146
- package/ClassicQuizPlay.js +1 -1
- package/CollectLead.js +14 -20
- package/CompetitionStatistics.js +27 -27
- package/CompetitorCard.js +895 -891
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +1 -1
- package/EventCard.js +1494 -1571
- package/EventGamePlay.js +1 -1
- package/Leaderboard.js +249 -257
- package/List.js +319 -436
- package/MatchQuizPlay.js +1 -1
- package/Odds.js +30 -30
- package/PersonalityQuizPlay.js +1 -1
- package/PickThePair.js +627 -693
- package/PlayerOfTheMatch.js +256 -279
- package/PollVote.js +1 -1
- package/Predictor.js +19443 -2
- package/README.md +2 -1
- package/Standings.js +94 -99
- package/TopX.js +5871 -6988
- package/chunks/ChanceGameEmbedVariant-C3NGwvTF.js +21 -0
- package/chunks/OddsSkeleton-Bav8FHHN.js +26 -0
- package/chunks/{OddsStrip-B159Nivm.js → OddsStrip-CviVfQI4.js} +51 -53
- package/chunks/{PickOneOfX-D9qlxKTD.js → PickOneOfX-a6Dv0-rR.js} +210 -212
- package/chunks/index-B1d9q8fX.js +4 -0
- package/chunks/index-BP0pvFJ4.js +4 -0
- package/chunks/index-CHZyL_g_.js +4 -0
- package/chunks/index-CeCUdRmF.js +4 -0
- package/chunks/index-Ckyyw-I8.js +4 -0
- package/chunks/index-DGvCP5G8.js +4 -0
- package/chunks/index-yjMVOgwO.js +4 -0
- package/chunks/{main-CcPVuc5G.js → main-CFwRpvUi.js} +219 -238
- package/chunks/{main-By2Fg4Us.js → main-D9tFZv2q.js} +272 -309
- package/chunks/{main-Db4YC1C9.js → main-Dj4Manb5.js} +386 -407
- package/chunks/{main-BhONg691.js → main-DjiQz1dv.js} +764 -1125
- package/chunks/{main-BoLNJccN.js → main-Dys2_Jt2.js} +1625 -1954
- package/chunks/{main-JAewg2VD.js → main-dwV_55lz.js} +409 -432
- package/chunks/main-eAQMCxQ7.js +1949 -0
- package/chunks/{main-CWfREbUv.js → main-gexg6lc-.js} +959 -977
- package/index.js +40 -44
- package/package.json +13 -5
- package/chunks/AccessTime-B7Q_InTi.js +0 -10
- package/chunks/AlertMessage-CTbc9daZ.js +0 -318
- package/chunks/Avatar-Ve0m4ut_.js +0 -353
- package/chunks/Button-x1sQVMH2.js +0 -665
- package/chunks/Card-DfxnA3Cz.js +0 -196
- package/chunks/CardActions-TMBAbk8a.js +0 -140
- package/chunks/CardContent-CLQHztIU.js +0 -106
- package/chunks/ChanceGameEmbedVariant-C3TKbPI4.js +0 -913
- package/chunks/CheckCircle-DW1VzjQO.js +0 -8
- package/chunks/Chip-BUoNpinI.js +0 -365
- package/chunks/CircularProgress-D88LgW2V.js +0 -317
- package/chunks/Close-BxLZcPtb.js +0 -9
- package/chunks/Close-DVx6f5-e.js +0 -8
- package/chunks/CollectLeadForm-DtUFKk99.js +0 -3419
- package/chunks/ConsentsList-BcIMKviP.js +0 -339
- package/chunks/DirectionScope-CK0duYt8.js +0 -36
- package/chunks/Divider-D_ALv2uC.js +0 -166
- package/chunks/Edit-CiKqhDom.js +0 -99
- package/chunks/EmojiEvents-BYoxruEl.js +0 -8
- package/chunks/FavoriteBorder-YhT6RHv5.js +0 -11
- package/chunks/FormControl-BNG04EhC.js +0 -656
- package/chunks/FormControlContext-Ct0huDDM.js +0 -6
- package/chunks/FormLabel-Bl7hTa8O.js +0 -130
- package/chunks/GlobalStyles-PokSS9bO.js +0 -12
- package/chunks/InlineSpinner-BhKW6lxZ.js +0 -28
- package/chunks/Input-B7kPqO0b.js +0 -391
- package/chunks/KeyboardArrowDown-OGGGLEnE.js +0 -8
- package/chunks/KeyboardArrowRight-DN7qrp17.js +0 -11
- package/chunks/KeyboardArrowUp-jvN5m_A0.js +0 -8
- package/chunks/Link-brb09X-6.js +0 -319
- package/chunks/ListItemButton-BFG5QJbo.js +0 -1151
- package/chunks/ModalClose-D3i-AyMB.js +0 -153
- package/chunks/ModalDialog-Be6w76fh.js +0 -880
- package/chunks/NotFoundSkeleton-BHRVG8yg.js +0 -83
- package/chunks/Notification-CC66HKXb.js +0 -614
- package/chunks/OddsSkeleton-BBOVhfsn.js +0 -137
- package/chunks/OverlayScoreStateSkeleton-D5rnBJ_w.js +0 -154
- package/chunks/OverlayScoreStateWrapperSkeleton-CTXzD0bm.js +0 -81
- package/chunks/OverlaySignInSkeleton-T8A_9Tco.js +0 -518
- package/chunks/OverlaySkeleton-y02LRXZy.js +0 -1193
- package/chunks/Person-BD-IO4aX.js +0 -8
- package/chunks/PersonOutline-Nxl_9g9S.js +0 -8
- package/chunks/Popper-CGfJHTbM.js +0 -1263
- package/chunks/Portal-DQQSLiON.js +0 -74
- package/chunks/Portal-X8O64KaQ.js +0 -66
- package/chunks/Predictor-BJBBwZ6R.js +0 -19513
- package/chunks/PrizeCard-B2tBhY45.js +0 -36400
- package/chunks/Search-jaDXe8g7.js +0 -14
- package/chunks/Select-CzBMHr7z.js +0 -1165
- package/chunks/Sheet-x-YGYOYz.js +0 -132
- package/chunks/SignInCta-3NFxIOuf.js +0 -79
- package/chunks/Spinner-_5U881sC.js +0 -39
- package/chunks/SportsSoccer-DLUgspA-.js +0 -20
- package/chunks/Stack-CDpKA1D-.js +0 -169
- package/chunks/StandardContentSkeleton-DaZftDxZ.js +0 -57
- package/chunks/Table-IJ9-D2DF.js +0 -394
- package/chunks/Tabs-iyOvjGfd.js +0 -1084
- package/chunks/Textarea-Dv_Z4l5j.js +0 -475
- package/chunks/TimerOutlined-jNsK__Zz.js +0 -8
- package/chunks/Tooltip-clSjN1oC.js +0 -535
- package/chunks/Typography-BsucZNXl.js +0 -775
- package/chunks/areArraysEqual-B3mXtHvh.js +0 -6
- package/chunks/colorInversionUtils-AoR_6ghW.js +0 -347
- package/chunks/createSvgIcon-BWoHeNkc.js +0 -2813
- package/chunks/createSvgIcon-DBkOhFdn.js +0 -206
- package/chunks/dividerClasses-BkQMLbsL.js +0 -9
- package/chunks/elementAcceptingRef-DjUfkpLB.js +0 -25
- package/chunks/enums-B1lTCQvC.js +0 -15
- package/chunks/formLabelClasses-N0g8NZ67.js +0 -9
- package/chunks/getReactElementRef-B3MFPBbS.js +0 -21
- package/chunks/helpers-CKFwVhwj.js +0 -558
- package/chunks/index-Bg5jypgn.js +0 -11
- package/chunks/index-Bnad45hB.js +0 -4
- package/chunks/index-C6rtfeRX.js +0 -4
- package/chunks/index-CFc0WTOi.js +0 -848
- package/chunks/index-C_kf8WZI.js +0 -4
- package/chunks/index-CaVpDbdC.js +0 -4
- package/chunks/index-DJJVbXn_.js +0 -4
- package/chunks/index-DQO7VDRC.js +0 -4
- package/chunks/index-Kgehqf8J.js +0 -4
- package/chunks/main-W_W6YBtr.js +0 -3280
- package/chunks/ownerWindow-PI509BpA.js +0 -7
- package/chunks/searchEntities-SJcoznz0.js +0 -38
- package/chunks/sportsEvents-CGX-WkNB.js +0 -27
- package/chunks/useButton-C9taTgFS.js +0 -106
- package/chunks/useConsents-BLhgfEDf.js +0 -1168
- package/chunks/useControlled-BYdyS7Pn.js +0 -31
- package/chunks/useEmbedCode-DCWnWGak.js +0 -31
- package/chunks/useEventCallback-C9W0M_8l.js +0 -14
- package/chunks/useForwardedInput-CkAnayh_.js +0 -180
- package/chunks/useImageVariant-B62O7iLC.js +0 -15
- package/chunks/useInfoPage-BHdgKdme.js +0 -50
- package/chunks/useParticipationDraft-Brnd_p3w.js +0 -307
- package/chunks/useSwitch-DLSSqtcZ.js +0 -66
- package/chunks/variantColorInheritance-DZr7CNx6.js +0 -30
- package/chunks/visuallyHidden-B8J7BVSJ.js +0 -14
|
@@ -1,558 +0,0 @@
|
|
|
1
|
-
import { i as g } from "./PrizeCard-B2tBhY45.js";
|
|
2
|
-
const t = [
|
|
3
|
-
{ code: "AD", label: "Andorra", phone: "376" },
|
|
4
|
-
{
|
|
5
|
-
code: "AE",
|
|
6
|
-
label: "United Arab Emirates",
|
|
7
|
-
phone: "971"
|
|
8
|
-
},
|
|
9
|
-
{ code: "AF", label: "Afghanistan", phone: "93" },
|
|
10
|
-
{
|
|
11
|
-
code: "AG",
|
|
12
|
-
label: "Antigua and Barbuda",
|
|
13
|
-
phone: "1-268"
|
|
14
|
-
},
|
|
15
|
-
{ code: "AI", label: "Anguilla", phone: "1-264" },
|
|
16
|
-
{ code: "AL", label: "Albania", phone: "355" },
|
|
17
|
-
{ code: "AM", label: "Armenia", phone: "374" },
|
|
18
|
-
{ code: "AO", label: "Angola", phone: "244" },
|
|
19
|
-
{ code: "AQ", label: "Antarctica", phone: "672" },
|
|
20
|
-
{ code: "AR", label: "Argentina", phone: "54" },
|
|
21
|
-
{ code: "AS", label: "American Samoa", phone: "1-684" },
|
|
22
|
-
{ code: "AT", label: "Austria", phone: "43" },
|
|
23
|
-
{
|
|
24
|
-
code: "AU",
|
|
25
|
-
label: "Australia",
|
|
26
|
-
phone: "61",
|
|
27
|
-
suggested: !0
|
|
28
|
-
},
|
|
29
|
-
{ code: "AW", label: "Aruba", phone: "297" },
|
|
30
|
-
{ code: "AX", label: "Alland Islands", phone: "358" },
|
|
31
|
-
{ code: "AZ", label: "Azerbaijan", phone: "994" },
|
|
32
|
-
{
|
|
33
|
-
code: "BA",
|
|
34
|
-
label: "Bosnia and Herzegovina",
|
|
35
|
-
phone: "387"
|
|
36
|
-
},
|
|
37
|
-
{ code: "BB", label: "Barbados", phone: "1-246" },
|
|
38
|
-
{ code: "BD", label: "Bangladesh", phone: "880" },
|
|
39
|
-
{ code: "BE", label: "Belgium", phone: "32" },
|
|
40
|
-
{ code: "BF", label: "Burkina Faso", phone: "226" },
|
|
41
|
-
{ code: "BG", label: "Bulgaria", phone: "359" },
|
|
42
|
-
{ code: "BH", label: "Bahrain", phone: "973" },
|
|
43
|
-
{ code: "BI", label: "Burundi", phone: "257" },
|
|
44
|
-
{ code: "BJ", label: "Benin", phone: "229" },
|
|
45
|
-
{ code: "BL", label: "Saint Barthelemy", phone: "590" },
|
|
46
|
-
{ code: "BM", label: "Bermuda", phone: "1-441" },
|
|
47
|
-
{ code: "BN", label: "Brunei Darussalam", phone: "673" },
|
|
48
|
-
{ code: "BO", label: "Bolivia", phone: "591" },
|
|
49
|
-
{ code: "BR", label: "Brazil", phone: "55" },
|
|
50
|
-
{ code: "BS", label: "Bahamas", phone: "1-242" },
|
|
51
|
-
{ code: "BT", label: "Bhutan", phone: "975" },
|
|
52
|
-
{ code: "BV", label: "Bouvet Island", phone: "47" },
|
|
53
|
-
{ code: "BW", label: "Botswana", phone: "267" },
|
|
54
|
-
{ code: "BY", label: "Belarus", phone: "375" },
|
|
55
|
-
{ code: "BZ", label: "Belize", phone: "501" },
|
|
56
|
-
{
|
|
57
|
-
code: "CA",
|
|
58
|
-
label: "Canada",
|
|
59
|
-
phone: "1",
|
|
60
|
-
suggested: !0
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
code: "CC",
|
|
64
|
-
label: "Cocos (Keeling) Islands",
|
|
65
|
-
phone: "61"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
code: "CD",
|
|
69
|
-
label: "Congo, Democratic Republic of the",
|
|
70
|
-
phone: "243"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
code: "CF",
|
|
74
|
-
label: "Central African Republic",
|
|
75
|
-
phone: "236"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
code: "CG",
|
|
79
|
-
label: "Congo, Republic of the",
|
|
80
|
-
phone: "242"
|
|
81
|
-
},
|
|
82
|
-
{ code: "CH", label: "Switzerland", phone: "41" },
|
|
83
|
-
{ code: "CI", label: "Cote d'Ivoire", phone: "225" },
|
|
84
|
-
{ code: "CK", label: "Cook Islands", phone: "682" },
|
|
85
|
-
{ code: "CL", label: "Chile", phone: "56" },
|
|
86
|
-
{ code: "CM", label: "Cameroon", phone: "237" },
|
|
87
|
-
{ code: "CN", label: "China", phone: "86" },
|
|
88
|
-
{ code: "CO", label: "Colombia", phone: "57" },
|
|
89
|
-
{ code: "CR", label: "Costa Rica", phone: "506" },
|
|
90
|
-
{ code: "CU", label: "Cuba", phone: "53" },
|
|
91
|
-
{ code: "CV", label: "Cape Verde", phone: "238" },
|
|
92
|
-
{ code: "CW", label: "Curacao", phone: "599" },
|
|
93
|
-
{ code: "CX", label: "Christmas Island", phone: "61" },
|
|
94
|
-
{ code: "CY", label: "Cyprus", phone: "357" },
|
|
95
|
-
{ code: "CZ", label: "Czech Republic", phone: "420" },
|
|
96
|
-
{
|
|
97
|
-
code: "DE",
|
|
98
|
-
label: "Germany",
|
|
99
|
-
phone: "49",
|
|
100
|
-
suggested: !0
|
|
101
|
-
},
|
|
102
|
-
{ code: "DJ", label: "Djibouti", phone: "253" },
|
|
103
|
-
{ code: "DK", label: "Denmark", phone: "45" },
|
|
104
|
-
{ code: "DM", label: "Dominica", phone: "1-767" },
|
|
105
|
-
{
|
|
106
|
-
code: "DO",
|
|
107
|
-
label: "Dominican Republic",
|
|
108
|
-
phone: "1-809"
|
|
109
|
-
},
|
|
110
|
-
{ code: "DZ", label: "Algeria", phone: "213" },
|
|
111
|
-
{ code: "EC", label: "Ecuador", phone: "593" },
|
|
112
|
-
{ code: "EE", label: "Estonia", phone: "372" },
|
|
113
|
-
{ code: "EG", label: "Egypt", phone: "20" },
|
|
114
|
-
{ code: "EH", label: "Western Sahara", phone: "212" },
|
|
115
|
-
{ code: "ER", label: "Eritrea", phone: "291" },
|
|
116
|
-
{ code: "ES", label: "Spain", phone: "34" },
|
|
117
|
-
{ code: "ET", label: "Ethiopia", phone: "251" },
|
|
118
|
-
{ code: "FI", label: "Finland", phone: "358" },
|
|
119
|
-
{ code: "FJ", label: "Fiji", phone: "679" },
|
|
120
|
-
{
|
|
121
|
-
code: "FK",
|
|
122
|
-
label: "Falkland Islands (Malvinas)",
|
|
123
|
-
phone: "500"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
code: "FM",
|
|
127
|
-
label: "Micronesia, Federated States of",
|
|
128
|
-
phone: "691"
|
|
129
|
-
},
|
|
130
|
-
{ code: "FO", label: "Faroe Islands", phone: "298" },
|
|
131
|
-
{
|
|
132
|
-
code: "FR",
|
|
133
|
-
label: "France",
|
|
134
|
-
phone: "33",
|
|
135
|
-
suggested: !0
|
|
136
|
-
},
|
|
137
|
-
{ code: "GA", label: "Gabon", phone: "241" },
|
|
138
|
-
{ code: "GB", label: "United Kingdom", phone: "44" },
|
|
139
|
-
{ code: "GD", label: "Grenada", phone: "1-473" },
|
|
140
|
-
{ code: "GE", label: "Georgia", phone: "995" },
|
|
141
|
-
{ code: "GF", label: "French Guiana", phone: "594" },
|
|
142
|
-
{ code: "GG", label: "Guernsey", phone: "44" },
|
|
143
|
-
{ code: "GH", label: "Ghana", phone: "233" },
|
|
144
|
-
{ code: "GI", label: "Gibraltar", phone: "350" },
|
|
145
|
-
{ code: "GL", label: "Greenland", phone: "299" },
|
|
146
|
-
{ code: "GM", label: "Gambia", phone: "220" },
|
|
147
|
-
{ code: "GN", label: "Guinea", phone: "224" },
|
|
148
|
-
{ code: "GP", label: "Guadeloupe", phone: "590" },
|
|
149
|
-
{ code: "GQ", label: "Equatorial Guinea", phone: "240" },
|
|
150
|
-
{ code: "GR", label: "Greece", phone: "30" },
|
|
151
|
-
{
|
|
152
|
-
code: "GS",
|
|
153
|
-
label: "South Georgia and the South Sandwich Islands",
|
|
154
|
-
phone: "500"
|
|
155
|
-
},
|
|
156
|
-
{ code: "GT", label: "Guatemala", phone: "502" },
|
|
157
|
-
{ code: "GU", label: "Guam", phone: "1-671" },
|
|
158
|
-
{ code: "GW", label: "Guinea-Bissau", phone: "245" },
|
|
159
|
-
{ code: "GY", label: "Guyana", phone: "592" },
|
|
160
|
-
{ code: "HK", label: "Hong Kong", phone: "852" },
|
|
161
|
-
{
|
|
162
|
-
code: "HM",
|
|
163
|
-
label: "Heard Island and McDonald Islands",
|
|
164
|
-
phone: "672"
|
|
165
|
-
},
|
|
166
|
-
{ code: "HN", label: "Honduras", phone: "504" },
|
|
167
|
-
{ code: "HR", label: "Croatia", phone: "385" },
|
|
168
|
-
{ code: "HT", label: "Haiti", phone: "509" },
|
|
169
|
-
{ code: "HU", label: "Hungary", phone: "36" },
|
|
170
|
-
{ code: "ID", label: "Indonesia", phone: "62" },
|
|
171
|
-
{ code: "IE", label: "Ireland", phone: "353" },
|
|
172
|
-
{ code: "IL", label: "Israel", phone: "972" },
|
|
173
|
-
{ code: "IM", label: "Isle of Man", phone: "44" },
|
|
174
|
-
{ code: "IN", label: "India", phone: "91" },
|
|
175
|
-
{
|
|
176
|
-
code: "IO",
|
|
177
|
-
label: "British Indian Ocean Territory",
|
|
178
|
-
phone: "246"
|
|
179
|
-
},
|
|
180
|
-
{ code: "IQ", label: "Iraq", phone: "964" },
|
|
181
|
-
{
|
|
182
|
-
code: "IR",
|
|
183
|
-
label: "Iran, Islamic Republic of",
|
|
184
|
-
phone: "98"
|
|
185
|
-
},
|
|
186
|
-
{ code: "IS", label: "Iceland", phone: "354" },
|
|
187
|
-
{ code: "IT", label: "Italy", phone: "39" },
|
|
188
|
-
{ code: "JE", label: "Jersey", phone: "44" },
|
|
189
|
-
{ code: "JM", label: "Jamaica", phone: "1-876" },
|
|
190
|
-
{ code: "JO", label: "Jordan", phone: "962" },
|
|
191
|
-
{
|
|
192
|
-
code: "JP",
|
|
193
|
-
label: "Japan",
|
|
194
|
-
phone: "81",
|
|
195
|
-
suggested: !0
|
|
196
|
-
},
|
|
197
|
-
{ code: "KE", label: "Kenya", phone: "254" },
|
|
198
|
-
{ code: "KG", label: "Kyrgyzstan", phone: "996" },
|
|
199
|
-
{ code: "KH", label: "Cambodia", phone: "855" },
|
|
200
|
-
{ code: "KI", label: "Kiribati", phone: "686" },
|
|
201
|
-
{ code: "KM", label: "Comoros", phone: "269" },
|
|
202
|
-
{
|
|
203
|
-
code: "KN",
|
|
204
|
-
label: "Saint Kitts and Nevis",
|
|
205
|
-
phone: "1-869"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
code: "KP",
|
|
209
|
-
label: "Korea, Democratic People's Republic of",
|
|
210
|
-
phone: "850"
|
|
211
|
-
},
|
|
212
|
-
{ code: "KR", label: "Korea, Republic of", phone: "82" },
|
|
213
|
-
{ code: "KW", label: "Kuwait", phone: "965" },
|
|
214
|
-
{ code: "KY", label: "Cayman Islands", phone: "1-345" },
|
|
215
|
-
{ code: "KZ", label: "Kazakhstan", phone: "7" },
|
|
216
|
-
{
|
|
217
|
-
code: "LA",
|
|
218
|
-
label: "Lao People's Democratic Republic",
|
|
219
|
-
phone: "856"
|
|
220
|
-
},
|
|
221
|
-
{ code: "LB", label: "Lebanon", phone: "961" },
|
|
222
|
-
{ code: "LC", label: "Saint Lucia", phone: "1-758" },
|
|
223
|
-
{ code: "LI", label: "Liechtenstein", phone: "423" },
|
|
224
|
-
{ code: "LK", label: "Sri Lanka", phone: "94" },
|
|
225
|
-
{ code: "LR", label: "Liberia", phone: "231" },
|
|
226
|
-
{ code: "LS", label: "Lesotho", phone: "266" },
|
|
227
|
-
{ code: "LT", label: "Lithuania", phone: "370" },
|
|
228
|
-
{ code: "LU", label: "Luxembourg", phone: "352" },
|
|
229
|
-
{ code: "LV", label: "Latvia", phone: "371" },
|
|
230
|
-
{ code: "LY", label: "Libya", phone: "218" },
|
|
231
|
-
{ code: "MA", label: "Morocco", phone: "212" },
|
|
232
|
-
{ code: "MC", label: "Monaco", phone: "377" },
|
|
233
|
-
{
|
|
234
|
-
code: "MD",
|
|
235
|
-
label: "Moldova, Republic of",
|
|
236
|
-
phone: "373"
|
|
237
|
-
},
|
|
238
|
-
{ code: "ME", label: "Montenegro", phone: "382" },
|
|
239
|
-
{
|
|
240
|
-
code: "MF",
|
|
241
|
-
label: "Saint Martin (French part)",
|
|
242
|
-
phone: "590"
|
|
243
|
-
},
|
|
244
|
-
{ code: "MG", label: "Madagascar", phone: "261" },
|
|
245
|
-
{ code: "MH", label: "Marshall Islands", phone: "692" },
|
|
246
|
-
{
|
|
247
|
-
code: "MK",
|
|
248
|
-
label: "Macedonia, the Former Yugoslav Republic of",
|
|
249
|
-
phone: "389"
|
|
250
|
-
},
|
|
251
|
-
{ code: "ML", label: "Mali", phone: "223" },
|
|
252
|
-
{ code: "MM", label: "Myanmar", phone: "95" },
|
|
253
|
-
{ code: "MN", label: "Mongolia", phone: "976" },
|
|
254
|
-
{ code: "MO", label: "Macao", phone: "853" },
|
|
255
|
-
{
|
|
256
|
-
code: "MP",
|
|
257
|
-
label: "Northern Mariana Islands",
|
|
258
|
-
phone: "1-670"
|
|
259
|
-
},
|
|
260
|
-
{ code: "MQ", label: "Martinique", phone: "596" },
|
|
261
|
-
{ code: "MR", label: "Mauritania", phone: "222" },
|
|
262
|
-
{ code: "MS", label: "Montserrat", phone: "1-664" },
|
|
263
|
-
{ code: "MT", label: "Malta", phone: "356" },
|
|
264
|
-
{ code: "MU", label: "Mauritius", phone: "230" },
|
|
265
|
-
{ code: "MV", label: "Maldives", phone: "960" },
|
|
266
|
-
{ code: "MW", label: "Malawi", phone: "265" },
|
|
267
|
-
{ code: "MX", label: "Mexico", phone: "52" },
|
|
268
|
-
{ code: "MY", label: "Malaysia", phone: "60" },
|
|
269
|
-
{ code: "MZ", label: "Mozambique", phone: "258" },
|
|
270
|
-
{ code: "NA", label: "Namibia", phone: "264" },
|
|
271
|
-
{ code: "NC", label: "New Caledonia", phone: "687" },
|
|
272
|
-
{ code: "NE", label: "Niger", phone: "227" },
|
|
273
|
-
{ code: "NF", label: "Norfolk Island", phone: "672" },
|
|
274
|
-
{ code: "NG", label: "Nigeria", phone: "234" },
|
|
275
|
-
{ code: "NI", label: "Nicaragua", phone: "505" },
|
|
276
|
-
{ code: "NL", label: "Netherlands", phone: "31" },
|
|
277
|
-
{ code: "NO", label: "Norway", phone: "47" },
|
|
278
|
-
{ code: "NP", label: "Nepal", phone: "977" },
|
|
279
|
-
{ code: "NR", label: "Nauru", phone: "674" },
|
|
280
|
-
{ code: "NU", label: "Niue", phone: "683" },
|
|
281
|
-
{ code: "NZ", label: "New Zealand", phone: "64" },
|
|
282
|
-
{ code: "OM", label: "Oman", phone: "968" },
|
|
283
|
-
{ code: "PA", label: "Panama", phone: "507" },
|
|
284
|
-
{ code: "PE", label: "Peru", phone: "51" },
|
|
285
|
-
{ code: "PF", label: "French Polynesia", phone: "689" },
|
|
286
|
-
{ code: "PG", label: "Papua New Guinea", phone: "675" },
|
|
287
|
-
{ code: "PH", label: "Philippines", phone: "63" },
|
|
288
|
-
{ code: "PK", label: "Pakistan", phone: "92" },
|
|
289
|
-
{ code: "PL", label: "Poland", phone: "48" },
|
|
290
|
-
{
|
|
291
|
-
code: "PM",
|
|
292
|
-
label: "Saint Pierre and Miquelon",
|
|
293
|
-
phone: "508"
|
|
294
|
-
},
|
|
295
|
-
{ code: "PN", label: "Pitcairn", phone: "870" },
|
|
296
|
-
{ code: "PR", label: "Puerto Rico", phone: "1" },
|
|
297
|
-
{
|
|
298
|
-
code: "PS",
|
|
299
|
-
label: "Palestine, State of",
|
|
300
|
-
phone: "970"
|
|
301
|
-
},
|
|
302
|
-
{ code: "PT", label: "Portugal", phone: "351" },
|
|
303
|
-
{ code: "PW", label: "Palau", phone: "680" },
|
|
304
|
-
{ code: "PY", label: "Paraguay", phone: "595" },
|
|
305
|
-
{ code: "QA", label: "Qatar", phone: "974" },
|
|
306
|
-
{ code: "RE", label: "Reunion", phone: "262" },
|
|
307
|
-
{ code: "RO", label: "Romania", phone: "40" },
|
|
308
|
-
{ code: "RS", label: "Serbia", phone: "381" },
|
|
309
|
-
{ code: "RU", label: "Russian Federation", phone: "7" },
|
|
310
|
-
{ code: "RW", label: "Rwanda", phone: "250" },
|
|
311
|
-
{ code: "SA", label: "Saudi Arabia", phone: "966" },
|
|
312
|
-
{ code: "SB", label: "Solomon Islands", phone: "677" },
|
|
313
|
-
{ code: "SC", label: "Seychelles", phone: "248" },
|
|
314
|
-
{ code: "SD", label: "Sudan", phone: "249" },
|
|
315
|
-
{ code: "SE", label: "Sweden", phone: "46" },
|
|
316
|
-
{ code: "SG", label: "Singapore", phone: "65" },
|
|
317
|
-
{ code: "SH", label: "Saint Helena", phone: "290" },
|
|
318
|
-
{ code: "SI", label: "Slovenia", phone: "386" },
|
|
319
|
-
{
|
|
320
|
-
code: "SJ",
|
|
321
|
-
label: "Svalbard and Jan Mayen",
|
|
322
|
-
phone: "47"
|
|
323
|
-
},
|
|
324
|
-
{ code: "SK", label: "Slovakia", phone: "421" },
|
|
325
|
-
{ code: "SL", label: "Sierra Leone", phone: "232" },
|
|
326
|
-
{ code: "SM", label: "San Marino", phone: "378" },
|
|
327
|
-
{ code: "SN", label: "Senegal", phone: "221" },
|
|
328
|
-
{ code: "SO", label: "Somalia", phone: "252" },
|
|
329
|
-
{ code: "SR", label: "Suriname", phone: "597" },
|
|
330
|
-
{ code: "SS", label: "South Sudan", phone: "211" },
|
|
331
|
-
{
|
|
332
|
-
code: "ST",
|
|
333
|
-
label: "Sao Tome and Principe",
|
|
334
|
-
phone: "239"
|
|
335
|
-
},
|
|
336
|
-
{ code: "SV", label: "El Salvador", phone: "503" },
|
|
337
|
-
{
|
|
338
|
-
code: "SX",
|
|
339
|
-
label: "Sint Maarten (Dutch part)",
|
|
340
|
-
phone: "1-721"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
code: "SY",
|
|
344
|
-
label: "Syrian Arab Republic",
|
|
345
|
-
phone: "963"
|
|
346
|
-
},
|
|
347
|
-
{ code: "SZ", label: "Swaziland", phone: "268" },
|
|
348
|
-
{
|
|
349
|
-
code: "TC",
|
|
350
|
-
label: "Turks and Caicos Islands",
|
|
351
|
-
phone: "1-649"
|
|
352
|
-
},
|
|
353
|
-
{ code: "TD", label: "Chad", phone: "235" },
|
|
354
|
-
{
|
|
355
|
-
code: "TF",
|
|
356
|
-
label: "French Southern Territories",
|
|
357
|
-
phone: "262"
|
|
358
|
-
},
|
|
359
|
-
{ code: "TG", label: "Togo", phone: "228" },
|
|
360
|
-
{ code: "TH", label: "Thailand", phone: "66" },
|
|
361
|
-
{ code: "TJ", label: "Tajikistan", phone: "992" },
|
|
362
|
-
{ code: "TK", label: "Tokelau", phone: "690" },
|
|
363
|
-
{ code: "TL", label: "Timor-Leste", phone: "670" },
|
|
364
|
-
{ code: "TM", label: "Turkmenistan", phone: "993" },
|
|
365
|
-
{ code: "TN", label: "Tunisia", phone: "216" },
|
|
366
|
-
{ code: "TO", label: "Tonga", phone: "676" },
|
|
367
|
-
{ code: "TR", label: "Turkey", phone: "90" },
|
|
368
|
-
{
|
|
369
|
-
code: "TT",
|
|
370
|
-
label: "Trinidad and Tobago",
|
|
371
|
-
phone: "1-868"
|
|
372
|
-
},
|
|
373
|
-
{ code: "TV", label: "Tuvalu", phone: "688" },
|
|
374
|
-
{
|
|
375
|
-
code: "TW",
|
|
376
|
-
label: "Taiwan",
|
|
377
|
-
phone: "886"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
code: "TZ",
|
|
381
|
-
label: "United Republic of Tanzania",
|
|
382
|
-
phone: "255"
|
|
383
|
-
},
|
|
384
|
-
{ code: "UA", label: "Ukraine", phone: "380" },
|
|
385
|
-
{ code: "UG", label: "Uganda", phone: "256" },
|
|
386
|
-
{
|
|
387
|
-
code: "US",
|
|
388
|
-
label: "United States",
|
|
389
|
-
phone: "1",
|
|
390
|
-
suggested: !0
|
|
391
|
-
},
|
|
392
|
-
{ code: "UY", label: "Uruguay", phone: "598" },
|
|
393
|
-
{ code: "UZ", label: "Uzbekistan", phone: "998" },
|
|
394
|
-
{
|
|
395
|
-
code: "VA",
|
|
396
|
-
label: "Holy See (Vatican City State)",
|
|
397
|
-
phone: "379"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
code: "VC",
|
|
401
|
-
label: "Saint Vincent and the Grenadines",
|
|
402
|
-
phone: "1-784"
|
|
403
|
-
},
|
|
404
|
-
{ code: "VE", label: "Venezuela", phone: "58" },
|
|
405
|
-
{
|
|
406
|
-
code: "VG",
|
|
407
|
-
label: "British Virgin Islands",
|
|
408
|
-
phone: "1-284"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
code: "VI",
|
|
412
|
-
label: "US Virgin Islands",
|
|
413
|
-
phone: "1-340"
|
|
414
|
-
},
|
|
415
|
-
{ code: "VN", label: "Vietnam", phone: "84" },
|
|
416
|
-
{ code: "VU", label: "Vanuatu", phone: "678" },
|
|
417
|
-
{ code: "WF", label: "Wallis and Futuna", phone: "681" },
|
|
418
|
-
{ code: "WS", label: "Samoa", phone: "685" },
|
|
419
|
-
{ code: "XK", label: "Kosovo", phone: "383" },
|
|
420
|
-
{ code: "YE", label: "Yemen", phone: "967" },
|
|
421
|
-
{ code: "YT", label: "Mayotte", phone: "262" },
|
|
422
|
-
{ code: "ZA", label: "South Africa", phone: "27" },
|
|
423
|
-
{ code: "ZM", label: "Zambia", phone: "260" },
|
|
424
|
-
{ code: "ZW", label: "Zimbabwe", phone: "263" }
|
|
425
|
-
], S = {
|
|
426
|
-
en: "GB",
|
|
427
|
-
// English -> United Kingdom
|
|
428
|
-
ar: "AE",
|
|
429
|
-
// Arabic -> United Arab Emirates (not country-specific; AE is the neutral default)
|
|
430
|
-
bg: "BG",
|
|
431
|
-
// Bulgarian -> Bulgaria
|
|
432
|
-
de: "DE",
|
|
433
|
-
// German -> Germany
|
|
434
|
-
el: "GR",
|
|
435
|
-
// Greek -> Greece
|
|
436
|
-
es: "ES",
|
|
437
|
-
// Spanish -> Spain
|
|
438
|
-
"fr-be": "BE",
|
|
439
|
-
// French (Belgium) -> Belgium
|
|
440
|
-
fr: "FR",
|
|
441
|
-
// French -> France
|
|
442
|
-
it: "IT",
|
|
443
|
-
// Italian -> Italy
|
|
444
|
-
pl: "PL",
|
|
445
|
-
// Polish -> Poland
|
|
446
|
-
"pt-br": "BR",
|
|
447
|
-
// Portuguese (Brazil) -> Brazil
|
|
448
|
-
pt: "PT",
|
|
449
|
-
// Portuguese -> Portugal
|
|
450
|
-
ro: "RO",
|
|
451
|
-
// Romanian -> Romania
|
|
452
|
-
sr: "RS",
|
|
453
|
-
// Serbian -> Serbia
|
|
454
|
-
sk: "SK",
|
|
455
|
-
// Slovak -> Slovakia
|
|
456
|
-
tr: "TR"
|
|
457
|
-
// Turkish -> Turkey
|
|
458
|
-
}, I = (e) => {
|
|
459
|
-
const o = document.createElement("div");
|
|
460
|
-
return o.innerHTML = e || "", o.textContent || o.innerText || "";
|
|
461
|
-
}, T = (e) => {
|
|
462
|
-
e = e.replace(/^#/, "");
|
|
463
|
-
const o = parseInt(e.substring(0, 2), 16), l = parseInt(e.substring(2, 4), 16), a = parseInt(e.substring(4, 6), 16);
|
|
464
|
-
return `${o}, ${l}, ${a}`;
|
|
465
|
-
}, B = () => /Android/i.test(navigator.userAgent), A = (e) => {
|
|
466
|
-
const o = e || "44";
|
|
467
|
-
return t.find((l) => l.phone === o) || null;
|
|
468
|
-
}, G = (e) => {
|
|
469
|
-
const o = e ? S[e] : "GB";
|
|
470
|
-
return t.find((l) => l.code === o) || null;
|
|
471
|
-
}, R = (e) => t.find((o) => o.code === e) || null, L = (e) => {
|
|
472
|
-
var c, d;
|
|
473
|
-
const o = g();
|
|
474
|
-
let l = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.backgroundImage) || null, a = ((d = e == null ? void 0 : e.images) == null ? void 0 : d.mainLogo) || null, n = null;
|
|
475
|
-
return o && (e != null && e.images) && (l = e.images.mobileBackgroundImage || e.images.backgroundImage || null, a = e.images.mobileLogo || e.images.mainLogo), e != null && e.colors && (n = e.colors), { brandingImage: l, brandingColors: n, brandingLogo: a };
|
|
476
|
-
}, f = (e) => {
|
|
477
|
-
var c, d;
|
|
478
|
-
const o = g();
|
|
479
|
-
let l = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.background_image) || null, a = ((d = e == null ? void 0 : e.images) == null ? void 0 : d.main_logo) || null, n = null;
|
|
480
|
-
return o && (e != null && e.images) && (l = e.images.mobile_background_image || e.images.background_image || null, a = e.images.mobile_logo || e.images.main_logo), e != null && e.colors && (n = e.colors), { brandingImage: l, brandingColors: n, brandingLogo: a };
|
|
481
|
-
}, y = (e) => {
|
|
482
|
-
try {
|
|
483
|
-
return `url("${e}")`;
|
|
484
|
-
} catch {
|
|
485
|
-
return "none";
|
|
486
|
-
}
|
|
487
|
-
}, P = (e) => {
|
|
488
|
-
if (!e) return;
|
|
489
|
-
if (e === "quiz") return "classic_quiz";
|
|
490
|
-
if ([
|
|
491
|
-
"template",
|
|
492
|
-
"classic_quiz",
|
|
493
|
-
"personality_quiz",
|
|
494
|
-
"either_or",
|
|
495
|
-
"match_quiz",
|
|
496
|
-
"top_x",
|
|
497
|
-
"bracket",
|
|
498
|
-
"standing",
|
|
499
|
-
"poll"
|
|
500
|
-
].includes(e)) return e;
|
|
501
|
-
console.warn(
|
|
502
|
-
`[CollectLead] Unknown content type "${e}" for consents; omitting entityType.`
|
|
503
|
-
);
|
|
504
|
-
}, E = (e, o, l) => {
|
|
505
|
-
const a = (e == null ? void 0 : e.trim()) || null, n = (o == null ? void 0 : o.trim()) || null;
|
|
506
|
-
return l === "image" ? a : n || a;
|
|
507
|
-
}, N = (e) => {
|
|
508
|
-
if (!(e != null && e.length)) return null;
|
|
509
|
-
const o = e.find(
|
|
510
|
-
(l) => l.entityType === "info_page" && l.entityRelationship === "relatedTo"
|
|
511
|
-
);
|
|
512
|
-
return (o == null ? void 0 : o.entityId) ?? null;
|
|
513
|
-
}, K = (e) => {
|
|
514
|
-
if (!(e != null && e.length)) return [];
|
|
515
|
-
const o = e.filter(
|
|
516
|
-
(l) => l.entityType === "poll" && (l.entityRelationship === "translatedTo" || l.entityRelationship === "translatedFrom")
|
|
517
|
-
).map((l) => l.entityId);
|
|
518
|
-
return Array.from(new Set(o));
|
|
519
|
-
}, p = {
|
|
520
|
-
code: 500,
|
|
521
|
-
status: "internal_error",
|
|
522
|
-
message: "An error occurred. Please try again."
|
|
523
|
-
}, M = (e, o) => {
|
|
524
|
-
var n, c, d, i, b, s, r, u, m;
|
|
525
|
-
if (o.helpers.getSDKConfiguration().errorHandlingMode === "standard") {
|
|
526
|
-
const h = e;
|
|
527
|
-
return {
|
|
528
|
-
code: ((n = h.error) == null ? void 0 : n.code) ?? p.code,
|
|
529
|
-
status: ((c = h.error) == null ? void 0 : c.status) ?? p.status,
|
|
530
|
-
message: ((d = h.error) == null ? void 0 : d.message) ?? p.message
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
const a = e;
|
|
534
|
-
return {
|
|
535
|
-
code: ((b = (i = a.data) == null ? void 0 : i.error) == null ? void 0 : b.code) ?? p.code,
|
|
536
|
-
status: ((r = (s = a.data) == null ? void 0 : s.error) == null ? void 0 : r.status) ?? p.status,
|
|
537
|
-
message: ((m = (u = a.data) == null ? void 0 : u.error) == null ? void 0 : m.message) ?? p.message
|
|
538
|
-
};
|
|
539
|
-
}, F = (e, o, l = p.message) => M(e, o).message || l;
|
|
540
|
-
export {
|
|
541
|
-
I as a,
|
|
542
|
-
F as b,
|
|
543
|
-
M as c,
|
|
544
|
-
L as d,
|
|
545
|
-
f as e,
|
|
546
|
-
N as f,
|
|
547
|
-
E as g,
|
|
548
|
-
T as h,
|
|
549
|
-
B as i,
|
|
550
|
-
K as j,
|
|
551
|
-
A as k,
|
|
552
|
-
S as l,
|
|
553
|
-
G as m,
|
|
554
|
-
t as n,
|
|
555
|
-
R as o,
|
|
556
|
-
P as p,
|
|
557
|
-
y as s
|
|
558
|
-
};
|