{"version":3,"sources":["store/actions.js","components/login/index.js","store/configureStore.js","hooks/blocking.hook.js","services/service.js","fetchIntercept.js","services/account.service.js","hooks/useWindowViewport.js","components/modalCalendar/modalCalendar.js","components/register/index.js","components/register/totalplay.js","components/itemPurchaseDetails/index.js","components/itemPurchase/index.js","components/boxPayMethod/itemPayMethod/index.js","hooks/cart.hook.js","services/paymentMethod.service.js","components/boxPayMethod/index.js","components/asidePurchase/index.js","components/header/index.js","components/footer/index.js","components/blockScreen/index.js","hooks/shouldShowPrompt.js","hooks/iosInstallPrompt.js","hooks/webInstallPrompt.js","components/pwa/installPWA.js","components/whatsAppButton/index.js","views/Layout.js","components/hubItemProvider/index.js","components/hubContainer/index.js","components/sliderProvider/sliderItemProvider/index.js","components/sliderProvider/index.js","components/wrapperProviderIndividual/itemProviderIndividual/index.js","components/wrapperProviderIndividual/index.js","components/wrapperBullets/index.js","components/sliderHome/index.js","services/coupon.service.js","components/couponsSlider/couponsSlider.js","views/Home.js","components/videoProvider/index.js","components/asideProvider/index.js","components/itemProduct/index.js","components/modalMessage/index.js","components/containProvider/index.js","components/favoriteCheck/index.js","services/product.service.js","components/providers/index.js","views/Provider.js","components/purchasedItemDetails/index.js","components/purchasedItem/index.js","components/shoppingHistoryWrapper/pagination.js","components/shoppingHistoryWrapper/index.js","views/ShoppingHistory.js","components/countryNoticePrivacy/mexico.js","components/countryNoticePrivacy/CostaRica.js","components/countryNoticePrivacy/guatemala.js","views/NoticePrivacy.js","components/countryTermsAndConditions/mexico.js","components/countryTermsAndConditions/costaRica.js","components/countryTermsAndConditions/guatemala.js","views/TermsAndConditions.js","views/ResetPassword.js","views/ForgotPassword.js","views/ConfirmedAccount.js","views/PaymentCanceled.js","services/card.service.js","components/paymentMethod/cardItem/cardItem.js","services/country.service.js","components/paymentMethod/redPay/redpay.js","views/PaymentMethod.js","views/Unsubscribe.js","views/PurchaseOrderDetail.js","views/CreateInvoice.js","components/recharge/newReference.js","components/recharge/selectReference.js","components/recharge/productItem.js","components/recharge/rechargeForm.js","components/recharge/rechargeDetails.js","components/recharge/recharge.js","views/RechargeView.js","views/UserProfile.js","App.js","registerServiceWorker.js","index.js"],"names":["getUser","dispatch","fetch","method","then","response","json","result","setUser","isAuthenticated","IsAuthenticated","firstName","FirstName","lastName","LastName","paymentMethods","PaymentMethods","UserMenu","catch","error","console","log","data","type","user","Login","toggleSurvey","useDispatch","useForm","register","errors","formState","handleSubmit","useState","showPass","setShowPass","className","onSubmit","e","headers","body","JSON","stringify","ok","Status","target","reset","Message","swal","title","text","icon","htmlFor","id","required","pattern","message","value","Email","Badge","variant","Password","onClick","to","initState","modal","company","companyLogo","countrySetting","cultureCode","isoCurrency","currency","blocking","whatsApp","createStore","state","action","payload","applyMiddleware","thunk","setBlocking","status","store","callApi","fetchIntercept","request","url","config","requestError","Promise","reject","responseError","a","options","handleResponse","handleError","isFileResponse","blob","parse","redirected","window","location","href","statusCode","errorMessage","accountService","getCompanyCatalog","getRegisterTypeCatalog","updateDataProfile","model","useWindowViewport","windowWidth","setWindowWidth","windowHeight","setWindowHeight","useEffect","updateWindowViewport","innerWidth","innerHeight","addEventListener","removeEventListener","ModalCalendar","handleOpenCalendar","handleShowRegisterForm","handleDateMobile","valueDateMobile","handleCleanDateMobile","legalAge","setLegalAge","dtToday","Date","month","getMonth","day","getDate","year","getFullYear","toString","minDate","parsedDate","moment","format","String","handleMinDate","disabled","placeholder","onChange","srt","maxDate","dateFormat","defaultValue","Register","props","useSelector","isLoading","setIsLoading","companies","setCompanies","registerTypes","setRegisterTypes","show","enrollment","setEnrollment","dateNow","setDateNow","isOne","setIsOne","showPassConfirm","setShowPassConfirm","setValueDateMobile","resetField","watch","getFieldState","setValue","control","registerTypeRef","useRef","password","showCalendarMobile","setShowCalendarMobile","today","date","script","document","createElement","src","appendChild","handleSearchCompany","query","Model","handleChangeRegisterType","filter","f","Value","length","selectedIndex","innerText","IAgree","grecaptcha","ready","_","execute","process","captchaResponse","CaptchaResponse","Company","Surnames","validate","setShowLogeo","dateParsed","max","Birthday","for","Gender","rules","name","render","field","filterBy","labelKey","minLength","onSearch","renderMenuItemChildren","option","Label","selected","undefined","label","current","focus","handleChangeCompany","ref","key","map","item","RegisterType","oneLetterUpper","test","oneLetterLower","oneSpecialChar","oneNumber","extension","ConfirmPassword","TotalPlay","Enrollment","ItemPurchaseDetails","deletePurchaseItemDetail","ProviderId","ProductId","Reference","Name","Price","toLocaleString","minimumFractionDigits","maximumFractionDigits","SettingProviderName","onChangeQuantity","Quantity","Total","ItemPurchase","activeAccordion","setStateAccordion","activeChevron","setStateChevron","items","Items","deletePurchaseItem","ProviderName","Logo","alt","aria-labelledby","data-parent","itemDetail","ItemPayMethod","payOrder","paymentMethodId","UrlLogo","cartHook","getItems","rechargeProducts","products","push","localStorage","provider","itemtemp","UrlImage","ProductPrice","Cant","ProductCode","Code","Description","Descripcion","CountryCode","CampaingCode","FcPromocionID","clean","paymentMethodService","getCardList","deleteCard","createOrder","BoxPayMethod","onCloseClick","history","useHistory","onlyOneClick","setOnlyOneClick","Products","PaymentMethodId","ValidationMessage","pathname","$","append","paymentMethod","AsidePurchase","activeAside","pruchaseItems","setPurchaseItems","total","setTotal","providerId","productId","reference","buttons","dangerMode","willDelete","cartItems","totalItems","parseFloat","foundProvider","find","p","foundProduct","providerName","val","parseInt","toFixed","Fragment","Header","showSurvey","setShowSurvey","toggle","setStateAside","AsidePurchaseBox","activePurchase","setStatusPurchase","setStatePurchase","btnMenu","setBtnMenu","menuMobile","setMenuMobile","MenuMobile","showLogeo","toggleLogeo","dropdownOpen","setDropdownOpen","toggleDrop","prevState","ButtonModal","MailContact","style","margin","viewBox","fill","height","d","isOpen","tag","aria-expanded","background","Footer","currentYear","setCurrentYear","BlockScreen","color","setInstallPromptSeenToday","promptName","toISOString","setItem","getUserShouldBePromptedToInstall","daysToWaitBeforePromptingAgain","lastPrompt","getItem","getInstallPromptLastSeenAt","daysSinceLastPrompt","diff","isNaN","useShouldShowPrompt","userShouldBePromptedToInstall","setUserShouldBePromptedToInstall","handleUserSeeingInstallPrompt","isIOS","navigator","standalone","ua","userAgent","isIPad","match","isIPhone","useIosInstallPrompt","useWebInstallPrompt","installPromptEvent","setInstallPromptEvent","beforeInstallPromptHandler","event","preventDefault","prompt","userChoice","choice","outcome","InstallPWA","iosInstallPrompt","handleIOSInstallDeclined","webInstallPrompt","handleWebInstallDeclined","handleWebInstallAccepted","centered","borderTopRightRadius","borderTopLeftRadius","backgroundColor","marginTop","width","WhatsAppButton","phone","rel","Layout","getBrowser","isSupported","sUsrAg","indexOf","settings","search","validateCountry","LandingCountry","setState","setCountrySetting","CultureCode","ISOCurrency","Currency","setWhatsApp","WhatsApp","landingCountry","Redirect","UrlRedirect","ShowAlert","CountryDefault","CountryNameIp","UrlEcommerce","bind","this","children","Component","displayName","connect","HubItemProvider","validateSetModal","setModal","providersOptions","providers","next_props","providersOption","ProviderInputValueDto","ProviderInputValueId","Id","ProviderLogo","HubContainer","activeTab","setActiveTab","tabs","classnames","active","ProviderCategoryId","tab","tabId","ProviderDTO","SliderItemProvider","SliderProvider","dots","infinite","slidesToShow","slidesToScroll","autoplay","speed","autoplaySpeed","pauseOnHover","responsive","breakpoint","initialSlide","ItemProviderIndividual","WrapperProviderIndividual","prov","index","ProviderLink","WrapperBullets","SliderHome","idBan","slider","carrousel","centerPadding","swipeToSlide","centerMode","Link","CompanyCarrouselId","class","UrlImageResponsive","origin","couponService","getAll","download","CouponsSlider","activeSubscription","coupons","setCoupons","coupon","setCoupon","CouponId","ImagePath","FilePath","CouponTemplateName","Home","params","Providers","Carrousel","featuredProviders","FeaturedProviders","componentWillReceiveProps","nextProps","purchaseOrderDetail","setCompany","scrollTop","VideoProvider","urlImage","urlVideo","frameborder","allow","allowfullscreen","AsideProvider","isAll","setIsAll","toggleCategories","ItemProduct","settingProviderId","addPruchaseItem","activeBoxTooltip","setBoxTooltip","ShowTooltip","newRef","setNewRef","toggleRef","savedReferences","SaveReference","references","setReferences","BoxReference","settingProviderName","autocomplete","urlRoot","Number","dangerouslySetInnerHTML","__html","Restrictions","urlLogoClrs","ModalMessage","colorClass","iconClass","Modal","size","onHide","handleShow","Body","closeButton","ContainProvider","outstandingProducts","OutstandingProducts","CompanyProducts","setAvailableBranches","display","hide","showModal","setShowModal","itemData","UrlLogoClrs","proveedorId","SettingProviderId","isNew","itemProvider","click","states","foundState","c","State","Estado","Branches","Cine","obj","Info","UrlVideo","StorageRoot","FavoriteCheck","activeFav","stateFav","productService","getProducts","providerModel","setCompanyLogo","UrlLogoCompany","bgProviders","UrlHeader","UrlImageVideo","Provider","PurchasedItemDetails","SubTotal","PurchasedItem","collapse","setCollapse","OrderNumber","Details","OrderId","require","saveAs","itemTypeToComponent","ITEM_TYPES","PAGE","isActive","isDisabled","ELLIPSIS","FIRST_PAGE_LINK","PREVIOUS_PAGE_LINK","NEXT_PAGE_LINK","LAST_PAGE_LINK","PaginatedPage","createUltimatePagination","ShoppingHistoryWrapper","shoppingHistory","page","setPage","totalPages","currentPage","ShoppingHistory","NoticePrivacyMexico","NoticePrivacyCostaRica","NoticePrivacyGuatemala","NoticePrivacy","noticePrivacyByCountry","TermsAndConditionsMexico","TermsAndConditionsCostaRica","textDecoration","TermsAndConditionsGuatemala","TermsAndConditions","termsAndConditionsByCountry","ResetPassword","split","aria-describedby","ForgotPassword","ConfirmedAccount","PaymentCanceled","cardService","validateBin","cardId","bin","CardItem","selectCard","cardList","setCardList","card","setCard","getList","CardId","CardNumber","IsSuccessful","onSelectCard","CardType","countryService","getAllCountry","getStateByCountry","countryId","RedPay","CardExpirationMonth","CardExpirationYear","Cvv","TypeCardId","CountryId","IdState","City","PostalCode","Street","StreetNumber","cardValidators","setCardValidators","lstCountry","setLstCountry","lstStateCountry","setLstStateCountry","country","setCountry","stateCountry","setStateCountry","typeCard","setTypeCard","submitRef","handleChange","validateItem","handleChangeCard","cardType","getCardType","cardNumber","replace","input","validateForm","inputs","forms","getElementsByTagName","validationInputs","Object","keys","includes","values","validateBinNumber","getElementById","submit","substring","res","UrlSubmit","readOnly","Amount","TypeCard","mask","maskChar","CountryName","countryStateId","maxLength","PaymentMethod","component","switchPaymentMethod","Unsubscribe","PurchaseOrderDetail","ps","setTimeout","getProductOrder","ProductName","showGenerateInvoice","IsBillable","IsSaleText","scope","CreateInvoice","createInvoice","invoiceInfoConfigs","InvoiceInfoConfigs","sendData","renderControls","elements","Array","forEach","controlType","PreviousValue","ControlType","toLowerCase","InvoiceSelectValues","o","Key","NewReference","section","hasReferencesValue","onSelectReference","isVariable","providerInputValues","showInput","setShowInput","InputName","InputType","checked","SelectReference","userInputValue","referenceValue","handleSelectItem","useCallback","confirm","amount","providerInputValueId","isSaveReference","inputItem","userProfileInputValueId","KeyName","ProductItem","showInfo","setShowInfo","fShowInfo","Restriction","RechargeForm","vSection","onChangeReferenceData","selectReferenceData","setSelectedProduct","referenceData","selectedProduct","activeSec","setActiveSec","hasReferences","setHasReferences","sec","productItem","product","cant","productPrice","PublicPrice","RechargeDetails","Recharge","activeSection","setActiveSection","setProvider","setProducts","setIsVariable","setUserInputValue","setReferenceData","publicPrice","getProductInfo","IsVariable","inputValueResponse","inputValueResult","fToogleSection","RechargeView","UserProfile","StatusCode","App","path","exact","isLocalhost","Boolean","hostname","registerValidSW","swUrl","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","rootElement","createBrowserHistory","ReactGA","initialize","pageview","plugin","listen","ReactDOM","basename","URL","contentType","get","unregister","reload","checkValidServiceWorker","registerServiceWorker","waiting","postMessage"],"mappings":"ipCAAaA,EAAU,WACnB,OAAO,SAACC,GACJC,MAAM,+BAAgC,CAAEC,OAAQ,QAC3CC,MAAK,SAACC,GAAD,OAAcA,EAASC,UAC5BF,MAAK,SAACG,GACHN,EACIO,EAAQ,CACJC,gBAAiBF,EAAOG,gBACxBC,UAAWJ,EAAOK,UAClBC,SAAUN,EAAOO,SACjBC,eAAgBR,EAAOS,eACvBC,SAAUV,EAAOU,eAI5BC,OAAM,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OC,SAAS+uB,eAKxBxB,GAAgBC,EAAOtuB,MAG9BrE,OAAM,WACHE,QAAQC,IACJ,oEArFAg0B,CAAwBxB,EAAOtuB,GAI/BgT,UAAUub,cAAcvnB,MAAMnM,MAAK,WAC/BgB,QAAQC,IACJ,iHAMRuyB,GAAgBC,EAAOtuB,OCpBvC+vB,CAA+B,CAC3BjB,SAAU,SAACN,GACHA,GAAgBA,EAAawB,SAC7BxB,EAAawB,QAAQC,YAAY,CAAEj0B,KAAM,iBAE7C6E,OAAOC,SAAS+uB,a","file":"static/js/main.32897566.chunk.js","sourcesContent":["export const getUser = () => {\r\n return (dispatch) => {\r\n fetch(\"/api/Account/IsAuthenticated\", { method: \"GET\" })\r\n .then((response) => response.json())\r\n .then((result) => {\r\n dispatch(\r\n setUser({\r\n isAuthenticated: result.IsAuthenticated,\r\n firstName: result.FirstName,\r\n lastName: result.LastName,\r\n paymentMethods: result.PaymentMethods,\r\n UserMenu: result.UserMenu,\r\n })\r\n );\r\n })\r\n .catch((error) => {\r\n console.log(\"error\", error);\r\n });\r\n };\r\n};\r\n\r\nconst setUser = (data) => {\r\n return {\r\n type: \"Get_User\",\r\n user: { ...data },\r\n };\r\n};\r\n\r\nexport const setModal = () => {\r\n return {\r\n type: \"Set_Modal\",\r\n };\r\n};\r\n\r\nexport const setCompany = (company) => {\r\n return {\r\n type: \"Set_Company\",\r\n company: company,\r\n };\r\n};\r\n\r\nexport const setCompanyLogo = (companyLogo) => {\r\n return {\r\n type: \"Set_CompanyLogo\",\r\n companyLogo: companyLogo,\r\n };\r\n};\r\n\r\nexport const setCountrySetting = (countrySetting) => {\r\n return {\r\n type: \"Set_CountrySetting\",\r\n countrySetting: countrySetting,\r\n };\r\n};\r\n\r\nexport const toggleBlocking = (payload) => {\r\n return {\r\n type: \"Toggle_Blocking\",\r\n payload,\r\n };\r\n};\r\n\r\nexport const setWhatsApp = (payload) => {\r\n return {\r\n type: \"Set_WhatsApp\",\r\n payload,\r\n };\r\n};\r\n","import React, { useState } from \"react\";\r\nimport { useForm } from 'react-hook-form';\r\nimport swal from \"sweetalert\";\r\nimport { Link } from 'react-router-dom';\r\nimport { useDispatch } from \"react-redux\";\r\nimport { Badge } from 'react-bootstrap';\r\n\r\nimport { getUser, setModal } from '../../store/actions';\r\n\r\nconst Login = ({ toggleSurvey }) => {\r\n const dispatch = useDispatch();\r\n const { register, formState: { errors }, handleSubmit } = useForm();\r\n const [showPass, setShowPass] = useState(false);\r\n\r\n const onSubmit = (data, e) => {\r\n fetch('/api/Account/Login', {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify(data)\r\n }).then(function (response) {\r\n if (response.ok) {\r\n return response.json()\r\n }\r\n }).then(function (result) {\r\n if (result.Status) {\r\n toggleSurvey();\r\n e.target.reset();\r\n dispatch(getUser());\r\n dispatch(setModal());\r\n //if (result.AlternativeEmail) alternativeEmail();\r\n } else {\r\n if (result.Message == \"Confirm\") swal({ title: \"Ayúdanos a saber que eres tú\", text: \"Revisa tu correo electrónico y verifica tu cuenta\", icon: \"warning\" });\r\n else swal({ text: result.Message, icon: \"error\" });\r\n\r\n }\r\n }).catch(function (error) {\r\n console.log(error);\r\n swal({ text: \"Error\", icon: \"error\" });\r\n });\r\n }\r\n\r\n const alternativeEmail = () => {\r\n swal({\r\n title: \"No tienes un email alternativo registrado. ¿Deseas agregarlo?\",\r\n icon: \"warning\",\r\n buttons: {\r\n yes: {\r\n text: \"Si\",\r\n value: \"yes\"\r\n },\r\n no: {\r\n text: \"No volver a preguntar\",\r\n value: \"no\"\r\n }\r\n }\r\n }).then((value) => {\r\n switch (value) {\r\n case \"yes\":\r\n swalAlternativeEmail();\r\n break;\r\n case \"no\":\r\n updateAlternativeEmail(\"\");\r\n break;\r\n }\r\n })\r\n }\r\n\r\n const swalAlternativeEmail = () => {\r\n swal(\"Correo alternativo:\", {\r\n content: \"input\",\r\n }).then(email => {\r\n var re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n if (re.test(email)) {\r\n updateAlternativeEmail(email);\r\n } else {\r\n swal({ text: \"Email no valido\", icon: \"error\" }).then(() => {\r\n swalAlternativeEmail();\r\n })\r\n }\r\n })\r\n }\r\n\r\n return (\r\n
\r\n\r\n
\r\n
Iniciar sesión
\r\n
\r\n
\r\n \r\n \r\n {errors.Email && {errors.Email?.message}}\r\n
\r\n
\r\n \r\n \r\n setShowPass(!showPass)}>\r\n {errors.Password && Password requerido}\r\n
\r\n
\r\n \r\n \r\n dispatch(setModal())}>\r\n Olvide mi contraseña\r\n \r\n \r\n \r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n )\r\n\r\n const updateAlternativeEmail = (alternativeEmail) => {\r\n\r\n\r\n fetch('/api/Account/UpdateAlternativeEmail', {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({ alternativeEmail: alternativeEmail })\r\n }).then(function (response) {\r\n if (response.ok) {\r\n return response.json()\r\n }\r\n }).then(function (result) {\r\n if (result.Status) {\r\n if (result.AlternativeEmail) {\r\n swal(\"¡Correo agregado correctamente!\", \"A partir de ahora, recibirás una copia de todas las notificaciones de Red Voucher Online a este correo. \", \"success\");\r\n }\r\n } else {\r\n swal({ text: result.Message, icon: \"error\" }).then(() => {\r\n swalAlternativeEmail();\r\n });\r\n }\r\n }).catch(function (error) {\r\n console.log(error);\r\n swal({ text: \"Error al actualizar correo alternativo\", icon: \"error\" })\r\n });\r\n }\r\n}\r\n\r\nexport default Login;\r\n","import { createStore, applyMiddleware } from \"redux\";\r\nimport thunk from \"redux-thunk\";\r\n\r\nconst initState = {\r\n user: {\r\n isAuthenticated: false,\r\n firstName: \"\",\r\n lastName: \"\",\r\n paymentMethods: [],\r\n },\r\n modal: false,\r\n company: \"\",\r\n companyLogo: \"\",\r\n countrySetting: {\r\n cultureCode: \"\",\r\n isoCurrency: \"\",\r\n currency: \"\",\r\n },\r\n blocking: false,\r\n whatsApp: \"\"\r\n};\r\n\r\nconst generalReducer = (state = initState, action) => {\r\n switch (action.type) {\r\n case \"Get_User\":\r\n return {\r\n ...state,\r\n user: action.user,\r\n };\r\n case \"Set_Modal\":\r\n return {\r\n ...state,\r\n modal: !state.modal,\r\n };\r\n case \"Set_Company\":\r\n return {\r\n ...state,\r\n company: action.company,\r\n };\r\n case \"Set_CompanyLogo\":\r\n return {\r\n ...state,\r\n companyLogo: action.companyLogo != null ? action.companyLogo : \"\",\r\n };\r\n case \"Set_CountrySetting\":\r\n return {\r\n ...state,\r\n countrySetting: action.countrySetting,\r\n };\r\n case \"Toggle_Blocking\":\r\n return {\r\n ...state,\r\n blocking: action.payload,\r\n };\r\n case \"Set_WhatsApp\":\r\n return {\r\n ...state,\r\n whatsApp: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default createStore(generalReducer, applyMiddleware(thunk));\r\n","import { toggleBlocking } from \"../store/actions\";\r\nimport store from \"../store/configureStore\";\r\n\r\nexport const setBlocking = (status) => store.dispatch(toggleBlocking(status));\r\n","import { registerInterceptor } from \"../fetchIntercept\";\r\n\r\n/**\r\n * Communication with the API\r\n * @param {*} url\r\n * @param {*} method\r\n * @param {*} body\r\n * @param {*} contentType\r\n */\r\n\r\nexport const callApi = async (url, method, body) => {\r\n var options = {\r\n method: method,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n body: JSON.stringify(body),\r\n };\r\n\r\n return fetch(`/api${url}`, options)\r\n .then((response) => handleResponse(response, false))\r\n .catch(handleError);\r\n};\r\n\r\nconst handleResponse = (response, isFileResponse) => {\r\n if (!isFileResponse) {\r\n if (response.ok) {\r\n return response.text().then((text) => {\r\n let data;\r\n\r\n try {\r\n data = text && JSON.parse(text);\r\n } catch (e) {\r\n data = text;\r\n }\r\n\r\n if (response.redirected) window.location.href= response.url;\r\n return data;\r\n });\r\n }\r\n\r\n return {\r\n statusCode: response.status,\r\n errorMessage: `Status code ${response.status}`,\r\n };\r\n }\r\n else return response.blob();\r\n};\r\n\r\nconst handleError = (error) => {\r\n console.log(\"error\", error);\r\n if (error.message === \"Failed to fetch\")\r\n error.message = \"El servicio no se encuentra disponible temporalmente\";\r\n return Promise.reject(error);\r\n};\r\n","import fetchIntercept from \"fetch-intercept\";\r\nimport { setBlocking } from \"./hooks/blocking.hook\";\r\n\r\nexport const registerInterceptor = fetchIntercept.register({\r\n request: function (url, config) {\r\n // Modify the url or config here\r\n if (config) setBlocking(true);\r\n\r\n return [url, config];\r\n },\r\n\r\n requestError: function (error) {\r\n // Called when an error occured during another 'request' interceptor call\r\n setBlocking(false);\r\n return Promise.reject(error);\r\n },\r\n\r\n response: function (response) {\r\n // Modify the reponse object\r\n setBlocking(false);\r\n return response;\r\n },\r\n\r\n responseError: function (error) {\r\n // Handle an fetch error\r\n setBlocking(false);\r\n return Promise.reject(error);\r\n },\r\n});\r\n","import { callApi } from './service';\r\n\r\nexport const accountService = {\r\n getCompanyCatalog,\r\n getRegisterTypeCatalog,\r\n register,\r\n updateDataProfile\r\n};\r\n\r\nasync function getCompanyCatalog(company) {\r\n return callApi(`/account/companycatalog?company=${company}`, \"Get\")\r\n .then((result) => result)\r\n .catch(() => []);\r\n}\r\n\r\nasync function getRegisterTypeCatalog(id) {\r\n return callApi(`/account/registertypecatalog?company=${id}`, \"Get\")\r\n .then((result) => result)\r\n .catch(() => []);\r\n}\r\n\r\nasync function register(model) {\r\n return callApi(\"/account/register\", \"Post\", model).then((result) => result);\r\n}\r\n\r\nasync function updateDataProfile(model) {\r\n return callApi(\"/account/updatedataprofile\", \"Post\", model);\r\n}","import { useEffect, useState } from \"react\";\r\n\r\nexport const useWindowViewport = () => {\r\n const [windowWidth, setWindowWidth] = useState(0);\r\n const [windowHeight, setWindowHeight] = useState(0);\r\n useEffect(() => {\r\n function updateWindowViewport() {\r\n setWindowWidth(window.innerWidth);\r\n setWindowHeight(window.innerHeight);\r\n }\r\n window.addEventListener(\"resize\", updateWindowViewport);\r\n updateWindowViewport();\r\n return () => window.removeEventListener(\"resize\", updateWindowViewport);\r\n }, []);\r\n return { windowWidth, windowHeight };\r\n}\r\n\r\nexport default useWindowViewport;\r\n","import React, {useEffect, useState} from \"react\";\r\n\r\nimport 'react-calendar/dist/Calendar.css';\r\nimport Calendar from 'react-calendar';\r\nimport \"./modalCalendar.scss\";\r\nimport moment from \"moment\";\r\nimport \"moment/locale/es\";\r\n\r\nconst ModalCalendar = ({handleOpenCalendar,handleShowRegisterForm,handleDateMobile,valueDateMobile, handleCleanDateMobile}) => {\r\n\r\n const [legalAge,setLegalAge] = useState(\"\");\r\n\r\n const handleCancelSelectDate = () => {\r\n handleCleanDateMobile(\"\");\r\n handleShowRegisterForm(true);\r\n handleOpenCalendar(false);\r\n }\r\n\r\n const handleSelectDate = (srt) => {\r\n const parsedDate = moment(srt).format(\"DD/MMM/YYYY\")\r\n handleDateMobile(parsedDate);\r\n }\r\n\r\n const handleMinDate = () => {\r\n const dtToday = new Date();\r\n\r\n let month = dtToday.getMonth() + 1;// jan=0; feb=1 .......\r\n let day = dtToday.getDate();\r\n const year = dtToday.getFullYear() - 18;\r\n if(month < 10)\r\n month = '0' + month.toString();\r\n if(day < 10)\r\n day = '0' + day.toString();\r\n const minDate = year + '/' + month + '/' + day;\r\n const parsedDate = moment(minDate).format(\"DD/MMM/YYYY\");\r\n return setLegalAge(String(parsedDate));\r\n }\r\n\r\n useEffect(() => {\r\n handleMinDate();\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n {(legalAge !== \"\") && (\r\n \r\n )}\r\n
\r\n
\r\n
\r\n \r\n Cancelar\r\n \r\n {\r\n handleShowRegisterForm(true);\r\n handleOpenCalendar(false);\r\n }}\r\n >\r\n Seleccionar fecha\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\nexport default ModalCalendar;\r\n","import React, { useState, useEffect, useRef } from \"react\";\r\n\r\nimport 'react-calendar/dist/Calendar.css';\r\nimport 'react-bootstrap-typeahead/css/Typeahead.css';\r\n\r\nimport { useForm, Controller } from \"react-hook-form\";\r\nimport swal from \"sweetalert\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { AsyncTypeahead } from 'react-bootstrap-typeahead';\r\nimport { Badge } from 'react-bootstrap';\r\n\r\nimport { accountService } from \"../../services/account.service\";\r\nimport { setModal } from \"../../store/actions\";\r\nimport useWindowViewport from \"../../hooks/useWindowViewport\";\r\nimport ModalCalendar from \"../modalCalendar/modalCalendar\";\r\nimport moment from \"moment\";\r\n\r\nconst Register = (props) => {\r\n const dispatch = useDispatch();\r\n const company = useSelector((state) => state.company);\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [companies, setCompanies] = useState([]);\r\n const [registerTypes, setRegisterTypes] = useState([]);\r\n const [enrollment, setEnrollment] = useState({ show: false, text: \"\" });\r\n const [dateNow, setDateNow] = useState();\r\n const [isOne, setIsOne] = useState(false);\r\n const [showPass, setShowPass] = useState(false);\r\n const [showPassConfirm, setShowPassConfirm] = useState(false);\r\n const [valueDateMobile, setValueDateMobile] = useState(\"\");\r\n const { register, handleSubmit,resetField,getFieldState,watch,setValue, reset, formState: { errors }, control } = useForm();\r\n const registerTypeRef = useRef();\r\n const password = watch(\"Password\");\r\n const {windowWidth} = useWindowViewport();\r\n const [showCalendarMobile, setShowCalendarMobile] = useState(false);\r\n\r\n const handleOpenCalendar = (value) => setShowCalendarMobile(value);\r\n\r\n useEffect(() => {\r\n var today = new Date(),\r\n date = today.getFullYear() + '-' + ((today.getMonth() + 1) > 9 ? (today.getMonth() + 1) : ('0' + (today.getMonth() + 1))) + '-' + (today.getDate() - 1);\r\n setDateNow(date);\r\n //Add reCaptcha\r\n const script = document.createElement(\"script\");\r\n script.src =\r\n \"https://www.google.com/recaptcha/api.js?render=\" +\r\n process.env.REACT_APP_PUBLIC_KEY;\r\n //script.addEventListener(\"load\", handleLoaded)\r\n document.body.appendChild(script);\r\n }, []);\r\n\r\n const handleSearchCompany = (query) => {\r\n setIsLoading(true);\r\n accountService.getCompanyCatalog(query)\r\n .then((result) => {\r\n if (result.Status) {\r\n setCompanies(result.Model);\r\n setIsLoading(false);\r\n }\r\n });\r\n };\r\n\r\n const handleChangeCompany = (selected) => {\r\n const value = selected.length > 0 ? selected : undefined;\r\n if (value == undefined) {\r\n setRegisterTypes([]);\r\n return;\r\n }\r\n\r\n accountService.getRegisterTypeCatalog(value[0].Value)\r\n .then((result) => {\r\n if (result.Model.length > 1) {\r\n setIsOne(true);\r\n }\r\n\r\n if (result.Status) {\r\n setRegisterTypes(result.Model);\r\n let registerTypes = result.Model[0];\r\n setEnrollment({\r\n show: !(\r\n registerTypes.Value == 1 ||\r\n registerTypes.Value == 8 ||\r\n registerTypes.Value == 9\r\n ),\r\n label: registerTypes.Label,\r\n });\r\n } else\r\n setEnrollment({ show: false, label: \"\" });\r\n });\r\n registerTypeRef.current.focus();\r\n return value;\r\n };\r\n\r\n const handleChangeRegisterType = (e) => {\r\n const filter = registerTypes.filter((f) => f.Value == e.target.value);\r\n if (filter.length > 0) {\r\n const value = e.target.value;\r\n const text = e.target[e.target.selectedIndex].innerText;\r\n setEnrollment({ show: !(value == 1 || value == 8 || value == 9), text: text });\r\n } else {\r\n swal({ text: \"Este valor seleccionado no corresponde\", icon: \"warning\" })\r\n }\r\n return e;\r\n }\r\n\r\n const onSubmit = (data) => {\r\n if (data.IAgree) {\r\n window.grecaptcha.ready((_) => {\r\n window.grecaptcha\r\n .execute(process.env.REACT_APP_PUBLIC_KEY, { action: \"submit\" })\r\n .then((captchaResponse) => {\r\n data.CaptchaResponse = captchaResponse;\r\n data.Company = data.Company[0].Value;\r\n accountService.register(data)\r\n .then((result) => {\r\n if (result.Status) {\r\n reset();\r\n dispatch(setModal());\r\n swal({ text: result.Message, icon: \"success\" });\r\n } else\r\n swal({ text: result.Message, icon: \"error\" });\r\n });\r\n });\r\n })\r\n } else\r\n swal({\r\n text: \"Debe aceptar los términos y condiciones\",\r\n icon: \"warning\",\r\n });\r\n };\r\n\r\n const handleDateMobile = (value) => {\r\n setValueDateMobile(value);\r\n const dateParsed = moment(value).format(\"DD/MM/YYYY\");\r\n setValue('Birthday', dateParsed);\r\n }\r\n\r\n const handleCleanDateMobile = (value) => {\r\n setValueDateMobile(value);\r\n resetField(\"Birthday\");\r\n }\r\n\r\n return (\r\n
\r\n
Registro nuevo
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {errors.FirstName && Nombre requerido}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {errors.Surnames && Apellidos requeridos}\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n (windowWidth < 575) ?\r\n <>\r\n value ? true : \"Selecciona tu fecha de nacimiento\"\r\n })}\r\n />\r\n {\r\n (showCalendarMobile) && (\r\n \r\n )\r\n }\r\n \r\n :\r\n value ? true : \"Selecciona tu fecha de nacimiento\"\r\n })}\r\n max={dateNow}\r\n id={\"Birthday\"}\r\n />\r\n }\r\n {errors.Birthday?.message && {errors.Birthday.message}}\r\n
\r\n
\r\n
\r\n

\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n {errors.Gender && Genero es requerido}\r\n
\r\n\r\n
\r\n
\r\n \r\n ( true}\r\n isLoading={isLoading}\r\n labelKey=\"Label\"\r\n minLength={3}\r\n onSearch={handleSearchCompany}\r\n options={companies}\r\n placeholder=\"Escribe el nombre...\"\r\n renderMenuItemChildren={(option, props) => (\r\n <>\r\n {option.Label}\r\n \r\n )}\r\n onChange={(e) => { field.onChange(e); handleChangeCompany(e) }}\r\n />)}\r\n />\r\n\r\n {errors.Company && Empresa es requerida}\r\n
\r\n
\r\n\r\n {isOne ? (\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n {errors.RegisterType && Tipo de registro es requerido}\r\n
\r\n\r\n ) : (\r\n
\r\n
\r\n \r\n (\r\n \r\n )}\r\n />\r\n {errors.RegisterType && Tipo de registro es requerido}\r\n
\r\n
\r\n )}\r\n\r\n {\r\n enrollment.show ?\r\n
\r\n
\r\n \r\n \r\n {errors.enrollment && Este campo es requerido}\r\n
\r\n
\r\n :\r\n \"\"\r\n }\r\n\r\n
\r\n
\r\n \r\n \r\n {errors.Email && {errors.Email?.message}}\r\n
\r\n
\r\n {/*
\r\n
\r\n \r\n \r\n
\r\n
*/}\r\n
\r\n
\r\n \r\n /.*[A-Z].*/.test(value),\r\n oneLetterLower: (value) => /.*[a-z].*/.test(value),\r\n oneSpecialChar: (value) => /.*[!@#$%^&*()\\-_=+\\[\\]{};:'\",.<>/?\\\\|].*/.test(value),\r\n oneNumber: (value) => /.*[0-9].*/.test(value),\r\n extension: (value) => /.{8,50}/.test(value)\r\n },\r\n })}\r\n />\r\n setShowPass(!showPass)}>\r\n {errors.Password?.type === 'oneLetterUpper' &&\r\n Falta 1 letra mayúscula}\r\n {errors.Password?.type === 'oneLetterLower' &&\r\n Falta 1 letra minúscula}\r\n {errors.Password?.type === 'oneSpecialChar' &&\r\n Falta 1 carácter especial}\r\n {errors.Password?.type === 'oneNumber' &&\r\n Falta 1 número}\r\n {errors.Password?.type === 'extension' &&\r\n Debe tener al menos una extensión de 8 carácteres}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n value === password || \"Las contraseñas no coinciden\",\r\n })}\r\n />\r\n setShowPassConfirm(!showPassConfirm)}>\r\n \r\n \r\n {errors.ConfirmPassword?.type === 'validate' && Las contraseñas deben ser iguales}\r\n
\r\n
\r\n
\r\n {/*
*/}\r\n

\r\n

\r\n \r\n \r\n {errors.IAgree && Requerido}\r\n
\r\n \r\n

\r\n \r\n \r\n );\r\n};\r\nexport default Register;\r\n","import React from 'react';\r\nimport { useForm } from 'react-hook-form';\r\nimport swal from \"sweetalert\";\r\n\r\nconst TotalPlay = (props) => {\r\n const { register, handleSubmit } = useForm();\r\n\r\n const onSubmit = (data, e) => {\r\n fetch('/api/Account/IsEnrollmentValid?companyName=' + props.company + '&enrollment=' + data.Enrollment,\r\n { method: 'GET' })\r\n .then(function (response) {\r\n if (response.ok) {\r\n return response.json()\r\n }\r\n })\r\n .then(function (result) {\r\n console.log(result)\r\n if (result.Status) {\r\n e.target.reset();\r\n props.setEnrollment(data.Enrollment);\r\n props.setShowLogeo();\r\n } else {\r\n swal({ text: result.Message, icon: \"error\" });\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n swal({ text: \"Error\", icon: \"error\" });\r\n });\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
Registro Totalplay
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n

\r\n \r\n

\r\n
\r\n
\r\n
\r\n )\r\n}\r\nexport default TotalPlay;","import React from 'react';\r\nimport './itemPurchaseDetails.scss';\r\nimport { useSelector } from 'react-redux';\r\n\r\nconst ItemPurchaseDetails = (props) => {\r\n const countrySetting = useSelector(state => state.countrySetting);\r\n\r\n return (\r\n
\r\n
\r\n { props.deletePurchaseItemDetail(props.ProviderId, props.ProductId, props.Reference) }}>\r\n
\r\n
\r\n

{props.Name}

\r\n

{props.Reference == undefined ? \"Precio individual \" + countrySetting.currency + (props.Price).toLocaleString(countrySetting.cultureCode, { minimumFractionDigits: 0, maximumFractionDigits: 2 }) : props.SettingProviderName + \": \" + props.Reference}

\r\n
\r\n
\r\n {props.Reference == undefined ?\r\n \r\n :\r\n \"\"\r\n }\r\n
\r\n
{countrySetting.currency}{(props.Total).toLocaleString(countrySetting.cultureCode, { minimumFractionDigits: 0, maximumFractionDigits: 2 })}
\r\n
\r\n )\r\n}\r\n\r\nexport default ItemPurchaseDetails","import React, { useState } from 'react';\r\nimport ItemPurchaseDetails from '../itemPurchaseDetails';\r\nimport './itemPurchase.scss';\r\nimport { useSelector } from 'react-redux';\r\n\r\nconst ItemPurchase = (props) => {\r\n const countrySetting = useSelector(state => state.countrySetting);\r\n const [activeAccordion, setStateAccordion] = useState('')\r\n const [activeChevron, setStateChevron] = useState('')\r\n\r\n function AsidePurchaseBox() {\r\n setStateAccordion(activeAccordion === '' ? 'show' : '')\r\n setStateChevron(activeChevron === '' ? 'open' : '')\r\n }\r\n\r\n const items = props.Items;\r\n return (\r\n
\r\n { props.deletePurchaseItem(props.ProviderId, props.ProviderName) }}> Eliminar\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
{props.ProviderName}
\r\n

Ir a la tienda

\r\n
\r\n
\r\n
{countrySetting.currency}{(props.Total).toLocaleString(countrySetting.cultureCode, { minimumFractionDigits: 0, maximumFractionDigits: 2 })}
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {\r\n items.map(itemDetail => {\r\n return \r\n })\r\n }\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ItemPurchase","import React from 'react';\r\n\r\nconst ItemPayMethod = ({ data, payOrder }) => {\r\n return (\r\n payOrder(data.paymentMethodId)}>\r\n \"Métodos\r\n \r\n\r\n )\r\n}\r\n\r\nexport default ItemPayMethod","export const cartHook = {\r\n getItems,\r\n clean\r\n}\r\n\r\nfunction getItems(rechargeProducts) {\r\n let products = [];\r\n if (!rechargeProducts) {\r\n let cartItems = JSON.parse(localStorage[\"pruchaseList\"]);\r\n cartItems.map(provider => {\r\n provider.Items.map(itemtemp => {\r\n let item = {\r\n ProductId: itemtemp.ProductId,\r\n UrlImage: itemtemp.UrlImage,\r\n Name: itemtemp.Name,\r\n ProductPrice: itemtemp.Price,\r\n Cant: itemtemp.Quantity,\r\n ProductCode: itemtemp.Code,\r\n Description: itemtemp.Descripcion,\r\n ProviderId: itemtemp.ProviderId,\r\n CountryCode: itemtemp.CountryCode,\r\n CampaingCode: itemtemp.CampaingCode,\r\n FcPromocionID: itemtemp.FcPromocionID\r\n };\r\n products.push(item);\r\n })\r\n });\r\n }\r\n else {\r\n products.push(rechargeProducts)\r\n }\r\n\r\n return products;\r\n}\r\n\r\nasync function clean() {\r\n localStorage[\"pruchaseTotal\"] = \"0\";\r\n localStorage[\"pruchaseList\"] = \"[]\";\r\n}","import { callApi } from \"./service\";\r\n\r\nexport const paymentMethodService = {\r\n getCardList,\r\n deleteCard,\r\n createOrder,\r\n};\r\n\r\nasync function getCardList() {\r\n return callApi(\"/verificationcard/getlistbyuserId\", \"Get\")\r\n .then((result) => {\r\n return result;\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n return [];\r\n });\r\n}\r\n\r\nasync function deleteCard(data) {\r\n return callApi(\"/verificationcard/deletecard\", \"Post\", data).then(\r\n (result) => {\r\n return result;\r\n }\r\n );\r\n}\r\n\r\nasync function createOrder(model) {\r\n return callApi(\"/paymentmethod/createorder\", \"Post\", model).then((result) => {\r\n return result;\r\n });\r\n}\r\n","import React, { useState } from \"react\";\r\nimport ItemPayMethod from \"./itemPayMethod\";\r\nimport \"./boxPayMethod.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { setModal } from \"../../store/actions\";\r\nimport swal from \"sweetalert\";\r\nimport $ from \"jquery\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { cartHook } from \"../../hooks/cart.hook\";\r\nimport { paymentMethodService } from \"../../services/paymentMethod.service\";\r\n\r\nconst BoxPayMethod = ({ onCloseClick, rechargeProducts }) => {\r\n const dispatch = useDispatch();\r\n const paymentMethods = useSelector((state) => state.user.paymentMethods);\r\n const isAuthenticated = useSelector((state) => state.user.isAuthenticated);\r\n\r\n const history = useHistory();\r\n const [onlyOneClick, setOnlyOneClick] = useState(false);\r\n\r\n const payOrder = (paymentMethodId) => {\r\n if (!onlyOneClick) {\r\n setOnlyOneClick(true);\r\n const model = {\r\n Products: cartHook.getItems(rechargeProducts),\r\n PaymentMethodId: paymentMethodId,\r\n };\r\n if (model.Products.length > 0) {\r\n paymentMethodService\r\n .createOrder(model)\r\n .then(function (result) {\r\n if (paymentMethodId != 1) {\r\n if (result.ValidationMessage) {\r\n swal({ text: result.ValidationMessage, icon: \"error\" });\r\n setOnlyOneClick(false);\r\n } else {\r\n if (result.Status) {\r\n setOnlyOneClick(false);\r\n if (!rechargeProducts) onCloseClick();\r\n history.push({\r\n pathname: \"/checkout\",\r\n state: { model: result.Model },\r\n });\r\n } else {\r\n setOnlyOneClick(false);\r\n swal({\r\n text: \"Ocurrió un error al abrir método de pago\",\r\n icon: \"error\",\r\n });\r\n }\r\n }\r\n } else {\r\n localStorage[\"pruchaseTotal\"] = 0;\r\n localStorage[\"pruchaseList\"] = \"[]\";\r\n setOnlyOneClick(false);\r\n onCloseClick();\r\n $(\"body\").append(result);\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n setOnlyOneClick(false);\r\n swal({\r\n text: \"Ocurrió un error al abrir método de pago\",\r\n icon: \"error\",\r\n });\r\n });\r\n } else {\r\n swal({\r\n text: \"No hay ningún producto en el carrito de compras\",\r\n icon: \"error\",\r\n });\r\n setOnlyOneClick(false);\r\n }\r\n }\r\n };\r\n\r\n return (\r\n
\r\n {isAuthenticated ? (\r\n paymentMethods.map((paymentMethod) => {\r\n return ;\r\n })\r\n ) : (\r\n
\r\n

\r\n ¡Por favor inicia sesión para completar tu compra!{\" \"}\r\n

\r\n dispatch(setModal())}\r\n >\r\n Entrar\r\n \r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default BoxPayMethod;\r\n","import React, { useState, useEffect } from 'react';\r\nimport ItemPurchase from '../itemPurchase';\r\nimport BoxPayMethod from '../boxPayMethod';\r\nimport './asidePurchase.scss';\r\nimport swal from \"sweetalert\";\r\nimport { useSelector } from 'react-redux';\r\n\r\nconst AsidePurchase = ({ activeAside, onCloseClick }) => {\r\n const countrySetting = useSelector(state => state.countrySetting);\r\n\r\n const [pruchaseItems, setPurchaseItems] = useState([])\r\n const [total, setTotal] = useState(0)\r\n\r\n useEffect(() => {\r\n if (activeAside) {\r\n setPurchaseItems(JSON.parse(localStorage[\"pruchaseList\"]));\r\n setTotal(JSON.parse(localStorage[\"pruchaseTotal\"]));\r\n }\r\n }, [activeAside]);\r\n\r\n const deletePurchaseItemDetail = (providerId, productId, reference) => {\r\n swal({\r\n title: \"¿Estas seguro?\",\r\n text: \"¡Desea eliminar este productos del carrito de compras!\",\r\n icon: \"warning\",\r\n buttons: true,\r\n dangerMode: true,\r\n })\r\n .then((willDelete) => {\r\n if (willDelete) {\r\n let cartItems = JSON.parse(localStorage[\"pruchaseList\"]);\r\n let totalItems = parseFloat(localStorage[\"pruchaseTotal\"]);\r\n\r\n let foundProvider = cartItems.find(p => p.ProviderId == providerId);\r\n if (foundProvider != undefined) {\r\n let foundProduct = foundProvider.Items.find(p => p.ProductId == productId && p.Reference == reference);\r\n if (foundProduct != undefined) {\r\n foundProvider.Total -= foundProduct.Total\r\n totalItems -= foundProduct.Total;\r\n if (reference == undefined) foundProvider.Items = foundProvider.Items.filter(p => p.ProductId != productId);\r\n else foundProvider.Items = foundProvider.Items.filter(p => p.Reference != reference)\r\n\r\n if (foundProvider.Total == 0) cartItems = cartItems.filter(p => p.ProviderId != providerId);\r\n }\r\n }\r\n\r\n localStorage[\"pruchaseTotal\"] = totalItems;\r\n localStorage[\"pruchaseList\"] = JSON.stringify(cartItems)\r\n\r\n setTotal(totalItems);\r\n setPurchaseItems(cartItems);\r\n }\r\n });\r\n }\r\n\r\n const deletePurchaseItem = (providerId, providerName) => {\r\n swal({\r\n title: \"¿Estas seguro?\",\r\n text: \"¡Desea eliminar los productos de \" + providerName + \" del carrito de compras!\",\r\n icon: \"warning\",\r\n buttons: true,\r\n dangerMode: true,\r\n })\r\n .then((willDelete) => {\r\n if (willDelete) {\r\n let cartItems = JSON.parse(localStorage[\"pruchaseList\"]);\r\n let totalItems = parseFloat(localStorage[\"pruchaseTotal\"]);\r\n\r\n let foundProvider = cartItems.find(p => p.ProviderId == providerId);\r\n if (foundProvider != undefined) {\r\n\r\n totalItems -= foundProvider.Total;\r\n cartItems = cartItems.filter(p => p.ProviderId != providerId);\r\n }\r\n\r\n localStorage[\"pruchaseTotal\"] = totalItems;\r\n localStorage[\"pruchaseList\"] = JSON.stringify(cartItems)\r\n\r\n setTotal(totalItems);\r\n setPurchaseItems(cartItems);\r\n }\r\n });\r\n }\r\n\r\n const onChangeQuantity = (providerId, productId, value) => {\r\n let val = parseInt(value);\r\n let cartItems = JSON.parse(localStorage[\"pruchaseList\"]);\r\n let totalItems = parseFloat(localStorage[\"pruchaseTotal\"]);\r\n\r\n let foundProvider = cartItems.find(p => p.ProviderId == providerId);\r\n if (foundProvider != undefined) {\r\n let foundProduct = foundProvider.Items.find(p => p.ProductId == productId);\r\n if (foundProduct != undefined) {\r\n\r\n foundProvider.Total -= foundProduct.Total;\r\n totalItems -= foundProduct.Total;\r\n\r\n foundProduct.Quantity = val;\r\n foundProduct.Total =parseFloat((foundProduct.Quantity * foundProduct.Price).toFixed(2));\r\n\r\n foundProvider.Total += foundProduct.Total;\r\n totalItems += foundProduct.Total;\r\n }\r\n }\r\n\r\n localStorage[\"pruchaseTotal\"] = totalItems;\r\n localStorage[\"pruchaseList\"] = JSON.stringify(cartItems)\r\n\r\n setTotal(totalItems);\r\n setPurchaseItems(cartItems);\r\n }\r\n\r\n return \r\n \r\n
\r\n
\r\n}\r\n\r\nexport default AsidePurchase","import React, { useState, useEffect } from \"react\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport { Modal } from \"reactstrap\";\r\nimport { Dropdown, DropdownMenu, DropdownToggle, DropdownItem } from \"reactstrap\";\r\nimport Login from \"../login\";\r\nimport Register from \"../register\";\r\nimport TotalPlay from \"../register/totalplay\";\r\nimport AsidePurchase from \"../asidePurchase\";\r\nimport ItemOptionsMenu from \"../itemOptionsMenu\";\r\nimport swal from \"sweetalert\";\r\nimport \"./header.scss\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { getUser, setModal, setCompany } from \"../../store/actions\";\r\n\r\nconst Header = (props) => {\r\n const [showSurvey, setShowSurvey] = useState(false);\r\n const toggleSurvey = () => setShowSurvey(!showSurvey);\r\n const history = useHistory();\r\n const user = useSelector((state) => state.user);\r\n const company = useSelector((state) => state.company);\r\n const companyLogo = useSelector((state) => state.companyLogo);\r\n const countrySetting = useSelector((state) => state.countrySetting);\r\n const dispatch = useDispatch();\r\n\r\n const modal = useSelector((state) => state.modal);\r\n const toggle = () => dispatch(setModal());\r\n\r\n const [activeAside, setStateAside] = useState(\"\");\r\n function AsidePurchaseBox() {\r\n if (activePurchase != \"\") {\r\n setStateAside(activeAside === \"\" ? \" is-show\" : \"\");\r\n } else {\r\n setStatusPurchase(true);\r\n }\r\n }\r\n\r\n const [activePurchase, setStatePurchase] = useState(\"\");\r\n const setStatusPurchase = (status) => {\r\n setStatePurchase(status ? \" active_purchase\" : \"\");\r\n };\r\n\r\n const [btnMenu, setBtnMenu] = useState(\"fa-bars\");\r\n const [menuMobile, setMenuMobile] = useState(\"\");\r\n function MenuMobile() {\r\n setMenuMobile(menuMobile === \"\" ? \" is-visible\" : \"\");\r\n setBtnMenu(btnMenu === \"fa-bars\" ? \" fa-times\" : \"fa-bars\");\r\n }\r\n\r\n const [showLogeo, setShowLogeo] = useState(false);\r\n const toggleLogeo = () => {\r\n setShowLogeo(!showLogeo);\r\n };\r\n\r\n const [dropdownOpen, setDropdownOpen] = useState(false);\r\n const toggleDrop = (e) => {\r\n console.log(\"toggleDrop\", dropdownOpen)\r\n setDropdownOpen((prevState) => !prevState);\r\n }\r\n\r\n const ButtonModal = () => {\r\n return company == \"totalplay\" && enrollment == \"\" ? (\r\n
\r\n ) : showLogeo === false ? (\r\n
\r\n
¿Eres nuevo en Red Voucher Online?
\r\n

\r\n \r\n

\r\n
\r\n ) : (\r\n
\r\n
¿Ya tienes una cuenta?
\r\n

\r\n \r\n

\r\n
\r\n );\r\n };\r\n\r\n const style = {\r\n content_info: {\r\n background: \"url(./imgs/bglogin.jpg) no-repeat top center\",\r\n },\r\n };\r\n\r\n const [enrollment, setEnrollment] = useState(\"\");\r\n\r\n useEffect(() => {\r\n dispatch(getUser());\r\n }, []);\r\n\r\n useEffect(() => {\r\n setStatusPurchase(localStorage[\"pruchaseTotal\"] != 0);\r\n });\r\n\r\n const logOff = () => {\r\n fetch(\"/api/Account/LogOff\", { method: \"POST\" })\r\n .then(function (response) {\r\n if (response.ok) {\r\n return response.json();\r\n }\r\n })\r\n .then(function (result) {\r\n if (result.Status) {\r\n dispatch(getUser());\r\n toggleDrop();\r\n history.push(\"/\");\r\n } else {\r\n console.log(result);\r\n }\r\n })\r\n .catch(function (error) {\r\n console.log(error);\r\n });\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n {props.MailContact}\r\n \r\n
\r\n
\r\n Síguenos en:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \"RedVoucher\"\r\n \r\n
\r\n
\r\n
\r\n {companyLogo != \"\" && history.location.pathname == \"/provider\" ? (\r\n
\r\n \"Company\"\r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n \r\n \r\n \r\n \r\n

Activar tarjeta Costco

\r\n
\r\n\r\n \r\n \r\n \r\n \r\n

Home

\r\n \r\n\r\n {history.location.pathname != \"/checkout\" && (\r\n \r\n \r\n \r\n \r\n

Mi carrito

\r\n \r\n )}\r\n {user.isAuthenticated ? (\r\n \r\n \r\n \r\n

¡Hola!

\r\n
{user.firstName}
\r\n
\r\n \r\n \r\n \r\n Mi perfil\r\n \r\n \r\n Mis compras\r\n \r\n\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n

MI CUENTA

\r\n

Entrar

\r\n
\r\n \r\n )}\r\n
\r\n
\r\n\r\n
\r\n {companyLogo != \"\" && history.location.pathname == \"/provider\" ? (\r\n
\r\n \"Company\"\r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n \r\n \r\n

Tarjeta Costco

\r\n
\r\n \r\n \r\n \r\n \r\n

Home

\r\n \r\n \r\n \r\n \r\n \r\n

Mi carrito

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n
\r\n

Bienvenido

\r\n

\r\n Bienvenido a Red Voucher Online, la mejor plataforma de\r\n descuentos y beneficios que te permite comprar lo que más te\r\n divierte.\r\n

\r\n
\r\n
\r\n \r\n
\r\n\r\n {company == \"totalplay\" && enrollment == \"\" ? (\r\n \r\n ) : showLogeo === false ? (\r\n \r\n ) : (\r\n \r\n )}\r\n dispatch(setModal())}\r\n >\r\n Cerrar\r\n \r\n \r\n
\r\n setStateAside(\"\")}\r\n />\r\n {/*\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n

Estimado Usuario:

\r\n

Tu opinión nos importa, por favor regálanos unos minutos para contestar la siguiente encuesta.

\r\n

\r\n Contestar encuesta\r\n

\r\n
\r\n
\r\n
\r\n */}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {/*

¡Este San Valentín es digital!

*/}\r\n

\r\n Encuentra en nuestro catálogo el regalo ideal, cuidando de la\r\n seguridad de seres queridos y garantizando su diversión.\r\n

\r\n

\r\n \r\n Descarga catálogo\r\n \r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default Header;\r\n","import React, {useEffect, useState} from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport \"./footer.scss\";\r\n\r\nconst Footer = (props) => {\r\n\r\n const [currentYear, setCurrentYear] = useState(0);\r\n\r\n useEffect(() => {\r\n const year = new Date();\r\n setCurrentYear(year.getFullYear());\r\n }, []);\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Footer;\r\n","import React from 'react';\r\nimport { useSelector } from 'react-redux';\r\nimport { Modal } from 'reactstrap';\r\nimport Spinner from 'react-spinkit';\r\nimport './blockScreen.scss';\r\n\r\nconst BlockScreen = () => {\r\n const blocking = useSelector(state => state.blocking);\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default BlockScreen","import { useState } from 'react';\r\nimport moment from 'moment';\r\n\r\nconst getInstallPromptLastSeenAt = (promptName) => localStorage.getItem(promptName);\r\n\r\nconst setInstallPromptSeenToday = (promptName) => {\r\n const today = moment().toISOString();\r\n localStorage.setItem(promptName, today);\r\n};\r\n\r\nfunction getUserShouldBePromptedToInstall(promptName, daysToWaitBeforePromptingAgain) {\r\n const lastPrompt = moment(getInstallPromptLastSeenAt(promptName));\r\n const daysSinceLastPrompt = moment().diff(lastPrompt, 'days');\r\n return isNaN(daysSinceLastPrompt) || daysSinceLastPrompt > daysToWaitBeforePromptingAgain;\r\n}\r\n\r\nconst useShouldShowPrompt = (promptName, daysToWaitBeforePromptingAgain = 30) => {\r\n const [userShouldBePromptedToInstall, setUserShouldBePromptedToInstall] = useState(\r\n getUserShouldBePromptedToInstall(promptName, daysToWaitBeforePromptingAgain)\r\n );\r\n\r\n const handleUserSeeingInstallPrompt = () => {\r\n setUserShouldBePromptedToInstall(false);\r\n setInstallPromptSeenToday(promptName);\r\n };\r\n\r\n return [userShouldBePromptedToInstall, handleUserSeeingInstallPrompt];\r\n};\r\nexport default useShouldShowPrompt;","import useShouldShowPrompt from './shouldShowPrompt';\r\n\r\nconst iosInstallPromptedAt = 'iosInstallPromptedAt';\r\n\r\nconst isIOS = () => {\r\n // @ts-ignore\r\n if (navigator.standalone) {\r\n //user has already installed the app\r\n return false;\r\n }\r\n const ua = window.navigator.userAgent;\r\n const isIPad = !!ua.match(/iPad/i);\r\n const isIPhone = !!ua.match(/iPhone/i);\r\n return isIPad || isIPhone;\r\n};\r\n\r\nconst useIosInstallPrompt = () => {\r\n const [userShouldBePromptedToInstall, handleUserSeeingInstallPrompt] = useShouldShowPrompt(iosInstallPromptedAt);\r\n\r\n return [isIOS() && userShouldBePromptedToInstall, handleUserSeeingInstallPrompt];\r\n};\r\nexport default useIosInstallPrompt;","import { useState, useEffect } from 'react';\r\nimport useShouldShowPrompt from './shouldShowPrompt';\r\n\r\nconst webInstallPromptedAt = 'webInstallPromptedAt';\r\n\r\nconst useWebInstallPrompt = () => {\r\n const [installPromptEvent, setInstallPromptEvent] = useState();\r\n const [userShouldBePromptedToInstall, handleUserSeeingInstallPrompt] = useShouldShowPrompt(webInstallPromptedAt);\r\n\r\n useEffect(() => {\r\n const beforeInstallPromptHandler = event => {\r\n event.preventDefault();\r\n\r\n // check if user has already been asked\r\n if (userShouldBePromptedToInstall) {\r\n // store the event for later use\r\n setInstallPromptEvent(event);\r\n }\r\n };\r\n window.addEventListener('beforeinstallprompt', beforeInstallPromptHandler);\r\n return () => window.removeEventListener('beforeinstallprompt', beforeInstallPromptHandler);\r\n }, [userShouldBePromptedToInstall]);\r\n\r\n const handleInstallDeclined = () => {\r\n handleUserSeeingInstallPrompt();\r\n setInstallPromptEvent(null);\r\n };\r\n\r\n const handleInstallAccepted = () => {\r\n // show native prompt\r\n installPromptEvent.prompt();\r\n\r\n // decide what to do after the user chooses\r\n installPromptEvent.userChoice.then(choice => {\r\n // if the user declined, we don't want to show the prompt again\r\n if (choice.outcome !== 'accepted') {\r\n handleUserSeeingInstallPrompt();\r\n }\r\n setInstallPromptEvent(null);\r\n });\r\n };\r\n return [installPromptEvent, handleInstallDeclined, handleInstallAccepted];\r\n};\r\nexport default useWebInstallPrompt;","import React from \"react\";\r\nimport { Button, Modal, Card, CardText, CardBody, CardTitle } from \"reactstrap\";\r\nimport useIosInstallPrompt from \"../../hooks/iosInstallPrompt\";\r\nimport useWebInstallPrompt from \"../../hooks/webInstallPrompt\";\r\n\r\nexport const InstallPWA = () => {\r\n const [iosInstallPrompt, handleIOSInstallDeclined] = useIosInstallPrompt();\r\n const [webInstallPrompt, handleWebInstallDeclined, handleWebInstallAccepted] =\r\n useWebInstallPrompt();\r\n\r\n if (!iosInstallPrompt && !webInstallPrompt) {\r\n return null;\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n

Instalar App

\r\n
\r\n {iosInstallPrompt && (\r\n <>\r\n \r\n Da clic en\r\n \r\n después "Agregar al Inicio"\r\n \r\n
\r\n \r\n
\r\n \r\n )}\r\n {webInstallPrompt && (\r\n
\r\n \r\n \r\n
\r\n )}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n","import React from 'react'\r\nimport { useSelector } from \"react-redux\";\r\n\r\nimport './whatsAppButton.scss'\r\n\r\nexport default function WhatsAppButton() {\r\n const phone = useSelector(state => state.whatsApp);\r\n\r\n if (!phone) return <>;\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n","import React, { Component } from 'react';\r\nimport Header from '../components/header';\r\nimport Footer from '../components/footer';\r\nimport { connect } from 'react-redux';\r\nimport { setCountrySetting, setWhatsApp } from '../store/actions';\r\nimport swal from 'sweetalert';\r\nimport BlockScreen from '../components/blockScreen';\r\nimport { InstallPWA } from '../components/pwa/installPWA';\r\nimport WhatsAppButton from '../components/whatsAppButton';\r\n\r\n\r\nclass Layout extends Component {\r\n static displayName = Layout.name;\r\n constructor() {\r\n super()\r\n\r\n this.state = {\r\n settings: \"\"\r\n }\r\n }\r\n\r\n componentWillMount() {\r\n this.getBrowser();\r\n this.settings();\r\n if (localStorage.getItem('pruchaseList') == undefined) localStorage.setItem('pruchaseList', \"[]\");\r\n if (localStorage.getItem('pruchaseTotal') == undefined) localStorage.setItem('pruchaseTotal', 0);\r\n }\r\n\r\n getBrowser = () => {\r\n try {\r\n let sBrowser, isSupported, sUsrAg = navigator.userAgent;\r\n // The order matters here, and this may report false positives for unlisted browsers.\r\n\r\n if (sUsrAg.indexOf(\"Firefox\") > -1) {\r\n sBrowser = \"Mozilla Firefox\";\r\n isSupported = true;\r\n // \"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0\"\r\n } else if (sUsrAg.indexOf(\"SamsungBrowser\") > -1) {\r\n sBrowser = \"Samsung Internet\";\r\n isSupported = false;\r\n // \"Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G955F Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.4 Chrome/67.0.3396.87 Mobile Safari/537.36\r\n } else if (sUsrAg.indexOf(\"Opera\") > -1 || sUsrAg.indexOf(\"OPR\") > -1) {\r\n sBrowser = \"Opera\";\r\n isSupported = true;\r\n // \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.106\"\r\n } else if (sUsrAg.indexOf(\"Trident\") > -1) {\r\n sBrowser = \"Microsoft Internet Explorer\";\r\n isSupported = false;\r\n // \"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; Zoom 3.6.0; wbx 1.0.0; rv:11.0) like Gecko\"\r\n } else if (sUsrAg.indexOf(\"Edge\") > -1) {\r\n sBrowser = \"Microsoft Edge\";\r\n isSupported = true;\r\n // \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299\"\r\n } else if (sUsrAg.indexOf(\"Chrome\") > -1) {\r\n sBrowser = \"Google Chrome or Chromium\";\r\n isSupported = true;\r\n // \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36\"\r\n } else if (sUsrAg.indexOf(\"Safari\") > -1) {\r\n sBrowser = \"Apple Safari\";\r\n isSupported = true;\r\n // \"Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1 980x1306\"\r\n } else {\r\n sBrowser = \"unknown\";\r\n isSupported = false;\r\n }\r\n\r\n if (!isSupported) {\r\n swal({ title: \"¡Para una mejor experiencia!\", text: \"Te recomendamos iniciar sesión en los siguientes navegadores: Google Chrome, Firefox, Opera, Microsoft Edge\", icon: \"warning\" });\r\n }\r\n } catch (error) {\r\n swal({ title: \"¡Para una mejor experiencia!\", text: \"Te recomendamos iniciar sesión en los siguientes navegadores: Google Chrome, Firefox, Opera, Microsoft Edge\", icon: \"warning\" });\r\n }\r\n }\r\n\r\n settings = () => {\r\n fetch(\"/api/Account/Settings\" + window.location.search, { method: 'GET' })\r\n .then(response => response.json())\r\n .then(result => {\r\n this.validateCountry(result.LandingCountry);\r\n this.setState({ settings: result });\r\n this.props.setCountrySetting({ cultureCode: result.CultureCode, isoCurrency: result.ISOCurrency, currency: result.Currency });\r\n this.props.setWhatsApp(result.WhatsApp);\r\n })\r\n .catch(error => console.log('error', error));\r\n }\r\n\r\n validateCountry = (landingCountry) => {\r\n if (landingCountry.Redirect) {\r\n window.location.href = landingCountry.UrlRedirect;\r\n } else if (landingCountry.ShowAlert) {\r\n swal({\r\n title: `Estás en Red Voucher Online ${landingCountry.CountryDefault}, pero tu país actual es ${landingCountry.CountryNameIp}`,\r\n text: \"¿Te redirijo a Red Voucher Online de tu país?\",\r\n icon: \"warning\",\r\n buttons: true,\r\n dangerMode: true,\r\n })\r\n .then(function (willDelete) {\r\n if (willDelete) {\r\n if (typeof window !== \"undefined\") {\r\n window.location.href = landingCountry.UrlEcommerce;\r\n }\r\n }\r\n }.bind(this));\r\n }\r\n }\r\n\r\n render() {\r\n return \r\n \r\n
\r\n
\r\n {this.props.children}\r\n
\r\n < InstallPWA />\r\n