tabexseriescomponents 0.2.766 → 0.2.768

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -3326,7 +3326,7 @@ var Product_itemtype = function Product_itemtype(props) {
3326
3326
  size: sectionproperties.remove_quantitybtn_textfontsize
3327
3327
  }))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3328
3328
  className: "".concat(productinfo_cssstyles.quantitybtn_text)
3329
- }, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3329
+ }, parseFloat(addtocardpayloadobj.quantity).toFixed(2)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
3330
3330
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
3331
3331
  onClick: function onClick() {
3332
3332
  var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
@@ -6663,7 +6663,7 @@ var ProductReviews = function ProductReviews(props) {
6663
6663
  function ownKeys$2w(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; }
6664
6664
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6665
6665
  var Productinfo = function Productinfo(props) {
6666
- var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
6666
+ var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
6667
6667
  var _useState = React.useState({}),
6668
6668
  _useState2 = _slicedToArray__default["default"](_useState, 2),
6669
6669
  ProductInfoObj = _useState2[0],
@@ -6970,8 +6970,14 @@ var Productinfo = function Productinfo(props) {
6970
6970
  tempaddtocardpayloadobj.item_type = 'product';
6971
6971
  }
6972
6972
  if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.quantitystepincrearse) != '') {
6973
- var _fetchProductInfoQuer20;
6974
- quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.quantitystepincrearse);
6973
+ var _authdetailsContext$i;
6974
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66d6de1a1e04a') {
6975
+ var _fetchProductInfoQuer20;
6976
+ quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.quantitystepincrearse);
6977
+ } else {
6978
+ var _fetchProductInfoQuer21;
6979
+ quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.quantitystepincrearse);
6980
+ }
6975
6981
  }
6976
6982
  tempaddtocardpayloadobj.quantity = quantitystepincrearse;
6977
6983
  setaddtocardpayloadobj(_objectSpread$2w({}, tempaddtocardpayloadobj));
@@ -7177,15 +7183,15 @@ var Productinfo = function Productinfo(props) {
7177
7183
  var forcetocheckoutvalue = forcetocheckout;
7178
7184
  // alert(addtocardpayloadobj.quantity + 'sad');
7179
7185
  if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
7180
- var _fetchProductInfoQuer21;
7181
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.hasvariants) == 1) {
7186
+ var _fetchProductInfoQuer22;
7187
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.hasvariants) == 1) {
7182
7188
  if (addtocardpayloadobj.variantid.length != 0) {
7183
7189
  runfunc = true;
7184
7190
  } else {
7185
- var _authdetailsContext$i;
7191
+ var _authdetailsContext$i2;
7186
7192
  // here
7187
7193
  setvariantnotchosendisclaimer('This field is required');
7188
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
7194
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
7189
7195
  }
7190
7196
  } else {
7191
7197
  runfunc = true;
@@ -7194,16 +7200,16 @@ var Productinfo = function Productinfo(props) {
7194
7200
  NotificationManager.warning('', 'Please Choose Quantity');
7195
7201
  }
7196
7202
  if (runfunc == true) {
7197
- var _fetchProductInfoQuer22, _fetchProductInfoQuer23;
7203
+ var _fetchProductInfoQuer23, _fetchProductInfoQuer24;
7198
7204
  var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
7199
- tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproductforcedtocheckout;
7200
- tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.vendorproviderid;
7205
+ tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproductforcedtocheckout;
7206
+ tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.vendorproviderid;
7201
7207
  if (forcetocheckoutvalue != undefined) {
7202
7208
  tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
7203
7209
  }
7204
7210
  var Extrafieldvalidationresponse = validateextrafields();
7205
7211
  if (Extrafieldvalidationresponse.status) {
7206
- var _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29;
7212
+ var _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30;
7207
7213
  // Pixel_EventsContext('AddToCart', {
7208
7214
  // content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
7209
7215
  // content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
@@ -7214,17 +7220,17 @@ var Productinfo = function Productinfo(props) {
7214
7220
  // quantity: addtocardpayloadobj.quantity,
7215
7221
  // });
7216
7222
  var finalprice = 0;
7217
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hassale) == 1) {
7223
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.hassale) == 1) {
7218
7224
  finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
7219
7225
  } else {
7220
7226
  finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
7221
7227
  }
7222
7228
  Pixel_EventsContext('AddToCart', {
7223
- content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productid],
7224
- content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.name_ar),
7225
- content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.sku,
7229
+ content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productid],
7230
+ content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.name_ar),
7231
+ content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.sku,
7226
7232
  content_type: 'product',
7227
- currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.currencyname_en,
7233
+ currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.currencyname_en,
7228
7234
  value: finalprice,
7229
7235
  quantity: addtocardpayloadobj.quantity
7230
7236
  });
@@ -7233,12 +7239,12 @@ var Productinfo = function Productinfo(props) {
7233
7239
  }
7234
7240
  };
7235
7241
  var validateextrafields = function validateextrafields() {
7236
- var _fetchProductInfoQuer30;
7242
+ var _fetchProductInfoQuer31;
7237
7243
  var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
7238
7244
  var status = false;
7239
7245
  var reason = '';
7240
7246
  var missingitemsfound = [];
7241
- var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productextrafields;
7247
+ var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.productextrafields;
7242
7248
  if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
7243
7249
  status = true;
7244
7250
  } else {
@@ -7278,9 +7284,9 @@ var Productinfo = function Productinfo(props) {
7278
7284
  };
7279
7285
  };
7280
7286
  var returnpolicyobj = function returnpolicyobj(policytype) {
7281
- var _authdetailsContext$i2;
7287
+ var _authdetailsContext$i3;
7282
7288
  var policyobj = {};
7283
- authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instpolicies) === null || _authdetailsContext$i2 === void 0 || _authdetailsContext$i2.forEach(function (item, index) {
7289
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instpolicies) === null || _authdetailsContext$i3 === void 0 || _authdetailsContext$i3.forEach(function (item, index) {
7284
7290
  if (item.policytype == policytype) {
7285
7291
  policyobj = item;
7286
7292
  }
@@ -7854,23 +7860,23 @@ var Productinfo = function Productinfo(props) {
7854
7860
  }
7855
7861
  }));
7856
7862
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
7857
- var _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
7863
+ var _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
7858
7864
  var price = 0;
7859
7865
  var quantity = 0;
7860
7866
  if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
7861
7867
  quantity = parseFloat(addtocardpayloadobj.quantity);
7862
7868
  }
7863
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productquantityoptions) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.length) != 0) {
7869
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productquantityoptions) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.length) != 0) {
7864
7870
  fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
7865
7871
  }
7866
7872
  if (type == 'defaultprice') {
7867
7873
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
7868
7874
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
7869
7875
  if (variantindexcompleted != undefined) {
7870
- var _fetchProductInfoQuer35;
7871
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.variants[variantindexcompleted]) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.variantprice) != undefined) {
7872
- var _fetchProductInfoQuer36;
7873
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.variants[variantindexcompleted]) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.variantprice;
7876
+ var _fetchProductInfoQuer36;
7877
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.variants[variantindexcompleted]) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.variantprice) != undefined) {
7878
+ var _fetchProductInfoQuer37;
7879
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.variants[variantindexcompleted]) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.variantprice;
7874
7880
  }
7875
7881
  }
7876
7882
  }
@@ -7878,10 +7884,10 @@ var Productinfo = function Productinfo(props) {
7878
7884
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
7879
7885
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
7880
7886
  if (variantindexcompleted != undefined) {
7881
- var _fetchProductInfoQuer37;
7882
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.variants[variantindexcompleted]) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.variantsaleprice) != undefined) {
7883
- var _fetchProductInfoQuer38;
7884
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.variants[variantindexcompleted]) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.variantsaleprice;
7887
+ var _fetchProductInfoQuer38;
7888
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.variants[variantindexcompleted]) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.variantsaleprice) != undefined) {
7889
+ var _fetchProductInfoQuer39;
7890
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.variantsaleprice;
7885
7891
  }
7886
7892
  }
7887
7893
  }
@@ -7916,7 +7922,7 @@ var Productinfo = function Productinfo(props) {
7916
7922
  }
7917
7923
  };
7918
7924
  var getQuantityCondition = function getQuantityCondition() {
7919
- var _fetchProductInfoQuer39;
7925
+ var _fetchProductInfoQuer40;
7920
7926
  return /*#__PURE__*/React__default["default"].createElement("div", {
7921
7927
  "class": "col-lg-12 p-0",
7922
7928
  style: {
@@ -7946,12 +7952,12 @@ var Productinfo = function Productinfo(props) {
7946
7952
  height: 1,
7947
7953
  background: sectionproperties.pricelisttitlecolor
7948
7954
  }
7949
- })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productquantityoptions) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.map(function (item, index) {
7950
- var _fetchProductInfoQuer40;
7955
+ })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productquantityoptions) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.map(function (item, index) {
7956
+ var _fetchProductInfoQuer41;
7951
7957
  return /*#__PURE__*/React__default["default"].createElement("div", {
7952
7958
  className: "col-lg-12 p-0 w-100 d-flex align-items-center",
7953
7959
  style: {
7954
- marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productquantityoptions) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.length) - 1 != index ? '1rem' : 0
7960
+ marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productquantityoptions) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.length) - 1 != index ? '1rem' : 0
7955
7961
  }
7956
7962
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7957
7963
  "class": "d-flex align-items-center",
@@ -7985,7 +7991,7 @@ var Productinfo = function Productinfo(props) {
7985
7991
  })));
7986
7992
  };
7987
7993
  var StoreInfo = function StoreInfo(position) {
7988
- var _fetchProductInfoQuer41, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i7;
7994
+ var _fetchProductInfoQuer42, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i8;
7989
7995
  return /*#__PURE__*/React__default["default"].createElement("div", {
7990
7996
  "class": "row m-0 w-100"
7991
7997
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -8032,7 +8038,7 @@ var Productinfo = function Productinfo(props) {
8032
8038
  style: {
8033
8039
  textAlign: langdetect == 'en' ? 'left' : 'right'
8034
8040
  }
8035
- }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productquantityoptions) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8041
+ }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (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 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productquantityoptions) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8036
8042
  "class": "col-lg-12 p-0 mb-4"
8037
8043
  }, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8038
8044
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
@@ -8060,8 +8066,8 @@ var Productinfo = function Productinfo(props) {
8060
8066
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
8061
8067
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
8062
8068
  onClick: function onClick() {
8063
- var _authdetailsContext$i3;
8064
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.contactinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.email), '_self');
8069
+ var _authdetailsContext$i4;
8070
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email), '_self');
8065
8071
  }
8066
8072
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8067
8073
  "class": productinfo_cssstyles.iconContainer + ' iconContainer '
@@ -8081,7 +8087,7 @@ var Productinfo = function Productinfo(props) {
8081
8087
  style: {
8082
8088
  textAlign: langdetect == 'en' ? 'left' : 'right'
8083
8089
  }
8084
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
8090
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
8085
8091
  "class": "row m-0 w-100"
8086
8092
  }, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
8087
8093
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
@@ -8092,25 +8098,25 @@ var Productinfo = function Productinfo(props) {
8092
8098
  }
8093
8099
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8094
8100
  "class": "m-0 p-0"
8095
- }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
8101
+ }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
8096
8102
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
8097
8103
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8098
8104
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
8099
8105
  onClick: function onClick() {
8100
- var _authdetailsContext$i6;
8101
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email), '_self');
8106
+ var _authdetailsContext$i7;
8107
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
8102
8108
  }
8103
8109
  }, /*#__PURE__*/React__default["default"].createElement("p", {
8104
8110
  "class": "m-0 p-0"
8105
- }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
8111
+ }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
8106
8112
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
8107
8113
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8108
8114
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
8109
8115
  onClick: function onClick() {
8110
- var _authdetailsContext$i8;
8111
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
8112
- var _authdetailsContext$i9;
8113
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
8116
+ var _authdetailsContext$i9;
8117
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null) {
8118
+ var _authdetailsContext$i10;
8119
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber), '_blank');
8114
8120
  }
8115
8121
  }
8116
8122
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -8220,7 +8226,7 @@ var Productinfo = function Productinfo(props) {
8220
8226
  style: {
8221
8227
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
8222
8228
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
8223
- display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.product_videos) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.length) != 0 ? 'flex' : (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.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (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 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.product_videos) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.length) == 0 ? 'none' : 'flex'
8229
+ display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.product_videos) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.length) != 0 ? 'flex' : (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.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.product_videos) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.length) == 0 ? 'none' : 'flex'
8224
8230
  }
8225
8231
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8226
8232
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
@@ -8282,12 +8288,12 @@ var Productinfo = function Productinfo(props) {
8282
8288
  onClick: function onClick() {
8283
8289
  settabname('refundpolicytab');
8284
8290
  }
8285
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.product_videos) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8291
+ }), (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.product_videos) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8286
8292
  label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
8287
8293
  onClick: function onClick() {
8288
8294
  settabname('videostab');
8289
8295
  }
8290
- }), (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 ? void 0 : _fetchProductInfoQuer51.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8296
+ }), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8291
8297
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
8292
8298
  onClick: function onClick() {
8293
8299
  settabname('reviewstab');
@@ -8341,12 +8347,12 @@ var Productinfo = function Productinfo(props) {
8341
8347
  onClick: function onClick() {
8342
8348
  settabname('refundpolicytab');
8343
8349
  }
8344
- }), (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 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.product_videos) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8350
+ }), (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 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.product_videos) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8345
8351
  label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
8346
8352
  onClick: function onClick() {
8347
8353
  settabname('videostab');
8348
8354
  }
8349
- }), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8355
+ }), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
8350
8356
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
8351
8357
  onClick: function onClick() {
8352
8358
  settabname('reviewstab');
@@ -28870,8 +28876,266 @@ styleInject(css_248z$y);
28870
28876
 
28871
28877
  function ownKeys$1$(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; }
28872
28878
  function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28879
+ var FloatingIcons = function FloatingIcons(props) {
28880
+ var _authdetailsContext$i, _authdetailsContext$i2;
28881
+ var _useState = React.useState(''),
28882
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
28883
+ sectionproperties = _useState2[0],
28884
+ setsectionproperties = _useState2[1];
28885
+ var langdetect = props.actions.langdetect;
28886
+ var authdetailsContext = props.actions.authdetailsContext;
28887
+ var routingcountext = props.actions.routingcountext;
28888
+ React.useEffect(function () {
28889
+ if (props.sectionpropertiesprops != undefined) {
28890
+ setsectionproperties(_objectSpread$1$({}, props.sectionpropertiesprops));
28891
+ }
28892
+ }, [props.sectionpropertiesprops]);
28893
+ var header_cssstyles = {
28894
+ floatingwaicon: glamor.css({
28895
+ position: 'fixed',
28896
+ zIndex: 999999,
28897
+ transition: 'all 0.3s ease-out',
28898
+ bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
28899
+ right: langdetect == 'en' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
28900
+ left: langdetect == 'ar' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
28901
+ width: sectionproperties.floatingwhatsappiconwidth + 'px',
28902
+ height: sectionproperties.floatingwhatappiconheight + 'px',
28903
+ background: sectionproperties.floatingwhatappiconbgcolor,
28904
+ borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
28905
+ fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
28906
+ color: sectionproperties.floatingwhatsappiconcolor,
28907
+ ':hover': {
28908
+ color: sectionproperties.floatingwhatsappiconcoloronhover,
28909
+ background: sectionproperties.floatingwhatappiconbgcoloronhover
28910
+ }
28911
+ }),
28912
+ waicon: glamor.css({
28913
+ color: sectionproperties.floatingwhatsappiconcolor,
28914
+ ':hover': {
28915
+ color: sectionproperties.floatingwhatsappiconcoloronhover
28916
+ }
28917
+ }),
28918
+ fbfloatingicon: glamor.css({
28919
+ position: 'fixed',
28920
+ zIndex: 999999,
28921
+ transition: 'all 0.3s ease-out',
28922
+ bottom: sectionproperties.floatingfbfrombottom + 'px',
28923
+ width: sectionproperties.floatingfbiconwidth + 'px',
28924
+ height: sectionproperties.floatingfbiconheight + 'px',
28925
+ background: sectionproperties.floatingfbiconbgcolor,
28926
+ borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
28927
+ fontSize: sectionproperties.floatingfbiconfontsize + 'px',
28928
+ color: sectionproperties.floatingfbiconiconcolor,
28929
+ ':hover': {
28930
+ color: sectionproperties.floatingfbiconiconcoloronhover,
28931
+ background: sectionproperties.floatingwhatappiconbgcoloronhover
28932
+ }
28933
+ }),
28934
+ fbfloatingiconen: glamor.css({
28935
+ right: sectionproperties.floatingfbfromright + 'px'
28936
+ }),
28937
+ fbfloatingiconar: glamor.css({
28938
+ left: sectionproperties.floatingfbfromright + 'px'
28939
+ }),
28940
+ instagramfloatingicon: glamor.css({
28941
+ position: 'fixed',
28942
+ zIndex: 999999,
28943
+ transition: 'all 0.3s ease-out',
28944
+ bottom: sectionproperties.floatinginstagramfrombottom + 'px',
28945
+ width: sectionproperties.floatinginstagramiconwidth + 'px',
28946
+ height: sectionproperties.floatinginstagramiconheight + 'px',
28947
+ background: sectionproperties.floatinginstagramiconbgcolor,
28948
+ borderRadius: sectionproperties.floatinginstagramiconborderradius + 'px',
28949
+ color: sectionproperties.floatinginstagramiconiconcolor,
28950
+ ':hover': {
28951
+ color: sectionproperties.floatinginstagramiconiconcoloronhover,
28952
+ background: sectionproperties.floatinginstagramiconbgcoloronhover
28953
+ }
28954
+ }),
28955
+ instagramfloatingiconen: glamor.css({
28956
+ right: sectionproperties.floatinginstagramfromright + 'px'
28957
+ }),
28958
+ instagramfloatingiconar: glamor.css({
28959
+ left: sectionproperties.floatinginstagramfromright + 'px'
28960
+ }),
28961
+ tiktokfloatingicon: glamor.css({
28962
+ position: 'fixed',
28963
+ zIndex: 999999,
28964
+ transition: 'all 0.3s ease-out',
28965
+ bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
28966
+ width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
28967
+ height: sectionproperties.tiktokfloatingiconheight + 'px',
28968
+ background: sectionproperties.tiktokfloatingiconbgcolor,
28969
+ borderRadius: sectionproperties.tiktokfloatingiconborderradius + 'px',
28970
+ color: sectionproperties.tiktokfloatingiconcolor,
28971
+ ':hover': {
28972
+ color: sectionproperties.tiktokfloatingiconcoloronhover,
28973
+ background: sectionproperties.tiktokfloatingiconbgcoloronhover
28974
+ }
28975
+ }),
28976
+ tiktokfloatingiconen: glamor.css({
28977
+ right: sectionproperties.tiktokfloatingiconfromright + 'px'
28978
+ }),
28979
+ tiktokfloatingiconar: glamor.css({
28980
+ left: sectionproperties.tiktokfloatingiconfromright + 'px'
28981
+ }),
28982
+ floatingbtn: glamor.css({
28983
+ position: 'fixed',
28984
+ bottom: sectionproperties.floatingbtnfrombottom + 'px',
28985
+ zIndex: 999999,
28986
+ transition: 'all 0.3s ease-out',
28987
+ width: sectionproperties.floatingbtnwidth + 'px',
28988
+ height: sectionproperties.floatingbtnheight + 'px',
28989
+ background: sectionproperties.floatingbtnbg,
28990
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
28991
+ color: sectionproperties.floatingbtncolor,
28992
+ borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
28993
+ ':hover': {
28994
+ color: sectionproperties.floatingbtncolorhover,
28995
+ backgroundColor: sectionproperties.floatingbtnbghover,
28996
+ transitions: '.3s',
28997
+ cursor: 'pointer'
28998
+ }
28999
+ // '@media (max-width: 800px)': {
29000
+ // width: '50%',
29001
+ // },
29002
+ }),
29003
+ floatingbtnen: glamor.css({
29004
+ right: sectionproperties.floatingbtnfromright + 'px'
29005
+ }),
29006
+ floatingbtnar: glamor.css({
29007
+ left: sectionproperties.floatingbtnfromright + 'px'
29008
+ }),
29009
+ callbtn: glamor.css({
29010
+ position: 'fixed',
29011
+ zIndex: 999999,
29012
+ transition: 'all 0.3s ease-out',
29013
+ width: sectionproperties.callfloatingiconiconwidth + 'px',
29014
+ height: sectionproperties.callfloatingiconiconheight + 'px',
29015
+ background: sectionproperties.callfloatingbgcolor,
29016
+ borderRadius: sectionproperties.callfloatingiconiconborderradius + 'px',
29017
+ color: sectionproperties.callfloatingcolor,
29018
+ ':hover': {
29019
+ color: sectionproperties.callfloatingcoloronhover,
29020
+ background: sectionproperties.callfloatingbgcoloronhover
29021
+ }
29022
+ }),
29023
+ callbtnen: glamor.css(_defineProperty__default["default"]({
29024
+ right: sectionproperties.callppositionfromright + 'px'
29025
+ }, "right", '20px')),
29026
+ callbtnar: glamor.css({
29027
+ left: sectionproperties.callppositionfromright + 'px'
29028
+ })
29029
+ };
29030
+ var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
29031
+ var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
29032
+ return /*#__PURE__*/React__default["default"].createElement("div", {
29033
+ "class": '',
29034
+ style: {
29035
+ position: 'relative'
29036
+ }
29037
+ }, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29038
+ "class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
29039
+ }, /*#__PURE__*/React__default["default"].createElement("a", {
29040
+ href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
29041
+ target: "_blank",
29042
+ rel: "noopener noreferrer",
29043
+ style: {},
29044
+ "class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
29045
+ }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
29046
+ size: sectionproperties.floatingwhatsappiconiconfontsize
29047
+ }), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
29048
+ "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
29049
+ }, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29050
+ "class": langdetect == 'en' ? "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconar) + ' allcentered cursor-pointer ',
29051
+ onClick: function onClick() {
29052
+ var _authdetailsContext$i3;
29053
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
29054
+ var _authdetailsContext$i4;
29055
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
29056
+ }
29057
+ }
29058
+ }, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
29059
+ size: sectionproperties.floatingfbiconiconsize
29060
+ })), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29061
+ "class": langdetect == 'en' ? "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconar) + ' allcentered cursor-pointer ',
29062
+ onClick: function onClick() {
29063
+ var _authdetailsContext$i5;
29064
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
29065
+ var _authdetailsContext$i6;
29066
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
29067
+ }
29068
+ }
29069
+ }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
29070
+ size: sectionproperties.floatinginstagramiconiconsize
29071
+ })), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29072
+ "class": langdetect == 'en' ? "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconar) + ' allcentered cursor-pointer ',
29073
+ onClick: function onClick() {
29074
+ var _authdetailsContext$i7;
29075
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
29076
+ var _authdetailsContext$i8;
29077
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
29078
+ }
29079
+ }
29080
+ }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
29081
+ size: sectionproperties.tiktokfloatingiconiconfontsize
29082
+ })), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29083
+ "class": langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ',
29084
+ style: {},
29085
+ onClick: function onClick() {
29086
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
29087
+ }
29088
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
29089
+ "class": "m-0 p-0"
29090
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
29091
+ style: {
29092
+ position: 'fixed',
29093
+ bottom: sectionproperties.floatingbtnfrombottom + 'px',
29094
+ right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
29095
+ left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
29096
+ zIndex: 2000,
29097
+ transition: 'all 0.3s ease-out',
29098
+ width: '100%'
29099
+ },
29100
+ "class": "text-end"
29101
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
29102
+ "class": header_cssstyles.floatingbtn + ' allcentered ',
29103
+ style: {},
29104
+ onClick: function onClick() {
29105
+ if (sectionproperties.btnlinktype == 'Website Link') {
29106
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
29107
+ } else {
29108
+ window.open(sectionproperties.floatingbtnlink, '_blank');
29109
+
29110
+ // routingcountext(sectionproperties.floatingbtnlink, true, '');
29111
+ }
29112
+ }
29113
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
29114
+ "class": "m-0 p-0"
29115
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
29116
+ href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
29117
+ target: '_self',
29118
+ style: {
29119
+ position: 'fixed',
29120
+ bottom: sectionproperties.callppositionfrombottom + 'px',
29121
+ zIndex: 999999,
29122
+ transition: 'all 0.3s ease-out'
29123
+ },
29124
+ "class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) + ' allcentered ' : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar) + ' allcentered '
29125
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
29126
+ "class": 'h-100 d-flex align-items-center justify-content-center'
29127
+ }, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
29128
+ size: sectionproperties.callfloatingiconfontsize,
29129
+ style: {
29130
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
29131
+ }
29132
+ }))));
29133
+ };
29134
+
29135
+ function ownKeys$1_(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; }
29136
+ function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28873
29137
  var ClassicHeader = function ClassicHeader(props) {
28874
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
29138
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
28875
29139
  var LogoutMutationContext = props.actions.LogoutMutationContext;
28876
29140
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
28877
29141
  var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
@@ -28906,7 +29170,7 @@ var ClassicHeader = function ClassicHeader(props) {
28906
29170
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
28907
29171
  });
28908
29172
  }
28909
- setsectionproperties(_objectSpread$1$({}, secpropobj));
29173
+ setsectionproperties(_objectSpread$1_({}, secpropobj));
28910
29174
  }, [StatePagePropertiesContext]);
28911
29175
  var _useState3 = React.useState([]),
28912
29176
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
@@ -29163,74 +29427,10 @@ var ClassicHeader = function ClassicHeader(props) {
29163
29427
  sectionpropertiesprops: sectionproperties,
29164
29428
  templateproperties_contextprops: templateproperties_context,
29165
29429
  actions: actions
29166
- }), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
29167
- href: 'https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber),
29168
- target: '_blank',
29169
- style: {
29170
- position: 'fixed',
29171
- bottom: 10,
29172
- right: 10,
29173
- zIndex: 999999,
29174
- transition: 'all 0.3s ease-out'
29175
- }
29176
- }, /*#__PURE__*/React__default["default"].createElement("div", {
29177
- style: {
29178
- width: 40,
29179
- height: 40,
29180
- borderRadius: 100,
29181
- background: '#25D366',
29182
- cursor: 'pointer'
29183
- }
29184
- }, /*#__PURE__*/React__default["default"].createElement("i", {
29185
- "class": "h-100 allcentered"
29186
- }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
29187
- size: 25,
29188
- color: '#fff'
29189
- })))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
29190
- href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
29191
- target: '_blank',
29192
- style: {
29193
- position: 'fixed',
29194
- bottom: 60,
29195
- right: 10,
29196
- zIndex: 999999,
29197
- transition: 'all 0.3s ease-out'
29198
- }
29199
- }, /*#__PURE__*/React__default["default"].createElement("div", {
29200
- style: {
29201
- width: 40,
29202
- height: 40,
29203
- borderRadius: 100,
29204
- background: '#000',
29205
- cursor: 'pointer'
29206
- }
29207
- }, /*#__PURE__*/React__default["default"].createElement("i", {
29208
- "class": "h-100 allcentered"
29209
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlinePhone.AiOutlinePhone, {
29210
- size: 25,
29211
- color: '#fff',
29212
- style: {
29213
- transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
29214
- }
29215
- })))), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
29216
- style: {
29217
- position: 'fixed',
29218
- bottom: 15,
29219
- right: 15,
29220
- zIndex: 2000,
29221
- transition: 'all 0.3s ease-out',
29222
- width: '100%'
29223
- },
29224
- "class": "text-end"
29225
- }, /*#__PURE__*/React__default["default"].createElement("div", {
29226
- "class": header_cssstyles.floatingbtn + ' allcentered ',
29227
- style: {},
29228
- onClick: function onClick() {
29229
- routingcountext(sectionproperties.floatingbtnlink, false, '');
29230
- }
29231
- }, /*#__PURE__*/React__default["default"].createElement("p", {
29232
- "class": "m-0 p-0"
29233
- }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), /*#__PURE__*/React__default["default"].createElement("div", {
29430
+ }), /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
29431
+ sectionpropertiesprops: sectionproperties,
29432
+ actions: actions
29433
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
29234
29434
  "class": "row m-0",
29235
29435
  style: {
29236
29436
  width: sectionproperties.header_width + 'vw'
@@ -29536,24 +29736,16 @@ var ClassicHeader = function ClassicHeader(props) {
29536
29736
  "class": ' d-flex align-items-center justify-content-center '
29537
29737
  }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
29538
29738
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
29539
- }, /*#__PURE__*/React__default["default"].createElement("img", {
29540
- src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
29541
- style: {
29542
- maxWidth: '2.2vh',
29543
- maxHeight: '2.2vh'
29544
- }
29545
- }), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
29739
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
29740
+ "class": "mx-2"
29741
+ }, sectionproperties.englishlanguagetext), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
29546
29742
  "class": "ml-2 mr-2",
29547
29743
  size: sectionproperties.language_container_fontsize
29548
29744
  })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
29549
29745
  "class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
29550
- }, /*#__PURE__*/React__default["default"].createElement("img", {
29551
- src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
29552
- style: {
29553
- maxWidth: '2.2vh',
29554
- maxHeight: '2.2vh'
29555
- }
29556
- }), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
29746
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
29747
+ "class": "mx-2"
29748
+ }, sectionproperties.arabiclanguagetext), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
29557
29749
  "class": "ml-2 mr-2",
29558
29750
  size: sectionproperties.language_container_fontsize
29559
29751
  })))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
@@ -29569,13 +29761,7 @@ var ClassicHeader = function ClassicHeader(props) {
29569
29761
  fontWeight: sectionproperties.dropdown_fontweight,
29570
29762
  textTransform: sectionproperties.dropdown_texttransform
29571
29763
  }
29572
- }, /*#__PURE__*/React__default["default"].createElement("img", {
29573
- src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
29574
- style: {
29575
- maxWidth: '2vh',
29576
- maxHeight: '2vh'
29577
- }
29578
- }), /*#__PURE__*/React__default["default"].createElement("span", {
29764
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
29579
29765
  "class": 'ml-2 mr-2'
29580
29766
  }, 'لغة عربية')))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
29581
29767
  onClick: function onClick() {
@@ -29590,13 +29776,7 @@ var ClassicHeader = function ClassicHeader(props) {
29590
29776
  fontWeight: sectionproperties.dropdown_fontweight,
29591
29777
  textTransform: sectionproperties.dropdown_texttransform
29592
29778
  }
29593
- }, /*#__PURE__*/React__default["default"].createElement("img", {
29594
- src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
29595
- style: {
29596
- maxWidth: '2vh',
29597
- maxHeight: '2vh'
29598
- }
29599
- }), /*#__PURE__*/React__default["default"].createElement("span", {
29779
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
29600
29780
  "class": 'ml-2 mr-2'
29601
29781
  }, 'English')))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
29602
29782
  "class": "col-lg-12 allcentered p-0"
@@ -30087,8 +30267,8 @@ var css_248z$x = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
30087
30267
  var headerstyles$b = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
30088
30268
  styleInject(css_248z$x);
30089
30269
 
30090
- function ownKeys$1_(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; }
30091
- function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30270
+ function ownKeys$1Z(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; }
30271
+ function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30092
30272
  var CTAHeader = function CTAHeader(props) {
30093
30273
  var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22;
30094
30274
  var actions = props.actions;
@@ -30136,7 +30316,7 @@ var CTAHeader = function CTAHeader(props) {
30136
30316
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
30137
30317
  });
30138
30318
  }
30139
- setsectionproperties(_objectSpread$1_({}, secpropobj));
30319
+ setsectionproperties(_objectSpread$1Z({}, secpropobj));
30140
30320
  }, [StatePagePropertiesContext]);
30141
30321
  React.useEffect(function () {
30142
30322
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
@@ -31194,8 +31374,8 @@ var css_248z$w = ".Header_threesectionslogocentered-module_header_innercontainer
31194
31374
  var headerstyles$a = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
31195
31375
  styleInject(css_248z$w);
31196
31376
 
31197
- function ownKeys$1Z(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; }
31198
- function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
31377
+ function ownKeys$1Y(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; }
31378
+ function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
31199
31379
  var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
31200
31380
  var _authdetailsContext$i3, _authdetailsContext$i10, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i15;
31201
31381
  var _useState = React.useState(''),
@@ -31237,7 +31417,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
31237
31417
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
31238
31418
  });
31239
31419
  }
31240
- setsectionproperties(_objectSpread$1Z({}, secpropobj));
31420
+ setsectionproperties(_objectSpread$1Y({}, secpropobj));
31241
31421
  }, [StatePagePropertiesContext]);
31242
31422
  var _useState5 = React.useState([]),
31243
31423
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
@@ -32280,264 +32460,6 @@ var css_248z$v = ".Simpleheader-module_headercontainer__H09AD {\n position: a
32280
32460
  var headerstyles$9 = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
32281
32461
  styleInject(css_248z$v);
32282
32462
 
32283
- function ownKeys$1Y(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; }
32284
- function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32285
- var FloatingIcons = function FloatingIcons(props) {
32286
- var _authdetailsContext$i, _authdetailsContext$i2;
32287
- var _useState = React.useState(''),
32288
- _useState2 = _slicedToArray__default["default"](_useState, 2),
32289
- sectionproperties = _useState2[0],
32290
- setsectionproperties = _useState2[1];
32291
- var langdetect = props.actions.langdetect;
32292
- var authdetailsContext = props.actions.authdetailsContext;
32293
- var routingcountext = props.actions.routingcountext;
32294
- React.useEffect(function () {
32295
- if (props.sectionpropertiesprops != undefined) {
32296
- setsectionproperties(_objectSpread$1Y({}, props.sectionpropertiesprops));
32297
- }
32298
- }, [props.sectionpropertiesprops]);
32299
- var header_cssstyles = {
32300
- floatingwaicon: glamor.css({
32301
- position: 'fixed',
32302
- zIndex: 999999,
32303
- transition: 'all 0.3s ease-out',
32304
- bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
32305
- right: langdetect == 'en' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
32306
- left: langdetect == 'ar' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
32307
- width: sectionproperties.floatingwhatsappiconwidth + 'px',
32308
- height: sectionproperties.floatingwhatappiconheight + 'px',
32309
- background: sectionproperties.floatingwhatappiconbgcolor,
32310
- borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
32311
- fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
32312
- color: sectionproperties.floatingwhatsappiconcolor,
32313
- ':hover': {
32314
- color: sectionproperties.floatingwhatsappiconcoloronhover,
32315
- background: sectionproperties.floatingwhatappiconbgcoloronhover
32316
- }
32317
- }),
32318
- waicon: glamor.css({
32319
- color: sectionproperties.floatingwhatsappiconcolor,
32320
- ':hover': {
32321
- color: sectionproperties.floatingwhatsappiconcoloronhover
32322
- }
32323
- }),
32324
- fbfloatingicon: glamor.css({
32325
- position: 'fixed',
32326
- zIndex: 999999,
32327
- transition: 'all 0.3s ease-out',
32328
- bottom: sectionproperties.floatingfbfrombottom + 'px',
32329
- width: sectionproperties.floatingfbiconwidth + 'px',
32330
- height: sectionproperties.floatingfbiconheight + 'px',
32331
- background: sectionproperties.floatingfbiconbgcolor,
32332
- borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
32333
- fontSize: sectionproperties.floatingfbiconfontsize + 'px',
32334
- color: sectionproperties.floatingfbiconiconcolor,
32335
- ':hover': {
32336
- color: sectionproperties.floatingfbiconiconcoloronhover,
32337
- background: sectionproperties.floatingwhatappiconbgcoloronhover
32338
- }
32339
- }),
32340
- fbfloatingiconen: glamor.css({
32341
- right: sectionproperties.floatingfbfromright + 'px'
32342
- }),
32343
- fbfloatingiconar: glamor.css({
32344
- left: sectionproperties.floatingfbfromright + 'px'
32345
- }),
32346
- instagramfloatingicon: glamor.css({
32347
- position: 'fixed',
32348
- zIndex: 999999,
32349
- transition: 'all 0.3s ease-out',
32350
- bottom: sectionproperties.floatinginstagramfrombottom + 'px',
32351
- width: sectionproperties.floatinginstagramiconwidth + 'px',
32352
- height: sectionproperties.floatinginstagramiconheight + 'px',
32353
- background: sectionproperties.floatinginstagramiconbgcolor,
32354
- borderRadius: sectionproperties.floatinginstagramiconborderradius + 'px',
32355
- color: sectionproperties.floatinginstagramiconiconcolor,
32356
- ':hover': {
32357
- color: sectionproperties.floatinginstagramiconiconcoloronhover,
32358
- background: sectionproperties.floatinginstagramiconbgcoloronhover
32359
- }
32360
- }),
32361
- instagramfloatingiconen: glamor.css({
32362
- right: sectionproperties.floatinginstagramfromright + 'px'
32363
- }),
32364
- instagramfloatingiconar: glamor.css({
32365
- left: sectionproperties.floatinginstagramfromright + 'px'
32366
- }),
32367
- tiktokfloatingicon: glamor.css({
32368
- position: 'fixed',
32369
- zIndex: 999999,
32370
- transition: 'all 0.3s ease-out',
32371
- bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
32372
- width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
32373
- height: sectionproperties.tiktokfloatingiconheight + 'px',
32374
- background: sectionproperties.tiktokfloatingiconbgcolor,
32375
- borderRadius: sectionproperties.tiktokfloatingiconborderradius + 'px',
32376
- color: sectionproperties.tiktokfloatingiconcolor,
32377
- ':hover': {
32378
- color: sectionproperties.tiktokfloatingiconcoloronhover,
32379
- background: sectionproperties.tiktokfloatingiconbgcoloronhover
32380
- }
32381
- }),
32382
- tiktokfloatingiconen: glamor.css({
32383
- right: sectionproperties.tiktokfloatingiconfromright + 'px'
32384
- }),
32385
- tiktokfloatingiconar: glamor.css({
32386
- left: sectionproperties.tiktokfloatingiconfromright + 'px'
32387
- }),
32388
- floatingbtn: glamor.css({
32389
- position: 'fixed',
32390
- bottom: sectionproperties.floatingbtnfrombottom + 'px',
32391
- zIndex: 999999,
32392
- transition: 'all 0.3s ease-out',
32393
- width: sectionproperties.floatingbtnwidth + 'px',
32394
- height: sectionproperties.floatingbtnheight + 'px',
32395
- background: sectionproperties.floatingbtnbg,
32396
- fontSize: sectionproperties.floatingbtnfontsize + 'px',
32397
- color: sectionproperties.floatingbtncolor,
32398
- borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
32399
- ':hover': {
32400
- color: sectionproperties.floatingbtncolorhover,
32401
- backgroundColor: sectionproperties.floatingbtnbghover,
32402
- transitions: '.3s',
32403
- cursor: 'pointer'
32404
- }
32405
- // '@media (max-width: 800px)': {
32406
- // width: '50%',
32407
- // },
32408
- }),
32409
- floatingbtnen: glamor.css({
32410
- right: sectionproperties.floatingbtnfromright + 'px'
32411
- }),
32412
- floatingbtnar: glamor.css({
32413
- left: sectionproperties.floatingbtnfromright + 'px'
32414
- }),
32415
- callbtn: glamor.css({
32416
- position: 'fixed',
32417
- zIndex: 999999,
32418
- transition: 'all 0.3s ease-out',
32419
- width: sectionproperties.callfloatingiconiconwidth + 'px',
32420
- height: sectionproperties.callfloatingiconiconheight + 'px',
32421
- background: sectionproperties.callfloatingbgcolor,
32422
- borderRadius: sectionproperties.callfloatingiconiconborderradius + 'px',
32423
- color: sectionproperties.callfloatingcolor,
32424
- ':hover': {
32425
- color: sectionproperties.callfloatingcoloronhover,
32426
- background: sectionproperties.callfloatingbgcoloronhover
32427
- }
32428
- }),
32429
- callbtnen: glamor.css(_defineProperty__default["default"]({
32430
- right: sectionproperties.callppositionfromright + 'px'
32431
- }, "right", '20px')),
32432
- callbtnar: glamor.css({
32433
- left: sectionproperties.callppositionfromright + 'px'
32434
- })
32435
- };
32436
- var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
32437
- var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
32438
- return /*#__PURE__*/React__default["default"].createElement("div", {
32439
- "class": '',
32440
- style: {
32441
- position: 'relative'
32442
- }
32443
- }, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32444
- "class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
32445
- }, /*#__PURE__*/React__default["default"].createElement("a", {
32446
- href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
32447
- target: "_blank",
32448
- rel: "noopener noreferrer",
32449
- style: {},
32450
- "class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
32451
- }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
32452
- size: sectionproperties.floatingwhatsappiconiconfontsize
32453
- }), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
32454
- "class": langdetect == 'en' ? 'ml-1' : 'mr-1'
32455
- }, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32456
- "class": langdetect == 'en' ? "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconar) + ' allcentered cursor-pointer ',
32457
- onClick: function onClick() {
32458
- var _authdetailsContext$i3;
32459
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
32460
- var _authdetailsContext$i4;
32461
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
32462
- }
32463
- }
32464
- }, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
32465
- size: sectionproperties.floatingfbiconiconsize
32466
- })), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32467
- "class": langdetect == 'en' ? "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconar) + ' allcentered cursor-pointer ',
32468
- onClick: function onClick() {
32469
- var _authdetailsContext$i5;
32470
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
32471
- var _authdetailsContext$i6;
32472
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
32473
- }
32474
- }
32475
- }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
32476
- size: sectionproperties.floatinginstagramiconiconsize
32477
- })), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32478
- "class": langdetect == 'en' ? "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconar) + ' allcentered cursor-pointer ',
32479
- onClick: function onClick() {
32480
- var _authdetailsContext$i7;
32481
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
32482
- var _authdetailsContext$i8;
32483
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
32484
- }
32485
- }
32486
- }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
32487
- size: sectionproperties.tiktokfloatingiconiconfontsize
32488
- })), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
32489
- "class": langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ',
32490
- style: {},
32491
- onClick: function onClick() {
32492
- routingcountext(sectionproperties.floatingbtnlink, false, '');
32493
- }
32494
- }, /*#__PURE__*/React__default["default"].createElement("p", {
32495
- "class": "m-0 p-0"
32496
- }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
32497
- style: {
32498
- position: 'fixed',
32499
- bottom: sectionproperties.floatingbtnfrombottom + 'px',
32500
- right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
32501
- left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
32502
- zIndex: 2000,
32503
- transition: 'all 0.3s ease-out',
32504
- width: '100%'
32505
- },
32506
- "class": "text-end"
32507
- }, /*#__PURE__*/React__default["default"].createElement("div", {
32508
- "class": header_cssstyles.floatingbtn + ' allcentered ',
32509
- style: {},
32510
- onClick: function onClick() {
32511
- if (sectionproperties.btnlinktype == 'Website Link') {
32512
- routingcountext(sectionproperties.floatingbtnlink, false, '');
32513
- } else {
32514
- window.open(sectionproperties.floatingbtnlink, '_blank');
32515
-
32516
- // routingcountext(sectionproperties.floatingbtnlink, true, '');
32517
- }
32518
- }
32519
- }, /*#__PURE__*/React__default["default"].createElement("p", {
32520
- "class": "m-0 p-0"
32521
- }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
32522
- href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
32523
- target: '_self',
32524
- style: {
32525
- position: 'fixed',
32526
- bottom: sectionproperties.callppositionfrombottom + 'px',
32527
- zIndex: 999999,
32528
- transition: 'all 0.3s ease-out'
32529
- },
32530
- "class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) + ' allcentered ' : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar) + ' allcentered '
32531
- }, /*#__PURE__*/React__default["default"].createElement("i", {
32532
- "class": 'h-100 d-flex align-items-center justify-content-center'
32533
- }, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
32534
- size: sectionproperties.callfloatingiconfontsize,
32535
- style: {
32536
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
32537
- }
32538
- }))));
32539
- };
32540
-
32541
32463
  function ownKeys$1X(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; }
32542
32464
  function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32543
32465
  var Simpleheader = function Simpleheader(props) {
@@ -32769,9 +32691,17 @@ var Simpleheader = function Simpleheader(props) {
32769
32691
  ':hover': {
32770
32692
  color: sectionproperties.searchbariconcoloronhover
32771
32693
  }
32772
- })), "search_wrap", glamor.css({
32694
+ })), "currencycont", glamor.css({
32695
+ fontSize: 13,
32696
+ color: sectionproperties.searchbaricon_color,
32697
+ cursor: 'pointer',
32698
+ transition: '.3s',
32699
+ ':hover': {
32700
+ color: sectionproperties.searchbariconcoloronhover
32701
+ }
32702
+ })), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_header_cssstyles, "search_wrap", glamor.css({
32773
32703
  background: sectionproperties.searchbarcontinput_bgcolor
32774
- })), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_header_cssstyles, "search_form", glamor.css({
32704
+ })), "search_form", glamor.css({
32775
32705
  ':after': {
32776
32706
  backgroundColor: sectionproperties.searchbarcontinput_borderBottomcolor
32777
32707
  }
@@ -33264,11 +33194,11 @@ var Simpleheader = function Simpleheader(props) {
33264
33194
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
33265
33195
  "class": ' d-flex align-items-center justify-content-center '
33266
33196
  }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
33267
- "class": ' row m-0 w-100 d-flex align-items-center '
33197
+ "class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
33268
33198
  }, /*#__PURE__*/React__default["default"].createElement("p", {
33269
33199
  "class": "m-0 p-0 mr-2 ml-2"
33270
33200
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
33271
- "class": ' row m-0 w-100 d-flex align-items-center '
33201
+ "class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
33272
33202
  }, /*#__PURE__*/React__default["default"].createElement("p", {
33273
33203
  "class": "m-0 p-0 ml-2 mr-2"
33274
33204
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.map(function (item, index) {
@@ -37039,7 +36969,7 @@ var Modernheader = function Modernheader(props) {
37039
36969
  transition: '.3s ease-in-out'
37040
36970
  },
37041
36971
  ':hover .navbar_nav': {
37042
- backgroundColor: sectionproperties.uppersection_bgcolor,
36972
+ backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? sectionproperties.uppersection_bgcolor : '',
37043
36973
  transition: '.3s ease-in-out'
37044
36974
  }
37045
36975
  })
@@ -64573,35 +64503,27 @@ var CountDownSection = function CountDownSection(props) {
64573
64503
  paddingRight: langdetect == 'en' ? sectionproperties.paddinghorizontalresponsive + 'px' : sectionproperties.paddinghorizontalresponsive + 'px'
64574
64504
  }
64575
64505
  }),
64576
- sectiontitlespan: glamor.css({
64577
- ':after': {
64578
- height: '5px',
64579
- width: sectionproperties.sectitle_lineafterwidth + '%',
64580
- backgroundColor: sectionproperties.linebgcolor
64506
+ sectiontitle: glamor.css({
64507
+ fontSize: sectionproperties.countdowntitlefontsize + 'px',
64508
+ fontWeight: sectionproperties.countdowntitlefontweight,
64509
+ color: sectionproperties.countdowntitlecolor,
64510
+ '@media (max-width: 800px)': {
64511
+ fontSize: '15px'
64581
64512
  }
64582
64513
  }),
64583
- line_left: glamor.css({
64584
- height: '1px',
64585
- position: 'relative',
64586
- flex: '1 1 auto',
64587
- minWidth: '10%',
64588
- background: sectionproperties.linebgcolor
64589
- }),
64590
- line_right: glamor.css({
64591
- height: '1px',
64592
- position: 'relative',
64593
- flex: '1 1 auto',
64594
- minWidth: '10%',
64595
- background: sectionproperties.linebgcolor
64514
+ timewrapper: glamor.css({
64515
+ color: sectionproperties.timercolor,
64516
+ fontSize: sectionproperties.timerfontisze + 'px',
64517
+ fontWeight: 600,
64518
+ '@media (max-width: 800px)': {
64519
+ fontSize: '16px'
64520
+ }
64596
64521
  }),
64597
- sectiontitilecontainer: glamor.css({
64598
- marginTop: sectionproperties.showbadge == 'Show' ? 0 : sectionproperties.sectionTitleMarginTop + 'px',
64599
- marginBottom: sectionproperties.sectiontitledirection == 'Horizontal' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
64600
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
64601
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
64602
- '@media (max-width: 1024px)': {
64603
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem',
64604
- paddingRight: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem'
64522
+ daywrapper: glamor.css({
64523
+ fontSize: '14px',
64524
+ fontWeight: 400,
64525
+ '@media (max-width: 800px)': {
64526
+ fontSize: '12px'
64605
64527
  }
64606
64528
  })
64607
64529
  };
@@ -64621,13 +64543,7 @@ var CountDownSection = function CountDownSection(props) {
64621
64543
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64622
64544
  "class": "col-7 col-md-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-3 "
64623
64545
  }, /*#__PURE__*/React__default["default"].createElement("p", {
64624
- "class": "m-0 p-0 text-start text-md-center",
64625
- style: {
64626
- // fontSize: sectionproperties.timerfontisze+'px',
64627
- fontSize: sectionproperties.countdowntitlefontsize + 'px',
64628
- fontWeight: sectionproperties.countdowntitlefontweight,
64629
- color: sectionproperties.countdowntitlecolor
64630
- }
64546
+ "class": section_cssstyles.sectiontitle + ' m-0 p-0 text-start text-md-center '
64631
64547
  }, langdetect == 'en' ? sectionproperties.countdowntitleen : sectionproperties.countdowntitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
64632
64548
  "class": "col-5 col-md-12 d-flex flex-row allcentered"
64633
64549
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -64643,21 +64559,14 @@ var CountDownSection = function CountDownSection(props) {
64643
64559
  _ref.elapsedTime;
64644
64560
  _ref.color;
64645
64561
  return /*#__PURE__*/React__default["default"].createElement("span", {
64646
- style: {
64647
- color: sectionproperties.timercolor,
64648
- fontSize: sectionproperties.timerfontisze + 'px',
64649
- fontWeight: 600
64650
- },
64651
- "class": "allcentered"
64562
+ "class": section_cssstyles.timewrapper + ' allcentered '
64652
64563
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64653
64564
  className: "time-wrapper allcentered flex-column"
64654
64565
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64655
64566
  className: "time"
64656
64567
  }, days), /*#__PURE__*/React__default["default"].createElement("div", {
64657
- style: {
64658
- fontSize: '14px',
64659
- fontWeight: 400
64660
- }
64568
+ "class": section_cssstyles.daywrapper,
64569
+ style: {}
64661
64570
  }, langdetect == 'en' ? 'Days' : 'يوم')));
64662
64571
  })), /*#__PURE__*/React__default["default"].createElement("div", {
64663
64572
  className: " allcentered"
@@ -64672,21 +64581,14 @@ var CountDownSection = function CountDownSection(props) {
64672
64581
  _ref2.elapsedTime;
64673
64582
  _ref2.color;
64674
64583
  return /*#__PURE__*/React__default["default"].createElement("span", {
64675
- style: {
64676
- color: sectionproperties.timercolor,
64677
- fontSize: sectionproperties.timerfontisze + 'px',
64678
- fontWeight: 600
64679
- },
64680
- "class": "allcentered"
64584
+ "class": section_cssstyles.timewrapper + ' allcentered '
64681
64585
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64682
64586
  className: "time-wrapper allcentered flex-column"
64683
64587
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64684
64588
  className: "time"
64685
64589
  }, hours), /*#__PURE__*/React__default["default"].createElement("div", {
64686
- style: {
64687
- fontSize: '14px',
64688
- fontWeight: 400
64689
- }
64590
+ "class": section_cssstyles.daywrapper,
64591
+ style: {}
64690
64592
  }, langdetect == 'en' ? 'Hours' : 'ساعة')));
64691
64593
  })), /*#__PURE__*/React__default["default"].createElement("div", {
64692
64594
  className: "allcentered"
@@ -64701,21 +64603,14 @@ var CountDownSection = function CountDownSection(props) {
64701
64603
  _ref3.elapsedTime;
64702
64604
  _ref3.color;
64703
64605
  return /*#__PURE__*/React__default["default"].createElement("span", {
64704
- style: {
64705
- color: sectionproperties.timercolor,
64706
- fontSize: sectionproperties.timerfontisze + 'px',
64707
- fontWeight: 600
64708
- },
64709
- "class": "allcentered"
64606
+ "class": section_cssstyles.timewrapper + ' allcentered '
64710
64607
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64711
64608
  className: "time-wrapper allcentered flex-column"
64712
64609
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64713
64610
  className: "time"
64714
64611
  }, minutes), /*#__PURE__*/React__default["default"].createElement("div", {
64715
- style: {
64716
- fontSize: '14px',
64717
- fontWeight: 400
64718
- }
64612
+ "class": section_cssstyles.daywrapper,
64613
+ style: {}
64719
64614
  }, langdetect == 'en' ? 'Minutes' : 'دقيقة')));
64720
64615
  })), /*#__PURE__*/React__default["default"].createElement("div", {
64721
64616
  className: "allcentered"
@@ -64730,21 +64625,14 @@ var CountDownSection = function CountDownSection(props) {
64730
64625
  _ref4.elapsedTime;
64731
64626
  _ref4.color;
64732
64627
  return /*#__PURE__*/React__default["default"].createElement("span", {
64733
- style: {
64734
- color: sectionproperties.timercolor,
64735
- fontSize: sectionproperties.timerfontisze + 'px',
64736
- fontWeight: 600
64737
- },
64738
- "class": "allcentered"
64628
+ "class": section_cssstyles.timewrapper + ' allcentered '
64739
64629
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64740
64630
  className: "time-wrapper allcentered flex-column"
64741
64631
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64742
64632
  className: "time"
64743
64633
  }, seconds), /*#__PURE__*/React__default["default"].createElement("div", {
64744
- style: {
64745
- fontSize: '14px',
64746
- fontWeight: 400
64747
- }
64634
+ "class": section_cssstyles.daywrapper,
64635
+ style: {}
64748
64636
  }, langdetect == 'en' ? 'Seconds' : 'ثانية')));
64749
64637
  }))))));
64750
64638
  };