tabexseriescomponents 0.0.571 → 0.0.574

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
@@ -2295,7 +2295,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
2295
2295
  };
2296
2296
 
2297
2297
  var DescriptionContent = function DescriptionContent(props) {
2298
- var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
2298
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
2299
2299
  var lang = props.actions.lang;
2300
2300
  var langdetect = props.actions.langdetect;
2301
2301
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
@@ -2306,7 +2306,7 @@ var DescriptionContent = function DescriptionContent(props) {
2306
2306
  setShowMore = _useState2[1];
2307
2307
  var ikimagecredcontext = props.actions.ikimagecredcontext;
2308
2308
  return /*#__PURE__*/React__default["default"].createElement("div", {
2309
- "class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
2309
+ "class": props.srcfromprops == 'Articles' ? 'mt-3 px-3 mb-4' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
2310
2310
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2311
2311
  "class": "row m-0 w-100"
2312
2312
  }, sectionproperties.gallerystyle == 'Style 2' && props.srcfromprops != 'collap' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -2324,7 +2324,7 @@ var DescriptionContent = function DescriptionContent(props) {
2324
2324
  className: "row m-0 w-100 d-flex"
2325
2325
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2326
2326
  "class": "col-lg-12 p-0 d-flex justify-content-start"
2327
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2327
+ }, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
2328
2328
  className: 'm-0 p-0 wordbreak',
2329
2329
  style: {
2330
2330
  textAlign: langdetect == 'en' ? 'left' : 'right',
@@ -2333,35 +2333,52 @@ var DescriptionContent = function DescriptionContent(props) {
2333
2333
  dangerouslySetInnerHTML: {
2334
2334
  __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.description_en.slice(0, 1000)
2335
2335
  }
2336
- })), /*#__PURE__*/React__default["default"].createElement("div", {
2336
+ }), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
2337
+ className: 'm-0 p-0 wordbreak',
2338
+ style: {
2339
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2340
+ color: '#000000'
2341
+ },
2342
+ dangerouslySetInnerHTML: {
2343
+ __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.description_en
2344
+ }
2345
+ })), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
2337
2346
  "class": "col-lg-12 allcentered"
2338
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
2347
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
2339
2348
  "class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
2340
2349
  onClick: function onClick() {
2341
2350
  return setShowMore(!showMore);
2342
2351
  }
2343
- }, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2352
+ }, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2344
2353
  className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
2345
2354
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2346
2355
  className: "row m-0 w-100 d-flex"
2347
2356
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2348
2357
  "class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
2349
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2358
+ }, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
2350
2359
  className: 'text-black m-0 p-0 wordbreak',
2351
2360
  style: {
2352
2361
  textAlign: langdetect == 'en' ? 'left' : 'right'
2353
2362
  },
2354
2363
  dangerouslySetInnerHTML: {
2355
- __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.description_ar.slice(0, 1000)
2364
+ __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.description_ar.slice(0, 1000)
2356
2365
  }
2357
- })), /*#__PURE__*/React__default["default"].createElement("div", {
2366
+ }), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
2367
+ className: 'text-black m-0 p-0 wordbreak',
2368
+ style: {
2369
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2370
+ },
2371
+ dangerouslySetInnerHTML: {
2372
+ __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.description_ar
2373
+ }
2374
+ })), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
2358
2375
  "class": "col-lg-12 allcentered"
2359
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
2376
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
2360
2377
  "class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
2361
2378
  onClick: function onClick() {
2362
2379
  return setShowMore(!showMore);
2363
2380
  }
2364
- }, showMore ? lang.showless : lang.showmore)))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productimages) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2381
+ }, showMore ? lang.showless : lang.showmore)))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productimages) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2365
2382
  "class": "col-lg-12 p-0"
2366
2383
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2367
2384
  "class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
@@ -2369,7 +2386,7 @@ var DescriptionContent = function DescriptionContent(props) {
2369
2386
  paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
2370
2387
  paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
2371
2388
  }
2372
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productimages) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.map(function (item, index) {
2389
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productimages) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.map(function (item, index) {
2373
2390
  if (index <= 6) {
2374
2391
  return /*#__PURE__*/React__default["default"].createElement("div", {
2375
2392
  "class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
@@ -5143,6 +5160,177 @@ var Service_itemtype = function Service_itemtype(props) {
5143
5160
  }, StoreInfoprops()))));
5144
5161
  };
5145
5162
 
5163
+ var Article_itemtype = function Article_itemtype(props) {
5164
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6;
5165
+ props.actions.lang;
5166
+ var langdetect = props.actions.langdetect;
5167
+ var srcfromprops = props.actions.srcfromprops;
5168
+ props.actions.returnpolicyobj;
5169
+ var productinfo_cssstyles = props.actions.productinfo_cssstyles;
5170
+ props.actions.addtocartfunc;
5171
+ props.actions.selectproductoptionvalue;
5172
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
5173
+ props.actions.productimagesarray;
5174
+ var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
5175
+ var sectionproperties = props.actions.sectionproperties;
5176
+ props.actions.addtocardpayloadobj;
5177
+ props.actions.setaddtocardpayloadobj;
5178
+ var routingcountext = props.actions.routingcountext;
5179
+ props.actions.AddtoCartMutationContext;
5180
+ var authdetailsContext = props.actions.authdetailsContext;
5181
+ props.actions.variantsku;
5182
+ props.actions.addtofavoritescontext;
5183
+ props.actions.variantindexcompleted;
5184
+ props.actions.ProductInfoObj;
5185
+ props.actions.NotificationManager;
5186
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
5187
+ props.actions.getprice_discountpriceprops;
5188
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
5189
+ var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
5190
+ props.actions.StoreInfoprops;
5191
+ var _useState = React.useState(currentshowingimageindex_pro),
5192
+ _useState2 = _slicedToArray__default["default"](_useState, 2);
5193
+ _useState2[0];
5194
+ _useState2[1];
5195
+ // const DescriptionContent = props.actions.DescriptionContent;
5196
+ var _useState3 = React.useState(''),
5197
+ _useState4 = _slicedToArray__default["default"](_useState3, 2);
5198
+ _useState4[0];
5199
+ var setshareUrl = _useState4[1];
5200
+ var _useState5 = React.useState(''),
5201
+ _useState6 = _slicedToArray__default["default"](_useState5, 2);
5202
+ _useState6[0];
5203
+ var settitle = _useState6[1];
5204
+ var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
5205
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
5206
+ _useState8[0];
5207
+ var setitem = _useState8[1];
5208
+ React.useEffect(function () {
5209
+ var itemobj = fetchProductInfoQueryContext.data.data.productinfo;
5210
+ if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.name_en)) {
5211
+ itemobj.titlelang = 'en';
5212
+ } else {
5213
+ itemobj.titlelang = 'ar';
5214
+ }
5215
+ if (stringIsEnglish(fetchProductInfoQueryContext.data.data.productinfo.description_en)) {
5216
+ itemobj.decriptionlang = 'en';
5217
+ } else {
5218
+ itemobj.decriptionlang = 'ar';
5219
+ }
5220
+ setitem(itemobj);
5221
+ settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
5222
+ setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
5223
+ }, [props.itemprops]);
5224
+ function stringIsEnglish(str) {
5225
+ var titlelang = 'English';
5226
+ var arabic = /[\u0600-\u06FF]/;
5227
+ if (!arabic.test(str)) {
5228
+ titlelang = true;
5229
+ } else {
5230
+ titlelang = false;
5231
+ }
5232
+ return titlelang;
5233
+ }
5234
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5235
+ className: sectionproperties.card_marginLeft != 0 ? ' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ' : ' row m-0 w-100 p-sm-0 ',
5236
+ style: {
5237
+ paddingLeft: srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
5238
+ paddingRight: srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
5239
+ }
5240
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5241
+ "class": ' col-lg-12 p-0 '
5242
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5243
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
5244
+ style: {
5245
+ minHeight: sectionproperties.height + 'vh'
5246
+ // paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
5247
+ // paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
5248
+ }
5249
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5250
+ "class": "w-100 scrollhorizontalwithscrollbar "
5251
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productimages) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.productimages.map(function (item, index) {
5252
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5253
+ "class": ' scrollhorizontalcard mx-2 ',
5254
+ style: {
5255
+ height: sectionproperties.image_height + 'px',
5256
+ width: sectionproperties.image_width + 'px'
5257
+ }
5258
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
5259
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
5260
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
5261
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.path,
5262
+ style: {
5263
+ width: '100%',
5264
+ height: '100%',
5265
+ objectFit: 'contain'
5266
+ },
5267
+ loading: "lazy"
5268
+ }));
5269
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
5270
+ "class": "col-lg-12 p-0"
5271
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5272
+ "class": "row mx-0 w-100",
5273
+ style: {
5274
+ marginTop: '3rem'
5275
+ }
5276
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5277
+ className: 'col-lg-12 px-3 px-md-2'
5278
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5279
+ className: 'row m-0 w-100'
5280
+ }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
5281
+ className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
5282
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5283
+ className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
5284
+ style: {
5285
+ textAlign: langdetect == 'en' ? 'left' : 'right',
5286
+ fontWeight: 400,
5287
+ color: sectionproperties.measurementunitcolor,
5288
+ fontSize: sectionproperties.measurementunitcolor + 'px'
5289
+ }
5290
+ }, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
5291
+ className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
5292
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5293
+ className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
5294
+ onClick: function onClick() {
5295
+ if (props.srcfromprops != 'templatedraftrouter') {
5296
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
5297
+ }
5298
+ },
5299
+ style: {
5300
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5301
+ }
5302
+ }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.short_description_en) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5303
+ "class": "col-lg-12 p-0"
5304
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5305
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
5306
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5307
+ className: 'text-black m-0 p-0 wordbreak',
5308
+ style: {
5309
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5310
+ },
5311
+ dangerouslySetInnerHTML: {
5312
+ __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.short_description_en
5313
+ }
5314
+ }))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.short_description_ar) != null && /*#__PURE__*/React__default["default"].createElement("div", {
5315
+ "class": "col-lg-12 p-0"
5316
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5317
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
5318
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5319
+ className: 'text-black m-0 p-0 wordbreak',
5320
+ style: {
5321
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5322
+ },
5323
+ dangerouslySetInnerHTML: {
5324
+ __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.short_description_ar
5325
+ }
5326
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
5327
+ "class": "col-lg-12 p-0"
5328
+ }, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
5329
+ actions: props.actions,
5330
+ srcfromprops: 'Articles'
5331
+ })))))))));
5332
+ };
5333
+
5146
5334
  function ownKeys$2s(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; }
5147
5335
  function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5148
5336
  var AddReview = function AddReview(props) {
@@ -5655,7 +5843,7 @@ var ProductReviews = function ProductReviews(props) {
5655
5843
  function ownKeys$2q(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; }
5656
5844
  function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5657
5845
  var Productinfo = function Productinfo(props) {
5658
- var _css, _ref, _ref2, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
5846
+ var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
5659
5847
  var _useState = React.useState({}),
5660
5848
  _useState2 = _slicedToArray__default["default"](_useState, 2),
5661
5849
  ProductInfoObj = _useState2[0],
@@ -7071,7 +7259,7 @@ var Productinfo = function Productinfo(props) {
7071
7259
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
7072
7260
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
7073
7261
  }
7074
- }, fetchProductInfoQueryContext.data.data.productinfo.item_type != 'service' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
7262
+ }, fetchProductInfoQueryContext.data.data.productinfo.item_type == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
7075
7263
  actions: (_ref = {
7076
7264
  setisoutofstock: setisoutofstock,
7077
7265
  isoutofstock: isoutofstock,
@@ -7080,8 +7268,17 @@ var Productinfo = function Productinfo(props) {
7080
7268
  lang: lang,
7081
7269
  srcfromprops: props.srcfromprops
7082
7270
  }, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref, "variantindex", variantindex), _defineProperty__default["default"](_ref, "setvariantindex", setvariantindex), _defineProperty__default["default"](_ref, "variantsku", variantsku), _defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), _ref)
7083
- }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
7271
+ }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
7084
7272
  actions: (_ref2 = {
7273
+ setisoutofstock: setisoutofstock,
7274
+ isoutofstock: isoutofstock,
7275
+ returnpolicyobj: returnpolicyobj,
7276
+ langdetect: langdetect,
7277
+ lang: lang,
7278
+ srcfromprops: props.srcfromprops
7279
+ }, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref2, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref2, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref2, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref2, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref2, "variantindex", variantindex), _defineProperty__default["default"](_ref2, "setvariantindex", setvariantindex), _defineProperty__default["default"](_ref2, "variantsku", variantsku), _defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), _ref2)
7280
+ }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
7281
+ actions: (_ref3 = {
7085
7282
  variantsku: variantsku,
7086
7283
  setisoutofstock: setisoutofstock,
7087
7284
  isoutofstock: isoutofstock,
@@ -7089,7 +7286,7 @@ var Productinfo = function Productinfo(props) {
7089
7286
  langdetect: langdetect,
7090
7287
  lang: lang,
7091
7288
  srcfromprops: props.srcfromprops
7092
- }, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref2, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref2, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref2, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref2, "ikimagecredcontext", ikimagecredcontext), _ref2)
7289
+ }, _defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref3, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref3, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref3, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref3, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref3, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref3, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref3, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref3, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref3, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref3, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref3, "routingcountext", routingcountext), _defineProperty__default["default"](_ref3, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref3, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref3, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref3, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref3, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref3, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref3, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref3, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref3, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref3, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref3, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref3, "ikimagecredcontext", ikimagecredcontext), _ref3)
7093
7290
  }), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
7094
7291
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
7095
7292
  style: {
@@ -16707,192 +16904,180 @@ var Filter$1 = function Filter(props) {
16707
16904
  function ownKeys$2a(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; }
16708
16905
  function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16709
16906
  var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
16710
- var _authdetailsContext$i;
16711
16907
  props.actions.lang;
16712
16908
  var langdetect = props.actions.langdetect;
16713
16909
  props.actions.productfiltercontext;
16714
16910
  props.actions.setproductfiltercontext;
16715
16911
  var ProductFilterObjContext = props.actions.ProductFilterObjContext;
16716
16912
  var setProductFilterObjContext = props.actions.setProductFilterObjContext;
16717
- var authdetailsContext = props.actions.authdetailsContext;
16913
+ props.actions.authdetailsContext;
16718
16914
  var routingcountext = props.actions.routingcountext;
16719
16915
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16720
16916
  props.actions.ikimagecredcontext;
16721
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
16722
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
16917
+ props.actions.FetchQueriesEngineContext;
16918
+ props.actions.setFetchQueriesEngineContext;
16919
+ props.actions.fetchcollectionsQueryContext;
16920
+ var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
16723
16921
  var _useState = React.useState(''),
16724
16922
  _useState2 = _slicedToArray__default["default"](_useState, 2),
16725
16923
  sectionproperties = _useState2[0],
16726
16924
  setsectionproperties = _useState2[1];
16727
16925
  var _useState3 = React.useState([]),
16728
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
16729
- collectionstobevisible = _useState4[0],
16730
- setcollectionstobevisible = _useState4[1];
16731
- var _useState5 = React.useState(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections)),
16926
+ _useState4 = _slicedToArray__default["default"](_useState3, 2);
16927
+ _useState4[0];
16928
+ _useState4[1];
16929
+ // const [instcollections, setinstcollections] = useState([...fetchcollectionsQueryContext?.data?.data?.collections]);
16930
+ var _useState5 = React.useState([]),
16732
16931
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
16733
- instcollections = _useState6[0],
16734
- setinstcollections = _useState6[1];
16735
- var _useState7 = React.useState(_toConsumableArray__default["default"](authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories)),
16736
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
16737
- instcategories = _useState8[0],
16738
- setinstcategories = _useState8[1];
16739
- var _useState9 = React.useState(false),
16740
- _useState10 = _slicedToArray__default["default"](_useState9, 2);
16741
- _useState10[0];
16742
- _useState10[1];
16932
+ instcategories = _useState6[0],
16933
+ setinstcategories = _useState6[1];
16934
+ var _useState7 = React.useState(false),
16935
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
16936
+ _useState8[0];
16937
+ _useState8[1];
16743
16938
  React.useEffect(function () {
16744
- filterupdater();
16939
+ // filterupdater();
16745
16940
  }, []);
16746
16941
  React.useEffect(function () {
16747
- var _authdetailsContext$i2;
16748
- setinstcollections(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections));
16749
- setinstcategories(_toConsumableArray__default["default"](authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instcategories));
16750
- }, [authdetailsContext]);
16942
+ if (fetchCategoriesQueryContext.isSuccess) {
16943
+ var _fetchCategoriesQuery;
16944
+ setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
16945
+ }
16946
+ }, [fetchCategoriesQueryContext.isSuccess]);
16751
16947
  React.useEffect(function () {
16752
16948
  if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
16753
16949
  setsectionproperties(props.sectionpropertiesprops);
16754
16950
  }
16755
16951
  }, [props.sectionpropertiesprops]);
16756
16952
  React.useEffect(function () {
16757
- filterupdater();
16758
- }, [ProductFilterObjContext]);
16759
- React.useEffect(function () {
16760
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
16761
- if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
16762
- var _parentidsfound;
16763
- var collectiontobevisible = [];
16764
- var parentidsfound = [];
16765
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16766
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
16767
- } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16768
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16769
- var _ProductFilterObjCont;
16770
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
16771
- if (catitem.categoryid == colitem2) {
16772
- var _catitem$parentcollet;
16773
- catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
16774
- parentidsfound.push(parentcolitem.parentcollectionid);
16775
- });
16776
- }
16777
- });
16778
- });
16779
- } else {
16780
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16781
- var _catitem$parentcollet2;
16782
- catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
16783
- var _parentcolitem$collec;
16784
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
16785
- var _ProductFilterObjCont2;
16786
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
16787
- if (colitem.collectionid == colitem2) {
16788
- parentidsfound.push(parentcolitem.parentcollectionid);
16789
- }
16790
- });
16791
- });
16792
- });
16793
- });
16794
- }
16795
- parentidsfound = parentidsfound.filter(function (val, id, array) {
16796
- return array.indexOf(val) == id;
16797
- });
16798
- if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
16799
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16800
- var _catitem$parentcollet3;
16801
- catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
16802
- var _parentidsfound2;
16803
- (_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
16804
- if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
16805
- var _parentcolitem$collec2;
16806
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
16807
- var iscolexists = false;
16808
- collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
16809
- if (colitemex.collectionid == colitem.collectionid) {
16810
- iscolexists = true;
16811
- }
16812
- });
16813
- if (iscolexists == false) {
16814
- collectiontobevisible.push(colitem);
16815
- }
16816
- });
16817
- }
16818
- });
16819
- });
16820
- });
16821
- if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
16822
- setcollectionstobevisible(collectiontobevisible);
16823
- } else {
16824
- setcollectionstobevisible(instcollections);
16825
- }
16826
- } else {
16827
- setcollectionstobevisible(instcollections);
16828
- }
16829
- } else {
16830
- setcollectionstobevisible(instcollections);
16831
- }
16832
- } else {
16833
- setcollectionstobevisible(instcollections);
16834
- }
16953
+ // filterupdater();
16835
16954
  }, [ProductFilterObjContext]);
16836
- var filterupdater = function filterupdater() {
16837
- setTimeout(function () {
16838
- var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
16839
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
16840
- setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
16841
- }, 100);
16842
- if (instcategories.length != 0) {
16843
- var _ProductFilterObjCont3;
16844
- var tempInstcategories = _toConsumableArray__default["default"](instcategories);
16845
- tempInstcategories.forEach(function (catitem, catindex) {
16846
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16847
- parentcolitem.collections.forEach(function (colitem, colindex) {
16848
- colitem.isfilterselected = false;
16849
- });
16850
- });
16851
- });
16852
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
16853
- tempInstcategories.forEach(function (catitem, catindex) {
16854
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16855
- parentcolitem.collections.forEach(function (colitem, colindex) {
16856
- if (colitem.collectionid == filteritem) {
16857
- colitem.isfilterselected = true;
16858
- }
16859
- });
16860
- });
16861
- });
16862
- });
16863
- setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
16864
- }
16865
- if (instcollections.length != 0) {
16866
- var _ProductFilterObjCont4;
16867
- var tempInstcollections = _toConsumableArray__default["default"](instcollections);
16868
- tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
16869
- instfilteritem.isfilterselected = false;
16870
- });
16871
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
16872
- tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
16873
- if (instfilteritem.collectionid == filteritem) {
16874
- instfilteritem.isfilterselected = true;
16875
- }
16876
- });
16877
- });
16878
- setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
16879
- }
16880
- };
16955
+
16956
+ // useEffect(() => {
16957
+ // if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
16958
+ // if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
16959
+ // var collectiontobevisible = [];
16960
+ // var parentidsfound = [];
16961
+ // if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16962
+ // parentidsfound = ProductFilterObjContext?.collections;
16963
+ // } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16964
+ // instcategories?.forEach(function (catitem, catindex) {
16965
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16966
+ // if (catitem.categoryid == colitem2) {
16967
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16968
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16969
+ // });
16970
+ // }
16971
+ // });
16972
+ // });
16973
+ // } else {
16974
+ // instcategories?.forEach(function (catitem, catindex) {
16975
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16976
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16977
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16978
+ // if (colitem.collectionid == colitem2) {
16979
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16980
+ // }
16981
+ // });
16982
+ // });
16983
+ // });
16984
+ // });
16985
+ // }
16986
+
16987
+ // parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
16988
+
16989
+ // if (parentidsfound?.length != 0) {
16990
+ // instcategories?.forEach(function (catitem, catindex) {
16991
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16992
+ // parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
16993
+ // if (parentidfounditem == parentcolitem?.parentcollectionid) {
16994
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16995
+ // var iscolexists = false;
16996
+ // collectiontobevisible?.forEach(function (colitemex, colindexex) {
16997
+ // if (colitemex.collectionid == colitem.collectionid) {
16998
+ // iscolexists = true;
16999
+ // }
17000
+ // });
17001
+ // if (iscolexists == false) {
17002
+ // collectiontobevisible.push(colitem);
17003
+ // }
17004
+ // });
17005
+ // }
17006
+ // });
17007
+ // });
17008
+ // });
17009
+
17010
+ // if (collectiontobevisible?.length != 0) {
17011
+ // setcollectionstobevisible(collectiontobevisible);
17012
+ // } else {
17013
+ // setcollectionstobevisible(instcollections);
17014
+ // }
17015
+ // } else {
17016
+ // setcollectionstobevisible(instcollections);
17017
+ // }
17018
+ // } else {
17019
+ // setcollectionstobevisible(instcollections);
17020
+ // }
17021
+ // } else {
17022
+ // setcollectionstobevisible(instcollections);
17023
+ // }
17024
+ // }, [ProductFilterObjContext]);
17025
+
17026
+ // const filterupdater = () => {
17027
+ // if (instcategories.length != 0) {
17028
+ // var tempInstcategories = [...instcategories];
17029
+ // tempInstcategories.forEach(function (catitem, catindex) {
17030
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
17031
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
17032
+ // colitem.isfilterselected = false;
17033
+ // });
17034
+ // });
17035
+ // });
17036
+
17037
+ // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
17038
+ // tempInstcategories.forEach(function (catitem, catindex) {
17039
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
17040
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
17041
+ // if (colitem.collectionid == filteritem) {
17042
+ // colitem.isfilterselected = true;
17043
+ // }
17044
+ // });
17045
+ // });
17046
+ // });
17047
+ // });
17048
+
17049
+ // setinstcategories([...tempInstcategories]);
17050
+ // }
17051
+ // // if (instcollections.length != 0) {
17052
+ // // var tempInstcollections = [...instcollections];
17053
+ // // tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
17054
+ // // instfilteritem.isfilterselected = false;
17055
+ // // });
17056
+ // // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
17057
+ // // tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
17058
+ // // if (instfilteritem.collectionid == filteritem) {
17059
+ // // instfilteritem.isfilterselected = true;
17060
+ // // }
17061
+ // // });
17062
+ // // });
17063
+ // // setinstcollections([...tempInstcollections]);
17064
+ // // }
17065
+ // };
16881
17066
  var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
16882
17067
  var _tempfetchproductsfil;
16883
17068
  var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
16884
17069
  var CollectionExists = false;
16885
- tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
17070
+ tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.categories) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
16886
17071
  if (filteritem == collectionid) {
16887
17072
  CollectionExists = true;
16888
- tempfetchproductsfilerobjcontext.collections.splice(filterindex, 1);
17073
+ tempfetchproductsfilerobjcontext.categories.splice(filterindex, 1);
16889
17074
  }
16890
17075
  });
16891
17076
  if (!CollectionExists) {
16892
- if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
16893
- tempfetchproductsfilerobjcontext.collections = [collectionid];
17077
+ if (tempfetchproductsfilerobjcontext.categories != undefined && Array.isArray(tempfetchproductsfilerobjcontext.categories)) {
17078
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16894
17079
  } else {
16895
- tempfetchproductsfilerobjcontext.collections = [collectionid];
17080
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16896
17081
  }
16897
17082
  }
16898
17083
  tempfetchproductsfilerobjcontext.page = 0;
@@ -16905,11 +17090,11 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
16905
17090
  var CollectionsFilter = function CollectionsFilter() {
16906
17091
  return /*#__PURE__*/React__default["default"].createElement("div", {
16907
17092
  "class": "col-lg-12 p-0 scrollhorixontalcontainer text-center px-sm-3"
16908
- }, collectionstobevisible.map(function (item, index) {
17093
+ }, instcategories.map(function (item, index) {
16909
17094
  return /*#__PURE__*/React__default["default"].createElement("p", {
16910
17095
  "class": filter_cssstyles.filteritem + ' m-0 p-0 cursor-pointer scrollhorixontaldiv mx-4 mx-sm-2 ',
16911
17096
  onClick: function onClick() {
16912
- setCollectionFilterFunc(item.collectionid);
17097
+ setCollectionFilterFunc(item.categoryid);
16913
17098
  },
16914
17099
  style: {
16915
17100
  color: item.isfilterselected ? sectionproperties.activecat_color : ''
@@ -42588,7 +42773,7 @@ var Footer1 = function Footer1(props) {
42588
42773
  function ownKeys$1B(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; }
42589
42774
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
42590
42775
  var Footer2 = function Footer2(props) {
42591
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
42776
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _authdetailsContext$i19, _authdetailsContext$i20;
42592
42777
  var _useState = React.useState(''),
42593
42778
  _useState2 = _slicedToArray__default["default"](_useState, 2),
42594
42779
  sectionproperties = _useState2[0],
@@ -42749,6 +42934,16 @@ var Footer2 = function Footer2(props) {
42749
42934
  }
42750
42935
  })
42751
42936
  };
42937
+ var returnpolicyobj = function returnpolicyobj(policytype) {
42938
+ var _authdetailsContext$i;
42939
+ var policyobj = {};
42940
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
42941
+ if (item.policytype == policytype) {
42942
+ policyobj = item;
42943
+ }
42944
+ });
42945
+ return policyobj;
42946
+ };
42752
42947
  return /*#__PURE__*/React__default["default"].createElement("div", {
42753
42948
  "class": "row m-0 w-100 d-flex justify-content-center"
42754
42949
  }, /*#__PURE__*/React__default["default"].createElement("footer", {
@@ -42778,15 +42973,15 @@ var Footer2 = function Footer2(props) {
42778
42973
  fontSize: sectionproperties.titlefontsize + 'px',
42779
42974
  marginLeft: sectionproperties.titlemarginleft + 'px'
42780
42975
  }
42781
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
42976
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
42782
42977
  "class": " col-lg-12 d-flex flex-row align-items-center justify-content-center "
42783
42978
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42784
42979
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42785
42980
  onClick: function onClick() {
42786
- var _authdetailsContext$i2;
42787
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
42788
- var _authdetailsContext$i3;
42789
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
42981
+ var _authdetailsContext$i3;
42982
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
42983
+ var _authdetailsContext$i4;
42984
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
42790
42985
  }
42791
42986
  }
42792
42987
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
@@ -42794,10 +42989,10 @@ var Footer2 = function Footer2(props) {
42794
42989
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42795
42990
  "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42796
42991
  onClick: function onClick() {
42797
- var _authdetailsContext$i4;
42798
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
42799
- var _authdetailsContext$i5;
42800
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
42992
+ var _authdetailsContext$i5;
42993
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
42994
+ var _authdetailsContext$i6;
42995
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
42801
42996
  }
42802
42997
  }
42803
42998
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
@@ -42805,43 +43000,43 @@ var Footer2 = function Footer2(props) {
42805
43000
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42806
43001
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42807
43002
  onClick: function onClick() {
42808
- var _authdetailsContext$i6;
42809
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
42810
- var _authdetailsContext$i7;
42811
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
43003
+ var _authdetailsContext$i7;
43004
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
43005
+ var _authdetailsContext$i8;
43006
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
42812
43007
  }
42813
43008
  }
42814
43009
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42815
43010
  size: sectionproperties.youtubebtniconfontsize
42816
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
43011
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42817
43012
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42818
43013
  onClick: function onClick() {
42819
- var _authdetailsContext$i9;
42820
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null) {
42821
- var _authdetailsContext$i10;
42822
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink, '_blank');
43014
+ var _authdetailsContext$i10;
43015
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null) {
43016
+ var _authdetailsContext$i11;
43017
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink, '_blank');
42823
43018
  }
42824
43019
  }
42825
43020
  }, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
42826
43021
  size: sectionproperties.instgrambtniconfontsize
42827
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
43022
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42828
43023
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42829
43024
  onClick: function onClick() {
42830
- var _authdetailsContext$i12;
42831
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null) {
42832
- var _authdetailsContext$i13;
42833
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink, '_blank');
43025
+ var _authdetailsContext$i13;
43026
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
43027
+ var _authdetailsContext$i14;
43028
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
42834
43029
  }
42835
43030
  }
42836
43031
  }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
42837
43032
  size: sectionproperties.instgrambtniconfontsize
42838
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
43033
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42839
43034
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42840
43035
  onClick: function onClick() {
42841
- var _authdetailsContext$i15;
42842
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
42843
- var _authdetailsContext$i16;
42844
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink, '_blank');
43036
+ var _authdetailsContext$i16;
43037
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null) {
43038
+ var _authdetailsContext$i17;
43039
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink, '_blank');
42845
43040
  }
42846
43041
  }
42847
43042
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
@@ -42894,12 +43089,31 @@ var Footer2 = function Footer2(props) {
42894
43089
  }
42895
43090
  }, lang.orderhistory), /*#__PURE__*/React__default["default"].createElement("div", {
42896
43091
  "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42897
- }), /*#__PURE__*/React__default["default"].createElement("p", {
43092
+ }), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
42898
43093
  "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42899
43094
  onClick: function onClick() {
42900
43095
  routingcountext(StaticPagesLinksContext.Policies);
42901
43096
  }
42902
- }, lang.policies)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43097
+ }, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
43098
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
43099
+ onClick: function onClick() {
43100
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
43101
+ }
43102
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
43103
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
43104
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
43105
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
43106
+ onClick: function onClick() {
43107
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
43108
+ }
43109
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
43110
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
43111
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
43112
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
43113
+ onClick: function onClick() {
43114
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
43115
+ }
43116
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42903
43117
  "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
42904
43118
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42905
43119
  "class": "row m-0 w-100"
@@ -42933,12 +43147,12 @@ var Footer2 = function Footer2(props) {
42933
43147
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42934
43148
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer text-transform-none ',
42935
43149
  onClick: function onClick() {
42936
- var _authdetailsContext$i17;
42937
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.email), '_self');
43150
+ var _authdetailsContext$i18;
43151
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.email), '_self');
42938
43152
  }
42939
43153
  }, /*#__PURE__*/React__default["default"].createElement("i", {
42940
43154
  "class": ' fa fa-at mr-2 ml-2 '
42941
- }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.email)), /*#__PURE__*/React__default["default"].createElement("div", {
43155
+ }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.contactinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.email)), /*#__PURE__*/React__default["default"].createElement("div", {
42942
43156
  "class": "".concat(footerStyles.footerinfotext) + ' col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0 '
42943
43157
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42944
43158
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer ',
@@ -42955,21 +43169,21 @@ var Footer2 = function Footer2(props) {
42955
43169
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
42956
43170
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
42957
43171
  size: sectionproperties.footerinfoicon_fontsize
42958
- })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.address_en)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43172
+ })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.address_en)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42959
43173
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-sm-0"
42960
43174
  }, /*#__PURE__*/React__default["default"].createElement("img", {
42961
43175
  "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42962
43176
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42963
43177
  onClick: function onClick() {
42964
- var _authdetailsContext$i20;
42965
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_appstore, '_blank');
43178
+ var _authdetailsContext$i21;
43179
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
42966
43180
  }
42967
43181
  }), /*#__PURE__*/React__default["default"].createElement("img", {
42968
43182
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42969
43183
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42970
43184
  onClick: function onClick() {
42971
- var _authdetailsContext$i21;
42972
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_playstore, '_blank');
43185
+ var _authdetailsContext$i22;
43186
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
42973
43187
  }
42974
43188
  })))));
42975
43189
  };
@@ -69290,7 +69504,7 @@ var Horizontalcard = function Horizontalcard(props) {
69290
69504
  setitem(props.cardinfoitemprops);
69291
69505
  }, [props.cardinfoitemprops]);
69292
69506
  var card_cssstyles = {
69293
- productcard: glamor.css({
69507
+ productcard: glamor.css(_defineProperty__default["default"]({
69294
69508
  marginTop: sectionproperties.marginTop + 'px',
69295
69509
  marginBottom: sectionproperties.marginBottom + 'px',
69296
69510
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
@@ -69299,9 +69513,8 @@ var Horizontalcard = function Horizontalcard(props) {
69299
69513
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
69300
69514
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
69301
69515
  border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
69302
- borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
69303
- boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor
69304
- }),
69516
+ borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
69517
+ }, "border", sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '')),
69305
69518
  productNameStyles: glamor.css({
69306
69519
  color: sectionproperties.prodNameColor,
69307
69520
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -69469,7 +69682,7 @@ var Horizontalcard = function Horizontalcard(props) {
69469
69682
  position: 'relative'
69470
69683
  }
69471
69684
  }, /*#__PURE__*/React__default["default"].createElement("div", {
69472
- "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
69685
+ "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2 d-flex align-items-center',
69473
69686
  style: {
69474
69687
  minHeight: '6vh'
69475
69688
  }
@@ -69518,7 +69731,7 @@ var Horizontalcard = function Horizontalcard(props) {
69518
69731
  style: {
69519
69732
  textAlign: langdetect == 'en' ? 'left' : 'right'
69520
69733
  }
69521
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69734
+ }, plainString(langdetect == 'en' ? item.description : item.description))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69522
69735
  "class": "col-lg-3 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end justify-content-md-start"
69523
69736
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69524
69737
  "class": card_cssstyles.cart_btn,
@@ -69528,14 +69741,42 @@ var Horizontalcard = function Horizontalcard(props) {
69528
69741
  }
69529
69742
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69530
69743
  "class": "col-lg-12 p-0 d-flex align-items-center"
69531
- }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69744
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
69745
+ "class": "row m-0 w-100"
69746
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
69747
+ "class": "col-lg-12 p-0 text-start"
69748
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
69532
69749
  "class": card_cssstyles.productPricestyles + ' m-0 p-0 '
69533
- }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69750
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
69751
+ "class": "col-lg-12 p-0 text-start"
69752
+ }, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69534
69753
  "class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
69535
69754
  style: {
69536
69755
  textDecoration: 'line-through'
69537
69756
  }
69538
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69757
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69758
+ "class": 'allcentered',
69759
+ style: {
69760
+ width: sectionproperties.pillwidth + 'px',
69761
+ height: sectionproperties.pillheight + 'px',
69762
+ background: sectionproperties.pillbgcolor,
69763
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
69764
+ }
69765
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
69766
+ "class": "m-0 p-0",
69767
+ style: {
69768
+ color: sectionproperties.pillcolor,
69769
+ fontSize: sectionproperties.pillfontSize + 'px',
69770
+ direction: 'ltr'
69771
+ }
69772
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
69773
+ "class": "m-0 p-0 text-uppercase",
69774
+ style: {
69775
+ color: sectionproperties.pillcolor,
69776
+ fontSize: sectionproperties.pillfontSize + 'px',
69777
+ direction: 'ltr'
69778
+ }
69779
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69539
69780
  "class": "col-lg-12 p-0 d-flex align-items-center mt-2"
69540
69781
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69541
69782
  "class": card_cssstyles.cart_btn,
@@ -74234,9 +74475,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
74234
74475
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
74235
74476
  props.actions.lang;
74236
74477
  var langdetect = props.actions.langdetect;
74237
- props.actions.setShowProductInfoModalContext;
74478
+ var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
74238
74479
  var addtofavoritescontext = props.actions.addtofavoritescontext;
74239
- props.actions.setProductIdProdutInfoModalContext;
74480
+ var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
74240
74481
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
74241
74482
  var ikimagecredcontext = props.actions.ikimagecredcontext;
74242
74483
  props.actions.NotificationManager;
@@ -74266,6 +74507,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
74266
74507
  '@media (max-width: 800px)': {
74267
74508
  minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
74268
74509
  maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
74510
+ },
74511
+ ':hover .iconsContainer': {
74512
+ opacity: 1,
74513
+ transition: 'all, 0.4s',
74514
+ right: 10,
74515
+ transform: "translateX(0px)"
74269
74516
  }
74270
74517
  }),
74271
74518
  productcardimagecont: glamor.css({
@@ -74390,6 +74637,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
74390
74637
  backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
74391
74638
  transition: 0.3
74392
74639
  }
74640
+ }),
74641
+ iconsContainer: glamor.css({
74642
+ display: 'flex',
74643
+ flexDirection: 'column',
74644
+ position: 'absolute',
74645
+ top: 5,
74646
+ right: -15,
74647
+ opacity: 0,
74648
+ transform: "translateX(5px)",
74649
+ zIndex: 10,
74650
+ '@media (max-width: 800px)': {
74651
+ opacity: 1,
74652
+ right: 10
74653
+ }
74654
+ }),
74655
+ iconsContainer2: glamor.css({
74656
+ opacity: 1,
74657
+ transition: 'all, 0.4s',
74658
+ right: 10,
74659
+ transform: "translateX(0px)"
74393
74660
  })
74394
74661
  };
74395
74662
  var _useState5 = React.useState(''),
@@ -74488,6 +74755,32 @@ var Simpleproductcard = function Simpleproductcard(props) {
74488
74755
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
74489
74756
  }
74490
74757
  };
74758
+ var PillContainer = function PillContainer() {
74759
+ return /*#__PURE__*/React__default["default"].createElement("div", {
74760
+ "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74761
+ style: {
74762
+ zIndex: 2,
74763
+ width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74764
+ height: sectionproperties.pillheight + 'px',
74765
+ background: sectionproperties.pillbgcolor,
74766
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74767
+ }
74768
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74769
+ "class": "m-0 p-0",
74770
+ style: {
74771
+ color: sectionproperties.pillcolor,
74772
+ fontSize: sectionproperties.pillfontSize + 'px',
74773
+ direction: 'ltr'
74774
+ }
74775
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
74776
+ "class": "m-0 p-0 text-uppercase",
74777
+ style: {
74778
+ color: sectionproperties.pillcolor,
74779
+ fontSize: sectionproperties.pillfontSize + 'px',
74780
+ direction: 'ltr'
74781
+ }
74782
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname));
74783
+ };
74491
74784
  return /*#__PURE__*/React__default["default"].createElement("div", {
74492
74785
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
74493
74786
  style: {
@@ -74509,7 +74802,43 @@ var Simpleproductcard = function Simpleproductcard(props) {
74509
74802
  style: {
74510
74803
  position: 'relative'
74511
74804
  }
74805
+ }, sectionproperties.btnswithtransition == 'With Transition' && /*#__PURE__*/React__default["default"].createElement("div", {
74806
+ "class": "".concat(card_cssstyles.iconsContainer) + ' iconsContainer p-0 d-flex '
74512
74807
  }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74808
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' mt-2 mb-2 ',
74809
+ onClick: function onClick() {
74810
+ addtofavoritescontext(item.productid);
74811
+ }
74812
+ }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74813
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74814
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
74815
+ size: sectionproperties.favBtnIconfontsize,
74816
+ style: {
74817
+ color: sectionproperties.activefaviconcolor
74818
+ }
74819
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
74820
+ size: sectionproperties.favBtnIconfontsize,
74821
+ style: {
74822
+ color: sectionproperties.activefaviconcolor
74823
+ }
74824
+ })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74825
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74826
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
74827
+ size: sectionproperties.favBtnIconfontsize
74828
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
74829
+ size: sectionproperties.favBtnIconfontsize
74830
+ }))), sectionproperties.showproductinfomodalbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74831
+ "class": "".concat(card_cssstyles.wishlist_btn) + ' ',
74832
+ onClick: function onClick(e) {
74833
+ e.stopPropagation();
74834
+ setShowProductInfoModalContext(true);
74835
+ setProductIdProdutInfoModalContext(item.productid);
74836
+ }
74837
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
74838
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74839
+ }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
74840
+ size: sectionproperties.generalbtn_fontsize
74841
+ })))), sectionproperties.favBtnShow == 'Show' && sectionproperties.btnswithtransition != 'With Transition' && /*#__PURE__*/React__default["default"].createElement("button", {
74513
74842
  "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
74514
74843
  onClick: function onClick(e) {
74515
74844
  e.stopPropagation();
@@ -74550,7 +74879,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
74550
74879
  top: sectionproperties.badge_top + 'px',
74551
74880
  left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
74552
74881
  right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
74553
- width: sectionproperties.badge_width + 'px',
74882
+ width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
74554
74883
  height: sectionproperties.badge_height + 'px',
74555
74884
  background: sectionproperties.badge_bgcolor,
74556
74885
  borderRadius: sectionproperties.badge_borderradius + 'px'
@@ -74561,34 +74890,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
74561
74890
  color: sectionproperties.badge_color,
74562
74891
  fontSize: sectionproperties.badge_fontsize + 'px'
74563
74892
  }
74564
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
74565
- "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74893
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
74566
74894
  style: {
74567
- zIndex: 2,
74568
74895
  position: 'absolute',
74569
74896
  top: sectionproperties.pillpositionfromtop + 'px',
74570
74897
  left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
74571
- right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
74572
- width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74573
- height: sectionproperties.pillheight + 'px',
74574
- background: sectionproperties.pillbgcolor,
74575
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74576
- }
74577
- }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74578
- "class": "m-0 p-0",
74579
- style: {
74580
- color: sectionproperties.pillcolor,
74581
- fontSize: sectionproperties.pillfontSize + 'px',
74582
- direction: 'ltr'
74583
- }
74584
- }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
74585
- "class": "m-0 p-0 text-uppercase",
74586
- style: {
74587
- color: sectionproperties.pillcolor,
74588
- fontSize: sectionproperties.pillfontSize + 'px',
74589
- direction: 'ltr'
74898
+ right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
74590
74899
  }
74591
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74900
+ }, PillContainer()), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74592
74901
  "class": "allcentered",
74593
74902
  style: {
74594
74903
  position: 'absolute',
@@ -74710,17 +75019,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
74710
75019
  marginBottom: sectionproperties.productpricemarginBottom + 'px'
74711
75020
  }
74712
75021
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74713
- "class": ' d-flex align-items-center p-0 mb-0 flex-column ',
75022
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
74714
75023
  style: {
74715
75024
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
74716
75025
  }
74717
75026
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
74718
- "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
75027
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
74719
75028
  }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
74720
- "class": " d-flex align-items-center p-0 mb-0"
75029
+ "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
74721
75030
  }, /*#__PURE__*/React__default["default"].createElement("p", {
74722
75031
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
74723
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
75032
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
75033
+ style: {}
75034
+ }, PillContainer()))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74724
75035
  "class": "col-lg-12 p-0",
74725
75036
  style: {
74726
75037
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'