@royaloperahouse/chord 2.6.0 → 2.6.1-a-development
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/CHANGELOG.md +6 -0
- package/README.md +252 -40
- package/dist/chord.cjs.development.js +1206 -833
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +1206 -833
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/AriaAlternativeDescription/AriaAlternative.d.ts +5 -0
- package/dist/components/atoms/AriaAlternativeDescription/AriaAlternative.style.d.ts +3 -0
- package/dist/components/atoms/AriaAlternativeDescription/index.d.ts +2 -0
- package/dist/components/atoms/Grid/GridItemLegacy.d.ts +8 -0
- package/dist/components/atoms/Grid/index.d.ts +2 -1
- package/dist/components/atoms/index.d.ts +2 -2
- package/dist/components/index.d.ts +3 -3
- package/dist/components/molecules/PageHeading/index.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +2 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +1 -0
- package/dist/components/molecules/SignUpForm/SignUpForm.d.ts +4 -0
- package/dist/components/molecules/SignUpForm/SignUpForm.style.d.ts +13 -0
- package/dist/components/molecules/SignUpForm/index.d.ts +2 -0
- package/dist/components/molecules/Table/Table.style.d.ts +1 -1
- package/dist/components/molecules/index.d.ts +3 -2
- package/dist/components/organisms/index.d.ts +1 -2
- package/dist/helpers/arrays.d.ts +1 -1
- package/dist/helpers/formatStrings.d.ts +1 -0
- package/dist/helpers/forms.d.ts +15 -0
- package/dist/helpers/theme.d.ts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/types/ariaAlternative.d.ts +34 -0
- package/dist/types/formTypes.d.ts +12 -9
- package/dist/types/signUpForm.d.ts +58 -0
- package/package.json +8 -2
- package/README.GIT +0 -277
- package/dist/components/organisms/LiveChat/LiveChat.d.ts +0 -3
- package/dist/components/organisms/LiveChat/index.d.ts +0 -2
package/dist/chord.esm.js
CHANGED
|
@@ -924,6 +924,7 @@ var Expand12px = (function (_ref) {
|
|
|
924
924
|
height: "12",
|
|
925
925
|
viewBox: "0 0 12 12",
|
|
926
926
|
fill: "none",
|
|
927
|
+
role: "img",
|
|
927
928
|
"aria-label": ariaLabel
|
|
928
929
|
}, /*#__PURE__*/createElement("path", {
|
|
929
930
|
d: "M7.02857 0H5.31429V4.97143H0V6.68571H5.31429V12H7.02857V6.68571H12V4.97143H7.02857V0Z",
|
|
@@ -941,6 +942,7 @@ var Remove12px = (function (_ref) {
|
|
|
941
942
|
height: "12",
|
|
942
943
|
viewBox: "0 0 12 12",
|
|
943
944
|
fill: "none",
|
|
945
|
+
role: "img",
|
|
944
946
|
"aria-label": ariaLabel
|
|
945
947
|
}, /*#__PURE__*/createElement("g", null, /*#__PURE__*/createElement("path", {
|
|
946
948
|
d: "M6.9956 5.96581L11.8642 10.8344L10.9042 11.7944L6.0356 6.92581L1.16703 11.7944L0.207031 10.8344L5.0756 5.96581L0.207031 1.16581L1.16703 0.205811L6.0356 5.07438L10.9042 0.205811L11.8642 1.16581L6.9956 5.96581Z",
|
|
@@ -958,6 +960,7 @@ var Tick = (function (_ref) {
|
|
|
958
960
|
viewBox: "0 0 12 12",
|
|
959
961
|
fill: "none",
|
|
960
962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
963
|
+
role: "img",
|
|
961
964
|
"aria-label": ariaLabel
|
|
962
965
|
}, /*#__PURE__*/createElement("path", {
|
|
963
966
|
d: "M4.09961 11.1999L1.09961 7.2999L1.89961 6.6999L4.09961 9.4999L10.0996 1.3999L10.8996 1.9999L4.09961 11.1999Z",
|
|
@@ -975,6 +978,7 @@ var AddToMyList = (function (_ref) {
|
|
|
975
978
|
viewBox: "0 0 24 24",
|
|
976
979
|
fill: "none",
|
|
977
980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
981
|
+
role: "img",
|
|
978
982
|
"aria-label": ariaLabel
|
|
979
983
|
}, /*#__PURE__*/createElement("path", {
|
|
980
984
|
d: "M21 3H3V4H21V3Z",
|
|
@@ -1007,6 +1011,7 @@ var OnMyList = (function (_ref) {
|
|
|
1007
1011
|
viewBox: "0 0 24 24",
|
|
1008
1012
|
fill: "none",
|
|
1009
1013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1014
|
+
role: "img",
|
|
1010
1015
|
"aria-label": ariaLabel
|
|
1011
1016
|
}, /*#__PURE__*/createElement("path", {
|
|
1012
1017
|
d: "M15.4996 20.2002L13.3996 17.7002L12.5996 18.3002L15.5996 21.8002L20.8996 13.8002L20.0996 13.2002L15.4996 20.2002Z",
|
|
@@ -1039,6 +1044,7 @@ var BookTickets = (function (_ref) {
|
|
|
1039
1044
|
viewBox: "0 0 24 24",
|
|
1040
1045
|
fill: "none",
|
|
1041
1046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1047
|
+
role: "img",
|
|
1042
1048
|
"aria-label": ariaLabel
|
|
1043
1049
|
}, /*#__PURE__*/createElement("path", {
|
|
1044
1050
|
d: "M7 2H6V5H7V2Z",
|
|
@@ -1083,6 +1089,7 @@ var ChooseDates = (function (_ref) {
|
|
|
1083
1089
|
viewBox: "0 0 24 24",
|
|
1084
1090
|
fill: "none",
|
|
1085
1091
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1092
|
+
role: "img",
|
|
1086
1093
|
"aria-label": ariaLabel
|
|
1087
1094
|
}, /*#__PURE__*/createElement("path", {
|
|
1088
1095
|
d: "M20.9 9L19 10.9V5H15.5V4H14.5V5H12V4H11V5H8.5V4H7.5V5H4V18C4 19.1 4.9 20 6 20H17C18.1 20 19 19.1 19 18V15.1L23 11.1L20.9 9ZM17.5 12.3H14.3V10H18V11.9L17.5 12.3ZM14.6 15.7H14.3V13.4H16.5L14.7 15.2L14.6 15.7ZM8.7 19H6C5.4 19 5 18.6 5 18V16.7H8.7V19ZM8.7 15.7H5V13.4H8.7V15.7ZM8.7 12.3H5V10H8.7V12.3ZM5 9V6H7.5V7H8.5V6H11V7H12V6H14.5V7H15.5V6H18V9H5ZM13.3 19H9.7V16.7H13.4V19H13.3ZM13.3 15.7H9.7V13.4H13.4V15.7H13.3ZM13.3 12.3H9.7V10H13.4V12.3H13.3ZM18 16.7V18C18 18.6 17.6 19 17 19H14.3V18L16.9 17.2L17.5 16.6H18V16.7ZM19 13.7L18 14.7L17 15.7L16.3 16.4L15.3 16.7L15.6 15.7L17.9 13.4L18.9 12.4L19 12.3L19.7 13L19 13.7ZM19.8 11.5L20.9 10.4L21.6 11.1L20.5 12.2L19.8 11.5Z",
|
|
@@ -1100,6 +1107,7 @@ var EditMyList = (function (_ref) {
|
|
|
1100
1107
|
viewBox: "0 0 24 24",
|
|
1101
1108
|
fill: "none",
|
|
1102
1109
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1110
|
+
role: "img",
|
|
1103
1111
|
"aria-label": ariaLabel
|
|
1104
1112
|
}, /*#__PURE__*/createElement("path", {
|
|
1105
1113
|
d: "M21 3H3V4H21V3Z",
|
|
@@ -1132,6 +1140,7 @@ var Favourite = (function (_ref) {
|
|
|
1132
1140
|
viewBox: "0 0 24 24",
|
|
1133
1141
|
fill: "none",
|
|
1134
1142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1143
|
+
role: "img",
|
|
1135
1144
|
"aria-label": ariaLabel
|
|
1136
1145
|
}, /*#__PURE__*/createElement("path", {
|
|
1137
1146
|
d: "M12 4.69994L13.88 8.51994L14.12 8.98994L14.64 9.06994L18.85 9.67994L15.8 12.6799L15.43 13.0499L15.51 13.5599L16.23 17.7599L12.47 15.7599L12 15.5099L11.53 15.7499L7.77 17.7499L8.49 13.5499L8.57 13.0399L8.2 12.6699L5.15 9.66994L9.36 9.05994L9.88 8.97994L10.12 8.50994L12 4.69994ZM12 2.43994L9.22 8.07994L3 8.99994L7.5 13.3899L6.44 19.5799L12 16.6399L17.56 19.5599L16.5 13.3699L21 8.99994L14.78 8.09994L12 2.43994Z",
|
|
@@ -1149,6 +1158,7 @@ var FavouriteFull = (function (_ref) {
|
|
|
1149
1158
|
viewBox: "0 0 24 24",
|
|
1150
1159
|
fill: "none",
|
|
1151
1160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1161
|
+
role: "img",
|
|
1152
1162
|
"aria-label": ariaLabel
|
|
1153
1163
|
}, /*#__PURE__*/createElement("path", {
|
|
1154
1164
|
d: "M9.22 8.07994L12 2.43994L14.78 8.09994L21 8.99994L16.5 13.3699L17.56 19.5599L12 16.6399L6.44 19.5799L7.5 13.3899L3 8.99994L9.22 8.07994Z",
|
|
@@ -1166,6 +1176,7 @@ var Filter = (function (_ref) {
|
|
|
1166
1176
|
viewBox: "0 0 24 24",
|
|
1167
1177
|
fill: "none",
|
|
1168
1178
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1179
|
+
role: "img",
|
|
1169
1180
|
"aria-label": ariaLabel
|
|
1170
1181
|
}, /*#__PURE__*/createElement("path", {
|
|
1171
1182
|
d: "M8.4 5C8.2 4.1 7.4 3.5 6.5 3.5C5.6 3.5 4.8 4.1 4.6 5H2V6H4.6C4.8 6.9 5.6 7.5 6.5 7.5C7.4 7.5 8.2 6.9 8.4 6H22V5H8.4ZM6.5 6.5C5.9 6.5 5.5 6.1 5.5 5.5C5.5 4.9 5.9 4.5 6.5 4.5C7.1 4.5 7.5 4.9 7.5 5.5C7.5 6.1 7.1 6.5 6.5 6.5Z",
|
|
@@ -1189,6 +1200,7 @@ var FindAScreening = (function (_ref) {
|
|
|
1189
1200
|
viewBox: "0 0 24 24",
|
|
1190
1201
|
fill: "none",
|
|
1191
1202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1203
|
+
role: "img",
|
|
1192
1204
|
"aria-label": ariaLabel
|
|
1193
1205
|
}, /*#__PURE__*/createElement("path", {
|
|
1194
1206
|
d: "M12 2C9.7381 2.00427 7.54447 2.77523 5.77725 4.18702C4.01004 5.59881 2.77365 7.56802 2.26996 9.77313C1.76627 11.9782 2.02503 14.289 3.00399 16.328C3.98295 18.3671 5.62429 20.0141 7.66 21H2V22H12C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2ZM12 21C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36627 17.0887 3.68508 15.4442C3.0039 13.7996 2.82567 11.99 3.17293 10.2442C3.5202 8.49836 4.37737 6.89471 5.63604 5.63604C6.89471 4.37737 8.49836 3.5202 10.2442 3.17293C11.99 2.82567 13.7996 3.0039 15.4442 3.68508C17.0887 4.36627 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21Z",
|
|
@@ -1221,6 +1233,7 @@ var Reminder = (function (_ref) {
|
|
|
1221
1233
|
viewBox: "0 0 24 24",
|
|
1222
1234
|
fill: "none",
|
|
1223
1235
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1236
|
+
role: "img",
|
|
1224
1237
|
"aria-label": ariaLabel
|
|
1225
1238
|
}, /*#__PURE__*/createElement("path", {
|
|
1226
1239
|
d: "M18 18V10C18 6.9 15.6 4.3 12.5 4V2H11.5V4C8.4 4.3 6 6.9 6 10V18H4V19H6H9C9 20.7 10.3 22 12 22C13.7 22 15 20.7 15 19H18H20V18H18ZM12 21C10.9 21 10 20.1 10 19H14C14 20.1 13.1 21 12 21ZM15 18H9H7V10C7 7.2 9.2 5 12 5C14.8 5 17 7.2 17 10V18H15Z",
|
|
@@ -1238,6 +1251,7 @@ var Subscribe = (function (_ref) {
|
|
|
1238
1251
|
viewBox: "0 0 24 24",
|
|
1239
1252
|
fill: "none",
|
|
1240
1253
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1254
|
+
role: "img",
|
|
1241
1255
|
"aria-label": ariaLabel
|
|
1242
1256
|
}, /*#__PURE__*/createElement("path", {
|
|
1243
1257
|
d: "M20 4V20H4V4H20ZM21 3H3V21H21V3Z",
|
|
@@ -1258,6 +1272,7 @@ var Watch = (function (_ref) {
|
|
|
1258
1272
|
viewBox: "0 0 24 24",
|
|
1259
1273
|
fill: "none",
|
|
1260
1274
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1275
|
+
role: "img",
|
|
1261
1276
|
"aria-label": ariaLabel
|
|
1262
1277
|
}, /*#__PURE__*/createElement("path", {
|
|
1263
1278
|
d: "M9 8L16 12L9 16V8Z",
|
|
@@ -1278,6 +1293,7 @@ var Arrow = (function (_ref) {
|
|
|
1278
1293
|
viewBox: "0 0 24 24",
|
|
1279
1294
|
fill: "none",
|
|
1280
1295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1296
|
+
role: "img",
|
|
1281
1297
|
"aria-label": ariaLabel
|
|
1282
1298
|
}, /*#__PURE__*/createElement("path", {
|
|
1283
1299
|
d: "M3 12.6001H19L12.9 18.7001L13.6 19.4001L21 12.0001L13.6 4.6001L12.9 5.3001L19.2 11.6001H3V12.6001Z",
|
|
@@ -1295,6 +1311,7 @@ var CarouselArrow = (function (_ref) {
|
|
|
1295
1311
|
viewBox: "0 0 24 24",
|
|
1296
1312
|
fill: "none",
|
|
1297
1313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1314
|
+
role: "img",
|
|
1298
1315
|
"aria-label": ariaLabel
|
|
1299
1316
|
}, /*#__PURE__*/createElement("path", {
|
|
1300
1317
|
d: "M13.6 4.24658L21.3536 12.0001L13.6 19.7537L12.5464 18.7001L18.3964 12.8501H2.75V11.3501H18.5964L12.5464 5.30014L13.6 4.24658Z",
|
|
@@ -1312,6 +1329,7 @@ var DropdownArrow = (function (_ref) {
|
|
|
1312
1329
|
viewBox: "0 0 24 24",
|
|
1313
1330
|
fill: "none",
|
|
1314
1331
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1332
|
+
role: "img",
|
|
1315
1333
|
"aria-label": ariaLabel
|
|
1316
1334
|
}, /*#__PURE__*/createElement("path", {
|
|
1317
1335
|
d: "M19.3 8L12 14.7L4.7 8L4 8.7L12 16L20 8.7L19.3 8Z",
|
|
@@ -1329,6 +1347,7 @@ var Cinema = (function (_ref) {
|
|
|
1329
1347
|
viewBox: "0 0 24 24",
|
|
1330
1348
|
fill: "none",
|
|
1331
1349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1350
|
+
role: "img",
|
|
1332
1351
|
"aria-label": ariaLabel
|
|
1333
1352
|
}, /*#__PURE__*/createElement("path", {
|
|
1334
1353
|
d: "M12 2C9.7381 2.00427 7.54447 2.77523 5.77725 4.18702C4.01004 5.59881 2.77365 7.56802 2.26996 9.77313C1.76627 11.9782 2.02503 14.289 3.00399 16.328C3.98295 18.3671 5.62429 20.0141 7.66 21H2V22H12C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2V2ZM12 21C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36627 17.0887 3.68508 15.4442C3.0039 13.7996 2.82567 11.99 3.17293 10.2442C3.5202 8.49836 4.37737 6.89471 5.63604 5.63604C6.89471 4.37737 8.49836 3.5202 10.2442 3.17293C11.99 2.82567 13.7996 3.0039 15.4442 3.68508C17.0887 4.36627 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21V21Z",
|
|
@@ -1361,6 +1380,7 @@ var Clock = (function (_ref) {
|
|
|
1361
1380
|
viewBox: "0 0 24 24",
|
|
1362
1381
|
fill: "none",
|
|
1363
1382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1383
|
+
role: "img",
|
|
1364
1384
|
"aria-label": ariaLabel
|
|
1365
1385
|
}, /*#__PURE__*/createElement("path", {
|
|
1366
1386
|
d: "M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM12 21C7 21 3 17 3 12C3 7 7 3 12 3C17 3 21 7 21 12C21 17 17 21 12 21Z",
|
|
@@ -1381,6 +1401,7 @@ var CreditCard = (function (_ref) {
|
|
|
1381
1401
|
viewBox: "0 0 24 24",
|
|
1382
1402
|
fill: "none",
|
|
1383
1403
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1404
|
+
role: "img",
|
|
1384
1405
|
"aria-label": ariaLabel
|
|
1385
1406
|
}, /*#__PURE__*/createElement("path", {
|
|
1386
1407
|
d: "M10.5 14H5.5C5.2 14 5 14.2 5 14.5C5 14.8 5.2 15 5.5 15H10.5C10.8 15 11 14.8 11 14.5C11 14.2 10.8 14 10.5 14Z",
|
|
@@ -1404,6 +1425,7 @@ var Email = (function (_ref) {
|
|
|
1404
1425
|
viewBox: "0 0 24 24",
|
|
1405
1426
|
fill: "none",
|
|
1406
1427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1428
|
+
role: "img",
|
|
1407
1429
|
"aria-label": ariaLabel
|
|
1408
1430
|
}, /*#__PURE__*/createElement("path", {
|
|
1409
1431
|
d: "M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM21 18.2L15.3 12.5L21 6.7V18C21 18.1 21 18.2 21 18.2ZM4 5H20C20.4 5 20.6 5.2 20.8 5.5L12 14.3L10.2 12.5L9.5 11.8L3.2 5.5C3.4 5.2 3.6 5 4 5ZM3 18.2C3 18.1 3 18 3 18V6.7L8.8 12.5L3 18.2ZM4 19C3.9 19 3.8 19 3.8 19L9.5 13.3L12 15.8L14.5 13.3L20.2 19C20.1 19 20 19 20 19H4Z",
|
|
@@ -1421,6 +1443,7 @@ var Info = (function (_ref) {
|
|
|
1421
1443
|
viewBox: "0 0 24 24",
|
|
1422
1444
|
fill: "none",
|
|
1423
1445
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1446
|
+
role: "img",
|
|
1424
1447
|
"aria-label": ariaLabel
|
|
1425
1448
|
}, /*#__PURE__*/createElement("path", {
|
|
1426
1449
|
d: "M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM12 21C7 21 3 17 3 12C3 7 7 3 12 3C17 3 21 7 21 12C21 17 17 21 12 21Z",
|
|
@@ -1444,6 +1467,7 @@ var List = (function (_ref) {
|
|
|
1444
1467
|
viewBox: "0 0 24 24",
|
|
1445
1468
|
fill: "none",
|
|
1446
1469
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1470
|
+
role: "img",
|
|
1447
1471
|
"aria-label": ariaLabel
|
|
1448
1472
|
}, /*#__PURE__*/createElement("path", {
|
|
1449
1473
|
d: "M4.5 7C5.32843 7 6 6.32843 6 5.5C6 4.67157 5.32843 4 4.5 4C3.67157 4 3 4.67157 3 5.5C3 6.32843 3.67157 7 4.5 7Z",
|
|
@@ -1476,6 +1500,7 @@ var Location = (function (_ref) {
|
|
|
1476
1500
|
viewBox: "0 0 24 24",
|
|
1477
1501
|
fill: "none",
|
|
1478
1502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1503
|
+
role: "img",
|
|
1479
1504
|
"aria-label": ariaLabel
|
|
1480
1505
|
}, /*#__PURE__*/createElement("path", {
|
|
1481
1506
|
d: "M12 2C9.87827 2 7.84344 2.84285 6.34315 4.34315C4.84286 5.84344 4 7.87827 4 10C4 14.42 12 22 12 22C12 22 20 14.42 20 10C20 7.87827 19.1571 5.84344 17.6569 4.34315C16.1566 2.84285 14.1217 2 12 2ZM12 20.6C9.55 18.14 5 13 5 10C5 8.14348 5.7375 6.36301 7.05025 5.05025C8.36301 3.7375 10.1435 3 12 3C13.8565 3 15.637 3.7375 16.9497 5.05025C18.2625 6.36301 19 8.14348 19 10C19 13 14.45 18.14 12 20.6Z",
|
|
@@ -1496,6 +1521,7 @@ var PDF = (function (_ref) {
|
|
|
1496
1521
|
viewBox: "0 0 24 24",
|
|
1497
1522
|
fill: "none",
|
|
1498
1523
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1524
|
+
role: "img",
|
|
1499
1525
|
"aria-label": ariaLabel
|
|
1500
1526
|
}, /*#__PURE__*/createElement("path", {
|
|
1501
1527
|
d: "M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM14.5 3.9L18.1 7.5H14.5V3.9ZM18 21H6C5.4 21 5 20.6 5 20V4C5 3.4 5.4 3 6 3H13.6H13.5V8.5H19V20C19 20.6 18.6 21 18 21Z",
|
|
@@ -1522,6 +1548,7 @@ var Phone = (function (_ref) {
|
|
|
1522
1548
|
viewBox: "0 0 24 24",
|
|
1523
1549
|
fill: "none",
|
|
1524
1550
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1551
|
+
role: "img",
|
|
1525
1552
|
"aria-label": ariaLabel
|
|
1526
1553
|
}, /*#__PURE__*/createElement("path", {
|
|
1527
1554
|
d: "M20.14 14H20C18.5808 13.8715 17.201 13.4637 15.94 12.8L15.67 12.66C15.5265 12.5796 15.3645 12.5382 15.2 12.54C14.9377 12.5411 14.6863 12.6453 14.5 12.83L12.9 14.43C11.4318 13.3789 10.1763 12.0589 9.2 10.54L10.85 8.89001C11.0287 8.70464 11.129 8.45748 11.13 8.20001C11.1278 8.08009 11.1041 7.96154 11.06 7.85001L10.87 7.45001C10.3893 6.35669 10.0952 5.19054 10 4.00001C9.99507 3.96686 9.99507 3.93316 10 3.90001C9.97513 3.65249 9.85889 3.42312 9.67398 3.25671C9.48907 3.09029 9.24877 2.99877 9 3.00001H4C3.73478 3.00001 3.48043 3.10537 3.29289 3.29291C3.10536 3.48044 3 3.7348 3 4.00001C3.24002 8.43074 5.10813 12.6167 8.24573 15.7543C11.3833 18.8919 15.5693 20.76 20 21C20.2652 21 20.5196 20.8947 20.7071 20.7071C20.8946 20.5196 21 20.2652 21 20V15C21.0024 14.7574 20.9165 14.5221 20.7582 14.3381C20.6 14.1541 20.3803 14.034 20.14 14ZM20 17V20C16.9863 19.8334 14.0721 18.8631 11.56 17.19C11.28 17 11.01 16.79 10.74 16.59C9.29429 15.4967 8.03183 14.1802 7 12.69C6.8 12.4 6.62 12.11 6.44 11.82C4.99691 9.45324 4.1589 6.76749 4 4.00001H9C9 4.34001 9.07 4.67001 9.13 5.00001C9.25673 5.76115 9.45769 6.50805 9.73 7.23001C9.85 7.54001 9.98 7.85001 10.12 8.15001L9.41 8.86001L8.62 9.64001L7.89 10.38C8.06 10.68 8.23 10.97 8.42 11.26C9.4178 12.7656 10.6778 14.0797 12.14 15.14C12.41 15.34 12.69 15.53 12.98 15.72L13.71 14.98L14.46 14.23L15.16 13.53L16.06 13.98C16.9924 14.3929 17.9737 14.6853 18.98 14.85C19.3 14.91 19.63 14.95 19.98 14.98V16.98L20 17Z",
|
|
@@ -1539,6 +1566,7 @@ var Print = (function (_ref) {
|
|
|
1539
1566
|
viewBox: "0 0 24 24",
|
|
1540
1567
|
fill: "none",
|
|
1541
1568
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1569
|
+
role: "img",
|
|
1542
1570
|
"aria-label": ariaLabel
|
|
1543
1571
|
}, /*#__PURE__*/createElement("path", {
|
|
1544
1572
|
d: "M19 6H16V3H8V6H5C3.9 6 3 6.9 3 8V16C3 17.1 3.9 18 5 18H8V21H16V18H19C20.1 18 21 17.1 21 16V8C21 6.9 20.1 6 19 6ZM9 4H15V6H9V4ZM15 20H9V14H15V20ZM20 16C20 16.6 19.6 17 19 17H16V13H8V17H5C4.4 17 4 16.6 4 16V8C4 7.4 4.4 7 5 7H19C19.6 7 20 7.4 20 8V16Z",
|
|
@@ -1556,6 +1584,7 @@ var Seat = (function (_ref) {
|
|
|
1556
1584
|
viewBox: "0 0 24 24",
|
|
1557
1585
|
fill: "none",
|
|
1558
1586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1587
|
+
role: "img",
|
|
1559
1588
|
"aria-label": ariaLabel
|
|
1560
1589
|
}, /*#__PURE__*/createElement("path", {
|
|
1561
1590
|
d: "M17.5 7.8V4.9c0-2.7-2.2-4.9-4.9-4.9H7.2C4.5 0 2.3 2.2 2.3 4.9v2.9H0V20h4.2v-3.7h11.3V20h4.2V7.8h-2.2ZM3 4.8h.3v.1C3.3 2.8 5 1 7.2 1h5.4c2.2 0 3.9 1.8 3.9 3.9v2.8h-1v4.6H4.2V7.8H3v-3ZM1 19V8.7h2.2v3.6H1.9v4h1.3V19H1Zm1.9-3.6v-2h13.9v2H2.9ZM18.8 19h-2.2v-2.7h1.3v-4h-1.3V8.7h2.2V19Z",
|
|
@@ -1576,6 +1605,7 @@ var Secure = (function (_ref) {
|
|
|
1576
1605
|
viewBox: "0 0 24 24",
|
|
1577
1606
|
fill: "none",
|
|
1578
1607
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1608
|
+
role: "img",
|
|
1579
1609
|
"aria-label": ariaLabel
|
|
1580
1610
|
}, /*#__PURE__*/createElement("path", {
|
|
1581
1611
|
d: "M18 9H17V7C17 5.67392 16.4732 4.40215 15.5355 3.46447C14.5979 2.52678 13.3261 2 12 2C10.6739 2 9.40215 2.52678 8.46447 3.46447C7.52678 4.40215 7 5.67392 7 7V9H6C5.46957 9 4.96086 9.21071 4.58579 9.58579C4.21071 9.96086 4 10.4696 4 11V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V11C20 10.4696 19.7893 9.96086 19.4142 9.58579C19.0391 9.21071 18.5304 9 18 9ZM8 7C8 5.93913 8.42143 4.92172 9.17157 4.17157C9.92172 3.42143 10.9391 3 12 3C13.0609 3 14.0783 3.42143 14.8284 4.17157C15.5786 4.92172 16 5.93913 16 7V9H8V7ZM19 20C19 20.2652 18.8946 20.5196 18.7071 20.7071C18.5196 20.8946 18.2652 21 18 21H6C5.73478 21 5.48043 20.8946 5.29289 20.7071C5.10536 20.5196 5 20.2652 5 20V11C5 10.7348 5.10536 10.4804 5.29289 10.2929C5.48043 10.1054 5.73478 10 6 10H18C18.2652 10 18.5196 10.1054 18.7071 10.2929C18.8946 10.4804 19 10.7348 19 11V20Z",
|
|
@@ -1596,6 +1626,7 @@ var Standing = (function (_ref) {
|
|
|
1596
1626
|
viewBox: "0 0 24 24",
|
|
1597
1627
|
fill: "none",
|
|
1598
1628
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1629
|
+
role: "img",
|
|
1599
1630
|
"aria-label": ariaLabel
|
|
1600
1631
|
}, /*#__PURE__*/createElement("path", {
|
|
1601
1632
|
d: "M9.8 3.9c1.1 0 1.9-.9 1.9-1.9 0-1-.8-2-1.9-2-1.1 0-1.9.9-1.9 2s.9 1.9 1.9 1.9Zm0-2.9c.5 0 .9.4.9.9s-.4.9-.9.9-.9-.3-.9-.8.4-1 .9-1Zm2 3.2H8c-1.3 0-2.3 1-2.3 2.2v6.4h1.7V20h4.9v-7h1.8V6.4c0-1.2-1.1-2.2-2.3-2.2Zm1.3 7.8h-.8V7.4c0-.2-.2-.4-.5-.4-.2 0-.5.2-.5.4V19h-.9v-6.3c0-.2-.2-.4-.5-.4-.2 0-.5.2-.5.4V19h-1V7.4c0-.2-.2-.4-.5-.4-.2 0-.5.2-.5.4v4.5h-.7V6.5c0-.7.6-1.2 1.3-1.2h3.7c.7 0 1.3.5 1.3 1.2l.1 5.5Z",
|
|
@@ -1613,6 +1644,7 @@ var Tickets = (function (_ref) {
|
|
|
1613
1644
|
viewBox: "0 0 24 24",
|
|
1614
1645
|
fill: "none",
|
|
1615
1646
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1647
|
+
role: "img",
|
|
1616
1648
|
"aria-label": ariaLabel
|
|
1617
1649
|
}, /*#__PURE__*/createElement("path", {
|
|
1618
1650
|
d: "M12 14H11V16H12V14Z",
|
|
@@ -1636,6 +1668,7 @@ var Wheelchair = (function (_ref) {
|
|
|
1636
1668
|
viewBox: "0 0 24 24",
|
|
1637
1669
|
fill: "none",
|
|
1638
1670
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1671
|
+
role: "img",
|
|
1639
1672
|
"aria-label": ariaLabel
|
|
1640
1673
|
}, /*#__PURE__*/createElement("path", {
|
|
1641
1674
|
d: "M8.4 18.8c-1.1 0-2.2-.4-3-1.1-.8-.8-1.3-1.8-1.3-2.9-.1-1.6.9-3.2 2.3-3.9l-.4-1c-1.9.9-3 2.8-3 4.9.1 2.8 2.4 5.1 5.3 5.1h.2c2.6-.1 4.7-2.1 5.1-4.6l-1.1-.1c-.3 2-2 3.6-4.1 3.6ZM9.8 4.5c1.2 0 2.2-1 2.2-2.2C12 1.1 11 .1 9.8.1c-1.2 0-2.2 1-2.2 2.2 0 1.2.9 2.2 2.2 2.2Zm0-3.3c.6 0 1.1.5 1.1 1.1 0 .6-.5 1.1-1.1 1.1-.6 0-1.1-.5-1.1-1.1 0-.6.5-1.1 1.1-1.1Zm4.9 12c-.3-.5-.9-.8-1.6-.8h-2.6V6.3c0-.6-.5-1.2-1.1-1.2H6.2c-.5.1-.9.5-.9 1v3.2h1.1V6.2l2.9.1v7.2h3.8c.3 0 .5.1.6.3l3.4 5.4.9-.6-3.3-5.4Z",
|
|
@@ -1653,6 +1686,7 @@ var BalletAndDance = (function (_ref) {
|
|
|
1653
1686
|
viewBox: "0 0 24 24",
|
|
1654
1687
|
fill: "none",
|
|
1655
1688
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1689
|
+
role: "img",
|
|
1656
1690
|
"aria-label": ariaLabel
|
|
1657
1691
|
}, /*#__PURE__*/createElement("path", {
|
|
1658
1692
|
d: "M20 10.8099C20 10.4099 20 10.0099 19.91 9.61995C19.8296 8.78684 19.7028 7.95889 19.53 7.13995C19.3725 6.36611 19.1722 5.6016 18.93 4.84995C18.83 4.52995 18.72 4.21995 18.61 3.90995L18.19 2.84995C18.12 2.69995 18.06 2.54995 18 2.39995C17.9472 2.27991 17.8602 2.17802 17.75 2.10691C17.6398 2.03581 17.5112 1.99861 17.38 1.99995H10.6C10.4803 1.99361 10.3611 2.02001 10.2552 2.0763C10.1494 2.13259 10.0609 2.21665 9.99918 2.31946C9.9375 2.42226 9.90499 2.53992 9.90513 2.65981C9.90527 2.7797 9.93807 2.89729 10 2.99995L10.61 3.99995C9.02093 4.16117 7.53678 4.8679 6.41 5.99995L3 9.35994L3.72 10.0699L7.16 6.66995C7.75257 6.09557 8.45725 5.64961 9.23 5.35995C8.49778 6.12058 7.95332 7.04171 7.64 8.04995L6.2 12.6399L7.2 12.9299L8.61 8.33995C9.04114 6.96737 9.97284 5.8072 11.22 5.08995C11.69 6.02959 12.091 7.00215 12.42 7.99995C11.9519 8.75685 11.7059 9.63002 11.71 10.5199C11.7119 11.022 11.7895 11.521 11.94 11.9999C12.1174 12.5578 12.3991 13.077 12.77 13.5299C12.8542 13.606 12.9312 13.6897 13 13.7799C13.3354 14.2018 13.5249 14.7212 13.54 15.2599C13.54 15.3699 13.54 15.4799 13.54 15.5899C13.5242 16.3823 13.4675 17.1734 13.37 17.9599C13.2272 18.9861 13.0168 20.0016 12.74 20.9999V20.9999C12.7011 21.1094 12.6881 21.2264 12.7021 21.3417C12.716 21.4571 12.7566 21.5676 12.8206 21.6645C12.8846 21.7615 12.9703 21.8423 13.0708 21.9005C13.1714 21.9587 13.284 21.9927 13.4 21.9999H16.91C17.1788 21.9964 17.4405 21.9126 17.6614 21.7594C17.8823 21.6062 18.0524 21.3905 18.15 21.1399C19.099 18.8653 19.6861 16.4562 19.89 13.9999C19.89 13.7699 19.94 13.5499 19.96 13.3099C19.98 13.0699 19.96 13.1099 19.96 13.0099C19.96 12.6499 19.96 12.2899 19.96 11.9299C19.96 11.5699 20 11.1899 20 10.8099ZM11.61 2.99995H17C17.0499 3.00059 17.0985 3.01618 17.1395 3.0447C17.1805 3.07322 17.212 3.11336 17.23 3.15995C17.34 3.41995 17.44 3.69995 17.55 3.96995H11.7L11.39 3.36995C11.3691 3.33182 11.3586 3.28892 11.3594 3.24547C11.3601 3.20202 11.3722 3.15953 11.3944 3.12218C11.4166 3.08482 11.4482 3.05391 11.486 3.03247C11.5238 3.01104 11.5665 2.99983 11.61 2.99995ZM12.23 4.99995H17.93C17.93 5.13995 18.02 5.27995 18.07 5.41995L17.25 6.31995L15.73 7.99995H15.65L13.08 6.99995C12.83 6.29995 12.54 5.62995 12.23 4.99995V4.99995ZM19 13.8999C18.808 16.2022 18.2545 18.4599 17.36 20.5899C17.3111 20.7095 17.2282 20.8121 17.1215 20.885C17.0149 20.9578 16.8892 20.9978 16.76 20.9999H13.86C13.8411 20.9995 13.8225 20.9945 13.8059 20.9855C13.7892 20.9764 13.775 20.9636 13.7642 20.948C13.7535 20.9324 13.7466 20.9144 13.7442 20.8957C13.7417 20.8769 13.7437 20.8578 13.75 20.8399C14.1769 19.104 14.415 17.327 14.46 15.5399C14.46 15.4699 14.46 14.9099 14.46 14.9099C14.3722 14.1233 14.0196 13.3898 13.46 12.8299V12.8299C12.9343 12.1788 12.6483 11.3668 12.65 10.5299C12.6562 10.1426 12.7203 9.75836 12.84 9.38995C12.9771 8.96486 13.1906 8.56836 13.47 8.21995L15.59 8.99995C15.6034 10.0554 15.9365 11.082 16.5453 11.9443C17.154 12.8066 18.0099 13.464 19 13.8299V13.8999ZM19 12.8099C18.2319 12.4636 17.5815 11.9007 17.1285 11.1902C16.6756 10.4797 16.4398 9.65248 16.45 8.80995C16.445 8.72001 16.445 8.62988 16.45 8.53995L18.33 6.53995C18.43 6.92995 18.53 7.32995 18.61 7.72995C18.9028 9.13498 19.0602 10.5649 19.08 11.9999C19.08 12.2499 19.06 12.5299 19 12.8099Z",
|
|
@@ -1670,6 +1704,7 @@ var Basket = (function (_ref) {
|
|
|
1670
1704
|
viewBox: "0 0 24 24",
|
|
1671
1705
|
fill: "none",
|
|
1672
1706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1707
|
+
role: "img",
|
|
1673
1708
|
"aria-label": ariaLabel
|
|
1674
1709
|
}, /*#__PURE__*/createElement("path", {
|
|
1675
1710
|
d: "M16.0996 8V7C15.9996 4.8 14.1996 3 11.9996 3C9.69961 3 7.89961 4.8 7.89961 7V8H3.09961L5.19961 18.8C5.39961 20.1 6.49961 21 7.79961 21H16.1996C17.4996 21 18.5996 20.1 18.7996 18.8L20.8996 8H16.0996ZM8.89961 7C8.89961 5.4 10.2996 4 11.9996 4C13.5996 4 15.0996 5.4 15.0996 7V8H8.89961V7ZM17.8996 18.6C17.6996 19.4 16.9996 20 16.1996 20H7.79961C6.99961 20 6.29961 19.4 6.19961 18.6L4.29961 9H7.89961H16.0996H19.6996L17.8996 18.6Z",
|
|
@@ -1687,6 +1722,7 @@ var BasketFull = (function (_ref) {
|
|
|
1687
1722
|
viewBox: "0 0 24 24",
|
|
1688
1723
|
fill: "none",
|
|
1689
1724
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1725
|
+
role: "img",
|
|
1690
1726
|
"aria-label": ariaLabel
|
|
1691
1727
|
}, /*#__PURE__*/createElement("path", {
|
|
1692
1728
|
d: "M16.0996 8V7C15.9996 4.8 14.1996 3 11.9996 3C9.69961 3 7.89961 4.8 7.89961 7V8H3.09961L5.19961 18.8C5.39961 20.1 6.49961 21 7.79961 21H16.1996C17.4996 21 18.5996 20.1 18.7996 18.8L20.8996 8H16.0996ZM8.89961 7C8.89961 5.4 10.2996 4 11.9996 4C13.5996 4 15.0996 5.4 15.0996 7V8H8.89961V7Z",
|
|
@@ -1704,6 +1740,7 @@ var Home = (function (_ref) {
|
|
|
1704
1740
|
viewBox: "0 0 24 24",
|
|
1705
1741
|
fill: "none",
|
|
1706
1742
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1743
|
+
role: "img",
|
|
1707
1744
|
"aria-label": ariaLabel
|
|
1708
1745
|
}, /*#__PURE__*/createElement("path", {
|
|
1709
1746
|
d: "M22 12.1L12 4L2 12.1L2.6 12.9L4.8 11.1V18C4.8 19.1 5.7 20 6.8 20H9.6C10.1 20 10.5 19.6 10.5 19.1V15.3C10.5 14.9 10.7 14.5 11 14.2C11.3 13.9 11.7 13.8 12.1 13.8C12.9 13.8 13.5 14.6 13.5 15.4V19.1C13.5 19.6 13.9 20 14.4 20H17.2C18.3 20 19.2 19.1 19.2 18V11.1L21.4 12.9L22 12.1ZM18.2 18C18.2 18.6 17.8 19 17.2 19H14.6V15.4C14.6 14 13.5 12.8 12.2 12.8C11.5 12.8 10.8 13 10.3 13.5C9.8 14 9.5 14.6 9.5 15.3V19H6.8C6.2 19 5.8 18.5 5.8 18V10.3L12 5.3L18.2 10.3V18Z",
|
|
@@ -1721,6 +1758,7 @@ var LiveStream = (function (_ref) {
|
|
|
1721
1758
|
viewBox: "0 0 24 24",
|
|
1722
1759
|
fill: "none",
|
|
1723
1760
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1761
|
+
role: "img",
|
|
1724
1762
|
"aria-label": ariaLabel
|
|
1725
1763
|
}, /*#__PURE__*/createElement("path", {
|
|
1726
1764
|
d: "M12 15.5C10.1 15.5 8.5 13.9 8.5 12C8.5 10.1 10.1 8.5 12 8.5C13.9 8.5 15.5 10.1 15.5 12C15.5 13.9 13.9 15.5 12 15.5ZM12 9.5C10.6 9.5 9.5 10.6 9.5 12C9.5 13.4 10.6 14.5 12 14.5C13.4 14.5 14.5 13.4 14.5 12C14.5 10.6 13.4 9.5 12 9.5Z",
|
|
@@ -1750,6 +1788,7 @@ var Menu = (function (_ref) {
|
|
|
1750
1788
|
viewBox: "0 0 24 24",
|
|
1751
1789
|
fill: "none",
|
|
1752
1790
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1791
|
+
role: "img",
|
|
1753
1792
|
"aria-label": ariaLabel
|
|
1754
1793
|
}, /*#__PURE__*/createElement("path", {
|
|
1755
1794
|
d: "M22 5H2V6H22V5Z",
|
|
@@ -1773,6 +1812,7 @@ var OperaAndMusic = (function (_ref) {
|
|
|
1773
1812
|
viewBox: "0 0 24 24",
|
|
1774
1813
|
fill: "none",
|
|
1775
1814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1815
|
+
role: "img",
|
|
1776
1816
|
"aria-label": ariaLabel
|
|
1777
1817
|
}, /*#__PURE__*/createElement("path", {
|
|
1778
1818
|
d: "M22 11V10C20.9391 10 19.9217 9.57857 19.1715 8.82843C18.4214 8.07828 18 7.06087 18 6H17V14.78C16.4875 14.3216 15.833 14.0532 15.1463 14.0197C14.4595 13.9862 13.7821 14.1896 13.2273 14.5958C12.6726 15.0021 12.2743 15.5866 12.0991 16.2515C11.9238 16.9164 11.9823 17.6213 12.2647 18.2482C12.5471 18.8751 13.0363 19.386 13.6504 19.6954C14.2644 20.0047 14.9661 20.0937 15.638 19.9475C16.3098 19.8013 16.9111 19.4287 17.3411 18.8921C17.771 18.3556 18.0037 17.6876 18 17V9C18.4657 9.62098 19.0696 10.125 19.7639 10.4721C20.4582 10.8193 21.2237 11 22 11V11ZM15 19C14.6044 19 14.2177 18.8827 13.8888 18.6629C13.5599 18.4432 13.3036 18.1308 13.1522 17.7654C13.0008 17.3999 12.9612 16.9978 13.0384 16.6098C13.1156 16.2219 13.306 15.8655 13.5857 15.5858C13.8655 15.3061 14.2218 15.1156 14.6098 15.0384C14.9977 14.9613 15.3999 15.0009 15.7653 15.1522C16.1308 15.3036 16.4431 15.56 16.6629 15.8889C16.8827 16.2178 17 16.6044 17 17C17 17.5304 16.7892 18.0391 16.4142 18.4142C16.0391 18.7893 15.5304 19 15 19Z",
|
|
@@ -1808,6 +1848,7 @@ var Search = (function (_ref) {
|
|
|
1808
1848
|
viewBox: "0 0 24 24",
|
|
1809
1849
|
fill: "none",
|
|
1810
1850
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1851
|
+
role: "img",
|
|
1811
1852
|
"aria-label": ariaLabel
|
|
1812
1853
|
}, /*#__PURE__*/createElement("path", {
|
|
1813
1854
|
d: "M21 20.3L16.1 15.4C17.3 14.1 18 12.4 18 10.5C18 6.4 14.6 3 10.5 3C6.4 3 3 6.4 3 10.5C3 14.6 6.4 18 10.5 18C12.4 18 14.1 17.3 15.4 16.1L20.3 21L21 20.3ZM4 10.5C4 6.9 6.9 4 10.5 4C14.1 4 17 6.9 17 10.5C17 14.1 14.1 17 10.5 17C6.9 17 4 14.1 4 10.5Z",
|
|
@@ -1825,6 +1866,7 @@ var Settings = (function (_ref) {
|
|
|
1825
1866
|
viewBox: "0 0 24 24",
|
|
1826
1867
|
fill: "none",
|
|
1827
1868
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1869
|
+
role: "img",
|
|
1828
1870
|
"aria-label": ariaLabel
|
|
1829
1871
|
}, /*#__PURE__*/createElement("path", {
|
|
1830
1872
|
d: "M19.4157 12.1133C19.4157 11.9133 19.4157 11.7133 19.4157 11.4133L22.1992 8.81328L20.1374 5.31328L16.426 6.31328C16.0137 6.11328 15.6013 5.91328 15.1889 5.71328L14.2611 2.11328H10.1374L9.20953 5.71328C8.79716 5.91328 8.38479 6.11328 8.07551 6.41328L4.36417 5.41328L2.30231 8.91328L4.98272 11.5133C4.98272 11.7133 4.98272 11.9133 4.98272 12.2133C4.98272 12.5133 4.98272 12.6133 4.98272 12.9133L2.19922 15.4133L4.26107 18.9133L8.07551 17.9133C8.38479 18.1133 8.79716 18.3133 9.20953 18.5133L10.1374 22.1133H14.2611L15.1889 18.5133C15.6013 18.3133 16.0137 18.1133 16.3229 17.8133L20.0343 18.8133L22.0961 15.3133L19.3126 12.7133C19.4157 12.5133 19.4157 12.3133 19.4157 12.1133ZM20.859 15.5133L19.6219 17.6133L16.6322 16.8133L16.1167 16.7133L15.7044 17.0133C15.3951 17.2133 14.9827 17.4133 14.6734 17.6133L14.2611 17.8133L14.158 18.3133L13.4363 21.1133H10.859L10.1374 18.2133L10.0343 17.7133L9.6219 17.5133C9.31262 17.3133 8.90025 17.2133 8.59097 16.9133L8.1786 16.6133L7.66314 16.7133L4.77654 17.5133L3.53943 15.4133L5.70437 13.3133L6.01365 13.1133V12.6133C6.01365 12.2133 6.01365 11.8133 6.01365 11.5133V11.0133L5.70437 10.7133L3.53943 8.71328L4.77654 6.61328L7.66314 7.41328L8.1786 7.51328L8.59097 7.21328C8.90025 7.01328 9.31262 6.81328 9.6219 6.61328L10.0343 6.41328L10.1374 5.91328L10.859 3.11328H13.3332L14.0549 6.01328L14.158 6.51328L14.5704 6.71328C14.8796 6.91328 15.292 7.01328 15.6013 7.31328L16.0137 7.61328L16.6322 7.41328L19.6219 6.61328L20.859 8.71328L18.6941 10.8133L18.2817 11.1133V11.6133C18.2817 12.0133 18.2817 12.4133 18.2817 12.7133V13.2133L18.591 13.5133L20.859 15.5133Z",
|
|
@@ -1845,6 +1887,7 @@ var User = (function (_ref) {
|
|
|
1845
1887
|
viewBox: "0 0 24 24",
|
|
1846
1888
|
fill: "none",
|
|
1847
1889
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1890
|
+
role: "img",
|
|
1848
1891
|
"aria-label": ariaLabel
|
|
1849
1892
|
}, /*#__PURE__*/createElement("path", {
|
|
1850
1893
|
d: "M12 12C20.1 12 20.6 16.6 20.9 20H3.1C3.4 16.6 3.9 12 12 12ZM12 11C2 11 2.4 17.7 2 21H22C21.6 17.7 22 11 12 11Z",
|
|
@@ -1865,6 +1908,7 @@ var UserSignedIn = (function (_ref) {
|
|
|
1865
1908
|
viewBox: "0 0 24 24",
|
|
1866
1909
|
fill: "none",
|
|
1867
1910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1911
|
+
role: "img",
|
|
1868
1912
|
"aria-label": ariaLabel
|
|
1869
1913
|
}, /*#__PURE__*/createElement("path", {
|
|
1870
1914
|
d: "M22 21H2C2.4 17.7 2 11 12 11C22 11 21.6 17.7 22 21Z",
|
|
@@ -1885,7 +1929,8 @@ var Facebook = (function (_ref) {
|
|
|
1885
1929
|
viewBox: "0 0 24 24",
|
|
1886
1930
|
fill: "none",
|
|
1887
1931
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1888
|
-
"aria-label": ariaLabel
|
|
1932
|
+
"aria-label": ariaLabel,
|
|
1933
|
+
role: "img"
|
|
1889
1934
|
}, /*#__PURE__*/createElement("path", {
|
|
1890
1935
|
d: "M13.6598 22H9.70976V12.14H6.99976V8.93H9.69976V6.65C9.70976 3.94 10.8998 2 14.8398 2C15.5622 2.02024 16.2831 2.07698 16.9998 2.17V5.17H15.6098C14.2098 5.17 13.6598 5.59 13.6598 6.77V8.93H16.9298L16.6398 12.14H13.6398L13.6598 22Z",
|
|
1891
1936
|
fill: color
|
|
@@ -1902,7 +1947,8 @@ var Instagram = (function (_ref) {
|
|
|
1902
1947
|
viewBox: "0 0 24 24",
|
|
1903
1948
|
fill: "none",
|
|
1904
1949
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1905
|
-
"aria-label": ariaLabel
|
|
1950
|
+
"aria-label": ariaLabel,
|
|
1951
|
+
role: "img"
|
|
1906
1952
|
}, /*#__PURE__*/createElement("path", {
|
|
1907
1953
|
d: "M11.9998 4.62C14.3998 4.62 14.6898 4.62 15.6398 4.62C16.2138 4.652 16.7784 4.78047 17.3098 5C17.6891 5.15025 18.0306 5.38245 18.3098 5.68C18.6073 5.95918 18.8395 6.30065 18.9898 6.68C19.1854 7.21552 19.2901 7.77996 19.2998 8.35C19.2998 9.35 19.3498 9.59 19.3498 11.99C19.3498 14.39 19.3498 14.68 19.2998 15.63C19.2945 16.2028 19.1931 16.7707 18.9998 17.31C18.8495 17.6893 18.6173 18.0308 18.3198 18.31C18.0406 18.6075 17.6991 18.8397 17.3198 18.99C16.7843 19.1856 16.2198 19.2904 15.6498 19.3C14.6998 19.3 14.4098 19.35 12.0098 19.35C9.60978 19.35 9.31978 19.35 8.36978 19.3C7.79694 19.2947 7.22905 19.1933 6.68978 19C6.31043 18.8497 5.96896 18.6175 5.68978 18.32C5.39223 18.0408 5.16003 17.6993 5.00978 17.32C4.81419 16.7845 4.70942 16.22 4.69978 15.65C4.69978 14.65 4.64978 14.41 4.64978 12.01C4.64978 9.61 4.64978 9.32 4.69978 8.37C4.70509 7.79716 4.8065 7.22927 4.99978 6.69C5.15003 6.31065 5.38223 5.96918 5.67978 5.69C5.95897 5.39245 6.30044 5.16025 6.67978 5.01C7.21531 4.81441 7.77974 4.70963 8.34978 4.7C9.34978 4.7 9.58978 4.7 11.9898 4.7L11.9998 4.62ZM11.9998 3C9.55978 3 9.24978 3 8.28978 3C7.54184 3.02033 6.80218 3.16219 6.09978 3.42C5.50426 3.63557 4.96202 3.9766 4.50978 4.42C4.06638 4.87223 3.72535 5.41448 3.50978 6.01C3.25197 6.7124 3.11012 7.45206 3.08978 8.2C3.08978 9.2 3.08978 9.47 3.08978 11.91C3.08978 14.35 3.08978 14.66 3.08978 15.62C3.11012 16.3679 3.25197 17.1076 3.50978 17.81C3.72535 18.4055 4.06638 18.9478 4.50978 19.4C4.96202 19.8434 5.50426 20.1844 6.09978 20.4C6.80218 20.6578 7.54184 20.7997 8.28978 20.82C9.28978 20.82 9.55978 20.87 11.9998 20.87C14.4398 20.87 14.7498 20.87 15.7098 20.82C16.4577 20.7997 17.1974 20.6578 17.8998 20.4C18.4953 20.1844 19.0375 19.8434 19.4898 19.4C19.9332 18.9478 20.2742 18.4055 20.4898 17.81C20.769 17.1411 20.9411 16.4324 20.9998 15.71C20.9998 14.71 21.0498 14.44 21.0498 12C21.0498 9.56 21.0498 9.25 20.9998 8.29C20.9794 7.54206 20.8376 6.8024 20.5798 6.1C20.3642 5.50448 20.0232 4.96223 19.5798 4.51C19.1275 4.0666 18.5853 3.72557 17.9898 3.51C17.2874 3.25219 16.5477 3.11033 15.7998 3.09C14.7998 3.09 14.5298 3.09 12.0898 3.09L11.9998 3Z",
|
|
1908
1954
|
fill: color
|
|
@@ -1925,7 +1971,8 @@ var Tiktok = (function (_ref) {
|
|
|
1925
1971
|
viewBox: "0 0 24 24",
|
|
1926
1972
|
fill: "none",
|
|
1927
1973
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1928
|
-
"aria-label": ariaLabel
|
|
1974
|
+
"aria-label": ariaLabel,
|
|
1975
|
+
role: "img"
|
|
1929
1976
|
}, /*#__PURE__*/createElement("path", {
|
|
1930
1977
|
d: "M19.6997 10.28C19.5532 10.2898 19.4062 10.2898 19.2597 10.28C18.4648 10.2811 17.6823 10.083 16.9836 9.70397C16.2849 9.32492 15.6922 8.77693 15.2597 8.11V15.51C15.2597 16.5919 14.9389 17.6494 14.3378 18.549C13.7368 19.4485 12.8825 20.1496 11.883 20.5636C10.8835 20.9776 9.78364 21.086 8.72256 20.8749C7.66148 20.6638 6.68682 20.1429 5.92183 19.3779C5.15684 18.6129 4.63587 17.6382 4.42481 16.5771C4.21375 15.5161 4.32207 14.4162 4.73608 13.4167C5.15009 12.4172 5.8512 11.5629 6.75074 10.9619C7.65027 10.3608 8.70784 10.04 9.7897 10.04H10.1297V12.73H9.7897C9.04975 12.73 8.3401 13.0239 7.81688 13.5472C7.29365 14.0704 6.9997 14.78 6.9997 15.52C6.9997 16.26 7.29365 16.9696 7.81688 17.4928C8.3401 18.0161 9.04975 18.31 9.7897 18.31C10.5372 18.3236 11.26 18.0429 11.8025 17.5285C12.345 17.0141 12.6636 16.3071 12.6897 15.56L12.6997 3H15.2797C15.3963 4.11994 15.9028 5.16325 16.7108 5.94747C17.5188 6.7317 18.5768 7.20691 19.6997 7.29V10.29",
|
|
1931
1978
|
fill: color
|
|
@@ -1942,7 +1989,8 @@ var Twitter = (function (_ref) {
|
|
|
1942
1989
|
viewBox: "0 0 24 24",
|
|
1943
1990
|
fill: "none",
|
|
1944
1991
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1945
|
-
"aria-label": ariaLabel
|
|
1992
|
+
"aria-label": ariaLabel,
|
|
1993
|
+
role: "img"
|
|
1946
1994
|
}, /*#__PURE__*/createElement("path", {
|
|
1947
1995
|
d: "M21.9998 5.88989C21.2497 6.22055 20.4541 6.43631 19.6398 6.52989C20.4934 6.0305 21.1366 5.23803 21.4498 4.29989C20.6398 4.77267 19.7583 5.11042 18.8398 5.29989C18.4539 4.89263 17.9885 4.5689 17.4725 4.34873C16.9565 4.12856 16.4008 4.01664 15.8398 4.01989C14.7662 4.01179 13.7327 4.42715 12.9634 5.17592C12.194 5.92469 11.7508 6.94652 11.7298 8.01989C11.7307 8.32978 11.7676 8.63852 11.8398 8.93989C10.2142 8.86071 8.62291 8.44473 7.1666 7.71829C5.71029 6.99186 4.42077 5.97082 3.37975 4.71989C3.02375 5.3266 2.83404 6.01646 2.82976 6.71989C2.82871 7.38732 2.9947 8.04441 3.31258 8.63128C3.63047 9.21815 4.09016 9.71614 4.64976 10.0799C3.99934 10.0599 3.36252 9.88873 2.78976 9.57989C2.78849 10.5249 3.11611 11.4409 3.71641 12.1707C4.31671 12.9006 5.15227 13.3988 6.07976 13.5799C5.72736 13.6732 5.36431 13.7203 4.99976 13.7199C4.74165 13.7169 4.48418 13.6935 4.22976 13.6499C4.49917 14.456 5.01247 15.1585 5.69862 15.6601C6.38478 16.1618 7.20987 16.4377 8.05975 16.4499C6.61975 17.5939 4.83879 18.2239 2.99976 18.2399C2.66976 18.2399 2.33976 18.2399 1.99976 18.2399C3.88906 19.4067 6.06925 20.0167 8.28976 19.9999C9.81706 20.0291 11.3349 19.7535 12.7544 19.1892C14.1739 18.6249 15.4667 17.7832 16.557 16.7133C17.6474 15.6435 18.5134 14.3669 19.1046 12.9583C19.6957 11.5498 20 10.0375 19.9998 8.50989C19.9998 8.32989 19.9998 8.15989 19.9998 7.97989C20.7857 7.40806 21.463 6.70024 21.9998 5.88989Z",
|
|
1948
1996
|
fill: color
|
|
@@ -1959,7 +2007,8 @@ var X = (function (_ref) {
|
|
|
1959
2007
|
viewBox: "0 0 24 24",
|
|
1960
2008
|
fill: "none",
|
|
1961
2009
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1962
|
-
"aria-label": ariaLabel
|
|
2010
|
+
"aria-label": ariaLabel,
|
|
2011
|
+
role: "img"
|
|
1963
2012
|
}, /*#__PURE__*/createElement("path", {
|
|
1964
2013
|
d: "M13.7124 10.6179L20.4133 3H18.8254L13.007 9.61448L8.35992 3H3L10.0274 13.0023L3 20.9908H4.58799L10.7324 14.0056L15.6401 20.9908H21L13.7124 10.6179ZM11.5375 13.0904L10.8255 12.0944L5.16016 4.16911H7.59922L12.1712 10.5651L12.8832 11.5611L18.8262 19.8748H16.3871L11.5375 13.0904Z",
|
|
1965
2014
|
fill: color
|
|
@@ -1976,7 +2025,8 @@ var Youtube = (function (_ref) {
|
|
|
1976
2025
|
viewBox: "0 0 24 24",
|
|
1977
2026
|
fill: "none",
|
|
1978
2027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1979
|
-
"aria-label": ariaLabel
|
|
2028
|
+
"aria-label": ariaLabel,
|
|
2029
|
+
role: "img"
|
|
1980
2030
|
}, /*#__PURE__*/createElement("path", {
|
|
1981
2031
|
d: "M12.4398 18.8999L8.33978 18.8199C7.00184 18.8681 5.66237 18.7877 4.33978 18.5799C2.33978 18.1699 2.21978 16.1899 2.06978 14.5799C1.86519 12.2448 1.95253 9.89335 2.32978 7.57989C2.3868 6.99013 2.66085 6.44256 3.09878 6.04344C3.5367 5.64432 4.10727 5.4221 4.69978 5.41989C9.1314 5.15166 13.5738 5.10827 18.0098 5.28989C18.4804 5.30645 18.9488 5.36332 19.4098 5.45989C21.6798 5.84989 21.7398 8.09989 21.8798 9.99989C22.0316 11.911 21.9679 13.8331 21.6898 15.7299C21.4598 17.3099 21.0298 18.6199 19.2098 18.7299C16.9298 18.8999 14.7098 19.0299 12.4198 18.9899C12.4598 18.8999 12.4498 18.8999 12.4398 18.8999ZM10.0298 14.8999L15.1398 11.9999L9.99978 9.04989L10.0298 14.8999Z",
|
|
1982
2032
|
fill: color
|
|
@@ -1993,6 +2043,7 @@ var Delete = (function (_ref) {
|
|
|
1993
2043
|
viewBox: "0 0 24 24",
|
|
1994
2044
|
fill: "none",
|
|
1995
2045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2046
|
+
role: "img",
|
|
1996
2047
|
"aria-label": ariaLabel
|
|
1997
2048
|
}, /*#__PURE__*/createElement("path", {
|
|
1998
2049
|
d: "M11 4L2 12L11 20H22V4H11ZM21 19H11.4L3.5 12L11.4 5H21V19Z",
|
|
@@ -2030,6 +2081,7 @@ var Space = (function (_ref) {
|
|
|
2030
2081
|
viewBox: "0 0 24 24",
|
|
2031
2082
|
fill: "none",
|
|
2032
2083
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2084
|
+
role: "img",
|
|
2033
2085
|
"aria-label": ariaLabel
|
|
2034
2086
|
}, /*#__PURE__*/createElement("path", {
|
|
2035
2087
|
d: "M21 16V19H3V16H2V19V20H3H21H22V19V16H21Z",
|
|
@@ -2047,6 +2099,7 @@ var Close = (function (_ref) {
|
|
|
2047
2099
|
viewBox: "0 0 24 24",
|
|
2048
2100
|
fill: "none",
|
|
2049
2101
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2102
|
+
role: "img",
|
|
2050
2103
|
"aria-label": ariaLabel
|
|
2051
2104
|
}, /*#__PURE__*/createElement("path", {
|
|
2052
2105
|
d: "M20.8996 3.9001L20.0996 3.1001L11.9996 11.3001L3.89961 3.1001L3.09961 3.9001L11.2996 12.0001L3.09961 20.1001L3.89961 20.9001L11.9996 12.7001L20.0996 20.9001L20.8996 20.1001L12.6996 12.0001L20.8996 3.9001Z",
|
|
@@ -2064,6 +2117,7 @@ var Confirm = (function (_ref) {
|
|
|
2064
2117
|
viewBox: "0 0 24 24",
|
|
2065
2118
|
fill: "none",
|
|
2066
2119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2120
|
+
role: "img",
|
|
2067
2121
|
"aria-label": ariaLabel
|
|
2068
2122
|
}, /*#__PURE__*/createElement("path", {
|
|
2069
2123
|
d: "M9.09961 21L3 12.5L3.8 11.9L9.09961 19.3L21.1996 3L21.9996 3.6L9.09961 21Z",
|
|
@@ -2081,6 +2135,7 @@ var Detract = (function (_ref) {
|
|
|
2081
2135
|
viewBox: "0 0 24 24",
|
|
2082
2136
|
fill: "none",
|
|
2083
2137
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2138
|
+
role: "img",
|
|
2084
2139
|
"aria-label": ariaLabel
|
|
2085
2140
|
}, /*#__PURE__*/createElement("path", {
|
|
2086
2141
|
d: "M21 11.5H3V12.5H21V11.5Z",
|
|
@@ -2098,6 +2153,7 @@ var Expand = (function (_ref) {
|
|
|
2098
2153
|
viewBox: "0 0 24 24",
|
|
2099
2154
|
fill: "none",
|
|
2100
2155
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2156
|
+
role: "img",
|
|
2101
2157
|
"aria-label": ariaLabel
|
|
2102
2158
|
}, /*#__PURE__*/createElement("path", {
|
|
2103
2159
|
d: "M12.5 11.5V3H11.5V11.5H3V12.5H11.5V21H12.5V12.5H21V11.5H12.5Z",
|
|
@@ -2115,6 +2171,7 @@ var ExternalLink = (function (_ref) {
|
|
|
2115
2171
|
viewBox: "0 0 24 24",
|
|
2116
2172
|
fill: "none",
|
|
2117
2173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2174
|
+
role: "img",
|
|
2118
2175
|
"aria-label": ariaLabel
|
|
2119
2176
|
}, /*#__PURE__*/createElement("path", {
|
|
2120
2177
|
d: "M18 18.5C18 19.3 17.3 20 16.5 20H5.5C4.7 20 4 19.3 4 18.5V7.5C4 6.7 4.7 6 5.5 6H10.6V5H5.5C4.1 5 3 6.1 3 7.5V18.5C3 19.9 4.1 21 5.5 21H16.5C17.9 21 19 19.9 19 18.5V13.4H18V18.5Z",
|
|
@@ -2135,6 +2192,7 @@ var GridView = (function (_ref) {
|
|
|
2135
2192
|
viewBox: "0 0 24 24",
|
|
2136
2193
|
fill: "none",
|
|
2137
2194
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2195
|
+
role: "img",
|
|
2138
2196
|
"aria-label": ariaLabel
|
|
2139
2197
|
}, /*#__PURE__*/createElement("path", {
|
|
2140
2198
|
d: "M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H14.3H15.3H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 4C19.6 4 20 4.4 20 5V8.9H15.3V4H19ZM9.7 9.9H14.4V14.6H9.7V9.9ZM8.7 14.6H4V9.9H8.7V14.6ZM15.3 9.9H20V14.6H15.3V9.9ZM14.3 8.9H9.7V4H14.4V8.9H14.3ZM5 4H8.7V8.9H4V5C4 4.4 4.4 4 5 4ZM4 19V15.6H8.7V20H5C4.4 20 4 19.6 4 19ZM9.7 20V15.6H14.4V20H9.7ZM19 20H15.3V15.6H20V19C20 19.6 19.6 20 19 20Z",
|
|
@@ -2152,6 +2210,7 @@ var ListView = (function (_ref) {
|
|
|
2152
2210
|
viewBox: "0 0 24 24",
|
|
2153
2211
|
fill: "none",
|
|
2154
2212
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2213
|
+
role: "img",
|
|
2155
2214
|
"aria-label": ariaLabel
|
|
2156
2215
|
}, /*#__PURE__*/createElement("path", {
|
|
2157
2216
|
d: "M3 3V7H21V3H3ZM20 6H4V4H20V6Z",
|
|
@@ -2175,6 +2234,7 @@ var Refresh = (function (_ref) {
|
|
|
2175
2234
|
viewBox: "0 0 24 24",
|
|
2176
2235
|
fill: "none",
|
|
2177
2236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2237
|
+
role: "img",
|
|
2178
2238
|
"aria-label": ariaLabel
|
|
2179
2239
|
}, /*#__PURE__*/createElement("path", {
|
|
2180
2240
|
d: "M18.71 13.9001C18.3138 15.3804 17.4428 16.6898 16.2307 17.6273C15.0186 18.5648 13.5323 19.0787 12 19.0901C10.2633 19.0541 8.59637 18.3999 7.29868 17.2452C6.00098 16.0905 5.15758 14.5108 4.92 12.7901L6.64 14.2901L7.21 13.5701L4.42 11.1001L2 14.0001L2.7 14.5901L4.17 12.8301C4.33413 14.6921 5.15733 16.4345 6.49149 17.7437C7.82566 19.0529 9.58323 19.8431 11.448 19.9721C13.3128 20.1011 15.1624 19.5604 16.6641 18.4473C18.1658 17.3342 19.2211 15.7218 19.64 13.9001H18.71Z",
|
|
@@ -2195,6 +2255,7 @@ var Remove = (function (_ref) {
|
|
|
2195
2255
|
viewBox: "0 0 12 12",
|
|
2196
2256
|
fill: "none",
|
|
2197
2257
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2258
|
+
role: "img",
|
|
2198
2259
|
"aria-label": ariaLabel
|
|
2199
2260
|
}, /*#__PURE__*/createElement("path", {
|
|
2200
2261
|
d: "M7.06066 5.93957L11.0001 2.00011L9.93945 0.939453L6 4.87891L2.06055 0.939453L0.999887 2.00011L4.93934 5.93957L0.939453 9.93945L2.00011 11.0001L6 7.00023L9.99989 11.0001L11.0605 9.93945L7.06066 5.93957Z",
|
|
@@ -2212,6 +2273,7 @@ var Star = (function (_ref) {
|
|
|
2212
2273
|
viewBox: "0 0 48 46",
|
|
2213
2274
|
fill: "none",
|
|
2214
2275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2276
|
+
role: "img",
|
|
2215
2277
|
"aria-label": ariaLabel
|
|
2216
2278
|
}, /*#__PURE__*/createElement("path", {
|
|
2217
2279
|
d: "M24 0L30.0248 16.7076L47.7764 17.2746L33.7483 28.1674L38.6946 45.2254L24 35.25L9.30537 45.2254L14.2517 28.1674L0.223587 17.2746L17.9752 16.7076L24 0Z",
|
|
@@ -2229,6 +2291,7 @@ var AudioDescription = (function (_ref) {
|
|
|
2229
2291
|
viewBox: "0 0 24 24",
|
|
2230
2292
|
fill: "none",
|
|
2231
2293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2294
|
+
role: "img",
|
|
2232
2295
|
"aria-label": ariaLabel
|
|
2233
2296
|
}, /*#__PURE__*/createElement("path", {
|
|
2234
2297
|
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
@@ -2252,6 +2315,7 @@ var Back10 = (function (_ref) {
|
|
|
2252
2315
|
viewBox: "0 0 24 24",
|
|
2253
2316
|
fill: "none",
|
|
2254
2317
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2318
|
+
role: "img",
|
|
2255
2319
|
"aria-label": ariaLabel
|
|
2256
2320
|
}, /*#__PURE__*/createElement("path", {
|
|
2257
2321
|
d: "M18.1992 6.1C14.9992 2.9 9.89922 2.7 6.49922 5.5L6.69922 3H5.69922L5.39922 7.1L9.49922 7.4L9.59922 6.4L7.09922 6.2C10.0992 3.7 14.5992 3.9 17.3992 6.7C20.3992 9.7 20.3992 14.6 17.3992 17.6C14.3992 20.6 9.49922 20.6 6.49922 17.6C4.99922 16.1 4.19922 14.2 4.19922 12.1H3.19922C3.19922 14.4 4.09922 16.6 5.79922 18.3C7.49922 20.1 9.79922 21 11.9992 21C14.1992 21 16.4992 20.1 18.1992 18.4C21.5992 15 21.5992 9.5 18.1992 6.1Z",
|
|
@@ -2275,6 +2339,7 @@ var Clips = (function (_ref) {
|
|
|
2275
2339
|
viewBox: "0 0 24 24",
|
|
2276
2340
|
fill: "none",
|
|
2277
2341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2342
|
+
role: "img",
|
|
2278
2343
|
"aria-label": ariaLabel
|
|
2279
2344
|
}, /*#__PURE__*/createElement("path", {
|
|
2280
2345
|
d: "M15 11V19H3V11H15ZM16 10H2V20H16V10Z",
|
|
@@ -2298,6 +2363,7 @@ var Forward10 = (function (_ref) {
|
|
|
2298
2363
|
viewBox: "0 0 24 24",
|
|
2299
2364
|
fill: "none",
|
|
2300
2365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2366
|
+
role: "img",
|
|
2301
2367
|
"aria-label": ariaLabel
|
|
2302
2368
|
}, /*#__PURE__*/createElement("path", {
|
|
2303
2369
|
d: "M5.8 6.0999C9 2.8999 14.1 2.6999 17.5 5.4999L17.3 2.9999L18.3 2.8999L18.6 6.9999L14.5 7.2999L14.4 6.2999L16.9 6.0999C13.8 3.7999 9.4 3.9999 6.5 6.7999C3.5 9.7999 3.5 14.6999 6.5 17.6999C9.5 20.6999 14.4 20.6999 17.4 17.6999C18.9 16.1999 19.7 14.2999 19.7 12.1999H20.7C20.7 14.4999 19.8 16.6999 18.1 18.3999C16.5 20.0999 14.2 20.9999 12 20.9999C9.8 20.9999 7.5 20.0999 5.8 18.3999C2.4 14.9999 2.4 9.4999 5.8 6.0999Z",
|
|
@@ -2321,6 +2387,7 @@ var FullScreen = (function (_ref) {
|
|
|
2321
2387
|
viewBox: "0 0 24 24",
|
|
2322
2388
|
fill: "none",
|
|
2323
2389
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2390
|
+
role: "img",
|
|
2324
2391
|
"aria-label": ariaLabel
|
|
2325
2392
|
}, /*#__PURE__*/createElement("path", {
|
|
2326
2393
|
d: "M3 9H4V4H9V3H3V9Z",
|
|
@@ -2347,6 +2414,7 @@ var Minimise = (function (_ref) {
|
|
|
2347
2414
|
viewBox: "0 0 24 24",
|
|
2348
2415
|
fill: "none",
|
|
2349
2416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2417
|
+
role: "img",
|
|
2350
2418
|
"aria-label": ariaLabel
|
|
2351
2419
|
}, /*#__PURE__*/createElement("path", {
|
|
2352
2420
|
d: "M9 3H8V8H3V9H9V3Z",
|
|
@@ -2373,6 +2441,7 @@ var Muted = (function (_ref) {
|
|
|
2373
2441
|
viewBox: "0 0 24 24",
|
|
2374
2442
|
fill: "none",
|
|
2375
2443
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2444
|
+
role: "img",
|
|
2376
2445
|
"aria-label": ariaLabel
|
|
2377
2446
|
}, /*#__PURE__*/createElement("path", {
|
|
2378
2447
|
d: "M22.0008 9.9001L21.3008 9.1001L19.2008 11.3001L17.0008 9.1001L16.3008 9.9001L18.4008 12.0001L16.3008 14.1001L17.0008 14.9001L19.2008 12.7001L21.3008 14.9001L22.0008 14.1001L19.9008 12.0001L22.0008 9.9001Z",
|
|
@@ -2393,6 +2462,7 @@ var Pause = (function (_ref) {
|
|
|
2393
2462
|
viewBox: "0 0 24 24",
|
|
2394
2463
|
fill: "none",
|
|
2395
2464
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2465
|
+
role: "img",
|
|
2396
2466
|
"aria-label": ariaLabel
|
|
2397
2467
|
}, /*#__PURE__*/createElement("path", {
|
|
2398
2468
|
d: "M10 2H4V22H10V2Z",
|
|
@@ -2413,6 +2483,7 @@ var Play = (function (_ref) {
|
|
|
2413
2483
|
viewBox: "0 0 24 24",
|
|
2414
2484
|
fill: "none",
|
|
2415
2485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2486
|
+
role: "img",
|
|
2416
2487
|
"aria-label": ariaLabel
|
|
2417
2488
|
}, /*#__PURE__*/createElement("path", {
|
|
2418
2489
|
d: "M5.5 3.8999L20 11.9999L5.5 20.0999V3.8999Z",
|
|
@@ -2433,6 +2504,7 @@ var Restart = (function (_ref) {
|
|
|
2433
2504
|
viewBox: "0 0 24 24",
|
|
2434
2505
|
fill: "none",
|
|
2435
2506
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2507
|
+
role: "img",
|
|
2436
2508
|
"aria-label": ariaLabel
|
|
2437
2509
|
}, /*#__PURE__*/createElement("path", {
|
|
2438
2510
|
d: "M12.6 7.4H5.9L9.6 3.7L8.9 3L4 7.9L8.9 12.8L9.6 12.1L5.9 8.4H12.6C16.1 8.4 18.9 11.2 18.9 14.7C18.9 18.2 16 21 12.6 21C9.1 21 6.3 18.2 6.3 14.7H5.3C5.3 18.7 8.6 22 12.6 22C16.6 22 19.9 18.7 19.9 14.7C19.8 10.7 16.6 7.4 12.6 7.4Z",
|
|
@@ -2450,6 +2522,7 @@ var Subtitles = (function (_ref) {
|
|
|
2450
2522
|
viewBox: "0 0 24 24",
|
|
2451
2523
|
fill: "none",
|
|
2452
2524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2525
|
+
role: "img",
|
|
2453
2526
|
"aria-label": ariaLabel
|
|
2454
2527
|
}, /*#__PURE__*/createElement("path", {
|
|
2455
2528
|
d: "M9 7H7V8H9V7Z",
|
|
@@ -2485,6 +2558,7 @@ var Trailer = (function (_ref) {
|
|
|
2485
2558
|
viewBox: "0 0 24 24",
|
|
2486
2559
|
fill: "none",
|
|
2487
2560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2561
|
+
role: "img",
|
|
2488
2562
|
"aria-label": ariaLabel
|
|
2489
2563
|
}, /*#__PURE__*/createElement("path", {
|
|
2490
2564
|
d: "M16.8 3H15.8H12.5H11.5H8.2H7.2H3V7.5V8.3V15.7V16.5V21H7.2H8.2H11.4H12.4H15.6H16.6H21V17V15.7V8.3V8V3H16.8ZM16.8 4H20V7.3H16.8V4ZM12.5 4H15.7V7.3H12.5V4ZM8.2 4H11.4V7.3H8.2V4ZM4 4H7.2V7.3H4V4ZM7.2 20H4V16.7H7.2V20ZM11.5 20H8.2V16.7H11.4V20H11.5ZM15.8 20H12.5V16.7H15.7V20H15.8ZM20 20H16.8V16.7H20V17V20ZM20 15.7H16.8H15.8H12.5H11.5H8.2H7.2H4V8.3H7.2H8.2H11.4H12.4H15.6H16.6H20V15.7Z",
|
|
@@ -2505,6 +2579,7 @@ var Volume = (function (_ref) {
|
|
|
2505
2579
|
viewBox: "0 0 24 24",
|
|
2506
2580
|
fill: "none",
|
|
2507
2581
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2582
|
+
role: "img",
|
|
2508
2583
|
"aria-label": ariaLabel
|
|
2509
2584
|
}, /*#__PURE__*/createElement("path", {
|
|
2510
2585
|
d: "M19 12C19 10.3 17.7 9 16 9V10C17.1 10 18 10.9 18 12C18 13.1 17.1 14 16 14V15C17.7 15 19 13.7 19 12Z",
|
|
@@ -2618,13 +2693,15 @@ var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
|
2618
2693
|
});
|
|
2619
2694
|
Icon.displayName = 'Icon';
|
|
2620
2695
|
|
|
2696
|
+
var _excluded = ["children", "iconName", "iconDirection", "iconClassName", "color"];
|
|
2697
|
+
|
|
2621
2698
|
var Button = function Button(_ref) {
|
|
2622
2699
|
var children = _ref.children,
|
|
2623
2700
|
iconName = _ref.iconName,
|
|
2624
2701
|
iconDirection = _ref.iconDirection,
|
|
2625
2702
|
iconClassName = _ref.iconClassName,
|
|
2626
2703
|
color = _ref.color,
|
|
2627
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
2704
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
2628
2705
|
|
|
2629
2706
|
var truncatedString = children.substring(0, 30);
|
|
2630
2707
|
return /*#__PURE__*/React__default.createElement(ButtonWrapper, Object.assign({}, rest, {
|
|
@@ -2745,10 +2822,12 @@ var IInformationBackgroundColour;
|
|
|
2745
2822
|
IInformationBackgroundColour["White"] = "white";
|
|
2746
2823
|
})(IInformationBackgroundColour || (IInformationBackgroundColour = {}));
|
|
2747
2824
|
|
|
2825
|
+
var _excluded$1 = ["children", "disabled"];
|
|
2826
|
+
|
|
2748
2827
|
var PrimaryButton = function PrimaryButton(_ref) {
|
|
2749
2828
|
var children = _ref.children,
|
|
2750
2829
|
disabled = _ref.disabled,
|
|
2751
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
2830
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
2752
2831
|
|
|
2753
2832
|
var description = 'This button is currently disabled';
|
|
2754
2833
|
return disabled ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(AriaDescription, {
|
|
@@ -2772,9 +2851,11 @@ var PrimaryButtonWrapper$1 = /*#__PURE__*/styled(Button)(_templateObject$5 || (_
|
|
|
2772
2851
|
return color ? "var(--base-color-" + color + ")" : theme.colors.primary;
|
|
2773
2852
|
});
|
|
2774
2853
|
|
|
2854
|
+
var _excluded$2 = ["children"];
|
|
2855
|
+
|
|
2775
2856
|
var SecondaryButton = function SecondaryButton(_ref) {
|
|
2776
2857
|
var children = _ref.children,
|
|
2777
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
2858
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
2778
2859
|
|
|
2779
2860
|
return /*#__PURE__*/React__default.createElement(PrimaryButtonWrapper$1, Object.assign({
|
|
2780
2861
|
color: Colors.Primary
|
|
@@ -2788,10 +2869,12 @@ var TertiaryButtonWrapper = /*#__PURE__*/styled.a(_templateObject$6 || (_templat
|
|
|
2788
2869
|
});
|
|
2789
2870
|
var TertiaryIconWrapper = /*#__PURE__*/styled.span(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n min-width: 20px;\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n display: inline-block;\n"])));
|
|
2790
2871
|
|
|
2872
|
+
var _excluded$3 = ["children", "color"];
|
|
2873
|
+
|
|
2791
2874
|
var Button$1 = function Button(_ref) {
|
|
2792
2875
|
var children = _ref.children,
|
|
2793
2876
|
color = _ref.color,
|
|
2794
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
2877
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
2795
2878
|
|
|
2796
2879
|
var truncatedString = children.substring(0, 100);
|
|
2797
2880
|
return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({}, rest, {
|
|
@@ -2976,12 +3059,11 @@ var _templateObject$9;
|
|
|
2976
3059
|
var Grid = /*#__PURE__*/styled.div(_templateObject$9 || (_templateObject$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: var(--grid-template-columns);\n grid-template-rows: max-content;\n gap: var(--grid-column-gap);\n margin: 0;\n"])));
|
|
2977
3060
|
|
|
2978
3061
|
var _templateObject$a;
|
|
2979
|
-
var GridItem = /*#__PURE__*/styled.div(_templateObject$a || (_templateObject$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: ", " / span
|
|
3062
|
+
var GridItem = /*#__PURE__*/styled.div(_templateObject$a || (_templateObject$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-column: ", " / span ", ";\n\n @media ", " {\n & {\n grid-column: ", " /\n span ", ";\n }\n }\n\n @media ", " {\n & {\n grid-column: ", " / span\n ", ";\n }\n }\n"])), function (_ref) {
|
|
2980
3063
|
var columnStartDesktop = _ref.columnStartDesktop;
|
|
2981
3064
|
return columnStartDesktop;
|
|
2982
3065
|
}, function (_ref2) {
|
|
2983
|
-
var
|
|
2984
|
-
columnSpanDesktop = _ref2$columnSpanDeskt === void 0 ? 1 : _ref2$columnSpanDeskt;
|
|
3066
|
+
var columnSpanDesktop = _ref2.columnSpanDesktop;
|
|
2985
3067
|
return columnSpanDesktop;
|
|
2986
3068
|
}, devices.mobile, function (_ref3) {
|
|
2987
3069
|
var columnStartDevice = _ref3.columnStartDevice,
|
|
@@ -3322,6 +3404,7 @@ var ErrorLabel = /*#__PURE__*/styled.div(_templateObject6 || (_templateObject6 =
|
|
|
3322
3404
|
return 'var(--base-color-errorstate)';
|
|
3323
3405
|
});
|
|
3324
3406
|
|
|
3407
|
+
var _excluded$4 = ["children", "disabled", "error", "darkMode", "blackBox"];
|
|
3325
3408
|
/**
|
|
3326
3409
|
* A Radio component, that wraps around the native `<input type="radio"/>` element
|
|
3327
3410
|
* and adds some extra styling, states and information around it (i.e. an error label,
|
|
@@ -3351,7 +3434,7 @@ var Radio2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3351
3434
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
3352
3435
|
_ref$blackBox = _ref.blackBox,
|
|
3353
3436
|
blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
|
|
3354
|
-
inputProps = _objectWithoutPropertiesLoose(_ref,
|
|
3437
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
3355
3438
|
|
|
3356
3439
|
return /*#__PURE__*/React__default.createElement(Container, null, /*#__PURE__*/React__default.createElement(TickboxLabel, {
|
|
3357
3440
|
darkMode: darkMode,
|
|
@@ -3871,6 +3954,8 @@ var TabLinkWrapper = /*#__PURE__*/styled.a(_templateObject$m || (_templateObject
|
|
|
3871
3954
|
});
|
|
3872
3955
|
var TabLinkIconWrapper = /*#__PURE__*/styled.span(_templateObject2$b || (_templateObject2$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-right: var(--button-icon-margin);\n"])));
|
|
3873
3956
|
|
|
3957
|
+
var _excluded$5 = ["children", "iconName", "iconDirection", "color", "hoverColor"];
|
|
3958
|
+
|
|
3874
3959
|
var TabLink = function TabLink(_ref) {
|
|
3875
3960
|
var children = _ref.children,
|
|
3876
3961
|
iconName = _ref.iconName,
|
|
@@ -3879,7 +3964,7 @@ var TabLink = function TabLink(_ref) {
|
|
|
3879
3964
|
color = _ref$color === void 0 ? Colors.DarkGrey : _ref$color,
|
|
3880
3965
|
_ref$hoverColor = _ref.hoverColor,
|
|
3881
3966
|
hoverColor = _ref$hoverColor === void 0 ? Colors.Primary : _ref$hoverColor,
|
|
3882
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
3967
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
3883
3968
|
|
|
3884
3969
|
return /*#__PURE__*/React__default.createElement(TabLinkWrapper, Object.assign({
|
|
3885
3970
|
color: color,
|
|
@@ -3929,6 +4014,7 @@ var TextAreaError = /*#__PURE__*/styled.div(_templateObject4$3 || (_templateObje
|
|
|
3929
4014
|
return darkMode ? 'var(--base-color-white)' : 'var(--base-color-errorstate)';
|
|
3930
4015
|
});
|
|
3931
4016
|
|
|
4017
|
+
var _excluded$6 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
|
|
3932
4018
|
/**
|
|
3933
4019
|
* An HTML textarea component for Chord.
|
|
3934
4020
|
*
|
|
@@ -3990,7 +4076,7 @@ var TextArea = function TextArea(_ref) {
|
|
|
3990
4076
|
maxLength = _ref$maxLength === void 0 ? 950 : _ref$maxLength,
|
|
3991
4077
|
_ref$tabIndex = _ref.tabIndex,
|
|
3992
4078
|
tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
|
|
3993
|
-
textareaProps = _objectWithoutPropertiesLoose(_ref,
|
|
4079
|
+
textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
3994
4080
|
|
|
3995
4081
|
return /*#__PURE__*/React__default.createElement(GridItem, {
|
|
3996
4082
|
columnStartDesktop: columnStartDesktop,
|
|
@@ -4050,6 +4136,7 @@ var ErrorLabel$1 = /*#__PURE__*/styled.div(_templateObject6$1 || (_templateObjec
|
|
|
4050
4136
|
return "var(--base-color-errorstate)";
|
|
4051
4137
|
});
|
|
4052
4138
|
|
|
4139
|
+
var _excluded$7 = ["label", "type", "error", "darkMode", "width"];
|
|
4053
4140
|
/**
|
|
4054
4141
|
* A text field component, that wraps around the native `<input />` element
|
|
4055
4142
|
* and adds some extra states and information around it (i.e. a text and an error labels,
|
|
@@ -4097,7 +4184,7 @@ var TextField = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
4097
4184
|
_ref$darkMode = _ref.darkMode,
|
|
4098
4185
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4099
4186
|
width = _ref.width,
|
|
4100
|
-
inputProps = _objectWithoutPropertiesLoose(_ref,
|
|
4187
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
4101
4188
|
|
|
4102
4189
|
var _useState = useState(false),
|
|
4103
4190
|
showPassword = _useState[0],
|
|
@@ -4188,6 +4275,7 @@ var ErrorLabel$2 = /*#__PURE__*/styled.p(_templateObject5$3 || (_templateObject5
|
|
|
4188
4275
|
return darkMode ? theme.colors.white : theme.colors.error;
|
|
4189
4276
|
});
|
|
4190
4277
|
|
|
4278
|
+
var _excluded$8 = ["label", "error", "darkMode", "width"];
|
|
4191
4279
|
/**
|
|
4192
4280
|
* @deprecated
|
|
4193
4281
|
*
|
|
@@ -4202,7 +4290,7 @@ var TextFieldLegacy = function TextFieldLegacy(_ref) {
|
|
|
4202
4290
|
_ref$darkMode = _ref.darkMode,
|
|
4203
4291
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4204
4292
|
width = _ref.width,
|
|
4205
|
-
inputProps = _objectWithoutPropertiesLoose(_ref,
|
|
4293
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
4206
4294
|
|
|
4207
4295
|
return /*#__PURE__*/React__default.createElement(TextFieldContainer, null, /*#__PURE__*/React__default.createElement("label", null, /*#__PURE__*/React__default.createElement(TextLabel$2, {
|
|
4208
4296
|
darkMode: darkMode,
|
|
@@ -4229,12 +4317,14 @@ var TextLinkWrapper = /*#__PURE__*/styled.a(_templateObject$q || (_templateObjec
|
|
|
4229
4317
|
});
|
|
4230
4318
|
var TextLinkIconWrapper = /*#__PURE__*/styled.span(_templateObject2$f || (_templateObject2$f = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n"])));
|
|
4231
4319
|
|
|
4320
|
+
var _excluded$9 = ["children", "iconName", "iconDirection", "color"];
|
|
4321
|
+
|
|
4232
4322
|
var TextLink = function TextLink(_ref) {
|
|
4233
4323
|
var children = _ref.children,
|
|
4234
4324
|
iconName = _ref.iconName,
|
|
4235
4325
|
iconDirection = _ref.iconDirection,
|
|
4236
4326
|
color = _ref.color,
|
|
4237
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
4327
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
4238
4328
|
|
|
4239
4329
|
var truncatedString = children.substring(0, 30);
|
|
4240
4330
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
|
|
@@ -4429,6 +4519,7 @@ var ErrorLabel$3 = /*#__PURE__*/styled.div(_templateObject6$2 || (_templateObjec
|
|
|
4429
4519
|
return 'var(--base-color-errorstate)';
|
|
4430
4520
|
});
|
|
4431
4521
|
|
|
4522
|
+
var _excluded$a = ["children", "disabled", "error", "darkMode", "blackBox"];
|
|
4432
4523
|
/**
|
|
4433
4524
|
* A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
|
|
4434
4525
|
* and adds some extra styling, states and information around it (i.e. an error label,
|
|
@@ -4458,7 +4549,7 @@ var Tickbox2 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
4458
4549
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4459
4550
|
_ref$blackBox = _ref.blackBox,
|
|
4460
4551
|
blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
|
|
4461
|
-
inputProps = _objectWithoutPropertiesLoose(_ref,
|
|
4552
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
4462
4553
|
|
|
4463
4554
|
return /*#__PURE__*/React__default.createElement(Container$2, null, /*#__PURE__*/React__default.createElement(TickboxLabel$2, {
|
|
4464
4555
|
darkMode: darkMode,
|
|
@@ -4616,197 +4707,201 @@ function createCommonjsModule(fn, module) {
|
|
|
4616
4707
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
4617
4708
|
}
|
|
4618
4709
|
|
|
4619
|
-
var runtime_1 =
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
var runtime = function (exports) {
|
|
4627
|
-
|
|
4628
|
-
var Op = Object.prototype;
|
|
4629
|
-
var hasOwn = Op.hasOwnProperty;
|
|
4630
|
-
var undefined$1; // More compressible than void 0.
|
|
4631
|
-
|
|
4632
|
-
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
4633
|
-
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
4634
|
-
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
4635
|
-
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
4636
|
-
|
|
4637
|
-
function define(obj, key, value) {
|
|
4638
|
-
Object.defineProperty(obj, key, {
|
|
4639
|
-
value: value,
|
|
4640
|
-
enumerable: true,
|
|
4641
|
-
configurable: true,
|
|
4642
|
-
writable: true
|
|
4643
|
-
});
|
|
4644
|
-
return obj[key];
|
|
4645
|
-
}
|
|
4710
|
+
var runtime_1 = createCommonjsModule(function (module) {
|
|
4711
|
+
/**
|
|
4712
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4713
|
+
*
|
|
4714
|
+
* This source code is licensed under the MIT license found in the
|
|
4715
|
+
* LICENSE file in the root directory of this source tree.
|
|
4716
|
+
*/
|
|
4646
4717
|
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4718
|
+
var runtime = (function (exports) {
|
|
4719
|
+
|
|
4720
|
+
var Op = Object.prototype;
|
|
4721
|
+
var hasOwn = Op.hasOwnProperty;
|
|
4722
|
+
var undefined$1; // More compressible than void 0.
|
|
4723
|
+
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
4724
|
+
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
4725
|
+
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
4726
|
+
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
4727
|
+
|
|
4728
|
+
function define(obj, key, value) {
|
|
4729
|
+
Object.defineProperty(obj, key, {
|
|
4730
|
+
value: value,
|
|
4731
|
+
enumerable: true,
|
|
4732
|
+
configurable: true,
|
|
4733
|
+
writable: true
|
|
4734
|
+
});
|
|
4735
|
+
return obj[key];
|
|
4736
|
+
}
|
|
4737
|
+
try {
|
|
4738
|
+
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
4739
|
+
define({}, "");
|
|
4740
|
+
} catch (err) {
|
|
4741
|
+
define = function(obj, key, value) {
|
|
4742
|
+
return obj[key] = value;
|
|
4743
|
+
};
|
|
4744
|
+
}
|
|
4655
4745
|
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
// .throw, and .return methods.
|
|
4746
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
4747
|
+
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
4748
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
4749
|
+
var generator = Object.create(protoGenerator.prototype);
|
|
4750
|
+
var context = new Context(tryLocsList || []);
|
|
4662
4751
|
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4752
|
+
// The ._invoke method unifies the implementations of the .next,
|
|
4753
|
+
// .throw, and .return methods.
|
|
4754
|
+
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
4666
4755
|
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
type: "throw",
|
|
4687
|
-
arg: err
|
|
4688
|
-
};
|
|
4689
|
-
}
|
|
4756
|
+
return generator;
|
|
4757
|
+
}
|
|
4758
|
+
exports.wrap = wrap;
|
|
4759
|
+
|
|
4760
|
+
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
4761
|
+
// record like context.tryEntries[i].completion. This interface could
|
|
4762
|
+
// have been (and was previously) designed to take a closure to be
|
|
4763
|
+
// invoked without arguments, but in all the cases we care about we
|
|
4764
|
+
// already have an existing method we want to call, so there's no need
|
|
4765
|
+
// to create a new function object. We can even get away with assuming
|
|
4766
|
+
// the method takes exactly one argument, since that happens to be true
|
|
4767
|
+
// in every case, so we don't have to touch the arguments object. The
|
|
4768
|
+
// only additional allocation required is the completion record, which
|
|
4769
|
+
// has a stable shape and so hopefully should be cheap to allocate.
|
|
4770
|
+
function tryCatch(fn, obj, arg) {
|
|
4771
|
+
try {
|
|
4772
|
+
return { type: "normal", arg: fn.call(obj, arg) };
|
|
4773
|
+
} catch (err) {
|
|
4774
|
+
return { type: "throw", arg: err };
|
|
4690
4775
|
}
|
|
4776
|
+
}
|
|
4691
4777
|
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4778
|
+
var GenStateSuspendedStart = "suspendedStart";
|
|
4779
|
+
var GenStateSuspendedYield = "suspendedYield";
|
|
4780
|
+
var GenStateExecuting = "executing";
|
|
4781
|
+
var GenStateCompleted = "completed";
|
|
4782
|
+
|
|
4783
|
+
// Returning this object from the innerFn has the same effect as
|
|
4784
|
+
// breaking out of the dispatch switch statement.
|
|
4785
|
+
var ContinueSentinel = {};
|
|
4786
|
+
|
|
4787
|
+
// Dummy constructor functions that we use as the .constructor and
|
|
4788
|
+
// .constructor.prototype properties for functions that return Generator
|
|
4789
|
+
// objects. For full spec compliance, you may wish to configure your
|
|
4790
|
+
// minifier not to mangle the names of these two functions.
|
|
4791
|
+
function Generator() {}
|
|
4792
|
+
function GeneratorFunction() {}
|
|
4793
|
+
function GeneratorFunctionPrototype() {}
|
|
4794
|
+
|
|
4795
|
+
// This is a polyfill for %IteratorPrototype% for environments that
|
|
4796
|
+
// don't natively support it.
|
|
4797
|
+
var IteratorPrototype = {};
|
|
4798
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
4799
|
+
return this;
|
|
4800
|
+
});
|
|
4709
4801
|
|
|
4802
|
+
var getProto = Object.getPrototypeOf;
|
|
4803
|
+
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
4804
|
+
if (NativeIteratorPrototype &&
|
|
4805
|
+
NativeIteratorPrototype !== Op &&
|
|
4806
|
+
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
4807
|
+
// This environment has a native %IteratorPrototype%; use it instead
|
|
4808
|
+
// of the polyfill.
|
|
4809
|
+
IteratorPrototype = NativeIteratorPrototype;
|
|
4810
|
+
}
|
|
4710
4811
|
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4812
|
+
var Gp = GeneratorFunctionPrototype.prototype =
|
|
4813
|
+
Generator.prototype = Object.create(IteratorPrototype);
|
|
4814
|
+
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
4815
|
+
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
4816
|
+
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
4817
|
+
GeneratorFunction.displayName = define(
|
|
4818
|
+
GeneratorFunctionPrototype,
|
|
4819
|
+
toStringTagSymbol,
|
|
4820
|
+
"GeneratorFunction"
|
|
4821
|
+
);
|
|
4822
|
+
|
|
4823
|
+
// Helper for defining the .next, .throw, and .return methods of the
|
|
4824
|
+
// Iterator interface in terms of a single ._invoke method.
|
|
4825
|
+
function defineIteratorMethods(prototype) {
|
|
4826
|
+
["next", "throw", "return"].forEach(function(method) {
|
|
4827
|
+
define(prototype, method, function(arg) {
|
|
4828
|
+
return this._invoke(method, arg);
|
|
4829
|
+
});
|
|
4714
4830
|
});
|
|
4715
|
-
|
|
4716
|
-
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
4831
|
+
}
|
|
4717
4832
|
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4833
|
+
exports.isGeneratorFunction = function(genFun) {
|
|
4834
|
+
var ctor = typeof genFun === "function" && genFun.constructor;
|
|
4835
|
+
return ctor
|
|
4836
|
+
? ctor === GeneratorFunction ||
|
|
4837
|
+
// For the native GeneratorFunction constructor, the best we can
|
|
4838
|
+
// do is to check its .name property.
|
|
4839
|
+
(ctor.displayName || ctor.name) === "GeneratorFunction"
|
|
4840
|
+
: false;
|
|
4841
|
+
};
|
|
4723
4842
|
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
function defineIteratorMethods(prototype) {
|
|
4732
|
-
["next", "throw", "return"].forEach(function (method) {
|
|
4733
|
-
define(prototype, method, function (arg) {
|
|
4734
|
-
return this._invoke(method, arg);
|
|
4735
|
-
});
|
|
4736
|
-
});
|
|
4843
|
+
exports.mark = function(genFun) {
|
|
4844
|
+
if (Object.setPrototypeOf) {
|
|
4845
|
+
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
4846
|
+
} else {
|
|
4847
|
+
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
4848
|
+
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
4737
4849
|
}
|
|
4850
|
+
genFun.prototype = Object.create(Gp);
|
|
4851
|
+
return genFun;
|
|
4852
|
+
};
|
|
4738
4853
|
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
};
|
|
4854
|
+
// Within the body of any async function, `await x` is transformed to
|
|
4855
|
+
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
4856
|
+
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
4857
|
+
// meant to be awaited.
|
|
4858
|
+
exports.awrap = function(arg) {
|
|
4859
|
+
return { __await: arg };
|
|
4860
|
+
};
|
|
4745
4861
|
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4862
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
4863
|
+
function invoke(method, arg, resolve, reject) {
|
|
4864
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
4865
|
+
if (record.type === "throw") {
|
|
4866
|
+
reject(record.arg);
|
|
4749
4867
|
} else {
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
// meant to be awaited.
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
exports.awrap = function (arg) {
|
|
4763
|
-
return {
|
|
4764
|
-
__await: arg
|
|
4765
|
-
};
|
|
4766
|
-
};
|
|
4767
|
-
|
|
4768
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
4769
|
-
function invoke(method, arg, resolve, reject) {
|
|
4770
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
4771
|
-
|
|
4772
|
-
if (record.type === "throw") {
|
|
4773
|
-
reject(record.arg);
|
|
4774
|
-
} else {
|
|
4775
|
-
var result = record.arg;
|
|
4776
|
-
var value = result.value;
|
|
4777
|
-
|
|
4778
|
-
if (value && typeof value === "object" && hasOwn.call(value, "__await")) {
|
|
4779
|
-
return PromiseImpl.resolve(value.__await).then(function (value) {
|
|
4780
|
-
invoke("next", value, resolve, reject);
|
|
4781
|
-
}, function (err) {
|
|
4782
|
-
invoke("throw", err, resolve, reject);
|
|
4783
|
-
});
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
return PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
4787
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
4788
|
-
// the .value of the Promise<{value,done}> result for the
|
|
4789
|
-
// current iteration.
|
|
4790
|
-
result.value = unwrapped;
|
|
4791
|
-
resolve(result);
|
|
4792
|
-
}, function (error) {
|
|
4793
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
4794
|
-
// into the async generator function so it can be handled there.
|
|
4795
|
-
return invoke("throw", error, resolve, reject);
|
|
4868
|
+
var result = record.arg;
|
|
4869
|
+
var value = result.value;
|
|
4870
|
+
if (value &&
|
|
4871
|
+
typeof value === "object" &&
|
|
4872
|
+
hasOwn.call(value, "__await")) {
|
|
4873
|
+
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
4874
|
+
invoke("next", value, resolve, reject);
|
|
4875
|
+
}, function(err) {
|
|
4876
|
+
invoke("throw", err, resolve, reject);
|
|
4796
4877
|
});
|
|
4797
4878
|
}
|
|
4879
|
+
|
|
4880
|
+
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
4881
|
+
// When a yielded Promise is resolved, its final value becomes
|
|
4882
|
+
// the .value of the Promise<{value,done}> result for the
|
|
4883
|
+
// current iteration.
|
|
4884
|
+
result.value = unwrapped;
|
|
4885
|
+
resolve(result);
|
|
4886
|
+
}, function(error) {
|
|
4887
|
+
// If a rejected Promise was yielded, throw the rejection back
|
|
4888
|
+
// into the async generator function so it can be handled there.
|
|
4889
|
+
return invoke("throw", error, resolve, reject);
|
|
4890
|
+
});
|
|
4798
4891
|
}
|
|
4892
|
+
}
|
|
4799
4893
|
|
|
4800
|
-
|
|
4894
|
+
var previousPromise;
|
|
4801
4895
|
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4896
|
+
function enqueue(method, arg) {
|
|
4897
|
+
function callInvokeWithMethodAndArg() {
|
|
4898
|
+
return new PromiseImpl(function(resolve, reject) {
|
|
4899
|
+
invoke(method, arg, resolve, reject);
|
|
4900
|
+
});
|
|
4901
|
+
}
|
|
4808
4902
|
|
|
4809
|
-
|
|
4903
|
+
return previousPromise =
|
|
4904
|
+
// If enqueue has been called before, then we want to wait until
|
|
4810
4905
|
// all previous Promises have been resolved before calling invoke,
|
|
4811
4906
|
// so that results are always delivered in the correct order. If
|
|
4812
4907
|
// enqueue has not been called before, then it is important to
|
|
@@ -4818,527 +4913,554 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
4818
4913
|
// execute code before the first await. Since we implement simple
|
|
4819
4914
|
// async functions in terms of async generators, it is especially
|
|
4820
4915
|
// important to get this right, even though it requires care.
|
|
4821
|
-
previousPromise ? previousPromise.then(
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
this._invoke = enqueue;
|
|
4916
|
+
previousPromise ? previousPromise.then(
|
|
4917
|
+
callInvokeWithMethodAndArg,
|
|
4918
|
+
// Avoid propagating failures to Promises returned by later
|
|
4919
|
+
// invocations of the iterator.
|
|
4920
|
+
callInvokeWithMethodAndArg
|
|
4921
|
+
) : callInvokeWithMethodAndArg();
|
|
4829
4922
|
}
|
|
4830
4923
|
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
|
|
4836
|
-
// AsyncIterator objects; they just return a Promise for the value of
|
|
4837
|
-
// the final result produced by the iterator.
|
|
4838
|
-
|
|
4839
|
-
exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
4840
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
4841
|
-
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
4842
|
-
return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
|
4843
|
-
: iter.next().then(function (result) {
|
|
4844
|
-
return result.done ? result.value : iter.next();
|
|
4845
|
-
});
|
|
4846
|
-
};
|
|
4924
|
+
// Define the unified helper method that is used to implement .next,
|
|
4925
|
+
// .throw, and .return (see defineIteratorMethods).
|
|
4926
|
+
this._invoke = enqueue;
|
|
4927
|
+
}
|
|
4847
4928
|
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4929
|
+
defineIteratorMethods(AsyncIterator.prototype);
|
|
4930
|
+
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
4931
|
+
return this;
|
|
4932
|
+
});
|
|
4933
|
+
exports.AsyncIterator = AsyncIterator;
|
|
4934
|
+
|
|
4935
|
+
// Note that simple async functions are implemented on top of
|
|
4936
|
+
// AsyncIterator objects; they just return a Promise for the value of
|
|
4937
|
+
// the final result produced by the iterator.
|
|
4938
|
+
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
4939
|
+
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
4940
|
+
|
|
4941
|
+
var iter = new AsyncIterator(
|
|
4942
|
+
wrap(innerFn, outerFn, self, tryLocsList),
|
|
4943
|
+
PromiseImpl
|
|
4944
|
+
);
|
|
4945
|
+
|
|
4946
|
+
return exports.isGeneratorFunction(outerFn)
|
|
4947
|
+
? iter // If outerFn is a generator, return the full iterator.
|
|
4948
|
+
: iter.next().then(function(result) {
|
|
4949
|
+
return result.done ? result.value : iter.next();
|
|
4950
|
+
});
|
|
4951
|
+
};
|
|
4854
4952
|
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
throw arg;
|
|
4858
|
-
} // Be forgiving, per 25.3.3.3.3 of the spec:
|
|
4859
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
4953
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
4954
|
+
var state = GenStateSuspendedStart;
|
|
4860
4955
|
|
|
4956
|
+
return function invoke(method, arg) {
|
|
4957
|
+
if (state === GenStateExecuting) {
|
|
4958
|
+
throw new Error("Generator is already running");
|
|
4959
|
+
}
|
|
4861
4960
|
|
|
4862
|
-
|
|
4961
|
+
if (state === GenStateCompleted) {
|
|
4962
|
+
if (method === "throw") {
|
|
4963
|
+
throw arg;
|
|
4863
4964
|
}
|
|
4864
4965
|
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
var delegate = context.delegate;
|
|
4966
|
+
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
4967
|
+
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
4968
|
+
return doneResult();
|
|
4969
|
+
}
|
|
4870
4970
|
|
|
4871
|
-
|
|
4872
|
-
|
|
4971
|
+
context.method = method;
|
|
4972
|
+
context.arg = arg;
|
|
4873
4973
|
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4974
|
+
while (true) {
|
|
4975
|
+
var delegate = context.delegate;
|
|
4976
|
+
if (delegate) {
|
|
4977
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
4978
|
+
if (delegateResult) {
|
|
4979
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
4980
|
+
return delegateResult;
|
|
4878
4981
|
}
|
|
4982
|
+
}
|
|
4879
4983
|
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
} else if (context.method === "throw") {
|
|
4885
|
-
if (state === GenStateSuspendedStart) {
|
|
4886
|
-
state = GenStateCompleted;
|
|
4887
|
-
throw context.arg;
|
|
4888
|
-
}
|
|
4984
|
+
if (context.method === "next") {
|
|
4985
|
+
// Setting context._sent for legacy support of Babel's
|
|
4986
|
+
// function.sent implementation.
|
|
4987
|
+
context.sent = context._sent = context.arg;
|
|
4889
4988
|
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4989
|
+
} else if (context.method === "throw") {
|
|
4990
|
+
if (state === GenStateSuspendedStart) {
|
|
4991
|
+
state = GenStateCompleted;
|
|
4992
|
+
throw context.arg;
|
|
4893
4993
|
}
|
|
4894
4994
|
|
|
4895
|
-
|
|
4896
|
-
var record = tryCatch(innerFn, self, context);
|
|
4995
|
+
context.dispatchException(context.arg);
|
|
4897
4996
|
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
|
|
4997
|
+
} else if (context.method === "return") {
|
|
4998
|
+
context.abrupt("return", context.arg);
|
|
4999
|
+
}
|
|
4902
5000
|
|
|
4903
|
-
|
|
4904
|
-
continue;
|
|
4905
|
-
}
|
|
5001
|
+
state = GenStateExecuting;
|
|
4906
5002
|
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
5003
|
+
var record = tryCatch(innerFn, self, context);
|
|
5004
|
+
if (record.type === "normal") {
|
|
5005
|
+
// If an exception is thrown from innerFn, we leave state ===
|
|
5006
|
+
// GenStateExecuting and loop back for another invocation.
|
|
5007
|
+
state = context.done
|
|
5008
|
+
? GenStateCompleted
|
|
5009
|
+
: GenStateSuspendedYield;
|
|
4914
5010
|
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
}
|
|
4918
|
-
}
|
|
4919
|
-
};
|
|
4920
|
-
} // Call delegate.iterator[context.method](context.arg) and handle the
|
|
4921
|
-
// result, either by returning a { value, done } result from the
|
|
4922
|
-
// delegate iterator, or by modifying context.method and context.arg,
|
|
4923
|
-
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
function maybeInvokeDelegate(delegate, context) {
|
|
4927
|
-
var method = delegate.iterator[context.method];
|
|
4928
|
-
|
|
4929
|
-
if (method === undefined$1) {
|
|
4930
|
-
// A .throw or .return when the delegate iterator has no .throw
|
|
4931
|
-
// method always terminates the yield* loop.
|
|
4932
|
-
context.delegate = null;
|
|
4933
|
-
|
|
4934
|
-
if (context.method === "throw") {
|
|
4935
|
-
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
4936
|
-
if (delegate.iterator["return"]) {
|
|
4937
|
-
// If the delegate iterator has a return method, give it a
|
|
4938
|
-
// chance to clean up.
|
|
4939
|
-
context.method = "return";
|
|
4940
|
-
context.arg = undefined$1;
|
|
4941
|
-
maybeInvokeDelegate(delegate, context);
|
|
4942
|
-
|
|
4943
|
-
if (context.method === "throw") {
|
|
4944
|
-
// If maybeInvokeDelegate(context) changed context.method from
|
|
4945
|
-
// "return" to "throw", let that override the TypeError below.
|
|
4946
|
-
return ContinueSentinel;
|
|
4947
|
-
}
|
|
5011
|
+
if (record.arg === ContinueSentinel) {
|
|
5012
|
+
continue;
|
|
4948
5013
|
}
|
|
4949
5014
|
|
|
5015
|
+
return {
|
|
5016
|
+
value: record.arg,
|
|
5017
|
+
done: context.done
|
|
5018
|
+
};
|
|
5019
|
+
|
|
5020
|
+
} else if (record.type === "throw") {
|
|
5021
|
+
state = GenStateCompleted;
|
|
5022
|
+
// Dispatch the exception by looping back around to the
|
|
5023
|
+
// context.dispatchException(context.arg) call above.
|
|
4950
5024
|
context.method = "throw";
|
|
4951
|
-
context.arg =
|
|
5025
|
+
context.arg = record.arg;
|
|
4952
5026
|
}
|
|
4953
|
-
|
|
4954
|
-
return ContinueSentinel;
|
|
4955
5027
|
}
|
|
5028
|
+
};
|
|
5029
|
+
}
|
|
4956
5030
|
|
|
4957
|
-
|
|
5031
|
+
// Call delegate.iterator[context.method](context.arg) and handle the
|
|
5032
|
+
// result, either by returning a { value, done } result from the
|
|
5033
|
+
// delegate iterator, or by modifying context.method and context.arg,
|
|
5034
|
+
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
5035
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
5036
|
+
var method = delegate.iterator[context.method];
|
|
5037
|
+
if (method === undefined$1) {
|
|
5038
|
+
// A .throw or .return when the delegate iterator has no .throw
|
|
5039
|
+
// method always terminates the yield* loop.
|
|
5040
|
+
context.delegate = null;
|
|
4958
5041
|
|
|
4959
|
-
if (
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
5042
|
+
if (context.method === "throw") {
|
|
5043
|
+
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
5044
|
+
if (delegate.iterator["return"]) {
|
|
5045
|
+
// If the delegate iterator has a return method, give it a
|
|
5046
|
+
// chance to clean up.
|
|
5047
|
+
context.method = "return";
|
|
5048
|
+
context.arg = undefined$1;
|
|
5049
|
+
maybeInvokeDelegate(delegate, context);
|
|
4965
5050
|
|
|
4966
|
-
|
|
5051
|
+
if (context.method === "throw") {
|
|
5052
|
+
// If maybeInvokeDelegate(context) changed context.method from
|
|
5053
|
+
// "return" to "throw", let that override the TypeError below.
|
|
5054
|
+
return ContinueSentinel;
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
4967
5057
|
|
|
4968
|
-
if (!info) {
|
|
4969
5058
|
context.method = "throw";
|
|
4970
|
-
context.arg = new TypeError(
|
|
4971
|
-
|
|
4972
|
-
return ContinueSentinel;
|
|
5059
|
+
context.arg = new TypeError(
|
|
5060
|
+
"The iterator does not provide a 'throw' method");
|
|
4973
5061
|
}
|
|
4974
5062
|
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
4978
|
-
context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield).
|
|
5063
|
+
return ContinueSentinel;
|
|
5064
|
+
}
|
|
4979
5065
|
|
|
4980
|
-
|
|
4981
|
-
// exception, let the outer generator proceed normally. If
|
|
4982
|
-
// context.method was "next", forget context.arg since it has been
|
|
4983
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
4984
|
-
// "return", allow the original .return call to continue in the
|
|
4985
|
-
// outer generator.
|
|
5066
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
4986
5067
|
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
return info;
|
|
4994
|
-
} // The delegate iterator is finished, so forget it and continue with
|
|
4995
|
-
// the outer generator.
|
|
5068
|
+
if (record.type === "throw") {
|
|
5069
|
+
context.method = "throw";
|
|
5070
|
+
context.arg = record.arg;
|
|
5071
|
+
context.delegate = null;
|
|
5072
|
+
return ContinueSentinel;
|
|
5073
|
+
}
|
|
4996
5074
|
|
|
5075
|
+
var info = record.arg;
|
|
4997
5076
|
|
|
5077
|
+
if (! info) {
|
|
5078
|
+
context.method = "throw";
|
|
5079
|
+
context.arg = new TypeError("iterator result is not an object");
|
|
4998
5080
|
context.delegate = null;
|
|
4999
5081
|
return ContinueSentinel;
|
|
5000
|
-
}
|
|
5001
|
-
// unified ._invoke helper method.
|
|
5082
|
+
}
|
|
5002
5083
|
|
|
5084
|
+
if (info.done) {
|
|
5085
|
+
// Assign the result of the finished delegate to the temporary
|
|
5086
|
+
// variable specified by delegate.resultName (see delegateYield).
|
|
5087
|
+
context[delegate.resultName] = info.value;
|
|
5088
|
+
|
|
5089
|
+
// Resume execution at the desired location (see delegateYield).
|
|
5090
|
+
context.next = delegate.nextLoc;
|
|
5091
|
+
|
|
5092
|
+
// If context.method was "throw" but the delegate handled the
|
|
5093
|
+
// exception, let the outer generator proceed normally. If
|
|
5094
|
+
// context.method was "next", forget context.arg since it has been
|
|
5095
|
+
// "consumed" by the delegate iterator. If context.method was
|
|
5096
|
+
// "return", allow the original .return call to continue in the
|
|
5097
|
+
// outer generator.
|
|
5098
|
+
if (context.method !== "return") {
|
|
5099
|
+
context.method = "next";
|
|
5100
|
+
context.arg = undefined$1;
|
|
5101
|
+
}
|
|
5003
5102
|
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
5009
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
5103
|
+
} else {
|
|
5104
|
+
// Re-yield the result returned by the delegate method.
|
|
5105
|
+
return info;
|
|
5106
|
+
}
|
|
5010
5107
|
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
});
|
|
5108
|
+
// The delegate iterator is finished, so forget it and continue with
|
|
5109
|
+
// the outer generator.
|
|
5110
|
+
context.delegate = null;
|
|
5111
|
+
return ContinueSentinel;
|
|
5112
|
+
}
|
|
5017
5113
|
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
};
|
|
5114
|
+
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
5115
|
+
// unified ._invoke helper method.
|
|
5116
|
+
defineIteratorMethods(Gp);
|
|
5022
5117
|
|
|
5023
|
-
|
|
5024
|
-
entry.catchLoc = locs[1];
|
|
5025
|
-
}
|
|
5118
|
+
define(Gp, toStringTagSymbol, "Generator");
|
|
5026
5119
|
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5120
|
+
// A Generator should always return itself as the iterator object when the
|
|
5121
|
+
// @@iterator function is called on it. Some browsers' implementations of the
|
|
5122
|
+
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
5123
|
+
// object to not be returned from this call. This ensures that doesn't happen.
|
|
5124
|
+
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
5125
|
+
define(Gp, iteratorSymbol, function() {
|
|
5126
|
+
return this;
|
|
5127
|
+
});
|
|
5031
5128
|
|
|
5032
|
-
|
|
5033
|
-
|
|
5129
|
+
define(Gp, "toString", function() {
|
|
5130
|
+
return "[object Generator]";
|
|
5131
|
+
});
|
|
5132
|
+
|
|
5133
|
+
function pushTryEntry(locs) {
|
|
5134
|
+
var entry = { tryLoc: locs[0] };
|
|
5034
5135
|
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
record.type = "normal";
|
|
5038
|
-
delete record.arg;
|
|
5039
|
-
entry.completion = record;
|
|
5136
|
+
if (1 in locs) {
|
|
5137
|
+
entry.catchLoc = locs[1];
|
|
5040
5138
|
}
|
|
5041
5139
|
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
// locations where there is no enclosing try statement.
|
|
5046
|
-
this.tryEntries = [{
|
|
5047
|
-
tryLoc: "root"
|
|
5048
|
-
}];
|
|
5049
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
5050
|
-
this.reset(true);
|
|
5140
|
+
if (2 in locs) {
|
|
5141
|
+
entry.finallyLoc = locs[2];
|
|
5142
|
+
entry.afterLoc = locs[3];
|
|
5051
5143
|
}
|
|
5052
5144
|
|
|
5053
|
-
|
|
5054
|
-
|
|
5145
|
+
this.tryEntries.push(entry);
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
function resetTryEntry(entry) {
|
|
5149
|
+
var record = entry.completion || {};
|
|
5150
|
+
record.type = "normal";
|
|
5151
|
+
delete record.arg;
|
|
5152
|
+
entry.completion = record;
|
|
5153
|
+
}
|
|
5154
|
+
|
|
5155
|
+
function Context(tryLocsList) {
|
|
5156
|
+
// The root entry object (effectively a try statement without a catch
|
|
5157
|
+
// or a finally block) gives us a place to store values thrown from
|
|
5158
|
+
// locations where there is no enclosing try statement.
|
|
5159
|
+
this.tryEntries = [{ tryLoc: "root" }];
|
|
5160
|
+
tryLocsList.forEach(pushTryEntry, this);
|
|
5161
|
+
this.reset(true);
|
|
5162
|
+
}
|
|
5055
5163
|
|
|
5056
|
-
|
|
5057
|
-
|
|
5164
|
+
exports.keys = function(object) {
|
|
5165
|
+
var keys = [];
|
|
5166
|
+
for (var key in object) {
|
|
5167
|
+
keys.push(key);
|
|
5168
|
+
}
|
|
5169
|
+
keys.reverse();
|
|
5170
|
+
|
|
5171
|
+
// Rather than returning an object with a next method, we keep
|
|
5172
|
+
// things simple and return the next function itself.
|
|
5173
|
+
return function next() {
|
|
5174
|
+
while (keys.length) {
|
|
5175
|
+
var key = keys.pop();
|
|
5176
|
+
if (key in object) {
|
|
5177
|
+
next.value = key;
|
|
5178
|
+
next.done = false;
|
|
5179
|
+
return next;
|
|
5180
|
+
}
|
|
5058
5181
|
}
|
|
5059
5182
|
|
|
5060
|
-
|
|
5061
|
-
//
|
|
5183
|
+
// To avoid creating an additional object, we just hang the .value
|
|
5184
|
+
// and .done properties off the next function object itself. This
|
|
5185
|
+
// also ensures that the minifier will not anonymize the function.
|
|
5186
|
+
next.done = true;
|
|
5187
|
+
return next;
|
|
5188
|
+
};
|
|
5189
|
+
};
|
|
5190
|
+
|
|
5191
|
+
function values(iterable) {
|
|
5192
|
+
if (iterable) {
|
|
5193
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
5194
|
+
if (iteratorMethod) {
|
|
5195
|
+
return iteratorMethod.call(iterable);
|
|
5196
|
+
}
|
|
5062
5197
|
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5198
|
+
if (typeof iterable.next === "function") {
|
|
5199
|
+
return iterable;
|
|
5200
|
+
}
|
|
5066
5201
|
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5202
|
+
if (!isNaN(iterable.length)) {
|
|
5203
|
+
var i = -1, next = function next() {
|
|
5204
|
+
while (++i < iterable.length) {
|
|
5205
|
+
if (hasOwn.call(iterable, i)) {
|
|
5206
|
+
next.value = iterable[i];
|
|
5207
|
+
next.done = false;
|
|
5208
|
+
return next;
|
|
5209
|
+
}
|
|
5071
5210
|
}
|
|
5072
|
-
} // To avoid creating an additional object, we just hang the .value
|
|
5073
|
-
// and .done properties off the next function object itself. This
|
|
5074
|
-
// also ensures that the minifier will not anonymize the function.
|
|
5075
5211
|
|
|
5212
|
+
next.value = undefined$1;
|
|
5213
|
+
next.done = true;
|
|
5076
5214
|
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
};
|
|
5080
|
-
};
|
|
5215
|
+
return next;
|
|
5216
|
+
};
|
|
5081
5217
|
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5218
|
+
return next.next = next;
|
|
5219
|
+
}
|
|
5220
|
+
}
|
|
5085
5221
|
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5222
|
+
// Return an iterator with no values.
|
|
5223
|
+
return { next: doneResult };
|
|
5224
|
+
}
|
|
5225
|
+
exports.values = values;
|
|
5089
5226
|
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5227
|
+
function doneResult() {
|
|
5228
|
+
return { value: undefined$1, done: true };
|
|
5229
|
+
}
|
|
5093
5230
|
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5231
|
+
Context.prototype = {
|
|
5232
|
+
constructor: Context,
|
|
5233
|
+
|
|
5234
|
+
reset: function(skipTempReset) {
|
|
5235
|
+
this.prev = 0;
|
|
5236
|
+
this.next = 0;
|
|
5237
|
+
// Resetting context._sent for legacy support of Babel's
|
|
5238
|
+
// function.sent implementation.
|
|
5239
|
+
this.sent = this._sent = undefined$1;
|
|
5240
|
+
this.done = false;
|
|
5241
|
+
this.delegate = null;
|
|
5242
|
+
|
|
5243
|
+
this.method = "next";
|
|
5244
|
+
this.arg = undefined$1;
|
|
5245
|
+
|
|
5246
|
+
this.tryEntries.forEach(resetTryEntry);
|
|
5247
|
+
|
|
5248
|
+
if (!skipTempReset) {
|
|
5249
|
+
for (var name in this) {
|
|
5250
|
+
// Not sure about the optimal order of these conditions:
|
|
5251
|
+
if (name.charAt(0) === "t" &&
|
|
5252
|
+
hasOwn.call(this, name) &&
|
|
5253
|
+
!isNaN(+name.slice(1))) {
|
|
5254
|
+
this[name] = undefined$1;
|
|
5255
|
+
}
|
|
5256
|
+
}
|
|
5257
|
+
}
|
|
5258
|
+
},
|
|
5104
5259
|
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
return next;
|
|
5108
|
-
};
|
|
5260
|
+
stop: function() {
|
|
5261
|
+
this.done = true;
|
|
5109
5262
|
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5263
|
+
var rootEntry = this.tryEntries[0];
|
|
5264
|
+
var rootRecord = rootEntry.completion;
|
|
5265
|
+
if (rootRecord.type === "throw") {
|
|
5266
|
+
throw rootRecord.arg;
|
|
5267
|
+
}
|
|
5113
5268
|
|
|
5269
|
+
return this.rval;
|
|
5270
|
+
},
|
|
5114
5271
|
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5272
|
+
dispatchException: function(exception) {
|
|
5273
|
+
if (this.done) {
|
|
5274
|
+
throw exception;
|
|
5275
|
+
}
|
|
5119
5276
|
|
|
5120
|
-
|
|
5277
|
+
var context = this;
|
|
5278
|
+
function handle(loc, caught) {
|
|
5279
|
+
record.type = "throw";
|
|
5280
|
+
record.arg = exception;
|
|
5281
|
+
context.next = loc;
|
|
5121
5282
|
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5283
|
+
if (caught) {
|
|
5284
|
+
// If the dispatched exception was caught by a catch block,
|
|
5285
|
+
// then let that catch block handle the exception normally.
|
|
5286
|
+
context.method = "next";
|
|
5287
|
+
context.arg = undefined$1;
|
|
5288
|
+
}
|
|
5128
5289
|
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
reset: function reset(skipTempReset) {
|
|
5132
|
-
this.prev = 0;
|
|
5133
|
-
this.next = 0; // Resetting context._sent for legacy support of Babel's
|
|
5134
|
-
// function.sent implementation.
|
|
5290
|
+
return !! caught;
|
|
5291
|
+
}
|
|
5135
5292
|
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
this.method = "next";
|
|
5140
|
-
this.arg = undefined$1;
|
|
5141
|
-
this.tryEntries.forEach(resetTryEntry);
|
|
5293
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5294
|
+
var entry = this.tryEntries[i];
|
|
5295
|
+
var record = entry.completion;
|
|
5142
5296
|
|
|
5143
|
-
if (
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
}
|
|
5149
|
-
}
|
|
5297
|
+
if (entry.tryLoc === "root") {
|
|
5298
|
+
// Exception thrown outside of any try block that could handle
|
|
5299
|
+
// it, so set the completion value of the entire function to
|
|
5300
|
+
// throw the exception.
|
|
5301
|
+
return handle("end");
|
|
5150
5302
|
}
|
|
5151
|
-
},
|
|
5152
|
-
stop: function stop() {
|
|
5153
|
-
this.done = true;
|
|
5154
|
-
var rootEntry = this.tryEntries[0];
|
|
5155
|
-
var rootRecord = rootEntry.completion;
|
|
5156
5303
|
|
|
5157
|
-
if (
|
|
5158
|
-
|
|
5159
|
-
|
|
5304
|
+
if (entry.tryLoc <= this.prev) {
|
|
5305
|
+
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
5306
|
+
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
5160
5307
|
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5308
|
+
if (hasCatch && hasFinally) {
|
|
5309
|
+
if (this.prev < entry.catchLoc) {
|
|
5310
|
+
return handle(entry.catchLoc, true);
|
|
5311
|
+
} else if (this.prev < entry.finallyLoc) {
|
|
5312
|
+
return handle(entry.finallyLoc);
|
|
5313
|
+
}
|
|
5167
5314
|
|
|
5168
|
-
|
|
5315
|
+
} else if (hasCatch) {
|
|
5316
|
+
if (this.prev < entry.catchLoc) {
|
|
5317
|
+
return handle(entry.catchLoc, true);
|
|
5318
|
+
}
|
|
5169
5319
|
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5320
|
+
} else if (hasFinally) {
|
|
5321
|
+
if (this.prev < entry.finallyLoc) {
|
|
5322
|
+
return handle(entry.finallyLoc);
|
|
5323
|
+
}
|
|
5174
5324
|
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
// then let that catch block handle the exception normally.
|
|
5178
|
-
context.method = "next";
|
|
5179
|
-
context.arg = undefined$1;
|
|
5325
|
+
} else {
|
|
5326
|
+
throw new Error("try statement without catch or finally");
|
|
5180
5327
|
}
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
},
|
|
5181
5331
|
|
|
5182
|
-
|
|
5332
|
+
abrupt: function(type, arg) {
|
|
5333
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5334
|
+
var entry = this.tryEntries[i];
|
|
5335
|
+
if (entry.tryLoc <= this.prev &&
|
|
5336
|
+
hasOwn.call(entry, "finallyLoc") &&
|
|
5337
|
+
this.prev < entry.finallyLoc) {
|
|
5338
|
+
var finallyEntry = entry;
|
|
5339
|
+
break;
|
|
5183
5340
|
}
|
|
5341
|
+
}
|
|
5184
5342
|
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5343
|
+
if (finallyEntry &&
|
|
5344
|
+
(type === "break" ||
|
|
5345
|
+
type === "continue") &&
|
|
5346
|
+
finallyEntry.tryLoc <= arg &&
|
|
5347
|
+
arg <= finallyEntry.finallyLoc) {
|
|
5348
|
+
// Ignore the finally entry if control is not jumping to a
|
|
5349
|
+
// location outside the try/catch block.
|
|
5350
|
+
finallyEntry = null;
|
|
5351
|
+
}
|
|
5188
5352
|
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
// throw the exception.
|
|
5193
|
-
return handle("end");
|
|
5194
|
-
}
|
|
5353
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
5354
|
+
record.type = type;
|
|
5355
|
+
record.arg = arg;
|
|
5195
5356
|
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5357
|
+
if (finallyEntry) {
|
|
5358
|
+
this.method = "next";
|
|
5359
|
+
this.next = finallyEntry.finallyLoc;
|
|
5360
|
+
return ContinueSentinel;
|
|
5361
|
+
}
|
|
5199
5362
|
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
return handle(entry.catchLoc, true);
|
|
5203
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
5204
|
-
return handle(entry.finallyLoc);
|
|
5205
|
-
}
|
|
5206
|
-
} else if (hasCatch) {
|
|
5207
|
-
if (this.prev < entry.catchLoc) {
|
|
5208
|
-
return handle(entry.catchLoc, true);
|
|
5209
|
-
}
|
|
5210
|
-
} else if (hasFinally) {
|
|
5211
|
-
if (this.prev < entry.finallyLoc) {
|
|
5212
|
-
return handle(entry.finallyLoc);
|
|
5213
|
-
}
|
|
5214
|
-
} else {
|
|
5215
|
-
throw new Error("try statement without catch or finally");
|
|
5216
|
-
}
|
|
5217
|
-
}
|
|
5218
|
-
}
|
|
5219
|
-
},
|
|
5220
|
-
abrupt: function abrupt(type, arg) {
|
|
5221
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5222
|
-
var entry = this.tryEntries[i];
|
|
5363
|
+
return this.complete(record);
|
|
5364
|
+
},
|
|
5223
5365
|
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
}
|
|
5366
|
+
complete: function(record, afterLoc) {
|
|
5367
|
+
if (record.type === "throw") {
|
|
5368
|
+
throw record.arg;
|
|
5369
|
+
}
|
|
5229
5370
|
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5371
|
+
if (record.type === "break" ||
|
|
5372
|
+
record.type === "continue") {
|
|
5373
|
+
this.next = record.arg;
|
|
5374
|
+
} else if (record.type === "return") {
|
|
5375
|
+
this.rval = this.arg = record.arg;
|
|
5376
|
+
this.method = "return";
|
|
5377
|
+
this.next = "end";
|
|
5378
|
+
} else if (record.type === "normal" && afterLoc) {
|
|
5379
|
+
this.next = afterLoc;
|
|
5380
|
+
}
|
|
5235
5381
|
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
record.arg = arg;
|
|
5382
|
+
return ContinueSentinel;
|
|
5383
|
+
},
|
|
5239
5384
|
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5385
|
+
finish: function(finallyLoc) {
|
|
5386
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5387
|
+
var entry = this.tryEntries[i];
|
|
5388
|
+
if (entry.finallyLoc === finallyLoc) {
|
|
5389
|
+
this.complete(entry.completion, entry.afterLoc);
|
|
5390
|
+
resetTryEntry(entry);
|
|
5243
5391
|
return ContinueSentinel;
|
|
5244
5392
|
}
|
|
5393
|
+
}
|
|
5394
|
+
},
|
|
5245
5395
|
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
if (
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
if (record.type === "break" || record.type === "continue") {
|
|
5254
|
-
this.next = record.arg;
|
|
5255
|
-
} else if (record.type === "return") {
|
|
5256
|
-
this.rval = this.arg = record.arg;
|
|
5257
|
-
this.method = "return";
|
|
5258
|
-
this.next = "end";
|
|
5259
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
5260
|
-
this.next = afterLoc;
|
|
5261
|
-
}
|
|
5262
|
-
|
|
5263
|
-
return ContinueSentinel;
|
|
5264
|
-
},
|
|
5265
|
-
finish: function finish(finallyLoc) {
|
|
5266
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5267
|
-
var entry = this.tryEntries[i];
|
|
5268
|
-
|
|
5269
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
5270
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
5396
|
+
"catch": function(tryLoc) {
|
|
5397
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5398
|
+
var entry = this.tryEntries[i];
|
|
5399
|
+
if (entry.tryLoc === tryLoc) {
|
|
5400
|
+
var record = entry.completion;
|
|
5401
|
+
if (record.type === "throw") {
|
|
5402
|
+
var thrown = record.arg;
|
|
5271
5403
|
resetTryEntry(entry);
|
|
5272
|
-
return ContinueSentinel;
|
|
5273
5404
|
}
|
|
5405
|
+
return thrown;
|
|
5274
5406
|
}
|
|
5275
|
-
}
|
|
5276
|
-
"catch": function _catch(tryLoc) {
|
|
5277
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
5278
|
-
var entry = this.tryEntries[i];
|
|
5279
|
-
|
|
5280
|
-
if (entry.tryLoc === tryLoc) {
|
|
5281
|
-
var record = entry.completion;
|
|
5282
|
-
|
|
5283
|
-
if (record.type === "throw") {
|
|
5284
|
-
var thrown = record.arg;
|
|
5285
|
-
resetTryEntry(entry);
|
|
5286
|
-
}
|
|
5407
|
+
}
|
|
5287
5408
|
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5409
|
+
// The context.catch method must only be called with a location
|
|
5410
|
+
// argument that corresponds to a known catch block.
|
|
5411
|
+
throw new Error("illegal catch attempt");
|
|
5412
|
+
},
|
|
5292
5413
|
|
|
5414
|
+
delegateYield: function(iterable, resultName, nextLoc) {
|
|
5415
|
+
this.delegate = {
|
|
5416
|
+
iterator: values(iterable),
|
|
5417
|
+
resultName: resultName,
|
|
5418
|
+
nextLoc: nextLoc
|
|
5419
|
+
};
|
|
5293
5420
|
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
this.
|
|
5298
|
-
|
|
5299
|
-
resultName: resultName,
|
|
5300
|
-
nextLoc: nextLoc
|
|
5301
|
-
};
|
|
5421
|
+
if (this.method === "next") {
|
|
5422
|
+
// Deliberately forget the last sent value so that we don't
|
|
5423
|
+
// accidentally pass it on to the delegate.
|
|
5424
|
+
this.arg = undefined$1;
|
|
5425
|
+
}
|
|
5302
5426
|
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
this.arg = undefined$1;
|
|
5307
|
-
}
|
|
5427
|
+
return ContinueSentinel;
|
|
5428
|
+
}
|
|
5429
|
+
};
|
|
5308
5430
|
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
5431
|
+
// Regardless of whether this script is executing as a CommonJS module
|
|
5432
|
+
// or not, return the runtime object so that we can declare the variable
|
|
5433
|
+
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
5434
|
+
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
5435
|
+
return exports;
|
|
5315
5436
|
|
|
5316
|
-
|
|
5317
|
-
|
|
5437
|
+
}(
|
|
5438
|
+
// If this script is executing as a CommonJS module, use module.exports
|
|
5318
5439
|
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
5319
5440
|
// object. Either way, the resulting object will be used to initialize
|
|
5320
5441
|
// the regeneratorRuntime variable at the top of this file.
|
|
5321
|
-
module.exports
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5442
|
+
module.exports
|
|
5443
|
+
));
|
|
5444
|
+
|
|
5445
|
+
try {
|
|
5446
|
+
regeneratorRuntime = runtime;
|
|
5447
|
+
} catch (accidentalStrictMode) {
|
|
5448
|
+
// This module should not be running in strict mode, so the above
|
|
5449
|
+
// assignment should always work unless something is misconfigured. Just
|
|
5450
|
+
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
5451
|
+
// we can explicitly access globalThis. In older engines we can escape
|
|
5452
|
+
// strict mode using a global Function call. This could conceivably fail
|
|
5453
|
+
// if a Content Security Policy forbids using Function, but in that case
|
|
5454
|
+
// the proper solution is to fix the accidental strict mode problem. If
|
|
5455
|
+
// you've misconfigured your bundler to force strict mode and applied a
|
|
5456
|
+
// CSP to forbid Function, and you're not willing to fix either of those
|
|
5457
|
+
// problems, please detail your unique predicament in a GitHub issue.
|
|
5458
|
+
if (typeof globalThis === "object") {
|
|
5459
|
+
globalThis.regeneratorRuntime = runtime;
|
|
5460
|
+
} else {
|
|
5461
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
5341
5462
|
}
|
|
5463
|
+
}
|
|
5342
5464
|
});
|
|
5343
5465
|
|
|
5344
5466
|
var _templateObject$v, _templateObject2$j, _templateObject3$c, _templateObject4$9, _templateObject5$6, _templateObject6$4, _templateObject7$1, _templateObject8$1, _templateObject9, _templateObject10;
|
|
@@ -6021,7 +6143,7 @@ var useBasket = function useBasket(expiryUnixTimestamp, numItems, numVirtualItem
|
|
|
6021
6143
|
if (!expiryUnixTimestamp || numItems === 0) return function () {
|
|
6022
6144
|
return undefined;
|
|
6023
6145
|
};
|
|
6024
|
-
var interval = setInterval(function () {
|
|
6146
|
+
var interval = window.setInterval(function () {
|
|
6025
6147
|
setSeconds(getSecondsUntil(expiryUnixTimestamp));
|
|
6026
6148
|
}, 1000);
|
|
6027
6149
|
setTimer(interval);
|
|
@@ -6196,7 +6318,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
6196
6318
|
clearTimeout(timerCloseOptions);
|
|
6197
6319
|
}
|
|
6198
6320
|
|
|
6199
|
-
timerCloseOptions = setTimeout(function () {
|
|
6321
|
+
timerCloseOptions = window.setTimeout(function () {
|
|
6200
6322
|
setOpen(false);
|
|
6201
6323
|
setLockOpen(false);
|
|
6202
6324
|
setTitleSelected(false);
|
|
@@ -6836,6 +6958,8 @@ var ContactNewsletter = function ContactNewsletter(_ref) {
|
|
|
6836
6958
|
}, contact.title))));
|
|
6837
6959
|
};
|
|
6838
6960
|
|
|
6961
|
+
var _excluded$b = ["dataRoh"];
|
|
6962
|
+
|
|
6839
6963
|
var Footer = function Footer(_ref) {
|
|
6840
6964
|
var data = _ref.data;
|
|
6841
6965
|
var policyLinks = data.policyLinks;
|
|
@@ -6845,7 +6969,7 @@ var Footer = function Footer(_ref) {
|
|
|
6845
6969
|
|
|
6846
6970
|
var _data$artsLogo = data.artsLogo,
|
|
6847
6971
|
artsDataRoh = _data$artsLogo.dataRoh,
|
|
6848
|
-
artsLogo = _objectWithoutPropertiesLoose(_data$artsLogo,
|
|
6972
|
+
artsLogo = _objectWithoutPropertiesLoose(_data$artsLogo, _excluded$b);
|
|
6849
6973
|
|
|
6850
6974
|
var additionalInfo = data.additionalInfo;
|
|
6851
6975
|
return /*#__PURE__*/React__default.createElement(FooterSection, null, /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
@@ -6900,6 +7024,8 @@ var ArrowsContainer = /*#__PURE__*/styled.div(_templateObject5$c || (_templateOb
|
|
|
6900
7024
|
});
|
|
6901
7025
|
var ArrowWrapper = /*#__PURE__*/styled.div(_templateObject6$9 || (_templateObject6$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: flex-center;\n\n :hover {\n && svg path {\n fill: var(--base-color-primary);\n }\n }\n"])));
|
|
6902
7026
|
|
|
7027
|
+
var _excluded$c = ["id", "text"];
|
|
7028
|
+
|
|
6903
7029
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
6904
7030
|
var tabs = _ref.tabs,
|
|
6905
7031
|
onTabClick = _ref.onTabClick,
|
|
@@ -6979,7 +7105,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6979
7105
|
}
|
|
6980
7106
|
|
|
6981
7107
|
if (timer !== null) clearTimeout(timer);
|
|
6982
|
-
timer = setTimeout(function () {
|
|
7108
|
+
timer = window.setTimeout(function () {
|
|
6983
7109
|
if (window.pageYOffset > topOffset + navigationHeight && wrapperRef.current) {
|
|
6984
7110
|
changeWrapperVisibility(true, window.pageYOffset - navigationHeight);
|
|
6985
7111
|
}
|
|
@@ -7114,7 +7240,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
7114
7240
|
}, tabs.map(function (_ref4) {
|
|
7115
7241
|
var id = _ref4.id,
|
|
7116
7242
|
text = _ref4.text,
|
|
7117
|
-
rest = _objectWithoutPropertiesLoose(_ref4,
|
|
7243
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$c);
|
|
7118
7244
|
|
|
7119
7245
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
7120
7246
|
key: id
|
|
@@ -7170,6 +7296,9 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$4
|
|
|
7170
7296
|
var MessageWrapper = /*#__PURE__*/styled.div(_templateObject9$2 || (_templateObject9$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-right: var(--grid-outer-margin);\n height: var(--button-height);\n\n h6 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n margin-right: var(--grid-margin);\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
7171
7297
|
var MessageWrapperMobile = /*#__PURE__*/styled.div(_templateObject10$2 || (_templateObject10$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h6 {\n margin: 0;\n padding: 0;\n }\n display: none;\n\n @media ", " {\n & {\n display: flex;\n align-items: center;\n margin-left: var(--grid-margin);\n padding: 12px 0;\n }\n }\n"])), devices.mobile);
|
|
7172
7298
|
|
|
7299
|
+
var _excluded$d = ["text"],
|
|
7300
|
+
_excluded2 = ["text"];
|
|
7301
|
+
|
|
7173
7302
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
7174
7303
|
var title = _ref.title,
|
|
7175
7304
|
links = _ref.links,
|
|
@@ -7179,11 +7308,11 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
7179
7308
|
|
|
7180
7309
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
7181
7310
|
primaryButtonText = _ref2.text,
|
|
7182
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2,
|
|
7311
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$d);
|
|
7183
7312
|
|
|
7184
7313
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
7185
7314
|
secondaryButtonText = _ref3.text,
|
|
7186
|
-
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3,
|
|
7315
|
+
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2);
|
|
7187
7316
|
|
|
7188
7317
|
return /*#__PURE__*/React__default.createElement(TitleCTAGridWrapper, {
|
|
7189
7318
|
sticky: sticky
|
|
@@ -7239,6 +7368,9 @@ var formatPrice = function formatPrice(value) {
|
|
|
7239
7368
|
if (Number.isNaN(Number(value))) return value != null ? value : '';
|
|
7240
7369
|
return "\xA3" + Number(value).toFixed(2);
|
|
7241
7370
|
};
|
|
7371
|
+
var capitalizeFirstLetter = function capitalizeFirstLetter(string) {
|
|
7372
|
+
return string.substring(0, 1).toUpperCase() + string.substring(1);
|
|
7373
|
+
};
|
|
7242
7374
|
|
|
7243
7375
|
var LENGTH_SMALL_TEXT = 19;
|
|
7244
7376
|
var OFFER_TEXTS_LIMIT = 3;
|
|
@@ -7458,7 +7590,8 @@ var Accordions = function Accordions(_ref) {
|
|
|
7458
7590
|
visibleStandfirst: accordion.visibleStandfirst,
|
|
7459
7591
|
contentType: accordion.contentType,
|
|
7460
7592
|
displayLevel: accordion.displayLevel,
|
|
7461
|
-
semanticLevel: accordion.semanticLevel
|
|
7593
|
+
semanticLevel: accordion.semanticLevel,
|
|
7594
|
+
initOpen: accordion.initOpen
|
|
7462
7595
|
}, accordion.children);
|
|
7463
7596
|
}));
|
|
7464
7597
|
};
|
|
@@ -7525,11 +7658,13 @@ var AuxiliaryButtonWrapper = /*#__PURE__*/styled(Button)(_templateObject$Q || (_
|
|
|
7525
7658
|
return color;
|
|
7526
7659
|
});
|
|
7527
7660
|
|
|
7661
|
+
var _excluded$e = ["children"];
|
|
7662
|
+
|
|
7528
7663
|
var AuxiliaryButton = function AuxiliaryButton(_ref) {
|
|
7529
7664
|
var _props$color;
|
|
7530
7665
|
|
|
7531
7666
|
var children = _ref.children,
|
|
7532
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
7667
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$e);
|
|
7533
7668
|
|
|
7534
7669
|
return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
|
|
7535
7670
|
color: (_props$color = props.color) != null ? _props$color : Colors.Black,
|
|
@@ -7695,6 +7830,9 @@ var truncateReactNodeString = function truncateReactNodeString(node, resultLengt
|
|
|
7695
7830
|
return truncateHtmlString(nodeString, resultLength, addDots);
|
|
7696
7831
|
};
|
|
7697
7832
|
|
|
7833
|
+
var _excluded$f = ["text"],
|
|
7834
|
+
_excluded2$1 = ["text"];
|
|
7835
|
+
|
|
7698
7836
|
var _buttonTypeToButton;
|
|
7699
7837
|
var LENGTH_LARGE_TEXT$1 = 28;
|
|
7700
7838
|
var LENGTH_SMALL_TEXT$2 = 19;
|
|
@@ -7748,7 +7886,7 @@ var Card = function Card(_ref) {
|
|
|
7748
7886
|
var _ref2 = firstButton || {},
|
|
7749
7887
|
_ref2$text = _ref2.text,
|
|
7750
7888
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
7751
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2,
|
|
7889
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
|
|
7752
7890
|
|
|
7753
7891
|
var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
|
|
7754
7892
|
var secondButton = links == null ? void 0 : links[1];
|
|
@@ -7756,7 +7894,7 @@ var Card = function Card(_ref) {
|
|
|
7756
7894
|
var _ref3 = secondButton || {},
|
|
7757
7895
|
_ref3$text = _ref3.text,
|
|
7758
7896
|
secondButtonText = _ref3$text === void 0 ? '' : _ref3$text,
|
|
7759
|
-
restSecondButton = _objectWithoutPropertiesLoose(_ref3,
|
|
7897
|
+
restSecondButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
7760
7898
|
|
|
7761
7899
|
var tertiaryButtonTextTruncate = size === 'small' ? truncate(secondButtonText, LENGTH_SMALL_TEXT$2) : truncate(secondButtonText, LENGTH_LARGE_TEXT$1);
|
|
7762
7900
|
|
|
@@ -7825,9 +7963,9 @@ var Card = function Card(_ref) {
|
|
|
7825
7963
|
dangerouslySetInnerHTML: {
|
|
7826
7964
|
__html: truncatedText
|
|
7827
7965
|
}
|
|
7828
|
-
}), highlightText && /*#__PURE__*/React__default.createElement(HighlightTextContainer, null, /*#__PURE__*/React__default.createElement(BodyText, {
|
|
7966
|
+
}))), highlightText && /*#__PURE__*/React__default.createElement(HighlightTextContainer, null, /*#__PURE__*/React__default.createElement(BodyText, {
|
|
7829
7967
|
level: 1
|
|
7830
|
-
}, highlightText))
|
|
7968
|
+
}, highlightText)), auxiliaryCTA && /*#__PURE__*/React__default.createElement(ExtraActionsContainer, {
|
|
7831
7969
|
fullWidth: fullWidth
|
|
7832
7970
|
}, /*#__PURE__*/React__default.createElement(AuxiliaryButton, Object.assign({}, auxiliaryCTA), auxiliaryCTA.text)), links && /*#__PURE__*/React__default.createElement(ButtonsContainer$1, {
|
|
7833
7971
|
ref: node,
|
|
@@ -8245,6 +8383,8 @@ var LogoWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$f || (_templateObje
|
|
|
8245
8383
|
var ButtonWrapper$1 = /*#__PURE__*/styled.div(_templateObject7$9 || (_templateObject7$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n justify-self: end;\n align-self: end;\n\n @media ", " {\n & {\n justify-self: center;\n align-self: center;\n width: 100%;\n margin-top: 16px;\n }\n }\n"])), devices.mobile);
|
|
8246
8384
|
var PageHeadingText = /*#__PURE__*/styled.div(_templateObject8$7 || (_templateObject8$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: var(--font-size-altHeader-6);\n font-weight: var(--font-weight-altHeader-6);\n letter-spacing: var(--letter-spacing-altHeader-6);\n line-height: var(--line-height-altHeader-6);\n font-feature-settings: var(--font-feature-settings-altHeader);\n font-family: var(--font-family-altHeader);\n text-transform: var(--text-transform-altHeader);\n word-break: var(--word-break-altHeader);\n"])));
|
|
8247
8385
|
|
|
8386
|
+
var _excluded$g = ["text"];
|
|
8387
|
+
|
|
8248
8388
|
var PageHeading = function PageHeading(_ref) {
|
|
8249
8389
|
var title = _ref.title,
|
|
8250
8390
|
text = _ref.text,
|
|
@@ -8261,7 +8401,7 @@ var PageHeading = function PageHeading(_ref) {
|
|
|
8261
8401
|
|
|
8262
8402
|
var _ref2 = link || {},
|
|
8263
8403
|
linkText = _ref2.text,
|
|
8264
|
-
restLink = _objectWithoutPropertiesLoose(_ref2,
|
|
8404
|
+
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$g);
|
|
8265
8405
|
|
|
8266
8406
|
var truncatedText = text == null ? void 0 : text.substring(0, copyCharLimit);
|
|
8267
8407
|
var truncatedTitle = title && title.substring(0, titleCharLimit);
|
|
@@ -8290,9 +8430,11 @@ var PageHeading = function PageHeading(_ref) {
|
|
|
8290
8430
|
}, /*#__PURE__*/React__default.createElement(PrimaryButton, Object.assign({}, restLink), linkText)) : null));
|
|
8291
8431
|
};
|
|
8292
8432
|
|
|
8433
|
+
var _excluded$h = ["link"];
|
|
8434
|
+
|
|
8293
8435
|
var PageHeadingCore = function PageHeadingCore(_ref) {
|
|
8294
8436
|
var link = _ref.link,
|
|
8295
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
8437
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
8296
8438
|
|
|
8297
8439
|
var coreLink = link && _extends({}, link, {
|
|
8298
8440
|
color: Colors.White,
|
|
@@ -8306,9 +8448,11 @@ var PageHeadingCore = function PageHeadingCore(_ref) {
|
|
|
8306
8448
|
})));
|
|
8307
8449
|
};
|
|
8308
8450
|
|
|
8451
|
+
var _excluded$i = ["link"];
|
|
8452
|
+
|
|
8309
8453
|
var PageHeadingCinema = function PageHeadingCinema(_ref) {
|
|
8310
8454
|
var link = _ref.link,
|
|
8311
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
8455
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
8312
8456
|
|
|
8313
8457
|
var cinemaLink = link && _extends({}, link, {
|
|
8314
8458
|
color: Colors.Black,
|
|
@@ -8334,6 +8478,8 @@ var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$g || (_templateObje
|
|
|
8334
8478
|
var ButtonWrapper$2 = /*#__PURE__*/styled.div(_templateObject7$a || (_templateObject7$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n align-self: end;\n display: flex;\n justify-content: center;\n margin-top: 40px;\n\n @media ", " {\n & {\n margin-top: 0px;\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
|
|
8335
8479
|
var ScrollDownWrapper = /*#__PURE__*/styled.div(_templateObject8$8 || (_templateObject8$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 20px;\n left: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @keyframes UpDown {\n 0%,\n 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(8px);\n }\n }\n\n a {\n font-size: var(--font-size-overline-1);\n font-weight: var(--font-weight-overline-1);\n letter-spacing: var(--letter-spacing-overline-1);\n border: none;\n padding: 0;\n :hover {\n border: none;\n\n > span {\n animation: UpDown 1500ms linear infinite;\n }\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
|
|
8336
8480
|
|
|
8481
|
+
var _excluded$j = ["text"];
|
|
8482
|
+
|
|
8337
8483
|
var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
8338
8484
|
var children = _ref.children,
|
|
8339
8485
|
text = _ref.text,
|
|
@@ -8352,7 +8498,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
|
8352
8498
|
|
|
8353
8499
|
var _ref2 = link || {},
|
|
8354
8500
|
linkText = _ref2.text,
|
|
8355
|
-
restLink = _objectWithoutPropertiesLoose(_ref2,
|
|
8501
|
+
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
|
|
8356
8502
|
|
|
8357
8503
|
return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
|
|
8358
8504
|
bgUrlDesktop: bgUrlDesktop,
|
|
@@ -8446,9 +8592,11 @@ var PageHeadingPanel = function PageHeadingPanel(_ref) {
|
|
|
8446
8592
|
var _templateObject$_;
|
|
8447
8593
|
var StreamWrapper = /*#__PURE__*/styled.div(_templateObject$_ || (_templateObject$_ = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h2::selection,\n div::selection {\n color: #1866dc;\n background-color: #fff;\n }\n"])));
|
|
8448
8594
|
|
|
8595
|
+
var _excluded$k = ["link"];
|
|
8596
|
+
|
|
8449
8597
|
var PageHeadingStream = function PageHeadingStream(_ref) {
|
|
8450
8598
|
var link = _ref.link,
|
|
8451
|
-
rest = _objectWithoutPropertiesLoose(_ref,
|
|
8599
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$k);
|
|
8452
8600
|
|
|
8453
8601
|
var streamLink = link && _extends({}, link, {
|
|
8454
8602
|
color: Colors.Black,
|
|
@@ -8595,7 +8743,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8595
8743
|
var isIOS = function isIOS() {
|
|
8596
8744
|
try {
|
|
8597
8745
|
console.warn('Do not use this on server side rendering, it may throw an error.');
|
|
8598
|
-
if (typeof navigator === undefined) return false;
|
|
8746
|
+
if (typeof navigator === 'undefined') return false;
|
|
8599
8747
|
return ['iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod'].includes(navigator.platform) || // iPad on iOS 13 detection
|
|
8600
8748
|
navigator.userAgent.includes('Mac') && 'ontouchend' in document;
|
|
8601
8749
|
} catch (e) {
|
|
@@ -8611,7 +8759,7 @@ var useIOS = function useIOS() {
|
|
|
8611
8759
|
setIOS = _useState[1];
|
|
8612
8760
|
|
|
8613
8761
|
useEffect(function () {
|
|
8614
|
-
if (typeof navigator === undefined) return;
|
|
8762
|
+
if (typeof navigator === 'undefined') return;
|
|
8615
8763
|
setIOS(isIOS());
|
|
8616
8764
|
}, []);
|
|
8617
8765
|
return IOS;
|
|
@@ -8638,7 +8786,12 @@ var useMobile = function useMobile() {
|
|
|
8638
8786
|
setMobile(isMobile());
|
|
8639
8787
|
}, []);
|
|
8640
8788
|
return mobile;
|
|
8641
|
-
};
|
|
8789
|
+
}; // Detect mobile or tablet helper function:
|
|
8790
|
+
// export const isMobileOrTablet = () => {
|
|
8791
|
+
// return typeof window !== 'undefined' && window.matchMedia('(max-width: 1024px)').matches;
|
|
8792
|
+
// };
|
|
8793
|
+
|
|
8794
|
+
var _excluded$l = ["text"];
|
|
8642
8795
|
|
|
8643
8796
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
8644
8797
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -8758,7 +8911,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8758
8911
|
|
|
8759
8912
|
var _ref5 = link || {},
|
|
8760
8913
|
linkText = _ref5.text,
|
|
8761
|
-
restLink = _objectWithoutPropertiesLoose(_ref5,
|
|
8914
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$l);
|
|
8762
8915
|
|
|
8763
8916
|
var titleSize = title && title.length > 20 ? 4 : 3;
|
|
8764
8917
|
var video = {
|
|
@@ -8942,8 +9095,8 @@ var CreditListingWrapper = /*#__PURE__*/styled(PeopleListingGrid)(_templateObjec
|
|
|
8942
9095
|
var columnCount = _ref.columnCount;
|
|
8943
9096
|
return "repeat(" + columnCount + ", 1fr)";
|
|
8944
9097
|
}, devices.mobile, devices.tablet);
|
|
8945
|
-
var DescriptionWrapper = /*#__PURE__*/styled.div(_templateObject3$C || (_templateObject3$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-darkgrey);\n p {\n line-height:
|
|
8946
|
-
var RoleWrapper$1 = /*#__PURE__*/styled.div(_templateObject4$u || (_templateObject4$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-darkgrey);\n overflow-wrap: break-word;\n
|
|
9098
|
+
var DescriptionWrapper = /*#__PURE__*/styled.div(_templateObject3$C || (_templateObject3$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-darkgrey);\n p {\n line-height: 1.5;\n margin-bottom: 4px;\n }\n"])));
|
|
9099
|
+
var RoleWrapper$1 = /*#__PURE__*/styled.div(_templateObject4$u || (_templateObject4$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-darkgrey);\n overflow-wrap: break-word;\n"])));
|
|
8947
9100
|
|
|
8948
9101
|
var getConcatenatedPropLength = function getConcatenatedPropLength(array, prop) {
|
|
8949
9102
|
return array.reduce(function (acc, item) {
|
|
@@ -8951,26 +9104,37 @@ var getConcatenatedPropLength = function getConcatenatedPropLength(array, prop)
|
|
|
8951
9104
|
}, 0);
|
|
8952
9105
|
};
|
|
8953
9106
|
|
|
8954
|
-
var
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
9107
|
+
var DEFAULT_CHARACTER_THRESHOLD = 120;
|
|
9108
|
+
|
|
9109
|
+
var concatenateMusicTitle = function concatenateMusicTitle(musicTitle, index) {
|
|
9110
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
9111
|
+
key: "music-" + index
|
|
9112
|
+
}, musicTitle.map(function (title, idx) {
|
|
9113
|
+
if (musicTitle.length > 1 && idx === musicTitle.length - 1) {
|
|
9114
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
9115
|
+
key: "music-" + index + "-" + idx + "-" + title
|
|
9116
|
+
}, ' ', "and ", /*#__PURE__*/React__default.createElement("i", null, title));
|
|
9117
|
+
} else if (idx > 0) {
|
|
9118
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
9119
|
+
key: "music-" + index + "-" + idx + "-" + title
|
|
9120
|
+
}, /*#__PURE__*/React__default.createElement("i", null, ", ", title));
|
|
8960
9121
|
}
|
|
8961
9122
|
|
|
8962
|
-
return /*#__PURE__*/React__default.createElement(
|
|
9123
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
9124
|
+
key: "music-" + index + "-" + idx + "-" + title
|
|
9125
|
+
}, /*#__PURE__*/React__default.createElement("i", null, title));
|
|
8963
9126
|
}));
|
|
8964
9127
|
};
|
|
8965
9128
|
|
|
8966
9129
|
var CreditListing = function CreditListing(_ref) {
|
|
8967
9130
|
var roles = _ref.roles,
|
|
8968
9131
|
_ref$columnCount = _ref.columnCount,
|
|
8969
|
-
columnCount = _ref$columnCount === void 0 ? 4 : _ref$columnCount
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
9132
|
+
columnCount = _ref$columnCount === void 0 ? 4 : _ref$columnCount,
|
|
9133
|
+
_ref$charThreshold = _ref.charThreshold,
|
|
9134
|
+
charThreshold = _ref$charThreshold === void 0 ? DEFAULT_CHARACTER_THRESHOLD : _ref$charThreshold;
|
|
9135
|
+
var creditEntries = [];
|
|
9136
|
+
var nextColumnStart = 1;
|
|
9137
|
+
roles.forEach(function (_ref2, index) {
|
|
8974
9138
|
var name = _ref2.name,
|
|
8975
9139
|
people = _ref2.people,
|
|
8976
9140
|
description = _ref2.description,
|
|
@@ -8979,12 +9143,18 @@ var CreditListing = function CreditListing(_ref) {
|
|
|
8979
9143
|
additionalInfo = _ref2.additionalInfo,
|
|
8980
9144
|
dataROH = _ref2.dataROH;
|
|
8981
9145
|
var namesLength = getConcatenatedPropLength(people, 'name');
|
|
8982
|
-
var
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
9146
|
+
var columnSpan = namesLength > charThreshold ? 2 : 1;
|
|
9147
|
+
var columnStart = nextColumnStart + columnSpan > columnCount + 1 ? 1 : nextColumnStart;
|
|
9148
|
+
nextColumnStart = (columnStart + columnSpan) % columnCount;
|
|
9149
|
+
creditEntries.push( /*#__PURE__*/React__default.createElement(GridItem, {
|
|
9150
|
+
columnStartDesktop: columnStart,
|
|
9151
|
+
columnSpanDesktop: columnSpan,
|
|
9152
|
+
columnSpanDevice: columnSpan,
|
|
9153
|
+
columnStartSmallDevice: 1,
|
|
9154
|
+
columnStartDevice: 1,
|
|
8986
9155
|
columnSpanSmallDevice: 2,
|
|
8987
|
-
key: name + "-" + index
|
|
9156
|
+
key: "credit-entry-" + name + "-" + index,
|
|
9157
|
+
"data-roh": 'credit-entry'
|
|
8988
9158
|
}, /*#__PURE__*/React__default.createElement(TextWrapper$2, null, /*#__PURE__*/React__default.createElement(RoleWrapper$1, {
|
|
8989
9159
|
title: "role",
|
|
8990
9160
|
"data-roh": dataROH
|
|
@@ -9008,12 +9178,16 @@ var CreditListing = function CreditListing(_ref) {
|
|
|
9008
9178
|
tag: "p"
|
|
9009
9179
|
}, replacement)), musicTitle && musicTitle.length > 0 && /*#__PURE__*/React__default.createElement(BodyText, {
|
|
9010
9180
|
level: 1,
|
|
9011
|
-
tag: "p"
|
|
9012
|
-
|
|
9181
|
+
tag: "p",
|
|
9182
|
+
key: "music-" + musicTitle + "-text"
|
|
9183
|
+
}, concatenateMusicTitle(musicTitle, index)), additionalInfo && /*#__PURE__*/React__default.createElement(BodyText, {
|
|
9013
9184
|
level: 1,
|
|
9014
9185
|
tag: "p"
|
|
9015
|
-
}, additionalInfo)));
|
|
9016
|
-
})
|
|
9186
|
+
}, additionalInfo))));
|
|
9187
|
+
});
|
|
9188
|
+
return /*#__PURE__*/React__default.createElement(CreditListingWrapper, {
|
|
9189
|
+
columnCount: columnCount
|
|
9190
|
+
}, creditEntries);
|
|
9017
9191
|
};
|
|
9018
9192
|
|
|
9019
9193
|
var _templateObject$13, _templateObject2$M, _templateObject3$D, _templateObject4$v, _templateObject5$p, _templateObject6$j, _templateObject7$d, _templateObject8$a, _templateObject9$5, _templateObject10$5, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21;
|
|
@@ -9105,6 +9279,10 @@ var PromoWithTagsContainer = /*#__PURE__*/styled.div(_templateObject19 || (_temp
|
|
|
9105
9279
|
var TimerWrapper$1 = /*#__PURE__*/styled.div(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
|
|
9106
9280
|
var EndDateText = /*#__PURE__*/styled.div(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-bottom: 1px solid var(--base-color-black);\n padding-bottom: 32px;\n margin-bottom: 32px;\n\n @media ", " {\n padding-bottom: 20px;\n margin-bottom: 20px;\n }\n"])), devices.mobile);
|
|
9107
9281
|
|
|
9282
|
+
var _excluded$m = ["text"],
|
|
9283
|
+
_excluded2$2 = ["text"],
|
|
9284
|
+
_excluded3 = ["text"];
|
|
9285
|
+
|
|
9108
9286
|
var _buttonTypeToButton$1;
|
|
9109
9287
|
var LENGTH_TEXT$1 = 28;
|
|
9110
9288
|
var LENGTH_TEXT_PARAGRAPH = 130;
|
|
@@ -9175,7 +9353,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9175
9353
|
var _ref2 = firstButton || {},
|
|
9176
9354
|
_ref2$text = _ref2.text,
|
|
9177
9355
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9178
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2,
|
|
9356
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9179
9357
|
|
|
9180
9358
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9181
9359
|
var secondButton = links == null ? void 0 : links[1];
|
|
@@ -9183,7 +9361,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9183
9361
|
var _ref3 = secondButton || {},
|
|
9184
9362
|
_ref3$text = _ref3.text,
|
|
9185
9363
|
secondButtonText = _ref3$text === void 0 ? '' : _ref3$text,
|
|
9186
|
-
restSecondButton = _objectWithoutPropertiesLoose(_ref3,
|
|
9364
|
+
restSecondButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$2);
|
|
9187
9365
|
|
|
9188
9366
|
var secondButtonTextTruncate = truncate(secondButtonText, LENGTH_TEXT$1);
|
|
9189
9367
|
var textTruncate = asCard ? truncate(text || '', LENGTH_TEXT_PARAGRAPH) : text;
|
|
@@ -9192,7 +9370,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9192
9370
|
var textLinkItems = textLinks ? textLinks.map(function (link, index) {
|
|
9193
9371
|
var _link$text = link.text,
|
|
9194
9372
|
textLinkText = _link$text === void 0 ? '' : _link$text,
|
|
9195
|
-
restTextLink = _objectWithoutPropertiesLoose(link,
|
|
9373
|
+
restTextLink = _objectWithoutPropertiesLoose(link, _excluded3);
|
|
9196
9374
|
|
|
9197
9375
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper$2, {
|
|
9198
9376
|
key: index
|
|
@@ -9487,6 +9665,8 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9487
9665
|
}));
|
|
9488
9666
|
};
|
|
9489
9667
|
|
|
9668
|
+
var _excluded$n = ["text"],
|
|
9669
|
+
_excluded2$3 = ["text"];
|
|
9490
9670
|
var LENGTH_TEXT$3 = 28;
|
|
9491
9671
|
|
|
9492
9672
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9514,7 +9694,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9514
9694
|
var _ref2 = primaryButton || {},
|
|
9515
9695
|
_ref2$text = _ref2.text,
|
|
9516
9696
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9517
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2,
|
|
9697
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
9518
9698
|
|
|
9519
9699
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9520
9700
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
@@ -9522,7 +9702,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9522
9702
|
var _ref3 = tertiaryButton || {},
|
|
9523
9703
|
_ref3$text = _ref3.text,
|
|
9524
9704
|
tertiaryButtonText = _ref3$text === void 0 ? '' : _ref3$text,
|
|
9525
|
-
restTertiaryButton = _objectWithoutPropertiesLoose(_ref3,
|
|
9705
|
+
restTertiaryButton = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);
|
|
9526
9706
|
|
|
9527
9707
|
var tertiaryButtonTextTruncate = truncate(tertiaryButtonText, LENGTH_TEXT$3);
|
|
9528
9708
|
var defaultVideoSettings = {
|
|
@@ -10251,6 +10431,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$y || (_templateObjec
|
|
|
10251
10431
|
return "var(--base-color-errorstate)";
|
|
10252
10432
|
});
|
|
10253
10433
|
|
|
10434
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "isSearchable", "components"];
|
|
10254
10435
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
10255
10436
|
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
10256
10437
|
iconName: "DropdownArrow"
|
|
@@ -10302,7 +10483,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10302
10483
|
_ref2$isSearchable = _ref2.isSearchable,
|
|
10303
10484
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
10304
10485
|
components = _ref2.components,
|
|
10305
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2,
|
|
10486
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
|
|
10306
10487
|
|
|
10307
10488
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10308
10489
|
label: label,
|
|
@@ -10321,6 +10502,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10321
10502
|
})));
|
|
10322
10503
|
};
|
|
10323
10504
|
|
|
10505
|
+
var _excluded$p = ["label", "error", "width", "darkMode", "components"];
|
|
10324
10506
|
/**
|
|
10325
10507
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
10326
10508
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -10343,7 +10525,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
10343
10525
|
_ref$darkMode = _ref.darkMode,
|
|
10344
10526
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
10345
10527
|
components = _ref.components,
|
|
10346
|
-
selectProps = _objectWithoutPropertiesLoose(_ref,
|
|
10528
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10347
10529
|
|
|
10348
10530
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10349
10531
|
label: label,
|
|
@@ -10611,15 +10793,113 @@ var ReadMore = function ReadMore(_ref) {
|
|
|
10611
10793
|
}, isFullTextOpen ? "" + hideText : "" + showMoreText)));
|
|
10612
10794
|
};
|
|
10613
10795
|
|
|
10614
|
-
var _templateObject$1h, _templateObject2$W, _templateObject3$M, _templateObject4$B, _templateObject5$u;
|
|
10615
|
-
var
|
|
10616
|
-
var
|
|
10617
|
-
var
|
|
10618
|
-
var
|
|
10796
|
+
var _templateObject$1h, _templateObject2$W, _templateObject3$M, _templateObject4$B, _templateObject5$u, _templateObject6$n;
|
|
10797
|
+
var Container$5 = /*#__PURE__*/styled.div(_templateObject$1h || (_templateObject$1h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n"])));
|
|
10798
|
+
var Sections = /*#__PURE__*/styled.div(_templateObject2$W || (_templateObject2$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n"])));
|
|
10799
|
+
var Section = /*#__PURE__*/styled.div(_templateObject3$M || (_templateObject3$M = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background-color: ", ";\n"])), function (_ref) {
|
|
10800
|
+
var color = _ref.color;
|
|
10801
|
+
return "var(--base-color-" + color + ")";
|
|
10802
|
+
});
|
|
10803
|
+
var BottomLine = /*#__PURE__*/styled.div(_templateObject4$B || (_templateObject4$B = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n"])));
|
|
10804
|
+
var Text = /*#__PURE__*/styled.div(_templateObject5$u || (_templateObject5$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: ", ";\n"])), function (_ref2) {
|
|
10805
|
+
var color = _ref2.color;
|
|
10806
|
+
return "var(--base-color-" + color + ")";
|
|
10807
|
+
});
|
|
10808
|
+
var LabelText = /*#__PURE__*/styled.div(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 1px;\n white-space: nowrap;\n color: ", ";\n"])), function (_ref3) {
|
|
10809
|
+
var color = _ref3.color;
|
|
10810
|
+
return "var(--base-color-" + color + ")";
|
|
10811
|
+
});
|
|
10812
|
+
|
|
10813
|
+
/**
|
|
10814
|
+
* Password strength indicator component.
|
|
10815
|
+
* This renders some number of lines (6 by default)
|
|
10816
|
+
* which should become active when the user improves
|
|
10817
|
+
* the strength of the entered password.
|
|
10818
|
+
*
|
|
10819
|
+
* ## Sections
|
|
10820
|
+
* To set number of sections it should be passed
|
|
10821
|
+
* as `sections` prop.
|
|
10822
|
+
*
|
|
10823
|
+
* ## Active section
|
|
10824
|
+
* To set number of active sections it should be passed
|
|
10825
|
+
* as `activeSections` prop.
|
|
10826
|
+
*
|
|
10827
|
+
* ## Colors
|
|
10828
|
+
* Color of every element can be controlled by properties:
|
|
10829
|
+
* `sectionsColor`, `activeSectionsColor`,
|
|
10830
|
+
* `textColor`, `strengthLabelColor`.
|
|
10831
|
+
*
|
|
10832
|
+
* ## Text
|
|
10833
|
+
* `text` prop is used to render some message.
|
|
10834
|
+
* For example error (together with proper red color)
|
|
10835
|
+
* or some password requirement. It can be empty.
|
|
10836
|
+
*
|
|
10837
|
+
* ## Strength label
|
|
10838
|
+
* `strengthLabel` prop is used to render strength characteristic
|
|
10839
|
+
* of entered password. For example: `weak`, `normal`, `strong`, etc.
|
|
10840
|
+
* It can be empty.
|
|
10841
|
+
*/
|
|
10842
|
+
|
|
10843
|
+
var PasswordStrength = function PasswordStrength(_ref) {
|
|
10844
|
+
var _ref$sections = _ref.sections,
|
|
10845
|
+
sections = _ref$sections === void 0 ? 6 : _ref$sections,
|
|
10846
|
+
_ref$activeSections = _ref.activeSections,
|
|
10847
|
+
activeSections = _ref$activeSections === void 0 ? 0 : _ref$activeSections,
|
|
10848
|
+
_ref$sectionsColor = _ref.sectionsColor,
|
|
10849
|
+
sectionsColor = _ref$sectionsColor === void 0 ? Colors.MidGrey : _ref$sectionsColor,
|
|
10850
|
+
_ref$activeSectionsCo = _ref.activeSectionsColor,
|
|
10851
|
+
activeSectionsColor = _ref$activeSectionsCo === void 0 ? Colors.Black : _ref$activeSectionsCo,
|
|
10852
|
+
_ref$text = _ref.text,
|
|
10853
|
+
text = _ref$text === void 0 ? '' : _ref$text,
|
|
10854
|
+
_ref$textColor = _ref.textColor,
|
|
10855
|
+
textColor = _ref$textColor === void 0 ? Colors.Black : _ref$textColor,
|
|
10856
|
+
_ref$strengthLabel = _ref.strengthLabel,
|
|
10857
|
+
strengthLabel = _ref$strengthLabel === void 0 ? '' : _ref$strengthLabel,
|
|
10858
|
+
_ref$strengthLabelCol = _ref.strengthLabelColor,
|
|
10859
|
+
strengthLabelColor = _ref$strengthLabelCol === void 0 ? Colors.Black : _ref$strengthLabelCol;
|
|
10860
|
+
|
|
10861
|
+
var setSectionColor = function setSectionColor(index) {
|
|
10862
|
+
return index < activeSections ? activeSectionsColor : sectionsColor;
|
|
10863
|
+
};
|
|
10864
|
+
|
|
10865
|
+
var setSectionDataTestId = function setSectionDataTestId(index) {
|
|
10866
|
+
return index < activeSections ? 'password-strength-section-active' : 'password-strength-section';
|
|
10867
|
+
};
|
|
10868
|
+
|
|
10869
|
+
return /*#__PURE__*/React__default.createElement(Container$5, {
|
|
10870
|
+
"data-testid": "password-strength-container"
|
|
10871
|
+
}, /*#__PURE__*/React__default.createElement(Sections, {
|
|
10872
|
+
"data-testid": "password-strength-sections"
|
|
10873
|
+
}, Array.from({
|
|
10874
|
+
length: sections
|
|
10875
|
+
}, function (_section, i) {
|
|
10876
|
+
return /*#__PURE__*/React__default.createElement(Section, {
|
|
10877
|
+
key: i,
|
|
10878
|
+
color: setSectionColor(i),
|
|
10879
|
+
"data-testid": setSectionDataTestId(i)
|
|
10880
|
+
});
|
|
10881
|
+
})), /*#__PURE__*/React__default.createElement(BottomLine, null, /*#__PURE__*/React__default.createElement(Text, {
|
|
10882
|
+
color: textColor,
|
|
10883
|
+
"data-testid": "password-strength-text"
|
|
10884
|
+
}, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
10885
|
+
level: 6
|
|
10886
|
+
}, text)), /*#__PURE__*/React__default.createElement(LabelText, {
|
|
10887
|
+
color: strengthLabelColor,
|
|
10888
|
+
"data-testid": "password-strength-label"
|
|
10889
|
+
}, /*#__PURE__*/React__default.createElement(Overline, {
|
|
10890
|
+
level: 2
|
|
10891
|
+
}, strengthLabel))));
|
|
10892
|
+
};
|
|
10893
|
+
|
|
10894
|
+
var _templateObject$1i, _templateObject2$X, _templateObject3$N, _templateObject4$C, _templateObject5$v;
|
|
10895
|
+
var MenuContainer$2 = /*#__PURE__*/styled.nav(_templateObject$1i || (_templateObject$1i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n padding: 0;\n margin: 0;\n"])));
|
|
10896
|
+
var MenuList = /*#__PURE__*/styled.ul(_templateObject2$X || (_templateObject2$X = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n list-style: none;\n border-right: 1px solid var(--base-color-", ");\n li {\n margin-left: -5px;\n }\n"])), Colors.LightGrey);
|
|
10897
|
+
var MobileButton = /*#__PURE__*/styled.button(_templateObject3$N || (_templateObject3$N = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n line-height: var(--line-height-navigation);\n font-size: var(--font-size-navigation);\n font-family: var(--font-family-navigation);\n font-weight: var(--font-weight-navigation);\n letter-spacing: var(--letter-spacing-navigation);\n color: var(--base-color-", ");\n text-transform: uppercase;\n margin: 0;\n padding: 16px 46px 14px 20px;\n background: var(--base-color-", ");\n border: 1px solid var(--base-color-", ");\n border-radius: 0;\n display: block;\n width: 100%;\n text-align: left;\n cursor: pointer;\n position: relative;\n span {\n width: 25px;\n height: 25px;\n position: absolute;\n top: 50%;\n margin-top: -12px;\n right: 10px;\n }\n"])), Colors.Black, Colors.White, Colors.DarkGrey);
|
|
10898
|
+
var MenuItem$1 = /*#__PURE__*/styled.a(_templateObject4$C || (_templateObject4$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n line-height: var(--line-height-navigation);\n font-size: var(--font-size-navigation);\n font-family: var(--font-family-navigation);\n font-weight: var(--font-weight-navigation);\n letter-spacing: var(--letter-spacing-navigation);\n color: var(--base-color-", ");\n text-transform: uppercase;\n text-decoration: none;\n margin: 0;\n padding: 16px 20px 15px 5px;\n display: block;\n background: ", ";\n cursor: pointer;\n &:hover {\n background: var(--base-color-", ");\n }\n"])), Colors.Black, function (_ref) {
|
|
10619
10899
|
var isActive = _ref.isActive;
|
|
10620
10900
|
return isActive ? "var(--base-color-" + Colors.MidGrey + ")" : 'none';
|
|
10621
10901
|
}, Colors.MidGrey);
|
|
10622
|
-
var MobileMenuList = /*#__PURE__*/styled.ul(_templateObject5$
|
|
10902
|
+
var MobileMenuList = /*#__PURE__*/styled.ul(_templateObject5$v || (_templateObject5$v = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n list-style: none;\n display: ", ";\n background: var(--base-color-", ");\n border: 1px solid var(--base-color-", ");\n border-top: 0;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n ", " {\n padding: 16px 20px 15px 20px;\n }\n"])), function (_ref2) {
|
|
10623
10903
|
var isOpen = _ref2.isOpen;
|
|
10624
10904
|
return isOpen ? 'block' : 'none';
|
|
10625
10905
|
}, Colors.White, Colors.DarkGrey, MenuItem$1);
|
|
@@ -10789,104 +11069,6 @@ var AuxiliaryNav = function AuxiliaryNav(_ref6) {
|
|
|
10789
11069
|
});
|
|
10790
11070
|
};
|
|
10791
11071
|
|
|
10792
|
-
var _templateObject$1i, _templateObject2$X, _templateObject3$N, _templateObject4$C, _templateObject5$v, _templateObject6$n;
|
|
10793
|
-
var Container$5 = /*#__PURE__*/styled.div(_templateObject$1i || (_templateObject$1i = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n"])));
|
|
10794
|
-
var Sections = /*#__PURE__*/styled.div(_templateObject2$X || (_templateObject2$X = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n"])));
|
|
10795
|
-
var Section = /*#__PURE__*/styled.div(_templateObject3$N || (_templateObject3$N = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 2px;\n background-color: ", ";\n"])), function (_ref) {
|
|
10796
|
-
var color = _ref.color;
|
|
10797
|
-
return "var(--base-color-" + color + ")";
|
|
10798
|
-
});
|
|
10799
|
-
var BottomLine = /*#__PURE__*/styled.div(_templateObject4$C || (_templateObject4$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n gap: 20px;\n"])));
|
|
10800
|
-
var Text = /*#__PURE__*/styled.div(_templateObject5$v || (_templateObject5$v = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: ", ";\n"])), function (_ref2) {
|
|
10801
|
-
var color = _ref2.color;
|
|
10802
|
-
return "var(--base-color-" + color + ")";
|
|
10803
|
-
});
|
|
10804
|
-
var LabelText = /*#__PURE__*/styled.div(_templateObject6$n || (_templateObject6$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 1px;\n white-space: nowrap;\n color: ", ";\n"])), function (_ref3) {
|
|
10805
|
-
var color = _ref3.color;
|
|
10806
|
-
return "var(--base-color-" + color + ")";
|
|
10807
|
-
});
|
|
10808
|
-
|
|
10809
|
-
/**
|
|
10810
|
-
* Password strength indicator component.
|
|
10811
|
-
* This renders some number of lines (6 by default)
|
|
10812
|
-
* which should become active when the user improves
|
|
10813
|
-
* the strength of the entered password.
|
|
10814
|
-
*
|
|
10815
|
-
* ## Sections
|
|
10816
|
-
* To set number of sections it should be passed
|
|
10817
|
-
* as `sections` prop.
|
|
10818
|
-
*
|
|
10819
|
-
* ## Active section
|
|
10820
|
-
* To set number of active sections it should be passed
|
|
10821
|
-
* as `activeSections` prop.
|
|
10822
|
-
*
|
|
10823
|
-
* ## Colors
|
|
10824
|
-
* Color of every element can be controlled by properties:
|
|
10825
|
-
* `sectionsColor`, `activeSectionsColor`,
|
|
10826
|
-
* `textColor`, `strengthLabelColor`.
|
|
10827
|
-
*
|
|
10828
|
-
* ## Text
|
|
10829
|
-
* `text` prop is used to render some message.
|
|
10830
|
-
* For example error (together with proper red color)
|
|
10831
|
-
* or some password requirement. It can be empty.
|
|
10832
|
-
*
|
|
10833
|
-
* ## Strength label
|
|
10834
|
-
* `strengthLabel` prop is used to render strength characteristic
|
|
10835
|
-
* of entered password. For example: `weak`, `normal`, `strong`, etc.
|
|
10836
|
-
* It can be empty.
|
|
10837
|
-
*/
|
|
10838
|
-
|
|
10839
|
-
var PasswordStrength = function PasswordStrength(_ref) {
|
|
10840
|
-
var _ref$sections = _ref.sections,
|
|
10841
|
-
sections = _ref$sections === void 0 ? 6 : _ref$sections,
|
|
10842
|
-
_ref$activeSections = _ref.activeSections,
|
|
10843
|
-
activeSections = _ref$activeSections === void 0 ? 0 : _ref$activeSections,
|
|
10844
|
-
_ref$sectionsColor = _ref.sectionsColor,
|
|
10845
|
-
sectionsColor = _ref$sectionsColor === void 0 ? Colors.MidGrey : _ref$sectionsColor,
|
|
10846
|
-
_ref$activeSectionsCo = _ref.activeSectionsColor,
|
|
10847
|
-
activeSectionsColor = _ref$activeSectionsCo === void 0 ? Colors.Black : _ref$activeSectionsCo,
|
|
10848
|
-
_ref$text = _ref.text,
|
|
10849
|
-
text = _ref$text === void 0 ? '' : _ref$text,
|
|
10850
|
-
_ref$textColor = _ref.textColor,
|
|
10851
|
-
textColor = _ref$textColor === void 0 ? Colors.Black : _ref$textColor,
|
|
10852
|
-
_ref$strengthLabel = _ref.strengthLabel,
|
|
10853
|
-
strengthLabel = _ref$strengthLabel === void 0 ? '' : _ref$strengthLabel,
|
|
10854
|
-
_ref$strengthLabelCol = _ref.strengthLabelColor,
|
|
10855
|
-
strengthLabelColor = _ref$strengthLabelCol === void 0 ? Colors.Black : _ref$strengthLabelCol;
|
|
10856
|
-
|
|
10857
|
-
var setSectionColor = function setSectionColor(index) {
|
|
10858
|
-
return index < activeSections ? activeSectionsColor : sectionsColor;
|
|
10859
|
-
};
|
|
10860
|
-
|
|
10861
|
-
var setSectionDataTestId = function setSectionDataTestId(index) {
|
|
10862
|
-
return index < activeSections ? 'password-strength-section-active' : 'password-strength-section';
|
|
10863
|
-
};
|
|
10864
|
-
|
|
10865
|
-
return /*#__PURE__*/React__default.createElement(Container$5, {
|
|
10866
|
-
"data-testid": "password-strength-container"
|
|
10867
|
-
}, /*#__PURE__*/React__default.createElement(Sections, {
|
|
10868
|
-
"data-testid": "password-strength-sections"
|
|
10869
|
-
}, Array.from({
|
|
10870
|
-
length: sections
|
|
10871
|
-
}, function (_section, i) {
|
|
10872
|
-
return /*#__PURE__*/React__default.createElement(Section, {
|
|
10873
|
-
key: i,
|
|
10874
|
-
color: setSectionColor(i),
|
|
10875
|
-
"data-testid": setSectionDataTestId(i)
|
|
10876
|
-
});
|
|
10877
|
-
})), /*#__PURE__*/React__default.createElement(BottomLine, null, /*#__PURE__*/React__default.createElement(Text, {
|
|
10878
|
-
color: textColor,
|
|
10879
|
-
"data-testid": "password-strength-text"
|
|
10880
|
-
}, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
10881
|
-
level: 6
|
|
10882
|
-
}, text)), /*#__PURE__*/React__default.createElement(LabelText, {
|
|
10883
|
-
color: strengthLabelColor,
|
|
10884
|
-
"data-testid": "password-strength-label"
|
|
10885
|
-
}, /*#__PURE__*/React__default.createElement(Overline, {
|
|
10886
|
-
level: 2
|
|
10887
|
-
}, strengthLabel))));
|
|
10888
|
-
};
|
|
10889
|
-
|
|
10890
11072
|
var _templateObject$1j, _templateObject2$Y, _templateObject3$O, _templateObject4$D, _templateObject5$w, _templateObject6$o, _templateObject7$g, _templateObject8$c, _templateObject9$7, _templateObject10$7;
|
|
10891
11073
|
var TableContainer = /*#__PURE__*/styled.table(_templateObject$1j || (_templateObject$1j = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-collapse: collapse;\n"])));
|
|
10892
11074
|
var Container$6 = /*#__PURE__*/styled.div(_templateObject2$Y || (_templateObject2$Y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-x: auto;\n"])));
|
|
@@ -10908,7 +11090,7 @@ var PageNumber$1 = /*#__PURE__*/styled.button(_templateObject7$g || (_templateOb
|
|
|
10908
11090
|
});
|
|
10909
11091
|
var Next = /*#__PURE__*/styled.span(_templateObject8$c || (_templateObject8$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: inline-flex;\n width: 25px;\n align-items: center;\n justify-content: center;\n margin-left: 0;\n span {\n height: 1.5em;\n svg > path {\n fill: var(--base-color-dark-grey);\n }\n }\n"])));
|
|
10910
11092
|
var ScrollButtons = /*#__PURE__*/styled.div(_templateObject9$7 || (_templateObject9$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: flex-end;\n padding: 0 0 24px 0;\n\n div:hover {\n background-color: var(--base-color-light-grey);\n }\n\n > div > div {\n background-color: var(--base-color-light-grey);\n }\n\n svg path {\n fill: var(--base-color-black) !important;\n }\n"])));
|
|
10911
|
-
var AriaDescription$1 = /*#__PURE__*/styled.
|
|
11093
|
+
var AriaDescription$1 = /*#__PURE__*/styled.div(_templateObject10$7 || (_templateObject10$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n left: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n border: 0;\n"])));
|
|
10912
11094
|
|
|
10913
11095
|
var Content = function Content(_ref) {
|
|
10914
11096
|
var content = _ref.content;
|
|
@@ -10994,7 +11176,7 @@ var Table = function Table(_ref) {
|
|
|
10994
11176
|
return window.removeEventListener('resize', horizontalScroll);
|
|
10995
11177
|
};
|
|
10996
11178
|
}, []);
|
|
10997
|
-
var totalRows = Array.isArray(children) ? children.length
|
|
11179
|
+
var totalRows = Array.isArray(children) ? children.length : 1;
|
|
10998
11180
|
var totalPages = pagination ? Math.ceil(totalRows / rowsPerPage) : 1;
|
|
10999
11181
|
var pageNumbers = Array.from({
|
|
11000
11182
|
length: totalPages
|
|
@@ -11083,6 +11265,248 @@ var Table = function Table(_ref) {
|
|
|
11083
11265
|
}))))))));
|
|
11084
11266
|
};
|
|
11085
11267
|
|
|
11268
|
+
var _templateObject$1k, _templateObject2$Z, _templateObject3$P, _templateObject4$E, _templateObject5$x, _templateObject6$p, _templateObject7$h, _templateObject8$d, _templateObject9$8, _templateObject10$8;
|
|
11269
|
+
var Wrapper$8 = /*#__PURE__*/styled('div')(_templateObject$1k || (_templateObject$1k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n border-top: 4px solid ", ";\n border-bottom: 4px solid ", ";\n"])), function (_ref) {
|
|
11270
|
+
var theme = _ref.theme;
|
|
11271
|
+
return "var(--base-color-" + theme + ")";
|
|
11272
|
+
}, function (_ref2) {
|
|
11273
|
+
var theme = _ref2.theme;
|
|
11274
|
+
return "var(--base-color-" + theme + ")";
|
|
11275
|
+
});
|
|
11276
|
+
var SignUpFormWrapper = /*#__PURE__*/styled(Grid)(_templateObject2$Z || (_templateObject2$Z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n gap: 0 var(--grid-column-gap);\n margin-bottom: 32px;\n"])));
|
|
11277
|
+
var SignUpTitleWrapper = /*#__PURE__*/styled('div')(_templateObject3$P || (_templateObject3$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: left;\n position: relative;\n top: -25px;\n left: -20px;\n background: var(--base-color-white);\n display: inline-block;\n padding: 0 20px;\n \n @media ", " {\n top: -18px;\n padding: 0 13px;\n left: -13px;\n }\n"])), devices.mobile);
|
|
11278
|
+
var Error$1 = /*#__PURE__*/styled.div(_templateObject4$E || (_templateObject4$E = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 20px;\n color: var(--base-color-errorstate);\n a {\n text-decoration: underline;\n color: inherit;\n }\n"])));
|
|
11279
|
+
var Form = /*#__PURE__*/styled.form(_templateObject5$x || (_templateObject5$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 20px;\n align-items: center;\n ", " {\n margin-top: -20px;\n }\n a[href] {\n color: inherit;\n }\n"])), Error$1);
|
|
11280
|
+
var FormFooterWrapper = /*#__PURE__*/styled.div(_templateObject6$p || (_templateObject6$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 32px;\n display: flex;\n gap: 21px;\n align-items: center;\n \n @media ", " {\n flex-direction: column-reverse;\n align-items: flex-start;\n margin-bottom: 20px;\n }\n"])), devices.mobile);
|
|
11281
|
+
var ServerError = /*#__PURE__*/styled.div(_templateObject7$h || (_templateObject7$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-align: left;\n color: var(--base-color-errorstate);\n"])));
|
|
11282
|
+
var CTALinkWrapper = /*#__PURE__*/styled.a(_templateObject8$d || (_templateObject8$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--base-color-black);\n div {\n font-size: 14px;\n }\n"])));
|
|
11283
|
+
var ButtonWrapper$3 = /*#__PURE__*/styled.button(_templateObject9$8 || (_templateObject9$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n all: unset;\n width: fit-content;\n\n @media ", " {\n width: 100%;\n }\n &:focus {\n outline: 3px solid var(--base-color-lapislazuli);\n }\n"])), devices.mobile);
|
|
11284
|
+
var FieldsWrapper = /*#__PURE__*/styled.div(_templateObject10$8 || (_templateObject10$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 36px;\n\n @media ", " {\n grid-template-columns: 1fr;\n gap: 20px;\n }\n\n"])), devices.mobile);
|
|
11285
|
+
|
|
11286
|
+
var regex = {
|
|
11287
|
+
signInEmail: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
|
|
11288
|
+
latinOnly: /[\u0250-\ue007]/g,
|
|
11289
|
+
firstName: /^[a-zA-Z]{2,}/
|
|
11290
|
+
};
|
|
11291
|
+
var formValidationMessages = {
|
|
11292
|
+
requiredFieldMessage: 'Please complete this field',
|
|
11293
|
+
firstName: {
|
|
11294
|
+
invalid: 'Please enter your first name'
|
|
11295
|
+
},
|
|
11296
|
+
email: {
|
|
11297
|
+
required: 'Please enter an email address',
|
|
11298
|
+
invalid: 'Enter an email address in the correct format, like name@example.com'
|
|
11299
|
+
}
|
|
11300
|
+
};
|
|
11301
|
+
|
|
11302
|
+
var themeToColor = function themeToColor(theme) {
|
|
11303
|
+
switch (theme) {
|
|
11304
|
+
case ThemeType.Core:
|
|
11305
|
+
return Colors.Core;
|
|
11306
|
+
|
|
11307
|
+
case ThemeType.Stream:
|
|
11308
|
+
return Colors.Stream;
|
|
11309
|
+
|
|
11310
|
+
case ThemeType.Cinema:
|
|
11311
|
+
return Colors.Cinema;
|
|
11312
|
+
|
|
11313
|
+
default:
|
|
11314
|
+
return Colors.Core;
|
|
11315
|
+
}
|
|
11316
|
+
};
|
|
11317
|
+
|
|
11318
|
+
var SignUpForm = function SignUpForm(_ref) {
|
|
11319
|
+
var initialState = _ref.initialState,
|
|
11320
|
+
submittedState = _ref.submittedState,
|
|
11321
|
+
ctaPrivacy = _ref.ctaPrivacy,
|
|
11322
|
+
theme = _ref.theme,
|
|
11323
|
+
errorMessage = _ref.errorMessage,
|
|
11324
|
+
_ref$isLoggedIn = _ref.isLoggedIn,
|
|
11325
|
+
isLoggedIn = _ref$isLoggedIn === void 0 ? false : _ref$isLoggedIn,
|
|
11326
|
+
submitHandler = _ref.submitHandler;
|
|
11327
|
+
var isMobile = useMobile();
|
|
11328
|
+
|
|
11329
|
+
var _useState = useState({
|
|
11330
|
+
firstName: '',
|
|
11331
|
+
lastName: '',
|
|
11332
|
+
email: ''
|
|
11333
|
+
}),
|
|
11334
|
+
formValues = _useState[0],
|
|
11335
|
+
setFormValues = _useState[1];
|
|
11336
|
+
|
|
11337
|
+
var _useState2 = useState({}),
|
|
11338
|
+
errors = _useState2[0],
|
|
11339
|
+
setErrors = _useState2[1];
|
|
11340
|
+
|
|
11341
|
+
var _useState3 = useState(false),
|
|
11342
|
+
isSuccess = _useState3[0],
|
|
11343
|
+
setIsSuccess = _useState3[1];
|
|
11344
|
+
|
|
11345
|
+
var handleChange = function handleChange(field) {
|
|
11346
|
+
return function (e) {
|
|
11347
|
+
var value = e.target.value.replace(regex.latinOnly, '');
|
|
11348
|
+
setFormValues(function (prev) {
|
|
11349
|
+
var _extends2;
|
|
11350
|
+
|
|
11351
|
+
return _extends({}, prev, (_extends2 = {}, _extends2[field] = field === 'email' ? value : capitalizeFirstLetter(value), _extends2));
|
|
11352
|
+
});
|
|
11353
|
+
setErrors(function (prev) {
|
|
11354
|
+
var _extends3;
|
|
11355
|
+
|
|
11356
|
+
return _extends({}, prev, (_extends3 = {}, _extends3[field] = undefined, _extends3));
|
|
11357
|
+
});
|
|
11358
|
+
};
|
|
11359
|
+
};
|
|
11360
|
+
|
|
11361
|
+
var handleFormSubmit = /*#__PURE__*/function () {
|
|
11362
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(e) {
|
|
11363
|
+
var formErrors, response;
|
|
11364
|
+
return runtime_1.wrap(function _callee$(_context) {
|
|
11365
|
+
while (1) {
|
|
11366
|
+
switch (_context.prev = _context.next) {
|
|
11367
|
+
case 0:
|
|
11368
|
+
e.preventDefault();
|
|
11369
|
+
|
|
11370
|
+
if (!isSuccess) {
|
|
11371
|
+
_context.next = 3;
|
|
11372
|
+
break;
|
|
11373
|
+
}
|
|
11374
|
+
|
|
11375
|
+
return _context.abrupt("return");
|
|
11376
|
+
|
|
11377
|
+
case 3:
|
|
11378
|
+
formErrors = {};
|
|
11379
|
+
|
|
11380
|
+
if (!isLoggedIn) {
|
|
11381
|
+
if (!formValues.firstName) {
|
|
11382
|
+
formErrors.firstName = formValidationMessages.requiredFieldMessage;
|
|
11383
|
+
} else if (!regex.firstName.test(formValues.firstName)) {
|
|
11384
|
+
formErrors.firstName = formValidationMessages.firstName.invalid;
|
|
11385
|
+
}
|
|
11386
|
+
|
|
11387
|
+
if (!formValues.lastName) {
|
|
11388
|
+
formErrors.lastName = formValidationMessages.requiredFieldMessage;
|
|
11389
|
+
}
|
|
11390
|
+
|
|
11391
|
+
if (!formValues.email) {
|
|
11392
|
+
formErrors.email = formValidationMessages.email.required;
|
|
11393
|
+
} else if (!regex.signInEmail.test(formValues.email)) {
|
|
11394
|
+
formErrors.email = formValidationMessages.email.invalid;
|
|
11395
|
+
}
|
|
11396
|
+
}
|
|
11397
|
+
|
|
11398
|
+
if (!(Object.keys(formErrors).length > 0)) {
|
|
11399
|
+
_context.next = 8;
|
|
11400
|
+
break;
|
|
11401
|
+
}
|
|
11402
|
+
|
|
11403
|
+
setErrors(formErrors);
|
|
11404
|
+
return _context.abrupt("return");
|
|
11405
|
+
|
|
11406
|
+
case 8:
|
|
11407
|
+
_context.next = 10;
|
|
11408
|
+
return submitHandler(isLoggedIn ? {} : formValues);
|
|
11409
|
+
|
|
11410
|
+
case 10:
|
|
11411
|
+
response = _context.sent;
|
|
11412
|
+
|
|
11413
|
+
if (response.success) {
|
|
11414
|
+
setIsSuccess(true);
|
|
11415
|
+
} else {
|
|
11416
|
+
setErrors(function (prev) {
|
|
11417
|
+
return _extends({}, prev, {
|
|
11418
|
+
serverError: errorMessage
|
|
11419
|
+
});
|
|
11420
|
+
});
|
|
11421
|
+
}
|
|
11422
|
+
|
|
11423
|
+
case 12:
|
|
11424
|
+
case "end":
|
|
11425
|
+
return _context.stop();
|
|
11426
|
+
}
|
|
11427
|
+
}
|
|
11428
|
+
}, _callee);
|
|
11429
|
+
}));
|
|
11430
|
+
|
|
11431
|
+
return function handleFormSubmit(_x) {
|
|
11432
|
+
return _ref2.apply(this, arguments);
|
|
11433
|
+
};
|
|
11434
|
+
}();
|
|
11435
|
+
|
|
11436
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$8, {
|
|
11437
|
+
theme: themeToColor(theme)
|
|
11438
|
+
}, /*#__PURE__*/React__default.createElement(SignUpFormWrapper, null, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
11439
|
+
columnStartDesktop: 3,
|
|
11440
|
+
columnSpanDesktop: 10,
|
|
11441
|
+
columnStartDevice: 2,
|
|
11442
|
+
columnSpanDevice: 12
|
|
11443
|
+
}, /*#__PURE__*/React__default.createElement(SignUpTitleWrapper, null, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
11444
|
+
level: isMobile ? 3 : 4
|
|
11445
|
+
}, isSuccess ? submittedState.title : initialState.title))), /*#__PURE__*/React__default.createElement(GridItem, {
|
|
11446
|
+
columnStartDesktop: 3,
|
|
11447
|
+
columnSpanDesktop: 10,
|
|
11448
|
+
columnStartDevice: 2,
|
|
11449
|
+
columnSpanDevice: 12
|
|
11450
|
+
}, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
11451
|
+
level: 6
|
|
11452
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
11453
|
+
dangerouslySetInnerHTML: {
|
|
11454
|
+
__html: isSuccess ? submittedState.message : initialState.message
|
|
11455
|
+
}
|
|
11456
|
+
}))), !isSuccess && /*#__PURE__*/React__default.createElement(GridItem, {
|
|
11457
|
+
columnStartDesktop: 3,
|
|
11458
|
+
columnSpanDesktop: 12,
|
|
11459
|
+
columnStartDevice: 2,
|
|
11460
|
+
columnSpanDevice: 12
|
|
11461
|
+
}, /*#__PURE__*/React__default.createElement(Form, {
|
|
11462
|
+
noValidate: true,
|
|
11463
|
+
onSubmit: handleFormSubmit
|
|
11464
|
+
}, !isLoggedIn && /*#__PURE__*/React__default.createElement(FieldsWrapper, null, /*#__PURE__*/React__default.createElement(TextField, {
|
|
11465
|
+
label: "First name",
|
|
11466
|
+
name: "firstName",
|
|
11467
|
+
type: "text",
|
|
11468
|
+
value: formValues.firstName,
|
|
11469
|
+
maxLength: 20,
|
|
11470
|
+
error: errors.firstName,
|
|
11471
|
+
onChange: handleChange('firstName'),
|
|
11472
|
+
autoComplete: "given-name"
|
|
11473
|
+
}), /*#__PURE__*/React__default.createElement(TextField, {
|
|
11474
|
+
label: "Last name",
|
|
11475
|
+
name: "lastName",
|
|
11476
|
+
type: "text",
|
|
11477
|
+
maxLength: 55,
|
|
11478
|
+
value: formValues.lastName,
|
|
11479
|
+
error: errors.lastName,
|
|
11480
|
+
onChange: handleChange('lastName'),
|
|
11481
|
+
autoComplete: "family-name"
|
|
11482
|
+
}), /*#__PURE__*/React__default.createElement(TextField, {
|
|
11483
|
+
label: "Email",
|
|
11484
|
+
name: "email",
|
|
11485
|
+
type: "email",
|
|
11486
|
+
value: formValues.email,
|
|
11487
|
+
error: errors.email || errors.serverError,
|
|
11488
|
+
onChange: handleChange('email'),
|
|
11489
|
+
maxLength: 80
|
|
11490
|
+
})), isLoggedIn && !!errors.serverError && /*#__PURE__*/React__default.createElement(GridItem, {
|
|
11491
|
+
columnStartDesktop: 2,
|
|
11492
|
+
columnSpanDesktop: 12,
|
|
11493
|
+
columnStartTablet: 2,
|
|
11494
|
+
columnSpanTablet: 12,
|
|
11495
|
+
columnStartDevice: 2,
|
|
11496
|
+
columnSpanDevice: 12
|
|
11497
|
+
}, /*#__PURE__*/React__default.createElement(ServerError, null, /*#__PURE__*/React__default.createElement(AltHeader, {
|
|
11498
|
+
level: 6
|
|
11499
|
+
}, errors.serverError))), /*#__PURE__*/React__default.createElement(FormFooterWrapper, null, /*#__PURE__*/React__default.createElement(ButtonWrapper$3, {
|
|
11500
|
+
type: "submit"
|
|
11501
|
+
}, /*#__PURE__*/React__default.createElement(PrimaryButton, {
|
|
11502
|
+
bgColor: themeToColor(theme)
|
|
11503
|
+
}, "Sign up")), /*#__PURE__*/React__default.createElement(CTALinkWrapper, {
|
|
11504
|
+
href: ctaPrivacy.link
|
|
11505
|
+
}, /*#__PURE__*/React__default.createElement(BodyText, {
|
|
11506
|
+
level: 2
|
|
11507
|
+
}, ctaPrivacy.text)))))));
|
|
11508
|
+
};
|
|
11509
|
+
|
|
11086
11510
|
var UpsellSection = function UpsellSection(_ref) {
|
|
11087
11511
|
var title = _ref.title,
|
|
11088
11512
|
richText = _ref.richText,
|
|
@@ -11119,61 +11543,9 @@ var UpsellSection = function UpsellSection(_ref) {
|
|
|
11119
11543
|
})))));
|
|
11120
11544
|
};
|
|
11121
11545
|
|
|
11122
|
-
var
|
|
11123
|
-
var
|
|
11124
|
-
var
|
|
11125
|
-
var DIV_ID = 'tdWebchat';
|
|
11126
|
-
var THEME_ICON = 'https://static.roh.org.uk/logos/crest.svg';
|
|
11127
|
-
var THEME_FONT_BODY = fontFamilies.sansSerifFallback;
|
|
11128
|
-
var THEME_COLOR = core.colors.core;
|
|
11129
|
-
var THEME_COLOR_LIGHT = core.colors.core + '80';
|
|
11130
|
-
var THEME_COLOR_BLACK = core.colors.black;
|
|
11131
|
-
var THEME_COLOR_LIGHTGREY = core.colors.lightgrey;
|
|
11132
|
-
var THEME_COLOR_WHITE = core.colors.white;
|
|
11133
|
-
var THEME_COLOR_MIDGREY = core.colors.midgrey;
|
|
11134
|
-
var SCRIPT_CONTENT = "var webchat;\n((window, document, node, props, configs) => {\n if (window.TalkdeskChatSDK) {\n console.error(\"TalkdeskChatSDK already included\");\n return;\n }\n var divContainer = document.createElement(\"div\");\n divContainer.id = node;\n document.body.appendChild(divContainer);\n var currentDate = new Date().getTime();\n var src = \"" + SCRIPT_SRC + "\" + currentDate;\n var script = document.createElement(\"script\");\n var firstScriptTag = document.getElementsByTagName(\"script\")[0];\n script.type = \"text/javascript\";\n script.charset = \"UTF-8\";\n script.id = \"tdwebchatscript\";\n script.src = src;\n script.async = true;\n firstScriptTag.parentNode.insertBefore(script, firstScriptTag);\n script.onload = () => {\n webchat = TalkdeskChatSDK(node, props);\n webchat.init(configs);\n };\n})(\n window,\n document,\n \"" + DIV_ID + "\",\n { flowId: \"cd19d348b5fb4a0ab0d3277686f28d1e\", accountId: \"\", region: \"td-us-1\" },\n { enableEmoji: true, enableUserInput: true, styles :{\n \"botIcon\": \"" + THEME_ICON + "\",\n \"botBackgroundColor\":\"" + THEME_COLOR_LIGHTGREY + "\",\n \"botTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"chatTitle\": \"Royal Opera House\",\n \"chatThemeColor\": \"" + THEME_COLOR + "\",\n \"chatTitleIcon\": \"" + THEME_ICON + "\",\n \"customButtonBackgroundColor\": \"" + THEME_COLOR + "\",\n \"customButtonBorderColor\": \"" + THEME_COLOR + "\",\n \"customButtonColor\": \"" + THEME_COLOR_WHITE + "\",\n \"userBackgroundColor\":\"" + THEME_COLOR_LIGHTGREY + "\",\n \"userTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"userBackgroundColor\":\"" + THEME_COLOR_MIDGREY + "\",\n \"userTextColor\": \"" + THEME_COLOR_BLACK + "\",\n \"welcomeMessageBackgroundColor\": \"" + THEME_COLOR_LIGHT + "\",\n \"welcomeMessageContentFontSize\": \"18px\",\n \"welcomeMessageTitleFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"welcomeMessageContentFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customMessageFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customMessageNoBubbleFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customButtonFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customFieldLabelFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customFieldInputFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customDropdownLabelFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"customDropdownInputFontFamily\": \"" + THEME_FONT_BODY + "\",\n \"startChatButtonBackgroundColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonBorderColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonTextColor\": \"" + THEME_COLOR_WHITE + "\",\n \"startChatButtonHoverBackgroundColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonHoverBorderColor\": \"" + THEME_COLOR + "\",\n \"startChatButtonHoverTextColor\": \"" + THEME_COLOR_WHITE + "\",\n \"startChatButtonFontFamily\": \"" + THEME_FONT_BODY + "\",\n }}\n);";
|
|
11135
|
-
|
|
11136
|
-
var loadLiveChatScript = function loadLiveChatScript(callback) {
|
|
11137
|
-
var existingScript = document.getElementById(DIV_ID);
|
|
11138
|
-
|
|
11139
|
-
if (!existingScript) {
|
|
11140
|
-
var liveChatDiv = document.createElement('div');
|
|
11141
|
-
liveChatDiv.id = DIV_ID;
|
|
11142
|
-
liveChatDiv.setAttribute('data-bind', DATA_BIND);
|
|
11143
|
-
liveChatDiv.setAttribute('data-org', DATA_ORG);
|
|
11144
|
-
var script = document.createElement('script');
|
|
11145
|
-
var scriptBody = document.createTextNode(SCRIPT_CONTENT);
|
|
11146
|
-
script.appendChild(scriptBody);
|
|
11147
|
-
document.body.appendChild(liveChatDiv);
|
|
11148
|
-
document.body.appendChild(script);
|
|
11149
|
-
|
|
11150
|
-
script.onload = function () {
|
|
11151
|
-
if (callback) callback();
|
|
11152
|
-
};
|
|
11153
|
-
}
|
|
11154
|
-
|
|
11155
|
-
if (existingScript && callback) callback();
|
|
11156
|
-
};
|
|
11157
|
-
|
|
11158
|
-
var LiveChat = function LiveChat() {
|
|
11159
|
-
// eslint-disable-next-line
|
|
11160
|
-
var _React$useState = useState(false),
|
|
11161
|
-
loaded = _React$useState[0],
|
|
11162
|
-
setLoaded = _React$useState[1];
|
|
11163
|
-
|
|
11164
|
-
useEffect(function () {
|
|
11165
|
-
loadLiveChatScript(function () {
|
|
11166
|
-
setLoaded(true);
|
|
11167
|
-
});
|
|
11168
|
-
});
|
|
11169
|
-
return /*#__PURE__*/createElement("span", {
|
|
11170
|
-
"data-loaded": loaded
|
|
11171
|
-
});
|
|
11172
|
-
};
|
|
11173
|
-
|
|
11174
|
-
var _templateObject$1k, _templateObject2$Z;
|
|
11175
|
-
var StickyBarWrapper = /*#__PURE__*/styled.div(_templateObject$1k || (_templateObject$1k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-color-white);\n"])), zIndexes.anchor);
|
|
11176
|
-
var StickyBarGrid = /*#__PURE__*/styled(Grid)(_templateObject2$Z || (_templateObject2$Z = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
|
|
11546
|
+
var _templateObject$1l, _templateObject2$_;
|
|
11547
|
+
var StickyBarWrapper = /*#__PURE__*/styled.div(_templateObject$1l || (_templateObject$1l = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-color-white);\n"])), zIndexes.anchor);
|
|
11548
|
+
var StickyBarGrid = /*#__PURE__*/styled(Grid)(_templateObject2$_ || (_templateObject2$_ = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
|
|
11177
11549
|
var hideBottomBorder = _ref.hideBottomBorder;
|
|
11178
11550
|
return !hideBottomBorder && 'border-bottom: 2px solid var(--base-color-lightgrey);';
|
|
11179
11551
|
}, devices.mobileAndTablet, devices.mobile);
|
|
@@ -11201,12 +11573,13 @@ var StickyBar = function StickyBar(_ref) {
|
|
|
11201
11573
|
}, children)));
|
|
11202
11574
|
};
|
|
11203
11575
|
|
|
11204
|
-
var _templateObject$
|
|
11205
|
-
var InnerModal = /*#__PURE__*/styled.div(_templateObject$
|
|
11206
|
-
var CloseButton = /*#__PURE__*/styled.button(_templateObject2
|
|
11207
|
-
var ContentWrapper$1 = /*#__PURE__*/styled.div(_templateObject3$
|
|
11208
|
-
var Overlay = /*#__PURE__*/styled(Grid)(_templateObject4$
|
|
11576
|
+
var _templateObject$1m, _templateObject2$$, _templateObject3$Q, _templateObject4$F;
|
|
11577
|
+
var InnerModal = /*#__PURE__*/styled.div(_templateObject$1m || (_templateObject$1m = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 62px;\n background-color: var(--base-color-white);\n z-index: ", ";\n position: relative;\n\n @media ", ", ", " {\n height: 100vh;\n padding: 62px 0 0;\n }\n"])), zIndexes.popup, devices.smallMobile, devices.mobile);
|
|
11578
|
+
var CloseButton = /*#__PURE__*/styled.button(_templateObject2$$ || (_templateObject2$$ = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n right: 0;\n margin: 15px;\n height: 26px;\n width: 26px;\n padding: 0;\n background-color: transparent;\n border: none;\n cursor: pointer;\n @media ", " {\n margin: 25px;\n }\n @media ", ", ", " {\n margin: 30px;\n }\n"])), devices.tablet, devices.desktop, devices.largeDesktop);
|
|
11579
|
+
var ContentWrapper$1 = /*#__PURE__*/styled.div(_templateObject3$Q || (_templateObject3$Q = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
11580
|
+
var Overlay = /*#__PURE__*/styled(Grid)(_templateObject4$F || (_templateObject4$F = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n align-content: center;\n background-color: rgba(0, 0, 0, 0.4);\n"])));
|
|
11209
11581
|
|
|
11582
|
+
var _excluded$q = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
11210
11583
|
var MAX_Z_INDEX = 9999999999;
|
|
11211
11584
|
|
|
11212
11585
|
if (Modal.defaultStyles.content) {
|
|
@@ -11283,7 +11656,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
11283
11656
|
setIsOpen = _ref.setIsOpen,
|
|
11284
11657
|
children = _ref.children,
|
|
11285
11658
|
appElementId = _ref.appElementId,
|
|
11286
|
-
modalProps = _objectWithoutPropertiesLoose(_ref,
|
|
11659
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
11287
11660
|
|
|
11288
11661
|
var isMobile = useMobile();
|
|
11289
11662
|
var customStyles = {
|
|
@@ -11325,9 +11698,9 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
11325
11698
|
})), /*#__PURE__*/React__default.createElement(ContentWrapper$1, null, children))), /*#__PURE__*/React__default.createElement(ScrollLock, null)));
|
|
11326
11699
|
};
|
|
11327
11700
|
|
|
11328
|
-
var _templateObject$
|
|
11329
|
-
var FiltersWrapper = /*#__PURE__*/styled.div(_templateObject$
|
|
11330
|
-
var FilterItemsWrapper = /*#__PURE__*/styled.div(_templateObject2
|
|
11701
|
+
var _templateObject$1n, _templateObject2$10;
|
|
11702
|
+
var FiltersWrapper = /*#__PURE__*/styled.div(_templateObject$1n || (_templateObject$1n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n column-gap: 24px;\n\n @media ", " {\n flex-direction: column;\n align-items: flex-start;\n row-gap: 18px;\n }\n"])), devices.mobileAndTablet);
|
|
11703
|
+
var FilterItemsWrapper = /*#__PURE__*/styled.div(_templateObject2$10 || (_templateObject2$10 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n column-gap: 16px;\n row-gap: 12px;\n"])));
|
|
11331
11704
|
|
|
11332
11705
|
/**
|
|
11333
11706
|
* A FilterToggles component that renders a labelled group of toggle buttons
|
|
@@ -11390,8 +11763,8 @@ var FilterToggles = function FilterToggles(_ref) {
|
|
|
11390
11763
|
})));
|
|
11391
11764
|
};
|
|
11392
11765
|
|
|
11393
|
-
var _templateObject$
|
|
11394
|
-
var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$1n || (_templateObject$1n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n html {\n --base-color-primary: ", ";\n --base-color-core: ", ";\n --base-color-stream: ", ";\n --base-color-cinema: ", ";\n --base-color-white: ", ";\n --base-color-black: ", ";\n --base-color-dark-grey: ", ";\n --base-color-mid-grey: ", ";\n --base-color-light-grey: ", ";\n --error-color-state: ", ";\n --medium-color-state: ", ";\n --good-color-state: ", ";\n --base-color-darkgrey: ", ";\n --base-color-midgrey: ", ";\n --base-color-lightgrey: ", ";\n --base-color-transparent: transparent;\n --base-color-errorstate: ", ";\n --base-color-mediumstate: ", ";\n --base-color-goodstate: ", ";\n --base-color-progress: ", ";\n --base-color-navigation: ", ";\n --base-color-lapislazuli: ", ";\n --base-color-lemonchiffon: ", ";\n\n --button-height: ", ";\n --button-line-height: ", ";\n --button-padding-x: ", ";\n --button-padding-y: ", ";\n --button-padding-y-icon: ", ";\n --button-icon-margin: ", ";\n --button-icon-width: ", ";\n --button-icon-height: ", ";\n --button-font-size: ", ";\n --button-font-weight: ", ";\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n --margin-header-1: ", ";\n\n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n --margin-header-2: ", ";\n\n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n --margin-header-3: ", ";\n\n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n --margin-header-4: ", ";\n\n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n --margin-header-5: ", ";\n\n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n --margin-header-6: ", ";\n\n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n\n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n\n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n\n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n\n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n\n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n\n --font-size-overline-3: ", ";\n --font-weight-overline-3: ", ";\n --letter-spacing-overline-3: ", ";\n --line-height-overline-3: ", "; \n\n --font-size-overline-4: ", ";\n --font-weight-overline-4: ", ";\n --letter-spacing-overline-4: ", ";\n --line-height-overline-4: ", ";\n\n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n\n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n\n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n\n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-listing: ", ";\n --font-size-individual-listing-name: ", ";\n --line-height-individual-listing-name: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n\n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n\n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle: ", ";\n\n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n\n --font-family-navigation: ", ";\n --font-size-navigation: ", ";\n --font-weight-navigation: ", ";\n --line-height-navigation: ", ";\n --text-transform-navigation: ", ";\n --letter-spacing-navigation: ", ";\n\n --navigation-small-gap: ", ";\n --navigation-middle-gap: ", ";\n --navigation-large-gap: ", ";\n --navigation-xlarge-gap: ", ";\n --navigation-large-margin: ", ";\n\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --grid-margin: ", ";\n --grid-outer-margin: ", ";\n --grid-template-columns: calc(", " - ", ") calc(", " - ", " - ", ") repeat(12, minmax(0,1fr)) calc(", " - ", " - ", ") calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: 0;\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --text-link-underline-offset: ", ";\n\n --cards-spacing-stack: ", ";\n\n --editorial-subtitle-margin-bottom: ", ";\n --editorial-margin-between: ", ";\n --editorial-spacing-hover: ", ";\n --anchor-tabs-height: 70px;\n \n\n @media ", " {\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n \n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n \n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n \n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n \n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n \n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n \n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n \n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n \n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n \n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n \n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n \n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n \n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n \n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n \n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n \n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n \n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n \n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle: ", ";\n \n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n \n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --anchor-tabs-height: 60px;\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n }\n\n @media ", " {\n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-header-6: ", ";\n\n --font-size-altHeader-4: ", ";\n\n --font-size-body-1: ", ";\n }\n\n @media ", " {\n \n }\n\n @media ", " {\n \n }\n }\n"])), function (_ref) {
|
|
11766
|
+
var _templateObject$1o;
|
|
11767
|
+
var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$1o || (_templateObject$1o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n html {\n --base-color-primary: ", ";\n --base-color-core: ", ";\n --base-color-stream: ", ";\n --base-color-cinema: ", ";\n --base-color-white: ", ";\n --base-color-black: ", ";\n --base-color-dark-grey: ", ";\n --base-color-mid-grey: ", ";\n --base-color-light-grey: ", ";\n --error-color-state: ", ";\n --medium-color-state: ", ";\n --good-color-state: ", ";\n --base-color-darkgrey: ", ";\n --base-color-midgrey: ", ";\n --base-color-lightgrey: ", ";\n --base-color-transparent: transparent;\n --base-color-errorstate: ", ";\n --base-color-mediumstate: ", ";\n --base-color-goodstate: ", ";\n --base-color-progress: ", ";\n --base-color-navigation: ", ";\n --base-color-lapislazuli: ", ";\n --base-color-lemonchiffon: ", ";\n\n --button-height: ", ";\n --button-line-height: ", ";\n --button-padding-x: ", ";\n --button-padding-y: ", ";\n --button-padding-y-icon: ", ";\n --button-icon-margin: ", ";\n --button-icon-width: ", ";\n --button-icon-height: ", ";\n --button-font-size: ", ";\n --button-font-weight: ", ";\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n --margin-header-1: ", ";\n\n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n --margin-header-2: ", ";\n\n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n --margin-header-3: ", ";\n\n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n --margin-header-4: ", ";\n\n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n --margin-header-5: ", ";\n\n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n --margin-header-6: ", ";\n\n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n\n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n\n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n\n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n\n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n\n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n\n --font-size-overline-3: ", ";\n --font-weight-overline-3: ", ";\n --letter-spacing-overline-3: ", ";\n --line-height-overline-3: ", "; \n\n --font-size-overline-4: ", ";\n --font-weight-overline-4: ", ";\n --letter-spacing-overline-4: ", ";\n --line-height-overline-4: ", ";\n\n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n\n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n\n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n\n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-listing: ", ";\n --font-size-individual-listing-name: ", ";\n --line-height-individual-listing-name: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n\n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n\n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle: ", ";\n\n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n\n --font-family-navigation: ", ";\n --font-size-navigation: ", ";\n --font-weight-navigation: ", ";\n --line-height-navigation: ", ";\n --text-transform-navigation: ", ";\n --letter-spacing-navigation: ", ";\n\n --navigation-small-gap: ", ";\n --navigation-middle-gap: ", ";\n --navigation-large-gap: ", ";\n --navigation-xlarge-gap: ", ";\n --navigation-large-margin: ", ";\n\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --grid-margin: ", ";\n --grid-outer-margin: ", ";\n --grid-template-columns: calc(", " - ", ") calc(", " - ", " - ", ") repeat(12, minmax(0,1fr)) calc(", " - ", " - ", ") calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: 0;\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --text-link-underline-offset: ", ";\n\n --cards-spacing-stack: ", ";\n\n --editorial-subtitle-margin-bottom: ", ";\n --editorial-margin-between: ", ";\n --editorial-spacing-hover: ", ";\n --anchor-tabs-height: 70px;\n \n\n @media ", " {\n\n --font-size-header-1: ", ";\n --font-weight-header-1: ", ";\n --letter-spacing-header-1: ", ";\n --line-height-header-1: ", ";\n \n --font-size-header-2: ", ";\n --font-weight-header-2: ", ";\n --letter-spacing-header-2: ", ";\n --line-height-header-2: ", ";\n \n --font-size-header-3: ", ";\n --font-weight-header-3: ", ";\n --letter-spacing-header-3: ", ";\n --line-height-header-3: ", ";\n \n --font-size-header-4: ", ";\n --font-weight-header-4: ", ";\n --letter-spacing-header-4: ", ";\n --line-height-header-4: ", ";\n \n --font-size-header-5: ", ";\n --font-weight-header-5: ", ";\n --letter-spacing-header-5: ", ";\n --line-height-header-5: ", ";\n \n --font-size-header-6: ", ";\n --font-weight-header-6: ", ";\n --letter-spacing-header-6: ", ";\n --line-height-header-6: ", ";\n \n --font-size-altHeader-3: ", ";\n --font-weight-altHeader-3: ", ";\n --letter-spacing-altHeader-3: ", ";\n --line-height-altHeader-3: ", ";\n \n --font-size-altHeader-4: ", ";\n --font-weight-altHeader-4: ", ";\n --letter-spacing-altHeader-4: ", ";\n --line-height-altHeader-4: ", ";\n \n --font-size-altHeader-5: ", ";\n --font-weight-altHeader-5: ", ";\n --letter-spacing-altHeader-5: ", ";\n --line-height-altHeader-5: ", ";\n \n --font-size-altHeader-6: ", ";\n --font-weight-altHeader-6: ", ";\n --letter-spacing-altHeader-6: ", ";\n --line-height-altHeader-6: ", ";\n \n --font-size-overline-1: ", ";\n --font-weight-overline-1: ", ";\n --letter-spacing-overline-1: ", ";\n --line-height-overline-1: ", ";\n \n --font-size-overline-2: ", ";\n --font-weight-overline-2: ", ";\n --letter-spacing-overline-2: ", ";\n --line-height-overline-2: ", ";\n \n --font-size-body-1: ", ";\n --font-weight-body-1: ", ";\n --letter-spacing-body-1: ", ";\n --line-height-body-1: ", ";\n \n --font-size-body-2: ", ";\n --font-weight-body-2: ", ";\n --letter-spacing-body-2: ", ";\n --line-height-body-2: ", ";\n \n --font-size-body-3: ", ";\n --font-weight-body-3: ", ";\n --letter-spacing-body-3: ", ";\n --line-height-body-3: ", ";\n \n --font-size-subtitle-1: ", ";\n --font-weight-subtitle-1: ", ";\n --letter-spacing-subtitle-1: ", ";\n --line-height-subtitle-1: ", ";\n \n --font-size-subtitle-2: ", ";\n --font-weight-subtitle-2: ", ";\n --letter-spacing-subtitle-2: ", ";\n --line-height-subtitle-2: ", ";\n\n --font-size-title-description: ", ";\n --line-height-title-description: ", ";\n --line-height-people-listing-gap: ", ";\n\n --font-size-search: ", ";\n --font-family-search: ", ";\n\n --font-family-header: ", ";\n --font-family-altHeader: ", ";\n --font-family-body: ", ";\n --font-family-body-italics: ", ";\n --font-family-buttons: ", ";\n --font-family-overline: ", ";\n --font-family-subtitle: ", ";\n --font-family-people-listing-role: ", ";\n --font-family-people-listing-name: ", ";\n \n --font-feature-settings-header: ", ";\n --font-feature-settings-altHeader: ", ";\n --font-feature-settings-overline: ", ";\n --font-feature-settings-subtitle: ", ";\n --font-feature-settings-body: ", ";\n --font-feature-settings-navigation: ", ";\n \n --text-transform-header: ", ";\n --text-transform-altHeader: ", ";\n --text-transform-body: ", ";\n --text-transform-overline: ", ";\n --text-transform-subtitle: ", ";\n \n --word-break-header: ", ";\n --word-break-altHeader: ", ";\n --word-break-body: ", ";\n --word-break-overline: ", ";\n --word-break-subtitle: ", ";\n \n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n\n --footer-height: ", ";\n --footer-padding-top: ", ";\n --footer-padding-bottom: ", ";\n --footer-items-gap: ", ";\n --footer-media-gap: ", ";\n --footer-media-icon-width: ", ";\n --footer-media-icon-height: ", ";\n --footer-vertical-spacing-lg: ", ";\n --footer-vertical-spacing-sm: ", ";\n\n --anchor-tabs-height: 60px;\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n }\n\n @media ", " {\n --grid-template-columns: calc(", " - ", ") repeat(12, minmax(0, 1fr)) calc(", " - ", ");\n --grid-column-gap: ", ";\n --grid-margin: ", ";\n --rotator-button-width: ", ";\n --rotator-button-icon-width: ", ";\n\n --font-size-header-6: ", ";\n\n --font-size-altHeader-4: ", ";\n\n --font-size-body-1: ", ";\n }\n\n @media ", " {\n \n }\n\n @media ", " {\n \n }\n }\n"])), function (_ref) {
|
|
11395
11768
|
var theme = _ref.theme;
|
|
11396
11769
|
return theme.colors.primary;
|
|
11397
11770
|
}, function (_ref2) {
|
|
@@ -12332,5 +12705,5 @@ var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$1n || (_templa
|
|
|
12332
12705
|
return theme.fonts.tablet.sizes.body[1];
|
|
12333
12706
|
}, devices.desktop, devices.largeDesktop);
|
|
12334
12707
|
|
|
12335
|
-
export { Accordion, Accordions, AltHeader, AnchorTabBar, AnnouncementBanner, AspectRatio, AuxiliaryButton, AuxiliaryNav, BodyText, ButtonType, Card, Cards, CarouselType, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, Editorial, FilterToggles, Footer, GlobalStyles, Grid, GridItem, Header, IInformationBackgroundColour, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information,
|
|
12708
|
+
export { Accordion, Accordions, AltHeader, AnchorTabBar, AnnouncementBanner, AspectRatio, AuxiliaryButton, AuxiliaryNav, BodyText, ButtonType, Card, Cards, CarouselType, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, Editorial, FilterToggles, Footer, GlobalStyles, Grid, GridItem, Header, IInformationBackgroundColour, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MiniCard, ModalWindow, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Quote, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, SelectComponent as Select2, SelectComponent$1 as Select2Async, SignUpForm, Sponsorship, StatusBanner, Component as Stepper, StickyBar, StreamBadge, Subtitle, Tab, TabLink, Table, Tabs, Button$1 as TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, TextOnly, Theme as ThemeProvider, ThemeType, Tickbox, Tickbox2, TickboxMode, Timer, TitleWithCTA, ToggleButton, TypeTags, UpsellCard, UpsellSection, VideoControls, VideoWithControls$1 as VideoWithControls, breakpoints, devices, zIndexes };
|
|
12336
12709
|
//# sourceMappingURL=chord.esm.js.map
|