tabexseriescomponents 0.0.391 → 0.0.393

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 (310) hide show
  1. package/dist/index.cjs.js +211 -134
  2. package/dist/index.esm.js +211 -134
  3. package/dist/index.umd.js +211 -134
  4. package/package.json +1 -1
  5. package/src22-1/Contexts/LanguageContext.jsx +405 -0
  6. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +36 -0
  7. package/src22-1/Imagekitconfig.jsx +46 -0
  8. package/src22-1/StylesJS/Customstyles.js +344 -0
  9. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  10. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +282 -0
  11. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  12. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  13. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  14. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +627 -0
  15. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  16. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  17. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  18. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  19. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +246 -0
  20. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  21. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  22. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  23. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  24. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  25. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +180 -0
  26. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +546 -0
  27. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +142 -0
  28. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  29. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +379 -0
  30. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +543 -0
  31. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  32. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  33. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  34. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  35. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +519 -0
  36. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  37. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  38. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  39. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  40. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  41. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  42. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  43. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  44. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  45. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  46. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  47. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  48. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  49. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +598 -0
  50. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +390 -0
  51. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  52. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  53. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  54. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +493 -0
  55. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  56. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  57. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +596 -0
  58. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  59. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  60. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  61. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +415 -0
  62. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +400 -0
  63. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +457 -0
  64. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +563 -0
  65. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  66. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  67. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +473 -0
  68. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  69. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  70. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +584 -0
  71. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1244 -0
  87. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1052 -0
  88. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +895 -0
  89. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1213 -0
  90. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +780 -0
  92. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +771 -0
  93. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +1923 -0
  96. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +731 -0
  97. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +918 -0
  98. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +707 -0
  99. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +850 -0
  101. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1371 -0
  102. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +779 -0
  105. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  106. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +937 -0
  107. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +64 -0
  108. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +732 -0
  109. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  110. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1162 -0
  111. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +835 -0
  112. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +128 -0
  113. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  114. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +662 -0
  115. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  116. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  117. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1045 -0
  118. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  119. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  120. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  121. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  122. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +802 -0
  123. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  124. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  125. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +274 -0
  126. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  127. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  128. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +392 -0
  129. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +291 -0
  130. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  131. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +266 -0
  132. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  133. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +414 -0
  134. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  135. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  136. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +421 -0
  137. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +364 -0
  138. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  139. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  140. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  141. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1532 -0
  142. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +480 -0
  143. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  144. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  145. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +682 -0
  146. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +635 -0
  147. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +920 -0
  148. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +517 -0
  149. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  150. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +325 -0
  151. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  152. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  153. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  154. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +757 -0
  155. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  156. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +633 -0
  157. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  158. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  159. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  160. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +400 -0
  161. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  162. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  163. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  164. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  165. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +331 -0
  166. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  167. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +603 -0
  168. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  169. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  170. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  171. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  172. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +547 -0
  173. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  174. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +612 -0
  175. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +396 -0
  176. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  177. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  178. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  179. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +780 -0
  180. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  181. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  182. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +1673 -0
  183. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  184. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  185. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  186. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +439 -0
  187. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  188. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  189. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +1845 -0
  190. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  191. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  192. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  193. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  194. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  195. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  196. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +146 -0
  197. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1568 -0
  198. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  199. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +113 -0
  200. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  201. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  202. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +130 -0
  203. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  204. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +310 -0
  205. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  206. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1270 -0
  207. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  208. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  209. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1729 -0
  210. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +552 -0
  211. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +754 -0
  212. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +491 -0
  213. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  214. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  215. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +113 -0
  216. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  217. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +358 -0
  218. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  219. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  220. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  221. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1344 -0
  222. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  223. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +290 -0
  224. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  225. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  226. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  227. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  228. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  229. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  230. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  231. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +555 -0
  232. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  233. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  234. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  235. package/src22-1/button.jsx +40 -0
  236. package/src22-1/index.jsx +327 -0
  237. package/src22-1/styles/Home.module.css +129 -0
  238. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +14 -0
  239. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  240. package/src22-1/styles/cards/Categorycard_withshapes.module.css +189 -0
  241. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  242. package/src22-1/styles/cards/Productcard6.module.css +9 -0
  243. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  244. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  245. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  246. package/src22-1/styles/cards/card23.module.css +60 -0
  247. package/src22-1/styles/cards/categorycard.module.css +84 -0
  248. package/src22-1/styles/cards/categorycard3.module.css +50 -0
  249. package/src22-1/styles/cards/categorycardwithtext.module.css +40 -0
  250. package/src22-1/styles/cards/generalCardsStyles.module.css +79 -0
  251. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +139 -0
  252. package/src22-1/styles/cards/productcard_with_textonhover.module.css +18 -0
  253. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  254. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  255. package/src22-1/styles/general/bootstrap.css +4763 -0
  256. package/src22-1/styles/general/dropdown.css +206 -0
  257. package/src22-1/styles/general/editorbardropdown.module.css +94 -0
  258. package/src22-1/styles/general/filter.module.css +108 -0
  259. package/src22-1/styles/general/form.module.css +255 -0
  260. package/src22-1/styles/general/general.module.css +872 -0
  261. package/src22-1/styles/general/image-gallery.css +531 -0
  262. package/src22-1/styles/general/react-accessible-accordion.module.css +52 -0
  263. package/src22-1/styles/general/react-phone-input-2.module.css +927 -0
  264. package/src22-1/styles/general/scrollbtn.module.css +22 -0
  265. package/src22-1/styles/general/slick.module.css +166 -0
  266. package/src22-1/styles/general/tabs.module.css +119 -0
  267. package/src22-1/styles/general/workplaceeditor.module.css +328 -0
  268. package/src22-1/styles/globals.css +26 -0
  269. package/src22-1/styles/headers/CTAHeader.module.css +40 -0
  270. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  271. package/src22-1/styles/headers/Gotoheader.module.css +81 -0
  272. package/src22-1/styles/headers/Header7.module.css +50 -0
  273. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +86 -0
  274. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  275. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  276. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  277. package/src22-1/styles/headers/NewHeader.module.css +101 -0
  278. package/src22-1/styles/headers/SearchFocusedHeader.module.css +62 -0
  279. package/src22-1/styles/headers/Sideheader.module.css +108 -0
  280. package/src22-1/styles/headers/Simpleheader.module.css +102 -0
  281. package/src22-1/styles/headers/classicheader.module.css +16 -0
  282. package/src22-1/styles/headers/classicheaderstyles.module.css +9 -0
  283. package/src22-1/styles/headers/dropdown.css +0 -0
  284. package/src22-1/styles/headers/header4.module.css +175 -0
  285. package/src22-1/styles/headers/header5.module.css +30 -0
  286. package/src22-1/styles/headers/header_contactinfo.module.css +53 -0
  287. package/src22-1/styles/headers/headerresturant.module.css +89 -0
  288. package/src22-1/styles/headers/modernheader.module.css +45 -0
  289. package/src22-1/styles/headers/stylishheader.module.css +24 -0
  290. package/src22-1/styles/headers/subheader.module.css +114 -0
  291. package/src22-1/styles/headers/threetieredheader.module.css +91 -0
  292. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +4 -0
  293. package/src22-1/styles/sections/Backgroundimage1.module.css +17 -0
  294. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  295. package/src22-1/styles/sections/Freetext.module.css +18 -0
  296. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +49 -0
  297. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  298. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  299. package/src22-1/styles/staticpages/accordion.module.css +9 -0
  300. package/src22-1/styles/staticpages/cart.module.css +108 -0
  301. package/src22-1/styles/staticpages/dropdown.css +196 -0
  302. package/src22-1/styles/staticpages/filter.module.css +139 -0
  303. package/src22-1/styles/staticpages/image-gallery.css +481 -0
  304. package/src22-1/styles/staticpages/login.module.css +155 -0
  305. package/src22-1/styles/staticpages/productinfo.module.css +54 -0
  306. package/src22-1/styles/staticpages/shop.module.css +191 -0
  307. package/src22-1/styles/staticpages/signup.module.css +250 -0
  308. package/src22-1/styles/staticpages/staticroutersidenav.module.css +129 -0
  309. package/src22-1/styles/staticpages/viewcart.module.css +129 -0
  310. package/src22-1/styles/staticpages/wishlist.module.css +29 -0
package/dist/index.cjs.js CHANGED
@@ -1223,7 +1223,7 @@ var Login = function Login(props) {
1223
1223
  }, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
1224
1224
  };
1225
1225
 
1226
- var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n transform: scale(1.05);\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW:before {\n display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white;\n}\n.productinfo-module_color_container__c42a9:hover {\n transform: scale(1.1);\n}\n";
1226
+ var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW:before {\n display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white;\n}\n.productinfo-module_color_container__c42a9:hover {\n transform: scale(1.1);\n}\n";
1227
1227
  var productinfostyles = {"variant_container":"productinfo-module_variant_container__-y4Uc","size_variant_container":"productinfo-module_size_variant_container__vuTAO","variant_container_active":"productinfo-module_variant_container_active__OAhmg","color_container":"productinfo-module_color_container__c42a9","color_container_active":"productinfo-module_color_container_active__Br2PW"};
1228
1228
  styleInject(css_248z$L);
1229
1229
 
@@ -1425,7 +1425,7 @@ var Select$4 = /*#__PURE__*/React__default["default"].lazy(function () {
1425
1425
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
1426
1426
  });
1427
1427
  var Variantoptions = function Variantoptions(props) {
1428
- var _css, _fetchProductInfoQuer, _ProductInfoObj$data, _ProductInfoObj$data2, _ProductInfoObj$data3;
1428
+ var _css, _fetchProductInfoQuer, _ProductInfoObj$data4, _ProductInfoObj$data5, _ProductInfoObj$data6;
1429
1429
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
1430
1430
  var lang = props.actions.lang;
1431
1431
  var langdetect = props.actions.langdetect;
@@ -1456,9 +1456,35 @@ var Variantoptions = function Variantoptions(props) {
1456
1456
  color: sectionproperties.inputfeildbordercoloronfocus
1457
1457
  }), _css))
1458
1458
  };
1459
+ var issingleoptionoutofstock = function issingleoptionoutofstock(valueitem) {
1460
+ var _ProductInfoObj$data;
1461
+ var current_quantity = 0;
1462
+ var isoutofstock = false;
1463
+ if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.length) == 1) {
1464
+ var _ProductInfoObj$data2;
1465
+ ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.variants) === null || _ProductInfoObj$data2 === void 0 || _ProductInfoObj$data2.forEach(function (varitem) {
1466
+ var _varitem$variantoptio;
1467
+ varitem === null || varitem === void 0 || (_varitem$variantoptio = varitem.variantoptions) === null || _varitem$variantoptio === void 0 || _varitem$variantoptio.forEach(function (varoptionitem) {
1468
+ if (varoptionitem.valueid == valueitem.valueid) {
1469
+ current_quantity = varitem.current_quantity;
1470
+ if (varitem.current_quantity <= 0) {
1471
+ var _ProductInfoObj$data3;
1472
+ if ((ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.quantavailtype) == 'limit') {
1473
+ isoutofstock = true;
1474
+ }
1475
+ }
1476
+ }
1477
+ });
1478
+ });
1479
+ }
1480
+ return {
1481
+ isoutofstock: isoutofstock,
1482
+ current_quantity: current_quantity
1483
+ };
1484
+ };
1459
1485
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1460
1486
  className: "row m-0 w-100 d-flex align-items-start"
1461
- }, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
1487
+ }, sectionproperties.variantstyle == 'Slider' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productinfo) === null || _ProductInfoObj$data4 === void 0 || (_ProductInfoObj$data4 = _ProductInfoObj$data4.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
1462
1488
  return /*#__PURE__*/React__default["default"].createElement("div", {
1463
1489
  className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
1464
1490
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1492,7 +1518,7 @@ var Variantoptions = function Variantoptions(props) {
1492
1518
  isoptionvaluedenabled = 0;
1493
1519
  }
1494
1520
  if (item.optionname == 'color' || item.optionname == 'Color') {
1495
- return /*#__PURE__*/React__default["default"].createElement("div", {
1521
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
1496
1522
  className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
1497
1523
  onClick: function onClick() {
1498
1524
  if (optionvaluesitem.isenabled == 1) {
@@ -1506,25 +1532,27 @@ var Variantoptions = function Variantoptions(props) {
1506
1532
  opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
1507
1533
  cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
1508
1534
  }
1509
- });
1535
+ }));
1510
1536
  } else if (item.optionname == 'size' || item.optionname == 'Size') {
1511
1537
  return /*#__PURE__*/React__default["default"].createElement("div", {
1512
- className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1538
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered showcrossicon ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1513
1539
  onClick: function onClick() {
1514
- if (optionvaluesitem.isenabled == 1) {
1515
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1516
- } else {
1517
- clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1540
+ if (issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') ; else {
1541
+ if (optionvaluesitem.isenabled == 1) {
1542
+ selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1543
+ } else {
1544
+ clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1545
+ }
1518
1546
  }
1519
1547
  },
1520
1548
  style: {
1521
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1522
- backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1549
+ cursor: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? 'not-allowed' : isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1550
+ backgroundColor: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1523
1551
  minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1524
1552
  height: sectionproperties.variantcontainer_height + 'px',
1525
1553
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1526
1554
  position: 'relative',
1527
- border: isoptionvalueselected == 1 ? '1px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1555
+ border: isoptionvalueselected == 1 ? '2px solid green' : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1528
1556
  }
1529
1557
  }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1530
1558
  "class": "m-0 p-0 bg-danger bgdanger-hover",
@@ -1541,7 +1569,7 @@ var Variantoptions = function Variantoptions(props) {
1541
1569
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1542
1570
  className: 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1543
1571
  style: {
1544
- color: sectionproperties.variantcontainer_color,
1572
+ color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? 'green' : sectionproperties.variantcontainer_color,
1545
1573
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
1546
1574
  fontWeight: 500
1547
1575
  }
@@ -1584,7 +1612,7 @@ var Variantoptions = function Variantoptions(props) {
1584
1612
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1585
1613
  }
1586
1614
  }))));
1587
- })), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data2 === void 0 || (_ProductInfoObj$data2 = _ProductInfoObj$data2.productoptions) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.map(function (item, index) {
1615
+ })), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
1588
1616
  return /*#__PURE__*/React__default["default"].createElement("ul", {
1589
1617
  "class": "thwvsf-wrapper-ul"
1590
1618
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1720,7 +1748,7 @@ var Variantoptions = function Variantoptions(props) {
1720
1748
  // );
1721
1749
  // }
1722
1750
  }));
1723
- })), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productinfo) === null || _ProductInfoObj$data3 === void 0 || (_ProductInfoObj$data3 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.map(function (item, index) {
1751
+ })), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productinfo) === null || _ProductInfoObj$data6 === void 0 || (_ProductInfoObj$data6 = _ProductInfoObj$data6.productoptions) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.map(function (item, index) {
1724
1752
  var orgselectoptions = [];
1725
1753
  var selecteditemid = null;
1726
1754
  var placeholdervalue = '';
@@ -1731,6 +1759,13 @@ var Variantoptions = function Variantoptions(props) {
1731
1759
  }
1732
1760
 
1733
1761
  orgselectoptions.forEach(function (getselcitem, getselindex) {
1762
+ // if (getselcitem.isselected == 1 && issingleoptionoutofstock(getselcitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show') {
1763
+ // selecteditemid = getselcitem.valueid + langdetect == 'en' ? '(Unavailable)' : 'غير متاح';
1764
+ // } else if (getselcitem.isselected == 1 && sectionproperties.showoutofstockwithoutselection == 'Hide') {
1765
+ // selecteditemid = getselcitem.valueid;
1766
+ // } else {
1767
+ // selecteditemid = getselcitem.valueid;
1768
+ // }
1734
1769
  if (getselcitem.isselected == 1) {
1735
1770
  selecteditemid = getselcitem.valueid;
1736
1771
  }
@@ -2166,7 +2201,7 @@ var DescriptionContent = function DescriptionContent(props) {
2166
2201
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2167
2202
  "class": "col-lg-12 p-0 d-flex justify-content-start"
2168
2203
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2169
- className: 'text-black text-capitalize m-0 p-0 wordbreak',
2204
+ className: 'text-black m-0 p-0 wordbreak',
2170
2205
  style: {
2171
2206
  textAlign: langdetect == 'en' ? 'left' : 'right'
2172
2207
  },
@@ -2187,7 +2222,7 @@ var DescriptionContent = function DescriptionContent(props) {
2187
2222
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2188
2223
  "class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
2189
2224
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2190
- className: 'text-black text-capitalize m-0 p-0 wordbreak',
2225
+ className: 'text-black m-0 p-0 wordbreak',
2191
2226
  style: {
2192
2227
  textAlign: langdetect == 'en' ? 'left' : 'right'
2193
2228
  },
@@ -2234,7 +2269,7 @@ var DescriptionContent = function DescriptionContent(props) {
2234
2269
  function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2235
2270
  function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2236
2271
  var Product_itemtype = function Product_itemtype(props) {
2237
- var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _ProductInfoObj$data, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
2272
+ var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
2238
2273
  var lang = props.actions.lang;
2239
2274
  var langdetect = props.actions.langdetect;
2240
2275
  var srcfromprops = props.actions.srcfromprops;
@@ -2253,7 +2288,7 @@ var Product_itemtype = function Product_itemtype(props) {
2253
2288
  var authdetailsContext = props.actions.authdetailsContext;
2254
2289
  var addtofavoritescontext = props.actions.addtofavoritescontext;
2255
2290
  var variantindexcompleted = props.actions.variantindexcompleted;
2256
- var ProductInfoObj = props.actions.ProductInfoObj;
2291
+ props.actions.ProductInfoObj;
2257
2292
  var NotificationManager = props.actions.NotificationManager;
2258
2293
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2259
2294
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
@@ -2430,7 +2465,7 @@ var Product_itemtype = function Product_itemtype(props) {
2430
2465
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2431
2466
  className: 'row m-0 w-100'
2432
2467
  }, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2433
- className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
2468
+ className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-5 pb-md-5 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-5 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
2434
2469
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2435
2470
  className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2436
2471
  style: {
@@ -2472,7 +2507,7 @@ var Product_itemtype = function Product_itemtype(props) {
2472
2507
  showFullscreenButton: true,
2473
2508
  startIndex: currentshowingimageindex
2474
2509
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
2475
- className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
2510
+ className: sectionproperties.gallerystyle == 'Style 1' ? sectionproperties.evencols == 'Yes' ? langdetect == 'en' ? 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-4 pr-0 pl-md-0 pr-md-0 pt-md-5' : 'col-xl-6 col-lg-6 col-md-12 col-sm-12 pl-0 pr-4 pl-md-0 pr-md-0 pt-md-5' : langdetect == 'en' ? 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-7 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
2476
2511
  // className={
2477
2512
  // sectionproperties.gallerystyle == 'Style 1'
2478
2513
  // ? langdetect == 'en'
@@ -2485,9 +2520,11 @@ var Product_itemtype = function Product_itemtype(props) {
2485
2520
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2486
2521
  className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
2487
2522
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2488
- className: props.srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
2523
+ className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
2489
2524
  onClick: function onClick() {
2490
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2525
+ if (props.srcfromprops != 'templatedraftrouter') {
2526
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2527
+ }
2491
2528
  },
2492
2529
  style: {
2493
2530
  textAlign: langdetect == 'en' ? 'left' : 'right'
@@ -2630,7 +2667,7 @@ var Product_itemtype = function Product_itemtype(props) {
2630
2667
  actions: props.actions
2631
2668
  }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
2632
2669
  className: "row m-0 w-100 d-flex align-items-start"
2633
- }, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
2670
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productoptions) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.map(function (item, index) {
2634
2671
  return /*#__PURE__*/React__default["default"].createElement("div", {
2635
2672
  className: "col-lg-12 p-0 d-flex justify-content-start",
2636
2673
  style: {
@@ -2709,7 +2746,7 @@ var Product_itemtype = function Product_itemtype(props) {
2709
2746
  marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
2710
2747
  marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
2711
2748
  }
2712
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2749
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2713
2750
  className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
2714
2751
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2715
2752
  className: "m-0 p-0",
@@ -2726,7 +2763,7 @@ var Product_itemtype = function Product_itemtype(props) {
2726
2763
  style: {
2727
2764
  justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2728
2765
  }
2729
- }, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2766
+ }, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2730
2767
  className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2731
2768
  style: {
2732
2769
  height: sectionproperties.quantitybtn_height + 'px',
@@ -2791,12 +2828,12 @@ var Product_itemtype = function Product_itemtype(props) {
2791
2828
  setaddtocardpayloadobj(_objectSpread$2q({}, tempaddtocardpayloadobj));
2792
2829
  }
2793
2830
  }
2794
- })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2831
+ })), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2795
2832
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2796
2833
  onClick: function onClick() {
2797
2834
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2798
- var _fetchProductInfoQuer23;
2799
- window.open('tel:' + ((_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.product_phonenumber), '_blank');
2835
+ var _fetchProductInfoQuer24;
2836
+ window.open('tel:' + ((_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.product_phonenumber), '_blank');
2800
2837
  } else {
2801
2838
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2802
2839
  addtocartfunc();
@@ -2827,7 +2864,7 @@ var Product_itemtype = function Product_itemtype(props) {
2827
2864
  size: sectionproperties.cartBtn_iconFontSize
2828
2865
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2829
2866
  size: sectionproperties.cartBtn_iconFontSize
2830
- })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2867
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2831
2868
  className: ' d-flex align-items-center justify-content-center '
2832
2869
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2833
2870
  color: "white",
@@ -2872,7 +2909,7 @@ var Product_itemtype = function Product_itemtype(props) {
2872
2909
  style: {
2873
2910
  fontSize: sectionproperties.favBtnTextfontsize + 'px'
2874
2911
  }
2875
- }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2912
+ }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2876
2913
  "class": "row m-0 w-100 mt-3",
2877
2914
  style: {
2878
2915
  overflow: 'hidden'
@@ -2884,8 +2921,8 @@ var Product_itemtype = function Product_itemtype(props) {
2884
2921
  },
2885
2922
  onClick: function onClick() {
2886
2923
  if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2887
- var _fetchProductInfoQuer27;
2888
- window.open('tel:' + ((_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.product_phonenumber), '_blank');
2924
+ var _fetchProductInfoQuer28;
2925
+ window.open('tel:' + ((_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.product_phonenumber), '_blank');
2889
2926
  } else {
2890
2927
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2891
2928
  addtocartfunc();
@@ -2916,7 +2953,7 @@ var Product_itemtype = function Product_itemtype(props) {
2916
2953
  size: sectionproperties.cartBtn_iconFontSize
2917
2954
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2918
2955
  size: sectionproperties.cartBtn_iconFontSize
2919
- })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2956
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2920
2957
  className: ' d-flex align-items-center justify-content-center '
2921
2958
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2922
2959
  color: "white",
@@ -2951,7 +2988,7 @@ var Product_itemtype = function Product_itemtype(props) {
2951
2988
  size: sectionproperties.favBtnIconfontsize
2952
2989
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2953
2990
  size: sectionproperties.favBtnIconfontsize
2954
- })))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2991
+ })))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2955
2992
  className: "col-lg-12 p-0 mb-3"
2956
2993
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2957
2994
  className: "row m-0 w-100 d-flex flex-row"
@@ -2974,7 +3011,7 @@ var Product_itemtype = function Product_itemtype(props) {
2974
3011
  }
2975
3012
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2976
3013
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
2977
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
3014
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
2978
3015
  className: 'm-0 p-0 linethrough wordbreak',
2979
3016
  style: {
2980
3017
  color: sectionproperties.prodsalePriceColor,
@@ -2988,14 +3025,14 @@ var Product_itemtype = function Product_itemtype(props) {
2988
3025
  style: {
2989
3026
  textDecoration: 'none'
2990
3027
  }
2991
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
3028
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2992
3029
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
2993
3030
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2994
3031
  className: "ml-2 mr-2",
2995
3032
  style: {
2996
3033
  textDecoration: 'none'
2997
3034
  }
2998
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3035
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2999
3036
  className: "col-lg-12 p-0 mb-3 mt-2"
3000
3037
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3001
3038
  style: {
@@ -4635,7 +4672,11 @@ var ProductReviews = function ProductReviews(props) {
4635
4672
  function ownKeys$2m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4636
4673
  function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4637
4674
  var Productinfo = function Productinfo(props) {
4638
- var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
4675
+ var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
4676
+ var _useState = React.useState({}),
4677
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
4678
+ ProductInfoObj = _useState2[0],
4679
+ setProductInfoObj = _useState2[1];
4639
4680
  props.actions.srcfromprops;
4640
4681
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
4641
4682
  var lang = props.actions.lang;
@@ -4651,55 +4692,66 @@ var Productinfo = function Productinfo(props) {
4651
4692
  var ProductIdProdutInfoModalContext = props.actions.ProductIdProdutInfoModalContext;
4652
4693
  var AddtoCartContext = props.actions.AddtoCartContext;
4653
4694
  var addtofavoritescontext = props.actions.addtofavoritescontext;
4654
- var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
4695
+ var fetchProductInfoQueryContextProps = props.actions.fetchProductInfoQueryContext;
4696
+ var _useState3 = React.useState({}),
4697
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
4698
+ fetchProductInfoQueryContext = _useState4[0],
4699
+ setfetchProductInfoQueryContext = _useState4[1];
4700
+ React.useEffect(function () {
4701
+ if (fetchProductInfoQueryContextProps.isSuccess) {
4702
+ setProductInfoObj(_objectSpread$2m({}, fetchProductInfoQueryContextProps.data));
4703
+ setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
4704
+ }
4705
+ }, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
4655
4706
  var fetchproductinfoObjContext = props.actions.fetchproductinfoObjContext;
4656
4707
  var setfetchproductinfoObjContext = props.actions.setfetchproductinfoObjContext;
4657
4708
  var pageindexcontext = props.actions.pageindexcontext;
4658
4709
  var setpageindexcontext = props.actions.setpageindexcontext;
4659
4710
  var authdetailsContext = props.actions.authdetailsContext;
4660
4711
  var ikimagecredcontext = props.actions.ikimagecredcontext;
4712
+ var Pixel_EventsContext = props.actions.Pixel_EventsContext;
4661
4713
  var actions = props.actions;
4662
4714
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
4663
4715
  var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
4664
4716
  var NotificationManager = props.actions.NotificationManager;
4665
4717
  var productidparam = props.productidparam;
4666
- var _useState = React.useState(''),
4667
- _useState2 = _slicedToArray__default["default"](_useState, 2),
4668
- sectionproperties = _useState2[0],
4669
- setsectionproperties = _useState2[1];
4670
- var _useState3 = React.useState(''),
4671
- _useState4 = _slicedToArray__default["default"](_useState3, 2);
4672
- _useState4[0];
4673
- var setCurrentPageId = _useState4[1];
4674
- var _useState5 = React.useState(''),
4675
- _useState6 = _slicedToArray__default["default"](_useState5, 2);
4676
- _useState6[0];
4677
- var setRelatedProductsTagid = _useState6[1];
4678
- var _useState7 = React.useState({}),
4718
+ var _useState5 = React.useState(false),
4719
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
4720
+ isoutofstock = _useState6[0],
4721
+ setisoutofstock = _useState6[1];
4722
+ var _useState7 = React.useState(''),
4679
4723
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
4680
- ProductInfoObj = _useState8[0],
4681
- setProductInfoObj = _useState8[1];
4682
- var _useState9 = React.useState('all'),
4724
+ sectionproperties = _useState8[0],
4725
+ setsectionproperties = _useState8[1];
4726
+ var _useState9 = React.useState(''),
4683
4727
  _useState10 = _slicedToArray__default["default"](_useState9, 2);
4684
4728
  _useState10[0];
4685
- _useState10[1];
4686
- var _useState11 = React.useState([]),
4729
+ var setCurrentPageId = _useState10[1];
4730
+ var _useState11 = React.useState(''),
4687
4731
  _useState12 = _slicedToArray__default["default"](_useState11, 2);
4688
4732
  _useState12[0];
4689
- _useState12[1];
4690
- var _useState13 = React.useState([]),
4691
- _useState14 = _slicedToArray__default["default"](_useState13, 2),
4692
- Relatedproducts = _useState14[0],
4693
- setRelatedproducts = _useState14[1];
4733
+ var setRelatedProductsTagid = _useState12[1];
4734
+ var _useState13 = React.useState('all'),
4735
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
4736
+ _useState14[0];
4737
+ _useState14[1];
4694
4738
  var _useState15 = React.useState([]),
4695
- _useState16 = _slicedToArray__default["default"](_useState15, 2),
4696
- productimagesarray = _useState16[0],
4697
- setproductimagesarray = _useState16[1];
4698
- var _useState17 = React.useState(null),
4739
+ _useState16 = _slicedToArray__default["default"](_useState15, 2);
4740
+ _useState16[0];
4741
+ _useState16[1];
4742
+ var _useState17 = React.useState([]),
4699
4743
  _useState18 = _slicedToArray__default["default"](_useState17, 2),
4700
- quantityconditionfoundobj = _useState18[0],
4701
- setquantityconditionfoundobj = _useState18[1];
4702
- var _useState19 = React.useState({
4744
+ Relatedproducts = _useState18[0],
4745
+ setRelatedproducts = _useState18[1];
4746
+ var _useState19 = React.useState([]),
4747
+ _useState20 = _slicedToArray__default["default"](_useState19, 2),
4748
+ productimagesarray = _useState20[0],
4749
+ setproductimagesarray = _useState20[1];
4750
+ var _useState21 = React.useState(null),
4751
+ _useState22 = _slicedToArray__default["default"](_useState21, 2),
4752
+ quantityconditionfoundobj = _useState22[0],
4753
+ setquantityconditionfoundobj = _useState22[1];
4754
+ var _useState23 = React.useState({
4703
4755
  functype: 'add',
4704
4756
  item_type: 'product',
4705
4757
  productid: '',
@@ -4711,41 +4763,41 @@ var Productinfo = function Productinfo(props) {
4711
4763
  to: '',
4712
4764
  extrafields: []
4713
4765
  }),
4714
- _useState20 = _slicedToArray__default["default"](_useState19, 2),
4715
- addtocardpayloadobj = _useState20[0],
4716
- setaddtocardpayloadobj = _useState20[1];
4717
- var _useState21 = React.useState(''),
4718
- _useState22 = _slicedToArray__default["default"](_useState21, 2),
4719
- variantindexcompleted = _useState22[0],
4720
- setvariantindexcompleted = _useState22[1];
4721
- var _useState23 = React.useState(''),
4722
4766
  _useState24 = _slicedToArray__default["default"](_useState23, 2),
4723
- variantindex = _useState24[0],
4724
- setvariantindex = _useState24[1];
4725
- var _useState25 = React.useState(false),
4767
+ addtocardpayloadobj = _useState24[0],
4768
+ setaddtocardpayloadobj = _useState24[1];
4769
+ var _useState25 = React.useState(''),
4726
4770
  _useState26 = _slicedToArray__default["default"](_useState25, 2),
4727
- isloaded = _useState26[0],
4728
- setisloaded = _useState26[1];
4729
- var _useState27 = React.useState(false),
4730
- _useState28 = _slicedToArray__default["default"](_useState27, 2);
4731
- _useState28[0];
4732
- _useState28[1];
4733
- var _useState29 = React.useState(0),
4771
+ variantindexcompleted = _useState26[0],
4772
+ setvariantindexcompleted = _useState26[1];
4773
+ var _useState27 = React.useState(''),
4774
+ _useState28 = _slicedToArray__default["default"](_useState27, 2),
4775
+ variantindex = _useState28[0],
4776
+ setvariantindex = _useState28[1];
4777
+ var _useState29 = React.useState(false),
4734
4778
  _useState30 = _slicedToArray__default["default"](_useState29, 2),
4735
- currentshowingimageindex = _useState30[0],
4736
- setcurrentshowingimageindex = _useState30[1];
4737
- var _useState31 = React.useState(''),
4738
- _useState32 = _slicedToArray__default["default"](_useState31, 2),
4739
- tabIndex = _useState32[0],
4740
- setTabIndex = _useState32[1];
4741
- var _useState33 = React.useState(''),
4779
+ isloaded = _useState30[0],
4780
+ setisloaded = _useState30[1];
4781
+ var _useState31 = React.useState(false),
4782
+ _useState32 = _slicedToArray__default["default"](_useState31, 2);
4783
+ _useState32[0];
4784
+ _useState32[1];
4785
+ var _useState33 = React.useState(0),
4742
4786
  _useState34 = _slicedToArray__default["default"](_useState33, 2),
4743
- tabname = _useState34[0],
4744
- settabname = _useState34[1];
4745
- var _useState35 = React.useState([]),
4787
+ currentshowingimageindex = _useState34[0],
4788
+ setcurrentshowingimageindex = _useState34[1];
4789
+ var _useState35 = React.useState(''),
4746
4790
  _useState36 = _slicedToArray__default["default"](_useState35, 2),
4747
- productVideos = _useState36[0],
4748
- setproductVideos = _useState36[1];
4791
+ tabIndex = _useState36[0],
4792
+ setTabIndex = _useState36[1];
4793
+ var _useState37 = React.useState(''),
4794
+ _useState38 = _slicedToArray__default["default"](_useState37, 2),
4795
+ tabname = _useState38[0],
4796
+ settabname = _useState38[1];
4797
+ var _useState39 = React.useState([]),
4798
+ _useState40 = _slicedToArray__default["default"](_useState39, 2),
4799
+ productVideos = _useState40[0],
4800
+ setproductVideos = _useState40[1];
4749
4801
  var handleTabChange = function handleTabChange(event, newTabIndex) {
4750
4802
  setTabIndex(newTabIndex);
4751
4803
  };
@@ -4804,11 +4856,11 @@ var Productinfo = function Productinfo(props) {
4804
4856
  productidassigner(productidparam);
4805
4857
  }
4806
4858
  }, []);
4807
- React.useEffect(function () {
4808
- if (fetchProductInfoQueryContext.isSuccess) {
4809
- setProductInfoObj(fetchProductInfoQueryContext.data);
4810
- }
4811
- }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
4859
+ // useEffect(() => {
4860
+ // if (fetchProductInfoQueryContext.isSuccess) {
4861
+ // setProductInfoObj({ ...fetchProductInfoQueryContext.data });
4862
+ // }
4863
+ // }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
4812
4864
  React.useEffect(function () {
4813
4865
  if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
4814
4866
  variantchecker();
@@ -5018,6 +5070,7 @@ var Productinfo = function Productinfo(props) {
5018
5070
  var variantobj = fetchProductInfoQueryContext.data.data.productinfo.variants[ProductVariantIndex];
5019
5071
  var variantid = '';
5020
5072
  if (variantobj == undefined) {
5073
+ setisoutofstock(false);
5021
5074
  NotificationManager.warning('', 'Variant Not Found');
5022
5075
  } else {
5023
5076
  variantid = variantobj.variantid;
@@ -5029,6 +5082,11 @@ var Productinfo = function Productinfo(props) {
5029
5082
  variantimageindex = tempimageindex;
5030
5083
  }
5031
5084
  });
5085
+ if (variantobj.current_quantity <= 0) {
5086
+ setisoutofstock(true);
5087
+ } else {
5088
+ setisoutofstock(false);
5089
+ }
5032
5090
  setcurrentshowingimageindex(variantimageindex);
5033
5091
  setaddtocardpayloadobj(_objectSpread$2m({}, tempaddtocardpayloadobj));
5034
5092
  setvariantindexcompleted(ProductVariantIndex);
@@ -5062,17 +5120,27 @@ var Productinfo = function Productinfo(props) {
5062
5120
  tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
5063
5121
  var Extrafieldvalidationresponse = validateextrafields();
5064
5122
  if (Extrafieldvalidationresponse.status) {
5123
+ var _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
5124
+ Pixel_EventsContext('AddToCart', {
5125
+ content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productid],
5126
+ content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.name_ar),
5127
+ content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.sku,
5128
+ content_type: 'product',
5129
+ currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.currencyname_en,
5130
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.defaultprice,
5131
+ quantity: addtocardpayloadobj.quantity
5132
+ });
5065
5133
  AddtoCartContext(tempaddtocardpayloadobj);
5066
5134
  }
5067
5135
  }
5068
5136
  };
5069
5137
  var validateextrafields = function validateextrafields() {
5070
- var _fetchProductInfoQuer9;
5138
+ var _fetchProductInfoQuer15;
5071
5139
  var tempaddtocardpayloadobj = _objectSpread$2m({}, addtocardpayloadobj);
5072
5140
  var status = false;
5073
5141
  var reason = '';
5074
5142
  var missingitemsfound = [];
5075
- var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productextrafields;
5143
+ var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productextrafields;
5076
5144
  if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
5077
5145
  status = true;
5078
5146
  } else {
@@ -5552,6 +5620,7 @@ var Productinfo = function Productinfo(props) {
5552
5620
  productnamehover: glamor.css({
5553
5621
  transition: '.3s',
5554
5622
  ':hover': {
5623
+ cursor: 'pointer',
5555
5624
  color: sectionproperties.prodNameColorOnHover
5556
5625
  }
5557
5626
  }),
@@ -5667,24 +5736,24 @@ var Productinfo = function Productinfo(props) {
5667
5736
  }
5668
5737
  }));
5669
5738
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
5670
- var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
5739
+ var _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19;
5671
5740
  var price = 0;
5672
5741
  var quantityconditions = [];
5673
5742
  var quantity = 0;
5674
5743
  if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
5675
5744
  quantity = parseFloat(addtocardpayloadobj.quantity);
5676
5745
  }
5677
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productquantityoptions) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.length) != 0) {
5746
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productquantityoptions) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.length) != 0) {
5678
5747
  quantityconditions = fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
5679
5748
  }
5680
5749
  if (type == 'defaultprice') {
5681
5750
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
5682
5751
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
5683
5752
  if (variantindexcompleted != undefined) {
5684
- var _fetchProductInfoQuer14;
5685
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.variants[variantindexcompleted]) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.variantprice) != undefined) {
5686
- var _fetchProductInfoQuer15;
5687
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.variants[variantindexcompleted]) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.variantprice;
5753
+ var _fetchProductInfoQuer20;
5754
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.variants[variantindexcompleted]) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.variantprice) != undefined) {
5755
+ var _fetchProductInfoQuer21;
5756
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.variants[variantindexcompleted]) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.variantprice;
5688
5757
  }
5689
5758
  }
5690
5759
  }
@@ -5692,10 +5761,10 @@ var Productinfo = function Productinfo(props) {
5692
5761
  price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
5693
5762
  if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
5694
5763
  if (variantindexcompleted != undefined) {
5695
- var _fetchProductInfoQuer16;
5696
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.variants[variantindexcompleted]) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.variantsaleprice) != undefined) {
5697
- var _fetchProductInfoQuer17;
5698
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.variants[variantindexcompleted]) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.variantsaleprice;
5764
+ var _fetchProductInfoQuer22;
5765
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.variants[variantindexcompleted]) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.variantsaleprice) != undefined) {
5766
+ var _fetchProductInfoQuer23;
5767
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.variants[variantindexcompleted]) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.variantsaleprice;
5699
5768
  }
5700
5769
  }
5701
5770
  }
@@ -5725,7 +5794,7 @@ var Productinfo = function Productinfo(props) {
5725
5794
  }
5726
5795
  };
5727
5796
  var getQuantityCondition = function getQuantityCondition() {
5728
- var _fetchProductInfoQuer18;
5797
+ var _fetchProductInfoQuer24;
5729
5798
  return /*#__PURE__*/React__default["default"].createElement("div", {
5730
5799
  "class": "col-lg-12 p-0",
5731
5800
  style: {
@@ -5755,12 +5824,12 @@ var Productinfo = function Productinfo(props) {
5755
5824
  height: 1,
5756
5825
  background: sectionproperties.pricelisttitlecolor
5757
5826
  }
5758
- })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productquantityoptions) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.map(function (item, index) {
5759
- var _fetchProductInfoQuer19;
5827
+ })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productquantityoptions) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.map(function (item, index) {
5828
+ var _fetchProductInfoQuer25;
5760
5829
  return /*#__PURE__*/React__default["default"].createElement("div", {
5761
5830
  className: "col-lg-12 p-0 w-100 d-flex align-items-center",
5762
5831
  style: {
5763
- marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productquantityoptions) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.length) - 1 != index ? '1rem' : 0
5832
+ marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productquantityoptions) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.length) - 1 != index ? '1rem' : 0
5764
5833
  }
5765
5834
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5766
5835
  "class": "d-flex align-items-center",
@@ -5794,7 +5863,7 @@ var Productinfo = function Productinfo(props) {
5794
5863
  })));
5795
5864
  };
5796
5865
  var StoreInfo = function StoreInfo() {
5797
- var _fetchProductInfoQuer20, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
5866
+ var _fetchProductInfoQuer26, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6;
5798
5867
  return /*#__PURE__*/React__default["default"].createElement("div", {
5799
5868
  "class": "row m-0 w-100"
5800
5869
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -5841,7 +5910,7 @@ var Productinfo = function Productinfo(props) {
5841
5910
  style: {
5842
5911
  textAlign: langdetect == 'en' ? 'left' : 'right'
5843
5912
  }
5844
- }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productquantityoptions) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
5913
+ }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productquantityoptions) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
5845
5914
  "class": "col-lg-12 p-0 mb-4"
5846
5915
  }, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
5847
5916
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
@@ -5948,6 +6017,8 @@ var Productinfo = function Productinfo(props) {
5948
6017
  }
5949
6018
  }, fetchProductInfoQueryContext.data.data.productinfo.item_type == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
5950
6019
  actions: (_ref = {
6020
+ setisoutofstock: setisoutofstock,
6021
+ isoutofstock: isoutofstock,
5951
6022
  returnpolicyobj: returnpolicyobj,
5952
6023
  langdetect: langdetect,
5953
6024
  lang: lang,
@@ -5955,6 +6026,8 @@ var Productinfo = function Productinfo(props) {
5955
6026
  }, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _defineProperty__default["default"](_ref, "currentshowingimageindex", currentshowingimageindex), _defineProperty__default["default"](_ref, "setcurrentshowingimageindex", setcurrentshowingimageindex), _defineProperty__default["default"](_ref, "templatepropcontext", templatepropcontext), _defineProperty__default["default"](_ref, "ikimagecredcontext", ikimagecredcontext), _defineProperty__default["default"](_ref, "variantindex", variantindex), _defineProperty__default["default"](_ref, "setvariantindex", setvariantindex), _ref)
5956
6027
  }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
5957
6028
  actions: (_ref2 = {
6029
+ setisoutofstock: setisoutofstock,
6030
+ isoutofstock: isoutofstock,
5958
6031
  returnpolicyobj: returnpolicyobj,
5959
6032
  langdetect: langdetect,
5960
6033
  lang: lang,
@@ -6028,12 +6101,12 @@ var Productinfo = function Productinfo(props) {
6028
6101
  onClick: function onClick() {
6029
6102
  settabname('refundpolicytab');
6030
6103
  }
6031
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.product_videos) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6104
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.product_videos) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6032
6105
  label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
6033
6106
  onClick: function onClick() {
6034
6107
  settabname('videostab');
6035
6108
  }
6036
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6109
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6037
6110
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
6038
6111
  onClick: function onClick() {
6039
6112
  settabname('reviewstab');
@@ -6088,12 +6161,12 @@ var Productinfo = function Productinfo(props) {
6088
6161
  onClick: function onClick() {
6089
6162
  settabname('refundpolicytab');
6090
6163
  }
6091
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.product_videos) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6164
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.product_videos) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6092
6165
  label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
6093
6166
  onClick: function onClick() {
6094
6167
  settabname('videostab');
6095
6168
  }
6096
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6169
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
6097
6170
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
6098
6171
  onClick: function onClick() {
6099
6172
  settabname('reviewstab');
@@ -8491,6 +8564,7 @@ var Checkout = function Checkout(props) {
8491
8564
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
8492
8565
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
8493
8566
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
8567
+ var Pixel_EventsContext = props.actions.Pixel_EventsContext;
8494
8568
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
8495
8569
  var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
8496
8570
  var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
@@ -8575,6 +8649,7 @@ var Checkout = function Checkout(props) {
8575
8649
  routingcountext(StaticPagesLinksContext.Login);
8576
8650
  }
8577
8651
  }
8652
+ Pixel_EventsContext('InitiateCheckout', {});
8578
8653
  }, [authdetailsContext]);
8579
8654
  var cartinfoupdater = function cartinfoupdater(key, value) {
8580
8655
  var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18;
@@ -57224,9 +57299,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
57224
57299
  cursor: ((_arrayofobjectimageso = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso === void 0 ? void 0 : _arrayofobjectimageso.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
57225
57300
  },
57226
57301
  onClick: function onClick() {
57227
- if (arrayofobjectimagesonly2[0].IsClickableimg2 == 'Yes') {
57228
- if (arrayofobjectimagesonly2[0].clickableimg_page_route2 && arrayofobjectimagesonly2[0].clickableimg_page_route2.length != 0) {
57229
- routingcountext(arrayofobjectimagesonly2[0].clickableimg_page_route2, false, '');
57302
+ if (arrayofobjectimagesonly2[0].IsClickableimg == 'Yes') {
57303
+ if (arrayofobjectimagesonly2[0].clickableimg_page_route != undefined && arrayofobjectimagesonly2[0].clickableimg_page_route.length != 0) {
57304
+ // routingcountext(arrayofobjectimagesonly2[0].clickableimg_page_route, false, '');
57305
+ window.open(arrayofobjectimagesonly2[0].clickableimg_page_route, '_blank');
57230
57306
  } else {
57231
57307
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[0].Clickableimg_getcoection2);
57232
57308
  }
@@ -57253,9 +57329,10 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
57253
57329
  cursor: ((_arrayofobjectimageso4 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso4 === void 0 ? void 0 : _arrayofobjectimageso4.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
57254
57330
  },
57255
57331
  onClick: function onClick() {
57256
- if (arrayofobjectimagesonly2[1].IsClickableimg2 == 'Yes') {
57257
- if (arrayofobjectimagesonly2[1].clickableimg_page_route2 && arrayofobjectimagesonly2[1].clickableimg_page_route2.length != 0) {
57258
- routingcountext(arrayofobjectimagesonly2[1].clickableimg_page_route2, false, '');
57332
+ if (arrayofobjectimagesonly2[1].IsClickableimg == 'Yes') {
57333
+ if (arrayofobjectimagesonly2[1].clickableimg_page_route != undefined && arrayofobjectimagesonly2[1].clickableimg_page_route.length != 0) {
57334
+ // routingcountext(arrayofobjectimagesonly2[1].clickableimg_page_route, false, '');
57335
+ window.open(arrayofobjectimagesonly2[1].clickableimg_page_route, '_blank');
57259
57336
  } else {
57260
57337
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[1].Clickableimg_getcoection2);
57261
57338
  }