tabexseriescomponents 0.2.1185 → 0.2.1188

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -3836,7 +3836,7 @@ React.useEffect(function(){var _fetchProductInfoQuer3;var totalprice='';if(varia
3836
3836
  // setcurrentshowingimageindex(currentshowingimageindex_pro);
3837
3837
  // }
3838
3838
  // }, [currentshowingimageindex_pro]);
3839
- React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer font-sm-15 ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},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||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{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 '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.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||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(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||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{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 '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{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 '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i3;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
3839
+ React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer font-sm-15 ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},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||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{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 '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.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||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(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||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{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 '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{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 '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i3;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
3840
3840
  borderRadius:sectionproperties.quantitybtneditable=='Slider'?0:''}},sectionproperties.quantitybtneditable=='Slider'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 px-3 px-sm-3 pt-3 pinfo-slider"},/*#__PURE__*/React__default["default"].createElement(InputRange__default["default"],{draggableTrack:true,formatLabel:function formatLabel(value){return "".concat(value);},maxValue:fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant,minValue:fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,value:parseInt(addtocardpayloadobj.quantity),step:1,onChange:function onChange(value){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=value;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-4 col-md-12 mt-4 mt-md-5 pt-md-4 col-md-12 mx-auto allcentered"},/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer12,_fetchProductInfoQuer13,_fetchProductInfoQuer14,_fetchProductInfoQuer15;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((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.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer13=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.productinfo)===null||_fetchProductInfoQuer13===void 0?void 0:_fetchProductInfoQuer13.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer14=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.productinfo)===null||_fetchProductInfoQuer14===void 0?void 0:_fetchProductInfoQuer14.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer15=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.productinfo)===null||_fetchProductInfoQuer15===void 0?void 0:_fetchProductInfoQuer15.quantitystepincrearse)!=''){var _fetchProductInfoQuer16;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer16=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.productinfo)===null||_fetchProductInfoQuer16===void 0?void 0:_fetchProductInfoQuer16.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},parseInt(addtocardpayloadobj.quantity)),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer17,_fetchProductInfoQuer18,_fetchProductInfoQuer19,_fetchProductInfoQuer20;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer17=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.productinfo)===null||_fetchProductInfoQuer17===void 0?void 0:_fetchProductInfoQuer17.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer18=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.productinfo)===null||_fetchProductInfoQuer18===void 0?void 0:_fetchProductInfoQuer18.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer19=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.productinfo)===null||_fetchProductInfoQuer19===void 0?void 0:_fetchProductInfoQuer19.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer20=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.productinfo)===null||_fetchProductInfoQuer20===void 0?void 0:_fetchProductInfoQuer20.quantitystepincrearse)!=''){var _fetchProductInfoQuer21;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer21=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.productinfo)===null||_fetchProductInfoQuer21===void 0?void 0:_fetchProductInfoQuer21.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-5 pt-1 my-3"},TotalSection())),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer22,_fetchProductInfoQuer23,_fetchProductInfoQuer24,_fetchProductInfoQuer25;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer22=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.productinfo)===null||_fetchProductInfoQuer22===void 0?void 0:_fetchProductInfoQuer22.quantitystepincrearse)!=undefined&&(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.quantitystepincrearse)!=null&&(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.quantitystepincrearse)!=1&&(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.quantitystepincrearse)!=''){var _fetchProductInfoQuer26;quantitystepincrearse=parseFloat(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.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.contactinfo.instid)=='66d6de1a1e04a'?parseFloat(addtocardpayloadobj.quantity).toFixed(3):parseInt(addtocardpayloadobj.quantity)),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer27,_fetchProductInfoQuer28,_fetchProductInfoQuer29,_fetchProductInfoQuer30;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((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.quantitystepincrearse)!=undefined&&(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.quantitystepincrearse)!=null&&(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.quantitystepincrearse)!=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.quantitystepincrearse)!=''){var _fetchProductInfoQuer31;quantitystepincrearse=parseFloat(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.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='Yes'&&/*#__PURE__*/React__default["default"].createElement("input",{type:"number",style:{width:100,height:40,background:sectionproperties.quantitybtn_bgcolor,fontWeight:sectionproperties.quantitybtn_textfontweight,color:sectionproperties.quantitybtn_textcolor,fontSize:sectionproperties.quantitybtn_textfontsize+'px',textAlign:'center'},value:addtocardpayloadobj.quantity,onChange:function onChange(event){if(event.target.value==NaN||event.target.value==undefined||event.target.value==null||event.target.value==''){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=1;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}else {var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=parseInt(event.target.value);setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}}}));};var ProductFeaturesArray=function ProductFeaturesArray(){var _fetchProductInfoQuer32;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},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.productfeatures)===null||_fetchProductInfoQuer32===void 0?void 0:_fetchProductInfoQuer32.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.featureimagewidthheight+'px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}));};return/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.productInformationType=='Portfolio'?' row m-0 w-100 p-0 ':sectionproperties.card_marginLeft!=0?' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ':' row m-0 w-100 p-sm-0 ',style:{// paddingLeft: sectionproperties.productInformationType == 'Portfolio' ? 0 : srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? 10 : 10) : 0,
3841
3841
  // paddingRight:
3842
3842
  // sectionproperties.productInformationType == 'Portfolio'
@@ -3868,7 +3868,8 @@ backgroundPosition:backgroundPosition,borderRadius:'8px',transition:'background-
3868
3868
  // : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
3869
3869
  // }
3870
3870
  },/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productfeatures)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productfeatures)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
3871
- color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer51;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.vendorinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i9=authdetailsContext.instinfo)===null||_authdetailsContext$i9===void 0?void 0:_authdetailsContext$i9.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i0=authdetailsContext.instinfo)===null||_authdetailsContext$i0===void 0?void 0:_authdetailsContext$i0.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i1=authdetailsContext.instinfo)===null||_authdetailsContext$i1===void 0?void 0:_authdetailsContext$i1.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.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'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&&sectionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer65;window.open('tel:'+((_fetchProductInfoQuer65=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer66=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3871
+ color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer51;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.vendorinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i9=authdetailsContext.instinfo)===null||_authdetailsContext$i9===void 0?void 0:_authdetailsContext$i9.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i0=authdetailsContext.instinfo)===null||_authdetailsContext$i0===void 0?void 0:_authdetailsContext$i0.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i1=authdetailsContext.instinfo)===null||_authdetailsContext$i1===void 0?void 0:_authdetailsContext$i1.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.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'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
3872
+ }},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer65;window.open('tel:'+((_fetchProductInfoQuer65=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer66=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3872
3873
  var key='comparedProducts';// Get current list from localStorage
3873
3874
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
3874
3875
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
@@ -13820,7 +13821,7 @@ styleInject(css_248z$G);
13820
13821
  function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13821
13822
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13822
13823
  var Checkout = function Checkout(props) {
13823
- var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue73, _authdetailsContext$i10, _fetchcustomercartQue74, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue75, _authdetailsContext$i16, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _fetchcustomercartQue85, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _fetchcustomercartQue87, _authdetailsContext$i32, _fetchcustomercartQue89, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _fetchcustomercartQue91, _authdetailsContext$i36, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i37, _fetchcustomercartQue97, _authdetailsContext$i38, _fetchcustomercartQue99, _authdetailsContext$i39, _fetchcustomercartQue101, _authdetailsContext$i40, _fetchcustomercartQue103, _authdetailsContext$i41, _fetchcustomercartQue105, _authdetailsContext$i42, _fetchcustomercartQue107, _authdetailsContext$i43, _fetchcustomercartQue109, _authdetailsContext$i44, _fetchcustomercartQue111, _fetchcustomercartQue112;
13824
+ var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _fetchcustomercartQue85, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _fetchcustomercartQue87, _authdetailsContext$i35, _fetchcustomercartQue89, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue91, _authdetailsContext$i39, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i40, _fetchcustomercartQue97, _authdetailsContext$i41, _fetchcustomercartQue99, _authdetailsContext$i42, _fetchcustomercartQue101, _authdetailsContext$i43, _fetchcustomercartQue103, _authdetailsContext$i44, _fetchcustomercartQue105, _authdetailsContext$i45, _fetchcustomercartQue107, _authdetailsContext$i46, _fetchcustomercartQue109, _authdetailsContext$i47, _fetchcustomercartQue111, _fetchcustomercartQue112;
13824
13825
  var _useState = React.useState(null),
13825
13826
  _useState2 = _slicedToArray__default["default"](_useState, 2);
13826
13827
  _useState2[0];
@@ -13829,6 +13830,10 @@ var Checkout = function Checkout(props) {
13829
13830
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
13830
13831
  showpopup = _useState4[0],
13831
13832
  setshowpopup = _useState4[1];
13833
+ var _useState5 = React.useState(false),
13834
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
13835
+ checkboxisChecked = _useState6[0],
13836
+ setcheckboxisChecked = _useState6[1];
13832
13837
  var langdetect = props.actions.langdetect;
13833
13838
  var lang = props.actions.lang;
13834
13839
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
@@ -13851,42 +13856,42 @@ var Checkout = function Checkout(props) {
13851
13856
  var authdetailsContext = props.actions.authdetailsContext;
13852
13857
  var NotificationManager = props.actions.NotificationManager;
13853
13858
  var queryClient = props.actions.queryClient;
13854
- var _useState5 = React.useState(''),
13855
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
13856
- sectionproperties = _useState6[0],
13857
- setsectionproperties = _useState6[1];
13858
13859
  var _useState7 = React.useState(''),
13859
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
13860
- _useState8[0];
13861
- var setCurrentPageId = _useState8[1];
13862
- var _useState9 = React.useState(0),
13863
- _useState0 = _slicedToArray__default["default"](_useState9, 2),
13864
- insthasaffiliate = _useState0[0],
13865
- setinsthasaffiliate = _useState0[1];
13866
- var _useState1 = React.useState(false),
13867
- _useState10 = _slicedToArray__default["default"](_useState1, 2);
13868
- _useState10[0];
13869
- _useState10[1];
13860
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
13861
+ sectionproperties = _useState8[0],
13862
+ setsectionproperties = _useState8[1];
13863
+ var _useState9 = React.useState(''),
13864
+ _useState0 = _slicedToArray__default["default"](_useState9, 2);
13865
+ _useState0[0];
13866
+ var setCurrentPageId = _useState0[1];
13867
+ var _useState1 = React.useState(0),
13868
+ _useState10 = _slicedToArray__default["default"](_useState1, 2),
13869
+ insthasaffiliate = _useState10[0],
13870
+ setinsthasaffiliate = _useState10[1];
13870
13871
  var _useState11 = React.useState(false),
13871
13872
  _useState12 = _slicedToArray__default["default"](_useState11, 2);
13872
13873
  _useState12[0];
13873
13874
  _useState12[1];
13874
- var _useState13 = React.useState([]),
13875
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
13876
- shippingmethods = _useState14[0],
13877
- setshippingmethods = _useState14[1];
13875
+ var _useState13 = React.useState(false),
13876
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
13877
+ _useState14[0];
13878
+ _useState14[1];
13878
13879
  var _useState15 = React.useState([]),
13879
13880
  _useState16 = _slicedToArray__default["default"](_useState15, 2),
13880
- orderextrafeilds = _useState16[0],
13881
- setorderextrafeilds = _useState16[1];
13882
- var _useState17 = React.useState(false),
13881
+ shippingmethods = _useState16[0],
13882
+ setshippingmethods = _useState16[1];
13883
+ var _useState17 = React.useState([]),
13883
13884
  _useState18 = _slicedToArray__default["default"](_useState17, 2),
13884
- instapaychosen = _useState18[0],
13885
- setinstapaychosen = _useState18[1];
13885
+ orderextrafeilds = _useState18[0],
13886
+ setorderextrafeilds = _useState18[1];
13886
13887
  var _useState19 = React.useState(false),
13887
13888
  _useState20 = _slicedToArray__default["default"](_useState19, 2),
13888
- cashchosen = _useState20[0],
13889
- setcashchosen = _useState20[1];
13889
+ instapaychosen = _useState20[0],
13890
+ setinstapaychosen = _useState20[1];
13891
+ var _useState21 = React.useState(false),
13892
+ _useState22 = _slicedToArray__default["default"](_useState21, 2),
13893
+ cashchosen = _useState22[0],
13894
+ setcashchosen = _useState22[1];
13890
13895
  React.useEffect(function () {
13891
13896
  var _templatepropcontext$;
13892
13897
  var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
@@ -14428,7 +14433,7 @@ var Checkout = function Checkout(props) {
14428
14433
  return isloading;
14429
14434
  };
14430
14435
  var Mycart = function Mycart() {
14431
- var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i6, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i7, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i8, _fetchcustomercartQue70, _authdetailsContext$i9, _fetchcustomercartQue71;
14436
+ var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i6, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i7, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i1, _fetchcustomercartQue70, _authdetailsContext$i10, _fetchcustomercartQue71;
14432
14437
  return /*#__PURE__*/React__default["default"].createElement("div", {
14433
14438
  className: "row m-0 w-100 mb-md-3"
14434
14439
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -14787,7 +14792,14 @@ var Checkout = function Checkout(props) {
14787
14792
  background: '#eee',
14788
14793
  borderRadius: 10
14789
14794
  }
14790
- }, /*#__PURE__*/React__default["default"].createElement("p", {
14795
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
14796
+ type: "checkbox",
14797
+ className: "me-2 mt-1",
14798
+ checked: checkboxisChecked,
14799
+ onChange: function onChange(e) {
14800
+ return setcheckboxisChecked(e.target.checked);
14801
+ }
14802
+ }), ' ', /*#__PURE__*/React__default["default"].createElement("p", {
14791
14803
  "class": "m-0 p-0",
14792
14804
  style: {
14793
14805
  color: sectionproperties.slideshowText1ContentColor,
@@ -14802,21 +14814,26 @@ var Checkout = function Checkout(props) {
14802
14814
  style: {
14803
14815
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
14804
14816
  }
14805
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14817
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14806
14818
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
14807
14819
  onClick: function onClick() {
14820
+ var _authdetailsContext$i0;
14821
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '66b4a0338cb14') {
14822
+ if (!checkboxisChecked) return;
14823
+ }
14808
14824
  if (sectionproperties.showpaymentfooter == 'Hide') {
14809
14825
  cartinfoupdater('paymentmethod', 'cod');
14810
14826
  }
14811
14827
  addorderfuncrunner();
14812
14828
  },
14813
- disabled: ischeckoutbuttonloading() == true ? true : false
14829
+ disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
14830
+ // disabled={}
14814
14831
  }, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
14815
14832
  color: "#fff",
14816
14833
  width: "20px",
14817
14834
  height: "20px",
14818
14835
  duration: "1s"
14819
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14836
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14820
14837
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
14821
14838
  onClick: function onClick() {
14822
14839
  if (sectionproperties.showpaymentfooter == 'Hide') {
@@ -14933,7 +14950,7 @@ var Checkout = function Checkout(props) {
14933
14950
  }
14934
14951
  }, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
14935
14952
  className: "m-0 p-0 wordbreak"
14936
- }, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
14953
+ }, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
14937
14954
  className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
14938
14955
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14939
14956
  className: "m-0 p-0 d-flex align-items-center"
@@ -14997,7 +15014,7 @@ var Checkout = function Checkout(props) {
14997
15014
  })), /*#__PURE__*/React__default["default"].createElement("div", {
14998
15015
  className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
14999
15016
  }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
15000
- className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
15017
+ className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
15001
15018
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15002
15019
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15003
15020
  }, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
@@ -15017,7 +15034,7 @@ var Checkout = function Checkout(props) {
15017
15034
  boxShadow: 'none'
15018
15035
  }
15019
15036
  })), /*#__PURE__*/React__default["default"].createElement("div", {
15020
- className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
15037
+ className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
15021
15038
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15022
15039
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15023
15040
  }, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
@@ -15041,16 +15058,16 @@ var Checkout = function Checkout(props) {
15041
15058
  })), /*#__PURE__*/React__default["default"].createElement("div", {
15042
15059
  className: "col-lg-4 col-md-12 mb-3 flex-column",
15043
15060
  style: {
15044
- display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
15061
+ display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
15045
15062
  }
15046
15063
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15047
15064
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15048
- }, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15065
+ }, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15049
15066
  "class": "mx-2",
15050
15067
  style: {
15051
15068
  color: 'var(--danger)'
15052
15069
  }
15053
- }, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
15070
+ }, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
15054
15071
  "class": "mx-2",
15055
15072
  style: {
15056
15073
  fontSize: 13
@@ -15128,7 +15145,7 @@ var Checkout = function Checkout(props) {
15128
15145
  className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
15129
15146
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15130
15147
  className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
15131
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15148
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15132
15149
  "class": "mx-2",
15133
15150
  style: {
15134
15151
  color: 'var(--danger)'
@@ -15336,7 +15353,7 @@ var Checkout = function Checkout(props) {
15336
15353
  // events mart
15337
15354
 
15338
15355
  if (item.title_en == 'Event Date') {
15339
- var _authdetailsContext$i19, _authdetailsContext$i20;
15356
+ var _authdetailsContext$i22, _authdetailsContext$i23;
15340
15357
  return /*#__PURE__*/React__default["default"].createElement("div", {
15341
15358
  className: "col-lg-6 col-md-12 mb-3"
15342
15359
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15365,12 +15382,12 @@ var Checkout = function Checkout(props) {
15365
15382
  // }}
15366
15383
  ,
15367
15384
  onChange: function onChange(event) {
15368
- var _authdetailsContext$i17;
15369
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
15385
+ var _authdetailsContext$i20;
15386
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.contactinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) == '66b4a0338cb14') {
15370
15387
  var selectedDate = event.target.value;
15371
15388
  if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15372
- var _authdetailsContext$i18;
15373
- var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15389
+ var _authdetailsContext$i21;
15390
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15374
15391
  if (minDate && selectedDate < minDate) {
15375
15392
  // alert(`Please select a date on or after ${minDate}`);
15376
15393
  return;
@@ -15388,11 +15405,11 @@ var Checkout = function Checkout(props) {
15388
15405
  style: {
15389
15406
  boxShadow: 'none'
15390
15407
  },
15391
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15392
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15408
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15409
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15393
15410
  }));
15394
15411
  } else {
15395
- var _authdetailsContext$i23, _authdetailsContext$i24;
15412
+ var _authdetailsContext$i26, _authdetailsContext$i27;
15396
15413
  return /*#__PURE__*/React__default["default"].createElement("div", {
15397
15414
  className: "col-lg-6 col-md-12 mb-3"
15398
15415
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15413,12 +15430,12 @@ var Checkout = function Checkout(props) {
15413
15430
  // }}
15414
15431
  ,
15415
15432
  onChange: function onChange(event) {
15416
- var _authdetailsContext$i21;
15417
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '66b4a0338cb14') {
15433
+ var _authdetailsContext$i24;
15434
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
15418
15435
  var selectedDate = event.target.value;
15419
15436
  if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15420
- var _authdetailsContext$i22;
15421
- var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15437
+ var _authdetailsContext$i25;
15438
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15422
15439
  if (minDate && selectedDate < minDate) {
15423
15440
  // alert(`Please select a date on or after ${minDate}`);
15424
15441
  return;
@@ -15436,8 +15453,8 @@ var Checkout = function Checkout(props) {
15436
15453
  style: {
15437
15454
  boxShadow: 'none'
15438
15455
  },
15439
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15440
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15456
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15457
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15441
15458
  }));
15442
15459
  }
15443
15460
  }
@@ -15478,12 +15495,7 @@ var Checkout = function Checkout(props) {
15478
15495
  style: {
15479
15496
  color: 'var(--danger)'
15480
15497
  }
15481
- }, "*")), /*#__PURE__*/React__default["default"].createElement("span", {
15482
- style: {
15483
- fontSize: 13,
15484
- fontWeight: 300
15485
- }
15486
- }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React__default["default"].createElement("input", {
15498
+ }, "*"))), /*#__PURE__*/React__default["default"].createElement("input", {
15487
15499
  type: 'text',
15488
15500
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15489
15501
  value: item.value,
@@ -15596,15 +15608,15 @@ var Checkout = function Checkout(props) {
15596
15608
  })), /*#__PURE__*/React__default["default"].createElement("div", {
15597
15609
  className: "row m-0 w-100 mb-3 pl-3 pr-3"
15598
15610
  }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15599
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15611
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15600
15612
  style: {
15601
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15613
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15602
15614
  borderRadius: 15
15603
15615
  }
15604
15616
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15605
15617
  "class": "row m-0 w-100 d-flex align-items-center"
15606
15618
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15607
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15619
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15608
15620
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15609
15621
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15610
15622
  "for": "codcheckbox"
@@ -15631,21 +15643,21 @@ var Checkout = function Checkout(props) {
15631
15643
  style: {
15632
15644
  color: sectionproperties.checkbox_color
15633
15645
  }
15634
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15646
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15635
15647
  "class": "col-3 text-end p-0"
15636
15648
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15637
15649
  src: 'https://tabex-co.com/storage/StaticImages/cod.png',
15638
15650
  "class": checkoutstyles.codimage + ' mx-2 '
15639
15651
  })))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15640
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15652
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15641
15653
  style: {
15642
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15654
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15643
15655
  borderRadius: 15
15644
15656
  }
15645
15657
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15646
15658
  "class": "row m-0 w-100 d-flex align-items-center"
15647
15659
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15648
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15660
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15649
15661
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15650
15662
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15651
15663
  "for": "codcheckbox"
@@ -15672,7 +15684,7 @@ var Checkout = function Checkout(props) {
15672
15684
  style: {
15673
15685
  color: sectionproperties.checkbox_color
15674
15686
  }
15675
- }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15687
+ }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15676
15688
  "class": "col-3 text-end p-0"
15677
15689
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15678
15690
  src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
@@ -15704,15 +15716,15 @@ var Checkout = function Checkout(props) {
15704
15716
  /*#__PURE__*/
15705
15717
  // <div className=""
15706
15718
  React__default["default"].createElement("div", {
15707
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15719
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15708
15720
  style: {
15709
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15721
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15710
15722
  borderRadius: 15
15711
15723
  }
15712
15724
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15713
15725
  "class": "row m-0 w-100 d-flex align-items-center"
15714
15726
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15715
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15727
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15716
15728
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15717
15729
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
15718
15730
  }, /*#__PURE__*/React__default["default"].createElement("input", {
@@ -15734,7 +15746,7 @@ var Checkout = function Checkout(props) {
15734
15746
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15735
15747
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15736
15748
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15737
- }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15749
+ }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15738
15750
  "class": "col-3 text-end p-0"
15739
15751
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15740
15752
  src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
@@ -15783,7 +15795,7 @@ var Checkout = function Checkout(props) {
15783
15795
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15784
15796
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15785
15797
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15786
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15798
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15787
15799
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15788
15800
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15789
15801
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15805,7 +15817,7 @@ var Checkout = function Checkout(props) {
15805
15817
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15806
15818
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15807
15819
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15808
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15820
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15809
15821
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15810
15822
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15811
15823
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15827,7 +15839,7 @@ var Checkout = function Checkout(props) {
15827
15839
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15828
15840
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15829
15841
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15830
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15842
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15831
15843
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15832
15844
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15833
15845
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15849,7 +15861,7 @@ var Checkout = function Checkout(props) {
15849
15861
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15850
15862
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15851
15863
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
15852
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15864
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15853
15865
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15854
15866
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15855
15867
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15871,7 +15883,7 @@ var Checkout = function Checkout(props) {
15871
15883
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15872
15884
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15873
15885
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15874
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15886
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15875
15887
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15876
15888
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15877
15889
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15893,7 +15905,7 @@ var Checkout = function Checkout(props) {
15893
15905
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15894
15906
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15895
15907
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15896
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15908
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15897
15909
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15898
15910
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15899
15911
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15915,7 +15927,7 @@ var Checkout = function Checkout(props) {
15915
15927
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15916
15928
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15917
15929
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15918
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15930
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15919
15931
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15920
15932
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15921
15933
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15947,7 +15959,7 @@ var Checkout = function Checkout(props) {
15947
15959
  dangerouslySetInnerHTML: {
15948
15960
  __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
15949
15961
  }
15950
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
15962
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
15951
15963
  "class": "col-12 px-3 px-md-2 my-3"
15952
15964
  }, /*#__PURE__*/React__default["default"].createElement("p", {
15953
15965
  "class": ' pb-0 pl-md-2 pr-md-2 ',