@pelcro/react-pelcro-js 3.2.0-beta.34 → 3.2.0-beta.35

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/index.cjs.js CHANGED
@@ -6975,7 +6975,7 @@ class PelcroActions {
6975
6975
  view,
6976
6976
  cartItems,
6977
6977
  ...otherStateFields
6978
- } = initialState$k;
6978
+ } = initialState$l;
6979
6979
  this.set(otherStateFields);
6980
6980
  });
6981
6981
 
@@ -7311,7 +7311,7 @@ class PelcroCallbacks {
7311
7311
 
7312
7312
  }
7313
7313
 
7314
- const initialState$k = {
7314
+ const initialState$l = {
7315
7315
  // View
7316
7316
  view: null,
7317
7317
  // Plans
@@ -7341,7 +7341,7 @@ const createPelcroStore = () => createStore(middleware_3((set, get) => {
7341
7341
  return {
7342
7342
  // Store setter
7343
7343
  set,
7344
- ...initialState$k,
7344
+ ...initialState$l,
7345
7345
  // State actions
7346
7346
  ...actions,
7347
7347
  // Callbacks
@@ -10537,8 +10537,9 @@ const GET_NEWSLETTERS_FETCH = "GET_NEWSLETTERS_FETCH";
10537
10537
  const GET_NEWSLETTERS_SUCCESS = "GET_NEWSLETTERS_SUCCESS";
10538
10538
  const SWITCH_TO_UPDATE = "SWITCH_TO_UPDATE";
10539
10539
  const LINK_TOKEN_VERIFY = "LINK_TOKEN_VERIFY";
10540
+ const SET_CANCEL_SUBSCRIPTION_REASON = "SET_CANCEL_SUBSCRIPTION_REASON";
10540
10541
 
10541
- const initialState$j = {
10542
+ const initialState$k = {
10542
10543
  email: "",
10543
10544
  password: "",
10544
10545
  emailError: null,
@@ -10549,10 +10550,10 @@ const initialState$j = {
10549
10550
  content: ""
10550
10551
  }
10551
10552
  };
10552
- const store$j = /*#__PURE__*/React.createContext(initialState$j);
10553
+ const store$k = /*#__PURE__*/React.createContext(initialState$k);
10553
10554
  const {
10554
- Provider: Provider$j
10555
- } = store$j;
10555
+ Provider: Provider$k
10556
+ } = store$k;
10556
10557
 
10557
10558
  const LoginContainer = ({
10558
10559
  style,
@@ -10659,7 +10660,7 @@ const LoginContainer = ({
10659
10660
  });
10660
10661
 
10661
10662
  case RESET_LOGIN_FORM:
10662
- return initialState$j;
10663
+ return initialState$k;
10663
10664
 
10664
10665
  case DISABLE_LOGIN_BUTTON:
10665
10666
  return lib_7({ ...state,
@@ -10677,12 +10678,12 @@ const LoginContainer = ({
10677
10678
  default:
10678
10679
  return state;
10679
10680
  }
10680
- }, initialState$j);
10681
+ }, initialState$k);
10681
10682
  return /*#__PURE__*/React__default['default'].createElement("div", {
10682
10683
  style: { ...style
10683
10684
  },
10684
10685
  className: `pelcro-container pelcro-login-container ${className}`
10685
- }, /*#__PURE__*/React__default['default'].createElement(Provider$j, {
10686
+ }, /*#__PURE__*/React__default['default'].createElement(Provider$k, {
10686
10687
  value: {
10687
10688
  state,
10688
10689
  dispatch
@@ -10690,12 +10691,12 @@ const LoginContainer = ({
10690
10691
  }, children.length ? children.map((child, i) => {
10691
10692
  if (child) {
10692
10693
  return /*#__PURE__*/React__default['default'].cloneElement(child, {
10693
- store: store$j,
10694
+ store: store$k,
10694
10695
  key: i
10695
10696
  });
10696
10697
  }
10697
10698
  }) : /*#__PURE__*/React__default['default'].cloneElement(children, {
10698
- store: store$j
10699
+ store: store$k
10699
10700
  })));
10700
10701
  };
10701
10702
 
@@ -10953,7 +10954,7 @@ const LoginButton = ({
10953
10954
  buttonDisabled
10954
10955
  },
10955
10956
  dispatch
10956
- } = React.useContext(store$j);
10957
+ } = React.useContext(store$k);
10957
10958
  const {
10958
10959
  t
10959
10960
  } = useTranslation("login");
@@ -11011,11 +11012,11 @@ const LoginRequestLoginToken = ({
11011
11012
  };
11012
11013
 
11013
11014
  const LoginEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
11014
- store: store$j
11015
+ store: store$k
11015
11016
  }, props));
11016
11017
 
11017
11018
  const LoginPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
11018
- store: store$j
11019
+ store: store$k
11019
11020
  }, props));
11020
11021
 
11021
11022
  var _path$q;
@@ -11092,7 +11093,7 @@ var facebookLoginRenderProps = createCommonjsModule(function (module, exports) {
11092
11093
  var FacebookLogin = unwrapExports(facebookLoginRenderProps);
11093
11094
  facebookLoginRenderProps.FacebookLogin;
11094
11095
 
11095
- const initialState$i = {
11096
+ const initialState$j = {
11096
11097
  email: "",
11097
11098
  password: "",
11098
11099
  emailError: null,
@@ -11109,10 +11110,10 @@ const initialState$i = {
11109
11110
  content: ""
11110
11111
  }
11111
11112
  };
11112
- const store$i = /*#__PURE__*/React.createContext(initialState$i);
11113
+ const store$j = /*#__PURE__*/React.createContext(initialState$j);
11113
11114
  const {
11114
- Provider: Provider$i
11115
- } = store$i;
11115
+ Provider: Provider$j
11116
+ } = store$j;
11116
11117
 
11117
11118
  const RegisterContainer = ({
11118
11119
  style,
@@ -11295,7 +11296,7 @@ const RegisterContainer = ({
11295
11296
  });
11296
11297
 
11297
11298
  case RESET_LOGIN_FORM:
11298
- return initialState$i;
11299
+ return initialState$j;
11299
11300
 
11300
11301
  case DISABLE_REGISTRATION_BUTTON:
11301
11302
  return lib_7({ ...state,
@@ -11313,12 +11314,12 @@ const RegisterContainer = ({
11313
11314
  default:
11314
11315
  return state;
11315
11316
  }
11316
- }, initialState$i);
11317
+ }, initialState$j);
11317
11318
  return /*#__PURE__*/React__default['default'].createElement("div", {
11318
11319
  style: { ...style
11319
11320
  },
11320
11321
  className: `pelcro-container pelcro-register-container ${className}`
11321
- }, /*#__PURE__*/React__default['default'].createElement(Provider$i, {
11322
+ }, /*#__PURE__*/React__default['default'].createElement(Provider$j, {
11322
11323
  value: {
11323
11324
  state,
11324
11325
  dispatch
@@ -11326,12 +11327,12 @@ const RegisterContainer = ({
11326
11327
  }, children.length ? children.map((child, i) => {
11327
11328
  if (child) {
11328
11329
  return /*#__PURE__*/React__default['default'].cloneElement(child, {
11329
- store: store$i,
11330
+ store: store$j,
11330
11331
  key: i
11331
11332
  });
11332
11333
  }
11333
11334
  }) : /*#__PURE__*/React__default['default'].cloneElement(children, {
11334
- store: store$i
11335
+ store: store$j
11335
11336
  })));
11336
11337
  };
11337
11338
  /**
@@ -11371,10 +11372,10 @@ const FacebookLoginButton = ({
11371
11372
  const facebookLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.facebook_app_id;
11372
11373
  const {
11373
11374
  dispatch: loginDispatch
11374
- } = React.useContext(store$j);
11375
+ } = React.useContext(store$k);
11375
11376
  const {
11376
11377
  dispatch: registerDispatch
11377
- } = React.useContext(store$i);
11378
+ } = React.useContext(store$j);
11378
11379
 
11379
11380
  const onSuccess = facebookUser => {
11380
11381
  loginDispatch === null || loginDispatch === void 0 ? void 0 : loginDispatch({
@@ -11461,10 +11462,10 @@ const GoogleLoginButton = ({
11461
11462
  const googleLoginEnabled = (_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.google_app_id;
11462
11463
  const {
11463
11464
  dispatch: loginDispatch
11464
- } = React.useContext(store$j);
11465
+ } = React.useContext(store$k);
11465
11466
  const {
11466
11467
  dispatch: registerDispatch
11467
- } = React.useContext(store$i);
11468
+ } = React.useContext(store$j);
11468
11469
 
11469
11470
  const onSuccess = response => {
11470
11471
  var _response$getAuthResp, _profile$getEmail, _profile$getGivenName, _profile$getFamilyNam, _profile$getEmail2, _profile$getGivenName2, _profile$getFamilyNam2;
@@ -11560,10 +11561,10 @@ const Auth0LoginButton = ({
11560
11561
  }, [auth0Enabled, auth0Loaded]);
11561
11562
  const {
11562
11563
  dispatch: loginDispatch
11563
- } = React.useContext(store$j);
11564
+ } = React.useContext(store$k);
11564
11565
  const {
11565
11566
  dispatch: registerDispatch
11566
- } = React.useContext(store$i);
11567
+ } = React.useContext(store$j);
11567
11568
 
11568
11569
  function handleClick() {
11569
11570
  var _auth0InstanceRef$cur, _auth0InstanceRef$cur2, _auth0InstanceRef$cur3;
@@ -11860,11 +11861,11 @@ function LoginModal({
11860
11861
  LoginModal.viewId = "login";
11861
11862
 
11862
11863
  const RegisterEmail = props => /*#__PURE__*/React__default['default'].createElement(Email, Object.assign({
11863
- store: store$i
11864
+ store: store$j
11864
11865
  }, props));
11865
11866
 
11866
11867
  const RegisterPassword = props => /*#__PURE__*/React__default['default'].createElement(Password, Object.assign({
11867
- store: store$i
11868
+ store: store$j
11868
11869
  }, props));
11869
11870
 
11870
11871
  const RegisterButton = ({
@@ -11884,7 +11885,7 @@ const RegisterButton = ({
11884
11885
  buttonDisabled
11885
11886
  },
11886
11887
  dispatch
11887
- } = React.useContext(store$i);
11888
+ } = React.useContext(store$j);
11888
11889
  const {
11889
11890
  t
11890
11891
  } = useTranslation("register");
@@ -12022,7 +12023,7 @@ function FirstName({
12022
12023
  }
12023
12024
 
12024
12025
  const RegisterFirstName = props => /*#__PURE__*/React__default['default'].createElement(FirstName, Object.assign({
12025
- store: store$i
12026
+ store: store$j
12026
12027
  }, props));
12027
12028
 
12028
12029
  function LastName({
@@ -12053,7 +12054,7 @@ function LastName({
12053
12054
  }
12054
12055
 
12055
12056
  const RegisterLastName = props => /*#__PURE__*/React__default['default'].createElement(LastName, Object.assign({
12056
- store: store$i
12057
+ store: store$j
12057
12058
  }, props));
12058
12059
 
12059
12060
  /**
@@ -12177,7 +12178,7 @@ function TextInput({
12177
12178
 
12178
12179
  const RegisterTextInput = props => {
12179
12180
  return /*#__PURE__*/React__default['default'].createElement(TextInput, Object.assign({}, props, {
12180
- store: store$i
12181
+ store: store$j
12181
12182
  }));
12182
12183
  };
12183
12184
 
@@ -14521,7 +14522,7 @@ class VantivGateway {
14521
14522
 
14522
14523
  /** @type {PaymentStateType} */
14523
14524
 
14524
- const initialState$h = {
14525
+ const initialState$i = {
14525
14526
  disableSubmit: false,
14526
14527
  isLoading: false,
14527
14528
  disableCouponButton: false,
@@ -14540,10 +14541,10 @@ const initialState$h = {
14540
14541
  content: ""
14541
14542
  }
14542
14543
  };
14543
- const store$h = /*#__PURE__*/React.createContext(initialState$h);
14544
+ const store$i = /*#__PURE__*/React.createContext(initialState$i);
14544
14545
  const {
14545
- Provider: Provider$h
14546
- } = store$h;
14546
+ Provider: Provider$i
14547
+ } = store$i;
14547
14548
 
14548
14549
  const PaymentMethodContainerWithoutStripe = ({
14549
14550
  style,
@@ -15795,21 +15796,21 @@ const PaymentMethodContainerWithoutStripe = ({
15795
15796
  default:
15796
15797
  return state;
15797
15798
  }
15798
- }, initialState$h);
15799
+ }, initialState$i);
15799
15800
  return /*#__PURE__*/React__default['default'].createElement("div", {
15800
15801
  style: { ...style
15801
15802
  },
15802
15803
  className: `pelcro-container pelcro-payment-container ${className}`
15803
- }, /*#__PURE__*/React__default['default'].createElement(Provider$h, {
15804
+ }, /*#__PURE__*/React__default['default'].createElement(Provider$i, {
15804
15805
  value: {
15805
15806
  state,
15806
15807
  dispatch
15807
15808
  }
15808
15809
  }, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
15809
- store: store$h,
15810
+ store: store$i,
15810
15811
  key: i
15811
15812
  })) : /*#__PURE__*/React__default['default'].cloneElement(children, {
15812
- store: store$h
15813
+ store: store$i
15813
15814
  })));
15814
15815
  };
15815
15816
 
@@ -15831,7 +15832,7 @@ const PaymentMethodContainer = props => {
15831
15832
  stripeAccount: window.Pelcro.site.read().account_id,
15832
15833
  locale: getPageOrDefaultLanguage()
15833
15834
  }, /*#__PURE__*/React__default['default'].createElement(es_11, null, /*#__PURE__*/React__default['default'].createElement(UnwrappedForm, Object.assign({
15834
- store: store$h
15835
+ store: store$i
15835
15836
  }, props))));
15836
15837
  }
15837
15838
 
@@ -15884,7 +15885,7 @@ const PelcroPaymentRequestButton = props => {
15884
15885
  currentPlan,
15885
15886
  updatedPrice
15886
15887
  }
15887
- } = React.useContext(store$h);
15888
+ } = React.useContext(store$i);
15888
15889
 
15889
15890
  const updatePaymentRequest = () => {
15890
15891
  // Make sure payment request is up to date, eg. user added a coupon code.
@@ -15960,7 +15961,7 @@ const DiscountedPrice = props => {
15960
15961
  taxAmount,
15961
15962
  percentOff
15962
15963
  }
15963
- } = React.useContext(store$h);
15964
+ } = React.useContext(store$i);
15964
15965
  const {
15965
15966
  order,
15966
15967
  plan
@@ -16010,7 +16011,7 @@ const SubmitPaymentMethod = ({
16010
16011
  isLoading,
16011
16012
  updatedPrice
16012
16013
  }
16013
- } = React.useContext(store$h);
16014
+ } = React.useContext(store$i);
16014
16015
  const planQuantity = (_plan$quantity = plan === null || plan === void 0 ? void 0 : plan.quantity) !== null && _plan$quantity !== void 0 ? _plan$quantity : 1;
16015
16016
  const price = updatedPrice !== null && updatedPrice !== void 0 ? updatedPrice : plan === null || plan === void 0 ? void 0 : plan.amount;
16016
16017
  const priceFormatted = getFormattedPriceByLocal(price * planQuantity, plan === null || plan === void 0 ? void 0 : plan.currency, getPageOrDefaultLanguage());
@@ -16060,7 +16061,7 @@ const ApplyCouponButton = ({
16060
16061
  disableCouponButton
16061
16062
  },
16062
16063
  dispatch
16063
- } = React.useContext(store$h);
16064
+ } = React.useContext(store$i);
16064
16065
  const {
16065
16066
  t
16066
16067
  } = useTranslation("checkoutForm");
@@ -16094,7 +16095,7 @@ const CouponCodeField = props => {
16094
16095
  couponCode,
16095
16096
  couponError
16096
16097
  }
16097
- } = React.useContext(store$h);
16098
+ } = React.useContext(store$i);
16098
16099
 
16099
16100
  const onCouponCodeChange = e => {
16100
16101
  dispatch({
@@ -16150,7 +16151,7 @@ const CouponCode = ({
16150
16151
  state: {
16151
16152
  enableCouponField
16152
16153
  }
16153
- } = React.useContext(store$h);
16154
+ } = React.useContext(store$i);
16154
16155
  const {
16155
16156
  t
16156
16157
  } = useTranslation("checkoutForm");
@@ -16407,7 +16408,7 @@ const PaypalSubscribeButton = props => {
16407
16408
  const {
16408
16409
  dispatch,
16409
16410
  state
16410
- } = React.useContext(store$h);
16411
+ } = React.useContext(store$i);
16411
16412
  const {
16412
16413
  product,
16413
16414
  plan,
@@ -16540,7 +16541,7 @@ const SelectedPaymentMethod = () => {
16540
16541
  state: {
16541
16542
  isLoading
16542
16543
  }
16543
- } = React.useContext(store$h);
16544
+ } = React.useContext(store$i);
16544
16545
  const {
16545
16546
  switchView,
16546
16547
  selectedPaymentMethodId
@@ -16582,7 +16583,7 @@ const TaxAmount = () => {
16582
16583
  state: {
16583
16584
  taxAmount
16584
16585
  }
16585
- } = React.useContext(store$h);
16586
+ } = React.useContext(store$i);
16586
16587
  const {
16587
16588
  plan
16588
16589
  } = usePelcro();
@@ -16746,12 +16747,363 @@ function SubscriptionRenewModal({
16746
16747
  }
16747
16748
  SubscriptionRenewModal.viewId = "subscription-renew";
16748
16749
 
16750
+ const initialState$h = {
16751
+ cancelationReason: ""
16752
+ };
16753
+ const store$h = /*#__PURE__*/React.createContext(initialState$h);
16754
+ const {
16755
+ Provider: Provider$h
16756
+ } = store$h;
16757
+
16758
+ const SubscriptionCancelContainer = ({
16759
+ style,
16760
+ className = "",
16761
+ onSuccess = () => {},
16762
+ onFailure = () => {},
16763
+ children,
16764
+ ...props
16765
+ }) => {
16766
+ useTranslation("verifyEmail");
16767
+ const [state, dispatch] = useReducerWithSideEffects((state, action) => {
16768
+ switch (action.type) {
16769
+ case SET_CANCEL_SUBSCRIPTION_REASON:
16770
+ return lib_7({ ...state,
16771
+ cancelationReason: action.payload
16772
+ });
16773
+
16774
+ default:
16775
+ return state;
16776
+ }
16777
+ }, initialState$h);
16778
+ return /*#__PURE__*/React__default['default'].createElement("div", {
16779
+ style: { ...style
16780
+ },
16781
+ className: `pelcro-container pelcro-subscription-cancel-container ${className}`
16782
+ }, /*#__PURE__*/React__default['default'].createElement(Provider$h, {
16783
+ value: {
16784
+ state,
16785
+ dispatch
16786
+ }
16787
+ }, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
16788
+ store: store$h,
16789
+ key: i
16790
+ })) : /*#__PURE__*/React__default['default'].cloneElement(children, {
16791
+ store: store$h
16792
+ })));
16793
+ };
16794
+
16749
16795
  var _path$i;
16750
16796
 
16751
16797
  function _extends$k() { _extends$k = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
16752
16798
 
16753
- function SvgGift(props) {
16799
+ function SvgInfoCircle(props) {
16754
16800
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16801
+ xmlns: "http://www.w3.org/2000/svg",
16802
+ className: "plc-w-5 plc-h-5",
16803
+ fill: "none",
16804
+ viewBox: "0 0 24 24",
16805
+ stroke: "currentColor"
16806
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
16807
+ strokeLinecap: "round",
16808
+ strokeLinejoin: "round",
16809
+ strokeWidth: 2,
16810
+ d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
16811
+ })));
16812
+ }
16813
+
16814
+ /**
16815
+ *
16816
+ */
16817
+
16818
+ const Tooltip = ({
16819
+ value,
16820
+ className
16821
+ }) => {
16822
+ return /*#__PURE__*/React__default['default'].createElement("div", {
16823
+ className: `plc-flex pelcro-tooltip-container plc-text-gray-600 ${className}`
16824
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
16825
+ className: "pelcro-tooltip-icon"
16826
+ }, /*#__PURE__*/React__default['default'].createElement(SvgInfoCircle, null)), /*#__PURE__*/React__default['default'].createElement("div", {
16827
+ className: "plc-p-1 plc--mt-8 plc-text-sm plc-bg-gray-100 plc-border plc-rounded-md plc-shadow-lg pelcro-tooltip"
16828
+ }, value));
16829
+ };
16830
+
16831
+ /**
16832
+ *
16833
+ */
16834
+
16835
+ function TextArea({
16836
+ label = "",
16837
+ tooltipText,
16838
+ required,
16839
+ id,
16840
+ errorId,
16841
+ error,
16842
+ className = "",
16843
+ labelClassName = "",
16844
+ errorClassName = "",
16845
+ wrapperClassName = "",
16846
+ ...otherProps
16847
+ }) {
16848
+ return /*#__PURE__*/React__default['default'].createElement("div", {
16849
+ className: `pelcro-input-wrapper ${wrapperClassName}`
16850
+ }, /*#__PURE__*/React__default['default'].createElement("label", {
16851
+ htmlFor: id,
16852
+ className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
16853
+ }, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
16854
+ value: tooltipText,
16855
+ className: "plc-ml-1"
16856
+ })), /*#__PURE__*/React__default['default'].createElement("textarea", Object.assign({
16857
+ type: "text",
16858
+ id: id,
16859
+ className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
16860
+ "aria-describedby": errorId,
16861
+ "aria-invalid": Boolean(error)
16862
+ }, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
16863
+ id: errorId,
16864
+ "aria-live": "assertive",
16865
+ className: `pelcro-input-error ${errorClassName}`
16866
+ }, error));
16867
+ }
16868
+
16869
+ const SubscriptionCancelReason = props => {
16870
+ const {
16871
+ t
16872
+ } = useTranslation("subscriptionCancel");
16873
+ const {
16874
+ dispatch,
16875
+ state
16876
+ } = React.useContext(store$h);
16877
+
16878
+ const handleOnTextAreaBlur = e => {
16879
+ dispatch({
16880
+ type: SET_CANCEL_SUBSCRIPTION_REASON,
16881
+ payload: e.target.value.trim()
16882
+ });
16883
+ };
16884
+
16885
+ return /*#__PURE__*/React__default['default'].createElement(TextArea, Object.assign({
16886
+ label: t("labels.cancelReason"),
16887
+ onBlur: e => handleOnTextAreaBlur(e)
16888
+ }, props));
16889
+ };
16890
+
16891
+ var _switch;
16892
+
16893
+ function _extends$j() { _extends$j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
16894
+
16895
+ function SvgSubscription(props) {
16896
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16897
+ xmlns: "http://www.w3.org/2000/svg",
16898
+ viewBox: "0 0 100 125",
16899
+ fill: "currentColor"
16900
+ }, props), _switch || (_switch = /*#__PURE__*/React__namespace.createElement("switch", null, /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
16901
+ d: "M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2c0 1.8.7 3.6 2 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5c1.3-1.3 2-3.1 2-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"
16902
+ }), /*#__PURE__*/React__namespace.createElement("path", {
16903
+ d: "M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"
16904
+ }), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
16905
+ d: "M90.4 58.6c0-4.4-3.6-7.9-8-7.9-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-.9 0-1.8.1-2.6.4v-4.6h6c4.8 0 8.6-3.9 8.6-8.7V11.2c0-4.8-3.9-8.7-8.6-8.7H18.2c-4.8 0-8.6 3.9-8.6 8.7v20.3c0 4.8 3.9 8.7 8.6 8.7h24.6V64l-3.3-3.3c-2.7-2.7-7-3.1-10.2-1-1.9 1.3-3.1 3.3-3.5 5.5-.3 2.2.3 4.5 1.8 6.3L42 88.9c4.5 5.5 11.2 8.6 18.2 8.6h9c5.6 0 10.9-2.2 14.9-6.2s6.2-9.3 6.2-14.9l.1-17.8zm-21 33.5h-9c-5.5 0-10.6-2.4-14.1-6.6L31.9 68.1c-.5-.6-.7-1.3-.6-2.1.1-.8.5-1.4 1.1-1.8.4-.3 1-.5 1.5-.5.7 0 1.4.3 1.9.8l5.8 5.8c1.1 1.1 2.8 1.4 4.3.8 1.5-.6 2.4-2 2.4-3.6V30.1c0-1.4 1.2-2.6 2.6-2.6.7 0 1.3.3 1.8.8s.8 1.1.8 1.8v25.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6V59c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v6.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v17.8c0 4.2-1.6 8.1-4.6 11.1-3.2 2.9-7.2 4.5-11.3 4.5zM18.2 34.2c-1.5 0-2.6-1.2-2.6-2.7V11.2c0-1.5 1.2-2.7 2.6-2.7h46.5c1.5 0 2.6 1.2 2.6 2.7v20.3c0 1.5-1.2 2.7-2.6 2.7h-6v-4c0-2.1-.8-4.1-2.3-5.6-1.5-1.5-3.5-2.3-5.6-2.3-4.4 0-7.9 3.6-7.9 8v4H18.2z"
16906
+ }), /*#__PURE__*/React__namespace.createElement("path", {
16907
+ d: "M35.5 15.5L30 21.4l-1.9-2.1c-1-1.1-2.7-1.2-3.8-.1-1.1 1-1.2 2.7-.1 3.8l3.9 4.2c.5.6 1.2.9 2 .9s1.5-.3 2-.9l7.5-8c1-1.1 1-2.8-.1-3.8s-3-1-4 .1z"
16908
+ }))))));
16909
+ }
16910
+
16911
+ const SubscriptionCancelNowButton = ({
16912
+ subscription,
16913
+ onClick,
16914
+ className
16915
+ }) => {
16916
+ const {
16917
+ switchView
16918
+ } = usePelcro();
16919
+ const {
16920
+ state: {
16921
+ cancelationReason
16922
+ },
16923
+ dispatch
16924
+ } = React.useContext(store$h);
16925
+ const {
16926
+ t
16927
+ } = useTranslation("subscriptionCancel");
16928
+
16929
+ const cancelSubscription = (payload, onSuccess, onFailure) => {
16930
+ window.Pelcro.subscription.cancel({
16931
+ auth_token: window.Pelcro.user.read().auth_token,
16932
+ subscription_id: payload.subscription_id,
16933
+ mode: payload.mode,
16934
+ ...(payload.reason && {
16935
+ reason: payload.reason
16936
+ })
16937
+ }, (err, res) => {
16938
+ var _ReactGA$event;
16939
+
16940
+ if (err) {
16941
+ return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
16942
+ }
16943
+
16944
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
16945
+ category: "ACTIONS",
16946
+ action: "Canceled",
16947
+ nonInteraction: true
16948
+ });
16949
+ onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
16950
+ });
16951
+ };
16952
+
16953
+ const handleCancelNowClick = () => {
16954
+ const payload = {
16955
+ subscription_id: subscription.id,
16956
+ mode: "now",
16957
+ ...(cancelationReason && {
16958
+ reason: cancelationReason
16959
+ })
16960
+ };
16961
+ onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
16962
+
16963
+ switchView(null); //Show confirmation alert after closing the modal
16964
+
16965
+ notify.confirm((onSuccess, onFailure) => {
16966
+ cancelSubscription(payload, onSuccess, onFailure);
16967
+ }, {
16968
+ confirmMessage: t("messages.subCancellation.isSureToCancelNow"),
16969
+ loadingMessage: t("messages.subCancellation.loading"),
16970
+ successMessage: t("messages.subCancellation.success"),
16971
+ errorMessage: t("messages.subCancellation.error")
16972
+ }, {
16973
+ closeButtonLabel: t("labels.subCancellation.goBack")
16974
+ });
16975
+ };
16976
+
16977
+ return /*#__PURE__*/React__default['default'].createElement(Button, {
16978
+ onClick: handleCancelNowClick,
16979
+ className: `${className}`
16980
+ }, t("messages.cancelNow"));
16981
+ };
16982
+
16983
+ const SubscriptionCancelLaterButton = ({
16984
+ subscription,
16985
+ onClick,
16986
+ className
16987
+ }) => {
16988
+ const {
16989
+ switchView
16990
+ } = usePelcro();
16991
+ const {
16992
+ state: {
16993
+ cancelationReason
16994
+ },
16995
+ dispatch
16996
+ } = React.useContext(store$h);
16997
+ const {
16998
+ t
16999
+ } = useTranslation("subscriptionCancel");
17000
+
17001
+ const cancelSubscription = (payload, onSuccess, onFailure) => {
17002
+ window.Pelcro.subscription.cancel({
17003
+ auth_token: window.Pelcro.user.read().auth_token,
17004
+ subscription_id: payload.subscription_id,
17005
+ mode: payload.mode,
17006
+ ...(payload.reason && {
17007
+ reason: payload.reason
17008
+ })
17009
+ }, (err, res) => {
17010
+ var _ReactGA$event;
17011
+
17012
+ if (err) {
17013
+ return onFailure === null || onFailure === void 0 ? void 0 : onFailure(err);
17014
+ }
17015
+
17016
+ ReactGA === null || ReactGA === void 0 ? void 0 : (_ReactGA$event = ReactGA.event) === null || _ReactGA$event === void 0 ? void 0 : _ReactGA$event.call(ReactGA, {
17017
+ category: "ACTIONS",
17018
+ action: "Canceled",
17019
+ nonInteraction: true
17020
+ });
17021
+ onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(res);
17022
+ });
17023
+ };
17024
+
17025
+ const handleCancelNowClick = () => {
17026
+ const payload = {
17027
+ subscription_id: subscription.id,
17028
+ mode: "now",
17029
+ ...(cancelationReason && {
17030
+ reason: cancelationReason
17031
+ })
17032
+ };
17033
+ onClick === null || onClick === void 0 ? void 0 : onClick(); //Close the modal
17034
+
17035
+ switchView(null); //Show confirmation alert after closing the modal
17036
+
17037
+ notify.confirm((onSuccess, onFailure) => {
17038
+ cancelSubscription(payload, onSuccess, onFailure);
17039
+ }, {
17040
+ confirmMessage: t("messages.subCancellation.isSureToCancel"),
17041
+ loadingMessage: t("messages.subCancellation.loading"),
17042
+ successMessage: t("messages.subCancellation.success"),
17043
+ errorMessage: t("messages.subCancellation.error")
17044
+ }, {
17045
+ closeButtonLabel: t("labels.subCancellation.goBack")
17046
+ });
17047
+ };
17048
+
17049
+ return /*#__PURE__*/React__default['default'].createElement(Button, {
17050
+ onClick: handleCancelNowClick,
17051
+ className: `${className}`
17052
+ }, t("messages.cancelLater"));
17053
+ };
17054
+
17055
+ const SubscriptionCancelView = props => {
17056
+ const {
17057
+ subscriptionToCancel
17058
+ } = usePelcro();
17059
+ const {
17060
+ t
17061
+ } = useTranslation("subscriptionCancel");
17062
+ return /*#__PURE__*/React__default['default'].createElement("div", {
17063
+ id: "pelcro-subscription-cancel-view"
17064
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
17065
+ className: "plc-mb-6 plc-text-center plc-text-gray-900 pelcro-title-wrapper"
17066
+ }, /*#__PURE__*/React__default['default'].createElement("h4", {
17067
+ className: "plc-text-2xl plc-font-semibold"
17068
+ }, t("labels.title"), /*#__PURE__*/React__default['default'].createElement("span", {
17069
+ className: "plc-text-gray-400 plc-text-base plc-block"
17070
+ }, "(", subscriptionToCancel.plan.nickname, ")"))), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelContainer, props, /*#__PURE__*/React__default['default'].createElement("div", {
17071
+ className: "plc-flex plc-flex-col plc-items-center plc-justify-center plc-mt-4"
17072
+ }, /*#__PURE__*/React__default['default'].createElement(SvgSubscription, {
17073
+ className: "plc-w-32 plc-h-32"
17074
+ }), /*#__PURE__*/React__default['default'].createElement("p", {
17075
+ className: "plc-mb-3 plc-text-gray-900 plc-text-center plc-whitespace-pre-line"
17076
+ }, t("messages.subscriptionEnd"), " ", new Date(subscriptionToCancel === null || subscriptionToCancel === void 0 ? void 0 : subscriptionToCancel.current_period_end).toLocaleDateString('en-CA', {
17077
+ year: "numeric",
17078
+ month: "short",
17079
+ day: "numeric"
17080
+ }), "."), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelReason, null), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelNowButton, {
17081
+ className: "plc-mb-2",
17082
+ subscription: subscriptionToCancel
17083
+ }), /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelLaterButton, {
17084
+ subscription: subscriptionToCancel
17085
+ }))));
17086
+ };
17087
+
17088
+ const SubscriptionCancelModal = ({
17089
+ onDisplay,
17090
+ onClose,
17091
+ ...otherProps
17092
+ }) => {
17093
+ return /*#__PURE__*/React__default['default'].createElement(Modal, {
17094
+ onDisplay: onDisplay,
17095
+ onClose: onClose,
17096
+ id: "pelcro-subscription-cancel-modal"
17097
+ }, /*#__PURE__*/React__default['default'].createElement(ModalBody, null, /*#__PURE__*/React__default['default'].createElement(SubscriptionCancelView, otherProps)), /*#__PURE__*/React__default['default'].createElement(ModalFooter, null, /*#__PURE__*/React__default['default'].createElement(Authorship, null)));
17098
+ };
17099
+ SubscriptionCancelModal.viewId = "subscription-cancel";
17100
+
17101
+ var _path$h;
17102
+
17103
+ function _extends$i() { _extends$i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
17104
+
17105
+ function SvgGift(props) {
17106
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
16755
17107
  className: "plc-w-6 plc-h-6 plc-mr-2",
16756
17108
  fill: "none",
16757
17109
  stroke: "currentColor",
@@ -16760,7 +17112,7 @@ function SvgGift(props) {
16760
17112
  strokeWidth: 2,
16761
17113
  viewBox: "0 0 24 24",
16762
17114
  xmlns: "http://www.w3.org/2000/svg"
16763
- }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
17115
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
16764
17116
  d: "M20 12v10H4V12M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 010-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 000-5C13 2 12 7 12 7z"
16765
17117
  })));
16766
17118
  }
@@ -17715,17 +18067,17 @@ const UserUpdateContainer = ({
17715
18067
  })));
17716
18068
  };
17717
18069
 
17718
- var _path$h;
18070
+ var _path$g;
17719
18071
 
17720
- function _extends$j() { _extends$j = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
18072
+ function _extends$h() { _extends$h = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
17721
18073
 
17722
18074
  function SvgEdit(props) {
17723
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
18075
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
17724
18076
  className: "plc-w-6 plc-h-6",
17725
18077
  xmlns: "http://www.w3.org/2000/svg",
17726
18078
  viewBox: "0 0 20 20",
17727
18079
  fill: "currentColor"
17728
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
18080
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
17729
18081
  d: "M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zm-2.207 2.207L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
17730
18082
  })));
17731
18083
  }
@@ -21134,42 +21486,6 @@ const GiftCreateLastName = props => /*#__PURE__*/React__default['default'].creat
21134
21486
  store: store$7
21135
21487
  }, props));
21136
21488
 
21137
- var _path$g;
21138
-
21139
- function _extends$i() { _extends$i = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
21140
-
21141
- function SvgInfoCircle(props) {
21142
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
21143
- xmlns: "http://www.w3.org/2000/svg",
21144
- className: "plc-w-5 plc-h-5",
21145
- fill: "none",
21146
- viewBox: "0 0 24 24",
21147
- stroke: "currentColor"
21148
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
21149
- strokeLinecap: "round",
21150
- strokeLinejoin: "round",
21151
- strokeWidth: 2,
21152
- d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
21153
- })));
21154
- }
21155
-
21156
- /**
21157
- *
21158
- */
21159
-
21160
- const Tooltip = ({
21161
- value,
21162
- className
21163
- }) => {
21164
- return /*#__PURE__*/React__default['default'].createElement("div", {
21165
- className: `plc-flex pelcro-tooltip-container plc-text-gray-600 ${className}`
21166
- }, /*#__PURE__*/React__default['default'].createElement("div", {
21167
- className: "pelcro-tooltip-icon"
21168
- }, /*#__PURE__*/React__default['default'].createElement(SvgInfoCircle, null)), /*#__PURE__*/React__default['default'].createElement("div", {
21169
- className: "plc-p-1 plc--mt-8 plc-text-sm plc-bg-gray-100 plc-border plc-rounded-md plc-shadow-lg pelcro-tooltip"
21170
- }, value));
21171
- };
21172
-
21173
21489
  function DatePicker({
21174
21490
  label = "",
21175
21491
  tooltipText,
@@ -21238,44 +21554,6 @@ const GiftCreateStartDate = props => {
21238
21554
  }, props));
21239
21555
  };
21240
21556
 
21241
- /**
21242
- *
21243
- */
21244
-
21245
- function TextArea({
21246
- label = "",
21247
- tooltipText,
21248
- required,
21249
- id,
21250
- errorId,
21251
- error,
21252
- className = "",
21253
- labelClassName = "",
21254
- errorClassName = "",
21255
- wrapperClassName = "",
21256
- ...otherProps
21257
- }) {
21258
- return /*#__PURE__*/React__default['default'].createElement("div", {
21259
- className: `pelcro-input-wrapper ${wrapperClassName}`
21260
- }, /*#__PURE__*/React__default['default'].createElement("label", {
21261
- htmlFor: id,
21262
- className: `pelcro-input-label plc-flex plc-items-center ${labelClassName}`
21263
- }, `${label}${required ? "*" : ""}`, tooltipText && /*#__PURE__*/React__default['default'].createElement(Tooltip, {
21264
- value: tooltipText,
21265
- className: "plc-ml-1"
21266
- })), /*#__PURE__*/React__default['default'].createElement("textarea", Object.assign({
21267
- type: "text",
21268
- id: id,
21269
- className: `pelcro-input-field ${className} ${error ? "pelcro-input-invalid" : ""}`,
21270
- "aria-describedby": errorId,
21271
- "aria-invalid": Boolean(error)
21272
- }, otherProps)), error && /*#__PURE__*/React__default['default'].createElement("p", {
21273
- id: errorId,
21274
- "aria-live": "assertive",
21275
- className: `pelcro-input-error ${errorClassName}`
21276
- }, error));
21277
- }
21278
-
21279
21557
  /**
21280
21558
  *
21281
21559
  */
@@ -22157,8 +22435,8 @@ const PaymentMethodSelectModal = ({
22157
22435
  };
22158
22436
  PaymentMethodSelectModal.viewId = "payment-method-select";
22159
22437
 
22160
- function _extends$h() {
22161
- _extends$h = Object.assign || function (target) {
22438
+ function _extends$g() {
22439
+ _extends$g = Object.assign || function (target) {
22162
22440
  for (var i = 1; i < arguments.length; i++) {
22163
22441
  var source = arguments[i];
22164
22442
 
@@ -22172,7 +22450,7 @@ function _extends$h() {
22172
22450
  return target;
22173
22451
  };
22174
22452
 
22175
- return _extends$h.apply(this, arguments);
22453
+ return _extends$g.apply(this, arguments);
22176
22454
  }
22177
22455
 
22178
22456
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -22356,7 +22634,7 @@ function render(props, propsBag, defaultTag, features, visible) {
22356
22634
  return match(strategy, (_match = {}, _match[RenderStrategy.Unmount] = function () {
22357
22635
  return null;
22358
22636
  }, _match[RenderStrategy.Hidden] = function () {
22359
- return _render(_extends$h({}, _rest, {
22637
+ return _render(_extends$g({}, _rest, {
22360
22638
  hidden: true,
22361
22639
  style: {
22362
22640
  display: 'none'
@@ -22884,7 +23162,7 @@ function TransitionChild(props) {
22884
23162
  var passthroughProps = rest;
22885
23163
  return React__default['default'].createElement(NestingContext.Provider, {
22886
23164
  value: nesting
22887
- }, render(_extends$h({}, passthroughProps, propsWeControl), propsBag, DEFAULT_TRANSITION_CHILD_TAG, TransitionChildRenderFeatures, state === TreeStates.Visible));
23165
+ }, render(_extends$g({}, passthroughProps, propsWeControl), propsBag, DEFAULT_TRANSITION_CHILD_TAG, TransitionChildRenderFeatures, state === TreeStates.Visible));
22888
23166
  }
22889
23167
 
22890
23168
  function Transition(props) {
@@ -22928,7 +23206,7 @@ function Transition(props) {
22928
23206
  value: nestingBag
22929
23207
  }, React__default['default'].createElement(TransitionContext.Provider, {
22930
23208
  value: transitionBag
22931
- }, render(_extends$h({}, sharedProps, {
23209
+ }, render(_extends$g({}, sharedProps, {
22932
23210
  as: React.Fragment,
22933
23211
  children: React__default['default'].createElement(TransitionChild, Object.assign({}, sharedProps, passthroughProps))
22934
23212
  }), propsBag, React.Fragment, TransitionChildRenderFeatures, state === TreeStates.Visible)));
@@ -23055,12 +23333,12 @@ var ActionTypes;
23055
23333
  })(ActionTypes || (ActionTypes = {}));
23056
23334
 
23057
23335
  (_reducers = {}, _reducers[ActionTypes.CloseMenu] = function (state) {
23058
- return _extends$h({}, state, {
23336
+ return _extends$g({}, state, {
23059
23337
  activeItemIndex: null,
23060
23338
  menuState: MenuStates.Closed
23061
23339
  });
23062
23340
  }, _reducers[ActionTypes.OpenMenu] = function (state) {
23063
- return _extends$h({}, state, {
23341
+ return _extends$g({}, state, {
23064
23342
  menuState: MenuStates.Open
23065
23343
  });
23066
23344
  }, _reducers[ActionTypes.GoToItem] = function (state, action) {
@@ -23079,7 +23357,7 @@ var ActionTypes;
23079
23357
  }
23080
23358
  });
23081
23359
  if (state.searchQuery === '' && state.activeItemIndex === activeItemIndex) return state;
23082
- return _extends$h({}, state, {
23360
+ return _extends$g({}, state, {
23083
23361
  searchQuery: '',
23084
23362
  activeItemIndex: activeItemIndex
23085
23363
  });
@@ -23090,19 +23368,19 @@ var ActionTypes;
23090
23368
 
23091
23369
  return ((_item$dataRef$current = item.dataRef.current.textValue) == null ? void 0 : _item$dataRef$current.startsWith(searchQuery)) && !item.dataRef.current.disabled;
23092
23370
  });
23093
- if (match === -1 || match === state.activeItemIndex) return _extends$h({}, state, {
23371
+ if (match === -1 || match === state.activeItemIndex) return _extends$g({}, state, {
23094
23372
  searchQuery: searchQuery
23095
23373
  });
23096
- return _extends$h({}, state, {
23374
+ return _extends$g({}, state, {
23097
23375
  searchQuery: searchQuery,
23098
23376
  activeItemIndex: match
23099
23377
  });
23100
23378
  }, _reducers[ActionTypes.ClearSearch] = function (state) {
23101
- return _extends$h({}, state, {
23379
+ return _extends$g({}, state, {
23102
23380
  searchQuery: ''
23103
23381
  });
23104
23382
  }, _reducers[ActionTypes.RegisterItem] = function (state, action) {
23105
- return _extends$h({}, state, {
23383
+ return _extends$g({}, state, {
23106
23384
  items: [].concat(state.items, [{
23107
23385
  id: action.id,
23108
23386
  dataRef: action.dataRef
@@ -23115,7 +23393,7 @@ var ActionTypes;
23115
23393
  return a.id === action.id;
23116
23394
  });
23117
23395
  if (idx !== -1) nextItems.splice(idx, 1);
23118
- return _extends$h({}, state, {
23396
+ return _extends$g({}, state, {
23119
23397
  items: nextItems,
23120
23398
  activeItemIndex: function () {
23121
23399
  if (idx === state.activeItemIndex) return null;
@@ -23154,19 +23432,19 @@ var ActionTypes$1;
23154
23432
  (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = function (state) {
23155
23433
  if (state.disabled) return state;
23156
23434
  if (state.listboxState === ListboxStates.Closed) return state;
23157
- return _extends$h({}, state, {
23435
+ return _extends$g({}, state, {
23158
23436
  activeOptionIndex: null,
23159
23437
  listboxState: ListboxStates.Closed
23160
23438
  });
23161
23439
  }, _reducers$1[ActionTypes$1.OpenListbox] = function (state) {
23162
23440
  if (state.disabled) return state;
23163
23441
  if (state.listboxState === ListboxStates.Open) return state;
23164
- return _extends$h({}, state, {
23442
+ return _extends$g({}, state, {
23165
23443
  listboxState: ListboxStates.Open
23166
23444
  });
23167
23445
  }, _reducers$1[ActionTypes$1.SetDisabled] = function (state, action) {
23168
23446
  if (state.disabled === action.disabled) return state;
23169
- return _extends$h({}, state, {
23447
+ return _extends$g({}, state, {
23170
23448
  disabled: action.disabled
23171
23449
  });
23172
23450
  }, _reducers$1[ActionTypes$1.GoToOption] = function (state, action) {
@@ -23187,7 +23465,7 @@ var ActionTypes$1;
23187
23465
  }
23188
23466
  });
23189
23467
  if (state.searchQuery === '' && state.activeOptionIndex === activeOptionIndex) return state;
23190
- return _extends$h({}, state, {
23468
+ return _extends$g({}, state, {
23191
23469
  searchQuery: '',
23192
23470
  activeOptionIndex: activeOptionIndex
23193
23471
  });
@@ -23200,10 +23478,10 @@ var ActionTypes$1;
23200
23478
 
23201
23479
  return !option.dataRef.current.disabled && ((_option$dataRef$curre = option.dataRef.current.textValue) == null ? void 0 : _option$dataRef$curre.startsWith(searchQuery));
23202
23480
  });
23203
- if (match === -1 || match === state.activeOptionIndex) return _extends$h({}, state, {
23481
+ if (match === -1 || match === state.activeOptionIndex) return _extends$g({}, state, {
23204
23482
  searchQuery: searchQuery
23205
23483
  });
23206
- return _extends$h({}, state, {
23484
+ return _extends$g({}, state, {
23207
23485
  searchQuery: searchQuery,
23208
23486
  activeOptionIndex: match
23209
23487
  });
@@ -23211,11 +23489,11 @@ var ActionTypes$1;
23211
23489
  if (state.disabled) return state;
23212
23490
  if (state.listboxState === ListboxStates.Closed) return state;
23213
23491
  if (state.searchQuery === '') return state;
23214
- return _extends$h({}, state, {
23492
+ return _extends$g({}, state, {
23215
23493
  searchQuery: ''
23216
23494
  });
23217
23495
  }, _reducers$1[ActionTypes$1.RegisterOption] = function (state, action) {
23218
- return _extends$h({}, state, {
23496
+ return _extends$g({}, state, {
23219
23497
  options: [].concat(state.options, [{
23220
23498
  id: action.id,
23221
23499
  dataRef: action.dataRef
@@ -23228,7 +23506,7 @@ var ActionTypes$1;
23228
23506
  return a.id === action.id;
23229
23507
  });
23230
23508
  if (idx !== -1) nextOptions.splice(idx, 1);
23231
- return _extends$h({}, state, {
23509
+ return _extends$g({}, state, {
23232
23510
  options: nextOptions,
23233
23511
  activeOptionIndex: function () {
23234
23512
  if (idx === state.activeOptionIndex) return null;
@@ -23291,10 +23569,10 @@ const getPaymentCardIcon = name => {
23291
23569
 
23292
23570
  var _path$f;
23293
23571
 
23294
- function _extends$g() { _extends$g = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
23572
+ function _extends$f() { _extends$f = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
23295
23573
 
23296
23574
  function SvgChevronRight(props) {
23297
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
23575
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
23298
23576
  className: "plc-w-6 plc-h-6",
23299
23577
  xmlns: "http://www.w3.org/2000/svg",
23300
23578
  fill: "none",
@@ -23518,10 +23796,10 @@ const SavedItems = ({
23518
23796
 
23519
23797
  var _path$e;
23520
23798
 
23521
- function _extends$f() { _extends$f = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
23799
+ function _extends$e() { _extends$e = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
23522
23800
 
23523
23801
  function SvgRefresh(props) {
23524
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
23802
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
23525
23803
  className: "plc-w-4 plc-h-4 plc-mr-1",
23526
23804
  xmlns: "http://www.w3.org/2000/svg",
23527
23805
  fill: "none",
@@ -23537,10 +23815,10 @@ function SvgRefresh(props) {
23537
23815
 
23538
23816
  var _path$d;
23539
23817
 
23540
- function _extends$e() { _extends$e = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
23818
+ function _extends$d() { _extends$d = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
23541
23819
 
23542
23820
  function SvgCalendar(props) {
23543
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
23821
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
23544
23822
  xmlns: "http://www.w3.org/2000/svg",
23545
23823
  className: "plc-h-4 plc-w-4 plc-mr-1",
23546
23824
  viewBox: "0 0 20 20",
@@ -23554,10 +23832,10 @@ function SvgCalendar(props) {
23554
23832
 
23555
23833
  var _path$c;
23556
23834
 
23557
- function _extends$d() { _extends$d = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
23835
+ function _extends$c() { _extends$c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
23558
23836
 
23559
23837
  function SvgPlus(props) {
23560
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
23838
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
23561
23839
  className: "plc-w-5 plc-h-5",
23562
23840
  xmlns: "http://www.w3.org/2000/svg",
23563
23841
  fill: "none",
@@ -23573,10 +23851,10 @@ function SvgPlus(props) {
23573
23851
 
23574
23852
  var _path$b;
23575
23853
 
23576
- function _extends$c() { _extends$c = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
23854
+ function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
23577
23855
 
23578
23856
  function SvgCheckMark(props) {
23579
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
23857
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
23580
23858
  className: "plc-w-4 plc-h-4 plc-mr-1",
23581
23859
  xmlns: "http://www.w3.org/2000/svg",
23582
23860
  viewBox: "0 0 20 20",
@@ -23886,10 +24164,10 @@ Accordion.item = function AccordionItem({
23886
24164
 
23887
24165
  var _path$a;
23888
24166
 
23889
- function _extends$b() { _extends$b = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
24167
+ function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
23890
24168
 
23891
24169
  function SvgExit(props) {
23892
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24170
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
23893
24171
  className: "plc-w-6 plc-h-6",
23894
24172
  xmlns: "http://www.w3.org/2000/svg",
23895
24173
  fill: "none",
@@ -23905,10 +24183,10 @@ function SvgExit(props) {
23905
24183
 
23906
24184
  var _path$9;
23907
24185
 
23908
- function _extends$a() { _extends$a = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
24186
+ function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
23909
24187
 
23910
24188
  function SvgUser(props) {
23911
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24189
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
23912
24190
  xmlns: "http://www.w3.org/2000/svg",
23913
24191
  fill: "none",
23914
24192
  viewBox: "0 0 24 24",
@@ -23923,10 +24201,10 @@ function SvgUser(props) {
23923
24201
 
23924
24202
  var _path$8;
23925
24203
 
23926
- function _extends$9() { _extends$9 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
24204
+ function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
23927
24205
 
23928
24206
  function SvgNewsletter(props) {
23929
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
24207
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
23930
24208
  xmlns: "http://www.w3.org/2000/svg",
23931
24209
  className: "plc-h-5 plc-w-5",
23932
24210
  fill: "none",
@@ -23942,10 +24220,10 @@ function SvgNewsletter(props) {
23942
24220
 
23943
24221
  var _path$7;
23944
24222
 
23945
- function _extends$8() { _extends$8 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
24223
+ function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
23946
24224
 
23947
24225
  function SvgDocument(props) {
23948
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
24226
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
23949
24227
  xmlns: "http://www.w3.org/2000/svg",
23950
24228
  className: "plc-h-6 plc-w-6 plc-mr-2",
23951
24229
  fill: "none",
@@ -23961,10 +24239,10 @@ function SvgDocument(props) {
23961
24239
 
23962
24240
  var _path$6;
23963
24241
 
23964
- function _extends$7() { _extends$7 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
24242
+ function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
23965
24243
 
23966
24244
  function SvgPaymentCard(props) {
23967
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
24245
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
23968
24246
  className: "plc-w-6 plc-h-6 plc-mr-2",
23969
24247
  xmlns: "http://www.w3.org/2000/svg",
23970
24248
  fill: "none",
@@ -23980,10 +24258,10 @@ function SvgPaymentCard(props) {
23980
24258
 
23981
24259
  var _path$5, _path2;
23982
24260
 
23983
- function _extends$6() { _extends$6 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
24261
+ function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
23984
24262
 
23985
24263
  function SvgLocationPin(props) {
23986
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
24264
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
23987
24265
  className: "plc-w-6 plc-h-6 plc-mr-2",
23988
24266
  xmlns: "http://www.w3.org/2000/svg",
23989
24267
  fill: "none",
@@ -24002,26 +24280,6 @@ function SvgLocationPin(props) {
24002
24280
  })));
24003
24281
  }
24004
24282
 
24005
- var _switch;
24006
-
24007
- function _extends$5() { _extends$5 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
24008
-
24009
- function SvgSubscription(props) {
24010
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
24011
- xmlns: "http://www.w3.org/2000/svg",
24012
- viewBox: "0 0 100 125",
24013
- fill: "currentColor"
24014
- }, props), _switch || (_switch = /*#__PURE__*/React__namespace.createElement("switch", null, /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
24015
- d: "M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2c0 1.8.7 3.6 2 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5c1.3-1.3 2-3.1 2-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z"
24016
- }), /*#__PURE__*/React__namespace.createElement("path", {
24017
- d: "M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z"
24018
- }), /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
24019
- d: "M90.4 58.6c0-4.4-3.6-7.9-8-7.9-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-1.3 0-2.5.3-3.6.9-1.4-2.5-4-4-6.9-4-.9 0-1.8.1-2.6.4v-4.6h6c4.8 0 8.6-3.9 8.6-8.7V11.2c0-4.8-3.9-8.7-8.6-8.7H18.2c-4.8 0-8.6 3.9-8.6 8.7v20.3c0 4.8 3.9 8.7 8.6 8.7h24.6V64l-3.3-3.3c-2.7-2.7-7-3.1-10.2-1-1.9 1.3-3.1 3.3-3.5 5.5-.3 2.2.3 4.5 1.8 6.3L42 88.9c4.5 5.5 11.2 8.6 18.2 8.6h9c5.6 0 10.9-2.2 14.9-6.2s6.2-9.3 6.2-14.9l.1-17.8zm-21 33.5h-9c-5.5 0-10.6-2.4-14.1-6.6L31.9 68.1c-.5-.6-.7-1.3-.6-2.1.1-.8.5-1.4 1.1-1.8.4-.3 1-.5 1.5-.5.7 0 1.4.3 1.9.8l5.8 5.8c1.1 1.1 2.8 1.4 4.3.8 1.5-.6 2.4-2 2.4-3.6V30.1c0-1.4 1.2-2.6 2.6-2.6.7 0 1.3.3 1.8.8s.8 1.1.8 1.8v25.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6V59c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v6.7c0 1.5 1.2 2.7 2.7 2.7 1.5 0 2.7-1.2 2.7-2.7v-3.5c0-1.4 1.2-2.6 2.6-2.6 1.4 0 2.6 1.2 2.6 2.6v17.8c0 4.2-1.6 8.1-4.6 11.1-3.2 2.9-7.2 4.5-11.3 4.5zM18.2 34.2c-1.5 0-2.6-1.2-2.6-2.7V11.2c0-1.5 1.2-2.7 2.6-2.7h46.5c1.5 0 2.6 1.2 2.6 2.7v20.3c0 1.5-1.2 2.7-2.6 2.7h-6v-4c0-2.1-.8-4.1-2.3-5.6-1.5-1.5-3.5-2.3-5.6-2.3-4.4 0-7.9 3.6-7.9 8v4H18.2z"
24020
- }), /*#__PURE__*/React__namespace.createElement("path", {
24021
- d: "M35.5 15.5L30 21.4l-1.9-2.1c-1-1.1-2.7-1.2-3.8-.1-1.1 1-1.2 2.7-.1 3.8l3.9 4.2c.5.6 1.2.9 2 .9s1.5-.3 2-.9l7.5-8c1-1.1 1-2.8-.1-3.8s-3-1-4 .1z"
24022
- }))))));
24023
- }
24024
-
24025
24283
  var _path$4;
24026
24284
 
24027
24285
  function _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
@@ -27434,6 +27692,7 @@ exports.ShopPurchaseButton = ShopPurchaseButton;
27434
27692
  exports.ShopSelectProductButton = ShopSelectProductButton;
27435
27693
  exports.ShopView = ShopView;
27436
27694
  exports.SubmitPaymentMethod = SubmitPaymentMethod;
27695
+ exports.SubscriptionCancelModal = SubscriptionCancelModal;
27437
27696
  exports.SubscriptionCreateContainer = SubscriptionCreateContainer;
27438
27697
  exports.SubscriptionCreateModal = SubscriptionCreateModal;
27439
27698
  exports.SubscriptionCreateView = SubscriptionCreateView;