paymob-pixel-alpha 1.1.10 → 1.1.12

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.
Files changed (3) hide show
  1. package/main.css +1 -0
  2. package/main.js +39 -19
  3. package/package.json +1 -1
package/main.css CHANGED
@@ -8,6 +8,7 @@
8
8
  .pending_container__44tmD{background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:4rem 2rem 1rem;height:100%;box-sizing:border-box}@media(max-width: 767px){.pending_container__44tmD{padding:2rem 2rem 1rem}}.pending_container__44tmD .pending_titles__rJpDv{display:flex;justify-content:center;flex-direction:column;align-items:center}.pending_container__44tmD .pending_titles__rJpDv .pending_image__elzdY{width:170px;height:100%}.pending_container__44tmD .pending_titles__rJpDv .pending_title__BZ2Wj{font-size:20px;font-weight:600;margin-bottom:1.5rem}.pending_container__44tmD .pending_titles__rJpDv .pending_description__Ms5mr{font-weight:bold;font-size:11px;text-align:center;color:#bababa;margin-bottom:2rem;width:70%}.pending_container__44tmD .pending_actions__trtiZ{display:flex;flex-direction:column;row-gap:1rem;min-width:248px}
9
9
  .otp_container__OuhMm{display:flex;width:100%;column-gap:10px;justify-content:center}.otp_container__OuhMm .otp_otp-input__JwoaQ{border:1px solid #eef0f4;box-shadow:0px 4px 8px rgba(44,39,56,.0392156863);border-radius:6px;text-align:center;font-size:16px;font-weight:bold;line-height:1;width:45px;height:52px}.otp_container__OuhMm .otp_otp-input__JwoaQ:focus{outline:#9bcaf7 solid 2px}.otp_container__OuhMm ::placeholder{color:#9bcaf7}.otp_container__OuhMm :-ms-input-placeholder{color:#9bcaf7}.otp_container__OuhMm ::-ms-input-placeholder{color:#9bcaf7}
10
10
  .item_container__cgz6H{display:flex;background-color:#fff;border:1px solid #dbe2ea;border-radius:6px;margin-bottom:1rem;width:100%;height:50px;position:relative}@media(max-width: 767px){.item_container__cgz6H{height:57px}}.item_container__cgz6H .item_input__vY8lX{width:100%;height:100%;opacity:0}.item_container__cgz6H .item_lable__Z4kft{border-radius:6px;position:absolute;top:0;left:0;height:100%;width:100%;display:flex;align-items:center;padding:8px;box-sizing:border-box;cursor:pointer}.item_container__cgz6H .item_lable__Z4kft .item_logo-icon__DuoWO{width:32px;height:32px;border-radius:4px;background:#f2f8fe}.item_container__cgz6H .item_lable__Z4kft .item_titles__Wlgd3{display:flex;flex-direction:column;justify-content:center}.item_container__cgz6H .item_lable__Z4kft .item_titles__Wlgd3 .item_title__ROPFr{text-transform:capitalize;margin:auto 20px;display:block;font-size:16px;font-weight:lighter;color:#5e5e5e}.item_container__cgz6H .item_lable__Z4kft .item_titles__Wlgd3 .item_description__LQgRY{font-size:12px;color:#383838;margin:auto 20px}.item_checked__ABSbz{background:#f2f8fe;border:1px solid #1782fb}.item_checked__ABSbz .item_titles__Wlgd3 .item_title__ROPFr{font-weight:500 !important;color:#000 !important}.item_checked__ABSbz .item_check-icon__An0iE{display:block;position:absolute;right:15px;top:calc(50% - 10px);font-size:20px;width:15px;height:15px}.item_checked__ABSbz .item_check-icon__An0iE img{width:100%;height:100%}.item_disabled__wZEqm{background-color:#e3e3e3}.item_disabled__wZEqm .item_lable__Z4kft{cursor:initial}
11
+ .FormInputViewTwo_passwordField__jFo0V input{font-family:"Password",sans-serif;-webkit-text-security:disc}@font-face{font-family:"Password";src:local("•");unicode-range:U+2022}
11
12
  .checkbox_container__YjA\+m{font-size:10px}.checkbox_container__YjA\+m label{display:flex;font-weight:500;cursor:pointer}.checkbox_container__YjA\+m label .checkbox_check-box__udFDa:checked~.checkbox_checkmark__oBidd{border:1px solid #1782fb;display:flex;justify-content:center;align-items:center}.checkbox_container__YjA\+m label .checkbox_check-box__udFDa:checked~.checkbox_checkmark__oBidd img{width:100%;height:100%;object-fit:contain}.checkbox_container__YjA\+m label .checkbox_checkmark__oBidd{border:1px solid #bababa;background-color:#fff;border-radius:2px}.checkbox_container__YjA\+m label .checkbox_checkmark__oBidd img{height:0%;width:0%}
12
13
  .modal_modal__zVjaa{position:relative;display:flex;flex-direction:column;gap:.5rem;background-color:#fff;border:1px solid #eef0f4;border-radius:10px;width:40%}@media screen and (max-width: 1000px){.modal_modal__zVjaa{width:50%}}@media screen and (max-width: 900px){.modal_modal__zVjaa{width:65%}}@media screen and (max-width: 768px){.modal_modal__zVjaa{width:90%}}.modal_modal-container__PH\+xx{position:fixed;background-color:rgba(0,0,0,.35);inset:0;z-index:1;display:flex;justify-content:center;align-items:center}.modal_modal-close__pjuel{position:absolute;inset-block-start:20px;inset-inline-end:1rem;all:unset;width:30px;height:30px;cursor:pointer}.modal_modal-close__pjuel::after,.modal_modal-close__pjuel::before{content:"";position:absolute;display:inline-block;width:20px;height:2px;background-color:#333;border-radius:5px;inset-block-start:50%;inset-inline-start:0}.modal_modal-close__pjuel::after{transform:translate(20%, 0) rotate(45deg)}.modal_modal-close__pjuel::before{transform:translate(20%, 0) rotate(-45deg)}
13
14
  .period_container__7bjlO .period_section-title__7qkW3{font-size:13px;margin:15px 0px}.period_container__7bjlO .period_radio-form__DJm5a{display:grid;grid-template-columns:auto auto;grid-gap:.75rem}@media(max-width: 350px){.period_container__7bjlO .period_radio-form__DJm5a{grid-template-columns:auto}}.period_container__7bjlO .period_plans-hint__JrddH{margin:15px 0px;background-color:#fff;border:1px solid #e6e2e2;border-radius:6px;height:65px;display:flex;align-items:center;justify-content:center;flex-direction:column}.period_container__7bjlO .period_hint-title__clSR9{font-size:12px;font-weight:600;color:#5e5e5e}.period_container__7bjlO .period_hint-description__FgUFL{font-size:11px;color:#b7b7b7;font-weight:bold}
package/main.js CHANGED
@@ -10165,12 +10165,16 @@ function useWidth_useWidth(mobileBreakPoint = 644) {
10165
10165
  }, []);
10166
10166
  return isMobile;
10167
10167
  }
10168
+ ;// CONCATENATED MODULE: ../../libs/kit-components/src/components/FormInput/FormInputViewTwo.module.scss
10169
+ // extracted by mini-css-extract-plugin
10170
+ /* harmony default export */ const FormInputViewTwo_module = ({"passwordField":"FormInputViewTwo_passwordField__jFo0V"});
10168
10171
  ;// CONCATENATED MODULE: ../../libs/kit-components/src/components/FormInput/FormInputViewTwo.tsx
10169
10172
 
10170
10173
 
10171
10174
 
10172
10175
 
10173
10176
 
10177
+
10174
10178
  function FormInputViewTwo_FormInput(props) {
10175
10179
  var _customStyle$placehol;
10176
10180
  const {
@@ -10198,7 +10202,7 @@ function FormInputViewTwo_FormInput(props) {
10198
10202
  borderStyle: borderStyleState = borderStyle
10199
10203
  } = useSafeSelector_useSafeSelector(state => state.customization);
10200
10204
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
10201
- className: "flex flex-col w-full",
10205
+ className: `flex flex-col w-full ${type === 'password' ? FormInputViewTwo_module.passwordField : ''}`,
10202
10206
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
10203
10207
  className: `bg-white box-border px-3 border border-solid ${borderStyleState === borderStyle_borderStyleConstants.RECTANGULAR && '!rounded-none'} flex justify-between gap-2 items-center w-full h-10 opacity-100 relative ${className != null ? className : ''}`,
10204
10208
  style: customStyle != null && customStyle.input ? customStyle == null ? void 0 : customStyle.input : customStyle,
@@ -10206,7 +10210,7 @@ function FormInputViewTwo_FormInput(props) {
10206
10210
  dir: "ltr",
10207
10211
  id: name,
10208
10212
  name: name,
10209
- type: type,
10213
+ type: type === 'password' ? 'text' : type,
10210
10214
  className: `py-3 ${(customStyle == null ? void 0 : customStyle.direction) === 'rtl' ? 'text-right pl-4' : 'text-left pr-4'} bg-transparent h-full w-full border-0 box-border text-inherit focus:outline-none focus-visible:outline-none ${customInputStyle != null ? customInputStyle : ''} [&::placeholder]:text-[var(--placeholder-color)]`,
10211
10215
  style: {
10212
10216
  '--placeholder-color': (customStyle == null || (_customStyle$placehol = customStyle.placeholder) == null ? void 0 : _customStyle$placehol.color) || '#667085',
@@ -12983,7 +12987,8 @@ function PhoneFormInput_PhoneFormInput(props) {
12983
12987
  className,
12984
12988
  disableDropdown,
12985
12989
  trailingIcon,
12986
- currencyCodes
12990
+ currencyCodes,
12991
+ allowedCountries
12987
12992
  } = props;
12988
12993
  const [showDropdown, setShowDropdown] = useState(false);
12989
12994
  const [search, setSearch] = useState('');
@@ -12998,10 +13003,15 @@ function PhoneFormInput_PhoneFormInput(props) {
12998
13003
  const currentCountry = useMemo(() => countries.find(country => country.name.toLowerCase() === selectedCountry.name.toLowerCase()) || countries[0], [countries, selectedCountry.name]);
12999
13004
  useEffect(() => {
13000
13005
  if (currencyCodes != null && currencyCodes.length) {
13001
- const countries = restCountries.filter(country => currencyCodes.some(currency => currency === country.currency));
13006
+ const countries = restCountries.filter(country => currencyCodes.includes(country.currency));
13002
13007
  setCountries(countries);
13003
13008
  const currencyToUse = currencyCodes.includes(selectedCountry.currency || '') ? selectedCountry.currency : currencyCodes[0];
13004
13009
  setSelectedCountry(countries.find(country => country.currency === currencyToUse));
13010
+ } else if (allowedCountries != null && allowedCountries.length) {
13011
+ const countries = restCountries.filter(country => allowedCountries.includes(country.iso));
13012
+ setCountries(countries);
13013
+ const isoToUse = allowedCountries.includes(selectedCountry.iso || '') ? selectedCountry.iso : allowedCountries[0];
13014
+ setSelectedCountry(countries.find(country => country.iso === isoToUse));
13005
13015
  }
13006
13016
  }, []);
13007
13017
  useEffect(() => {
@@ -13206,7 +13216,8 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
13206
13216
  defaultCountryISO = 'EG',
13207
13217
  defaultValues,
13208
13218
  hideLabels,
13209
- onValidityChange
13219
+ onValidityChange,
13220
+ allowedCountries
13210
13221
  } = props;
13211
13222
  const defaultCountry = useMemo(() => restCountries.find(c => c.iso === defaultCountryISO), []);
13212
13223
  const countryPhoneCode = defaultCountry.code;
@@ -13258,7 +13269,7 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
13258
13269
  const [billingPhoneCountry, setBillingPhoneCountry] = useState(defaultCountry);
13259
13270
  const [regionData, setRegionData] = useState(null);
13260
13271
  const [isLoadingRegionData, setIsLoadingRegionData] = useState(false);
13261
- const countriesOptions = useMemo(() => restCountries.map(country => ({
13272
+ const countriesOptions = useMemo(() => restCountries.filter(country => !allowedCountries || !allowedCountries.length || (allowedCountries == null ? void 0 : allowedCountries.includes(country.iso))).map(country => ({
13262
13273
  label: country.name,
13263
13274
  value: country.iso,
13264
13275
  icon: country.icon,
@@ -13458,7 +13469,8 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
13458
13469
  field: `${prefix}_phone`,
13459
13470
  countryCode: prefix === ADDRESS_TYPES.SHIPPING ? shippingPhoneCountry.code : billingPhoneCountry.code
13460
13471
  }),
13461
- placeholder: "10 000 000 00"
13472
+ placeholder: "10 000 000 00",
13473
+ allowedCountries: allowedCountries
13462
13474
  }), /*#__PURE__*/_jsx(Controller, {
13463
13475
  name: countryField,
13464
13476
  control: control,
@@ -13656,7 +13668,8 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
13656
13668
  phoneFormRegister: createPhoneRegister({
13657
13669
  countryCode: country == null ? void 0 : country.code
13658
13670
  }),
13659
- placeholder: "10 000 000 00"
13671
+ placeholder: "10 000 000 00",
13672
+ allowedCountries: allowedCountries
13660
13673
  })]
13661
13674
  }), /*#__PURE__*/_jsxs("div", {
13662
13675
  className: "flex mobile:flex-col mobile:gap-1 mobile:pl-4",
@@ -18681,7 +18694,7 @@ const madacard_namespaceObject = __webpack_require__.p + "madacard.2ef2a3c8876b6
18681
18694
  const omannet_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVgAAACSCAMAAAA3tiIUAAABelBMVEX///+yFBwQjzSvAACsAAD8+fn5+/kAhhMAiynOhYf+/PxBqUlhuVEAiiSwAAeEuo6xBxMAjS6RwJpVs1A5pUa+UFPz5ORBnVVUslBOoWC+MzK4IiXhuLmwAA4AgwC7KyzZoqSoza+8RkrGbG+/4Lrs1NS/NzXVl5jFSEIhkz3DQDxotm2617+xDhfRaV22AACT0XpYtkbn8+fy4eFprXYonD+y2bBffDpxwmfmxcbt9O7LWU+Lv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  const constants_MADA_CARD_BINS = (/* unused pure expression or super */ null && ([440647, 440795, 446404, 457865, 588845, 968208, 457997, 474491, 421141, 417633, 468540, 468541, 468542, 468543, 446393, 636120, 968201, 409201, 410621, 403024, 458456, 484783, 462220, 455708, 968205, 455036, 486094, 486095, 486096, 588848, 968203, 440533, 489318, 489319, 445564, 504300, 968211, 410685, 406996, 432328, 428671, 428672, 428673, 446672, 543357, 434107, 407197, 407395, 412565, 968206, 431361, 521076, 604906, 588850, 529415, 535825, 543085, 524130, 554180, 549760, 968202, 22337902, 22337986, 516138, 515079, 555610, 524514, 529741, 537767, 535989, 536023, 513213, 520058, 968209, 558563, 605141, 422817, 422818, 422819, 428331, 968204, 410834, 406136, 589206, 483010, 483011, 483012, 968207, 407520, 439954, 419593, 530060, 531196, 420132, 242030, 22402030, 52166100, 442463, 45488707, 49098000, 40545400, 968203, 504300, 440533, 489318, 489319, 445564, 968211, 410685, 406996, 432328, 428671, 428672, 428673, 968206, 446672, 543357, 434107, 40719700, 40739500, 412565, 431361, 604906, 521076, 588850, 968202, 529415, 535825, 543085, 524130, 554180, 549760, 22337902, 22337986, 516138, 515079, 555610, 968209, 524514, 529741, 537767, 535989, 536023, 513213, 520058, 558563, 968204, 422817, 422818, 422819, 410834, 428331, 483010, 483011, 483012, 589206, 968207, 406136, 419593, 439954, 407520, 53973776, 530060, 531196, 420132, 242030, 52166100, 22402030, 442463, 524940, 442429]));
18684
- const constants_OMAN_NET_CARD_BINS = (/* unused pure expression or super */ null && ([419244, 426371, 426372, 404747, 43382962, 43382963, 43382964, 43382999, 46442605, 48909105, 48417205, 43323605, 40402905, 48379130, 48379131, 48379132, 48379133, 48379134, 48379135, 48379136, 48379137, 48379138, 48379139, 48379140, 48379141, 48379145, 48379150, 48379151, 48379152, 48379153, 48379154, 48379155, 48379156, 48379157, 48379158, 48379159, 42282130, 42282131, 42282132, 42282150, 42282151, 42282152, 42282153, 42282154, 42282155, 42282156, 42282157, 42282158, 42282159, 42282230, 42282030, 42282031, 42282032, 42282033, 42282034, 42282050, 42282051, 42282052, 42282053, 42282054, 42282055, 42282056, 42282057, 42282058, 42282059, 44716830, 44716831, 44716832, 44716850, 44716899, 40754520, 40754521, 40754530, 40754531, 40754532, 40754533, 40754534, 40754535, 40754536, 40754537, 40754538, 40754539, 40754540, 40754541, 40754542, 40754543, 40754544, 40754545, 40754546, 40754547, 40754548, 40754549, 40754550, 40754551, 40754552, 40754553, 40754554, 40754555, 40754556, 40754557, 40754558, 40754559, 43663755, 46395255, 435949, 464156, 464157, 416370, 484130, 484131, 47971022, 47971023, 44747774, 44747978, 44747977, 43347833, 43935700, 432410, 432415, 433084, 422610, 473820, 510723, 515722, 523672, 534417, 539150, 549184, 534227, 539188, 549131, 539540, 42136060, 42147814, 419291, 46736200, 46736201, 43909701, 41329805, 47429505, 410469, 536028, 559753, 42282330, 42282331, 42282332, 42282333, 42282334, 42282350, 42282351, 42282352, 42282353, 42282354, 46417530, 46417531, 46417550, 46417551, 601722, 40277200, 49506645, 46395255, 40277200]));
18697
+ const constants_OMAN_NET_CARD_BINS = (/* unused pure expression or super */ null && ([419244, 426371, 426372, 404747, 43382962, 43382963, 43382964, 43382999, 46442605, 48909105, 48417205, 43323605, 40402905, 48379130, 48379131, 48379132, 48379133, 48379134, 48379135, 48379136, 48379137, 48379138, 48379139, 48379140, 48379141, 48379145, 48379150, 48379151, 48379152, 48379153, 48379154, 48379155, 48379156, 48379157, 48379158, 48379159, 42282130, 42282131, 42282132, 42282150, 42282151, 42282152, 42282153, 42282154, 42282155, 42282156, 42282157, 42282158, 42282159, 42282230, 42282030, 42282031, 42282032, 42282033, 42282034, 42282050, 42282051, 42282052, 42282053, 42282054, 42282055, 42282056, 42282057, 42282058, 42282059, 44716830, 44716831, 44716832, 44716850, 44716899, 40754520, 40754521, 40754530, 40754531, 40754532, 40754533, 40754534, 40754535, 40754536, 40754537, 40754538, 40754539, 40754540, 40754541, 40754542, 40754543, 40754544, 40754545, 40754546, 40754547, 40754548, 40754549, 40754550, 40754551, 40754552, 40754553, 40754554, 40754555, 40754556, 40754557, 40754558, 40754559, 43663755, 46395255, 464156, 464157, 416370, 484130, 484131, 47971022, 47971023, 44747774, 44747978, 44747977, 43347833, 43935700, 432410, 432415, 433084, 422610, 473820, 510723, 515722, 523672, 534417, 539150, 549184, 534227, 539188, 549131, 539540, 42136060, 42147814, 419291, 46736200, 46736201, 43909701, 41329805, 47429505, 410469, 536028, 559753, 42282330, 42282331, 42282332, 42282333, 42282334, 42282350, 42282351, 42282352, 42282353, 42282354, 46417530, 46417531, 46417550, 46417551, 601722, 40277200, 49506645, 46395255, 40277200, 42825700, 47518400, 42268100, 46046800, 55592070]));
18685
18698
  const constants_CARD_TYPES = {
18686
18699
  AMEX: 'american-express',
18687
18700
  OMAN: 'omannet'
@@ -28741,6 +28754,7 @@ const PaymentsList = /*#__PURE__*/(0,react.forwardRef)((props, ref) => {
28741
28754
  const [errorMessage, setErrorMessage] = (0,react.useState)('');
28742
28755
  const [isLoading, setIsLoading] = (0,react.useState)(false);
28743
28756
  const country = getCountryByKeys(publicKey, clientSecret);
28757
+ const cardRef = (0,react.useRef)(null);
28744
28758
  (0,react.useImperativeHandle)(ref, () => ({
28745
28759
  getData: async () => {
28746
28760
  setIsLoading(true);
@@ -28755,6 +28769,10 @@ const PaymentsList = /*#__PURE__*/(0,react.forwardRef)((props, ref) => {
28755
28769
  setSavedCardsList(savedCards);
28756
28770
  }
28757
28771
  return res;
28772
+ },
28773
+ handleGenerateToken: async () => {
28774
+ var _cardRef$current;
28775
+ return await ((_cardRef$current = cardRef.current) == null ? void 0 : _cardRef$current.handleGenerateToken());
28758
28776
  }
28759
28777
  }));
28760
28778
  const handleOnBeforePaymentComplete = async paymentMethod => {
@@ -28858,7 +28876,7 @@ const PaymentsList = /*#__PURE__*/(0,react.forwardRef)((props, ref) => {
28858
28876
  country,
28859
28877
  integrationType,
28860
28878
  publicKey,
28861
- ref,
28879
+ ref: cardRef,
28862
28880
  isList: true
28863
28881
  })
28864
28882
  })]
@@ -29051,8 +29069,7 @@ const Payments_Payments = /*#__PURE__*/(0,react.forwardRef)((props, ref) => {
29051
29069
  showPaymobLogo,
29052
29070
  hideCardHolderName,
29053
29071
  integrationType,
29054
- publicKey,
29055
- ref
29072
+ publicKey
29056
29073
  });
29057
29074
  case 'CARD-INSTALLMENT':
29058
29075
  return /*#__PURE__*/(0,jsx_runtime.jsx)(BankInstalment, {
@@ -32252,11 +32269,11 @@ const libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card
32252
32269
  ;// CONCATENATED MODULE: ../../localization/libs/card/ur.json
32253
32270
  const libs_card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards"}');
32254
32271
  ;// CONCATENATED MODULE: ../../localization/libs/kit-components/en.json
32255
- const kit_components_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32272
+ const kit_components_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"The payment session ended. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"The Payment session ended. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32256
32273
  ;// CONCATENATED MODULE: ../../localization/libs/kit-components/ar.json
32257
- const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32274
+ const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"The payment session ended. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"The Payment session ended. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32258
32275
  ;// CONCATENATED MODULE: ../../localization/libs/kit-components/ur.json
32259
- const kit_components_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32276
+ const kit_components_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"The payment session ended. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"The Payment session ended. Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","SAVED_CARDS_NEW_CARD_BTN":"Pay {{amount}} now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for\\n fast checkout","FAST_CHECKOUT_VERIFIED_DESC":"From now on enjoy\\n lighting fast checkout with us","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","PIN_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?"}');
32260
32277
  ;// CONCATENATED MODULE: ../../localization/libs/nift/ar.json
32261
32278
  const libs_nift_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"SELECT_BANK_DROPDOWN":"Select your bank","SELECT_BANK_BTN":"Continue","INFO_BANK_ACCOUNT_NO":"Bank account no.","INFO_BANK_ACCOUNT_NO_VALIDATION_MSG":"Please enter a valid account number!","INFO_CNIC":"CNIC","INFO_CNIC_VALIDATION_MSG":"Please enter a valid CNIC number!","INFO_BTN":"Continue","OTP_HINT":"Please enter the 6-digit code sent to your mobile number","OTP_BTN":"Verify OTP"}');
32262
32279
  ;// CONCATENATED MODULE: ../../localization/libs/nift/en.json
@@ -32725,7 +32742,6 @@ i18next.use(initReactI18next).init({
32725
32742
 
32726
32743
  const ShadowWrapper = ({
32727
32744
  elementId,
32728
- stylesheets: _stylesheets = ['/main.css', '/styles.css'],
32729
32745
  children
32730
32746
  }) => {
32731
32747
  const [shadowRoot, setShadowRoot] = (0,react.useState)(null);
@@ -32742,11 +32758,15 @@ const ShadowWrapper = ({
32742
32758
  shadow = container.attachShadow({
32743
32759
  mode: 'open'
32744
32760
  });
32745
- _stylesheets.forEach(path => {
32761
+ let links = Array.from(document.querySelectorAll('link[href*="paymob-pixel"]')).map(link => link.href);
32762
+ if (!links.length) {
32763
+ links = ['main.css', 'styles.css'];
32764
+ }
32765
+ links.forEach(href => {
32746
32766
  var _shadow;
32747
32767
  const link = document.createElement('link');
32748
32768
  link.rel = 'stylesheet';
32749
- link.href = path;
32769
+ link.href = href;
32750
32770
  (_shadow = shadow) == null || _shadow.appendChild(link);
32751
32771
  });
32752
32772
  }
@@ -32758,7 +32778,7 @@ const ShadowWrapper = ({
32758
32778
  return () => {
32759
32779
  setShadowRoot(null);
32760
32780
  };
32761
- }, [elementId, _stylesheets]);
32781
+ }, [elementId]);
32762
32782
  if (error) {
32763
32783
  const container = document.getElementById(elementId);
32764
32784
  return /*#__PURE__*/(0,react_dom.createPortal)( /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paymob-pixel-alpha",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "keywords": ["paymob","pixel","paymob-pixel"],
5
5
  "main": "./main.js",
6
6
  "license": "MIT",