tabexseriescomponents 0.0.298 → 0.0.299

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,7 +1,7 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('react-accessible-accordion'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/bs/BsChevronUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
3
3
  typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', 'react-accessible-accordion', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/bs/BsChevronUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, null, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$4, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$4, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
5
5
  })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, reactShare, imagekitioReact, FiMinus, FiPlus, ReactStars, FiLayers, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, reactAccessibleAccordion, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$4, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -450,8 +450,8 @@
450
450
  }));
451
451
  };
452
452
 
453
- function ownKeys$2a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
454
- function _objectSpread$2a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
453
+ function ownKeys$2b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
454
+ function _objectSpread$2b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
455
455
  var Login = function Login(props) {
456
456
  var _css;
457
457
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -524,7 +524,7 @@
524
524
  StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
525
525
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
526
526
  });
527
- setsectionproperties(_objectSpread$2a({}, secpropobj));
527
+ setsectionproperties(_objectSpread$2b({}, secpropobj));
528
528
  }
529
529
  }, [StatePagePropertiesContext]);
530
530
  React.useEffect(function () {
@@ -683,9 +683,9 @@
683
683
  className: "".concat(loginstyles2.form_control),
684
684
  value: payloadobj.email,
685
685
  onChange: function onChange(event) {
686
- var temppayloadobj = _objectSpread$2a({}, payloadobj);
686
+ var temppayloadobj = _objectSpread$2b({}, payloadobj);
687
687
  temppayloadobj.email = event.target.value;
688
- setpayloadobj(_objectSpread$2a({}, temppayloadobj));
688
+ setpayloadobj(_objectSpread$2b({}, temppayloadobj));
689
689
  },
690
690
  style: {
691
691
  background: 'transparent'
@@ -707,9 +707,9 @@
707
707
  textplaceholder: "",
708
708
  value: payloadobj.password,
709
709
  onChange: function onChange(event) {
710
- var temppayloadobj = _objectSpread$2a({}, payloadobj);
710
+ var temppayloadobj = _objectSpread$2b({}, payloadobj);
711
711
  temppayloadobj.password = event.target.value;
712
- setpayloadobj(_objectSpread$2a({}, temppayloadobj));
712
+ setpayloadobj(_objectSpread$2b({}, temppayloadobj));
713
713
  },
714
714
  style: {
715
715
  background: 'transparent'
@@ -841,9 +841,9 @@
841
841
  className: "".concat(loginstyles2.form_control),
842
842
  value: forgotpasswordpayload.email,
843
843
  onChange: function onChange(event) {
844
- var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
844
+ var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
845
845
  temppayloadobj.email = event.target.value;
846
- setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
846
+ setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
847
847
  },
848
848
  disabled: forgetpasswordstage == 'verify' ? true : false,
849
849
  style: {
@@ -858,9 +858,9 @@
858
858
  className: "".concat(loginstyles2.form_control),
859
859
  value: forgotpasswordpayload.code,
860
860
  onChange: function onChange(event) {
861
- var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
861
+ var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
862
862
  temppayloadobj.code = event.target.value;
863
- setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
863
+ setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
864
864
  },
865
865
  style: {
866
866
  background: 'transparent'
@@ -874,9 +874,9 @@
874
874
  className: "".concat(loginstyles2.form_control),
875
875
  value: forgotpasswordpayload.newpassword,
876
876
  onChange: function onChange(event) {
877
- var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
877
+ var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
878
878
  temppayloadobj.newpassword = event.target.value;
879
- setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
879
+ setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
880
880
  },
881
881
  style: {
882
882
  background: 'transparent'
@@ -890,9 +890,9 @@
890
890
  className: "".concat(loginstyles2.form_control),
891
891
  value: forgotpasswordpayload.confirmnewpassword,
892
892
  onChange: function onChange(event) {
893
- var temppayloadobj = _objectSpread$2a({}, forgotpasswordpayload);
893
+ var temppayloadobj = _objectSpread$2b({}, forgotpasswordpayload);
894
894
  temppayloadobj.confirmnewpassword = event.target.value;
895
- setforgotpasswordpayload(_objectSpread$2a({}, temppayloadobj));
895
+ setforgotpasswordpayload(_objectSpread$2b({}, temppayloadobj));
896
896
  },
897
897
  style: {
898
898
  background: 'transparent'
@@ -904,7 +904,7 @@
904
904
  onClick: function onClick() {
905
905
  if (forgotpasswordpayload.email.length != 0) {
906
906
  var runfunc = false;
907
- var tempforgotpasswordpayload = _objectSpread$2a({}, forgotpasswordpayload);
907
+ var tempforgotpasswordpayload = _objectSpread$2b({}, forgotpasswordpayload);
908
908
  tempforgotpasswordpayload.functype = forgetpasswordstage;
909
909
  if (forgetpasswordstage == 'verify') {
910
910
  if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
@@ -971,11 +971,11 @@
971
971
  var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-"};
972
972
  styleInject(css_248z$J);
973
973
 
974
- function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
975
- function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
974
+ function ownKeys$2a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
975
+ function _objectSpread$2a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
976
976
  var defaultstyles = {
977
977
  option: function option(provided, state) {
978
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
978
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
979
979
  borderBottom: '1px solid #e6e6e6',
980
980
  backgroundColor: state.isSelected ? '' : '',
981
981
  padding: 5,
@@ -1003,7 +1003,7 @@
1003
1003
  };
1004
1004
  },
1005
1005
  dropdownIndicator: function dropdownIndicator(provided) {
1006
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1006
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1007
1007
  '&:hover': {
1008
1008
  // color: '#eac435',
1009
1009
  }
@@ -1012,7 +1012,7 @@
1012
1012
  };
1013
1013
  var defaultstylestranslated = {
1014
1014
  option: function option(provided, state) {
1015
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1015
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1016
1016
  borderBottom: '1px solid #e6e6e6',
1017
1017
  backgroundColor: state.isSelected ? '' : '',
1018
1018
  padding: 5,
@@ -1043,21 +1043,21 @@
1043
1043
  };
1044
1044
  },
1045
1045
  dropdownIndicator: function dropdownIndicator(provided) {
1046
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1046
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1047
1047
  '&:hover': {
1048
1048
  // color: '#eac435',
1049
1049
  }
1050
1050
  });
1051
1051
  },
1052
1052
  placeholder: function placeholder(provided, state) {
1053
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1053
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1054
1054
  textAlign: 'right'
1055
1055
  });
1056
1056
  }
1057
1057
  };
1058
1058
  var defaultstylesnone = {
1059
1059
  option: function option(provided, state) {
1060
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1060
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1061
1061
  borderBottom: '1px solid #e6e6e6',
1062
1062
  backgroundColor: state.isSelected ? '' : '',
1063
1063
  padding: 5,
@@ -1085,7 +1085,7 @@
1085
1085
  };
1086
1086
  },
1087
1087
  dropdownIndicator: function dropdownIndicator(provided) {
1088
- return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1088
+ return _objectSpread$2a(_objectSpread$2a({}, provided), {}, {
1089
1089
  '&:hover': {
1090
1090
  // color: '#eac435',
1091
1091
  }
@@ -1445,8 +1445,8 @@
1445
1445
  }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
1446
1446
  };
1447
1447
 
1448
- function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1449
- function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1448
+ function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1449
+ function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1450
1450
  var ProductExtraFields = function ProductExtraFields(props) {
1451
1451
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
1452
1452
  props.actions.lang;
@@ -1501,9 +1501,9 @@
1501
1501
  });
1502
1502
  }
1503
1503
  setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
1504
- var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
1504
+ var tempaddtocardpayloadobj = _objectSpread$29({}, addtocardpayloadobj);
1505
1505
  tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
1506
- setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
1506
+ setaddtocardpayloadobj(_objectSpread$29({}, tempaddtocardpayloadobj));
1507
1507
  };
1508
1508
  var formstyles = {
1509
1509
  input_label_name: glamor.css({
@@ -1608,8 +1608,8 @@
1608
1608
  }))));
1609
1609
  };
1610
1610
 
1611
- function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1612
- function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1611
+ function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1612
+ function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1613
1613
  var Product_itemtype = function Product_itemtype(props) {
1614
1614
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
1615
1615
  var lang = props.actions.lang;
@@ -1971,11 +1971,11 @@
1971
1971
  }, /*#__PURE__*/React__default["default"].createElement("span", {
1972
1972
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
1973
1973
  onClick: function onClick() {
1974
- var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
1974
+ var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
1975
1975
  if (tempaddtocardpayloadobj.quantity > 0) {
1976
1976
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
1977
1977
  }
1978
- setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
1978
+ setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
1979
1979
  }
1980
1980
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1981
1981
  className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
@@ -1989,9 +1989,9 @@
1989
1989
  }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
1990
1990
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
1991
1991
  onClick: function onClick() {
1992
- var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
1992
+ var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
1993
1993
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
1994
- setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
1994
+ setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
1995
1995
  }
1996
1996
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1997
1997
  className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
@@ -2271,8 +2271,8 @@
2271
2271
  }, StoreInfoprops())))));
2272
2272
  };
2273
2273
 
2274
- function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2275
- function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2274
+ function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2275
+ function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2276
2276
  var Serviceinfotabs = function Serviceinfotabs(props) {
2277
2277
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
2278
2278
  var langdetect = props.actions.langdetect;
@@ -2313,7 +2313,7 @@
2313
2313
  slots = _useState6[0],
2314
2314
  setslots = _useState6[1];
2315
2315
  React.useEffect(function () {
2316
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2316
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2317
2317
  item_type: 'service'
2318
2318
  }));
2319
2319
  }, [tabsarray]);
@@ -2325,16 +2325,16 @@
2325
2325
  if (diffDays.toString() != 'NaN') {
2326
2326
  if (date2 <= date1) {
2327
2327
  NotificationManager.warning('', 'Please choose another date.');
2328
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2328
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2329
2329
  quantity: 0
2330
2330
  }));
2331
2331
  } else {
2332
2332
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
2333
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2333
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2334
2334
  quantity: diffDays
2335
2335
  }));
2336
2336
  } else {
2337
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2337
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2338
2338
  quantity: 0
2339
2339
  }));
2340
2340
  NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
@@ -2470,7 +2470,7 @@
2470
2470
  min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
2471
2471
  max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
2472
2472
  onChange: function onChange(event) {
2473
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2473
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2474
2474
  from: event.target.value
2475
2475
  }));
2476
2476
  }
@@ -2490,7 +2490,7 @@
2490
2490
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2491
2491
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2492
2492
  onChange: function onChange(event) {
2493
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2493
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2494
2494
  to: event.target.value
2495
2495
  }));
2496
2496
  }
@@ -2510,7 +2510,7 @@
2510
2510
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2511
2511
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2512
2512
  onChange: function onChange(event) {
2513
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2513
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2514
2514
  date: event.target.value
2515
2515
  }));
2516
2516
  setcurrentmutatestate('/fetchserviceslots');
@@ -2561,7 +2561,7 @@
2561
2561
  color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
2562
2562
  },
2563
2563
  onClick: function onClick() {
2564
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2564
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2565
2565
  time: item.slot
2566
2566
  }));
2567
2567
  }
@@ -2570,7 +2570,7 @@
2570
2570
  }, /*#__PURE__*/React__default["default"].createElement("button", {
2571
2571
  "class": TabsStyles.booknow_btn_resp + ' allcentered ',
2572
2572
  onClick: function onClick() {
2573
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2573
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2574
2574
  time: item.slot
2575
2575
  }));
2576
2576
  }
@@ -2612,7 +2612,7 @@
2612
2612
  "class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
2613
2613
  style: {},
2614
2614
  onClick: function onClick() {
2615
- setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2615
+ setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2616
2616
  time: item.slot
2617
2617
  }));
2618
2618
  }
@@ -3265,8 +3265,8 @@
3265
3265
  }, StoreInfoprops()))));
3266
3266
  };
3267
3267
 
3268
- function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3269
- function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3268
+ function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3269
+ function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3270
3270
  var AddReview = function AddReview(props) {
3271
3271
  var _css;
3272
3272
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -3320,7 +3320,7 @@
3320
3320
  StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
3321
3321
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3322
3322
  });
3323
- setsectionproperties(_objectSpread$25({}, secpropobj));
3323
+ setsectionproperties(_objectSpread$26({}, secpropobj));
3324
3324
  }
3325
3325
  }, [StatePagePropertiesContext]);
3326
3326
  React.useEffect(function () {
@@ -3329,7 +3329,7 @@
3329
3329
  templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
3330
3330
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3331
3331
  });
3332
- setsectionproperties(_objectSpread$25({}, secpropobj));
3332
+ setsectionproperties(_objectSpread$26({}, secpropobj));
3333
3333
  }, [pageindexcontext]);
3334
3334
  var reviewstyles = {
3335
3335
  submitreviewbtn: glamor.css({
@@ -3455,9 +3455,9 @@
3455
3455
  }),
3456
3456
  activeColor: "#ffd700",
3457
3457
  onChange: function onChange(event) {
3458
- var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3458
+ var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3459
3459
  tempreviewpayloadobj.reviewrate = event;
3460
- setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3460
+ setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3461
3461
  }
3462
3462
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3463
3463
  "class": "col-lg-12"
@@ -3471,9 +3471,9 @@
3471
3471
  "class": reviewstyles.form_control,
3472
3472
  value: reviewpayloadobj.reviewname,
3473
3473
  onChange: function onChange(event) {
3474
- var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3474
+ var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3475
3475
  tempreviewpayloadobj.reviewname = event.target.value;
3476
- setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3476
+ setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3477
3477
  }
3478
3478
  })), /*#__PURE__*/React__default["default"].createElement("div", {
3479
3479
  "class": "col-lg-12 mb-4"
@@ -3483,9 +3483,9 @@
3483
3483
  "class": reviewstyles.form_control,
3484
3484
  value: reviewpayloadobj.reviewtitle,
3485
3485
  onChange: function onChange(event) {
3486
- var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3486
+ var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3487
3487
  tempreviewpayloadobj.reviewtitle = event.target.value;
3488
- setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3488
+ setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3489
3489
  }
3490
3490
  })), /*#__PURE__*/React__default["default"].createElement("div", {
3491
3491
  "class": "col-lg-12 mb-4"
@@ -3496,9 +3496,9 @@
3496
3496
  "class": reviewstyles.form_control + ' form_control ',
3497
3497
  value: reviewpayloadobj.reviewbody,
3498
3498
  onChange: function onChange(event) {
3499
- var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3499
+ var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3500
3500
  tempreviewpayloadobj.reviewbody = event.target.value;
3501
- setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3501
+ setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3502
3502
  },
3503
3503
  style: {
3504
3504
  resize: 'none',
@@ -3533,10 +3533,253 @@
3533
3533
  }, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
3534
3534
  };
3535
3535
 
3536
+ function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3537
+ function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3538
+ var ProductReviews = function ProductReviews(props) {
3539
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
3540
+ props.actions.lang;
3541
+ var langdetect = props.actions.langdetect;
3542
+ var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
3543
+ var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
3544
+ props.actions.NotificationManager;
3545
+ var sectionproperties = props.actions.sectionproperties;
3546
+ var actions = props.actions;
3547
+ var productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productid;
3548
+ var productinfo_cssstyles = props.actions.productinfo_cssstyles;
3549
+ var _useState = React.useState(false),
3550
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
3551
+ canuserreview = _useState2[0],
3552
+ setcanuserreview = _useState2[1];
3553
+ var _useState3 = React.useState(false),
3554
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
3555
+ openreviewmodal = _useState4[0],
3556
+ setopenreviewmodal = _useState4[1];
3557
+ var _useState5 = React.useState('all'),
3558
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
3559
+ filterproductreviews = _useState6[0],
3560
+ setfilterproductreviews = _useState6[1];
3561
+ var _useState7 = React.useState([]),
3562
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
3563
+ productreviews = _useState8[0],
3564
+ setproductreviews = _useState8[1];
3565
+ React.useEffect(function () {
3566
+ if (fetchProductInfoQueryContext.isSuccess) {
3567
+ getreviewsassignermutationfunc();
3568
+ }
3569
+ }, [filterproductreviews]);
3570
+ var getreviewsassignermutationfunc = function getreviewsassignermutationfunc() {
3571
+ var _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6;
3572
+ GeneralAPIMutationContext.mutate({
3573
+ endpointurl: '/fetchproductreviews',
3574
+ productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productid,
3575
+ filterproductreviews: filterproductreviews,
3576
+ mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
3577
+ if (data.data.status) {
3578
+ setproductreviews(data.data.productreviews);
3579
+ setcanuserreview(data.data.canuserAddReview);
3580
+ }
3581
+ }
3582
+ });
3583
+ };
3584
+ var addreviewcallback = function addreviewcallback() {
3585
+ setopenreviewmodal(false);
3586
+ getreviewsassignermutationfunc();
3587
+ fetchProductInfoQueryContext.refetch();
3588
+ };
3589
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3590
+ className: 'row w-100 ml-0 mr-0',
3591
+ style: {
3592
+ marginTop: sectionproperties.marginTop + 'px'
3593
+ }
3594
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3595
+ "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0"
3596
+ }, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
3597
+ "class": "col-lg-12 allcentered",
3598
+ style: {
3599
+ height: '20vh'
3600
+ }
3601
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
3602
+ color: "#ccc",
3603
+ width: "10px",
3604
+ height: "10px",
3605
+ duration: "1s"
3606
+ })), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
3607
+ "class": "row m-0 w-100"
3608
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3609
+ "class": "col-lg-3"
3610
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3611
+ "class": "row m-0 w-100 allcentered"
3612
+ }, canuserreview && /*#__PURE__*/React__default["default"].createElement("div", {
3613
+ "class": "col-lg-12 allcentered mb-3 p-0"
3614
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
3615
+ "class": "".concat(productinfo_cssstyles.reviewbutton) + ' ',
3616
+ onClick: function onClick() {
3617
+ setopenreviewmodal(true);
3618
+ }
3619
+ }, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)), /*#__PURE__*/React__default["default"].createElement("div", {
3620
+ "class": "col-lg-12 p-0 mb-3"
3621
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3622
+ "class": "row m-0 w-100 py-3 px-2",
3623
+ style: {
3624
+ borderRadius: 10,
3625
+ background: '#eee'
3626
+ }
3627
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3628
+ "class": "col-lg-12 p-0 allcentered"
3629
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3630
+ "class": "m-0 font-weight-600 text-uppercase",
3631
+ style: {
3632
+ fontSize: '17px'
3633
+ }
3634
+ }, langdetect == 'en' ? 'Overall Ratings' : 'جميع التقييمات')), /*#__PURE__*/React__default["default"].createElement("div", {
3635
+ "class": "col-lg-12 pl-3 pr-3"
3636
+ }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
3637
+ "class": "col-lg-12 p-0 allcentered"
3638
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3639
+ "class": "m-0 p-0 font-weight-600",
3640
+ style: {
3641
+ fontSize: '20px'
3642
+ }
3643
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productoverallrate, "/5")), /*#__PURE__*/React__default["default"].createElement("div", {
3644
+ "class": "col-lg-12 p-0 allcentered"
3645
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3646
+ count: 5,
3647
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productoverallrate,
3648
+ edit: false,
3649
+ size: 18,
3650
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3651
+ className: "far fa-star",
3652
+ style: {
3653
+ color: '#bfbfbf'
3654
+ }
3655
+ }),
3656
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3657
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3658
+ }),
3659
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3660
+ className: "fa fa-star",
3661
+ style: {
3662
+ color: '#FAB400'
3663
+ }
3664
+ }),
3665
+ activeColor: "#ffd700"
3666
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
3667
+ "class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
3668
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3669
+ "class": "row m-0 w-100 py-3 px-2",
3670
+ style: {
3671
+ borderRadius: 10,
3672
+ background: '#eee'
3673
+ }
3674
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3675
+ "class": "col-lg-12 p-0 allcentered"
3676
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3677
+ "class": "m-0 font-weight-600 text-uppercase",
3678
+ style: {
3679
+ fontSize: '17px'
3680
+ }
3681
+ }, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
3682
+ "class": "col-lg-12 pl-3 pr-3"
3683
+ }, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
3684
+ "class": "col-lg-12 d-flex justify-content-center"
3685
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3686
+ count: 5,
3687
+ value: filterproductreviews
3688
+ // edit={false}
3689
+ ,
3690
+ size: 18,
3691
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3692
+ className: "far fa-star",
3693
+ style: {
3694
+ color: '#bfbfbf'
3695
+ }
3696
+ }),
3697
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3698
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3699
+ }),
3700
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3701
+ className: "fa fa-star",
3702
+ style: {
3703
+ color: '#FAB400'
3704
+ }
3705
+ }),
3706
+ activeColor: "#ffd700",
3707
+ onChange: function onChange(event) {
3708
+ setfilterproductreviews(event);
3709
+ }
3710
+ })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3711
+ "class": "col-lg-9"
3712
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3713
+ "class": "row m-0 w-100"
3714
+ }, productreviews === null || productreviews === void 0 ? void 0 : productreviews.map(function (reviewitem, reviewindex) {
3715
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3716
+ "class": "col-lg-12 flex-column"
3717
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3718
+ "class": "row m-0 w-100"
3719
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3720
+ "class": "col-lg-12 d-flex justify-content-start p-0 mb-2"
3721
+ }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
3722
+ count: 5,
3723
+ value: reviewitem.review_rating,
3724
+ edit: false,
3725
+ size: 18,
3726
+ emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3727
+ className: "far fa-star",
3728
+ style: {
3729
+ color: '#bfbfbf'
3730
+ }
3731
+ }),
3732
+ halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3733
+ className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
3734
+ }),
3735
+ filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
3736
+ className: "fa fa-star",
3737
+ style: {
3738
+ color: '#FAB400'
3739
+ }
3740
+ }),
3741
+ activeColor: "#ffd700"
3742
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3743
+ "class": "col-lg-12 p-0 mb-2 d-flex justify-content-start "
3744
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3745
+ "class": "m-0 p-0 font-weight-600",
3746
+ style: {
3747
+ fontSize: '17px'
3748
+ }
3749
+ }, reviewitem.reviewtitle)), /*#__PURE__*/React__default["default"].createElement("div", {
3750
+ "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
3751
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3752
+ "class": "m-0 p-0 font-weight-500"
3753
+ }, reviewitem.reviewbody)), /*#__PURE__*/React__default["default"].createElement("div", {
3754
+ "class": "col-lg-6 d-flex align-items-center justify-content-start p-0"
3755
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3756
+ "class": "m-0 p-0 font-weight-600"
3757
+ }, langdetect == 'en' ? 'By' : 'عن طريق', ": ", reviewitem.review_name)), /*#__PURE__*/React__default["default"].createElement("div", {
3758
+ "class": "col-lg-6 d-flex align-items-center justify-content-end justify-content-md-start p-0 font-weight-500 text-light"
3759
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
3760
+ "class": "fa fa-clock text-light ml-2 mr-2"
3761
+ }), " ", reviewitem.timestamp)), /*#__PURE__*/React__default["default"].createElement("hr", null));
3762
+ }))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
3763
+ show: openreviewmodal,
3764
+ onHide: function onHide() {
3765
+ return setopenreviewmodal(false);
3766
+ },
3767
+ centered: true,
3768
+ size: "md",
3769
+ "class": "reviewmodal"
3770
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
3771
+ actions: _objectSpread$25(_objectSpread$25({}, actions), {}, {
3772
+ productid: productid,
3773
+ canuserreview: canuserreview,
3774
+ addreviewcallback: addreviewcallback
3775
+ })
3776
+ }))));
3777
+ };
3778
+
3536
3779
  function ownKeys$24(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3537
3780
  function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3538
3781
  var Productinfo = function Productinfo(props) {
3539
- var _css, _ref, _ref2;
3782
+ var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
3540
3783
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
3541
3784
  var lang = props.actions.lang;
3542
3785
  var langdetect = props.actions.langdetect;
@@ -3558,7 +3801,7 @@
3558
3801
  var setpageindexcontext = props.actions.setpageindexcontext;
3559
3802
  var authdetailsContext = props.actions.authdetailsContext;
3560
3803
  var ikimagecredcontext = props.actions.ikimagecredcontext;
3561
- props.actions;
3804
+ var actions = props.actions;
3562
3805
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
3563
3806
  var setCurrentPageIdContext = props.actions.setCurrentPageIdContext;
3564
3807
  var NotificationManager = props.actions.NotificationManager;
@@ -3623,21 +3866,24 @@
3623
3866
  isloaded = _useState24[0],
3624
3867
  setisloaded = _useState24[1];
3625
3868
  var _useState25 = React.useState(false),
3626
- _useState26 = _slicedToArray__default["default"](_useState25, 2);
3627
- _useState26[0];
3628
- _useState26[1];
3869
+ _useState26 = _slicedToArray__default["default"](_useState25, 2),
3870
+ showMore = _useState26[0],
3871
+ setShowMore = _useState26[1];
3629
3872
  var _useState27 = React.useState(0),
3630
3873
  _useState28 = _slicedToArray__default["default"](_useState27, 2),
3631
3874
  currentshowingimageindex = _useState28[0],
3632
3875
  setcurrentshowingimageindex = _useState28[1];
3633
3876
  var _useState29 = React.useState(0),
3634
- _useState30 = _slicedToArray__default["default"](_useState29, 2);
3635
- _useState30[0];
3636
- _useState30[1];
3877
+ _useState30 = _slicedToArray__default["default"](_useState29, 2),
3878
+ tabIndex = _useState30[0],
3879
+ setTabIndex = _useState30[1];
3637
3880
  var _useState31 = React.useState('descriptiontab'),
3638
- _useState32 = _slicedToArray__default["default"](_useState31, 2);
3639
- _useState32[0];
3640
- _useState32[1];
3881
+ _useState32 = _slicedToArray__default["default"](_useState31, 2),
3882
+ tabname = _useState32[0],
3883
+ settabname = _useState32[1];
3884
+ var handleTabChange = function handleTabChange(event, newTabIndex) {
3885
+ setTabIndex(newTabIndex);
3886
+ };
3641
3887
  React.useEffect(function () {
3642
3888
  if (Object.keys(StatePagePropertiesContext).length != 0) {
3643
3889
  var secpropobj = {};
@@ -4595,7 +4841,234 @@
4595
4841
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
4596
4842
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
4597
4843
  }
4598
- }), /*#__PURE__*/React__default["default"].createElement("div", {
4844
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4845
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
4846
+ style: {
4847
+ paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
4848
+ paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
4849
+ marginBottom: sectionproperties.tabsmb + 'px',
4850
+ paddingTop: sectionproperties.tabsPt + 'px',
4851
+ paddingBottom: sectionproperties.tabsPb + 'px'
4852
+ }
4853
+ }, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
4854
+ value: tabIndex,
4855
+ onChange: handleTabChange,
4856
+ scrollButtons: "auto",
4857
+ TabIndicatorProps: {
4858
+ style: {
4859
+ background: sectionproperties.activetabbordercolor
4860
+ // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
4861
+ // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
4862
+ }
4863
+ },
4864
+
4865
+ sx: {
4866
+ '& button': {
4867
+ color: sectionproperties.tabtextcolor,
4868
+ fontWeight: sectionproperties.tabtextfontweight,
4869
+ background: sectionproperties.tabcontainerbgcolor,
4870
+ textTransform: sectionproperties.tabtexttexttransform,
4871
+ borderRadius: sectionproperties.tabcontainerborderradius + 'px',
4872
+ fontFamily: 'Poppins',
4873
+ transition: '.3s',
4874
+ fontSize: sectionproperties.tabtextfontsize + 'px'
4875
+ },
4876
+ '& button:hover': {
4877
+ color: sectionproperties.tabscoloronhover,
4878
+ fontFamily: 'Poppins',
4879
+ transition: '.3s'
4880
+ },
4881
+ '& button.Mui-selected': {
4882
+ color: sectionproperties.tabtextactivecolor,
4883
+ background: sectionproperties.activetabbgcolor,
4884
+ fontFamily: 'Poppins',
4885
+ transition: '.3s'
4886
+ }
4887
+ },
4888
+ variant: 'fullWidth'
4889
+ // tabsfullwidth
4890
+ }, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4891
+ label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
4892
+ onClick: function onClick() {
4893
+ settabname('descriptiontab');
4894
+ }
4895
+ }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4896
+ label: langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar,
4897
+ onClick: function onClick() {
4898
+ settabname('shippingpolicytab');
4899
+ }
4900
+ }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4901
+ label: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar,
4902
+ onClick: function onClick() {
4903
+ settabname('refundpolicytab');
4904
+ }
4905
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : (_fetchProductInfoQuer59 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : (_fetchProductInfoQuer60 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4906
+ label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
4907
+ onClick: function onClick() {
4908
+ settabname('reviewstab');
4909
+ }
4910
+ }))), sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, null, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
4911
+ value: tabIndex,
4912
+ onChange: handleTabChange,
4913
+ scrollButtons: "auto",
4914
+ TabIndicatorProps: {
4915
+ style: {
4916
+ background: sectionproperties.activetabbordercolor
4917
+ // right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
4918
+ // margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
4919
+ }
4920
+ },
4921
+
4922
+ sx: {
4923
+ '& button': {
4924
+ color: sectionproperties.tabtextcolor,
4925
+ fontWeight: sectionproperties.tabtextfontweight,
4926
+ background: sectionproperties.tabcontainerbgcolor,
4927
+ textTransform: sectionproperties.tabtexttexttransform,
4928
+ borderRadius: sectionproperties.tabcontainerborderradius + 'px',
4929
+ fontFamily: 'Poppins',
4930
+ transition: '.3s',
4931
+ fontSize: sectionproperties.tabtextfontsize + 'px'
4932
+ },
4933
+ '& button:hover': {
4934
+ color: sectionproperties.tabscoloronhover,
4935
+ fontFamily: 'Poppins',
4936
+ transition: '.3s'
4937
+ },
4938
+ '& button.Mui-selected': {
4939
+ color: sectionproperties.tabtextactivecolor,
4940
+ background: sectionproperties.activetabbgcolor,
4941
+ fontFamily: 'Poppins',
4942
+ transition: '.3s'
4943
+ }
4944
+ }
4945
+ }, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4946
+ label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
4947
+ onClick: function onClick() {
4948
+ settabname('descriptiontab');
4949
+ }
4950
+ }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4951
+ label: langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar,
4952
+ onClick: function onClick() {
4953
+ settabname('shippingpolicytab');
4954
+ }
4955
+ }), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4956
+ label: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar,
4957
+ onClick: function onClick() {
4958
+ settabname('refundpolicytab');
4959
+ }
4960
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : (_fetchProductInfoQuer62 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : (_fetchProductInfoQuer63 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
4961
+ label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
4962
+ onClick: function onClick() {
4963
+ settabname('reviewstab');
4964
+ }
4965
+ }))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
4966
+ "class": "w-100 mt-5 mb-4"
4967
+ }, tabname == 'descriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
4968
+ "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
4969
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4970
+ "class": "row m-0 w-100"
4971
+ }, langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : (_fetchProductInfoQuer65 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : (_fetchProductInfoQuer66 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : (_fetchProductInfoQuer68 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : (_fetchProductInfoQuer69 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
4972
+ className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
4973
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4974
+ className: "row m-0 w-100 d-flex"
4975
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4976
+ "class": "col-lg-12 p-0 d-flex justify-content-start"
4977
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4978
+ className: 'text-black text-capitalize m-0 p-0 wordbreak',
4979
+ style: {
4980
+ textAlign: langdetect == 'en' ? 'left' : 'right'
4981
+ },
4982
+ dangerouslySetInnerHTML: {
4983
+ __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : (_fetchProductInfoQuer71 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : (_fetchProductInfoQuer72 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : (_fetchProductInfoQuer74 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : (_fetchProductInfoQuer75 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.description_en.slice(0, 1000)
4984
+ }
4985
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4986
+ "class": "col-lg-12 allcentered"
4987
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : (_fetchProductInfoQuer77 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : (_fetchProductInfoQuer78 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
4988
+ "class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
4989
+ onClick: function onClick() {
4990
+ return setShowMore(!showMore);
4991
+ }
4992
+ }, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : (_fetchProductInfoQuer80 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : (_fetchProductInfoQuer81 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : (_fetchProductInfoQuer83 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : (_fetchProductInfoQuer84 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
4993
+ className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
4994
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4995
+ className: "row m-0 w-100 d-flex"
4996
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4997
+ "class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
4998
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4999
+ className: 'text-black text-capitalize m-0 p-0 wordbreak',
5000
+ style: {
5001
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5002
+ },
5003
+ dangerouslySetInnerHTML: {
5004
+ __html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : (_fetchProductInfoQuer86 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : (_fetchProductInfoQuer87 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : (_fetchProductInfoQuer89 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : (_fetchProductInfoQuer90 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.description_ar.slice(0, 1000)
5005
+ }
5006
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
5007
+ "class": "col-lg-12 allcentered"
5008
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : (_fetchProductInfoQuer92 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : (_fetchProductInfoQuer93 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
5009
+ "class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
5010
+ onClick: function onClick() {
5011
+ return setShowMore(!showMore);
5012
+ }
5013
+ }, showMore ? lang.showless : lang.showmore)))), sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : (_fetchProductInfoQuer95 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : (_fetchProductInfoQuer96 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : (_fetchProductInfoQuer97 = _fetchProductInfoQuer96.productimages) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
5014
+ "class": "col-lg-12 p-0"
5015
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5016
+ "class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
5017
+ style: {
5018
+ paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
5019
+ paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
5020
+ }
5021
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : (_fetchProductInfoQuer99 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : (_fetchProductInfoQuer100 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : (_fetchProductInfoQuer101 = _fetchProductInfoQuer100.productimages) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.map(function (item, index) {
5022
+ if (index <= 6) {
5023
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5024
+ "class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
5025
+ style: {
5026
+ height: sectionproperties.galleryHeight + 'px'
5027
+ }
5028
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
5029
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
5030
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
5031
+ path: '/tr:w-' + sectionproperties.galleryWidthDimension + ',h-' + sectionproperties.galleryHeightDimension + '/' + item.path,
5032
+ style: {
5033
+ width: '100%',
5034
+ height: '100%',
5035
+ objectFit: 'contain'
5036
+ },
5037
+ loading: "lazy"
5038
+ }));
5039
+ }
5040
+ }))))), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
5041
+ "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
5042
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5043
+ className: ' m-0 p-0 wordbreak ',
5044
+ style: {
5045
+ lineClamp: 10,
5046
+ WebkitLineClamp: 10,
5047
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5048
+ },
5049
+ dangerouslySetInnerHTML: {
5050
+ __html: langdetect == 'en' ? (_returnpolicyobj9 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj9 === void 0 ? void 0 : _returnpolicyobj9.policycontent_en : (_returnpolicyobj10 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policycontent_ar
5051
+ }
5052
+ })), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
5053
+ "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
5054
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
5055
+ className: ' m-0 p-0 wordbreak ',
5056
+ style: {
5057
+ lineClamp: 10,
5058
+ WebkitLineClamp: 10,
5059
+ textAlign: langdetect == 'en' ? 'left' : 'right'
5060
+ },
5061
+ dangerouslySetInnerHTML: {
5062
+ __html: langdetect == 'en' ? (_returnpolicyobj11 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj11 === void 0 ? void 0 : _returnpolicyobj11.policycontent_en : (_returnpolicyobj12 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj12 === void 0 ? void 0 : _returnpolicyobj12.policycontent_ar
5063
+ }
5064
+ })), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
5065
+ "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
5066
+ }, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
5067
+ actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
5068
+ productinfo_cssstyles: productinfo_cssstyles,
5069
+ sectionproperties: sectionproperties
5070
+ })
5071
+ }))))), /*#__PURE__*/React__default["default"].createElement("div", {
4599
5072
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
4600
5073
  style: {
4601
5074
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,