tabexseriescomponents 0.2.1240 → 0.2.1242
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 +116 -50
- package/dist/index.esm.js +116 -50
- package/dist/index.umd.js +116 -50
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -30563,7 +30563,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
30563
30563
|
};
|
|
30564
30564
|
|
|
30565
30565
|
function ownKeys$28(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;}function _objectSpread$28(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$28(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$28(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i17,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i30,_authdetailsContext$i31,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i34,_authdetailsContext$i35,_authdetailsContext$i36,_authdetailsContext$i37,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i38,_authdetailsContext$i39,_authdetailsContext$i40,_authdetailsContext$i41,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i49,_authdetailsContext$i50,_authdetailsContext$i51,_authdetailsContext$i52,_authdetailsContext$i53,_authdetailsContext$i54,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i65,_authdetailsContext$i66,_authdetailsContext$i67,_authdetailsContext$i68,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i69,_authdetailsContext$i70,_authdetailsContext$i71,_authdetailsContext$i72,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i73,_authdetailsContext$i74,_authdetailsContext$i75,_authdetailsContext$i76,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i77,_authdetailsContext$i78,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_authdetailsContext$i85,_authdetailsContext$i86,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=React.useState(''),_useState2=_slicedToArray__default["default"](_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=React.useState(''),_useState4=_slicedToArray__default["default"](_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=React.useState(false),_useState6=_slicedToArray__default["default"](_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=React.useState(false),_useState8=_slicedToArray__default["default"](_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;React.useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$28({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=React.useState([]),_useState0=_slicedToArray__default["default"](_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=React.useState(false),_useState10=_slicedToArray__default["default"](_useState1,2);_useState10[0];var setopenCnvas=_useState10[1];var _useState11=React.useState(''),_useState12=_slicedToArray__default["default"](_useState11,2),activeTab=_useState12[0],setactiveTab=_useState12[1];React.useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);React.useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
30566
|
-
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30566
|
+
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30567
30567
|
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)!='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState13=React.useState(false),_useState14=_slicedToArray__default["default"](_useState13,2),openmenuCanvas=_useState14[0],setopenmenuCanvas=_useState14[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
30568
30568
|
var _useState15=React.useState([]),_useState16=_slicedToArray__default["default"](_useState15,2),pcollarray=_useState16[0],setpcollarray=_useState16[1];React.useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray__default["default"](pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray__default["default"](temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
30569
30569
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React__default["default"].createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__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:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:index},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
@@ -41021,7 +41021,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
41021
41021
|
function ownKeys$1X(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; }
|
|
41022
41022
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41023
41023
|
var Modernheader = function Modernheader(props) {
|
|
41024
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
41024
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i10, _authdetailsContext$i11, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
41025
41025
|
var _useState = React.useState(''),
|
|
41026
41026
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
41027
41027
|
sectionproperties = _useState2[0],
|
|
@@ -41145,7 +41145,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41145
41145
|
}),
|
|
41146
41146
|
user_btn: glamor.css({
|
|
41147
41147
|
background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
|
|
41148
|
-
width: sectionproperties.userBtnWidth + 'px',
|
|
41148
|
+
width: sectionproperties.userBtnWidth == 0 ? 'auto' : sectionproperties.userBtnWidth + 'px',
|
|
41149
41149
|
height: sectionproperties.userBtnHeight + 'px',
|
|
41150
41150
|
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41151
41151
|
color: sectionproperties.userBtniconcolor,
|
|
@@ -41448,7 +41448,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41448
41448
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
41449
41449
|
size: sectionproperties.searchbaricon_fontsize
|
|
41450
41450
|
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41451
|
-
"class": ' d-flex align-items-center justify-content-end '
|
|
41451
|
+
"class": ' d-flex align-items-center justify-content-end mx-2 '
|
|
41452
41452
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41453
41453
|
"class": ' d-flex align-items-center justify-content-center '
|
|
41454
41454
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41456,7 +41456,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41456
41456
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41457
41457
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41458
41458
|
style: {
|
|
41459
|
-
color: sectionproperties.searchbaricon_color
|
|
41459
|
+
color: sectionproperties.searchbaricon_color,
|
|
41460
|
+
fontSize: 16
|
|
41460
41461
|
}
|
|
41461
41462
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41462
41463
|
color: sectionproperties.searchbaricon_color
|
|
@@ -41530,11 +41531,36 @@ var Modernheader = function Modernheader(props) {
|
|
|
41530
41531
|
onClick: function onClick() {
|
|
41531
41532
|
routingcountext(StaticPagesLinksContext.Login);
|
|
41532
41533
|
}
|
|
41533
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41534
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41535
|
+
"class": "allcentered",
|
|
41536
|
+
style: {
|
|
41537
|
+
width: sectionproperties.userBtniconfontsize + 'px',
|
|
41538
|
+
height: sectionproperties.userBtniconfontsize + 'px'
|
|
41539
|
+
}
|
|
41540
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41541
|
+
fill: sectionproperties.userBtniconcolor,
|
|
41542
|
+
viewBox: "0 0 32 32",
|
|
41543
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41544
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41545
|
+
id: "SVGRepo_bgCarrier",
|
|
41546
|
+
"stroke-width": "0"
|
|
41547
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41548
|
+
id: "SVGRepo_tracerCarrier",
|
|
41549
|
+
"stroke-linecap": "round",
|
|
41550
|
+
"stroke-linejoin": "round"
|
|
41551
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41552
|
+
id: "SVGRepo_iconCarrier"
|
|
41553
|
+
}, /*#__PURE__*/React__default["default"].createElement("title", null), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41554
|
+
id: "about"
|
|
41555
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41556
|
+
d: "M16,16A7,7,0,1,0,9,9,7,7,0,0,0,16,16ZM16,4a5,5,0,1,1-5,5A5,5,0,0,1,16,4Z"
|
|
41557
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41558
|
+
d: "M17,18H15A11,11,0,0,0,4,29a1,1,0,0,0,1,1H27a1,1,0,0,0,1-1A11,11,0,0,0,17,18ZM6.06,28A9,9,0,0,1,15,20h2a9,9,0,0,1,8.94,8Z"
|
|
41559
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41534
41560
|
"class": ' h-100 d-flex align-items-center '
|
|
41535
41561
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41536
41562
|
size: sectionproperties.userBtnTextfontsize
|
|
41537
|
-
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41563
|
+
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '694aa4a9e7d8e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41538
41564
|
className: "flex-row d-flex allcentered"
|
|
41539
41565
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41540
41566
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -41613,25 +41639,9 @@ var Modernheader = function Modernheader(props) {
|
|
|
41613
41639
|
}
|
|
41614
41640
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41615
41641
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41616
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
41617
|
-
"class": "h-100 allcentered"
|
|
41618
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41619
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41620
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
41621
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41622
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
41623
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41624
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, {
|
|
41625
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41626
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
41627
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41628
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
41629
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41630
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41631
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41632
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41642
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41633
41643
|
"class": ' allcenetered m-0 p-0 '
|
|
41634
|
-
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))),
|
|
41644
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41635
41645
|
onClick: function onClick() {
|
|
41636
41646
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
41637
41647
|
}
|
|
@@ -41645,19 +41655,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41645
41655
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41646
41656
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41647
41657
|
"class": ' allcenetered m-0 p-0 '
|
|
41648
|
-
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].
|
|
41649
|
-
onClick: function onClick() {
|
|
41650
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
41651
|
-
}
|
|
41652
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41653
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41654
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41655
|
-
"class": "h-100 allcentered"
|
|
41656
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
41657
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41658
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41659
|
-
"class": ' allcenetered m-0 p-0 '
|
|
41660
|
-
}, lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41658
|
+
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41661
41659
|
onClick: function onClick() {
|
|
41662
41660
|
LogoutMutationContext.mutate();
|
|
41663
41661
|
}
|
|
@@ -41713,7 +41711,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41713
41711
|
style: {
|
|
41714
41712
|
position: 'relative'
|
|
41715
41713
|
}
|
|
41716
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41714
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41717
41715
|
"class": ' allcentered '
|
|
41718
41716
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41719
41717
|
"class": "",
|
|
@@ -41734,35 +41732,103 @@ var Modernheader = function Modernheader(props) {
|
|
|
41734
41732
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41735
41733
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41736
41734
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41737
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
41735
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41736
|
+
"class": "h-100 allcentered ",
|
|
41737
|
+
style: {
|
|
41738
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41739
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41740
|
+
}
|
|
41741
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41742
|
+
viewBox: "0 0 24 24",
|
|
41743
|
+
fill: "none",
|
|
41744
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41745
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41746
|
+
id: "SVGRepo_bgCarrier",
|
|
41747
|
+
"stroke-width": "0"
|
|
41748
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41749
|
+
id: "SVGRepo_tracerCarrier",
|
|
41750
|
+
"stroke-linecap": "round",
|
|
41751
|
+
"stroke-linejoin": "round"
|
|
41752
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41753
|
+
id: "SVGRepo_iconCarrier"
|
|
41754
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41755
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
41756
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41757
|
+
"stroke-width": "1.5"
|
|
41758
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41759
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
41760
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41761
|
+
"stroke-width": "1.5"
|
|
41762
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41763
|
+
d: "M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",
|
|
41764
|
+
fill: sectionproperties.cart_iconcolor
|
|
41765
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41738
41766
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41739
41767
|
style: {
|
|
41740
41768
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41741
41769
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41742
41770
|
}
|
|
41743
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41771
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41772
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41773
|
+
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41774
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41775
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41776
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41777
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41778
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41779
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41780
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41781
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41782
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41783
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41784
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41785
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41786
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41787
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41788
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41789
|
+
onClick: function onClick() {
|
|
41790
|
+
setlang('ar');
|
|
41791
|
+
}
|
|
41792
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41793
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41794
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41795
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41796
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41797
|
+
"class": "ml-2 mr-2"
|
|
41798
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41799
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41800
|
+
onClick: function onClick() {
|
|
41801
|
+
setlang('en');
|
|
41802
|
+
}
|
|
41803
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41804
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41805
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41806
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41807
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41808
|
+
"class": "ml-2 mr-2"
|
|
41809
|
+
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41744
41810
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41745
41811
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41746
41812
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41747
41813
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41748
41814
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41749
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41815
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41750
41816
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41751
41817
|
style: {
|
|
41752
41818
|
maxWidth: '2.5vh',
|
|
41753
41819
|
maxHeight: '2.5vh'
|
|
41754
41820
|
}
|
|
41755
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41821
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41756
41822
|
"class": "m-0 p-0"
|
|
41757
41823
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41758
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-
|
|
41759
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41824
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41825
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41760
41826
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41761
41827
|
style: {
|
|
41762
41828
|
maxWidth: '2.5vh',
|
|
41763
41829
|
maxHeight: '2.5vh'
|
|
41764
41830
|
}
|
|
41765
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41831
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41766
41832
|
"class": "m-0 p-0"
|
|
41767
41833
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41768
41834
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41773,7 +41839,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41773
41839
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41774
41840
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41775
41841
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41776
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41842
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41777
41843
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41778
41844
|
style: {
|
|
41779
41845
|
maxWidth: '2vh',
|
|
@@ -41790,7 +41856,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41790
41856
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41791
41857
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41792
41858
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41793
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41859
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41794
41860
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41795
41861
|
style: {
|
|
41796
41862
|
maxWidth: '2vh',
|
|
@@ -41817,8 +41883,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41817
41883
|
}
|
|
41818
41884
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41819
41885
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41820
|
-
var _authdetailsContext$
|
|
41821
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41886
|
+
var _authdetailsContext$i20;
|
|
41887
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41822
41888
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41823
41889
|
"class": "cursor-pointer",
|
|
41824
41890
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -30512,7 +30512,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
30512
30512
|
};
|
|
30513
30513
|
|
|
30514
30514
|
function ownKeys$28(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;}function _objectSpread$28(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$28(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$28(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i17,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i30,_authdetailsContext$i31,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i34,_authdetailsContext$i35,_authdetailsContext$i36,_authdetailsContext$i37,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i38,_authdetailsContext$i39,_authdetailsContext$i40,_authdetailsContext$i41,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i49,_authdetailsContext$i50,_authdetailsContext$i51,_authdetailsContext$i52,_authdetailsContext$i53,_authdetailsContext$i54,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i65,_authdetailsContext$i66,_authdetailsContext$i67,_authdetailsContext$i68,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i69,_authdetailsContext$i70,_authdetailsContext$i71,_authdetailsContext$i72,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i73,_authdetailsContext$i74,_authdetailsContext$i75,_authdetailsContext$i76,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i77,_authdetailsContext$i78,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_authdetailsContext$i85,_authdetailsContext$i86,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=useState(''),_useState2=_slicedToArray(_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=useState(''),_useState4=_slicedToArray(_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=useState(false),_useState6=_slicedToArray(_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=useState(false),_useState8=_slicedToArray(_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$28({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=useState([]),_useState0=_slicedToArray(_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=useState(false),_useState10=_slicedToArray(_useState1,2);_useState10[0];var setopenCnvas=_useState10[1];var _useState11=useState(''),_useState12=_slicedToArray(_useState11,2),activeTab=_useState12[0],setactiveTab=_useState12[1];useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray(logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
30515
|
-
},[templateproperties_context]);var header_cssstyles={header_logo:css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30515
|
+
},[templateproperties_context]);var header_cssstyles={header_logo:css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30516
30516
|
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React.createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React.createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69ce49ee861df'&&/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)!='69ce49ee861df'&&/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React.createElement(FiCalendar,{size:sectionproperties.cartBtniconresp_size}))),/*#__PURE__*/React.createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState13=useState(false),_useState14=_slicedToArray(_useState13,2),openmenuCanvas=_useState14[0],setopenmenuCanvas=_useState14[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
30517
30517
|
var _useState15=useState([]),_useState16=_slicedToArray(_useState15,2),pcollarray=_useState16[0],setpcollarray=_useState16[1];useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray(pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray(temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
30518
30518
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React.createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
@@ -40970,7 +40970,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
40970
40970
|
function ownKeys$1X(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; }
|
|
40971
40971
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40972
40972
|
var Modernheader = function Modernheader(props) {
|
|
40973
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
40973
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i10, _authdetailsContext$i11, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
40974
40974
|
var _useState = useState(''),
|
|
40975
40975
|
_useState2 = _slicedToArray(_useState, 2),
|
|
40976
40976
|
sectionproperties = _useState2[0],
|
|
@@ -41094,7 +41094,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41094
41094
|
}),
|
|
41095
41095
|
user_btn: css({
|
|
41096
41096
|
background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
|
|
41097
|
-
width: sectionproperties.userBtnWidth + 'px',
|
|
41097
|
+
width: sectionproperties.userBtnWidth == 0 ? 'auto' : sectionproperties.userBtnWidth + 'px',
|
|
41098
41098
|
height: sectionproperties.userBtnHeight + 'px',
|
|
41099
41099
|
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41100
41100
|
color: sectionproperties.userBtniconcolor,
|
|
@@ -41397,7 +41397,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41397
41397
|
}, /*#__PURE__*/React.createElement(FiSearch, {
|
|
41398
41398
|
size: sectionproperties.searchbaricon_fontsize
|
|
41399
41399
|
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
41400
|
-
"class": ' d-flex align-items-center justify-content-end '
|
|
41400
|
+
"class": ' d-flex align-items-center justify-content-end mx-2 '
|
|
41401
41401
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
41402
41402
|
"class": ' d-flex align-items-center justify-content-center '
|
|
41403
41403
|
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -41405,7 +41405,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41405
41405
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41406
41406
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41407
41407
|
style: {
|
|
41408
|
-
color: sectionproperties.searchbaricon_color
|
|
41408
|
+
color: sectionproperties.searchbaricon_color,
|
|
41409
|
+
fontSize: 16
|
|
41409
41410
|
}
|
|
41410
41411
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, {
|
|
41411
41412
|
color: sectionproperties.searchbaricon_color
|
|
@@ -41479,11 +41480,36 @@ var Modernheader = function Modernheader(props) {
|
|
|
41479
41480
|
onClick: function onClick() {
|
|
41480
41481
|
routingcountext(StaticPagesLinksContext.Login);
|
|
41481
41482
|
}
|
|
41482
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
41483
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '69ce49ee861df' && /*#__PURE__*/React.createElement("i", {
|
|
41484
|
+
"class": "allcentered",
|
|
41485
|
+
style: {
|
|
41486
|
+
width: sectionproperties.userBtniconfontsize + 'px',
|
|
41487
|
+
height: sectionproperties.userBtniconfontsize + 'px'
|
|
41488
|
+
}
|
|
41489
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
41490
|
+
fill: sectionproperties.userBtniconcolor,
|
|
41491
|
+
viewBox: "0 0 32 32",
|
|
41492
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41493
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
41494
|
+
id: "SVGRepo_bgCarrier",
|
|
41495
|
+
"stroke-width": "0"
|
|
41496
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41497
|
+
id: "SVGRepo_tracerCarrier",
|
|
41498
|
+
"stroke-linecap": "round",
|
|
41499
|
+
"stroke-linejoin": "round"
|
|
41500
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41501
|
+
id: "SVGRepo_iconCarrier"
|
|
41502
|
+
}, /*#__PURE__*/React.createElement("title", null), /*#__PURE__*/React.createElement("g", {
|
|
41503
|
+
id: "about"
|
|
41504
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
41505
|
+
d: "M16,16A7,7,0,1,0,9,9,7,7,0,0,0,16,16ZM16,4a5,5,0,1,1-5,5A5,5,0,0,1,16,4Z"
|
|
41506
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41507
|
+
d: "M17,18H15A11,11,0,0,0,4,29a1,1,0,0,0,1,1H27a1,1,0,0,0,1-1A11,11,0,0,0,17,18ZM6.06,28A9,9,0,0,1,15,20h2a9,9,0,0,1,8.94,8Z"
|
|
41508
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '69ce49ee861df' && /*#__PURE__*/React.createElement("i", {
|
|
41483
41509
|
"class": ' h-100 d-flex align-items-center '
|
|
41484
41510
|
}, /*#__PURE__*/React.createElement(BiUser, {
|
|
41485
41511
|
size: sectionproperties.userBtnTextfontsize
|
|
41486
|
-
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41512
|
+
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '694aa4a9e7d8e' && /*#__PURE__*/React.createElement("div", {
|
|
41487
41513
|
className: "flex-row d-flex allcentered"
|
|
41488
41514
|
}, /*#__PURE__*/React.createElement("div", {
|
|
41489
41515
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -41562,25 +41588,9 @@ var Modernheader = function Modernheader(props) {
|
|
|
41562
41588
|
}
|
|
41563
41589
|
}, /*#__PURE__*/React.createElement("div", {
|
|
41564
41590
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41565
|
-
}, /*#__PURE__*/React.createElement("
|
|
41566
|
-
"class": "h-100 allcentered"
|
|
41567
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
41568
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41569
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
41570
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41571
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
41572
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41573
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, {
|
|
41574
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41575
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
41576
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41577
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
41578
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41579
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
41580
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41581
|
-
})), /*#__PURE__*/React.createElement("p", {
|
|
41591
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41582
41592
|
"class": ' allcenetered m-0 p-0 '
|
|
41583
|
-
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))),
|
|
41593
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41584
41594
|
onClick: function onClick() {
|
|
41585
41595
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
41586
41596
|
}
|
|
@@ -41594,19 +41604,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41594
41604
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41595
41605
|
})), /*#__PURE__*/React.createElement("p", {
|
|
41596
41606
|
"class": ' allcenetered m-0 p-0 '
|
|
41597
|
-
}, lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.
|
|
41598
|
-
onClick: function onClick() {
|
|
41599
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
41600
|
-
}
|
|
41601
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
41602
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41603
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
41604
|
-
"class": "h-100 allcentered"
|
|
41605
|
-
}, /*#__PURE__*/React.createElement(AiOutlineSecurityScan, {
|
|
41606
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41607
|
-
})), /*#__PURE__*/React.createElement("p", {
|
|
41608
|
-
"class": ' allcenetered m-0 p-0 '
|
|
41609
|
-
}, lang.policies))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41607
|
+
}, lang.wishlist))), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41610
41608
|
onClick: function onClick() {
|
|
41611
41609
|
LogoutMutationContext.mutate();
|
|
41612
41610
|
}
|
|
@@ -41662,7 +41660,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41662
41660
|
style: {
|
|
41663
41661
|
position: 'relative'
|
|
41664
41662
|
}
|
|
41665
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
41663
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) != '69ce49ee861df' && /*#__PURE__*/React.createElement("i", {
|
|
41666
41664
|
"class": ' allcentered '
|
|
41667
41665
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
41668
41666
|
"class": "",
|
|
@@ -41683,35 +41681,103 @@ var Modernheader = function Modernheader(props) {
|
|
|
41683
41681
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41684
41682
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
41685
41683
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41686
|
-
})), /*#__PURE__*/React.createElement("
|
|
41684
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69ce49ee861df' && /*#__PURE__*/React.createElement("i", {
|
|
41685
|
+
"class": "h-100 allcentered ",
|
|
41686
|
+
style: {
|
|
41687
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41688
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41689
|
+
}
|
|
41690
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
41691
|
+
viewBox: "0 0 24 24",
|
|
41692
|
+
fill: "none",
|
|
41693
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41694
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
41695
|
+
id: "SVGRepo_bgCarrier",
|
|
41696
|
+
"stroke-width": "0"
|
|
41697
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41698
|
+
id: "SVGRepo_tracerCarrier",
|
|
41699
|
+
"stroke-linecap": "round",
|
|
41700
|
+
"stroke-linejoin": "round"
|
|
41701
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41702
|
+
id: "SVGRepo_iconCarrier"
|
|
41703
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
41704
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
41705
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41706
|
+
"stroke-width": "1.5"
|
|
41707
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41708
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
41709
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41710
|
+
"stroke-width": "1.5"
|
|
41711
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41712
|
+
d: "M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",
|
|
41713
|
+
fill: sectionproperties.cart_iconcolor
|
|
41714
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
41687
41715
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41688
41716
|
style: {
|
|
41689
41717
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41690
41718
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41691
41719
|
}
|
|
41692
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React.createElement("div", {
|
|
41720
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '69ce49ee861df' && /*#__PURE__*/React.createElement("div", {
|
|
41721
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41722
|
+
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
41723
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41724
|
+
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
41725
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41726
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41727
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41728
|
+
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
41729
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41730
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
41731
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41732
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41733
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41734
|
+
}, "En", ' ', /*#__PURE__*/React.createElement("i", {
|
|
41735
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41736
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41737
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41738
|
+
onClick: function onClick() {
|
|
41739
|
+
setlang('ar');
|
|
41740
|
+
}
|
|
41741
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41742
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41743
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41744
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41745
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41746
|
+
"class": "ml-2 mr-2"
|
|
41747
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41748
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41749
|
+
onClick: function onClick() {
|
|
41750
|
+
setlang('en');
|
|
41751
|
+
}
|
|
41752
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41753
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41754
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41755
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41756
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41757
|
+
"class": "ml-2 mr-2"
|
|
41758
|
+
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) != '69ce49ee861df' && /*#__PURE__*/React.createElement("div", {
|
|
41693
41759
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41694
41760
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
41695
41761
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41696
41762
|
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
41697
41763
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41698
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41764
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("img", {
|
|
41699
41765
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41700
41766
|
style: {
|
|
41701
41767
|
maxWidth: '2.5vh',
|
|
41702
41768
|
maxHeight: '2.5vh'
|
|
41703
41769
|
}
|
|
41704
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41770
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("p", {
|
|
41705
41771
|
"class": "m-0 p-0"
|
|
41706
41772
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
41707
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-
|
|
41708
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41773
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41774
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("img", {
|
|
41709
41775
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41710
41776
|
style: {
|
|
41711
41777
|
maxWidth: '2.5vh',
|
|
41712
41778
|
maxHeight: '2.5vh'
|
|
41713
41779
|
}
|
|
41714
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41780
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("p", {
|
|
41715
41781
|
"class": "m-0 p-0"
|
|
41716
41782
|
}, "En")))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41717
41783
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41722,7 +41788,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41722
41788
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41723
41789
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41724
41790
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41725
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41791
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("img", {
|
|
41726
41792
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41727
41793
|
style: {
|
|
41728
41794
|
maxWidth: '2vh',
|
|
@@ -41739,7 +41805,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41739
41805
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41740
41806
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41741
41807
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41742
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41808
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React.createElement("img", {
|
|
41743
41809
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41744
41810
|
style: {
|
|
41745
41811
|
maxWidth: '2vh',
|
|
@@ -41766,8 +41832,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41766
41832
|
}
|
|
41767
41833
|
}, /*#__PURE__*/React.createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41768
41834
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41769
|
-
var _authdetailsContext$
|
|
41770
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41835
|
+
var _authdetailsContext$i20;
|
|
41836
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41771
41837
|
return /*#__PURE__*/React.createElement("div", {
|
|
41772
41838
|
"class": "cursor-pointer",
|
|
41773
41839
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -30369,7 +30369,7 @@
|
|
|
30369
30369
|
};
|
|
30370
30370
|
|
|
30371
30371
|
function ownKeys$28(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;}function _objectSpread$28(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$28(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$28(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i17,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i30,_authdetailsContext$i31,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i34,_authdetailsContext$i35,_authdetailsContext$i36,_authdetailsContext$i37,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i38,_authdetailsContext$i39,_authdetailsContext$i40,_authdetailsContext$i41,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i49,_authdetailsContext$i50,_authdetailsContext$i51,_authdetailsContext$i52,_authdetailsContext$i53,_authdetailsContext$i54,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i65,_authdetailsContext$i66,_authdetailsContext$i67,_authdetailsContext$i68,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i69,_authdetailsContext$i70,_authdetailsContext$i71,_authdetailsContext$i72,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i73,_authdetailsContext$i74,_authdetailsContext$i75,_authdetailsContext$i76,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i77,_authdetailsContext$i78,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_authdetailsContext$i85,_authdetailsContext$i86,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=React.useState(''),_useState2=_slicedToArray__default["default"](_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=React.useState(''),_useState4=_slicedToArray__default["default"](_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=React.useState(false),_useState6=_slicedToArray__default["default"](_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=React.useState(false),_useState8=_slicedToArray__default["default"](_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;React.useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$28({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=React.useState([]),_useState0=_slicedToArray__default["default"](_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=React.useState(false),_useState10=_slicedToArray__default["default"](_useState1,2);_useState10[0];var setopenCnvas=_useState10[1];var _useState11=React.useState(''),_useState12=_slicedToArray__default["default"](_useState11,2),activeTab=_useState12[0],setactiveTab=_useState12[1];React.useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);React.useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
30372
|
-
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30372
|
+
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
30373
30373
|
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)!='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState13=React.useState(false),_useState14=_slicedToArray__default["default"](_useState13,2),openmenuCanvas=_useState14[0],setopenmenuCanvas=_useState14[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
30374
30374
|
var _useState15=React.useState([]),_useState16=_slicedToArray__default["default"](_useState15,2),pcollarray=_useState16[0],setpcollarray=_useState16[1];React.useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray__default["default"](pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray__default["default"](temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
30375
30375
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React__default["default"].createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__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:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:index},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
@@ -40827,7 +40827,7 @@
|
|
|
40827
40827
|
function ownKeys$1X(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; }
|
|
40828
40828
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40829
40829
|
var Modernheader = function Modernheader(props) {
|
|
40830
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$
|
|
40830
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i10, _authdetailsContext$i11, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
40831
40831
|
var _useState = React.useState(''),
|
|
40832
40832
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
40833
40833
|
sectionproperties = _useState2[0],
|
|
@@ -40951,7 +40951,7 @@
|
|
|
40951
40951
|
}),
|
|
40952
40952
|
user_btn: glamor.css({
|
|
40953
40953
|
background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
|
|
40954
|
-
width: sectionproperties.userBtnWidth + 'px',
|
|
40954
|
+
width: sectionproperties.userBtnWidth == 0 ? 'auto' : sectionproperties.userBtnWidth + 'px',
|
|
40955
40955
|
height: sectionproperties.userBtnHeight + 'px',
|
|
40956
40956
|
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
40957
40957
|
color: sectionproperties.userBtniconcolor,
|
|
@@ -41254,7 +41254,7 @@
|
|
|
41254
41254
|
}, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
|
|
41255
41255
|
size: sectionproperties.searchbaricon_fontsize
|
|
41256
41256
|
})))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41257
|
-
"class": ' d-flex align-items-center justify-content-end '
|
|
41257
|
+
"class": ' d-flex align-items-center justify-content-end mx-2 '
|
|
41258
41258
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41259
41259
|
"class": ' d-flex align-items-center justify-content-center '
|
|
41260
41260
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41262,7 +41262,8 @@
|
|
|
41262
41262
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41263
41263
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41264
41264
|
style: {
|
|
41265
|
-
color: sectionproperties.searchbaricon_color
|
|
41265
|
+
color: sectionproperties.searchbaricon_color,
|
|
41266
|
+
fontSize: 16
|
|
41266
41267
|
}
|
|
41267
41268
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41268
41269
|
color: sectionproperties.searchbaricon_color
|
|
@@ -41336,11 +41337,36 @@
|
|
|
41336
41337
|
onClick: function onClick() {
|
|
41337
41338
|
routingcountext(StaticPagesLinksContext.Login);
|
|
41338
41339
|
}
|
|
41339
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41340
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41341
|
+
"class": "allcentered",
|
|
41342
|
+
style: {
|
|
41343
|
+
width: sectionproperties.userBtniconfontsize + 'px',
|
|
41344
|
+
height: sectionproperties.userBtniconfontsize + 'px'
|
|
41345
|
+
}
|
|
41346
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41347
|
+
fill: sectionproperties.userBtniconcolor,
|
|
41348
|
+
viewBox: "0 0 32 32",
|
|
41349
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41350
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41351
|
+
id: "SVGRepo_bgCarrier",
|
|
41352
|
+
"stroke-width": "0"
|
|
41353
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41354
|
+
id: "SVGRepo_tracerCarrier",
|
|
41355
|
+
"stroke-linecap": "round",
|
|
41356
|
+
"stroke-linejoin": "round"
|
|
41357
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41358
|
+
id: "SVGRepo_iconCarrier"
|
|
41359
|
+
}, /*#__PURE__*/React__default["default"].createElement("title", null), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41360
|
+
id: "about"
|
|
41361
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41362
|
+
d: "M16,16A7,7,0,1,0,9,9,7,7,0,0,0,16,16ZM16,4a5,5,0,1,1-5,5A5,5,0,0,1,16,4Z"
|
|
41363
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41364
|
+
d: "M17,18H15A11,11,0,0,0,4,29a1,1,0,0,0,1,1H27a1,1,0,0,0,1-1A11,11,0,0,0,17,18ZM6.06,28A9,9,0,0,1,15,20h2a9,9,0,0,1,8.94,8Z"
|
|
41365
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41340
41366
|
"class": ' h-100 d-flex align-items-center '
|
|
41341
41367
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41342
41368
|
size: sectionproperties.userBtnTextfontsize
|
|
41343
|
-
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41369
|
+
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '694aa4a9e7d8e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41344
41370
|
className: "flex-row d-flex allcentered"
|
|
41345
41371
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41346
41372
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -41419,25 +41445,9 @@
|
|
|
41419
41445
|
}
|
|
41420
41446
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41421
41447
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41422
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
41423
|
-
"class": "h-100 allcentered"
|
|
41424
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41425
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41426
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
41427
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41428
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
41429
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41430
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, {
|
|
41431
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41432
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
41433
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41434
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
41435
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41436
|
-
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41437
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41438
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41448
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41439
41449
|
"class": ' allcenetered m-0 p-0 '
|
|
41440
|
-
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))),
|
|
41450
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41441
41451
|
onClick: function onClick() {
|
|
41442
41452
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
41443
41453
|
}
|
|
@@ -41451,19 +41461,7 @@
|
|
|
41451
41461
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41452
41462
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41453
41463
|
"class": ' allcenetered m-0 p-0 '
|
|
41454
|
-
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].
|
|
41455
|
-
onClick: function onClick() {
|
|
41456
|
-
routingcountext(StaticPagesLinksContext.Policies);
|
|
41457
|
-
}
|
|
41458
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41459
|
-
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
|
|
41460
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41461
|
-
"class": "h-100 allcentered"
|
|
41462
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
|
|
41463
|
-
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
41464
|
-
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41465
|
-
"class": ' allcenetered m-0 p-0 '
|
|
41466
|
-
}, lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41464
|
+
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41467
41465
|
onClick: function onClick() {
|
|
41468
41466
|
LogoutMutationContext.mutate();
|
|
41469
41467
|
}
|
|
@@ -41519,7 +41517,7 @@
|
|
|
41519
41517
|
style: {
|
|
41520
41518
|
position: 'relative'
|
|
41521
41519
|
}
|
|
41522
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41520
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41523
41521
|
"class": ' allcentered '
|
|
41524
41522
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41525
41523
|
"class": "",
|
|
@@ -41540,35 +41538,103 @@
|
|
|
41540
41538
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41541
41539
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41542
41540
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41543
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
41541
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41542
|
+
"class": "h-100 allcentered ",
|
|
41543
|
+
style: {
|
|
41544
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41545
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41546
|
+
}
|
|
41547
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41548
|
+
viewBox: "0 0 24 24",
|
|
41549
|
+
fill: "none",
|
|
41550
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41551
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41552
|
+
id: "SVGRepo_bgCarrier",
|
|
41553
|
+
"stroke-width": "0"
|
|
41554
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41555
|
+
id: "SVGRepo_tracerCarrier",
|
|
41556
|
+
"stroke-linecap": "round",
|
|
41557
|
+
"stroke-linejoin": "round"
|
|
41558
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41559
|
+
id: "SVGRepo_iconCarrier"
|
|
41560
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41561
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
41562
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41563
|
+
"stroke-width": "1.5"
|
|
41564
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41565
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
41566
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41567
|
+
"stroke-width": "1.5"
|
|
41568
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41569
|
+
d: "M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",
|
|
41570
|
+
fill: sectionproperties.cart_iconcolor
|
|
41571
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41544
41572
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41545
41573
|
style: {
|
|
41546
41574
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41547
41575
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41548
41576
|
}
|
|
41549
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41577
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41578
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41579
|
+
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41580
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41581
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41582
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41583
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41584
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41585
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41586
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41587
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41588
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41589
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41590
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41591
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41592
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41593
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41594
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41595
|
+
onClick: function onClick() {
|
|
41596
|
+
setlang('ar');
|
|
41597
|
+
}
|
|
41598
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41599
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41600
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41601
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41602
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41603
|
+
"class": "ml-2 mr-2"
|
|
41604
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41605
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41606
|
+
onClick: function onClick() {
|
|
41607
|
+
setlang('en');
|
|
41608
|
+
}
|
|
41609
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41610
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41611
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41612
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41613
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41614
|
+
"class": "ml-2 mr-2"
|
|
41615
|
+
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41550
41616
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41551
41617
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
41552
41618
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41553
41619
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41554
41620
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41555
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41621
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41556
41622
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41557
41623
|
style: {
|
|
41558
41624
|
maxWidth: '2.5vh',
|
|
41559
41625
|
maxHeight: '2.5vh'
|
|
41560
41626
|
}
|
|
41561
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41627
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41562
41628
|
"class": "m-0 p-0"
|
|
41563
41629
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41564
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-
|
|
41565
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41630
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41631
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41566
41632
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41567
41633
|
style: {
|
|
41568
41634
|
maxWidth: '2.5vh',
|
|
41569
41635
|
maxHeight: '2.5vh'
|
|
41570
41636
|
}
|
|
41571
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41637
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41572
41638
|
"class": "m-0 p-0"
|
|
41573
41639
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41574
41640
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41579,7 +41645,7 @@
|
|
|
41579
41645
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41580
41646
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41581
41647
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41582
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41648
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41583
41649
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41584
41650
|
style: {
|
|
41585
41651
|
maxWidth: '2vh',
|
|
@@ -41596,7 +41662,7 @@
|
|
|
41596
41662
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41597
41663
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41598
41664
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41599
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41665
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
41600
41666
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41601
41667
|
style: {
|
|
41602
41668
|
maxWidth: '2vh',
|
|
@@ -41623,8 +41689,8 @@
|
|
|
41623
41689
|
}
|
|
41624
41690
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41625
41691
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41626
|
-
var _authdetailsContext$
|
|
41627
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41692
|
+
var _authdetailsContext$i20;
|
|
41693
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41628
41694
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41629
41695
|
"class": "cursor-pointer",
|
|
41630
41696
|
onClick: function onClick() {
|