tabexseriescomponents 0.0.348 → 0.0.350

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
@@ -31,9 +31,6 @@ var FiShoppingBag = require('@react-icons/all-files/fi/FiShoppingBag');
31
31
  var FiShoppingCart = require('@react-icons/all-files/fi/FiShoppingCart');
32
32
  var AiFillStar$1 = require('@react-icons/all-files/ai/AiFillStar');
33
33
  var AiOutlineStar = require('@react-icons/all-files/ai/AiOutlineStar');
34
- var AiOutlineTwitter = require('@react-icons/all-files/ai/AiOutlineTwitter');
35
- var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
36
- var FaLinkedinIn = require('@react-icons/all-files/fa/FaLinkedinIn');
37
34
  var reactShare = require('react-share');
38
35
  var FiMinus = require('@react-icons/all-files/fi/FiMinus');
39
36
  var FiPlus = require('@react-icons/all-files/fi/FiPlus');
@@ -58,7 +55,7 @@ var HiOutlineChevronLeft = require('@react-icons/all-files/hi/HiOutlineChevronLe
58
55
  var GoGlobe = require('@react-icons/all-files/go/GoGlobe');
59
56
  var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
60
57
  var HiOutlineTrash = require('@react-icons/all-files/hi/HiOutlineTrash');
61
- require('@react-icons/all-files/bi/BiSad');
58
+ var BiSad = require('@react-icons/all-files/bi/BiSad');
62
59
  var FiCalendar = require('@react-icons/all-files/fi/FiCalendar');
63
60
  var Dropdown = require('react-bootstrap/Dropdown');
64
61
  var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
@@ -93,6 +90,7 @@ var HiOutlineArrowLeft = require('@react-icons/all-files/hi/HiOutlineArrowLeft')
93
90
  var ReactPaginate = require('react-paginate');
94
91
  var FaFacebook = require('@react-icons/all-files/fa/FaFacebook');
95
92
  var AiFillInstagram = require('@react-icons/all-files/ai/AiFillInstagram');
93
+ var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
96
94
  var BiGlobe = require('@react-icons/all-files/bi/BiGlobe');
97
95
  var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
98
96
  var FaMoneyBillWave = require('@react-icons/all-files/fa/FaMoneyBillWave');
@@ -2179,12 +2177,15 @@ var DescriptionContent = function DescriptionContent(props) {
2179
2177
  function ownKeys$2n(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; }
2180
2178
  function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2181
2179
  var Product_itemtype = function Product_itemtype(props) {
2182
- var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _ProductInfoObj$data, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
2180
+ var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _ProductInfoObj$data, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
2183
2181
  var lang = props.actions.lang;
2184
2182
  var langdetect = props.actions.langdetect;
2185
2183
  var srcfromprops = props.actions.srcfromprops;
2184
+ props.actions.returnpolicyobj;
2186
2185
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2187
2186
  var addtocartfunc = props.actions.addtocartfunc;
2187
+ props.actions.selectproductoptionvalue;
2188
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
2188
2189
  var productimagesarray = props.actions.productimagesarray;
2189
2190
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2190
2191
  var sectionproperties = props.actions.sectionproperties;
@@ -2245,395 +2246,71 @@ var Product_itemtype = function Product_itemtype(props) {
2245
2246
  }
2246
2247
  return titlelang;
2247
2248
  }
2248
- var GalleryStyle1Section = function GalleryStyle1Section() {
2249
- return /*#__PURE__*/React__default["default"].createElement("div", {
2250
- className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2251
- style: {
2252
- width: '100%',
2253
- height: 'auto'
2254
- }
2255
- }, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2256
- style: {
2257
- width: '100%',
2258
- height: '30vh',
2259
- background: '#eee',
2260
- borderRadius: 10
2261
- }
2262
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2263
- "class": "h-100 allcentered text-light"
2264
- }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
2265
- size: 26
2266
- }))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2267
- "class": "w-100 d-block d-md-none"
2268
- }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2269
- items: productimagesarray,
2270
- thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2271
- showNav: false,
2272
- showPlayButton: false,
2273
- showFullscreenButton: true,
2274
- startIndex: currentshowingimageindex
2275
- })), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2276
- "class": "w-100 d-none d-md-block"
2277
- }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2278
- items: productimagesarray,
2279
- thumbnailPosition: 'bottom',
2280
- showNav: false,
2281
- showPlayButton: false,
2282
- showFullscreenButton: true,
2283
- startIndex: currentshowingimageindex
2284
- })));
2285
- };
2286
- var ProductNameSection = function ProductNameSection() {
2287
- return /*#__PURE__*/React__default["default"].createElement("p", {
2288
- className: 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 ',
2289
- onClick: function onClick() {
2290
- if (srcfromprops == 'templatedraftrouter') {
2291
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2292
- }
2293
- },
2294
- style: {
2295
- textAlign: langdetect == 'en' ? 'left' : 'right'
2296
- }
2297
- }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
2298
- };
2299
- var SKUSection = function SKUSection() {
2300
- var _fetchProductInfoQuer, _fetchProductInfoQuer2;
2301
- return /*#__PURE__*/React__default["default"].createElement("div", {
2302
- "class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
2303
- }, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2304
- "class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'col-lg-12 p-0 mb-1 d-flex justify-content-start' : sectionproperties.deliverytimeshow == 'Show' && (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 ? void 0 : _fetchProductInfoQuer.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2305
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2306
- "class": "m-0 p-0 d-flex justify-content-start"
2307
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2308
- style: {
2309
- color: sectionproperties.skuColor,
2310
- fontWeight: sectionproperties.skuFontWeight,
2311
- fontSize: sectionproperties.skuFontSize + 'px',
2312
- textAlign: langdetect == 'en' ? 'left' : 'right'
2313
- }
2314
- }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
2315
- "class": "ml-1 mr-1",
2316
- style: {
2317
- color: '#7e859b',
2318
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2319
- fontSize: sectionproperties.skuFontSize + 'px',
2320
- textAlign: langdetect == 'en' ? 'left' : 'right'
2321
- }
2322
- }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2323
- "class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2324
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2325
- "class": "m-0 p-0 d-flex justify-content-start"
2326
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2327
- style: {
2328
- fontSize: sectionproperties.availability_fontsize + 'px',
2329
- color: sectionproperties.availability_textcolor,
2330
- textAlign: langdetect == 'en' ? 'left' : 'right',
2331
- fontWeight: sectionproperties.skuFontWeight
2332
- }
2333
- }, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
2334
- "class": "ml-1 mr-1",
2335
- style: {
2336
- color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
2337
- fontSize: sectionproperties.availability_fontsize + 'px',
2338
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2339
- textAlign: langdetect == 'en' ? 'left' : 'right'
2340
- }
2341
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
2342
- };
2343
2249
  var ShareButtonsContainer = function ShareButtonsContainer() {
2344
2250
  return /*#__PURE__*/React__default["default"].createElement("div", {
2345
2251
  "class": "row m-0 w-100"
2346
2252
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2347
2253
  "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
2348
2254
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2349
- "class": "m-0 p-0 w-100",
2255
+ "class": "m-0 p-0",
2350
2256
  style: {
2351
2257
  fontWeight: sectionproperties.sharebtn_FontWeight,
2352
2258
  color: sectionproperties.sharebtn_color,
2353
- fontSize: sectionproperties.sharebtn_fontSize + 'px',
2354
- textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
2259
+ fontSize: sectionproperties.sharebtn_fontSize + 'px'
2355
2260
  }
2356
2261
  }, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
2357
- className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
2358
- style: {
2359
- justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
2360
- }
2262
+ className: "Demo__container w-100 m-0 allcentered mt-3"
2361
2263
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2362
- className: "Demo__some-network ml-2 mr-2 allcentered"
2264
+ className: "Demo__some-network ml-2 mr-2"
2363
2265
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
2364
2266
  url: shareUrl,
2365
2267
  quote: title,
2366
- className: "Demo__some-network__share-button allcentered"
2367
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2368
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2369
- style: {}
2370
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2371
- "class": "h-100 allcentered"
2372
- }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
2373
- className: "Demo__some-network ml-2 mr-2 allcentered"
2268
+ className: "Demo__some-network__share-button"
2269
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
2270
+ size: 40,
2271
+ round: true
2272
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2273
+ className: "Demo__some-network ml-2 mr-2"
2374
2274
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton, {
2375
2275
  url: shareUrl,
2376
2276
  title: title,
2377
- className: "Demo__some-network__share-button allcentered"
2378
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2379
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2380
- style: {}
2381
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2382
- "class": "h-100 allcentered"
2383
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter, {
2384
- size: 16
2385
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
2277
+ className: "Demo__some-network__share-button"
2278
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterIcon, {
2279
+ size: 40,
2280
+ round: true
2281
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2386
2282
  className: "Demo__some-network ml-2 mr-2"
2387
2283
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
2388
2284
  url: shareUrl,
2389
2285
  title: title,
2390
2286
  separator: ":: ",
2391
2287
  className: "Demo__some-network__share-button"
2392
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2393
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2394
- style: {}
2395
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2396
- "class": "h-100 allcentered"
2397
- }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
2398
- size: 16
2399
- }))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2288
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon, {
2289
+ size: 40,
2290
+ round: true
2291
+ }))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2400
2292
  className: "Demo__some-network ml-2 mr-2"
2401
2293
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
2402
2294
  url: shareUrl,
2403
2295
  title: title,
2404
2296
  separator: ":: ",
2405
2297
  className: "Demo__some-network__share-button"
2406
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2407
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2408
- style: {}
2409
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2410
- "class": "h-100 allcentered"
2411
- }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, null))))))));
2412
- };
2413
- var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
2414
- var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
2415
- return /*#__PURE__*/React__default["default"].createElement("div", {
2416
- "class": "col-lg-12 p-0"
2417
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2418
- "class": "row m-0 w-100 d-flex align-items-center",
2419
- style: {
2420
- justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2421
- }
2422
- }, sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2423
- className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2424
- style: {
2425
- height: sectionproperties.quantitybtn_height + 'px',
2426
- width: sectionproperties.quantitybtn_width + 'px',
2427
- flexDirection: 'row',
2428
- direction: 'ltr'
2429
- }
2430
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2431
- className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2432
- onClick: function onClick() {
2433
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2434
- if (tempaddtocardpayloadobj.quantity > 0) {
2435
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2436
- }
2437
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2438
- }
2439
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2440
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2441
- style: {
2442
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2443
- }
2444
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2445
- size: sectionproperties.remove_quantitybtn_textfontsize
2446
- }))), /*#__PURE__*/React__default["default"].createElement("span", {
2447
- className: "".concat(productinfo_cssstyles.quantitybtn_text)
2448
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2449
- className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2450
- onClick: function onClick() {
2451
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2452
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2453
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2454
- }
2455
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2456
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2457
- // className="fa fa-chevron-up"
2458
- ,
2459
- style: {
2460
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2461
- }
2462
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2463
- size: sectionproperties.add_quantitybtn_textfontsize
2464
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2465
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2466
- onClick: function onClick() {
2467
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2468
- var _fetchProductInfoQuer6;
2469
- window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
2470
- } else {
2471
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2472
- addtocartfunc();
2473
- } else {
2474
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2475
- }
2476
- }
2477
- },
2478
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2479
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2480
- className: ' d-flex align-items-center justify-content-center '
2481
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2482
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2483
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2484
- className: "",
2485
- size: sectionproperties.cartBtn_iconFontSize
2486
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2487
- className: "",
2488
- size: sectionproperties.cartBtn_iconFontSize
2489
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2490
- className: "",
2491
- size: sectionproperties.cartBtn_iconFontSize
2492
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2493
- className: "",
2494
- size: sectionproperties.cartBtn_iconFontSize
2495
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2496
- className: "",
2497
- size: sectionproperties.cartBtn_iconFontSize
2498
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2499
- size: sectionproperties.cartBtn_iconFontSize
2500
- })), langdetect == 'en' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2501
- className: ' d-flex align-items-center justify-content-center '
2502
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2503
- color: "white",
2504
- width: "20px",
2505
- height: "20px",
2506
- duration: "1s"
2507
- }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2508
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2509
- onClick: function onClick() {
2510
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2511
- },
2512
- style: {
2513
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2514
- }
2515
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2516
- className: "h-100 d-flex align-items-center justify-content-center"
2517
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2518
- className: "h-100 d-flex align-items-center justify-content-center"
2519
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2520
- size: sectionproperties.favBtnIconfontsize,
2521
- style: {
2522
- color: sectionproperties.activefaviconcolor
2523
- }
2524
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2525
- size: sectionproperties.favBtnIconfontsize,
2526
- style: {
2527
- color: sectionproperties.activefaviconcolor
2528
- }
2529
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2530
- className: "h-100 d-flex align-items-center justify-content-center"
2531
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2532
- size: sectionproperties.favBtnIconfontsize
2533
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2534
- size: sectionproperties.favBtnIconfontsize
2535
- }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2536
- "class": "m-0 p-0",
2537
- style: {
2538
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2539
- }
2540
- }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2541
- "class": "m-0 p-0",
2542
- style: {
2543
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2544
- }
2545
- }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2546
- "class": "row m-0 w-100 mt-3",
2547
- style: {
2548
- overflow: 'hidden'
2549
- }
2550
- }, /*#__PURE__*/React__default["default"].createElement("button", {
2551
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2552
- style: {
2553
- width: sectionproperties.cartBtnWidth + '%'
2554
- },
2555
- onClick: function onClick() {
2556
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2557
- var _fetchProductInfoQuer10;
2558
- window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
2559
- } else {
2560
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2561
- addtocartfunc();
2562
- } else {
2563
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2564
- }
2565
- }
2566
- },
2567
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2568
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2569
- className: ' d-flex align-items-center justify-content-center '
2570
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2571
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2572
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2573
- className: "",
2574
- size: sectionproperties.cartBtn_iconFontSize
2575
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2576
- className: "",
2577
- size: sectionproperties.cartBtn_iconFontSize
2578
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2579
- className: "",
2580
- size: sectionproperties.cartBtn_iconFontSize
2581
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2582
- className: "",
2583
- size: sectionproperties.cartBtn_iconFontSize
2584
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2585
- className: "",
2586
- size: sectionproperties.cartBtn_iconFontSize
2587
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2588
- size: sectionproperties.cartBtn_iconFontSize
2589
- })), langdetect == 'en' ? 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.productactionbuttontext_en : 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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2590
- className: ' d-flex align-items-center justify-content-center '
2591
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2592
- color: "white",
2593
- width: "20px",
2594
- height: "20px",
2595
- duration: "1s"
2596
- }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2597
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2598
- onClick: function onClick() {
2599
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2600
- },
2601
- style: {
2602
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2603
- }
2604
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2605
- className: "h-100 d-flex align-items-center justify-content-center"
2606
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2607
- className: "h-100 d-flex align-items-center justify-content-center"
2608
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2609
- size: sectionproperties.favBtnIconfontsize,
2610
- style: {
2611
- color: sectionproperties.activefaviconcolor
2612
- }
2613
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2614
- size: sectionproperties.favBtnIconfontsize,
2615
- style: {
2616
- color: sectionproperties.activefaviconcolor
2617
- }
2618
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2619
- className: "h-100 d-flex align-items-center justify-content-center"
2620
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2621
- size: sectionproperties.favBtnIconfontsize
2622
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2623
- size: sectionproperties.favBtnIconfontsize
2298
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon, {
2299
+ size: 40,
2300
+ round: true
2624
2301
  }))))));
2625
2302
  };
2626
2303
  // {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
2627
2304
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
2628
2305
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
2629
2306
  React.useEffect(function () {
2630
- var _fetchProductInfoQuer13;
2307
+ var _fetchProductInfoQuer;
2631
2308
  var totalprice = '';
2632
2309
  if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
2633
2310
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
2634
2311
  } else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
2635
2312
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2636
- } else if (variantindexcompleted.length != 0 && (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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hassale) == 1) {
2313
+ } else if (variantindexcompleted.length != 0 && (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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.hassale) == 1) {
2637
2314
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2638
2315
  } else {
2639
2316
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
@@ -2649,13 +2326,13 @@ var Product_itemtype = function Product_itemtype(props) {
2649
2326
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2650
2327
  "class": ' col-lg-12 p-0 '
2651
2328
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2652
- "class": srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 px-2 px-1025-1 p-sm-0 ' : "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
2329
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
2653
2330
  style: {
2654
2331
  minHeight: sectionproperties.height + 'vh'
2655
2332
  }
2656
2333
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2657
2334
  "class": "w-100 scrollhorizontalwithscrollbar"
2658
- }, (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.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productimages.map(function (item, index) {
2335
+ }, (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 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (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.productimages.map(function (item, index) {
2659
2336
  return /*#__PURE__*/React__default["default"].createElement("div", {
2660
2337
  "class": ' scrollhorizontalcard mx-2 ',
2661
2338
  style: {
@@ -2686,17 +2363,60 @@ var Product_itemtype = function Product_itemtype(props) {
2686
2363
  className: 'row m-0 w-100'
2687
2364
  }, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2688
2365
  className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
2689
- }, GalleryStyle1Section()), /*#__PURE__*/React__default["default"].createElement("div", {
2366
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2367
+ className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2368
+ style: {
2369
+ width: '100%',
2370
+ height: 'auto'
2371
+ }
2372
+ }, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2373
+ style: {
2374
+ width: '100%',
2375
+ height: '30vh',
2376
+ background: '#eee',
2377
+ borderRadius: 10
2378
+ }
2379
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2380
+ "class": "h-100 allcentered text-light"
2381
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
2382
+ size: 26
2383
+ }))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2384
+ "class": "w-100 d-block d-md-none"
2385
+ }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2386
+ items: productimagesarray,
2387
+ thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2388
+ showNav: false,
2389
+ showPlayButton: false,
2390
+ showFullscreenButton: true,
2391
+ startIndex: currentshowingimageindex
2392
+ })), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2393
+ "class": "w-100 d-none d-md-block"
2394
+ }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2395
+ items: productimagesarray,
2396
+ thumbnailPosition: 'bottom',
2397
+ showNav: false,
2398
+ showPlayButton: false,
2399
+ showFullscreenButton: true,
2400
+ startIndex: currentshowingimageindex
2401
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
2690
2402
  className: sectionproperties.gallerystyle == 'Style 1' ? langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
2691
2403
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2692
2404
  className: "row m-0 w-100"
2693
2405
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2694
- className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
2695
- }, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2406
+ className: (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.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
2407
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2408
+ className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
2409
+ onClick: function onClick() {
2410
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2411
+ },
2412
+ style: {
2413
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2414
+ }
2415
+ }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_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.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2696
2416
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2697
2417
  }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
2698
2418
  count: 5,
2699
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productoverallrate,
2419
+ value: 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.productoverallrate,
2700
2420
  edit: false,
2701
2421
  size: 18,
2702
2422
  emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
@@ -2717,7 +2437,7 @@ var Product_itemtype = function Product_itemtype(props) {
2717
2437
  activeColor: "#ffd700"
2718
2438
  })), /*#__PURE__*/React__default["default"].createElement("div", {
2719
2439
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2720
- }, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2440
+ }, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2721
2441
  style: {
2722
2442
  width: sectionproperties.availability_width + 'px',
2723
2443
  height: sectionproperties.availability_height + 'px',
@@ -2769,7 +2489,7 @@ var Product_itemtype = function Product_itemtype(props) {
2769
2489
  }, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2770
2490
  actions: props.actions,
2771
2491
  srcfromprops: 'undername'
2772
- })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2492
+ })), (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2773
2493
  "class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
2774
2494
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2775
2495
  "class": "m-0 p-0",
@@ -2780,15 +2500,32 @@ var Product_itemtype = function Product_itemtype(props) {
2780
2500
  style: {
2781
2501
  fontWeight: 600
2782
2502
  }
2783
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.vendorinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
2784
- "class": "col-lg-12 p-0"
2785
- }, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2503
+ }, 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 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.vendorinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2504
+ "class": sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2505
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2506
+ "class": "m-0 p-0 d-flex justify-content-start"
2507
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
2508
+ style: {
2509
+ color: sectionproperties.skuColor,
2510
+ fontWeight: sectionproperties.skuFontWeight,
2511
+ fontSize: sectionproperties.skuFontSize + 'px',
2512
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2513
+ }
2514
+ }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
2515
+ "class": "ml-1 mr-1",
2516
+ style: {
2517
+ color: '#7e859b',
2518
+ fontWeight: sectionproperties.skuSecondaryFontWeight,
2519
+ fontSize: sectionproperties.skuFontSize + 'px',
2520
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2521
+ }
2522
+ }, fetchProductInfoQueryContext.data.data.productinfo.sku))), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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 ? void 0 : _fetchProductInfoQuer13.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2786
2523
  "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
2787
2524
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2788
2525
  "class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
2789
2526
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2790
2527
  "class": "m-0 p-0"
2791
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
2528
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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 ? void 0 : _fetchProductInfoQuer14.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
2792
2529
  "class": "mb-4 col-lg-12 allcentered",
2793
2530
  style: {
2794
2531
  width: '100%',
@@ -2809,9 +2546,9 @@ var Product_itemtype = function Product_itemtype(props) {
2809
2546
  textAlign: langdetect == 'en' ? 'left' : 'right',
2810
2547
  color: sectionproperties.deliverytimecontainercolor
2811
2548
  }
2812
- }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
2549
+ }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
2813
2550
  actions: props.actions
2814
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
2551
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
2815
2552
  className: "row m-0 w-100 d-flex align-items-start"
2816
2553
  }, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
2817
2554
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -2875,7 +2612,9 @@ var Product_itemtype = function Product_itemtype(props) {
2875
2612
  actions: props.actions
2876
2613
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
2877
2614
  actions: props.actions
2878
- }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
2615
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2616
+ actions: props.actions
2617
+ }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2879
2618
  className: "col-lg-12 p-0 mb-3"
2880
2619
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
2881
2620
  className: "mb-0 mt-2"
@@ -2886,8 +2625,8 @@ var Product_itemtype = function Product_itemtype(props) {
2886
2625
  }
2887
2626
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2888
2627
  className: "row m-0 w-100 d-flex align-items-center"
2889
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2890
- className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
2628
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2629
+ className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
2891
2630
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2892
2631
  className: "m-0 p-0",
2893
2632
  style: {
@@ -2896,7 +2635,216 @@ var Product_itemtype = function Product_itemtype(props) {
2896
2635
  textTransform: sectionproperties.generaltext_textTransform,
2897
2636
  fontWeight: sectionproperties.generaltext_fontWeight
2898
2637
  }
2899
- }, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2638
+ }, lang.quantity, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
2639
+ "class": "col-lg-12 p-0"
2640
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2641
+ "class": "row m-0 w-100 d-flex align-items-center",
2642
+ style: {
2643
+ justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2644
+ }
2645
+ }, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2646
+ className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2647
+ style: {
2648
+ height: sectionproperties.quantitybtn_height + 'px',
2649
+ width: sectionproperties.quantitybtn_width + 'px',
2650
+ flexDirection: 'row',
2651
+ direction: 'ltr'
2652
+ }
2653
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
2654
+ className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2655
+ onClick: function onClick() {
2656
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2657
+ if (tempaddtocardpayloadobj.quantity > 0) {
2658
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2659
+ }
2660
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2661
+ }
2662
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2663
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2664
+ style: {
2665
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2666
+ }
2667
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2668
+ size: sectionproperties.remove_quantitybtn_textfontsize
2669
+ }))), /*#__PURE__*/React__default["default"].createElement("span", {
2670
+ className: "".concat(productinfo_cssstyles.quantitybtn_text)
2671
+ }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2672
+ className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2673
+ onClick: function onClick() {
2674
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2675
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2676
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2677
+ }
2678
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2679
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2680
+ // className="fa fa-chevron-up"
2681
+ ,
2682
+ style: {
2683
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2684
+ }
2685
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2686
+ size: sectionproperties.add_quantitybtn_textfontsize
2687
+ })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2688
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2689
+ onClick: function onClick() {
2690
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2691
+ var _fetchProductInfoQuer23;
2692
+ window.open('tel:' + ((_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.product_phonenumber), '_blank');
2693
+ } else {
2694
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2695
+ addtocartfunc();
2696
+ } else {
2697
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2698
+ }
2699
+ }
2700
+ },
2701
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2702
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2703
+ className: ' d-flex align-items-center justify-content-center '
2704
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2705
+ className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2706
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2707
+ className: "",
2708
+ size: sectionproperties.cartBtn_iconFontSize
2709
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2710
+ className: "",
2711
+ size: sectionproperties.cartBtn_iconFontSize
2712
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2713
+ className: "",
2714
+ size: sectionproperties.cartBtn_iconFontSize
2715
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2716
+ className: "",
2717
+ size: sectionproperties.cartBtn_iconFontSize
2718
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2719
+ className: "",
2720
+ size: sectionproperties.cartBtn_iconFontSize
2721
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2722
+ size: sectionproperties.cartBtn_iconFontSize
2723
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2724
+ className: ' d-flex align-items-center justify-content-center '
2725
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2726
+ color: "white",
2727
+ width: "20px",
2728
+ height: "20px",
2729
+ duration: "1s"
2730
+ }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2731
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2732
+ onClick: function onClick() {
2733
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2734
+ },
2735
+ style: {
2736
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2737
+ }
2738
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2739
+ className: "h-100 d-flex align-items-center justify-content-center"
2740
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2741
+ className: "h-100 d-flex align-items-center justify-content-center"
2742
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2743
+ size: sectionproperties.favBtnIconfontsize,
2744
+ style: {
2745
+ color: sectionproperties.activefaviconcolor
2746
+ }
2747
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2748
+ size: sectionproperties.favBtnIconfontsize,
2749
+ style: {
2750
+ color: sectionproperties.activefaviconcolor
2751
+ }
2752
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2753
+ className: "h-100 d-flex align-items-center justify-content-center"
2754
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2755
+ size: sectionproperties.favBtnIconfontsize
2756
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2757
+ size: sectionproperties.favBtnIconfontsize
2758
+ }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2759
+ "class": "m-0 p-0",
2760
+ style: {
2761
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2762
+ }
2763
+ }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2764
+ "class": "m-0 p-0",
2765
+ style: {
2766
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2767
+ }
2768
+ }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2769
+ "class": "row m-0 w-100 mt-3",
2770
+ style: {
2771
+ overflow: 'hidden'
2772
+ }
2773
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
2774
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2775
+ style: {
2776
+ width: sectionproperties.cartBtnWidth + '%'
2777
+ },
2778
+ onClick: function onClick() {
2779
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2780
+ var _fetchProductInfoQuer27;
2781
+ window.open('tel:' + ((_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.product_phonenumber), '_blank');
2782
+ } else {
2783
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2784
+ addtocartfunc();
2785
+ } else {
2786
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2787
+ }
2788
+ }
2789
+ },
2790
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2791
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2792
+ className: ' d-flex align-items-center justify-content-center '
2793
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2794
+ className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2795
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2796
+ className: "",
2797
+ size: sectionproperties.cartBtn_iconFontSize
2798
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2799
+ className: "",
2800
+ size: sectionproperties.cartBtn_iconFontSize
2801
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2802
+ className: "",
2803
+ size: sectionproperties.cartBtn_iconFontSize
2804
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2805
+ className: "",
2806
+ size: sectionproperties.cartBtn_iconFontSize
2807
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2808
+ className: "",
2809
+ size: sectionproperties.cartBtn_iconFontSize
2810
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2811
+ size: sectionproperties.cartBtn_iconFontSize
2812
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2813
+ className: ' d-flex align-items-center justify-content-center '
2814
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2815
+ color: "white",
2816
+ width: "20px",
2817
+ height: "20px",
2818
+ duration: "1s"
2819
+ }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2820
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2821
+ onClick: function onClick() {
2822
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2823
+ },
2824
+ style: {
2825
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2826
+ }
2827
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2828
+ className: "h-100 d-flex align-items-center justify-content-center"
2829
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2830
+ className: "h-100 d-flex align-items-center justify-content-center"
2831
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2832
+ size: sectionproperties.favBtnIconfontsize,
2833
+ style: {
2834
+ color: sectionproperties.activefaviconcolor
2835
+ }
2836
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2837
+ size: sectionproperties.favBtnIconfontsize,
2838
+ style: {
2839
+ color: sectionproperties.activefaviconcolor
2840
+ }
2841
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2842
+ className: "h-100 d-flex align-items-center justify-content-center"
2843
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2844
+ size: sectionproperties.favBtnIconfontsize
2845
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2846
+ size: sectionproperties.favBtnIconfontsize
2847
+ })))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2900
2848
  className: "col-lg-12 p-0 mb-3"
2901
2849
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2902
2850
  className: "row m-0 w-100 d-flex flex-row"
@@ -2919,7 +2867,7 @@ var Product_itemtype = function Product_itemtype(props) {
2919
2867
  }
2920
2868
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2921
2869
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
2922
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
2870
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
2923
2871
  className: 'm-0 p-0 linethrough wordbreak',
2924
2872
  style: {
2925
2873
  color: sectionproperties.prodsalePriceColor,
@@ -2933,14 +2881,14 @@ var Product_itemtype = function Product_itemtype(props) {
2933
2881
  style: {
2934
2882
  textDecoration: 'none'
2935
2883
  }
2936
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2884
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2937
2885
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
2938
2886
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2939
2887
  className: "ml-2 mr-2",
2940
2888
  style: {
2941
2889
  textDecoration: 'none'
2942
2890
  }
2943
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2891
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2944
2892
  className: "col-lg-12 p-0 mb-3 mt-2"
2945
2893
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2946
2894
  style: {
@@ -2966,7 +2914,7 @@ var Product_itemtype = function Product_itemtype(props) {
2966
2914
  className: "font-weight-600"
2967
2915
  }, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
2968
2916
  className: "ml-1 mr-1"
2969
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
2917
+ }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2970
2918
  "class": "col-lg-12 p-0"
2971
2919
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
2972
2920
  "class": "mb-3 mt-3",
@@ -2985,6 +2933,11 @@ var Product_itemtype = function Product_itemtype(props) {
2985
2933
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
2986
2934
  }
2987
2935
  }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2936
+ "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2937
+ style: {}
2938
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
2939
+ "class": "my-3"
2940
+ })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2988
2941
  "class": "col-lg-12 p-0 allcentered mt-2"
2989
2942
  }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
2990
2943
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
@@ -5200,7 +5153,7 @@ var Productinfo = function Productinfo(props) {
5200
5153
  // };
5201
5154
  var productinfo_cssstyles = _defineProperty__default["default"]({
5202
5155
  containerstyles: glamor.css({
5203
- marginTop: sectionproperties.marginTop + 'px',
5156
+ marginTop: props.srcfromprops != 'templatedraftrouter' ? sectionproperties.marginTop + 'px' : 30,
5204
5157
  '@media (max-width: 800px)': {
5205
5158
  marginTop: sectionproperties.marginTopResp + 'px'
5206
5159
  }
@@ -7178,16 +7131,14 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
7178
7131
  function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7179
7132
  var Wishlist = function Wishlist(props) {
7180
7133
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
7181
- props.actions.lang;
7134
+ var lang = props.actions.lang;
7182
7135
  var langdetect = props.actions.langdetect;
7183
- var routingcountext = props.actions.routingcountext;
7184
7136
  var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
7185
7137
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
7186
7138
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
7187
7139
  var addtofavoritescontext = props.actions.addtofavoritescontext;
7188
7140
  var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
7189
7141
  var ikimagecredcontext = props.actions.ikimagecredcontext;
7190
- var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7191
7142
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
7192
7143
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7193
7144
  var actions = props.actions;
@@ -7199,7 +7150,6 @@ var Wishlist = function Wishlist(props) {
7199
7150
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
7200
7151
  bgimagesarray = _useState4[0],
7201
7152
  setbgimagesarray = _useState4[1];
7202
- var authdetailsContext = props.actions.authdetailsContext;
7203
7153
  React.useEffect(function () {
7204
7154
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7205
7155
  var secpropobj = {};
@@ -7252,23 +7202,22 @@ var Wishlist = function Wishlist(props) {
7252
7202
  cart_btn: glamor.css({
7253
7203
  width: sectionproperties.cartBtnWidth + 'px',
7254
7204
  height: sectionproperties.cartBtnHeight + 'px',
7255
- background: sectionproperties.cartBtnbgColor,
7205
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
7256
7206
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7257
7207
  color: sectionproperties.cartBtnTextcolor,
7258
7208
  textTransform: sectionproperties.cartBtnTexttransform,
7259
7209
  fontWeight: sectionproperties.cartBtnTextfontweight,
7260
7210
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
7261
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7262
7211
  transition: '.3s',
7263
7212
  ':hover': {
7264
- background: sectionproperties.cartBtnbgColoronhover,
7213
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
7265
7214
  color: sectionproperties.cartBtnTextcoloronhover,
7266
7215
  borderColor: sectionproperties.cartBtnTextcoloronhover
7267
7216
  }
7268
7217
  }),
7269
7218
  trash_btn: glamor.css({
7270
- width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
7271
- height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
7219
+ width: sectionproperties.trashbtn_Width + 'px',
7220
+ height: sectionproperties.trashbtn_Height + 'px',
7272
7221
  background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
7273
7222
  color: sectionproperties.trashbtn_Textcolor,
7274
7223
  borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
@@ -7280,13 +7229,20 @@ var Wishlist = function Wishlist(props) {
7280
7229
  }
7281
7230
  }),
7282
7231
  imagecont: glamor.css({
7283
- width: '100px',
7284
- height: '90px',
7232
+ width: '70px',
7233
+ height: '60px',
7234
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7285
7235
  backgroundColor: sectionproperties.prodimage_bgcolor,
7286
- borderRadius: sectionproperties.productimageborderradius + 'px',
7236
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
7237
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
7238
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
7239
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
7287
7240
  display: 'flex',
7288
7241
  alignItems: 'center',
7289
7242
  justifyContent: 'center',
7243
+ backgroundRepeat: 'no-repeat',
7244
+ backgroundSize: 'cover',
7245
+ backgroundPosition: 'center',
7290
7246
  position: 'relative'
7291
7247
  }),
7292
7248
  containerstyle: glamor.css({
@@ -7296,23 +7252,6 @@ var Wishlist = function Wishlist(props) {
7296
7252
  '@media (max-width: 800px)': {
7297
7253
  marginTop: sectionproperties.marginTopResp + 'px'
7298
7254
  }
7299
- }),
7300
- btnstyles: glamor.css({
7301
- width: sectionproperties.generalbtn_width + '%',
7302
- height: sectionproperties.generalbtn_height + 'px',
7303
- borderRadius: sectionproperties.generalbtnborderradius + 'px',
7304
- background: sectionproperties.generalbtn_bgColor,
7305
- color: sectionproperties.generalbtn_textColor,
7306
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7307
- fontWeight: sectionproperties.generalbtn_fontweight,
7308
- ':hover': {
7309
- transition: '.3s',
7310
- color: sectionproperties.generalbtn_textColoronhover,
7311
- backgroundColor: sectionproperties.generalbtn_bgColoronhover
7312
- },
7313
- '@media (max-width: 800px)': {
7314
- width: '80%'
7315
- }
7316
7255
  })
7317
7256
  };
7318
7257
  React.useEffect(function () {
@@ -7363,7 +7302,10 @@ var Wishlist = function Wishlist(props) {
7363
7302
  margin: 0,
7364
7303
  padding: 0,
7365
7304
  background: sectionproperties.image_bgcolor,
7366
- borderRadius: sectionproperties.imageborderradius + 'px',
7305
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7306
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7307
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7308
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7367
7309
  zIndex: -1,
7368
7310
  objectFit: sectionproperties.bgcovercontain
7369
7311
  }
@@ -7379,19 +7321,45 @@ var Wishlist = function Wishlist(props) {
7379
7321
  padding: 0,
7380
7322
  objectFit: sectionproperties.bgcovercontainresponsive,
7381
7323
  background: sectionproperties.image_bgcolor,
7382
- borderRadius: sectionproperties.imageborderradius + 'px',
7324
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7325
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7326
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7327
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7383
7328
  zIndex: -1
7384
7329
  }
7385
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7330
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
7331
+ className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7332
+ style: {
7333
+ position: 'absolute',
7334
+ top: 0,
7335
+ right: 0,
7336
+ bottom: 0,
7337
+ left: 0
7338
+ }
7339
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
7340
+ className: ' m-0 p-0 ',
7341
+ style: {
7342
+ fontSize: sectionproperties.imagetextfontsize + 'px',
7343
+ color: sectionproperties.imagetextcolor,
7344
+ textTransform: sectionproperties.imagetexttextTransform,
7345
+ fontWeight: sectionproperties.imagetextfontWeight
7346
+ }
7347
+ }, lang.mywishlist)))), /*#__PURE__*/React__default["default"].createElement("div", {
7386
7348
  className: "col-lg-12 p-0"
7387
7349
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7388
7350
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
7389
7351
  style: {
7390
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
7391
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7352
+ width: sectionproperties.width + 'vw',
7353
+ paddingLeft: sectionproperties.paddingLeft + 'px',
7354
+ paddingRight: sectionproperties.paddingRight + 'px',
7392
7355
  paddingTop: sectionproperties.paddingTop + 'px',
7393
7356
  paddingBottom: sectionproperties.paddingBottom + 'px',
7394
- borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7357
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7358
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7359
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7360
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7361
+ borderColor: sectionproperties.sectioncardbordercolor,
7362
+ border: sectionproperties.sectioncardborderwidth + 'px solid'
7395
7363
  }
7396
7364
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7397
7365
  className: 'col-lg-12 p-0'
@@ -7401,118 +7369,24 @@ var Wishlist = function Wishlist(props) {
7401
7369
  })), /*#__PURE__*/React__default["default"].createElement("div", {
7402
7370
  className: 'col-lg-12 p-0'
7403
7371
  }, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
7404
- className: "row m-0 w-100 align-items-center justify-content-center",
7405
- style: {
7406
- height: '50vh',
7407
- padding: '20px'
7408
- }
7409
- }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
7410
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7411
- style: {
7412
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7413
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7414
- }
7415
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7416
- "class": "m-0 p-0 mt-5 mt-sm-2",
7417
- style: {
7418
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7419
- color: sectionproperties.sectionTitleColor,
7420
- fontWeight: sectionproperties.sectionTitleFontWeight
7421
- }
7422
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
7423
- "class": "col-lg-12 p-0 d-flex d-md-none"
7424
- }, /*#__PURE__*/React__default["default"].createElement("table", {
7425
- className: 'table'
7426
- }, /*#__PURE__*/React__default["default"].createElement("thead", {
7427
- className: ""
7428
- }, /*#__PURE__*/React__default["default"].createElement("th", {
7429
- className: 'mw-150 mw-md-300'
7430
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7431
- "class": "my-1 is-loading"
7432
- })), /*#__PURE__*/React__default["default"].createElement("th", {
7433
- className: "text-center",
7434
- style: {
7435
- minWidth: '100px'
7436
- }
7437
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7438
- "class": "my-1 is-loading"
7439
- })), /*#__PURE__*/React__default["default"].createElement("th", {
7440
- className: "text-center"
7441
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7442
- "class": "my-1 is-loading"
7443
- }))), /*#__PURE__*/React__default["default"].createElement("tbody", null, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
7444
- return /*#__PURE__*/React__default["default"].createElement("tr", {
7445
- className: ""
7446
- }, /*#__PURE__*/React__default["default"].createElement("td", {
7447
- className: "mw-150 mw-md-300"
7448
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7449
- "class": "my-1 is-loading"
7450
- })), /*#__PURE__*/React__default["default"].createElement("td", {
7451
- className: "text-center",
7452
- style: {
7453
- minWidth: '100px'
7454
- }
7455
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7456
- "class": "my-1 is-loading"
7457
- })), /*#__PURE__*/React__default["default"].createElement("td", {
7458
- className: "text-center",
7459
- style: {
7460
- minWidth: '100px'
7461
- }
7462
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7463
- "class": "my-1 is-loading"
7464
- })));
7465
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
7466
- "class": "col-lg-12 p-0 d-none d-md-flex"
7467
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7468
- className: "row m-0 w-100 align-items-center justify-content-center",
7372
+ className: "w-100 d-flex align-items-center justify-content-center",
7469
7373
  style: {
7470
7374
  height: '50vh'
7471
7375
  }
7472
- }, _toConsumableArray__default["default"](Array(3)).map(function (item, index) {
7473
- return /*#__PURE__*/React__default["default"].createElement("div", {
7474
- "class": "col-lg-12 p-0"
7475
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7476
- "class": "row m-0 w-100"
7477
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7478
- className: ' col-3 p-0 '
7479
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7480
- className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
7481
- })), /*#__PURE__*/React__default["default"].createElement("div", {
7482
- className: "col-9 pt-2"
7483
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7484
- "class": "row m-0 w-100 d-flex"
7485
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7486
- "class": "col-10 p-0 mb-1"
7487
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7488
- className: ' m-0 p-0 is-loading mb-auto '
7489
- })), /*#__PURE__*/React__default["default"].createElement("div", {
7490
- "class": "col-lg-12 p-0"
7491
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7492
- "class": ' m-0 p-0 is-loading '
7493
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
7494
- "class": "col-lg-12 allcentered p-0 mt-4"
7495
- }, /*#__PURE__*/React__default["default"].createElement("button", {
7496
- className: ' w-100 is-loading ',
7497
- style: {
7498
- height: sectionproperties.cartBtnHeight + 'px'
7499
- }
7500
- })), /*#__PURE__*/React__default["default"].createElement("div", {
7501
- "class": "col-lg-12 p-0 my-3",
7502
- style: {
7503
- background: '#eee',
7504
- height: 1,
7505
- width: '100%'
7506
- }
7507
- })));
7508
- })))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
7376
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
7377
+ color: "#ccc",
7378
+ width: "10px",
7379
+ height: "10px",
7380
+ duration: "1s"
7381
+ })), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
7509
7382
  className: "row ml-0 mr-0 w-100 "
7510
7383
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7511
7384
  className: 'col-lg-12 d-flex w-100 p-0'
7512
- }, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7385
+ }, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React__default["default"].createElement("div", {
7513
7386
  className: 'row m-0 d-flex justify-content-center w-100',
7514
7387
  style: {
7515
7388
  background: sectionproperties.reservation_bgcolor,
7389
+ border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
7516
7390
  borderRadius: sectionproperties.reservation_borderradius + 'px',
7517
7391
  padding: '20px',
7518
7392
  minHeight: '70vh'
@@ -7577,7 +7451,24 @@ var Wishlist = function Wishlist(props) {
7577
7451
  fontSize: sectionproperties.cartBtnTextfontsize + 'px'
7578
7452
  }
7579
7453
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
7580
- })))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7454
+ })), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7455
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
7456
+ style: {
7457
+ height: '50vh'
7458
+ }
7459
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7460
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7461
+ }, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
7462
+ size: sectionproperties.noprod_iconfontSize,
7463
+ color: sectionproperties.noprod_iconcolor
7464
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
7465
+ "class": "m-0 p-0 mt-2",
7466
+ style: {
7467
+ fontWeight: sectionproperties.noprod_fontWeight,
7468
+ color: sectionproperties.noprod_color,
7469
+ fontSize: sectionproperties.noprod_fontSize + 'px'
7470
+ }
7471
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React__default["default"].createElement("div", {
7581
7472
  className: ' row m-0 w-100 p-sm-3 ',
7582
7473
  style: {
7583
7474
  background: sectionproperties.reservation_bgcolor,
@@ -7587,49 +7478,24 @@ var Wishlist = function Wishlist(props) {
7587
7478
  minHeight: '70vh'
7588
7479
  }
7589
7480
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7590
- className: ' row m-0 w-100 d-block '
7591
- }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React__default["default"].createElement("div", {
7592
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7593
- style: {
7594
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7595
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7596
- }
7597
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7598
- "class": "m-0 p-0 mt-5 mt-sm-2",
7599
- style: {
7600
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7601
- color: sectionproperties.sectionTitleColor,
7602
- fontWeight: sectionproperties.sectionTitleFontWeight
7603
- }
7604
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
7605
- className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
7481
+ className: ' col-lg-12 table_responsive p-0 '
7606
7482
  }, /*#__PURE__*/React__default["default"].createElement("table", {
7607
- className: 'table'
7483
+ className: 'table table_thbg'
7608
7484
  }, /*#__PURE__*/React__default["default"].createElement("thead", {
7609
- className: ""
7610
- }, /*#__PURE__*/React__default["default"].createElement("th", {
7611
- className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
7612
- style: {
7613
- color: sectionproperties.sectionTitleColor
7614
- }
7615
- }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
7616
- className: "text-center font-weight-500 font-14",
7617
- style: {
7618
- minWidth: '100px',
7619
- color: sectionproperties.sectionTitleColor
7620
- }
7621
- }, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
7622
- className: "text-center font-weight-500 font-14",
7485
+ className: "",
7623
7486
  style: {
7624
- minWidth: '100px',
7625
- color: sectionproperties.sectionTitleColor
7487
+ background: '#eee'
7626
7488
  }
7627
- }), /*#__PURE__*/React__default["default"].createElement("th", {
7628
- className: "text-center font-weight-500 font-14",
7489
+ }, /*#__PURE__*/React__default["default"].createElement("th", {
7490
+ className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
7491
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
7492
+ className: "text-center font-weight-500 font-14 text-light",
7629
7493
  style: {
7630
- color: sectionproperties.sectionTitleColor
7494
+ minWidth: '100px'
7631
7495
  }
7632
- })), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7496
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React__default["default"].createElement("th", {
7497
+ className: "text-center font-weight-500 font-14 text-light"
7498
+ }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7633
7499
  return /*#__PURE__*/React__default["default"].createElement("tr", {
7634
7500
  className: "border-none"
7635
7501
  }, /*#__PURE__*/React__default["default"].createElement("td", {
@@ -7645,28 +7511,14 @@ var Wishlist = function Wishlist(props) {
7645
7511
  style: {
7646
7512
  width: '100%',
7647
7513
  height: '100%',
7648
- objectFit: 'contain'
7514
+ objectFit: 'cover'
7649
7515
  },
7650
7516
  loading: "lazy"
7651
7517
  })), /*#__PURE__*/React__default["default"].createElement("div", {
7652
- className: "col-lg-9 col-md-9 col-sm-8 pt-2"
7518
+ className: "col-lg-9 col-md-9 col-sm-8"
7653
7519
  }, /*#__PURE__*/React__default["default"].createElement("p", {
7654
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7655
- style: {
7656
- textAlign: langdetect == 'en' ? 'left' : 'right'
7657
- }
7658
- }, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("td", {
7659
- className: "text-center",
7660
- style: {
7661
- minWidth: '100px'
7662
- }
7663
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7664
- "class": "row m-0 w-100 allcentered flex-column"
7665
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7666
- "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7667
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
7668
- "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
7669
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
7520
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start mb-auto '
7521
+ }, item.name_en)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
7670
7522
  className: "text-center",
7671
7523
  style: {
7672
7524
  minWidth: '100px'
@@ -7677,7 +7529,28 @@ var Wishlist = function Wishlist(props) {
7677
7529
  setShowProductInfoModalContext(true);
7678
7530
  setProductIdProdutInfoModalContext(item.productid);
7679
7531
  }
7680
- }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
7532
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
7533
+ className: "",
7534
+ size: sectionproperties.cartBtn_iconFontSize
7535
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
7536
+ className: "",
7537
+ size: sectionproperties.cartBtn_iconFontSize
7538
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
7539
+ className: "",
7540
+ size: sectionproperties.cartBtn_iconFontSize
7541
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
7542
+ className: "",
7543
+ size: sectionproperties.cartBtn_iconFontSize
7544
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
7545
+ className: "",
7546
+ size: sectionproperties.cartBtn_iconFontSize
7547
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
7548
+ className: "",
7549
+ size: sectionproperties.cartBtn_iconFontSize
7550
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
7551
+ className: "",
7552
+ size: sectionproperties.cartBtn_iconFontSize
7553
+ }))), /*#__PURE__*/React__default["default"].createElement("td", {
7681
7554
  className: "text-center"
7682
7555
  }, /*#__PURE__*/React__default["default"].createElement("button", {
7683
7556
  className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
@@ -7687,110 +7560,22 @@ var Wishlist = function Wishlist(props) {
7687
7560
  style: {
7688
7561
  fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
7689
7562
  }
7690
- }, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
7691
- size: sectionproperties.trashbtn_Textfontsize
7692
- }))));
7693
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
7694
- className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
7695
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7696
- className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
7697
- }, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7698
- return /*#__PURE__*/React__default["default"].createElement("div", {
7699
- "class": "col-lg-12 p-0"
7700
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7701
- "class": "row m-0 w-100"
7702
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7703
- className: ' col-3 p-0 '
7704
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7705
- className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
7706
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
7707
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
7708
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
7709
- path: item.productmainimage,
7710
- style: {
7711
- width: '100%',
7712
- height: '100%',
7713
- objectFit: 'contain'
7714
- },
7715
- loading: "lazy"
7716
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7717
- className: "col-9 pt-2"
7718
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7719
- "class": "row m-0 w-100 d-flex"
7720
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7721
- "class": "col-10 p-0 d-flex align-items-center justify-content-start"
7722
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7723
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7724
- style: {
7725
- textAlign: langdetect == 'en' ? 'left' : 'right'
7726
- }
7727
- }, item.name_en)), /*#__PURE__*/React__default["default"].createElement("div", {
7728
- "class": "col-2 p-0 d-flex align-items-center justify-content-end"
7729
- }, /*#__PURE__*/React__default["default"].createElement("button", {
7730
- className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
7731
- onClick: function onClick() {
7732
- addtofavoritescontext(item.productid);
7733
- }
7734
- }, /*#__PURE__*/React__default["default"].createElement(HiOutlineTrash.HiOutlineTrash, {
7735
- size: sectionproperties.trashbtn_Textfontsize
7736
- }))), sectionproperties.prodPriceShow = /*#__PURE__*/React__default["default"].createElement("div", {
7737
- "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
7738
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7739
- "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7740
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
7741
- "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
7742
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
7743
- "class": "col-lg-12 allcentered p-0 mt-4"
7744
- }, /*#__PURE__*/React__default["default"].createElement("button", {
7745
- className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
7746
- onClick: function onClick() {
7747
- setShowProductInfoModalContext(true);
7748
- setProductIdProdutInfoModalContext(item.productid);
7749
- }
7750
- }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
7751
- "class": "col-lg-12 p-0 my-3",
7752
- style: {
7753
- background: '#eee',
7754
- height: 1,
7755
- width: '100%'
7756
- }
7757
- })));
7758
- }))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7759
- className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
7760
- style: {
7761
- maxHeight: '60vh',
7762
- padding: '20px'
7763
- }
7563
+ }, lang.remove)));
7564
+ }))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7565
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5"
7764
7566
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7765
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7766
- style: {
7767
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7768
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7769
- }
7770
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7771
- "class": "m-0 p-0 mt-5 mt-sm-2",
7772
- style: {
7773
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7774
- color: sectionproperties.sectionTitleColor,
7775
- fontWeight: sectionproperties.sectionTitleFontWeight
7776
- }
7777
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
7778
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
7779
- }, /*#__PURE__*/React__default["default"].createElement("p", {
7780
- "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
7567
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7568
+ }, /*#__PURE__*/React__default["default"].createElement(BiSad.BiSad, {
7569
+ size: sectionproperties.noprod_iconfontSize,
7570
+ color: sectionproperties.noprod_iconcolor
7571
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
7572
+ "class": "m-0 p-0 mt-2",
7781
7573
  style: {
7782
7574
  fontWeight: sectionproperties.noprod_fontWeight,
7783
7575
  color: sectionproperties.noprod_color,
7784
7576
  fontSize: sectionproperties.noprod_fontSize + 'px'
7785
7577
  }
7786
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
7787
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
7788
- }, /*#__PURE__*/React__default["default"].createElement("button", {
7789
- "class": "".concat(wishlist_cssstyles.btnstyles),
7790
- onClick: function onClick() {
7791
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
7792
- }
7793
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
7578
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
7794
7579
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
7795
7580
  })));
7796
7581
  };
@@ -7798,7 +7583,7 @@ var Wishlist = function Wishlist(props) {
7798
7583
  function ownKeys$2f(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; }
7799
7584
  function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7800
7585
  var Viewcart = function Viewcart(props) {
7801
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
7586
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
7802
7587
  var lang = props.actions.lang;
7803
7588
  var langdetect = props.actions.langdetect;
7804
7589
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -7821,10 +7606,6 @@ var Viewcart = function Viewcart(props) {
7821
7606
  _useState4 = _slicedToArray__default["default"](_useState3, 2);
7822
7607
  _useState4[0];
7823
7608
  var setimagesarray = _useState4[1];
7824
- var _useState5 = React.useState([]),
7825
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
7826
- bgimagesarray = _useState6[0],
7827
- setbgimagesarray = _useState6[1];
7828
7609
  React.useEffect(function () {
7829
7610
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7830
7611
  var _StatePagePropertiesC;
@@ -7851,16 +7632,6 @@ var Viewcart = function Viewcart(props) {
7851
7632
  }
7852
7633
  }
7853
7634
  }, [sectionproperties]);
7854
- React.useEffect(function () {
7855
- if (sectionproperties.length != 0) {
7856
- if (sectionproperties.arrayofobjectimagesonly != null) {
7857
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7858
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7859
- setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
7860
- }
7861
- }
7862
- }
7863
- }, [sectionproperties]);
7864
7635
  var Summary = function Summary() {
7865
7636
  var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
7866
7637
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -7932,23 +7703,6 @@ var Viewcart = function Viewcart(props) {
7932
7703
  }, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
7933
7704
  };
7934
7705
  var viewcart_cssstyles = {
7935
- btnstyles: glamor.css({
7936
- width: sectionproperties.generalbtn_width + '%',
7937
- height: sectionproperties.generalbtn_height + 'px',
7938
- borderRadius: sectionproperties.generalbtnborderradius + 'px',
7939
- background: sectionproperties.generalbtn_bgColor,
7940
- color: sectionproperties.generalbtn_textColor,
7941
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7942
- fontWeight: sectionproperties.generalbtn_fontweight,
7943
- ':hover': {
7944
- transition: '.3s',
7945
- color: sectionproperties.generalbtn_textColoronhover,
7946
- backgroundColor: sectionproperties.generalbtn_bgColoronhover
7947
- },
7948
- '@media (max-width: 800px)': {
7949
- width: '80%'
7950
- }
7951
- }),
7952
7706
  checkoutbtnstyles: glamor.css({
7953
7707
  background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
7954
7708
  width: sectionproperties.checkoutBtnWidth + 'px',
@@ -8069,8 +7823,10 @@ var Viewcart = function Viewcart(props) {
8069
7823
  }
8070
7824
  }),
8071
7825
  tableimagecont: glamor.css({
8072
- width: sectionproperties.prodimage_width + 'px',
8073
- height: sectionproperties.prodimage_height + 'px',
7826
+ width: '70px',
7827
+ height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
7828
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7829
+ backgroundColor: sectionproperties.prodimage_bgcolor,
8074
7830
  display: 'flex',
8075
7831
  alignItems: 'center',
8076
7832
  justifyContent: 'center',
@@ -8085,6 +7841,20 @@ var Viewcart = function Viewcart(props) {
8085
7841
  }
8086
7842
  })
8087
7843
  };
7844
+ var _useState5 = React.useState([]),
7845
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
7846
+ bgimagesarray = _useState6[0],
7847
+ setbgimagesarray = _useState6[1];
7848
+ React.useEffect(function () {
7849
+ if (sectionproperties.length != 0) {
7850
+ if (sectionproperties.arrayofobjectimagesonly != null) {
7851
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7852
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7853
+ setbgimagesarray(_toConsumableArray__default["default"](arrayofobjectimagesonlyparsed));
7854
+ }
7855
+ }
7856
+ }
7857
+ }, [sectionproperties]);
8088
7858
  return /*#__PURE__*/React__default["default"].createElement("div", {
8089
7859
  className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
8090
7860
  style: {}
@@ -8108,7 +7878,7 @@ var Viewcart = function Viewcart(props) {
8108
7878
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
8109
7879
  style: {
8110
7880
  width: sectionproperties.image_width + 'vw',
8111
- height: 'auto',
7881
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
8112
7882
  marginBottom: sectionproperties.image_mb + 'px',
8113
7883
  position: 'relative'
8114
7884
  }
@@ -8120,11 +7890,15 @@ var Viewcart = function Viewcart(props) {
8120
7890
  style: {
8121
7891
  height: '100%',
8122
7892
  width: '100%',
8123
- objectFit: 'contain',
8124
7893
  margin: 0,
8125
7894
  padding: 0,
8126
- borderRadius: sectionproperties.imageborderradius + 'px',
8127
- zIndex: -1
7895
+ background: sectionproperties.image_bgcolor,
7896
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7897
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7898
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7899
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7900
+ zIndex: -1,
7901
+ objectFit: sectionproperties.bgcovercontain
8128
7902
  }
8129
7903
  }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
8130
7904
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -8134,22 +7908,48 @@ var Viewcart = function Viewcart(props) {
8134
7908
  style: {
8135
7909
  height: '100%',
8136
7910
  width: '100%',
8137
- objectFit: 'contain',
8138
7911
  margin: 0,
8139
7912
  padding: 0,
8140
- borderRadius: sectionproperties.imageborderradius + 'px',
7913
+ objectFit: sectionproperties.bgcovercontainresponsive,
7914
+ background: sectionproperties.image_bgcolor,
7915
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7916
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7917
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7918
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
8141
7919
  zIndex: -1
8142
7920
  }
8143
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7921
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
7922
+ className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7923
+ style: {
7924
+ position: 'absolute',
7925
+ top: 0,
7926
+ right: 0,
7927
+ bottom: 0,
7928
+ left: 0
7929
+ }
7930
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
7931
+ className: ' m-0 p-0 ',
7932
+ style: {
7933
+ fontSize: sectionproperties.imagetextfontsize + 'px',
7934
+ color: sectionproperties.imagetextcolor,
7935
+ textTransform: sectionproperties.imagetexttextTransform,
7936
+ fontWeight: sectionproperties.imagetextfontWeight
7937
+ }
7938
+ }, lang.mycart)))), /*#__PURE__*/React__default["default"].createElement("div", {
8144
7939
  className: "col-lg-12 p-0"
8145
7940
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8146
7941
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
8147
7942
  style: {
8148
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8149
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7943
+ paddingLeft: sectionproperties.paddingLeft + 'px',
7944
+ paddingRight: sectionproperties.paddingRight + 'px',
8150
7945
  paddingTop: sectionproperties.paddingTop + 'px',
8151
7946
  paddingBottom: sectionproperties.paddingBottom + 'px',
8152
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7947
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7948
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7949
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7950
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7951
+ borderColor: sectionproperties.sectioncardbordercolor,
7952
+ border: sectionproperties.sectioncardborderwidth + 'px solid'
8153
7953
  }
8154
7954
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8155
7955
  className: 'col-lg-12 p-0'
@@ -8158,7 +7958,7 @@ var Viewcart = function Viewcart(props) {
8158
7958
  actions: actions
8159
7959
  })), /*#__PURE__*/React__default["default"].createElement("div", {
8160
7960
  className: 'col-lg-12 d-flex w-100 p-0'
8161
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7961
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8162
7962
  className: "row m-0 w-100"
8163
7963
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8164
7964
  className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
@@ -8174,7 +7974,10 @@ var Viewcart = function Viewcart(props) {
8174
7974
  }, /*#__PURE__*/React__default["default"].createElement("table", {
8175
7975
  className: 'table table_thbg'
8176
7976
  }, /*#__PURE__*/React__default["default"].createElement("thead", {
8177
- className: ""
7977
+ className: "",
7978
+ style: {
7979
+ background: '#eee'
7980
+ }
8178
7981
  }, /*#__PURE__*/React__default["default"].createElement("th", {
8179
7982
  className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
8180
7983
  }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
@@ -8191,7 +7994,7 @@ var Viewcart = function Viewcart(props) {
8191
7994
  }
8192
7995
  }, lang.total), /*#__PURE__*/React__default["default"].createElement("th", {
8193
7996
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
8194
- }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
7997
+ }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.map(function (item, index) {
8195
7998
  return /*#__PURE__*/React__default["default"].createElement("tr", {
8196
7999
  className: "border-none"
8197
8000
  }, /*#__PURE__*/React__default["default"].createElement("td", {
@@ -8207,7 +8010,8 @@ var Viewcart = function Viewcart(props) {
8207
8010
  style: {
8208
8011
  width: '100%',
8209
8012
  height: '100%',
8210
- objectFit: 'contain'
8013
+ objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
8014
+ borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
8211
8015
  },
8212
8016
  loading: "lazy"
8213
8017
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -8361,46 +8165,39 @@ var Viewcart = function Viewcart(props) {
8361
8165
  deletecartitemContext(item);
8362
8166
  }
8363
8167
  }, lang.remove)));
8364
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
8365
- className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8366
- }, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8367
- className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
8168
+ })))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8169
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5",
8368
8170
  style: {
8369
- maxHeight: '60vh'
8171
+ height: '50vh'
8370
8172
  }
8371
8173
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8372
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8174
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8175
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8176
+ className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8177
+ }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
8178
+ src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
8373
8179
  style: {
8374
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8375
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8180
+ maxWidth: '250px',
8181
+ maxHeight: '250px'
8376
8182
  }
8377
- }, /*#__PURE__*/React__default["default"].createElement("p", {
8378
- "class": "m-0 p-0",
8183
+ }), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
8379
8184
  style: {
8380
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
8381
- color: sectionproperties.sectionTitleColor,
8382
- fontWeight: sectionproperties.sectionTitleFontWeight
8185
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
8186
+ color: sectionproperties.noprod_iconcolor
8383
8187
  }
8384
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8385
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
8386
- }, /*#__PURE__*/React__default["default"].createElement("p", {
8387
- "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
8188
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
8189
+ "class": "m-0 p-0 mt-2",
8388
8190
  style: {
8389
8191
  fontWeight: sectionproperties.noprod_fontWeight,
8390
8192
  color: sectionproperties.noprod_color,
8391
8193
  fontSize: sectionproperties.noprod_fontSize + 'px'
8392
8194
  }
8393
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
8394
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
8395
- }, /*#__PURE__*/React__default["default"].createElement("button", {
8396
- "class": "".concat(viewcart_cssstyles.btnstyles),
8397
- onClick: function onClick() {
8398
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8399
- }
8400
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
8195
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
8196
+ className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8197
+ }, Summary()))))));
8401
8198
  };
8402
8199
 
8403
- var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
8200
+ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n /* background-color: #e9ecef; */\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
8404
8201
  var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
8405
8202
  styleInject(css_248z$G);
8406
8203
 
@@ -8711,8 +8508,6 @@ var Checkout = function Checkout(props) {
8711
8508
  borderRadius: sectionproperties.reservation_borderradius + 'px',
8712
8509
  border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
8713
8510
  })), _defineProperty__default["default"](_checkoutstyles, "containerstyles", glamor.css({
8714
- marginTop: sectionproperties.marginTop + 'px',
8715
- marginBottom: sectionproperties.marginBottom + 'px',
8716
8511
  paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8717
8512
  paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
8718
8513
  paddingTop: sectionproperties.paddingTop + 'px',
@@ -9632,7 +9427,7 @@ var Checkout = function Checkout(props) {
9632
9427
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
9633
9428
  })), /*#__PURE__*/React__default["default"].createElement("p", {
9634
9429
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
9635
- }, " Mobile Wallet")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
9430
+ }, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
9636
9431
  className: "col-lg-12 p-0 w-100 mb-3"
9637
9432
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9638
9433
  style: {
@@ -12256,7 +12051,7 @@ var CartSlider = function CartSlider(props) {
12256
12051
  background: sectionproperties.vl_bg
12257
12052
  }
12258
12053
  }))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.status) && /*#__PURE__*/React__default["default"].createElement("div", {
12259
- "class": "row m-0 w-100 h-100"
12054
+ "class": "row m-0 w-100 h-100 px-2"
12260
12055
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12261
12056
  className: "".concat(cartstyles.cartslider_container, " ") + ' pb-3 h-100 w-100 ',
12262
12057
  style: {
@@ -12353,10 +12148,42 @@ var CartSlider = function CartSlider(props) {
12353
12148
  className: 'col-lg-4 col-md-4 col-sm-4 p-0'
12354
12149
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12355
12150
  className: cart_cssstyles.imagecont
12356
- }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
12151
+ }, item.productinfo.hasvariants == 0 && item.productinfo.productmainimage != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
12357
12152
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
12358
12153
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
12359
- path: item.productinfo.hasvariants == 0 ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
12154
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.productmainimage,
12155
+ loading: "lazy",
12156
+ style: {
12157
+ height: '100%',
12158
+ width: '100%',
12159
+ objectFit: 'contain'
12160
+ }
12161
+ }), item.productinfo.hasvariants == 0 && item.productinfo.productmainimage == '' && /*#__PURE__*/React__default["default"].createElement("div", {
12162
+ style: {
12163
+ width: '100%',
12164
+ height: '100%',
12165
+ background: '#eee',
12166
+ borderRadius: 10
12167
+ }
12168
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
12169
+ "class": "h-100 allcentered text-light"
12170
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
12171
+ size: 26
12172
+ }))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl == '' && /*#__PURE__*/React__default["default"].createElement("div", {
12173
+ style: {
12174
+ width: '100%',
12175
+ height: '100%',
12176
+ background: '#eee',
12177
+ borderRadius: 10
12178
+ }
12179
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
12180
+ "class": "h-100 allcentered text-light"
12181
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
12182
+ size: 26
12183
+ }))), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantimageurl != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
12184
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
12185
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
12186
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.productinfo.variantinfo.variantimageurl,
12360
12187
  loading: "lazy",
12361
12188
  style: {
12362
12189
  height: '100%',
@@ -12394,7 +12221,7 @@ var CartSlider = function CartSlider(props) {
12394
12221
  "class": "row m-0 w-100"
12395
12222
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12396
12223
  "class": "col-9 p-0 d-flex justify-content-start align-items-center"
12397
- }, /*#__PURE__*/React__default["default"].createElement("button", {
12224
+ }, item.productinfo.item_type == 'product' && item.productinfo.isproducthasquantitychange == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
12398
12225
  className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
12399
12226
  }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
12400
12227
  className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
@@ -12429,7 +12256,49 @@ var CartSlider = function CartSlider(props) {
12429
12256
  }
12430
12257
  }, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
12431
12258
  size: sectionproperties.remove_quantitybtn_textfontsize
12432
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
12259
+ }))), item.productinfo.item_type == 'service' && item.reserv_fixeddate != null && /*#__PURE__*/React__default["default"].createElement("div", {
12260
+ "class": "col-lg-12 p-0 text-start"
12261
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
12262
+ className: "row m-0 w-100 d-flex align-items-center justify-content-start",
12263
+ style: {
12264
+ color: sectionproperties.quantitybtn_textcolor
12265
+ }
12266
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
12267
+ "class": "col-lg-12 p-0 text-start flex-row"
12268
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
12269
+ "class": "m-0 p-0",
12270
+ style: {
12271
+ textAlign: langdetect == 'en' ? 'left' : 'right'
12272
+ }
12273
+ }, item.reserv_fixeddate)), /*#__PURE__*/React__default["default"].createElement("div", {
12274
+ "class": "col-lg-12 p-0 text-start flex-row"
12275
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
12276
+ "class": "m-0 p-0",
12277
+ style: {
12278
+ textAlign: langdetect == 'en' ? 'left' : 'right'
12279
+ }
12280
+ }, item.reserv_time)))), item.productinfo.item_type == 'service' && item.reserv_fixeddate == null && /*#__PURE__*/React__default["default"].createElement("div", {
12281
+ "class": "col-lg-12 p-0 text-start"
12282
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
12283
+ className: "row m-0 w-100 d-flex align-items-center justify-content-start",
12284
+ style: {
12285
+ color: sectionproperties.quantitybtn_textcolor
12286
+ }
12287
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
12288
+ "class": "col-lg-12 p-0 text-start flex-row"
12289
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
12290
+ "class": "m-0 p-0",
12291
+ style: {
12292
+ textAlign: langdetect == 'en' ? 'left' : 'right'
12293
+ }
12294
+ }, langdetect == 'en' ? 'From' : 'من', ": ", item.reserv_fromdate)), /*#__PURE__*/React__default["default"].createElement("div", {
12295
+ "class": "col-lg-12 p-0 text-start flex-row"
12296
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
12297
+ "class": "m-0 p-0",
12298
+ style: {
12299
+ textAlign: langdetect == 'en' ? 'left' : 'right'
12300
+ }
12301
+ }, langdetect == 'en' ? 'To' : 'إلى', ": ", item.reserv_todate))))), /*#__PURE__*/React__default["default"].createElement("div", {
12433
12302
  "class": "col-3 p-0 d-flex justify-content-end align-items-center"
12434
12303
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12435
12304
  "class": "".concat(cart_cssstyles.trash_btn) + ' cursor-pointer m-0 p-0 ',
@@ -12481,11 +12350,11 @@ var CartSlider = function CartSlider(props) {
12481
12350
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12482
12351
  "class": "m-0 p-0",
12483
12352
  style: {
12484
- color: '#ababab',
12353
+ color: sectionproperties.generaltext_fontColor,
12485
12354
  fontSize: '13px',
12486
12355
  fontWeight: 500
12487
12356
  }
12488
- }, langdetect == 'en' ? 'Shipping calculated at checkout.' : 'مصاريف الشحن تحسب عند الدفع.')), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
12357
+ }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.cartitems) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
12489
12358
  className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
12490
12359
  }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
12491
12360
  className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
@@ -13260,122 +13129,138 @@ var Filter$1 = function Filter(props) {
13260
13129
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
13261
13130
  };
13262
13131
 
13132
+ var AccordionInner = function AccordionInner(parentcollectionindex, parentcollectionitem) {
13133
+ var _parentcollectionitem;
13134
+ return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
13135
+ uuid: parentcollectionindex
13136
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
13137
+ className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
13138
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13139
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13140
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13141
+ className: langdetect == 'en' ? filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 ' : filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 text-right'
13142
+ }, langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13143
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
13144
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
13145
+ if (state.expanded == true) {
13146
+ return /*#__PURE__*/React__default["default"].createElement("i", {
13147
+ className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13148
+ }, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
13149
+ } else {
13150
+ return /*#__PURE__*/React__default["default"].createElement("i", {
13151
+ className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13152
+ }, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
13153
+ }
13154
+ }))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
13155
+ className: "p-0"
13156
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13157
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex "
13158
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13159
+ "class": "col-lg-12 mb-3 allcentered"
13160
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13161
+ "class": filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize ',
13162
+ style: {
13163
+ textDecoration: 'underline'
13164
+ },
13165
+ onClick: function onClick() {
13166
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + parentcollectionitem.parentcollectionid);
13167
+ }
13168
+ }, langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar, ' ', langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13169
+ className: 'col-lg-12 pl-md-3 pr-md-3'
13170
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13171
+ className: langdetect == 'en' ? "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
13172
+ }, parentcollectionitem === null || parentcollectionitem === void 0 || (_parentcollectionitem = parentcollectionitem.collections) === null || _parentcollectionitem === void 0 ? void 0 : _parentcollectionitem.map(function (collectionitem, collectionindex) {
13173
+ if (collectionitem.isinftiler == 1) {
13174
+ return /*#__PURE__*/React__default["default"].createElement("div", {
13175
+ className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n").concat(collectionitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n") + ' d-flex align-items-start pb-3 ',
13176
+ onClick: function onClick() {
13177
+ setCollectionFilterFunc(collectionitem.collectionid);
13178
+ }
13179
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13180
+ className: " ".concat(collectionitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
13181
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
13182
+ className: "h-100 d-flex align-items-center"
13183
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
13184
+ className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
13185
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13186
+ className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
13187
+ style: {
13188
+ color: collectionitem.isfilterselected ? sectionproperties.activecat_color : ''
13189
+ }
13190
+ }, langdetect == 'en' ? collectionitem.title_en : collectionitem.title_ar)));
13191
+ }
13192
+ }))))));
13193
+ };
13194
+ var AccordionOuter = function AccordionOuter(categoryItem, categoryIndex) {
13195
+ var _authdetailsContext$i3;
13196
+ return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
13197
+ uuid: categoryIndex
13198
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
13199
+ className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-1 pl-md-3 pr-md-3 '
13200
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13201
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
13202
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13203
+ className: filter_cssstyles.categoryName + ' collapsetitle text-capitalize m-0 p-0 '
13204
+ }, langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13205
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
13206
+ }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
13207
+ if (state.expanded == true) {
13208
+ return /*#__PURE__*/React__default["default"].createElement("i", {
13209
+ className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13210
+ }, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
13211
+ } else {
13212
+ return /*#__PURE__*/React__default["default"].createElement("i", {
13213
+ className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13214
+ }, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
13215
+ }
13216
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
13217
+ className: "col-lg-12 p-0"
13218
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
13219
+ className: "mt-3 mb-2"
13220
+ }))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
13221
+ className: "p-0"
13222
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13223
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
13224
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13225
+ "class": "col-lg-12 mb-3 allcentered"
13226
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
13227
+ "class": filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize ',
13228
+ style: {
13229
+ textDecoration: 'underline'
13230
+ },
13231
+ onClick: function onClick() {
13232
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + categoryItem.categoryid);
13233
+ }
13234
+ }, langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar, ' ', langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar)), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories[categoryIndex]) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.parentcolletions.map(function (parentcollectionitem, parentcollectionindex) {
13235
+ if (parentcollectionitem.isinftiler == 1) {
13236
+ return /*#__PURE__*/React__default["default"].createElement("div", {
13237
+ "class": "col-lg-12"
13238
+ }, sectionproperties.expandall == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13239
+ allowMultipleExpanded: true,
13240
+ allowZeroExpanded: true,
13241
+ preExpanded: [0, 1, 2, 3, 4, 5, 6, 7, 8,, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
13242
+ }, AccordionInner(parentcollectionindex, parentcollectionitem)), sectionproperties.expandall == 'No' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13243
+ allowMultipleExpanded: true,
13244
+ allowZeroExpanded: true
13245
+ }, AccordionInner(parentcollectionindex, parentcollectionitem)));
13246
+ }
13247
+ }))));
13248
+ };
13263
13249
  var CategoriesFilter = function CategoriesFilter() {
13264
13250
  return /*#__PURE__*/React__default["default"].createElement("div", {
13265
13251
  "class": "col-lg-12 p-0"
13266
13252
  }, instcategories === null || instcategories === void 0 ? void 0 : instcategories.map(function (categoryItem, categoryIndex) {
13267
13253
  if (categoryItem.isinftiler == 1) {
13268
- var _authdetailsContext$i3;
13269
- return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13254
+ return /*#__PURE__*/React__default["default"].createElement("div", {
13255
+ "class": "col-lg-12 p-0"
13256
+ }, sectionproperties.expandall == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13257
+ allowMultipleExpanded: true,
13258
+ allowZeroExpanded: true,
13259
+ preExpanded: [0, 1, 2, 3, 4, 5, 6, 7, 8,, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
13260
+ }, AccordionOuter(categoryItem, categoryIndex)), sectionproperties.expandall == 'No' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13270
13261
  allowMultipleExpanded: true,
13271
13262
  allowZeroExpanded: true
13272
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
13273
- uuid: categoryIndex
13274
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
13275
- className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-1 pl-md-3 pr-md-3 '
13276
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13277
- className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
13278
- }, /*#__PURE__*/React__default["default"].createElement("p", {
13279
- className: filter_cssstyles.categoryName + ' collapsetitle text-capitalize m-0 p-0 '
13280
- }, langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13281
- className: "col-lg-2 col-md-2 col-sm-2 p-0"
13282
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
13283
- if (state.expanded == true) {
13284
- return /*#__PURE__*/React__default["default"].createElement("i", {
13285
- className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13286
- }, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
13287
- } else {
13288
- return /*#__PURE__*/React__default["default"].createElement("i", {
13289
- className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13290
- }, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
13291
- }
13292
- })), /*#__PURE__*/React__default["default"].createElement("div", {
13293
- className: "col-lg-12 p-0"
13294
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
13295
- className: "mt-3 mb-2"
13296
- }))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
13297
- className: "p-0"
13298
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13299
- className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex"
13300
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13301
- "class": "col-lg-12 mb-3 allcentered"
13302
- }, /*#__PURE__*/React__default["default"].createElement("p", {
13303
- "class": filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize ',
13304
- style: {
13305
- textDecoration: 'underline'
13306
- },
13307
- onClick: function onClick() {
13308
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + categoryItem.categoryid);
13309
- }
13310
- }, langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar, ' ', langdetect == 'en' ? categoryItem.title_en : categoryItem.title_ar)), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories[categoryIndex]) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.parentcolletions.map(function (parentcollectionitem, parentcollectionindex) {
13311
- if (parentcollectionitem.isinftiler == 1) {
13312
- var _parentcollectionitem;
13313
- return /*#__PURE__*/React__default["default"].createElement("div", {
13314
- "class": "col-lg-12"
13315
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
13316
- allowMultipleExpanded: true,
13317
- allowZeroExpanded: true
13318
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
13319
- uuid: parentcollectionindex
13320
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
13321
- className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
13322
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13323
- className: "col-lg-10 col-md-10 col-sm-10 p-0"
13324
- }, /*#__PURE__*/React__default["default"].createElement("p", {
13325
- className: langdetect == 'en' ? filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 ' : filter_cssstyles.pCollectionName + ' collapsetitle text-capitalize m-0 p-0 text-right'
13326
- }, langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13327
- className: "col-lg-2 col-md-2 col-sm-2 p-0"
13328
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
13329
- if (state.expanded == true) {
13330
- return /*#__PURE__*/React__default["default"].createElement("i", {
13331
- className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13332
- }, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
13333
- } else {
13334
- return /*#__PURE__*/React__default["default"].createElement("i", {
13335
- className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
13336
- }, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
13337
- }
13338
- }))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
13339
- className: "p-0"
13340
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13341
- className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex "
13342
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13343
- "class": "col-lg-12 mb-3 allcentered"
13344
- }, /*#__PURE__*/React__default["default"].createElement("p", {
13345
- "class": filter_cssstyles.explorebtn + ' m-0 p-0 cursor-pointer text-capitalize ',
13346
- style: {
13347
- textDecoration: 'underline'
13348
- },
13349
- onClick: function onClick() {
13350
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + parentcollectionitem.parentcollectionid);
13351
- }
13352
- }, langdetect == 'en' ? sectionproperties.explorebtncontenten : sectionproperties.explorebtncontentar, ' ', langdetect == 'en' ? parentcollectionitem.title_en : parentcollectionitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
13353
- className: 'col-lg-12 pl-md-3 pr-md-3'
13354
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13355
- className: langdetect == 'en' ? "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
13356
- }, parentcollectionitem === null || parentcollectionitem === void 0 || (_parentcollectionitem = parentcollectionitem.collections) === null || _parentcollectionitem === void 0 ? void 0 : _parentcollectionitem.map(function (collectionitem, collectionindex) {
13357
- if (collectionitem.isinftiler == 1) {
13358
- return /*#__PURE__*/React__default["default"].createElement("div", {
13359
- className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(collectionitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n ") + ' d-flex align-items-start pb-3 ',
13360
- onClick: function onClick() {
13361
- setCollectionFilterFunc(collectionitem.collectionid);
13362
- }
13363
- }, /*#__PURE__*/React__default["default"].createElement("div", {
13364
- className: " ".concat(collectionitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
13365
- }, /*#__PURE__*/React__default["default"].createElement("i", {
13366
- className: "h-100 d-flex align-items-center"
13367
- })), /*#__PURE__*/React__default["default"].createElement("div", {
13368
- className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
13369
- }, /*#__PURE__*/React__default["default"].createElement("p", {
13370
- className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
13371
- style: {
13372
- color: collectionitem.isfilterselected ? sectionproperties.activecat_color : ''
13373
- }
13374
- }, langdetect == 'en' ? collectionitem.title_en : collectionitem.title_ar)));
13375
- }
13376
- }))))))));
13377
- }
13378
- })))));
13263
+ }, AccordionOuter(categoryItem, categoryIndex)));
13379
13264
  }
13380
13265
  }));
13381
13266
  };
@@ -16550,6 +16435,10 @@ var Searchlist$1 = function Searchlist(props) {
16550
16435
  color: sectionproperties.searchlist_prodNameColorOnHover
16551
16436
  }
16552
16437
  }),
16438
+ productnamecont: glamor.css({
16439
+ paddingLeft: langdetect == 'en' ? '0.25rem' : 0,
16440
+ paddingRight: langdetect == 'ar' ? '0.25rem' : 0
16441
+ }),
16553
16442
  productNameStyles: glamor.css({
16554
16443
  fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
16555
16444
  textTransform: sectionproperties.searchlist_prodNameTextTranform,
@@ -16592,7 +16481,7 @@ var Searchlist$1 = function Searchlist(props) {
16592
16481
  minHeight: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '30vh' : props.srcfromprops == 'ElegantHeader' ? '50vh' : '30vh'
16593
16482
  }),
16594
16483
  searchlist_innercontainer: glamor.css({
16595
- height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : '30vh',
16484
+ height: props.srcfromprops == 'cardssection' ? '25vh' : props.srcfromprops == 'ElegantHeader' ? '48vh' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : '30vh',
16596
16485
  overflowY: 'scroll'
16597
16486
  // height: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '100vh' : props.srcfromprops == 'cardssection' ? '25vh' : '30vh',
16598
16487
  // overflowY: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'scroll' : 'hidden',
@@ -16624,9 +16513,10 @@ var Searchlist$1 = function Searchlist(props) {
16624
16513
  height: "10px",
16625
16514
  duration: "1s"
16626
16515
  }))), !SearchHeaderMutationContext.isLoading && SearchHeaderMutationContext.isSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
16627
- "class": "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center p-0 ',
16516
+ "class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? ' row m-0 w-100 d-flex justify-content-center ' : "".concat(searchlist_styles.searchlist_innercontainer) + ' subscrollbar row m-0 w-100 d-flex justify-content-center ',
16628
16517
  style: {
16629
- overflowX: 'hidden'
16518
+ overflowX: 'hidden',
16519
+ paddingBottom: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? '50px' : '0.25rem'
16630
16520
  }
16631
16521
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16632
16522
  "class": "col-lg-12 m-0 w-100 p-0"
@@ -16657,7 +16547,7 @@ var Searchlist$1 = function Searchlist(props) {
16657
16547
  borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
16658
16548
  }
16659
16549
  })), /*#__PURE__*/React__default["default"].createElement("div", {
16660
- "class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0 d-flex' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'col-lg-9 col-md-10 col-sm-9 pl-1 pr-0 d-flex' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0 d-flex',
16550
+ "class": props.srcfromprops == 'StylishHeader' ? searchlist_styles.productnamecont + ' col-lg-11 col-md-11 col-sm-9 d-flex ' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? searchlist_styles.productnamecont + ' col-lg-9 col-md-10 col-sm-9 d-flex ' : searchlist_styles.productnamecont + ' col-lg-10 col-md-11 col-sm-9 d-flex ',
16661
16551
  style: {
16662
16552
  alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
16663
16553
  }
@@ -16674,12 +16564,12 @@ var Searchlist$1 = function Searchlist(props) {
16674
16564
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center",
16675
16565
  style: {
16676
16566
  marginTop: sectionproperties.pricingmargintop != undefined ? sectionproperties.pricingmargintop + 'px' : '-0.25rem',
16677
- display: props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'column' : 'row'
16567
+ display: 'row'
16678
16568
  }
16679
16569
  }, /*#__PURE__*/React__default["default"].createElement("p", {
16680
16570
  "class": "".concat(searchlist_styles.productPricestyles) + ' m-0 '
16681
16571
  }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
16682
- "class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? "".concat(searchlist_styles.productSalePricestyles) + ' linethrough mb-0' : "".concat(searchlist_styles.productSalePricestyles) + ' linethrough ml-2 mr-2 mb-0'
16572
+ "class": props.srcfromprops == 'searchlistsliderheaderfullwidth' ? "".concat(searchlist_styles.productSalePricestyles) + ' linethrough mb-0 ml-2 mr-2' : "".concat(searchlist_styles.productSalePricestyles) + ' linethrough ml-2 mr-2 mb-0'
16683
16573
  }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), index != SearchHeaderMutationContext.data.data.products.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16684
16574
  className: "col-lg-12 col-md-12 p-0"
16685
16575
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
@@ -18400,8 +18290,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18400
18290
  setmenuactive = _useState6[1];
18401
18291
  var _useState7 = React.useState(false),
18402
18292
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
18403
- openSearch = _useState8[0],
18404
- setopenSearch = _useState8[1];
18293
+ openSearch = _useState8[0];
18294
+ _useState8[1];
18405
18295
  React.useEffect(function () {
18406
18296
  if (props.sectionpropertiesprops != undefined) {
18407
18297
  setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
@@ -18672,12 +18562,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18672
18562
  }
18673
18563
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18674
18564
  className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
18675
- }, /*#__PURE__*/React__default["default"].createElement("i", {
18676
- "class": "h-100 allcentered",
18677
- onClick: function onClick() {
18678
- setopenSearch(true);
18679
- }
18680
- }, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
18565
+ }, sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
18681
18566
  "class": ' h-100 allcentered ',
18682
18567
  style: {
18683
18568
  color: sectionproperties.cart_BtnTextcolor_resp
@@ -21638,6 +21523,18 @@ var ClassicHeader = function ClassicHeader(props) {
21638
21523
  minWidth: '200px'
21639
21524
  }
21640
21525
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
21526
+ onClick: function onClick() {
21527
+ routingcountext(StaticPagesLinksContext.accountinfo);
21528
+ }
21529
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
21530
+ "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
21531
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
21532
+ "class": "h-100 allcentered"
21533
+ }, /*#__PURE__*/React__default["default"].createElement(AiOutlineUserAdd.AiOutlineUserAdd, {
21534
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
21535
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
21536
+ "class": ' allcenetered m-0 p-0 '
21537
+ }, langdetect == 'en' ? 'My Account' : 'حسابى'))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
21641
21538
  onClick: function onClick() {
21642
21539
  routingcountext(StaticPagesLinksContext.Ordershistory);
21643
21540
  }
@@ -21809,7 +21706,7 @@ var ClassicHeader = function ClassicHeader(props) {
21809
21706
  }
21810
21707
  }), /*#__PURE__*/React__default["default"].createElement("span", {
21811
21708
  "class": 'ml-2 mr-2'
21812
- }, lang.arabic)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
21709
+ }, 'لغة عربية')))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
21813
21710
  onClick: function onClick() {
21814
21711
  setlang('en');
21815
21712
  }
@@ -21830,7 +21727,7 @@ var ClassicHeader = function ClassicHeader(props) {
21830
21727
  }
21831
21728
  }), /*#__PURE__*/React__default["default"].createElement("span", {
21832
21729
  "class": 'ml-2 mr-2'
21833
- }, lang.english)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
21730
+ }, 'English')))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
21834
21731
  "class": "col-lg-12 allcentered p-0"
21835
21732
  }, /*#__PURE__*/React__default["default"].createElement("div", {
21836
21733
  style: {
@@ -34653,10 +34550,14 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
34653
34550
  }, /*#__PURE__*/React__default["default"].createElement("div", {
34654
34551
  "class": langdetect == 'en' ? "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pl-2 ' : "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pr-2 ',
34655
34552
  style: {
34656
- display: 'flex'
34553
+ display: 'flex',
34554
+ color: '#000'
34657
34555
  }
34658
34556
  }, /*#__PURE__*/React__default["default"].createElement("div", {
34659
- "class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
34557
+ "class": header_cssstyles.categorydropdownbtn + ' col-lg-10 d-flex justify-content-start m-0 p-0 ',
34558
+ style: {
34559
+ color: '#000'
34560
+ }
34660
34561
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React__default["default"].createElement("div", {
34661
34562
  "class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end"
34662
34563
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -36546,7 +36447,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36546
36447
  style: {
36547
36448
  background: 'white',
36548
36449
  height: '100vh',
36549
- width: '35vw'
36450
+ width: '35vw',
36451
+ overflowY: 'hidden'
36550
36452
  }
36551
36453
  }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
36552
36454
  className: "row m-0 w-100 px-4 py-3"
@@ -58012,7 +57914,7 @@ var Card23 = function Card23(props) {
58012
57914
  fontSize: sectionproperties.badge_fontsize + 'px'
58013
57915
  }
58014
57916
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
58015
- "class": "allcentered",
57917
+ "class": "align-items-center justify-content-center",
58016
57918
  style: {
58017
57919
  position: 'absolute',
58018
57920
  top: sectionproperties.counterposition == 'Top' ? sectionproperties.pillpositionfromtop + 'px' : '',
@@ -58021,7 +57923,8 @@ var Card23 = function Card23(props) {
58021
57923
  width: sectionproperties.pillwidth + 'px',
58022
57924
  height: sectionproperties.pillheight + 'px',
58023
57925
  background: sectionproperties.pillbgcolor,
58024
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
57926
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
57927
+ display: item.defaultprice == 0 && item.defaultsaleprice == 0 ? 'none' : 'flex'
58025
57928
  }
58026
57929
  }, /*#__PURE__*/React__default["default"].createElement("p", {
58027
57930
  "class": "m-0 p-0 text-uppercase",