tabexseriescomponents 0.2.1430 → 0.2.1432
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 +344 -194
- package/dist/index.esm.js +342 -192
- package/dist/index.umd.js +346 -196
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -17,8 +17,10 @@ var FaFacebookF = require('@react-icons/all-files/fa/FaFacebookF');
|
|
|
17
17
|
var AiOutlineUser = require('@react-icons/all-files/ai/AiOutlineUser');
|
|
18
18
|
var IoMdClose = require('@react-icons/all-files/io/IoMdClose');
|
|
19
19
|
var reactBootstrap = require('react-bootstrap');
|
|
20
|
+
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
20
21
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
21
22
|
var _typeof = require('@babel/runtime/helpers/typeof');
|
|
23
|
+
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
22
24
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
23
25
|
var ImageGallery = require('react-image-gallery');
|
|
24
26
|
var MdAddShoppingCart = require('@react-icons/all-files/md/MdAddShoppingCart');
|
|
@@ -54,8 +56,6 @@ var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
|
|
|
54
56
|
var InputRange = require('react-input-range');
|
|
55
57
|
var ReactPlayer = require('react-player');
|
|
56
58
|
var axios = require('axios');
|
|
57
|
-
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
58
|
-
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
59
59
|
var FiEye = require('@react-icons/all-files/fi/FiEye');
|
|
60
60
|
var FaGripfire = require('@react-icons/all-files/fa/FaGripfire');
|
|
61
61
|
var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCircle');
|
|
@@ -215,8 +215,10 @@ var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
|
|
215
215
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
216
216
|
var Cookies__default = /*#__PURE__*/_interopDefaultLegacy(Cookies);
|
|
217
217
|
var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
|
|
218
|
+
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
218
219
|
var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
|
|
219
220
|
var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
|
|
221
|
+
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
220
222
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
221
223
|
var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
|
|
222
224
|
var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
|
|
@@ -224,8 +226,6 @@ var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutos
|
|
|
224
226
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
225
227
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
226
228
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
227
|
-
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
228
|
-
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
229
229
|
var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
230
230
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
231
231
|
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
@@ -2593,7 +2593,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2593
2593
|
var sectionproperties = props.actions.sectionproperties;
|
|
2594
2594
|
props.actions.addtocardpayloadobj;
|
|
2595
2595
|
props.actions.setaddtocardpayloadobj;
|
|
2596
|
-
|
|
2596
|
+
props.actions.addtocartfunc_extras;
|
|
2597
2597
|
var product_prod_extras_array = props.actions.product_prod_extras_array;
|
|
2598
2598
|
var setproduct_prod_extras_array = props.actions.setproduct_prod_extras_array;
|
|
2599
2599
|
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
@@ -2652,7 +2652,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2652
2652
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2653
2653
|
className: 'row w-100 ml-0 mr-0 mt-3'
|
|
2654
2654
|
}, product_prod_extras_array === null || product_prod_extras_array === void 0 ? void 0 : product_prod_extras_array.map(function (item, index) {
|
|
2655
|
-
var _item$productinfo, _item$productinfo2
|
|
2655
|
+
var _item$productinfo, _item$productinfo2;
|
|
2656
2656
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2657
2657
|
"class": props.srcfromprops == 'servicestyle2' ? 'col-lg-12 col-sm-12 p-0 mb-3' : 'col-lg-6 col-sm-12 p-0 mb-3'
|
|
2658
2658
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2665,16 +2665,15 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2665
2665
|
"class": "col-12 p-0 text-start"
|
|
2666
2666
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2667
2667
|
className: "".concat(formstyles.input_label_name) + ' m-0 p-0 '
|
|
2668
|
-
}, item === null || item === void 0
|
|
2668
|
+
}, item === null || item === void 0 ? void 0 : item.productinfo["name_".concat(langdetect)])), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2669
2669
|
"class": "col-12 p-0 text-start"
|
|
2670
2670
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2671
2671
|
className: ' m-0 p-0 ',
|
|
2672
2672
|
style: {
|
|
2673
|
-
color: '#ccc',
|
|
2674
2673
|
fontSize: 15
|
|
2675
2674
|
},
|
|
2676
2675
|
dangerouslySetInnerHTML: {
|
|
2677
|
-
__html:
|
|
2676
|
+
__html: item === null || item === void 0 ? void 0 : item.productinfo["description_".concat(langdetect)]
|
|
2678
2677
|
}
|
|
2679
2678
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2680
2679
|
className: ' col-6 p-sm-0 d-flex align-items-center justify-content-end cursor-pointer '
|
|
@@ -2683,7 +2682,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2683
2682
|
style: {
|
|
2684
2683
|
fontSize: 12
|
|
2685
2684
|
}
|
|
2686
|
-
}, "(+", ' ', sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item === null || item === void 0 || (_item$
|
|
2685
|
+
}, "(+", ' ', sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.defaultprice).toLocaleString() : item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en, ")"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2687
2686
|
"class": "d-flex flex-row",
|
|
2688
2687
|
style: {
|
|
2689
2688
|
width: '50%',
|
|
@@ -2718,7 +2717,6 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2718
2717
|
}
|
|
2719
2718
|
quantity = quantity - 1;
|
|
2720
2719
|
if (quantity >= 0) {
|
|
2721
|
-
var _item$productinfo6;
|
|
2722
2720
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2723
2721
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
2724
2722
|
var variantid = null;
|
|
@@ -2730,21 +2728,21 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2730
2728
|
tempproduct_prod_extras_array[index].main_ref_productid = productid;
|
|
2731
2729
|
tempproduct_prod_extras_array[index].item_type = 'Extras';
|
|
2732
2730
|
tempproduct_prod_extras_array[index].productinfo = item === null || item === void 0 ? void 0 : item.productinfo;
|
|
2733
|
-
addtocartfunc_extras(false, {
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
});
|
|
2731
|
+
// addtocartfunc_extras(false, {
|
|
2732
|
+
// functype: 'add',
|
|
2733
|
+
// item_type: 'Extras',
|
|
2734
|
+
// productid: item?.productinfo?.productid,
|
|
2735
|
+
// main_ref_productid: productid,
|
|
2736
|
+
// main_ref_variantid: variantid,
|
|
2737
|
+
// variantid: '',
|
|
2738
|
+
// quantity: quantity,
|
|
2739
|
+
// hasvariants: 0,
|
|
2740
|
+
// date: '',
|
|
2741
|
+
// time: '',
|
|
2742
|
+
// from: '',
|
|
2743
|
+
// to: '',
|
|
2744
|
+
// extrafields: [],
|
|
2745
|
+
// });
|
|
2748
2746
|
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
2749
2747
|
} else {
|
|
2750
2748
|
alert('Quantity cannot be less than 0');
|
|
@@ -2779,7 +2777,6 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2779
2777
|
can_add_extras = true;
|
|
2780
2778
|
}
|
|
2781
2779
|
if (can_add_extras) {
|
|
2782
|
-
var _item$productinfo7;
|
|
2783
2780
|
var quantity = 0;
|
|
2784
2781
|
var tempproduct_prod_extras_array = _toConsumableArray__default["default"](product_prod_extras_array);
|
|
2785
2782
|
if (tempproduct_prod_extras_array[index].quantity != undefined && tempproduct_prod_extras_array[index].quantity != null && tempproduct_prod_extras_array[index].quantity != 0) {
|
|
@@ -2796,21 +2793,22 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
2796
2793
|
tempproduct_prod_extras_array[index].main_ref_productid = productid;
|
|
2797
2794
|
tempproduct_prod_extras_array[index].item_type = 'Extras';
|
|
2798
2795
|
tempproduct_prod_extras_array[index].productinfo = item === null || item === void 0 ? void 0 : item.productinfo;
|
|
2799
|
-
addtocartfunc_extras(false, {
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2796
|
+
// addtocartfunc_extras(false, {
|
|
2797
|
+
// functype: 'add',
|
|
2798
|
+
// item_type: 'Extras',
|
|
2799
|
+
// productid: item?.productinfo?.productid,
|
|
2800
|
+
// main_ref_productid: productid,
|
|
2801
|
+
// main_ref_variantid: variantid,
|
|
2802
|
+
// variantid: '',
|
|
2803
|
+
// quantity: quantity,
|
|
2804
|
+
// hasvariants: 0,
|
|
2805
|
+
|
|
2806
|
+
// date: '',
|
|
2807
|
+
// time: '',
|
|
2808
|
+
// from: '',
|
|
2809
|
+
// to: '',
|
|
2810
|
+
// extrafields: [],
|
|
2811
|
+
// });
|
|
2814
2812
|
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
2815
2813
|
}
|
|
2816
2814
|
}
|
|
@@ -4390,9 +4388,9 @@ var ProductFileUploader = function ProductFileUploader(props) {
|
|
|
4390
4388
|
}, langdetect == 'en' ? 'Upload File' : 'رفع الصورة')));
|
|
4391
4389
|
};
|
|
4392
4390
|
|
|
4393
|
-
function _createForOfIteratorHelper$
|
|
4394
|
-
function _unsupportedIterableToArray$
|
|
4395
|
-
function _arrayLikeToArray$
|
|
4391
|
+
function _createForOfIteratorHelper$2(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$2(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
4392
|
+
function _unsupportedIterableToArray$2(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$2(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$2(r, a) : void 0; } }
|
|
4393
|
+
function _arrayLikeToArray$2(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4396
4394
|
var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
4397
4395
|
var _fetchProductInfoQuer, _ProductInfoObj$data, _authdetailsContext$i;
|
|
4398
4396
|
props.actions.lang;
|
|
@@ -4519,7 +4517,7 @@ var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
|
4519
4517
|
return setTimeout(resolve, ms);
|
|
4520
4518
|
});
|
|
4521
4519
|
};
|
|
4522
|
-
_iterator = _createForOfIteratorHelper$
|
|
4520
|
+
_iterator = _createForOfIteratorHelper$2(prod_extras_tobeadded || []);
|
|
4523
4521
|
_context.prev = 1;
|
|
4524
4522
|
_iterator.s();
|
|
4525
4523
|
case 2:
|
|
@@ -8335,10 +8333,13 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8335
8333
|
})));
|
|
8336
8334
|
};
|
|
8337
8335
|
|
|
8336
|
+
function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
8337
|
+
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
8338
|
+
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
8338
8339
|
function ownKeys$2D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8339
8340
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8340
8341
|
var Productinfo = function Productinfo(props) {
|
|
8341
|
-
var _css,
|
|
8342
|
+
var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer94, _authdetailsContext$i47, _ref4, _fetchProductInfoQuer95, _ref5, _authdetailsContext$i48, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i49, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _authdetailsContext$i63, _authdetailsContext$i64, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i65, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i66, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i67, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _authdetailsContext$i68, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i69, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i70, _authdetailsContext$i71, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i72, _authdetailsContext$i73;
|
|
8342
8343
|
var _useState = React.useState({}),
|
|
8343
8344
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8344
8345
|
ProductInfoObj = _useState2[0],
|
|
@@ -10841,64 +10842,145 @@ var Productinfo = function Productinfo(props) {
|
|
|
10841
10842
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
10842
10843
|
setProductInfoObj(_objectSpread$2D({}, productarr));
|
|
10843
10844
|
};
|
|
10844
|
-
var addtocartfunc = function
|
|
10845
|
-
var
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10845
|
+
var addtocartfunc = /*#__PURE__*/function () {
|
|
10846
|
+
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(forcetocheckout) {
|
|
10847
|
+
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _fetchProductInfoQuer43, _fetchProductInfoQuer44, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer52, item, variantid, _fetchProductInfoQuer51, _t;
|
|
10848
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
10849
|
+
while (1) switch (_context.prev = _context.next) {
|
|
10850
|
+
case 0:
|
|
10851
|
+
runfunc = false;
|
|
10852
|
+
forcetocheckoutvalue = forcetocheckout; // alert(addtocardpayloadobj.quantity + 'sad');
|
|
10853
|
+
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
10854
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.hasvariants) == 1) {
|
|
10855
|
+
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10856
|
+
runfunc = true;
|
|
10857
|
+
} else {
|
|
10858
|
+
// here
|
|
10859
|
+
setvariantnotchosendisclaimer('This field is required');
|
|
10860
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10861
|
+
}
|
|
10862
|
+
} else {
|
|
10863
|
+
runfunc = true;
|
|
10864
|
+
}
|
|
10865
|
+
} else {
|
|
10866
|
+
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10867
|
+
}
|
|
10868
|
+
if (!(runfunc == true)) {
|
|
10869
|
+
_context.next = 10;
|
|
10870
|
+
break;
|
|
10871
|
+
}
|
|
10872
|
+
tempaddtocardpayloadobj = _objectSpread$2D({}, addtocardpayloadobj);
|
|
10873
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproductforcedtocheckout;
|
|
10874
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.vendorproviderid;
|
|
10875
|
+
if (forcetocheckoutvalue != undefined) {
|
|
10876
|
+
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10877
|
+
}
|
|
10878
|
+
Extrafieldvalidationresponse = validateextrafields();
|
|
10879
|
+
if (!Extrafieldvalidationresponse.status) {
|
|
10880
|
+
_context.next = 10;
|
|
10881
|
+
break;
|
|
10882
|
+
}
|
|
10883
|
+
finalprice = 0;
|
|
10884
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hassale) == 1) {
|
|
10885
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10886
|
+
} else {
|
|
10887
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10888
|
+
}
|
|
10889
|
+
Pixel_EventsContext('AddToCart', {
|
|
10890
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productid],
|
|
10891
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.name_ar),
|
|
10892
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.sku,
|
|
10893
|
+
content_type: 'product',
|
|
10894
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.currencyname_en,
|
|
10895
|
+
value: finalprice,
|
|
10896
|
+
quantity: addtocardpayloadobj.quantity
|
|
10897
|
+
});
|
|
10898
|
+
AddtoCartContext(tempaddtocardpayloadobj);
|
|
10899
|
+
// new
|
|
10900
|
+
prod_extras_tobeadded = [];
|
|
10901
|
+
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (item, index) {
|
|
10902
|
+
if (item.main_ref_productid != undefined) {
|
|
10903
|
+
prod_extras_tobeadded.push(item);
|
|
10904
|
+
}
|
|
10905
|
+
});
|
|
10906
|
+
if (!(prod_extras_tobeadded.length != 0)) {
|
|
10907
|
+
_context.next = 9;
|
|
10908
|
+
break;
|
|
10909
|
+
}
|
|
10910
|
+
sleep = function sleep(ms) {
|
|
10911
|
+
return new Promise(function (resolve) {
|
|
10912
|
+
return setTimeout(resolve, ms);
|
|
10913
|
+
});
|
|
10914
|
+
};
|
|
10915
|
+
_context.next = 1;
|
|
10916
|
+
return sleep(3500);
|
|
10917
|
+
case 1:
|
|
10918
|
+
_iterator = _createForOfIteratorHelper$1(prod_extras_tobeadded || []);
|
|
10919
|
+
_context.prev = 2;
|
|
10920
|
+
_iterator.s();
|
|
10921
|
+
case 3:
|
|
10922
|
+
if ((_step = _iterator.n()).done) {
|
|
10923
|
+
_context.next = 6;
|
|
10924
|
+
break;
|
|
10925
|
+
}
|
|
10926
|
+
item = _step.value;
|
|
10927
|
+
variantid = '';
|
|
10928
|
+
if (variantindexcompleted != undefined && variantindexcompleted != null && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0) {
|
|
10929
|
+
variantid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.variants[variantindexcompleted]) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.variantid;
|
|
10930
|
+
}
|
|
10931
|
+
_context.next = 4;
|
|
10932
|
+
return addtocartfunc_extras(false, {
|
|
10933
|
+
functype: 'add',
|
|
10934
|
+
item_type: 'Extras',
|
|
10935
|
+
productid: item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.productid,
|
|
10936
|
+
main_ref_productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productid,
|
|
10937
|
+
main_ref_variantid: variantid,
|
|
10938
|
+
variantid: '',
|
|
10939
|
+
quantity: item.quantity,
|
|
10940
|
+
hasvariants: 0,
|
|
10941
|
+
date: '',
|
|
10942
|
+
time: '',
|
|
10943
|
+
from: '',
|
|
10944
|
+
to: '',
|
|
10945
|
+
extrafields: []
|
|
10946
|
+
});
|
|
10947
|
+
case 4:
|
|
10948
|
+
_context.next = 5;
|
|
10949
|
+
return sleep(1000);
|
|
10950
|
+
case 5:
|
|
10951
|
+
_context.next = 3;
|
|
10952
|
+
break;
|
|
10953
|
+
case 6:
|
|
10954
|
+
_context.next = 8;
|
|
10955
|
+
break;
|
|
10956
|
+
case 7:
|
|
10957
|
+
_context.prev = 7;
|
|
10958
|
+
_t = _context["catch"](2);
|
|
10959
|
+
_iterator.e(_t);
|
|
10960
|
+
case 8:
|
|
10961
|
+
_context.prev = 8;
|
|
10962
|
+
_iterator.f();
|
|
10963
|
+
return _context.finish(8);
|
|
10964
|
+
case 9:
|
|
10965
|
+
_context.next = 10;
|
|
10966
|
+
break;
|
|
10967
|
+
case 10:
|
|
10968
|
+
case "end":
|
|
10969
|
+
return _context.stop();
|
|
10881
10970
|
}
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
|
|
10887
|
-
|
|
10888
|
-
value: finalprice,
|
|
10889
|
-
quantity: addtocardpayloadobj.quantity
|
|
10890
|
-
});
|
|
10891
|
-
AddtoCartContext(tempaddtocardpayloadobj);
|
|
10892
|
-
}
|
|
10893
|
-
}
|
|
10894
|
-
};
|
|
10971
|
+
}, _callee, null, [[2, 7, 8, 9]]);
|
|
10972
|
+
}));
|
|
10973
|
+
return function addtocartfunc(_x) {
|
|
10974
|
+
return _ref.apply(this, arguments);
|
|
10975
|
+
};
|
|
10976
|
+
}();
|
|
10895
10977
|
var validateextrafields = function validateextrafields() {
|
|
10896
|
-
var
|
|
10978
|
+
var _fetchProductInfoQuer53;
|
|
10897
10979
|
var tempaddtocardpayloadobj = _objectSpread$2D({}, addtocardpayloadobj);
|
|
10898
10980
|
var status = false;
|
|
10899
10981
|
var reason = '';
|
|
10900
10982
|
var missingitemsfound = [];
|
|
10901
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10983
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.productextrafields;
|
|
10902
10984
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
10903
10985
|
status = true;
|
|
10904
10986
|
} else {
|
|
@@ -11020,9 +11102,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11020
11102
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
11021
11103
|
}, Relatedproducts.map(function (item, index) {
|
|
11022
11104
|
if (item.productinfo != null) {
|
|
11023
|
-
var
|
|
11024
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11025
|
-
var
|
|
11105
|
+
var _fetchProductInfoQuer54;
|
|
11106
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.productid)) {
|
|
11107
|
+
var _fetchProductInfoQuer55, _fetchProductInfoQuer56;
|
|
11026
11108
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11027
11109
|
className: "col-lg-12 mb-3 px-1",
|
|
11028
11110
|
onClick: function onClick() {
|
|
@@ -11073,7 +11155,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11073
11155
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
11074
11156
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11075
11157
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
11076
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11158
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.currencyname_ar, ' '))))));
|
|
11077
11159
|
}
|
|
11078
11160
|
}
|
|
11079
11161
|
}))), sectionproperties.relatedproductsectionstyle == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11082,9 +11164,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11082
11164
|
className: "row m-0 w-100"
|
|
11083
11165
|
}, Relatedproducts.map(function (item, index) {
|
|
11084
11166
|
if (item.productinfo != null) {
|
|
11085
|
-
var
|
|
11086
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11087
|
-
var
|
|
11167
|
+
var _fetchProductInfoQuer57;
|
|
11168
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.productid)) {
|
|
11169
|
+
var _fetchProductInfoQuer58, _fetchProductInfoQuer59;
|
|
11088
11170
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11089
11171
|
className: "col-lg-3 col-sm-6 mb-4 ",
|
|
11090
11172
|
onClick: function onClick() {
|
|
@@ -11126,12 +11208,63 @@ var Productinfo = function Productinfo(props) {
|
|
|
11126
11208
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
11127
11209
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11128
11210
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
11129
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11211
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.currencyname_ar, ' '))))));
|
|
11130
11212
|
}
|
|
11131
11213
|
}
|
|
11132
11214
|
}))))));
|
|
11133
11215
|
}
|
|
11134
11216
|
};
|
|
11217
|
+
// const addtocartfunc_extras = (forcetocheckout, addtocartobjparam) => {
|
|
11218
|
+
// var runfunc = false;
|
|
11219
|
+
// var forcetocheckoutvalue = forcetocheckout;
|
|
11220
|
+
// // alert(addtocardpayloadobj.quantity + 'sad');
|
|
11221
|
+
// if (addtocartobjparam.productid.length != 0 && addtocartobjparam.quantity >= 0) {
|
|
11222
|
+
// if (addtocartobjparam?.hasvariants == 1) {
|
|
11223
|
+
// if (addtocartobjparam.variantid.length != 0) {
|
|
11224
|
+
// runfunc = true;
|
|
11225
|
+
// } else {
|
|
11226
|
+
// // here
|
|
11227
|
+
// setvariantnotchosendisclaimer('This field is required');
|
|
11228
|
+
// NotificationManager.warning('', authdetailsContext?.instinfo?.contactinfo.instid == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
11229
|
+
// }
|
|
11230
|
+
// } else {
|
|
11231
|
+
// runfunc = true;
|
|
11232
|
+
// }
|
|
11233
|
+
// } else {
|
|
11234
|
+
// NotificationManager.warning('', 'Please Choose Quantity');
|
|
11235
|
+
// }
|
|
11236
|
+
|
|
11237
|
+
// if (runfunc == true) {
|
|
11238
|
+
// // var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
11239
|
+
// addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext?.data?.data?.productinfo?.isproductforcedtocheckout;
|
|
11240
|
+
// addtocartobjparam.vendorid = fetchProductInfoQueryContext?.data?.data?.productinfo?.vendorproviderid;
|
|
11241
|
+
// if (forcetocheckoutvalue != undefined) {
|
|
11242
|
+
// addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
11243
|
+
// }
|
|
11244
|
+
// var Extrafieldvalidationresponse = validateextrafields();
|
|
11245
|
+
// if (Extrafieldvalidationresponse.status) {
|
|
11246
|
+
// var finalprice = 0;
|
|
11247
|
+
// if (fetchProductInfoQueryContext?.data?.data?.productinfo?.hassale == 1) {
|
|
11248
|
+
// finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
11249
|
+
// } else {
|
|
11250
|
+
// finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
11251
|
+
// }
|
|
11252
|
+
// Pixel_EventsContext('AddToCart', {
|
|
11253
|
+
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
11254
|
+
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
11255
|
+
// content_sku: fetchProductInfoQueryContext?.data?.data?.productinfo?.sku,
|
|
11256
|
+
// content_type: 'product',
|
|
11257
|
+
// currency: fetchProductInfoQueryContext?.data?.data?.currencyname_en,
|
|
11258
|
+
// value: finalprice,
|
|
11259
|
+
// quantity: addtocardpayloadobj.quantity,
|
|
11260
|
+
// });
|
|
11261
|
+
// AddtoCartContext(addtocartobjparam);
|
|
11262
|
+
// } else {
|
|
11263
|
+
// // NotificationManager.warning('', Extrafieldvalidationresponse.reason);
|
|
11264
|
+
// }
|
|
11265
|
+
// }
|
|
11266
|
+
// };
|
|
11267
|
+
// new
|
|
11135
11268
|
var addtocartfunc_extras = function addtocartfunc_extras(forcetocheckout, addtocartobjparam) {
|
|
11136
11269
|
var runfunc = false;
|
|
11137
11270
|
var forcetocheckoutvalue = forcetocheckout;
|
|
@@ -11153,28 +11286,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
11153
11286
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
11154
11287
|
}
|
|
11155
11288
|
if (runfunc == true) {
|
|
11156
|
-
var
|
|
11289
|
+
var _fetchProductInfoQuer60, _fetchProductInfoQuer61;
|
|
11157
11290
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
11158
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11159
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11291
|
+
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.isproductforcedtocheckout;
|
|
11292
|
+
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.vendorproviderid;
|
|
11160
11293
|
if (forcetocheckoutvalue != undefined) {
|
|
11161
11294
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
11162
11295
|
}
|
|
11163
11296
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
11164
11297
|
if (Extrafieldvalidationresponse.status) {
|
|
11165
|
-
var
|
|
11298
|
+
var _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
|
|
11166
11299
|
var finalprice = 0;
|
|
11167
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11300
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.hassale) == 1) {
|
|
11168
11301
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
11169
11302
|
} else {
|
|
11170
11303
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
11171
11304
|
}
|
|
11172
11305
|
Pixel_EventsContext('AddToCart', {
|
|
11173
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11174
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11175
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11306
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productid],
|
|
11307
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.name_ar),
|
|
11308
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.sku,
|
|
11176
11309
|
content_type: 'product',
|
|
11177
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11310
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.currencyname_en,
|
|
11178
11311
|
value: finalprice,
|
|
11179
11312
|
quantity: addtocardpayloadobj.quantity
|
|
11180
11313
|
});
|
|
@@ -11854,16 +11987,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
11854
11987
|
// }
|
|
11855
11988
|
// };
|
|
11856
11989
|
var get_product_extras_price = function get_product_extras_price() {
|
|
11857
|
-
var
|
|
11990
|
+
var _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
11858
11991
|
var totalprice_extras_price = 0;
|
|
11859
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11992
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
11860
11993
|
var _fetchcustomercartQue4;
|
|
11861
11994
|
var extras_for_product = [];
|
|
11862
11995
|
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
11863
11996
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
11864
11997
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
11865
|
-
var
|
|
11866
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11998
|
+
var _fetchProductInfoQuer70;
|
|
11999
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.productid)) {
|
|
11867
12000
|
extras_for_product.push(cartitem_in);
|
|
11868
12001
|
}
|
|
11869
12002
|
}
|
|
@@ -11876,37 +12009,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
11876
12009
|
return parseFloat(totalprice_extras_price);
|
|
11877
12010
|
};
|
|
11878
12011
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
11879
|
-
var
|
|
12012
|
+
var _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74;
|
|
11880
12013
|
var price = 0;
|
|
11881
12014
|
var quantity = 0;
|
|
11882
12015
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
11883
12016
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
11884
12017
|
}
|
|
11885
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11886
|
-
var
|
|
11887
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12018
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productquantityoptions) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.length) != 0) {
|
|
12019
|
+
var _fetchProductInfoQuer75;
|
|
12020
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.productquantityoptions;
|
|
11888
12021
|
}
|
|
11889
12022
|
if (type == 'defaultprice') {
|
|
11890
|
-
var
|
|
11891
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11892
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12023
|
+
var _fetchProductInfoQuer76, _fetchProductInfoQuer77;
|
|
12024
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.defaultprice;
|
|
12025
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.hasvariants) == 1) {
|
|
11893
12026
|
if (variantindexcompleted != undefined) {
|
|
11894
|
-
var
|
|
11895
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11896
|
-
var
|
|
11897
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12027
|
+
var _fetchProductInfoQuer78;
|
|
12028
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.variants[variantindexcompleted]) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.variantprice) != undefined) {
|
|
12029
|
+
var _fetchProductInfoQuer79;
|
|
12030
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.variants[variantindexcompleted]) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.variantprice;
|
|
11898
12031
|
}
|
|
11899
12032
|
}
|
|
11900
12033
|
}
|
|
11901
12034
|
} else if (type == 'defaultsaleprice') {
|
|
11902
|
-
var
|
|
11903
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11904
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12035
|
+
var _fetchProductInfoQuer80, _fetchProductInfoQuer81;
|
|
12036
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.defaultsaleprice;
|
|
12037
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.hasvariants) == 1) {
|
|
11905
12038
|
if (variantindexcompleted != undefined) {
|
|
11906
|
-
var
|
|
11907
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11908
|
-
var
|
|
11909
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12039
|
+
var _fetchProductInfoQuer82;
|
|
12040
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.variants[variantindexcompleted]) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.variantsaleprice) != undefined) {
|
|
12041
|
+
var _fetchProductInfoQuer83;
|
|
12042
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.variants[variantindexcompleted]) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.variantsaleprice;
|
|
11910
12043
|
}
|
|
11911
12044
|
}
|
|
11912
12045
|
}
|
|
@@ -12014,7 +12147,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12014
12147
|
// }
|
|
12015
12148
|
// };
|
|
12016
12149
|
var getQuantityCondition = function getQuantityCondition() {
|
|
12017
|
-
var
|
|
12150
|
+
var _fetchProductInfoQuer84;
|
|
12018
12151
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12019
12152
|
"class": "col-lg-12 p-0",
|
|
12020
12153
|
style: {
|
|
@@ -12044,12 +12177,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12044
12177
|
height: 1,
|
|
12045
12178
|
background: sectionproperties.pricelisttitlecolor
|
|
12046
12179
|
}
|
|
12047
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12048
|
-
var
|
|
12180
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productquantityoptions) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.map(function (item, index) {
|
|
12181
|
+
var _fetchProductInfoQuer85;
|
|
12049
12182
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12050
12183
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
12051
12184
|
style: {
|
|
12052
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12185
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productquantityoptions) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.length) - 1 != index ? '1rem' : 0
|
|
12053
12186
|
}
|
|
12054
12187
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12055
12188
|
"class": "d-flex align-items-center",
|
|
@@ -12083,7 +12216,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12083
12216
|
})));
|
|
12084
12217
|
};
|
|
12085
12218
|
var StoreInfo = function StoreInfo(position) {
|
|
12086
|
-
var
|
|
12219
|
+
var _fetchProductInfoQuer86, _authdetailsContext$i40, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i41, _authdetailsContext$i43;
|
|
12087
12220
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12088
12221
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
12089
12222
|
style: {
|
|
@@ -12134,7 +12267,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12134
12267
|
style: {
|
|
12135
12268
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12136
12269
|
}
|
|
12137
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12270
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productquantityoptions) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12138
12271
|
"class": "col-lg-12 p-0 mb-4"
|
|
12139
12272
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12140
12273
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -12335,8 +12468,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12335
12468
|
lang: langdetect,
|
|
12336
12469
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
12337
12470
|
divid: 'prodinfo'
|
|
12338
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12339
|
-
actions: (
|
|
12471
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
12472
|
+
actions: (_ref2 = {
|
|
12340
12473
|
product_prod_extras_array: product_prod_extras_array,
|
|
12341
12474
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
12342
12475
|
isOptionInStock: isOptionInStock,
|
|
@@ -12348,9 +12481,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12348
12481
|
langdetect: langdetect,
|
|
12349
12482
|
lang: lang,
|
|
12350
12483
|
srcfromprops: props.srcfromprops
|
|
12351
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](
|
|
12352
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12353
|
-
actions: (
|
|
12484
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12485
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
12486
|
+
actions: (_ref3 = {
|
|
12354
12487
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12355
12488
|
setisoutofstock: setisoutofstock,
|
|
12356
12489
|
isoutofstock: isoutofstock,
|
|
@@ -12358,9 +12491,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12358
12491
|
langdetect: langdetect,
|
|
12359
12492
|
lang: lang,
|
|
12360
12493
|
srcfromprops: props.srcfromprops
|
|
12361
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](
|
|
12362
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12363
|
-
actions: (
|
|
12494
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
12495
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
12496
|
+
actions: (_ref4 = {
|
|
12364
12497
|
isOptionInStock: isOptionInStock,
|
|
12365
12498
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12366
12499
|
fetchAuthorizationQueryContext: fetchAuthorizationQueryContext,
|
|
@@ -12370,9 +12503,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12370
12503
|
langdetect: langdetect,
|
|
12371
12504
|
lang: lang,
|
|
12372
12505
|
srcfromprops: props.srcfromprops
|
|
12373
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](
|
|
12374
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12375
|
-
actions: (
|
|
12506
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12507
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
12508
|
+
actions: (_ref5 = {
|
|
12376
12509
|
product_prod_extras_array: product_prod_extras_array,
|
|
12377
12510
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
12378
12511
|
// getprice_discountpricepropsnormalonly: getprice_discountpricepropsnormalonly,
|
|
@@ -12384,7 +12517,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12384
12517
|
langdetect: langdetect,
|
|
12385
12518
|
lang: lang,
|
|
12386
12519
|
srcfromprops: props.srcfromprops
|
|
12387
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](
|
|
12520
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref5, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref5, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref5, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref5, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12388
12521
|
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12389
12522
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12390
12523
|
style: {
|
|
@@ -12594,7 +12727,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12594
12727
|
style: {
|
|
12595
12728
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12596
12729
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12597
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12730
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.product_videos) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.product_videos) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.length) == 0 ? 'none' : 'flex'
|
|
12598
12731
|
}
|
|
12599
12732
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12600
12733
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -12656,12 +12789,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12656
12789
|
onClick: function onClick() {
|
|
12657
12790
|
settabname('refundpolicytab');
|
|
12658
12791
|
}
|
|
12659
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12792
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.product_videos) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12660
12793
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
12661
12794
|
onClick: function onClick() {
|
|
12662
12795
|
settabname('videostab');
|
|
12663
12796
|
}
|
|
12664
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12797
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12665
12798
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12666
12799
|
onClick: function onClick() {
|
|
12667
12800
|
settabname('reviewstab');
|
|
@@ -12715,12 +12848,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12715
12848
|
onClick: function onClick() {
|
|
12716
12849
|
settabname('refundpolicytab');
|
|
12717
12850
|
}
|
|
12718
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12851
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.product_videos) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12719
12852
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12720
12853
|
onClick: function onClick() {
|
|
12721
12854
|
settabname('videostab');
|
|
12722
12855
|
}
|
|
12723
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12856
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12724
12857
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12725
12858
|
onClick: function onClick() {
|
|
12726
12859
|
settabname('reviewstab');
|
|
@@ -12856,12 +12989,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12856
12989
|
onClick: function onClick() {
|
|
12857
12990
|
settabname('refundpolicytab');
|
|
12858
12991
|
}
|
|
12859
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12992
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.product_videos) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12860
12993
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
12861
12994
|
onClick: function onClick() {
|
|
12862
12995
|
settabname('videostab');
|
|
12863
12996
|
}
|
|
12864
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
12997
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
12865
12998
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
12866
12999
|
onClick: function onClick() {
|
|
12867
13000
|
settabname('reviewstab');
|
|
@@ -12882,7 +13015,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12882
13015
|
color: sectionproperties.prodCatColor
|
|
12883
13016
|
},
|
|
12884
13017
|
dangerouslySetInnerHTML: {
|
|
12885
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13018
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.short_description_ar
|
|
12886
13019
|
}
|
|
12887
13020
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12888
13021
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -13004,12 +13137,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13004
13137
|
onClick: function onClick() {
|
|
13005
13138
|
settabname('refundpolicytab');
|
|
13006
13139
|
}
|
|
13007
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13140
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.product_videos) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13008
13141
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
13009
13142
|
onClick: function onClick() {
|
|
13010
13143
|
settabname('videostab');
|
|
13011
13144
|
}
|
|
13012
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13145
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13013
13146
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
13014
13147
|
onClick: function onClick() {
|
|
13015
13148
|
settabname('reviewstab');
|
|
@@ -13030,7 +13163,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13030
13163
|
color: sectionproperties.prodCatColor
|
|
13031
13164
|
},
|
|
13032
13165
|
dangerouslySetInnerHTML: {
|
|
13033
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13166
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
|
|
13034
13167
|
}
|
|
13035
13168
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13036
13169
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13133,12 +13266,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13133
13266
|
onClick: function onClick() {
|
|
13134
13267
|
settabname('refundpolicytab');
|
|
13135
13268
|
}
|
|
13136
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13269
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.product_videos) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13137
13270
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
13138
13271
|
onClick: function onClick() {
|
|
13139
13272
|
settabname('videostab');
|
|
13140
13273
|
}
|
|
13141
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13274
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
13142
13275
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
13143
13276
|
onClick: function onClick() {
|
|
13144
13277
|
settabname('reviewstab');
|
|
@@ -13159,7 +13292,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13159
13292
|
color: sectionproperties.prodCatColor
|
|
13160
13293
|
},
|
|
13161
13294
|
dangerouslySetInnerHTML: {
|
|
13162
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13295
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.short_description_ar
|
|
13163
13296
|
}
|
|
13164
13297
|
})), tabname == 'featurestab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13165
13298
|
"class": "col-lg-12 px-5 px-md-0"
|
|
@@ -13169,7 +13302,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13169
13302
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
13170
13303
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
13171
13304
|
className: 'table tablevertical'
|
|
13172
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13305
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productfeatures) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.map(function (fitem, findex) {
|
|
13173
13306
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
13174
13307
|
style: {
|
|
13175
13308
|
textTransform: 'capitalize',
|
|
@@ -13320,7 +13453,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13320
13453
|
color: sectionproperties.prodCatColor
|
|
13321
13454
|
},
|
|
13322
13455
|
dangerouslySetInnerHTML: {
|
|
13323
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13456
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.short_description_ar
|
|
13324
13457
|
}
|
|
13325
13458
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13326
13459
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -13452,7 +13585,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13452
13585
|
color: '#000000'
|
|
13453
13586
|
},
|
|
13454
13587
|
dangerouslySetInnerHTML: {
|
|
13455
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13588
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.description_ar
|
|
13456
13589
|
}
|
|
13457
13590
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13458
13591
|
"class": "col-lg-12 p-0"
|
|
@@ -13463,7 +13596,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13463
13596
|
color: sectionproperties.prodCatColor
|
|
13464
13597
|
},
|
|
13465
13598
|
dangerouslySetInnerHTML: {
|
|
13466
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13599
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer120 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productinfo) === null || _fetchProductInfoQuer120 === void 0 ? void 0 : _fetchProductInfoQuer120.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer121 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productinfo) === null || _fetchProductInfoQuer121 === void 0 ? void 0 : _fetchProductInfoQuer121.short_description_ar
|
|
13467
13600
|
}
|
|
13468
13601
|
}))
|
|
13469
13602
|
// <DescriptionContent
|
|
@@ -78577,7 +78710,7 @@ var TableSection = function TableSection(props) {
|
|
|
78577
78710
|
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78578
78711
|
size: 15,
|
|
78579
78712
|
color: '#DF201A'
|
|
78580
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78713
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78581
78714
|
size: 15,
|
|
78582
78715
|
color: '#DF201A'
|
|
78583
78716
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
@@ -78595,10 +78728,10 @@ var TableSection = function TableSection(props) {
|
|
|
78595
78728
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
78596
78729
|
size: 15,
|
|
78597
78730
|
color: '#15B748'
|
|
78598
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78731
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78599
78732
|
size: 15,
|
|
78600
78733
|
color: '#DF201A'
|
|
78601
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78734
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78602
78735
|
size: 15,
|
|
78603
78736
|
color: '#DF201A'
|
|
78604
78737
|
})]
|
|
@@ -78612,7 +78745,7 @@ var TableSection = function TableSection(props) {
|
|
|
78612
78745
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
78613
78746
|
size: 15,
|
|
78614
78747
|
color: '#15B748'
|
|
78615
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78748
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78616
78749
|
size: 15,
|
|
78617
78750
|
color: '#DF201A'
|
|
78618
78751
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
@@ -78630,7 +78763,7 @@ var TableSection = function TableSection(props) {
|
|
|
78630
78763
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
78631
78764
|
size: 15,
|
|
78632
78765
|
color: '#15B748'
|
|
78633
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78766
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78634
78767
|
size: 15,
|
|
78635
78768
|
color: '#DF201A'
|
|
78636
78769
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
@@ -78647,7 +78780,7 @@ var TableSection = function TableSection(props) {
|
|
|
78647
78780
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
78648
78781
|
size: 15,
|
|
78649
78782
|
color: '#15B748'
|
|
78650
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78783
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78651
78784
|
size: 15,
|
|
78652
78785
|
color: '#DF201A'
|
|
78653
78786
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
@@ -78665,7 +78798,7 @@ var TableSection = function TableSection(props) {
|
|
|
78665
78798
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
78666
78799
|
size: 15,
|
|
78667
78800
|
color: '#15B748'
|
|
78668
|
-
}), /*#__PURE__*/React__default["default"].createElement(
|
|
78801
|
+
}), /*#__PURE__*/React__default["default"].createElement(AiOutlineCloseCircle.AiOutlineCloseCircle, {
|
|
78669
78802
|
size: 15,
|
|
78670
78803
|
color: '#DF201A'
|
|
78671
78804
|
}), /*#__PURE__*/React__default["default"].createElement(FiCheckCircle.FiCheckCircle, {
|
|
@@ -78786,7 +78919,7 @@ var TableSection = function TableSection(props) {
|
|
|
78786
78919
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78787
78920
|
"class": section_styles.description + ' m-0 p-0 '
|
|
78788
78921
|
}, sectionproperties.descriptionContentEn)), cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
78789
|
-
var _plancontentarray$car;
|
|
78922
|
+
var _plancontentarray$car, _plancontentarray$car2;
|
|
78790
78923
|
var contentKey = langdetect === 'en' ? 'content_en' : langdetect === 'ar' ? 'content_ar' : 'content_chin';
|
|
78791
78924
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78792
78925
|
className: ' col-lg-4 col-md-12 mb-3 ',
|
|
@@ -78814,17 +78947,26 @@ var TableSection = function TableSection(props) {
|
|
|
78814
78947
|
color: cardinfoitem.plancolor
|
|
78815
78948
|
}
|
|
78816
78949
|
}, cardinfoitem.planname_en), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78817
|
-
className: "pricing-content allcentered"
|
|
78818
|
-
},
|
|
78819
|
-
|
|
78950
|
+
className: "pricing-content allcentered row m-0 w-100"
|
|
78951
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
78952
|
+
"class": "col-12 p-0 allcentered mb-3"
|
|
78953
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78954
|
+
className: "m-0 p-0 w-100 allcentered",
|
|
78955
|
+
style: {
|
|
78956
|
+
fontSize: 25,
|
|
78957
|
+
fontWeight: 600,
|
|
78958
|
+
color: cardinfoitem.planbgcolor
|
|
78959
|
+
}
|
|
78960
|
+
}, (_plancontentarray$car = plancontentarray[cardinfoindex]) === null || _plancontentarray$car === void 0 || (_plancontentarray$car = _plancontentarray$car[contentKey]) === null || _plancontentarray$car === void 0 ? void 0 : _plancontentarray$car[0])), (_plancontentarray$car2 = plancontentarray[cardinfoindex]) === null || _plancontentarray$car2 === void 0 || (_plancontentarray$car2 = _plancontentarray$car2[contentKey]) === null || _plancontentarray$car2 === void 0 ? void 0 : _plancontentarray$car2.slice(1).map(function (contentitem, contentindex) {
|
|
78961
|
+
var _plancontentarray$car3;
|
|
78820
78962
|
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
78821
78963
|
key: contentindex,
|
|
78822
|
-
"class": "m-0 p-0 mb-2 d-flex align-items-center justify-content-start",
|
|
78964
|
+
"class": " col-12 m-0 p-0 mb-2 d-flex align-items-center justify-content-start",
|
|
78823
78965
|
style: {
|
|
78824
78966
|
fontSize: 16,
|
|
78825
78967
|
color: '#000'
|
|
78826
78968
|
}
|
|
78827
|
-
}, (_plancontentarray$
|
|
78969
|
+
}, (_plancontentarray$car3 = plancontentarray[cardinfoindex]) === null || _plancontentarray$car3 === void 0 || (_plancontentarray$car3 = _plancontentarray$car3.icons) === null || _plancontentarray$car3 === void 0 ? void 0 : _plancontentarray$car3[contentindex], /*#__PURE__*/React__default["default"].createElement("span", {
|
|
78828
78970
|
className: "mx-2"
|
|
78829
78971
|
}, contentitem));
|
|
78830
78972
|
}), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -84288,7 +84430,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84288
84430
|
// : 'col-lg-12 text-start'
|
|
84289
84431
|
sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
|
|
84290
84432
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
84291
|
-
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84433
|
+
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a8d6f66e1460' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84292
84434
|
onClick: function onClick() {
|
|
84293
84435
|
if (sectionproperties.showplayer == 'Show') {
|
|
84294
84436
|
setshowpopup(true);
|
|
@@ -84303,7 +84445,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84303
84445
|
style: {
|
|
84304
84446
|
direction: langdetect == 'en' ? 'ltr' : 'rtl'
|
|
84305
84447
|
}
|
|
84306
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '
|
|
84448
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' '), authdetailsContext.instinfo.instid == '6a8d6f66e1460' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
84449
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ',
|
|
84450
|
+
style: {
|
|
84451
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
84452
|
+
},
|
|
84453
|
+
onClick: function onClick() {
|
|
84454
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + '6a97eed821bda');
|
|
84455
|
+
}
|
|
84456
|
+
}, langdetect == 'en' ? 'Daily Wash' : 'غسيل يومي'), ' ', authdetailsContext.instinfo.instid == '69f0cacdc9142' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
84307
84457
|
"class": "".concat(slideshow_styles.slideshow_btn2mazal) + ' allcentered mx-1 ',
|
|
84308
84458
|
style: {
|
|
84309
84459
|
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
@@ -84413,7 +84563,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84413
84563
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84414
84564
|
},
|
|
84415
84565
|
onClick: function onClick() {
|
|
84416
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84566
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else {
|
|
84417
84567
|
if (sectionproperties.showplayer == 'Show') {
|
|
84418
84568
|
setshowpopup(true);
|
|
84419
84569
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84454,7 +84604,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84454
84604
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84455
84605
|
},
|
|
84456
84606
|
onClick: function onClick() {
|
|
84457
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84607
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else {
|
|
84458
84608
|
if (sectionproperties.showplayer == 'Show') {
|
|
84459
84609
|
setshowpopup(true);
|
|
84460
84610
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84589,7 +84739,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84589
84739
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84590
84740
|
},
|
|
84591
84741
|
onClick: function onClick() {
|
|
84592
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84742
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else {
|
|
84593
84743
|
if (sectionproperties.showplayer == 'Show') {
|
|
84594
84744
|
setshowpopup(true);
|
|
84595
84745
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84629,7 +84779,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84629
84779
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84630
84780
|
},
|
|
84631
84781
|
onClick: function onClick() {
|
|
84632
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84782
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else {
|
|
84633
84783
|
if (sectionproperties.showplayer == 'Show') {
|
|
84634
84784
|
setshowpopup(true);
|
|
84635
84785
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -84756,7 +84906,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84756
84906
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
84757
84907
|
},
|
|
84758
84908
|
onClick: function onClick() {
|
|
84759
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else {
|
|
84909
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else {
|
|
84760
84910
|
if (sectionproperties.showplayer == 'Show') {
|
|
84761
84911
|
setshowpopup(true);
|
|
84762
84912
|
} else if (item.IsClickableimg == 'Yes') {
|