tabexseriescomponents 0.2.1069 → 0.2.1071

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.
Files changed (389) hide show
  1. package/dist/index.cjs.js +854 -484
  2. package/dist/index.esm.js +854 -484
  3. package/dist/index.umd.js +854 -484
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +408 -0
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +36 -0
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +46 -0
  8. package/srcbefore27-11/Imagekitconfig.jsx +178 -0
  9. package/srcbefore27-11/StylesJS/Customstyles.js +456 -0
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +538 -0
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +299 -0
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +733 -0
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +1074 -0
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +293 -0
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +512 -0
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +513 -0
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +184 -0
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +208 -0
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +145 -0
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +605 -0
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +817 -0
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +731 -0
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +138 -0
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +600 -0
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +2321 -0
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +1311 -0
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +1292 -0
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +660 -0
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +759 -0
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +731 -0
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +414 -0
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +776 -0
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +430 -0
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +1970 -0
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +2015 -0
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +582 -0
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +1165 -0
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +646 -0
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +332 -0
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1264 -0
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +375 -0
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1056 -0
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1498 -0
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1289 -0
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +907 -0
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +358 -0
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +875 -0
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +3414 -0
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +777 -0
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +933 -0
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +710 -0
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1347 -0
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1566 -0
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +7199 -0
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +941 -0
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +80 -0
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +846 -0
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +1198 -0
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +385 -0
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +784 -0
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1186 -0
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +3711 -0
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +266 -0
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +860 -0
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +950 -0
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +1052 -0
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +610 -0
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1049 -0
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1095 -0
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +979 -0
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +872 -0
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +895 -0
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +421 -0
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +822 -0
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +789 -0
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +787 -0
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +295 -0
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +120 -0
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +119 -0
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +489 -0
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +633 -0
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +509 -0
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +2323 -0
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +2065 -0
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +966 -0
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1577 -0
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +596 -0
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +394 -0
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +174 -0
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +651 -0
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +1017 -0
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +3027 -0
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +103 -0
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +49 -0
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +384 -0
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +1576 -0
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +1989 -0
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +474 -0
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +665 -0
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +741 -0
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +423 -0
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +636 -0
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +234 -0
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +306 -0
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +364 -0
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +1000 -0
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +2506 -0
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +1999 -0
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +79 -0
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +3337 -0
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +616 -0
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +693 -0
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +173 -0
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1831 -0
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +268 -0
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +190 -0
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +224 -0
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +136 -0
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +347 -0
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +262 -0
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +5566 -0
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +3101 -0
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +3047 -0
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +2103 -0
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +2189 -0
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +2166 -0
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +2714 -0
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +2206 -0
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +1158 -0
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +1117 -0
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +1043 -0
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +1040 -0
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +905 -0
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +928 -0
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +346 -0
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +367 -0
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +222 -0
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1505 -0
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +1476 -0
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +219 -0
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  314. package/srcbefore27-11/button.jsx +40 -0
  315. package/srcbefore27-11/index.jsx +353 -0
  316. package/srcbefore27-11/styles/Home.module.css +129 -0
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +14 -0
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +189 -0
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +9 -0
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +94 -0
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  325. package/srcbefore27-11/styles/cards/card23.module.css +60 -0
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +84 -0
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +50 -0
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +40 -0
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +79 -0
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +139 -0
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +18 -0
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  334. package/srcbefore27-11/styles/general/bootstrap.css +4763 -0
  335. package/srcbefore27-11/styles/general/dropdown.css +206 -0
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +94 -0
  337. package/srcbefore27-11/styles/general/filter.module.css +108 -0
  338. package/srcbefore27-11/styles/general/form.module.css +255 -0
  339. package/srcbefore27-11/styles/general/general.module.css +872 -0
  340. package/srcbefore27-11/styles/general/image-gallery.css +531 -0
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +52 -0
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +927 -0
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +22 -0
  344. package/srcbefore27-11/styles/general/slick.module.css +166 -0
  345. package/srcbefore27-11/styles/general/tabs.module.css +119 -0
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +328 -0
  347. package/srcbefore27-11/styles/globals.css +26 -0
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +40 -0
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +87 -0
  351. package/srcbefore27-11/styles/headers/Header7.module.css +50 -0
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +86 -0
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +101 -0
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +62 -0
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +108 -0
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +102 -0
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +16 -0
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +9 -0
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +175 -0
  364. package/srcbefore27-11/styles/headers/header5.module.css +30 -0
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +53 -0
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +89 -0
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +45 -0
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +24 -0
  369. package/srcbefore27-11/styles/headers/subheader.module.css +114 -0
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +91 -0
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +4 -0
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +17 -0
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +18 -0
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +49 -0
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +9 -0
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +108 -0
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +196 -0
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +139 -0
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +481 -0
  383. package/srcbefore27-11/styles/staticpages/login.module.css +155 -0
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +54 -0
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +191 -0
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +250 -0
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +129 -0
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +129 -0
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1347 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import headerstyles from '../../../styles/headers/Header_threesectionslogocentered.module.css';
3
+ import Dropdown from 'react-bootstrap/Dropdown';
4
+ import { css } from 'glamor';
5
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
6
+ import DownloadApp from '../DownloadApp/DownloadApp.jsx';
7
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
8
+ import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
9
+ import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
10
+ import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
11
+ import Subheader from '../Subheader/Subheader.jsx';
12
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
13
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
14
+ import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
15
+ import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
16
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
17
+ import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
18
+ import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
19
+ import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
20
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
21
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
22
+ import { FiUser } from '@react-icons/all-files/fi/FiUser';
23
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
24
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
25
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
26
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
27
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
28
+ import { BiSearch } from '@react-icons/all-files/bi/BiSearch';
29
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
30
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
31
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
32
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
33
+ import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
34
+ import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
35
+ import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
36
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
37
+ import { borderRadius } from '@mui/system';
38
+
39
+ const Header_threesectionslogocentered = (props) => {
40
+ const [sectionproperties, setsectionproperties] = useState('');
41
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
42
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
43
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
44
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
45
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
46
+ const lang = props.actions.lang;
47
+ const langdetect = props.actions.langdetect;
48
+ const setlang = props.actions.setlang;
49
+ const templatepropcontext = props.actions.templatepropcontext;
50
+ const authdetailsContext = props.actions.authdetailsContext;
51
+ const templateproperties_context = props.actions.templateproperties_context;
52
+ const routingcountext = props.actions.routingcountext;
53
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
54
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
55
+ const actions = props.actions;
56
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
57
+ const scrollYposittionprops = props.actions.scrollYposittionprops;
58
+ const [dropdownselect, setdropdownselect] = useState(false);
59
+
60
+ useEffect(() => {
61
+ var secpropobj = {};
62
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
63
+ if (sectionitem.sectionid == props.sectionidprops) {
64
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
65
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
66
+ });
67
+ }
68
+ });
69
+ if (Object.keys(secpropobj).length === 0) {
70
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
71
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
72
+ });
73
+ }
74
+ setsectionproperties({ ...secpropobj });
75
+ }, [StatePagePropertiesContext]);
76
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
77
+ const [pcollarray, setpcollarray] = useState([]);
78
+ const [Choosenindex, setChoosenindex] = useState('');
79
+
80
+ useEffect(() => {
81
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
82
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
83
+ if (Array.isArray(logoarrayofobjectsparsed)) {
84
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
85
+ }
86
+ }
87
+ }, [templateproperties_context]);
88
+ useEffect(() => {
89
+ var temppcollarray = [...pcollarray];
90
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
91
+ arrayItem?.parentcolletions?.forEach(function (item) {
92
+ temppcollarray.push(item);
93
+ });
94
+ });
95
+ setpcollarray([...temppcollarray]);
96
+ }, [authdetailsContext]);
97
+ useEffect(() => {
98
+ var temppcollarray = [...pcollarray];
99
+ authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
100
+ arrayItem?.parentcolletions?.forEach(function (item) {
101
+ temppcollarray.push(item);
102
+ });
103
+ });
104
+ setpcollarray([...temppcollarray]);
105
+ }, [authdetailsContext]);
106
+ const header_cssstyles = {
107
+ header_outercontainer: css({
108
+ position: sectionproperties.headerstyles_position,
109
+ justifyContent: 'center',
110
+ marginTop: sectionproperties.header_marginTop + 'px',
111
+ marginBottom: sectionproperties.header_marginBottom + 'px',
112
+ width: sectionproperties.header_width + 'vw',
113
+ maxWidth: '100vw',
114
+ top: 0,
115
+ }),
116
+ header_innercontainer: css({
117
+ backgroundColor:
118
+ sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home'
119
+ ? scrollYposittionprops > 300
120
+ ? sectionproperties.header_backgroundColor
121
+ : 'transparent'
122
+ : sectionproperties.header_backgroundColor,
123
+ // backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
124
+ borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
125
+ paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
126
+ paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
127
+ paddingTop: sectionproperties.header_paddingTop + 'px',
128
+ paddingBottom: sectionproperties.header_paddingBottom + 'px',
129
+ }),
130
+ navbar_item_text: css({
131
+ color: sectionproperties.header_fontColor,
132
+ fontSize: sectionproperties.header_fontSize + 'px',
133
+ textTransform: sectionproperties.header_textTransform,
134
+ fontWeight: sectionproperties.header_textfontweight,
135
+ ':hover:after': {
136
+ background: sectionproperties.header_fontColoronhover,
137
+ },
138
+ ':hover': {
139
+ color: sectionproperties.header_fontColoronhover,
140
+ },
141
+ }),
142
+ dropdownitem: css({
143
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
144
+ color: sectionproperties.dropdown_color,
145
+ fontWeight: sectionproperties.dropdown_fontweight,
146
+ textTransform: sectionproperties.dropdown_texttransform,
147
+ padding: '0.3rem 0.8rem',
148
+ transition: '.3s',
149
+ ':hover': {
150
+ color: sectionproperties.dropdown_hovercolor,
151
+ },
152
+ }),
153
+ dropdownitemcontainer: css({
154
+ zIndex: 1000,
155
+ transition: '.3s',
156
+ ':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
157
+ }),
158
+ wishlist_btn: css({
159
+ width: sectionproperties.favBtnWidth + 'px',
160
+ height: sectionproperties.favBtnHeight + 'px',
161
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
162
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
163
+ color: sectionproperties.favBtniconcolor,
164
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
165
+ transition: '.3s',
166
+ ':hover': {
167
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
168
+ color: sectionproperties.favBtnTextcoloronhover,
169
+ borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
170
+ },
171
+ }),
172
+ cart_btn: css({
173
+ width: sectionproperties.cartBtnWidth + 'px',
174
+ height: sectionproperties.cartBtnHeight + 'px',
175
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
176
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
177
+ color: sectionproperties.cart_iconcolor,
178
+ textTransform: sectionproperties.cartBtnTexttransform,
179
+ fontWeight: sectionproperties.cartBtnTextfontweight,
180
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
181
+ transition: '.3s',
182
+ position: 'relative',
183
+ cursor: 'pointer',
184
+ ':hover': {
185
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
186
+ borderColor: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.cartBtnTextcoloronhover : sectionproperties.cartBtnbgColoronhover,
187
+ color: sectionproperties.cartBtnTextcoloronhover,
188
+ },
189
+ }),
190
+ user_btn: css({
191
+ background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
192
+ width: sectionproperties.userBtnWidth + 'px',
193
+ height: sectionproperties.userBtnHeight + 'px',
194
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
195
+ color: sectionproperties.userBtniconcolor,
196
+ fontSize: sectionproperties.userBtniconfontsize + 'px',
197
+ border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
198
+ cursor: 'pointer',
199
+ transition: '.3s',
200
+ ':hover': {
201
+ color: sectionproperties.userBtnTextcoloronhover,
202
+ background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
203
+ borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
204
+ },
205
+ }),
206
+ loggedinusername: css({
207
+ fontWeight: sectionproperties.userBtnTextfontweight,
208
+ textTransform: sectionproperties.userBtnTexttransform,
209
+ color: sectionproperties.userBtnTextcolor,
210
+ fontSize: sectionproperties.userBtntextfontsize + 'px',
211
+ lineHeight: sectionproperties.userBtntextfontsize + 'px',
212
+ transition: '.3s',
213
+ }),
214
+ loggedinuserbtn: css({
215
+ width: sectionproperties.loggedinuserbtn_width + 'px',
216
+ height: sectionproperties.loggedinuserbtn_height + 'px',
217
+ border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
218
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
219
+ background: sectionproperties.userBtnbgColor_loggedin,
220
+ color: sectionproperties.userBtniconcolor_loggedin,
221
+ transition: '.3s',
222
+ ':hover': {
223
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
224
+ },
225
+ }),
226
+ userBtnLoggedinContainer: css({
227
+ transition: '.3s',
228
+ ':hover .loggedinuserbtn': {
229
+ transition: '.3s',
230
+ color: sectionproperties.userBtnTextcoloronhover_loggedin,
231
+ borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
232
+ },
233
+ ':hover .loggedinuserbtnbg': {
234
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
235
+ color: sectionproperties.userbtn_loggedin_iconcoloronhover,
236
+ },
237
+ }),
238
+ header_logo: css({
239
+ width: templateproperties_context.logo_width + 'px',
240
+ height: templateproperties_context.logo_height + 'px',
241
+ }),
242
+ searchbarcont: css({
243
+ position: 'relative',
244
+ width: sectionproperties.searchbarcont_width + 'px',
245
+ height: sectionproperties.searchbarcont_height + 'px',
246
+ background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
247
+ borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
248
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
249
+ color: sectionproperties.searchbarcont_color,
250
+ cursor: 'pointer',
251
+ transition: '.3s',
252
+ ':hover': {
253
+ background: sectionproperties.searchbarcont_transparentbghover == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bghover,
254
+ borderColor: sectionproperties.searchbarcontcoloronhover,
255
+ color: sectionproperties.searchbarcontcoloronhover,
256
+ },
257
+ }),
258
+ searchbar_icon_cont: css({
259
+ position: 'absolute',
260
+ right: langdetect == 'en' ? sectionproperties.searchbaricon_right + 'px' : '',
261
+ left: langdetect == 'en' ? '' : sectionproperties.searchbaricon_right + 'px',
262
+ bottom: sectionproperties.searchbaricon_bottom + 'px',
263
+ margin: 'auto',
264
+ display: 'flex',
265
+ justifyContent: 'center',
266
+ alignItems: 'center',
267
+ textAlign: 'center',
268
+ width: sectionproperties.searchbaricon_width + 'px',
269
+ height: sectionproperties.searchbaricon_height + 'px',
270
+ borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
271
+ color: sectionproperties.searchbaricon_color,
272
+ backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
273
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
274
+ }),
275
+ searchbarcont_input: css({
276
+ height: '45px',
277
+ outline: 'none',
278
+ border: 'none',
279
+ transition: '0.3s',
280
+ color: sectionproperties.searchbarcontinput_color,
281
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
282
+ fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
283
+ paddingLeft: langdetect == 'en' ? '5px' : '60px',
284
+ paddingRight: langdetect == 'en' ? '60px' : '5px',
285
+ ':focus': {
286
+ borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_bordercoloronfocus,
287
+ },
288
+ }),
289
+ badge_counter_header_notifications: css({
290
+ background: sectionproperties.badge_bgcolor,
291
+ width: sectionproperties.badge_width + 'px',
292
+ height: sectionproperties.badge_height + 'px',
293
+ color: sectionproperties.badge_color,
294
+ borderRadius: sectionproperties.badge_borderradius + 'px',
295
+ fontSize: sectionproperties.badge_fontsize + 'px',
296
+ top: sectionproperties.badge_top + 'px',
297
+ right: sectionproperties.badge_right + 'px',
298
+ }),
299
+ languagecontainer: css({
300
+ fontWeight: 600,
301
+ color: sectionproperties.language_container_color,
302
+ fontSize: sectionproperties.language_container_fontsize + 'px',
303
+ cursor: 'pointer',
304
+ transition: '.3s',
305
+ ':hover': {
306
+ color: sectionproperties.language_container_coloronhover,
307
+ },
308
+ }),
309
+ fbbtn: css({
310
+ color: sectionproperties.facebkbtnnTextcolor,
311
+ transition: '.3s',
312
+ ':hover': {
313
+ color: sectionproperties.facebkbtnnTextcoloronhover,
314
+ },
315
+ }),
316
+ instagrambtn: css({
317
+ color: sectionproperties.instgrambtnTextcolor,
318
+ transition: '.3s',
319
+ ':hover': {
320
+ color: sectionproperties.instgrambtnTextcoloronhover,
321
+ },
322
+ }),
323
+ whatsapp_btn: css({
324
+ color: sectionproperties.youtubebtnTextcolor,
325
+ transition: '.3s',
326
+ ':hover': {
327
+ color: sectionproperties.youtubebtnTextcoloronhover,
328
+ },
329
+ }),
330
+ upperheadertext: css({
331
+ fontSize: sectionproperties.uppersection_titlefontsize + 'px',
332
+ color: sectionproperties.uppersection_titlecolor,
333
+ fontWeight: sectionproperties.uppersection_titlefontweight,
334
+ textTransform: sectionproperties.uppersection_titletextransform,
335
+ transition: '.3s',
336
+ ':hover': {
337
+ color: sectionproperties.upperheadercoloronhover,
338
+ },
339
+ }),
340
+ categorybtn: css({
341
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
342
+ width: sectionproperties.generalbtn_width + 'px',
343
+ maxWidth: '100%',
344
+ height: sectionproperties.generalbtn_height + 'px',
345
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
346
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
347
+ color: sectionproperties.generalbtn_textColor,
348
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
349
+ fontWeight: sectionproperties.generalbtn_fontweight,
350
+ // background: '#003b42',
351
+ // width: '100%',
352
+ // height: 40,
353
+ // borderRadius: 10,
354
+ // color: 'white',
355
+ // fontSize: 14,
356
+ transition: '.3s',
357
+ ':hover': {
358
+ color: sectionproperties.generalbtn_textColoronhover,
359
+ backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
360
+ // color: '#fff',
361
+ // backgroundColor: '#de5511',
362
+ },
363
+ }),
364
+ categoryname: css({
365
+ color: sectionproperties.subheader_categorytitle_fontColor,
366
+ fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
367
+ textTransform: sectionproperties.subheader_categorytitle_textTransform,
368
+ fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
369
+ color: '#003B42',
370
+ fontSize: 14,
371
+ fontWeight: 500,
372
+ transition: '.3s',
373
+ ':hover': {
374
+ color: sectionproperties.subheader_categorytitle_coloronhover,
375
+ color: '#de5511',
376
+ },
377
+ }),
378
+ parentcollection: css({
379
+ color: sectionproperties.subheader_collectiontitle_fontColor,
380
+ fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
381
+ textTransform: sectionproperties.subheader_collectiontitle_textTransform,
382
+ fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
383
+ transition: '.3s',
384
+ color: '#003B42',
385
+ fontSize: 14,
386
+ fontWeight: 500,
387
+
388
+ ':hover': {
389
+ color: sectionproperties.subheader_collectiontitle_coloronhover,
390
+ color: '#de5511',
391
+ },
392
+ }),
393
+ collectionName: css({
394
+ color: sectionproperties.collectionsectiontextcolor,
395
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
396
+ textTransform: sectionproperties.collectionsectiontexttransform,
397
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
398
+ transition: '.3s',
399
+ // color: '#003B42',
400
+ // fontSize: 14,
401
+ // fontWeight: 400,
402
+ ':hover': {
403
+ color: sectionproperties.collectionsectiontextcoloronhover,
404
+ // color: '#de5511',
405
+ },
406
+ }),
407
+ };
408
+
409
+ const ButtonDropdown = (item, index, fetchedarray) => {
410
+ var parentclassname = '';
411
+ if (sectionproperties.fetchparenttype == 'Categories') {
412
+ parentclassname = header_cssstyles.categoryname;
413
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
414
+ parentclassname = header_cssstyles.parentcollection;
415
+ } else {
416
+ parentclassname = header_cssstyles.collectionName;
417
+ }
418
+ return (
419
+ <li class="dropdown d-flex align-items-center w-100">
420
+ <div
421
+ class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
422
+ onMouseEnter={() => {
423
+ setChoosenindex(index);
424
+ }}
425
+ >
426
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
427
+ <p
428
+ class={' m-0 p-0 wordbreak wordbreak1 '}
429
+ onClick={() => {
430
+ if (sectionproperties.fetchparenttype == 'Categories') {
431
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
432
+ } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
433
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
434
+ } else {
435
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
436
+ }
437
+ }}
438
+ style={{
439
+ textAlign: langdetect == 'en' ? 'left' : 'right',
440
+ }}
441
+ >
442
+ {langdetect == 'en' ? item.title_en : item.title_ar}
443
+ </p>
444
+ </div>
445
+ {/* {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions.length != 0 && ( */}
446
+ {sectionproperties.fetchparenttype != 'Collections' && (
447
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
448
+ <i className={' p-0 h-100 allcentered '}>
449
+ {langdetect == 'en' ? (
450
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
451
+ ) : (
452
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
453
+ )}
454
+ </i>
455
+ </div>
456
+ )}
457
+ {/* )} */}
458
+ </div>
459
+ {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
460
+ <ul>
461
+ {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
462
+ <li class="dropdown d-flex align-items-center w-100">
463
+ <div
464
+ class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
465
+ onClick={() => {
466
+ if (sectionproperties.fetchparenttype == 'Categories') {
467
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
468
+ } else {
469
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
470
+ }
471
+ }}
472
+ >
473
+ <div class="row m-0 w-100">
474
+ <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
475
+ <p
476
+ class={' m-0 p-0 wordbreak wordbreak1 '}
477
+ style={{
478
+ textAlign: langdetect == 'en' ? 'left' : 'right',
479
+ }}
480
+ >
481
+ {langdetect == 'en' ? item.title_en : item.title_ar}
482
+ </p>
483
+ </div>
484
+ {item?.collections.length != 0 && (
485
+ <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
486
+ <i className={' p-0 h-100 allcentered '}>
487
+ {langdetect == 'en' ? (
488
+ <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
489
+ ) : (
490
+ <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
491
+ )}
492
+ </i>
493
+ </div>
494
+ )}
495
+ </div>
496
+ </div>
497
+ {item?.collections.length != 0 && (
498
+ <ul>
499
+ {item?.collections?.map((item, index) => {
500
+ return (
501
+ <li
502
+ class={header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
503
+ onClick={() => {
504
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
505
+ }}
506
+ style={{
507
+ textAlign: langdetect == 'en' ? 'left' : 'right',
508
+ }}
509
+ >
510
+ {langdetect == 'en' ? item.title_en : item.title_ar}
511
+ </li>
512
+ );
513
+ })}
514
+ </ul>
515
+ )}
516
+ </li>
517
+ ))}
518
+ </ul>
519
+ )}
520
+ {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
521
+ <ul>
522
+ {pcollarray[Choosenindex]?.collections?.map((item, index) => (
523
+ <li class="dropdown d-flex align-items-center w-100">
524
+ <div
525
+ class={header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer '}
526
+ onClick={() => {
527
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
528
+ }}
529
+ >
530
+ <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
531
+ <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
532
+ </div>
533
+ </div>
534
+ </li>
535
+ ))}
536
+ </ul>
537
+ )}
538
+ </li>
539
+ );
540
+ };
541
+ return (
542
+ <div class={' row m-0 w-100 d-flex justify-content-center align-items-center '} style={{ position: 'relative', zIndex: 1000 }}>
543
+ {sectionproperties.showwhatsapp == 'Show' && (
544
+ <>
545
+ <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
546
+ <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
547
+ <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
548
+ </i>
549
+ </a>
550
+ <a
551
+ href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
552
+ target={'_blank'}
553
+ style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
554
+ >
555
+ <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
556
+ </a>
557
+ </>
558
+ )}
559
+ <div class="col-lg-12 p-0 ">
560
+ <div class={`${header_cssstyles.header_outercontainer}` + ' d-flex d-md-none row ml-0 mr-0 mx-auto '}>
561
+ {sectionproperties.showdownloadapp == 'Show' && (
562
+ <div class="w-100 d-flex d-md-none">
563
+ <DownloadApp sectionpropertiesprops={sectionproperties} actions={actions} />
564
+ </div>
565
+ )}
566
+ {templateproperties_context.showtextslider == 'Show' && (
567
+ <div class="col-lg-12 p-0 d-flex d-md-none">
568
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
569
+ </div>
570
+ )}
571
+ {sectionproperties.showupperheadersection == 'Show' && (
572
+ <div
573
+ class="col-lg-12"
574
+ style={{
575
+ paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
576
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
577
+ paddingTop: sectionproperties.uppersection_paddingtop + 'px',
578
+ paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
579
+ // background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
580
+ backgroundColor:
581
+ sectionproperties.uppersection_bgcolortransparent == 'Transparent' && window.location.pathname == '/home'
582
+ ? scrollYposittionprops > 300
583
+ ? sectionproperties.uppersection_bgcolor
584
+ : 'transparent'
585
+ : sectionproperties.uppersection_bgcolor,
586
+ }}
587
+ >
588
+ <div class="row m-0 w-100">
589
+ <div class="col-lg-6 d-flex align-items-center">
590
+ {sectionproperties.fbbtn_show == 'Show' && (
591
+ <FaFacebookF
592
+ class={header_cssstyles.fbbtn + ' cursor-pointer ml-3 mr-3 '}
593
+ onClick={() => {
594
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
595
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
596
+ }
597
+ }}
598
+ size={sectionproperties.facebkbtnniconfontsize}
599
+ />
600
+ )}
601
+ {sectionproperties.instbtn_show == 'Show' && (
602
+ <AiOutlineInstagram
603
+ class={header_cssstyles.instagrambtn + ' cursor-pointer ml-3 mr-3 '}
604
+ onClick={() => {
605
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
606
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
607
+ }
608
+ }}
609
+ size={sectionproperties.instgrambtniconfontsize}
610
+ />
611
+ )}
612
+ {sectionproperties.youtbtn_show == 'Show' && (
613
+ <FaWhatsapp
614
+ class={header_cssstyles.whatsapp_btn + ' cursor-pointer ml-3 mr-3 '}
615
+ onClick={() => {
616
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
617
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
618
+ }
619
+ }}
620
+ size={sectionproperties.youtubebtniconfontsize}
621
+ />
622
+ )}
623
+ <p
624
+ class={header_cssstyles.upperheadertext + ' m-0 p-0 cursor-pointer ml-3 mr-3 '}
625
+ onClick={() => {
626
+ routingcountext(StaticPagesLinksContext.Wishlist);
627
+ }}
628
+ >
629
+ {lang.wishlist}
630
+ </p>
631
+ <p
632
+ class={header_cssstyles.upperheadertext + ' m-0 p-0 cursor-pointer ml-3 mr-3 '}
633
+ onClick={() => {
634
+ routingcountext(StaticPagesLinksContext.Policies);
635
+ }}
636
+ >
637
+ {lang.policies}
638
+ </p>
639
+ </div>
640
+ <div class="col-lg-6 d-flex align-items-center justify-content-end">
641
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
642
+ {sectionproperties.languagecontainertype == 'Dropdown' && sectionproperties.showlanuagecontainer == 'Show' && (
643
+ <Dropdown>
644
+ <Dropdown.Toggle>
645
+ <li class={' d-flex align-items-center justify-content-center '}>
646
+ {langdetect == 'en' && (
647
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
648
+ <p class="m-0 p-0 mr-2">English</p>
649
+ <MdKeyboardArrowDown />
650
+ </div>
651
+ )}
652
+ {langdetect == 'ar' && (
653
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
654
+ <p class="m-0 p-0 ml-2">لغة عربية</p>
655
+ <MdKeyboardArrowDown />
656
+ </div>
657
+ )}
658
+ </li>
659
+ </Dropdown.Toggle>
660
+ <Dropdown.Menu>
661
+ <Dropdown.Item
662
+ onClick={() => {
663
+ setlang('ar');
664
+ }}
665
+ >
666
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
667
+ <p
668
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
669
+ style={{
670
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
671
+ fontWeight: sectionproperties.dropdown_fontweight,
672
+ textTransform: sectionproperties.dropdown_texttransform,
673
+ }}
674
+ >
675
+ {/* <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} /> */}
676
+ <span class={'ml-2 mr-2'}>{lang.arabic}</span>
677
+ </p>
678
+ </div>
679
+ </Dropdown.Item>
680
+ <Dropdown.Divider></Dropdown.Divider>
681
+ <Dropdown.Item
682
+ onClick={() => {
683
+ setlang('en');
684
+ }}
685
+ >
686
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
687
+ <p
688
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
689
+ style={{
690
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
691
+ fontWeight: sectionproperties.dropdown_fontweight,
692
+ textTransform: sectionproperties.dropdown_texttransform,
693
+ }}
694
+ >
695
+ {/* <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} /> */}
696
+ <span class={'ml-2 mr-2'}>{lang.english}</span>
697
+ </p>
698
+ </div>
699
+ </Dropdown.Item>
700
+ </Dropdown.Menu>
701
+ </Dropdown>
702
+ )}
703
+ {sectionproperties.languagecontainertype != 'Dropdown' && sectionproperties.showlanuagecontainer == 'Show' && (
704
+ <div class="w-100">
705
+ {langdetect == 'ar' && (
706
+ <div
707
+ class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}
708
+ onClick={() => {
709
+ setlang('en');
710
+ }}
711
+ >
712
+ <p class="m-0 p-0 mr-2">English</p>
713
+ <MdKeyboardArrowDown />
714
+ </div>
715
+ )}
716
+ {langdetect == 'en' && (
717
+ <div
718
+ class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}
719
+ onClick={() => {
720
+ setlang('ar');
721
+ }}
722
+ >
723
+ <p class="m-0 p-0 ml-2">لغة عربية</p>
724
+ <MdKeyboardArrowDown />
725
+ </div>
726
+ )}
727
+ </div>
728
+ )}
729
+ </div>
730
+ </div>
731
+ </div>
732
+ </div>
733
+ )}
734
+ <div class={`${headerstyles.header_innercontainer} ${header_cssstyles.header_innercontainer}` + ' row m-0 w-100 d-flex align-items-center px-1024-1 '} style={{ zIndex: 2 }}>
735
+ <div class="col-lg-5 p-0 d-flex align-items-center justify-content-start h-100">
736
+ {/* {sectionproperties.showhidesubheader == 'Hide' || */}
737
+ {/* (sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && ( */}
738
+ <div class="row m-0 w-100">
739
+ {sectionproperties.generalbtn_show == 'Show' && (
740
+ <div
741
+ class={'col-lg-3 col-xl-4 d-flex align-items-center justify-content-start '}
742
+ onClick={() => {
743
+ setdropdownselect(!dropdownselect);
744
+ }}
745
+ >
746
+ <div
747
+ class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
748
+ style={{
749
+ zIndex: 100000,
750
+ }}
751
+ >
752
+ <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
753
+ <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
754
+ <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
755
+ {langdetect == 'en' ? 'Products' : 'المنتجات'}
756
+ {/* {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar} */}
757
+ </div>
758
+ <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
759
+ <i class="h-100 d-flex align-items-center justify-content-end">
760
+ {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
761
+ </i>
762
+ </div>
763
+ </div>
764
+ <ul
765
+ class="mt-2"
766
+ sytle={{
767
+ width: '200px',
768
+ }}
769
+ >
770
+ {sectionproperties.fetchparenttype == 'Categories' &&
771
+ authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
772
+ var fetchedarray = authdetailsContext?.instinfo?.instcategories;
773
+ if (item.isshowntocustomers == 1) {
774
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
775
+ }
776
+ })}
777
+ {/* sectionproperties.fetchparenttype == 'Parent Collections' */}
778
+ {sectionproperties.fetchparenttype == 'Parent Collections' &&
779
+ pcollarray?.map((item, index) => {
780
+ var fetchedarray = pcollarray;
781
+ if (item.isshowntocustomers == 1) {
782
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
783
+ }
784
+ })}
785
+ {sectionproperties.fetchparenttype == 'Collections' &&
786
+ authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
787
+ var fetchedarray = authdetailsContext?.instinfo?.instcollections;
788
+ if (item.isshowntocustomers == 1) {
789
+ return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
790
+ }
791
+ })}
792
+ </ul>
793
+ </li>
794
+ </div>
795
+ </div>
796
+ )}
797
+
798
+ <div class={sectionproperties.generalbtn_show == 'Show' ? 'col-xl-8 col-lg-9' : 'col-12'}>
799
+ <div
800
+ class={' scrollhorizontal w-100 align-items-center h-100 '}
801
+ style={{
802
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
803
+ }}
804
+ >
805
+ {templatepropcontext.pagesnprop.map((item, index) => {
806
+ var activeclass = '';
807
+ var pagedisabled = '';
808
+ if (item.isselected) {
809
+ activeclass = headerstyles.navbar_item_active;
810
+ }
811
+ if (item.isnavigation == 1 && item.isactive == 1) {
812
+ return (
813
+ <div
814
+ class="scrollhorizontalcard"
815
+ style={{
816
+ marginLeft: langdetect == 'en' ? 0 : '20px',
817
+ marginRight: langdetect == 'en' ? '20px' : 0,
818
+ position: 'relative',
819
+ }}
820
+ onClick={() => {
821
+ routingcountext(item.navigationroute, false, '');
822
+ }}
823
+ >
824
+ <div class={`${headerstyles.navbar_item} ${activeclass}`}>
825
+ <span class={`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text}`}>
826
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
827
+ </span>
828
+ </div>
829
+ </div>
830
+ );
831
+ }
832
+ })}
833
+ </div>
834
+ </div>
835
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
836
+ <div class={sectionproperties.generalbtn_show == 'Show' ? 'col-xl-8 col-lg-9' : 'col-12'}>
837
+ <Subheader
838
+ sectionpropertiesprops={sectionproperties}
839
+ subheaderpropertiesprops={{
840
+ subheaderpositionprops: 'in nav',
841
+ paddingLeftprops: '10px',
842
+ paddingRightprops: '10px',
843
+ subheadercontentpositionprops: langdetect == 'en' ? 'left' : 'right',
844
+ }}
845
+ actions={actions}
846
+ />
847
+ </div>
848
+ )}
849
+ </div>
850
+ </div>
851
+
852
+ <div class="col-lg-2 p-0 d-flex align-items-center justify-content-center">
853
+ <div
854
+ class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
855
+ style={{ cursor: 'pointer' }}
856
+ onClick={() => {
857
+ routingcountext('home');
858
+ }}
859
+ >
860
+ <Imagekitimagecomp
861
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
862
+ publicKey={ikimagecredcontext?.ikimagepublickey}
863
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
864
+ style={{
865
+ maxWidth: '100%',
866
+ maxHeight: '100%',
867
+ }}
868
+ />
869
+ </div>
870
+ </div>
871
+
872
+ <div class="col-lg-5 d-flex align-items-center justify-content-end p-0">
873
+ {sectionproperties.searchbar_show == 'Show' && (
874
+ <div
875
+ class="col-lg-4 p-0 d-flex justify-content-end align-items-center"
876
+ onClick={() => {
877
+ setSearchHeaderInputContext('');
878
+ }}
879
+ style={{
880
+ marginRight: sectionproperties.ShowUserBtn == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
881
+ marginLeft: sectionproperties.ShowUserBtn == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
882
+ }}
883
+ >
884
+ <div class="row m-0 w-100 d-flex justify-content-end align-items-center">
885
+ <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
886
+ <input
887
+ class={`${headerstyles.searchbar} ${header_cssstyles.searchbarcont_input}`}
888
+ placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
889
+ onChange={(event) => {
890
+ setSearchHeaderInputContext(event.target.value);
891
+ }}
892
+ style={{
893
+ right: langdetect == 'en' ? 0 : '',
894
+ left: langdetect == 'en' ? '' : 0,
895
+ }}
896
+ />
897
+ <div class={`${header_cssstyles.searchbarcont}` + ' d-flex justify-content-center align-items-center '}>
898
+ <i class={headerstyles.searchbaractive + ' h-100 d-flex align-items-center'}>
899
+ <BiSearch
900
+ size={sectionproperties.searchbarcontfontsize}
901
+ style={{
902
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
903
+ }}
904
+ />
905
+ </i>
906
+ </div>
907
+ </div>
908
+ <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
909
+ <Searchlist actions={actions} sectionpropertiesprops={sectionproperties} srcfromprops={'header-300'} headernameprops={'Header_threesectionslogocentered'} />
910
+ </div>
911
+ </div>
912
+ </div>
913
+ )}
914
+ {sectionproperties.ShowUserBtn == 'Show' && (
915
+ <div
916
+ style={{
917
+ marginRight: sectionproperties.favBtnShow == 'Show' ? (langdetect == 'en' ? '1.5rem' : '1.2rem') : 0,
918
+ marginLeft: sectionproperties.favBtnShow == 'Show' ? (langdetect == 'en' ? '1.2rem' : '1.5rem') : 0,
919
+ }}
920
+ >
921
+ <Dropdown>
922
+ <Dropdown.Toggle>
923
+ {!authdetailsContext.loggedin && (
924
+ <div class={' d-flex justify-content-center align-items-center '}>
925
+ <span class={` ${header_cssstyles.user_btn}` + ' d-flex justify-content-center align-items-center '}>
926
+ <FiUser size={sectionproperties.userBtniconfontsize} />
927
+ </span>
928
+ </div>
929
+ )}
930
+ {authdetailsContext.loggedin && (
931
+ <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
932
+ <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
933
+ <i class={' h-100 allcentered '}>
934
+ <FiUser size={sectionproperties.loggedinusericonfontsize} />
935
+ </i>
936
+ </div>
937
+ <div
938
+ class="m-0 p-0 loggedinuserbtn flex-column"
939
+ style={{
940
+ textAlign: langdetect == 'en' ? 'left' : 'right',
941
+ }}
942
+ >
943
+ <p
944
+ class="m-0 p-0"
945
+ style={{
946
+ color: sectionproperties.greetingtextcolor,
947
+ fontSize: sectionproperties.greetingtextfontsize + 'px',
948
+ lineHeight: sectionproperties.greetingtextfontsize + 'px',
949
+ fontWeight: 400,
950
+ }}
951
+ >
952
+ {lang.hello}
953
+ {langdetect == 'en' ? ',' : '،'}
954
+ </p>
955
+ <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '} style={{ maxWidth: '60px' }}>
956
+ {authdetailsContext.customerinfo.name}
957
+ </p>
958
+ </div>
959
+ </div>
960
+ )}
961
+ </Dropdown.Toggle>
962
+ {!authdetailsContext.loggedin && (
963
+ <Dropdown.Menu>
964
+ <Dropdown.Item
965
+ onClick={() => {
966
+ routingcountext(StaticPagesLinksContext.Login);
967
+ }}
968
+ >
969
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
970
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
971
+ <AiOutlineLogin />
972
+ <span class="ml-2 mr-2">{lang.login}</span>
973
+ </p>
974
+ </div>
975
+ </Dropdown.Item>
976
+ <Dropdown.Divider></Dropdown.Divider>
977
+ <Dropdown.Item
978
+ onClick={() => {
979
+ routingcountext(StaticPagesLinksContext.Signup);
980
+ }}
981
+ >
982
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
983
+ <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
984
+ <AiOutlineUserAdd />
985
+ <span class="ml-2 mr-2 text-transform-none">{lang.signup}</span>
986
+ </p>
987
+ </div>
988
+ </Dropdown.Item>
989
+ </Dropdown.Menu>
990
+ )}
991
+ {authdetailsContext.loggedin && (
992
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
993
+ <Dropdown.Item>
994
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
995
+ <span
996
+ style={{
997
+ color: '#8fa0bd',
998
+ }}
999
+ >
1000
+ {lang.hello},
1001
+ </span>
1002
+ <span
1003
+ class={`${header_cssstyles.dropdownitem}` + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 '}
1004
+ onClick={() => {
1005
+ routingcountext(StaticPagesLinksContext.accountinfo);
1006
+ }}
1007
+ >
1008
+ {authdetailsContext.customerinfo.name}
1009
+ </span>
1010
+ </div>
1011
+ </Dropdown.Item>
1012
+ <Dropdown.Divider></Dropdown.Divider>
1013
+ {templateproperties_context.showprevorder == 'Show' && (
1014
+ <Dropdown.Item
1015
+ onClick={() => {
1016
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1017
+ }}
1018
+ >
1019
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1020
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1021
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
1022
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
1023
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
1024
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
1025
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
1026
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
1027
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
1028
+ <span class="ml-2 mr-2">{lang.orderhistory}</span>
1029
+ </p>
1030
+ </div>
1031
+ </Dropdown.Item>
1032
+ )}
1033
+ {templateproperties_context.showprevorder == 'Show' && <Dropdown.Divider></Dropdown.Divider>}
1034
+
1035
+ {authdetailsContext?.instinfo?.contactinfo.instid == '680e54786ead2' && (
1036
+ <Dropdown.Item
1037
+ onClick={() => {
1038
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1039
+ }}
1040
+ >
1041
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1042
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1043
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
1044
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
1045
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
1046
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
1047
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
1048
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
1049
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
1050
+ <span class="ml-2 mr-2">{lang.orderhistory}</span>
1051
+ </p>
1052
+ </div>
1053
+ </Dropdown.Item>
1054
+ )}
1055
+ {authdetailsContext?.instinfo?.contactinfo.instid == '680e54786ead2' && <Dropdown.Divider></Dropdown.Divider>}
1056
+
1057
+ <Dropdown.Item
1058
+ onClick={() => {
1059
+ routingcountext(StaticPagesLinksContext.Wishlist);
1060
+ }}
1061
+ >
1062
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1063
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1064
+ {sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
1065
+ {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
1066
+ <span class="ml-2 mr-2">{lang.wishlist}</span>
1067
+ </p>
1068
+ </div>
1069
+ </Dropdown.Item>
1070
+ <Dropdown.Divider></Dropdown.Divider>
1071
+ <Dropdown.Item
1072
+ onClick={() => {
1073
+ routingcountext(StaticPagesLinksContext.Policies);
1074
+ }}
1075
+ >
1076
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1077
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1078
+ <AiOutlineSecurityScan />
1079
+ <span class="ml-2 mr-2">{lang.policies}</span>
1080
+ </p>
1081
+ </div>
1082
+ </Dropdown.Item>
1083
+ <Dropdown.Divider></Dropdown.Divider>
1084
+ <Dropdown.Item
1085
+ onClick={() => {
1086
+ LogoutMutationContext.mutate();
1087
+ }}
1088
+ >
1089
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1090
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1091
+ <BiLogOutCircle />
1092
+ <span class="ml-2 mr-2">{lang.logout}</span>
1093
+ </p>
1094
+ </div>
1095
+ </Dropdown.Item>
1096
+ </Dropdown.Menu>
1097
+ )}
1098
+ </Dropdown>
1099
+ </div>
1100
+ )}
1101
+ {sectionproperties.favBtnShow == 'Show' && (
1102
+ <div
1103
+ class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center cursor-pointer '}
1104
+ onClick={() => {
1105
+ routingcountext(StaticPagesLinksContext.Wishlist);
1106
+ }}
1107
+ style={{
1108
+ marginRight: langdetect == 'en' ? '1.5rem' : 0,
1109
+ marginLeft: langdetect == 'ar' ? '1.5rem' : 0,
1110
+ }}
1111
+ >
1112
+ {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
1113
+ {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
1114
+ </div>
1115
+ )}
1116
+ {sectionproperties.cartBtnShow == 'Show' && (
1117
+ <div
1118
+ class={'d-flex align-items-center justify-content-end'}
1119
+ style={{
1120
+ marginRight: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'en' ? '1.5rem' : 0) : 0,
1121
+ marginLeft: sectionproperties.showupperheadersection == 'Hide' ? (langdetect == 'ar' ? '1.5rem' : 0) : 0,
1122
+ }}
1123
+ >
1124
+ <div
1125
+ class={`${header_cssstyles.cart_btn}` + ' allcentered '}
1126
+ onClick={() => {
1127
+ setsidecartnavshowcontext(true);
1128
+ }}
1129
+ >
1130
+ <div
1131
+ className={
1132
+ `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
1133
+ ' d-flex justify-content-center align-items-center '
1134
+ }
1135
+ >
1136
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1137
+ </div>
1138
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1139
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1140
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1141
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1142
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1143
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1144
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
1145
+ </div>
1146
+ </div>
1147
+ )}
1148
+ {sectionproperties.showupperheadersection == 'Hide' && sectionproperties.languagecontainertype == 'Dropdown' && sectionproperties.showlanuagecontainer == 'Show' && (
1149
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
1150
+ <Dropdown>
1151
+ <Dropdown.Toggle>
1152
+ <li class={' d-flex align-items-center justify-content-center '}>
1153
+ {langdetect == 'en' && (
1154
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1155
+ <p class="m-0 p-0 mr-2">English</p>
1156
+ <MdKeyboardArrowDown />
1157
+ </div>
1158
+ )}
1159
+ {langdetect == 'ar' && (
1160
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1161
+ <p class="m-0 p-0 ml-2">ع</p>
1162
+ <MdKeyboardArrowDown />
1163
+ </div>
1164
+ )}
1165
+ </li>
1166
+ </Dropdown.Toggle>
1167
+ <Dropdown.Menu>
1168
+ <Dropdown.Item
1169
+ onClick={() => {
1170
+ setlang('ar');
1171
+ }}
1172
+ >
1173
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1174
+ <p
1175
+ class={'dropdownitem d-flex align-items-center m-0 p-0'}
1176
+ style={{
1177
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1178
+ fontWeight: sectionproperties.dropdown_fontweight,
1179
+ textTransform: sectionproperties.dropdown_texttransform,
1180
+ }}
1181
+ >
1182
+ {/* <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} /> */}
1183
+ <span class={'ml-2 mr-2'}>عربي</span>
1184
+ </p>
1185
+ </div>
1186
+ </Dropdown.Item>
1187
+ <Dropdown.Divider></Dropdown.Divider>
1188
+ <Dropdown.Item
1189
+ onClick={() => {
1190
+ setlang('en');
1191
+ }}
1192
+ >
1193
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1194
+ <p
1195
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1196
+ style={{
1197
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1198
+ fontWeight: sectionproperties.dropdown_fontweight,
1199
+ textTransform: sectionproperties.dropdown_texttransform,
1200
+ }}
1201
+ >
1202
+ {/* <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} /> */}
1203
+ <span class={'ml-2 mr-2'}>English</span>
1204
+ </p>
1205
+ </div>
1206
+ </Dropdown.Item>
1207
+ </Dropdown.Menu>
1208
+ </Dropdown>
1209
+ </div>
1210
+ )}
1211
+ {sectionproperties.languagecontainertype != 'Dropdown' && sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && (
1212
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
1213
+ {langdetect == 'ar' && (
1214
+ <div
1215
+ class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}
1216
+ onClick={() => {
1217
+ setlang('en');
1218
+ }}
1219
+ >
1220
+ <p class="m-0 p-0 mr-2">English</p>
1221
+ <MdKeyboardArrowDown />
1222
+ </div>
1223
+ )}
1224
+ {langdetect == 'en' && (
1225
+ <div
1226
+ class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}
1227
+ onClick={() => {
1228
+ setlang('ar');
1229
+ }}
1230
+ >
1231
+ <p class="m-0 p-0 ml-2">لغة عربية</p>
1232
+ <MdKeyboardArrowDown />
1233
+ </div>
1234
+ )}
1235
+ </div>
1236
+ )}
1237
+ {/* here */}
1238
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
1239
+ <Dropdown>
1240
+ <Dropdown.Toggle>
1241
+ <li class={' d-flex align-items-center justify-content-center '}>
1242
+ {langdetect == 'en' && (
1243
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1244
+ <p class="m-0 p-0 mr-2 ml-2">{authdetailsContext?.currencyname_en}</p>
1245
+ <MdKeyboardArrowDown />
1246
+ </div>
1247
+ )}
1248
+ {langdetect == 'ar' && (
1249
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1250
+ <p class="m-0 p-0 ml-2 mr-2">{authdetailsContext?.currencyname_ar}</p>
1251
+ <MdKeyboardArrowDown />
1252
+ </div>
1253
+ )}
1254
+ </li>
1255
+ </Dropdown.Toggle>
1256
+ <Dropdown.Menu>
1257
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
1258
+ return (
1259
+ <Dropdown.Item
1260
+ onClick={() => {
1261
+ setcurrencyfunccontext(item);
1262
+ }}
1263
+ >
1264
+ <div class="row m-0 w-100">
1265
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
1266
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
1267
+ <p
1268
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1269
+ style={{
1270
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1271
+ fontWeight: sectionproperties.dropdown_fontweight,
1272
+ textTransform: sectionproperties.dropdown_texttransform,
1273
+ }}
1274
+ >
1275
+ {langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}
1276
+ </p>
1277
+ </div>
1278
+ </div>
1279
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
1280
+ <div class="col-lg-12 p-0">
1281
+ <hr class="m-0" />
1282
+ </div>
1283
+ )}
1284
+ </div>
1285
+ </Dropdown.Item>
1286
+ );
1287
+ })}
1288
+ </Dropdown.Menu>
1289
+ </Dropdown>
1290
+ )}
1291
+ </div>
1292
+ </div>
1293
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1294
+ <div class="col-lg-12 p-0">
1295
+ <Subheader
1296
+ sectionpropertiesprops={sectionproperties}
1297
+ actions={actions}
1298
+ subheaderpropertiesprops={{
1299
+ subheaderpositionprops: 'Full Width',
1300
+ paddingLeftprops: '35px',
1301
+ paddingRightprops: '35px',
1302
+ subheadercontentpositionprops: 'center',
1303
+ }}
1304
+ />
1305
+ </div>
1306
+ )}
1307
+ </div>
1308
+ <div className="col-lg-12 p-0">
1309
+ {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1310
+ {sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1311
+ {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1312
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1313
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1314
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1315
+ </div>
1316
+ </div>
1317
+ {authdetailsContext?.instinfo?.contactinfo.instid == '68a45ba763f8b' && (
1318
+ <div
1319
+ class={'allcentered'}
1320
+ style={{
1321
+ position: 'fixed',
1322
+ bottom: 100,
1323
+ right: 10,
1324
+ width: 45,
1325
+ height: 45,
1326
+ borderRadius: 100,
1327
+ color: 'white',
1328
+ background: '#000',
1329
+ }}
1330
+ onClick={() => {
1331
+ setsidecartnavshowcontext(true);
1332
+ }}
1333
+ >
1334
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1335
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1336
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1337
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1338
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1339
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1340
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
1341
+ </div>
1342
+ )}
1343
+ </div>
1344
+ );
1345
+ };
1346
+
1347
+ export default Header_threesectionslogocentered;