paymob-pixel-alpha 1.1.23 → 1.1.25
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/main.js
CHANGED
|
@@ -136,99 +136,6 @@ if (true) {
|
|
|
136
136
|
} else {}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
/***/ }),
|
|
140
|
-
|
|
141
|
-
/***/ 1435:
|
|
142
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
143
|
-
|
|
144
|
-
"use strict";
|
|
145
|
-
/**
|
|
146
|
-
* @license React
|
|
147
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
148
|
-
*
|
|
149
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
150
|
-
*
|
|
151
|
-
* This source code is licensed under the MIT license found in the
|
|
152
|
-
* LICENSE file in the root directory of this source tree.
|
|
153
|
-
*/
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var React = __webpack_require__(4041),
|
|
157
|
-
shim = __webpack_require__(8139);
|
|
158
|
-
function is(x, y) {
|
|
159
|
-
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
160
|
-
}
|
|
161
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
162
|
-
useSyncExternalStore = shim.useSyncExternalStore,
|
|
163
|
-
useRef = React.useRef,
|
|
164
|
-
useEffect = React.useEffect,
|
|
165
|
-
useMemo = React.useMemo,
|
|
166
|
-
useDebugValue = React.useDebugValue;
|
|
167
|
-
exports.useSyncExternalStoreWithSelector = function (
|
|
168
|
-
subscribe,
|
|
169
|
-
getSnapshot,
|
|
170
|
-
getServerSnapshot,
|
|
171
|
-
selector,
|
|
172
|
-
isEqual
|
|
173
|
-
) {
|
|
174
|
-
var instRef = useRef(null);
|
|
175
|
-
if (null === instRef.current) {
|
|
176
|
-
var inst = { hasValue: !1, value: null };
|
|
177
|
-
instRef.current = inst;
|
|
178
|
-
} else inst = instRef.current;
|
|
179
|
-
instRef = useMemo(
|
|
180
|
-
function () {
|
|
181
|
-
function memoizedSelector(nextSnapshot) {
|
|
182
|
-
if (!hasMemo) {
|
|
183
|
-
hasMemo = !0;
|
|
184
|
-
memoizedSnapshot = nextSnapshot;
|
|
185
|
-
nextSnapshot = selector(nextSnapshot);
|
|
186
|
-
if (void 0 !== isEqual && inst.hasValue) {
|
|
187
|
-
var currentSelection = inst.value;
|
|
188
|
-
if (isEqual(currentSelection, nextSnapshot))
|
|
189
|
-
return (memoizedSelection = currentSelection);
|
|
190
|
-
}
|
|
191
|
-
return (memoizedSelection = nextSnapshot);
|
|
192
|
-
}
|
|
193
|
-
currentSelection = memoizedSelection;
|
|
194
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
195
|
-
var nextSelection = selector(nextSnapshot);
|
|
196
|
-
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
197
|
-
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
198
|
-
memoizedSnapshot = nextSnapshot;
|
|
199
|
-
return (memoizedSelection = nextSelection);
|
|
200
|
-
}
|
|
201
|
-
var hasMemo = !1,
|
|
202
|
-
memoizedSnapshot,
|
|
203
|
-
memoizedSelection,
|
|
204
|
-
maybeGetServerSnapshot =
|
|
205
|
-
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
206
|
-
return [
|
|
207
|
-
function () {
|
|
208
|
-
return memoizedSelector(getSnapshot());
|
|
209
|
-
},
|
|
210
|
-
null === maybeGetServerSnapshot
|
|
211
|
-
? void 0
|
|
212
|
-
: function () {
|
|
213
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
214
|
-
}
|
|
215
|
-
];
|
|
216
|
-
},
|
|
217
|
-
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
218
|
-
);
|
|
219
|
-
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
220
|
-
useEffect(
|
|
221
|
-
function () {
|
|
222
|
-
inst.hasValue = !0;
|
|
223
|
-
inst.value = value;
|
|
224
|
-
},
|
|
225
|
-
[value]
|
|
226
|
-
);
|
|
227
|
-
useDebugValue(value);
|
|
228
|
-
return value;
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
|
|
232
139
|
/***/ }),
|
|
233
140
|
|
|
234
141
|
/***/ 1524:
|
|
@@ -607,6 +514,99 @@ function expirationDate(value, maxElapsedYear) {
|
|
|
607
514
|
exports.expirationDate = expirationDate;
|
|
608
515
|
|
|
609
516
|
|
|
517
|
+
/***/ }),
|
|
518
|
+
|
|
519
|
+
/***/ 3816:
|
|
520
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
521
|
+
|
|
522
|
+
"use strict";
|
|
523
|
+
/**
|
|
524
|
+
* @license React
|
|
525
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
526
|
+
*
|
|
527
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
528
|
+
*
|
|
529
|
+
* This source code is licensed under the MIT license found in the
|
|
530
|
+
* LICENSE file in the root directory of this source tree.
|
|
531
|
+
*/
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
var React = __webpack_require__(4041),
|
|
535
|
+
shim = __webpack_require__(8139);
|
|
536
|
+
function is(x, y) {
|
|
537
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
538
|
+
}
|
|
539
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
540
|
+
useSyncExternalStore = shim.useSyncExternalStore,
|
|
541
|
+
useRef = React.useRef,
|
|
542
|
+
useEffect = React.useEffect,
|
|
543
|
+
useMemo = React.useMemo,
|
|
544
|
+
useDebugValue = React.useDebugValue;
|
|
545
|
+
exports.useSyncExternalStoreWithSelector = function (
|
|
546
|
+
subscribe,
|
|
547
|
+
getSnapshot,
|
|
548
|
+
getServerSnapshot,
|
|
549
|
+
selector,
|
|
550
|
+
isEqual
|
|
551
|
+
) {
|
|
552
|
+
var instRef = useRef(null);
|
|
553
|
+
if (null === instRef.current) {
|
|
554
|
+
var inst = { hasValue: !1, value: null };
|
|
555
|
+
instRef.current = inst;
|
|
556
|
+
} else inst = instRef.current;
|
|
557
|
+
instRef = useMemo(
|
|
558
|
+
function () {
|
|
559
|
+
function memoizedSelector(nextSnapshot) {
|
|
560
|
+
if (!hasMemo) {
|
|
561
|
+
hasMemo = !0;
|
|
562
|
+
memoizedSnapshot = nextSnapshot;
|
|
563
|
+
nextSnapshot = selector(nextSnapshot);
|
|
564
|
+
if (void 0 !== isEqual && inst.hasValue) {
|
|
565
|
+
var currentSelection = inst.value;
|
|
566
|
+
if (isEqual(currentSelection, nextSnapshot))
|
|
567
|
+
return (memoizedSelection = currentSelection);
|
|
568
|
+
}
|
|
569
|
+
return (memoizedSelection = nextSnapshot);
|
|
570
|
+
}
|
|
571
|
+
currentSelection = memoizedSelection;
|
|
572
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
573
|
+
var nextSelection = selector(nextSnapshot);
|
|
574
|
+
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
575
|
+
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
576
|
+
memoizedSnapshot = nextSnapshot;
|
|
577
|
+
return (memoizedSelection = nextSelection);
|
|
578
|
+
}
|
|
579
|
+
var hasMemo = !1,
|
|
580
|
+
memoizedSnapshot,
|
|
581
|
+
memoizedSelection,
|
|
582
|
+
maybeGetServerSnapshot =
|
|
583
|
+
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
584
|
+
return [
|
|
585
|
+
function () {
|
|
586
|
+
return memoizedSelector(getSnapshot());
|
|
587
|
+
},
|
|
588
|
+
null === maybeGetServerSnapshot
|
|
589
|
+
? void 0
|
|
590
|
+
: function () {
|
|
591
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
592
|
+
}
|
|
593
|
+
];
|
|
594
|
+
},
|
|
595
|
+
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
596
|
+
);
|
|
597
|
+
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
598
|
+
useEffect(
|
|
599
|
+
function () {
|
|
600
|
+
inst.hasValue = !0;
|
|
601
|
+
inst.value = value;
|
|
602
|
+
},
|
|
603
|
+
[value]
|
|
604
|
+
);
|
|
605
|
+
useDebugValue(value);
|
|
606
|
+
return value;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
612
|
/***/ 3954:
|
|
@@ -1121,7 +1121,7 @@ exports.cardNumber = cardNumber;
|
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
1123
|
if (true) {
|
|
1124
|
-
module.exports = __webpack_require__(
|
|
1124
|
+
module.exports = __webpack_require__(3816);
|
|
1125
1125
|
} else {}
|
|
1126
1126
|
|
|
1127
1127
|
|
|
@@ -7848,7 +7848,8 @@ function DropdownViewTwo_Dropdown(props) {
|
|
|
7848
7848
|
className,
|
|
7849
7849
|
defaultOption,
|
|
7850
7850
|
hideCircleIcon,
|
|
7851
|
-
hideRemoveOptionBtn
|
|
7851
|
+
hideRemoveOptionBtn,
|
|
7852
|
+
disableDropdown
|
|
7852
7853
|
} = props;
|
|
7853
7854
|
const [show, setShow] = (0,react.useState)(false);
|
|
7854
7855
|
const {
|
|
@@ -7907,6 +7908,10 @@ function DropdownViewTwo_Dropdown(props) {
|
|
|
7907
7908
|
});
|
|
7908
7909
|
}
|
|
7909
7910
|
};
|
|
7911
|
+
const handleShowDropDown = () => {
|
|
7912
|
+
if (disableDropdown) return;
|
|
7913
|
+
setShow(prev => !prev);
|
|
7914
|
+
};
|
|
7910
7915
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
7911
7916
|
ref: inputContainerRef,
|
|
7912
7917
|
className: "h-10 relative",
|
|
@@ -7915,7 +7920,7 @@ function DropdownViewTwo_Dropdown(props) {
|
|
|
7915
7920
|
h-10 box-border flex items-center border px-3 relative cursor-pointer border-gray-300 outline-none
|
|
7916
7921
|
${show ? 'border-[#7294FF] shadow-[0_0_2px_4px_#B9CAFF]' : ''}
|
|
7917
7922
|
${borderStyle === borderStyle_borderStyleConstants.RECTANGULAR ? 'rounded-none' : 'rounded-lg'} ${className}`,
|
|
7918
|
-
onClick:
|
|
7923
|
+
onClick: handleShowDropDown,
|
|
7919
7924
|
style: customStyle,
|
|
7920
7925
|
onKeyDown: handleTypeToSelect,
|
|
7921
7926
|
tabIndex: 0,
|
|
@@ -8064,15 +8069,83 @@ function Phone(props) {
|
|
|
8064
8069
|
})]
|
|
8065
8070
|
});
|
|
8066
8071
|
}
|
|
8072
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8073
|
+
function _typeof(o) {
|
|
8074
|
+
"@babel/helpers - typeof";
|
|
8075
|
+
|
|
8076
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
8077
|
+
return typeof o;
|
|
8078
|
+
} : function (o) {
|
|
8079
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8080
|
+
}, _typeof(o);
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
8084
|
+
|
|
8085
|
+
function toPrimitive(t, r) {
|
|
8086
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
8087
|
+
var e = t[Symbol.toPrimitive];
|
|
8088
|
+
if (void 0 !== e) {
|
|
8089
|
+
var i = e.call(t, r || "default");
|
|
8090
|
+
if ("object" != _typeof(i)) return i;
|
|
8091
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8092
|
+
}
|
|
8093
|
+
return ("string" === r ? String : Number)(t);
|
|
8094
|
+
}
|
|
8095
|
+
|
|
8096
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
8097
|
+
|
|
8098
|
+
|
|
8099
|
+
function toPropertyKey(t) {
|
|
8100
|
+
var i = toPrimitive(t, "string");
|
|
8101
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
8102
|
+
}
|
|
8103
|
+
|
|
8104
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
8105
|
+
|
|
8106
|
+
function defineProperty_defineProperty(e, r, t) {
|
|
8107
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
8108
|
+
value: t,
|
|
8109
|
+
enumerable: !0,
|
|
8110
|
+
configurable: !0,
|
|
8111
|
+
writable: !0
|
|
8112
|
+
}) : e[r] = t, e;
|
|
8113
|
+
}
|
|
8114
|
+
|
|
8115
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
8116
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(r, e) {
|
|
8117
|
+
if (null == r) return {};
|
|
8118
|
+
var t = {};
|
|
8119
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
8120
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
8121
|
+
t[n] = r[n];
|
|
8122
|
+
}
|
|
8123
|
+
return t;
|
|
8124
|
+
}
|
|
8125
|
+
|
|
8126
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
8127
|
+
|
|
8128
|
+
function objectWithoutProperties_objectWithoutProperties(e, t) {
|
|
8129
|
+
if (null == e) return {};
|
|
8130
|
+
var o,
|
|
8131
|
+
r,
|
|
8132
|
+
i = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(e, t);
|
|
8133
|
+
if (Object.getOwnPropertySymbols) {
|
|
8134
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
8135
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
8136
|
+
}
|
|
8137
|
+
return i;
|
|
8138
|
+
}
|
|
8139
|
+
|
|
8067
8140
|
// EXTERNAL MODULE: ../../node_modules/void-elements/index.js
|
|
8068
8141
|
var void_elements = __webpack_require__(9002);
|
|
8069
8142
|
var void_elements_default = /*#__PURE__*/__webpack_require__.n(void_elements);
|
|
8070
8143
|
;// ../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
|
|
8071
|
-
var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],((void_elements_default())[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return{type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};/* harmony default export */ const html_parse_stringify_module = (
|
|
8144
|
+
var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],((void_elements_default())[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return{type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};/* harmony default export */ const html_parse_stringify_module = (c);
|
|
8072
8145
|
//# sourceMappingURL=html-parse-stringify.module.js.map
|
|
8073
8146
|
|
|
8074
8147
|
;// ../../node_modules/react-i18next/dist/es/utils.js
|
|
8075
|
-
function
|
|
8148
|
+
function warn() {
|
|
8076
8149
|
if (console && console.warn) {
|
|
8077
8150
|
var _console;
|
|
8078
8151
|
|
|
@@ -8086,14 +8159,14 @@ function utils_warn() {
|
|
|
8086
8159
|
}
|
|
8087
8160
|
}
|
|
8088
8161
|
var alreadyWarned = {};
|
|
8089
|
-
function
|
|
8162
|
+
function warnOnce() {
|
|
8090
8163
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
8091
8164
|
args[_key2] = arguments[_key2];
|
|
8092
8165
|
}
|
|
8093
8166
|
|
|
8094
8167
|
if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;
|
|
8095
8168
|
if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();
|
|
8096
|
-
|
|
8169
|
+
warn.apply(void 0, args);
|
|
8097
8170
|
}
|
|
8098
8171
|
|
|
8099
8172
|
var loadedClb = function loadedClb(i18n, cb) {
|
|
@@ -8147,7 +8220,7 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
8147
8220
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8148
8221
|
|
|
8149
8222
|
if (!i18n.languages || !i18n.languages.length) {
|
|
8150
|
-
|
|
8223
|
+
warnOnce('i18n.languages were undefined or empty', i18n.languages);
|
|
8151
8224
|
return true;
|
|
8152
8225
|
}
|
|
8153
8226
|
|
|
@@ -8167,49 +8240,6 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
8167
8240
|
function utils_getDisplayName(Component) {
|
|
8168
8241
|
return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');
|
|
8169
8242
|
}
|
|
8170
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8171
|
-
function typeof_typeof(o) {
|
|
8172
|
-
"@babel/helpers - typeof";
|
|
8173
|
-
|
|
8174
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
8175
|
-
return typeof o;
|
|
8176
|
-
} : function (o) {
|
|
8177
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8178
|
-
}, typeof_typeof(o);
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
8182
|
-
|
|
8183
|
-
function toPrimitive(t, r) {
|
|
8184
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
8185
|
-
var e = t[Symbol.toPrimitive];
|
|
8186
|
-
if (void 0 !== e) {
|
|
8187
|
-
var i = e.call(t, r || "default");
|
|
8188
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
8189
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8190
|
-
}
|
|
8191
|
-
return ("string" === r ? String : Number)(t);
|
|
8192
|
-
}
|
|
8193
|
-
|
|
8194
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
function toPropertyKey(t) {
|
|
8198
|
-
var i = toPrimitive(t, "string");
|
|
8199
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
8200
|
-
}
|
|
8201
|
-
|
|
8202
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
8203
|
-
|
|
8204
|
-
function defineProperty_defineProperty(e, r, t) {
|
|
8205
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
8206
|
-
value: t,
|
|
8207
|
-
enumerable: !0,
|
|
8208
|
-
configurable: !0,
|
|
8209
|
-
writable: !0
|
|
8210
|
-
}) : e[r] = t, e;
|
|
8211
|
-
}
|
|
8212
|
-
|
|
8213
8243
|
;// ../../node_modules/react-i18next/dist/es/unescape.js
|
|
8214
8244
|
var matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
|
|
8215
8245
|
var htmlEntities = {
|
|
@@ -8264,19 +8294,27 @@ function setDefaults() {
|
|
|
8264
8294
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8265
8295
|
defaultOptions = _objectSpread(_objectSpread({}, defaultOptions), options);
|
|
8266
8296
|
}
|
|
8267
|
-
function
|
|
8297
|
+
function getDefaults() {
|
|
8268
8298
|
return defaultOptions;
|
|
8269
8299
|
}
|
|
8300
|
+
;// ../../node_modules/react-i18next/dist/es/i18nInstance.js
|
|
8301
|
+
var i18nInstance;
|
|
8302
|
+
function setI18n(instance) {
|
|
8303
|
+
i18nInstance = instance;
|
|
8304
|
+
}
|
|
8305
|
+
function i18nInstance_getI18n() {
|
|
8306
|
+
return i18nInstance;
|
|
8307
|
+
}
|
|
8270
8308
|
;// ../../node_modules/react-i18next/dist/es/TransWithoutContext.js
|
|
8271
8309
|
|
|
8272
8310
|
|
|
8273
8311
|
|
|
8274
|
-
var TransWithoutContext_excluded =
|
|
8275
|
-
_excluded2 =
|
|
8312
|
+
var TransWithoutContext_excluded = ["format"],
|
|
8313
|
+
_excluded2 = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
8276
8314
|
|
|
8277
8315
|
function TransWithoutContext_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
8278
8316
|
|
|
8279
|
-
function TransWithoutContext_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { TransWithoutContext_ownKeys(Object(source), true).forEach(function (key) {
|
|
8317
|
+
function TransWithoutContext_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { TransWithoutContext_ownKeys(Object(source), true).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { TransWithoutContext_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8280
8318
|
|
|
8281
8319
|
|
|
8282
8320
|
|
|
@@ -8299,7 +8337,7 @@ function getChildren(node) {
|
|
|
8299
8337
|
function hasValidReactChildren(children) {
|
|
8300
8338
|
if (Object.prototype.toString.call(children) !== '[object Array]') return false;
|
|
8301
8339
|
return children.every(function (child) {
|
|
8302
|
-
return isValidElement(child);
|
|
8340
|
+
return (0,react.isValidElement)(child);
|
|
8303
8341
|
});
|
|
8304
8342
|
}
|
|
8305
8343
|
|
|
@@ -8322,7 +8360,7 @@ function nodesToString(children, i18nOptions) {
|
|
|
8322
8360
|
childrenArray.forEach(function (child, childIndex) {
|
|
8323
8361
|
if (typeof child === 'string') {
|
|
8324
8362
|
stringNode += "".concat(child);
|
|
8325
|
-
} else if (isValidElement(child)) {
|
|
8363
|
+
} else if ((0,react.isValidElement)(child)) {
|
|
8326
8364
|
var childPropsCount = Object.keys(child.props).length;
|
|
8327
8365
|
var shouldKeepChild = keepArray.indexOf(child.type) > -1;
|
|
8328
8366
|
var childChildren = child.props.children;
|
|
@@ -8343,7 +8381,7 @@ function nodesToString(children, i18nOptions) {
|
|
|
8343
8381
|
warn("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
8344
8382
|
} else if (_typeof(child) === 'object') {
|
|
8345
8383
|
var format = child.format,
|
|
8346
|
-
clone =
|
|
8384
|
+
clone = objectWithoutProperties_objectWithoutProperties(child, TransWithoutContext_excluded);
|
|
8347
8385
|
|
|
8348
8386
|
var keys = Object.keys(clone);
|
|
8349
8387
|
|
|
@@ -8371,12 +8409,12 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8371
8409
|
var childrenArray = getAsArray(childs);
|
|
8372
8410
|
childrenArray.forEach(function (child) {
|
|
8373
8411
|
if (typeof child === 'string') return;
|
|
8374
|
-
if (hasChildren(child)) getData(getChildren(child));else if (_typeof(child) === 'object' && !isValidElement(child)) Object.assign(data, child);
|
|
8412
|
+
if (hasChildren(child)) getData(getChildren(child));else if (_typeof(child) === 'object' && !(0,react.isValidElement)(child)) Object.assign(data, child);
|
|
8375
8413
|
});
|
|
8376
8414
|
}
|
|
8377
8415
|
|
|
8378
8416
|
getData(children);
|
|
8379
|
-
var ast =
|
|
8417
|
+
var ast = html_parse_stringify_module.parse("<0>".concat(targetString, "</0>"));
|
|
8380
8418
|
|
|
8381
8419
|
var opts = TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, data), combinedTOpts);
|
|
8382
8420
|
|
|
@@ -8388,7 +8426,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8388
8426
|
|
|
8389
8427
|
function pushTranslatedJSX(child, inner, mem, i, isVoid) {
|
|
8390
8428
|
if (child.dummy) child.children = inner;
|
|
8391
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8429
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8392
8430
|
key: i
|
|
8393
8431
|
}), isVoid ? undefined : inner));
|
|
8394
8432
|
}
|
|
@@ -8406,7 +8444,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8406
8444
|
var child = Object.keys(node.attrs).length !== 0 ? mergeProps({
|
|
8407
8445
|
props: node.attrs
|
|
8408
8446
|
}, tmp) : tmp;
|
|
8409
|
-
var isElement = isValidElement(child);
|
|
8447
|
+
var isElement = (0,react.isValidElement)(child);
|
|
8410
8448
|
var isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;
|
|
8411
8449
|
var isEmptyTransWithHTML = emptyChildrenButNeedsHandling && _typeof(child) === 'object' && child.dummy && !isElement;
|
|
8412
8450
|
var isKnownComponent = _typeof(children) === 'object' && children !== null && Object.hasOwnProperty.call(children, node.name);
|
|
@@ -8420,7 +8458,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8420
8458
|
} else if (isEmptyTransWithHTML) {
|
|
8421
8459
|
var _inner = mapAST(reactNodes, node.children, rootReactNode);
|
|
8422
8460
|
|
|
8423
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8461
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8424
8462
|
key: i
|
|
8425
8463
|
}), _inner));
|
|
8426
8464
|
} else if (Number.isNaN(parseFloat(node.name))) {
|
|
@@ -8430,13 +8468,13 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8430
8468
|
pushTranslatedJSX(child, _inner2, mem, i, node.voidElement);
|
|
8431
8469
|
} else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {
|
|
8432
8470
|
if (node.voidElement) {
|
|
8433
|
-
mem.push(createElement(node.name, {
|
|
8471
|
+
mem.push((0,react.createElement)(node.name, {
|
|
8434
8472
|
key: "".concat(node.name, "-").concat(i)
|
|
8435
8473
|
}));
|
|
8436
8474
|
} else {
|
|
8437
8475
|
var _inner3 = mapAST(reactNodes, node.children, rootReactNode);
|
|
8438
8476
|
|
|
8439
|
-
mem.push(createElement(node.name, {
|
|
8477
|
+
mem.push((0,react.createElement)(node.name, {
|
|
8440
8478
|
key: "".concat(node.name, "-").concat(i)
|
|
8441
8479
|
}, _inner3));
|
|
8442
8480
|
}
|
|
@@ -8451,11 +8489,11 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8451
8489
|
var content = node.children[0] ? translationContent : null;
|
|
8452
8490
|
if (content) mem.push(content);
|
|
8453
8491
|
} else if (node.children.length === 1 && translationContent) {
|
|
8454
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8492
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8455
8493
|
key: i
|
|
8456
8494
|
}), translationContent));
|
|
8457
8495
|
} else {
|
|
8458
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8496
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8459
8497
|
key: i
|
|
8460
8498
|
})));
|
|
8461
8499
|
}
|
|
@@ -8465,7 +8503,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8465
8503
|
var _content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);
|
|
8466
8504
|
|
|
8467
8505
|
if (wrapTextNodes) {
|
|
8468
|
-
mem.push(createElement(wrapTextNodes, {
|
|
8506
|
+
mem.push((0,react.createElement)(wrapTextNodes, {
|
|
8469
8507
|
key: "".concat(node.name, "-").concat(i)
|
|
8470
8508
|
}, _content));
|
|
8471
8509
|
} else {
|
|
@@ -8499,9 +8537,9 @@ function Trans(_ref) {
|
|
|
8499
8537
|
i18nFromProps = _ref.i18n,
|
|
8500
8538
|
tFromProps = _ref.t,
|
|
8501
8539
|
shouldUnescape = _ref.shouldUnescape,
|
|
8502
|
-
additionalProps =
|
|
8540
|
+
additionalProps = objectWithoutProperties_objectWithoutProperties(_ref, _excluded2);
|
|
8503
8541
|
|
|
8504
|
-
var i18n = i18nFromProps ||
|
|
8542
|
+
var i18n = i18nFromProps || i18nInstance_getI18n();
|
|
8505
8543
|
|
|
8506
8544
|
if (!i18n) {
|
|
8507
8545
|
warnOnce('You will need to pass in an i18next instance by using i18nextReactModule');
|
|
@@ -8538,7 +8576,7 @@ function Trans(_ref) {
|
|
|
8538
8576
|
var translation = key ? t(key, combinedTOpts) : defaultValue;
|
|
8539
8577
|
var content = renderNodes(components || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);
|
|
8540
8578
|
var useAsParent = parent !== undefined ? parent : reactI18nextOptions.defaultTransParent;
|
|
8541
|
-
return useAsParent ? createElement(useAsParent, additionalProps, content) : content;
|
|
8579
|
+
return useAsParent ? (0,react.createElement)(useAsParent, additionalProps, content) : content;
|
|
8542
8580
|
}
|
|
8543
8581
|
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
8544
8582
|
function _classCallCheck(a, n) {
|
|
@@ -8559,14 +8597,6 @@ function _createClass(e, r, t) {
|
|
|
8559
8597
|
}), e;
|
|
8560
8598
|
}
|
|
8561
8599
|
|
|
8562
|
-
;// ../../node_modules/react-i18next/dist/es/i18nInstance.js
|
|
8563
|
-
var i18nInstance;
|
|
8564
|
-
function setI18n(instance) {
|
|
8565
|
-
i18nInstance = instance;
|
|
8566
|
-
}
|
|
8567
|
-
function i18nInstance_getI18n() {
|
|
8568
|
-
return i18nInstance;
|
|
8569
|
-
}
|
|
8570
8600
|
;// ../../node_modules/react-i18next/dist/es/initReactI18next.js
|
|
8571
8601
|
|
|
8572
8602
|
|
|
@@ -8650,11 +8680,11 @@ function getInitialProps() {
|
|
|
8650
8680
|
;// ../../node_modules/react-i18next/dist/es/Trans.js
|
|
8651
8681
|
|
|
8652
8682
|
|
|
8653
|
-
var Trans_excluded =
|
|
8683
|
+
var Trans_excluded = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
8654
8684
|
|
|
8655
8685
|
function Trans_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
8656
8686
|
|
|
8657
|
-
function Trans_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { Trans_ownKeys(Object(source), true).forEach(function (key) {
|
|
8687
|
+
function Trans_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { Trans_ownKeys(Object(source), true).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { Trans_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8658
8688
|
|
|
8659
8689
|
|
|
8660
8690
|
|
|
@@ -8675,15 +8705,15 @@ function Trans_Trans(_ref) {
|
|
|
8675
8705
|
i18nFromProps = _ref.i18n,
|
|
8676
8706
|
tFromProps = _ref.t,
|
|
8677
8707
|
shouldUnescape = _ref.shouldUnescape,
|
|
8678
|
-
additionalProps =
|
|
8708
|
+
additionalProps = objectWithoutProperties_objectWithoutProperties(_ref, Trans_excluded);
|
|
8679
8709
|
|
|
8680
|
-
var _ref2 = useContext(
|
|
8710
|
+
var _ref2 = (0,react.useContext)(context_I18nContext) || {},
|
|
8681
8711
|
i18nFromContext = _ref2.i18n,
|
|
8682
8712
|
defaultNSFromContext = _ref2.defaultNS;
|
|
8683
8713
|
|
|
8684
|
-
var i18n = i18nFromProps || i18nFromContext ||
|
|
8714
|
+
var i18n = i18nFromProps || i18nFromContext || i18nInstance_getI18n();
|
|
8685
8715
|
var t = tFromProps || i18n && i18n.t.bind(i18n);
|
|
8686
|
-
return
|
|
8716
|
+
return Trans(Trans_objectSpread({
|
|
8687
8717
|
children: children,
|
|
8688
8718
|
count: count,
|
|
8689
8719
|
parent: parent,
|
|
@@ -8797,11 +8827,11 @@ function useTranslation_useTranslation(ns) {
|
|
|
8797
8827
|
if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
|
|
8798
8828
|
|
|
8799
8829
|
if (!i18n) {
|
|
8800
|
-
|
|
8830
|
+
warnOnce('You will need to pass in an i18next instance by using initReactI18next');
|
|
8801
8831
|
|
|
8802
8832
|
var notReadyT = function notReadyT(k, optsOrDefaultValue) {
|
|
8803
8833
|
if (typeof optsOrDefaultValue === 'string') return optsOrDefaultValue;
|
|
8804
|
-
if (optsOrDefaultValue &&
|
|
8834
|
+
if (optsOrDefaultValue && _typeof(optsOrDefaultValue) === 'object' && typeof optsOrDefaultValue.defaultValue === 'string') return optsOrDefaultValue.defaultValue;
|
|
8805
8835
|
return Array.isArray(k) ? k[k.length - 1] : k;
|
|
8806
8836
|
};
|
|
8807
8837
|
|
|
@@ -8812,9 +8842,9 @@ function useTranslation_useTranslation(ns) {
|
|
|
8812
8842
|
return retNotReady;
|
|
8813
8843
|
}
|
|
8814
8844
|
|
|
8815
|
-
if (i18n.options.react && i18n.options.react.wait !== undefined)
|
|
8845
|
+
if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');
|
|
8816
8846
|
|
|
8817
|
-
var i18nOptions = useTranslation_objectSpread(useTranslation_objectSpread(useTranslation_objectSpread({},
|
|
8847
|
+
var i18nOptions = useTranslation_objectSpread(useTranslation_objectSpread(useTranslation_objectSpread({}, getDefaults()), i18n.options.react), props);
|
|
8818
8848
|
|
|
8819
8849
|
var useSuspense = i18nOptions.useSuspense,
|
|
8820
8850
|
keyPrefix = i18nOptions.keyPrefix;
|
|
@@ -10428,7 +10458,8 @@ function FormInputViewTwo_FormInput(props) {
|
|
|
10428
10458
|
onChange,
|
|
10429
10459
|
autoFocus,
|
|
10430
10460
|
borderStyle,
|
|
10431
|
-
verified
|
|
10461
|
+
verified,
|
|
10462
|
+
autoComplete
|
|
10432
10463
|
} = props;
|
|
10433
10464
|
const isMobile = useWidth_useWidth();
|
|
10434
10465
|
const {
|
|
@@ -10456,7 +10487,7 @@ function FormInputViewTwo_FormInput(props) {
|
|
|
10456
10487
|
pattern: pattern,
|
|
10457
10488
|
placeholder: placeholder ? placeholder : '',
|
|
10458
10489
|
maxLength: maxLength,
|
|
10459
|
-
autoComplete:
|
|
10490
|
+
autoComplete: autoComplete || 'off',
|
|
10460
10491
|
inputMode: inputMode,
|
|
10461
10492
|
disabled: disabled
|
|
10462
10493
|
})), verified && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
@@ -10971,6 +11002,9 @@ function OTPViewTwo_OTP(props) {
|
|
|
10971
11002
|
};
|
|
10972
11003
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
10973
11004
|
className: "flex justify-center gap-2 w-full",
|
|
11005
|
+
style: {
|
|
11006
|
+
direction: 'ltr'
|
|
11007
|
+
},
|
|
10974
11008
|
children: valueItems.map((digit, idx) => /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
|
|
10975
11009
|
type: "text",
|
|
10976
11010
|
inputMode: "numeric",
|
|
@@ -11102,7 +11136,9 @@ function OTPModal_OTPModal(props) {
|
|
|
11102
11136
|
style: customStyle == null ? void 0 : customStyle['label'],
|
|
11103
11137
|
children: [length && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
11104
11138
|
className: "text-lg font-semibold",
|
|
11105
|
-
children:
|
|
11139
|
+
children: t('OTP_MODAL_HEADER', {
|
|
11140
|
+
length
|
|
11141
|
+
})
|
|
11106
11142
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
|
11107
11143
|
className: "text-sm font-medium text-gray-600",
|
|
11108
11144
|
children: [t('OTP_HINT'), " ", phoneNumber || t('MOBILE_NUMBER')]
|
|
@@ -13546,7 +13582,8 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
13546
13582
|
formState: {
|
|
13547
13583
|
errors,
|
|
13548
13584
|
isDirty,
|
|
13549
|
-
isValid
|
|
13585
|
+
isValid,
|
|
13586
|
+
dirtyFields
|
|
13550
13587
|
},
|
|
13551
13588
|
setValue,
|
|
13552
13589
|
trigger,
|
|
@@ -13772,14 +13809,10 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
13772
13809
|
classes += isRTL ? '!rounded-l-lg ' : '!rounded-r-lg ';
|
|
13773
13810
|
}
|
|
13774
13811
|
if (position === 'right') {
|
|
13775
|
-
|
|
13776
|
-
classes += '-me-px ';
|
|
13777
|
-
} else {
|
|
13778
|
-
classes += '-ms-px ';
|
|
13779
|
-
}
|
|
13812
|
+
classes += isRTL ? '-me-px ' : '-ms-px ';
|
|
13780
13813
|
}
|
|
13781
13814
|
if (hasError) {
|
|
13782
|
-
classes += '!z-
|
|
13815
|
+
classes += '!z-[1] !border-red-300 ';
|
|
13783
13816
|
} else {
|
|
13784
13817
|
classes += '!border-gray-300 ';
|
|
13785
13818
|
}
|
|
@@ -13965,10 +13998,11 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
13965
13998
|
}
|
|
13966
13999
|
},
|
|
13967
14000
|
options: options,
|
|
13968
|
-
className: `!shadow-none !border-b-0 ${getInputClasses(fieldName, position)}`,
|
|
14001
|
+
className: `!shadow-none ${additionalFields.length - 1 === idx ? '' : '!border-b-0'} ${getInputClasses(fieldName, position)}`,
|
|
13969
14002
|
hideCircleIcon: true,
|
|
13970
14003
|
hideRemoveOptionBtn: true,
|
|
13971
|
-
defaultOption: value
|
|
14004
|
+
defaultOption: value,
|
|
14005
|
+
disableDropdown: !dirtyFields[countryField]
|
|
13972
14006
|
})
|
|
13973
14007
|
}, key);
|
|
13974
14008
|
}
|
|
@@ -14062,7 +14096,7 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
14062
14096
|
disabled: disableFields == null ? void 0 : disableFields.email,
|
|
14063
14097
|
verified: verifiedFields == null ? void 0 : verifiedFields.email,
|
|
14064
14098
|
customStyle: {
|
|
14065
|
-
direction:
|
|
14099
|
+
direction: 'ltr'
|
|
14066
14100
|
}
|
|
14067
14101
|
}), needsPhone && /*#__PURE__*/_jsx(PhoneFormInput, {
|
|
14068
14102
|
name: "phone",
|
|
@@ -17567,7 +17601,6 @@ function PhoneInput(props) {
|
|
|
17567
17601
|
const {
|
|
17568
17602
|
t
|
|
17569
17603
|
} = useTranslation_useTranslation('kitComponents');
|
|
17570
|
-
const langDirection = document.documentElement.dir;
|
|
17571
17604
|
const validatePhone = value => {
|
|
17572
17605
|
if (value) {
|
|
17573
17606
|
var _parseMax;
|
|
@@ -17739,8 +17772,8 @@ const formatCurrencyForDisplay_formatCurrencyForDisplay = originalCurrency => {
|
|
|
17739
17772
|
if (symbol) {
|
|
17740
17773
|
return {
|
|
17741
17774
|
displayCurrency: symbol,
|
|
17742
|
-
currencyClassName: 'currency-
|
|
17743
|
-
currencyFontFamily: '
|
|
17775
|
+
currencyClassName: 'currency-font',
|
|
17776
|
+
currencyFontFamily: 'currencyFont'
|
|
17744
17777
|
};
|
|
17745
17778
|
}
|
|
17746
17779
|
return {
|
|
@@ -17793,6 +17826,7 @@ var checkGreenIcon_ForwardRef = /*#__PURE__*/(/* unused pure expression or super
|
|
|
17793
17826
|
|
|
17794
17827
|
|
|
17795
17828
|
|
|
17829
|
+
|
|
17796
17830
|
function InvoiceComponent(props) {
|
|
17797
17831
|
var _plan$extra, _plan$extra2, _plan$extra3, _paymentDetails$produ, _plan$discountDetails, _plan$discountDetails2;
|
|
17798
17832
|
const {
|
|
@@ -17845,9 +17879,7 @@ function InvoiceComponent(props) {
|
|
|
17845
17879
|
children: paymentDetails == null ? void 0 : paymentDetails.company
|
|
17846
17880
|
}), /*#__PURE__*/_jsx("p", {
|
|
17847
17881
|
className: "text-sm text-gray-500",
|
|
17848
|
-
|
|
17849
|
-
direction: 'ltr'
|
|
17850
|
-
},
|
|
17882
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.address),
|
|
17851
17883
|
children: paymentDetails == null ? void 0 : paymentDetails.address
|
|
17852
17884
|
})]
|
|
17853
17885
|
})]
|
|
@@ -18113,7 +18145,8 @@ function InvoiceComponent(props) {
|
|
|
18113
18145
|
className: "font-medium text-gray-700",
|
|
18114
18146
|
children: [t('BILLING_ADDRESS'), ":"]
|
|
18115
18147
|
}), /*#__PURE__*/_jsx("p", {
|
|
18116
|
-
className: "text-sm text-gray-600",
|
|
18148
|
+
className: "text-sm text-gray-600 w-fit",
|
|
18149
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.billingAddress),
|
|
18117
18150
|
children: paymentDetails.billingAddress
|
|
18118
18151
|
})]
|
|
18119
18152
|
}), !paymentLinkToken && paymentDetails.showShipping && paymentDetails.shippingAddress && /*#__PURE__*/_jsxs("div", {
|
|
@@ -18552,6 +18585,7 @@ const close_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg
|
|
|
18552
18585
|
|
|
18553
18586
|
|
|
18554
18587
|
|
|
18588
|
+
|
|
18555
18589
|
function OrderDetailsModal(props) {
|
|
18556
18590
|
var _plan$extra, _plan$extra2, _plan$extra3, _plan$discountDetails, _plan$discountDetails2;
|
|
18557
18591
|
const {
|
|
@@ -18610,23 +18644,26 @@ function OrderDetailsModal(props) {
|
|
|
18610
18644
|
})]
|
|
18611
18645
|
}), (paymentLinkToken || paymentDetails.showItems) && (paymentDetails == null ? void 0 : paymentDetails.products.map(product => {
|
|
18612
18646
|
return /*#__PURE__*/_jsxs("div", {
|
|
18613
|
-
className: "flex gap-3 items-center",
|
|
18614
|
-
children: [/*#__PURE__*/
|
|
18615
|
-
className: "
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
children:
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18647
|
+
className: "flex gap-3 items-center justify-between",
|
|
18648
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
18649
|
+
className: "flex gap-3 items-center",
|
|
18650
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
18651
|
+
className: "w-12 h-12 bg-gray-400 rounded-2xl",
|
|
18652
|
+
src: product.image ? product.image : emptyImage,
|
|
18653
|
+
alt: product == null ? void 0 : product.name
|
|
18654
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
18655
|
+
children: [/*#__PURE__*/_jsx("p", {
|
|
18656
|
+
className: "font-medium text-sm text-gray-900",
|
|
18657
|
+
children: product == null ? void 0 : product.name
|
|
18658
|
+
}), /*#__PURE__*/_jsx("p", {
|
|
18659
|
+
className: "text-sm text-gray-600",
|
|
18660
|
+
dangerouslySetInnerHTML: {
|
|
18661
|
+
__html: product == null ? void 0 : product.description
|
|
18662
|
+
}
|
|
18663
|
+
})]
|
|
18627
18664
|
})]
|
|
18628
18665
|
}), /*#__PURE__*/_jsxs("div", {
|
|
18629
|
-
className: "
|
|
18666
|
+
className: "flex flex-col gap-2 items-end",
|
|
18630
18667
|
children: [/*#__PURE__*/_jsxs("p", {
|
|
18631
18668
|
className: "font-medium text-sm text-gray-900",
|
|
18632
18669
|
children: [/*#__PURE__*/_jsx("span", {
|
|
@@ -18838,7 +18875,8 @@ function OrderDetailsModal(props) {
|
|
|
18838
18875
|
className: "font-medium text-gray-700",
|
|
18839
18876
|
children: [t('BILLING_ADDRESS'), ":"]
|
|
18840
18877
|
}), /*#__PURE__*/_jsx("p", {
|
|
18841
|
-
className: "text-sm text-gray-600",
|
|
18878
|
+
className: "text-sm text-gray-600 w-fit",
|
|
18879
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.billingAddress),
|
|
18842
18880
|
children: paymentDetails.billingAddress
|
|
18843
18881
|
})]
|
|
18844
18882
|
}), !paymentLinkToken && paymentDetails.showShipping && paymentDetails.shippingAddress && /*#__PURE__*/_jsxs("div", {
|
|
@@ -18933,10 +18971,12 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18933
18971
|
style: customStyle == null ? void 0 : customStyle['label'],
|
|
18934
18972
|
children: [length && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
18935
18973
|
className: "text-lg font-semibold",
|
|
18936
|
-
children:
|
|
18974
|
+
children: t('OTP_MODAL_HEADER', {
|
|
18975
|
+
length
|
|
18976
|
+
})
|
|
18937
18977
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
|
18938
18978
|
className: "text-sm font-medium text-gray-600 w-3/4",
|
|
18939
|
-
children: ["
|
|
18979
|
+
children: [t('OTP_HINT'), " ", phoneNumber || t('MOBILE_NUMBER')]
|
|
18940
18980
|
})]
|
|
18941
18981
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
18942
18982
|
className: "flex flex-col items-start border-t border-b border-gray-200 px-6 py-6 w-full",
|
|
@@ -18969,9 +19009,9 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18969
19009
|
style: customStyle == null ? void 0 : customStyle['container'],
|
|
18970
19010
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
18971
19011
|
className: "flex animate-pulse",
|
|
18972
|
-
children: [/*#__PURE__*/(0,jsx_runtime.
|
|
19012
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
18973
19013
|
className: "sr-only",
|
|
18974
|
-
children: "
|
|
19014
|
+
children: [t('LOADING'), "..."]
|
|
18975
19015
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
18976
19016
|
className: "w-3 h-3 bg-gray-500 rounded-full animate-bounce [animation-delay:-0.3s]"
|
|
18977
19017
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
@@ -18987,7 +19027,7 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18987
19027
|
}), !length && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
18988
19028
|
className: "px-6",
|
|
18989
19029
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Button_Button, {
|
|
18990
|
-
label: "
|
|
19030
|
+
label: t("SUBMIT_BTN"),
|
|
18991
19031
|
id: "pay-button",
|
|
18992
19032
|
onClick: handleOtpSubmit,
|
|
18993
19033
|
disabled: !otp || loading,
|
|
@@ -19449,6 +19489,122 @@ const getCardLogo = cardType => {
|
|
|
19449
19489
|
};
|
|
19450
19490
|
// EXTERNAL MODULE: ../../libs/kit-components/src/constants/countries-states-cities.json
|
|
19451
19491
|
var countries_states_cities = __webpack_require__(9398);
|
|
19492
|
+
;// ../../libs/kit-components/src/assets/icons/loading-loader.svg
|
|
19493
|
+
var loading_loader_excluded = (/* unused pure expression or super */ null && (["title", "titleId"]));
|
|
19494
|
+
function loading_loader_extends() { return loading_loader_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, loading_loader_extends.apply(null, arguments); }
|
|
19495
|
+
function loading_loader_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = loading_loader_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19496
|
+
function loading_loader_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
19497
|
+
|
|
19498
|
+
|
|
19499
|
+
var SvgLoadingLoader = function SvgLoadingLoader(_ref, ref) {
|
|
19500
|
+
var title = _ref.title,
|
|
19501
|
+
titleId = _ref.titleId,
|
|
19502
|
+
props = loading_loader_objectWithoutProperties(_ref, loading_loader_excluded);
|
|
19503
|
+
return /*#__PURE__*/React.createElement("svg", loading_loader_extends({
|
|
19504
|
+
height: "800px",
|
|
19505
|
+
width: "800px",
|
|
19506
|
+
id: "Layer_1",
|
|
19507
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19508
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
19509
|
+
viewBox: "0 0 512 512",
|
|
19510
|
+
xmlSpace: "preserve",
|
|
19511
|
+
ref: ref,
|
|
19512
|
+
"aria-labelledby": titleId
|
|
19513
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
19514
|
+
id: titleId
|
|
19515
|
+
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
19516
|
+
style: {
|
|
19517
|
+
fill: "#2D50A7"
|
|
19518
|
+
},
|
|
19519
|
+
d: "M116.364,221.091H23.273C10.42,221.091,0,231.511,0,244.364c0,12.853,10.42,23.273,23.273,23.273 h93.091c12.853,0,23.273-10.42,23.273-23.273C139.636,231.511,129.216,221.091,116.364,221.091z"
|
|
19520
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19521
|
+
style: {
|
|
19522
|
+
fill: "#73A1FB"
|
|
19523
|
+
},
|
|
19524
|
+
d: "M488.727,221.091h-93.091c-12.853,0-23.273,10.42-23.273,23.273c0,12.853,10.42,23.273,23.273,23.273 h93.091c12.853,0,23.273-10.42,23.273-23.273C512,231.511,501.58,221.091,488.727,221.091z"
|
|
19525
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19526
|
+
style: {
|
|
19527
|
+
fill: "#355EC9"
|
|
19528
|
+
},
|
|
19529
|
+
d: "M140.805,326.645L74.98,392.471c-9.089,9.089-9.089,23.823,0,32.912 c4.544,4.544,10.501,6.816,16.457,6.816s11.913-2.273,16.455-6.816l65.825-65.826c9.089-9.089,9.089-23.824,0-32.912 S149.892,317.556,140.805,326.645z"
|
|
19530
|
+
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
19531
|
+
style: {
|
|
19532
|
+
fill: "#C4D9FD"
|
|
19533
|
+
},
|
|
19534
|
+
d: "M256,11.636c-12.853,0-23.273,10.42-23.273,23.273v46.545c0,12.853,10.42,23.273,23.273,23.273 c12.853,0,23.273-10.42,23.273-23.273V34.909C279.273,22.056,268.853,11.636,256,11.636z"
|
|
19535
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19536
|
+
style: {
|
|
19537
|
+
fill: "#C4D9FD"
|
|
19538
|
+
},
|
|
19539
|
+
d: "M404.105,63.344L338.28,129.17c-9.089,9.089-9.089,23.824,0,32.912 c4.544,4.544,10.501,6.817,16.457,6.817s11.913-2.273,16.455-6.817l65.825-65.826c9.089-9.089,9.089-23.824,0-32.912 C427.93,54.255,413.192,54.255,404.105,63.344z"
|
|
19540
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
19541
|
+
style: {
|
|
19542
|
+
fill: "#3D6DEB"
|
|
19543
|
+
},
|
|
19544
|
+
d: "M256,360.727c-12.853,0-23.273,10.42-23.273,23.273v93.091c0,12.853,10.42,23.273,23.273,23.273 c12.853,0,23.273-10.42,23.273-23.273V384C279.273,371.147,268.853,360.727,256,360.727z"
|
|
19545
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19546
|
+
style: {
|
|
19547
|
+
fill: "#5286FA"
|
|
19548
|
+
},
|
|
19549
|
+
d: "M371.192,326.645c-9.086-9.089-23.824-9.089-32.912,0c-9.089,9.087-9.089,23.824,0,32.912 l65.825,65.826c4.544,4.544,10.501,6.816,16.457,6.816c5.955,0,11.913-2.273,16.455-6.816c9.089-9.089,9.089-23.824,0-32.912 L371.192,326.645z"
|
|
19550
|
+
}));
|
|
19551
|
+
};
|
|
19552
|
+
var loading_loader_ForwardRef = /*#__PURE__*/(/* unused pure expression or super */ null && (forwardRef(SvgLoadingLoader)));
|
|
19553
|
+
|
|
19554
|
+
/* harmony default export */ const loading_loader = (__webpack_require__.p + "loading-loader.6463e608601cd9d5550f67d4c08d513b.svg");
|
|
19555
|
+
;// ../../libs/kit-components/src/components/PaymentStatusViewTwo/StatusModal/index.tsx
|
|
19556
|
+
|
|
19557
|
+
|
|
19558
|
+
|
|
19559
|
+
|
|
19560
|
+
|
|
19561
|
+
|
|
19562
|
+
|
|
19563
|
+
const StatusModal = ({
|
|
19564
|
+
show,
|
|
19565
|
+
title,
|
|
19566
|
+
status
|
|
19567
|
+
}) => {
|
|
19568
|
+
const {
|
|
19569
|
+
t
|
|
19570
|
+
} = useTranslation('kitComponents');
|
|
19571
|
+
return /*#__PURE__*/_jsx(LoadingModal, {
|
|
19572
|
+
show: !!show,
|
|
19573
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
19574
|
+
className: "bg-white w-4/5 sm:w-full h-96 px-4 flex items-center justify-center rounded-xl shadow-[0_20px_24px_-4px_rgba(16, 24, 40, 0.08)_0_8px_8px_-4px_rgba(16, 24, 40, 0.03)]",
|
|
19575
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
19576
|
+
className: "flex w-[28.125rem] p-2 sm:p-6 flex-col items-center gap-3",
|
|
19577
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
19578
|
+
className: "relative flex gap-4 p-4 flex-wrap justify-center [&_div]:flex [&_div]:justify-center [&_div]:items-center",
|
|
19579
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
19580
|
+
className: `absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-[2.7rem] w-[2.7rem] rounded-full ${status === 'success' ? 'bg-green-50' : 'bg-red-50'}`,
|
|
19581
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
19582
|
+
className: `h-[1.9rem] w-[1.9rem] rounded-full ${status === 'success' ? 'bg-green-500' : 'bg-red-500'}`,
|
|
19583
|
+
children: /*#__PURE__*/_jsx("img", {
|
|
19584
|
+
className: "h-[1.46rem] w-[1.46rem]",
|
|
19585
|
+
src: status === 'success' ? checkIcon : status === 'expired' ? expiredIcon : declinedIcon,
|
|
19586
|
+
alt: status + 'status'
|
|
19587
|
+
})
|
|
19588
|
+
})
|
|
19589
|
+
}), /*#__PURE__*/_jsx("img", {
|
|
19590
|
+
className: "w-28 h-28 animate-spin",
|
|
19591
|
+
src: loadingLoaderSVG,
|
|
19592
|
+
alt: "Loading icon"
|
|
19593
|
+
})]
|
|
19594
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
19595
|
+
className: "flex flex-col items-center gap-1",
|
|
19596
|
+
children: [/*#__PURE__*/_jsx("p", {
|
|
19597
|
+
className: "text-gray-900 text-lg leading-8 font-semibold whitespace-pre-line",
|
|
19598
|
+
children: title
|
|
19599
|
+
}), /*#__PURE__*/_jsx("p", {
|
|
19600
|
+
className: "text-gray-600 text-sm leading-6 font-medium tracking-[0.01rem]",
|
|
19601
|
+
children: t('REDIRECTION_TO_MERCHANT_LOADING')
|
|
19602
|
+
})]
|
|
19603
|
+
})]
|
|
19604
|
+
})
|
|
19605
|
+
})
|
|
19606
|
+
});
|
|
19607
|
+
};
|
|
19452
19608
|
;// ../../node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
19453
19609
|
// Generated ESM version of ua-parser-js
|
|
19454
19610
|
// DO NOT EDIT THIS FILE!
|
|
@@ -20884,122 +21040,6 @@ function formatDeviceName(ua) {
|
|
|
20884
21040
|
}
|
|
20885
21041
|
return 'Unknown Device';
|
|
20886
21042
|
}
|
|
20887
|
-
;// ../../libs/kit-components/src/assets/icons/loading-loader.svg
|
|
20888
|
-
var loading_loader_excluded = (/* unused pure expression or super */ null && (["title", "titleId"]));
|
|
20889
|
-
function loading_loader_extends() { return loading_loader_extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, loading_loader_extends.apply(null, arguments); }
|
|
20890
|
-
function loading_loader_objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = loading_loader_objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20891
|
-
function loading_loader_objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20892
|
-
|
|
20893
|
-
|
|
20894
|
-
var SvgLoadingLoader = function SvgLoadingLoader(_ref, ref) {
|
|
20895
|
-
var title = _ref.title,
|
|
20896
|
-
titleId = _ref.titleId,
|
|
20897
|
-
props = loading_loader_objectWithoutProperties(_ref, loading_loader_excluded);
|
|
20898
|
-
return /*#__PURE__*/React.createElement("svg", loading_loader_extends({
|
|
20899
|
-
height: "800px",
|
|
20900
|
-
width: "800px",
|
|
20901
|
-
id: "Layer_1",
|
|
20902
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20903
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
20904
|
-
viewBox: "0 0 512 512",
|
|
20905
|
-
xmlSpace: "preserve",
|
|
20906
|
-
ref: ref,
|
|
20907
|
-
"aria-labelledby": titleId
|
|
20908
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
20909
|
-
id: titleId
|
|
20910
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
20911
|
-
style: {
|
|
20912
|
-
fill: "#2D50A7"
|
|
20913
|
-
},
|
|
20914
|
-
d: "M116.364,221.091H23.273C10.42,221.091,0,231.511,0,244.364c0,12.853,10.42,23.273,23.273,23.273 h93.091c12.853,0,23.273-10.42,23.273-23.273C139.636,231.511,129.216,221.091,116.364,221.091z"
|
|
20915
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20916
|
-
style: {
|
|
20917
|
-
fill: "#73A1FB"
|
|
20918
|
-
},
|
|
20919
|
-
d: "M488.727,221.091h-93.091c-12.853,0-23.273,10.42-23.273,23.273c0,12.853,10.42,23.273,23.273,23.273 h93.091c12.853,0,23.273-10.42,23.273-23.273C512,231.511,501.58,221.091,488.727,221.091z"
|
|
20920
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20921
|
-
style: {
|
|
20922
|
-
fill: "#355EC9"
|
|
20923
|
-
},
|
|
20924
|
-
d: "M140.805,326.645L74.98,392.471c-9.089,9.089-9.089,23.823,0,32.912 c4.544,4.544,10.501,6.816,16.457,6.816s11.913-2.273,16.455-6.816l65.825-65.826c9.089-9.089,9.089-23.824,0-32.912 S149.892,317.556,140.805,326.645z"
|
|
20925
|
-
}), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
20926
|
-
style: {
|
|
20927
|
-
fill: "#C4D9FD"
|
|
20928
|
-
},
|
|
20929
|
-
d: "M256,11.636c-12.853,0-23.273,10.42-23.273,23.273v46.545c0,12.853,10.42,23.273,23.273,23.273 c12.853,0,23.273-10.42,23.273-23.273V34.909C279.273,22.056,268.853,11.636,256,11.636z"
|
|
20930
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20931
|
-
style: {
|
|
20932
|
-
fill: "#C4D9FD"
|
|
20933
|
-
},
|
|
20934
|
-
d: "M404.105,63.344L338.28,129.17c-9.089,9.089-9.089,23.824,0,32.912 c4.544,4.544,10.501,6.817,16.457,6.817s11.913-2.273,16.455-6.817l65.825-65.826c9.089-9.089,9.089-23.824,0-32.912 C427.93,54.255,413.192,54.255,404.105,63.344z"
|
|
20935
|
-
})), /*#__PURE__*/React.createElement("path", {
|
|
20936
|
-
style: {
|
|
20937
|
-
fill: "#3D6DEB"
|
|
20938
|
-
},
|
|
20939
|
-
d: "M256,360.727c-12.853,0-23.273,10.42-23.273,23.273v93.091c0,12.853,10.42,23.273,23.273,23.273 c12.853,0,23.273-10.42,23.273-23.273V384C279.273,371.147,268.853,360.727,256,360.727z"
|
|
20940
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20941
|
-
style: {
|
|
20942
|
-
fill: "#5286FA"
|
|
20943
|
-
},
|
|
20944
|
-
d: "M371.192,326.645c-9.086-9.089-23.824-9.089-32.912,0c-9.089,9.087-9.089,23.824,0,32.912 l65.825,65.826c4.544,4.544,10.501,6.816,16.457,6.816c5.955,0,11.913-2.273,16.455-6.816c9.089-9.089,9.089-23.824,0-32.912 L371.192,326.645z"
|
|
20945
|
-
}));
|
|
20946
|
-
};
|
|
20947
|
-
var loading_loader_ForwardRef = /*#__PURE__*/(/* unused pure expression or super */ null && (forwardRef(SvgLoadingLoader)));
|
|
20948
|
-
|
|
20949
|
-
/* harmony default export */ const loading_loader = (__webpack_require__.p + "loading-loader.6463e608601cd9d5550f67d4c08d513b.svg");
|
|
20950
|
-
;// ../../libs/kit-components/src/components/PaymentStatusViewTwo/StatusModal/index.tsx
|
|
20951
|
-
|
|
20952
|
-
|
|
20953
|
-
|
|
20954
|
-
|
|
20955
|
-
|
|
20956
|
-
|
|
20957
|
-
|
|
20958
|
-
const StatusModal = ({
|
|
20959
|
-
show,
|
|
20960
|
-
title,
|
|
20961
|
-
status
|
|
20962
|
-
}) => {
|
|
20963
|
-
const {
|
|
20964
|
-
t
|
|
20965
|
-
} = useTranslation('kitComponents');
|
|
20966
|
-
return /*#__PURE__*/_jsx(LoadingModal, {
|
|
20967
|
-
show: !!show,
|
|
20968
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
20969
|
-
className: "bg-white w-4/5 sm:w-full h-96 px-4 flex items-center justify-center rounded-xl shadow-[0_20px_24px_-4px_rgba(16, 24, 40, 0.08)_0_8px_8px_-4px_rgba(16, 24, 40, 0.03)]",
|
|
20970
|
-
children: /*#__PURE__*/_jsxs("div", {
|
|
20971
|
-
className: "flex w-[28.125rem] p-2 sm:p-6 flex-col items-center gap-3",
|
|
20972
|
-
children: [/*#__PURE__*/_jsxs("div", {
|
|
20973
|
-
className: "relative flex gap-4 p-4 flex-wrap justify-center [&_div]:flex [&_div]:justify-center [&_div]:items-center",
|
|
20974
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
20975
|
-
className: `absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 h-[2.7rem] w-[2.7rem] rounded-full ${status === 'success' ? 'bg-green-50' : 'bg-red-50'}`,
|
|
20976
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
20977
|
-
className: `h-[1.9rem] w-[1.9rem] rounded-full ${status === 'success' ? 'bg-green-500' : 'bg-red-500'}`,
|
|
20978
|
-
children: /*#__PURE__*/_jsx("img", {
|
|
20979
|
-
className: "h-[1.46rem] w-[1.46rem]",
|
|
20980
|
-
src: status === 'success' ? checkIcon : status === 'expired' ? expiredIcon : declinedIcon,
|
|
20981
|
-
alt: status + 'status'
|
|
20982
|
-
})
|
|
20983
|
-
})
|
|
20984
|
-
}), /*#__PURE__*/_jsx("img", {
|
|
20985
|
-
className: "w-28 h-28 animate-spin",
|
|
20986
|
-
src: loadingLoaderSVG,
|
|
20987
|
-
alt: "Loading icon"
|
|
20988
|
-
})]
|
|
20989
|
-
}), /*#__PURE__*/_jsxs("div", {
|
|
20990
|
-
className: "flex flex-col items-center gap-1",
|
|
20991
|
-
children: [/*#__PURE__*/_jsx("p", {
|
|
20992
|
-
className: "text-gray-900 text-lg leading-8 font-semibold whitespace-pre-line",
|
|
20993
|
-
children: title
|
|
20994
|
-
}), /*#__PURE__*/_jsx("p", {
|
|
20995
|
-
className: "text-gray-600 text-sm leading-6 font-medium tracking-[0.01rem]",
|
|
20996
|
-
children: t('REDIRECTION_TO_MERCHANT_LOADING')
|
|
20997
|
-
})]
|
|
20998
|
-
})]
|
|
20999
|
-
})
|
|
21000
|
-
})
|
|
21001
|
-
});
|
|
21002
|
-
};
|
|
21003
21043
|
;// ../../libs/kit-components/src/constants/currencies.ts
|
|
21004
21044
|
const CURRENCIES_WITH_THOUSAND_DIVISOR = ['JOD', 'OMR', 'KWD', 'BHD'];
|
|
21005
21045
|
;// ../../libs/kit-components/src/utils/toFixed.ts
|
|
@@ -21083,6 +21123,7 @@ function formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(amount, currenc
|
|
|
21083
21123
|
|
|
21084
21124
|
|
|
21085
21125
|
|
|
21126
|
+
|
|
21086
21127
|
|
|
21087
21128
|
|
|
21088
21129
|
;// ../../node_modules/react-loading-skeleton/dist/index.js
|
|
@@ -21463,7 +21504,8 @@ function CVV_CVV(props) {
|
|
|
21463
21504
|
pattern: 'd*',
|
|
21464
21505
|
maxLength: maxLength,
|
|
21465
21506
|
customInputStyle: customInputStyle,
|
|
21466
|
-
customStyle: customStyle
|
|
21507
|
+
customStyle: customStyle,
|
|
21508
|
+
autoComplete: "cc-csc"
|
|
21467
21509
|
}), showModal && !isIframe && /*#__PURE__*/_jsx(CVVToolTipModal, {
|
|
21468
21510
|
onClose: onClose,
|
|
21469
21511
|
showModal: showModal
|
|
@@ -21562,6 +21604,9 @@ function cardFormViewTwo_Card(props) {
|
|
|
21562
21604
|
bankTermsAndConditions,
|
|
21563
21605
|
isBankTermsAgreed
|
|
21564
21606
|
} = props;
|
|
21607
|
+
const {
|
|
21608
|
+
t
|
|
21609
|
+
} = useTranslation('card');
|
|
21565
21610
|
const lang = useSafeSelector(state => state.lang);
|
|
21566
21611
|
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
21567
21612
|
const isRTL = langDirection === 'rtl';
|
|
@@ -21574,9 +21619,6 @@ function cardFormViewTwo_Card(props) {
|
|
|
21574
21619
|
label: customStyle == null ? void 0 : customStyle.label,
|
|
21575
21620
|
error: customStyle == null ? void 0 : customStyle.error
|
|
21576
21621
|
};
|
|
21577
|
-
const {
|
|
21578
|
-
t
|
|
21579
|
-
} = useTranslation('card');
|
|
21580
21622
|
const {
|
|
21581
21623
|
handleSubmit,
|
|
21582
21624
|
errors,
|
|
@@ -21824,16 +21866,15 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
21824
21866
|
bankTermsAndConditions,
|
|
21825
21867
|
isBankTermsAgreed
|
|
21826
21868
|
} = props;
|
|
21869
|
+
const {
|
|
21870
|
+
t
|
|
21871
|
+
} = useTranslation('card');
|
|
21827
21872
|
const [cardNumberSelected, setCardNumberSelected] = useState(false);
|
|
21828
21873
|
const [validCard, setValidCard] = useState(false);
|
|
21829
21874
|
const [showName, setShowName] = useState(false);
|
|
21830
21875
|
const [showModal, setShowModal] = useState(false);
|
|
21831
|
-
const
|
|
21832
|
-
|
|
21833
|
-
} = useTranslation('card');
|
|
21834
|
-
const onClose = () => {
|
|
21835
|
-
setShowModal(false);
|
|
21836
|
-
};
|
|
21876
|
+
const lang = useSafeSelector(state => state.lang);
|
|
21877
|
+
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
21837
21878
|
const styling = {
|
|
21838
21879
|
container: {
|
|
21839
21880
|
backgroundColor: customStyle == null ? void 0 : customStyle.backgroundColor,
|
|
@@ -21841,12 +21882,16 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
21841
21882
|
},
|
|
21842
21883
|
input: {
|
|
21843
21884
|
color: customStyle == null ? void 0 : customStyle.fieldColor,
|
|
21844
|
-
borderColor: customStyle == null ? void 0 : customStyle.borderColor
|
|
21885
|
+
borderColor: customStyle == null ? void 0 : customStyle.borderColor,
|
|
21886
|
+
direction: langDirection
|
|
21845
21887
|
},
|
|
21846
21888
|
button: {
|
|
21847
21889
|
backgroundColor: customStyle == null ? void 0 : customStyle.buttonColor
|
|
21848
21890
|
}
|
|
21849
21891
|
};
|
|
21892
|
+
const onClose = () => {
|
|
21893
|
+
setShowModal(false);
|
|
21894
|
+
};
|
|
21850
21895
|
const {
|
|
21851
21896
|
handleSubmit,
|
|
21852
21897
|
errors,
|
|
@@ -22039,6 +22084,7 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
22039
22084
|
formRegister: nameRegister,
|
|
22040
22085
|
maxLength: CARD_HOLDER_NAME_MAX_LENGTH,
|
|
22041
22086
|
error: errors['name'],
|
|
22087
|
+
customStyle: styling.input,
|
|
22042
22088
|
className: `rounded-lg border-t-0 rounded-t-none ${errors['name'] ? 'border-red-300' : 'border-gray-300'}`
|
|
22043
22089
|
})
|
|
22044
22090
|
}), discountErrorMessage && /*#__PURE__*/_jsx("p", {
|
|
@@ -22834,12 +22880,21 @@ const AddCardButtons_AddCardButtons = props => {
|
|
|
22834
22880
|
const {
|
|
22835
22881
|
t
|
|
22836
22882
|
} = useTranslation('kitComponents');
|
|
22883
|
+
const {
|
|
22884
|
+
t: tPaymentLayout
|
|
22885
|
+
} = useTranslation('flash', {
|
|
22886
|
+
keyPrefix: 'paymentLayout'
|
|
22887
|
+
});
|
|
22837
22888
|
const {
|
|
22838
22889
|
borderStyle
|
|
22839
22890
|
} = useSelector(state => state.customization);
|
|
22840
22891
|
const lang = useSafeSelector(state => state.lang);
|
|
22841
22892
|
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
22842
22893
|
const isRTL = langDirection === "rtl";
|
|
22894
|
+
const {
|
|
22895
|
+
displayCurrency,
|
|
22896
|
+
currencyClassName
|
|
22897
|
+
} = formatCurrencyForDisplay(currency);
|
|
22843
22898
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
22844
22899
|
children: [/*#__PURE__*/_jsx("div", {
|
|
22845
22900
|
className: "w-[200%] mt-6 self-center border-b border-gray-200"
|
|
@@ -22851,10 +22906,13 @@ const AddCardButtons_AddCardButtons = props => {
|
|
|
22851
22906
|
className: `py-[10px] px-4 md:py-3 md:px-4 text-gray-500 hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-200 ${borderStyle === borderStyleConstants.RECTANGULAR ? 'rounded-none' : 'rounded-lg'} border border-gray-200 text-base hover:text-gray-900 focus:z-10 mobile:w-full`,
|
|
22852
22907
|
children: t('CANCEL_BTN')
|
|
22853
22908
|
}), /*#__PURE__*/_jsx(Button, {
|
|
22854
|
-
label:
|
|
22855
|
-
|
|
22909
|
+
label: /*#__PURE__*/_jsxs(_Fragment, {
|
|
22910
|
+
children: [t('SAVED_CARDS_ACTION_BTN'), ' ', /*#__PURE__*/_jsx("span", {
|
|
22911
|
+
className: currencyClassName,
|
|
22912
|
+
children: tPaymentLayout(displayCurrency)
|
|
22913
|
+
}), ' ', Number(amount.replace(',', '')).toLocaleString('en-US', {
|
|
22856
22914
|
minimumFractionDigits: 2
|
|
22857
|
-
})
|
|
22915
|
+
}), ' ', t('NOW')]
|
|
22858
22916
|
}),
|
|
22859
22917
|
id: "pay-button",
|
|
22860
22918
|
loading: loading,
|
|
@@ -23018,9 +23076,9 @@ function SavedCardsViewTwo(props) {
|
|
|
23018
23076
|
discountAppliedMessage,
|
|
23019
23077
|
discountErrorMessage,
|
|
23020
23078
|
forceSaveCard,
|
|
23021
|
-
hasOmanNetIntegration,
|
|
23022
23079
|
content,
|
|
23023
23080
|
isDisabled,
|
|
23081
|
+
hasOmanNetIntegration,
|
|
23024
23082
|
onDiscountReset
|
|
23025
23083
|
} = props;
|
|
23026
23084
|
const {
|
|
@@ -23564,6 +23622,11 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23564
23622
|
const {
|
|
23565
23623
|
t
|
|
23566
23624
|
} = useTranslation_useTranslation('card');
|
|
23625
|
+
const {
|
|
23626
|
+
t: tPaymentLayout
|
|
23627
|
+
} = useTranslation_useTranslation('flash', {
|
|
23628
|
+
keyPrefix: 'paymentLayout'
|
|
23629
|
+
});
|
|
23567
23630
|
const isMobile = useWidth_useWidth();
|
|
23568
23631
|
const [loading, setLoading] = (0,react.useState)(false);
|
|
23569
23632
|
const [cardHolderName, setCardHolderName] = (0,react.useState)('');
|
|
@@ -23592,18 +23655,18 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23592
23655
|
const isAmexCardSelected = (selectedCard == null ? void 0 : selectedCard.type) === src_constants_CARD_TYPES.AMEX;
|
|
23593
23656
|
const selectedCardCvvLength = selectedCardCVV.length;
|
|
23594
23657
|
const selectedCardId = selectedCard == null ? void 0 : selectedCard.id;
|
|
23658
|
+
const [discountAppliedMessage, setDiscountAppliedMessage] = (0,react.useState)(null);
|
|
23659
|
+
const [discountErrorMessage, setDiscountErrorMessage] = (0,react.useState)('');
|
|
23660
|
+
const [totalAmount, setTotalAmount] = (0,react.useState)('');
|
|
23595
23661
|
const {
|
|
23596
23662
|
displayCurrency,
|
|
23597
23663
|
currencyFontFamily
|
|
23598
23664
|
} = formatCurrencyForDisplay_formatCurrencyForDisplay(currency);
|
|
23599
|
-
const [discountAppliedMessage, setDiscountAppliedMessage] = (0,react.useState)('');
|
|
23600
|
-
const [discountErrorMessage, setDiscountErrorMessage] = (0,react.useState)('');
|
|
23601
|
-
const [totalAmount, setTotalAmount] = (0,react.useState)('');
|
|
23602
23665
|
const showCvvInput = paymentMethodType === constants_PAYMENT_METHODS_TYPES.MOTO && useCvv || paymentMethodType === constants_PAYMENT_METHODS_TYPES.ONLINE;
|
|
23603
23666
|
const shouldDisablePayBtn = showCvvInput ? loading || (isAmexCardSelected ? selectedCardCvvLength !== src_constants_AMEX_CVV_LENGTH : selectedCardCvvLength !== constants_CVV_LENGTH) : !selectedCardId;
|
|
23604
23667
|
(0,react.useEffect)(() => {
|
|
23605
23668
|
const handleDataFromIframe = event => {
|
|
23606
|
-
var _iframeRef$current, _event$data, _event$data2, _event$data3, _event$data4;
|
|
23669
|
+
var _iframeRef$current, _event$data, _event$data2, _event$data3, _event$data4, _event$data5;
|
|
23607
23670
|
if (!event.data) return;
|
|
23608
23671
|
if (!event.data.type) return;
|
|
23609
23672
|
const isFromCVVIframe = Object.values(iframeCVVRefs.current).some(ref => (ref == null || ref.getContentWindow == null ? void 0 : ref.getContentWindow()) === event.source);
|
|
@@ -23649,6 +23712,9 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23649
23712
|
var _event$data$response;
|
|
23650
23713
|
handleDiscount((_event$data$response = event.data.response) == null ? void 0 : _event$data$response.res);
|
|
23651
23714
|
}
|
|
23715
|
+
if ((event == null || (_event$data5 = event.data) == null ? void 0 : _event$data5.type) === 'isIframeLoaded') {
|
|
23716
|
+
setIsIframeLoaded(true);
|
|
23717
|
+
}
|
|
23652
23718
|
};
|
|
23653
23719
|
const handlePaymentResponse = ({
|
|
23654
23720
|
res,
|
|
@@ -23867,7 +23933,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23867
23933
|
};
|
|
23868
23934
|
const handleResetDiscountMessages = () => {
|
|
23869
23935
|
setDiscountErrorMessage("");
|
|
23870
|
-
setDiscountAppliedMessage(
|
|
23936
|
+
setDiscountAppliedMessage(null);
|
|
23871
23937
|
setTotalAmount("");
|
|
23872
23938
|
};
|
|
23873
23939
|
const handleSavedCardDiscount = async (identifier, hasDiscount) => {
|
|
@@ -23886,10 +23952,23 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23886
23952
|
} = res.data;
|
|
23887
23953
|
const discountedAmount = formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(discounted_amount_cents, currency);
|
|
23888
23954
|
const totalAmount = formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(discount_amount_cents, currency);
|
|
23889
|
-
if (
|
|
23890
|
-
|
|
23891
|
-
|
|
23892
|
-
|
|
23955
|
+
if (discount_amount_cents < 0) {
|
|
23956
|
+
setDiscountErrorMessage(t('DISCOUNT_EXCEEDS_ORDER'));
|
|
23957
|
+
} else if (discounted_amount_cents > 0) {
|
|
23958
|
+
setDiscountAppliedMessage(/*#__PURE__*/(0,jsx_runtime.jsx)(Trans_Trans, {
|
|
23959
|
+
ns: "card",
|
|
23960
|
+
i18nKey: "DISCOUNT_APPLIED",
|
|
23961
|
+
values: {
|
|
23962
|
+
currency: tPaymentLayout(displayCurrency),
|
|
23963
|
+
amount: discountedAmount
|
|
23964
|
+
},
|
|
23965
|
+
components: {
|
|
23966
|
+
span: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
23967
|
+
style: {
|
|
23968
|
+
fontFamily: currencyFontFamily
|
|
23969
|
+
}
|
|
23970
|
+
})
|
|
23971
|
+
}
|
|
23893
23972
|
}));
|
|
23894
23973
|
setTotalAmount(totalAmount);
|
|
23895
23974
|
}
|
|
@@ -24122,12 +24201,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
24122
24201
|
frameBorder: "0",
|
|
24123
24202
|
scrolling: "no",
|
|
24124
24203
|
width: "100%",
|
|
24125
|
-
height: height
|
|
24126
|
-
onLoad: () => {
|
|
24127
|
-
setTimeout(() => {
|
|
24128
|
-
setIsIframeLoaded(true);
|
|
24129
|
-
}, 200);
|
|
24130
|
-
}
|
|
24204
|
+
height: height
|
|
24131
24205
|
}), isIframeLoaded && (payment.token || integrationType === INTEGRATION_TYPE.TOKENIZATION) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
24132
24206
|
children: [!hideCardHolderName && /*#__PURE__*/(0,jsx_runtime.jsx)(components_CardHolder_CardHolder, {
|
|
24133
24207
|
onChange: handleCardHolderChange,
|
|
@@ -25888,6 +25962,9 @@ function TabbyViewTwo(props) {
|
|
|
25888
25962
|
w-full border rounded-lg border-solid overflow-hidden
|
|
25889
25963
|
${errors['email'] ? 'border-red-300' : 'border-gray-300'}
|
|
25890
25964
|
`,
|
|
25965
|
+
style: Object.assign({}, customStyle, {
|
|
25966
|
+
direction: "ltr"
|
|
25967
|
+
}),
|
|
25891
25968
|
children: /*#__PURE__*/_jsx(FormInput, {
|
|
25892
25969
|
icon: /*#__PURE__*/_jsx("img", {
|
|
25893
25970
|
className: "",
|
|
@@ -25897,10 +25974,7 @@ function TabbyViewTwo(props) {
|
|
|
25897
25974
|
formRegister: emailRegister,
|
|
25898
25975
|
error: errors['email'],
|
|
25899
25976
|
name: 'email',
|
|
25900
|
-
placeholder: 'mail@example.com'
|
|
25901
|
-
customStyle: {
|
|
25902
|
-
direction: langDirection
|
|
25903
|
-
}
|
|
25977
|
+
placeholder: 'mail@example.com'
|
|
25904
25978
|
})
|
|
25905
25979
|
}), errors['email'] && /*#__PURE__*/_jsx("p", {
|
|
25906
25980
|
className: 'text-sm pl-4 text-red-600',
|
|
@@ -32091,7 +32165,7 @@ function inherits_inherits(t, e) {
|
|
|
32091
32165
|
|
|
32092
32166
|
|
|
32093
32167
|
function possibleConstructorReturn_possibleConstructorReturn(t, e) {
|
|
32094
|
-
if (e && ("object" ==
|
|
32168
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
32095
32169
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
32096
32170
|
return assertThisInitialized_assertThisInitialized(t);
|
|
32097
32171
|
}
|
|
@@ -32779,7 +32853,7 @@ var Translator = function (_EventEmitter) {
|
|
|
32779
32853
|
value: function translate(keys, options, lastKey) {
|
|
32780
32854
|
var _this2 = this;
|
|
32781
32855
|
|
|
32782
|
-
if (
|
|
32856
|
+
if (_typeof(options) !== 'object' && this.options.overloadTranslationOptionHandler) {
|
|
32783
32857
|
options = this.options.overloadTranslationOptionHandler(arguments);
|
|
32784
32858
|
}
|
|
32785
32859
|
|
|
@@ -34296,11 +34370,11 @@ function get() {
|
|
|
34296
34370
|
appendNamespaceToCIMode: false,
|
|
34297
34371
|
overloadTranslationOptionHandler: function handle(args) {
|
|
34298
34372
|
var ret = {};
|
|
34299
|
-
if (
|
|
34373
|
+
if (_typeof(args[1]) === 'object') ret = args[1];
|
|
34300
34374
|
if (typeof args[1] === 'string') ret.defaultValue = args[1];
|
|
34301
34375
|
if (typeof args[2] === 'string') ret.tDescription = args[2];
|
|
34302
34376
|
|
|
34303
|
-
if (
|
|
34377
|
+
if (_typeof(args[2]) === 'object' || _typeof(args[3]) === 'object') {
|
|
34304
34378
|
var options = args[3] || args[2];
|
|
34305
34379
|
Object.keys(options).forEach(function (key) {
|
|
34306
34380
|
ret[key] = options[key];
|
|
@@ -34755,7 +34829,7 @@ var I18n = function (_EventEmitter) {
|
|
|
34755
34829
|
var fixedT = function fixedT(key, opts) {
|
|
34756
34830
|
var options;
|
|
34757
34831
|
|
|
34758
|
-
if (
|
|
34832
|
+
if (_typeof(opts) !== 'object') {
|
|
34759
34833
|
for (var _len3 = arguments.length, rest = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
|
34760
34834
|
rest[_key3 - 2] = arguments[_key3];
|
|
34761
34835
|
}
|
|
@@ -34983,17 +35057,17 @@ const ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENTS_LIST_TITLE":"How
|
|
|
34983
35057
|
;// ../../localization/apps/flash/payments-list/ur.json
|
|
34984
35058
|
const ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENTS_LIST_TITLE":"How would you like to pay?","ACTION_BTN":"Proceed to payment","PAY_ANOTHER_WAY":"Or pay another way","PAYMENT_METHOD":"Payment method"}');
|
|
34985
35059
|
;// ../../localization/apps/flash/card/en.json
|
|
34986
|
-
const card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","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_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price"}');
|
|
35060
|
+
const card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","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_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
34987
35061
|
;// ../../localization/apps/flash/card/ar.json
|
|
34988
|
-
const card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"
|
|
35062
|
+
const card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"جارٍ معالجة دفعتك، يرجى الانتظار...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","ROUNDING_OFF_VISA":"لبطاقات فيزا، سيتم تقريب مبلغ الطلب إلى منزلتين عشريتين.","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
34989
35063
|
;// ../../localization/apps/flash/card/ur.json
|
|
34990
|
-
const card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","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_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price"}');
|
|
35064
|
+
const card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","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_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
34991
35065
|
;// ../../localization/apps/flash/payment-layout/en.json
|
|
34992
|
-
const payment_layout_en_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PURCHASE_FEE":"Purchase Fee","
|
|
35066
|
+
const payment_layout_en_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PAYMENT_DETAILS":"Payment details","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"{{percentage}}% Discount - {{currency}} {{discount}} saved","瘝":"瘝","AFN":"AFN","ALL":"ALL","AMD":"AMD","ANG":"ANG","AOA":"AOA","ARS":"ARS","AUD":"AUD","AWG":"AWG","AZN":"AZN","BAM":"BAM","BBD":"BBD","BDT":"BDT","BGN":"BGN","BHD":"BHD","BIF":"BIF","BMD":"BMD","BND":"BND","BOB":"BOB","BRL":"BRL","BSD":"BSD","BTN":"BTN","BWP":"BWP","BYN":"BYN","BZD":"BZD","CAD":"CAD","CDF":"CDF","CHF":"CHF","CKD":"CKD","CLP":"CLP","CNY":"CNY","COP":"COP","CRC":"CRC","CUC":"CUC","CUP":"CUP","CVE":"CVE","CZK":"CZK","DJF":"DJF","DKK":"DKK","DOP":"DOP","DZD":"DZD","EGP":"EGP","EHP":"EHP","ERN":"ERN","ETB":"ETB","EUR":"EUR","FJD":"FJD","FKP":"FKP","FOK":"FOK","GBP":"GBP","GEL":"GEL","GGP":"GGP","GHS":"GHS","GIP":"GIP","GMD":"GMD","GNF":"GNF","GTQ":"GTQ","GYD":"GYD","HKD":"HKD","HNL":"HNL","HRK":"HRK","HTG":"HTG","HUF":"HUF","IDR":"IDR","ILS":"ILS","IMP":"IMP","INR":"INR","IQD":"IQD","IRR":"IRR","ISK":"ISK","JEP":"JEP","JMD":"JMD","JOD":"JOD","JPY":"JPY","KES":"KES","KGS":"KGS","KHR":"KHR","KID":"KID","KMF":"KMF","KPW":"KPW","KRW":"KRW","KWD":"KWD","KYD":"KYD","KZT":"KZT","LAK":"LAK","LBP":"LBP","LKR":"LKR","LRD":"LRD","LSL":"LSL","LYD":"LYD","MAD":"MAD","MDL":"MDL","MGA":"MGA","MKD":"MKD","MMK":"MMK","MNT":"MNT","MOP":"MOP","MRU":"MRU","MUR":"MUR","MVR":"MVR","MWK":"MWK","MXN":"MXN","MYR":"MYR","MZN":"MZN","NAD":"NAD","NGN":"NGN","NIO":"NIO","NOK":"NOK","NPR":"NPR","NZD":"NZD","OMR":"OMR","PAB":"PAB","PEN":"PEN","PGK":"PGK","PHP":"PHP","PKR":"PKR","PLN":"PLN","PND":"PND","PRB":"PRB","PYG":"PYG","QAR":"QAR","RON":"RON","RSD":"RSD","RUB":"RUB","RWF":"RWF","瘟":"瘟","SBD":"SBD","SCR":"SCR","SDG":"SDG","SEK":"SEK","SGD":"SGD","SHP":"SHP","SLL":"SLL","SLS":"SLS","SOS":"SOS","SRD":"SRD","SSP":"SSP","STN":"STN","SVC":"SVC","SYP":"SYP","SZL":"SZL","THB":"THB","TJS":"TJS","TMT":"TMT","TND":"TND","TOP":"TOP","TRY":"TRY","TTD":"TTD","TVD":"TVD","TWD":"TWD","TZS":"TZS","UAH":"UAH","UGX":"UGX","USD":"USD","UYU":"UYU","UZS":"UZS","VED":"VED","VES":"VES","VND":"VND","VUV":"VUV","WST":"WST","XAF":"XAF","XCD":"XCD","XOF":"XOF","XPF":"XPF","YER":"YER","ZAR":"ZAR","ZMW":"ZMW","ZWB":"ZWB","ZWL":"ZWL","Abkhazia":"Abkhazia","Artsakh":"Artsakh"}');
|
|
34993
35067
|
;// ../../localization/apps/flash/payment-layout/ar.json
|
|
34994
|
-
const payment_layout_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"
|
|
35068
|
+
const payment_layout_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"مبلغ الطلب","QUANTITY":"الكمية","BILLING_ADDRESS":"عنوان إرسال الفواتير","SHIPPING_ADDRESS":"عنوان إرسال الشحن","SUB_TOTAL":"المبلغ","VAT":"ضريبة القيمة المضافة","FEES":"الرسوم","DISCOUNT_AMOUNT":"قيمة الخصم","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"رسوم إدارية","TOTAL":"الإجمالي","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"دفع آمن","ORDER_DETAILS":"عرض تفاصيل الطلب","PAYMENT_DETAILS":"تفاصيل الدفع","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"خصم {{percentage}}% - تم توفير {{currency}} {{discount}}","瘝":"瘝","AFN":"أفغاني","ALL":"ليك ألباني","AMD":"درام أرميني","ANG":"غيلدر هولندي","AOA":"كوانزا أنغولي","ARS":"بيزو أرجنتيني","AUD":"دولار أسترالي","AWG":"فلورن أروبي","AZN":"مانات أذربيجاني","BAM":"مارك بوسني قابل للتحويل","BBD":"دولار باربادوسي","BDT":"تاكا بنغلاديشي","BGN":"ليف بلغاري","BHD":"دينار بحريني","BIF":"فرنك بوروندي","BMD":"دولار برمودي","BND":"دولار بروناي","BOB":"بوليفيانو بوليفي","BRL":"ريال برازيلي","BSD":"دولار بهامي","BTN":"نغولترم بوتاني","BWP":"بولا بوتسواني","BYN":"روبل بيلاروسي","BZD":"دولار بليزي","CAD":"دولار كندي","CDF":"فرنك كونغولي","CHF":"فرنك سويسري","CKD":"بيزو شيلي ","CLP":"بيزو شيلي","CNY":"يوان صيني","COP":"بيزو كولومبي","CRC":"كولون كوستاريكي","CUC":"بيزو كوبي قابل للتحويل","CUP":"بيزو كوبي","CVE":"إسكودو كاب فيردي","CZK":"كورونا تشيكية","DJF":"فرنك جيبوتي","DKK":"كرونة دنماركية","DOP":"بيزو دومينيكاني","DZD":"دينار جزائري","EGP":"جنيه مصري","EHP":"بيزيتا إسبانية ","ERN":"ناكفا إريتري","ETB":"بير إثيوبي","EUR":"يورو","FJD":"دولار فيجي","FKP":"جنيه جزر فوكلاند","FOK":"كرونة جزر فارو","GBP":"جنيه إسترليني","GEL":"لاري جورجي","GGP":"جنيه غيرنسي","GHS":"سيدي غاني","GIP":"جنيه جبل طارق","GMD":"دلاسي غامبي","GNF":"فرنك غيني","GTQ":"كوتزال غواتيمالي","GYD":"دولار غياني","HKD":"دولار هونغ كونغ","HNL":"لمبيرة هندوراسي","HRK":"كونا كرواتي","HTG":"غوردي هايتي","HUF":"فورينت مجري","IDR":"روبية إندونيسية","ILS":"شيكل إسرائيلي جديد","IMP":"جنيه مانكسي","INR":"روبية هندية","IQD":"دينار عراقي","IRR":"ريال إيراني","ISK":"كرونة آيسلندية","JEP":"جنيه جيرزي","JMD":"دولار جامايكي","JOD":"دينار أردني","JPY":"ين ياباني","KES":"شيلينغ كيني","KGS":"سوم قيرغيزستاني","KHR":"رييل كمبودي","KID":"دولار كيريباتي","KMF":"فرنك قمري","KPW":"وون كوري شمالي","KRW":"وون كوري جنوبي","KWD":"دينار كويتي","KYD":"دولار جزر كايمان","KZT":"تينغ كازاخستاني","LAK":"كيب لاوي","LBP":"جنيه لبناني","LKR":"روبية سريلانكية","LRD":"دولار ليبيري","LSL":"لوتي ليسوتي","LYD":"دينار ليبي","MAD":"درهم مغربي","MDL":"ليو مولدوفي","MGA":"أرياري مدغشقري","MKD":"دينار مقدوني","MMK":"كيات ميانماري","MNT":"توغروغ منغولي","MOP":"باتاكا ماكاوي","MRU":"أوقية موريتانية","MUR":"روبية موريشيوسية","MVR":"روفيا مالديفية","MWK":"كواشا مالاوي","MXN":"بيزو مكسيكي","MYR":"رينغيت ماليزي","MZN":"ميتكيال موزمبيقي","NAD":"دولار ناميبي","NGN":"نايرا نيجيري","NIO":"كوردوبا نيكاراغوي","NOK":"كرونة نرويجية","NPR":"روبية نيبالية","NZD":"دولار نيوزيلندي","OMR":"ريال عماني","PAB":"بالبوا بنمي","PEN":"سول بيروفي","PGK":"كينا بابوا غينيا الجديدة","PHP":"بيزو فلبيني","PKR":"روبية باكستانية","PLN":"زلوتي بولندي","PND":"جنيه بوندلندي","PRB":"بوليفار فنزويلي","PYG":"غواراني باراغواي","QAR":"ريال قطري","RON":"ليو روماني","RSD":"دينار صربي","RUB":"روبل روسي","RWF":"فرنك رواندي","瘟":"瘟","SBD":"دولار جزر سليمان","SCR":"روبية سيشلية","SDG":"جنيه سوداني","SEK":"كرونة سويدية","SGD":"دولار سنغافوري","SHP":"جنيه سانت هيليني","SLL":"ليون سيراليوني","SLS":"SLS","SOS":"شلن صومالي","SRD":"دولار سورينامي","SSP":"جنيه جنوب سوداني","STN":"دوبرا ساو تومي وبرينسيب","SVC":"كولون سلفادوري","SYP":"ليرة سورية","SZL":"ليلانجيني إسواتيني","THB":"بات تايلاندي","TJS":"سوموني طاجيكي","TMT":"مانات تركماني","TND":"دينار تونسي","TOP":"بانغا تونغي","TRY":"ليرة تركية","TTD":"دولار ترينيدادي","TVD":"دولار تيموري","TWD":"دولار تايواني جديد","TZS":"شلن تنزاني","UAH":"هريفنيا أوكرانية","UGX":"شلن أوغندي","USD":"دولار أمريكي","UYU":"بيزو أوروغواي","UZS":"سوم أوزبكي","VED":"بوليفار فنزويلي قديم","VES":"بوليفار فنزويلي حديث","VND":"دونغ فيتنامي","VUV":"فاتو فانواتو","WST":"تالا ساموا","XAF":"فرنك وسط أفريقي","XCD":"دولار شرق كاريبي","XOF":"فرنك غرب أفريقي","XPF":"فرنك المحيط الهادئ","YER":"ريال يمني","ZAR":"راند جنوب أفريقي","ZMW":"كواشا زامبي","ZWB":"دولار زيمبابوي","ZWL":"دولار زيمبابوي","Abkhazia":"أبخازيا","Artsakh":"آرتساخ"}');
|
|
34995
35069
|
;// ../../localization/apps/flash/payment-layout/ur.json
|
|
34996
|
-
const payment_layout_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","
|
|
35070
|
+
const payment_layout_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PAYMENT_DETAILS":"Payment details","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"{{percentage}}% Discount - {{currency}} {{discount}} saved"}');
|
|
34997
35071
|
;// ../../localization/apps/flash/bank-installment/en.json
|
|
34998
35072
|
const bank_installment_en_namespaceObject = /*#__PURE__*/JSON.parse('{"ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong"}');
|
|
34999
35073
|
;// ../../localization/apps/flash/bank-installment/ar.json
|
|
@@ -35079,11 +35153,11 @@ const postpay_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"POSTPAY_TITLE":"Pa
|
|
|
35079
35153
|
;// ../../localization/apps/flash/postpay/ur.json
|
|
35080
35154
|
const postpay_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"POSTPAY_TITLE":"Pay with Postpay","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token"}');
|
|
35081
35155
|
;// ../../localization/apps/flash/wallet/en.json
|
|
35082
|
-
const wallet_en_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price"}');
|
|
35156
|
+
const wallet_en_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35083
35157
|
;// ../../localization/apps/flash/wallet/ar.json
|
|
35084
|
-
const wallet_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price"}');
|
|
35158
|
+
const wallet_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35085
35159
|
;// ../../localization/apps/flash/wallet/ur.json
|
|
35086
|
-
const wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price"}');
|
|
35160
|
+
const wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35087
35161
|
;// ../../localization/apps/flash/premium/en.json
|
|
35088
35162
|
const premium_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PREMIUM_TITLE":"Premium","IFRAME_INSTALMENT_PLAN":"","IFRAME_SUBMIT_BTN":"Continue","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials.","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_INVALID_OTP":"This OTP is not valid"}');
|
|
35089
35163
|
;// ../../localization/apps/flash/premium/ar.json
|
|
@@ -35109,7 +35183,7 @@ const halan_en_namespaceObject = /*#__PURE__*/JSON.parse('{"HALAN_TITLE":"Halan"
|
|
|
35109
35183
|
;// ../../localization/apps/flash/halan/ur.json
|
|
35110
35184
|
const halan_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"HALAN_TITLE":"Halan","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ERR_MSG_MINIMUM_LOAN_AMOUNT":"The minimum loan amount is EGP 500"}');
|
|
35111
35185
|
;// ../../localization/apps/flash/instapay/ar.json
|
|
35112
|
-
const instapay_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"INSTAPAY_TITLE":"InstaPay","LOADING_MODAL_MESSAGE":"
|
|
35186
|
+
const instapay_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"INSTAPAY_TITLE":"InstaPay","LOADING_MODAL_MESSAGE":"جارٍ التحميل...","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما"}');
|
|
35113
35187
|
;// ../../localization/apps/flash/instapay/en.json
|
|
35114
35188
|
const instapay_en_namespaceObject = /*#__PURE__*/JSON.parse('{"INSTAPAY_TITLE":"InstaPay","LOADING_MODAL_MESSAGE":"Loading...","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong"}');
|
|
35115
35189
|
;// ../../localization/apps/flash/instapay/ur.json
|
|
@@ -35133,17 +35207,17 @@ const tab_element_en_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO_INT
|
|
|
35133
35207
|
;// ../../localization/apps/flash/tab-element/ur.json
|
|
35134
35208
|
const tab_element_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer"}');
|
|
35135
35209
|
;// ../../localization/libs/card/en.json
|
|
35136
|
-
const libs_card_en_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","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully"}');
|
|
35210
|
+
const libs_card_en_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","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35137
35211
|
;// ../../localization/libs/card/ar.json
|
|
35138
|
-
const libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"
|
|
35212
|
+
const libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"اسم البطاقة غير صحيح","CARD_NAME_IS_REQUIRED":"اسم حامل البطاقة مطلوب","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","SAVED_CARDS_TITLE":"البطاقات المحفوظة","SAVE_CARD":"حفظ البطاقة للاستخدام في المستقبل","ADD_NEW_CARD_BTN":"بطاقة جديدة","CARD_ACTION_BTN":"ادفع","OTP_ACTION_BTN":"تحقق من كود الـ OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"رقم البطاقة","OTP_HINT":"برجاء إدخال الكود المكون من 4 أرقام المرسل إلى موبايلك","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"هل لديك بطاقة ماستركارد / فيزا؟","CVV_MODAL_VISA_BODY":".إنه رمز مكون من 3 أرقام على ظهر بطاقتك","CVV_MODAL_AMEX_HEADER":"هل لديك بطاقة أمريكان إكسبريس؟","CVV_MODAL_AMEX_BODY":".إنه رقم مكون من 4 أرقام في الأمام، فوق رقم بطاقتك الائتمانية","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","FORCE_SAVE_CARD":"سيتم حفظ بيانات البطاقة للاستخدام في المستقبل","ERR_MSG_ALREADY_PAID":"تمت عملية الدفع لهذا الطلب بالفعل","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"عرض البطاقات المحفوظة","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35139
35213
|
;// ../../localization/libs/card/ur.json
|
|
35140
|
-
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","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully"}');
|
|
35214
|
+
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","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35141
35215
|
;// ../../localization/libs/kit-components/en.json
|
|
35142
|
-
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":"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":"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","
|
|
35216
|
+
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":"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":"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","NOW":"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 Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","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","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_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?","POWERED_BY":"Powered by","NAME_PLACEHOLDER":"ex. Abdullah Adel","PHONE_PLACEHOLDER":"Enter Phone Number","OTP_MODAL_HEADER":"{{length}}-digit code","OTP_HINT":"Please enter the code we’ve sent to","OTP_SUMBIT_BUTTON":"Submit","OTP_CANCEL_BUTTON":"Cancel","AFTER_PAYMENT_SUCCESS":"Thanks for your payment","ALREADY_PAID":"This link has already been paid","PAYMENT_FAILURE":"This payment was already processed with status pending","OTP_PLACEHOLDER":"Enter the OTP","MOBILE_NUMBER":"mobile number","SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer","ADD_SAVED_CARDS":"Enter new card details","SUBMIT_BTN":"Submit","LOADING":"Loading","PAYMENT_CANCELED":"Link has been cancelled"}');
|
|
35143
35217
|
;// ../../localization/libs/kit-components/ar.json
|
|
35144
|
-
const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"انتهت صلاحية الرابط","PAYMENT_EXPIRED_DESCRIPTION":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"رابط الدفع الذي استخدمته لم يعد صالحًا. يُرجى طلب رابط جديد من التاجر أو إعادة المحاولة لاحقًا لإتمام العملية.","PAYMENT_EXCEEDED_DESCRIPTION":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة. يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، يرجى الطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":".من فضلك اطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_DECLINED":"!لم يتم الدفع بنجاح","PAYMENT_SUCCESSFUL":"الدفع بنجاح","PAYMENT_PENDING":"الدفع قيد الانتظار","PAYMENT_PENDING_DESCRIPTION":".جاري إتمام عملية الدفع","PAYMENT_INVALID":"!حدث خطأ ما","PAYMENT_INVALID_DESCRIPTION":".تعذر إتمام الدفع بسبب خطأ غير متوقع","TRY_AGAIN":"حاول مرة أخرى","CANCEL_BTN":"إلغاء","REDIRECT_BTN":"العودة إلى الموقع الإلكتروني","TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"
|
|
35218
|
+
const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"انتهت صلاحية الرابط","PAYMENT_EXPIRED_DESCRIPTION":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"رابط الدفع الذي استخدمته لم يعد صالحًا. يُرجى طلب رابط جديد من التاجر أو إعادة المحاولة لاحقًا لإتمام العملية.","PAYMENT_EXCEEDED_DESCRIPTION":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة. يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، يرجى الطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":".من فضلك اطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_DECLINED":"!لم يتم الدفع بنجاح","PAYMENT_SUCCESSFUL":"الدفع بنجاح","PAYMENT_PENDING":"الدفع قيد الانتظار","PAYMENT_PENDING_DESCRIPTION":".جاري إتمام عملية الدفع","PAYMENT_INVALID":"!حدث خطأ ما","PAYMENT_INVALID_DESCRIPTION":".تعذر إتمام الدفع بسبب خطأ غير متوقع","TRY_AGAIN":"حاول مرة أخرى","CANCEL_BTN":"إلغاء","REDIRECT_BTN":"العودة إلى الموقع الإلكتروني","TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"مبلغ الطلب","LOADING_SECONDS_LEFT":"انتظر لثواني","LOADING_AUTHORIZATION_REQUIRED":"مطلوب التأكيد","LOADING_REDIRECTED_TO":".للمتابعة يرجي تأكيد المعاملة من الموبايل","LOADING_REDIRECTED_TO_INFO":".من فضلك تابع تأكيد المعاملة في الوقت المطلوب","PLANS_RADIO_TITLE":"خطط التقسيط","PLANS_RADIO_EMPTY":"لا توجد خطط","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"لم يصلك الكود؟","OTP_RESEND":"إعادة إرسال الكود في خلال","OTP_RESEND_BUTTON":"OTP إعادة إرسال كود الـ","OTP_RESEND_SUCCESS":"تم إرسال كود الـ OTP بنجاح","OTP_LOADING_MESSAGE":".بانتظار استجابة المعاملة. برجاء عدم الإغلاق أو التحديث","SAVED_CARDS_TITLE":"البطاقات المحفوظة","ADD_NEW_CARD_BTN":"بطاقة جديدة","CVV_INPUT_LABEL":"أدخل CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"بطاقة تنتهي بـ","SAVED_CARDS_ACTION_BTN":"ادفع","NOW":"الآن","FULL_NAME":"الاسم بالكامل","CONTACT_INFO":"معلومات الاتصال","SWITCH_PAYMENT_METHOD":"تغيير وسيلة الدفع","BACK":"العودة","DISCOUNT":"تم تطبيق خصم {{currency}} {{discount}}","SECURE_CHECKOUT":"بوابة الدفع","SECURE_PAYMENT":"دفع آمن","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"منتهية الصلاحية","SAVED_CARD_DELETE_BTN":"نعم، احذفها","SAVED_CARD_DELETE_CANCEL_BTN":"لا. العودة","SAVED_CARD_DELETE_TITLE":"هل أنت متأكد أنك تريد حذف {{card}} التي تنتهي بـ #** {{digits}}?","REDIRECTION_TO_MERCHANT":"سيتم تحويلك إلى موقع التاجر خلال {{time}} ثانية.","REDIRECTION_TO_MERCHANT_LOADING":"جاري تحويلك إلى موقع التاجر","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 Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","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","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","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?","CONFIRMING_TERMS":"بتأكيد الدفع، فأنت توافق على","TERMS":"الشروط والأحكام","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","POWERED_BY":"مدعوم بواسطة","NAME_PLACEHOLDER":"مثال: عبدالله عادل","PHONE_PLACEHOLDER":"أدخل رقم الهاتف","OTP_MODAL_HEADER":"رمز مكون من {{length}} أرقام","OTP_HINT":"يرجى إدخال الرمز الذي أرسلناه إلى","OTP_SUMBIT_BUTTON":"إرسال","OTP_CANCEL_BUTTON":"إلغاء","AFTER_PAYMENT_SUCCESS":"شكرًا لإتمام الدفع","ALREADY_PAID":"تم سداد هذا الرابط بالفعل","PAYMENT_FAILURE":"تمت معالجة هذه الدفعة بالفعل وحالتها تحت المارجعة","OTP_PLACEHOLDER":"أدخل كود ال OTP","MOBILE_NUMBER":"رقم الموبايل","SYMPL_ZERO_INTEREST":"0٪ فائدة على أي بطاقة","OFFERS":"عروض","OFFER":"عرض","ADD_SAVED_CARDS":"دخل تفاصيل البطاقة الجديدة","SUBMIT_BTN":"إرسال","LOADING":"جاري التحميل","PAYMENT_CANCELED":"تم إلغاء الرابط"}');
|
|
35145
35219
|
;// ../../localization/libs/kit-components/ur.json
|
|
35146
|
-
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":"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":"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","
|
|
35220
|
+
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":"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":"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","NOW":"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 Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","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","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_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?","POWERED_BY":"Powered by","NAME_PLACEHOLDER":"ex. Abdullah Adel","PHONE_PLACEHOLDER":"Enter Phone Number","OTP_MODAL_HEADER":"{{length}}-digit code","OTP_HINT":"Please enter the code we’ve sent to","OTP_SUMBIT_BUTTON":"Submit","OTP_CANCEL_BUTTON":"Cancel","AFTER_PAYMENT_SUCCESS":"Thanks for your payment","ALREADY_PAID":"This link has already been paid","PAYMENT_FAILURE":"This payment was already processed with status pending","OTP_PLACEHOLDER":"Enter the OTP","MOBILE_NUMBER":"mobile number","SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer","ADD_SAVED_CARDS":"Enter new card details","SUBMIT_BTN":"Submit","LOADING":"Loading","PAYMENT_CANCELED":"Link has been cancelled"}');
|
|
35147
35221
|
;// ../../localization/libs/nift/ar.json
|
|
35148
35222
|
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"}');
|
|
35149
35223
|
;// ../../localization/libs/nift/en.json
|
|
@@ -35175,13 +35249,13 @@ const libs_postpay_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":
|
|
|
35175
35249
|
;// ../../localization/libs/postpay/ur.json
|
|
35176
35250
|
const libs_postpay_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue"}');
|
|
35177
35251
|
;// ../../localization/libs/tabby/ar.json
|
|
35178
|
-
const tabby_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"
|
|
35252
|
+
const tabby_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع تابي لإتمام الدفع"}');
|
|
35179
35253
|
;// ../../localization/libs/tabby/en.json
|
|
35180
35254
|
const tabby_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tabby\'s website to complete the payment"}');
|
|
35181
35255
|
;// ../../localization/libs/tabby/ur.json
|
|
35182
35256
|
const tabby_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tabby\'s website to complete the payment"}');
|
|
35183
35257
|
;// ../../localization/libs/tamara/ar.json
|
|
35184
|
-
const libs_tamara_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع
|
|
35258
|
+
const libs_tamara_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع تمارا لإتمام الدفع"}');
|
|
35185
35259
|
;// ../../localization/libs/tamara/en.json
|
|
35186
35260
|
const libs_tamara_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tamara\'s website to complete the payment"}');
|
|
35187
35261
|
;// ../../localization/libs/tamara/ur.json
|
|
@@ -35273,7 +35347,7 @@ const flash_contact_ur_namespaceObject = {};
|
|
|
35273
35347
|
;// ../../localization/apps/flash/payments/en.json
|
|
35274
35348
|
const payments_en_namespaceObject = /*#__PURE__*/JSON.parse('{"LOADING_MODAL_MESSAGE":"Loading...","CLICK_BTN":"Click here to Proceed","SPOTII":"Spotii","TABBY":"Tabby","POSTPAY":"Postpay","STCPAY":"STC Pay","CAGG":"Kiosk","SYMPL":"Sympl","PREMIUM":"Premium","FORSA":"Forsa","SOUHOOLAV2":"Souhoola","UIG":"Wallet","VALU":"ValU","AMAN":"Aman","NIFT":"NIFT","EASYPAISA":"Easy Paisa","EASYPAISADIRECT":"Easy Paisa","JAZZCASH":"Jazz Cash","TAMARA":"Tamara","SOUHOOLAV3":"Souhoola","PREMIUM6":"Premium Card","SYMPL_V2":"Sympl","TRU":"TRU","AMANV3":"Aman","CONTACT":"Contact","OMANNET":"Oman Net","SPARK_IT":"Spark IT","PAYPAL":"Paypal","MIGS":"Card","LUCKY_INSTALLMENT":"Lucky Installment","INSTALLMENT":"Bank Installments","Apple Pay":"Apple Pay","Google Pay":"Google Pay","MID_TAKSEET":"Mogo","HALAN":"Halan","INSTAPAY":"InstaPay","DIGITAL_WALLET":"Digital Wallet","Pay Later":"Pay Later"}');
|
|
35275
35349
|
;// ../../localization/apps/flash/payments/ar.json
|
|
35276
|
-
const payments_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"LOADING_MODAL_MESSAGE":"
|
|
35350
|
+
const payments_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"LOADING_MODAL_MESSAGE":"جارٍ التحميل...","CLICK_BTN":"اضغط هنا للمتابعة","SPOTII":"سبوتي","TABBY":"تابي","POSTPAY":"بوست باي","STCPAY":"إس تي سي باي","CAGG":"كشك","SYMPL":"سيمبل","PREMIUM":"بريميوم","FORSA":"فرصة","SOUHOOLAV2":"سهولة","UIG":"محفظة","VALU":"فاليو","AMAN":"أمان","NIFT":"نيفت","EASYPAISA":"إيزي بايسا","EASYPAISADIRECT":"إيزي بايسا","JAZZCASH":"جاز كاش","TAMARA":"تمارا","SOUHOOLAV3":"سهولة","PREMIUM6":"بطاقة بريميوم","SYMPL_V2":"سيمبل","TRU":"ترو","AMANV3":"أمان","CONTACT":"كونتكت","OMANNET":"عمان نت","SPARK_IT":"سبارك آي تي","PAYPAL":"بايبال","MIGS":"بطاقة","LUCKY_INSTALLMENT":"تقسيط لاكي","INSTALLMENT":"تقسيط بنكي","Apple Pay":"آبل باي","Google Pay":"جوجل باي","MID_TAKSEET":"موغو","HALAN":"حالاً","INSTAPAY":"إنستا باي","DIGITAL_WALLET":"محفظة رقمية","Pay Later":"ادفع لاحقًا"}');
|
|
35277
35351
|
;// ../../localization/apps/flash/payments/ur.json
|
|
35278
35352
|
const payments_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"LOADING_MODAL_MESSAGE":"Loading..."}');
|
|
35279
35353
|
;// ../../localization/libs/halan/ar.json
|
|
@@ -35457,7 +35531,7 @@ const digital_wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"REDIRECT_ME
|
|
|
35457
35531
|
|
|
35458
35532
|
|
|
35459
35533
|
i18next.use(initReactI18next).init({
|
|
35460
|
-
lng:
|
|
35534
|
+
lng: 'en',
|
|
35461
35535
|
debug: true,
|
|
35462
35536
|
fallbackLng: 'en',
|
|
35463
35537
|
resources: {
|
|
@@ -35708,6 +35782,7 @@ var _Pixel;
|
|
|
35708
35782
|
|
|
35709
35783
|
|
|
35710
35784
|
|
|
35785
|
+
|
|
35711
35786
|
class Pixel {
|
|
35712
35787
|
constructor(options) {
|
|
35713
35788
|
var _options$showPaymobLo;
|
|
@@ -35725,15 +35800,17 @@ class Pixel {
|
|
|
35725
35800
|
this._options = Object.assign({}, options, {
|
|
35726
35801
|
showPaymobLogo: (_options$showPaymobLo = options.showPaymobLogo) != null ? _options$showPaymobLo : true
|
|
35727
35802
|
});
|
|
35728
|
-
|
|
35803
|
+
const baseURL = this.updateAPIBaseURL();
|
|
35804
|
+
const integrationType = this._options['clientSecret'] && this._options['paymentMethods'] ? 'directPayment' : 'tokenization';
|
|
35805
|
+
this._baseURL = baseURL;
|
|
35806
|
+
this._integrationType = integrationType;
|
|
35807
|
+
this.preloadIframe(baseURL, integrationType);
|
|
35729
35808
|
this._paymentsRef = /*#__PURE__*/react.createRef();
|
|
35730
35809
|
Pixel._instances[options.elementId] = this;
|
|
35731
35810
|
Pixel._lastInstanceId = options.elementId;
|
|
35732
|
-
if (
|
|
35733
|
-
this._integrationType = 'directPayment';
|
|
35811
|
+
if (integrationType === 'directPayment') {
|
|
35734
35812
|
this.getData();
|
|
35735
35813
|
} else {
|
|
35736
|
-
this._integrationType = 'tokenization';
|
|
35737
35814
|
this.renderCard();
|
|
35738
35815
|
}
|
|
35739
35816
|
}
|
|
@@ -35835,6 +35912,24 @@ class Pixel {
|
|
|
35835
35912
|
}
|
|
35836
35913
|
return await instance._paymentsRef.current.handleGenerateToken();
|
|
35837
35914
|
}
|
|
35915
|
+
preloadIframe(baseURL, integrationType) {
|
|
35916
|
+
const iframeUrl = `${baseURL}/${environment['IFRAME_PATH']}/?type=card&v=2&integration_type=${integrationType}`;
|
|
35917
|
+
const domain = new URL(baseURL).origin;
|
|
35918
|
+
const preconnect = document.createElement('link');
|
|
35919
|
+
preconnect.rel = 'preconnect';
|
|
35920
|
+
preconnect.href = domain;
|
|
35921
|
+
preconnect.crossOrigin = 'anonymous';
|
|
35922
|
+
document.head.appendChild(preconnect);
|
|
35923
|
+
const dnsPrefetch = document.createElement('link');
|
|
35924
|
+
dnsPrefetch.rel = 'dns-prefetch';
|
|
35925
|
+
dnsPrefetch.href = domain;
|
|
35926
|
+
document.head.appendChild(dnsPrefetch);
|
|
35927
|
+
const prefetch = document.createElement('link');
|
|
35928
|
+
prefetch.rel = 'prefetch';
|
|
35929
|
+
prefetch.href = iframeUrl;
|
|
35930
|
+
prefetch.as = 'document';
|
|
35931
|
+
document.head.appendChild(prefetch);
|
|
35932
|
+
}
|
|
35838
35933
|
render() {
|
|
35839
35934
|
const elementId = this._options['elementId'];
|
|
35840
35935
|
const container = document.getElementById(elementId);
|