tabexseriescomponents 0.0.490 → 0.0.492
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +134 -87
- package/dist/index.esm.js +134 -87
- package/dist/index.umd.js +134 -87
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9335,7 +9335,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
9335
9335
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
9336
9336
|
});
|
|
9337
9337
|
var Checkout = function Checkout(props) {
|
|
9338
|
-
var _css, _checkoutstyles, _ref,
|
|
9338
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75, _authdetailsContext$i4, _fetchcustomercartQue77, _authdetailsContext$i5, _fetchcustomercartQue79, _authdetailsContext$i6, _fetchcustomercartQue81, _fetchcustomercartQue83;
|
|
9339
9339
|
var _useState = React.useState(null),
|
|
9340
9340
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
9341
9341
|
_useState2[0];
|
|
@@ -9676,6 +9676,7 @@ var Checkout = function Checkout(props) {
|
|
|
9676
9676
|
aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue28 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue28 === void 0 || (_fetchcustomercartQue28 = _fetchcustomercartQue28.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.aff_code,
|
|
9677
9677
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
9678
9678
|
if (data.data.status) {
|
|
9679
|
+
var _fetchcustomercartQue29, _fetchcustomercartQue30;
|
|
9679
9680
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
9680
9681
|
cartarr.data = data.data.cartresponse;
|
|
9681
9682
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
@@ -9683,7 +9684,14 @@ var Checkout = function Checkout(props) {
|
|
|
9683
9684
|
// const cookies = new Cookies();
|
|
9684
9685
|
localStorage.setItem('cdata', data.data.cdata);
|
|
9685
9686
|
}
|
|
9686
|
-
|
|
9687
|
+
if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 || (_fetchcustomercartQue29 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : _fetchcustomercartQue29.customercart.name.length) < 3) {
|
|
9688
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
|
|
9689
|
+
} else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue30 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue30 === void 0 || (_fetchcustomercartQue30 = _fetchcustomercartQue30.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.mobile.length) < 11) {
|
|
9690
|
+
NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
|
|
9691
|
+
} else {
|
|
9692
|
+
AddOrderMutationContext.mutate();
|
|
9693
|
+
}
|
|
9694
|
+
// AddOrderMutationContext.mutate();
|
|
9687
9695
|
} else {
|
|
9688
9696
|
NotificationManager.warning('', data.data.reason);
|
|
9689
9697
|
}
|
|
@@ -9706,7 +9714,7 @@ var Checkout = function Checkout(props) {
|
|
|
9706
9714
|
return isloading;
|
|
9707
9715
|
};
|
|
9708
9716
|
var Mycart = function Mycart() {
|
|
9709
|
-
var
|
|
9717
|
+
var _fetchcustomercartQue31, _fetchcustomercartQue32, _fetchcustomercartQue33, _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56;
|
|
9710
9718
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9711
9719
|
className: "row m-0 w-100 mb-md-3"
|
|
9712
9720
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9731,7 +9739,7 @@ var Checkout = function Checkout(props) {
|
|
|
9731
9739
|
className: "row m-0 w-100"
|
|
9732
9740
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9733
9741
|
className: "col-lg-12 p-0"
|
|
9734
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9742
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 || (_fetchcustomercartQue31 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : _fetchcustomercartQue31.customercart.cartitems.map(function (item, index) {
|
|
9735
9743
|
if (item.product_extrafields != null) {
|
|
9736
9744
|
var product_extrafields = JSON.parse(item.product_extrafields);
|
|
9737
9745
|
// var product_extrafields_parsed = JSON.stringify(product_extrafields);
|
|
@@ -9854,13 +9862,13 @@ var Checkout = function Checkout(props) {
|
|
|
9854
9862
|
type: "text",
|
|
9855
9863
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
9856
9864
|
placeholder: lang.giftcarddicountcode,
|
|
9857
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9865
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue32 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue32 === void 0 || (_fetchcustomercartQue32 = _fetchcustomercartQue32.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.couponname,
|
|
9858
9866
|
onChange: function onChange(event) {
|
|
9859
9867
|
var cartarr = queryClient.getQueryData('fetchcustomercart_API');
|
|
9860
9868
|
cartarr.data.customercart.couponname = event.target.value;
|
|
9861
9869
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
9862
9870
|
},
|
|
9863
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
9871
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue33 !== void 0 && (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) !== null && _fetchcustomercartQue33 !== void 0 && _fetchcustomercartQue33.customercart.couponexists ? true : false,
|
|
9864
9872
|
style: {
|
|
9865
9873
|
boxShadow: 'none'
|
|
9866
9874
|
}
|
|
@@ -9869,14 +9877,14 @@ var Checkout = function Checkout(props) {
|
|
|
9869
9877
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
9870
9878
|
className: " ".concat(checkoutstyles.applybtnstyles),
|
|
9871
9879
|
onClick: function onClick() {
|
|
9872
|
-
var
|
|
9873
|
-
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
9874
|
-
var
|
|
9880
|
+
var _fetchcustomercartQue34;
|
|
9881
|
+
if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue34 !== void 0 && (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) !== null && _fetchcustomercartQue34 !== void 0 && _fetchcustomercartQue34.customercart.couponexists)) {
|
|
9882
|
+
var _fetchcustomercartQue35, _fetchcustomercartQue36;
|
|
9875
9883
|
var payloadobj = {
|
|
9876
|
-
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9884
|
+
couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue35 === void 0 ? void 0 : _fetchcustomercartQue35.customercart.couponname,
|
|
9877
9885
|
functype: 'add'
|
|
9878
9886
|
};
|
|
9879
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9887
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname.length) != 0) {
|
|
9880
9888
|
ApplyPromoCodeMutationContext.mutate(payloadobj);
|
|
9881
9889
|
} else {
|
|
9882
9890
|
NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
|
|
@@ -9891,14 +9899,14 @@ var Checkout = function Checkout(props) {
|
|
|
9891
9899
|
disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
|
|
9892
9900
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9893
9901
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
|
|
9894
|
-
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (
|
|
9902
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue37 !== void 0 && _fetchcustomercartQue37.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9895
9903
|
className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
|
|
9896
9904
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
9897
9905
|
color: "#fff",
|
|
9898
9906
|
width: "20px",
|
|
9899
9907
|
height: "20px",
|
|
9900
9908
|
duration: "1s"
|
|
9901
|
-
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9909
|
+
})))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue38 === void 0 || (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) === null || _fetchcustomercartQue38 === void 0 || (_fetchcustomercartQue38 = _fetchcustomercartQue38.customercart) === null || _fetchcustomercartQue38 === void 0 ? void 0 : _fetchcustomercartQue38.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9902
9910
|
className: "row m-0 w-100"
|
|
9903
9911
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9904
9912
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -9908,7 +9916,7 @@ var Checkout = function Checkout(props) {
|
|
|
9908
9916
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
9909
9917
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9910
9918
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
9911
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9919
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.customercart) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.customercart) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9912
9920
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
9913
9921
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9914
9922
|
style: {
|
|
@@ -9918,7 +9926,7 @@ var Checkout = function Checkout(props) {
|
|
|
9918
9926
|
onClick: function onClick() {
|
|
9919
9927
|
usewalletpoints();
|
|
9920
9928
|
}
|
|
9921
|
-
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9929
|
+
}, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.customercart) === null || _fetchcustomercartQue41 === void 0 ? void 0 : _fetchcustomercartQue41.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9922
9930
|
className: "row m-0 w-100"
|
|
9923
9931
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9924
9932
|
className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
|
|
@@ -9940,9 +9948,9 @@ var Checkout = function Checkout(props) {
|
|
|
9940
9948
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
9941
9949
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9942
9950
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
9943
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9951
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.customercart) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.genpayments) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9944
9952
|
className: "row m-0 w-100"
|
|
9945
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9953
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.genpayments) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.map(function (item, index) {
|
|
9946
9954
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9947
9955
|
"class": "col-lg-12 p-0"
|
|
9948
9956
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9962,7 +9970,7 @@ var Checkout = function Checkout(props) {
|
|
|
9962
9970
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
9963
9971
|
}
|
|
9964
9972
|
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
|
|
9965
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9973
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9966
9974
|
className: "row m-0 w-100"
|
|
9967
9975
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9968
9976
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -9975,7 +9983,7 @@ var Checkout = function Checkout(props) {
|
|
|
9975
9983
|
style: {
|
|
9976
9984
|
color: 'red'
|
|
9977
9985
|
}
|
|
9978
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9986
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.customercart) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9979
9987
|
className: "col-lg-12 p-0 mb-1"
|
|
9980
9988
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9981
9989
|
className: "row m-0 w-100"
|
|
@@ -9987,7 +9995,7 @@ var Checkout = function Checkout(props) {
|
|
|
9987
9995
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
9988
9996
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9989
9997
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
9990
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
9998
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9991
9999
|
className: "col-lg-12 p-0"
|
|
9992
10000
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9993
10001
|
className: "row m-0 w-100"
|
|
@@ -9995,11 +10003,11 @@ var Checkout = function Checkout(props) {
|
|
|
9995
10003
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
9996
10004
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9997
10005
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
9998
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10006
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9999
10007
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10000
10008
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10001
10009
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
10002
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10010
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue54 !== void 0 && (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) !== null && _fetchcustomercartQue54 !== void 0 && _fetchcustomercartQue54.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10003
10011
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
10004
10012
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10005
10013
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -10038,7 +10046,7 @@ var Checkout = function Checkout(props) {
|
|
|
10038
10046
|
textTransform: sectionproperties.total_texttransform,
|
|
10039
10047
|
color: sectionproperties.total_color
|
|
10040
10048
|
}
|
|
10041
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10049
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10042
10050
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
10043
10051
|
style: {
|
|
10044
10052
|
background: '#eee',
|
|
@@ -10073,7 +10081,7 @@ var Checkout = function Checkout(props) {
|
|
|
10073
10081
|
width: "20px",
|
|
10074
10082
|
height: "20px",
|
|
10075
10083
|
duration: "1s"
|
|
10076
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10084
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
|
|
10077
10085
|
};
|
|
10078
10086
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10079
10087
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
@@ -10222,7 +10230,7 @@ var Checkout = function Checkout(props) {
|
|
|
10222
10230
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10223
10231
|
type: 'text',
|
|
10224
10232
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10225
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10233
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.name,
|
|
10226
10234
|
onChange: function onChange(event) {
|
|
10227
10235
|
cartinfoupdater('name', event.target.value);
|
|
10228
10236
|
},
|
|
@@ -10237,7 +10245,7 @@ var Checkout = function Checkout(props) {
|
|
|
10237
10245
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10238
10246
|
type: 'text',
|
|
10239
10247
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10240
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10248
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.mobile,
|
|
10241
10249
|
onChange: function onChange(event) {
|
|
10242
10250
|
cartinfoupdater('mobile', event.target.value);
|
|
10243
10251
|
},
|
|
@@ -10252,7 +10260,7 @@ var Checkout = function Checkout(props) {
|
|
|
10252
10260
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10253
10261
|
type: 'text',
|
|
10254
10262
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10255
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10263
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.email,
|
|
10256
10264
|
onChange: function onChange(event) {
|
|
10257
10265
|
cartinfoupdater('email', event.target.value);
|
|
10258
10266
|
},
|
|
@@ -10296,8 +10304,8 @@ var Checkout = function Checkout(props) {
|
|
|
10296
10304
|
return option.id;
|
|
10297
10305
|
},
|
|
10298
10306
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
10299
|
-
var
|
|
10300
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10307
|
+
var _fetchcustomercartQue60;
|
|
10308
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid);
|
|
10301
10309
|
}),
|
|
10302
10310
|
onChange: function onChange(option) {
|
|
10303
10311
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -10342,12 +10350,12 @@ var Checkout = function Checkout(props) {
|
|
|
10342
10350
|
return option.id;
|
|
10343
10351
|
},
|
|
10344
10352
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
10345
|
-
var
|
|
10346
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10353
|
+
var _fetchcustomercartQue61;
|
|
10354
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.stateid);
|
|
10347
10355
|
}),
|
|
10348
10356
|
onChange: function onChange(option) {
|
|
10349
|
-
var
|
|
10350
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10357
|
+
var _fetchcustomercartQue62;
|
|
10358
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.countryid.length) != 0) {
|
|
10351
10359
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
10352
10360
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10353
10361
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -10390,8 +10398,8 @@ var Checkout = function Checkout(props) {
|
|
|
10390
10398
|
return option.id;
|
|
10391
10399
|
},
|
|
10392
10400
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
10393
|
-
var
|
|
10394
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10401
|
+
var _fetchcustomercartQue63;
|
|
10402
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.cityid);
|
|
10395
10403
|
}),
|
|
10396
10404
|
onChange: function onChange(option) {
|
|
10397
10405
|
cartinfoupdater('cityid', option.id);
|
|
@@ -10406,7 +10414,7 @@ var Checkout = function Checkout(props) {
|
|
|
10406
10414
|
}, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
10407
10415
|
type: 'text',
|
|
10408
10416
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10409
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10417
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.address,
|
|
10410
10418
|
onChange: function onChange(event) {
|
|
10411
10419
|
cartinfoupdater('address', event.target.value);
|
|
10412
10420
|
},
|
|
@@ -10421,7 +10429,7 @@ var Checkout = function Checkout(props) {
|
|
|
10421
10429
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
10422
10430
|
type: 'text',
|
|
10423
10431
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10424
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10432
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.notes,
|
|
10425
10433
|
onChange: function onChange(event) {
|
|
10426
10434
|
cartinfoupdater('notes', event.target.value);
|
|
10427
10435
|
},
|
|
@@ -10436,7 +10444,7 @@ var Checkout = function Checkout(props) {
|
|
|
10436
10444
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10437
10445
|
type: 'number',
|
|
10438
10446
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
10439
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10447
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.customercart) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.aff_code,
|
|
10440
10448
|
onChange: function onChange(event) {
|
|
10441
10449
|
cartinfoupdater('aff_code', event.target.value);
|
|
10442
10450
|
},
|
|
@@ -10467,10 +10475,10 @@ var Checkout = function Checkout(props) {
|
|
|
10467
10475
|
id: 'codcheckbox',
|
|
10468
10476
|
type: "checkbox",
|
|
10469
10477
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10470
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10478
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.paymentmethod) == 'cod' ? true : false,
|
|
10471
10479
|
onChange: function onChange() {
|
|
10472
|
-
var
|
|
10473
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10480
|
+
var _fetchcustomercartQue68;
|
|
10481
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.paymentmethod) != 'cod') {
|
|
10474
10482
|
cartinfoupdater('paymentmethod', 'cod');
|
|
10475
10483
|
}
|
|
10476
10484
|
}
|
|
@@ -10491,10 +10499,10 @@ var Checkout = function Checkout(props) {
|
|
|
10491
10499
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10492
10500
|
type: "checkbox",
|
|
10493
10501
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10494
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10502
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
10495
10503
|
onChange: function onChange() {
|
|
10496
|
-
var
|
|
10497
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10504
|
+
var _fetchcustomercartQue70;
|
|
10505
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) != 'cardondelivery') {
|
|
10498
10506
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
10499
10507
|
}
|
|
10500
10508
|
}
|
|
@@ -10512,10 +10520,10 @@ var Checkout = function Checkout(props) {
|
|
|
10512
10520
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10513
10521
|
type: "checkbox",
|
|
10514
10522
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10515
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10523
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
10516
10524
|
onChange: function onChange() {
|
|
10517
|
-
var
|
|
10518
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10525
|
+
var _fetchcustomercartQue72;
|
|
10526
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) != 'onlinepayment') {
|
|
10519
10527
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
10520
10528
|
}
|
|
10521
10529
|
}
|
|
@@ -10533,10 +10541,10 @@ var Checkout = function Checkout(props) {
|
|
|
10533
10541
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10534
10542
|
type: "checkbox",
|
|
10535
10543
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10536
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10544
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'valU' ? true : false,
|
|
10537
10545
|
onChange: function onChange() {
|
|
10538
|
-
var
|
|
10539
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10546
|
+
var _fetchcustomercartQue74;
|
|
10547
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) != 'valU') {
|
|
10540
10548
|
cartinfoupdater('paymentmethod', 'valU');
|
|
10541
10549
|
}
|
|
10542
10550
|
}
|
|
@@ -10554,10 +10562,10 @@ var Checkout = function Checkout(props) {
|
|
|
10554
10562
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10555
10563
|
type: "checkbox",
|
|
10556
10564
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10557
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10565
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
10558
10566
|
onChange: function onChange() {
|
|
10559
|
-
var
|
|
10560
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10567
|
+
var _fetchcustomercartQue76;
|
|
10568
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) != 'mobilewallet') {
|
|
10561
10569
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
10562
10570
|
}
|
|
10563
10571
|
}
|
|
@@ -10575,10 +10583,10 @@ var Checkout = function Checkout(props) {
|
|
|
10575
10583
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10576
10584
|
type: "checkbox",
|
|
10577
10585
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10578
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10586
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'forsa' ? true : false,
|
|
10579
10587
|
onChange: function onChange() {
|
|
10580
|
-
var
|
|
10581
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10588
|
+
var _fetchcustomercartQue78;
|
|
10589
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'forsa') {
|
|
10582
10590
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
10583
10591
|
}
|
|
10584
10592
|
}
|
|
@@ -10596,10 +10604,10 @@ var Checkout = function Checkout(props) {
|
|
|
10596
10604
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10597
10605
|
type: "checkbox",
|
|
10598
10606
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10599
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10607
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.customercart) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.paymentmethod) == 'bankinstallments' ? true : false,
|
|
10600
10608
|
onChange: function onChange() {
|
|
10601
|
-
var
|
|
10602
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10609
|
+
var _fetchcustomercartQue80;
|
|
10610
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.paymentmethod) != 'bankinstallments') {
|
|
10603
10611
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
10604
10612
|
}
|
|
10605
10613
|
}
|
|
@@ -10617,10 +10625,10 @@ var Checkout = function Checkout(props) {
|
|
|
10617
10625
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
10618
10626
|
type: "checkbox",
|
|
10619
10627
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10620
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10628
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.customercart) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.paymentmethod) == 'Aman' ? true : false,
|
|
10621
10629
|
onChange: function onChange() {
|
|
10622
|
-
var
|
|
10623
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10630
|
+
var _fetchcustomercartQue82;
|
|
10631
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.paymentmethod) != 'Aman') {
|
|
10624
10632
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
10625
10633
|
}
|
|
10626
10634
|
}
|
|
@@ -10631,7 +10639,7 @@ var Checkout = function Checkout(props) {
|
|
|
10631
10639
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
10632
10640
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10633
10641
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
10634
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
10642
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10635
10643
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
10636
10644
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10637
10645
|
style: {
|
|
@@ -10899,7 +10907,7 @@ var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
10899
10907
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
10900
10908
|
});
|
|
10901
10909
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
10902
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
10910
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
10903
10911
|
var lang = props.actions.lang;
|
|
10904
10912
|
var langdetect = props.actions.langdetect;
|
|
10905
10913
|
props.actions.routingcountext;
|
|
@@ -11049,7 +11057,6 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11049
11057
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
11050
11058
|
};
|
|
11051
11059
|
var verifypayload = function verifypayload() {
|
|
11052
|
-
var _authdetailsContext$i2;
|
|
11053
11060
|
var iscompleted = false;
|
|
11054
11061
|
var isshippingaddresscompleted = false;
|
|
11055
11062
|
var passwordvalidation = false;
|
|
@@ -11083,14 +11090,14 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11083
11090
|
} else {
|
|
11084
11091
|
isshippingaddresscompleted = true;
|
|
11085
11092
|
}
|
|
11086
|
-
if (
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
}
|
|
11093
|
+
// if (authdetailsContext?.instinfo?.contactinfo.instid == '652e3ae969122') {
|
|
11094
|
+
// if (payloadobj.name.length < 3) {
|
|
11095
|
+
// NotificationManager.warning('', langdetect == 'en' ? 'Please Write your Full Name' : 'من فضلك اكتب اسمك كاملاً');
|
|
11096
|
+
// }
|
|
11097
|
+
// if (payloadobj.countrydialcode == '20' && payloadobj.mobile.length < 10) {
|
|
11098
|
+
// NotificationManager.warning('', langdetect == 'en' ? 'Please Write valid phone number' : 'من فضلك اكتب رقم تليفون صحيح');
|
|
11099
|
+
// }
|
|
11100
|
+
// }
|
|
11094
11101
|
if (validateEmailstring(payloadobj.email)) {
|
|
11095
11102
|
if (payloadobj.email.length != 0 && payloadobj.name.length != 0 && payloadobj.mobile.length != 0 && passwordvalidation == true) {
|
|
11096
11103
|
if (isshippingaddresscompleted) {
|
|
@@ -11665,7 +11672,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11665
11672
|
style: {
|
|
11666
11673
|
background: sectionproperties.formLeftbgColor
|
|
11667
11674
|
}
|
|
11668
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11675
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11669
11676
|
className: "col-lg-12 p-0"
|
|
11670
11677
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11671
11678
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -59519,6 +59526,10 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
59519
59526
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
59520
59527
|
var routingcountext = props.actions.routingcountext;
|
|
59521
59528
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
59529
|
+
var _useState7 = React.useState(false),
|
|
59530
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
59531
|
+
showpopup = _useState8[0],
|
|
59532
|
+
setshowpopup = _useState8[1];
|
|
59522
59533
|
React.useEffect(function () {
|
|
59523
59534
|
if (props.srcfrom == 'addsectionform') {
|
|
59524
59535
|
var secpropobj = {};
|
|
@@ -59647,16 +59658,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
59647
59658
|
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
59648
59659
|
paddingTop: sectionproperties.marginTop + 'px'
|
|
59649
59660
|
}
|
|
59650
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
59651
|
-
id: "player",
|
|
59652
|
-
src: 'http://radio.hvips.com:8056/stream',
|
|
59653
|
-
width: "0",
|
|
59654
|
-
height: "0",
|
|
59655
|
-
allowfullscreen: "",
|
|
59656
|
-
loading: "lazy",
|
|
59657
|
-
referrerpolicy: "no-referrer-when-downgrade",
|
|
59658
|
-
allow: "autoplay"
|
|
59659
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59661
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59660
59662
|
"class": cardarrayofobjs.length != 0 ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 d-flex justify-content-center h-md-auto h-sm-auto',
|
|
59661
59663
|
style: {
|
|
59662
59664
|
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
@@ -59704,7 +59706,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
59704
59706
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59705
59707
|
},
|
|
59706
59708
|
onClick: function onClick() {
|
|
59707
|
-
if (
|
|
59709
|
+
if (sectionproperties.showplayer = 'Show') {
|
|
59710
|
+
setshowpopup(true);
|
|
59711
|
+
} else if (item.IsClickableimg == 'Yes') {
|
|
59708
59712
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59709
59713
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
59710
59714
|
} else {
|
|
@@ -59740,7 +59744,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
59740
59744
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
59741
59745
|
},
|
|
59742
59746
|
onClick: function onClick() {
|
|
59743
|
-
if (
|
|
59747
|
+
if (sectionproperties.showplayer = 'Show') {
|
|
59748
|
+
setshowpopup(true);
|
|
59749
|
+
} else if (item.IsClickableimg == 'Yes') {
|
|
59744
59750
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
59745
59751
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
59746
59752
|
} else {
|
|
@@ -59931,7 +59937,48 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
59931
59937
|
sectionproperties: sectionproperties,
|
|
59932
59938
|
props: props
|
|
59933
59939
|
});
|
|
59934
|
-
})))))))
|
|
59940
|
+
}))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
59941
|
+
show: showpopup,
|
|
59942
|
+
onHide: function onHide() {
|
|
59943
|
+
setshowpopup(false);
|
|
59944
|
+
},
|
|
59945
|
+
centered: true,
|
|
59946
|
+
size: 'md'
|
|
59947
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59948
|
+
className: "allcentered bgdanger-hover cursor-pointer",
|
|
59949
|
+
onClick: function onClick() {
|
|
59950
|
+
setshowpopup(false);
|
|
59951
|
+
},
|
|
59952
|
+
style: {
|
|
59953
|
+
position: 'absolute',
|
|
59954
|
+
top: -40,
|
|
59955
|
+
backgroundColor: '#000',
|
|
59956
|
+
width: 35,
|
|
59957
|
+
height: 35,
|
|
59958
|
+
right: 0
|
|
59959
|
+
}
|
|
59960
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
59961
|
+
"class": "h-100 allcentered text-black"
|
|
59962
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
59963
|
+
size: 20,
|
|
59964
|
+
"class": "",
|
|
59965
|
+
color: '#fff'
|
|
59966
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59967
|
+
"class": "allcentered",
|
|
59968
|
+
style: {
|
|
59969
|
+
width: '100%',
|
|
59970
|
+
height: '100%'
|
|
59971
|
+
}
|
|
59972
|
+
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
59973
|
+
id: "player",
|
|
59974
|
+
src: 'http://radio.hvips.com:8056/stream',
|
|
59975
|
+
width: "100%",
|
|
59976
|
+
height: "100%",
|
|
59977
|
+
allowfullscreen: "",
|
|
59978
|
+
loading: "lazy",
|
|
59979
|
+
referrerpolicy: "no-referrer-when-downgrade",
|
|
59980
|
+
allow: "autoplay"
|
|
59981
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
59935
59982
|
};
|
|
59936
59983
|
var easingFunctions = {
|
|
59937
59984
|
noEasing: undefined,
|