tf-checkout-react 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/stripePayment/index.d.ts +3 -1
- package/dist/env.d.ts +2 -2
- package/dist/tf-checkout-react.cjs.development.css +3 -3
- package/dist/tf-checkout-react.cjs.development.js +75 -41
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +78 -44
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/dist/types/billing-info-data.d.ts +1 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/billing-info-container/index.tsx +26 -12
- package/src/components/billing-info-container/style.css +8 -5
- package/src/components/loginModal/style.css +4 -0
- package/src/components/paymentContainer/index.tsx +5 -0
- package/src/components/stripePayment/index.tsx +23 -4
- package/src/components/ticketsContainer/index.tsx +3 -0
- package/src/components/ticketsContainer/style.css +17 -3
- package/src/env.ts +2 -2
- package/src/types/billing-info-data.ts +1 -0
|
@@ -19,6 +19,7 @@ import Container from '@mui/material/Container';
|
|
|
19
19
|
import Alert from '@mui/material/Alert';
|
|
20
20
|
import { useStripe, useElements, CardNumberElement, CardExpiryElement, CardCvcElement, Elements } from '@stripe/react-stripe-js';
|
|
21
21
|
import { loadStripe } from '@stripe/stripe-js';
|
|
22
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
22
23
|
import SVG from 'react-inlinesvg';
|
|
23
24
|
import _sortBy from 'lodash-es/sortBy';
|
|
24
25
|
import _has from 'lodash-es/has';
|
|
@@ -30,7 +31,6 @@ import _isObject from 'lodash-es/isObject';
|
|
|
30
31
|
import FormControl from '@mui/material/FormControl';
|
|
31
32
|
import MenuItem from '@mui/material/MenuItem';
|
|
32
33
|
import Select from '@mui/material/Select';
|
|
33
|
-
import CircularProgress from '@mui/material/CircularProgress';
|
|
34
34
|
import Button$1 from 'react-bootstrap/Button';
|
|
35
35
|
import jwt_decode from 'jwt-decode';
|
|
36
36
|
|
|
@@ -890,7 +890,7 @@ function styleInject(css, ref) {
|
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
-
var css_248z = ".style_billing-info-container__3ZE3J{margin:0 auto;max-width:800px}.style_billing-info-container__3ZE3J .style_is-half__1W_rP{width:49%}.style_billing-info-container__3ZE3J p{color:#000}.style_billing-info-container__twoFields__2tDqt{display:flex;justify-content:space-between;margin-top:15px}.style_billing-info-container__singleField__2bcsf{margin-top:15px}button{margin-top:10px}.style_account-actions-block__16OH-{color:#182026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,Icons16,sans-serif;margin-top:10px}.style_login-register-button__fGgZf,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO:hover{background-color:#212529;border:#f28051;border-radius:5px;color:#fff;cursor:pointer;display:block;font-family:Inter-Bold;font-size:26px;font-weight:700;line-height:1.15;margin-top:10px;min-height:46px;outline:none;overflow:hidden;padding:14px 12px 12px;position:relative;text-align:center;text-overflow:ellipsis;text-transform:uppercase;width:49%}.style_logo-image-container__2A2uH{margin-top:5px;text-align:center;width:49%}.style_logo-image-container__2A2uH img{height:30px}.style_login-block__22kcN{align-items:center;display:flex;flex-direction:column}.
|
|
893
|
+
var css_248z = ".style_billing-info-container__3ZE3J{margin:0 auto;max-width:800px}.style_billing-info-container__3ZE3J .style_is-half__1W_rP{width:49%}.style_billing-info-container__3ZE3J p{color:#000}.style_billing-info-container__3ZE3J .style_main-header__2OFWa{font-size:2rem;font-weight:600}.style_billing-info-container__twoFields__2tDqt{display:flex;justify-content:space-between;margin-top:15px}.style_billing-info-container__singleField__2bcsf{margin-top:15px}button{margin-top:10px}.style_account-actions-block__16OH-{color:#182026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,Icons16,sans-serif;margin-top:10px}.style_login-register-button__fGgZf,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO,.style_MuiButtonBase-root__1UBk9.style_MuiButton-root__3NzEO:hover{background-color:#212529;border:#f28051;border-radius:5px;color:#fff;cursor:pointer;display:block;font-family:Inter-Bold;font-size:26px;font-weight:700;line-height:1.15;margin-top:10px;min-height:46px;outline:none;overflow:hidden;padding:14px 12px 12px;position:relative;text-align:center;text-overflow:ellipsis;text-transform:uppercase;width:49%}.style_logo-image-container__2A2uH{margin-top:5px;text-align:center;width:49%}.style_logo-image-container__2A2uH img{height:30px}.style_login-block__22kcN{align-items:center;display:flex;flex-direction:column}.style_login-register-button__fGgZf:hover{background-color:#505050!important;border-color:#505050!important}.style_login-register-block__36tu5{display:flex;justify-content:space-between}";
|
|
894
894
|
styleInject(css_248z);
|
|
895
895
|
|
|
896
896
|
var combineValidators = function combineValidators() {
|
|
@@ -916,14 +916,13 @@ var requiredValidator = function requiredValidator(value) {
|
|
|
916
916
|
};
|
|
917
917
|
|
|
918
918
|
// preview1
|
|
919
|
-
|
|
920
919
|
var ENV = {
|
|
921
|
-
EVENT_ID:
|
|
922
|
-
BASE_URL: 'https://
|
|
923
|
-
CLIENT_ID: '
|
|
920
|
+
EVENT_ID: 3483,
|
|
921
|
+
BASE_URL: 'https://preview1.ttf.fluxtech.me/api',
|
|
922
|
+
CLIENT_ID: '4792a61f2fcb49197ab4c2d2f44df570',
|
|
924
923
|
CLIENT_SECRET: 'b89c191eff22fdcf84ac9bfd88d005355a151ec2c83b26b9',
|
|
925
|
-
STRIPE_PUBLISHABLE_KEY: '
|
|
926
|
-
};
|
|
924
|
+
STRIPE_PUBLISHABLE_KEY: 'pk_test_51H4BkOGqveRD6EShliLrT9vd7mPOBPvQSuqmvc3wIinDqxWsCLeS2N7HonPPn6MhjU35ayYy5v4I6MLlD4jNWrd000NSgAF6UL'
|
|
925
|
+
}; // prod
|
|
927
926
|
|
|
928
927
|
var isWindowDefined = typeof window !== 'undefined';
|
|
929
928
|
var ttfHeaders = {
|
|
@@ -1091,7 +1090,7 @@ var getStates = function getStates(countryId) {
|
|
|
1091
1090
|
return publicRequest.get("/countries/" + countryId + "/states/");
|
|
1092
1091
|
};
|
|
1093
1092
|
|
|
1094
|
-
var css_248z$1 = ".style_modal-title__2sUq_{align-items:center;background-color:#fff;display:flex;font-family:Inter;font-size:18px;font-weight:700;height:49px;line-height:22px;padding-left:25px;position:relative}.style_login-modal-body__2sFg5{padding:15px 25px}.style_login-modal-body__2sFg5 input{background:#fff!important}.style_login-modal-body__email__2nnEH,.style_login-modal-body__password__qS3g7{margin-bottom:20px}.style_login-action-button__1g9qt button{background-color:#212529;border:none;border-radius:0;color:#fff;cursor:pointer;font-size:26px;font-weight:600;height:45px;line-height:18px;margin:10px 0;outline:none;padding:10px;width:100%}.style_server_auth__error__1340S{color:red;font-family:Inter;font-size:12px;font-style:normal;padding-left:25px;padding-top:15px}.style_info-text-for-login__28JQf{font-size:14px;margin-bottom:4px;padding-left:10px}";
|
|
1093
|
+
var css_248z$1 = ".style_modal-title__2sUq_{align-items:center;background-color:#fff;display:flex;font-family:Inter;font-size:18px;font-weight:700;height:49px;line-height:22px;padding-left:25px;position:relative}.style_login-modal-body__2sFg5{padding:15px 25px}.style_login-modal-body__2sFg5 input{background:#fff!important}.style_login-modal-body__email__2nnEH,.style_login-modal-body__password__qS3g7{margin-bottom:20px}.style_login-action-button__1g9qt button{background-color:#212529;border:none;border-radius:0;color:#fff;cursor:pointer;font-size:26px;font-weight:600;height:45px;line-height:18px;margin:10px 0;outline:none;padding:10px;width:100%}.style_login-action-button__1g9qt button:hover{background-color:#505050;border-color:#505050}.style_server_auth__error__1340S{color:red;font-family:Inter;font-size:12px;font-style:normal;padding-left:25px;padding-top:15px}.style_info-text-for-login__28JQf{font-size:14px;margin-bottom:4px;padding-left:10px}";
|
|
1095
1094
|
styleInject(css_248z$1);
|
|
1096
1095
|
|
|
1097
1096
|
var style = {
|
|
@@ -2052,6 +2051,7 @@ var BillingInfoContainer = function BillingInfoContainer(_ref4) {
|
|
|
2052
2051
|
}, "Login"))), _map(data, function (item) {
|
|
2053
2052
|
var id = item.id,
|
|
2054
2053
|
label = item.label,
|
|
2054
|
+
labelClassName = item.labelClassName,
|
|
2055
2055
|
fields = item.fields;
|
|
2056
2056
|
|
|
2057
2057
|
if (label === 'Ticket Holders' && !showTicketHolderName && !showDOB) {
|
|
@@ -2060,7 +2060,9 @@ var BillingInfoContainer = function BillingInfoContainer(_ref4) {
|
|
|
2060
2060
|
|
|
2061
2061
|
return React.createElement(SectionContainer, {
|
|
2062
2062
|
key: id
|
|
2063
|
-
}, React.createElement("p",
|
|
2063
|
+
}, React.createElement("p", {
|
|
2064
|
+
className: labelClassName
|
|
2065
|
+
}, label), _map(fields, function (group, index) {
|
|
2064
2066
|
var groupClassname = group.groupClassname,
|
|
2065
2067
|
groupItems = group.groupItems,
|
|
2066
2068
|
groupLabel = group.groupLabel,
|
|
@@ -2229,7 +2231,11 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2229
2231
|
error = _ref$error === void 0 ? null : _ref$error,
|
|
2230
2232
|
stripe_client_secret = _ref.stripe_client_secret,
|
|
2231
2233
|
currency = _ref.currency,
|
|
2232
|
-
billing_info = _ref.billing_info
|
|
2234
|
+
billing_info = _ref.billing_info,
|
|
2235
|
+
_ref$isLoading = _ref.isLoading,
|
|
2236
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
2237
|
+
_ref$handleSetLoading = _ref.handleSetLoading,
|
|
2238
|
+
handleSetLoading = _ref$handleSetLoading === void 0 ? function () {} : _ref$handleSetLoading;
|
|
2233
2239
|
var stripe = useStripe();
|
|
2234
2240
|
var elements = useElements();
|
|
2235
2241
|
|
|
@@ -2249,26 +2255,31 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2249
2255
|
while (1) {
|
|
2250
2256
|
switch (_context.prev = _context.next) {
|
|
2251
2257
|
case 0:
|
|
2252
|
-
|
|
2258
|
+
handleSetLoading(true);
|
|
2259
|
+
_context.prev = 1;
|
|
2253
2260
|
event.preventDefault();
|
|
2254
2261
|
|
|
2255
2262
|
if (postalCode) {
|
|
2256
|
-
_context.next =
|
|
2263
|
+
_context.next = 7;
|
|
2257
2264
|
break;
|
|
2258
2265
|
}
|
|
2259
2266
|
|
|
2260
2267
|
setStripeError("Please enter your zip code.");
|
|
2268
|
+
handleSetLoading(false);
|
|
2261
2269
|
return _context.abrupt("return");
|
|
2262
2270
|
|
|
2263
|
-
case
|
|
2271
|
+
case 7:
|
|
2264
2272
|
if (!(!stripe || !elements)) {
|
|
2265
|
-
_context.next =
|
|
2273
|
+
_context.next = 10;
|
|
2266
2274
|
break;
|
|
2267
2275
|
}
|
|
2268
2276
|
|
|
2277
|
+
// Stripe.js has not loaded yet. Make sure to disable
|
|
2278
|
+
// form submission until Stripe.js has loaded.
|
|
2279
|
+
handleSetLoading(false);
|
|
2269
2280
|
return _context.abrupt("return");
|
|
2270
2281
|
|
|
2271
|
-
case
|
|
2282
|
+
case 10:
|
|
2272
2283
|
card = elements.getElement(CardNumberElement);
|
|
2273
2284
|
address = {
|
|
2274
2285
|
city: billing_info.city,
|
|
@@ -2276,7 +2287,7 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2276
2287
|
state: billing_info.state,
|
|
2277
2288
|
postal_code: postalCode
|
|
2278
2289
|
};
|
|
2279
|
-
_context.next =
|
|
2290
|
+
_context.next = 14;
|
|
2280
2291
|
return stripe.createPaymentMethod({
|
|
2281
2292
|
type: 'card',
|
|
2282
2293
|
card: card || {
|
|
@@ -2287,51 +2298,53 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2287
2298
|
}
|
|
2288
2299
|
});
|
|
2289
2300
|
|
|
2290
|
-
case
|
|
2301
|
+
case 14:
|
|
2291
2302
|
paymentMethodReq = _context.sent;
|
|
2292
2303
|
|
|
2293
2304
|
if (!paymentMethodReq.error) {
|
|
2294
|
-
_context.next =
|
|
2305
|
+
_context.next = 19;
|
|
2295
2306
|
break;
|
|
2296
2307
|
}
|
|
2297
2308
|
|
|
2298
2309
|
setStripeError(paymentMethodReq.error.message || null);
|
|
2310
|
+
handleSetLoading(false);
|
|
2299
2311
|
return _context.abrupt("return");
|
|
2300
2312
|
|
|
2301
|
-
case
|
|
2302
|
-
_context.next =
|
|
2313
|
+
case 19:
|
|
2314
|
+
_context.next = 21;
|
|
2303
2315
|
return stripe.confirmCardPayment(stripe_client_secret, {
|
|
2304
2316
|
payment_method: paymentMethodReq.paymentMethod.id
|
|
2305
2317
|
});
|
|
2306
2318
|
|
|
2307
|
-
case
|
|
2319
|
+
case 21:
|
|
2308
2320
|
_yield$stripe$confirm = _context.sent;
|
|
2309
2321
|
_error = _yield$stripe$confirm.error;
|
|
2310
2322
|
|
|
2311
2323
|
if (!_error) {
|
|
2312
|
-
_context.next =
|
|
2324
|
+
_context.next = 27;
|
|
2313
2325
|
break;
|
|
2314
2326
|
}
|
|
2315
2327
|
|
|
2316
2328
|
setStripeError(_error.message);
|
|
2329
|
+
handleSetLoading(false);
|
|
2317
2330
|
return _context.abrupt("return");
|
|
2318
2331
|
|
|
2319
|
-
case
|
|
2332
|
+
case 27:
|
|
2320
2333
|
onSubmit(null);
|
|
2321
|
-
_context.next =
|
|
2334
|
+
_context.next = 33;
|
|
2322
2335
|
break;
|
|
2323
2336
|
|
|
2324
|
-
case
|
|
2325
|
-
_context.prev =
|
|
2326
|
-
_context.t0 = _context["catch"](
|
|
2337
|
+
case 30:
|
|
2338
|
+
_context.prev = 30;
|
|
2339
|
+
_context.t0 = _context["catch"](1);
|
|
2327
2340
|
onSubmit(_context.t0);
|
|
2328
2341
|
|
|
2329
|
-
case
|
|
2342
|
+
case 33:
|
|
2330
2343
|
case "end":
|
|
2331
2344
|
return _context.stop();
|
|
2332
2345
|
}
|
|
2333
2346
|
}
|
|
2334
|
-
}, _callee, null, [[
|
|
2347
|
+
}, _callee, null, [[1, 30]]);
|
|
2335
2348
|
}));
|
|
2336
2349
|
|
|
2337
2350
|
return function handleSubmit(_x) {
|
|
@@ -2343,6 +2356,15 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2343
2356
|
setPostalCode(e.target.value);
|
|
2344
2357
|
};
|
|
2345
2358
|
|
|
2359
|
+
useEffect(function () {
|
|
2360
|
+
if (typeof window !== 'undefined') {
|
|
2361
|
+
var userData = JSON.parse(window.localStorage.getItem('user_data') || '');
|
|
2362
|
+
|
|
2363
|
+
var zipCode = _get(userData, 'zip', '');
|
|
2364
|
+
|
|
2365
|
+
zipCode && setPostalCode(zipCode);
|
|
2366
|
+
}
|
|
2367
|
+
}, []);
|
|
2346
2368
|
return React.createElement("div", {
|
|
2347
2369
|
className: "stripe_payment_container"
|
|
2348
2370
|
}, !!stripeError && React.createElement("div", {
|
|
@@ -2385,9 +2407,9 @@ var CheckoutForm = function CheckoutForm(_ref) {
|
|
|
2385
2407
|
}))), React.createElement("div", {
|
|
2386
2408
|
className: "payment_button"
|
|
2387
2409
|
}, React.createElement("button", {
|
|
2388
|
-
disabled: !stripe || !!error,
|
|
2410
|
+
disabled: !stripe || !!error || isLoading,
|
|
2389
2411
|
type: "submit"
|
|
2390
|
-
}, "Pay " + getCurrencySymbolByCurrency(currency) + total))));
|
|
2412
|
+
}, isLoading ? React.createElement(CircularProgress, null) : "Pay " + getCurrencySymbolByCurrency(currency) + total))));
|
|
2391
2413
|
};
|
|
2392
2414
|
|
|
2393
2415
|
var testId = ENV.STRIPE_PUBLISHABLE_KEY ;
|
|
@@ -2433,6 +2455,10 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2433
2455
|
error = _useState3[0],
|
|
2434
2456
|
setError = _useState3[1];
|
|
2435
2457
|
|
|
2458
|
+
var _useState4 = useState(false),
|
|
2459
|
+
paymentIsLoading = _useState4[0],
|
|
2460
|
+
setPaymentIsLoading = _useState4[1];
|
|
2461
|
+
|
|
2436
2462
|
var showFormTitle = Boolean(formTitle);
|
|
2437
2463
|
var showErrorText = Boolean(errorText);
|
|
2438
2464
|
useEffect(function () {
|
|
@@ -2497,38 +2523,40 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2497
2523
|
_context2.prev = 0;
|
|
2498
2524
|
|
|
2499
2525
|
if (!error) {
|
|
2500
|
-
_context2.next =
|
|
2526
|
+
_context2.next = 4;
|
|
2501
2527
|
break;
|
|
2502
2528
|
}
|
|
2503
2529
|
|
|
2530
|
+
setPaymentIsLoading(false);
|
|
2504
2531
|
throw error;
|
|
2505
2532
|
|
|
2506
|
-
case
|
|
2533
|
+
case 4:
|
|
2507
2534
|
order_hash = reviewData.order_details.order_hash;
|
|
2508
|
-
_context2.next =
|
|
2535
|
+
_context2.next = 7;
|
|
2509
2536
|
return handlePaymentSuccess(order_hash);
|
|
2510
2537
|
|
|
2511
|
-
case
|
|
2538
|
+
case 7:
|
|
2512
2539
|
paymentSuccessResponse = _context2.sent;
|
|
2513
2540
|
|
|
2514
2541
|
if (paymentSuccessResponse.status === 200) {
|
|
2515
2542
|
handlePayment(paymentSuccessResponse);
|
|
2543
|
+
setPaymentIsLoading(false);
|
|
2516
2544
|
}
|
|
2517
2545
|
|
|
2518
|
-
_context2.next =
|
|
2546
|
+
_context2.next = 14;
|
|
2519
2547
|
break;
|
|
2520
2548
|
|
|
2521
|
-
case
|
|
2522
|
-
_context2.prev =
|
|
2549
|
+
case 11:
|
|
2550
|
+
_context2.prev = 11;
|
|
2523
2551
|
_context2.t0 = _context2["catch"](0);
|
|
2524
2552
|
setError(_get(_context2.t0, 'response.data.message'));
|
|
2525
2553
|
|
|
2526
|
-
case
|
|
2554
|
+
case 14:
|
|
2527
2555
|
case "end":
|
|
2528
2556
|
return _context2.stop();
|
|
2529
2557
|
}
|
|
2530
2558
|
}
|
|
2531
|
-
}, _callee2, null, [[0,
|
|
2559
|
+
}, _callee2, null, [[0, 11]]);
|
|
2532
2560
|
}));
|
|
2533
2561
|
|
|
2534
2562
|
return function handlePaymentMiddleWare(_x) {
|
|
@@ -2577,7 +2605,11 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
2577
2605
|
onSubmit: handlePaymentMiddleWare,
|
|
2578
2606
|
error: error,
|
|
2579
2607
|
currency: orderData.currency,
|
|
2580
|
-
billing_info: reviewData.billing_info
|
|
2608
|
+
billing_info: reviewData.billing_info,
|
|
2609
|
+
isLoading: paymentIsLoading,
|
|
2610
|
+
handleSetLoading: function handleSetLoading(value) {
|
|
2611
|
+
return setPaymentIsLoading(value);
|
|
2612
|
+
}
|
|
2581
2613
|
}))))));
|
|
2582
2614
|
};
|
|
2583
2615
|
|
|
@@ -2742,7 +2774,7 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
|
|
|
2742
2774
|
})))));
|
|
2743
2775
|
};
|
|
2744
2776
|
|
|
2745
|
-
var css_248z$6 = "body{margin:0;padding:0}.style_get-tickets-page__11KeR{width:100%}.style_event-detail__tier__2CcMs{background-color:#fff;padding:17px 35px 20px}.style_event-detail__tier-name__116US{color:#000;font-family:Inter-Bold;font-family:Bebas Neue;font-size:.85rem;font-weight:700;letter-spacing:.2em;line-height:1.3;margin-bottom:8px;margin-top:16px;
|
|
2777
|
+
var css_248z$6 = "body{margin:0;padding:0}.style_get-tickets-page__11KeR{width:100%}.style_event-detail__tier__2CcMs{background-color:#fff;padding:17px 35px 20px}.style_event-detail__tier-name__116US{color:#000;font-family:Inter-Bold;font-family:Bebas Neue;font-size:.85rem;font-weight:700;letter-spacing:.2em;line-height:1.3;margin-bottom:8px;margin-top:16px;padding-right:20%;text-transform:uppercase}.style_event-detail__tier-status__IbqO1{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-top:8px;width:100%}.style_event-detail__tier-status__IbqO1.style_ticket-button__Nty1u{background-color:#212529;border:3px solid #000;border-radius:0;color:#fff;cursor:pointer;font-weight:700;letter-spacing:.2em;line-height:1.5;margin-bottom:10px;width:200px}.style_event-tickets-container__3vdaQ{align-items:center;display:flex;justify-content:space-between}.style_event-detail__tier-status__IbqO1.style_ticket-button__Nty1u.style_true__g6yhC{background-color:#c1c3c6;border-color:#afb0b1}.style_event-detail__tier-price__3doIb{color:#000;font-family:Inter-Bold;font-size:1.5rem;font-weight:700;line-height:1;text-align:center}.style_event-detail__tier-price__3doIb p{margin:0}.style_event-detail__tier-price__3doIb .style_fees__19QjH{font-size:14px;font-weight:400;margin-top:4px;text-align:left}.style_event-detail__tier-price__3doIb .style_old-price__2mSOJ{color:red;font-size:1.3rem;margin-bottom:5px;text-decoration:line-through}.style_alert-info__24Mx5{background-color:#d9edf7;border:1px solid #bce8f1;border-radius:4px;color:#3a87ad;font-size:1em;margin:0 35px;padding:8px 15px;text-align:center;text-shadow:0 1px 0 hsla(0,0%,100%,.5)}.style_event-detail__tier-state__2ethF{color:#30bc9d;font-family:Inter-Bold;font-size:.75rem;font-weight:300;line-height:1;text-align:right;text-transform:uppercase}.style_promo-code-block__ttqVr input{font-size:14px;padding:1px 8px}.style_book-button__1krJI{background-color:#212529;border:3px solid #000;border-radius:0;color:#fff;cursor:pointer;display:block;font-size:26px;font-weight:700;height:50px;letter-spacing:.2em;line-height:1.5;margin:25px auto 10px;text-align:center;width:100%}.style_book-button__1krJI:hover{background-color:#505050;border-color:#505050}.style_loader-container__3iPe2{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar{width:5px}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-track{background:#f1f1f1}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-thumb{background:#888}.style_get-tickets-paper__3ZF-f::-webkit-scrollbar-thumb:hover{background:#555}.style_get-tickets__3Sghy .style_get-tickets__selectbox__2ApAj{width:100%}.style_disabled__310xq{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.style_hidden__ceCor{display:none}";
|
|
2746
2778
|
styleInject(css_248z$6);
|
|
2747
2779
|
|
|
2748
2780
|
var getTicketSelectOptions = function getTicketSelectOptions(maxCount, minCount, multiplier) {
|
|
@@ -2839,7 +2871,9 @@ var renderTiers = function renderTiers(boxOffice, selectedTickets, handleTicketS
|
|
|
2839
2871
|
className: "event-detail__tier-price"
|
|
2840
2872
|
}, ticketIsDiscounted && React.createElement("p", {
|
|
2841
2873
|
className: "old-price"
|
|
2842
|
-
}, "$ ", (+tier.oldPrice).toFixed(2)), React.createElement("p", null, isSoldOut ? 'SOLD OUT' : "$ " + (+tier.cost || +tier.price).toFixed(2))
|
|
2874
|
+
}, "$ ", (+tier.oldPrice).toFixed(2)), React.createElement("p", null, isSoldOut ? 'SOLD OUT' : "$ " + (+tier.cost || +tier.price).toFixed(2)), !isSoldOut && React.createElement("p", {
|
|
2875
|
+
className: 'fees'
|
|
2876
|
+
}, tier.taxesIncluded ? '(incl. Fees)' : '(excl. Fees)')), React.createElement("div", {
|
|
2843
2877
|
className: "event-detail__tier-state",
|
|
2844
2878
|
style: {
|
|
2845
2879
|
minWidth: 55
|