tabexseriescomponents 0.0.345 → 0.0.346

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.esm.js CHANGED
@@ -29,7 +29,10 @@ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
29
29
  import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
30
30
  import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
31
31
  import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
32
- import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon } from 'react-share';
32
+ import { AiOutlineTwitter } from '@react-icons/all-files/ai/AiOutlineTwitter';
33
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
34
+ import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
35
+ import { FacebookShareButton, TwitterShareButton, WhatsappShareButton, LinkedinShareButton, FacebookIcon, TwitterIcon, WhatsappIcon, LinkedinIcon } from 'react-share';
33
36
  import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
34
37
  import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
35
38
  import ReactStars from 'react-rating-stars-component';
@@ -90,7 +93,6 @@ import { HiOutlineArrowLeft } from '@react-icons/all-files/hi/HiOutlineArrowLeft
90
93
  import ReactPaginate from 'react-paginate';
91
94
  import { FaFacebook } from '@react-icons/all-files/fa/FaFacebook';
92
95
  import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
93
- import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
94
96
  import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
95
97
  import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
96
98
  import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
@@ -2065,15 +2067,12 @@ var DescriptionContent = function DescriptionContent(props) {
2065
2067
  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; }
2066
2068
  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(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; }
2067
2069
  var Product_itemtype = function Product_itemtype(props) {
2068
- var _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _ProductInfoObj$data, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
2070
+ var _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _ProductInfoObj$data, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
2069
2071
  var lang = props.actions.lang;
2070
2072
  var langdetect = props.actions.langdetect;
2071
2073
  var srcfromprops = props.actions.srcfromprops;
2072
- props.actions.returnpolicyobj;
2073
2074
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2074
2075
  var addtocartfunc = props.actions.addtocartfunc;
2075
- props.actions.selectproductoptionvalue;
2076
- props.actions.clearchoosenvaluesbutkeepcurrentvalue;
2077
2076
  var productimagesarray = props.actions.productimagesarray;
2078
2077
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2079
2078
  var sectionproperties = props.actions.sectionproperties;
@@ -2216,53 +2215,65 @@ var Product_itemtype = function Product_itemtype(props) {
2216
2215
  }, /*#__PURE__*/React.createElement("div", {
2217
2216
  "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
2218
2217
  }, /*#__PURE__*/React.createElement("p", {
2219
- "class": "m-0 p-0",
2218
+ "class": "m-0 p-0 w-100",
2220
2219
  style: {
2221
2220
  fontWeight: sectionproperties.sharebtn_FontWeight,
2222
2221
  color: sectionproperties.sharebtn_color,
2223
- fontSize: sectionproperties.sharebtn_fontSize + 'px'
2222
+ fontSize: sectionproperties.sharebtn_fontSize + 'px',
2223
+ textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
2224
2224
  }
2225
2225
  }, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
2226
- className: "Demo__container w-100 m-0 allcentered mt-3"
2226
+ className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
2227
+ style: {
2228
+ justifyContent: sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
2229
+ }
2227
2230
  }, /*#__PURE__*/React.createElement("div", {
2228
- className: "Demo__some-network ml-2 mr-2"
2231
+ className: "Demo__some-network ml-2 mr-2 allcentered"
2229
2232
  }, /*#__PURE__*/React.createElement(FacebookShareButton, {
2230
2233
  url: shareUrl,
2231
2234
  quote: title,
2232
- className: "Demo__some-network__share-button"
2233
- }, /*#__PURE__*/React.createElement(FacebookIcon, {
2234
- size: 40,
2235
- round: true
2236
- }))), /*#__PURE__*/React.createElement("div", {
2237
- className: "Demo__some-network ml-2 mr-2"
2235
+ className: "Demo__some-network__share-button allcentered"
2236
+ }, /*#__PURE__*/React.createElement("div", {
2237
+ "class": productinfo_cssstyles.shareicon + ' allcentered ',
2238
+ style: {}
2239
+ }, /*#__PURE__*/React.createElement("i", {
2240
+ "class": "h-100 allcentered"
2241
+ }, /*#__PURE__*/React.createElement(FaFacebookF, null))))), /*#__PURE__*/React.createElement("div", {
2242
+ className: "Demo__some-network ml-2 mr-2 allcentered"
2238
2243
  }, /*#__PURE__*/React.createElement(TwitterShareButton, {
2239
2244
  url: shareUrl,
2240
2245
  title: title,
2241
- className: "Demo__some-network__share-button"
2242
- }, /*#__PURE__*/React.createElement(TwitterIcon, {
2243
- size: 40,
2244
- round: true
2245
- }))), /*#__PURE__*/React.createElement("div", {
2246
+ className: "Demo__some-network__share-button allcentered"
2247
+ }, /*#__PURE__*/React.createElement("div", {
2248
+ "class": productinfo_cssstyles.shareicon + ' allcentered ',
2249
+ style: {}
2250
+ }, /*#__PURE__*/React.createElement("i", {
2251
+ "class": "h-100 allcentered"
2252
+ }, /*#__PURE__*/React.createElement(AiOutlineTwitter, null))))), /*#__PURE__*/React.createElement("div", {
2246
2253
  className: "Demo__some-network ml-2 mr-2"
2247
2254
  }, /*#__PURE__*/React.createElement(WhatsappShareButton, {
2248
2255
  url: shareUrl,
2249
2256
  title: title,
2250
2257
  separator: ":: ",
2251
2258
  className: "Demo__some-network__share-button"
2252
- }, /*#__PURE__*/React.createElement(WhatsappIcon, {
2253
- size: 40,
2254
- round: true
2255
- }))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
2259
+ }, /*#__PURE__*/React.createElement("div", {
2260
+ "class": productinfo_cssstyles.shareicon + ' allcentered ',
2261
+ style: {}
2262
+ }, /*#__PURE__*/React.createElement("i", {
2263
+ "class": "h-100 allcentered"
2264
+ }, /*#__PURE__*/React.createElement(FaWhatsapp, null))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
2256
2265
  className: "Demo__some-network ml-2 mr-2"
2257
2266
  }, /*#__PURE__*/React.createElement(LinkedinShareButton, {
2258
2267
  url: shareUrl,
2259
2268
  title: title,
2260
2269
  separator: ":: ",
2261
2270
  className: "Demo__some-network__share-button"
2262
- }, /*#__PURE__*/React.createElement(LinkedinIcon, {
2263
- size: 40,
2264
- round: true
2265
- }))))));
2271
+ }, /*#__PURE__*/React.createElement("div", {
2272
+ "class": productinfo_cssstyles.shareicon + ' allcentered ',
2273
+ style: {}
2274
+ }, /*#__PURE__*/React.createElement("i", {
2275
+ "class": "h-100 allcentered"
2276
+ }, /*#__PURE__*/React.createElement(FaLinkedinIn, null))))))));
2266
2277
  };
2267
2278
  var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
2268
2279
  var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer10, _fetchProductInfoQuer11;
@@ -2636,32 +2647,13 @@ var Product_itemtype = function Product_itemtype(props) {
2636
2647
  }
2637
2648
  }, 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 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.vendorinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorname))), /*#__PURE__*/React.createElement("div", {
2638
2649
  "class": "col-lg-12 p-0"
2639
- }, SKUSection()), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
2640
- "class": sectionproperties.deliverytimeshow == 'Show' && (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.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'
2641
- }, /*#__PURE__*/React.createElement("p", {
2642
- "class": "m-0 p-0 d-flex justify-content-start"
2643
- }, /*#__PURE__*/React.createElement("span", {
2644
- style: {
2645
- color: sectionproperties.skuColor,
2646
- fontWeight: sectionproperties.skuFontWeight,
2647
- fontSize: sectionproperties.skuFontSize + 'px',
2648
- textAlign: langdetect == 'en' ? 'left' : 'right'
2649
- }
2650
- }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React.createElement("span", {
2651
- "class": "ml-1 mr-1",
2652
- style: {
2653
- color: '#7e859b',
2654
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2655
- fontSize: sectionproperties.skuFontSize + 'px',
2656
- textAlign: langdetect == 'en' ? 'left' : 'right'
2657
- }
2658
- }, fetchProductInfoQueryContext.data.data.productinfo.sku))), (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.createElement("div", {
2650
+ }, SKUSection()), (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.currentquantity) < 1 && sectionproperties.showoutofstock == '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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React.createElement("div", {
2659
2651
  "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
2660
2652
  }, /*#__PURE__*/React.createElement("div", {
2661
2653
  "class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
2662
2654
  }, /*#__PURE__*/React.createElement("p", {
2663
2655
  "class": "m-0 p-0"
2664
- }, 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.createElement("div", {
2656
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React.createElement("div", {
2665
2657
  "class": "mb-4 col-lg-12 allcentered",
2666
2658
  style: {
2667
2659
  width: '100%',
@@ -2682,9 +2674,9 @@ var Product_itemtype = function Product_itemtype(props) {
2682
2674
  textAlign: langdetect == 'en' ? 'left' : 'right',
2683
2675
  color: sectionproperties.deliverytimecontainercolor
2684
2676
  }
2685
- }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.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.createElement(ProductHeaderPricing, {
2677
+ }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', 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)), (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.createElement(ProductHeaderPricing, {
2686
2678
  actions: props.actions
2687
- }), (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.createElement("div", {
2679
+ }), (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.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React.createElement("div", {
2688
2680
  className: "row m-0 w-100 d-flex align-items-start"
2689
2681
  }, 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) {
2690
2682
  return /*#__PURE__*/React.createElement("div", {
@@ -2748,8 +2740,6 @@ var Product_itemtype = function Product_itemtype(props) {
2748
2740
  actions: props.actions
2749
2741
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
2750
2742
  actions: props.actions
2751
- }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement(DescriptionContent, {
2752
- actions: props.actions
2753
2743
  }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2754
2744
  className: "col-lg-12 p-0 mb-3"
2755
2745
  }, /*#__PURE__*/React.createElement("hr", {
@@ -2761,7 +2751,7 @@ var Product_itemtype = function Product_itemtype(props) {
2761
2751
  }
2762
2752
  }, /*#__PURE__*/React.createElement("div", {
2763
2753
  className: "row m-0 w-100 d-flex align-items-center"
2764
- }, (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.createElement("div", {
2754
+ }, (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React.createElement("div", {
2765
2755
  className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
2766
2756
  }, /*#__PURE__*/React.createElement("p", {
2767
2757
  className: "m-0 p-0",
@@ -2771,7 +2761,7 @@ var Product_itemtype = function Product_itemtype(props) {
2771
2761
  textTransform: sectionproperties.generaltext_textTransform,
2772
2762
  fontWeight: sectionproperties.generaltext_fontWeight
2773
2763
  }
2774
- }, 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.createElement("div", {
2764
+ }, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), 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.createElement("div", {
2775
2765
  className: "col-lg-12 p-0 mb-3"
2776
2766
  }, /*#__PURE__*/React.createElement("div", {
2777
2767
  className: "row m-0 w-100 d-flex flex-row"
@@ -2794,7 +2784,7 @@ var Product_itemtype = function Product_itemtype(props) {
2794
2784
  }
2795
2785
  }, /*#__PURE__*/React.createElement("span", {
2796
2786
  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 '
2797
- }, 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.createElement("p", {
2787
+ }, 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.createElement("p", {
2798
2788
  className: 'm-0 p-0 linethrough wordbreak',
2799
2789
  style: {
2800
2790
  color: sectionproperties.prodsalePriceColor,
@@ -2808,14 +2798,14 @@ var Product_itemtype = function Product_itemtype(props) {
2808
2798
  style: {
2809
2799
  textDecoration: 'none'
2810
2800
  }
2811
- }, "-"), 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.createElement("span", {
2801
+ }, "-"), 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.createElement("span", {
2812
2802
  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 '
2813
2803
  }, /*#__PURE__*/React.createElement("span", {
2814
2804
  className: "ml-2 mr-2",
2815
2805
  style: {
2816
2806
  textDecoration: 'none'
2817
2807
  }
2818
- }, "-"), 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.createElement("div", {
2808
+ }, "-"), 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.createElement("div", {
2819
2809
  className: "col-lg-12 p-0 mb-3 mt-2"
2820
2810
  }, /*#__PURE__*/React.createElement("div", {
2821
2811
  style: {
@@ -2860,11 +2850,6 @@ var Product_itemtype = function Product_itemtype(props) {
2860
2850
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
2861
2851
  }
2862
2852
  }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2863
- "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2864
- style: {}
2865
- }, /*#__PURE__*/React.createElement("hr", {
2866
- "class": "my-3"
2867
- })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2868
2853
  "class": "col-lg-12 p-0 allcentered mt-2"
2869
2854
  }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React.createElement("div", {
2870
2855
  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',
@@ -5333,6 +5318,18 @@ var Productinfo = function Productinfo(props) {
5333
5318
  backgroundColor: sectionproperties.iconcontainerbgonhover
5334
5319
  }
5335
5320
  }),
5321
+ shareicon: css({
5322
+ width: sectionproperties.shareiconwidth + 'px',
5323
+ height: sectionproperties.shareiconheight + 'px',
5324
+ borderRadius: sectionproperties.shareiconborderradius + 'px',
5325
+ background: sectionproperties.shareiconbgcolor,
5326
+ color: sectionproperties.shareiconcolor,
5327
+ ':hover': {
5328
+ color: sectionproperties.shareiconcoloronhover,
5329
+ transition: '.3s',
5330
+ cursor: 'pointer'
5331
+ }
5332
+ }),
5336
5333
  checkoutbtn: css({
5337
5334
  width: sectionproperties.checkoutBtnWidth + 'px',
5338
5335
  height: sectionproperties.checkoutBtnHeight + 'px',
@@ -5538,7 +5535,7 @@ var Productinfo = function Productinfo(props) {
5538
5535
  }, sectionproperties.storeinfostyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
5539
5536
  "class": "row m-0 w-100"
5540
5537
  }, sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo1 == 'Show' && /*#__PURE__*/React.createElement("div", {
5541
- className: "col-lg-12 p-0 w-100 d-flex align-items-center mb-4"
5538
+ className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 w-100 d-flex align-items-center mb-4 '
5542
5539
  }, /*#__PURE__*/React.createElement("div", {
5543
5540
  "class": productinfo_cssstyles.iconContainer
5544
5541
  }, /*#__PURE__*/React.createElement("i", {
@@ -5558,7 +5555,7 @@ var Productinfo = function Productinfo(props) {
5558
5555
  textAlign: langdetect == 'en' ? 'left' : 'right'
5559
5556
  }
5560
5557
  }, langdetect == 'en' ? sectionproperties.otherinfodesc1en : sectionproperties.otherinfodesc1ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showstoreinfo2 == 'Show' && /*#__PURE__*/React.createElement("div", {
5561
- className: "col-lg-12 p-0 d-flex align-items-center mb-4"
5558
+ className: productinfo_cssstyles.storeinfobtn + ' col-lg-12 p-0 d-flex align-items-center mb-4 '
5562
5559
  }, /*#__PURE__*/React.createElement("div", {
5563
5560
  "class": productinfo_cssstyles.iconContainer
5564
5561
  }, /*#__PURE__*/React.createElement("i", {
@@ -5580,7 +5577,7 @@ var Productinfo = function Productinfo(props) {
5580
5577
  }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (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 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productquantityoptions) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && /*#__PURE__*/React.createElement("div", {
5581
5578
  "class": "col-lg-12 p-0 mb-4"
5582
5579
  }, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
5583
- className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
5580
+ className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
5584
5581
  onClick: function onClick() {
5585
5582
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_blank');
5586
5583
  }
@@ -5603,7 +5600,7 @@ var Productinfo = function Productinfo(props) {
5603
5600
  textAlign: langdetect == 'en' ? 'left' : 'right'
5604
5601
  }
5605
5602
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
5606
- className: productinfo_cssstyles.storeinfocontainer + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
5603
+ className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
5607
5604
  onClick: function onClick() {
5608
5605
  var _authdetailsContext$i2;
5609
5606
  window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.email), '_self');
@@ -7495,7 +7492,7 @@ var Wishlist = function Wishlist(props) {
7495
7492
  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; }
7496
7493
  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(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; }
7497
7494
  var Viewcart = function Viewcart(props) {
7498
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
7495
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
7499
7496
  var lang = props.actions.lang;
7500
7497
  var langdetect = props.actions.langdetect;
7501
7498
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -7735,10 +7732,8 @@ var Viewcart = function Viewcart(props) {
7735
7732
  }
7736
7733
  }),
7737
7734
  tableimagecont: css({
7738
- width: '70px',
7739
- height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
7740
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7741
- backgroundColor: sectionproperties.prodimage_bgcolor,
7735
+ width: sectionproperties.prodimage_width + 'px',
7736
+ height: sectionproperties.prodimage_height + 'px',
7742
7737
  display: 'flex',
7743
7738
  alignItems: 'center',
7744
7739
  justifyContent: 'center',
@@ -7751,6 +7746,22 @@ var Viewcart = function Viewcart(props) {
7751
7746
  '@media (max-width: 800px)': {
7752
7747
  paddingTop: sectionproperties.marginTopResp + 'px'
7753
7748
  }
7749
+ }),
7750
+ shopbuttonstyles: css({
7751
+ width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
7752
+ height: sectionproperties.generalbtn_height + 'px',
7753
+ borderRadius: sectionproperties.generalbtnborderradius,
7754
+ backgroundColor: sectionproperties.generalbtn_bgColor,
7755
+ color: sectionproperties.generalbtn_textColor,
7756
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
7757
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
7758
+ fontWeight: sectionproperties.generalbtn_fontweight,
7759
+ ':hover': {
7760
+ transition: '.3s',
7761
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
7762
+ color: sectionproperties.generalbtn_textColoronhover,
7763
+ borderColor: sectionproperties.generalbtn_textColoronhover
7764
+ }
7754
7765
  })
7755
7766
  };
7756
7767
  var _useState5 = useState([]),
@@ -7790,7 +7801,7 @@ var Viewcart = function Viewcart(props) {
7790
7801
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
7791
7802
  style: {
7792
7803
  width: sectionproperties.image_width + 'vw',
7793
- height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
7804
+ height: 'auto',
7794
7805
  marginBottom: sectionproperties.image_mb + 'px',
7795
7806
  position: 'relative'
7796
7807
  }
@@ -7802,15 +7813,11 @@ var Viewcart = function Viewcart(props) {
7802
7813
  style: {
7803
7814
  height: '100%',
7804
7815
  width: '100%',
7816
+ objectFit: 'contain',
7805
7817
  margin: 0,
7806
7818
  padding: 0,
7807
- background: sectionproperties.image_bgcolor,
7808
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7809
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7810
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7811
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7812
- zIndex: -1,
7813
- objectFit: sectionproperties.bgcovercontain
7819
+ borderRadius: sectionproperties.imageborderradius + 'px',
7820
+ zIndex: -1
7814
7821
  }
7815
7822
  }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
7816
7823
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -7820,34 +7827,13 @@ var Viewcart = function Viewcart(props) {
7820
7827
  style: {
7821
7828
  height: '100%',
7822
7829
  width: '100%',
7830
+ objectFit: 'contain',
7823
7831
  margin: 0,
7824
7832
  padding: 0,
7825
- objectFit: sectionproperties.bgcovercontainresponsive,
7826
- background: sectionproperties.image_bgcolor,
7827
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7828
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7829
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7830
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7833
+ borderRadius: sectionproperties.imageborderradius + 'px',
7831
7834
  zIndex: -1
7832
7835
  }
7833
- }), /*#__PURE__*/React.createElement("div", {
7834
- className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7835
- style: {
7836
- position: 'absolute',
7837
- top: 0,
7838
- right: 0,
7839
- bottom: 0,
7840
- left: 0
7841
- }
7842
- }, /*#__PURE__*/React.createElement("p", {
7843
- className: ' m-0 p-0 ',
7844
- style: {
7845
- fontSize: sectionproperties.imagetextfontsize + 'px',
7846
- color: sectionproperties.imagetextcolor,
7847
- textTransform: sectionproperties.imagetexttextTransform,
7848
- fontWeight: sectionproperties.imagetextfontWeight
7849
- }
7850
- }, lang.mycart)))), /*#__PURE__*/React.createElement("div", {
7836
+ }))), /*#__PURE__*/React.createElement("div", {
7851
7837
  className: "col-lg-12 p-0"
7852
7838
  }, /*#__PURE__*/React.createElement("div", {
7853
7839
  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',
@@ -7870,7 +7856,7 @@ var Viewcart = function Viewcart(props) {
7870
7856
  actions: actions
7871
7857
  })), /*#__PURE__*/React.createElement("div", {
7872
7858
  className: 'col-lg-12 d-flex w-100 p-0'
7873
- }, /*#__PURE__*/React.createElement("div", {
7859
+ }, (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.createElement("div", {
7874
7860
  className: "row m-0 w-100"
7875
7861
  }, /*#__PURE__*/React.createElement("div", {
7876
7862
  className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
@@ -7886,10 +7872,7 @@ var Viewcart = function Viewcart(props) {
7886
7872
  }, /*#__PURE__*/React.createElement("table", {
7887
7873
  className: 'table table_thbg'
7888
7874
  }, /*#__PURE__*/React.createElement("thead", {
7889
- className: "",
7890
- style: {
7891
- background: '#eee'
7892
- }
7875
+ className: ""
7893
7876
  }, /*#__PURE__*/React.createElement("th", {
7894
7877
  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'
7895
7878
  }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React.createElement("th", {
@@ -7906,7 +7889,7 @@ var Viewcart = function Viewcart(props) {
7906
7889
  }
7907
7890
  }, lang.total), /*#__PURE__*/React.createElement("th", {
7908
7891
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
7909
- }, lang.remove)), /*#__PURE__*/React.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) {
7892
+ }, lang.remove)), /*#__PURE__*/React.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) {
7910
7893
  return /*#__PURE__*/React.createElement("tr", {
7911
7894
  className: "border-none"
7912
7895
  }, /*#__PURE__*/React.createElement("td", {
@@ -7922,8 +7905,7 @@ var Viewcart = function Viewcart(props) {
7922
7905
  style: {
7923
7906
  width: '100%',
7924
7907
  height: '100%',
7925
- objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
7926
- borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
7908
+ objectFit: 'contain'
7927
7909
  },
7928
7910
  loading: "lazy"
7929
7911
  })), /*#__PURE__*/React.createElement("div", {
@@ -8077,16 +8059,18 @@ var Viewcart = function Viewcart(props) {
8077
8059
  deletecartitemContext(item);
8078
8060
  }
8079
8061
  }, lang.remove)));
8080
- })))), (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.createElement("div", {
8081
- className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5",
8062
+ })))))), /*#__PURE__*/React.createElement("div", {
8063
+ className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8064
+ }, 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.createElement("div", {
8065
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5",
8082
8066
  style: {
8083
- height: '50vh'
8067
+ height: '60vh'
8084
8068
  }
8085
8069
  }, /*#__PURE__*/React.createElement("div", {
8086
8070
  className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8087
8071
  }, /*#__PURE__*/React.createElement("div", {
8088
8072
  className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8089
- }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
8073
+ }, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React.createElement("img", {
8090
8074
  src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
8091
8075
  style: {
8092
8076
  maxWidth: '250px',
@@ -8104,9 +8088,12 @@ var Viewcart = function Viewcart(props) {
8104
8088
  color: sectionproperties.noprod_color,
8105
8089
  fontSize: sectionproperties.noprod_fontSize + 'px'
8106
8090
  }
8107
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React.createElement("div", {
8108
- className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8109
- }, Summary()))))));
8091
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React.createElement("button", {
8092
+ className: "".concat(viewcart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
8093
+ onClick: function onClick() {
8094
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8095
+ }
8096
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
8110
8097
  };
8111
8098
 
8112
8099
  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";
@@ -9428,7 +9415,7 @@ var Select$2 = /*#__PURE__*/React.lazy(function () {
9428
9415
  return import('react-select');
9429
9416
  });
9430
9417
  var CustomerInformationForm = function CustomerInformationForm(props) {
9431
- var _fetchAuthorizationQu, _fetchAuthorizationQu2, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
9418
+ var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i2, _authdetailsContext$c, _authdetailsContext$c2;
9432
9419
  var lang = props.actions.lang;
9433
9420
  var langdetect = props.actions.langdetect;
9434
9421
  props.actions.routingcountext;
@@ -9457,28 +9444,45 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
9457
9444
  _useState4 = _slicedToArray(_useState3, 2),
9458
9445
  customervalidateemail = _useState4[0],
9459
9446
  setcustomervalidateemail = _useState4[1];
9460
- var _useState5 = useState(false),
9447
+ var _useState5 = useState(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instinfo) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.customervalidatephonenumber),
9461
9448
  _useState6 = _slicedToArray(_useState5, 2),
9462
- validateemailmodal = _useState6[0],
9463
- setvalidateemailmodal = _useState6[1];
9464
- var _useState7 = useState(''),
9449
+ customervalidatephonenumber = _useState6[0],
9450
+ setcustomervalidatephonenumber = _useState6[1];
9451
+ var _useState7 = useState(false),
9465
9452
  _useState8 = _slicedToArray(_useState7, 2),
9466
- sectionproperties = _useState8[0],
9467
- setsectionproperties = _useState8[1];
9453
+ validatephonenumbermodal = _useState8[0],
9454
+ setvalidatephonenumbermodal = _useState8[1];
9468
9455
  var _useState9 = useState(false),
9469
9456
  _useState10 = _slicedToArray(_useState9, 2),
9470
- dataloaded = _useState10[0],
9471
- setdataloaded = _useState10[1];
9472
- var _useState11 = useState({
9457
+ validateemailmodal = _useState10[0],
9458
+ setvalidateemailmodal = _useState10[1];
9459
+ var _useState11 = useState(''),
9460
+ _useState12 = _slicedToArray(_useState11, 2),
9461
+ sectionproperties = _useState12[0],
9462
+ setsectionproperties = _useState12[1];
9463
+ var _useState13 = useState(false),
9464
+ _useState14 = _slicedToArray(_useState13, 2),
9465
+ dataloaded = _useState14[0],
9466
+ setdataloaded = _useState14[1];
9467
+ var _useState15 = useState({
9468
+ phonenumber: '',
9469
+ code: '',
9470
+ step: 'sendcode',
9471
+ isvalidated: false
9472
+ }),
9473
+ _useState16 = _slicedToArray(_useState15, 2),
9474
+ validatephonenumberpayload = _useState16[0],
9475
+ setvalidatephonenumberpayload = _useState16[1];
9476
+ var _useState17 = useState({
9473
9477
  email: '',
9474
9478
  code: '',
9475
9479
  step: 'sendcode',
9476
9480
  isvalidated: false
9477
9481
  }),
9478
- _useState12 = _slicedToArray(_useState11, 2),
9479
- validateemailpayload = _useState12[0],
9480
- setvalidateemailpayload = _useState12[1];
9481
- var _useState13 = useState({
9482
+ _useState18 = _slicedToArray(_useState17, 2),
9483
+ validateemailpayload = _useState18[0],
9484
+ setvalidateemailpayload = _useState18[1];
9485
+ var _useState19 = useState({
9482
9486
  instapikey: instapikey,
9483
9487
  name: '',
9484
9488
  email: '',
@@ -9493,26 +9497,27 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
9493
9497
  cityid: '',
9494
9498
  countrydialcode: ''
9495
9499
  }),
9496
- _useState14 = _slicedToArray(_useState13, 2),
9497
- payloadobj = _useState14[0],
9498
- setpayloadobj = _useState14[1];
9499
- var _useState15 = useState(false),
9500
- _useState16 = _slicedToArray(_useState15, 2);
9501
- _useState16[0];
9502
- _useState16[1];
9503
- var _useState17 = useState(false),
9504
- _useState18 = _slicedToArray(_useState17, 2);
9505
- _useState18[0];
9506
- _useState18[1];
9507
- var _useState19 = useState(false),
9508
9500
  _useState20 = _slicedToArray(_useState19, 2),
9509
- waitingpage = _useState20[0],
9510
- setwaitingpage = _useState20[1];
9501
+ payloadobj = _useState20[0],
9502
+ setpayloadobj = _useState20[1];
9503
+ var _useState21 = useState(false),
9504
+ _useState22 = _slicedToArray(_useState21, 2);
9505
+ _useState22[0];
9506
+ _useState22[1];
9507
+ var _useState23 = useState(false),
9508
+ _useState24 = _slicedToArray(_useState23, 2);
9509
+ _useState24[0];
9510
+ _useState24[1];
9511
+ var _useState25 = useState(false),
9512
+ _useState26 = _slicedToArray(_useState25, 2),
9513
+ waitingpage = _useState26[0],
9514
+ setwaitingpage = _useState26[1];
9511
9515
  useEffect(function () {
9512
9516
  if (fetchAuthorizationQueryContext.isSuccess) {
9513
- var _fetchAuthorizationQu3, _fetchAuthorizationQu4;
9514
- setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instinfo) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.customerAddressrequiered);
9515
- setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.instinfo) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.customervalidateemail);
9517
+ var _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6;
9518
+ setcustomeraddressrequierd(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.data) === null || _fetchAuthorizationQu4 === void 0 || (_fetchAuthorizationQu4 = _fetchAuthorizationQu4.instinfo) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.customerAddressrequiered);
9519
+ setcustomervalidateemail(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu5 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.data) === null || _fetchAuthorizationQu5 === void 0 || (_fetchAuthorizationQu5 = _fetchAuthorizationQu5.instinfo) === null || _fetchAuthorizationQu5 === void 0 ? void 0 : _fetchAuthorizationQu5.customervalidateemail);
9520
+ setcustomervalidatephonenumber(fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu6 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.data) === null || _fetchAuthorizationQu6 === void 0 || (_fetchAuthorizationQu6 = _fetchAuthorizationQu6.instinfo) === null || _fetchAuthorizationQu6 === void 0 ? void 0 : _fetchAuthorizationQu6.customervalidatephonenumber);
9516
9521
  }
9517
9522
  }, [fetchAuthorizationQueryContext.isSuccess]);
9518
9523
  useEffect(function () {
@@ -10109,9 +10114,29 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
10109
10114
  disabled: CustomerSignUpMutationContext.isLoading ? true : false,
10110
10115
  onClick: function onClick() {
10111
10116
  if (verifypayload() == true) {
10117
+ var isEmailOTP_Validated = false;
10118
+ var isPhoneNumberOTP_Validated = false;
10112
10119
  if (customervalidateemail == 1) {
10113
- setvalidateemailmodal(true);
10120
+ if (validateemailpayload.isvalidated) {
10121
+ isEmailOTP_Validated = true;
10122
+ } else {
10123
+ isEmailOTP_Validated = false;
10124
+ setvalidateemailmodal(true);
10125
+ }
10114
10126
  } else {
10127
+ isEmailOTP_Validated = true;
10128
+ }
10129
+ if (customervalidatephonenumber == 1) {
10130
+ if (validatephonenumberpayload.isvalidated) {
10131
+ isPhoneNumberOTP_Validated = true;
10132
+ } else {
10133
+ isPhoneNumberOTP_Validated = false;
10134
+ setvalidatephonenumbermodal(true);
10135
+ }
10136
+ } else {
10137
+ isPhoneNumberOTP_Validated = true;
10138
+ }
10139
+ if (isPhoneNumberOTP_Validated && isEmailOTP_Validated) {
10115
10140
  signupbuttonfunc();
10116
10141
  }
10117
10142
  }
@@ -10467,7 +10492,15 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
10467
10492
  isvalidated: true
10468
10493
  }));
10469
10494
  setvalidateemailmodal(false);
10470
- signupbuttonfunc();
10495
+ if (customervalidatephonenumber == 1) {
10496
+ if (validatephonenumberpayload.isvalidated) {
10497
+ signupbuttonfunc();
10498
+ } else {
10499
+ setvalidatephonenumbermodal(true);
10500
+ }
10501
+ } else {
10502
+ signupbuttonfunc();
10503
+ }
10471
10504
  }
10472
10505
  } else {
10473
10506
  NotificationManager.warning('', data.data.reason);
@@ -10488,7 +10521,134 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
10488
10521
  style: {
10489
10522
  letterSpacing: langdetect == 'en' ? '1px' : ''
10490
10523
  }
10491
- }, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
10524
+ }, validateemailpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)), /*#__PURE__*/React.createElement(Modal, {
10525
+ show: validatephonenumbermodal,
10526
+ onHide: function onHide() {
10527
+ return setvalidatephonenumbermodal(false);
10528
+ },
10529
+ centered: true,
10530
+ size: 'md'
10531
+ }, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement("div", {
10532
+ "class": "d-flex align-items-center justify-content-center bgdanger-hover",
10533
+ style: {
10534
+ position: 'absolute',
10535
+ right: -15,
10536
+ top: -15,
10537
+ width: '4vh',
10538
+ height: '4vh',
10539
+ background: '#000',
10540
+ borderRadius: '50%'
10541
+ },
10542
+ onClick: function onClick() {
10543
+ return setvalidatephonenumbermodal(false);
10544
+ }
10545
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
10546
+ size: 15,
10547
+ color: "white"
10548
+ })), /*#__PURE__*/React.createElement("div", {
10549
+ "class": "row m-0 w-100 allcentered"
10550
+ }, /*#__PURE__*/React.createElement("div", {
10551
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center mt-2 justify-content-center"
10552
+ }, /*#__PURE__*/React.createElement("p", {
10553
+ className: "text-md-center m-0 p-0 mb-2",
10554
+ style: {
10555
+ fontSize: '19px',
10556
+ color: sectionproperties.sectionTitleColor,
10557
+ fontWeight: 600
10558
+ }
10559
+ }, langdetect == 'en' ? 'Validate Phone Number' : 'التحقق من صحة رقم الهاتف')), /*#__PURE__*/React.createElement("div", {
10560
+ "class": "col-lg-12 p-0"
10561
+ }, /*#__PURE__*/React.createElement("hr", {
10562
+ "class": 'm-0 p-0'
10563
+ }))), /*#__PURE__*/React.createElement("div", {
10564
+ "class": "row w-100 m-0 mb-3 pl-2 pr-2 pt-3 pb-3 pl-sm-3 pr-sm-3"
10565
+ }, /*#__PURE__*/React.createElement("div", {
10566
+ className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0"
10567
+ }, /*#__PURE__*/React.createElement("label", {
10568
+ className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
10569
+ }, langdetect == 'en' ? 'Phone Number' : ' رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
10570
+ type: "text",
10571
+ className: "".concat(formstyles.form_control),
10572
+ value: payloadobj.mobile,
10573
+ disabled: true,
10574
+ style: {
10575
+ background: 'transparent'
10576
+ }
10577
+ })), validatephonenumberpayload.step == 'verifycode' && /*#__PURE__*/React.createElement("div", {
10578
+ className: "col-lg-12 col-md-12 col-sm-12 mb-3 mt-3 p-sm-0"
10579
+ }, /*#__PURE__*/React.createElement("label", {
10580
+ className: "".concat(formstyles.logininputLabel) + ' d-flex justify-content-start '
10581
+ }, langdetect == 'en' ? 'Code' : ' كود الرسالة النصية'), /*#__PURE__*/React.createElement("input", {
10582
+ type: "text",
10583
+ className: "".concat(formstyles.form_control),
10584
+ value: validatephonenumberpayload.code,
10585
+ onChange: function onChange(event) {
10586
+ setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
10587
+ code: event.target.value
10588
+ }));
10589
+ },
10590
+ style: {
10591
+ background: 'transparent'
10592
+ }
10593
+ })), /*#__PURE__*/React.createElement("div", {
10594
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center mb-3 mt-3"
10595
+ }, /*#__PURE__*/React.createElement("button", {
10596
+ className: "".concat(formstyles.signupbtn) + ' d-flex align-items-center justify-content-center ',
10597
+ disabled: GeneralAPIMutationContext.isLoading ? true : false,
10598
+ onClick: function onClick() {
10599
+ if (payloadobj.mobile.length != 0) {
10600
+ if (validatephonenumberpayload.isvalidated == true) {
10601
+ setvalidateemailmodal(false);
10602
+ signupbuttonfunc();
10603
+ } else {
10604
+ GeneralAPIMutationContext.mutate({
10605
+ endpointurl: '/validatephonenumber',
10606
+ functype: validatephonenumberpayload.step,
10607
+ code: validatephonenumberpayload.code,
10608
+ name: payloadobj.name,
10609
+ phonenumber: payloadobj.mobile,
10610
+ mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
10611
+ if (data.data.status) {
10612
+ if (data.data.functype == 'sendcode') {
10613
+ setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
10614
+ step: 'verifycode'
10615
+ }));
10616
+ }
10617
+ if (data.data.functype == 'verifycode') {
10618
+ setvalidatephonenumberpayload(_objectSpread$2d(_objectSpread$2d({}, validatephonenumberpayload), {}, {
10619
+ isvalidated: true
10620
+ }));
10621
+ setvalidatephonenumbermodal(false);
10622
+ if (customervalidateemail == 1) {
10623
+ if (validateemailpayload.isvalidated) {
10624
+ signupbuttonfunc();
10625
+ } else {
10626
+ setvalidateemailmodal(true);
10627
+ }
10628
+ } else {
10629
+ signupbuttonfunc();
10630
+ }
10631
+ }
10632
+ } else {
10633
+ NotificationManager.warning('', data.data.reason);
10634
+ }
10635
+ }
10636
+ });
10637
+ }
10638
+ } else {
10639
+ NotificationManager.warning(lang.completerequiredfields);
10640
+ }
10641
+ }
10642
+ }, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(CircularProgress, {
10643
+ color: "#fff",
10644
+ width: "20px",
10645
+ height: "20px",
10646
+ duration: "1s"
10647
+ }), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
10648
+ style: {
10649
+ letterSpacing: langdetect == 'en' ? '1px' : ''
10650
+ }
10651
+ }, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React.createElement(Modal.Footer, null)));
10492
10652
  };
10493
10653
 
10494
10654
  function ownKeys$2c(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; }
@@ -13268,7 +13428,13 @@ var Filter$1 = function Filter(props) {
13268
13428
  minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
13269
13429
  }
13270
13430
  }, sectionproperties.filterType == 'Title & Sort By Only' && /*#__PURE__*/React.createElement("div", {
13271
- "class": "row m-0 w-100"
13431
+ "class": "row mx-0 w-100",
13432
+ style: {
13433
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
13434
+ marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0,
13435
+ paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
13436
+ paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px'
13437
+ }
13272
13438
  }, /*#__PURE__*/React.createElement("div", {
13273
13439
  "class": "col-lg-6 col-md-6 p-0 d-flex align-items-center justify-content-start"
13274
13440
  }, /*#__PURE__*/React.createElement("div", {
@@ -13277,9 +13443,7 @@ var Filter$1 = function Filter(props) {
13277
13443
  position: 'relative',
13278
13444
  justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
13279
13445
  width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
13280
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
13281
- marginTop: sectionproperties.showbadge == 'Show' ? sectionproperties.sectionTitleMarginTop + 'px' : 0,
13282
- marginBottom: sectionproperties.sectiontitledirection == 'Vertical' ? sectionproperties.sectionTitleMarginBottom + 'px' : 0
13446
+ fontSize: sectionproperties.sectionTitleFontSize + 'px'
13283
13447
  }
13284
13448
  }, /*#__PURE__*/React.createElement("p", {
13285
13449
  "class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'ASUL' ? ' ASUL mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
@@ -15093,164 +15257,6 @@ var CardsSection = function CardsSection(props) {
15093
15257
  if (cardinfoindex < sectionproperties.overallnumberofcards) {
15094
15258
  return /*#__PURE__*/React.createElement("div", {
15095
15259
  "class": bootstapclass
15096
- // class={
15097
- // sectionproperties.numberOfColsvertical == '1'
15098
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15099
- // ? ' col-xl-12 p-0 col-lg-12 col-md-4 p-0 d-flex justify-content-center col-sm-6 '
15100
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
15101
- // ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0 '
15102
- // : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
15103
- // ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15104
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15105
- // ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15106
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15107
- // ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15108
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15109
- // ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15110
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15111
- // ? ' col-xl-12 p-0 col-lg-12 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15112
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15113
- // ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto'
15114
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15115
- // ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15116
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15117
- // ? ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15118
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15119
- // ? ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15120
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15121
- // ? ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15122
- // : ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15123
- // : sectionproperties.numberOfColsvertical == '2'
15124
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15125
- // ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15126
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft '
15127
- // ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
15128
- // : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
15129
- // ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15130
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15131
- // ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15132
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15133
- // ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15134
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15135
- // ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15136
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15137
- // ? ' col-xl-6 p-0 col-lg-6 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15138
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15139
- // ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
15140
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15141
- // ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15142
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15143
- // ? ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-12 d-flex justify-content-center p-0'
15144
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15145
- // ? ' col-xl-6 p-0 col-lg-6 col-md-12 col-sm-12 d-flex justify-content-center p-0'
15146
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15147
- // ? ' col-xl-6 p-0 col-lg-6 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15148
- // : ' col-xl-6 p-0 col-lg-6 col-md-6 col-sm-6 d-flex justify-content-center p-0'
15149
- // : sectionproperties.numberOfColsvertical == '3'
15150
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15151
- // ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center '
15152
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
15153
- // ? ' col-xl-4 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15154
- // : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
15155
- // ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15156
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15157
- // ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15158
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15159
- // ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15160
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15161
- // ? ' col-xl-4 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15162
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15163
- // ? ' col-xl-4 p-0 col-lg-4 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15164
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15165
- // ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
15166
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15167
- // ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15168
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15169
- // ? ' col-xl-4 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15170
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15171
- // ? ' col-xl-4 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0'
15172
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15173
- // ? ' col-xl-4 p-0 col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15174
- // : ' col-xl-4 col-lg-4 col-md-6 col-sm-6 d-flex justify-content-center p-0 '
15175
- // : sectionproperties.numberOfColsvertical == '4'
15176
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15177
- // ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15178
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
15179
- // ? ' col-xl-3 p-0 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15180
- // : item.tabexsectioninfo.sectioncompname == 'ModernProductCard'
15181
- // ? ' col-xl-3 p-0 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15182
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15183
- // ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15184
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15185
- // ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15186
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15187
- // ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15188
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15189
- // ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15190
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15191
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
15192
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15193
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15194
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15195
- // ? ' col-xl-3 col-lg-4 col-md-4 col-sm-12 p-0 d-flex justify-content-center p-0 '
15196
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15197
- // ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
15198
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15199
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15200
- // : ' col-xl-3 col-lg-4 col-md-4 col-sm-6 p-0 d-flex justify-content-center p-0 '
15201
- // : sectionproperties.numberOfColsvertical == '12'
15202
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15203
- // ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15204
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
15205
- // ? ' col-xl-3 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15206
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15207
- // ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15208
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15209
- // ? ' col-xl-3 p-0 col-lg-4 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15210
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15211
- // ? ' col-xl-3 p-0 col-lg-3 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15212
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15213
- // ? ' col-xl-3 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15214
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15215
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
15216
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15217
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15218
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15219
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15220
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15221
- // ? ' col-xl-3 p-0 col-lg-3 col-md-12 col-sm-12 d-flex justify-content-center p-0'
15222
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15223
- // ? ' col-xl-3 p-0 col-lg-3 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15224
- // : ''
15225
- // : sectionproperties.numberOfColsvertical == '6'
15226
- // ? item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover'
15227
- // ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15228
- // : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft'
15229
- // ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15230
- // : item.tabexsectioninfo.sectioncompname == 'MenuCard'
15231
- // ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15232
- // : item.tabexsectioninfo.sectioncompname == 'ServiceCard'
15233
- // ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0 '
15234
- // : item.tabexsectioninfo.sectioncompname == 'StylishProductCard'
15235
- // ? ' col-xl-2 p-0 col-lg-2 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15236
- // : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg'
15237
- // ? ' col-xl-2 p-0 col-lg-3 col-md-3 col-sm-6 d-flex justify-content-center p-0 '
15238
- // : item.tabexsectioninfo.sectioncompname == 'Card20'
15239
- // ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto '
15240
- // : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
15241
- // ? ' col-xl-2 p-0 col-lg-3 col-md-4 d-flex justify-content-center p-0 col-sm-' +
15242
- // sectionproperties.numberOfColsverticalresp
15243
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition'
15244
- // ? ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15245
- // : item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard'
15246
- // ? ' col-xl-2 p-0 col-lg-2 col-md-12 col-sm-12 d-flex justify-content-center p-0'
15247
- // : item.tabexsectioninfo.sectioncompname == 'CardWithTextOnly'
15248
- // ? ' col-xl-2 col-lg-4 col-md-4 col-sm-6 d-flex justify-content-center p-0 '
15249
- // : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage'
15250
- // ? ' col-xl-2 p-0 col-lg-2 col-md-4 col-sm-12 d-flex justify-content-center p-0 '
15251
- // : ' col-xl-2 col-lg-4 col-md-6 col-sm-12 d-flex justify-content-center p-0 '
15252
- // : ''
15253
- // }
15254
15260
  }, /*#__PURE__*/React.createElement(Sectioncomp, {
15255
15261
  sectiontypeprops: 'horizontal',
15256
15262
  sectiontypeprops2: 'vertical',
@@ -35784,8 +35790,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
35784
35790
  }
35785
35791
  }),
35786
35792
  cart_btn: css({
35787
- width: sectionproperties.cartBtnWidth + 'px',
35788
- height: sectionproperties.cartBtnHeight + 'px',
35793
+ width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
35794
+ height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
35789
35795
  background: sectionproperties.cartBtnbgColor,
35790
35796
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
35791
35797
  color: sectionproperties.cart_iconcolor,
@@ -35957,7 +35963,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
35957
35963
  }
35958
35964
  }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), /*#__PURE__*/React.createElement("div", {
35959
35965
  "class": "col-lg-6 p-0 d-flex justify-content-end align-items-center"
35960
- }, /*#__PURE__*/React.createElement("p", {
35966
+ }, sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("p", {
35961
35967
  "class": header_cssstyles.languagecontainer + ' m-0 p-0 ',
35962
35968
  onClick: function onClick() {
35963
35969
  if (langdetect == 'en') {
@@ -36014,7 +36020,20 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36014
36020
  }
36015
36021
  }))), /*#__PURE__*/React.createElement("div", {
36016
36022
  "class": "col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
36017
- }, sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
36023
+ }, sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("p", {
36024
+ "class": header_cssstyles.languagecontainer + ' p-0 mb-0 pb-0 ',
36025
+ style: {
36026
+ marginRight: langdetect == 'en' ? '35px' : 0,
36027
+ marginLeft: langdetect == 'ar' ? '35px' : 0
36028
+ },
36029
+ onClick: function onClick() {
36030
+ if (langdetect == 'en') {
36031
+ setlang('ar');
36032
+ } else {
36033
+ setlang('en');
36034
+ }
36035
+ }
36036
+ }, langdetect == 'en' ? 'English' : 'لغة عربية'), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React.createElement("div", {
36018
36037
  style: {
36019
36038
  marginRight: langdetect == 'en' ? '30px' : 0,
36020
36039
  marginLeft: langdetect == 'en' ? 0 : '30px'
@@ -36112,10 +36131,6 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36112
36131
  "class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
36113
36132
  onClick: function onClick() {
36114
36133
  setsidecartnavshowcontext(true);
36115
- },
36116
- style: {
36117
- marginRight: langdetect == 'en' ? '30px' : 0,
36118
- marginLeft: langdetect == 'en' ? 0 : '30px'
36119
36134
  }
36120
36135
  }, /*#__PURE__*/React.createElement("span", {
36121
36136
  "class": ' pr-0 ',
@@ -36276,7 +36291,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36276
36291
  }
36277
36292
  }))));
36278
36293
  }
36279
- }), /*#__PURE__*/React.createElement("div", {
36294
+ }), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
36280
36295
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
36281
36296
  }, /*#__PURE__*/React.createElement("div", {
36282
36297
  "class": "row m-0 w-100"
@@ -36830,7 +36845,7 @@ var Allinonefooter = function Allinonefooter(props) {
36830
36845
  function ownKeys$1w(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; }
36831
36846
  function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
36832
36847
  var Footer1 = function Footer1(props) {
36833
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i11, _authdetailsContext$i12;
36848
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
36834
36849
  var _useState = useState(''),
36835
36850
  _useState2 = _slicedToArray(_useState, 2),
36836
36851
  sectionproperties = _useState2[0],
@@ -36910,8 +36925,7 @@ var Footer1 = function Footer1(props) {
36910
36925
  }),
36911
36926
  facebook_btn: css({
36912
36927
  cursor: 'pointer',
36913
- // background: sectionproperties.facebkbtnnbgColor,
36914
- background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
36928
+ background: sectionproperties.facebkbtnnbgColor,
36915
36929
  width: sectionproperties.facebkbtnnWidth + 'px',
36916
36930
  height: sectionproperties.facebkbtnnHeight + 'px',
36917
36931
  borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
@@ -36919,14 +36933,14 @@ var Footer1 = function Footer1(props) {
36919
36933
  border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
36920
36934
  transition: '.3s',
36921
36935
  ':hover': {
36922
- background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
36936
+ background: sectionproperties.facebkbtnnbgColoronhover,
36923
36937
  color: sectionproperties.facebkbtnnTextcoloronhover,
36924
- borderColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? sectionproperties.facebkbtnnTextcoloronhover : sectionproperties.facebkbtnnbgColoronhover
36938
+ borderColor: sectionproperties.facebkbtnnTextcoloronhover
36925
36939
  }
36926
36940
  }),
36927
36941
  youtube_btn: css({
36928
36942
  cursor: 'pointer',
36929
- background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
36943
+ background: sectionproperties.youtubebtnbgColor,
36930
36944
  width: sectionproperties.youtubebtnWidth + 'px',
36931
36945
  height: sectionproperties.youtubebtnHeight + 'px',
36932
36946
  borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
@@ -36934,14 +36948,14 @@ var Footer1 = function Footer1(props) {
36934
36948
  border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
36935
36949
  transition: '.3s',
36936
36950
  ':hover': {
36937
- background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
36951
+ background: sectionproperties.youtubebtnbgColoronhover,
36938
36952
  color: sectionproperties.youtubebtnTextcoloronhover,
36939
- borderColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.youtubebtnTextcoloronhover : sectionproperties.youtubebtnbgColoronhover
36953
+ borderColor: sectionproperties.youtubebtnTextcoloronhover
36940
36954
  }
36941
36955
  }),
36942
36956
  instgram_btn: css({
36943
36957
  cursor: 'pointer',
36944
- background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
36958
+ background: sectionproperties.instgrambtnbgColor,
36945
36959
  width: sectionproperties.instgrambtnWidth + 'px',
36946
36960
  height: sectionproperties.instgrambtnHeight + 'px',
36947
36961
  borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
@@ -36949,9 +36963,9 @@ var Footer1 = function Footer1(props) {
36949
36963
  border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
36950
36964
  transition: '.3s',
36951
36965
  ':hover': {
36952
- background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
36966
+ background: sectionproperties.instgrambtnbgColoronhover,
36953
36967
  color: sectionproperties.instgrambtnTextcoloronhover,
36954
- borderColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.instgrambtnTextcoloronhover : sectionproperties.instgrambtnbgColoronhover
36968
+ borderColor: sectionproperties.instgrambtnTextcoloronhover
36955
36969
  }
36956
36970
  }),
36957
36971
  footersubtitlestyles: css({
@@ -36980,11 +36994,45 @@ var Footer1 = function Footer1(props) {
36980
36994
  height: sectionproperties.vl_height + 'px',
36981
36995
  width: sectionproperties.vl_width + '%',
36982
36996
  overflow: 'hidden',
36983
- marginLeft: sectionproperties.vl_ml + 'px',
36984
- marginRight: sectionproperties.vl_mr + 'px',
36985
36997
  background: sectionproperties.vl_bg
36998
+ }),
36999
+ apptore: css({
37000
+ maxWidth: '10%',
37001
+ height: 'auto',
37002
+ objectFit: 'contain',
37003
+ '@media (max-width: 800px)': {
37004
+ maxWidth: '20%',
37005
+ height: 'auto'
37006
+ },
37007
+ '@media (max-width: 600px)': {
37008
+ maxWidth: '35%',
37009
+ height: 'auto'
37010
+ }
37011
+ }),
37012
+ playstore: css({
37013
+ maxWidth: '10%',
37014
+ height: 'auto',
37015
+ objectFit: 'contain',
37016
+ '@media (max-width: 800px)': {
37017
+ maxWidth: '20%',
37018
+ height: 'auto'
37019
+ },
37020
+ '@media (max-width: 600px)': {
37021
+ maxWidth: '35%',
37022
+ height: 'auto'
37023
+ }
36986
37024
  })
36987
37025
  };
37026
+ var returnpolicyobj = function returnpolicyobj(policytype) {
37027
+ var _authdetailsContext$i;
37028
+ var policyobj = {};
37029
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
37030
+ if (item.policytype == policytype) {
37031
+ policyobj = item;
37032
+ }
37033
+ });
37034
+ return policyobj;
37035
+ };
36988
37036
  return /*#__PURE__*/React.createElement("div", {
36989
37037
  "class": "row m-0 w-100 d-flex justify-content-center"
36990
37038
  }, /*#__PURE__*/React.createElement("footer", {
@@ -37005,16 +37053,7 @@ var Footer1 = function Footer1(props) {
37005
37053
  objectFit: 'contain'
37006
37054
  },
37007
37055
  loading: "lazy"
37008
- })), sectionproperties.showtitle == 'Show' && /*#__PURE__*/React.createElement("p", {
37009
- "class": "mb-0 p-0",
37010
- style: {
37011
- color: sectionproperties.titlecolor,
37012
- textTransform: sectionproperties.titletexttransform,
37013
- fontWeight: sectionproperties.titlefontweight,
37014
- fontSize: sectionproperties.titlefontsize + 'px',
37015
- marginLeft: sectionproperties.titlemarginleft + 'px'
37016
- }
37017
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.storename_en)), /*#__PURE__*/React.createElement("div", {
37056
+ }))), /*#__PURE__*/React.createElement("div", {
37018
37057
  "class": "col-lg-12 d-none d-md-block align-items-center justify-content-start justify-content-md-center"
37019
37058
  }, /*#__PURE__*/React.createElement("div", {
37020
37059
  "class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-center col-lg-12 w-100 '
@@ -37028,18 +37067,7 @@ var Footer1 = function Footer1(props) {
37028
37067
  objectFit: 'contain'
37029
37068
  },
37030
37069
  loading: "lazy"
37031
- })), /*#__PURE__*/React.createElement("div", {
37032
- "class": ' w-100 d-flex align-items-center justify-content-center col-lg-12 '
37033
- }, /*#__PURE__*/React.createElement("p", {
37034
- "class": "mb-0 p-0",
37035
- style: {
37036
- color: sectionproperties.titlecolor,
37037
- textTransform: sectionproperties.titletexttransform,
37038
- fontWeight: sectionproperties.titlefontweight,
37039
- fontSize: sectionproperties.titlefontsize + 'px',
37040
- marginLeft: sectionproperties.titlemarginleft + 'px'
37041
- }
37042
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.storename_en))), /*#__PURE__*/React.createElement("div", {
37070
+ }))), /*#__PURE__*/React.createElement("div", {
37043
37071
  "class": "row m-0 w-100"
37044
37072
  }, /*#__PURE__*/React.createElement("div", {
37045
37073
  "class": "col-lg-7 col-sm-12"
@@ -37048,7 +37076,6 @@ var Footer1 = function Footer1(props) {
37048
37076
  }, sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React.createElement("div", {
37049
37077
  "class": "col-lg-10 col-md-12 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
37050
37078
  }, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
37051
- if (item.isselected) ;
37052
37079
  if (item.isnavigation == 1 && item.isactive == 1) {
37053
37080
  return /*#__PURE__*/React.createElement("div", {
37054
37081
  onClick: function onClick() {
@@ -37061,7 +37088,6 @@ var Footer1 = function Footer1(props) {
37061
37088
  })), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React.createElement("div", {
37062
37089
  "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
37063
37090
  }, templatepropcontext === null || templatepropcontext === void 0 ? void 0 : templatepropcontext.pagesnprop.map(function (item, index) {
37064
- if (item.isselected) ;
37065
37091
  if (item.isnavigation == 1 && item.isactive == 1) {
37066
37092
  return /*#__PURE__*/React.createElement("div", {
37067
37093
  "class": "col-lg-12 p-0 d-flex justify-content-center"
@@ -37074,31 +37100,59 @@ var Footer1 = function Footer1(props) {
37074
37100
  }, langdetect == 'en' ? item.pagename : item.pagename_ar, " ")));
37075
37101
  }
37076
37102
  })), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
37077
- "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
37103
+ "class": "d-none d-md-block align-items-center justify-content-start mt-3 p-0 row m-0 w-100"
37078
37104
  }, /*#__PURE__*/React.createElement("div", {
37079
37105
  "class": "row m-0 w-100"
37080
37106
  }, /*#__PURE__*/React.createElement("div", {
37081
- "class": "col-lg-12 d-flex justify-content-center p-0"
37107
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37082
37108
  }, /*#__PURE__*/React.createElement("p", {
37083
37109
  "class": "".concat(footerStyles.footersubtitlestyles),
37084
37110
  onClick: function onClick() {
37085
37111
  routingcountext(StaticPagesLinksContext.Wishlist);
37086
37112
  }
37087
37113
  }, lang.wishlist)), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
37088
- "class": "col-lg-12 d-flex justify-content-center p-0"
37114
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37089
37115
  }, /*#__PURE__*/React.createElement("p", {
37090
37116
  "class": "".concat(footerStyles.footersubtitlestyles),
37091
37117
  onClick: function onClick() {
37092
37118
  routingcountext(StaticPagesLinksContext.Ordershistory);
37093
37119
  }
37094
- }, lang.orderhistory)), /*#__PURE__*/React.createElement("div", {
37095
- "class": "col-lg-12 d-flex justify-content-center p-0"
37120
+ }, lang.orderhistory)), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("div", {
37121
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37096
37122
  }, /*#__PURE__*/React.createElement("p", {
37097
37123
  "class": "".concat(footerStyles.footersubtitlestyles),
37098
37124
  onClick: function onClick() {
37099
37125
  routingcountext(StaticPagesLinksContext.Policies);
37100
37126
  }
37101
- }, lang.policies)))), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
37127
+ }, lang.policies)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
37128
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37129
+ }, /*#__PURE__*/React.createElement("p", {
37130
+ "class": "".concat(footerStyles.footersubtitlestyles),
37131
+ onClick: function onClick() {
37132
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
37133
+ }
37134
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
37135
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37136
+ }, /*#__PURE__*/React.createElement("p", {
37137
+ "class": "".concat(footerStyles.footersubtitlestyles),
37138
+ onClick: function onClick() {
37139
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
37140
+ }
37141
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
37142
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37143
+ }, /*#__PURE__*/React.createElement("p", {
37144
+ "class": "".concat(footerStyles.footersubtitlestyles),
37145
+ onClick: function onClick() {
37146
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
37147
+ }
37148
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
37149
+ "class": "col-lg-12 d-flex justify-content-start p-0"
37150
+ }, /*#__PURE__*/React.createElement("p", {
37151
+ "class": "".concat(footerStyles.footersubtitlestyles),
37152
+ onClick: function onClick() {
37153
+ routingcountext(StaticPagesLinksContext.TermsConditions);
37154
+ }
37155
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)))), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React.createElement("div", {
37102
37156
  "class": "col-lg-10 d-flex d-md-none flex-row align-items-center justify-content-start mt-3 p-0"
37103
37157
  }, /*#__PURE__*/React.createElement("p", {
37104
37158
  "class": langdetect == 'en' ? "".concat(footerStyles.footersubtitlestyles) + ' ml-0 ' : "".concat(footerStyles.footersubtitlestyles) + ' mr-0 ',
@@ -37110,33 +37164,53 @@ var Footer1 = function Footer1(props) {
37110
37164
  onClick: function onClick() {
37111
37165
  routingcountext(StaticPagesLinksContext.Ordershistory);
37112
37166
  }
37113
- }, lang.orderhistory), /*#__PURE__*/React.createElement("p", {
37167
+ }, lang.orderhistory), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("p", {
37114
37168
  "class": "".concat(footerStyles.footersubtitlestyles),
37115
37169
  onClick: function onClick() {
37116
37170
  routingcountext(StaticPagesLinksContext.Policies);
37117
37171
  }
37118
- }, lang.policies)))), /*#__PURE__*/React.createElement("div", {
37172
+ }, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
37173
+ "class": "".concat(footerStyles.footersubtitlestyles),
37174
+ onClick: function onClick() {
37175
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
37176
+ }
37177
+ }, langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
37178
+ "class": "".concat(footerStyles.footersubtitlestyles),
37179
+ onClick: function onClick() {
37180
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
37181
+ }
37182
+ }, langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policypagename_en : (_returnpolicyobj12 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
37183
+ "class": "".concat(footerStyles.footersubtitlestyles),
37184
+ onClick: function onClick() {
37185
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
37186
+ }
37187
+ }, langdetect == 'en' ? (_returnpolicyobj13 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj13 === void 0 ? void 0 : _returnpolicyobj13.policypagename_en : (_returnpolicyobj14 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj14 === void 0 ? void 0 : _returnpolicyobj14.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("p", {
37188
+ "class": "".concat(footerStyles.footersubtitlestyles),
37189
+ onClick: function onClick() {
37190
+ routingcountext(StaticPagesLinksContext.TermsConditions);
37191
+ }
37192
+ }, langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar)))), /*#__PURE__*/React.createElement("div", {
37119
37193
  "class": "col-lg-5 col-sm-12 mb-sm-2 d-flex justify-content-end"
37120
37194
  }, /*#__PURE__*/React.createElement("div", {
37121
- "class": " col-lg-12 d-flex flex-row align-items-center justify-content-end "
37195
+ "class": " col-lg-12 d-flex flex-row align-items-center justify-content-end justify-content-md-start p-md-0"
37122
37196
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
37123
37197
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
37124
37198
  onClick: function onClick() {
37125
- var _authdetailsContext$i4;
37126
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink) != null) {
37127
- var _authdetailsContext$i5;
37128
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.facebooklink, '_blank');
37199
+ var _authdetailsContext$i3;
37200
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
37201
+ var _authdetailsContext$i4;
37202
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
37129
37203
  }
37130
37204
  }
37131
- }, /*#__PURE__*/React.createElement(FaFacebookF, {
37205
+ }, /*#__PURE__*/React.createElement(FaFacebook, {
37132
37206
  size: sectionproperties.facebkbtnniconfontsize
37133
37207
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
37134
37208
  "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
37135
37209
  onClick: function onClick() {
37136
- var _authdetailsContext$i6;
37137
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink) != null) {
37138
- var _authdetailsContext$i7;
37139
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink, '_blank');
37210
+ var _authdetailsContext$i5;
37211
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
37212
+ var _authdetailsContext$i6;
37213
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
37140
37214
  }
37141
37215
  }
37142
37216
  }, /*#__PURE__*/React.createElement(AiFillInstagram, {
@@ -37144,10 +37218,10 @@ var Footer1 = function Footer1(props) {
37144
37218
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
37145
37219
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
37146
37220
  onClick: function onClick() {
37147
- var _authdetailsContext$i8;
37148
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
37149
- var _authdetailsContext$i9;
37150
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
37221
+ var _authdetailsContext$i7;
37222
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
37223
+ var _authdetailsContext$i8;
37224
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
37151
37225
  }
37152
37226
  }
37153
37227
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
@@ -37155,7 +37229,23 @@ var Footer1 = function Footer1(props) {
37155
37229
  }))))), /*#__PURE__*/React.createElement("div", {
37156
37230
  "class": "col-lg-12 d-flex justify-content-center mt-md-3 mb-md-3"
37157
37231
  }, /*#__PURE__*/React.createElement("div", {
37158
- "class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 '
37232
+ "class": "".concat(footerStyles.vl) + ' ml-sm-0 mr-sm-0 my-2 '
37233
+ })), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
37234
+ "class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-center mt-3 mb-1 mb-sm-3'
37235
+ }, /*#__PURE__*/React.createElement("img", {
37236
+ "class": "".concat(footerStyles.apptore) + ' cursor-pointer mx-2 ',
37237
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
37238
+ onClick: function onClick() {
37239
+ var _authdetailsContext$i9;
37240
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.mobileapplink_appstore, '_blank');
37241
+ }
37242
+ }), /*#__PURE__*/React.createElement("img", {
37243
+ "class": "".concat(footerStyles.playstore) + ' cursor-pointer mx-2 ',
37244
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
37245
+ onClick: function onClick() {
37246
+ var _authdetailsContext$i10;
37247
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobileapplink_playstore, '_blank');
37248
+ }
37159
37249
  })), sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
37160
37250
  "class": "col-lg-12 col-md-12 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
37161
37251
  }, /*#__PURE__*/React.createElement("div", {
@@ -37171,12 +37261,12 @@ var Footer1 = function Footer1(props) {
37171
37261
  textTransform: sectionproperties.footerinfotext_textTransform
37172
37262
  },
37173
37263
  onClick: function onClick() {
37174
- var _authdetailsContext$i10;
37175
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
37264
+ var _authdetailsContext$i11;
37265
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email), '_self');
37176
37266
  }
37177
37267
  }, /*#__PURE__*/React.createElement("i", {
37178
37268
  "class": ' fa fa-at mr-2 text-transform-none ml-2 '
37179
- }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email)), /*#__PURE__*/React.createElement("div", {
37269
+ }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 || (_authdetailsContext$i12 = _authdetailsContext$i12.contactinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.email)), /*#__PURE__*/React.createElement("div", {
37180
37270
  "class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0"
37181
37271
  }, /*#__PURE__*/React.createElement("p", {
37182
37272
  "class": "".concat(footerStyles.footerinfotext) + ' d-flex align-items-center justify-content-md-center mr-1 ',
@@ -37205,7 +37295,7 @@ var Footer1 = function Footer1(props) {
37205
37295
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
37206
37296
  }, /*#__PURE__*/React.createElement(IoLocationSharp, {
37207
37297
  size: sectionproperties.footerinfoicon_fontsize
37208
- })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.address_en)))))));
37298
+ })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
37209
37299
  };
37210
37300
 
37211
37301
  function ownKeys$1v(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; }
@@ -64825,7 +64915,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
64825
64915
  productcardimagecont: css({
64826
64916
  position: 'relative',
64827
64917
  overflow: 'hidden',
64828
- height: sectionproperties.image_height + 'px',
64918
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
64829
64919
  background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
64830
64920
  // border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
64831
64921
  border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
@@ -64837,7 +64927,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
64837
64927
  transition: '.3s',
64838
64928
  opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
64839
64929
  '@media (max-width: 800px)': {
64840
- height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
64930
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
64841
64931
  }
64842
64932
  }),
64843
64933
  productNameStyles: css({
@@ -65013,26 +65103,33 @@ var Simpleproductcard = function Simpleproductcard(props) {
65013
65103
  fontSize: sectionproperties.badge_fontsize + 'px'
65014
65104
  }
65015
65105
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
65016
- "class": "allcentered",
65106
+ "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
65017
65107
  style: {
65018
65108
  zIndex: 2,
65019
65109
  position: 'absolute',
65020
65110
  top: sectionproperties.pillpositionfromtop + 'px',
65021
65111
  left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
65022
65112
  right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
65023
- width: sectionproperties.pillwidth + 'px',
65113
+ width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
65024
65114
  height: sectionproperties.pillheight + 'px',
65025
65115
  background: sectionproperties.pillbgcolor,
65026
65116
  borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
65027
65117
  }
65028
- }, /*#__PURE__*/React.createElement("p", {
65118
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
65119
+ "class": "m-0 p-0",
65120
+ style: {
65121
+ color: sectionproperties.pillcolor,
65122
+ fontSize: sectionproperties.pillfontSize + 'px',
65123
+ direction: 'ltr'
65124
+ }
65125
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
65029
65126
  "class": "m-0 p-0 text-uppercase",
65030
65127
  style: {
65031
65128
  color: sectionproperties.pillcolor,
65032
65129
  fontSize: sectionproperties.pillfontSize + 'px',
65033
65130
  direction: 'ltr'
65034
65131
  }
65035
- }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React.createElement("div", {
65132
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
65036
65133
  onClick: function onClick() {
65037
65134
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
65038
65135
  // setShowProductInfoModalContext(true);
@@ -65097,8 +65194,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
65097
65194
  "class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
65098
65195
  style: {
65099
65196
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
65100
- marginTop: sectionproperties.productpricemarginvertical + 'px',
65101
- marginBottom: sectionproperties.productpricemarginvertical + 'px'
65197
+ marginTop: sectionproperties.productpricemarginTop + 'px',
65198
+ marginBottom: sectionproperties.productpricemarginBottom + 'px'
65102
65199
  }
65103
65200
  }, /*#__PURE__*/React.createElement("div", {
65104
65201
  "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',