tabexseriescomponents 0.2.1240 → 0.2.1241
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 +113 -19
- package/dist/index.esm.js +113 -19
- package/dist/index.umd.js +113 -19
- 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 ',
|
|
@@ -41713,7 +41739,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41713
41739
|
style: {
|
|
41714
41740
|
position: 'relative'
|
|
41715
41741
|
}
|
|
41716
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41742
|
+
}, (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
41743
|
"class": ' allcentered '
|
|
41718
41744
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41719
41745
|
"class": "",
|
|
@@ -41734,35 +41760,103 @@ var Modernheader = function Modernheader(props) {
|
|
|
41734
41760
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41735
41761
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41736
41762
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41737
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
41763
|
+
})), (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", {
|
|
41764
|
+
"class": "h-100 allcentered ",
|
|
41765
|
+
style: {
|
|
41766
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41767
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41768
|
+
}
|
|
41769
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41770
|
+
viewBox: "0 0 24 24",
|
|
41771
|
+
fill: "none",
|
|
41772
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41773
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41774
|
+
id: "SVGRepo_bgCarrier",
|
|
41775
|
+
"stroke-width": "0"
|
|
41776
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41777
|
+
id: "SVGRepo_tracerCarrier",
|
|
41778
|
+
"stroke-linecap": "round",
|
|
41779
|
+
"stroke-linejoin": "round"
|
|
41780
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41781
|
+
id: "SVGRepo_iconCarrier"
|
|
41782
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41783
|
+
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",
|
|
41784
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41785
|
+
"stroke-width": "1.5"
|
|
41786
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41787
|
+
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",
|
|
41788
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41789
|
+
"stroke-width": "1.5"
|
|
41790
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41791
|
+
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",
|
|
41792
|
+
fill: sectionproperties.cart_iconcolor
|
|
41793
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41738
41794
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41739
41795
|
style: {
|
|
41740
41796
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41741
41797
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41742
41798
|
}
|
|
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", {
|
|
41799
|
+
}, (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", {
|
|
41800
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41801
|
+
}, /*#__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", {
|
|
41802
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41803
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41804
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41805
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41806
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41807
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41808
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41809
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41810
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41811
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41812
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41813
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41814
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41815
|
+
}, /*#__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, {
|
|
41816
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41817
|
+
onClick: function onClick() {
|
|
41818
|
+
setlang('ar');
|
|
41819
|
+
}
|
|
41820
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41821
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41822
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41823
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41824
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41825
|
+
"class": "ml-2 mr-2"
|
|
41826
|
+
}, "\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, {
|
|
41827
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41828
|
+
onClick: function onClick() {
|
|
41829
|
+
setlang('en');
|
|
41830
|
+
}
|
|
41831
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41832
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41833
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41834
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41835
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41836
|
+
"class": "ml-2 mr-2"
|
|
41837
|
+
}, "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
41838
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41745
41839
|
}, /*#__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
41840
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41747
41841
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41748
41842
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41749
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41843
|
+
}, (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
41844
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41751
41845
|
style: {
|
|
41752
41846
|
maxWidth: '2.5vh',
|
|
41753
41847
|
maxHeight: '2.5vh'
|
|
41754
41848
|
}
|
|
41755
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41849
|
+
}), (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
41850
|
"class": "m-0 p-0"
|
|
41757
41851
|
}, "\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$
|
|
41852
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41853
|
+
}, (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
41854
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41761
41855
|
style: {
|
|
41762
41856
|
maxWidth: '2.5vh',
|
|
41763
41857
|
maxHeight: '2.5vh'
|
|
41764
41858
|
}
|
|
41765
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41859
|
+
}), (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
41860
|
"class": "m-0 p-0"
|
|
41767
41861
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41768
41862
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41773,7 +41867,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41773
41867
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41774
41868
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41775
41869
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41776
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41870
|
+
}, (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
41871
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41778
41872
|
style: {
|
|
41779
41873
|
maxWidth: '2vh',
|
|
@@ -41790,7 +41884,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41790
41884
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41791
41885
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41792
41886
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41793
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41887
|
+
}, (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
41888
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41795
41889
|
style: {
|
|
41796
41890
|
maxWidth: '2vh',
|
|
@@ -41817,8 +41911,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41817
41911
|
}
|
|
41818
41912
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41819
41913
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41820
|
-
var _authdetailsContext$
|
|
41821
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41914
|
+
var _authdetailsContext$i20;
|
|
41915
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41822
41916
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41823
41917
|
"class": "cursor-pointer",
|
|
41824
41918
|
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 ',
|
|
@@ -41662,7 +41688,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41662
41688
|
style: {
|
|
41663
41689
|
position: 'relative'
|
|
41664
41690
|
}
|
|
41665
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
41691
|
+
}, (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
41692
|
"class": ' allcentered '
|
|
41667
41693
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
41668
41694
|
"class": "",
|
|
@@ -41683,35 +41709,103 @@ var Modernheader = function Modernheader(props) {
|
|
|
41683
41709
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41684
41710
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
41685
41711
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41686
|
-
})), /*#__PURE__*/React.createElement("
|
|
41712
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) == '69ce49ee861df' && /*#__PURE__*/React.createElement("i", {
|
|
41713
|
+
"class": "h-100 allcentered ",
|
|
41714
|
+
style: {
|
|
41715
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41716
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41717
|
+
}
|
|
41718
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
41719
|
+
viewBox: "0 0 24 24",
|
|
41720
|
+
fill: "none",
|
|
41721
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41722
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
41723
|
+
id: "SVGRepo_bgCarrier",
|
|
41724
|
+
"stroke-width": "0"
|
|
41725
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41726
|
+
id: "SVGRepo_tracerCarrier",
|
|
41727
|
+
"stroke-linecap": "round",
|
|
41728
|
+
"stroke-linejoin": "round"
|
|
41729
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
41730
|
+
id: "SVGRepo_iconCarrier"
|
|
41731
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
41732
|
+
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",
|
|
41733
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41734
|
+
"stroke-width": "1.5"
|
|
41735
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41736
|
+
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",
|
|
41737
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41738
|
+
"stroke-width": "1.5"
|
|
41739
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41740
|
+
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",
|
|
41741
|
+
fill: sectionproperties.cart_iconcolor
|
|
41742
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
41687
41743
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41688
41744
|
style: {
|
|
41689
41745
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41690
41746
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41691
41747
|
}
|
|
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", {
|
|
41748
|
+
}, (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", {
|
|
41749
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41750
|
+
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
41751
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41752
|
+
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
41753
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41754
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41755
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41756
|
+
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
41757
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41758
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
41759
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41760
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41761
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41762
|
+
}, "En", ' ', /*#__PURE__*/React.createElement("i", {
|
|
41763
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41764
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41765
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41766
|
+
onClick: function onClick() {
|
|
41767
|
+
setlang('ar');
|
|
41768
|
+
}
|
|
41769
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41770
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41771
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41772
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41773
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41774
|
+
"class": "ml-2 mr-2"
|
|
41775
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41776
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41777
|
+
onClick: function onClick() {
|
|
41778
|
+
setlang('en');
|
|
41779
|
+
}
|
|
41780
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41781
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41782
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
41783
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41784
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41785
|
+
"class": "ml-2 mr-2"
|
|
41786
|
+
}, "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
41787
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41694
41788
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
41695
41789
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41696
41790
|
}, langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
41697
41791
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41698
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41792
|
+
}, (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
41793
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41700
41794
|
style: {
|
|
41701
41795
|
maxWidth: '2.5vh',
|
|
41702
41796
|
maxHeight: '2.5vh'
|
|
41703
41797
|
}
|
|
41704
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41798
|
+
}), (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
41799
|
"class": "m-0 p-0"
|
|
41706
41800
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
41707
|
-
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-
|
|
41708
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41801
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41802
|
+
}, (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
41803
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41710
41804
|
style: {
|
|
41711
41805
|
maxWidth: '2.5vh',
|
|
41712
41806
|
maxHeight: '2.5vh'
|
|
41713
41807
|
}
|
|
41714
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41808
|
+
}), (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
41809
|
"class": "m-0 p-0"
|
|
41716
41810
|
}, "En")))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
41717
41811
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41722,7 +41816,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41722
41816
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41723
41817
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41724
41818
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41725
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41819
|
+
}, (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
41820
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41727
41821
|
style: {
|
|
41728
41822
|
maxWidth: '2vh',
|
|
@@ -41739,7 +41833,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41739
41833
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41740
41834
|
}, /*#__PURE__*/React.createElement("p", {
|
|
41741
41835
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41742
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41836
|
+
}, (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
41837
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41744
41838
|
style: {
|
|
41745
41839
|
maxWidth: '2vh',
|
|
@@ -41766,8 +41860,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
41766
41860
|
}
|
|
41767
41861
|
}, /*#__PURE__*/React.createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41768
41862
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41769
|
-
var _authdetailsContext$
|
|
41770
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41863
|
+
var _authdetailsContext$i20;
|
|
41864
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41771
41865
|
return /*#__PURE__*/React.createElement("div", {
|
|
41772
41866
|
"class": "cursor-pointer",
|
|
41773
41867
|
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 ',
|
|
@@ -41519,7 +41545,7 @@
|
|
|
41519
41545
|
style: {
|
|
41520
41546
|
position: 'relative'
|
|
41521
41547
|
}
|
|
41522
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41548
|
+
}, (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
41549
|
"class": ' allcentered '
|
|
41524
41550
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
41525
41551
|
"class": "",
|
|
@@ -41540,35 +41566,103 @@
|
|
|
41540
41566
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41541
41567
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
41542
41568
|
size: sectionproperties.cartBtn_iconFontSize
|
|
41543
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
41569
|
+
})), (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", {
|
|
41570
|
+
"class": "h-100 allcentered ",
|
|
41571
|
+
style: {
|
|
41572
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
41573
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
41574
|
+
}
|
|
41575
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41576
|
+
viewBox: "0 0 24 24",
|
|
41577
|
+
fill: "none",
|
|
41578
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
41579
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41580
|
+
id: "SVGRepo_bgCarrier",
|
|
41581
|
+
"stroke-width": "0"
|
|
41582
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41583
|
+
id: "SVGRepo_tracerCarrier",
|
|
41584
|
+
"stroke-linecap": "round",
|
|
41585
|
+
"stroke-linejoin": "round"
|
|
41586
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41587
|
+
id: "SVGRepo_iconCarrier"
|
|
41588
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41589
|
+
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",
|
|
41590
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41591
|
+
"stroke-width": "1.5"
|
|
41592
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41593
|
+
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",
|
|
41594
|
+
stroke: sectionproperties.cart_iconcolor,
|
|
41595
|
+
"stroke-width": "1.5"
|
|
41596
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41597
|
+
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",
|
|
41598
|
+
fill: sectionproperties.cart_iconcolor
|
|
41599
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41544
41600
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
41545
41601
|
style: {
|
|
41546
41602
|
top: sectionproperties.cartbadgetop + 'px',
|
|
41547
41603
|
right: sectionproperties.cartbadgeright + 'px'
|
|
41548
41604
|
}
|
|
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", {
|
|
41605
|
+
}, (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", {
|
|
41606
|
+
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41607
|
+
}, /*#__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", {
|
|
41608
|
+
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41609
|
+
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41610
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1'
|
|
41611
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41612
|
+
"class": "m-0 p-0 d-flex align-items-center "
|
|
41613
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41614
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41615
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41616
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
41617
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41618
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
41619
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41620
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
41621
|
+
}, /*#__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, {
|
|
41622
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41623
|
+
onClick: function onClick() {
|
|
41624
|
+
setlang('ar');
|
|
41625
|
+
}
|
|
41626
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41627
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41628
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41629
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41630
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41631
|
+
"class": "ml-2 mr-2"
|
|
41632
|
+
}, "\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, {
|
|
41633
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
41634
|
+
onClick: function onClick() {
|
|
41635
|
+
setlang('en');
|
|
41636
|
+
}
|
|
41637
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41638
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41639
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41640
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41641
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41642
|
+
"class": "ml-2 mr-2"
|
|
41643
|
+
}, "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
41644
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
41551
41645
|
}, /*#__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
41646
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
41553
41647
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41554
41648
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
41555
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41649
|
+
}, (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
41650
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41557
41651
|
style: {
|
|
41558
41652
|
maxWidth: '2.5vh',
|
|
41559
41653
|
maxHeight: '2.5vh'
|
|
41560
41654
|
}
|
|
41561
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41655
|
+
}), (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
41656
|
"class": "m-0 p-0"
|
|
41563
41657
|
}, "\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$
|
|
41658
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
41659
|
+
}, (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
41660
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41567
41661
|
style: {
|
|
41568
41662
|
maxWidth: '2.5vh',
|
|
41569
41663
|
maxHeight: '2.5vh'
|
|
41570
41664
|
}
|
|
41571
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41665
|
+
}), (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
41666
|
"class": "m-0 p-0"
|
|
41573
41667
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
41574
41668
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -41579,7 +41673,7 @@
|
|
|
41579
41673
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41580
41674
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41581
41675
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41582
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41676
|
+
}, (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
41677
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
41584
41678
|
style: {
|
|
41585
41679
|
maxWidth: '2vh',
|
|
@@ -41596,7 +41690,7 @@
|
|
|
41596
41690
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
41597
41691
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41598
41692
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
41599
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41693
|
+
}, (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
41694
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
41601
41695
|
style: {
|
|
41602
41696
|
maxWidth: '2vh',
|
|
@@ -41623,8 +41717,8 @@
|
|
|
41623
41717
|
}
|
|
41624
41718
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
41625
41719
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
41626
|
-
var _authdetailsContext$
|
|
41627
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
41720
|
+
var _authdetailsContext$i20;
|
|
41721
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) != '68c69dcc53e94') {
|
|
41628
41722
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41629
41723
|
"class": "cursor-pointer",
|
|
41630
41724
|
onClick: function onClick() {
|