tabexseriescomponents 0.0.351 → 0.0.356

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
@@ -18,6 +18,7 @@ import { AiOutlineUser } from '@react-icons/all-files/ai/AiOutlineUser';
18
18
  import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
19
19
  import { Modal, Offcanvas } from 'react-bootstrap';
20
20
  import { IKImage } from 'imagekitio-react';
21
+ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
21
22
  import ImageGallery from 'react-image-gallery';
22
23
  import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
23
24
  import { IoBagHandleOutline } from '@react-icons/all-files/io5/IoBagHandleOutline';
@@ -34,7 +35,6 @@ import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
34
35
  import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
35
36
  import ReactStars from 'react-rating-stars-component';
36
37
  import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
37
- import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
38
38
  import TextareaAutosize from 'react-textarea-autosize';
39
39
  import { AiOutlineClockCircle } from '@react-icons/all-files/ai/AiOutlineClockCircle';
40
40
  import { AiOutlinePlus } from '@react-icons/all-files/ai/AiOutlinePlus';
@@ -45,6 +45,7 @@ import { HiOutlinePhone } from '@react-icons/all-files/hi/HiOutlinePhone';
45
45
  import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
46
46
  import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
47
47
  import { RiSecurePaymentLine } from '@react-icons/all-files/ri/RiSecurePaymentLine';
48
+ import ReactPlayer from 'react-player';
48
49
  import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
49
50
  import { FaStar } from '@react-icons/all-files/fa/FaStar';
50
51
  import { IoLocationSharp } from '@react-icons/all-files/io5/IoLocationSharp';
@@ -137,7 +138,6 @@ import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
137
138
  import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
138
139
  import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
139
140
  import Select$5 from 'react-select';
140
- import ReactPlayer from 'react-player';
141
141
  import BackgroundSlideshow from 'react-background-slideshow';
142
142
  import _extends from '@babel/runtime/helpers/extends';
143
143
  import { Fade, Slide, Zoom } from 'react-slideshow-image';
@@ -4448,7 +4448,7 @@ var ProductReviews = function ProductReviews(props) {
4448
4448
  function ownKeys$2k(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; }
4449
4449
  function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4450
4450
  var Productinfo = function Productinfo(props) {
4451
- var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer18, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer19, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
4451
+ var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
4452
4452
  props.actions.srcfromprops;
4453
4453
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
4454
4454
  var lang = props.actions.lang;
@@ -4555,6 +4555,10 @@ var Productinfo = function Productinfo(props) {
4555
4555
  _useState34 = _slicedToArray(_useState33, 2),
4556
4556
  tabname = _useState34[0],
4557
4557
  settabname = _useState34[1];
4558
+ var _useState35 = useState([]),
4559
+ _useState36 = _slicedToArray(_useState35, 2),
4560
+ productVideos = _useState36[0],
4561
+ setproductVideos = _useState36[1];
4558
4562
  var handleTabChange = function handleTabChange(event, newTabIndex) {
4559
4563
  setTabIndex(newTabIndex);
4560
4564
  };
@@ -4569,6 +4573,20 @@ var Productinfo = function Productinfo(props) {
4569
4573
  settabname('descriptiontab');
4570
4574
  }
4571
4575
  }, [StatePagePropertiesContext]);
4576
+ useEffect(function () {
4577
+ var _fetchProductInfoQuer;
4578
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.product_videos) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.length) != 0) {
4579
+ var _fetchProductInfoQuer2;
4580
+ if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.product_videos)) {
4581
+ var _fetchProductInfoQuer3;
4582
+ var temparr = _toConsumableArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.product_videos);
4583
+ temparr.forEach(function (item) {
4584
+ item.linkclicked = false;
4585
+ });
4586
+ setproductVideos(_toConsumableArray(temparr));
4587
+ }
4588
+ }
4589
+ }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
4572
4590
  useEffect(function () {
4573
4591
  var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
4574
4592
  return x.staticpageid == '6218bccb810ae';
@@ -4617,7 +4635,7 @@ var Productinfo = function Productinfo(props) {
4617
4635
  useEffect(function () {
4618
4636
  if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
4619
4637
  if (fetchProductInfoQueryContext.data.data.productinfo != null) {
4620
- var _fetchProductInfoQuer, _fetchProductInfoQuer2;
4638
+ var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
4621
4639
  var tempproductimagesarray = [];
4622
4640
  if (Array.isArray(fetchProductInfoQueryContext.data.data.productinfo.productimages)) {
4623
4641
  fetchProductInfoQueryContext.data.data.productinfo.productimages.forEach(function (arrayItem, arrayindex) {
@@ -4642,7 +4660,7 @@ var Productinfo = function Productinfo(props) {
4642
4660
  tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
4643
4661
  setaddtocardpayloadobj(_objectSpread$2k({}, tempaddtocardpayloadobj));
4644
4662
  setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
4645
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.maintagid) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0) {
4663
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.maintagid) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0) {
4646
4664
  GeneralAPIMutationContext.mutate({
4647
4665
  endpointurl: '/FetchRelatedProducts',
4648
4666
  tagid: fetchProductInfoQueryContext.data.data.productinfo.maintagid,
@@ -4823,8 +4841,8 @@ var Productinfo = function Productinfo(props) {
4823
4841
  var addtocartfunc = function addtocartfunc() {
4824
4842
  var runfunc = false;
4825
4843
  if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
4826
- var _fetchProductInfoQuer3;
4827
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1) {
4844
+ var _fetchProductInfoQuer6;
4845
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.hasvariants) == 1) {
4828
4846
  if (addtocardpayloadobj.variantid.length != 0) {
4829
4847
  runfunc = true;
4830
4848
  } else {
@@ -4837,10 +4855,10 @@ var Productinfo = function Productinfo(props) {
4837
4855
  NotificationManager.warning('', 'Please Choose Quantity');
4838
4856
  }
4839
4857
  if (runfunc == true) {
4840
- var _fetchProductInfoQuer4, _fetchProductInfoQuer5;
4858
+ var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
4841
4859
  var tempaddtocardpayloadobj = _objectSpread$2k({}, addtocardpayloadobj);
4842
- tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.isproductforcedtocheckout;
4843
- tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.vendorproviderid;
4860
+ tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproductforcedtocheckout;
4861
+ tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
4844
4862
  var Extrafieldvalidationresponse = validateextrafields();
4845
4863
  if (Extrafieldvalidationresponse.status) {
4846
4864
  AddtoCartContext(tempaddtocardpayloadobj);
@@ -4848,12 +4866,12 @@ var Productinfo = function Productinfo(props) {
4848
4866
  }
4849
4867
  };
4850
4868
  var validateextrafields = function validateextrafields() {
4851
- var _fetchProductInfoQuer6;
4869
+ var _fetchProductInfoQuer9;
4852
4870
  var tempaddtocardpayloadobj = _objectSpread$2k({}, addtocardpayloadobj);
4853
4871
  var status = false;
4854
4872
  var reason = '';
4855
4873
  var missingitemsfound = [];
4856
- var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productextrafields;
4874
+ var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productextrafields;
4857
4875
  if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
4858
4876
  status = true;
4859
4877
  } else {
@@ -5439,24 +5457,24 @@ var Productinfo = function Productinfo(props) {
5439
5457
  }
5440
5458
  }));
5441
5459
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
5442
- var _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10;
5460
+ var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
5443
5461
  var price = 0;
5444
5462
  var quantityconditions = [];
5445
5463
  var quantity = 0;
5446
5464
  if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
5447
5465
  quantity = parseFloat(addtocardpayloadobj.quantity);
5448
5466
  }
5449
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productquantityoptions) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.length) != 0) {
5467
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productquantityoptions) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.length) != 0) {
5450
5468
  quantityconditions = fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
5451
5469
  }
5452
5470
  if (type == 'defaultprice') {
5453
5471
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
5454
5472
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
5455
5473
  if (variantindexcompleted != undefined) {
5456
- var _fetchProductInfoQuer11;
5457
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.variants[variantindexcompleted]) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.variantprice) != undefined) {
5458
- var _fetchProductInfoQuer12;
5459
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.variants[variantindexcompleted]) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.variantprice;
5474
+ var _fetchProductInfoQuer14;
5475
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.variants[variantindexcompleted]) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.variantprice) != undefined) {
5476
+ var _fetchProductInfoQuer15;
5477
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.variants[variantindexcompleted]) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.variantprice;
5460
5478
  }
5461
5479
  }
5462
5480
  }
@@ -5464,10 +5482,10 @@ var Productinfo = function Productinfo(props) {
5464
5482
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
5465
5483
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
5466
5484
  if (variantindexcompleted != undefined) {
5467
- var _fetchProductInfoQuer13;
5468
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.variantsaleprice) != undefined) {
5469
- var _fetchProductInfoQuer14;
5470
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.variants[variantindexcompleted]) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.variantsaleprice;
5485
+ var _fetchProductInfoQuer16;
5486
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.variants[variantindexcompleted]) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.variantsaleprice) != undefined) {
5487
+ var _fetchProductInfoQuer17;
5488
+ price = 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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.variantsaleprice;
5471
5489
  }
5472
5490
  }
5473
5491
  }
@@ -5497,7 +5515,7 @@ var Productinfo = function Productinfo(props) {
5497
5515
  }
5498
5516
  };
5499
5517
  var getQuantityCondition = function getQuantityCondition() {
5500
- var _fetchProductInfoQuer15;
5518
+ var _fetchProductInfoQuer18;
5501
5519
  return /*#__PURE__*/React.createElement("div", {
5502
5520
  "class": "col-lg-12 p-0",
5503
5521
  style: {
@@ -5527,12 +5545,12 @@ var Productinfo = function Productinfo(props) {
5527
5545
  height: 1,
5528
5546
  background: sectionproperties.pricelisttitlecolor
5529
5547
  }
5530
- })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productquantityoptions) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.map(function (item, index) {
5531
- var _fetchProductInfoQuer16;
5548
+ })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productquantityoptions) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.map(function (item, index) {
5549
+ var _fetchProductInfoQuer19;
5532
5550
  return /*#__PURE__*/React.createElement("div", {
5533
5551
  className: "col-lg-12 p-0 w-100 d-flex align-items-center",
5534
5552
  style: {
5535
- marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productquantityoptions) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.length) - 1 != index ? '1rem' : 0
5553
+ marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productquantityoptions) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.length) - 1 != index ? '1rem' : 0
5536
5554
  }
5537
5555
  }, /*#__PURE__*/React.createElement("div", {
5538
5556
  "class": "d-flex align-items-center",
@@ -5566,7 +5584,7 @@ var Productinfo = function Productinfo(props) {
5566
5584
  })));
5567
5585
  };
5568
5586
  var StoreInfo = function StoreInfo() {
5569
- var _fetchProductInfoQuer17, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
5587
+ var _fetchProductInfoQuer20, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
5570
5588
  return /*#__PURE__*/React.createElement("div", {
5571
5589
  "class": "row m-0 w-100"
5572
5590
  }, /*#__PURE__*/React.createElement("div", {
@@ -5613,7 +5631,7 @@ var Productinfo = function Productinfo(props) {
5613
5631
  style: {
5614
5632
  textAlign: langdetect == 'en' ? 'left' : 'right'
5615
5633
  }
5616
- }, 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", {
5634
+ }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productquantityoptions) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.length) != 0 && /*#__PURE__*/React.createElement("div", {
5617
5635
  "class": "col-lg-12 p-0 mb-4"
5618
5636
  }, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
5619
5637
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
@@ -5800,7 +5818,12 @@ var Productinfo = function Productinfo(props) {
5800
5818
  onClick: function onClick() {
5801
5819
  settabname('refundpolicytab');
5802
5820
  }
5803
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
5821
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.product_videos) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
5822
+ label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
5823
+ onClick: function onClick() {
5824
+ settabname('videostab');
5825
+ }
5826
+ }), (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.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
5804
5827
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
5805
5828
  onClick: function onClick() {
5806
5829
  settabname('reviewstab');
@@ -5855,7 +5878,12 @@ var Productinfo = function Productinfo(props) {
5855
5878
  onClick: function onClick() {
5856
5879
  settabname('refundpolicytab');
5857
5880
  }
5858
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
5881
+ }), (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 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.product_videos) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
5882
+ label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
5883
+ onClick: function onClick() {
5884
+ settabname('videostab');
5885
+ }
5886
+ }), (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.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
5859
5887
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
5860
5888
  onClick: function onClick() {
5861
5889
  settabname('reviewstab');
@@ -5891,6 +5919,23 @@ var Productinfo = function Productinfo(props) {
5891
5919
  dangerouslySetInnerHTML: {
5892
5920
  __html: langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policycontent_en : (_returnpolicyobj12 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policycontent_ar
5893
5921
  }
5922
+ })), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
5923
+ "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
5924
+ }, productVideos.map(function (item, index) {
5925
+ return /*#__PURE__*/React.createElement("div", {
5926
+ className: "col-lg-4 col-md-6 col-sm-12 mb-4",
5927
+ style: {
5928
+ height: 400
5929
+ }
5930
+ }, /*#__PURE__*/React.createElement(ReactPlayer, {
5931
+ url: item.videourl,
5932
+ height: '100%',
5933
+ width: '100%',
5934
+ playing: false,
5935
+ controls: true,
5936
+ loop: true,
5937
+ muted: true
5938
+ }));
5894
5939
  })), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
5895
5940
  "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
5896
5941
  }, /*#__PURE__*/React.createElement(ProductReviews, {
@@ -12768,6 +12813,13 @@ var Filter$1 = function Filter(props) {
12768
12813
  var routingcountext = props.actions.routingcountext;
12769
12814
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
12770
12815
  var ikimagecredcontext = props.actions.ikimagecredcontext;
12816
+ var _useState = useState({
12817
+ min: 0,
12818
+ max: 10000
12819
+ }),
12820
+ _useState2 = _slicedToArray(_useState, 2),
12821
+ pricevalue = _useState2[0],
12822
+ setpricevalue = _useState2[1];
12771
12823
  var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
12772
12824
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
12773
12825
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
@@ -12775,40 +12827,40 @@ var Filter$1 = function Filter(props) {
12775
12827
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
12776
12828
  var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
12777
12829
  var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
12778
- var _useState = useState(''),
12779
- _useState2 = _slicedToArray(_useState, 2),
12780
- sectionproperties = _useState2[0],
12781
- setsectionproperties = _useState2[1];
12782
- var _useState3 = useState(_toConsumableArray(authdetailsContext.instinfo.instfilters)),
12830
+ var _useState3 = useState(''),
12783
12831
  _useState4 = _slicedToArray(_useState3, 2),
12784
- instfilters = _useState4[0],
12785
- setinstfilters = _useState4[1];
12786
- var _useState5 = useState([]),
12832
+ sectionproperties = _useState4[0],
12833
+ setsectionproperties = _useState4[1];
12834
+ var _useState5 = useState(_toConsumableArray(authdetailsContext.instinfo.instfilters)),
12787
12835
  _useState6 = _slicedToArray(_useState5, 2),
12788
- collectionstobevisible = _useState6[0],
12789
- setcollectionstobevisible = _useState6[1];
12790
- var _useState7 = useState(_toConsumableArray(authdetailsContext.instinfo.instcollections)),
12836
+ instfilters = _useState6[0],
12837
+ setinstfilters = _useState6[1];
12838
+ var _useState7 = useState([]),
12791
12839
  _useState8 = _slicedToArray(_useState7, 2),
12792
- instcollections = _useState8[0],
12793
- setinstcollections = _useState8[1];
12794
- var _useState9 = useState(_toConsumableArray(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories)),
12840
+ collectionstobevisible = _useState8[0],
12841
+ setcollectionstobevisible = _useState8[1];
12842
+ var _useState9 = useState(_toConsumableArray(authdetailsContext.instinfo.instcollections)),
12795
12843
  _useState10 = _slicedToArray(_useState9, 2),
12796
- instcategories = _useState10[0],
12797
- setinstcategories = _useState10[1];
12844
+ instcollections = _useState10[0],
12845
+ setinstcollections = _useState10[1];
12846
+ var _useState11 = useState(_toConsumableArray(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories)),
12847
+ _useState12 = _slicedToArray(_useState11, 2),
12848
+ instcategories = _useState12[0],
12849
+ setinstcategories = _useState12[1];
12798
12850
  // const [sortby, setSortby] = useState('Sort by');
12799
- var _useState11 = useState({
12851
+ var _useState13 = useState({
12800
12852
  min: 0,
12801
12853
  max: 5
12802
12854
  }),
12803
- _useState12 = _slicedToArray(_useState11, 2),
12804
- raterangevalue = _useState12[0],
12805
- setraterangevalue = _useState12[1];
12855
+ _useState14 = _slicedToArray(_useState13, 2),
12856
+ raterangevalue = _useState14[0],
12857
+ setraterangevalue = _useState14[1];
12806
12858
  var timeoutRef = React.useRef(null);
12807
- var _useState13 = useState(''),
12808
- _useState14 = _slicedToArray(_useState13, 2);
12809
- _useState14[0];
12810
- var setsortbycontext = _useState14[1];
12811
- var _useState15 = useState([{
12859
+ var _useState15 = useState(''),
12860
+ _useState16 = _slicedToArray(_useState15, 2);
12861
+ _useState16[0];
12862
+ var setsortbycontext = _useState16[1];
12863
+ var _useState17 = useState([{
12812
12864
  payloadvalue: 'sortprice',
12813
12865
  name: lang.price,
12814
12866
  filterarray: [{
@@ -12833,9 +12885,9 @@ var Filter$1 = function Filter(props) {
12833
12885
  isfilterselected: false
12834
12886
  }]
12835
12887
  }]),
12836
- _useState16 = _slicedToArray(_useState15, 2),
12837
- otherfilters = _useState16[0];
12838
- _useState16[1];
12888
+ _useState18 = _slicedToArray(_useState17, 2),
12889
+ otherfilters = _useState18[0];
12890
+ _useState18[1];
12839
12891
  useEffect(function () {
12840
12892
  filterupdater();
12841
12893
  }, []);
@@ -13283,6 +13335,310 @@ var Filter$1 = function Filter(props) {
13283
13335
  className: "mt-3 mb-3"
13284
13336
  })));
13285
13337
  };
13338
+ var DynamicFilter = function DynamicFilter() {
13339
+ var _ref, _ref3, _ref4, _ref5, _ref6, _ref7;
13340
+ return /*#__PURE__*/React.createElement("div", {
13341
+ "class": "row m-0 w-100"
13342
+ }, /*#__PURE__*/React.createElement("div", {
13343
+ "class": "col-lg-12 p-0 mb-3"
13344
+ }, /*#__PURE__*/React.createElement("div", {
13345
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13346
+ style: (_ref = {
13347
+ color: sectionproperties.filtertitle_color
13348
+ }, _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _defineProperty(_ref, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _ref)
13349
+ }, /*#__PURE__*/React.createElement("div", {
13350
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13351
+ }, /*#__PURE__*/React.createElement("p", {
13352
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13353
+ }, langdetect == 'en' ? 'Car Brand' : 'الماركة'))), /*#__PURE__*/React.createElement("div", {
13354
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13355
+ }, /*#__PURE__*/React.createElement("div", {
13356
+ className: 'col-lg-12 p-0'
13357
+ }, /*#__PURE__*/React.createElement(Select$1, {
13358
+ options: [{
13359
+ name: 'Tesla',
13360
+ value: 'Tesla'
13361
+ }, {
13362
+ name: 'VW',
13363
+ value: 'VW'
13364
+ }, {
13365
+ name: 'Mercedes',
13366
+ value: 'Mercedes'
13367
+ }],
13368
+ getOptionLabel: function getOptionLabel(option) {
13369
+ var crname = '';
13370
+ if (langdetect == 'en') {
13371
+ crname = option.name;
13372
+ } else if (langdetect == 'ar') {
13373
+ if (option.name_ar != null) {
13374
+ crname = option.name_ar;
13375
+ } else {
13376
+ crname = option.name;
13377
+ }
13378
+ }
13379
+ return crname;
13380
+ },
13381
+ getOptionValue: function getOptionValue(option) {
13382
+ return option.id;
13383
+ },
13384
+ value: '',
13385
+ onChange: function onChange(option) {},
13386
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13387
+ isSearchable: true,
13388
+ placeholder: ''
13389
+ })))), /*#__PURE__*/React.createElement("div", {
13390
+ "class": "col-lg-12 p-0 mb-3"
13391
+ }, /*#__PURE__*/React.createElement("div", {
13392
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13393
+ style: _defineProperty({
13394
+ color: sectionproperties.filtertitle_color,
13395
+ fontSize: sectionproperties.filtertitle_fontsize + 'px',
13396
+ fontWeight: sectionproperties.filtertitle_fontweight
13397
+ }, "color", sectionproperties.filtertitle_color)
13398
+ }, /*#__PURE__*/React.createElement("div", {
13399
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13400
+ }, /*#__PURE__*/React.createElement("p", {
13401
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13402
+ }, langdetect == 'en' ? 'Car Model' : 'النوع'))), /*#__PURE__*/React.createElement("div", {
13403
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13404
+ }, /*#__PURE__*/React.createElement("div", {
13405
+ className: 'col-lg-12 p-0'
13406
+ }, /*#__PURE__*/React.createElement(Select$1, {
13407
+ options: [{
13408
+ name: 'ID.4',
13409
+ value: 'ID.4'
13410
+ }, {
13411
+ name: 'ID.6',
13412
+ value: 'ID.6'
13413
+ }],
13414
+ getOptionLabel: function getOptionLabel(option) {
13415
+ var crname = '';
13416
+ if (langdetect == 'en') {
13417
+ crname = option.name;
13418
+ } else if (langdetect == 'ar') {
13419
+ if (option.name_ar != null) {
13420
+ crname = option.name_ar;
13421
+ } else {
13422
+ crname = option.name;
13423
+ }
13424
+ }
13425
+ return crname;
13426
+ },
13427
+ getOptionValue: function getOptionValue(option) {
13428
+ return option.id;
13429
+ },
13430
+ value: '',
13431
+ onChange: function onChange(option) {},
13432
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13433
+ isSearchable: true,
13434
+ placeholder: ''
13435
+ })))), /*#__PURE__*/React.createElement("div", {
13436
+ "class": "col-lg-12 p-0 mb-3"
13437
+ }, /*#__PURE__*/React.createElement("div", {
13438
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13439
+ style: (_ref3 = {
13440
+ color: sectionproperties.filtertitle_color
13441
+ }, _defineProperty(_ref3, "color", sectionproperties.filtertitle_color), _defineProperty(_ref3, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref3, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref3, "color", sectionproperties.filtertitle_color), _ref3)
13442
+ }, /*#__PURE__*/React.createElement("div", {
13443
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13444
+ }, /*#__PURE__*/React.createElement("p", {
13445
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13446
+ }, " ", langdetect == 'en' ? 'Kilometers (From)' : 'كيلومترات (من)'))), /*#__PURE__*/React.createElement("div", {
13447
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13448
+ }, /*#__PURE__*/React.createElement("div", {
13449
+ className: 'col-lg-12 p-0'
13450
+ }, /*#__PURE__*/React.createElement(Select$1, {
13451
+ options: [{
13452
+ name: '10000',
13453
+ value: '10000'
13454
+ }, {
13455
+ name: '20000',
13456
+ value: '20000'
13457
+ }],
13458
+ getOptionLabel: function getOptionLabel(option) {
13459
+ var crname = '';
13460
+ if (langdetect == 'en') {
13461
+ crname = option.name;
13462
+ } else if (langdetect == 'ar') {
13463
+ if (option.name_ar != null) {
13464
+ crname = option.name_ar;
13465
+ } else {
13466
+ crname = option.name;
13467
+ }
13468
+ }
13469
+ return crname;
13470
+ },
13471
+ getOptionValue: function getOptionValue(option) {
13472
+ return option.id;
13473
+ },
13474
+ value: '',
13475
+ onChange: function onChange(option) {},
13476
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13477
+ isSearchable: true,
13478
+ placeholder: ''
13479
+ })))), /*#__PURE__*/React.createElement("div", {
13480
+ "class": "col-lg-12 p-0 mb-3"
13481
+ }, /*#__PURE__*/React.createElement("div", {
13482
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13483
+ style: (_ref4 = {
13484
+ color: sectionproperties.filtertitle_color
13485
+ }, _defineProperty(_ref4, "color", sectionproperties.filtertitle_color), _defineProperty(_ref4, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref4, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref4, "color", sectionproperties.filtertitle_color), _ref4)
13486
+ }, /*#__PURE__*/React.createElement("div", {
13487
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13488
+ }, /*#__PURE__*/React.createElement("p", {
13489
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13490
+ }, langdetect == 'en' ? 'Kilometers (To)' : 'كيلومترات (الى)'))), /*#__PURE__*/React.createElement("div", {
13491
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13492
+ }, /*#__PURE__*/React.createElement("div", {
13493
+ className: 'col-lg-12 p-0'
13494
+ }, /*#__PURE__*/React.createElement(Select$1, {
13495
+ options: [{
13496
+ name: '10000',
13497
+ value: '10000'
13498
+ }, {
13499
+ name: '20000',
13500
+ value: '20000'
13501
+ }],
13502
+ getOptionLabel: function getOptionLabel(option) {
13503
+ var crname = '';
13504
+ if (langdetect == 'en') {
13505
+ crname = option.name;
13506
+ } else if (langdetect == 'ar') {
13507
+ if (option.name_ar != null) {
13508
+ crname = option.name_ar;
13509
+ } else {
13510
+ crname = option.name;
13511
+ }
13512
+ }
13513
+ return crname;
13514
+ },
13515
+ getOptionValue: function getOptionValue(option) {
13516
+ return option.id;
13517
+ },
13518
+ value: '',
13519
+ onChange: function onChange(option) {},
13520
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13521
+ isSearchable: true,
13522
+ placeholder: ''
13523
+ })))), /*#__PURE__*/React.createElement("div", {
13524
+ "class": "col-lg-12 p-0 mb-3"
13525
+ }, /*#__PURE__*/React.createElement("div", {
13526
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13527
+ style: (_ref5 = {
13528
+ color: sectionproperties.filtertitle_color
13529
+ }, _defineProperty(_ref5, "color", sectionproperties.filtertitle_color), _defineProperty(_ref5, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref5, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref5, "color", sectionproperties.filtertitle_color), _ref5)
13530
+ }, /*#__PURE__*/React.createElement("div", {
13531
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13532
+ }, /*#__PURE__*/React.createElement("p", {
13533
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13534
+ }, langdetect == 'en' ? 'Year of built (From)' : 'سنة الصنع (من)'))), /*#__PURE__*/React.createElement("div", {
13535
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13536
+ }, /*#__PURE__*/React.createElement("div", {
13537
+ className: 'col-lg-12 p-0'
13538
+ }, /*#__PURE__*/React.createElement(Select$1, {
13539
+ options: [{
13540
+ name: '2020',
13541
+ value: '2020'
13542
+ }, {
13543
+ name: '2021',
13544
+ value: '2021'
13545
+ }],
13546
+ getOptionLabel: function getOptionLabel(option) {
13547
+ var crname = '';
13548
+ if (langdetect == 'en') {
13549
+ crname = option.name;
13550
+ } else if (langdetect == 'ar') {
13551
+ if (option.name_ar != null) {
13552
+ crname = option.name_ar;
13553
+ } else {
13554
+ crname = option.name;
13555
+ }
13556
+ }
13557
+ return crname;
13558
+ },
13559
+ getOptionValue: function getOptionValue(option) {
13560
+ return option.id;
13561
+ },
13562
+ value: '',
13563
+ onChange: function onChange(option) {},
13564
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13565
+ isSearchable: true,
13566
+ placeholder: ''
13567
+ })))), /*#__PURE__*/React.createElement("div", {
13568
+ "class": "col-lg-12 p-0 mb-3"
13569
+ }, /*#__PURE__*/React.createElement("div", {
13570
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
13571
+ style: (_ref6 = {
13572
+ color: sectionproperties.filtertitle_color
13573
+ }, _defineProperty(_ref6, "color", sectionproperties.filtertitle_color), _defineProperty(_ref6, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref6, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref6, "color", sectionproperties.filtertitle_color), _ref6)
13574
+ }, /*#__PURE__*/React.createElement("div", {
13575
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13576
+ }, /*#__PURE__*/React.createElement("p", {
13577
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13578
+ }, langdetect == 'en' ? 'Year of built (To)' : 'سنة الصنع (الى)'))), /*#__PURE__*/React.createElement("div", {
13579
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13580
+ }, /*#__PURE__*/React.createElement("div", {
13581
+ className: 'col-lg-12 p-0'
13582
+ }, /*#__PURE__*/React.createElement(Select$1, {
13583
+ options: [{
13584
+ name: '2020',
13585
+ value: '2020'
13586
+ }, {
13587
+ name: '2021',
13588
+ value: '2021'
13589
+ }],
13590
+ getOptionLabel: function getOptionLabel(option) {
13591
+ var crname = '';
13592
+ if (langdetect == 'en') {
13593
+ crname = option.name;
13594
+ } else if (langdetect == 'ar') {
13595
+ if (option.name_ar != null) {
13596
+ crname = option.name_ar;
13597
+ } else {
13598
+ crname = option.name;
13599
+ }
13600
+ }
13601
+ return crname;
13602
+ },
13603
+ getOptionValue: function getOptionValue(option) {
13604
+ return option.id;
13605
+ },
13606
+ value: '',
13607
+ onChange: function onChange(option) {},
13608
+ styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
13609
+ isSearchable: true,
13610
+ placeholder: ''
13611
+ })))), /*#__PURE__*/React.createElement("div", {
13612
+ "class": "col-lg-12 p-0 mb-3"
13613
+ }, /*#__PURE__*/React.createElement("div", {
13614
+ className: ' row m-0 p-0 mb-4 pl-md-3 pr-md-3 ',
13615
+ style: (_ref7 = {
13616
+ color: sectionproperties.filtertitle_color
13617
+ }, _defineProperty(_ref7, "color", sectionproperties.filtertitle_color), _defineProperty(_ref7, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref7, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref7, "color", sectionproperties.filtertitle_color), _ref7)
13618
+ }, /*#__PURE__*/React.createElement("div", {
13619
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
13620
+ }, /*#__PURE__*/React.createElement("p", {
13621
+ className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
13622
+ }, langdetect == 'en' ? 'Price' : 'السعر'))), /*#__PURE__*/React.createElement("div", {
13623
+ className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
13624
+ }, /*#__PURE__*/React.createElement("div", {
13625
+ className: 'col-lg-12 p-0 px-md-4',
13626
+ style: {
13627
+ direction: 'ltr'
13628
+ }
13629
+ }, /*#__PURE__*/React.createElement(InputRange, {
13630
+ draggableTrack: true,
13631
+ formatLabel: function formatLabel(value) {
13632
+ return "".concat(value);
13633
+ },
13634
+ maxValue: parseInt(sectionproperties.filterpricemaxvalue),
13635
+ minValue: parseInt(sectionproperties.filterpriceminvalue),
13636
+ value: pricevalue,
13637
+ onChange: function onChange(value) {
13638
+ setpricevalue(_objectSpread$26({}, value));
13639
+ }
13640
+ })))));
13641
+ };
13286
13642
  var InstFilters = function InstFilters() {
13287
13643
  return /*#__PURE__*/React.createElement(Accordion, {
13288
13644
  allowMultipleExpanded: true,
@@ -13602,10 +13958,10 @@ var Filter$1 = function Filter(props) {
13602
13958
  isSearchable: true
13603
13959
  })))));
13604
13960
  };
13605
- var _useState17 = useState(false),
13606
- _useState18 = _slicedToArray(_useState17, 2),
13607
- checked = _useState18[0],
13608
- setChecked = _useState18[1];
13961
+ var _useState19 = useState(false),
13962
+ _useState20 = _slicedToArray(_useState19, 2),
13963
+ checked = _useState20[0],
13964
+ setChecked = _useState20[1];
13609
13965
  // const queryParameters = new URLSearchParams(window.location.search);
13610
13966
  // useEffect(() => {
13611
13967
  // // setsortbycontext('Sort By');
@@ -13936,7 +14292,9 @@ var Filter$1 = function Filter(props) {
13936
14292
  "class": "row m-0 w-100"
13937
14293
  }, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
13938
14294
  "class": "row m-0 w-100"
13939
- }, CollectionsFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))), /*#__PURE__*/React.createElement("div", {
14295
+ }, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
14296
+ "class": "row m-0 w-100"
14297
+ }, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters()))), /*#__PURE__*/React.createElement("div", {
13940
14298
  className: "col-lg-12"
13941
14299
  }, /*#__PURE__*/React.createElement(Offcanvas, {
13942
14300
  show: props === null || props === void 0 ? void 0 : props.openFilterSlider,
@@ -14073,7 +14431,9 @@ var Filter$1 = function Filter(props) {
14073
14431
  "class": "row m-0 w-100"
14074
14432
  }, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
14075
14433
  "class": "row m-0 w-100"
14076
- }, CollectionsFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
14434
+ }, CollectionsFilter()), sectionproperties.showdynamicfilter == 'Show' && /*#__PURE__*/React.createElement("div", {
14435
+ "class": "row m-0 w-100"
14436
+ }, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
14077
14437
  };
14078
14438
 
14079
14439
  function ownKeys$25(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; }
@@ -47686,7 +48046,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47686
48046
  maxWidth: '500px'
47687
48047
  }
47688
48048
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
47689
- "class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
48049
+ "class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
47690
48050
  style: {
47691
48051
  backgroundColor: sectionproperties.reservation_bgcolor,
47692
48052
  borderRadius: sectionproperties.reservation_borderradius + 'px',
@@ -47702,13 +48062,13 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47702
48062
  }, /*#__PURE__*/React.createElement("div", {
47703
48063
  "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
47704
48064
  }, /*#__PURE__*/React.createElement("div", {
47705
- "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
48065
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
47706
48066
  }, /*#__PURE__*/React.createElement("label", {
47707
48067
  className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47708
48068
  style: {
47709
48069
  textAlign: langdetect == 'en' ? 'left' : 'right'
47710
48070
  }
47711
- }, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React.createElement("div", {
48071
+ }, langdetect == 'en' ? 'Car Brand' : 'الماركة'), /*#__PURE__*/React.createElement("div", {
47712
48072
  "class": 'col-lg-12 p-0'
47713
48073
  }, /*#__PURE__*/React.createElement(Select$5, {
47714
48074
  options: [{
@@ -47724,13 +48084,32 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47724
48084
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47725
48085
  placeholder: ''
47726
48086
  }))), /*#__PURE__*/React.createElement("div", {
47727
- "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
48087
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
47728
48088
  }, /*#__PURE__*/React.createElement("label", {
47729
48089
  className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47730
48090
  style: {
47731
48091
  textAlign: langdetect == 'en' ? 'left' : 'right'
47732
48092
  }
47733
- }, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React.createElement("div", {
48093
+ }, langdetect == 'en' ? 'Car Model' : 'النوع'), /*#__PURE__*/React.createElement("div", {
48094
+ "class": 'col-lg-12 p-0'
48095
+ }, /*#__PURE__*/React.createElement(Select$5, {
48096
+ options: [{
48097
+ label: 'ID.4',
48098
+ value: 1
48099
+ }, {
48100
+ label: 'ID.6',
48101
+ value: 0
48102
+ }],
48103
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
48104
+ placeholder: ''
48105
+ }))), /*#__PURE__*/React.createElement("div", {
48106
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
48107
+ }, /*#__PURE__*/React.createElement("label", {
48108
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
48109
+ style: {
48110
+ textAlign: langdetect == 'en' ? 'left' : 'right'
48111
+ }
48112
+ }, langdetect == 'en' ? 'Kilometers (From)' : 'كيلومترات (من)'), /*#__PURE__*/React.createElement("div", {
47734
48113
  "class": 'col-lg-12 p-0'
47735
48114
  }, /*#__PURE__*/React.createElement(Select$5, {
47736
48115
  options: [{
@@ -47746,13 +48125,35 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47746
48125
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47747
48126
  placeholder: ''
47748
48127
  }))), /*#__PURE__*/React.createElement("div", {
47749
- "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
48128
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
47750
48129
  }, /*#__PURE__*/React.createElement("label", {
47751
48130
  className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47752
48131
  style: {
47753
48132
  textAlign: langdetect == 'en' ? 'left' : 'right'
47754
48133
  }
47755
- }, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React.createElement("div", {
48134
+ }, langdetect == 'en' ? 'Kilometers (To)' : 'كيلومترات (الى)'), /*#__PURE__*/React.createElement("div", {
48135
+ "class": 'col-lg-12 p-0'
48136
+ }, /*#__PURE__*/React.createElement(Select$5, {
48137
+ options: [{
48138
+ label: '100000',
48139
+ value: 1
48140
+ }, {
48141
+ label: '50000',
48142
+ value: 0
48143
+ }, {
48144
+ label: '30000',
48145
+ value: 0
48146
+ }],
48147
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
48148
+ placeholder: ''
48149
+ }))), /*#__PURE__*/React.createElement("div", {
48150
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
48151
+ }, /*#__PURE__*/React.createElement("label", {
48152
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
48153
+ style: {
48154
+ textAlign: langdetect == 'en' ? 'left' : 'right'
48155
+ }
48156
+ }, langdetect == 'en' ? 'Year of built (From)' : 'سنة الصنع (من)'), /*#__PURE__*/React.createElement("div", {
47756
48157
  "class": 'col-lg-12 p-0'
47757
48158
  }, /*#__PURE__*/React.createElement(Select$5, {
47758
48159
  options: [{
@@ -47768,7 +48169,29 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47768
48169
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47769
48170
  placeholder: ''
47770
48171
  }))), /*#__PURE__*/React.createElement("div", {
47771
- className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
48172
+ "class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
48173
+ }, /*#__PURE__*/React.createElement("label", {
48174
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
48175
+ style: {
48176
+ textAlign: langdetect == 'en' ? 'left' : 'right'
48177
+ }
48178
+ }, langdetect == 'en' ? 'Year of built (To)' : 'سنة الصنع (الى)'), /*#__PURE__*/React.createElement("div", {
48179
+ "class": 'col-lg-12 p-0'
48180
+ }, /*#__PURE__*/React.createElement(Select$5, {
48181
+ options: [{
48182
+ label: '2023',
48183
+ value: 1
48184
+ }, {
48185
+ label: '2022',
48186
+ value: 0
48187
+ }, {
48188
+ label: '2021',
48189
+ value: 0
48190
+ }],
48191
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
48192
+ placeholder: ''
48193
+ }))), /*#__PURE__*/React.createElement("div", {
48194
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
47772
48195
  }, /*#__PURE__*/React.createElement("label", {
47773
48196
  className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
47774
48197
  style: {
@@ -47791,9 +48214,11 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47791
48214
  setpricevalue(_objectSpread$17({}, value));
47792
48215
  }
47793
48216
  }))), /*#__PURE__*/React.createElement("div", {
47794
- "class": "col-lg-1"
47795
- }), /*#__PURE__*/React.createElement("div", {
47796
- "class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
48217
+ "class": "col-lg-2 col-md-12 text-end",
48218
+ style: {
48219
+ marginLeft: langdetect == 'en' ? 'auto' : '',
48220
+ marginRight: langdetect == 'ar' ? 'auto' : ''
48221
+ }
47797
48222
  }, /*#__PURE__*/React.createElement("button", {
47798
48223
  "class": sectionstyles.btnstyles + ' allcentered ',
47799
48224
  onClick: function onClick() {