tabexseriescomponents 0.2.1052 → 0.2.1053
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 +197 -40
- package/dist/index.esm.js +197 -40
- package/dist/index.umd.js +197 -40
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2757,7 +2757,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
2757
2757
|
}
|
|
2758
2758
|
});
|
|
2759
2759
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2760
|
-
className: 'col-
|
|
2760
|
+
className: 'col-md-12 col-sm-12 mb-4 p-sm-0 col-lg-' + sectionproperties.numberofcolsperrow
|
|
2761
2761
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2762
2762
|
"class": "row m-0 w-100"
|
|
2763
2763
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3642,8 +3642,8 @@ backgroundPosition:backgroundPosition,borderRadius:'8px',transition:'background-
|
|
|
3642
3642
|
// : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
|
|
3643
3643
|
// : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
|
|
3644
3644
|
// }
|
|
3645
|
-
},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&§ionproperties.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||(_fetchProductInfoQuer30=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.productinfo)===null||_fetchProductInfoQuer30===void 0?void 0:_fetchProductInfoQuer30.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'&§ionproperties.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||(_fetchProductInfoQuer31=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.productinfo)===null||_fetchProductInfoQuer31===void 0?void 0:_fetchProductInfoQuer31.productcanrate)==1&§ionproperties.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||(_fetchProductInfoQuer32=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productinfo)===null||_fetchProductInfoQuer32===void 0?void 0:_fetchProductInfoQuer32.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'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer33=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer33===void 0||(_fetchProductInfoQuer33=_fetchProductInfoQuer33.data)===null||_fetchProductInfoQuer33===void 0||(_fetchProductInfoQuer33=_fetchProductInfoQuer33.productinfo)===null||_fetchProductInfoQuer33===void 0?void 0:_fetchProductInfoQuer33.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'&§ionproperties.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'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer34=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.data)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.productinfo)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.productfeatures)===null||_fetchProductInfoQuer34===void 0?void 0:_fetchProductInfoQuer34.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'&§ionproperties.descriptionstyle=='Style 1'&&/*#__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||(_fetchProductInfoQuer35=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer35===void 0||(_fetchProductInfoQuer35=_fetchProductInfoQuer35.data)===null||_fetchProductInfoQuer35===void 0||(_fetchProductInfoQuer35=_fetchProductInfoQuer35.productinfo)===null||_fetchProductInfoQuer35===void 0?void 0:_fetchProductInfoQuer35.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer36=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer36===void 0||(_fetchProductInfoQuer36=_fetchProductInfoQuer36.data)===null||_fetchProductInfoQuer36===void 0||(_fetchProductInfoQuer36=_fetchProductInfoQuer36.productinfo)===null||_fetchProductInfoQuer36===void 0?void 0:_fetchProductInfoQuer36.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&§ionproperties.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||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productfeatures)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3646
|
-
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||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(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.short_description_en)!=null&§ionproperties.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||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.short_description_en}}))),langdetect=='ar'&&(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?void 0:_fetchProductInfoQuer41.short_description_ar)!=null&§ionproperties.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||(_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_ar}}))),(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.vendorinfo)!=null&§ionproperties.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 _fetchProductInfoQuer44;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[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.vendorinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i8=authdetailsContext.instinfo)===null||_authdetailsContext$i8===void 0?void 0:_authdetailsContext$i8.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i9=authdetailsContext.instinfo)===null||_authdetailsContext$i9===void 0?void 0:_authdetailsContext$i9.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i0=authdetailsContext.instinfo)===null||_authdetailsContext$i0===void 0?void 0:_authdetailsContext$i0.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$i1=authdetailsContext.instinfo)===null||_authdetailsContext$i1===void 0?void 0:_authdetailsContext$i1.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},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||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.vendorinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(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.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||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.currentquantity)<1&§ionproperties.showoutofstock=='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.quantavailtype)=='limit'&&(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.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||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.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||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(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?void 0:_fetchProductInfoQuer52.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.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}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.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'&§ionproperties.featuresposition=='Under Description'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.isproducttobesold)==1&&(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.isproducthasquantitychange)==1&§ionproperties.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||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.isproducttobesold)==1&&(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.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='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.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 _fetchProductInfoQuer58;window.open('tel:'+((_fetchProductInfoQuer58=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.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||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.productactionbuttontext_en: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.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'&§ionproperties.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&§ionproperties.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&§ionproperties.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))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(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.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__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:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer62;window.open('tel:'+((_fetchProductInfoQuer62=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.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||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.productactionbuttontext_en: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.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=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',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}))))),fetchProductInfoQueryContext.data.data.productinfo.measurmentunit=='pdf'&&/*#__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(){}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download PDF':'تحميل ال PDF'))),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__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+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__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.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),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.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},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||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.productfeatures)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.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.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(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.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},ShortDescriptionTitle()),/*#__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 pl-3 pr-3 mt-3"},/*#__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||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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.policiestitleen:sectionproperties.policiestitlear)),/*#__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"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__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 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2C(_objectSpread$2C({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3645
|
+
},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&§ionproperties.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||(_fetchProductInfoQuer30=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.productinfo)===null||_fetchProductInfoQuer30===void 0?void 0:_fetchProductInfoQuer30.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'&§ionproperties.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||(_fetchProductInfoQuer31=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.productinfo)===null||_fetchProductInfoQuer31===void 0?void 0:_fetchProductInfoQuer31.productcanrate)==1&§ionproperties.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||(_fetchProductInfoQuer32=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productinfo)===null||_fetchProductInfoQuer32===void 0?void 0:_fetchProductInfoQuer32.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'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer33=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer33===void 0||(_fetchProductInfoQuer33=_fetchProductInfoQuer33.data)===null||_fetchProductInfoQuer33===void 0||(_fetchProductInfoQuer33=_fetchProductInfoQuer33.productinfo)===null||_fetchProductInfoQuer33===void 0?void 0:_fetchProductInfoQuer33.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'&§ionproperties.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'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer34=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.data)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.productinfo)===null||_fetchProductInfoQuer34===void 0||(_fetchProductInfoQuer34=_fetchProductInfoQuer34.productfeatures)===null||_fetchProductInfoQuer34===void 0?void 0:_fetchProductInfoQuer34.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'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.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||(_fetchProductInfoQuer35=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer35===void 0||(_fetchProductInfoQuer35=_fetchProductInfoQuer35.data)===null||_fetchProductInfoQuer35===void 0||(_fetchProductInfoQuer35=_fetchProductInfoQuer35.productinfo)===null||_fetchProductInfoQuer35===void 0?void 0:_fetchProductInfoQuer35.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer36=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer36===void 0||(_fetchProductInfoQuer36=_fetchProductInfoQuer36.data)===null||_fetchProductInfoQuer36===void 0||(_fetchProductInfoQuer36=_fetchProductInfoQuer36.productinfo)===null||_fetchProductInfoQuer36===void 0?void 0:_fetchProductInfoQuer36.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&§ionproperties.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||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productfeatures)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3646
|
+
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||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(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.short_description_en)!=null&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.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||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(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?void 0:_fetchProductInfoQuer41.short_description_ar)!=null&§ionproperties.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||(_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_ar}}))),(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.vendorinfo)!=null&§ionproperties.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 _fetchProductInfoQuer44;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[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.vendorinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i8=authdetailsContext.instinfo)===null||_authdetailsContext$i8===void 0?void 0:_authdetailsContext$i8.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i9=authdetailsContext.instinfo)===null||_authdetailsContext$i9===void 0?void 0:_authdetailsContext$i9.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i0=authdetailsContext.instinfo)===null||_authdetailsContext$i0===void 0?void 0:_authdetailsContext$i0.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$i1=authdetailsContext.instinfo)===null||_authdetailsContext$i1===void 0?void 0:_authdetailsContext$i1.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},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||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.vendorinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(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.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||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.currentquantity)<1&§ionproperties.showoutofstock=='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.quantavailtype)=='limit'&&(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.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||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.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||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(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?void 0:_fetchProductInfoQuer52.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.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}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.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'&§ionproperties.featuresposition=='Under Description'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.isproducttobesold)==1&&(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.isproducthasquantitychange)==1&§ionproperties.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||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.isproducttobesold)==1&&(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.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='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.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 _fetchProductInfoQuer58;window.open('tel:'+((_fetchProductInfoQuer58=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.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||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.productactionbuttontext_en: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.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'&§ionproperties.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&§ionproperties.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&§ionproperties.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))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(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.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__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:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer62;window.open('tel:'+((_fetchProductInfoQuer62=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.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||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.productactionbuttontext_en: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.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=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',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}))))),fetchProductInfoQueryContext.data.data.productinfo.measurmentunit=='pdf'&&/*#__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(){}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download PDF':'تحميل ال PDF'))),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__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+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__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.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),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.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},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||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.productfeatures)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.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.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(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.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},ShortDescriptionTitle()),/*#__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 pl-3 pr-3 mt-3"},/*#__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||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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.policiestitleen:sectionproperties.policiestitlear)),/*#__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"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__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 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2C(_objectSpread$2C({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3647
3647
|
// srcfromprops={'collapsepinfo'}
|
|
3648
3648
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__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"},/*#__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",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__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||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productfeatures)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3649
3649
|
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));}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-6 col-md-12 mt-5"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:'#000000'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-6 col-md-12 mt-5"},productVideos.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{className:"w-100",style:{height:400}},/*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"],{url:productVideos[0].videourl,height:'100%',width:'100%',playing:false,controls:true,loop:true,muted:true})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)=='68c27b4570751'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__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||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productfeatures)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
@@ -3652,8 +3652,8 @@ color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontwei
|
|
|
3652
3652
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(1,2)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
|
|
3653
3653
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(2,3)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
|
|
3654
3654
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(3,4)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
|
|
3655
|
-
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},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||(_fetchProductInfoQuer85=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productinfo)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.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'&§ionproperties.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||(_fetchProductInfoQuer86=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.productinfo)===null||_fetchProductInfoQuer86===void 0?void 0:_fetchProductInfoQuer86.productcanrate)==1&§ionproperties.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||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.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'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.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'&§ionproperties.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'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productfeatures)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.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'&§ionproperties.descriptionstyle=='Style 1'&&/*#__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||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&§ionproperties.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||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productfeatures)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3656
|
-
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||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.short_description_en)!=null&§ionproperties.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||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.short_description_en}}))),langdetect=='ar'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.short_description_ar)!=null&§ionproperties.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||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.vendorinfo)!=null&§ionproperties.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 _fetchProductInfoQuer99;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.vendorinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.vendorinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.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||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.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||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.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||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&&/*#__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,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__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}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&§ionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&§ionproperties.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||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.isproducthasquantitychange)==1&§ionproperties.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||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.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 _fetchProductInfoQuer113;window.open('tel:'+((_fetchProductInfoQuer113=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.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||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer115=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.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'&§ionproperties.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&§ionproperties.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&§ionproperties.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))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__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:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer117;window.open('tel:'+((_fetchProductInfoQuer117=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.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||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.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=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',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}))))),fetchProductInfoQueryContext.data.data.productinfo.measurmentunit=='pdf'&&/*#__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(){}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download PDF':'تحميل ال PDF'))),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__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+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.isproducttobesold)==1&&/*#__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.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),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.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productfeatures)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.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.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},ShortDescriptionTitle()),/*#__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 pl-3 pr-3 mt-3"},/*#__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||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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.policiestitleen:sectionproperties.policiestitlear)),/*#__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"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__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 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2C(_objectSpread$2C({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3655
|
+
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},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||(_fetchProductInfoQuer85=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productinfo)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.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'&§ionproperties.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||(_fetchProductInfoQuer86=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.productinfo)===null||_fetchProductInfoQuer86===void 0?void 0:_fetchProductInfoQuer86.productcanrate)==1&§ionproperties.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||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.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'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.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'&§ionproperties.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'&§ionproperties.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'&§ionproperties.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||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productfeatures)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.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.showshortdescription=='Show'&§ionproperties.descriptionposition=='Under Name'&§ionproperties.descriptionstyle=='Style 1'&&/*#__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||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&§ionproperties.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||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productfeatures)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3656
|
+
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||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.short_description_en)!=null&§ionproperties.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||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.short_description_ar)!=null&§ionproperties.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||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.vendorinfo)!=null&§ionproperties.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 _fetchProductInfoQuer99;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.vendorinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.vendorinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.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||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.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||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.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||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.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,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__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}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&§ionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&§ionproperties.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||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.isproducthasquantitychange)==1&§ionproperties.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||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.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 _fetchProductInfoQuer113;window.open('tel:'+((_fetchProductInfoQuer113=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.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||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer115=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.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'&§ionproperties.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&§ionproperties.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&§ionproperties.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))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__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:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer117;window.open('tel:'+((_fetchProductInfoQuer117=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.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||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.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=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',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}))))),fetchProductInfoQueryContext.data.data.productinfo.measurmentunit=='pdf'&&/*#__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(){}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Download PDF':'تحميل ال PDF'))),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__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+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.isproducttobesold)==1&&/*#__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.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),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.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productfeatures)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.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.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},ShortDescriptionTitle()),/*#__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 pl-3 pr-3 mt-3"},/*#__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||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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.policiestitleen:sectionproperties.policiestitlear)),/*#__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"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__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"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__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 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2C(_objectSpread$2C({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3657
3657
|
// srcfromprops={'collapsepinfo'}
|
|
3658
3658
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__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'?authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.variants[variantindexcompleted])===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productinfo)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.variants[variantindexcompleted])===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{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'?authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.productinfo)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.variants[variantindexcompleted])===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.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'?authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':authdetailsContext===null||authdetailsContext===void 0?void 0:authdetailsContext.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.productinfo)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__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"},/*#__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",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React__default["default"].createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&§ionproperties.showfooteremail=='Hide'&§ionproperties.showstoreinfo2=='Hide'&§ionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&§ionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__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:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.productinfo)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.productinfo)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.productinfo)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.short_description_ar}})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productfeatures)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-6 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))));}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productimages)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productinfo)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.productimages.map(function(item,index){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":' w-100 h-100',style:{}},/*#__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:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__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:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='680a0b8a31930'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
|
|
3659
3659
|
,style:{height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
@@ -6044,7 +6044,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
6044
6044
|
function ownKeys$2A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6045
6045
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6046
6046
|
var Productinfo = function Productinfo(props) {
|
|
6047
|
-
var _css, _fetchProductInfoQuer71, _ref, _fetchProductInfoQuer72, _ref2, _fetchProductInfoQuer73, _ref3, _authdetailsContext$
|
|
6047
|
+
var _css, _fetchProductInfoQuer71, _ref, _fetchProductInfoQuer72, _ref2, _fetchProductInfoQuer73, _ref3, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i16, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
6048
6048
|
var _useState = React.useState({}),
|
|
6049
6049
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6050
6050
|
ProductInfoObj = _useState2[0],
|
|
@@ -6259,7 +6259,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6259
6259
|
};
|
|
6260
6260
|
React.useEffect(function () {
|
|
6261
6261
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
6262
|
-
var
|
|
6262
|
+
var _authdetailsContext$i;
|
|
6263
6263
|
var secpropobj = {};
|
|
6264
6264
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
6265
6265
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -6267,14 +6267,20 @@ var Productinfo = function Productinfo(props) {
|
|
|
6267
6267
|
setsectionproperties(_objectSpread$2A({}, secpropobj));
|
|
6268
6268
|
setTabIndex(0);
|
|
6269
6269
|
settabname('descriptiontab');
|
|
6270
|
-
if (
|
|
6271
|
-
settabname('
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6270
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
6271
|
+
settabname('descriptiontab');
|
|
6272
|
+
// alert('sd');
|
|
6273
|
+
} else {
|
|
6274
|
+
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
6275
|
+
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) == 0) {
|
|
6276
|
+
settabname('shippingpolicytab');
|
|
6277
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.product_videos) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.length) == 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
6278
|
+
// settabname('videostab');
|
|
6279
|
+
settabname('reviewstab');
|
|
6280
|
+
} else if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.product_videos) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0 && sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide') {
|
|
6281
|
+
// settabname('videostab');
|
|
6282
|
+
settabname('videostab');
|
|
6283
|
+
}
|
|
6278
6284
|
}
|
|
6279
6285
|
}
|
|
6280
6286
|
}, [StatePagePropertiesContext]);
|
|
@@ -6477,8 +6483,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6477
6483
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
6478
6484
|
}
|
|
6479
6485
|
if ((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 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != '') {
|
|
6480
|
-
var _authdetailsContext$
|
|
6481
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6486
|
+
var _authdetailsContext$i2;
|
|
6487
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '66d6de1a1e04a') {
|
|
6482
6488
|
var _fetchProductInfoQuer36;
|
|
6483
6489
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
6484
6490
|
} else {
|
|
@@ -6504,8 +6510,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6504
6510
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
6505
6511
|
// };
|
|
6506
6512
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
6507
|
-
var _authdetailsContext$
|
|
6508
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6513
|
+
var _authdetailsContext$i3;
|
|
6514
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68d28fc494276') {
|
|
6509
6515
|
var _ProductInfoObj$data;
|
|
6510
6516
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
6511
6517
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -6596,8 +6602,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6596
6602
|
}
|
|
6597
6603
|
};
|
|
6598
6604
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
6599
|
-
var _authdetailsContext$
|
|
6600
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6605
|
+
var _authdetailsContext$i4;
|
|
6606
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68d28fc494276') {
|
|
6601
6607
|
var _productarr$data, _productarr$data$prod;
|
|
6602
6608
|
var _productarr = ProductInfoObj;
|
|
6603
6609
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -7121,10 +7127,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
7121
7127
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
7122
7128
|
runfunc = true;
|
|
7123
7129
|
} else {
|
|
7124
|
-
var _authdetailsContext$
|
|
7130
|
+
var _authdetailsContext$i5;
|
|
7125
7131
|
// here
|
|
7126
7132
|
setvariantnotchosendisclaimer('This field is required');
|
|
7127
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7133
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7128
7134
|
}
|
|
7129
7135
|
} else {
|
|
7130
7136
|
runfunc = true;
|
|
@@ -7208,9 +7214,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
7208
7214
|
};
|
|
7209
7215
|
};
|
|
7210
7216
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7211
|
-
var _authdetailsContext$
|
|
7217
|
+
var _authdetailsContext$i6;
|
|
7212
7218
|
var policyobj = {};
|
|
7213
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7219
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instpolicies) === null || _authdetailsContext$i6 === void 0 || _authdetailsContext$i6.forEach(function (item, index) {
|
|
7214
7220
|
if (item.policytype == policytype) {
|
|
7215
7221
|
policyobj = item;
|
|
7216
7222
|
}
|
|
@@ -7219,7 +7225,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7219
7225
|
};
|
|
7220
7226
|
var relatedproducts = function relatedproducts() {
|
|
7221
7227
|
if (Relatedproducts.length != 0) {
|
|
7222
|
-
var _authdetailsContext$
|
|
7228
|
+
var _authdetailsContext$i7;
|
|
7223
7229
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7224
7230
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
7225
7231
|
style: {
|
|
@@ -7261,7 +7267,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7261
7267
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
7262
7268
|
transitionBehavior: 'auto',
|
|
7263
7269
|
wrapperClassName: '',
|
|
7264
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7270
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
7265
7271
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
7266
7272
|
}, Relatedproducts.map(function (item, index) {
|
|
7267
7273
|
if (item.productinfo != null) {
|
|
@@ -8037,7 +8043,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8037
8043
|
})));
|
|
8038
8044
|
};
|
|
8039
8045
|
var StoreInfo = function StoreInfo(position) {
|
|
8040
|
-
var _fetchProductInfoQuer65, _authdetailsContext$
|
|
8046
|
+
var _fetchProductInfoQuer65, _authdetailsContext$i9, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i0, _authdetailsContext$i10;
|
|
8041
8047
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8042
8048
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
8043
8049
|
style: {
|
|
@@ -8116,8 +8122,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8116
8122
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8117
8123
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
8118
8124
|
onClick: function onClick() {
|
|
8119
|
-
var _authdetailsContext$
|
|
8120
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8125
|
+
var _authdetailsContext$i8;
|
|
8126
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email), '_self');
|
|
8121
8127
|
}
|
|
8122
8128
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8123
8129
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -8137,7 +8143,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8137
8143
|
style: {
|
|
8138
8144
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8139
8145
|
}
|
|
8140
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8146
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8141
8147
|
"class": "col-lg-12 my-2",
|
|
8142
8148
|
style: {
|
|
8143
8149
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -8189,25 +8195,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
8189
8195
|
}
|
|
8190
8196
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8191
8197
|
"class": "m-0 p-0"
|
|
8192
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8198
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8193
8199
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8194
8200
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8195
8201
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8196
8202
|
onClick: function onClick() {
|
|
8197
|
-
var _authdetailsContext$
|
|
8198
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8203
|
+
var _authdetailsContext$i1;
|
|
8204
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 || (_authdetailsContext$i1 = _authdetailsContext$i1.contactinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.email), '_self');
|
|
8199
8205
|
}
|
|
8200
8206
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8201
8207
|
"class": "m-0 p-0"
|
|
8202
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8208
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8203
8209
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
8204
8210
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
8205
8211
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
8206
8212
|
onClick: function onClick() {
|
|
8207
|
-
var _authdetailsContext$
|
|
8208
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8209
|
-
var _authdetailsContext$
|
|
8210
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8213
|
+
var _authdetailsContext$i11;
|
|
8214
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber) != null) {
|
|
8215
|
+
var _authdetailsContext$i12;
|
|
8216
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.whatsappnumber), '_blank');
|
|
8211
8217
|
}
|
|
8212
8218
|
}
|
|
8213
8219
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8315,7 +8321,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8315
8321
|
lang: lang,
|
|
8316
8322
|
srcfromprops: props.srcfromprops
|
|
8317
8323
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
8318
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8324
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '68c27b4570751' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8319
8325
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8320
8326
|
style: {
|
|
8321
8327
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -8506,6 +8512,157 @@ var Productinfo = function Productinfo(props) {
|
|
|
8506
8512
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
8507
8513
|
sectionproperties: sectionproperties
|
|
8508
8514
|
})
|
|
8515
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8516
|
+
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8517
|
+
style: {
|
|
8518
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8519
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8520
|
+
display: 'flex'
|
|
8521
|
+
}
|
|
8522
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8523
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
8524
|
+
style: {
|
|
8525
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
8526
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
8527
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
8528
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
8529
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
8530
|
+
}
|
|
8531
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
8532
|
+
value: tabIndex,
|
|
8533
|
+
onChange: handleTabChange,
|
|
8534
|
+
scrollButtons: "auto",
|
|
8535
|
+
TabIndicatorProps: {
|
|
8536
|
+
style: {
|
|
8537
|
+
background: sectionproperties.activetabbordercolor
|
|
8538
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
8539
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
8540
|
+
}
|
|
8541
|
+
},
|
|
8542
|
+
sx: {
|
|
8543
|
+
'& button': {
|
|
8544
|
+
color: sectionproperties.tabtextcolor,
|
|
8545
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
8546
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
8547
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
8548
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
8549
|
+
fontFamily: 'Poppins',
|
|
8550
|
+
transition: '.3s',
|
|
8551
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
8552
|
+
},
|
|
8553
|
+
'& button:hover': {
|
|
8554
|
+
color: sectionproperties.tabscoloronhover,
|
|
8555
|
+
fontFamily: 'Poppins',
|
|
8556
|
+
transition: '.3s'
|
|
8557
|
+
},
|
|
8558
|
+
'& button.Mui-selected': {
|
|
8559
|
+
color: sectionproperties.tabtextactivecolor,
|
|
8560
|
+
background: sectionproperties.activetabbgcolor,
|
|
8561
|
+
fontFamily: 'Poppins',
|
|
8562
|
+
transition: '.3s'
|
|
8563
|
+
}
|
|
8564
|
+
},
|
|
8565
|
+
variant: 'fullWidth'
|
|
8566
|
+
// tabsfullwidth
|
|
8567
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8568
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
8569
|
+
onClick: function onClick() {
|
|
8570
|
+
settabname('descriptiontab');
|
|
8571
|
+
}
|
|
8572
|
+
}), /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8573
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
8574
|
+
onClick: function onClick() {
|
|
8575
|
+
settabname('shortdescriptiontab');
|
|
8576
|
+
}
|
|
8577
|
+
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
8578
|
+
"class": "w-100 mt-5 mb-4"
|
|
8579
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' &&
|
|
8580
|
+
/*#__PURE__*/
|
|
8581
|
+
// <DescriptionContent
|
|
8582
|
+
// actions={{
|
|
8583
|
+
// ...actions,
|
|
8584
|
+
// productinfo_cssstyles: productinfo_cssstyles,
|
|
8585
|
+
// sectionproperties: sectionproperties,
|
|
8586
|
+
// }}
|
|
8587
|
+
// />
|
|
8588
|
+
React__default["default"].createElement("div", {
|
|
8589
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
8590
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8591
|
+
className: 'm-0 p-0 wordbreak',
|
|
8592
|
+
style: {
|
|
8593
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
8594
|
+
color: '#000000'
|
|
8595
|
+
},
|
|
8596
|
+
dangerouslySetInnerHTML: {
|
|
8597
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.description_ar
|
|
8598
|
+
}
|
|
8599
|
+
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8600
|
+
"class": "col-lg-12 p-0"
|
|
8601
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8602
|
+
className: 'm-0 p-0 wordbreak',
|
|
8603
|
+
style: {
|
|
8604
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
8605
|
+
color: sectionproperties.prodCatColor
|
|
8606
|
+
},
|
|
8607
|
+
dangerouslySetInnerHTML: {
|
|
8608
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.short_description_ar
|
|
8609
|
+
}
|
|
8610
|
+
}))
|
|
8611
|
+
// <DescriptionContent
|
|
8612
|
+
// actions={{
|
|
8613
|
+
// ...actions,
|
|
8614
|
+
// productinfo_cssstyles: productinfo_cssstyles,
|
|
8615
|
+
// sectionproperties: sectionproperties,
|
|
8616
|
+
// }}
|
|
8617
|
+
// />
|
|
8618
|
+
, tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8619
|
+
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
8620
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8621
|
+
className: ' m-0 p-0 wordbreak ',
|
|
8622
|
+
style: {
|
|
8623
|
+
// lineClamp: 10,
|
|
8624
|
+
// WebkitLineClamp: 10,
|
|
8625
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8626
|
+
},
|
|
8627
|
+
dangerouslySetInnerHTML: {
|
|
8628
|
+
__html: langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policycontent_en : (_returnpolicyobj16 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policycontent_ar
|
|
8629
|
+
}
|
|
8630
|
+
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8631
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
8632
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8633
|
+
className: ' m-0 p-0 wordbreak ',
|
|
8634
|
+
style: {
|
|
8635
|
+
// lineClamp: 10,
|
|
8636
|
+
// WebkitLineClamp: 10,
|
|
8637
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
8638
|
+
},
|
|
8639
|
+
dangerouslySetInnerHTML: {
|
|
8640
|
+
__html: langdetect == 'en' ? (_returnpolicyobj17 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj17 === void 0 ? void 0 : _returnpolicyobj17.policycontent_en : (_returnpolicyobj18 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj18 === void 0 ? void 0 : _returnpolicyobj18.policycontent_ar
|
|
8641
|
+
}
|
|
8642
|
+
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8643
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
8644
|
+
}, productVideos.map(function (item, index) {
|
|
8645
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8646
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
8647
|
+
style: {
|
|
8648
|
+
height: 400
|
|
8649
|
+
}
|
|
8650
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
8651
|
+
url: item.videourl,
|
|
8652
|
+
height: '100%',
|
|
8653
|
+
width: '100%',
|
|
8654
|
+
playing: false,
|
|
8655
|
+
controls: true,
|
|
8656
|
+
loop: true,
|
|
8657
|
+
muted: true
|
|
8658
|
+
}));
|
|
8659
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8660
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
8661
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
8662
|
+
actions: _objectSpread$2A(_objectSpread$2A({}, actions), {}, {
|
|
8663
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
8664
|
+
sectionproperties: sectionproperties
|
|
8665
|
+
})
|
|
8509
8666
|
}))))), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8510
8667
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
8511
8668
|
style: {
|