{"version":3,"sources":["build/Config.tsx","contexts/online-context/index.tsx","components/header/text.style.ts","components/header/index.tsx","components/utms/useUTMParams.ts","components/dataLayer/dataLayer.tsx","views/playables/context/data.ts","services/photographer.services.ts","components/birthday-input/wordings.ts","contexts/events-context/index.tsx","views/lineup/index.tsx","utilities/dynamic-manifest.ts","contexts/session-context/session-reducer.ts","contexts/session-context/index.tsx","contexts/social-context/social-reducer.ts","contexts/social-context/index.tsx","build/configs/configs.ts","contexts/main-class-context/index.tsx","components/icon/check.tsx","theme/error/index.tsx","constants/api.ts","components/popUps/index.tsx","views/photographer/views/start/styles.module.scss","contexts/survey-context/survey.reducer.ts","contexts/survey-context/survey.provider.tsx","contexts/general-context/general-reducer.ts","contexts/general-context/index.tsx","components/button/index.tsx","views/album/configs/album-config.ts","views/privacy-politics/stylepp.module.scss","views/album/context/album-reducer.ts","views/album/context/index.tsx","views/collections/context/collections-reducer.ts","views/collections/context/index.tsx","contexts/groups-context/groups-reducer.ts","contexts/groups-context/CreateGroup.tsx","contexts/groups-context/HowDoYouWantToParticipate.tsx","contexts/groups-context/index.tsx","views/prizes/context/prizes-reducer.ts","views/prizes/context/index.tsx","views/playables/context/reducer.ts","views/playables/context/index.tsx","contexts/events-context/reducer.ts","views/raffles/context/raffles-reducer.ts","views/raffles/context/index.tsx","views/raffles/types.tsx","views/memorama/context/memorama-reducer.ts","views/memorama/context/index.tsx","hooks/use-main-cass.ts","views/lineup/hooks/useLineups.ts","hooks/use-offline-data.ts","components/popUps/bottomPopUp.tsx","components/stepper/index.tsx","contexts/loader-context/index.tsx","services/text-services.ts","hooks/use-countdown.ts","components/custom-radio/index.tsx","hooks/use-router.ts","components/icon/SearchIcon.tsx","components/icon/ubicationIcon.tsx","components/icon/bottom-arrow.tsx","components/icon/more.tsx","components/range/components/style/text.ts","components/range/index.tsx","views/album/configs/routes/routes-config.ts","views/album/configs/routes/definitions.ts","views/album/views/multimedia/components/PopupClient.tsx","components/client-num/ClientNum.tsx","views/help/help.module.scss","views/terms-and-conditions/styles.module.scss","views/cookies/stylecookies.module.scss","components/error-view/index.tsx","services/profile-services.ts","components/button-close/index.tsx","components/loading-screen/index.tsx","components/input/index.tsx","services/form-builder-services.ts","theme/header/index.tsx","hooks/use-local-storage.ts","theme/profile/index.tsx","contexts/survey-context/survey.interface.ts","build/offline lazy /^/.*/.json$/ groupOptions: {} namespace object","contexts/trivia-context/reducer.ts","contexts/trivia-context/index.tsx","providers/index.tsx","routes/types.tsx","routes/guards/index.tsx","views/congrats/index.tsx","theme/help/index.tsx","views/help/index.tsx","hooks/use-custom-form.tsx","components/form-steps/password-recovery.tsx","components/password/style/custom.style.ts","components/password/index.tsx","components/allow-cookies/borderBlack.tsx","components/allow-cookies/scanQr.tsx","components/form-information/components/Steps.tsx","components/form-information/mail-sent-password/index.tsx","components/form-information/email-password/index.tsx","components/otp-input/index.tsx","views/sign-up/styles/custom.style.ts","views/sign-up/components/otp.tsx","views/mail-verify/text.style.ts","views/sign-up/components/already-participate.tsx","views/sign-up/components/done.tsx","services/utm-services.ts","views/login/index.tsx","views/mail-verify/index.tsx","components/form-information/password-recovery/text.style.ts","components/form-information/password-recovery/index.tsx","views/password-reset/index.tsx","views/prizes/index.tsx","views/profile/text.style.ts","components/pref-picker/index.tsx","views/profile/views/profile-information/index.tsx","views/profile/views/profile-history/components/PopUp.tsx","views/profile/views/profile-history/utils/formatDate.ts","views/profile/views/profile-history/components/States.tsx","views/profile/views/profile-history/components/Prize.tsx","views/profile/views/profile-history/utils/functions.ts","views/profile/views/profile-history/components/Steps.tsx","views/profile/views/profile-history/components/NumberOrder.tsx","views/profile/views/profile-history/components/Details.tsx","views/profile/views/profile-history/index.tsx","views/profile/views/profile-address/index.tsx","components/icon/edit.tsx","views/profile/views/profile-phone/index.tsx","hooks/use-percentage-profle.ts","components/icon/menu-profile/history.tsx","components/icon/menu-profile/information.tsx","components/icon/menu-profile/phone.tsx","components/icon/menu-profile/points.tsx","components/icon/menu-profile/consumptionCenter.tsx","components/icon/menu-profile/card.tsx","components/icon/menu-profile/prizesIcon.tsx","components/icon/menu-profile/sitemapicon.tsx","components/icon/menu-profile/preferences.tsx","components/icon/menu-profile/gps.tsx","components/icon/google-wallet.tsx","components/icon/ios-wallet.tsx","utilities/detectDeviceAgent.ts","views/profile/views/profile-identification/styles.ts","views/profile/views/profile-identification/id-config.ts","views/profile/views/profile-identification/instruction-pop-up.tsx","views/profile/views/profile-identification/index.tsx","views/profile/views/profile-consumption/index.tsx","views/profile/views/profile-points/index.tsx","views/profile/views/profile-points/details.tsx","components/icon/menu-profile/arrow.tsx","views/profile/styles/header.style.tsx","views/profile/components/MenuProfile.tsx","components/icon/menu-profile/edit.tsx","views/profile/components/HeaderProfile.tsx","views/profile/views/profile-ranking/index.tsx","components/icon/facebook.tsx","components/icon/google.tsx","components/start/facebook/goToUrlFacebook.ts","components/start/google/goToUrlGoogle.ts","components/start/alertAppView/index.tsx","components/icon/twitch.tsx","components/start/twitch/goToUrlTwitch.ts","views/profile/views/profile-social/index.tsx","views/profile/index.tsx","adapters/my-information-adapter.ts","components/agegate-input/index.tsx","components/form-information/age-gender/index.tsx","components/form-information/names/index.tsx","components/form-information/index.tsx","utilities/birthday.ts","components/form-base-information/index.tsx","views/sign-up/components/welcome.tsx","views/sign-up/index.tsx","theme/allowcookies/index.tsx","components/allow-cookies/index.tsx","components/start/facebook/index.tsx","components/start/google/index.tsx","components/start/guest/index.tsx","components/start/signup/index.tsx","components/start/signin/index.tsx","components/start/backgroundImage/index.tsx","theme/start/index.tsx","components/start/imageAndText/index.tsx","components/popUps/startPopUp.tsx","components/start/twitch/index.tsx","components/start/xeerpa/index.tsx","views/start/text.style.ts","views/start/index.tsx","components/button-go/index.tsx","views/trivia/trivia-list.tsx","views/redeem/index.tsx","views/terms-and-conditions/index.tsx","theme/trivias/index.tsx","views/trivia/pref-picker.tsx","views/trivia/components/introduction.tsx","views/trivia/index.tsx","views/trivia/components/modal.tsx","views/trivia/components/AlertPopup.tsx","components/birthday-input/index.tsx","views/trivia/components/selector.tsx","views/trivia/components/trivia-game.tsx","views/trivia/components/popUpError.tsx","views/trivia/trivia.tsx","components/legal-age/components/style/text.ts","components/birthday-input/date-input.tsx","theme/legalage/index.tsx","components/legal-age/components/ImgAndText.tsx","components/legal-age/components/style/button.tsx","components/legal-age/index.tsx","views/agegate/index.tsx","views/memorama/index.tsx","views/suscribe/index.tsx","views/ranking/index.tsx","views/errors/index.tsx","views/end-route/style/section.ts","views/end-route/style/text.ts","views/end-route/index.tsx","views/profile-information-update/index.tsx","components/radio/index.tsx","components/form-address/step-one/index.tsx","components/form-address/step-two/index.tsx","components/form-address/max-change/index.tsx","components/form-address/index.tsx","adapters/address-adapter.ts","theme/addressform/index.tsx","views/profile-address-update/index.tsx","components/form-phone/text.style.ts","components/form-phone/phone/index.tsx","components/icon/clock.tsx","components/form-phone/otp/styled.component.ts","components/form-phone/otp/index.tsx","components/form-phone/index.tsx","views/profile-phone-update/index.tsx","views/profile-mail-update/index.tsx","components/icon/rank.tsx","components/icon/trivias.tsx","components/icon/auctions.tsx","theme/home/index.tsx","components/icon/profile.tsx","components/icon/raffles.tsx","components/icon/crow-aguila.tsx","components/icon/referrals.tsx","components/icon/collection.tsx","components/icon/awards.tsx","views/home/style/text.style.ts","components/icon/prizes.tsx","components/icon/TriviasIndio.tsx","components/icon/LineUpIndio.tsx","components/icon/tecate/tecateid.tsx","components/icon/consumptionHnk.tsx","components/icon/heinekenid.tsx","components/icon/mixx/mixx-id.tsx","components/icon/dosequis/dosequis-id.tsx","components/icon/indio/rock-id.tsx","components/icon/upload-image-silver.tsx","components/icon/vote-silver.tsx","components/icon/ranking-silver.tsx","components/icon/trivias-miller.tsx","components/icon/redeem.tsx","components/icon/memorama-silver.tsx","components/icon/cristal/id.tsx","components/icon/tecate/memorama-nav.tsx","components/icon/amstel/amstel-id-nav.tsx","components/icon/bohemia/bohemia-id-nav.tsx","components/icon/hnk-waiter/hnkWaiterID.tsx","components/icon/silver/silverId.tsx","components/icon/miller/miller-id-nav.tsx","components/icon/solMezclas/solMezclasId.tsx","components/icon/massive/massiveId.tsx","components/button-nav/index.tsx","components/icon/sol-icons.tsx","components/icon/goArrow.tsx","components/line-steps/index.tsx","views/home/style/home.style.ts","views/home/components/utils/data.tsx","views/home/components/PopUp.tsx","views/home/index.tsx","components/icon/cup.tsx","components/icon/point.tsx","theme/auction/index.tsx","components/card-auctions/index.tsx","components/card-auction-select/index.tsx","views/auctions/index.tsx","views/raffles/index.tsx","views/referrals/components/Rules.tsx","views/referrals/components/Modal.tsx","views/referrals/components/Header.tsx","views/referrals/components/ProgressBar.tsx","views/referrals/components/Code.tsx","views/referrals/components/Ranking.tsx","views/referrals/index.tsx","views/referrals/hook/useReferral.ts","views/survey/styles/styled.components.ts","theme/survey/index.tsx","components/multi-select/index.tsx","views/survey/components/dropdown.tsx","views/survey/components/checkbox.tsx","views/survey/components/radioMapper.tsx","views/survey/components/textBox.tsx","views/survey/components/options.tsx","views/survey/components/surveyPolaris.tsx","views/survey/components/popUpError.tsx","components/icon/send.tsx","components/icon/success.tsx","views/survey/components/gamerTag.tsx","views/survey/components/demandSpaceVideo.tsx","views/survey/components/demandSpace.tsx","components/generic-error/components/button.tsx","views/survey/components/postalCode/steps/two.tsx","views/survey/components/surveyStepper/Template.tsx","views/survey/components/surveyStepper/index.tsx","views/survey/index.tsx","views/collections/index.tsx","views/marketplace/style/text.tsx","views/marketplace/style/image-container.tsx","views/marketplace/components/MapContainer.tsx","views/marketplace/components/ContainerInput.tsx","views/marketplace/newMarket.tsx","views/marketplace/index.tsx","views/progress/components/accordion.tsx","views/progress/styles/custom.styles.ts","views/progress/index.tsx","views/photographer/context/photographer-reducer.ts","views/photographer/context/index.tsx","views/photographer/components/left.tsx","views/photographer/components/right.tsx","views/photographer/components/carrousel.tsx","views/photographer/components/hooks/useGuard.tsx","views/photographer/views/start/index.tsx","views/photographer/views/winners/custom.style.ts","views/photographer/views/winners/index.tsx","views/photographer/views/upload/index.tsx","views/photographer/views/error/index.tsx","views/photographer/index.tsx","views/trivia-qr/styles/styled.components.ts","views/trivia-qr/trivia-popup.tsx","views/trivia-qr/trivia-qr.tsx","views/privacy-politics/index.tsx","views/cookies/index.tsx","views/toexternal/index.tsx","views/album/index.tsx","views/profile-instagram-update/index.tsx","views/auth/instagram.tsx","components/form-consumption/index.tsx","hooks/use-query.ts","views/profile-consumption-update/index.tsx","views/page-whit-key/index.tsx","views/survey-response/index.tsx","views/survey/components/surveyOnBoarding.tsx","views/survey/survey-qr.tsx","utilities/encrypt.ts","views/identifaction/index.tsx","views/callback/index.tsx","components/card-id/index.tsx","views/wifi/component/view-id.tsx","views/wifi/component/view-data.tsx","views/wifi/component/view-email.tsx","views/wifi/component/view-complete.tsx","views/trivia-ranking/index.tsx","views/playables/index.tsx","views/wifi-connect/WifiForm.tsx","views/wifi-connect/WifiDataInput.tsx","views/wifi-connect/WifiSuccess.tsx","views/auth/xeerpa-manager.tsx","views/wheel-fortune/modules/vars.ts","views/wheel-fortune/modules/utils.ts","views/wheel-fortune/modules/common/images.ts","views/wheel-fortune/modules/assets/roulette-pointer.png","views/wheel-fortune/modules/components/WheelCanvas/styles.ts","views/wheel-fortune/modules/components/WheelCanvas/index.tsx","views/wheel-fortune/modules/common/styledComponents.ts","views/wheel-fortune/modules/components/Wheel/styles.ts","views/wheel-fortune/modules/components/Wheel/index.tsx","views/wheel-fortune/index.tsx","views/events/index.tsx","views/album-qr/album-popup.tsx","views/album-qr/popup-error.tsx","views/album-qr/album-qr.tsx","views/groups/index.tsx","views/checkpoint/styles/styled.components.ts","views/checkpoint/components/CheckpointOnBoarding.tsx","views/checkpoint/components/CheckpointPrize.tsx","views/checkpoint/index.tsx","views/wifi/component/google-sdk.tsx","views/wifi/component/facebook-sdk.tsx","views/wifi/component/view-start.tsx","views/wifi/component/view-form.tsx","routes/definition.tsx","views/wifi/auth.tsx","views/wifi/index.tsx","views/wheel-fortune/hooks/useWheel.ts","routes/index.tsx","views/agegate/custom.style.tsx","views/agegate/components/popUpHealth.tsx","components/footer/index.tsx","components/facebookSDK/index.tsx","components/coming-soon/style/custom.styles.tsx","components/coming-soon/html.tsx","components/coming-soon/index.tsx","App.tsx","components/onetrust/index.tsx","build/Provider.tsx","components/utms/persistUTM.tsx","serviceWorkerRegistration.ts","reportWebVitals.ts","firebase.config.ts","components/gtag-wrapper/index.tsx","index.tsx","views/login/text.style.ts","hooks/use-redirect.ts","utilities/routes-with-not-found.tsx","services/survey.services.ts","contexts/survey-context/useSurvey.ts","hooks/use-agegate.ts","types/prizes.d.ts","components/exchange/styles.ts","components/confetti/index.tsx","components/scratch-card/index.tsx","components/exchange/scrachView.tsx","components/exchange/index.tsx","services/meta-capi.services.ts","views/photographer/views/upload/custom.style.ts","build/lang/lang.es.tsx","build/modules.ts","constants/errors.tsx","hooks/use-white-bg.ts","theme/congrats/index.tsx","theme/loading/index.tsx","components/generic-error/index.tsx","views/album/types.ts","components/generic-error/components/style/text.tsx","views/photographer/views/start/custom.style.ts","constants/regexp.ts","contexts/client-num-context/index.tsx","theme/theme.tsx","components/header/types.ts","utilities/loadImages.ts"],"names":["CONFIGS","configs","OnlineContext","createContext","useOnline","useContext","isOnline","OnlineProvider","children","useState","navigator","onLine","setIsOnline","handleOnline","toast","dismiss","success","position","handleOffline","loading","checkLocalStorageUpdates","a","offlineUpdater","localStorage","getItem","array","JSON","parse","length","Promise","all","map","config","axios","setItem","stringify","useEffect","intervalId","setInterval","clearInterval","window","addEventListener","removeEventListener","Provider","value","TitleHeader","styled","Title","theme","header","text","title","SubTitleHeader","SubTitle","subtitle","TextHeader","Text","TextLevel","level","LinkNormal","link","onAfterAction","onLinkClick","className","menuItemLinkType","toLowerCase","href","url","rel","target","onClick","to","data-url","LinkLocked","aria-disabled","style","opacity","Header","useAgegate","getAgeData","saveAgeData","useSession","session","open","setOpen","useRouter","location","history","pathname","logged","data","shouldUseWhiteBg","useWhiteBg","showAgegate","recheckAge","useGeneralCfg","menu","getMenu","document","body","overflow","documentElement","dlTrackEvent","action","element","section","event","preventDefault","getAttribute","innerText","push","headerClasses","logoClasses","trim","name","user","firstName","split","albums","setAlbums","get","ALBUM_GET","headers","Authorization","_tokenResponse","idToken","PH_API_ID","response","console","error","fetchData","PointView","parts","pointsText","formattedPointsText","totalPoints","replace","POINTS_NAME","textServices","findByText","TitleComponent","includes","formattedTitle","src","AZURE_BASE_URL","images","alt","PROJECT_NAME","isOpen","height","pointsStatus","singStampEnum","singStamp","ShowLevels","ShowCustomImageLevel","imageUrl","ShowCustomImage","singStampImageUrl","items","sort","b","order","menuItemSizeType","urlParts","filter","Boolean","LinkRallyType","rallyType","find","album","statusId","goalRule","errors","currentAgeGate","clear","process","es","en","useUTMParams","utmParams","setUtmParams","query","URLSearchParams","useLocation","search","utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","qr","referralCode","getAge","birthDate","isNaN","dayjs","diff","createUserProperties","loginType","birthday","address","hashId","ls","existEventAuth","dataLayer","f","userProperties","userData","userId","undefined","userInfo","age","birthYear","year","country","profile","providerId","platform","evPageView","pageInfo","currentURL","hostName","hostname","pageName","MetaCAPIService","emitPageView","uuidv4","eventName","eventParams","dlSetUserInfo","profileInfo","dlTrackError","levels","moves","popupCover","popupMixCover","ingameMix","ingameBg","ingameMixItems","special","flag","mixAchieved","combinationGif","PhotographerServices","upload","id","post","POST_PHOTOGRAPHER","uploadImageUrl","POST_PHOTOGRAPHER_URL","uploadWithText","POST_PHOTOGRAPHER_WITH_TEXT","validateWithText","ALBUM_VALIDATE_TEXT","GET_PHOTOGRAPHER_ACTIVE","winners","GET_PHOTOGRAPHER_WINNERS","calendar","day","month","calculateAge","Math","floor","EventsContext","EventsProvider","useReducer","eventsReducer","state","dispatch","useAxios","GET_EVENTS","useCache","type","payload","useEvents","setPlaces","places","Start","lazy","Create","Edit","Details","LineupContext","useLineupContext","Lineup","useLineups","eventId","lineupId","useMainClass","lineups","fallback","path","component","exact","manifest","PWA_TITLE","TITLE_NAME","origin","stringManifest","blob","Blob","manifestUrl","URL","createObjectURL","querySelector","setAttribute","dynamicManifest","sessionReducer","parseInt","toString","SessionContext","SessionProvider","stsTokenManager","expirationDate","expirationTime","Date","now","validateExpirationToken","goToLogin","removeItem","reload","Object","keys","setError","setSession","setUser","setPoints","points","setTotalPoints","socialReducer","current","SocialContext","SocialProvider","useSocial","setCurrent","version","allowReferral","filterPrizes","comingSoon","buttonsStart","positiveLogoUrls","useSecondBackground","imageStart","welcome","legalAgeDate","routesLinks","external","small","routesHome","dynamics","routesProfile","notAvailableFields","backgroundWhite","trivia","showIntroduction","interestsRequired","notShowFields","loaderPulse","dontShowSocialLogin","Consumo","list","urlRedirectAlbumComplete","urlRedirectAlbumProgress","showHowToParticipate","validate","isTakeFoto","useLoaderValidate","useCongrats","congrats","showButton3","showButton2","Historia","handleClick","ranking","titleUpload","viewMore","showSocial","imageId","Ticket","Card","howTakePhoto","useCongratsDirect","profileMultimediaOutputShare","uploaderType","usePoints","signUp","base","triviaQr","showImage","isDosequisCard","wheel","backgroundColors","textColors","outerBorderColor","outerBorderWidth","innerBorderColor","innerBorderWidth","innerRadius","radiusLineColor","radiusLineWidth","fontFamily","fontWeight","fontSize","fontStyle","textDistance","perpendicularText","dynamicsBottom","collections","gamesStickers","showModalMemorama","changeIdQr","tracking","MainContext","MainProvider","classMain","setClassMain","setIntervalId","useTexture","getTotalPoints","ProfileService","getMovements","interval","join","Check","props","width","viewBox","fill","xmlns","d","stroke","SectionError","textColor","CODE_API_BASE","API_BASE_CHECKOUT_CODE_UPDATE","USER_UPDATE_API_BASE","API_BASE_USER_UPDATE","GET_USER_BASE","API_BASE_USER_GET","CODE_EXCHANGE","PRIZES_EXCHANGE","AUTH","VERIFY","SEND_RESET","VERIFY_RESET","DO_RESET","GENRES","CHECK_ZIP","SOCIAL_CALLBACK","SOCIAL_CHECK_USER","XEERPA_CALLBACK","EXTERNAL_CALLBACK","GET_PRIZES","GET_PRIZE_WARE_HOUSE","GET_LEVELS","GET_RAFFLES","GET_RAFFLES_WINNERS","UPDATE_ADDRESS","UPDATE_USER","UPDATE_CONSUMPTION","HISTORY","HISTORY_ID","TYC","FAQS","PAGESWITHKEY","SEND_EMAILVERIFY","TRIVIA_INTERESTS","TRIVIA_SET_INTEREST","TRIVIA_LIST","TRIVIA_VALIDATE","TRIVIA_PLAY","TRIVIA_ANSWER","TRIVIA_RANKING","CATEGORY_PRIZES","GET_RANKS","POST_SUSCRIBE_RANKS","OTP_GENERATE","OTP_VALIDATE","UPDATE_PHONE","UPDATE_NICKNAME","INSTAGRAM","OTP_VALIDATE_EMAIL","GET_ALL_SURVEY","SURVEY_VALIDATE","SURVEY_GET_RESPONSE","PUT_SURVEY","GET_CARRUSEL","POST_REFERRAL","SOCIAL_LOGIN","PUT_CONTACT","PUT_AUTH_INSTAGRAM","VERIFY_NICKNAME","VERIFY_REFERRALCODE","COLLECTION_STICKER_EXCHANGE","COLLECTION_STICKER_MULTIMEDIA","COLLECTION_GET","ALBUM_GET_ID","ALBUM_GET_PROFILE","ALBUM_VALIDATE","ALBUM_VOTE_MULTIMEDIA","ALBUM_GET_RANK_USER","GET_MARKETPLACE","PRIVACYPOLITICSMX","PRIVACYPOLITICSBACK","COOKIESMX","COOKIESBACK","GETSTATELIST","GETCITYLIST","GETCENTERLIST","GET_MOVEMENTS","GET_MOVEMENTS_DETAILS","MEMORAMA_GET","MEMORAMA_GET_ONE","MEMORAMA_ADVANCE","MEMORAMA_STATUS","WHEEL_GET_LIST","WHEEL_VALIDATE","WHEEL_VALIDATE_PLAY","HISTORY_TRACKER","CLIENT_CODE","WALLET_CREATE","GET_MENU","GET_LINKEDACCOUNTS","GET_WARE_HOUSES","PLAYABLE_LIST","PLAYABLE_VALIDATE","PLAYABLE_PLAY","PLAYABLE_SAVE","GET_EVENTS_PLACES","POST_TRACKING_LOCATION","GET_LINEUPS","GET_LINEUPS_PROFILE","UPDATE_LINEUPS_PROFILE","GET_REFERRED_ACTIVE","GET_TEAM_ACTIVE_SOCIAL","GET_REFERRED_TEAM","PUT_CREATE_CLUSTER_TEAM","UPDATE_CLUSTER_TEAM","DELETE_PROFILE_CLUSTER_TEAM","JOIN_PROFILE_CLUSTER_TEAM","UNJOIN_PROFILE_CLUSTER_TEAM","GET_CLUSTER_TEAM","GET_RANKING_BY_TEAM","POST_CHECKPOINT","PopUp","handleMenu","paramFn","module","exports","surveyReducer","SurveyActionEnum","SET_SURVEYS","surveys","SET_SURVEY","survey","SET_ERROR","SET_PRIZE","prize","SET_DEMAND_SPACE","demandSpace","SET_INFO_SURVEY","surveyInfo","RESET","SurveyContext","SurveyProvider","GeneralActionsType","initialState","generalReducer","SET_MENU","GeneralContext","GeneralProvider","useCallback","status","menuOffline","setMenu","Button","disabled","componentClass","CanvasGenerator","phrase","canvasParam","sign","canvas","context","generatetecateCard","font","fillStyle","textAlign","textBaseline","maxWidth","fillText","words","toLocaleUpperCase","currentLine","y","word","testLine","measureText","fillRect","generatedosequisCard","letterSpacing","FontFace","load","then","fonts","add","generateindioCard","textUpper","generateCard","THEME","Function","createImage","image","Image","crossOrigin","onload","drawImage","catch","this","getContext","CanvasGeneratorImage","generatemixxImage","loadImage","img","downloadImageAsBase64","imageUser","base64","clearRect","rotate","PI","setTransform","generateheineken00Image","canvasAspect","imageAspect","drawWidth","drawHeight","offsetX","offsetY","generateImageCanva","AlbumConfig","initialConfig","setInitialConfig","RallyType","Foto","Social","defaultResponse","pathRallyType","textRallyType","values","RallyStatusEnum","COMPLETED","filters","inSubmitShowShareImage","showBackButton","showCallbackButton","warningPhoto","v1","TERMINADO","isCard","isPhoto","albumReducer","multimedia","albumConfig","showRules","AlbumContext","AlbumProvider","setLoad","LoaderContext","refetch","useAlbum","fetchAlbums","getMultimedia","getMultimediaProfile","multimediaOutput","setAlbum","refetchAlbum","setSelectAlbum","voteMultimedia","rallyMultimediaId","validateUpload","rallyId","directAccess","setShowRules","collectionReducer","selectPrize","CollectionsContext","CollectionsProvider","useCollections","setCollections","prizes","refetchCollections","setSelectSticker","sticker","setCongrats","groupsReducer","groups","payloadTyped","currentGroupIndex","findIndex","group","cluster","cloneStateGroup","dynamic","openCreate","participateGroupId","openSelectParticipate","callbackParticipate","CreateGroup","setOpenCreate","useGroups","setNewGroups","useForm","resolver","yupResolver","formServices","formGenerateSchema","register","setValue","watch","handleSubmit","formState","onSubmit","formData","FormData","append","groupFile","groupName","ImageFileName","ImageContentType","put","clusterData","createdAt","bucket","profileIdOwner","item","clusterRoleType","clusterRoleTypeId","profileId","log","onExit","message","aspectRatio","accept","onChange","e","file","files","reader","FileReader","readAsDataURL","result","placeholder","onBlur","form_name","form_field","form_action","HowDoYouWantToParticipate","setOpenSelectParticipate","setParticipateGroupId","setCallbackParticipate","step","setStep","clusterProfileId","Number","clusterId","defaultState","GroupsContext","GroupsProvider","getGroupsSession","setDynamic","setUpdateGroup","setRemoveGroup","groupId","handleOpenSelectParticipate","teamId","callback","getRanking","profileRanking","prizesReducer","flowTypeId","wareHouse","selectWarehouse","prizeExchange","PrizesContext","PrizesProvider","configuration","prizeFlowTypeId","code","usePrizes","setPrizes","refetchPrizes","setSelectPrize","setFlowType","getWareHouse","setSelectWareHouse","setPrizeExchange","PlayableActionsType","playableReducer","SET_PLAYABLES","playables","SET_ADVANCE","advance","SET_ADVANCE_BASE","SET_LAST_SCORE","lastScore","SET_PLAYABLE","playable","SET_CURRENT_PLAYABLE","currentPlayable","SET_PLAY","SET_CONGRATS","finished","PlayableContext","usePlayable","err","getPlayables","validatePlayable","playableId","levelIndex","min","playPlayable","savePlayableData","score","playAgain","reponse","sendScore","changeLevel","deletePrize","PlayableProvider","reducer","EventPlaceEnum","raffleReducer","raffles","selectRaffle","RafflesContext","RafflesProvider","rafflesReducer","raffle","productId","secondaryImageUrl","sortId","sorteoId","description","RaffleAdapter","useRaffles","setRaffles","refetchRaffles","setSelectRaffle","memoramasList","currentMemorama","winner","MemoramaContext","MemoramaProvider","MemoramaReducer","prev","setter","remove","locale","transform","dates","eventLineUpItems","forEach","artist","currentDay","beginAt","format","existIndex","adaptedArtist","validFrom","validTo","endAt","imageSrc","stage","eventPlace","artists","offline","setData","handlerFetcher","handlerOffline","json","default","handler","useOfflineData","transformedData","setTransformedData","dataNotTransformed","useLineupsProfile","useLocalStorage","lineup","setLineup","fetcher","ids","lineupOnlyShow","reduce","BottomPopUp","maxHeight","Stepper","total","percentageStep","useMemo","transition","LoaderProvider","head","setHead","footer","setFooter","_texts","language","themeText","findJson","textRaw","modules","lang","Error","defaultValue","acc","replacedText","key","RegExp","React","isValidElement","mapChildren","Children","child","cloneElement","useCountDownSeconds","ms","counter","setCountDown","startCountDown","setStartCountDown","useRef","start","pause","reset","Input","input","inputRadio","CustomRadio","forwardRef","ref","displayName","params","useParams","useHistory","match","useRouteMatch","queryString","SearchIcon","UbicationIcon","cx","cy","r","BottomArrow","More","strokeWidth","TitleRange","range","Range","removeRange","gtag","event_category","GTM_EVENT_CATEGORY","event_label","RoutesConfigAlbum","isActiveWhenAlbumIsComplete","redirect","routeToRedirect","List","Ranking","ImageId","Upload","Profile","RoutesAlbumDefinitions","PopupClient","isError","setClientNum","ClientContext","ClientNum","confirmData","setConfirmData","consumptionData","setConsumptionData","popup","setPopup","setShowInputNumber","handleSubmitForm","clientNum","confirmFn","updateConsumption","consumptionId","internalId","readOnly","city","ContainerError","useBg","setTimeout","CustomEvent","detail","dontUseSecondBg","dispatchEvent","ErrorListView","buttonMenu","prettyError","prettyErrorDescription","strokeLinecap","listStyle","index","ErrorView","onRetry","onSubRetry","button","prettyErrorButton","subButton","prettyErrorSubButton","buttonText","subButtonText","utm","credentials","accessToken","postReferral","socialLogin","signInWithEmailAndPassword","isLogin","resendEmailVerify","recoverPassword","doReset","verifyReset","checkZip","updateAddres","otpGenerate","phone","recaptchaToken","otpVerifyPhone","otpVerifyEmail","otpVerifyEmailWithAccessToken","genres","updateProfile","updateProfileContact","validateNickName","nickname","validateReferralCode","instagram","authInstagram","getMovementsDetails","categoryId","updatePhone","phoneNumber","updateNickname","nickName","ButtonCloseMenu","bgTransparent","bg","backgroundColor","LoadingScreen","backgroundImage","circlePulse","strokeOpacitye-width","stroke-strokeMiterlimit","left","top","zIndex","hideSpinningLogo","useText","variant","innerRef","oninput","mergeRefs","InputWithRef","yup","mixed","required","string","email","max","lowercase","uppercase","number","lessThan","less","moreThan","more","positive","negative","integer","date","yupRequired","yupWhen","schemaWhen","schema","concat","formBuilder","shape","formSelectYup","when","matches","EMAIL_REGEXP","oneOf","nullable","BIRTHDAY","PHONE_REGEXP","isTrue","names","object","formValidateErrors","errorType","options","prototype","hasOwnProperty","call","error_type","error_code","error_message","HeaderST","attrs","headerBackground","headerBackgroundClose","ButtonMenu","buttonOpen","SpanMenu","span","spansButtonVariation","spansButton","SpanMenuAlternative","spansButtonSecondary","Menu","div","menuBackground","menuText","dontUseTextureBg","bgTexture","backgroundRest","Logo","imagesConfig","logo","paddingLogo","Points","p","ModalMessage","h1","trivias","modalMessage","ModalDescription","modalDescription","ModalCancel","modalCancel","ModalCancelP","modalCancelP","PointTextStyle","pointText","ImgMenu","buttonModalAccept","buttonModalAcceptP","initialValue","storedValue","setStoredValue","valueToStore","ButtonHelperProfile","selected","borderNavSelect","bgNavHelper","LiStateAccount","li","borderStateAccount","DivStateAccount","backgroundStateAccount","PStateAccount","colorTextTitleStateAccount","colorTextTitleStateAccountRest","TextStateAccount","textStateAccount","Crown","textProfile","genericBackground","crownBg","ButtonPrefPicker","isProfile","active","category","borderButtonSelectProfile","borderButtonProfile","textButtonSelectProfile","textButtonProfile","borderRadiusButton","backgroundButtonSelectProfile","buttonSelectActive","buttonSelectInactive","ButtonPref","handleOnClick","datainterestid","interests","setActive","data-interest-id","CrownState","crownState","CrownStateText","crownStateText","ProfilePointsContainerTotalPoints","containerTotalPoints","ProfilePointsTitleTotalPoints","h2","titleTotalPoints","ProfilePointsTotalPoints","ProfilePointsContainerPoints","containerPoints","ProfilePointsTitlePoints","h3","titlePoints","ProfilePointsPoints","Link","ProfileDetailsPointsContainerTotalPoints","details","ProfileDetailsPointsTitleTotalPoints","ProfileDetailsPointsTotalPoints","ProfileDetailsPointsContainerPoints","ProfileDetailsPointsDatePoints","datePoints","ProfileDetailsPointsTitlePoints","ProfileDetailsPointsPoints","ProfileDetailsPointsDescription","ProfileDetailsPointsDescriptionPoints","descriptionPoints","TextStateAccountDate","textStateAccountDate","SurveyTypeEnum","webpackAsyncContext","req","__webpack_require__","o","resolve","t","TriviaActionsType","triviaReducer","SET_INTERESTS","SET_TRIVIAS","SET_TRIVIA","currentTrivia","SET_QUESTIONS","question","SET_PRIZES_CATEGORIES","prizesCategory","TriviaContext","useTrivia","mappedInterests","equals","setInterests","getTrivias","validateTrivia","triviaId","isDirectAccess","resetTrivia","exchangePrize","urlRedirect","playTrivia","answerTrivia","questionId","optionId","urlRedirect2","buttonText2","profileTime","time","useRanking","withRanking","TriviaProvider","AppProviders","ScopeEnum","GuardedRoute","rest","lState","isMinor","useRedirect","setRefferal","flowType","toexternal","setExternal","setUtm","encodeURI","isLogged","urlParams","paramArray","utms","notAgegate","consumptionCenter","scope","PUBLIC","isWaiter","PRIVATE","Congrats","setRange","lPrize","removeLPrize","lSticker","removeLSticker","lRange","collectionId","VAR_POINTS","backgroundSize","onTouchStartCapture","DivTextHelp","help","textHelp","DivBgHelp","backgroundHelp","AreaTextHelp","textarea","textHelpArea","TitleHelp","titleHelp","SubtitleHelp","subtitleHelp","ContactTitle","contactTitle","ContactSubtitle","contactSubtitle","CollapsibleStyle","collapsibleStyle","SectionHelp","sectionHelp","ButtonHelp","buttonHelp","CollapsibleStyleP","collapsibleStyleP","Help","loadingFaqs","errorFaqs","faqs","method","manual","fetch","nameRef","lastnameRef","emailRef","phoneRef","textRef","submitHandler","lastname","alert","faq","collapsible","trigger","onOpen","dangerouslySetInnerHTML","__html","content","maxLength","useCustomForm","initialValues","setState","setHistory","stepsArray","setStepsArray","htmlSteps","setHtmlSteps","handleChangeState","prevStep","nextStep","backHistory","setQuantitySteps","quantity","Array","from","PasswordRecovery","shouldEnable","mailSent","isDisabled","setIsDisabled","ContainerPassword","inputPassword","container","InputPassword","IconPassword","icon","PasswordWithRef","showPassword","setShowPassword","setType","Password","BorderBlack","isScanningSuccess","getElementsByClassName","display","flexDirection","justifyContent","alignItems","background","ScanQrReferral","toggle","setScanQrResult","webcamRef","scanningRef","setIsScanningSuccess","scanQrFromCamera","webcam","getScreenshot","createElement","imageData","getImageData","qrCode","jsQR","extractReferralCode","audio","screenshotFormat","videoConstraints","facingMode","objectFit","Steps","setPercentageStep","MailSentPassword","isSignUp","setMailSent","EmailPassword","onFormSubmitEndPoint","scanQr","handleScanQr","reValidateMode","getValues","setErrorForm","termsOfUse","setTermsOfUse","privacyPolicy","setPrivacyPolicy","subscribe","setSubscribe","scanQrResult","scanRefresh","setScanRefresh","handleSubmitValidate","referral","typedError","isAxiosError","shouldValidate","referralCodeParams","getReferralCode","stepsNewVersion","noValidate","password","decrease","back","inputOtp","OtpInput","one","two","tree","four","five","six","inputBlur","refs","valueRefs","inputChange","focus","inputArr","onFocus","select","onPaste","codeOtp","codeOtpArray","completeOtpCode","clipboardData","getData","TitleSignUpWelcome","signup","ColorDiv","otp","colorDiv","SubTitleSignUpWelcome","TextSignUpWelcome","TextSecondSignUpWelcome","textSecondary","SubTitleSignUpOtp","TextSignUpOtp","BackBtn","backBtn","Otp","handleConfirm","EMAIL","goBack","TitleEmail","TextEmail","AlreadyParticipate","handleLogin","Done","utmServices","utmRead","auth","getAuth","Login","genericError","setGenericError","done","setDone","setCredentials","setOtp","dataUser","setDataUser","setPrize","handleUser","assign","decodeURI","availableFields","isComplete","genre","genreId","handleError","errorCode","errorMessage","handleOnSubmit","handleDone","buttons","handleButtonCommon","handleButtonSticker","handleChange","MailVerify","oobCode","replaceAll","verifyMail","apodo","TitlePassword","ChangePassword","password_confirm","PasswordReset","newPassword","Preview","Description","ExChange","StartPrizes","Prizes","useSurveyRedirect","PRIZES","TextProfile","TextProfileSecondary","TextNotFoundHistory","textNav","textNotFoundHistory","TextPref","textPref","PrefPicker","useSet","Set","activeItems","activeItemsSet","substring","endsWith","persist","currentTarget","toggleAttribute","sendInterest","enableButton","size","Information","lastName","notShowButtonInformation","PopUpCoupon","closePopup","timeResult","setProductExchange","extend","showTimePopUp","setShowTimePopUp","dateCountdown","setDateCountdown","expired","setExpired","countDownFn","expiresAt","toDate","historyTracker","newItem","temporalCouponExpiresAt","Clock","captureBtnBgTransparent","toLocaleString","renderer","minutes","seconds","completed","formatDate","isoDate","getUTCDate","padStart","getUTCMonth","getUTCFullYear","Status","statusInfo","class","Prize","setShowDetails","productExchangeCoupon","exchangeAt","orderStatus","fetchHistoryId","token","currentDate","compareDate","CheckIcon","color","aria-hidden","Step","isLast","nextStepCompleted","VerticalStepper","steps","trackingDetail","courier","courierExists","trackingNumber","formattedStep","stepTitle","toUpperCase","checked","addressTitle","street1","neighborhood","formatSteps","NumberOrder","setShowOrderNumber","showDetails","showOrderNumber","buttonConfig","setButtonConfig","getHistory","canExchangeCoupon","buttonConfigs","currier","trakingNumber","temporalCouponCode","configKey","costInPoints","History","showPopUpCoupon","setShowPopUpCoupon","productExchange","gridTemplateColumns","pointsEarned","gridTemplateRows","dynamicCostInPoints","dynamicTitle","dynamicType","Address","streetNumber","shippingDetails","street2","postalCode","Phone","showInstagram","subsection","contactEmail","informationFields","addressFields","UsePercentageProfile","useSurvey","surveyLoading","percentageProfile","setPercentageProfile","requiredField","setRequiredFields","fieldsInfNotCompleted","field","fieldsAddressNotCompleted","fieldsNC","count","fieldsNull","userFieldsCompletedCount","valuePercent","round","InformationIcon","ConsumptionCenterIcon","CardIcon","strokeLinejoin","PrizesIcon","SiteMapIcon","PreferencesIcon","GPS","GoogleWallet","x1","y1","x2","y2","gradientUnits","stopColor","offset","IOSWallet","xmlnsXlink","clipPath","maskUnits","x","mask","fillRule","clipRule","patternContentUnits","xlinkHref","listAppBrowsers","isInAppBrowser","useragent","userAgent","vendor","opera","some","regex","test","isIOS","isAndroid","PointsIdContainer","identification","card","switch","pointsId","PointsIdName","PointsIdNumber","idConfigTheme","tecate","textX","textY","massive","amstel","bohemia","cartablanca","cristal","dosequis","heinekenWaiter","indio","silver","heineken00","silverMemorama","silverOnTrade","silverWaiter","miller","mixx","solMezclas","weight","InstructionPopUp","setPopUp","Identification","setStatus","refCanvas","isOpenPopUp","setIsOpenPopUp","urlWallet","setUrlWallet","soName","urlUser","URL_BASE","handleDownload","dataURL","toDataURL","download","click","referralClick","getStatus","urlToOpen","wallets","walletSOType","createWallet","themes","strokeStyle","lineWidth","borderRadius","canvasQR","getElementById","arr","imageDataUrl","currentTheme","beginPath","moveTo","arcTo","closePath","codeOrId","showPointsId","share","ConsumptionProfile","ProfilePoints","setList","fetchPoints","movements","amount","showButtonPoints","ProfileDetailsPoints","getDate","Intl","DateTimeFormat","getFullYear","Arrow","ContainerProfile","containerProfile","IconColor","iconColor","IconColorArrow","iconColorArrow","TextLabelMenu","textLabelMenu","TitlePage","titlePage","ListItem","listItem","HeaderColorArrow","headerColorArrow","EditColorIcon","editColorIcon","ContainerMenu","containerMenu","MenuProfile","definitionsFiltered","definitions","dontShowItem","label","helper","noArrow","HeaderProfile","definitionsFinded","matchPath","update","ProfileRanking","rally","multimediasCount","Facebook","Google","rx","redirectUri","clientId","FC_CLIENTID","goToUrlFacebook","flowTypeParam","encodeURIComponent","utmString","entries","GOOGLE_CLIENTID","goToUrlGoogle","AlertAppView","social","TwitchIcon","goToUrlTwitch","SocialProfile","loginError","setLoginError","alertAppView","setAlertAppView","typedThemeButtons","linkedAccunts","setLinkedAccunts","handleMetaClick","handleGoogleClick","handleTwitchClick","listSocial","isDisplayInTheme","alreadyLinked","provider","indexOf","isLinked","linked","information","setInformation","setConsumptionCenter","setAddress","setPhone","isAllowRoute","isAllow","AddressIcon","PhoneIcon","PointsIcon","HistoryIcon","slice","pop","definition","myInformationAdapter","AgegateInput","tagging","birthdayDate","pattern","formName","AgeGender","defaultValues","setErrors","setAgeLocalForm","setBirthday","gender","setGender","birthdayDefault","setBirthdayDefault","ageLS","dateBirthday","getMonth","getGenres","Names","onFormSubmit","FormInformation","quantityStep","newData","getBirthdayLocal","birthdayLocal","birthdayParse","currentYear","YEAR_REGEXP","yearStart","parsedYear","birthdayParseYear","birthdayDayjs","isValid","FormBaseInformation","handleFormSubmit","Welcome","resend","setResend","handleResend","nombre","SignUp","setName","setEmail","setPassword","prizeToShow","setPrizeToShow","setScanQr","catchError","createUserWithEmailAndPassword","emitCompleteRegistration","handleSubmitBase","ImgAllowCookies","allowCookies","AllowCookies","setReferralCode","isFlowType","setIsFlowType","setFirebaseError","setAllowCookies","completeData","consumption","consumptionCenterId","loginSDK","authResponse","FacebookAuthProvider","credential","signInWithCredential","bithdayUser","reloadUserInfo","dateOfBirth","loginResponse","isAccountExistsError","errorKey","FB","login","isHorizontal","GoogleAuthProvider","addScope","signInWithPopup","credentialFromResult","borderColor","padding","Guest","SignIn","BackgroundImage","FormContainer","isFocused","codeBg","codeBgVariations","redeem","textureName","useTextureTwo","useTextureThree","bgLoader","ButtonGo","codeButtonVariations","codeButton","codeButtonText","codeButtonRadius","btnStyle","FormContainerInput","products","valid","form","formContainerInput","RedeemTextFocus","redeemTextFocus","ImageAndText","StartPopUp","Twitch","Xeerpa","searchParams","has","set","TitleStart","TextStart","customParseFormat","firebaseError","listCommon","socialHorizontal","popUp","startPopUp","common","InputGo","inputGo","ButtonGoRedeem","TriviaStatusEnum","setIsFocused","redeemError","setRedeemError","shouldListenToEvents","setShouldListenToEvents","secondCode","setSecondCode","inputRef","recaptchaRef","inputFormProps","blur","executeAsync","newUser","clone","chances","isNewLevel","formContainerClasses","tagName","sitekey","RECAPTCHA_SITEKEY","autoComplete","borderTopRightRadius","borderBottomRightRadius","borderTopLeftRadius","borderBottomLeftRadius","codeButtonImg","Redeem","REDEEM","popupClientNum","Div","termsAndConditions","TYCPage","styles","wrapper","DivTriviaList","colorTextTrivia","H1PrefPicker","ColorTextPref","textPrefTitle","PPrefPicker","TriviaNumber","triviaDescription","triviaNumber","DivTriviaListBorder","isActive","backgroundTriviaDisabled","borderBottomTrivia","DivTitleTriviaList","colorTriviaTop","backgroundTitleTrivia","TitleTriviaBorder","H2TitleTriviaList","backgroundTitleClassTrivia","colorTitleTrivia","fontTitleTrivia","fontSizeTitleTrivia","titleTrivia","DivModalContinue","colorTextContinue","backgroundContinue","backgroundContinueImage","ButtonModalContinue","DivSelector","colorTextSelect","LiSelectorOption","backgroundSelectTitle","colorTextSelectTitle","isSelected","borderSelectOption","backgroundOptionSelect","backgroundOptionDesactive","DivSelectOption","backgroundOptionCircleActive","QuestionHeader","colorTextCongrats","questions","QuestionNumber","QuestionTitle","DivTriviaContainer","divTriviaContainer","TriviaTitle","titleRight","TriviaCountdown","countdownStyle","TriviaSubtitle","subtitleCenter","TriviaSubtitleSpan","subtitleCenterSpan","TriviaPrize","prizeCenter","TriviaStock","triviaStockCenter","TriviaTime","triviaTime","TriviaTimeNumbers","triviaTimeNumbers","TriviaCost","triviaCost","TriviaCostNumber","triviaCostNumber","TriviaModalH1","triviaModalH1","TriviaModelP","triviaModelP","TriviaModalWarning","triviaModalWarning","TriviaTitlePage","triviaTitlePage","TriviaNotFoundContainer","spanColorTitle","triviaNotFoundContainer","TriviaNotFoundText","triviaNotFoundText","CrownTrivia","crownTrivia","QuestionImgContainer","questionImgContainer","QuestionImg","questionImg","QuestionImgTitleContainer","questionImgTitleContainer","QuestionImgTitle","questionImgTitle","ColorCountdown","colorCountdown","CountdownContainer","countdownContainer","QuestionContainerTwoQuestions","questionContainerTwoQuestions","ImgLarge","imgLarge","OptionStyle","optionStyle","LiBorderColor","liBorderColor","PreferencesPicker","TriviaList","avaliableTrivias","nowDate","profileTriviaStatus","today","diffA","countdownType","hasEnoughPoints","isAvailable","stock","isUnlimited","shouldShowCountdown","interest","nbrOfQuestions","IntroductionTrivia","setShowIntroduction","Trivia","introductionTrivia","TRIVIAS","TriviaModal","onAccept","previousPath","AlertPopUp","DateType","handleRetry","handleNavigate","modalBackgroundTrivias","OptionSelector","timeInSeconds","end","setEnd","countdown","startCountdown","pauseCountdown","resetCountdown","setQuestion","setSelected","errorTrivia","setErrorTrivia","executed","setExecuted","showAlert","setShowAlert","q","selectOption","block","unblock","handleNavigateAlert","onbeforeunload","exitTrivia","dontShowButtons","dontShowButtonExchange","buttonSecondary","option","data-id","TriviaGame","PopUpError","TriviaChallenge","route","userAccepted","setUserAccepted","triviaValidate","TitleAge","agegate","SubTitleAge","TextTermsAge","terms","TextPolitics","politics","DateInput","DateInputWithRef","textSharedProps","BirthdayInput","setAgeLocal","setFormState","yearRef","monthRef","handleOnChange","placeholderType","placeholderDifferent","minLength","LegalAgeImg","ImgAndText","ButtonVariant","buttonVariant","LegalAge","Agegate","GameMemorama","Win","Memorama","Suscribe","setSteps","handleSuscription","setRanking","fetchRank","codeResponse","currentPosition","rankWinners","errorId","errorid","Section","TitleEnd","SubTitleEnd","ButtonEnd","EndRoute","removeAge","ProfileInformationUpdate","isNew","P","RadioSt","Radio","StepOne","setHelper","cities","neighborhoods","defaultChecked","streetType","apartament","MaxChange","diffChange","MAX_CHANGE_ADDRESS_COUNT","addressCount","FormAddress","setHelp","handleButton","addressUpdateBg","adaptedData","neighborhoodId","AddressAdapter","BackgroundFormAdressUpdate","formAddressUpdate","backgroundFormAdressUpdate","ProfileAddressUpdate","TextOtp","TextOtpTwo","textTwo","TextOtpLabel","TextOtpLabelTwo","labelTwo","TextOtpResend","expires","useDirectPhone","PTime","pTime","TitleOtp","titleOtp","endTime","setEndtime","endTimeTransform","setEndTimeTransform","useCountdown","minute","second","secondsToString","FormPhone","ProfilePhoneUpdate","ProfileMailUpdate","mail","contactMail","Rank","TriviasIcon","fillOpacity","Auctions","strokeMiterlimit","ButtonNavStyle","home","buttonDisable","buttonDisableContrast","buttonColorContrast","buttonColor","buttonDisabledBorderContrast","buttonDisabledBorder","buttonDisabledBackground","buttonBackgroundContrast","buttonBackground","buttonBorderRadius","ButtonNavStyleFull","DivLineStep","BgLineStepActive","BgLineStep","HrLineStep","hr","DivProgress","progress","DivProgressSecond","AZURE_ICONS_URL","Raffles","CrowAguila","Referrals","Collection","Awards","TitleHome","TextHome","TextHomeSecondary","ContainerTextProgress","containerTextProgress","TextHomeButton","textButton","TextPoints","TextDynamics","FloatImgHome","sello","TextArrow","textArrow","TextTotalPoints","textTotalPoints","TextArrowColor","textArrowColor","TriviasIconIndio","LineUpIndio","TecateDownload","TecateView","border","TecateID","isStandalone","setIsStandalone","matchMedia","addListener","removeListener","ConsumptionHnk","HeinekenID","MixxID","DosequisID","RockID","UploadImageSilver","VoteSilverIcon","RankingSilverIcon","TriviasMillerIcon","MemoramaSilverIcon","CristalID","MemoramaNavTecate","AmstelIdNav","backgroundRepeat","BohemiaIdNav","HnkWaiterId","TextID","Container","SilverID","MillerID","SolMezclasId","MassiveID","Links","Gift","ProfileCB","Collections","Trivias","TriviasIndio","Photos","UploadImage","LineUp","ProfileID","html","MemoramaSilver","HeinekenId","TriviaMatchpaint","VoteSilver","RankingSilver","MezclasSol","VoteSol","ProfileSol","MyImagesSilver","ParticipateSilver","TriviasMiller","HistoryDosequis","TicketsDosequis","ConsumptionDosequis","MemoramaTecate","AmstelID","BohemiaID","BohemiaChallenges","BohemiaContent","BohemiaRanking","TriviaDosequis","MemoramaDosequis","PhotoDosequis","TicketsDosequisV2","HnkWaiterID","ButtonNav","onHandleClick","GoArrow","LineSteps","activeIndex","Dots","dots","PopUpTwo","PopUpSpanMenu","spanMenu","HrHome","NavContainer","nav","navContainer","popUps","1","setPopUpFalse","2","3","4","setWinners","useWindowSize","heightList","setHeightList","ganador","sorteoDate","5","6","Component","Type","Home","carrousel","setCarrusel","asyncSteps","setAsyncSteps","REGISTER","getAsyncStates","settings","centerPadding","centerMode","infinite","speed","autoplaySpeed","autoplay","customPaging","slidesToShow","slidesToScroll","arrows","afterChange","currentSlide","promotion_id","promotion_name","creative_name","usePointsHome","useProfilePointsHome","usePointsText","TOTAL_POINTS","onclick","processedHref","useImgInHome","Cup","Point","DivCardContainer","modal","auctions","cardBgAndText","cardBorderColor","cardRoundedTop","DivCardTitle","DivCardOffert","cardOffertBgAndText","CardAuctions","setAuction","ofertText","days","hour","currentOffer","SelectAuctionCard","currentAuction","setCurrentOffer","modalAlert","setModalAlert","Buttons","urlImg","auctionSelected","setAuctionSelected","ArrowDown","Winners","Rules","closeRules","Modal","closeModal","toggleRules","closeModalFn","toggleRanking","ProgressBar","referrals","profileCluster","referredAmount","team","maxUser","calculateProgress","displayRange","calculateDisplayRange","referralPoints","Code","contentRef","getUrlUser","clipboard","writeText","scrollHeight","prizeImageUrl","RankingItem","backgroundClass","rankInfo","setRankInfo","Position","RankingItemMap","openRules","setOpenRules","setTeam","getReferredActive","getReferredTeam","createClusterTeam","useReferral","setModal","openRanking","setOpenRanking","TitleSurveyQr","DescriptionSurveyQr","ImgSurveyQr","ContainerSurveyQr","TitleSurvey","TitleSurveyPolaris","titlePolaris","ImgCardSurvey","ImgBottomSurvey","imgBottom","PSurveyMultiSelectOption","SubtitleSurveyLabel","SubtitleLabelSurvey","subtitleLabel","DivSurveyMultiSelectOptionContainer","containerSelect","ImgSurveyMultiSelectOption","MultiSelect","titleRef","itemId","selectedItems","newSelectedList","amountAnswers","shift","columns","String","data-kind","DropDown","CheckboxMapper","RadioMapper","TextBox","Options","SurveyPolaris","updatePolarisSurvey","isOptional","textValue","setTextValue","alertPrize","setAlertPrize","validateAmountAnwsers","selectedFilter","amountAwnsers","optionIds","demandSpaceId","Send","Success","GamerTag","gamerTag","setGamerTag","setDisabled","isChange","setIsChange","DemandSpaceImg","SurveyInfo","handleShare","resultUrl","imageResponse","imageBlob","File","filesArray","downloadUrl","appendChild","parentNode","removeChild","data-slot","DemandSpaceVideo","playerRef","innerWidth","dimensions","setDimensions","avatar","setAvatar","view","viewHandled","setViewHandled","updateDimensions","innerHeight","minWidth","opts","playerVars","bool","videoId","videoUrl","DemandSpaceComponent","Template","submit","setVariant","useFormContext","control","_formValues","Render","_","render","SurveyStepper","resetSurvey","setSchema","methods","schemas","optional","Survey","validateSurvey","redirectUrl","fetchSurvey","encuestaType","isAnswered","viewType","Album","Download","CongratsRedeem","COLLECTIONS","TitleMarketPlace","marketplaces","SubTitleMarketPlace","ScopeMarketPlace","scopeText","ImageMarketPlace","MapContainerComp","zoom","setZoom","containerStyle","wareHouses","distances","lat1","lon1","lat2","lon2","lat1Rad","lon1Rad","lat2Rad","dLat","dLon","sin","cos","atan2","sqrt","calculateDistance","center","lat","lng","latitude","longitude","maxDistance","calculatedZoom","log2","Infinity","isLoaded","info","mapContainerStyle","disableDefaultUI","handleMouseOver","userLocation","searchResult","ContainerInput","searchLocation","handleSearch","errorSearch","handleInputChange","userLocationFn","NewMarket","setWareHouses","useJsApiLoader","googleMapsApiKey","API_KEY_MAPS","whs","getWareHouses","geocoder","setInfo","setCenter","setSearchLocation","centerIsLoaded","setCenterIsLoaded","CoordinateCenter","google","maps","Geocoder","setSearchResult","setErrorSearch","validWareHouses","z","coord","hyp","searchCenter","setUserLocation","geocode","componentRestrictions","COUNTRY_MAPS","results","geometry","location_type","geolocation","getCurrentPosition","coords","MapContainer","Marketplaces","marketplace","i","Accordion","userPoints","initAt","TitleProgress","Progress","setLevels","res","photographerReducer","photos","unshift","PhotographerContext","PhotographerProvider","getPhotographer","typeData","multimedias","getWinners","usePhotographer","setPhotos","setPhoto","photo","Left","Right","Carrousel","initialSlide","prevArrow","nextArrow","responsive","breakpoint","useGuard","protectedRoutes","myPhotos","setMyPhotos","fileToShare","isYou","CardCarrousel","once","continue","DivTitleWinner","photographer","TitleWinner","DivCardWinner","DescriptionCardWinner","ImgCardWinner","setImage","setFile","handleInstagram","dataInput","isWinner","minHeight","htmlFor","Photographer","RALLY","TitleTriviaQr","DescriptionTriviaQr","ImgTriviaQr","ContainerTriviaQr","TriviaPopUp","TriviaQr","redirectToSurvey","TRIVIAQR","triviaQrPopUp","PrivacyPolitics","fetchURL","privacyPolitics","stylespp","wrapperpp","Cookies","cookies","stylecookies","wrappercookies","ToExternal","RedirectView","VOTE","ProfileInstagramUpdate","InstagramAuth","error_reason","FormConsumption","states","setStates","setCities","centers","setCenters","clientNumber","setClientNumber","errorForm","showInputNumber","cityRef","consumptionRef","provided","outline","singleValue","resetFields","clearValue","useQuery","ConsumptionsUpdate","showExcellent","setShowExcellent","PageWithKey","SurveyResponse","setDemandSpace","setSurveyInfo","getResponse","SurveyOnBoarding","SurveyQr","decryptAES","encryptedDataBase64","encryptedDataWithoutSpaces","encryptedData","Uint8Array","atob","c","charCodeAt","iv","encryptedBytes","crypto","subtle","importKey","TextEncoder","encode","decrypt","decrypted","TextDecoder","decode","IdentificationDynamic","setId","decryptId","SECRET_PASS","decryptedData","unStringifiedData","Callback","firbaseAuth","redirectByLocal","getRedirectLocal","authCallback","bodyLogin","hash","parsedParams","decodeURIComponent","stateProvider","signInWithCustomToken","firebaseAccessToken","firebaseLogin","providerAccessToken","callbackBody","linkAccountResponse","CardId","ViewId","setStepper","ViewData","ViewEmail","ViewComplete","StatusEnum","0","Sum","formatTime","totalSeconds","formattedMinutes","formattedSeconds","Game","Map","Playable","WifiForm","privacyNotice","WifiDataInput","requestSend","setRequestSend","setPrivacyNotice","paramContinueUrl","paramBaseGrantUrl","paramNodeId","userContinueUrl","nodeId","baseGrantUrl","devTest","actionForm","obj","node_id","news","API_TOKEN","WifiSuccess","classID","validatorsQuery","DEFAULT_BACKGROUND_COLORS","DEFAULT_TEXT_COLORS","DEFAULT_FONT_WEIGHT","DEFAULT_FONT_STYLE","WEB_FONTS","getRotationDegrees","prizeNumber","numberOfPrizes","randomDif","degreesPerPrize","initialRotation","randomDifference","random","perfectRotation","imperfectRotation","prizeRotation","clamp","val","isCustomFont","getQuantity","prizeMap","characters","roulettePointer","WheelCanvasStyle","drawRadialBorder","ctx","centerX","centerY","insideRadius","outsideRadius","angle","lineTo","WheelCanvas","rouletteUpdater","canvasRef","createRef","drawWheelProps","QUANTITY","startAngle","contentRadius","optionSize","arc","endAngle","save","translate","contentRotationAngle","landscape","_imageHTML","restore","drawWheel","NonDraggableImage","RouletteContainer","RotationContainer","startRotationDegrees","classKey","startSpinningTime","disableInitialAnimation","continueSpinningTime","stopSpinningTime","finalRotationDegrees","RoulettePointerImage","Wheel","mustStartSpinning","onStopSpinning","spinDuration","startingOptionIndex","pointerProps","wheelData","setWheelData","setPrizeMap","setStartRotationDegrees","setFinalRotationDegrees","hasStartedSpinning","setHasStartedSpinning","hasStoppedSpinning","setHasStoppedSpinning","isCurrentlySpinning","setIsCurrentlySpinning","isDataUpdated","setIsDataUpdated","setRouletteUpdater","loadedImagesCounter","setLoadedImagesCounter","totalImages","setTotalImages","isFontLoaded","setIsFontLoaded","mustStopSpinning","charactersLength","charAt","makeClassKey","normalizedSpinDuration","totalSpinningTime","initialMapNum","auxPrizeMap","dataLength","wheelDataAux","fontsToFetch","fontArray","j","prevCounter","uri","sizeMultiplier","naturalWidth","naturalHeight","prevState","WebFont","families","timeout","fontactive","optionIndex","optionMap","idx","startingOption","setStartingOption","selectedPrize","finalRotationDegreesCalculated","visibility","Chances","Maps","PUBLIC_ROUTES","defaultView","albumPopup","AlbumQr","albumQrPopUp","Invite","TitleCheckpointQr","DescriptionCheckpointQr","ImgCheckpointQr","ContainerCheckpointQr","CheckpointOnBoarding","CheckpointPrize","checkpointId","Checkpoint","GoogleSDK","buttonGoogle","setButtonGoogle","access_token","client","accounts","oauth2","initTokenClient","client_id","ux_mode","requestAccessToken","Helmet","async","FacebookSDK","buttonFacebook","setButtonFacebook","ViewStart","handleLoginExternal","handleSocial","ViewForm","Route","routes","stepper","macAddress","isStepper","formElement","classList","isLegal","mustValidate","currentStatus","statusTime","getEventIdFromPath","isActiveEvent","mustSpin","setMustSpin","setPrizeNumber","setWheel","playWheel","profileWheelFortuneChances","stickerId","couponTypeId","getWheel","dataList","currenWheel","notPrizes","difficulty","useWheel","handleSpinClick","handleButtonsCongrats","textWin","textLose","isGetParams","setIsGetParams","toExternal","removeValue","getUrlUtm","urlBase","handleAuth","access","XEERPA_URL","redirectToXeerpa","Errors","Routes","setRedirect","clearRedirect","currentTimeout","setCurrentTimeout","clearTimeout","TitlePopUp","health","TextPopUp","LiStyle","PopUpContainer","LinkWeb","web","PopUpHealth","setIsOpen","handleOpen","disabledScroll","enabledScroll","webPage","Footer","APP_VERSION","scriptElement","defer","init","appId","cookie","xfbml","AppEvents","logPageView","ComingSoonContainer","comingSoonConfig","comingSoonBackground","ComingSoonImage","comingSoonImage","ComingSoonHtml","logout","ComingSonComponent","ComingSoon","App","useAgegateConfig","ScriptInjector","script","ONETRUST_KEY","Theme","PersistUTM","isLocalhost","registerValidSW","swUrl","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","reportWebVitals","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","firebaseConfig","apiKey","FIREBASE_APIKEY","authDomain","FIREBASE_AUTHDOMAIN","projectId","FIREBASE_PROJECTID","storageBucket","FIREBASE_STORAGEBUCKET","messagingSenderId","FIREBASE_MESSAGINGSENDERID","FIREBASE_APPID","measurementId","FIREBASE_MEASUREMENTID","GtagWrapper","iframe","GTM_ID","noscript","innerHTML","insertBefore","childNodes","initializeApp","getElementsByTagName","require","WrappedApp","ready","postMessage","basename","ReactDOM","contentType","unregister","checkValidServiceWorker","serviceWorkerRegistration","TitleLogin","TitleRecovery","titleRecovery","TextRecovery","textRecovery","TextResend","textResend","setUrl","NotFound","RoutesWithNotFound","SurveyService","getSurveys","answerSurvey","surveyId","selectedSurvey","setSelectedSurvey","setSurveyLoading","markAsAnswered","findNextSurvey","actionType","activationType","showAt","isAfter","returnData","autoRedirect","hasVisited","local","previousTime","getTime","ceil","fetchSurveys","minor","recheckValue","setAge","setShowAgegate","setIsMinor","setValues","parsedMonth","parsedDay","monthDays","newDate","isValidDate","parsedDate","DD_MM_YYYY","years","DATE","AGE_GATE_COOKIE","sessionStorage","AGE_GATE_FORMAT","PrizesCouponType","ExchangeContainerModal","exchange","containerModal","ExchangeContainerTop","containerTop","ExchangeContainerText","containerText","ExchangeTitle","ExchangeDescription","ExchangeImage","ExchangePointsContainer","pointsContainer","ExchangePointsText","ConfettiComponent","myConfetti","confetti","create","resize","useWorker","frame","particleCount","spread","requestAnimationFrame","pointerEvents","Scratch","finishPercent","onComplete","brushSize","fadeOutOnComplete","customBrush","customCheckZone","loaded","setLoaded","setFinished","isDrawing","lastPoint","brushImage","imageRef","isFinished","getMouse","getBoundingClientRect","scrollTop","pageYOffset","scrollLeft","pageXOffset","pageX","pageY","touches","clientX","clientY","handleMouseDown","handleMouseMove","point1","point2","currentPoint","distance","pow","angleBetween","globalCompositeOperation","filledInPixels","handlePercentage","stride","canvasWidth","canvasHeight","pixels","getFilledInPixels","handleMouseUp","brushImg","WebkitUserSelect","MozUserSelect","msUserSelect","userSelect","onMouseDown","onTouchStart","onMouseMove","onTouchMove","onMouseUp","onTouchEnd","ScratchView","variants","setVariants","ExchangeComponent","buttonTertiary","SCRATCH","POINTS_COUNT","hidden","loadHeaders","sessionId","myHeaders","Headers","createBaseObject","eventID","eventSourceUrl","contentName","METACAPI_PIXEL","createUserObject","methodName","mustUseService","makeCall","requestOptions","METACAPI_BASEURL","METACAPI_APITOKEN","debug","emitViewContent","baseObject","emitShare","emitB2C","DivTitleUpload","TitleUpload","ButtonUpload","ButtonTitleUpload","DescriptionContainerUpload","DescriptionTitleUpload","DescriptionTextUpload","ContainerImageUpload","InputLabelUpload","TitleDoneUpload","DescriptionDoneUpload","languageES","description2","legalage","button1","button2","signin","textTransform","firstname","contact","stateLabel","button2Link","endroute","rules","typeImage","late","questions1","questions2","exit","cancel","btn","buttonBack","warning","lineHeight","confirm","stockName","notFound","howToParticipate","onBoarding","buttonSubmit","alreadyUploaded","errorModalValidate","isReady","button3","button3Link","buttonCancel","return","shared","example","isLocked","vote","79","1114","71","153","8001","8002","received","wheelFortune","dateform","warn","artistform","confirmform","events","onboarding","found","memorama","play","subtitleCorrect","introduction","ERRORS","defaultMessage","errorMesg","whitelist","setShouldUseWhiteBg","setUseTexture","isInList","SectionCongrats","TitleCongrats","titleCongrats","TextCongrats","textCongrats","PointsCongrats","pointsCongrats","ButtonSecondary","TextButton3","textButton3","LoadingDiv","backgroundrepeat","backgroundposition","backgroundsize","loadingBg","useBackground","breakpoints","Spinner","spinnerWidth","TextLoading","textStyle","GenericError","safeError","safeDescription","TitleError","TextError","LiError","IconError","DivTitleStart","DivCardStart","DescriptionCardStart","ImgCardStart","DivCardCarrouselStart","cardCarrousel","ImgCardCarrouselStart","DescriptionsCardCarrouselStart","ContinueCardStart","ClientProvider","Main","secondaryBackground","primaryBackground","dontUseTexture","main","useSecondTexture","useSecondTextureUrl","Back","tertiaryBackground","BackRedeem","backJustify","imgContainer","ImgRedeemContainer","ButtonInit","buttonRest","ButtonInitAgegate","buttonAgegate","inputPrimary","ReturnText","returnText","InputVariant","inputVariant","InputST","InputBirthday","InputBirth","InputBirthdayLabel","inputBirthdayLabel","inputBirthday","TextSub","textSub","TrRank","backgroundColorVariant","borderColorVariant","textColorVariant","borderClass","DivAgegate","inputAgegate","InputAgegate","SelectGender","inputSelect","DivCheckbox","inputCheckbox","DivRedeemBottomText","divBottomText","SpanCheckbox","SpanCheckboxActive","spanActive","PCheckbox","Checkbox","H1Steps","H1StepsActive","h1Active","SignInDiv","signIn","SignUpDiv","primary","TitleWaiterPage","waiterPage","secondary","tertiary","Label","ReferralLabel","ReferralInput","InputStyled","ContainerCenterInput","containerCenterInput","StepText","ProgressContainerSteps","ProgressSteps","LabelStreet","labelStreet","SubtitleStreet","subtitleStreet","ErrorInput","errorInput","SubtitleWaiterPage","menuId","mandatory","reject","onerror","convertBlobToBase64","onloadend"],"mappings":"2GAAA,IAEMA,EAFN,OAEgBC,EAEDD,O,qJCITE,EAAgBC,wBAAkC,IAkE3CC,EAAY,WAEvB,OADqBC,qBAAWH,GAAxBI,UAIKC,IArEQ,SAAC,GAAkB,IAAhBC,EAAe,EAAfA,SAAe,EACPC,mBAAkBC,UAAUC,QADrB,mBAChCL,EADgC,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B,QAAU,SAACprF,GACX/qB,QAAQC,MAAR,gCAAuC9D,GAAO4uB,GAC9CmrF,EAAOnrF,IAETy3D,EAAEzhF,IAAM5E,MAZZ,4C,sBAgBA,SAASi6G,EAAoBxrG,GAC3B,OAAO,IAAI/Q,SAAQ,SAACirC,EAASoxE,GAC3B,IAAMtvF,EAAS,IAAIC,WACnBD,EAAOyvF,UAAY,kBAAMvxE,EAAQle,EAAOG,SACxCH,EAAOuvF,QAAUD,EACjBtvF,EAAOE,cAAclc,MAIlB,SAAeqU,EAAtB,kC,4CAAO,WAAqC9iB,GAArC,iBAAA9C,EAAA,+EAEoB4xC,MAAM9uC,GAF1B,cAEG4D,EAFH,gBAGgBA,EAAS6K,OAHzB,cAGGA,EAHH,gBAIUwrG,EAAoBxrG,GAJ9B,gFAMG,IAAIsmB,MAAJ,8CANH,2D,sBAUQnS,I","file":"static/js/main.27123b3b.chunk.js","sourcesContent":["import configs from 'build/configs/configs'\r\n\r\nconst CONFIGS = configs\r\n\r\nexport default CONFIGS;","import axios, { AxiosRequestConfig } from 'axios'\r\nimport { createContext, useContext, useEffect, useState } from 'react'\r\nimport toast from 'react-hot-toast'\r\n\r\nexport interface OnlineContextProps {\r\n isOnline: boolean\r\n}\r\n\r\nconst OnlineContext = createContext({} as OnlineContextProps)\r\n\r\nconst OnlineProvider = ({ children }) => {\r\n const [isOnline, setIsOnline] = useState(navigator.onLine)\r\n\r\n const handleOnline = () => {\r\n setIsOnline(true)\r\n toast.dismiss()\r\n toast.success('¡Genial tiene conexión nuevamente!', { position: 'bottom-center' })\r\n }\r\n\r\n const handleOffline = () => {\r\n setIsOnline(false)\r\n toast.dismiss()\r\n toast.loading('¡Ups!... Estas sin conexión', { position: 'bottom-center' })\r\n }\r\n\r\n const checkLocalStorageUpdates = async () => {\r\n const offlineUpdater = localStorage.getItem('offline-updater');\r\n if (offlineUpdater) {\r\n const array: { id: string, config: AxiosRequestConfig }[] = JSON.parse(offlineUpdater);\r\n\r\n if (array && array?.length > 0) {\r\n await Promise.all(array.map(async ({ config }) => {\r\n return await axios(config)\r\n }))\r\n }\r\n\r\n localStorage.setItem('offline-updater', JSON.stringify([]));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n let intervalId: any = null;\r\n\r\n if (isOnline) {\r\n intervalId = setInterval(() => {\r\n checkLocalStorageUpdates();\r\n }, 60000);\r\n }\r\n\r\n return () => {\r\n if (intervalId) {\r\n clearInterval(intervalId);\r\n }\r\n }\r\n }, [isOnline])\r\n\r\n\r\n useEffect(() => {\r\n window.addEventListener('offline', handleOffline)\r\n window.addEventListener('online', handleOnline)\r\n\r\n return () => {\r\n window.removeEventListener('offline', handleOffline)\r\n window.removeEventListener('online', handleOnline)\r\n }\r\n }, [])\r\n\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const useOnline = () => {\r\n const { isOnline } = useContext(OnlineContext)\r\n return isOnline\r\n}\r\n\r\nexport default OnlineProvider","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\nimport { Title, SubTitle, Text } from '../../theme/theme';\r\n\r\nexport const TitleHeader = styled(Title)`\r\n ${({ theme }: Type) => theme?.header?.text?.title}\r\n`;\r\n\r\nexport const SubTitleHeader = styled(SubTitle)`\r\n ${({ theme }: Type) => theme?.header?.text?.subtitle}\r\n`;\r\n\r\nexport const TextHeader = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.text}\r\n`\r\n\r\nexport const TextLevel = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.level}\r\n`","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { ALBUM_GET } from 'constants/api'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport textServices from 'services/text-services'\r\nimport { useGeneralCfg } from 'contexts/general-context'\r\nimport { useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport axios from 'axios';\r\nimport { Album } from 'views/album/types'\r\nimport images from '../../images.json'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport {\r\n HeaderST,\r\n ButtonMenu,\r\n SpanMenu,\r\n Menu,\r\n Logo,\r\n Points,\r\n SpanMenuAlternative,\r\n PointTextStyle,\r\n ImgMenu\r\n} from '../../theme/header'\r\nimport { SubTitleHeader, TextHeader, TextLevel, TitleHeader } from './text.style'\r\nimport { singStamp, Item } from './types'\r\n\r\ninterface ILink {\r\n link: Item,\r\n onAfterAction: (text: string) => void;\r\n onLinkClick: (event: React.MouseEvent) => void;\r\n}\r\n\r\nconst LinkNormal = ({ link, onAfterAction, onLinkClick }: ILink) => {\r\n return (\r\n \r\n {link?.menuItemLinkType?.toLowerCase() === \"blank\" ? (\r\n {\r\n onAfterAction(link?.title)\r\n }}\r\n >\r\n {link?.title}\r\n \r\n ) : (\r\n \r\n {link?.title}\r\n \r\n )}\r\n \r\n )\r\n}\r\n\r\nconst LinkLocked = ({ link }: { link: Item }) => {\r\n return (\r\n \r\n

\r\n {link.title}\r\n

\r\n
\r\n )\r\n}\r\n\r\nconst Header: VoidFunctionComponent = () => {\r\n const { getAgeData, saveAgeData } = useAgegate()\r\n const [session] = useSession()\r\n const [open, setOpen] = useState(false)\r\n const { location, history, pathname } = useRouter()\r\n const logged = !!session.data\r\n const [loading] = useState(false)\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n const { showAgegate, recheckAge } = useAgegate()\r\n\r\n // START - GET MENU FROM BACK\r\n const { menu, getMenu } = useGeneralCfg();\r\n\r\n useEffect(() => {\r\n getMenu();\r\n }, []);\r\n // END - GET MENU FROM BACK\r\n\r\n useEffect(() => {\r\n if (open) {\r\n document.body.style.overflow = 'hidden'\r\n document.documentElement.style.overflow = 'hidden'\r\n return\r\n }\r\n document.body.style.overflow = 'auto'\r\n document.documentElement.style.overflow = 'auto'\r\n }, [open])\r\n\r\n useEffect(() => {\r\n recheckAge()\r\n }, [pathname])\r\n\r\n const toggle = () => {\r\n setOpen((isOpen) => !isOpen)\r\n }\r\n\r\n const onAfterAction = (text: string) => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: text.toLowerCase(),\r\n section: 'menu'\r\n })\r\n }\r\n\r\n const onLinkClick = (event: any) => {\r\n event.preventDefault()\r\n const url = event.target.getAttribute('data-url')\r\n const text = event.target.innerText\r\n history.push(url)\r\n onAfterAction(text)\r\n setOpen(false)\r\n }\r\n\r\n const logout = () => {\r\n const currentAgeGate = getAgeData()\r\n window.localStorage.clear()\r\n saveAgeData(currentAgeGate)\r\n window.location.href = `${process.env.PUBLIC_URL}/start`\r\n }\r\n\r\n const headerClasses = `w-full flex font-bold header-app ${logged ? 'justify-between' : 'justify-center'} \r\n ${open ? 'fixed z-50' : logged && location.pathname === '/redeem' ? 'absolute z-30' : 'relative'}`\r\n\r\n const logoClasses = `w-20 px-3 logo ${logged ? 'ml-4' : ''}`.trim()\r\n const name = session.user?.firstName?.split(' ')[0]\r\n\r\n if (loading) {\r\n return \r\n }\r\n\r\n\r\n const [albums, setAlbums] = useState([])\r\n\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n try {\r\n const response = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session?.data as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n setAlbums(response.data);\r\n } catch (error) {\r\n console.error('Failed to fetch albums:', error);\r\n }\r\n };\r\n\r\n if (open) {\r\n fetchData();\r\n }\r\n }, [session, open]);\r\n\r\n const PointView = () => {\r\n const pointsText = menu?.pointsText || \"\";\r\n const parts = pointsText.split(\"{points}\");\r\n\r\n const formattedPointsText = (\r\n <>\r\n {parts[0]}\r\n \r\n {session.user?.totalPoints || 0}\r\n \r\n {parts[1]?.replace(\"{pointsName}\", POINTS_NAME)}\r\n \r\n );\r\n\r\n return (\r\n <>\r\n {textServices.findByText('header/points/br', '')}\r\n {formattedPointsText}\r\n \r\n );\r\n };\r\n\r\n const TitleComponent = ({ menu, name }) => {\r\n if (!menu || !menu.title) {\r\n return null;\r\n }\r\n\r\n const useName = menu?.title?.includes('{name}')\r\n\r\n if (!useName) {\r\n return

{menu?.title}

\r\n }\r\n\r\n const parts = menu.title.split('{name}');\r\n\r\n const formattedTitle = (\r\n <>\r\n {parts[0]}\r\n {textServices.findByText('header/name/br', '')}\r\n {name}\r\n {parts[1]}\r\n \r\n );\r\n\r\n return (\r\n

\r\n {formattedTitle}\r\n

\r\n );\r\n };\r\n\r\n\r\n return (\r\n \r\n \r\n {logged && (\r\n \r\n {shouldUseWhiteBg ? (\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 {open && (\r\n \r\n
\r\n \r\n \r\n {/*

\r\n {menu?.title?.replace(\"{name}\", name)}\r\n

*/}\r\n {(menu?.pointsStatus && menu?.pointsText) ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n )}\r\n
\r\n {session?.user?.level && ((menu?.singStampEnum === singStamp.ShowLevels) || (menu?.singStampEnum === singStamp.ShowCustomImageLevel)) && (\r\n
\r\n
\r\n {session?.user?.level?.name}\r\n
\r\n {session?.user?.level?.name}\r\n
\r\n )}\r\n
\r\n {((menu?.singStampEnum === singStamp.ShowCustomImage) || menu?.singStampEnum === singStamp.ShowCustomImageLevel) && (\r\n \r\n )}\r\n
    \r\n {menu?.items?.sort((a, b) => a.order - b.order).map((link) => {\r\n if (link?.menuItemSizeType?.toLowerCase() === \"small\") {\r\n return (\r\n \r\n {\r\n link?.menuItemLinkType.toLowerCase() === \"blank\" ? (\r\n {\r\n onAfterAction(link?.title)\r\n }}\r\n >\r\n {link?.title}\r\n \r\n ) : (\r\n \r\n {link.title}\r\n \r\n )\r\n }\r\n \r\n )\r\n }\r\n\r\n if (link?.menuItemLinkType?.toLowerCase() === \"rally\") {\r\n const urlParts = link?.url?.split('/')?.filter(Boolean);\r\n const lastPart = urlParts[urlParts.length - 1];\r\n\r\n if (lastPart === \"upload\") {\r\n const [, , LinkRallyType] = urlParts;\r\n const rallyType = albums?.find(album => album?.rallyType === LinkRallyType && album?.statusId === 2);\r\n const isLocked = rallyType?.goalRule?.errors?.length > 0;\r\n\r\n if (isLocked) {\r\n return \r\n }\r\n }\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}\r\n\r\nexport default Header\r\n","/* eslint-disable */\r\nimport { useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\n\r\nconst useQuery = () => {\r\n return new URLSearchParams(useLocation().search);\r\n};\r\n\r\nexport const useUTMParams = () => {\r\n const [utmParams, setUtmParams] = useState<{\r\n utm_source: string;\r\n utm_medium: string;\r\n utm_campaign: string;\r\n utm_term: string;\r\n utm_content: string;\r\n utm_id: string;\r\n qr: string;\r\n referralCode: string;\r\n }>()\r\n \r\n const query = useQuery();\r\n\r\n useEffect(() => {\r\n setUtmParams(\r\n {\r\n utm_source: query.get('utm_source'),\r\n utm_medium: query.get('utm_medium'),\r\n utm_campaign: query.get('utm_campaign'),\r\n utm_term: query.get('utm_term'),\r\n utm_content: query.get('utm_content'),\r\n utm_id: query.get('utm_id'),\r\n qr: query.get('qr'),\r\n referralCode: query.get('referralCode')\r\n }\r\n )\r\n },[])\r\n\r\n return utmParams;\r\n};","import { UserData } from 'contexts/session-context/session-reducer'\r\nimport dayjs from 'dayjs'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\n\r\ntype WindowWithDataLayer = Window & {\r\n dataLayer: Record[]\r\n}\r\n\r\nexport declare const window: WindowWithDataLayer\r\n\r\ntype EventNames =\r\n | 'user_interaction'\r\n | 'form_interaction'\r\n | 'login'\r\n | 'sign_up'\r\n | 'error'\r\n | 'view_promotion'\r\n | 'select_promotion'\r\n | 'form_send'\r\n | 'authentication'\r\n\r\nfunction getAge(birthDate: any) {\r\n const nan = isNaN(birthDate)\r\n if (nan) return undefined\r\n const today = dayjs()\r\n const age = today.diff(birthDate, 'year')\r\n return age\r\n}\r\n\r\nexport const createUserProperties = (user: UserData, loginType: string | null) => {\r\n const { birthday, address, hashId } = user\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n const birthDate = dayjs(birthday)\r\n const existEventAuth = window.dataLayer?.find((f: any) => { return f?.event === 'authentication' });\r\n \r\n const userProperties = {\r\n event: 'authentication',\r\n userData: {\r\n userId: hashId ?? undefined,\r\n userInfo: {\r\n age: getAge(birthDate) ?? undefined,\r\n birthYear: isNaN(birthDate?.year()) ? undefined : birthDate?.year() ?? undefined,\r\n country: address?.country ?? undefined\r\n },\r\n profile: {\r\n loginType: loginType ?? data?.data?.providerId?.split('.')[0] ?? 'email',\r\n platform: 'web'\r\n }\r\n }\r\n }\r\n \r\n const evPageView = {\r\n event : \"evPageView\",\r\n pageInfo : {\r\n currentURL: window.location.href,\r\n hostName: window.location.hostname,\r\n pageName: window.location.pathname\r\n }\r\n }\r\n\r\n window.dataLayer = window.dataLayer || []\r\n\r\n if (!existEventAuth) {\r\n window.dataLayer.push(userProperties)\r\n window.dataLayer.push(evPageView)\r\n MetaCAPIService.emitPageView(window.location.href, MetaCAPIService.uuidv4())\r\n }\r\n}\r\n\r\nexport const dlTrackEvent = (eventName: EventNames, eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: eventName,\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dlSetUserInfo = (userId: string | number) => {\r\n window.dataLayer.push({\r\n user: {\r\n profile: {\r\n profileInfo: {\r\n userId: userId\r\n }\r\n }\r\n }\r\n })\r\n}\r\n\r\nexport const dlTrackError = (eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: 'error',\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dataLayer = (objAnalitcs: any) => {\r\n window.dataLayer.push(objAnalitcs)\r\n}\r\n","const levels = [\r\n // {\r\n // level: 0,\r\n // name: \"CHELADA\",\r\n // moves: 13,\r\n // popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n // popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n // ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n // ingameBg: `playable__lvl__one`,\r\n // ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n // special: `lata_chelada`,\r\n // items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n // flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n // mixAchieved: [\r\n // `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`\r\n // ],\r\n // combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n // },\r\n {\r\n level: 1,\r\n name: \"CHELADA\",\r\n moves: 20,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n ingameBg: `playable__lvl__one`,\r\n ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n special: `lata_chelada`,\r\n items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 2,\r\n name: \"MANGOYADA\",\r\n moves: 15,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel2_mangoyada-mezcla.webp`,\r\n ingameBg: `playable__lvl__two`,\r\n ingameMixItems: ['mango', 'chamoy', 'sol'],\r\n special: `lata_mangoyada`,\r\n items: [\"sol\", \"chamoy\", \"mango\", \"palmeras\", \"boletos\", \"tomate_chico\", \"limon_gajo\", \"camara_foto\"],\r\n flag: `${AZURE_BASE_URL}/nivel2_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 3,\r\n name: \"CLAMATO\",\r\n moves: 10,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel3_clamato-mezcla.webp`,\r\n ingameBg: `playable__lvl__three`,\r\n ingameMixItems: ['tomate_grande', 'almeja', 'sol'],\r\n special: `lata_clamato`,\r\n items: [\"sol\", \"almeja\", \"tomate_grande\", \"balde_arena\", \"lima_gajo\", \"mango_gajo\", \"ojotas\", \"lima_rodaja\"],\r\n flag: `${AZURE_BASE_URL}/nievl3_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl3_logro-insignia.webp`,\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-clamato.gif`\r\n },\r\n];\r\n\r\nexport {\r\n levels\r\n}","import { GET_PHOTOGRAPHER_ACTIVE, POST_PHOTOGRAPHER, GET_PHOTOGRAPHER_WINNERS, POST_PHOTOGRAPHER_URL, POST_PHOTOGRAPHER_WITH_TEXT, ALBUM_VALIDATE_TEXT } from 'constants/api'\r\nimport axios from 'axios'\r\n\r\nexport const PhotographerServices = {\r\n upload(id: number | string, data: FormData, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadImageUrl(id: number | string, data: any, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER_URL.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(POST_PHOTOGRAPHER_WITH_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n validateWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(ALBUM_VALIDATE_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n get(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_ACTIVE, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n winners(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_WINNERS, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n }\r\n}\r\n","import dayjs from 'dayjs'\r\nimport textServices from 'services/text-services'\r\n\r\nexport const calendar = {\r\n day: textServices.findByText('agegate/day', { es: 'DIA', en: 'DAY' }),\r\n month: textServices.findByText('agegate/month', { es: 'MES', en: 'MONTH' }),\r\n year: textServices.findByText('agegate/year', { es: 'AÑO', en: 'YEAR' })\r\n}\r\n\r\nexport function calculateAge(birthday: Date) {\r\n const age = dayjs().diff(birthday, 'year', true)\r\n\r\n return Math.floor(age)\r\n}","import { GET_EVENTS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { useSession } from 'contexts/session-context'\r\nimport eventsReducer, { EventsAction, EventsState, IEvent, IEventPlaces } from './reducer'\r\n\r\nexport interface EventsContextProps {\r\n state: EventsState\r\n loading: boolean\r\n dispatch: Dispatch\r\n}\r\n\r\nconst EventsContext = createContext({} as EventsContextProps)\r\n\r\nexport const EventsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(eventsReducer, {})\r\n const [{ data: session }] = useSession()\r\n const [{ data, loading }] = useAxios(\r\n {\r\n url: GET_EVENTS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { useCache: false }\r\n )\r\n\r\n useEffect(() => {\r\n if (data) {\r\n dispatch({ type: 'SET_EVENT', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useEvents = () => {\r\n const { state, loading, dispatch } = useContext(EventsContext)\r\n\r\n const setPlaces = (places: IEventPlaces[]) => dispatch({ payload: places, type: 'SET_EVENT_PLACES' })\r\n\r\n const actions = { setPlaces }\r\n\r\n const returnValue: [typeof state, typeof actions, typeof loading] = [state, actions, loading]\r\n return returnValue\r\n}","import { createContext, lazy, Suspense, useContext } from \"react\";\r\nimport { Redirect, Route } from \"react-router-dom\";\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\";\r\nimport LoadingScreen from \"components/loading-screen\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { ILineup } from \"./types\";\r\nimport { useLineups } from \"./hooks/useLineups\";\r\n\r\nconst Start = lazy(() => import('./views/Start'))\r\nconst Create = lazy(() => import('./views/Create'))\r\nconst Edit = lazy(() => import('./views/Edit'))\r\nconst Details = lazy(() => import('./views/Details'))\r\n\r\nexport interface LineupContextProps {\r\n lineups: ILineup[]\r\n eventId: number\r\n lineupId: number\r\n}\r\n\r\nconst LineupContext = createContext({} as LineupContextProps)\r\n\r\nexport const useLineupContext = () => {\r\n const state = useContext(LineupContext)\r\n return state\r\n}\r\n\r\nexport default function Lineup() {\r\n const { data, eventId, lineupId } = useLineups()\r\n useMainClass('lineup')\r\n\r\n if (data?.length === 0) return \r\n\r\n return (\r\n \r\n Cargando}>\r\n \r\n } exact />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}","// import { encryptAES } from './encrypt';\r\n\r\nasync function dynamicManifest(id: number) {\r\n if (id) {\r\n // const data = await encryptAES(JSON.stringify(id), SECRET_PASS)\r\n const manifest = {\r\n \"short_name\": `${PWA_TITLE ?? TITLE_NAME}`,\r\n \"name\": `${PWA_TITLE ?? TITLE_NAME}`,\r\n \"icons\": [\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x48.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"48x48\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x72.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"72x72\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x96.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"96x96\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x128.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"128x128\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x192.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"192x192\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x384.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"384x384\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x512.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"512x512\"\r\n }\r\n ],\r\n \"version\": \"2024.03.01\",\r\n // \"start_url\": `${window?.location?.origin}${process.env.PUBLIC_URL}/identification?id=${data}&`,\r\n \"start_url\": `${window?.location?.origin}${process.env.PUBLIC_URL}/start`,\r\n \"display\": \"standalone\",\r\n \"theme_color\": \"#000000\",\r\n \"background_color\": \"#ffffff\",\r\n }; \r\n const stringManifest = JSON.stringify(manifest);\r\n const blob = new Blob([stringManifest], { type: 'application/json' });\r\n const manifestUrl = URL.createObjectURL(blob);\r\n document.querySelector('#dynamic-manifest').setAttribute('href', manifestUrl);\r\n }\r\n}\r\n\r\nexport default dynamicManifest","import { AuthError, UserCredential } from '@firebase/auth'\r\nimport { dlSetUserInfo, createUserProperties} from 'components/dataLayer/dataLayer'\r\n\r\nexport type SessionActionType = 'error' | 'success' | 'user' | 'points' | 'restore' | 'set_survey' | 'refetch' | 'totalpoints'\r\n\r\nexport interface ConsumptionCenter {\r\n name: string\r\n address: string | null\r\n city: string\r\n state: string\r\n internalId: string\r\n}\r\nexport interface UserData {\r\n state: any\r\n contactEmail?: string\r\n totalPoints: string\r\n id: number\r\n chances: number\r\n referralCode: string\r\n firstName: string\r\n lastName: string\r\n nickName: string\r\n phoneNumber: any\r\n shippingDetails: any\r\n email: string\r\n birthday: string\r\n address?: Address\r\n city: any\r\n genreId?: number\r\n genre?: string\r\n postalCode: any\r\n addressCount: number\r\n interests: { id: number; name: string }[]\r\n instagram?: string\r\n level?: {\r\n id: number\r\n name: string\r\n imageUrl: string\r\n },\r\n consumptionCenter?: ConsumptionCenter\r\n hashId?: string\r\n provider: string\r\n}\r\n\r\nexport interface Address {\r\n neighborhood: string\r\n postalCode: string\r\n city: string\r\n state: string\r\n country: string\r\n street1: string\r\n street2: any\r\n streetNumber: string\r\n apartament: any\r\n shippingDetails: string\r\n phone: string\r\n lastName: string\r\n firstName: string\r\n curp: string\r\n}\r\n\r\nexport interface SessionState {\r\n error?: AuthError\r\n data?: UserCredential\r\n user?: UserData\r\n}\r\n\r\nexport interface SessionAction {\r\n type: SessionActionType\r\n payload: AuthError | UserCredential | UserData | number | SessionState | []\r\n}\r\n\r\nfunction sessionReducer(state: SessionState, action: SessionAction): SessionState {\r\n switch (action.type) {\r\n case 'error':\r\n return { ...state, error: action.payload as AuthError }\r\n case 'restore':\r\n return { ...state, ...action.payload as { user: UserData, data: UserCredential, error: AuthError } } as any\r\n case 'success':\r\n return { ...state, data: action.payload as UserCredential }\r\n case 'user':\r\n dlSetUserInfo((action.payload as UserData)?.hashId)\r\n createUserProperties((action.payload as UserData), null)\r\n return { ...state, user: action.payload as any }\r\n case 'points':\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n totalPoints: (parseInt(state.user?.totalPoints || '0', 10) + (action.payload as number)).toString() as any\r\n } as any\r\n }\r\n case 'totalpoints':\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n totalPoints: (action.payload as number) as any\r\n } as any\r\n } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default sessionReducer\r\n","import { AuthError, UserCredential } from '@firebase/auth'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport dynamicManifest from 'utilities/dynamic-manifest'\r\nimport { createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport sessionReducer, { SessionAction, SessionState, UserData } from './session-reducer'\r\n\r\nexport interface UserContextProps {\r\n state: SessionState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst SessionContext = createContext({} as UserContextProps)\r\n\r\nexport const validateExpirationToken = () => {\r\n const ls = localStorage.getItem('state')\r\n let data = ls ? JSON.parse(ls) : {}\r\n if (data.data?.user?.stsTokenManager) {\r\n const expirationDate = data.data?.user?.stsTokenManager.expirationTime\r\n const isOutdated = Date.now() > expirationDate\r\n\r\n if (isOutdated) data = {};\r\n }\r\n return data;\r\n}\r\n\r\nexport const SessionProvider: FunctionComponent = ({ children }) => {\r\n const data = validateExpirationToken();\r\n const [state, dispatch] = useReducer(sessionReducer, data)\r\n\r\n return {children}\r\n}\r\n\r\nexport const goToLogin = () => {\r\n window.localStorage.removeItem('state')\r\n window.location.reload()\r\n}\r\n\r\nexport const useSession = () => {\r\n const { state, dispatch } = useContext(SessionContext)\r\n useEffect(() => {\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n\r\n if (!Object.keys(data)) {\r\n goToLogin()\r\n return\r\n }\r\n\r\n if (data.data?.user?.stsTokenManager) {\r\n const expirationDate = data.data?.user?.stsTokenManager.expirationTime\r\n const isOutdated = Date.now() > expirationDate\r\n\r\n if (isOutdated) {\r\n goToLogin()\r\n return\r\n }\r\n }\r\n dispatch({ type: 'restore', payload: data })\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (Object.keys(state).length) {\r\n localStorage.setItem('state', JSON.stringify({ user: state?.user, data: state?.data }))\r\n dynamicManifest(state?.user?.id)\r\n }\r\n }, [state])\r\n\r\n useEffect(() => {\r\n if (state?.user?.hashId) {\r\n createUserProperties(state?.user, state?.data?.providerId)\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n\r\n if (data?.user?.hashId) {\r\n createUserProperties(data?.user, data?.data?.providerId)\r\n }\r\n }, [])\r\n\r\n const setError = (error: AuthError) => dispatch({ type: 'error', payload: error })\r\n const setSession = (session: UserCredential) => dispatch({ type: 'success', payload: session })\r\n const setUser = (user: UserData) => dispatch({ type: 'user', payload: user })\r\n const setPoints = (points: number) => dispatch({ type: 'points', payload: points })\r\n const setTotalPoints = (points: number) => dispatch({ type: 'totalpoints', payload: points })\r\n const actions = { setError, setSession, setUser, setPoints, setTotalPoints }\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n\r\n return returnValue\r\n}\r\n","/* eslint-disable no-case-declarations */\r\nimport { Social } from \"./types\"\r\n\r\nexport type SocialActionType = 'SET_PHOTOS' | 'SET_WINNERS' | 'SET_ERROR' | 'SET_CURRENT' | 'SET_PHOTO'\r\n\r\nexport interface SocialState {\r\n current?: Social[]\r\n error?: number\r\n}\r\n\r\nexport interface SocialAction {\r\n type: SocialActionType\r\n payload: SocialState | Social | number\r\n}\r\n\r\nfunction socialReducer(state: SocialState, action: SocialAction): SocialState {\r\n switch (action.type) {\r\n case 'SET_CURRENT':\r\n return { ...state, current: action.payload as Social[] }\r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default socialReducer","import { createContext, Dispatch, FunctionComponent, useContext, useReducer } from 'react'\r\nimport socialReducer, { SocialAction, SocialState } from './social-reducer'\r\nimport { Social } from './types'\r\n\r\nexport interface SocialContextProps {\r\n state: SocialState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst SocialContext = createContext({} as SocialContextProps)\r\n\r\nexport const SocialProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(socialReducer, {})\r\n\r\n return {children}\r\n}\r\n\r\nexport const useSocial = () => {\r\n const { state, dispatch } = useContext(SocialContext)\r\n\r\n\r\n const setCurrent = (current: Social) => dispatch({ type: 'SET_CURRENT', payload: current })\r\n\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error });\r\n }\r\n\r\n const actions = { setError, setCurrent }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","import { IConfigModule } from 'build/types/configs'\r\n\r\nconst config: IConfigModule = {\r\n version: '2.0.0',\r\n allowReferral: true,\r\n filterPrizes: true,\r\n comingSoon: false,\r\n buttonsStart: ['xeerpa'],\r\n positiveLogoUrls: [],\r\n useSecondBackground: ['/error', '/end', '/social', '/album/:id', '/trivias', '/trivia'],\r\n imageStart: 'backgroundImage',\r\n welcome: 'ImgBackground',\r\n legalAgeDate: true,\r\n routesLinks: [\r\n {\r\n path: '/profile/movements',\r\n text: 'MIS PUNTOS'\r\n },\r\n {\r\n path: '/album/redirect/Consumo/upload',\r\n text: 'CARGAR FOTO'\r\n },\r\n {\r\n path: '/album/redirect/Ticket/upload',\r\n text: 'CARGAR TICKET'\r\n },\r\n {\r\n path: '/album/redirect/Card/upload',\r\n text: 'PERSONALIZA TU LATA',\r\n rallyType: 'Card'\r\n },\r\n {\r\n path: '/album/redirect/Card/profile',\r\n text: 'VER MI CONTENIDO'\r\n },\r\n {\r\n path: '/album/redirect/Card/ranking',\r\n text: 'VER RANKING / VOTAR'\r\n },\r\n {\r\n path: '/prizes',\r\n text: 'VER LOS PREMIOS'\r\n },\r\n {\r\n path: 'https://dosequis.mx/',\r\n text: 'Volver a dosequis.mx',\r\n external: true\r\n },\r\n {\r\n path: '/profile',\r\n text: 'Mi información',\r\n small: true\r\n },\r\n {\r\n path: '/help',\r\n text: '¿Tienes alguna duda?',\r\n small: true\r\n },\r\n {\r\n path: '/terms-and-conditions',\r\n text: 'Ver términos y condiciones',\r\n small: true\r\n },\r\n {\r\n path: '/privacy-politics',\r\n text: 'Aviso de privacidad',\r\n small: true\r\n }\r\n ],\r\n routesHome: ['DosequisID'],\r\n dynamics: [],\r\n routesProfile: ['information', 'phone', 'address', 'history', 'movements', 'prizes', 'identificacion', 'social'],\r\n notAvailableFields: ['instagram', 'interests', 'consumptionCenter'],\r\n backgroundWhite: true,\r\n trivia: {\r\n showIntroduction: true,\r\n interestsRequired: false\r\n },\r\n notShowFields: ['instagram'],\r\n loaderPulse: true,\r\n dontShowSocialLogin: true,\r\n album: {\r\n Consumo: {\r\n list: {\r\n urlRedirectAlbumComplete: '/album/start',\r\n urlRedirectAlbumProgress: '/album/:id/upload'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n isTakeFoto: true,\r\n useLoaderValidate: true,\r\n useCongrats: true\r\n },\r\n congrats: {\r\n showButton3: true,\r\n showButton2: false\r\n }\r\n },\r\n Historia: {\r\n list: {\r\n handleClick: true,\r\n urlRedirectAlbumProgress: '/album/:id/ranking'\r\n },\r\n ranking: {\r\n titleUpload: true,\r\n viewMore: true,\r\n showSocial: 'like'\r\n },\r\n imageId: {\r\n showSocial: 'like'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n useLoaderValidate: true\r\n },\r\n congrats: {\r\n showButton3: false\r\n }\r\n },\r\n Ticket: {\r\n list: {\r\n urlRedirectAlbumComplete: '/album/start',\r\n urlRedirectAlbumProgress: '/album/:id/upload'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n isTakeFoto: false,\r\n useLoaderValidate: true,\r\n useCongrats: true\r\n },\r\n congrats: {\r\n showButton3: true,\r\n showButton2: true\r\n }\r\n },\r\n Card: {\r\n list: {\r\n handleClick: true,\r\n urlRedirectAlbumProgress: '/album/:id/ranking'\r\n },\r\n ranking: {\r\n titleUpload: true,\r\n viewMore: true,\r\n showSocial: 'like'\r\n },\r\n imageId: {\r\n showSocial: 'like'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n useLoaderValidate: true,\r\n howTakePhoto: true,\r\n useCongrats: true,\r\n useCongratsDirect: true\r\n },\r\n congrats: {\r\n showButton3: true\r\n },\r\n profile: {\r\n showSocial: 'like|share',\r\n profileMultimediaOutputShare: 'base64'\r\n }\r\n }\r\n },\r\n uploaderType: ['WriteText'],\r\n congrats: {\r\n showButton3: true\r\n },\r\n usePoints: true,\r\n signUp: {\r\n base: false\r\n },\r\n triviaQr: {\r\n showImage: false\r\n },\r\n isDosequisCard: true,\r\n wheel: {\r\n backgroundColors: ['#862310', '#FFF'],\r\n textColors: ['#FFF', '#862310'],\r\n outerBorderColor: 'transparent',\r\n outerBorderWidth: 0,\r\n innerBorderColor: '#C4281A',\r\n innerBorderWidth: 60,\r\n innerRadius: 0,\r\n radiusLineColor: 'transparent',\r\n radiusLineWidth: 0,\r\n fontFamily: 'Nunito',\r\n fontWeight: 'bold',\r\n fontSize: 20,\r\n fontStyle: 'normal',\r\n textDistance: 60,\r\n perpendicularText: true\r\n },\r\n dynamicsBottom: true,\r\n collections: {\r\n gamesStickers: true\r\n },\r\n showModalMemorama: true,\r\n changeIdQr: false,\r\n tracking: false\r\n}\r\n\r\nexport default config\r\n","import { useSession } from 'contexts/session-context'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport { createContext, useEffect, useState } from 'react'\r\nimport { Main } from 'theme/theme'\r\nimport ProfileService from 'services/profile-services'\r\nexport interface MainContextProps {\r\n classMain: string[]\r\n setClassMain: React.Dispatch>\r\n}\r\n\r\nconst MainContext = createContext({} as MainContextProps)\r\n\r\nconst MainProvider = ({ children }) => {\r\n const [classMain, setClassMain] = useState([])\r\n const [intervalId, setIntervalId] = useState()\r\n const { shouldUseWhiteBg, useTexture } = useWhiteBg()\r\n const [{ data: session }, { setTotalPoints }] = useSession();\r\n\r\n\r\n useEffect(() => {\r\n\r\n const getTotalPoints = async () => {\r\n // eslint-disable-next-line no-undef\r\n const response = await ProfileService.getMovements({ session });\r\n setTotalPoints(response?.data?.totalPoints)\r\n }\r\n\r\n clearInterval(intervalId);\r\n\r\n // Create an interval that increments the count every 1000ms (1 second)\r\n const interval = setInterval(() => {\r\n if (session) {\r\n getTotalPoints();\r\n }\r\n }, 75000);\r\n\r\n setIntervalId(interval);\r\n\r\n // Clean up the interval when the component unmounts\r\n return () => clearInterval(intervalId);\r\n\r\n }, [session])\r\n\r\n\r\n const data = { classMain, setClassMain }\r\n\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n )\r\n}\r\n\r\nexport { MainProvider, MainContext }","import { SVGProps } from 'react'\r\n\r\nfunction Check(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Check","import styled from 'styled-components';\r\nimport { Type } from '../types'\r\n\r\nexport const SectionError = styled.section`\r\n color: ${(props: Type) => props.theme?.error?.textColor};\r\n`\r\n","export const CODE_API_BASE = `${API_BASE_CHECKOUT_CODE_UPDATE}`\r\nexport const USER_UPDATE_API_BASE = `${API_BASE_USER_UPDATE}`\r\nexport const GET_USER_BASE = `${API_BASE_USER_GET}`\r\nexport const CODE_EXCHANGE = `https://${CODE_API_BASE}/promohub/api/v1/codes/exchange`\r\nexport const PRIZES_EXCHANGE = `https://${CODE_API_BASE}/promohub/api/v1/prizes/exchange`\r\n\r\n// -- PROFILE --\r\nexport const AUTH = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/login`\r\nexport const VERIFY = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/email`\r\nexport const SEND_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/passwordreset`\r\nexport const VERIFY_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/passwordreset`\r\nexport const DO_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/passwordreset`\r\nexport const GENRES = `https://${GET_USER_BASE}/promohub/api/v1/profiles/genres`\r\nexport const CHECK_ZIP = `https://${GET_USER_BASE}/promohub/api/v1/adresses/states`\r\nexport const SOCIAL_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/social/callback/`\r\nexport const SOCIAL_CHECK_USER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/check/user`\r\nexport const XEERPA_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/social/connectone/register`\r\nexport const EXTERNAL_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/external`\r\n\r\nexport const GET_PRIZES = `https://${GET_USER_BASE}/promohub/api/v1/prizes`\r\nexport const GET_PRIZE_WARE_HOUSE = `https://${GET_USER_BASE}/promohub/api/v1/prizes/:id/consumptioncenters`\r\nexport const GET_LEVELS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/levels`\r\nexport const GET_REFERRALS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/referrals`\r\nexport const GET_RAFFLES = `https://${GET_USER_BASE}/promohub/api/v1/sorteos/prizes`\r\nexport const GET_RAFFLES_WINNERS = `https://${GET_USER_BASE}/promohub/api/v1/sorteos/winners`\r\nexport const UPDATE_ADDRESS = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/address`\r\nexport const UPDATE_USER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles`\r\nexport const UPDATE_CONSUMPTION = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/consumption-center`\r\nexport const HISTORY = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/history`\r\nexport const HISTORY_ID = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/history/:id`\r\nexport const TYC = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/terms-and-conditions`\r\nexport const FAQS = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/faqs`\r\nexport const PAGESWITHKEY = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/:key`\r\nexport const SEND_EMAILVERIFY = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/emailverify`\r\nexport const TRIVIA_INTERESTS = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/interests`\r\nexport const TRIVIA_SET_INTEREST = `https://${API_BASE_USER_UPDATE}/promohub/api/v1/profiles/interests`\r\nexport const TRIVIA_LIST = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/list`\r\nexport const TRIVIA_FETCH = `https://${CODE_API_BASE}/promohub/api/v1/trivias`\r\n\r\nexport const TRIVIA_VALIDATE = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/validate/:isdirectaccess`\r\nexport const TRIVIA_PLAY = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/play/:isdirectaccess`\r\nexport const TRIVIA_ANSWER = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/answer`\r\nexport const TRIVIA_RANKING = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/ranking/:triviaId`\r\n\r\nexport const CATEGORY_PRIZES = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/category`\r\nexport const GET_RANKS = `https://${API_BASE_USER_GET}/promohub/api/v1/ranks`\r\nexport const POST_SUSCRIBE_RANKS = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/rank`\r\nexport const OTP_GENERATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/smsverify`\r\nexport const OTP_VALIDATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/otp/phone`\r\nexport const UPDATE_PHONE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/phone/:phone`\r\nexport const UPDATE_NICKNAME = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/nickname/:nickname`\r\nexport const INSTAGRAM = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/instagram`\r\nexport const OTP_VALIDATE_EMAIL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/otp/email`\r\n// -- SURVEY --\r\nexport const GET_ALL_SURVEY = `https://${USER_UPDATE_API_BASE}/api/survey/list`\r\nexport const SURVEY_VALIDATE = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/validate/:isdirectaccess`\r\nexport const SURVEY_GET_RESPONSE = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/result`\r\nexport const PUT_SURVEY = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/answer`\r\n\r\nexport const GET_CARRUSEL = `https://${GET_USER_BASE}/promohub/api/v1/configuration/banners/list`\r\nexport const POST_REFERRAL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/referral`\r\nexport const SOCIAL_LOGIN = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/login/social`\r\nexport const PUT_CONTACT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/contact`\r\nexport const PUT_AUTH_INSTAGRAM = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/callback/instagram`\r\nexport const VERIFY_NICKNAME = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/nickname`\r\nexport const VERIFY_REFERRALCODE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/referralcode`\r\nexport const COLLECTION_STICKER_EXCHANGE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/collections/sticker/exchange`\r\nexport const COLLECTION_STICKER_MULTIMEDIA = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/collections/sticker/multimedia`\r\nexport const COLLECTION_GET = `https://${GET_USER_BASE}/promohub/api/v1/collections`\r\n\r\n// -- ALBUM --\r\n\r\nexport const ALBUM_GET = `https://${GET_USER_BASE}/promohub/api/v1/rally/getall`\r\nexport const ALBUM_GET_ID = `https://${GET_USER_BASE}/promohub/api/v1/rally/get?id=`\r\nexport const ALBUM_GET_PROFILE = `https://${GET_USER_BASE}/promohub/api/v1/rally/getforuser`\r\nexport const ALBUM_VALIDATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/validate/{directAccess}`\r\nexport const ALBUM_VOTE_MULTIMEDIA = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/vote`\r\nexport const ALBUM_VALIDATE_TEXT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/validatetext`\r\nexport const ALBUM_GET_RANK_USER = `https://${GET_USER_BASE}/promohub/api/v1/rally/getrallyrankforuser`\r\n\r\n// -- --\r\nexport const GET_MARKETPLACE = `https://${GET_USER_BASE}/promohub/api/v1/configuration/marketplaces/list`\r\nexport const POST_PHOTOGRAPHER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/multimedia`\r\nexport const POST_PHOTOGRAPHER_URL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/multimediaurl`\r\nexport const POST_PHOTOGRAPHER_WITH_TEXT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/text`\r\nexport const GET_PHOTOGRAPHER_ACTIVE = `https://${GET_USER_BASE}/promohub/api/v1/rally/active`\r\nexport const GET_PHOTOGRAPHER_WINNERS = `https://${GET_USER_BASE}/promohub/api/v1/rally/winners`\r\nexport const PRIVACYPOLITICSMX = `https://api-mx-marketing.azure-api.net/sitios/privacidad/aviso`\r\nexport const PRIVACYPOLITICSBACK = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/privacy`\r\nexport const COOKIESMX = `https://api-mx-marketing.azure-api.net/sitios/cookies/aviso/V1`\r\nexport const COOKIESBACK = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/cookies`\r\nexport const GETSTATELIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/state/list`\r\nexport const GETCITYLIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/city/list`\r\nexport const GETCENTERLIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/center/list`\r\nexport const GET_MOVEMENTS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/movements`\r\nexport const GET_MOVEMENTS_DETAILS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/movements/:categoryId`\r\n\r\n// -- MEMORAMA --\r\n\r\nexport const MEMORAMA_GET = `https://${GET_USER_BASE}/promohub/api/v1/memoramas/list`\r\nexport const MEMORAMA_GET_ONE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/:id`\r\nexport const MEMORAMA_ADVANCE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/advance`\r\nexport const MEMORAMA_STATUS = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/:id/status/:status`\r\n\r\n// -- WHEEL --\r\nexport const WHEEL_GET_LIST = `https://${GET_USER_BASE}/promohub/api/v1/wheelfortune/list`\r\nexport const WHEEL_VALIDATE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/wheelfortune/:id/validate`\r\nexport const WHEEL_VALIDATE_PLAY = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/wheelfortune/:id/play`\r\n\r\n// -- HISTORY --\r\n\r\nexport const HISTORY_TRACKER = `https://${CODE_API_BASE}/promohub/api/v1/prizes/order/:historyId/otp`\r\n\r\n// -- CLIENT CODE --\r\n\r\nexport const CLIENT_CODE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/api/consumptions/find/:clientNum`\r\n\r\n// -- WALLET --\r\n\r\nexport const WALLET_STATUS = `https://${USER_UPDATE_API_BASE}/api/wallet/status/:type`\r\nexport const WALLET_CREATE = `https://${USER_UPDATE_API_BASE}/api/wallet/create/:type`\r\n\r\n// -- MENU --\r\n\r\nexport const GET_MENU = `https://${API_BASE_USER_GET}/promohub/api/v1/menu/active`\r\n\r\n// -- SOCIAL --\r\nexport const GET_LINKEDACCOUNTS = `https://${API_BASE_USER_GET}/promohub/api/v1/profiles/linksaccount`\r\n\r\n// -- WAREHOUSE --\r\nexport const GET_WARE_HOUSES = `https://${API_BASE_USER_GET}/promohub/api/v1/consumptioncenters/list`\r\n\r\n// -- GAME --\r\nexport const PLAYABLE_LIST = `https://${API_BASE_USER_GET}/promohub/api/v1/games/list`\r\nexport const PLAYABLE_VALIDATE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/validate`\r\nexport const PLAYABLE_PLAY = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/play`\r\nexport const PLAYABLE_SAVE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/save`\r\n\r\n// -- Lineups --\r\nexport const GET_EVENTS = `https://${API_BASE_USER_GET}/promohub/api/v1/event/active`\r\nexport const GET_EVENTS_PLACES = `https://${API_BASE_USER_GET}/promohub/api/v1/event/places/:id`\r\nexport const POST_TRACKING_LOCATION = `https://${USER_UPDATE_API_BASE}/promohub/api/event/tracking/location`\r\nexport const GET_LINEUPS = `https://${API_BASE_USER_GET}/promohub/api/v1/event/lineup/:id`\r\nexport const GET_LINEUPS_PROFILE = `https://${API_BASE_USER_GET}/promohub/api/v1/event/lineup/:id/profile`\r\nexport const UPDATE_LINEUPS_PROFILE = `https://${USER_UPDATE_API_BASE}/api/event/lineup`\r\n\r\n// -- Referrals --\r\n\r\nexport const GET_REFERRED_ACTIVE = `https://${API_BASE_USER_GET}/promohub/api/v1/team/active/referred`\r\nexport const GET_TEAM_ACTIVE_SOCIAL = `https://${API_BASE_USER_GET}/promohub/api/v1/team/active/Social`\r\nexport const GET_REFERRED_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/referred/profile/:teamId`\r\nexport const PUT_CREATE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/create/:teamId`\r\nexport const UPDATE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/update/:teamId`\r\nexport const DELETE_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/update/users`\r\nexport const JOIN_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/join`\r\nexport const UNJOIN_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/unjoin`\r\nexport const GET_CLUSTER_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/group/profile/:teamId`\r\nexport const GET_RANKING_BY_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/ranking/:teamId/:clusterId`\r\n\r\n// -- Checkpoint --\r\n\r\nexport const POST_CHECKPOINT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/checkpoint/save`\r\n","import ButtonCloseMenu from 'components/button-close'\r\n\r\nfunction PopUp({ children, handleMenu = () => null }: { children: JSX.Element | JSX.Element[], handleMenu: () => void }) {\r\n return (\r\n
\r\n \r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport default PopUp","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container-grid\":\"styles_container-grid__2jUAF\",\"container-height\":\"styles_container-height__cJuPf\",\"continue\":\"styles_continue__2cljp\"};","import { AxiosError } from \"axios\"\r\nimport { Survey, SurveyAction, SurveyState, SurveyActionEnum, Prize, DemandSpace, SurveyInfo } from \"./survey.interface\"\r\n\r\nfunction surveyReducer(state: SurveyState, action: SurveyAction): SurveyState {\r\n switch (action.type) {\r\n case SurveyActionEnum.SET_SURVEYS:\r\n return { ...state, surveys: action.payload as Survey[] }\r\n case SurveyActionEnum.SET_SURVEY:\r\n return { ...state, survey: action.payload as Survey }\r\n case SurveyActionEnum.SET_ERROR:\r\n return { ...state, error: action.payload as AxiosError }\r\n case SurveyActionEnum.SET_PRIZE:\r\n return { ...state, prize: action.payload as Prize }\r\n case SurveyActionEnum.SET_DEMAND_SPACE:\r\n return { ...state, demandSpace: action.payload as DemandSpace }\r\n case SurveyActionEnum.SET_INFO_SURVEY:\r\n return { ...state, surveyInfo: action.payload as SurveyInfo }\r\n case SurveyActionEnum.RESET:\r\n return { ...state, demandSpace: null, prize: null, error: null, survey: null, surveys: null} \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default surveyReducer","import { FunctionComponent, createContext, useReducer } from 'react';\r\nimport { SurveyContextProps } from './survey.interface';\r\nimport surveyReducer from './survey.reducer';\r\n\r\nexport const SurveyContext = createContext({} as SurveyContextProps)\r\n\r\nexport const SurveyProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(surveyReducer, {})\r\n\r\n return {children}\r\n}\r\n","import { IMenu } from 'components/header/types';\r\n\r\nexport enum GeneralActionsType {\r\n SET_MENU = 'SET_MENU',\r\n}\r\n\r\ninterface SetMenuAction {\r\n type: GeneralActionsType.SET_MENU;\r\n payload: IMenu | null;\r\n}\r\n\r\nexport type GeneralActions = SetMenuAction;\r\n\r\nexport interface GeneralState {\r\n menu: IMenu | null;\r\n}\r\n\r\nexport const initialState: GeneralState = {\r\n menu: null,\r\n};\r\n\r\nexport const generalReducer = (state: GeneralState, action: GeneralActions): GeneralState => {\r\n switch (action.type) {\r\n case GeneralActionsType.SET_MENU:\r\n return {\r\n ...state,\r\n menu: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { GET_MENU } from 'constants/api';\r\nimport { createContext, Dispatch, ReactNode, useReducer, useContext, useCallback } from 'react';\r\nimport axios from 'axios';\r\nimport { IMenu, menuOffline } from 'components/header/types';\r\nimport { useSession } from '../session-context';\r\nimport { GeneralState, GeneralActions, generalReducer, initialState, GeneralActionsType } from './general-reducer';\r\n\r\nexport interface GeneralContextProps {\r\n state: GeneralState;\r\n dispatch: Dispatch;\r\n}\r\n\r\nexport const GeneralContext = createContext({} as GeneralContextProps);\r\n\r\ninterface GeneralProviderProps {\r\n children: ReactNode;\r\n}\r\n\r\nexport const GeneralProvider = ({ children }: GeneralProviderProps) => {\r\n const [state, dispatch] = useReducer(generalReducer, initialState);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const useGeneralCfg = () => {\r\n const { state, dispatch } = useContext(GeneralContext);\r\n const [{ data: session }] = useSession();\r\n\r\n const getMenu = useCallback(async () => {\r\n try {\r\n const response = await axios(GET_MENU, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1,\r\n },\r\n });\r\n\r\n if (response.status === 204) {\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: menuOffline\r\n });\r\n }\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: response.data,\r\n });\r\n return response.data;\r\n }\r\n\r\n return response.data;\r\n } catch (error) {\r\n console.error(error);\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: menuOffline\r\n });\r\n }\r\n }, [dispatch, session]);\r\n\r\n return {\r\n menu: state.menu,\r\n setMenu: (menu: IMenu | null) => dispatch({ type: GeneralActionsType.SET_MENU, payload: menu }),\r\n getMenu,\r\n };\r\n};\r\n\r\n\r\n","import { FunctionComponent, HTMLProps } from 'react'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport { ButtonInit } from '../../theme/theme'\r\n\r\nconst Button: FunctionComponent> = ({ className, disabled, ...props }: { className: string, disabled: boolean }) => {\r\n\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n\r\n const componentClass = `${className} p-4 min-h-2 w-full mx-auto rounded-none din font-bold uppercase ${disabled && 'border-2'} button-generic`.trim()\r\n\r\n return \r\n}\r\n\r\nexport default Button\r\n","import textServices from \"services/text-services\";\r\nimport { Multimedia, RallyStatusEnum, RallyType } from \"views/album/types\";\r\nimport CONFIGS from 'build/Config'\r\nimport loadImage, { downloadImageAsBase64 } from \"utilities/loadImages\";\r\n\r\ninterface IBasicConfig {\r\n ranking?: {\r\n titleUpload?: boolean\r\n viewMore?: boolean\r\n showSocial?: 'like|share' | 'like' | 'share' | ''\r\n }\r\n profile?: {\r\n showSocial?: 'like|share' | 'like' | 'share' | '',\r\n profileMultimediaOutputShare?: 'url' | 'base64'\r\n }\r\n upload?: {\r\n isTakeFoto?: boolean\r\n showBackButton?: boolean\r\n showCallbackButton?: boolean\r\n showHowToParticipate?: boolean\r\n validate?: boolean\r\n useLoaderValidate?: boolean\r\n useCongrats?: boolean\r\n useCongratsDirect?: boolean\r\n howTakePhoto?: boolean\r\n warningPhoto?: boolean\r\n filters?: string[]\r\n inSubmitShowShareImage?: boolean\r\n }\r\n imageId?: {\r\n showSocial?: 'like|share' | 'like' | 'share' | ''\r\n },\r\n list?: {\r\n v1?: boolean\r\n handleClick?: boolean\r\n urlRedirectAlbumComplete?: string\r\n urlRedirectAlbumProgress?: string\r\n },\r\n congrats?: {\r\n showButton3?: boolean\r\n showButton2?: boolean\r\n },\r\n popupClientNum?: boolean\r\n}\r\n\r\nexport interface IInitialConfig {\r\n [RallyType.Consumo]?: IBasicConfig\r\n [RallyType.Foto]?: IBasicConfig\r\n [RallyType.Historia]?: IBasicConfig\r\n [RallyType.Social]?: IBasicConfig\r\n [RallyType.Ticket]?: IBasicConfig\r\n [RallyType.Card]?: IBasicConfig\r\n}\r\n\r\nclass CanvasGenerator {\r\n private canvas: HTMLCanvasElement;\r\n private phrase: string;\r\n private context: CanvasRenderingContext2D;\r\n private sign: string;\r\n\r\n constructor(phrase: string, canvasParam: HTMLCanvasElement, sign?: string) {\r\n this.phrase = phrase\r\n this.canvas = canvasParam\r\n this.context = this.canvas.getContext(\"2d\")\r\n this.sign = sign\r\n }\r\n\r\n private generatetecateCard = () => {\r\n this.context.font = 'bold 86px HeadingProUltracomp';\r\n this.context.fillStyle = 'white';\r\n this.context.textAlign = \"start\";\r\n this.context.textBaseline = \"top\";\r\n const maxWidth = this.canvas.width - 380;\r\n this.context.fillText('EL CALOR PIDE', 70, 120);\r\n this.context.fillText('ESTE KIT Y TU,', 70, 195);\r\n\r\n const textUpper = `${this.phrase}`.toLocaleUpperCase();\r\n const words = textUpper.split(' ');\r\n let currentLine = '';\r\n let y = 275;\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n\r\n for (const word of words) {\r\n const testLine = currentLine + (currentLine ? ' ' : '') + word;\r\n const metrics = this.context.measureText(testLine);\r\n const testWidth = metrics.width;\r\n\r\n if (testWidth <= maxWidth) {\r\n currentLine = testLine;\r\n } else {\r\n\r\n this.context.fillStyle = 'white'\r\n this.context.fillRect(70, y - 2.5, this.canvas.width - 375, 86);\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n this.context.fillText(currentLine, 70, y);\r\n\r\n y += 75;\r\n currentLine = word;\r\n }\r\n }\r\n\r\n this.context.fillStyle = 'white'\r\n this.context.fillRect(70, y - 2.5, this.canvas.width - 375, 86);\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n this.context.fillText(currentLine, 70, y);\r\n }\r\n\r\n private generatedosequisCard = () => {\r\n this.context.font = '60px Gitsans';\r\n this.context.fillStyle = \"#CACACA\";\r\n this.context.textAlign = \"center\";\r\n this.context.textBaseline = \"top\";\r\n\r\n const maxWidth = this.canvas.width - 450;\r\n\r\n const textUpper = this.phrase.toLocaleUpperCase();\r\n const words = textUpper.split(' ');\r\n let currentLine = '';\r\n let y = 350;\r\n\r\n for (const word of words) {\r\n const testLine = currentLine + (currentLine ? ' ' : '') + word;\r\n const metrics = this.context.measureText(testLine);\r\n const testWidth = metrics.width;\r\n\r\n if (testWidth > maxWidth && currentLine !== '') {\r\n // Render the current line and reset it\r\n (this.context as any).letterSpacing = \"0.5px\"\r\n this.context.fillText(currentLine, this.canvas.width / 2, y);\r\n currentLine = word;\r\n y += 70; // Move down to the next line\r\n } else {\r\n currentLine = testLine; // Continue building the current line\r\n }\r\n }\r\n\r\n // Ensure the last line is rendered\r\n if (currentLine) {\r\n this.context.fillText(currentLine, this.canvas.width / 2, y);\r\n }\r\n\r\n if (this.sign) {\r\n const font = new FontFace(\r\n 'Industry',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/Industry/Industry-Bold.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n document.fonts.add(font)\r\n this.context.font = 'bold 28px Industry';\r\n this.context.fillText(this.sign.toLocaleUpperCase(), this.canvas.width / 2, this.canvas.height - 220);\r\n })\r\n }\r\n }\r\n\r\n private generateindioCard = () => {\r\n const font = new FontFace(\r\n 'Propaganda',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/Propaganda/propaganda.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n document.fonts.add(font)\r\n this.context.font = '50px Propaganda';\r\n this.context.fillStyle = \"black\";\r\n this.context.textAlign = \"center\";\r\n this.context.textBaseline = \"top\";\r\n const textUpper = this.phrase.toLocaleUpperCase();\r\n\r\n this.context.fillText(textUpper, this.canvas.width / 1.95, this.canvas.height - 306);\r\n })\r\n }\r\n\r\n public generateCard = () => {\r\n if (this[`generate${THEME}Card`] instanceof Function) {\r\n const createImage = (font: any) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n }\r\n const image = new Image();\r\n image.crossOrigin = 'anonymous'\r\n image.src = `${AZURE_BASE_URL}/rally/text_background.webp`;\r\n\r\n image.onload = () => {\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n this[`generate${THEME}Card`]()\r\n };\r\n }\r\n\r\n const font = new FontFace(\r\n 'HeadingProUltracomp',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/headingProUltracomp/HeadingProUltracomp-Bold.woff2')\"\r\n )\r\n\r\n font.load().then(createImage).catch(createImage)\r\n\r\n return this.context\r\n }\r\n }\r\n}\r\n\r\nclass CanvasGeneratorImage {\r\n private canvas: HTMLCanvasElement;\r\n private image: string;\r\n private context: CanvasRenderingContext2D;\r\n\r\n constructor(image: string, canvasParam: HTMLCanvasElement) {\r\n this.image = image\r\n this.canvas = canvasParam\r\n this.context = this.canvas.getContext(\"2d\")\r\n }\r\n\r\n private generatemixxImage = async (data: { filter?: string, img?: string }) => {\r\n try {\r\n const [imageUser, base64] = await Promise.all([\r\n loadImage(data?.img),\r\n downloadImageAsBase64(`${AZURE_BASE_URL}${data?.filter}`)\r\n ]);\r\n\r\n const image = await loadImage(base64)\r\n\r\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\r\n this.context.fillStyle = 'white';\r\n this.context.fillRect(0, 0, this.canvas.width, this.canvas.height);\r\n\r\n this.context.rotate(2 * Math.PI / 180);\r\n this.context.drawImage(imageUser, 128, 255, this.canvas.width - 200, this.canvas.height - 800);\r\n this.context.setTransform(1, 0, 0, 1, 0, 0);\r\n\r\n this.context.rotate(0);\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n } catch (error) {\r\n console.error('Error al cargar imágenes', error);\r\n }\r\n }\r\n\r\n private generateheineken00Image = async (data: { filter?: string, img?: string }) => {\r\n try {\r\n const [imageUser, base64] = await Promise.all([\r\n loadImage(data?.img),\r\n downloadImageAsBase64(`${AZURE_BASE_URL}${data?.filter}`)\r\n ]);\r\n\r\n const image = await loadImage(base64)\r\n\r\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\r\n this.context.fillStyle = 'white';\r\n this.context.fillRect(0, 0, this.canvas.width, this.canvas.height);\r\n\r\n this.context.rotate(2 * Math.PI / 180);\r\n \r\n const canvasAspect = this.canvas.width / this.canvas.height;\r\n const imageAspect = imageUser.width / imageUser.height;\r\n\r\n let drawWidth, drawHeight;\r\n\r\n if (canvasAspect > imageAspect) {\r\n drawWidth = this.canvas.width;\r\n drawHeight = this.canvas.width / imageAspect;\r\n } else {\r\n drawHeight = this.canvas.height;\r\n drawWidth = this.canvas.height * imageAspect;\r\n }\r\n\r\n const offsetX = (this.canvas.width - drawWidth) / 2;\r\n const offsetY = (this.canvas.height - drawHeight) / 2;\r\n\r\n this.context.drawImage(imageUser, offsetX, offsetY, drawWidth, drawHeight);\r\n\r\n this.context.setTransform(1, 0, 0, 1, 0, 0);\r\n\r\n this.context.rotate(0);\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n } catch (error) {\r\n console.error('Error al cargar imágenes', error);\r\n }\r\n }\r\n\r\n\r\n public generateImageCanva = (data: { filter?: string, img?: string }) => {\r\n if (this[`generate${THEME}Image`] instanceof Function) {\r\n this[`generate${THEME}Image`]({ filter: data?.filter, img: data?.img })\r\n\r\n return this.context\r\n }\r\n }\r\n}\r\n\r\n\r\nclass AlbumConfig {\r\n\r\n private initialConfig: IInitialConfig = CONFIGS.album\r\n private configs: IBasicConfig\r\n\r\n constructor(public album: Multimedia) {\r\n this.setInitialConfig(album)\r\n }\r\n\r\n private setInitialConfig = (album: Multimedia) => {\r\n if (!this.initialConfig[album.rallyType]) return console.error(`No existe configuración para el rally ${album.rallyType}`)\r\n this.configs = this.initialConfig[album.rallyType]\r\n }\r\n\r\n // -- GENERAL CONFIGURATION -- //\r\n\r\n get isHistory(): boolean {\r\n return this.album.rallyType === RallyType.Historia\r\n }\r\n\r\n get isPhoto(): boolean {\r\n return this.album.rallyType === RallyType.Foto\r\n }\r\n\r\n get isSocial(): boolean {\r\n return this.album.rallyType === RallyType.Social\r\n }\r\n\r\n get isTicket(): boolean {\r\n return this.album.rallyType === RallyType.Ticket\r\n }\r\n\r\n get isConsumo(): boolean {\r\n return this.album.rallyType === RallyType.Consumo\r\n }\r\n\r\n get isCard(): boolean {\r\n return this.album.rallyType === RallyType.Card\r\n }\r\n\r\n public texts(path: string, defaultResponse?: any, replace?: { [key: string]: string }) {\r\n const pathRallyType = `social/${this.album?.rallyType}/${path}`\r\n const textRallyType = textServices.findByText(`social/${this.album?.rallyType}/${path}`, defaultResponse, replace)\r\n if ((typeof defaultResponse === \"object\" && Object.values(defaultResponse).includes(textRallyType)) || textRallyType === (defaultResponse || pathRallyType)) return textServices.findByText(`social/${path}`, defaultResponse, replace)\r\n return textRallyType\r\n }\r\n\r\n get isFinished(): boolean {\r\n return this.album.statusId === RallyStatusEnum.COMPLETED\r\n }\r\n\r\n get filters(): string[] {\r\n return this.configs.upload?.filters ?? []\r\n }\r\n // -- RANKING CONFIGURATION -- //\r\n\r\n get rankingTitleUpload(): boolean {\r\n return this.configs?.ranking?.titleUpload ?? false\r\n }\r\n\r\n get rankingViewMore(): boolean {\r\n return this.configs?.ranking?.viewMore ?? false\r\n }\r\n\r\n get rankingShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.ranking?.showSocial ?? ''\r\n }\r\n\r\n // -- PROFILE CONFIGURATION -- //\r\n\r\n get profileShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.profile?.showSocial ?? 'like|share'\r\n }\r\n\r\n get profileMultimediaOutputShare(): 'url' | 'base64' {\r\n return this.configs?.profile?.profileMultimediaOutputShare ?? 'url'\r\n }\r\n\r\n // -- UPLOAD CONFIGURATION -- //\r\n\r\n get uploadIsTakeFoto(): boolean {\r\n return this.configs?.upload?.isTakeFoto ?? false\r\n }\r\n\r\n get uploadInSubmitShowShareImage(): boolean {\r\n return this.configs?.upload?.inSubmitShowShareImage ?? false\r\n }\r\n\r\n get uploadShowBackButton(): boolean {\r\n return this.configs?.upload?.showBackButton ?? false\r\n }\r\n\r\n get uploadShowCallbackButton(): boolean {\r\n return this.configs?.upload?.showCallbackButton ?? false\r\n }\r\n\r\n get uploadShowHowToParticipate(): boolean {\r\n return this.configs?.upload?.showHowToParticipate ?? false\r\n }\r\n\r\n get uploadValidate(): boolean {\r\n return this.configs?.upload?.validate ?? false\r\n }\r\n\r\n get uploadUseLoaderValidate(): boolean {\r\n return this.configs?.upload?.useLoaderValidate ?? false\r\n }\r\n\r\n get uploadUseCongrats(): boolean {\r\n return this.configs?.upload?.useCongrats ?? false\r\n }\r\n\r\n get uploadUseCongratsDirect(): boolean {\r\n return this.configs?.upload?.useCongratsDirect ?? false\r\n }\r\n\r\n get howTakePhoto(): boolean {\r\n return this.configs?.upload?.howTakePhoto ?? false\r\n }\r\n\r\n get warningPhoto(): boolean {\r\n return this.configs?.upload?.warningPhoto ?? false\r\n }\r\n\r\n // -- IMAGE ID CONFIGURATION -- //\r\n\r\n get imageIdShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.imageId?.showSocial ?? ''\r\n }\r\n\r\n // -- LIST CONFIGURATION -- //\r\n\r\n get listHandleClick(): boolean {\r\n return this.configs?.list?.handleClick ?? false\r\n }\r\n\r\n get listV1(): boolean {\r\n return this.configs?.list?.v1 ?? false\r\n }\r\n\r\n get urlRedirectAlbumComplete(): string | undefined {\r\n if (this.album.statusId === (RallyStatusEnum.COMPLETED || RallyStatusEnum.TERMINADO)) return this.configs?.list?.urlRedirectAlbumComplete\r\n }\r\n\r\n get urlRedirectAlbumProgress(): string | undefined {\r\n return this.configs?.list?.urlRedirectAlbumProgress\r\n }\r\n\r\n // -- CONGRATS CONFIGURATION -- //\r\n\r\n get congratsShowButton3(): boolean {\r\n return this.configs?.congrats?.showButton3 ?? false\r\n }\r\n\r\n get congratsShowButton2(): boolean {\r\n return this.configs?.congrats?.showButton2 ?? false\r\n }\r\n\r\n public generateCard(phrase: string, canvasParam: HTMLCanvasElement, sign?: string): any {\r\n if (this?.isCard) {\r\n const canvas = new CanvasGenerator(phrase, canvasParam, sign)\r\n return canvas.generateCard()\r\n } else {\r\n console.error('RallyType is not CARD')\r\n }\r\n }\r\n\r\n public generateImage(filter?: string, canvasParam?: HTMLCanvasElement, img?: string): any {\r\n if (this?.isPhoto) {\r\n const canvas = new CanvasGeneratorImage(filter, canvasParam)\r\n return canvas.generateImageCanva({ filter, img })\r\n } else {\r\n console.error('RallyType is not PHOTO')\r\n }\r\n }\r\n}\r\n\r\nexport default AlbumConfig\r\n\r\n\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapperpp\":\"stylepp_wrapperpp__fBkUN\"};","import { Album, Multimedia } from '../types'\r\nimport AlbumConfig from '../configs/album-config'\r\n\r\nexport type AlbumActionType = 'SET_ALBUMS' | 'SET_SELECT_MULTIMEDIA' | 'SET_ERROR' | 'SET_SHOW_RULES' | 'SET_ALBUM_CONFIG' | 'SET_SELECT_MULTIMEDIA_PROFILE'\r\n\r\nexport interface AlbumState {\r\n albums?: Album[]\r\n multimedia?: Multimedia\r\n profile?: Multimedia\r\n albumConfig?: AlbumConfig\r\n showRules?: boolean\r\n error?: number\r\n}\r\n\r\nexport interface AlbumAction {\r\n type: AlbumActionType\r\n payload: AlbumState | Album[] | Album | Multimedia | number | boolean | AlbumConfig\r\n}\r\n\r\nfunction albumReducer(state: AlbumState, action: AlbumAction): AlbumState {\r\n switch (action.type) {\r\n case 'SET_ALBUMS':\r\n return { ...state, albums: action.payload as Album[] }\r\n case 'SET_SELECT_MULTIMEDIA':\r\n return { ...state, multimedia: action.payload as Multimedia }\r\n case 'SET_SELECT_MULTIMEDIA_PROFILE':\r\n return { ...state, profile: action.payload as Multimedia }\r\n case 'SET_ALBUM_CONFIG':\r\n return { ...state, albumConfig: action.payload as AlbumConfig }\r\n case 'SET_SHOW_RULES':\r\n return { ...state, showRules: action.payload as boolean }\r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default albumReducer","import { ALBUM_GET, ALBUM_GET_ID, ALBUM_VOTE_MULTIMEDIA, ALBUM_VALIDATE, ALBUM_GET_PROFILE } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport axios, { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport AlbumConfig from '../configs/album-config'\r\nimport { Album, Multimedia } from '../types'\r\nimport albumReducer, { AlbumAction, AlbumState } from './album-reducer'\r\n\r\nexport interface AlbumContextProps {\r\n state: AlbumState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst AlbumContext = createContext({} as AlbumContextProps)\r\n\r\nexport const AlbumProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(albumReducer, { showRules: false })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: ALBUM_GET,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }, { useCache: false })\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data && !loading) {\r\n dispatch({ type: 'SET_ALBUMS', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useAlbum = () => {\r\n const { state, dispatch, refetch } = useContext(AlbumContext)\r\n const { push } = useRouter()\r\n const [{ data: session }] = useSession()\r\n\r\n const fetchAlbums = async () => {\r\n const { data = [] } = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n dispatch({ type: 'SET_ALBUMS', payload: data });\r\n return data;\r\n }\r\n\r\n const getMultimedia = async (id: number) => {\r\n const { data } = await axios.get(`${ALBUM_GET_ID}${id}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n const config = new AlbumConfig(data)\r\n dispatch({ type: 'SET_SELECT_MULTIMEDIA', payload: data })\r\n dispatch({ type: 'SET_ALBUM_CONFIG', payload: config })\r\n return config\r\n }\r\n\r\n const getMultimediaProfile = async (id: number, multimediaOutput: 'url' | 'base64') => {\r\n const { data } = await axios.get(`${ALBUM_GET_PROFILE}?id=${id}&multimediaOutput=${multimediaOutput}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n const config = new AlbumConfig(data)\r\n dispatch({ type: 'SET_SELECT_MULTIMEDIA_PROFILE', payload: data })\r\n dispatch({ type: 'SET_ALBUM_CONFIG', payload: config })\r\n return config\r\n }\r\n\r\n const voteMultimedia = async (rallyMultimediaId: number) => {\r\n await axios.post(`${ALBUM_VOTE_MULTIMEDIA}?rallyMultimediaId=${rallyMultimediaId}`, {}, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n }\r\n\r\n const setShowRules = (showRules: boolean) => dispatch({ type: 'SET_SHOW_RULES', payload: showRules })\r\n\r\n const setAlbum = (album: Album[]) => dispatch({ type: 'SET_ALBUMS', payload: album })\r\n\r\n const refetchAlbum = (config?: AxiosRequestConfig) => refetch(config)\r\n\r\n const setSelectAlbum = (multimedia?: Multimedia) => dispatch({ type: 'SET_SELECT_MULTIMEDIA', payload: multimedia })\r\n\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/album/error')\r\n }\r\n\r\n const validateUpload = async (rallyId: number, directAccess: string) => {\r\n const response = await axios.post(ALBUM_VALIDATE.replace('{ID}', `${rallyId}`).replace('{directAccess}', `${directAccess}`), {}, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n\r\n return response\r\n }\r\n\r\n const actions = { setAlbum, refetchAlbum, setSelectAlbum, setError, getMultimedia, voteMultimedia, getMultimediaProfile, validateUpload, setShowRules, fetchAlbums }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}\r\n","import { Collection, Sticker } from '../types'\r\n\r\nexport type CollectionsActionType = 'SET_COLLECTIONS' | 'SET_SELECT_STICKER' | 'SET_ERROR' | 'SET_CONGRATS'\r\n\r\nexport interface CollectionState {\r\n collections?: Collection[]\r\n selectPrize?: Sticker\r\n error?: number\r\n congrats?: boolean\r\n}\r\n\r\nexport interface CollectionsAction {\r\n type: CollectionsActionType\r\n payload: CollectionState | Collection[] | Collection | Sticker | number | boolean\r\n}\r\n\r\nfunction collectionReducer(state: CollectionState, action: CollectionsAction): CollectionState {\r\n switch (action.type) {\r\n case 'SET_COLLECTIONS':\r\n return { ...state, collections: action.payload as Collection[] }\r\n case 'SET_SELECT_STICKER':\r\n return { ...state, selectPrize: action.payload as Sticker }\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default collectionReducer","import { COLLECTION_GET } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { Collection, Sticker } from '../types'\r\nimport collectionReducer, { CollectionsAction, CollectionState } from './collections-reducer'\r\n\r\nexport interface CollectionsContextProps {\r\n state: CollectionState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst CollectionsContext = createContext({} as CollectionsContextProps)\r\n\r\nexport const CollectionsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(collectionReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: COLLECTION_GET,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data.length > 0) {\r\n dispatch({ type: 'SET_COLLECTIONS', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useCollections = () => {\r\n const { state, dispatch, refetch } = useContext(CollectionsContext)\r\n const { push } = useRouter()\r\n\r\n const setCollections = (prizes: Collection[]) => dispatch({ type: 'SET_COLLECTIONS', payload: prizes })\r\n const refetchCollections = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectSticker = (sticker?: Sticker) => dispatch({ type: 'SET_SELECT_STICKER', payload: sticker })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/collections/error')\r\n }\r\n const actions = { setCollections, refetchCollections, setSelectSticker, setError, setCongrats }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","export type GroupsActionType = 'SET_GROUPS' | 'SET_DYNAMIC' | 'SET_OPEN_CREATE' | 'SET_NEW_GROUPS' | 'SET_UPDATE_GROUP' | 'SET_REMOVE_GROUP' | 'SET_PARTICIPATE_GROUP_ID' | 'SET_OPEN_SELECT_PARTICIPATE' | 'SET_CALLBACK_PARTICIPATE'\r\n\r\nexport interface GroupsState {\r\n groups?: { cluster: Cluster, group: Group[] }[]\r\n dynamic?: ActiveDynamic\r\n openCreate?: boolean\r\n participateGroupId?: number | null\r\n openSelectParticipate?: boolean\r\n callbackParticipate?: (clusterId?: number) => void\r\n}\r\n\r\nexport interface ActiveDynamic {\r\n id: number,\r\n name: string,\r\n description: string,\r\n createdAt: string,\r\n imageUrl?: string,\r\n configurationId: number,\r\n configuration?: string,\r\n prize: string,\r\n prizeImageUrl: string,\r\n prizeReferral: string,\r\n prizeReferralImageUrl: string,\r\n prizeReferred: string,\r\n prizeReferredImageUrl: string,\r\n teamTypeId: number,\r\n teamType: 'Social' | 'Referred',\r\n teamStatusId: number,\r\n teamStatus: string,\r\n validFrom?: string,\r\n validTo?: string,\r\n maxUserInGroup: number,\r\n maxGroupsForUser: number,\r\n urlRedirect?: string,\r\n buttonText?: string,\r\n urlRedirect2?: string,\r\n buttonText2?: string\r\n}\r\n\r\nexport interface Cluster {\r\n id: number,\r\n name: string,\r\n status: boolean,\r\n createdAt: string,\r\n imageUrl: string,\r\n profileIdOwner: number\r\n}\r\n\r\nexport interface Group {\r\n id: number\r\n profileId: number,\r\n firstName: string,\r\n teamId: number,\r\n clusterId: number,\r\n referredAmount: number,\r\n referralPoints: number,\r\n code: string,\r\n clusterRoleTypeId: number,\r\n clusterRoleType: 'Dueño',\r\n points: number\r\n}\r\n\r\nexport interface RankingGroup {\r\n name: string,\r\n teamId: number,\r\n clusterId: number,\r\n points: number,\r\n position: number\r\n profileId?: number\r\n}\r\n\r\nexport interface GroupsAction {\r\n type: GroupsActionType\r\n payload: [] | ActiveDynamic | boolean | { cluster: Cluster, group: Group }[] | { cluster: Cluster, group: Group[] } | number | ((clusterId?: number) => void)\r\n}\r\n\r\nfunction groupsReducer(state: GroupsState, action: GroupsAction): GroupsState {\r\n switch (action.type) {\r\n case 'SET_GROUPS':\r\n return { ...state, groups: action.payload as { cluster: Cluster, group: Group[] }[] }\r\n case 'SET_UPDATE_GROUP': {\r\n const payloadTyped = action.payload as { cluster: Cluster, group: Group[] }\r\n const currentGroupIndex = state.groups.findIndex((group) => group.cluster.id === payloadTyped.cluster.id)\r\n const cloneStateGroup = [...state.groups]\r\n cloneStateGroup[currentGroupIndex] = payloadTyped\r\n return { ...state, groups: cloneStateGroup }\r\n }\r\n case 'SET_REMOVE_GROUP': {\r\n const payloadTyped = action.payload as number\r\n const cloneStateGroup = state.groups.filter((group) => group.cluster.id !== payloadTyped)\r\n return { ...state, groups: cloneStateGroup }\r\n }\r\n case 'SET_NEW_GROUPS':\r\n return { ...state, groups: [...state.groups ?? [] ,action.payload as { cluster: Cluster, group: Group[] }] }\r\n case 'SET_DYNAMIC':\r\n return { ...state, dynamic: action.payload as ActiveDynamic }\r\n case 'SET_OPEN_CREATE':\r\n return { ...state, openCreate: action.payload as boolean }\r\n case 'SET_PARTICIPATE_GROUP_ID':\r\n return { ...state, participateGroupId: action.payload as number | null }\r\n case 'SET_OPEN_SELECT_PARTICIPATE':\r\n return { ...state, openSelectParticipate: action.payload as boolean }\r\n case 'SET_CALLBACK_PARTICIPATE':\r\n return { ...state, callbackParticipate: action.payload as (clusterId?: number) => void }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default groupsReducer\r\n","import { PUT_CREATE_CLUSTER_TEAM } from 'constants/api'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport BottomPopUp from 'components/popUps/bottomPopUp'\r\nimport textServices from 'services/text-services'\r\nimport Input from 'components/input'\r\nimport { Label, ErrorInput } from 'theme/theme'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport Button from 'components/button'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { useContext } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Cluster, Group } from './groups-reducer'\r\nimport { useGroups } from '.'\r\n\r\ninterface IProps {\r\n setOpenCreate: (value: boolean) => any\r\n}\r\n\r\nexport default function CreateGroup({ setOpenCreate }: IProps) {\r\n const [{ dynamic }, { setNewGroups }] = useGroups()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { register, setValue, watch, handleSubmit, formState: { errors } } = useForm<{ groupName: string, groupFile: File, image: string | ArrayBuffer }>({ resolver: yupResolver(formServices.formGenerateSchema([\"groupName\", 'groupFile'])) })\r\n const image = watch('image')\r\n\r\n const handleUpload = (e: React.ChangeEvent) => {\r\n const file = e.target.files?.[0]\r\n\r\n if (file) {\r\n setValue('groupFile', file)\r\n const reader = new FileReader()\r\n reader.readAsDataURL(file)\r\n reader.onload = () => {\r\n setValue('image', reader.result)\r\n }\r\n }\r\n }\r\n\r\n const onSubmit = handleSubmit(async (value) => {\r\n setLoad(true)\r\n try {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const formData = new FormData()\r\n formData.append('file', value.groupFile)\r\n formData.append('input', JSON.stringify({ name: value.groupName, ImageFileName: value.groupFile?.name, ImageContentType: value.groupFile?.type }))\r\n const { data: { cluster: clusterData, group: groups } } = await axios.put(PUT_CREATE_CLUSTER_TEAM.replace(':teamId', `${dynamic.id}`), formData, { headers })\r\n\r\n const cluster: Cluster = {\r\n id: clusterData.id,\r\n createdAt: clusterData.createdAt,\r\n imageUrl: clusterData.image.bucket,\r\n name: clusterData.name,\r\n profileIdOwner: clusterData.profile.id,\r\n status: clusterData.status\r\n }\r\n\r\n const group: Group[] = groups?.map((item) => {\r\n return {\r\n id: item?.id,\r\n clusterRoleType: item?.clusterRoleType,\r\n clusterRoleTypeId: item?.clusterRoleTypeId,\r\n firstName: item?.profile?.firstName,\r\n points: item?.points,\r\n profileId: item?.profile?.id,\r\n } as Group\r\n })\r\n\r\n setNewGroups({ cluster, group })\r\n setOpenCreate(false)\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n\r\n return (\r\n setOpenCreate(false)}>\r\n
\r\n
\r\n

{textServices.findByText('groups/start/create/title', { es: 'Crear grupo', en: 'Create group' })}

\r\n

{textServices.findByText('groups/start/create/description', { es: 'Agrega un avatar y dale un nombre a tu grupo para crearlo y empezar a invitar a tus amigos para que participen junto a ti.', en: 'Add an avatar and name your group to create it and start inviting your friends to join you.' })}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'groups',\r\n form_field: 'name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'groups :: create'\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}","import ButtonCloseMenu from \"components/button-close\";\r\nimport { useState } from \"react\";\r\nimport Button from \"components/button\";\r\nimport { ErrorInput, ReturnText, SelectGender } from \"theme/theme\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { ErrorMessage } from \"@hookform/error-message\";\r\nimport textServices from \"services/text-services\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useGroups } from \".\";\r\n\r\nexport default function HowDoYouWantToParticipate() {\r\n const [{ callbackParticipate, groups }, { setOpenSelectParticipate, setParticipateGroupId, setCallbackParticipate, setOpenCreate }] = useGroups()\r\n const { register, formState: { errors }, handleSubmit } = useForm<{ clusterId: string }>({ resolver: yupResolver(formServices.formGenerateSchema([\"clusterId\"])) })\r\n const [step, setStep] = useState(0)\r\n const [{ user }] = useSession()\r\n\r\n const handleMenu = () => {\r\n setOpenSelectParticipate(false)\r\n setParticipateGroupId(null)\r\n\r\n if (callbackParticipate) {\r\n setCallbackParticipate(() => null)\r\n callbackParticipate()\r\n }\r\n }\r\n\r\n const handleCreate = () => {\r\n setOpenCreate(true)\r\n }\r\n\r\n const onSubmit = handleSubmit((data) => {\r\n setOpenSelectParticipate(false)\r\n\r\n const group = groups.find((item) => item.cluster.id === Number(data?.clusterId))\r\n const clusterProfileId = group.group?.find((item) => item.profileId === user.id)?.id\r\n\r\n setParticipateGroupId(clusterProfileId)\r\n if (callbackParticipate) {\r\n setCallbackParticipate(() => null)\r\n callbackParticipate()\r\n }\r\n })\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n

¿Cómo quieres participar?

\r\n
\r\n {\r\n step === 0 ? (\r\n
\r\n \r\n \r\n
\r\n ) : (\r\n
\r\n {\r\n groups?.length === 0 ? (\r\n

{textServices.findByText('groups/start/not-found', { es: <>Aún no eres parte de ningún grupo.
¿Qué esperas? vamos a crear uno., en: <>You are not yet part of any group.
What are you waiting for?Let's create one. })}

\r\n ) : (\r\n <>\r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'selecciona tu grupo',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'select group',\r\n section: 'select group'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {groups?.map((item) => (\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 {step === 1 && }\r\n {step === 1 &&\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}","import { GET_CLUSTER_TEAM, GET_RANKING_BY_TEAM, GET_TEAM_ACTIVE_SOCIAL } from 'constants/api'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer, useState } from 'react'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useSession } from 'contexts/session-context'\r\nimport axios from 'axios'\r\nimport groupsReducer, { ActiveDynamic, Cluster, Group, GroupsAction, GroupsState, RankingGroup } from './groups-reducer'\r\nimport CreateGroup from './CreateGroup'\r\nimport HowDoYouWantToParticipate from './HowDoYouWantToParticipate'\r\n\r\nexport interface UserContextProps {\r\n state: GroupsState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst defaultState: GroupsState = {\r\n groups: [],\r\n openCreate: false,\r\n participateGroupId: null,\r\n openSelectParticipate: false\r\n}\r\n\r\nconst GroupsContext = createContext({} as UserContextProps)\r\n\r\nexport const GroupsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(groupsReducer, defaultState)\r\n const [{ data: session }] = useSession()\r\n\r\n const [load, setLoad] = useState(false)\r\n\r\n const setOpenCreate = (value: boolean) => dispatch({ type: 'SET_OPEN_CREATE', payload: value })\r\n\r\n const getGroupsSession = async () => {\r\n setLoad(true)\r\n try {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const { data: dynamic } = await axios.get(GET_TEAM_ACTIVE_SOCIAL, { headers })\r\n\r\n if (dynamic) {\r\n dispatch({ type: 'SET_DYNAMIC', payload: dynamic })\r\n const { data: groups } = await axios.get(GET_CLUSTER_TEAM.replace(':teamId', `${dynamic.id}`), { headers })\r\n\r\n if (groups) {\r\n dispatch({ type: 'SET_GROUPS', payload: groups })\r\n }\r\n }\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session && !load && !state?.dynamic) {\r\n getGroupsSession()\r\n }\r\n }, [session])\r\n\r\n return (\r\n \r\n {load && }\r\n {state.openCreate && }\r\n {state.openSelectParticipate && }\r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const useGroups = () => {\r\n const { state, dispatch } = useContext(GroupsContext)\r\n const [{ data: session }] = useSession()\r\n\r\n const setOpenSelectParticipate = (value: boolean) => dispatch({ type: 'SET_OPEN_SELECT_PARTICIPATE', payload: value })\r\n const setParticipateGroupId = (value: number | null) => dispatch({ type: 'SET_PARTICIPATE_GROUP_ID', payload: value })\r\n const setCallbackParticipate = (value: (clusterId: number) => void) => dispatch({ type: 'SET_CALLBACK_PARTICIPATE', payload: value })\r\n\r\n const handleOpenSelectParticipate = (teamId: number, callback?: () => void) => {\r\n\r\n if (state?.dynamic && teamId === state?.dynamic?.id) {\r\n if (callback) setCallbackParticipate(callback)\r\n return setOpenSelectParticipate(true)\r\n }\r\n\r\n setCallbackParticipate(() => null)\r\n setParticipateGroupId(null)\r\n setOpenSelectParticipate(false)\r\n\r\n if (callback) {\r\n return callback()\r\n }\r\n }\r\n\r\n const getRanking = async (clusterId: number) => {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const { data: { profileRanking, ranking } } = await axios.get<{ profileRanking: RankingGroup, ranking: RankingGroup[] }>(GET_RANKING_BY_TEAM.replace(':teamId', `${state?.dynamic?.id}`).replace(':clusterId', `${clusterId}`), { headers })\r\n return { profileRanking, ranking }\r\n }\r\n\r\n const setNewGroups = (group: { cluster: Cluster, group: Group[] }) => dispatch({ type: 'SET_NEW_GROUPS', payload: group })\r\n const setUpdateGroup = (group: { cluster: Cluster, group: Group[] }) => dispatch({ type: 'SET_UPDATE_GROUP', payload: group })\r\n const setRemoveGroup = (groupId: number) => dispatch({ type: 'SET_REMOVE_GROUP', payload: groupId })\r\n const setDynamic = (dynamic: ActiveDynamic) => dispatch({ type: 'SET_DYNAMIC', payload: dynamic })\r\n const setOpenCreate = (value: boolean) => dispatch({ type: 'SET_OPEN_CREATE', payload: value })\r\n\r\n const actions = { setNewGroups, setDynamic, setOpenCreate, setUpdateGroup, setRemoveGroup, setOpenSelectParticipate, setParticipateGroupId, handleOpenSelectParticipate, setCallbackParticipate, getRanking }\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n\r\n return returnValue\r\n}\r\n","import { Prize, WareHouseType } from '../types'\r\n\r\nexport type PrizesActionType = 'SET_FLOW_TYPE_ID' | 'SET_PRIZES' | 'SET_SELECT_PRIZE' | 'SET_ERROR' | 'SET_CONGRATS' | 'SET_SELECT_PRIZE_WAREHOUSE' | 'SET_SELECT_WAREHOUSE' | 'SET_PRIZE_EXCHANGE'\r\n\r\nexport interface PrizesState {\r\n prizes?: Prize[]\r\n selectPrize?: Prize\r\n error?: number\r\n congrats?: boolean\r\n flowTypeId?: number\r\n wareHouse?: WareHouseType[]\r\n selectWarehouse?: WareHouseType\r\n prizeExchange?: Prize\r\n}\r\n\r\nexport interface PrizesAction {\r\n type: PrizesActionType\r\n payload: PrizesState | Prize[] | Prize | number | boolean | WareHouseType\r\n}\r\n\r\nfunction prizesReducer(state: PrizesState, action: PrizesAction): PrizesState {\r\n switch (action.type) {\r\n case 'SET_FLOW_TYPE_ID':\r\n return { ...state, flowTypeId: action.payload as number }\r\n case 'SET_PRIZES':\r\n return { ...state, prizes: action.payload as Prize[] }\r\n case 'SET_SELECT_PRIZE':\r\n return { ...state, selectPrize: action.payload as Prize }\r\n case 'SET_SELECT_PRIZE_WAREHOUSE':\r\n return { ...state, wareHouse: action.payload as WareHouseType[]}\r\n case 'SET_SELECT_WAREHOUSE':\r\n return { ...state, selectWarehouse: action.payload as WareHouseType}\r\n case 'SET_PRIZE_EXCHANGE':\r\n return { ...state, prizeExchange: action.payload as Prize}\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default prizesReducer","import { GET_PRIZES, GET_PRIZE_WARE_HOUSE } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport axios, { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { PrizeResponse, Prize, WareHouseType } from '../types'\r\nimport prizesReducer, { PrizesAction, PrizesState } from './prizes-reducer'\r\nexport interface PrizesContextProps {\r\n state: PrizesState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst PrizesContext = createContext({} as PrizesContextProps)\r\n\r\nexport const PrizesProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(prizesReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const { push } = useRouter()\r\n const [{ data = {} as PrizeResponse, loading, error }, refetch] = useAxios(\r\n {\r\n url: GET_PRIZES,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { useCache: false }\r\n )\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data?.prize?.length > 0) {\r\n dispatch({\r\n type: 'SET_PRIZES', payload: data?.prize.map(item => {\r\n if (item?.status === 5 || (item.status === 10 && !item.imageUrl)) {\r\n item.imageUrl = `${AZURE_BASE_URL}/surprise.png`\r\n }\r\n return item\r\n })\r\n })\r\n dispatch({ type: 'SET_FLOW_TYPE_ID', payload: data?.configuration?.prizeFlowTypeId })\r\n }\r\n }, [data])\r\n\r\n useEffect(() => {\r\n if (error) {\r\n dispatch({ type: 'SET_ERROR', payload: error.response?.data?.code })\r\n return push('/prizes/error')\r\n }\r\n }, [error])\r\n\r\n return {children}\r\n}\r\n\r\nexport const usePrizes = () => {\r\n const { state, dispatch, refetch } = useContext(PrizesContext)\r\n const { push } = useRouter()\r\n const [{ data: session }] = useSession()\r\n\r\n const setPrizes = (prizes: Prize[]) => dispatch({ type: 'SET_PRIZES', payload: prizes })\r\n const refetchPrizes = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectPrize = (prize?: Prize) => dispatch({ type: 'SET_SELECT_PRIZE', payload: prize })\r\n const setSelectWareHouse = (selectWarehouse?: WareHouseType) => dispatch({ type: 'SET_SELECT_WAREHOUSE', payload: selectWarehouse })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setFlowType = (flowTypeId?: number) => dispatch({ type: 'SET_FLOW_TYPE_ID', payload: flowTypeId })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/prizes/error')\r\n }\r\n \r\n const getWareHouse = async (id: number) => {\r\n const { data } = await axios.get(`${GET_PRIZE_WARE_HOUSE.replace(':id', `${id}`)}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n dispatch({ type: 'SET_SELECT_PRIZE_WAREHOUSE', payload: data })\r\n }\r\n\r\n const setPrizeExchange = (prize: Prize) => dispatch({ type: 'SET_PRIZE_EXCHANGE', payload: prize })\r\n\r\n const actions = { setPrizes, refetchPrizes, setSelectPrize, setError, setCongrats, setFlowType, getWareHouse, setSelectWareHouse, setPrizeExchange}\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}\r\n","import { AxiosError } from \"axios\"\r\n\r\ninterface Playable {\r\n advance: any\r\n bestScore: number\r\n game: {\r\n description: string\r\n id: number\r\n name: string\r\n imageUrl: string\r\n prize: string\r\n status: number\r\n validFrom: string\r\n validTo: string\r\n }\r\n prize: {\r\n description: string\r\n imageUrl: string\r\n points: number\r\n productId: number\r\n profile: {\r\n totalPoints: number\r\n chances: number\r\n }\r\n temporalActivation: boolean\r\n title: string\r\n }\r\n status: number\r\n}\r\n\r\nexport interface PlayableState {\r\n playables?: any[],\r\n playable: Playable,\r\n error?: AxiosError,\r\n finished: boolean,\r\n currentPlayable: any\r\n lastScore: number\r\n advance?: { level: number, points: number }[]\r\n prize?: any\r\n}\r\n\r\nexport enum PlayableActionsType {\r\n RESET = 'RESET',\r\n SET_PLAYABLES = 'SET_PLAYABLES',\r\n SET_PLAYABLE = 'SET_PLAYABLE',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_CONGRATS = 'SET_CONGRATS',\r\n SET_PLAY = 'SET_PLAY',\r\n SET_CURRENT_PLAYABLE = 'SET_CURRENT_PLAYABLE',\r\n SET_LAST_SCORE = 'SET_LAST_SCORE',\r\n SET_ADVANCE = \"SET_ADVANCE\",\r\n SET_ADVANCE_BASE = \"SET_ADVANCE_BASE\",\r\n SET_PRIZE = \"SET_PRIZE\"\r\n}\r\n\r\nexport interface PlayableAction {\r\n payload?: any\r\n type: PlayableActionsType\r\n}\r\n\r\nconst playableReducer = (state: PlayableState, action: PlayableAction): PlayableState => {\r\n switch (action.type) {\r\n case PlayableActionsType.SET_PLAYABLES:\r\n return { ...state, playables: action.payload }\r\n case PlayableActionsType.SET_ADVANCE:\r\n return { ...state, advance: [...(state.advance ?? []), action.payload] }\r\n case PlayableActionsType.SET_ADVANCE_BASE:\r\n return { ...state, advance: action.payload ?? []}\r\n case PlayableActionsType.SET_LAST_SCORE:\r\n return { ...state, lastScore: action.payload }\r\n case PlayableActionsType.SET_PRIZE:\r\n return { ...state, prize: action.payload }\r\n case PlayableActionsType.SET_PLAYABLE:\r\n return { ...state, playable: action.payload }\r\n case PlayableActionsType.SET_CURRENT_PLAYABLE:\r\n return { ...state, currentPlayable: action.payload }\r\n case PlayableActionsType.SET_PLAY:\r\n return { ...state, playable: action.payload }\r\n case PlayableActionsType.SET_CONGRATS:\r\n return { ...state, finished: true }\r\n case PlayableActionsType.SET_ERROR:\r\n return { ...state, error: action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default playableReducer","import { PLAYABLE_LIST, PLAYABLE_VALIDATE, PLAYABLE_PLAY, PLAYABLE_SAVE } from 'constants/api';\r\nimport { createContext, useContext, useReducer, Dispatch, FC } from 'react';\r\nimport axios from 'axios';\r\nimport { useSession } from 'contexts/session-context';\r\nimport reducer, { PlayableState, PlayableAction, PlayableActionsType } from './reducer'\r\nimport { levels } from './data';\r\n\r\nexport interface PlayableReducer {\r\n state: PlayableState,\r\n dispatch: Dispatch\r\n}\r\n\r\nconst PlayableContext = createContext({} as PlayableReducer);\r\n\r\nconst PlayableProvider: FC = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, {} as PlayableState)\r\n\r\n return {children}\r\n}\r\n\r\nexport const usePlayable = () => {\r\n\r\n const [{ data: session }] = useSession()\r\n\r\n const { state, dispatch } = useContext(PlayableContext)\r\n\r\n const setError = (err: any) => {\r\n dispatch({\r\n type: PlayableActionsType.SET_ERROR,\r\n payload: err\r\n })\r\n }\r\n\r\n const getPlayables = async () => {\r\n try {\r\n const response = await axios.get(PLAYABLE_LIST, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1\r\n }\r\n })\r\n console.log('getPlayables', response.data)\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLES,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return response.data\r\n } catch (e) {\r\n console.error(e)\r\n }\r\n }\r\n\r\n const validatePlayable = async (playableId: string) => {\r\n try {\r\n const response = await axios.post(PLAYABLE_VALIDATE.replace(':playableId', playableId), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1\r\n }\r\n })\r\n\r\n if (response.data) {\r\n const levelIndex = Math.min(response.data.advance.length, levels.length - 1) ?? 0;\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLE,\r\n payload: response.data\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[levelIndex],\r\n });\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE_BASE,\r\n payload: response.data.advance\r\n })\r\n\r\n return (response.data.advance.length === 0)\r\n }\r\n\r\n return true\r\n } catch (error) {\r\n console.error('validate playable err', error.response?.data.code)\r\n setError(error.response?.data.code)\r\n throw error\r\n }\r\n }\r\n\r\n const playPlayable = async (playableId: string) => {\r\n try {\r\n const response = await axios.put(PLAYABLE_PLAY.replace(':playableId', playableId), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1 \r\n }\r\n })\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAY,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return true\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n const savePlayableData = async (playableId: string, level: number, score: number) => {\r\n console.log('state?.advance', state?.advance)\r\n try {\r\n const response = await axios.put(PLAYABLE_SAVE.replace(':playableId', playableId), [\r\n ...(state.advance ?? []),\r\n { level, points: score }\r\n ], {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1 \r\n }\r\n });\r\n console.log('adv', [\r\n ...(state.advance ?? []),\r\n { level, points: score }\r\n ])\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE,\r\n payload: { level, points: score }\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLE,\r\n payload: response.data\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PRIZE,\r\n payload: response?.data?.prize\r\n })\r\n\r\n console.log('Data saved successfully:', response.data);\r\n\r\n return response.data\r\n } catch (error) {\r\n console.error('Error saving data:', error);\r\n }\r\n };\r\n\r\n const sendScore = (score: number) => {\r\n console.log('state?.advance', state?.advance)\r\n dispatch({\r\n type: PlayableActionsType.SET_LAST_SCORE,\r\n payload: score\r\n })\r\n }\r\n \r\n const changeLevel = (data: any) => {\r\n const levelIndex = Math.min(data.advance.length, levels.length - 1);\r\n console.log('levelIndex', levelIndex)\r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[levelIndex],\r\n });\r\n }\r\n\r\n const playAgain = async (playableId: string) => {\r\n const reponse = await playPlayable(playableId)\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAY,\r\n payload: reponse\r\n })\r\n \r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[0],\r\n });\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE,\r\n payload: []\r\n })\r\n }\r\n\r\n const deletePrize = () => {\r\n dispatch({\r\n type: PlayableActionsType.SET_PRIZE,\r\n payload: null\r\n })\r\n }\r\n\r\n const methods = { getPlayables, validatePlayable, playPlayable, setError, savePlayableData, sendScore, changeLevel, playAgain, deletePrize }\r\n\r\n const values = [state, methods] as [PlayableState, typeof methods]\r\n\r\n return values\r\n}\r\n\r\nexport default PlayableProvider","/* eslint-disable no-case-declarations */\r\nexport interface IEvent {\r\n \"id\": number,\r\n \"name\": string,\r\n \"description\": string,\r\n \"statusId\": number,\r\n \"status\": string,\r\n \"beginAt\": string,\r\n \"endAt\": string,\r\n \"createdAt\": string,\r\n \"updatedAt\": string,\r\n \"imageUrl\": string,\r\n \"configurationId\": number,\r\n \"minZoom\": number,\r\n \"maxZoom\": number,\r\n \"center\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n \"southWest\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n \"northEast\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n}\r\n\r\nexport enum EventPlaceEnum {\r\n \"Scenario\" = 1,\r\n \"Market\" = 2,\r\n \"Restrooms\" = 3,\r\n \"Store\" = 4,\r\n \"Exit\" = 5,\r\n \"Emergency exit\" = 6,\r\n \"Information\" = 7,\r\n \"Activity\" = 8,\r\n \"Parking\" = 20,\r\n \"Im\" = 21,\r\n}\r\n\r\nexport interface IEventPlaces {\r\n \"id\"?: number,\r\n \"name\"?: string,\r\n \"description\"?: string,\r\n \"latitude\"?: string,\r\n \"longitude\"?: string,\r\n \"imageUrl\": string,\r\n \"status\"?: boolean,\r\n \"createdAt\"?: string,\r\n \"eventPlaceTypeId\": number,\r\n \"eventPlaceType\": string,\r\n \"width\"?: number,\r\n \"height\"?: number\r\n}\r\n\r\nexport type EventsActionType = 'SET_EVENT' | 'SET_EVENT_PLACES'\r\n\r\nexport interface EventsState {\r\n event?: IEvent\r\n places?: IEventPlaces[]\r\n}\r\n\r\nexport interface EventsAction {\r\n type: EventsActionType\r\n payload: EventsState | IEvent | IEventPlaces[] | number\r\n}\r\n\r\nfunction eventsReducer(state: EventsState, action: EventsAction): EventsState {\r\n switch (action.type) {\r\n case 'SET_EVENT':\r\n return { ...state, event: action.payload as IEvent }\r\n case 'SET_EVENT_PLACES':\r\n return { ...state, places: action.payload as IEventPlaces[] }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default eventsReducer","import { Raffle } from '../types'\r\n\r\nexport type RafflesActionType = 'SET_RAFFLES' | 'SET_SELECT_RAFFLE' | 'SET_ERROR' | 'SET_CONGRATS'\r\n\r\nexport interface RafflesState {\r\n raffles?: Raffle[]\r\n selectRaffle?: Raffle\r\n error?: number\r\n congrats?: boolean\r\n}\r\n\r\nexport interface RafflesAction {\r\n type: RafflesActionType\r\n payload: RafflesState | Raffle[] | Raffle | number | boolean \r\n}\r\n\r\nfunction raffleReducer(state: RafflesState, action: RafflesAction): RafflesState {\r\n switch (action.type) {\r\n case 'SET_RAFFLES':\r\n return { ...state, raffles: action.payload as Raffle[] }\r\n case 'SET_SELECT_RAFFLE':\r\n return { ...state, selectRaffle: action.payload as Raffle }\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default raffleReducer","import { GET_RAFFLES } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { Raffle, RaffleAdapter, RaffleDto } from '../types'\r\nimport rafflesReducer, { RafflesAction, RafflesState } from './raffles-reducer'\r\n\r\nexport interface RafflesContextProps {\r\n state: RafflesState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst RafflesContext = createContext({} as RafflesContextProps)\r\n\r\nexport const RafflesProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(rafflesReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: GET_RAFFLES,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data.length > 0) {\r\n dispatch({ type: 'SET_RAFFLES', payload: data.map((raffle) => RaffleAdapter(raffle)) })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useRaffles = () => {\r\n const { state, dispatch, refetch } = useContext(RafflesContext)\r\n const { push } = useRouter()\r\n\r\n const setRaffles = (raffles: Raffle[]) => dispatch({ type: 'SET_RAFFLES', payload: raffles })\r\n const refetchRaffles = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectRaffle = (raffle?: Raffle) => dispatch({ type: 'SET_SELECT_RAFFLE', payload: raffle })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/raffles/error')\r\n }\r\n const actions = { setRaffles, refetchRaffles, setSelectRaffle, setError, setCongrats }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","export interface RaffleDto {\r\n id: number\r\n title: string\r\n imageUrl: string\r\n secondaryImageUrl: string\r\n sorteoId: number\r\n description: string\r\n}\r\n\r\nexport interface Raffle {\r\n productId: number\r\n title: string\r\n src: string\r\n secondaryImageUrl: string\r\n sortId: number\r\n description: string\r\n}\r\n\r\nexport interface SurveyDto {\r\n questionId: number\r\n question: string\r\n options: [\r\n {\r\n optionId: number\r\n option: string\r\n imageUrl: string\r\n }\r\n ]\r\n type: {\r\n id: number\r\n name: string\r\n }\r\n}\r\n\r\nexport interface Survey {\r\n id: number\r\n question: string\r\n options: Options[]\r\n type: string\r\n}\r\n\r\nexport interface Options {\r\n id: number\r\n option: string\r\n src: string\r\n}\r\n\r\nexport interface WinnerDto {\r\n ganador: string\r\n sorteoDate: Date\r\n sorteoId: number\r\n productId: number\r\n title: string\r\n}\r\n\r\nexport interface Winner {\r\n name: string\r\n date: Date\r\n id: number\r\n productId: number\r\n}\r\n\r\nexport const RaffleAdapter = (raffle: RaffleDto): Raffle => ({\r\n productId: raffle?.id,\r\n title: raffle?.title,\r\n src: raffle?.imageUrl,\r\n secondaryImageUrl: raffle?.secondaryImageUrl,\r\n sortId: raffle?.sorteoId,\r\n description: raffle?.description\r\n})\r\n\r\nexport const SurveyAdapter = (survey: SurveyDto): Survey => ({\r\n id: survey?.questionId,\r\n question: survey?.question,\r\n options: survey?.options?.map((option) => ({\r\n id: option?.optionId,\r\n option: option?.option,\r\n src: option?.imageUrl\r\n })),\r\n type: survey?.type?.name\r\n})\r\n","import { Memorama, MemoramaWinner } from '../types'\r\n\r\nexport type MemoramaActionType = 'SET_MEMORAMAS_LIST' | 'SET_MEMORAMA_CURRENT' |'SET_WINNER'\r\n\r\nexport interface MemoramaState {\r\n memoramasList?: Memorama[]\r\n currentMemorama?: Memorama\r\n winner?: MemoramaWinner\r\n}\r\n\r\nexport interface MemoramaAction {\r\n type: MemoramaActionType\r\n payload: MemoramaState | Memorama[] | Memorama | MemoramaWinner\r\n}\r\n\r\nfunction albumReducer(state: MemoramaState, action: MemoramaAction): MemoramaState {\r\n switch (action.type) {\r\n case 'SET_MEMORAMAS_LIST':\r\n return { ...state, memoramasList: action.payload as Memorama[] }\r\n case 'SET_MEMORAMA_CURRENT':\r\n return { ...state, currentMemorama: action.payload as Memorama }\r\n case 'SET_WINNER':\r\n return { ...state, winner: action.payload as MemoramaWinner }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default albumReducer","import { createContext, Dispatch, FunctionComponent, useReducer } from 'react'\r\nimport MemoramaReducer, { MemoramaAction, MemoramaState } from './memorama-reducer'\r\n\r\nexport interface MemoramaContextProps {\r\n state: MemoramaState\r\n dispatch: Dispatch\r\n}\r\n\r\nexport const MemoramaContext = createContext({} as MemoramaContextProps)\r\n\r\nexport const MemoramaProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(MemoramaReducer, {})\r\n\r\n return {children}\r\n}","import { MainContext } from 'contexts/main-class-context'\r\nimport { useContext, useEffect } from 'react'\r\n\r\nfunction useMainClass(className: string) {\r\n const { setClassMain } = useContext(MainContext)\r\n\r\n const setter = (className: string) => {\r\n setClassMain((prev) => [...prev, className])\r\n }\r\n\r\n const remove = (className: string) => {\r\n setClassMain((prev) => [...prev].filter((item) => item !== className))\r\n }\r\n\r\n useEffect(() => {\r\n setter(className)\r\n\r\n return () => {\r\n remove(className)\r\n }\r\n },[])\r\n}\r\n\r\nexport default useMainClass","import { GET_LINEUPS, GET_LINEUPS_PROFILE } from \"constants/api\"\r\nimport dayjs from \"dayjs\";\r\nimport { useContext, useEffect, useState } from \"react\"\r\nimport useOfflineData from \"hooks/use-offline-data\"\r\nimport useLocalStorage from \"hooks/use-local-storage\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport axios from \"axios\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport CONFIGS from \"build/Config\";\r\nimport { IArtist, IArtistDTO, ILineup, ILineupAllDTO } from \"../types\"\r\nimport 'dayjs/locale/es';\r\nimport { useLineupContext } from \"..\";\r\n\r\ndayjs.locale('es');\r\n\r\n\r\nconst transform = (data: ILineupAllDTO): ILineup[] => {\r\n const dates: ILineup[] = []\r\n\r\n data?.eventLineUpItems?.forEach((artist) => {\r\n const currentDay = dayjs(artist?.beginAt).format('YYYY-MM-DD')\r\n const existIndex = dates?.findIndex((item) => item.day === currentDay) \r\n\r\n const adaptedArtist = {\r\n id: artist?.id,\r\n validFrom: artist?.beginAt,\r\n validTo: artist?.endAt,\r\n imageSrc: artist?.imageUrl,\r\n name: artist?.name,\r\n stage: artist?.eventPlace,\r\n description: artist?.description\r\n }\r\n\r\n if (dates[existIndex]) {\r\n dates[existIndex] = {\r\n ...dates[existIndex],\r\n artists: [\r\n ...dates[existIndex].artists,\r\n adaptedArtist\r\n ]\r\n }\r\n } else {\r\n dates.push({\r\n id: currentDay,\r\n day: currentDay,\r\n artists: [\r\n adaptedArtist\r\n ]\r\n })\r\n }\r\n })\r\n\r\n return dates\r\n}\r\n\r\nexport const useLineups = (eventId?: number) => {\r\n const { data } = useOfflineData({ offline: 'lineup-create', url: `${GET_LINEUPS.replace(':id', eventId ? `${eventId}` : '0')}`})\r\n const [ transformedData, setTransformedData ] = useState([])\r\n\r\n useEffect(() => {\r\n if (data) {\r\n setTransformedData(transform(data))\r\n }\r\n },[data])\r\n\r\n\r\n return { data: transformedData, dataNotTransformed: data, eventId: data?.eventId, lineupId: data?.id }\r\n}\r\n\r\nexport const useLineupsProfile = (eventId?: number) => {\r\n const [data, setData] = useState(null)\r\n const { lineups } = useLineupContext()\r\n const [lineup, setLineup] = useLocalStorage('lineup')\r\n const isOnline = useOnline()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const fetcher = async () => {\r\n setLoad(true)\r\n try {\r\n const ids = []\r\n if (CONFIGS.lineupOnlyShow) {\r\n ids.push(...lineups?.reduce((prev, item) => [...prev, ...(item.artists?.map(artist => artist.id))], []))\r\n const data: IArtistDTO[] = lineups?.reduce((prev: IArtist[], item) => [...prev, ...item?.artists], []).map((item) => ({ id: item?.id, beginAt: item?.validTo, endAt: item?.validFrom, description: item?.description, eventPlace: item?.stage, imageUrl: item?.name, name: item?.name }))\r\n setLineup(transform({ eventLineUpItems: data }))\r\n } else if (isOnline) {\r\n const { data: response } = await axios.get(`${GET_LINEUPS_PROFILE.replace(':id', eventId ? `${eventId}` : `0`)}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setLineup(transform(response))\r\n response?.eventLineUpItems?.forEach((item) => ids.push(item?.id))\r\n } else {\r\n lineup?.forEach((item) => {\r\n item?.artists?.forEach((artist) => {\r\n ids.push(artist?.id)\r\n })\r\n })\r\n }\r\n\r\n if (ids.length > 0) {\r\n setData(ids)\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n fetcher()\r\n }, [])\r\n \r\n return data\r\n}","import axios from \"axios\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport { useContext, useEffect, useState } from \"react\"\r\n\r\ninterface IProps {\r\n url?: string,\r\n offline: string\r\n}\r\n\r\nexport default function useOfflineData ({ offline, url }: IProps){\r\n const isOnline = useOnline()\r\n const [data, setData] = useState()\r\n const [error, setError] = useState()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const handlerFetcher = async () => {\r\n const { data } = await axios.get(`${url}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setData(data)\r\n }\r\n\r\n const handlerOffline = async () => {\r\n const { default: json } = await import(`build/offline/${offline}.json`)\r\n setData(json[process.env.NODE_ENV])\r\n }\r\n\r\n const handler = async () => {\r\n setLoad(true)\r\n try {\r\n if (isOnline) {\r\n handlerFetcher()\r\n } else {\r\n handlerOffline()\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n handler()\r\n }, [])\r\n \r\n\r\n return {data, error, setError}\r\n}","interface IProps {\r\n onExit: () => void\r\n children: JSX.Element\r\n}\r\n\r\nexport default function BottomPopUp({ children, onExit }: IProps) {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n )\r\n}","import { useMemo } from 'react'\r\nimport { StepText, ProgressContainerSteps, ProgressSteps } from 'theme/theme'\r\n\r\ninterface IProps {\r\n current: number\r\n total: number\r\n}\r\n\r\nconst Stepper = ({ current, total }: IProps) => {\r\n\r\n const percentageStep = useMemo(() => {\r\n return (current * 100) / total\r\n }, [current])\r\n\r\n return (\r\n
\r\n \r\n {current} / {total}\r\n \r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Stepper\r\n","import { createContext, useState } from 'react'\r\nexport interface LoaderContextProps {\r\n load: boolean\r\n setLoad: any\r\n head: boolean\r\n setHead: any\r\n footer: boolean\r\n setFooter: (value: boolean) => void;\r\n}\r\n\r\nconst LoaderContext = createContext({} as LoaderContextProps)\r\n\r\nconst LoaderProvider = ({ children }) => {\r\n const [load, setLoad] = useState(false)\r\n const [head, setHead] = useState(true)\r\n const [footer, setFooter] = useState(true)\r\n\r\n const data = {\r\n load,\r\n setLoad,\r\n head, \r\n setHead,\r\n footer,\r\n setFooter\r\n }\r\n\r\n return {children}\r\n}\r\n\r\nexport { LoaderProvider, LoaderContext }","import React from 'react';\r\nimport modules from 'build/modules';\r\n\r\nclass TextServices {\r\n\r\n private _texts: {\r\n [key: string]: any;\r\n };\r\n\r\n public language: string;\r\n\r\n constructor() {\r\n const language = navigator.language.split('-')[0]\r\n const themeText = this.findJson()\r\n this.language = 'es'\r\n if (themeText[language]) {\r\n this._texts = themeText[language];\r\n this.language = language;\r\n } else if ((themeText as any)?.es) {\r\n this._texts = (themeText as any)?.es;\r\n } else {\r\n this._texts = themeText;\r\n }\r\n }\r\n \r\n findJson() {\r\n const textRaw = modules?.lang\r\n if (!textRaw) throw new Error('Texts not found');\r\n this._texts = textRaw;\r\n return textRaw;\r\n }\r\n\r\n findByText(path: string, defaultValue?: string | JSX.Element | { es?: string | JSX.Element, en?: string | JSX.Element }, replace?: { [key: string]: string }) {\r\n const pathSeparated = path.split('/');\r\n const text = pathSeparated.reduce((acc: any, item: string) => {\r\n if (!acc || !acc[item]) return null;\r\n return acc[item];\r\n }, this._texts);\r\n \r\n if (!text) {\r\n if (this.language && typeof defaultValue === 'object') {\r\n if (Object.keys(defaultValue ?? {}).includes(this.language)) {\r\n return defaultValue[this.language]\r\n } else if (Object.keys(defaultValue ?? {}).includes('es')) {\r\n return (defaultValue as any)?.es\r\n }\r\n }\r\n\r\n return defaultValue ?? path;\r\n }\r\n \r\n let replacedText = text;\r\n \r\n if (replace && text !== ' ') {\r\n Object.keys(replace).forEach((key) => {\r\n const value = replace[key];\r\n\r\n function mapChildren(children: any) {\r\n return React.Children.map(children, (child: any) => {\r\n if (typeof child === 'string') {\r\n return child.replace(new RegExp(key, 'g'), value);\r\n } else if (React.isValidElement(child)) {\r\n return React.cloneElement(child, {}, mapChildren((child.props as any)?.children));\r\n } else {\r\n return child;\r\n }\r\n });\r\n }\r\n \r\n // Reemplazar en el texto\r\n if (typeof text === 'string') {\r\n replacedText = replacedText.replace(new RegExp(key, 'g'), value);\r\n }\r\n \r\n // Reemplazar en el JSX.Element\r\n if (React.isValidElement(replacedText)) {\r\n const children = mapChildren(replacedText)\r\n \r\n replacedText = React.cloneElement(replacedText, {}, children);\r\n }\r\n });\r\n }\r\n \r\n return replacedText;\r\n }\r\n\r\n}\r\n\r\nconst textServices = new TextServices();\r\n\r\nexport default textServices","/* eslint-disable no-undef */\r\nimport { useEffect, useRef, useState } from 'react';\r\n\r\nexport const useCountDownSeconds: (\r\n total: number,\r\n ms?: number,\r\n) => [number, () => void, () => void, () => void] = (\r\n total: number,\r\n ms: number = 1000,\r\n) => {\r\n const [counter, setCountDown] = useState(total);\r\n const [startCountDown, setStartCountDown] = useState(false);\r\n // Store the created interval \r\n const intervalId = useRef();\r\n const start: () => void = () => setStartCountDown(true);\r\n const pause: () => void = () => setStartCountDown(false);\r\n const reset: () => void = () => {\r\n clearInterval(intervalId.current);\r\n setStartCountDown(false);\r\n setCountDown(total);\r\n };\r\n\r\n useEffect(() => {\r\n clearInterval(intervalId.current);\r\n setCountDown(total);\r\n }, [total])\r\n\r\n\r\n useEffect(() => {\r\n intervalId.current = setInterval(() => {\r\n startCountDown && counter > 0 && setCountDown(counter => counter - 1);\r\n }, ms);\r\n // Clear interval when count to zero\r\n if (counter === 0) clearInterval(intervalId.current);\r\n // Clear interval when unmount\r\n return () => clearInterval(intervalId.current);\r\n }, [startCountDown, counter, ms]);\r\n\r\n return [counter, start, pause, reset];\r\n};","import { forwardRef } from \"react\"\r\nimport styled from \"styled-components\"\r\nimport { InputType } from \"theme/types\"\r\n\r\nconst Input = styled.input`\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin: 0;\r\n width: 25px;\r\n height: 25px;\r\n border-radius: 50%;\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n ::after {\r\n content: \"\";\r\n display: block;\r\n margin: auto;\r\n border-radius: 9999px;\r\n width: 13px;\r\n height: 13.2px;\r\n }\r\n ${({ theme }) => theme?.inputRadio?.input}\r\n`\r\n\r\nconst CustomRadio = forwardRef((props, ref) => {\r\n return \r\n})\r\n\r\nCustomRadio.displayName = 'CustomRadio'\r\n\r\nexport default CustomRadio;","import { useMemo } from 'react'\r\nimport { useParams, useLocation, useHistory, useRouteMatch } from 'react-router-dom'\r\nimport queryString from 'query-string'\r\n\r\nfunction useRouter() {\r\n const params = useParams()\r\n const location = useLocation()\r\n const history = useHistory()\r\n const match = useRouteMatch()\r\n return useMemo(() => {\r\n return {\r\n push: history.push,\r\n replace: history.replace,\r\n pathname: location.pathname,\r\n url: match.url,\r\n search: location.search,\r\n query: {\r\n ...queryString.parse(location.search),\r\n ...params\r\n },\r\n match,\r\n location,\r\n history\r\n }\r\n }, [params, match, location, history])\r\n}\r\n\r\nexport default useRouter\r\n","import { SVGProps } from 'react'\r\n\r\nfunction SearchIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SearchIcon\r\n\r\n\r\n","import { SVGProps } from 'react'\r\n\r\nfunction UbicationIcon(props: SVGProps) {\r\n return (\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 UbicationIcon\r\n\r\n\r\n","import React, { SVGProps } from 'react'\r\n\r\nfunction BottomArrow(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default BottomArrow","import React from 'react'\r\n\r\nfunction More(props: React.SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default More","import { SubTitle, Text, Title } from \"theme/theme\";\r\nimport styled from 'styled-components';\r\nimport { Type } from './../../../../theme/types/generic.interface';\r\n\r\nexport const TitleRange = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.range?.text?.title}\r\n`\r\n\r\nexport const SubTitleRange = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.range?.text?.subtitle}\r\n`\r\n\r\nexport const TextCongratsRange = styled(Text)`\r\n font-size: 10px;\r\n ${({ theme }: Type) => theme?.range?.text?.text}\r\n`","import useLocalStorage from 'hooks/use-local-storage';\r\nimport ButtonCloseMenu from 'components/button-close';\r\nimport { useEffect } from 'react'\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport textServices from 'services/text-services';\r\nimport { SectionCongrats } from 'theme/congrats';\r\nimport { TitleRange } from './components/style/text'\r\n\r\n\r\ninterface RangeProps {\r\n data: {\r\n level: { id: number, name: string, imageUrl: string }\r\n }\r\n history: RouteComponentProps[\"history\"],\r\n name: string\r\n}\r\n\r\nfunction Range({ data, history }: RangeProps) {\r\n\r\n const [, , removeRange] = useLocalStorage('range', {})\r\n\r\n useEffect(() => {\r\n removeRange()\r\n }, [])\r\n\r\n return (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n history.push('/congrats')\r\n }}\r\n />\r\n \r\n ¡{textServices.findByText('congrats/range/title', { es: 'Vaaaaaaamos ', en: 'Come on' })}!\r\n
\r\n

{textServices.findByText('congrats/range/description', { es: <>Ahora eres
{data.level?.name}, en: <>You are now
{data.level?.name} })}

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

{textServices.findByText('congrats/range/description2', { es: <>FELICITACIONES
HAS DESBLOQUEADO NUEVAS
COSAS EN PROMOHUB XP, en: <>CONGRATULATIONS
YOU HAVE UNLOCKED NEW
THINGS IN PROMOHUB XP })}

\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Range\r\n","import React from \"react\"\r\n\r\nclass RoutesConfigAlbum {\r\n\r\n public path = '/album'\r\n public component: React.LazyExoticComponent<() => JSX.Element>\r\n public exact = true\r\n public isActiveWhenAlbumIsComplete = false\r\n public routeToRedirect: string \r\n\r\n constructor(path: string, component: React.LazyExoticComponent<() => JSX.Element>, isActiveWhenAlbumIsComplete: boolean = false, redirect = '/album/:id/ranking', exact: boolean = true) {\r\n this.path = path\r\n this.component = component\r\n this.isActiveWhenAlbumIsComplete = isActiveWhenAlbumIsComplete\r\n this.routeToRedirect = redirect\r\n this.exact = exact\r\n }\r\n\r\n}\r\n\r\nexport default RoutesConfigAlbum","import { lazy } from \"react\";\r\nimport RoutesConfigAlbum from \"./routes-config\";\r\nconst List = lazy(() => import('../../views/multimedia/views/list'))\r\nconst Ranking = lazy(() => import('../../views/multimedia/views/ranking'))\r\nconst ImageId = lazy(() => import('../../views/multimedia/views/image-id'))\r\nconst Upload = lazy(() => import('../../views/multimedia/components/onBoarding'))\r\nconst Profile = lazy(() => import('../../views/multimedia/views/profile'))\r\n\r\nexport const RoutesAlbumDefinitions = [\r\n new RoutesConfigAlbum(\"/album/:id/list\", List),\r\n new RoutesConfigAlbum(\"/album/:id/ranking\", Ranking, true),\r\n new RoutesConfigAlbum(\"/album/:id/image/:code\", ImageId, true),\r\n new RoutesConfigAlbum(\"/album/:id/upload\", Upload),\r\n new RoutesConfigAlbum(\"/album/:id/profile\", Profile, true),\r\n]","import useMainClass from 'hooks/use-main-cass'\r\nimport PopUp from 'components/popUps'\r\nimport { Dispatch, SetStateAction, useContext, useEffect } from 'react';\r\nimport Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Link, useLocation, useHistory } from 'react-router-dom';\r\nimport { ClientContext } from 'contexts/client-num-context';\r\n\r\ninterface IProps {\r\n setError: Dispatch>;\r\n isError: boolean;\r\n}\r\n\r\nconst PopupClient = ({ isError = false, setError}: IProps) => {\r\n useMainClass('album__multimedia__upload__popup')\r\n const { setFooter } = useContext(LoaderContext)\r\n const { setClientNum } = useContext(ClientContext)\r\n const location = useLocation()\r\n const history = useHistory()\r\n useEffect(() => {\r\n setFooter(false)\r\n }, [])\r\n\r\n const handleClick = () => {\r\n if (isError) {\r\n setError(false)\r\n return \r\n }\r\n setClientNum(false)\r\n if (location.pathname === '/consumption/update') {\r\n history.push('/profile/consumption')\r\n }\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n {\r\n isError \r\n ? (\r\n <>\r\n

Ha ocurrido
un error

\r\n

Es posible que hayas ingresado un número
incorrecto o inexistente.
Por favor inténtalo nuevamente

\r\n \r\n )\r\n : (\r\n <>\r\n

¡Excelente!

\r\n

Has ingresado con éxito tu número de cliente. Puedes continuar con la dinámica.

\r\n \r\n \r\n )\r\n }\r\n\r\n
\r\n
\r\n {\r\n isError && (\r\n

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos\r\n ayudarte. Envíanos un mensaje.\r\n

\r\n )\r\n }\r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default PopupClient","import { CLIENT_CODE } from 'constants/api'\r\nimport { useState, useContext } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Link } from 'react-router-dom'\r\nimport { ClientContext } from 'contexts/client-num-context'\r\nimport Button from 'components/button'\r\nimport { Input, ErrorInput } from 'theme/theme'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport ProfileService from 'services/profile-services'\r\nimport PopupClient from 'views/album/views/multimedia/components/PopupClient'\r\n\r\nconst ClientNum = () => {\r\n const [{ data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [confirmData, setConfirmData] = useState(false)\r\n const {\r\n register,\r\n formState: { errors },\r\n handleSubmit\r\n } = useForm({ resolver: yupResolver(formServices.formGenerateSchema(['clientNum'])) })\r\n const [consumptionData, setConsumptionData] = useState(null)\r\n const [error, setError] = useState(false)\r\n const [popup, setPopup] = useState(false)\r\n const { setClientNum, setShowInputNumber } = useContext(ClientContext)\r\n\r\n interface IData {\r\n clientNum: string\r\n }\r\n\r\n const handleSubmitForm = async (data: IData) => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.post(CLIENT_CODE.replace(':clientNum', data?.clientNum), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response?.data?.length) {\r\n setConsumptionData(response?.data[0])\r\n setConfirmData(!confirmData)\r\n } else {\r\n setError(true)\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handlePush = () => {\r\n setClientNum(true)\r\n setShowInputNumber(false)\r\n }\r\n\r\n if (popup) {\r\n return \r\n }\r\n\r\n const confirmFn = async () => {\r\n try {\r\n setLoad(true)\r\n const response = await ProfileService.updateConsumption({\r\n session: session,\r\n consumptionId: consumptionData?.id\r\n })\r\n setUser(response?.data)\r\n setPopup(!popup)\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (confirmData) {\r\n return (\r\n
\r\n
\r\n

¿Cuál es tu NÚMERO DE CLIENTE?

\r\n

CONFIRMA QUE LOS DATOS SON CORRECTOS

\r\n
\r\n

{consumptionData?.internalId}

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

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos
\r\n ayudarte.{' '}\r\n \r\n Envíanos un mensaje.\r\n \r\n

\r\n \r\n
\r\n
\r\n )\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n

¿Cuál es tu NÚMERO DE CLIENTE?

\r\n

BúSCALO EN LOS MATERIALES IMPRESOS E INGRESALO en el siguiente campo:

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

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos
\r\n ayudarte.{' '}\r\n \r\n Envíanos un mensaje.\r\n \r\n

\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ClientNum\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"collapsible\":\"help_collapsible__1MfSO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"styles_wrapper__1WhPp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrappercookies\":\"stylecookies_wrappercookies__MqiiN\"};","import { prettyError, prettyErrorButton, prettyErrorDescription, prettyErrorSubButton } from 'constants/errors'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport GenericError from 'components/generic-error'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { useBg } from 'hooks/use-white-bg'\r\nimport useRouter from 'hooks/use-router'\r\nimport { SectionError } from 'theme/error'\r\nimport { LiError, TextError, TitleError, IconError } from 'components/generic-error/components/style/text'\r\nimport { Link } from 'react-router-dom'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\n\r\ntype IFunctionRetry = (code: number | string | null) => void\r\n\r\nexport const ContainerError = ({ children, handleMenu }: { children: JSX.Element, handleMenu: () => void }) => {\r\n const [shouldUseWhiteBg] = useState(useBg)\r\n useMainClass('error')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: !CONFIGS?.error?.dontUseSecondBg\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, 200)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n\r\n return (\r\n
\r\n \r\n
\r\n {children}\r\n
\r\n
\r\n )\r\n}\r\n\r\nfunction ErrorView({ code, onRetry, buttonMenu, onSubRetry }: { code: number | string | null, onRetry?: IFunctionRetry, onSubRetry?: IFunctionRetry, buttonMenu?: IFunctionRetry }) {\r\n const { title, description, button, subButton } = { title: prettyError(code), description: prettyErrorDescription(code), button: prettyErrorButton(code), subButton: prettyErrorSubButton(code) }\r\n const { history } = useRouter()\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n const handleMenu = () => {\r\n if (buttonMenu) buttonMenu(code)\r\n }\r\n\r\n const handleButton = () => {\r\n if (onRetry) onRetry(code)\r\n }\r\n\r\n const handleRetry = () => {\r\n if (title === 'Ha ocurrido un error') return history.push('/help')\r\n return handleButton()\r\n }\r\n\r\n const handleSubRetry = () => {\r\n if (onSubRetry) onSubRetry(code)\r\n }\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function ErrorListView({ code, list, buttonMenu }: { list: string[], code: number | string | null, onRetry?: IFunctionRetry, buttonMenu?: IFunctionRetry }) {\r\n const { title, description } = { title: prettyError(code), description: prettyErrorDescription(code) }\r\n\r\n const handleMenu = () => {\r\n if (buttonMenu) buttonMenu(code)\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 \r\n {title}\r\n {description}\r\n
\r\n
    \r\n {\r\n list?.map((item: string, index) => (\r\n {item}\r\n ))\r\n }\r\n
\r\n
\r\n
\r\n
\r\n {textServices.findByText('error/notLikeThat/title', { es: '¿Te parece que no es asi?', en: 'Do you think it is not so?' })}\r\n {textServices.findByText('error/notLikeThat/description', { es: <>Ponte en contacto con nosotros para que podamos ayudarte. Mándanos un mensaje, en: <>Please contact us so we can help you. Message us })}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default ErrorView;","import {\r\n AUTH,\r\n GENRES,\r\n CHECK_ZIP,\r\n DO_RESET,\r\n OTP_GENERATE,\r\n OTP_VALIDATE,\r\n OTP_VALIDATE_EMAIL,\r\n SEND_EMAILVERIFY,\r\n SEND_RESET,\r\n UPDATE_ADDRESS,\r\n VERIFY_RESET,\r\n UPDATE_USER,\r\n POST_REFERRAL,\r\n PUT_CONTACT,\r\n SOCIAL_LOGIN,\r\n VERIFY_NICKNAME,\r\n VERIFY_REFERRALCODE,\r\n INSTAGRAM,\r\n PUT_AUTH_INSTAGRAM,\r\n UPDATE_CONSUMPTION,\r\n GET_MOVEMENTS,\r\n GET_MOVEMENTS_DETAILS,\r\n UPDATE_PHONE,\r\n UPDATE_NICKNAME\r\n} from 'constants/api'\r\nimport axios from 'axios'\r\nimport textServices from './text-services'\r\n\r\nconst ProfileService = {\r\n signUp(data) {\r\n return axios.post(\r\n AUTH,\r\n { ...data, utm: data.utm, lang: textServices.language },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n postReferral(data) {\r\n return axios.post(\r\n POST_REFERRAL,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${(data.credentials?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n socialLogin(data) {\r\n return axios.post(\r\n SOCIAL_LOGIN,\r\n { ...data.payload },\r\n { headers: { Authorization: `Bearer ${(data.credentials?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n signInWithEmailAndPassword(data) {\r\n return axios.post(\r\n AUTH,\r\n { isLogin: true, utm: data?.utm, lang: textServices.language },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n resendEmailVerify(params) {\r\n return axios.get(SEND_EMAILVERIFY, { params, headers: { 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n recoverPassword(params) {\r\n return axios.get(SEND_RESET, { params, headers: { 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n doReset(data) {\r\n return axios.put(DO_RESET, { ...data })\r\n },\r\n\r\n verifyReset(data) {\r\n return axios.post(VERIFY_RESET, data, { headers: { 'Content-Type': 'application/json', 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n checkZip(params, data) {\r\n return axios.get(CHECK_ZIP, {\r\n params,\r\n headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n updateAddres(data) {\r\n return axios.post(\r\n UPDATE_ADDRESS,\r\n { ...data.address },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpGenerate(data) {\r\n return axios.post(\r\n OTP_GENERATE,\r\n { phone: data.phone, recaptchaToken: data.recaptchaToken },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpVerifyPhone(data) {\r\n return axios.post(\r\n OTP_VALIDATE,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpVerifyEmail(data) {\r\n return axios.post(\r\n OTP_VALIDATE_EMAIL,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n \r\n otpVerifyEmailWithAccessToken(code: string, accessToken: string) {\r\n return axios.post(\r\n OTP_VALIDATE_EMAIL,\r\n { code },\r\n { headers: { Authorization: `Bearer ${accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n }, \r\n\r\n genres() {\r\n return axios.get(GENRES)\r\n },\r\n\r\n updateProfile(data) {\r\n return axios.put(\r\n UPDATE_USER,\r\n { ...data.user },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n updateProfileContact(data) {\r\n return axios.put(\r\n PUT_CONTACT,\r\n { ...data.user },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n validateNickName(data) {\r\n return axios.post(VERIFY_NICKNAME, { nickname: data })\r\n },\r\n\r\n validateReferralCode(data) {\r\n return axios.post(VERIFY_REFERRALCODE, { code: data })\r\n },\r\n\r\n instagram(instagram: string, session: any) {\r\n return axios.put(INSTAGRAM, { instagram }, {headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }})\r\n },\r\n\r\n authInstagram(code: string, session: any) {\r\n return axios.put(PUT_AUTH_INSTAGRAM, { code }, {headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1}})\r\n },\r\n\r\n updateConsumption(data) {\r\n return axios.put(\r\n `${UPDATE_CONSUMPTION}/${data.consumptionId}`,\r\n {},\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n getMovements(data) {\r\n return axios.get(\r\n GET_MOVEMENTS,\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n getMovementsDetails(data) {\r\n return axios.get(\r\n GET_MOVEMENTS_DETAILS.replace(':categoryId', data.categoryId),\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n updatePhone(data) {\r\n return axios.put(\r\n UPDATE_PHONE.replace(':phone', data.phoneNumber),\r\n { },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n updateNickname(data) {\r\n return axios.put(\r\n UPDATE_NICKNAME.replace(':nickname', data.nickName),\r\n { },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n }\r\n}\r\n\r\nexport default ProfileService\r\n","import { ButtonMenu, SpanMenu } from 'theme/header'\r\n\r\ninterface IProps {\r\n paramFn: () => void\r\n bgTransparent?: boolean\r\n open?: boolean\r\n}\r\n\r\nconst ButtonCloseMenu = ({ paramFn = () => null, bgTransparent = false, open = false }: IProps) => {\r\n const bg = bgTransparent ? { backgroundColor: `${bgTransparent ? 'transparent' : ''}` } : {}\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonCloseMenu\r\n","import { FunctionComponent } from 'react'\r\nimport modules from 'build/modules'\r\nimport CONFIGS from 'build/Config'\r\nimport images from '../../images.json'\r\nimport { LoadingDiv, Logo, Spinner, TextLoading } from '../../theme/loading'\r\n\r\nconst LoadingScreen: FunctionComponent = () => {\r\n\r\n const theme = modules?.json as any\r\n\r\n if (CONFIGS?.loaderPulse) {\r\n return (\r\n \r\n
\r\n
\r\n {\r\n !theme?.loading?.config?.circlePulse && (\r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n
\r\n
\r\n )\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n {!theme?.loading.config.hideSpinningLogo && (\r\n \r\n )}\r\n {\r\n theme?.loading?.config?.useText && (\r\n Cargando ...\r\n )\r\n }\r\n
\r\n )\r\n}\r\nexport default LoadingScreen\r\n","import React, { forwardRef, HTMLProps, ForwardRefRenderFunction, useRef, useEffect } from 'react'\r\nimport mergeRefs from 'merge-refs'\r\nimport { InputST } from '../../theme/theme'\r\n\r\nexport type InputProps = HTMLProps & { variant?: boolean }\r\n\r\nconst Input: ForwardRefRenderFunction = (\r\n { className = '', variant, type, name, ...props },\r\n ref\r\n) => {\r\n // @ts-ignore\r\n const innerRef = useRef(null)\r\n\r\n useEffect(() => {\r\n if (innerRef.current && (type === 'tel' || type === 'number')) {\r\n innerRef.current.oninput = function () {\r\n // @ts-ignore\r\n this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1')\r\n }\r\n }\r\n\r\n return () => {\r\n if (innerRef.current) {\r\n // @ts-ignore\r\n innerRef.current.oninput = undefined\r\n }\r\n }\r\n }, [type, name])\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nconst InputWithRef = forwardRef(Input)\r\n\r\nexport default InputWithRef\r\n","/* eslint-disable indent */\r\nimport { BIRTHDAY, EMAIL_REGEXP, PHONE_REGEXP } from 'constants/regexp'\r\nimport { dlTrackError } from 'components/dataLayer/dataLayer'\r\nimport * as yup from 'yup'\r\nimport { RequiredStringSchema } from 'yup/lib/string'\r\nimport { AnyObject } from 'yup/lib/types'\r\nimport CONFIGS from 'build/Config'\r\nimport { IFields } from 'build/types/configs'\r\nimport textServices from './text-services'\r\n\r\nyup.setLocale({\r\n mixed: {\r\n default: textServices.findByText('formBuilder/mixed/default', { es: 'El campo no es válido', en: 'The field is not valid' }),\r\n required: textServices.findByText('formBuilder/mixed/required', { es: 'El campo no puede estar vacío', en: 'The field cannot be empty' })\r\n },\r\n string: {\r\n email: textServices.findByText('formBuilder/string/email', { es: 'El email no es válido', en: 'The email is not valid' }),\r\n min: ({ min }) => textServices.findByText('formBuilder/string/min', { es: `Debe contener al menos ${min} caracteres`, en: `Must contain at least ${min} characters` }),\r\n max: ({ max }) => textServices.findByText('formBuilder/string/max', { es: `Debe contener como máximo ${max} caracteres`, en: `Must contain at most ${max} characters` }),\r\n length: ({ length }) => textServices.findByText('formBuilder/string/length', { es: `El campo debe contener una longitud de ${length}`, en: `The field must be ${length} characters long` }),\r\n url: textServices.findByText('formBuilder/string/url', { es: 'La URL no es válida', en: 'The URL is not valid' }),\r\n lowercase: textServices.findByText('formBuilder/string/lowercase', { es: 'El campo solo puede estar en minúsculas', en: 'The field must be in lowercase' }),\r\n uppercase: textServices.findByText('formBuilder/string/uppercase', { es: 'El campo solo puede estar en mayúsculas', en: 'The field must be in uppercase' })\r\n },\r\n number: {\r\n min: ({ min }) => textServices.findByText('formBuilder/number/min', { es: `Debe ser mayor o igual a ${min}`, en: `Must be greater than or equal to ${min}` }),\r\n max: ({ max }) => textServices.findByText('formBuilder/number/max', { es: `Debe ser menor o igual a ${max}`, en: `Must be less than or equal to ${max}` }),\r\n lessThan: ({ less }) => textServices.findByText('formBuilder/number/lessThan', { es: `Debe ser menor a ${less}`, en: `Must be less than ${less}` }),\r\n moreThan: ({ more }) => textServices.findByText('formBuilder/number/moreThan', { es: `Debe ser mayor a ${more}`, en: `Must be greater than ${more}` }),\r\n positive: textServices.findByText('formBuilder/number/positive', { es: 'Debe ser un valor positivo', en: 'Must be a positive value' }),\r\n negative: textServices.findByText('formBuilder/number/negative', { es: 'Debe ser un valor negativo', en: 'Must be a negative value' }),\r\n integer: textServices.findByText('formBuilder/number/integer', { es: 'Debe ser un valor entero', en: 'Must be an integer' })\r\n },\r\n date: {\r\n min: textServices.findByText('formBuilder/date/min', { es: 'Tiene que ser mayor', en: 'Must be later' }),\r\n max: textServices.findByText('formBuilder/date/max', { es: 'Tiene que ser menor', en: 'Must be earlier' })\r\n }\r\n})\r\n\r\nconst yupRequired = (name: string, yup: RequiredStringSchema) => {\r\n if (!CONFIGS.notAvailableFields?.includes(name as IFields)) {\r\n return yup.required()\r\n }\r\n return yup\r\n}\r\n\r\nconst yupWhen = (schemaWhen) => {\r\n return (value: any, schema) => {\r\n if (value === '') return\r\n return schema.concat(schemaWhen)\r\n }\r\n}\r\n\r\nconst formServices = {\r\n\r\n formBuilder(schema: any, value: string | number, name: string, type: any) {\r\n\r\n if (type === 'number' && value === '') {\r\n return 'El campo no puede estar vacío'\r\n }\r\n\r\n const formSchema = yup.object().shape({\r\n [name]: schema\r\n })\r\n const response = formSchema.validate({ [name]: value }).catch((err) => {\r\n return err.errors[0]\r\n })\r\n return response\r\n\r\n },\r\n\r\n formSelectYup(name: string) {\r\n switch (name) {\r\n case 'textcard':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(5).max(60))))\r\n case 'titleHistory':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(2).max(80))))\r\n case 'textHistory':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(30).max(280))))\r\n case 'firstName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/firstName/matches', { es: 'El nombre debe ser alfabético', en: 'The name must be alphabetic' })).min(2).max(30))))\r\n case 'lastName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/lastName/matches', { es: 'El apellido debe ser alfabético', en: 'The last name must be alphabetic' })).min(2).max(30))))\r\n case 'nickName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ-Z0-9-ñÑ\\u00E0-\\u00FC]*$/, textServices.findByText('formBuilder/nickName/matches', { es: 'El apodo debe ser alfanumérico (sin espacios)', en: 'The nickname must be alphanumeric (no spaces)' })).min(2).max(30))))\r\n // return yup.string().trim().required().matches(/^[aA-zZ-Z0-9-ñÑ\\u00E0-\\u00FC]*$/, 'El apodo debe ser alfanumérico (sin espacios)').min(2).max(30)\r\n case 'email':\r\n return yupRequired(name, yup.string().email().when(yupWhen(yup.string().matches(EMAIL_REGEXP, textServices.findByText('formBuilder/email/matches', { es: 'El email no es válido', en: 'The email is not valid' })))))\r\n // return yup.string().email().required().matches(EMAIL_REGEXP, 'El email no es válido')\r\n case 'contactMail':\r\n return yupRequired(name, yup.string().email().when(yupWhen(yup.string().matches(EMAIL_REGEXP, textServices.findByText('formBuilder/contactMail/matches', { es: 'El email no es válido', en: 'The email is not valid' })))))\r\n // return yup.string().email().required().matches(EMAIL_REGEXP, 'El email no es válido')\r\n case 'password':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(6))))\r\n // return yup.string().required().min(6)\r\n case 'password_confirm':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().oneOf([yup.ref('password'), null], textServices.findByText('formBuilder/password/oneOf', { es: 'Las contraseñas no coinciden', en: 'Passwords do not match' })))))\r\n // return yup.string().required().oneOf([yup.ref('password'), null], 'Las contraseñas no coinciden')\r\n case 'curp':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(17).max(18).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/curp/matches', { es: 'El CURP debe ser alfanumérico', en: 'The CURP must be alphanumeric' })))))\r\n // return yup.string().min(17).max(18).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'El CURP debe ser alfanumérico').required()\r\n case 'street1':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/street1/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'streetType':\r\n return yupRequired(name, yup.string().nullable().when(yupWhen(yup.string())))\r\n // return yup.string().nullable().trim().required('Debe seleccionar una opción')\r\n case 'postalCode':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(4).max(5).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/postalCode/matches', { es: 'El código postal debe ser numérico', en: 'The postal code must be numeric' })))))\r\n // return yup.string().trim().required().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'birthday':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(BIRTHDAY, textServices.findByText('formBuilder/birthday/matches', { es: 'La fecha debe ser válida', en: 'The date must be valid' })).min(10, textServices.findByText('formBuilder/birthday/matches', { es: 'La fecha debe ser válida', en: 'The date must be valid' })))))\r\n // return yup.string().trim().required().matches(BIRTHDAY, 'La fecha debe ser válida').min(10, 'La fecha debe ser válida')\r\n case 'streetNumber':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/streetNumber/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().min(2).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'neighborhood':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/neighborhood/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'phoneNumber':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(PHONE_REGEXP, textServices.findByText('formBuilder/phoneNumber/matches', { es: 'El teléfono debe contener 10 números', en: 'The phone number must contain 10 digits' })))))\r\n // return yup.string().trim().required().matches(PHONE_REGEXP, 'El celular debe contener 10 números')\r\n case 'otp':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(6, textServices.findByText('formBuilder/otp/min', { es: 'OTP Incorrecto', en: 'Incorrect OTP' })).max(6, textServices.findByText('formBuilder/otp/min', { es: 'OTP Incorrecto', en: 'Incorrect OTP' })))))\r\n // return yup.string().required().min(6, 'OTP Incorrecto').max(6, 'OTP Incorrecto')\r\n case 'genreId':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string())))\r\n case 'termsOfUse':\r\n return yup.boolean().required().isTrue('Es requerido este campo')\r\n case 'privacyPolicy':\r\n return yup.boolean().required().isTrue('Es requerido este campo')\r\n // return yup.string().required()\r\n case 'instagram':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().max(20, 'El nombre de usuario debe ser menor a 20 caracteres'))))\r\n case 'sign':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().max(10, textServices.findByText('formBuilder/sign/max', { es: 'La firma tiene que ser menor a 10 caracteres', en: 'The signature must be less than 10 characters' })))))\r\n case 'clientNum':\r\n return yupRequired(name, yup.string().trim().matches(/^[a-zA-Z0-9]{9}$/, 'El número de cliente debe contener solo letras y números').when(yupWhen(yup.string().max(9, 'El número de cliente es de 9 digitos').min(9, 'El número de cliente tiene minimo 9 digitos'))))\r\n case 'groupName':\r\n return yupRequired(name, yup.string().trim())\r\n case 'clusterId':\r\n return yupRequired(name, yup.string().trim())\r\n case 'groupFile':\r\n return yup.mixed().required()\r\n case 'groupImage':\r\n return yupRequired(name, yup.string().trim())\r\n default:\r\n return null\r\n }\r\n },\r\n\r\n formGenerateSchema(names: string[]) {\r\n const object = {}\r\n names.forEach((name) => {\r\n object[name] = this.formSelectYup(name)\r\n })\r\n\r\n return yup.object().shape({\r\n ...object\r\n })\r\n },\r\n\r\n formValidateErrors(yupResolver: any, section: string, errorType: string ) {\r\n return async (data: any, context: any, options: any) => {\r\n const resolver = await yupResolver(data, context, options) as any;\r\n if (resolver?.errors) {\r\n for (const key in resolver?.errors) {\r\n if (Object.prototype.hasOwnProperty.call(resolver?.errors, key)) {\r\n const element = resolver?.errors[key];\r\n dlTrackError({\r\n error_type: errorType,\r\n error_code: key,\r\n error_message: element?.message,\r\n section: section\r\n })\r\n }\r\n }\r\n }\r\n return resolver;\r\n }\r\n }\r\n\r\n}\r\n\r\nexport default formServices\r\n","import Button from \"components/button\"\r\nimport styled from 'styled-components'\r\nimport { Type, HeaderType } from '../types'\r\nexport const HeaderST = styled.header.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${(props: HeaderType) => props.open ? props.theme?.header?.headerBackground : props?.theme?.header?.headerBackgroundClose};\r\n`\r\n\r\nexport const ButtonMenu = styled.button.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${(props: HeaderType) => props.open ? props.theme?.header?.buttonOpen : props.theme?.header?.button};\r\n`\r\n\r\nexport const SpanMenu = styled.span.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${({ theme, open }: HeaderType) => open ? theme?.header?.spansButtonVariation : theme?.header?.spansButton};\r\n`\r\n\r\nexport const SpanMenuAlternative = styled.span.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${({ theme, open }: HeaderType) => open ? theme?.header?.spansButtonVariation : theme?.header?.spansButtonSecondary};\r\n`\r\n\r\nexport const Menu = styled.div`\r\n top: 2.95rem;\r\n background-color: ${({ theme }: Type) => theme?.header?.menuBackground};\r\n color: ${({ theme }: Type) => theme?.header?.menuText};\r\n ${({ theme }: Type) => `\r\n ${theme?.header?.useTexture && `background:\r\n ${!theme?.header?.dontUseTextureBg ? `url(${AZURE_BASE_URL}/textura.${theme?.loading?.config?.bgTexture || 'svg'}), ` : ''}\r\n url(${AZURE_BASE_URL}/logo-outline-menu.svg) no-repeat right center, ${theme?.header?.menuBackground};\r\n `}\r\n `};\r\n ${({ theme }: Type) => theme?.header?.backgroundRest};\r\n`\r\n\r\n\r\nexport const Logo = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.logo};\r\n padding: ${(props: Type) => props.theme?.header?.paddingLogo};\r\n`\r\n\r\nexport const Points = styled.p`\r\n color: ${({ theme }: Type) => theme?.header?.points};\r\n`\r\n\r\nexport const ModalMessage = styled.h1`\r\n ${({ theme }: Type) => theme?.trivias?.modalMessage};\r\n`\r\n\r\nexport const ModalDescription = styled.h1`\r\n ${({ theme }: Type) => theme?.trivias?.modalDescription};\r\n`\r\n\r\nexport const ModalCancel = styled.button`\r\n ${({ theme }: Type) => theme?.trivias?.modalCancel};\r\n`\r\nexport const ModalCancelP = styled.p`\r\n ${({ theme }: Type) => theme?.trivias?.modalCancelP};\r\n`\r\n\r\nexport const PointTextStyle = styled.p`\r\n ${({ theme }: Type) => theme?.header?.pointText};\r\n`\r\n\r\nexport const ButtonModalAccept = styled(Button)`\r\n ${({ theme }: Type) => theme?.trivias?.buttonModalAccept};\r\n`\r\n\r\nexport const ButtonModalAcceptP = styled.p`\r\n ${({ theme }: Type) => theme?.trivias?.buttonModalAcceptP};\r\n`\r\n\r\nexport const ImgMenu = styled.img`\r\n ${({ theme }: Type) => theme?.header?.ImgMenu};\r\n`","/* eslint-disable no-extra-boolean-cast */\r\nimport { useState } from \"react\";\r\n\r\nfunction useLocalStorage(key: string, initialValue?: T) {\r\n\r\n const [storedValue, setStoredValue] = useState(() => {\r\n if (typeof window === \"undefined\") {\r\n return initialValue;\r\n }\r\n try {\r\n // Get from local storage by key\r\n const item = window.localStorage.getItem(key);\r\n // Parse stored json or if none return initialValue\r\n return !!item && item !== 'undefined' ? JSON.parse(item) : initialValue;\r\n } catch (error) {\r\n // If error also return initialValue\r\n console.log(error);\r\n return initialValue;\r\n }\r\n });\r\n // Return a wrapped version of useState's setter function that ...\r\n // ... persists the new value to localStorage.\r\n const setValue = (value: T | ((val: T) => T)) => {\r\n try {\r\n // Allow value to be a function so we have same API as useState\r\n const valueToStore =\r\n value instanceof Function ? value(storedValue) : value;\r\n // Save state\r\n setStoredValue(valueToStore);\r\n // Save to local storage\r\n if (typeof window !== \"undefined\") {\r\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n };\r\n\r\n // Remove value in useState and localStorage\r\n const removeValue = () => {\r\n try {\r\n if (typeof window !== \"undefined\") {\r\n setStoredValue(null)\r\n window.localStorage.removeItem(key);\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n const recheckValue = () => {\r\n if (typeof window === \"undefined\") {\r\n return initialValue;\r\n }\r\n try {\r\n // Get from local storage by key\r\n const item = window.localStorage.getItem(key);\r\n // Parse stored json or if none return initialValue\r\n return item ? JSON.parse(item) : initialValue;\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n return [storedValue, setValue, removeValue, recheckValue] as const;\r\n}\r\n\r\nexport default useLocalStorage;","import styled from 'styled-components'\r\nimport { useState } from 'react'\r\nimport { Type, ProfileSelectedType, ButtonPrefPickerType } from 'theme/types'\r\nimport { Link } from 'react-router-dom'\r\n\r\nexport const BorderButtonProfile = styled.button.attrs((props: ProfileSelectedType) => ({\r\n selected: props.selected,\r\n theme: props.theme,\r\n ...props\r\n}))`\r\n border-color: ${(props: ProfileSelectedType) => props.selected && props.theme?.profile?.borderNavSelect};\r\n`\r\n\r\nexport const ButtonHelperProfile = styled.div`\r\n background-color: ${(props: Type) => props.theme?.profile?.bgNavHelper};\r\n`\r\n\r\nexport const DivProfileTitle = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.title?.div}\r\n`\r\n\r\nexport const PProfileTitle = styled.p`\r\n ${({ theme }: Type) => theme?.profile?.title?.p}\r\n`\r\n\r\nexport const LiStateAccount = styled.li`\r\n border-color: ${(props: Type) => props.theme?.profile?.borderStateAccount};\r\n`\r\n\r\nexport const DivStateAccount = styled.div`\r\n background-color: ${(props: Type) => props.theme?.profile?.backgroundStateAccount};\r\n`\r\n\r\nexport const PStateAccount = styled.p`\r\n color: ${(props: Type) => props.theme?.profile?.colorTextTitleStateAccount};\r\n ${(props: Type) => props.theme?.profile?.colorTextTitleStateAccountRest}\r\n`\r\n\r\nexport const TextStateAccount = styled.p`\r\n ${(props: Type) => props.theme?.profile?.textStateAccount};\r\n`\r\n\r\nexport const SectionProfileText = styled.section`\r\n color: ${(props: Type) => props.theme?.profile?.textProfile};\r\n`\r\n\r\nexport const Crown = styled.div`\r\n border: ${(props: Type) => props.theme?.congrats?.genericBackground && `4px solid ${props.theme?.profile?.crownBg}`};\r\n border-radius: ${(props: Type) => props.theme?.congrats?.genericBackground && '50%'};\r\n background-image: ${(props: Type) =>\r\n !props.theme?.congrats?.genericBackground && `url(${AZURE_BASE_URL}/canjes.svg)`};\r\n`\r\n\r\nexport const ButtonPrefPicker = styled.button.attrs((props: ButtonPrefPickerType) => ({\r\n isProfile: props.isProfile,\r\n active: props.active,\r\n state: props.state,\r\n key: props.state,\r\n category: props.category,\r\n theme: props.theme,\r\n ...props\r\n}))`\r\n height: 3.5rem;\r\n border-width: 1px;\r\n border-color: ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.borderButtonSelectProfile : props.theme?.profile?.borderButtonProfile};\r\n color: ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.textButtonSelectProfile : props.theme?.profile?.textButtonProfile};\r\n border-radius: ${(props: Type) => props.theme?.profile?.borderRadiusButton};\r\n font-weight: 700;\r\n padding-left: 1.5rem;\r\n padding-right: 1.5rem;\r\n text-transform: uppercase;\r\n background-color: ${(props: ButtonPrefPickerType) =>\r\n props.active && props.theme?.profile?.backgroundButtonSelectProfile};\r\n ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.buttonSelectActive : props.theme?.profile?.buttonSelectInactive};\r\n`\r\n\r\nexport const ButtonPref = ({ handleOnClick, isProfile, state, category, key, datainterestid, children }: any) => {\r\n const [active, setActive] = useState(!!(isProfile && state.interests.includes(category.id)))\r\n\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INTERESES - Seleccionar interes',\r\n value: '10'\r\n })\r\n handleOnClick(event)\r\n setActive(!active)\r\n }}\r\n isProfile={isProfile}\r\n state={state}\r\n category={category}\r\n data-interest-id={datainterestid}\r\n key={key}\r\n active={active}\r\n className={`pick-preference-button ${active ? 'pick-preference-button-active' : ''}`}\r\n >\r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const CrownState = styled.div`\r\n border: ${(props: Type) =>\r\n props.theme?.congrats?.genericBackground && `4px solid ${props.theme?.profile?.crownState}`};\r\n border-radius: ${(props: Type) => props.theme?.congrats?.genericBackground && '50%'};\r\n background-image: ${(props: Type) =>\r\n !props.theme?.congrats?.genericBackground && `url(${AZURE_BASE_URL}/canjes.svg)`};\r\n`\r\n\r\nexport const CrownStateText = styled.p`\r\n ${(props: Type) => props.theme?.profile?.crownStateText};\r\n`\r\n\r\n// -- MIS PUNTOS --\r\n\r\nexport const ProfilePointsContainerTotalPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.containerTotalPoints};\r\n`\r\n\r\nexport const ProfilePointsTitleTotalPoints = styled.h2`\r\n ${(props: Type) => props.theme?.profile?.points?.titleTotalPoints};\r\n`\r\n\r\nexport const ProfilePointsTotalPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.totalPoints};\r\n`\r\n\r\nexport const ProfilePointsContainerPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.containerPoints};\r\n`\r\n\r\nexport const ProfilePointsTitlePoints = styled.h3`\r\n ${(props: Type) => props.theme?.profile?.points?.titlePoints};\r\n`\r\n\r\nexport const ProfilePointsPoints = styled(Link)`\r\n ${(props: Type) => props.theme?.profile?.points?.points};\r\n`\r\n\r\n// -- MIS PUNTOS DETALLES --\r\n\r\nexport const ProfileDetailsPointsContainerTotalPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.containerTotalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTitleTotalPoints = styled.h2`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.titleTotalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTotalPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.totalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsContainerPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.containerPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsDatePoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.datePoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTitlePoints = styled.h3`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.titlePoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.points};\r\n`\r\n\r\nexport const ProfileDetailsPointsDescription = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.description};\r\n`\r\n\r\nexport const ProfileDetailsPointsDescriptionPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.descriptionPoints};\r\n`\r\n\r\nexport const TextStateAccountDate = styled.p`\r\n ${(props: Type) => props.theme?.profile?.textStateAccountDate};\r\n`\r\n","import { AxiosError } from \"axios\";\r\nimport { Dispatch } from \"react\";\r\n\r\nexport enum SurveyTypeEnum {\r\n REGISTER = 'Register',\r\n LIBRE = 'Libre',\r\n TRIVIAS = 'Trivias',\r\n TRIVIAQR = 'TriviaQR',\r\n REDEEM = 'Redeem',\r\n PRIZES = 'Prizes', \r\n VOTE = 'Vote',\r\n RALLY = 'Rally',\r\n COLLECTIONS = 'Collections',\r\n SORTEO = 'Sorteo',\r\n SECRETSANTA = 'SecretSanta',\r\n MEMORAMA = 'Memorama'\r\n}\r\n\r\nexport interface Prize {\r\n title: string\r\n points: number\r\n description: any\r\n productId: number\r\n imageUrl: string\r\n stickerId: number\r\n}\r\n\r\nexport interface Option {\r\n optionId: number\r\n option: string\r\n imageUrl?: string,\r\n demandSpaceId: number,\r\n description: string\r\n}\r\n\r\nexport interface Question {\r\n questionId: number;\r\n question: string;\r\n subtitle: string;\r\n type: 'Normal' | 'Dropdown' | 'Checkbox' | 'TextBox' | 'RadioButton';\r\n options: Option[];\r\n amountAwnsers: number;\r\n columns?: number\r\n}\r\n\r\nexport interface Survey {\r\n id: number;\r\n encuestaType: 'Polaris' | 'Normal'\r\n activationType: SurveyTypeEnum,\r\n name: string;\r\n isAnswered: boolean;\r\n redirectUrl: string;\r\n questions: Question[];\r\n optional: boolean;\r\n profilePercentIncluded: boolean;\r\n viewType: 'SinglePage' | 'Steps'\r\n buttonText: string\r\n prize?: Prize\r\n showAt?: Date\r\n}\r\n\r\nexport interface SurveyState {\r\n surveys?: Survey[];\r\n survey?: Survey;\r\n error?: AxiosError,\r\n prize?: Prize,\r\n demandSpace?: DemandSpace\r\n surveyInfo?: SurveyInfo\r\n}\r\n\r\nexport interface SurveyContextProps {\r\n state: SurveyState\r\n dispatch: Dispatch\r\n}\r\n\r\nexport enum SurveyActionEnum {\r\n SET_SURVEYS = 'SET_SURVEYS',\r\n SET_SURVEY = 'SET_SURVEY',\r\n SET_PRIZE = 'SET_PRIZE',\r\n SET_DEMAND_SPACE = 'SET_DEMAND_SPACE',\r\n RESET = 'RESET',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_INFO_SURVEY = 'SET_INFO_SURVEY'\r\n}\r\n\r\nexport type SurveyActionType = SurveyActionEnum.SET_SURVEY | SurveyActionEnum.SET_ERROR | SurveyActionEnum.SET_SURVEYS | SurveyActionEnum.SET_PRIZE | SurveyActionEnum.SET_DEMAND_SPACE | SurveyActionEnum.RESET | SurveyActionEnum.SET_INFO_SURVEY\r\n\r\nexport interface SurveyAction {\r\n type: SurveyActionType\r\n payload: SurveyState | Survey | Survey[] | number | Prize | DemandSpace | AxiosError | SurveyInfo\r\n}\r\n\r\nexport interface SurveyOptions {\r\n autoRedirect?: boolean;\r\n redirect?: string;\r\n}\r\n\r\nexport interface DemandSpace {\r\n id: number,\r\n name: string,\r\n imageUrl: string\r\n videoUrl: string\r\n}\r\n\r\nexport interface SurveyInfo {\r\n buttonText: string\r\n resultUrl: string\r\n}\r\n\r\nexport interface SurveyResponse {\r\n questionId: number,\r\n textValue: string,\r\n optionIds: number[]\r\n}\r\n\r\n","var map = {\n\t\"./lineup-create.json\": [\n\t\t455,\n\t\t51\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 3);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 448;\nmodule.exports = webpackAsyncContext;","import { AxiosError } from 'axios'\r\nimport { TriviaItem } from 'views/trivia/types'\r\n\r\nexport interface TriviaState {\r\n interests: number[]\r\n trivias?: TriviaItem[]\r\n prize?: Prize\r\n congrats?: {\r\n urlRedirect: string\r\n buttonText: string,\r\n buttonText2: string,\r\n urlRedirect2: string,\r\n profileTime: number,\r\n useRanking: boolean\r\n }\r\n currentTrivia?: Trivia\r\n error?: AxiosError\r\n prizesCategory?: { id?: number; name: string }[]\r\n}\r\n\r\nexport interface Prize {\r\n title: string\r\n points: number\r\n description: any\r\n productId: number\r\n imageUrl: string\r\n stickerId: number\r\n}\r\nexport interface TriviaAction {\r\n payload?: any\r\n type: TriviaActionsType\r\n}\r\n\r\nexport enum TriviaActionsType {\r\n RESET = 'RESET',\r\n SET_INTERESTS = 'SET_INTERESTS',\r\n SET_TRIVIAS = 'SET_TRIVIAS',\r\n SET_TRIVIA = 'SET_TRIVIA',\r\n SET_PRIZE = 'SET_PRIZE',\r\n SET_QUESTIONS = 'SET_QUESTIONS',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_PRIZES_CATEGORIES = 'SET_INTEREST_LIST',\r\n SET_CONGRATS = 'SET_CONGRATS'\r\n}\r\n\r\nexport interface Trivia {\r\n id: number\r\n title: string\r\n name: string\r\n description: string\r\n timeInSeconds: number\r\n costInPoints: number\r\n interest: string\r\n prize: string\r\n status: string\r\n validFrom: string\r\n validTo: string\r\n question: Question\r\n directAccess: boolean\r\n triviaUserStatus: number\r\n imageUrl: string\r\n prizeImageUrl: string\r\n}\r\n\r\nexport interface Question {\r\n questionId: number\r\n question: string\r\n options: Option[]\r\n}\r\n\r\nexport interface Option {\r\n optionId: number\r\n option: string\r\n imageUrl: string\r\n}\r\n\r\nconst triviaReducer = (state: TriviaState, action: TriviaAction): TriviaState => {\r\n switch (action.type) {\r\n case TriviaActionsType.SET_INTERESTS:\r\n return { ...state, interests: action.payload }\r\n case TriviaActionsType.SET_TRIVIAS:\r\n return { ...state, trivias: action.payload }\r\n case TriviaActionsType.SET_TRIVIA:\r\n return { ...state, currentTrivia: action.payload }\r\n case TriviaActionsType.SET_QUESTIONS:\r\n return { ...state, currentTrivia: { ...(state.currentTrivia as Trivia), question: action.payload } }\r\n case TriviaActionsType.SET_PRIZE:\r\n return { ...state, prize: action.payload }\r\n case TriviaActionsType.SET_CONGRATS:\r\n return { ...state, congrats: action.payload }\r\n case TriviaActionsType.RESET:\r\n return { ...state, prize: action.payload, currentTrivia: action.payload, error: action.payload }\r\n case TriviaActionsType.SET_ERROR:\r\n return { ...state, error: action.payload }\r\n case TriviaActionsType.SET_PRIZES_CATEGORIES:\r\n return { ...state, prizesCategory: [{ id: undefined, name: 'Todas' }, ...action.payload] }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default triviaReducer\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { TRIVIA_ANSWER, TRIVIA_LIST, TRIVIA_PLAY, TRIVIA_SET_INTEREST, TRIVIA_VALIDATE } from 'constants/api'\r\nimport axios from 'axios'\r\nimport React, { Dispatch, FC, useContext, useReducer, useEffect } from 'react'\r\nimport equals from 'lodash.isequal'\r\nimport { useHistory } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../session-context'\r\nimport reducer, { TriviaAction, TriviaActionsType, TriviaState } from './reducer'\r\nexport interface TriviaReducer {\r\n state: TriviaState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst TriviaContext = React.createContext({} as TriviaReducer)\r\n\r\nconst TriviaProvider: FC = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, {\r\n interests: []\r\n } as TriviaState)\r\n\r\n return {children}\r\n}\r\n\r\nexport const useTrivia = () => {\r\n const history = useHistory()\r\n\r\n const [{ data: session }] = useSession()\r\n const [{ user }, { setUser, setPoints }] = useSession()\r\n\r\n const { state, dispatch } = useContext(TriviaContext)\r\n\r\n useEffect(() => {\r\n if (user) {\r\n const mappedInterests = user?.interests.map(({ id }) => id)\r\n const contentChanged = !equals(mappedInterests, state.interests)\r\n\r\n if (contentChanged) {\r\n dispatch({\r\n type: TriviaActionsType.SET_INTERESTS,\r\n payload: mappedInterests\r\n })\r\n }\r\n }\r\n }, [user])\r\n\r\n const setError = (err: any) => {\r\n dispatch({\r\n type: TriviaActionsType.SET_ERROR,\r\n payload: err\r\n })\r\n }\r\n\r\n const setInterests = async (interests: TriviaState['interests']) => {\r\n try {\r\n const response = await axios.put(TRIVIA_SET_INTEREST, interests, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setUser(response.data)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_INTERESTS,\r\n payload: interests\r\n })\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n const getTrivias = async () => {\r\n try {\r\n const response = await axios.get(TRIVIA_LIST, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: TriviaActionsType.SET_TRIVIAS,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return response.data\r\n } catch (e) {\r\n console.error(e)\r\n }\r\n }\r\n\r\n const validateTrivia = async (triviaId: string | number, isDirectAccess: boolean) => {\r\n try {\r\n const response = await axios.post(\r\n TRIVIA_VALIDATE.replace(':triviaId', triviaId.toString()).replace(':isdirectaccess', isDirectAccess.toString()),\r\n undefined,\r\n {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n }\r\n )\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: TriviaActionsType.SET_TRIVIA,\r\n payload: response.data\r\n })\r\n\r\n return true\r\n }\r\n\r\n return false\r\n } catch (error) {\r\n console.error('validate err', error.response?.data.code)\r\n setError(error.response?.data.code)\r\n throw error\r\n }\r\n }\r\n\r\n const playTrivia = async (triviaId: number | string, isDirectAccess: boolean) => {\r\n try {\r\n const response = await axios.put(\r\n TRIVIA_PLAY.replace(':triviaId', triviaId.toString()).replace(':isdirectaccess', isDirectAccess.toString()),\r\n undefined,\r\n {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n }\r\n )\r\n\r\n if (response.data.question) {\r\n dispatch({\r\n type: TriviaActionsType.SET_QUESTIONS,\r\n payload: response.data.question\r\n })\r\n\r\n return true\r\n }\r\n\r\n if (response.data.prize) {\r\n setPoints(response.data.prize.points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_PRIZE,\r\n payload: response.data.prize\r\n })\r\n\r\n return false\r\n }\r\n } catch (error) {\r\n console.error(error)\r\n throw error\r\n }\r\n }\r\n\r\n const answerTrivia = async (triviaId: number | string, questionId: number | string, optionId: number | string) => {\r\n try {\r\n const response = await axios.put(TRIVIA_ANSWER.replace(':triviaId', triviaId.toString()), { triviaId, questionId, optionId }, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response.data.question) {\r\n dispatch({\r\n type: TriviaActionsType.SET_QUESTIONS,\r\n payload: response.data.question\r\n })\r\n\r\n return true\r\n }\r\n\r\n if (response.data.prize) {\r\n if (response.data?.urlRedirect) {\r\n dispatch({\r\n type: TriviaActionsType.SET_CONGRATS,\r\n payload: {\r\n urlRedirect: response.data?.urlRedirect,\r\n buttonText: response?.data?.buttonText,\r\n urlRedirect2: response?.data?.urlRedirect2,\r\n buttonText2: response?.data?.buttonText2,\r\n profileTime: response?.data?.profileRanking?.time,\r\n useRanking: response?.data?.withRanking\r\n }\r\n })\r\n }\r\n\r\n setPoints(response.data.prize.points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_PRIZE,\r\n payload: response.data.prize\r\n })\r\n\r\n return false\r\n }\r\n\r\n return true\r\n\r\n } catch (error) {\r\n console.error(error)\r\n throw error\r\n }\r\n }\r\n\r\n const resetTrivia = () => {\r\n // setPoints(points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.RESET,\r\n payload: null\r\n })\r\n }\r\n\r\n const exchangePrize = (points: number) => {\r\n history.push(state?.congrats?.urlRedirect ?? textServices.findByText('trivias/exchange/button/url', '/profile/history'))\r\n }\r\n\r\n const methods = { setInterests, getTrivias, validateTrivia, resetTrivia, exchangePrize, setError, playTrivia, answerTrivia }\r\n\r\n const values = [state, methods] as [TriviaState, typeof methods]\r\n\r\n return values\r\n}\r\n\r\nexport default TriviaProvider\r\n","import { SessionProvider } from 'contexts/session-context'\r\nimport { ClientProvider } from 'contexts/client-num-context'\r\nimport TriviaProvider from 'contexts/trivia-context'\r\nimport { SocialProvider } from 'contexts/social-context'\r\nimport { EventsProvider } from 'contexts/events-context'\r\nimport { SurveyProvider } from 'contexts/survey-context/survey.provider'\r\nimport { MainProvider } from 'contexts/main-class-context'\r\nimport { GeneralProvider } from 'contexts/general-context'\r\nimport { GroupsProvider } from 'contexts/groups-context'\r\n\r\nfunction AppProviders({ children }: { children: React.ReactNode }) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {children}\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 AppProviders\r\n","export enum ScopeEnum {\r\n PUBLIC = 'PUBLIC',\r\n PRIVATE = 'PRIVATE',\r\n AUTH = 'AUTH'\r\n}","/* eslint-disable */\r\nimport { Route, Redirect } from 'react-router-dom'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useEffect } from 'react'\r\nimport { ScopeEnum } from 'routes/types'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst GuardedRoute = ({ ...rest }) => {\r\n const [{ user }] = useSession()\r\n const [lState] = useLocalStorage('state', undefined)\r\n const { showAgegate, isMinor } = useAgegate()\r\n const [{ url }] = useRedirect()\r\n const {\r\n query,\r\n pathname\r\n }: {\r\n query: {\r\n referralCode?: string\r\n flowType?: string\r\n utm_campaign?: string\r\n utm_id?: string\r\n utm_content?: string\r\n utm_term?: string\r\n utm_source?: string\r\n utm_medium?: string\r\n url_redirect?: string\r\n internal_redirect?: string\r\n toexternal?: string\r\n }\r\n pathname?: string\r\n } = useRouter()\r\n const [, setRefferal] = useLocalStorage('referralCode', query?.referralCode ?? '')\r\n const [, setFlowType] = useLocalStorage('flowType', query?.flowType ?? '')\r\n const [, setExternal] = useLocalStorage('toexternal', query?.toexternal ?? '')\r\n const [, setUtm] = useLocalStorage(\r\n 'utm',\r\n { utm_campaign: query?.utm_campaign, utm_source: query?.utm_source, utm_medium: query?.utm_medium, utm_id: query?.utm_id, utm_content: query?.utm_content, utm_term: query?.utm_term } ?? ''\r\n )\r\n const encode = encodeURI(pathname)\r\n\r\n useEffect(() => {\r\n if (query?.referralCode) setRefferal(query?.referralCode)\r\n if (query?.toexternal) setExternal(query?.toexternal)\r\n if (query?.flowType) setFlowType(query?.flowType)\r\n if (query?.utm_campaign || query?.utm_medium || query?.utm_source || query?.utm_term || query?.utm_content || query?.utm_id)\r\n setUtm({ utm_campaign: query?.utm_campaign, utm_source: query?.utm_source, utm_medium: query?.utm_medium, utm_id: query?.utm_id, utm_content: query?.utm_content, utm_term: query?.utm_term })\r\n }, [query])\r\n\r\n let isLogged = user !== undefined\r\n // ReCheck session in localstorage\r\n if (!isLogged) {\r\n isLogged = lState !== undefined && !!lState.user\r\n }\r\n\r\n let urlParams = ''\r\n let paramArray = []\r\n const utms = localStorage.getItem('utmAuthSocial')\r\n for (const key in query) {\r\n paramArray.push(`${key}=${query[key]}`)\r\n }\r\n\r\n if (paramArray) urlParams = `?${paramArray.join('&')}`\r\n\r\n if (CONFIGS?.trivia?.showIntroduction && !rest.path.includes('trivia'))\r\n localStorage.setItem('introductionTrivias', 'false')\r\n\r\n if (!showAgegate && rest.path !== '/agegate' && !rest.notAgegate) return \r\n\r\n if (showAgegate && isMinor && rest.path !== '/end') return \r\n\r\n if (isLogged && !user?.consumptionCenter && rest.scope !== ScopeEnum.PUBLIC && CONFIGS?.isWaiter && rest.path !== '/consumption/update') return \r\n\r\n if (isLogged && rest.scope === ScopeEnum.AUTH && rest.path !== '/home') {\r\n if (url && rest.scope !== ScopeEnum.AUTH) return \r\n if (utms) return \r\n return \r\n }\r\n\r\n if (!isLogged && rest.scope === ScopeEnum.PRIVATE && rest.path !== '/start')\r\n return \r\n\r\n return \r\n}\r\n\r\nexport default GuardedRoute\r\n","import { useEffect, useState } from 'react'\r\nimport { Link, useHistory } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport Range from 'components/range'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport textServices from 'services/text-services'\r\nimport { PointsCongrats, SectionCongrats, TextButton3, TextCongrats, TitleCongrats } from 'theme/congrats'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { Crown } from '../../theme/profile'\r\n\r\nconst Congrats = () => {\r\n useMainClass('congrats')\r\n\r\n const [data, setData] = useState(null)\r\n const [range, setRange] = useState<{ level: { id: number; name: string; imageUrl: string } } | null>(null)\r\n const history = useHistory()\r\n const [{ user }, { setPoints }] = useSession()\r\n const [lPrize, , removeLPrize] = useLocalStorage('prize', undefined as any)\r\n const [lSticker, , removeLSticker] = useLocalStorage('sticker', undefined as any)\r\n const [lRange] = useLocalStorage('range', undefined as any)\r\n\r\n useEffect(() => {\r\n if (lRange) {\r\n setRange(lRange)\r\n return history.push('/congrats/range')\r\n }\r\n if (lPrize) {\r\n setData(lPrize)\r\n setPoints(lPrize?.points || 0)\r\n removeLPrize()\r\n } else if (lSticker) {\r\n history.push(`/collections/sticker/redeem/congrats/${lSticker?.collectionId}/${lSticker?.code}`)\r\n removeLSticker()\r\n }\r\n }, [])\r\n\r\n if (range) return \r\n\r\n return (\r\n data && (\r\n \r\n
\r\n \r\n ¡{textServices.findByText('congrats/title', { es: 'Eso ', en: 'Come on ' })}\r\n {user?.firstName}!{' '}\r\n \r\n \r\n {textServices.findByText('congrats/description', { es: `SIGUE JUNTANDO ${POINTS_NAME} y sube en el ranking`, en: `KEEP COLLECTING ${POINTS_NAME} and move up in the rankings` }, { VAR_POINTS: data.points })}\r\n \r\n
\r\n \r\n {data.points}\r\n \r\n
\r\n \r\n \r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'CONGRATS - Ver los Premios',\r\n value: '10'\r\n })\r\n }\r\n >\r\n {textServices.findByText('congrats/button1', { es: 'Quiero ver los premios', en: 'I want to see the prizes' })}\r\n \r\n \r\n history.push(textServices.findByText('congrats/button2Link', \"/redeem\"))}>\r\n \r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'CONGRATS - Ingresar otro Código',\r\n value: '10'\r\n })\r\n }\r\n >\r\n {textServices.findByText('congrats/button2', { es: 'Quiero ingresar otro código', en: 'I want to enter another code' })}\r\n \r\n \r\n {CONFIGS?.congrats?.showButton3 &&\r\n \r\n \r\n {textServices.findByText('congrats/button3', { es: 'QUIERO VER EL RANKING', en: 'I WANT TO SEE THE RANKING' })}\r\n \r\n \r\n }\r\n
\r\n
\r\n )\r\n )\r\n}\r\n\r\nexport default Congrats\r\n","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\nimport Button from 'components/button'\r\n\r\nexport const DivTextHelp = styled.div`\r\n color: ${(props: Type) => props.theme?.help?.textHelp}\r\n`\r\n\r\nexport const DivBgHelp = styled.div`\r\n background-color: ${(props: Type) => props.theme?.help?.backgroundHelp};\r\n ${({ theme }: Type) => theme?.help?.div}\r\n`\r\n\r\nexport const AreaTextHelp = styled.textarea`\r\n color: ${(props: Type) => props.theme?.help?.textHelpArea}\r\n`\r\n\r\nexport const TitleHelp = styled.h1`\r\n ${(props: Type) => props.theme?.help?.titleHelp}\r\n`\r\n\r\nexport const SubtitleHelp = styled.h1`\r\n ${(props: Type) => props.theme?.help?.subtitleHelp}\r\n`\r\n\r\nexport const ContactTitle = styled.h1`\r\n ${(props: Type) => props.theme?.help?.contactTitle}\r\n`\r\n\r\nexport const ContactSubtitle = styled.h1`\r\n ${(props: Type) => props.theme?.help?.contactSubtitle}\r\n`\r\n\r\nexport const CollapsibleStyle = styled.div`\r\n ${(props: Type) => props.theme?.help?.collapsibleStyle}\r\n`\r\n\r\nexport const SectionHelp = styled.section`\r\n ${(props: Type) => props.theme?.help?.sectionHelp}\r\n`\r\n\r\nexport const ButtonHelp = styled(Button)`\r\n ${(props: Type) => props.theme?.help?.buttonHelp}\r\n`\r\n\r\nexport const CollapsibleStyleP = styled.p`\r\n ${(props: Type) => props.theme?.help?.collapsibleStyleP}\r\n`","import { FAQS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Input from 'components/input'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useRef } from 'react'\r\nimport Collapsible from 'react-collapsible'\r\nimport useRouter from 'hooks/use-router'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport {\r\n DivTextHelp,\r\n AreaTextHelp,\r\n DivBgHelp,\r\n TitleHelp,\r\n SubtitleHelp,\r\n ContactTitle,\r\n ContactSubtitle,\r\n CollapsibleStyle,\r\n SectionHelp,\r\n ButtonHelp,\r\n CollapsibleStyleP\r\n} from '../../theme/help'\r\nimport style from './help.module.scss'\r\n\r\nconst Help = () => {\r\n useMainClass('help')\r\n const session = useSession()\r\n const [{ loading: loadingFaqs, error: errorFaqs, data: faqs }] = useAxios({ url: FAQS, headers: { 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n const { history } = useRouter()\r\n const [{ user, data = {} as any }] = session\r\n const { phoneNumber } = user || {}\r\n const [{ response, loading, error }, fetch] = useAxios(\r\n {\r\n method: 'POST',\r\n url: 'https://' + API_BASE_USER_UPDATE + '/promohub/api/v1/profiles/send/contact' + `${!user ? '/anonymous' : ''}`,\r\n headers: { Authorization: `Bearer ${data?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { manual: true }\r\n )\r\n\r\n const nameRef = useRef(null)\r\n const lastnameRef = useRef(null)\r\n const emailRef = useRef(null)\r\n const phoneRef = useRef(null)\r\n const textRef = useRef(null)\r\n\r\n const submitHandler = async (e: any) => {\r\n e.preventDefault()\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HELP - Contactanos', value: '10' })\r\n\r\n const data = {\r\n phoneNumber: phoneRef.current?.value,\r\n message: textRef.current?.value,\r\n name: nameRef.current?.value ?? '',\r\n lastname: lastnameRef.current?.value ?? '',\r\n email: emailRef.current?.value ?? ''\r\n }\r\n\r\n // if (!user) {\r\n\r\n // }\r\n\r\n if (!phoneRef.current?.value) {\r\n alert('se deben completar ambos campos')\r\n }\r\n\r\n if (!textRef.current?.value) {\r\n alert('se deben completar ambos campos')\r\n }\r\n\r\n await fetch({ data })\r\n }\r\n\r\n const messageSuccess = !(error && loading) && !!response\r\n\r\n if (messageSuccess) {\r\n // Cambiar nombre de componente\r\n return history.push('/home')} code={9630} />\r\n }\r\n\r\n if (errorFaqs || error) {\r\n return history.push('/home')} code={9999} />\r\n }\r\n\r\n if (loadingFaqs || loading) {\r\n return \r\n }\r\n\r\n return (\r\n \r\n \r\n {textServices.findByText('help/title', { es: '¿Tienes algún problema?', en: 'Do you have a problem?' })}\r\n \r\n {textServices.findByText(\r\n 'help/subtitle',\r\n { es: 'Revisa primero en nuestras preguntas frecuentes, si no encuentras la respuesta, contáctanos.', en: \"Check first our frequently asked questions, if you don't find the answer, contact us.\" }\r\n )}\r\n \r\n \r\n {faqs.map((faq: any) => (\r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: faq.title,\r\n section: `help`\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 {textServices.findByText('help/title', { es: '¿Más dudas?', en: 'more questions?' })}\r\n \r\n \r\n {textServices.findByText('help/subtitleMessage', { es: 'No te preocupes, déjanos un mensaje para solucionarlo.', en: \"Don't worry, leave us a message to solve it.\" })}\r\n \r\n
\r\n {\r\n !user && (\r\n <>\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu nombre',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu apellido',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu email',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n \r\n )\r\n }\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu telefono',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'tus dudas',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: `help`\r\n })\r\n }}\r\n >\r\n {\r\n dlTrackEvent('form_send', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'faqs',\r\n section: `help`\r\n })\r\n }}\r\n >\r\n {textServices.findByText('help/textArea/button', { es: 'ENVIAR MENSAJE', en: 'SEND MESSAGE' })}\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Help\r\n","import { useEffect, useState } from \"react\";\r\nimport { Step } from \"theme/theme\";\r\n\r\nexport function useCustomForm(initialValues: T) {\r\n const [state, setState] = useState(initialValues)\r\n const [history, setHistory] = useState((initialValues as { step?: number })?.step)\r\n const [stepsArray, setStepsArray] = useState([])\r\n const [htmlSteps, setHtmlSteps] = useState(<>)\r\n\r\n const prevStep = () => {\r\n const { step } = state as any;\r\n setHistory(step - 1)\r\n setState((state) => ({ ...state, step: step - 1 }));\r\n }\r\n\r\n const nextStep = () => {\r\n const { step } = state as any;\r\n setHistory(step + 1)\r\n setState((state) => ({ ...state, step: step + 1 }));\r\n }\r\n\r\n const handleChangeState = (object: T) => {\r\n setState((state) => ({ ...state, ...object }));\r\n }\r\n\r\n const backHistory = () => {\r\n setState((state) => ({ ...state, step: history }))\r\n }\r\n\r\n const setQuantitySteps = (quantity: number) => {\r\n setStepsArray(Array.from(Array(quantity).keys()))\r\n }\r\n\r\n useEffect(() => {\r\n setHtmlSteps(\r\n <>\r\n {\r\n stepsArray.map((item) => (\r\n 0{item + 1}\r\n ))\r\n }\r\n \r\n )\r\n }, [state, stepsArray])\r\n\r\n return { state, handleChangeState, prevStep, nextStep, backHistory, setQuantitySteps, htmlSteps };\r\n}","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { MouseEventHandler, useState, VoidFunctionComponent } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { TextRecovery } from 'views/login/text.style'\r\n\r\nexport interface PasswordRecoveryProps {\r\n shouldEnable: boolean\r\n recoverPassword: MouseEventHandler\r\n mailSent: boolean\r\n}\r\n\r\nconst PasswordRecovery: VoidFunctionComponent = ({\r\n shouldEnable,\r\n recoverPassword,\r\n mailSent\r\n}) => {\r\n if (!shouldEnable) {\r\n return null\r\n }\r\n\r\n const [isDisabled, setIsDisabled] = useState(0)\r\n\r\n const handleOnClick = (event: any) => {\r\n event.preventDefault()\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'olvide mi contraseña',\r\n section: 'login'\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'OLVIDE MI CONTRASEÑA', value: '10' })\r\n if (isDisabled >= 2) return null\r\n setIsDisabled((state) => state + 1)\r\n recoverPassword(event)\r\n }\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default PasswordRecovery\r\n","import { Type } from 'theme/types';\r\nimport styled from 'styled-components';\r\n\r\nexport const ContainerPassword = styled.div`\r\n ${({ theme }: Type) => theme?.inputPassword?.container}\r\n`\r\n\r\nexport const InputPassword = styled.input`\r\n ${({ theme }: Type) => theme?.inputPassword?.input}\r\n`\r\n\r\nexport const IconPassword = styled.div`\r\n ${({ theme }: Type) => theme?.inputPassword?.icon}\r\n`","import { forwardRef, useEffect, useRef, useState } from \"react\"\r\nimport mergeRefs from 'merge-refs'\r\nimport { ContainerPassword, IconPassword, InputPassword } from \"./style/custom.style\"\r\n\r\nfunction PasswordWithRef(props, ref) {\r\n\r\n const [showPassword, setShowPassword] = useState(false)\r\n const [type, setType] = useState('password')\r\n\r\n const innerRef = useRef(null)\r\n\r\n useEffect(() => {\r\n return () => {\r\n if (innerRef.current) {\r\n innerRef.current.oninput = undefined\r\n }\r\n }\r\n }, [type])\r\n\r\n const handleClick = () => {\r\n setShowPassword((state) => !state)\r\n setType((state) => (state === 'password' ? 'text' : 'password'))\r\n }\r\n\r\n return (\r\n \r\n \r\n {!showPassword ?\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\nconst Password = forwardRef(PasswordWithRef)\r\n\r\nexport default Password","import { useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\n\r\nconst BorderBlack = ({ isScanningSuccess }: { isScanningSuccess: boolean }) => {\r\n useEffect(() => {\r\n const footer = document.getElementsByClassName('footer')[0] as HTMLElement\r\n\r\n if (footer) {\r\n footer.style.display = 'none'\r\n\r\n return () => {\r\n footer.style.display = 'flex'\r\n }\r\n }\r\n }, [])\r\n\r\n return (\r\n \r\n {/* Div superior negro */}\r\n \r\n

\r\n {textServices.findByText('signup/referral/scanqr/title', {\r\n es: (\r\n <>\r\n Acerca tu cámara al QR que
aparece en el otro celular para
escanearlo.\r\n \r\n ),\r\n en: (\r\n <>\r\n Bring your camera close to the QR code
displayed on the other device to
scan it.\r\n \r\n )\r\n })}\r\n

\r\n
\r\n\r\n {/* Contenedor central que incluye los lados y la imagen */}\r\n \r\n {/* Div izquierdo negro */}\r\n \r\n\r\n {/* Imagen central */}\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n {/* Div derecho negro */}\r\n \r\n \r\n\r\n {/* Div inferior negro */}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default BorderBlack\r\n","import React, { useRef, useEffect, useCallback, useState } from 'react'\r\nimport Webcam from 'react-webcam'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport jsQR from 'jsqr'\r\nimport BorderBlack from './borderBlack'\r\n\r\nconst ScanQrReferral = ({\r\n toggle,\r\n setScanQrResult\r\n}: {\r\n toggle?: () => void\r\n setScanQrResult: (arg0: string) => void\r\n}) => {\r\n const webcamRef = useRef(null)\r\n const scanningRef = useRef(false)\r\n const [isScanningSuccess, setIsScanningSuccess] = useState(false)\r\n\r\n const extractReferralCode = (url: string): string | null => {\r\n const match = url.match(/referralCode=([A-Za-z0-9]{6})$/)\r\n return match ? match[1] : null\r\n }\r\n\r\n const scanQrFromCamera = useCallback(() => {\r\n const webcam = webcamRef.current\r\n\r\n if (!webcam || scanningRef.current) return\r\n\r\n scanningRef.current = true\r\n\r\n const imageSrc = webcam.getScreenshot()\r\n\r\n if (imageSrc) {\r\n const canvas = document.createElement('canvas')\r\n const context = canvas.getContext('2d')\r\n\r\n const img = new Image()\r\n img.src = imageSrc\r\n\r\n img.onload = () => {\r\n canvas.width = img.width\r\n canvas.height = img.height\r\n context?.drawImage(img, 0, 0, img.width, img.height)\r\n\r\n const imageData = context?.getImageData(0, 0, img.width, img.height)\r\n\r\n if (imageData) {\r\n const qrCode = jsQR(imageData.data, imageData.width, imageData.height)\r\n\r\n if (qrCode?.data) {\r\n const referralCode = extractReferralCode(qrCode.data)\r\n\r\n if (referralCode) {\r\n setScanQrResult(referralCode)\r\n setIsScanningSuccess(true)\r\n setTimeout(() => setIsScanningSuccess(false), 1500)\r\n setTimeout(() => toggle?.(), 700)\r\n }\r\n }\r\n }\r\n scanningRef.current = false\r\n }\r\n } else {\r\n scanningRef.current = false\r\n }\r\n }, [setScanQrResult, toggle])\r\n\r\n useEffect(() => {\r\n const interval = setInterval(() => {\r\n scanQrFromCamera()\r\n }, 1000)\r\n\r\n return () => clearInterval(interval)\r\n }, [scanQrFromCamera])\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 \r\n )\r\n}\r\n\r\nexport default ScanQrReferral\r\n","import { useEffect, useState } from 'react'\r\nimport { StepText, ProgressContainerSteps, ProgressSteps } from 'theme/theme'\r\n\r\nconst Steps = (props: any) => {\r\n\r\n const { state, htmlSteps } = props\r\n const [percentageStep, setPercentageStep] = useState(((state?.step * 100) / htmlSteps?.props?.children?.length) ?? 0)\r\n\r\n useEffect(() => {\r\n if (htmlSteps?.props?.children?.length > 0) {\r\n setPercentageStep((state?.step * 100) / htmlSteps?.props?.children?.length)\r\n }\r\n }, [htmlSteps?.props?.children])\r\n\r\n return (\r\n
\r\n \r\n {state?.step} / {htmlSteps?.props?.children?.length}\r\n \r\n \r\n \r\n
50 ? 'step-ball__active' : 'step-ball__inactive'}`} />\r\n
70 ? 'step-ball-2__active' : 'step-ball-2__inactive'}`} />\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Steps\r\n","import Button from 'components/button'\r\nimport PasswordRecovery from 'components/form-steps/password-recovery'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { TextRecovery, TextResend, TitleRecovery } from 'views/login/text.style'\r\n\r\ninterface IProps {\r\n isSignUp: boolean,\r\n recoverPassword: React.MouseEventHandler\r\n mailSent: boolean,\r\n setMailSent: any\r\n}\r\n\r\nfunction MailSentPassword({ isSignUp, mailSent, recoverPassword, setMailSent }: IProps) {\r\n useMainClass('login__mail-sent-password')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {textServices.findByText('email/title', { es: '¿Olvidaste tu contraseña?', en: 'Forgot your password?' })}\r\n \r\n {textServices.findByText('email/recovery', { es: 'Ya te enviamos el mail con las instrucciones para resetear tu contraseña. Revisa tus correos para poder volver a ingresar.', en: 'We have already sent you the email with the instructions to reset your password. Please check your emails to be able to log in again.' })}\r\n \r\n
\r\n \r\n {textServices.findByText('email/send', { es: '¿No te llegó ningún mail?', en: 'You did not receive any email?' })}\r\n \r\n \r\n {textServices.findByText('email/resend', { es: 'Intentémoslo de nuevo.', en: \"Let's try it again.\" })}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n setMailSent(null)\r\n }}\r\n >\r\n

\r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n

\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default MailSentPassword","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { AxiosError } from 'axios'\r\nimport Button from 'components/button'\r\nimport PasswordRecovery from 'components/form-steps/password-recovery'\r\nimport Input from 'components/input'\r\nimport Password from 'components/password'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AuthError } from 'firebase/auth'\r\nimport { dlTrackError, dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { MouseEventHandler, useContext, useEffect, useState } from 'react'\r\nimport { useForm } from 'react-hook-form'\r\nimport { useLocalStorage } from 'react-use'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, Label, PCheckbox, ReferralInput, ReferralLabel, ErrorInput } from 'theme/theme'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { Link } from 'react-router-dom'\r\nimport ScanQrReferral from 'components/allow-cookies/scanQr'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\nimport MailSentPassword from '../mail-sent-password'\r\n\r\nfunction EmailPassword({\r\n state,\r\n onFormSubmitEndPoint,\r\n isSignUp,\r\n mailSent,\r\n setMailSent,\r\n prevStep,\r\n setError,\r\n htmlSteps,\r\n scanQr,\r\n handleScanQr\r\n}: any) {\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors },\r\n getValues,\r\n setError: setErrorForm,\r\n setValue\r\n } = useForm({\r\n resolver: formServices.formValidateErrors(\r\n yupResolver(formServices.formGenerateSchema(['email', 'password', 'referral'])),\r\n isSignUp ? 'sign up :: step 3' : 'login',\r\n isSignUp ? 'sign up' : 'login'\r\n ),\r\n reValidateMode: 'onSubmit'\r\n })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n\r\n const [scanQrResult, setScanQrResult] = useState('')\r\n const [scanRefresh, setScanRefresh] = useState('')\r\n\r\n const [referralCode] = useLocalStorage('referralCode', '')\r\n\r\n const handleTermsOfUse = () => {\r\n if (!termsOfUse) setErrorForm('termsOfUse', null)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto terminos y condiciones',\r\n section: 'sign up :: step 3'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n if (!privacyPolicy) setErrorForm('privacyPolicy', null)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto condiciones de privacidad',\r\n section: 'sign up :: step 3'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleSubscribe = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto recibir novedades',\r\n section: 'sign up :: step 3'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleSubmitValidate = async (data: any) => {\r\n if (isSignUp) {\r\n if (!termsOfUse) {\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'Debes aceptar los términos y condiciones',\r\n section: 'sign up :: step 3'\r\n })\r\n return setErrorForm('termsOfUse', { type: 'required', message: 'Debes aceptar los términos y condiciones' })\r\n }\r\n\r\n if (!privacyPolicy) {\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'Debes aceptar las condiciones de privacidad',\r\n section: 'sign up :: step 3'\r\n })\r\n return setErrorForm('privacyPolicy', { type: 'required', message: 'Debes aceptar el aviso de privacidad.' })\r\n }\r\n }\r\n\r\n try {\r\n setLoad(true)\r\n if (data.referral) await ProfileService.validateReferralCode(data.referral)\r\n dlTrackEvent('form_send', {\r\n element: isSignUp ? 'Siguiente' : 'Inicia sesión',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_field: 'button',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n await onFormSubmitEndPoint({ ...data, subscribe, termsOfUse, privacyPolicy })\r\n } catch (error) {\r\n const typedError = error as AuthError\r\n if (typedError.code) {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - Referral Code existente',\r\n value: '10'\r\n })\r\n setError(typedError.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const recoverPassword: MouseEventHandler = async (event) => {\r\n event.preventDefault()\r\n if (!getValues('email')) {\r\n return alert(\r\n textServices.findByText('login/recovery/alert', {\r\n es: 'Debes ingresar un correo electrónico',\r\n en: 'You must enter an e-mail address'\r\n })\r\n )\r\n }\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.recoverPassword({ email: mailSent || getValues('email') })\r\n if (response.status === 200) setMailSent(mailSent || getValues('email'))\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n setScanQrResult(scanRefresh)\r\n setValue('referral', scanQrResult, { shouldValidate: true })\r\n setScanRefresh('')\r\n }, [scanRefresh])\r\n\r\n const getReferralCode = () => {\r\n const params = new URLSearchParams(window.location.search)\r\n const referralCodeParams = params.get('referralCode')\r\n console.log(params)\r\n console.log(referralCodeParams)\r\n if (referralCodeParams) {\r\n setValue('referral', referralCodeParams, { shouldValidate: true })\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferralCode()\r\n }, [])\r\n\r\n if (mailSent) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (scanQr) return \r\n\r\n return (\r\n
\r\n {!CONFIGS?.stepsNewVersion && isSignUp && (\r\n
{htmlSteps}
\r\n )}\r\n\r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'email',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'contraseña',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n \r\n {isSignUp && CONFIGS.allowReferral && (\r\n
\r\n \r\n {textServices.findByText('profile/form/information/referral/label', {\r\n es: 'CÓDIGO REFERIDO (OPCIONAL)',\r\n en: 'REFERRAL CODE (OPTIONAL)'\r\n })}\r\n \r\n
\r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'referral',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\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 {CONFIGS?.stepsNewVersion && isSignUp && }\r\n\r\n {isSignUp && (\r\n <>\r\n \r\n \r\n \r\n {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\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 {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\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 {textServices.findByText('signup/suscribe/label', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para\r\n procesar tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido\r\n personalizado. En cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu{' '}\r\n Preference Center o a través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time,\r\n you can manage or withdraw your consent by accessing your Preference Center or through the means\r\n we make available to you in the{' '}\r\n \r\n Privacy Notice\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 dlTrackEvent('user_interaction', {\r\n element: 'help',\r\n section: 'login :: help'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'login :: help',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n {textServices.findByText('signup/needHelp', {\r\n es: '¿Necesitas ayuda? Click aqui',\r\n en: 'Need help? Click here'\r\n })}\r\n \r\n
\r\n \r\n {isSignUp ? (\r\n {\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'volver', section: 'sign up :: step 3' })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n ) : (\r\n {\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'volver', section: 'iniciar sesion' })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INICIAR SESION - Volver atras',\r\n value: '10'\r\n })\r\n history.back()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n )}\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default EmailPassword\r\n","import { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\nimport { useRef } from \"react\"\r\nimport styled from \"styled-components\"\r\nimport { Type } from \"theme/types\"\r\n\r\nconst Input = styled.input`\r\n ${({ theme }: Type) => theme?.inputOtp}\r\n`\r\n\r\nfunction OtpInput({ setValue }: any) {\r\n\r\n const one = useRef(null)\r\n const two = useRef(null)\r\n const tree = useRef(null)\r\n const four = useRef(null)\r\n const five = useRef(null)\r\n const six = useRef(null)\r\n\r\n const inputBlur = () => {\r\n const refs: Record = {\r\n one: one.current,\r\n two: two.current,\r\n tree: tree.current,\r\n four: four.current,\r\n five: five.current,\r\n six: six.current\r\n }\r\n\r\n const valueRefs = `${refs.one?.value}${refs.two?.value}${refs.tree?.value}${refs.four?.value}${refs.five?.value}${refs.six?.value}`\r\n\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'otp',\r\n form_name: 'verifica tu email',\r\n form_action: valueRefs.length === 6 ? 'complete' : 'empty',\r\n section: 'sign up'\r\n })\r\n }\r\n\r\n const inputChange = (e: React.ChangeEvent) => {\r\n const { name, value } = e.target\r\n const refs: Record = {\r\n one: one.current,\r\n two: two.current,\r\n tree: tree.current,\r\n four: four.current,\r\n five: five.current,\r\n six: six.current\r\n }\r\n const valueRefs = `${refs.one?.value}${refs.two?.value}${refs.tree?.value}${refs.four?.value}${refs.five?.value}${refs.six?.value}`\r\n setValue(\"otp\", valueRefs)\r\n if (value.length > 0) {\r\n const index =\r\n name === 'one'\r\n ? 'two'\r\n : name === 'two'\r\n ? 'tree'\r\n : name === 'tree'\r\n ? 'four'\r\n : name === 'four'\r\n ? 'five'\r\n : name === 'five'\r\n ? 'six'\r\n : 'one'\r\n refs[index]?.focus()\r\n }\r\n }\r\n\r\n const inputArr = [\r\n { name: \"one\", ref: one },\r\n { name: \"two\", ref: two },\r\n { name: \"tree\", ref: tree },\r\n { name: \"four\", ref: four },\r\n { name: \"five\", ref: five },\r\n { name: \"six\", ref: six }\r\n ]\r\n\r\n const completeOtpCode = (codeOtp: string) => {\r\n setValue(\"otp\", codeOtp)\r\n const codeOtpArray = codeOtp.split('')\r\n inputArr.forEach(({ ref }, index) => {\r\n ref.current.value = codeOtpArray[index] || ''\r\n })\r\n inputBlur()\r\n }\r\n\r\n return (\r\n
\r\n {inputArr.map(({ name, ref }, index) => {\r\n return event.target.select()}\r\n onChange={inputChange}\r\n onPaste={(event) => index === 0 && completeOtpCode(event.clipboardData.getData('text/plain'))}\r\n className=\"mx-auto uppercase text-center saira input-otp\"\r\n maxLength={1}\r\n key={index}\r\n onBlur={index === 5 ? inputBlur : null}\r\n required\r\n />\r\n })}\r\n
\r\n )\r\n}\r\n\r\nexport default OtpInput","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Title, SubTitle, Text } from \"theme/theme\";\r\n\r\nexport const TitleSignUpWelcome = styled(Title)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.title}\r\n`;\r\n\r\nexport const ColorDiv = styled.div`\r\n ${({theme}: Type) => theme?.signup?.otp?.colorDiv}\r\n`;\r\n\r\nexport const SubTitleSignUpWelcome = styled(SubTitle)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.subtitle}\r\n`\r\n\r\nexport const TextSignUpWelcome = styled(Text)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.text}\r\n`\r\n\r\nexport const TextSecondSignUpWelcome = styled(TextSignUpWelcome)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.textSecondary}\r\n`\r\n\r\nexport const SubTitleSignUpOtp = styled(SubTitle)`\r\n ${({theme}: Type) => theme?.signup?.otp?.text?.subtitle}\r\n`\r\n\r\nexport const TextSignUpOtp = styled(Text)`\r\n ${({theme}: Type) => theme?.signup?.otp?.text?.text}\r\n`\r\nexport const BackBtn = styled.p`\r\n ${({theme}: Type) => theme?.signup?.welcome?.backBtn}\r\n`","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport Button from 'components/button'\r\nimport { ErrorInput } from 'theme/theme'\r\nimport OtpInput from 'components/otp-input'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer';\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from 'services/form-builder-services'\r\nimport useRouter from 'hooks/use-router';\r\nimport textServices from 'services/text-services';\r\nimport useMainClass from 'hooks/use-main-cass';\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useContext, useEffect } from 'react'\r\nimport { SubTitleSignUpOtp, TextSignUpOtp, ColorDiv, BackBtn } from '../styles/custom.style';\r\n\r\ninterface IProps {\r\n email: string;\r\n handleConfirm: (data: any) => void;\r\n}\r\n\r\nfunction Otp({ email = '', handleConfirm }: IProps) {\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n const { handleSubmit, formState: { errors }, setValue } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"otp\"])) })\r\n const { history } = useRouter()\r\n useMainClass('sign-up__welcome__otp')\r\n\r\n const onSubmit = (data) => {\r\n dlTrackEvent('form_send', {\r\n element: 'verificar',\r\n form_name: 'verifica tu email',\r\n section: 'sign up'\r\n })\r\n handleConfirm(data)\r\n }\r\n\r\n useEffect(() => {\r\n setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('signup/welcome/otp/title', { es: 'Ingresa el código de 6 dígitos que recibiste para verificar tu email.', en: 'Enter the 6-digit code you received to verify your email address.' })}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {textServices.findByText('signup/welcome/otp/sendpassword', { es: <>Una contraseña de un solo uso se envió a {email}, en: <>A one-time password was sent to {email} }, { EMAIL: email })}\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 Otp","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TitleEmail = styled(Title)`\r\n ${({ theme }: Type) => theme?.email?.text?.title}\r\n`\r\n\r\nexport const TextEmail = styled(Text)`\r\n ${({ theme }: Type) => theme?.email?.text?.text}\r\n`","import Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport { useLocalStorage } from 'react-use'\r\nimport { TextEmail, TitleEmail } from 'views/mail-verify/text.style'\r\n\r\ninterface IProps {\r\n handleLogin: () => Promise | void\r\n}\r\n\r\nfunction AlreadyParticipate({ handleLogin }: IProps) {\r\n\r\n useMainClass('sign-up__done')\r\n const [, setFlowType] = useLocalStorage('flowType')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n ¡YA ESTÁS PARTICIPANDO!\r\n Felicitaciones has confirmado con éxito tu cuenta. Puedes descargar tu TECATE ID para llevarlo en tu dispositivo. \r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default AlreadyParticipate;","import Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { TextEmail, TitleEmail } from 'views/mail-verify/text.style'\r\nimport AlreadyParticipate from './already-participate'\r\n\r\ninterface IProps {\r\n handleLogin: () => Promise\r\n name: string\r\n}\r\n\r\nfunction Done({ handleLogin, name }: IProps) {\r\n\r\n const [flowType] = useLocalStorage('flowType')\r\n useMainClass('sign-up__done')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n if (flowType === 'alreadyParticipate') return \r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('mail/title', { es: name ? <>Excelente
{name} : <>E-mail validado
con éxito, en: name ? <>Excellent
{name} : <>E-mail validated
successfully }, { name })}
\r\n {textServices.findByText('mail/description', { es: <>Has confirmado con éxito tu cuenta.
Ya puedes ingresar, en: <>You have successfully confirmed your account.
You can now enter })}
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Done","const utmServices = {\r\n utmRead() {\r\n const utm = window.localStorage.getItem('utm')\r\n if (utm) return JSON.parse(utm)\r\n return null\r\n }\r\n}\r\n\r\nexport default utmServices\r\n","import { getAuth, signInWithEmailAndPassword } from 'firebase/auth'\r\nimport { AxiosError } from 'axios'\r\nimport { useHistory } from 'react-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { useCustomForm } from 'hooks/use-custom-form';\r\nimport EmailPassword from 'components/form-information/email-password';\r\nimport ProfileService from 'services/profile-services'\r\nimport useRedirect from 'hooks/use-redirect';\r\nimport Otp from 'views/sign-up/components/otp';\r\nimport { dlSetUserInfo, dlTrackError, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view';\r\nimport Done from 'views/sign-up/components/done'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport utmServices from 'services/utm-services'\r\nimport textServices from 'services/text-services';\r\nimport CONFIGS from 'build/Config'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context';\r\nimport { TitleLogin } from './text.style';\r\n\r\nconst auth = getAuth()\r\n\r\nconst Login = () => {\r\n const history = useHistory()\r\n const [, { setSession, setUser }] = useSession()\r\n const [{ url }, { redirect }] = useRedirect();\r\n const { setLoad } = useContext(LoaderContext)\r\n const { state, handleChangeState } = useCustomForm({ step: 1, email: '', password: '' })\r\n const [mailSent, setMailSent] = useState(null)\r\n const [genericError, setGenericError] = useState(null)\r\n const [done, setDone] = useState(false)\r\n const [credentials, setCredentials] = useState(null)\r\n const [otp, setOtp] = useState(false)\r\n const [flowType] = useLocalStorage('flowType')\r\n const [dataUser, setDataUser] = useState(null)\r\n const [prize, setPrize] = useState(null)\r\n useMainClass('login')\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: genericError !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [genericError])\r\n\r\n const handleMenu = () => {\r\n setGenericError(null)\r\n }\r\n\r\n const handleUser = (user: UserData, credentials: any) => {\r\n dlTrackEvent('login', { method: 'email' })\r\n gtag(\"event\", \"login\", { method: \"Email\" });\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'email')\r\n\r\n setSession(credentials);\r\n setUser(user);\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return history.push('/information/update');\r\n\r\n return history.push('/home')\r\n }\r\n\r\n const handleError = (error: AxiosError) => {\r\n if (error?.isAxiosError) {\r\n const { code: errorCode, message: errorMessage } = error?.response?.data ?? {}\r\n dlTrackError({ error_type: 'login', error_code: { errorCode }, error_message: { errorMessage }, section: 'login' })\r\n return setGenericError(errorCode)\r\n }\r\n\r\n if (error?.code) return setGenericError(error.code)\r\n }\r\n\r\n const handleButton = (code: number) => {\r\n if (code === 50) setOtp(true)\r\n setGenericError(null)\r\n }\r\n\r\n const handleConfirm = async (data) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.otpVerifyEmail({ code: data.otp, credentials })\r\n if (response?.status === 200) {\r\n setDone(true)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setGenericError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleOnSubmit = async ({ email, password }: any) => {\r\n setLoad(true)\r\n try {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'LOGIN - Iniciar sesión', value: 'Email' })\r\n const credentials = await signInWithEmailAndPassword(auth, email, password)\r\n\r\n setCredentials(credentials)\r\n setDataUser({ email, password })\r\n\r\n if (flowType === 'alreadyParticipate' && !done) return setDone(true)\r\n const utm = utmServices.utmRead()\r\n const { data: { profile, prize } } = await ProfileService.signInWithEmailAndPassword({ credentials, utm })\r\n\r\n if (prize) {\r\n setDataUser(profile)\r\n return setPrize(prize)\r\n }\r\n\r\n handleUser(profile, credentials)\r\n } catch (error) {\r\n handleError(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleDone = async () => await handleOnSubmit({ email: dataUser?.email, password: dataUser?.password })\r\n\r\n if (genericError) return \r\n\r\n if (prize) return (\r\n handleUser(dataUser, credentials),\r\n handleButtonCommon: () => handleUser(dataUser, credentials),\r\n handleButtonSticker: () => handleUser(dataUser, credentials),\r\n }}\r\n item={prize}\r\n module=\"login\"\r\n name={dataUser?.firstName}\r\n />\r\n )\r\n\r\n if (done) return \r\n\r\n if (otp) return \r\n\r\n return (\r\n
\r\n {!mailSent && {textServices.findByText('login/title', { es: 'Inicia sesión', en: 'Login' })}}\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Login\r\n","import { VERIFY } from 'constants/api'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport useRouter from 'hooks/use-router'\r\nimport axios, { AxiosError } from 'axios'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport Button from 'components/button'\r\nimport { Link } from 'react-router-dom'\r\nimport ErrorView from 'components/error-view'\r\nimport { TextEmail, TitleEmail } from './text.style'\r\n\r\nconst MailVerify = () => {\r\n const [error, setError] = useState(null)\r\n const { search, history } = useRouter()\r\n const { setLoad, load } = useContext(LoaderContext)\r\n const { push } = useRouter()\r\n const query = new URLSearchParams(search)\r\n const oobCode = query.get('oobCode')?.replace(/&$/i, '').replaceAll(' ', '+')\r\n const nickName = localStorage.getItem('nickName')\r\n\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'VERIFY MAIL - Verificar Email', value: '10' })\r\n\r\n const verifyMail = async () => {\r\n setLoad(true)\r\n try {\r\n const { status } = await axios.post(VERIFY, { oobCode })\r\n console.log(status)\r\n } catch (error) {\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n verifyMail()\r\n }, [oobCode, history])\r\n\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: error !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [error])\r\n\r\n if (load) {\r\n return \r\n }\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'EMAIL - Salir de la pantalla de error', value: '10' })\r\n setError(null)\r\n push('/')\r\n }\r\n\r\n const handleButton = () => {\r\n setError(null)\r\n push('/')\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('mail/title', nickName ? <>Excelente
{nickName} : <>E-mail validado
con éxito, {apodo: nickName})}
\r\n {textServices.findByText('mail/description', <>Has confirmado con éxito tu cuenta.
Ya puedes ingresar)}
\r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default MailVerify\r\n","import styled from \"styled-components\";\r\nimport { Type } from 'theme/types';\r\nimport { Title } from \"theme/theme\";\r\n\r\nexport const TitlePassword = styled(Title)`\r\n ${({ theme }: Type) => theme?.password?.text?.title}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport Button from \"components/button\";\r\nimport Password from \"components/password\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ErrorInput } from \"theme/theme\";\r\nimport { TitlePassword } from \"./text.style\";\r\n\r\nfunction ChangePassword({ state, handleChange, onSubmit }: any) {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"password\", \"password_confirm\"])) })\r\n\r\n function onFormSubmit(data: any) {\r\n handleChange(data)\r\n onSubmit(data.password)\r\n }\r\n\r\n return (\r\n
\r\n {textServices.findByText('password/title', { es: 'Recuperar contraseña', en: 'Password recovery' })}\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\nexport default ChangePassword;","import { AxiosError } from 'axios'\r\nimport ChangePassword from 'components/form-information/password-recovery'\r\nimport { useCustomForm } from 'hooks/use-custom-form'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ProfileService from 'services/profile-services'\r\nimport ErrorView from 'components/error-view'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\n\r\nconst PasswordReset = () => {\r\n const { state, handleChangeState } = useCustomForm({ step: 1, password: '', password_confirm: '' })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [error, setError] = useState(null)\r\n const { push, search } = useRouter()\r\n const query = new URLSearchParams(search)\r\n const oobCode = query.get('oobCode')?.replace(/&$/i, '').replaceAll(' ', '+')\r\n useMainClass('login__password-reset')\r\n useEffect(() => {\r\n setLoad(true)\r\n }, [])\r\n\r\n const verifyReset = async () => {\r\n try {\r\n const response = await ProfileService.verifyReset(JSON.stringify({ oobCode }))\r\n if (response.status === 200) setLoad(false)\r\n else {\r\n alert('enlace inválido')\r\n push('/start')\r\n setLoad(false)\r\n }\r\n } catch (err) {\r\n alert('enlace inválido')\r\n push('/start')\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n verifyReset()\r\n }, [oobCode, history])\r\n\r\n const onSubmit = async (newPassword) => {\r\n setLoad(true)\r\n try {\r\n await ProfileService.doReset({ oobCode, newPassword })\r\n push('/login')\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (error) {\r\n return (\r\n error(null)} onRetry={() => error(null)} />\r\n )\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PasswordReset\r\n","import { lazy, Suspense } from \"react\"\r\nimport { Route } from \"react-router-dom\"\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\"\r\nimport { useSurveyRedirect } from \"contexts/survey-context/useSurvey\"\r\nimport { SurveyTypeEnum } from \"contexts/survey-context/survey.interface\"\r\nimport { PrizesProvider } from \"./context\"\r\nconst Preview = lazy(() => import(\"./preview\"))\r\nconst Congrats = lazy(() => import(\"./congrats\"))\r\nconst Description = lazy(() => import(\"./description\"))\r\nconst ExChange = lazy(() => import(\"./exchange\"))\r\nconst StartPrizes = lazy(() => import(\"./prizes\"))\r\nconst Error = lazy(() => import(\"./error\"))\r\n\r\nconst Prizes = () => {\r\n useSurveyRedirect(SurveyTypeEnum.PRIZES)\r\n\r\n return (\r\n Cargando}>\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 Prizes\r\n","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TextProfile = styled(Title)`\r\n ${( { theme }: Type ) => theme?.profile?.text.text }\r\n`\r\n\r\nexport const TextProfileSecondary = styled(Text)`\r\n ${( { theme }: Type ) => theme?.profile?.text.textSecondary }\r\n`\r\n\r\nexport const TextProfileNav = styled(Text)`\r\n ${( { theme }: Type ) => theme?.profile?.text.textNav }\r\n`\r\n\r\nexport const TextNotFoundHistory = styled(Title)`\r\n ${( { theme }: Type ) => theme?.profile?.text?.textNotFoundHistory }\r\n`\r\n\r\nexport const TextPref = styled.p`\r\n ${( { theme }: Type ) => theme?.profile?.text?.textPref }\r\n`","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { TRIVIA_INTERESTS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { MouseEventHandler, useContext, useEffect } from 'react'\r\nimport { useLocation } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport { useSet } from 'react-use'\r\nimport { TextPref } from 'views/profile/text.style'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { ButtonPref } from '../../theme/profile'\r\n\r\nconst PrefPicker = () => {\r\n const [activeItems, activeItemsSet] = useSet(new Set([]))\r\n const [, { setInterests }] = useTrivia()\r\n const [{ data: session, user }] = useSession()\r\n const location = useLocation()\r\n const [state] = useTrivia()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [{ error, loading, data }] = useAxios<{ id: number; name: string }[]>({\r\n url: TRIVIA_INTERESTS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n const name =\r\n user?.nickName ||\r\n (user?.firstName && user?.firstName.length > 20 ? user?.firstName.substring(0, 17) + '...' : user?.firstName)\r\n\r\n useEffect(() => {\r\n user?.interests.forEach(({ id }) => {\r\n activeItemsSet.add(id)\r\n })\r\n }, [user])\r\n\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n const isProfile = location.pathname.endsWith('/profile/preferences')\r\n\r\n if (error) {\r\n return
error.message
\r\n }\r\n\r\n const handleOnClick: MouseEventHandler = (event) => {\r\n event.persist()\r\n\r\n const { currentTarget } = event\r\n\r\n currentTarget.toggleAttribute('data-selected')\r\n\r\n const id = parseInt(currentTarget.getAttribute('data-interest-id') as string, 10)\r\n\r\n activeItemsSet.toggle(id)\r\n }\r\n\r\n const sendInterest = async () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INTERESES - Guardar mis intereses',\r\n value: '10'\r\n })\r\n setLoad(true)\r\n await setInterests(Array.from(activeItems))\r\n setLoad(false)\r\n }\r\n\r\n if (load) {\r\n return <>\r\n }\r\n\r\n const enableButton = activeItems.size < 3\r\n\r\n return (\r\n
\r\n
\r\n {!!data &&\r\n data.map((category) => {\r\n return (\r\n \r\n {category?.name}\r\n \r\n )\r\n })}\r\n
\r\n
\r\n \r\n

{isProfile ? 'GUARDAR' : 'CONTINUAR'}

\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PrefPicker\r\n","import Button from 'components/button'\r\nimport { useSession } from 'contexts/session-context'\r\nimport dayjs from 'dayjs'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { TextProfile, TextProfileSecondary } from 'views/profile/text.style'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst Information = () => {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__information')\r\n const birthday = dayjs(user?.birthday).format('DD/MM/YY')\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('profile/miInformation/name', { es: 'Nombre y apellido', en: 'First and last name' })}\r\n \r\n {user?.firstName} {user?.lastName}\r\n \r\n {!CONFIGS.notShowFields?.includes('nickName') ? (\r\n <>\r\n {textServices.findByText('profile/miInformation/nickname', { es: 'Apodo', en: 'Nickname' })}\r\n \r\n {user?.nickName ? user?.nickName : 'Sin información'}\r\n \r\n \r\n ) : null}\r\n {textServices.findByText('profile/miInformation/agegate', { es: 'Fecha de nacimiento', en: 'Date of birth' })}\r\n \r\n {(birthday !== 'Invalid Date' && birthday) ? birthday : 'Sin informacion'}\r\n \r\n {user?.email && (\r\n <>\r\n Mail\r\n \r\n {user?.email}\r\n \r\n \r\n )}\r\n {textServices.findByText('profile/miInformation/genre', { es: 'Género', en: 'Genre' })}\r\n \r\n {user?.genre || user?.genreId || 'Sin informacion'}\r\n \r\n
\r\n {\r\n CONFIGS.profile?.notShowButtonInformation ? null : (\r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default Information\r\n","import { HISTORY_TRACKER } from 'constants/api'\r\nimport Button from 'components/button'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { Main } from 'theme/theme'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { Spinner } from 'theme/loading'\r\nimport images from 'images.json'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport dayjs from 'dayjs'\r\nimport GenericError from 'components/generic-error'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport Countdown from 'react-countdown'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\n\r\ninterface IProps {\r\n item: any\r\n closePopup: any\r\n timeResult: any\r\n setProductExchange: any\r\n}\r\n\r\nconst PopUpCoupon = ({ item, closePopup, timeResult, setProductExchange }: IProps) => {\r\n const [{ data: session }] = useSession()\r\n dayjs.extend(calendar)\r\n useMainClass('profile__history__popup__coupon')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null\r\n setFooter(false)\r\n if (div) div.style.display = 'none'\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex'\r\n setFooter(true)\r\n }\r\n }, [])\r\n\r\n const [showTimePopUp, setShowTimePopUp] = useState(false)\r\n const [dateCountdown, setDateCountdown] = useState(null)\r\n const [expired, setExpired] = useState(false)\r\n const history = useHistory()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const countDownFn = (expiresAt: string) => {\r\n const validFrom = new Date(expiresAt)\r\n const date = dayjs(validFrom)\r\n setDateCountdown(date.toDate())\r\n }\r\n\r\n const historyTracker = async () => {\r\n setLoad(true)\r\n try {\r\n const newItem = await axios.get(HISTORY_TRACKER.replace(':historyId', item?.id), {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n setProductExchange({\r\n ...item,\r\n temporalCouponExpiresAt: newItem?.data?.expiresAt\r\n })\r\n countDownFn(newItem?.data?.expiresAt)\r\n } catch (error) {\r\n return (\r\n history.push('/profile/history')}\r\n buttonText=\"VOLVER A CANJES\"\r\n description=\"Tranqui...todo tiene solución\"\r\n />\r\n )\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const acceptUseCoupon = () => {\r\n setShowTimePopUp(!showTimePopUp)\r\n historyTracker()\r\n }\r\n\r\n useEffect(() => {\r\n if (timeResult(item?.temporalCouponExpiresAt)) {\r\n setShowTimePopUp(true)\r\n countDownFn(item?.temporalCouponExpiresAt)\r\n setLoad(false)\r\n }\r\n setLoad(false)\r\n }, [])\r\n\r\n const Clock = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n\r\n const renderer = ({ minutes, seconds, completed }) => {\r\n if (completed) {\r\n // Render a completed state\r\n setExpired(true)\r\n return (\r\n \r\n {textServices.findByText('profile/coupon/popup/timeFinish', { es: 'Tiempo finalizado', en: 'Finished time' })}\r\n \r\n )\r\n } else {\r\n // Render a countdown\r\n return (\r\n \r\n {minutes < 10 ? `0${minutes}` : minutes}:{seconds < 10 ? `0${seconds}` : seconds}\r\n \r\n )\r\n }\r\n }\r\n\r\n if (showTimePopUp) {\r\n return (\r\n
\r\n \r\n
\r\n {item?.title}\r\n\r\n
\r\n

\r\n {textServices.findByText('profile/coupon/popup/title', { es: 'canje', en: 'exchange' })} {item?.title}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/staff', {\r\n es: 'Ahora muestra tu pantalla en atención al cliente.',\r\n en: \"Now show your screen to the person who is serving you at the cashier's desk.\"\r\n })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/expire', { es: 'EXPIRA:', en: 'EXPIRE:' })}{' '}\r\n {new Date(item?.temporalCouponExpiresAt).toLocaleString()}\r\n

\r\n
\r\n\r\n
\r\n {dateCountdown ? (\r\n <>\r\n

\r\n {!expired && }\r\n \r\n

\r\n
\r\n {!expired &&\r\n textServices.findByText(\r\n 'profile/coupon/popup/spinner',\r\n \r\n )}\r\n
\r\n \r\n ) : (\r\n

\r\n {textServices.findByText('profile/coupon/popup/timeFinish', {\r\n es: 'Tiempo finalizado',\r\n en: 'Finished time'\r\n })}\r\n

\r\n )}\r\n
\r\n
\r\n
\r\n )\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n {item?.title}\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/wait', { es: '¡Espera!', en: 'Wait!' })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/description', {\r\n es: 'Estás a punto de activar tu cupón de canje para mostrar en caja.',\r\n en: 'You are about to activate your redemption coupon to show at the cash register.'\r\n })}\r\n

\r\n\r\n

\r\n {' '}\r\n {textServices.findByText('profile/coupon/popup/warning', {\r\n es: (\r\n <>\r\n Recuerda que este cupón es válido para usarlo una sola vez y tendrás unicamente{' '}\r\n 15 minutos para hacerlo.\r\n \r\n ),\r\n en: (\r\n <>\r\n Remember that this coupon is valid for one time use only and you will only have{' '}\r\n 15 minutes to use it.\r\n \r\n )\r\n })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/sure', {\r\n es: '¿Seguro que quieres activarlo ahora?',\r\n en: 'Are you sure you want to activate it now?'\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 PopUpCoupon\r\n","const formatDate = (isoDate: string): string => {\r\n const date = new Date(isoDate)\r\n const day = date.getUTCDate().toString().padStart(2, '0')\r\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0')\r\n const year = date.getUTCFullYear()\r\n\r\n return `${day}/${month}/${year}`\r\n}\r\n\r\nexport { formatDate }\r\n","// 1 = NUEVO - EN ESPERA PARA ENVIAR\r\n// 2 = EN PROCESO -\r\n// 3 = ENVIADO - ENVIADO A DESTINO\r\n// 4 = ENTREGADO\r\n// 5 = CANCELADO\r\n// 6 = CUPON TEMPORAL ENTREGADO - DISPONIBLE PARA RETIRO\r\n// 7 = CUPON TEMPORAL USADO - RETIRADO\r\n\r\nimport textServices from 'services/text-services'\r\n\r\nconst Status = ({ status }: { status: any }) => {\r\n const statusStyles = [\r\n {\r\n class: 'status-pending-send',\r\n text: textServices.findByText('', { es: 'En espera para enviar', en: 'Pending to send' })\r\n },\r\n {\r\n class: 'status-pending-pickup',\r\n text: textServices.findByText('', { es: 'En espera para retiro', en: 'Pending for pickup' })\r\n },\r\n {\r\n class: 'status-sent',\r\n text: textServices.findByText('', { es: 'Enviado a destino', en: 'Sent to destination' })\r\n },\r\n {\r\n class: 'status-available-pickup',\r\n text: textServices.findByText('', { es: 'Disponible para retiro', en: 'Available for pickup' })\r\n },\r\n {\r\n class: 'status-cancelled',\r\n text: textServices.findByText('', { es: 'Cancelado', en: 'Cancelled' })\r\n },\r\n {\r\n class: 'status-delivered',\r\n text: textServices.findByText('', { es: 'Entregado', en: 'Delivered' })\r\n },\r\n {\r\n class: 'status-withdrawn',\r\n text: textServices.findByText('', { es: 'Retirado', en: 'Withdrawn' })\r\n }\r\n ]\r\n\r\n const statusInfo = statusStyles[status - 1]\r\n\r\n return (\r\n
\r\n

{statusInfo?.text}

\r\n
\r\n )\r\n}\r\n\r\nexport default Status\r\n","import textServices from 'services/text-services'\r\nimport { formatDate } from '../utils/formatDate'\r\nimport Status from './States'\r\n\r\ninterface IPrize {\r\n item?: any\r\n setShowDetails: (arg0: any) => void\r\n productExchangeCoupon?: any\r\n timeResult?: any\r\n}\r\n\r\nconst Prize = ({ item, setShowDetails, productExchangeCoupon, timeResult }: IPrize) => {\r\n const setDetails = () => {\r\n setShowDetails(item)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \"Premio\"\r\n
\r\n
\r\n

{item?.title}

\r\n

Ganado {formatDate(item?.exchangeAt)}

\r\n \r\n
\r\n {(item?.orderStatus === 6 || item?.temporalCouponExpiresAt) && (\r\n {\r\n if (item?.orderStatus === 6 || timeResult(item?.temporalCouponExpiresAt)) {\r\n productExchangeCoupon(item)\r\n }\r\n }}\r\n className={`profile__prizes__item__container__btn__btn-main ${\r\n item?.orderStatus === 6 ? 'profile__history__button__active' : ''\r\n } ${timeResult(item?.temporalCouponExpiresAt) ? 'profile__history__button__progress' : ''} ${\r\n item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt) ? '' : ''\r\n }`}\r\n disabled={item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)}\r\n >\r\n {item?.orderStatus === 6 &&\r\n textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })}\r\n {timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/active', {\r\n es: 'Ver cupón activo',\r\n en: 'View coupon active'\r\n })}\r\n {item?.orderStatus === 7 &&\r\n !timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })}\r\n \r\n )}\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Prize\r\n","import { HISTORY_ID } from 'constants/api'\r\nimport axios from 'axios'\r\nimport dayjs from 'dayjs'\r\n\r\nexport const fetchHistoryId = async (id: string, token: string) => {\r\n try {\r\n const response = await axios.get(HISTORY_ID.replace(':id', id), {\r\n headers: {\r\n Authorization: `Bearer ${token}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n return response.data\r\n } catch (error) {\r\n console.error('Error al obtener HISTORY_ID:', error)\r\n return null\r\n }\r\n}\r\n\r\nexport const timeResult = (date: any) => {\r\n const currentDate = dayjs(new Date())\r\n\r\n const compareDate = new Date(date as string)\r\n\r\n const diff = dayjs(compareDate)\r\n\r\n const result = currentDate <= diff\r\n\r\n if (result) {\r\n return true\r\n }\r\n\r\n return false\r\n}\r\n","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport React from 'react'\r\n\r\ninterface ICheckIcon {\r\n color?: string\r\n className?: string\r\n height?: number\r\n width?: number\r\n}\r\n\r\nconst CheckIcon = ({ width = 18, height = 12, className = '', color }: ICheckIcon) => (\r\n \r\n \r\n \r\n)\r\n\r\ninterface StepProps {\r\n title: string\r\n description?: React.ReactNode\r\n completed: boolean\r\n isLast?: boolean\r\n nextStepCompleted?: boolean\r\n position?: number\r\n}\r\n\r\ntype Address = {\r\n neighborhood: string | null\r\n postalCode: string | null\r\n city: string | null\r\n state: string | null\r\n country: string | null\r\n streetType: string | null\r\n curp: string | null\r\n phone: string | null\r\n firstName: string | null\r\n lastName: string | null\r\n street1: string | null\r\n street2: string | null\r\n streetNumber: string | null\r\n apartament: string | null\r\n shippingDetails: string | null\r\n}\r\n\r\ntype TStep = {\r\n step: number\r\n stepTitle: string\r\n checked: boolean\r\n addressTitle: string | null\r\n address: Address | null\r\n}\r\n\r\nconst Step = ({ title, description, completed, isLast, nextStepCompleted, position }: StepProps) => (\r\n
\r\n
\r\n
\r\n {completed && }\r\n
\r\n {!isLast && (\r\n \r\n )}\r\n
\r\n
\r\n

{title}

\r\n {\r\n
\r\n {description ??
}\r\n
\r\n }\r\n
\r\n
\r\n)\r\ninterface IVerticalStepper {\r\n trackingDetail: TStep[]\r\n courier: any\r\n}\r\n\r\nconst formatSteps = (\r\n trackingDetail: TStep[],\r\n courier: any\r\n): { title: string; description?: JSX.Element; completed: boolean }[] => {\r\n console.log('courier', courier)\r\n if (!trackingDetail) {\r\n return null\r\n }\r\n\r\n const courierExists = () => {\r\n const url = courier?.url?.replace('{trackingNumber}', courier?.trackingNumber)\r\n\r\n if (url) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ver courier',\r\n section: 'tracking :: prize'\r\n })\r\n window.open(url, '_blank')\r\n }\r\n }\r\n\r\n return trackingDetail.map((step) => {\r\n const formattedStep: { title: string; description?: JSX.Element; completed: boolean } = {\r\n title: step.stepTitle.toUpperCase(),\r\n completed: step.checked\r\n }\r\n\r\n if (step.address && step.addressTitle) {\r\n formattedStep.description = (\r\n
\r\n {courier && (\r\n
\r\n

\r\n Tracking N°: {courier?.trackingNumber ?? 'no encontrado'}\r\n

\r\n

\r\n Nombre courier:{' '}\r\n \r\n

\r\n
\r\n )}\r\n\r\n
{step.addressTitle.toUpperCase()}
\r\n

\r\n {step.address.street1 && (\r\n <>\r\n {step.address.street1},
\r\n \r\n )}\r\n {step.address.neighborhood && (\r\n <>\r\n {step.address.neighborhood},
\r\n \r\n )}\r\n {step.address.city && (\r\n <>\r\n {step.address.city}\r\n
\r\n \r\n )}\r\n {step.address.state && <>{step.address.state}}\r\n

\r\n
\r\n )\r\n }\r\n\r\n return formattedStep\r\n })\r\n}\r\n\r\nexport default function VerticalStepper({ trackingDetail, courier }: IVerticalStepper) {\r\n const steps = formatSteps(trackingDetail, courier)\r\n return (\r\n
\r\n {steps &&\r\n steps.map((step, index) => (\r\n \r\n ))}\r\n
\r\n )\r\n}\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { Input } from 'theme/theme'\r\n\r\ninterface IProps {\r\n setShowOrderNumber: (value: boolean) => void\r\n details: any\r\n}\r\n\r\nconst NumberOrder = ({ setShowOrderNumber, details }: IProps) => {\r\n useMainClass('profile__history__numberorder')\r\n\r\n return (\r\n <>\r\n setShowOrderNumber(null)} />\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n

NÚMERO DE ORDEN

\r\n \r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default NumberOrder\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { formatDate } from '../utils/formatDate'\r\nimport { fetchHistoryId, timeResult } from '../utils/functions'\r\nimport Steps from './Steps'\r\nimport NumberOrder from './NumberOrder'\r\n\r\ninterface IDetails {\r\n setShowDetails: (arg0: any) => void\r\n setShowOrderNumber: (value: boolean) => void\r\n showDetails: any\r\n productExchangeCoupon: any\r\n showOrderNumber: boolean\r\n}\r\n\r\nconst Details = ({\r\n setShowDetails,\r\n showDetails,\r\n productExchangeCoupon,\r\n setShowOrderNumber,\r\n showOrderNumber\r\n}: IDetails) => {\r\n const [history, setHistory] = useState(null)\r\n const [{ data: session }] = useSession()\r\n const { setFooter } = useContext(LoaderContext)\r\n useMainClass('profile__history__id')\r\n\r\n const [buttonConfig, setButtonConfig] = useState<{ text: string; action: () => void; disabled: boolean }>({\r\n text: 'MOSTRAR NÚMERO DE ORDEN',\r\n action: () => setShowOrderNumber(showDetails),\r\n disabled: false\r\n })\r\n\r\n const goBack = () => {\r\n setShowDetails(null)\r\n }\r\n\r\n useEffect(() => {\r\n const getHistory = async () => {\r\n const data = await fetchHistoryId(showDetails?.id, `${((session as any)?._tokenResponse as any)?.idToken}`)\r\n if (data) setHistory(data)\r\n }\r\n\r\n getHistory()\r\n\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null\r\n setFooter(false)\r\n if (div) div.style.display = 'none'\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex'\r\n setFooter(true)\r\n }\r\n }, [])\r\n\r\n const courierExists = () => {\r\n const url = history?.currier?.url?.replace('{trackingNumber}', history?.currier?.trakingNumber)\r\n\r\n if (url) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ver courier',\r\n section: 'tracking :: prize'\r\n })\r\n window.open(url, '_blank')\r\n }\r\n }\r\n\r\n const getCouponText = (details) => {\r\n if (details?.orderStatus === 6) {\r\n return textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })\r\n }\r\n if (timeResult(details?.temporalCouponExpiresAt)) {\r\n return textServices.findByText('profile/coupon/active', { es: 'Ver cupón activo', en: 'View coupon active' })\r\n }\r\n if (details?.orderStatus === 7 && !timeResult(details?.temporalCouponExpiresAt)) {\r\n return textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })\r\n }\r\n return 'ACTIVAR CUPÓN'\r\n }\r\n\r\n const canExchangeCoupon = (details) => {\r\n return details?.orderStatus === 6 || timeResult(details?.temporalCouponExpiresAt)\r\n }\r\n\r\n useEffect(() => {\r\n if (!history) return\r\n\r\n const buttonConfigs = {\r\n currier: {\r\n text: 'VER COURRIER',\r\n action: () => courierExists(),\r\n disabled: false\r\n },\r\n temporalCouponCode: {\r\n text: getCouponText(showDetails),\r\n action: () => {\r\n if (canExchangeCoupon(showDetails)) {\r\n productExchangeCoupon(showDetails)\r\n }\r\n },\r\n disabled: !canExchangeCoupon(showDetails)\r\n },\r\n default: {\r\n text: 'MOSTRAR NÚMERO DE ORDEN',\r\n action: () => setShowOrderNumber(showDetails),\r\n disabled: false\r\n }\r\n }\r\n\r\n const configKey = history.currier ? 'currier' : history.temporalCouponCode ? 'temporalCouponCode' : 'default'\r\n\r\n setButtonConfig(buttonConfigs[configKey])\r\n }, [history, showDetails, productExchangeCoupon, setShowOrderNumber])\r\n\r\n if (showOrderNumber) {\r\n return \r\n }\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \"Imagen\r\n
\r\n\r\n
\r\n

{showDetails?.title}

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

\r\n {showDetails?.costInPoints > 0 ? 'Canjeado' : 'Ganado'} {formatDate(showDetails?.exchangeAt)}\r\n

\r\n\r\n

N°Orden {showDetails?.id}

\r\n\r\n {showDetails?.costInPoints > 0 && (\r\n

\r\n {showDetails?.costInPoints} {POINTS_NAME}\r\n

\r\n )}\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Si necesitas saber más detalles de tu envío ingresa al botón de abajo para conocer más. Recuerda que puedes\r\n cancelarlo únicamente antes de que se envíe al destino.\r\n

\r\n\r\n
\r\n {buttonConfig.text !== 'VER COURRIER' && (\r\n \r\n {buttonConfig.text}\r\n \r\n )}\r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n

Tengo un problema, necesito ayuda.

\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Details\r\n","import { HISTORY } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useEffect, useState } from 'react'\r\nimport CONFIGS from 'build/Config'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport dayjs from 'dayjs'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport {\r\n CrownState,\r\n CrownStateText,\r\n DivStateAccount,\r\n LiStateAccount,\r\n PStateAccount,\r\n TextStateAccount,\r\n TextStateAccountDate\r\n} from 'theme/profile'\r\nimport { TextNotFoundHistory } from 'views/profile/text.style'\r\nimport textServices from 'services/text-services'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport PopUpCoupon from './components/PopUp'\r\nimport Prize from './components/Prize'\r\nimport Details from './components/Details'\r\nimport { timeResult } from './utils/functions'\r\n\r\nfunction History() {\r\n useMainClass('profile__history')\r\n\r\n dayjs.extend(calendar)\r\n\r\n const [{ data: session }] = useSession()\r\n const [{ data, loading, error }, refetch] = useAxios({\r\n url: HISTORY,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n useEffect(() => {\r\n refetch()\r\n }, [])\r\n\r\n const [showPopUpCoupon, setShowPopUpCoupon] = useState(null)\r\n const [productExchange, setProductExchange] = useState(null)\r\n const [showOrderNumber, setShowOrderNumber] = useState(null)\r\n\r\n const [showDetails, setShowDetails] = useState(null)\r\n\r\n const closePopup = () => {\r\n if (showPopUpCoupon) {\r\n setProductExchange(null)\r\n }\r\n setShowPopUpCoupon(!showPopUpCoupon)\r\n refetch()\r\n }\r\n\r\n const productExchangeCoupon = (item: any) => {\r\n setProductExchange(item)\r\n setShowPopUpCoupon(!showPopUpCoupon)\r\n }\r\n\r\n if (error) {\r\n return (\r\n
\r\n

\r\n {textServices.findByText('profile/view/history/error', {\r\n es: 'Ha ocurrido un error',\r\n en: 'An error ocurred'\r\n })}\r\n

\r\n
\r\n )\r\n }\r\n\r\n if (productExchange) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (showDetails) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return loading ? (\r\n \r\n ) : (\r\n
\r\n {data.length ? (\r\n
    \r\n {data?.map((item: any) => {\r\n if (CONFIGS?.tracking) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n \r\n
    \r\n
    \r\n \r\n {!item?.imageUrl && (\r\n \r\n {item.pointsEarned}\r\n \r\n )}\r\n {item?.imageUrl && (\r\n \r\n )}\r\n
    \r\n \r\n
    \r\n 30 ? 'text-xl' : 'text-2xl'\r\n } profile__history__product__content__title`}\r\n >\r\n {item.title}\r\n \r\n
    \r\n
    \r\n {item.costInPoints && item.costInPoints !== '0' && (\r\n \r\n {item?.costInPoints > 0 && '-'}\r\n {item.costInPoints} {POINTS_NAME}\r\n \r\n )}\r\n {item.dynamicCostInPoints && item.dynamicCostInPoints !== '0' && (\r\n \r\n {item.dynamicCostInPoints} {POINTS_NAME}{' '}\r\n {textServices.findByText('profile/view/history/used', { es: 'USADAS', en: 'USED' })}\r\n \r\n )}\r\n {item.pointsEarned && item.pointsEarned !== '0' && (\r\n \r\n {item.pointsEarned} {POINTS_NAME}{' '}\r\n {textServices.findByText('profile/view/history/acquireds', {\r\n es: 'ADQUIRIDAS',\r\n en: 'ACQUIRED'\r\n })}\r\n \r\n )}\r\n {item.dynamicTitle && item.dynamicTitle !== '0' && (\r\n \r\n {item?.dynamicType}: {item.dynamicTitle}\r\n \r\n )}\r\n \r\n #{item?.id} -{' '}\r\n {textServices.findByText('profile/view/history/acquired', {\r\n es: 'Adquirido el',\r\n en: 'Acquired on'\r\n })}{' '}\r\n {new Date(item.exchangeAt).toLocaleString('es-MX', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: '2-digit'\r\n })}\r\n \r\n {(item?.orderStatus === 6 || item?.temporalCouponExpiresAt) && (\r\n {\r\n if (item?.orderStatus === 6 || timeResult(item?.temporalCouponExpiresAt)) {\r\n productExchangeCoupon(item)\r\n }\r\n }}\r\n className={`profile__history__button__base ${\r\n item?.orderStatus === 6 ? 'profile__history__button__active' : ''\r\n } ${timeResult(item?.temporalCouponExpiresAt) ? 'profile__history__button__progress' : ''} ${\r\n item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)\r\n ? 'profile__history__button__finish'\r\n : ''\r\n }`}\r\n disabled={item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)}\r\n >\r\n {item?.orderStatus === 6 &&\r\n textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })}\r\n {timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/active', {\r\n es: 'Ver cupón activo',\r\n en: 'View coupon active'\r\n })}\r\n {item?.orderStatus === 7 &&\r\n !timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })}\r\n \r\n )}\r\n
    \r\n
\r\n
\r\n \r\n )\r\n })}\r\n \r\n ) : (\r\n \r\n {textServices.findByText('profile/stateNotFound', {\r\n es: (\r\n <>\r\n No has canjeado ningún premio aún

\r\n

\r\n ¡Venga, tú puedes!\r\n \r\n ),\r\n en: (\r\n <>\r\n You haven't redeemed any prizes yet

\r\n

\r\n Come on, you can do it!\r\n \r\n )\r\n })}\r\n
\r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default History\r\n","import { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { TextProfileSecondary } from 'views/profile/text.style'\r\n\r\nfunction Address() {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__address')\r\n\r\n return (\r\n
\r\n
\r\n {((user?.address && user?.address.street1) ? (\r\n
\r\n \r\n {user?.address?.street1}, {user?.address?.streetNumber},\r\n {user?.address?.shippingDetails && {user?.address?.shippingDetails},}\r\n \r\n {user?.address?.street2 && (\r\n \r\n {user?.address?.street2}\r\n \r\n )}\r\n \r\n {user?.address?.state},\r\n \r\n \r\n {user?.address?.city},\r\n \r\n \r\n {user?.address?.neighborhood},\r\n \r\n \r\n CP {user?.address?.postalCode}\r\n \r\n
\r\n ) : (\r\n \r\n SIN INFORMACION\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Address\r\n","const Edit = ({ width = '27', height = '26', fill = '#A0A0A0' }) => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Edit\r\n","import { useSession } from 'contexts/session-context'\r\nimport Edit from 'components/icon/edit'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { Link } from 'react-router-dom'\r\nimport { TextProfile, TextProfileSecondary } from 'views/profile/text.style'\r\nimport textServices from 'services/text-services'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\n\r\nfunction Phone() {\r\n const [{ user }] = useSession()\r\n const showInstagram = !CONFIGS.notShowFields?.includes('instagram')\r\n useMainClass('profile__phone')\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {textServices.findByText('profile/view/contact/phoneTitle', { es: 'Numero de teléfono', en: 'Phone number' })}\r\n \r\n {\r\n !user?.phoneNumber && !user?.address?.phone\r\n ? textServices.findByText('profile/view/contact/notFound', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })\r\n : `+52 ${user?.address?.phone ? user?.address?.phone : user?.phoneNumber}`\r\n }\r\n \r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar teléfono',\r\n section: \"mi perfil\",\r\n subsection: 'contacto'\r\n })\r\n }}>\r\n \r\n \r\n
\r\n
\r\n
\r\n {textServices.findByText('profile/view/contact/emailTitle', { es: 'Mail de contacto', en: 'Contact mail' })}\r\n \r\n {user?.contactEmail || textServices.findByText('profile/view/contact/notFound', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })}\r\n \r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar email',\r\n section: \"mi perfil\",\r\n subsection: 'contacto'\r\n })\r\n }}>\r\n \r\n \r\n
\r\n {\r\n showInstagram && (\r\n
\r\n
\r\n Instagram\r\n \r\n {user?.instagram || 'SIN INFORMACION'}\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 Phone\r\n","import { useSession } from \"contexts/session-context\";\r\nimport { useSurvey } from \"contexts/survey-context/useSurvey\";\r\nimport CONFIGS from 'build/Config'\r\nimport { useEffect, useState } from \"react\";\r\nimport { IFields } from \"build/types/configs\";\r\n\r\nconst informationFields = [\"firstName\", \"lastName\", \"nickName\", \"phoneNumber\", \"email\", \"birthday\", \"address\", \"interests\", \"genreId\", \"consumptionCenter\"]\r\nconst addressFields = [\"neighborhood\", \"postalCode\", \"city\", \"state\", \"country\", \"street1\", \"streetNumber\"]\r\nconst notAvailableFields = CONFIGS?.notAvailableFields || []\r\n\r\nconst UsePercentageProfile = () => {\r\n const [{ user }] = useSession()\r\n const [{ state, surveyLoading }] = useSurvey()\r\n const [percentageProfile, setPercentageProfile] = useState(0)\r\n const [requiredField, setRequiredFields] = useState()\r\n const total = informationFields.length + addressFields?.length\r\n\r\n // const surveyFieldsCompleted = () => {\r\n // const surveyCompleted = state?.survey?.filter(survey => survey?.isAnswered && survey?.profilePercentIncluded)\r\n // const surveyRequired = state?.survey?.filter(survey => survey?.profilePercentIncluded)\r\n // return {surveyRequired: surveyRequired?.length, surveyCompleted: surveyCompleted?.length}\r\n // }\r\n\r\n const userFieldsCompletedCount = () => {\r\n const fieldsInfNotCompleted = informationFields?.filter(field => {\r\n if (notAvailableFields.includes(field as IFields)) return false\r\n return !user[field]\r\n })\r\n const fieldsAddressNotCompleted = addressFields?.filter(field => {\r\n if (notAvailableFields.includes(field as IFields)) return false\r\n if (!user?.address) return true\r\n return !user?.address[field]\r\n })\r\n const fieldsNC = fieldsInfNotCompleted.length + fieldsAddressNotCompleted.length\r\n return {count : total - fieldsNC, fieldsNull: [...fieldsInfNotCompleted, ...fieldsAddressNotCompleted]}\r\n }\r\n\r\n useEffect(() => {\r\n if (!user) return \r\n if (surveyLoading) return \r\n const {count, fieldsNull} = userFieldsCompletedCount()\r\n setRequiredFields(fieldsNull)\r\n // const { surveyRequired, surveyCompleted } = surveyFieldsCompleted()\r\n const valuePercent = count ;\r\n if (Number.isNaN(valuePercent)) {\r\n return setPercentageProfile(count)\r\n }\r\n return setPercentageProfile(Math.round(((valuePercent) / (total + 0)) * 100))\r\n }, [user, state, surveyLoading])\r\n\r\n return { percentageProfile, requiredField }\r\n\r\n}\r\n\r\nexport default UsePercentageProfile;","import React from 'react'\r\n\r\nfunction History() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default History","import React from 'react'\r\n\r\nfunction InformationIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default InformationIcon","import React from 'react'\r\n\r\nfunction Phone() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Phone","function Points() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Points","function ConsumptionCenterIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n \r\nexport default ConsumptionCenterIcon","import React from 'react'\r\n\r\nconst CardIcon = () => {\r\n\r\n if (THEME === 'indio') {\r\n return \r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default CardIcon\r\n","import React from 'react'\r\n\r\nconst PrizesIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default PrizesIcon\r\n\r\n\r\n\r\n","import React from 'react'\r\n\r\nconst SiteMapIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SiteMapIcon","const PreferencesIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default PreferencesIcon\r\n","import React from 'react'\r\n\r\nfunction GPS() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default GPS","import React from 'react'\r\n\r\nfunction GoogleWallet() {\r\n return (\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\nexport default GoogleWallet","function IOSWallet() {\r\n return (\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 \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 \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 \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\nexport default IOSWallet","const listAppBrowsers = [\r\n /\\bFB[\\w_]+\\/(Messenger|MESSENGER)/,\r\n /\\bFB[\\w_]+\\//,\r\n /\\bTwitter/i,\r\n /\\bLine\\//i,\r\n /\\bMicroMessenger\\//i,\r\n /\\bPuffin/i,\r\n /\\bMiuiBrowser\\//i,\r\n /\\bInstagram/i,\r\n /\\bmusical_ly/i,\r\n /\\bMusical_ly/i,\r\n /\\bMusical.ly/i,\r\n /\\bmusical.ly/i,\r\n /\\bBytedance/i,\r\n]\r\n\r\nfunction isInAppBrowser() {\r\n const useragent = navigator.userAgent || navigator.vendor || (window as any)?.opera\r\n const inApp = listAppBrowsers.some((regex) => regex.test(useragent))\r\n return inApp\r\n}\r\n\r\nconst isIOS = () => {\r\n return /iPad|iPhone|iPod/.test(navigator.userAgent);\r\n};\r\n\r\nconst isAndroid = () => {\r\n return /Android/.test(navigator.userAgent);\r\n};\r\n\r\nexport { isIOS, isAndroid , isInAppBrowser};","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\n\r\nexport const ContainerCard = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.background ? ` background-image: url(${AZURE_BASE_URL}/${theme?.profile?.identification?.card?.background});` : '' }\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.container}\r\n`\r\n\r\nexport const SwitchCard = styled.span`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.switch}\r\n`\r\n\r\nexport const ImgCard = styled.img`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.img}\r\n`\r\n\r\nexport const TitleCard = styled.h2`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.title}\r\n`\r\n\r\nexport const IdCard = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.id}\r\n`\r\n\r\nexport const PointsIdContainer = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.container}\r\n`\r\n\r\nexport const PointsIdName = styled.p`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.name}\r\n`\r\n\r\nexport const PointsIdNumber = styled.p`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.number}\r\n`","const idConfigTheme: Record void> = {\r\n tecate: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'HeadingProUltracomp',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/headingProUltracomp/HeadingProUltracomp-Bold.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px HeadingProUltracomp'\r\n context.fillStyle = 'black'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n massive: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'SimplonMono',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/SimplonMono/SimplonMono-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 64px SimplonMono'\r\n context.fillStyle = 'black'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n console.log(canvas.width)\r\n const textX = canvas.width - 128\r\n const textY = canvas.height - 28.6 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n amstel: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'DINPro',\r\n \"url('https://cdn-phcentral.azureedge.net/tecate/fonts/DINPro/DINPro-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px DINPro'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n bohemia: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Oswald',\r\n \"url('https://promohubstorage.blob.core.windows.net/bohemia/assets/Oswald-Regular.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px Oswald'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n cartablanca: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Jost',\r\n \"url('https://promohubstorage.blob.core.windows.net/cartablanca/assets/fonts/Jost/Jost-SemiBold.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '600 96px Jost'\r\n context.fillStyle = '#15141A'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n cristal: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Montserrat',\r\n \"url('https://promohubstorage.blob.core.windows.net/cristal/assets/fonts/Montserrat-SemiBold.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '600 96px Montserrat'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n dosequis: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Industry-Demi',\r\n \"url('https://promohubstorage.blob.core.windows.net/mixx/assets/fonts/Industry-Demi.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Industry-Demi'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n heinekenWaiter: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Frank',\r\n \"url('https://promohubstorage.blob.core.windows.net/heineken-waiter/assets/fonts/Frank-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Frank'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n indio: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#235345'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silver: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n heineken00: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace('PT Sans', \"url('https://cdn-phcentral.azureedge.net/fonts/PTSans-Regular.ttf')\")\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px PT Sans'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`#${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverMemorama: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverOnTrade: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverWaiter: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n miller: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n context.font = '700 96px Roboto'\r\n context.fillStyle = '#B98B39'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n },\r\n\r\n mixx: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Industry-Demi',\r\n \"url('https://promohubstorage.blob.core.windows.net/mixx/assets/fonts/Industry-Demi.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Industry-Demi'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n solMezclas: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Proxima Nova Condensed',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/proximaNova/ProximaNova-CondensedBold.otf')\",\r\n { weight: '800' }\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '800 100px Proxima Nova Condensed'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 30 * 4\r\n context.fillText(`#${value}`, textX, textY)\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport default idConfigTheme\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport Header from 'components/header'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nfunction InstructionPopUp({ setPopUp }: { setPopUp: any }) {\r\n useMainClass('profile__identification__instruction')\r\n\r\n return (\r\n
\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Identificacion - Cerrar instrucciones',\r\n value: '10'\r\n })\r\n setPopUp()\r\n }}\r\n />\r\n
\r\n

\r\n {textServices.findByText('profile/identification/instructions/title', { es: 'INSTRUCCIONES PARA TENER TU', en: 'INSTRUCTIONS TO HAVE YOUR' })}\r\n
\r\n {textServices.findByText('profile/identification/name', 'ID')}\r\n {textServices.findByText('profile/identification/instructions/dispositive', { es: ' EN TU DISPOSITIVO', en: ' ON YOUR DEVICE' })}\r\n

\r\n\r\n
\r\n {isAndroid() && (\r\n <>\r\n {textServices.findByText('profile/identification/instructions/android', {\r\n es:
\r\n

DISPOSITIVOS ANDROID

\r\n

\r\n 1. Descarga tu app "Google Wallet" ingresando aquí\r\n

\r\n

\r\n 2. Presiona en el botón "Agregar a Google Wallet".\r\n

\r\n

\r\n 3. Visualiza tu "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 4. Presiona en el botón "Añadir".\r\n

\r\n

\r\n 5. ¡Listo! Ya tienes tu{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" en tu wallet.\r\n

\r\n
,\r\n en:
\r\n

ANDROID DEVICES

\r\n

\r\n 1. Download your app "Google Wallet" by entering here\r\n

\r\n

\r\n 2. Click on the button "Add to Google Wallet".\r\n

\r\n

\r\n 3. Visualize your "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 4. Click on the button "Add".\r\n

\r\n

\r\n 5. You're done! You now have your{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" in your wallet.\r\n

\r\n
\r\n })}\r\n \r\n )}\r\n {isIOS() && (\r\n <>\r\n {textServices.findByText('profile/identification/instructions/ios', {\r\n es:
\r\n

DISPOSITIVOS ANDROID

\r\n

\r\n 1. Presiona en el botón "Añadir a Apple Wallet".\r\n

\r\n

\r\n 2. Visualiza tu "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 3. Presiona en el botón "Agregar".\r\n

\r\n

\r\n 4. ¡Listo! Ya tienes tu{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" en tu wallet.\r\n

\r\n
,\r\n en:
\r\n

IOS DEVICES

\r\n

\r\n 1. Click on the button "Add to Apple Wallet".\r\n

\r\n

\r\n 2. Visualize your "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 3. Click on the button "Add".\r\n

\r\n

\r\n 4. You're done! You now have your{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" in your wallet.\r\n

\r\n
\r\n })}\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InstructionPopUp\r\n","import { WALLET_CREATE } from 'constants/api'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from 'contexts/session-context'\r\nimport Button from 'components/button'\r\nimport GoogleWallet from 'components/icon/google-wallet'\r\nimport IOSWallet from 'components/icon/ios-wallet'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect, useRef, useState } from 'react'\r\nimport axios from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { useHistory } from 'react-router-dom'\r\nimport CONFIGS from 'build/Config'\r\nimport { PointsIdContainer, PointsIdName, PointsIdNumber } from './styles'\r\nimport idConfigTheme from './id-config'\r\nimport InstructionPopUp from './instruction-pop-up'\r\n\r\nconst Identification = () => {\r\n const [{ user, data: session }] = useSession()\r\n useMainClass('profile__identification')\r\n const { setLoad } = useContext(LoaderContext)\r\n const [status, setStatus] = useState('' as any)\r\n const refCanvas = useRef(null)\r\n const [isOpenPopUp, setIsOpenPopUp] = useState(false)\r\n const [urlWallet, setUrlWallet] = useState('')\r\n const soName = isAndroid() ? 'Android' : isIOS() ? 'iOS' : ''\r\n const { push } = useRouter()\r\n const history = useHistory()\r\n\r\n const urlUser = `${URL_BASE}${process.env.PUBLIC_URL}/signup?referralCode=${user?.referralCode}`\r\n\r\n const handleDownload = async () => {\r\n const canvas = refCanvas.current\r\n const dataURL = canvas.toDataURL('image/png').replace('image/png', 'image/octet-stream')\r\n const a = document.createElement('a')\r\n a.href = dataURL\r\n a.download = 'my-id.png'\r\n a.click()\r\n }\r\n\r\n const referralClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'id :: refer code',\r\n section: 'id'\r\n })\r\n history.push('/referrals')\r\n }\r\n\r\n const getStatus = async () => {\r\n if (isAndroid() || isIOS()) {\r\n setLoad(true)\r\n try {\r\n // await axios.get(WALLET_STATUS.replace(':type', soName), {\r\n // headers: {\r\n // Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n // 'Ph-Api-Id': PH_API_ID ?? 1\r\n // }\r\n // })\r\n\r\n const response = await axios.post(WALLET_CREATE.replace(':type', soName), null, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n const urlToOpen = response?.data?.wallets?.find((item) => item?.walletSOType === soName)?.url\r\n if (urlToOpen) setUrlWallet(urlToOpen)\r\n\r\n setStatus(soName.toLowerCase())\r\n } catch (err) {\r\n console.error(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n }\r\n\r\n const createWallet = async () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: `Agregar a ${soName === 'Android' ? 'Google' : 'Apple'} Wallet`,\r\n section: 'ID :: Wallet'\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n if (!status && session) getStatus()\r\n }, [session])\r\n\r\n const themes = [\r\n {\r\n theme: 'miller',\r\n style: {\r\n strokeStyle: '#B98B39',\r\n lineWidth: 25,\r\n borderRadius: 0\r\n }\r\n }\r\n ]\r\n\r\n const themeIndex = (arr: any[]) => {\r\n return arr.findIndex((item) => item.theme === THEME)\r\n }\r\n\r\n useEffect(() => {\r\n if (user?.id && idConfigTheme[THEME]) {\r\n const canvasQR = document.getElementById('qr-id') as HTMLCanvasElement\r\n const canvas = refCanvas.current\r\n const context = canvas.getContext('2d')\r\n\r\n const backgroundImage = new Image()\r\n backgroundImage.crossOrigin = 'anonymous'\r\n backgroundImage.src = `${AZURE_BASE_URL}/card-qr-id.webp`\r\n\r\n backgroundImage.onload = () => {\r\n context.drawImage(backgroundImage, 0, 0, canvas.width, canvas.height)\r\n const imageDataUrl = canvasQR.toDataURL()\r\n\r\n const currentTheme = themes[themeIndex(themes)]\r\n const borderRadius = currentTheme ? currentTheme?.style?.borderRadius : 52\r\n\r\n context.fillStyle = 'white'\r\n context.beginPath()\r\n context.moveTo(53 * 4 + borderRadius, 93 * 4)\r\n context.arcTo(53 * 4 + 220 * 4, 93 * 4, 53 * 4 + 220 * 4, 93 * 4 + 220 * 4, borderRadius)\r\n context.arcTo(53 * 4 + 220 * 4, 93 * 4 + 220 * 4, 53 * 4, 93 * 4 + 220 * 4, borderRadius)\r\n context.arcTo(53 * 4, 93 * 4 + 220 * 4, 53 * 4, 93 * 4, borderRadius)\r\n context.arcTo(53 * 4, 93 * 4, 53 * 4 + borderRadius, 93 * 4, borderRadius)\r\n context.closePath()\r\n context.fill()\r\n\r\n // custom style QR\r\n if (currentTheme?.style?.strokeStyle && currentTheme?.style?.lineWidth) {\r\n const { strokeStyle, lineWidth } = currentTheme.style\r\n context.strokeStyle = strokeStyle\r\n context.lineWidth = lineWidth\r\n context.stroke()\r\n }\r\n\r\n const image = new Image()\r\n image.crossOrigin = 'anonymous'\r\n image.src = imageDataUrl\r\n\r\n image.onload = () => {\r\n context.drawImage(image, 69 * 4, 109 * 4, 188 * 4, 188 * 4)\r\n const codeOrId = CONFIGS?.changeIdQr ? user?.referralCode : user?.id\r\n idConfigTheme[THEME](canvas, codeOrId)\r\n }\r\n }\r\n }\r\n }, [user?.id])\r\n\r\n const handleOpenPopUp = () => {\r\n setIsOpenPopUp(!isOpenPopUp)\r\n }\r\n\r\n return (\r\n \r\n {isOpenPopUp && }\r\n {CONFIGS?.showPointsId && (\r\n \r\n {POINTS_NAME}\r\n {user?.totalPoints}\r\n \r\n )}\r\n
\r\n \r\n \r\n
\r\n {status && (\r\n <>\r\n {urlWallet && (\r\n <>\r\n \r\n {status === 'android' && }\r\n {status === 'ios' && }\r\n \r\n \r\n {textServices.findByText('profile/identification/btn-referral', {\r\n es: 'Referir código',\r\n en: 'Refer code'\r\n })}\r\n \r\n push('/help')}\r\n >\r\n {textServices.findByText('profile/identification/dude', {\r\n es: '¿Tienes alguna duda?',\r\n en: 'Do you have any doubts?'\r\n })}\r\n \r\n \r\n )}\r\n \r\n )}\r\n {!status && (\r\n <>\r\n \r\n {textServices.findByText('profile/identification/button', {\r\n es: 'DESCARGAR MI ID',\r\n en: 'DOWNLOAD MY ID'\r\n })}\r\n \r\n \r\n )}\r\n {CONFIGS?.changeIdQr && !status && (\r\n <>\r\n \r\n {textServices.findByText('profile/identification/btn-referral', {\r\n es: 'Referir código',\r\n en: 'Refer code'\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 Identification\r\n","import { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport { TextProfileSecondary } from 'views/profile/text.style'\r\n\r\nfunction ConsumptionProfile() {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__consumption')\r\n\r\n return (\r\n
\r\n
\r\n {user?.consumptionCenter ? (\r\n
\r\n \r\n {\r\n user?.consumptionCenter?.internalId && (\r\n <>\r\n {user?.consumptionCenter?.internalId}
\r\n \r\n )\r\n }\r\n {user?.consumptionCenter?.name}
{user?.consumptionCenter?.state}
{user?.consumptionCenter?.city}\r\n
\r\n
\r\n ) : (\r\n \r\n {textServices.findByText('profile/consumptionEmpty', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })}\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ConsumptionProfile\r\n","import Button from \"components/button\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport { useContext, useEffect, useState } from \"react\"\r\nimport { Link } from \"react-router-dom\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport textServices from \"services/text-services\"\r\nimport CONFIGS from 'build/Config'\r\nimport { ProfilePointsContainerPoints, ProfilePointsContainerTotalPoints, ProfilePointsPoints, ProfilePointsTitlePoints, ProfilePointsTitleTotalPoints, ProfilePointsTotalPoints } from \"theme/profile\"\r\n\r\nfunction ProfilePoints() {\r\n\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [list, setList] = useState([])\r\n const [totalPoints, setTotalPoints] = useState(0)\r\n useMainClass('profile__points')\r\n\r\n const fetchPoints = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.getMovements({ session })\r\n setList(response?.data?.movements)\r\n setTotalPoints(response?.data?.totalPoints)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session) {\r\n fetchPoints()\r\n }\r\n }, [session])\r\n\r\n return (\r\n
\r\n \r\n Total {POINTS_NAME}\r\n {totalPoints}\r\n \r\n
\r\n {\r\n list.map((item) => (\r\n \r\n {item?.category}\r\n {\r\n item?.categoryId ? (\r\n \r\n {item?.amount}\r\n \r\n \r\n \r\n \r\n ) : (\r\n

\r\n {item?.amount}\r\n

\r\n )\r\n }\r\n
\r\n ))\r\n }\r\n
\r\n {\r\n CONFIGS.profile?.showButtonPoints ? (\r\n
\r\n \r\n \r\n \r\n
\r\n ) : null\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default ProfilePoints","import { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ProfileService from 'services/profile-services'\r\nimport { ProfileDetailsPointsContainerPoints, ProfileDetailsPointsContainerTotalPoints, ProfileDetailsPointsDatePoints, ProfileDetailsPointsDescription, ProfileDetailsPointsDescriptionPoints, ProfileDetailsPointsPoints, ProfileDetailsPointsTitlePoints, ProfileDetailsPointsTitleTotalPoints, ProfileDetailsPointsTotalPoints } from 'theme/profile'\r\n\r\nfunction ProfileDetailsPoints() {\r\n\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { query } = useRouter()\r\n const [totalPoints, setTotalPoints] = useState(0)\r\n const [list, setList] = useState([])\r\n useMainClass('profile__points')\r\n useMainClass('profile__points__details')\r\n\r\n const getDate = (createdAt: string) => {\r\n const date = new Date(createdAt)\r\n const day = date.getDate();\r\n const month = new Intl.DateTimeFormat('es-ES', { month: 'long' }).format(date);\r\n const year = date.getFullYear();\r\n\r\n const formattedDate = `${day} de ${month} ${year}`;\r\n return formattedDate\r\n }\r\n\r\n const fetchPoints = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.getMovementsDetails({ session, categoryId: query?.categoryId })\r\n setTotalPoints(response?.data?.reduce((acc, item) => acc + item?.amount, 0))\r\n setList(response?.data)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session) {\r\n fetchPoints()\r\n }\r\n }, [session])\r\n\r\n return (\r\n
\r\n \r\n Total\r\n {totalPoints}\r\n \r\n {\r\n list?.map((item, index) => {\r\n const date = getDate(item?.createdAt)\r\n\r\n return (\r\n \r\n {date}\r\n {item?.category}\r\n {item?.amount}\r\n
\r\n {'>'}{item?.description}\r\n {item?.amount}\r\n
\r\n
\r\n )\r\n })\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default ProfileDetailsPoints","import React from 'react'\r\n\r\nconst Arrow = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Arrow\r\n","import styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\n\r\nexport const ContainerProfile = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.menu?.containerProfile}\r\n`\r\n\r\nexport const TextProfile = styled.p`\r\n ${({ theme }: Type) => theme?.profile?.menu?.textProfile}\r\n`\r\n\r\nexport const IconColor = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.iconColor}\r\n`\r\n\r\nexport const IconColorArrow = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.iconColorArrow}\r\n`\r\n\r\nexport const TextLabelMenu = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.textLabelMenu}\r\n`\r\n\r\nexport const TitlePage = styled.h1`\r\n ${({ theme }: Type) => theme?.profile?.menu?.titlePage}\r\n`\r\n\r\nexport const ListItem = styled.li`\r\n ${({ theme }: Type) => theme?.profile?.menu?.listItem}\r\n`\r\n\r\nexport const HeaderColorArrow = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.headerColorArrow}\r\n`\r\nexport const EditColorIcon = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.editColorIcon}\r\n`\r\nexport const ContainerMenu = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.menu?.containerMenu}\r\n`","import { Link } from 'react-router-dom'\r\nimport Arrow from 'components/icon/menu-profile/arrow'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { ButtonHelperProfile } from 'theme/profile'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport { TitlePage, IconColorArrow, TextLabelMenu, IconColor, ListItem, HeaderColorArrow, ContainerMenu } from '../styles/header.style'\r\n\r\nconst MenuProfile = ({ definitions }: any) => {\r\n\r\n const definitionsFiltered = definitions.filter((item: any) => !item.dontShowItem)\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n {textServices.findByText('profile/view/arrow', )}\r\n \r\n \r\n {textServices.findByText('profile/menu/title', { es: 'Mi información', en: 'My information' })}\r\n \r\n \r\n \r\n
\r\n
    \r\n {definitionsFiltered.map((item: any) => {\r\n return (\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: item.label.toLowerCase(),\r\n section: \"mi perfil\",\r\n })\r\n }}>\r\n
    \r\n \r\n {item?.icon && }\r\n \r\n {item.label}\r\n {item.helper && }\r\n
    \r\n \r\n {!item.noArrow && }\r\n \r\n \r\n
    \r\n )\r\n })}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default MenuProfile\r\n","import React from 'react'\r\n\r\nconst Edit = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Edit\r\n","import textServices from 'services/text-services'\r\nimport Edit from 'components/icon/menu-profile/edit'\r\nimport Arrow from 'components/icon/menu-profile/arrow'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { Link, matchPath } from 'react-router-dom'\r\nimport { ContainerProfile, TextProfile, HeaderColorArrow, EditColorIcon } from '../styles/header.style'\r\n\r\n\r\nconst HeaderProfile = ({ definitions, children }: any) => {\r\n const [{ user }] = useSession()\r\n const { pathname, history } = useRouter()\r\n\r\n const name = user?.nickName || (user?.firstName && user?.firstName.length > 20 ? user?.firstName.substring(0, 17) + '...' : user?.firstName)\r\n\r\n const definitionsFinded = definitions.find((item: any) => {\r\n const match = matchPath(pathname, {\r\n path: item.url,\r\n exact: true\r\n })\r\n return !!match\r\n })\r\n\r\n return (\r\n
\r\n \r\n
\r\n {\r\n e.preventDefault();\r\n history.goBack();\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'volver',\r\n section: \"mi perfil\",\r\n subsection: definitionsFinded.title.toLowerCase()\r\n })\r\n }}>\r\n \r\n {textServices.findByText('profile/view/arrow', )}\r\n \r\n \r\n {definitionsFinded?.title || name}\r\n
\r\n {\r\n definitionsFinded?.update && (\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar',\r\n section: \"mi perfil\",\r\n subsection: definitionsFinded.title.toLowerCase()\r\n })\r\n }}>\r\n \r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport default HeaderProfile\r\n","import { ALBUM_GET_RANK_USER, ALBUM_GET } from 'constants/api'\r\nimport { useEffect, useState } from 'react'\r\nimport axios from 'axios'\r\nimport Button from 'components/button';\r\nimport { useSession } from 'contexts/session-context';\r\nimport { Album } from 'views/album/types';\r\nimport LoadingScreen from 'components/loading-screen';\r\nimport { useHistory } from 'react-router-dom';\r\nimport textServices from 'services/text-services';\r\n\r\nconst ProfileRanking = () => {\r\n const history = useHistory()\r\n const [data, setData] = useState(null);\r\n const [albums, setAlbums] = useState([])\r\n\r\n const [{ data: session }] = useSession()\r\n\r\n useEffect(() => {\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null;\r\n\r\n if (div) div.style.display = 'none';\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex';\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n try {\r\n const response = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n setAlbums(response.data);\r\n } catch (error) {\r\n console.error('Failed to fetch albums:', error);\r\n }\r\n };\r\n\r\n fetchData()\r\n }, [session]);\r\n\r\n\r\n useEffect(() => {\r\n const fetchData = async (rallyId: number) => {\r\n const token = ((session as any)?._tokenResponse as any)?.idToken;\r\n\r\n try {\r\n const response = await axios.get(`${ALBUM_GET_RANK_USER}?id=${rallyId}`, {\r\n headers: {\r\n Authorization: `Bearer ${token}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n\r\n }\r\n });\r\n setData(response.data);\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n }\r\n };\r\n\r\n if (albums) {\r\n const rally = albums.find(album => album?.rallyType === 'Ticket' && album?.statusId === 2);\r\n\r\n if (rally && rally.id) {\r\n fetchData(rally.id);\r\n }\r\n }\r\n }, [albums]);\r\n\r\n if (!data) \r\n\r\n return (\r\n
\r\n \"Imagen\r\n\r\n
\r\n

\r\n Tus tickets\r\n

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

tickets acumulados:

\r\n
\r\n {data && (data?.multimediasCount === 0 ? '-' : data?.multimediasCount)}\r\n
\r\n
\r\n\r\n
\r\n

tu posición:

\r\n
\r\n {data && (data?.position === 0 ? '-' : `${data?.position}°`)}\r\n
\r\n
\r\n
\r\n\r\n

\r\n {textServices.findByText('profile/ranking/text', { es: '¡Recuerda! A máyor cantidad de tickets SORIANA QUE subas, MÁS OPORTUNIDAD DE GANAR UN FRIGOBAR TENDRÁS.', 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\nexport default ProfileRanking","import { SVGProps } from 'react'\r\n\r\nfunction Facebook(props: SVGProps) {\r\n return (\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 Facebook","import { SVGProps } from 'react'\r\n\r\nfunction Google(props: SVGProps) {\r\n\r\n if (THEME === 'amstel') {\r\n return (\r\n \"Google\r\n )\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\r\nexport default Google","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = FC_CLIENTID || \"\";\r\n\r\nexport const goToUrlFacebook = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`facebook${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://www.facebook.com/v19.0/dialog/oauth\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(\"email,user_birthday,user_likes\");\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n\r\n\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = GOOGLE_CLIENTID || \"\";\r\n\r\nexport const goToUrlGoogle = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`google${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://accounts.google.com/o/oauth2/v2/auth\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(`https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile ${[\"dosequis\", \"tecate\", \"mixx\"].includes(THEME) ? 'https://www.googleapis.com/auth/youtube.readonly' : ''}`);\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","import { ButtonMenu, SpanMenu } from \"theme/header\"\r\nimport { isAndroid, isIOS } from \"utilities/detectDeviceAgent\"\r\n\r\nexport interface IProps {\r\n open: boolean\r\n setOpen: (value: boolean) => void\r\n social: 'Google' | 'Twitch'\r\n}\r\n\r\nexport default function AlertAppView({ open, social, setOpen }: IProps) {\r\n const soName = isAndroid() ? 'Android' : (isIOS() ? 'iOS' : '')\r\n\r\n if (!open) return <>\r\n\r\n return (\r\n
\r\n
\r\n setOpen(false)}\r\n type=\"button\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

No puedes iniciar sesión en este navegador por políticas de {social}

\r\n
\r\n

Sigue estos pasos para resolverlo:

\r\n {\r\n (soName === 'Android' || soName === '') && (\r\n <>\r\n
\r\n
\r\n

Dispositivos android

\r\n
    \r\n
  1. \r\n

    \r\n Presiona en los tres puntos\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

    \r\n

    \r\n ubicados en la esquina superior a la derecha.\r\n

    \r\n
  2. \r\n
  3. Presiona en la opción “Abrir en Chrome”.
  4. \r\n
  5. Prueba iniciar sesión nuevamente con tu cuenta de {social}.
  6. \r\n
\r\n
\r\n {soName !== '' &&
}\r\n \r\n )\r\n }\r\n {\r\n (soName === 'iOS' || soName === '') && (\r\n <>\r\n
\r\n
\r\n

Dispositivos iOS

\r\n
    \r\n
  1. \r\n

    \r\n Presiona en los tres puntos\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

    \r\n

    \r\n ubicados en la esquina superior a la derecha.\r\n

    \r\n
  2. \r\n
  3. Presiona en la opción “Abrir en navegador externo”.
  4. \r\n
  5. Prueba iniciar sesión nuevamente con tu cuenta de {social}.
  6. \r\n
\r\n
\r\n
\r\n \r\n )\r\n }\r\n
\r\n
\r\n
\r\n )\r\n}","import { SVGProps } from 'react'\r\n\r\nfunction TwitchIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TwitchIcon","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = TH_CLIENTID || \"\";\r\n\r\nexport const goToUrlTwitch = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`twitch${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://id.twitch.tv/oauth2/authorize\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(\"user:read:email\");\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","\r\nimport { GET_LINKEDACCOUNTS } from 'constants/api'\r\nimport axios from 'axios'\r\nimport CONFIGS from 'build/Config'\r\nimport ErrorView from 'components/error-view'\r\n// import ExchangeComponent from 'components/exchange'\r\nimport FacebookIcon from 'components/icon/facebook'\r\nimport GoogleIcon from 'components/icon/google'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\n// import useRedirect from 'hooks/use-redirect'\r\nimport { useContext, useEffect, useMemo, useState } from 'react'\r\n// import { useHistory } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\n// import { Prize } from 'views/prizes/types'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { goToUrlFacebook } from 'components/start/facebook/goToUrlFacebook'\r\nimport { goToUrlGoogle } from 'components/start/google/goToUrlGoogle'\r\nimport AlertAppView from 'components/start/alertAppView'\r\nimport TwitchIcon from 'components/icon/twitch'\r\nimport { goToUrlTwitch } from 'components/start/twitch/goToUrlTwitch'\r\n\r\nfunction SocialProfile() {\r\n const [session] = useSession()\r\n const [loginError, setLoginError] = useState()\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n const typedThemeButtons: string[] = CONFIGS?.buttonsStart\r\n const { setLoad } = useContext(LoaderContext)\r\n const [linkedAccunts, setLinkedAccunts] = useState(null);\r\n\r\n const getStatus = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.get(GET_LINKEDACCOUNTS, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?.data?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setLinkedAccunts(response.data)\r\n } catch (err) {\r\n console.error(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleMetaClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'facebook',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Meta', value: 'Meta' })\r\n return goToUrlFacebook('linkaccount')\r\n }\r\n\r\n const handleGoogleClick = () => {\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'google',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Google', value: 'Google' })\r\n return goToUrlGoogle('linkaccount')\r\n }\r\n\r\n const handleTwitchClick = () => {\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'twitch',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Twitch', value: 'Twitch' })\r\n return goToUrlTwitch('linkaccount')\r\n }\r\n\r\n useEffect(() => {\r\n if (!status && session) getStatus()\r\n }, [session])\r\n\r\n const listSocial = useMemo(() => {\r\n return [\r\n {\r\n type: 'google',\r\n component:\r\n <>\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n ,\r\n },\r\n {\r\n type: 'facebook',\r\n component:\r\n <>\r\n
\r\n \r\n
\r\n \r\n },\r\n {\r\n type: 'twitch',\r\n component:\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n },\r\n ].filter(({ type }) => {\r\n const isDisplayInTheme = typedThemeButtons.includes(type)\r\n const alreadyLinked = linkedAccunts?.map((y)=> y?.provider.toLowerCase() )?.includes(type)\r\n\r\n return isDisplayInTheme && session.user?.provider.toLowerCase() !== type && !alreadyLinked\r\n }).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [linkedAccunts])\r\n\r\n useMainClass('profile__social')\r\n\r\n if (loginError) {\r\n return setLoginError(null)} onRetry={() => setLoginError(null)} />\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {listSocial?.length > 0 && (\r\n <>\r\n
{textServices.findByText('profile/social', { es: <>Selecciona la cuenta que
deseas vincular, en: 'Select the account you want to link' })}
\r\n
\r\n
\r\n {listSocial?.map((social, index) => {\r\n const isLinked = linkedAccunts?.filter((linked) => social.type === linked?.provider.toLowerCase());\r\n if (isLinked?.length === 0) {\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n\r\n if (inBrowserApp && ['google', 'twitch'].includes(social.type) && !['dosequis', 'mixx'].includes(THEME)) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n {social.component}\r\n \r\n )\r\n }\r\n return null;\r\n })}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n {linkedAccunts?.length > 0 && (\r\n <>\r\n
\r\n
{textServices.findByText('profile/social/linked', { es: 'Ya has vinculado:', en: 'Already linked:' })}
\r\n
\r\n {linkedAccunts?.map((social) => {\r\n if (social?.provider.toLowerCase() === 'google')\r\n return \r\n if (social?.provider.toLowerCase() === 'facebook')\r\n return \r\n if (social?.provider.toLowerCase() === 'twitch')\r\n return \r\n return null\r\n })}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default SocialProfile\r\n","import { useEffect, useState } from 'react'\r\nimport PrefPicker from 'components/pref-picker'\r\nimport Information from 'views/profile/views/profile-information'\r\nimport History from 'views/profile/views/profile-history'\r\nimport Address from 'views/profile/views/profile-address'\r\nimport Phone from 'views/profile/views/profile-phone'\r\nimport useRouter from 'hooks/use-router'\r\nimport UsePercentageProfile from 'hooks/use-percentage-profle'\r\nimport textServices from 'services/text-services'\r\nimport { Route } from 'react-router-dom'\r\nimport HistoryIcon from 'components/icon/menu-profile/history'\r\nimport InformationIcon from 'components/icon/menu-profile/information'\r\nimport PhoneIcon from 'components/icon/menu-profile/phone'\r\nimport PointsIcon from 'components/icon/menu-profile/points'\r\nimport ConsumptionCenterIcon from 'components/icon/menu-profile/consumptionCenter'\r\nimport CardIcon from 'components/icon/menu-profile/card'\r\nimport PrizesIcon from 'components/icon/menu-profile/prizesIcon'\r\nimport SiteMapIcon from 'components/icon/menu-profile/sitemapicon'\r\nimport PreferencesIcon from 'components/icon/menu-profile/preferences'\r\nimport AddressIcon from 'components/icon/menu-profile/gps'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { IRoutesProfile } from 'build/types/configs'\r\nimport RoutesWithNotFound from 'utilities/routes-with-not-found'\r\nimport Identification from './views/profile-identification'\r\nimport ConsumptionProfile from './views/profile-consumption'\r\nimport ProfilePoints from './views/profile-points'\r\nimport ProfileDetailsPoints from './views/profile-points/details'\r\nimport MenuProfile from './components/MenuProfile'\r\nimport HeaderProfile from './components/HeaderProfile'\r\nimport ProfileRanking from './views/profile-ranking'\r\nimport SocialProfile from './views/profile-social'\r\n\r\n\r\nconst Profile = () => {\r\n const { url, pathname } = useRouter()\r\n const { requiredField } = UsePercentageProfile()\r\n const [information, setInformation] = useState(false)\r\n const [consumptionCenter, setConsumptionCenter] = useState(false)\r\n const [address, setAddress] = useState(false)\r\n const [phone, setPhone] = useState(false)\r\n useMainClass('profile')\r\n\r\n useEffect(() => {\r\n setInformation([\"firstName\", \"lastName\", \"nickName\", \"email\", \"birthday\", \"genre\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setAddress([\"neighborhood\", \"postalCode\", \"city\", \"state\", \"country\", \"street1\", \"streetNumber\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setPhone([\"phoneNumber\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setConsumptionCenter([\"consumptionCenter\"].filter(field => requiredField?.includes(field)).length > 0)\r\n }, [requiredField])\r\n\r\n const isAllowRoute = (name: string): boolean => {\r\n return (CONFIGS.routesProfile as string[]).includes(name)\r\n }\r\n\r\n const definitions = [\r\n {\r\n url: `${url}/information`,\r\n label: textServices.findByText('profile/informationLabel', { es: 'Datos personales', en: 'Personal data' }),\r\n title: textServices.findByText('profile/information', { es: 'MI INFORMACIÓN', en: 'MY INFORMATION' }),\r\n path: `information`,\r\n helper: information,\r\n isAllow: isAllowRoute('information'),\r\n component: Information,\r\n noArrow: false,\r\n update: '/information/update',\r\n icon: InformationIcon\r\n },\r\n {\r\n url: `${url}/address`,\r\n label: textServices.findByText('profile/addressLabel', { es: 'Dirección', en: 'Address' }),\r\n title: textServices.findByText('profile/address', { es: 'Dirección', en: 'Address' }),\r\n path: `address`,\r\n helper: address,\r\n isAllow: isAllowRoute('address'),\r\n component: Address,\r\n noArrow: false,\r\n update: '/address/update',\r\n icon: AddressIcon\r\n },\r\n {\r\n url: `${url}/phone`,\r\n label: textServices.findByText('profile/contactLabel', { es: 'Contacto', en: 'Contact' }),\r\n title: textServices.findByText('profile/contact', { es: 'Contacto', en: 'Contact' }),\r\n path: `phone`,\r\n helper: phone,\r\n isAllow: isAllowRoute('phone'),\r\n component: Phone,\r\n noArrow: false,\r\n icon: PhoneIcon\r\n },\r\n {\r\n url: `${url}/preferences`,\r\n label: textServices.findByText('profile/prefLabel', { es: 'Preferencias', en: 'Preferences' }),\r\n title: textServices.findByText('profile/pref', { es: 'Preferencias', en: 'Preferences' }),\r\n path: `preferences`,\r\n isAllow: isAllowRoute('preferences'),\r\n component: PrefPicker,\r\n noArrow: false,\r\n icon: PreferencesIcon\r\n },\r\n {\r\n url: `${url}/identificacion`,\r\n label: textServices.findByText('profile/identification/label', { es: 'Identificación', 'en': 'Identification' }),\r\n title: textServices.findByText('profile/identification/nav', { es: 'Identificación', 'en': 'Identification' }),\r\n path: `identificacion`,\r\n isAllow: isAllowRoute('identificacion'),\r\n component: Identification,\r\n noArrow: false,\r\n icon: CardIcon\r\n },\r\n {\r\n url: `${url}/consumption`,\r\n label: textServices.findByText('profile/consumptionLabel', { es: 'Centro de consumo', en: 'Center of consume' }),\r\n title: textServices.findByText('profile/consumption', { es: 'CENTRO DE CONSUMO', en: 'CENTER OF CONSUME' }),\r\n path: `consumption`,\r\n helper: consumptionCenter,\r\n isAllow: isAllowRoute('consumption'),\r\n component: ConsumptionProfile,\r\n noArrow: false,\r\n icon: ConsumptionCenterIcon,\r\n update: '/consumption/update',\r\n },\r\n {\r\n url: `${url}/movements`,\r\n label: textServices.findByText('profile/movementsLabel', { es: `Mis ${POINTS_NAME}`, en: `My ${POINTS_NAME}` }),\r\n title: textServices.findByText('profile/movements', { es: `Mis ${POINTS_NAME}`, en: `MY ${POINTS_NAME}` }),\r\n isAllow: isAllowRoute('movements'),\r\n component: ProfilePoints,\r\n path: \"movements\",\r\n icon: PointsIcon,\r\n },\r\n {\r\n url: `${url}/history`,\r\n label: textServices.findByText('profile/stateLabel', { es: 'Historial de canjes', en: 'Swap history' }),\r\n title: textServices.findByText('profile/state', { es: 'Historial de canjes', en: 'Swap history' }),\r\n path: `history`,\r\n isAllow: isAllowRoute('history'),\r\n component: History,\r\n noArrow: false,\r\n icon: HistoryIcon\r\n },\r\n {\r\n url: `${url}/movements/:categoryId/:category`,\r\n isAllow: isAllowRoute('movements'),\r\n title: textServices.findByText('profile/movementsDetails', { es: `DETALLE ${pathname.split('/').slice(-1).pop().toUpperCase()}`, en: `DETAILS ${pathname.split('/').slice(-1).pop().toUpperCase()}` }),\r\n component: ProfileDetailsPoints,\r\n dontShowItem: true\r\n },\r\n {\r\n url: `/prizes`,\r\n label: textServices.findByText('profile/prizeslabel', { es: 'Premios', en: 'Prizes' }),\r\n title: textServices.findByText('profile/prizes', { es: 'PREMIOS', en: 'PRIZES' }),\r\n isAllow: isAllowRoute('prizes'),\r\n icon: PrizesIcon,\r\n path: `prizes`,\r\n },\r\n {\r\n url: `${url}/social`,\r\n label: textServices.findByText('profile/social', { es: 'Vincular cuentas', en: 'Add accounts' }),\r\n title: textServices.findByText('profile/social', { es: 'VINCULAR CUENTAS', en: 'ADD ACCOUNTS' }),\r\n isAllow: isAllowRoute('social'),\r\n component: SocialProfile,\r\n icon: SiteMapIcon,\r\n path: `social`,\r\n },\r\n ]\r\n\r\n const definitionsFiltered = [...definitions].filter((item: any) => item?.isAllow).sort((a, b) => {\r\n return CONFIGS.routesProfile.indexOf(a?.path as IRoutesProfile) - CONFIGS.routesProfile.indexOf(b?.path as IRoutesProfile);\r\n })\r\n\r\n\r\n return (\r\n \r\n } exact />\r\n \r\n {definitionsFiltered.map((definition: any, index: number) => )}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Profile\r\n","export const myInformationAdapter = ((data, isSignUp, isLogin) => {\r\n \r\n if (isLogin) {\r\n return {\r\n email: data?.email,\r\n password: data?.password,\r\n }\r\n }\r\n\r\n if (isSignUp) {\r\n return {\r\n firstName: data?.firstName,\r\n lastName: data?.lastName,\r\n nickName: data?.nickName,\r\n birthday: data?.birthday,\r\n genreId: parseInt(data?.genreId),\r\n email: data?.email,\r\n password: data?.password,\r\n code: data?.referral,\r\n subscribe: data?.subscribe,\r\n termsOfUse: data?.termsOfUse,\r\n privacyPolicy: data?.privacyPolicy,\r\n }\r\n }\r\n\r\n if (!isSignUp) {\r\n return {\r\n firstName: data?.firstName,\r\n lastName: data?.lastName,\r\n nickName: data?.nickName,\r\n birthday: data?.birthday,\r\n genreId: parseInt(data?.genreId),\r\n }\r\n }\r\n \r\n})","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useEffect, useRef } from 'react'\r\nimport { DivAgegate, InputAgegate } from 'theme/theme'\r\n\r\ninterface IProps {\r\n setValue?: (name: string, value: string) => void\r\n setState?: (value: any) => void\r\n defaultValue?: {\r\n day: number | string\r\n month: number | string\r\n year: number | string\r\n }\r\n tagging?: {\r\n formName: string\r\n section: string\r\n }\r\n}\r\n\r\nfunction AgegateInput({ setValue, setState, defaultValue, tagging }: IProps) {\r\n const day = useRef(null)\r\n const month = useRef(null)\r\n const year = useRef(null)\r\n\r\n useEffect(() => {\r\n if (defaultValue) {\r\n const birthdayDate = new Date(+year.current?.value, +month.current?.value - 1, +day.current?.value)\r\n setState(birthdayDate)\r\n setValue('birthday', `${day.current?.value}/${month.current?.value}/${year.current?.value}`)\r\n }\r\n }, [defaultValue])\r\n\r\n const handleBlurYear = () => {\r\n const completed = +year.current?.value > 0 && +month.current?.value - 1 > 0 && +day.current?.value > 0;\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'fecha nacimiento',\r\n form_action: completed ? 'complete' : 'empty',\r\n form_name: tagging?.formName,\r\n section: tagging?.section\r\n })\r\n }\r\n const handleChange = (event: React.ChangeEvent) => {\r\n const { name, value } = event.target\r\n if (name === 'day') {\r\n if (value.trim() === '') {\r\n day.current.value = ''\r\n } else if (value.length === 2) {\r\n if (+value > 31) {\r\n day.current.value = '31'\r\n } else {\r\n month?.current?.focus()\r\n }\r\n }\r\n } else if (name === 'month') {\r\n if (value.trim() === '') {\r\n month.current.value = ''\r\n } else if (value.length === 2) {\r\n if (+value > 12) {\r\n month.current.value = '12'\r\n } else {\r\n year?.current?.focus()\r\n }\r\n }\r\n } else if (name === 'year') {\r\n if (value.trim() === '') {\r\n year.current.value = ''\r\n } else if (value.trim().length === 4) {\r\n if (+value < 1900) {\r\n year.current.value = '1900'\r\n }\r\n }\r\n }\r\n const birthdayDate = new Date(+year.current?.value, +month.current?.value - 1, +day.current?.value)\r\n setState(birthdayDate)\r\n setValue('birthday', `${day.current?.value}/${month.current?.value}/${year.current?.value}`)\r\n }\r\n\r\n return (\r\n \r\n {\r\n day?.current?.focus()\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'AGEGATE - Ingresar fecha de nacimiento',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n event.target.select()}\r\n />\r\n \r\n /\r\n event.target.select()}\r\n defaultValue={defaultValue?.month}\r\n />\r\n /\r\n {\r\n year?.current?.focus()\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'AGEGATE - Ingresar fecha de nacimiento',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n event.target.select()}\r\n onChange={handleChange}\r\n onBlur={handleBlurYear}\r\n />\r\n \r\n \r\n )\r\n}\r\n\r\nexport default AgegateInput\r\n","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { AxiosError } from 'axios'\r\nimport AgegateInput from 'components/agegate-input'\r\nimport Button from 'components/button'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport { useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useForm } from 'react-hook-form'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport textServices from 'services/text-services'\r\nimport { Label, SelectGender, ErrorInput } from 'theme/theme'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\n\r\nfunction AgeGender({\r\n state,\r\n nextStep,\r\n handleChange,\r\n onFormSubmitEndPoint,\r\n isSignUp,\r\n prevStep,\r\n setError,\r\n setLoad,\r\n htmlSteps\r\n}: any) {\r\n const {\r\n register,\r\n setValue,\r\n handleSubmit,\r\n setError: setErrors,\r\n formState: { errors }\r\n } = useForm({ defaultValues: { genreId: state?.genreId }, resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema(['birthday', 'genreId'])), 'sign up :: step 2', 'sign up'), reValidateMode: 'onSubmit' })\r\n\r\n const { setAgeLocalForm } = useAgegate()\r\n const [birthday, setBirthday] = useState()\r\n const [gender, setGender] = useState([])\r\n const [birthdayDefault, setBirthdayDefault] = useState(null)\r\n\r\n useEffect(() => {\r\n const ageLS = JSON.parse(localStorage.getItem('agegate'))\r\n const dateBirthday = new Date(state?.birthday ?? ageLS?.age ?? new Date().toString())\r\n const day = dateBirthday.getDate() > 9 ? dateBirthday.getDate() : `0${dateBirthday.getDate()}`\r\n const month = dateBirthday.getMonth() + 1 > 9 ? dateBirthday.getMonth() + 1 : `0${dateBirthday.getMonth() + 1}`\r\n const year = dateBirthday.getFullYear()\r\n setBirthdayDefault({ day: day ?? '', month: month ?? '', year: year ?? '' })\r\n }, [state?.birthday])\r\n\r\n function onFormSubmit(data: any) {\r\n const response = setAgeLocalForm(birthday)\r\n if (response?.error) return setErrors('birthday', { type: 'custom', message: response?.error })\r\n if (isSignUp) {\r\n handleChange({ ...data, birthday })\r\n dlTrackEvent('form_send', {\r\n element: 'siguiente',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n gtag('event', 'step_2', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n return nextStep()\r\n }\r\n onFormSubmitEndPoint({ ...data, birthday })\r\n }\r\n\r\n async function getGenres() {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.genres()\r\n setGender(response.data)\r\n } catch (error) {\r\n setError((error as AxiosError).response?.data.code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getGenres()\r\n }, [])\r\n\r\n return (\r\n
\r\n {!CONFIGS?.stepsNewVersion && (\r\n
{htmlSteps}
\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 dlTrackEvent('form_interaction', {\r\n form_field: 'genero',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {gender?.map((item: { id: number; name: string }) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n {CONFIGS?.stepsNewVersion && }\r\n\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'volver',\r\n section: 'sign up :: step 2'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR DIRECCION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default AgeGender\r\n","import { useContext } from 'react'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport Button from 'components/button'\r\nimport Input from 'components/input'\r\nimport { useForm } from 'react-hook-form'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport { AxiosError } from 'axios'\r\nimport { Label, ErrorInput } from 'theme/theme'\r\nimport textServices from 'services/text-services'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\n\r\nfunction Names({ state, nextStep, handleChange, prevStep, htmlSteps, setError }: any) {\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors }\r\n } = useForm({ resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema(['firstName', 'lastName', 'nickName'])), 'sign up :: step 1', 'sign up'), reValidateMode: 'onSubmit' })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ user }] = useSession()\r\n\r\n const validateNickName = async (nickName: string) => {\r\n setLoad(true)\r\n try {\r\n if (!CONFIGS.notShowFields?.includes('nickName') && nickName?.trim()?.toLowerCase() !== user?.nickName?.trim()?.toLowerCase() && nickName) {\r\n await ProfileService.validateNickName(nickName)\r\n }\r\n nextStep()\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError).response?.data.code ?? 9999;\r\n const message = (error as AxiosError).response?.data.message ?? 'NA';\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - NickName existente',\r\n value: '10'\r\n })\r\n dlTrackEvent('error', {\r\n \"error_type\": \"sign up\",\r\n \"error_code\": code,\r\n \"error_message\": message,\r\n \"section\": \"sign up :: step 1\"\r\n })\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const onFormSubmit = async (data: any) => {\r\n handleChange(data)\r\n const { nickName } = data\r\n gtag('event', 'step_1', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n dlTrackEvent('form_send', {\r\n element: 'siguiente',\r\n form_name: 'datos cuenta',\r\n section: 'sign up :: step 1'\r\n })\r\n if (user?.nickName?.trim()?.toLowerCase() !== nickName?.trim()?.toLowerCase()) {\r\n return validateNickName(nickName)\r\n }\r\n nextStep()\r\n }\r\n\r\n return (\r\n
\r\n {\r\n !CONFIGS?.stepsNewVersion && (\r\n
{htmlSteps}
\r\n )\r\n }\r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'first name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'last name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n {!CONFIGS.notShowFields?.includes('nickName') && (\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'nickname',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\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 CONFIGS?.stepsNewVersion && (\r\n \r\n )\r\n }\r\n\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'volver',\r\n section: \"sign up :: step 1\"\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Names\r\n","/* eslint-disable indent */\r\nimport { myInformationAdapter } from 'adapters/my-information-adapter'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { useCustomForm } from 'hooks/use-custom-form'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport ErrorView from 'components/error-view'\r\nimport AgeGender from './age-gender'\r\nimport EmailPassword from './email-password'\r\nimport Names from './names'\r\n\r\nfunction FormInformation({\r\n isSignUp,\r\n handleSubmit,\r\n user,\r\n quantityStep,\r\n scanQr,\r\n handleScanQr\r\n}: {\r\n isSignUp?: boolean\r\n handleSubmit: (data: any, setError: (error: number) => void) => Promise\r\n user?: UserData\r\n quantityStep?: number\r\n scanQr?: boolean\r\n handleScanQr?: () => void\r\n}) {\r\n const { history } = useRouter()\r\n const { state, handleChangeState, setQuantitySteps, nextStep, prevStep, backHistory, htmlSteps } = useCustomForm({\r\n step: 1,\r\n firstName: user?.firstName || '',\r\n lastName: user?.lastName || '',\r\n nickName: user?.nickName || '',\r\n birthday: user?.birthday,\r\n genreId: user?.genreId || user?.genre || '',\r\n email: user?.email || '',\r\n password: ''\r\n })\r\n const [error, setError] = useState(null)\r\n const { setLoad } = useContext(LoaderContext)\r\n async function onFormSubmitEndPoint(data: any) {\r\n const newData = myInformationAdapter({ ...state, ...data }, isSignUp, false)\r\n await handleSubmit(newData, setError)\r\n }\r\n\r\n useEffect(() => {\r\n if (quantityStep) {\r\n setQuantitySteps(quantityStep)\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [error])\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Salir de la pantalla de error',\r\n value: '10'\r\n })\r\n setError(null)\r\n if (state?.step <= 1) return\r\n backHistory()\r\n }\r\n\r\n const handleButton = () => {\r\n setError(null)\r\n if (state?.step <= 1) return\r\n backHistory()\r\n }\r\n\r\n switch (state.step) {\r\n case 1:\r\n return (\r\n history.goBack()}\r\n htmlSteps={htmlSteps}\r\n setError={setError}\r\n />\r\n )\r\n case 2:\r\n return (\r\n \r\n )\r\n case 3:\r\n return (\r\n \r\n )\r\n default:\r\n return \r\n }\r\n}\r\n\r\nexport default FormInformation\r\n","import { YEAR_REGEXP } from \"constants/regexp\"\r\nimport dayjs from 'dayjs';\r\n\r\nexport const getBirthdayLocal = () => {\r\n const birthdayLocal = localStorage.getItem('agegate')\r\n const birthdayParse = JSON.parse(birthdayLocal)\r\n const currentYear = parseInt(dayjs().year().toString().replace(YEAR_REGEXP, ''), 10)\r\n const year = birthdayParse?.age?.split('-')[2]\r\n const yearStart = parseInt(year, 10) > currentYear ? '19' : '20'\r\n const parsedYear = parseInt(`${yearStart}${year}`, 10)\r\n const birthdayParseYear = birthdayParse?.age?.replace(year, parsedYear.toString())\r\n const birthdayDayjs = dayjs(birthdayParseYear, 'DD-MM-YYYY');\r\n const date = birthdayDayjs.toDate();\r\n if (!birthdayDayjs?.isValid()) return new Date()\r\n return date\r\n}","import Button from 'components/button'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, Label, PCheckbox, ErrorInput, SelectGender } from 'theme/theme'\r\nimport { BackBtn, TitleLogin } from 'views/login/text.style'\r\nimport Input from 'components/input'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { useState, useEffect, useContext } from 'react'\r\nimport Password from 'components/password'\r\nimport ProfileService from 'services/profile-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\n\r\ninterface IProps {\r\n handleSubmit: (data: {\r\n name: string\r\n email: string\r\n password: string\r\n subscribe: boolean\r\n termsOfUse: boolean\r\n }) => Promise\r\n}\r\n\r\nfunction FormBaseInformation(props: IProps) {\r\n const { history } = useRouter()\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors },\r\n setError\r\n } = useForm({ resolver: yupResolver(formServices.formGenerateSchema(['firstName', 'password', 'email'])) })\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n const [gender, setGender] = useState([])\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n async function getGenres() {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.genres()\r\n setGender(response.data)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getGenres()\r\n }, [])\r\n\r\n const handleBack = () => history.goBack()\r\n\r\n const handleTermsOfUse = () => {\r\n if (!termsOfUse) setError('termsOfUse', null)\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones de privacidad',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n if (!privacyPolicy) setError('privacyPolicy', null)\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleSubscribe = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleFormSubmit = async (data: { firstName: string; email: string; password: string }) => {\r\n if (!termsOfUse) {\r\n return setError('termsOfUse', { type: 'required', message: 'Debes aceptar los términos y condiciones' })\r\n }\r\n if (!privacyPolicy) {\r\n return setError('privacyPolicy', { type: 'required', message: 'Debes aceptar el aviso de privacidad.' })\r\n }\r\n await props?.handleSubmit({ subscribe, termsOfUse, privacyPolicy, ...data } as any)\r\n }\r\n\r\n return (\r\n
\r\n \r\n {textServices.findByText('signup/title', { es: 'Registro', en: 'Register' })}\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 dlTrackEvent('form_interaction', {\r\n form_field: 'genero',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {gender?.map((item: { id: number; name: string }) => (\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 \r\n \r\n \r\n {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\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 {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\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 {textServices.findByText('signup/suscribe/label', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para procesar\r\n tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido personalizado. En\r\n cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu Preference Center o a\r\n través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time, you\r\n can manage or withdraw your consent by accessing your Preference Center or through the means we make\r\n available to you in the{' '}\r\n \r\n Privacy Notice\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 FormBaseInformation\r\n","import { useContext, useEffect, useState } from \"react\"\r\nimport Button from \"components/button\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\nimport textServices from \"services/text-services\"\r\nimport useRouter from \"hooks/use-router\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport { SubTitleSignUpWelcome, TextSignUpWelcome, TitleSignUpWelcome, BackBtn, TextSecondSignUpWelcome } from \"../styles/custom.style\"\r\nimport Otp from \"./otp\"\r\n\r\ninterface IProps {\r\n name: string;\r\n email: string;\r\n handleConfirm: (data: any) => void;\r\n}\r\n\r\nfunction Welcome({ name = '', email = '', handleConfirm }: IProps) {\r\n\r\n const { history } = useRouter()\r\n const [otp, setOtp] = useState(false)\r\n const [resend, setResend] = useState(0)\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n useMainClass('sign-up__welcome')\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n }, [])\r\n\r\n if (otp) return \r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'verificar cuenta',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'verificar', {\r\n event_label: 'Registro - Email',\r\n method: \"Email\"\r\n })\r\n setOtp(true)\r\n }\r\n\r\n const handleResend = async () => {\r\n\r\n if (resend > 2) return alert('No se puede reenviar el código, intenta más tarde.')\r\n\r\n setLoad(true)\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'reenviar código',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'reenviar', {\r\n event_label: 'Registro - Email',\r\n method: \"Email\"\r\n })\r\n await ProfileService.resendEmailVerify({ email })\r\n setResend(resend + 1)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n {textServices.findByText('signup/welcome/title', { es: <>¡Hola,
{name}!, en: <>Hi,
{name}! }, { nombre: name })}\r\n
\r\n {textServices.findByText('signup/welcome/subtitle', { es: 'Nos falta validar tu cuenta', en: 'We need to validate your account' })}\r\n {textServices.findByText('signup/welcome/description', { es: ' código de 6 dígitos a tu correo electrónico para que valides', en: ' 6-digit code to your email for validation' }, { EMAIL: email })}\r\n {textServices.findByText('signup/welcome/description2', { es: <>Una contraseña de un solo uso se envió a {email}, en: <>A one-time password was sent to {email} })}\r\n {\r\n resend < 2 &&\r\n
\r\n {textServices.findByText('signup/welcome/description3', { es: ¿No la recibiste?, en: Did you not receive it? })}\r\n {textServices.findByText('signup/welcome/button-resend', { es: 'Reenviar código', en: 'Resend code' })}\r\n
\r\n }\r\n
\r\n \r\n { history.goBack() }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Welcome","import { prettyError } from 'constants/errors'\r\nimport { useContext, useState } from 'react'\r\nimport { getAuth, createUserWithEmailAndPassword, AuthError, signInWithEmailAndPassword } from 'firebase/auth'\r\nimport FormInformation from 'components/form-information'\r\nimport ProfileService from 'services/profile-services'\r\nimport utmServices from 'services/utm-services'\r\nimport { AxiosError } from 'axios'\r\nimport ErrorView from 'components/error-view'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { dlSetUserInfo, dlTrackError, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport FormBaseInformation from 'components/form-base-information'\r\nimport dayjs from 'dayjs'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport Welcome from './components/welcome'\r\nimport Done from './components/done'\r\n\r\nconst auth = getAuth()\r\n\r\nconst SignUp = () => {\r\n const { setLoad } = useContext(LoaderContext)\r\n const [, { setSession, setUser }] = useSession()\r\n const [{ url }, { redirect }] = useRedirect()\r\n const [otp, setOtp] = useState(false)\r\n const [done, setDone] = useState(false)\r\n const [name, setName] = useState('')\r\n const [email, setEmail] = useState('')\r\n const [password, setPassword] = useState('')\r\n const [error, setError] = useState(null)\r\n const [credentials, setCredentials] = useState(null)\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { push } = useRouter()\r\n const [dataUser, setDataUser] = useState(null)\r\n const [prize, setPrize] = useState(null)\r\n const [prizeToShow, setPrizeToShow] = useState(null)\r\n const [scanQr, setScanQr] = useState(false)\r\n\r\n const handleScanQr = () => {\r\n setScanQr(!scanQr)\r\n }\r\n\r\n useMainClass('sign-up')\r\n\r\n const handleUser = (user: UserData, credentials: any) => {\r\n dlTrackEvent('login', { method: 'email' })\r\n gtag('event', 'login', { method: 'Email' })\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'email')\r\n\r\n setSession(credentials)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n }\r\n\r\n if (url) return redirect()\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete =\r\n (availableFields?.includes('nickName') ? false : !user?.nickName) ||\r\n !user?.birthday ||\r\n !user?.genre ||\r\n !user?.genreId\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update')\r\n\r\n return push('/home')\r\n }\r\n\r\n const handleLogin = async () => {\r\n setLoad(true)\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ingresar',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'LOGIN - Iniciar sesión',\r\n value: 'Email'\r\n })\r\n const credentials = await signInWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const {\r\n data: { profile, prize }\r\n } = await ProfileService.signInWithEmailAndPassword({ credentials, utm })\r\n\r\n if (prizeToShow) {\r\n setDataUser(profile)\r\n return setPrize(prizeToShow)\r\n }\r\n\r\n if (prize) {\r\n setDataUser(profile)\r\n return setPrize(prize)\r\n }\r\n\r\n handleUser(profile, credentials)\r\n } catch (error) {\r\n if (error?.code) {\r\n return setError(error.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n const errorCode = (error as AxiosError).response?.data.code\r\n const errorMessage = (error as AxiosError).response?.data.message\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { errorCode },\r\n error_message: { errorMessage },\r\n section: 'sign up'\r\n })\r\n return setError(errorCode)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleConfirm = async (data) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.otpVerifyEmail({ code: data.otp, credentials })\r\n if (response?.status === 200) {\r\n gtag('event', 'email_verificado', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n dlTrackEvent('sign_up', {\r\n method: 'Email'\r\n })\r\n setDone(true)\r\n\r\n if (prize) return setPrize(prize)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code, message } = typedError.response?.data || {}\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { code },\r\n error_message: { message },\r\n section: 'sign up'\r\n })\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const catchError = (error, setError) => {\r\n const typedError = error as AuthError\r\n if (typedError.code) {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - Error email existente',\r\n value: '10'\r\n })\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: typedError.code,\r\n error_message: prettyError(typedError.code),\r\n section: 'sign up'\r\n })\r\n setError(typedError.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n const typedError = error as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { code },\r\n error_message: prettyError(code),\r\n section: 'sign up'\r\n })\r\n return setError(code ?? 9999)\r\n }\r\n }\r\n\r\n const handleSubmit = async (data, setError) => {\r\n const {\r\n firstName,\r\n lastName,\r\n nickName,\r\n birthday,\r\n genreId,\r\n email,\r\n password,\r\n code,\r\n subscribe,\r\n termsOfUse,\r\n privacyPolicy\r\n } = data\r\n gtag('event', 'step_3', { event_label: 'Registro - Email', method: 'Email' })\r\n gtag('event', 'sign_up', { event_label: 'Registro - Email', method: 'Email' })\r\n setLoad(true)\r\n try {\r\n const credentials = await createUserWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n const data = {\r\n credentials,\r\n firstName,\r\n lastName,\r\n nickName,\r\n birthday,\r\n genreId,\r\n utm,\r\n code,\r\n subscribe,\r\n termsOfUse,\r\n lang,\r\n privacyPolicy\r\n }\r\n\r\n const response = await ProfileService.signUp(data)\r\n\r\n MetaCAPIService.emitCompleteRegistration(\r\n email,\r\n firstName,\r\n lastName,\r\n dayjs(birthday).format('YYYYMMDD'),\r\n window.location.href,\r\n 'Email',\r\n MetaCAPIService.uuidv4()\r\n )\r\n\r\n setCredentials(credentials)\r\n localStorage.setItem('allowCookies', 'yes')\r\n setName(nickName || firstName)\r\n setEmail(email)\r\n setPassword(password)\r\n setPrizeToShow(response?.data?.prize)\r\n setOtp(true)\r\n } catch (error) {\r\n catchError(error, setError)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleSubmitBase = async (data) => {\r\n const { email, password, ...rest } = data\r\n setLoad(true)\r\n gtag('event', 'sign-up', { event_label: 'Registro - Email', method: 'Email' })\r\n try {\r\n const credentials = await createUserWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const data = { credentials, utm, ...rest }\r\n await ProfileService.signUp(data)\r\n setCredentials(credentials)\r\n localStorage.setItem('allowCookies', 'yes')\r\n setName(rest?.firstName)\r\n setEmail(email)\r\n setPassword(password)\r\n setOtp(true)\r\n } catch (error) {\r\n catchError(error, setError)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (error) return setError(null)} onRetry={() => setError(null)} />\r\n\r\n if (prize)\r\n return (\r\n handleUser(dataUser, credentials),\r\n handleButtonCommon: () => handleUser(dataUser, credentials),\r\n handleButtonSticker: () => handleUser(dataUser, credentials)\r\n }}\r\n item={prize}\r\n module=\"login\"\r\n name={dataUser?.firstName}\r\n />\r\n )\r\n\r\n if (done) return \r\n\r\n if (otp) return \r\n return (\r\n
\r\n {CONFIGS?.signUp?.base ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default SignUp\r\n","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\nexport const ImgAllowCookies = styled.img`\r\n ${(props: Type) => props.theme?.allowCookies?.img};\r\n`","import Button from 'components/button'\r\nimport { useEffect, useState } from 'react'\r\nimport { useLocalStorage } from 'react-use'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, PCheckbox, ReferralInput } from 'theme/theme'\r\nimport { ImgAllowCookies } from 'theme/allowcookies'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport AlreadyParticipate from 'views/sign-up/components/already-participate'\r\nimport CONFIGS from 'build/Config'\r\nimport ScanQrReferral from './scanQr'\r\n\r\nfunction AllowCookies({ onSubmit }) {\r\n const [referralCode, setReferralCode] = useState('')\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n useMainClass('start__allow-cookies')\r\n const [flowType] = useLocalStorage('flowType')\r\n const [isFlowType, setIsFlowType] = useState(false)\r\n const [scanQr, setScanQr] = useState(false)\r\n const [scanQrResult, setScanQrResult] = useState('')\r\n const [referral] = useLocalStorage('referralCode', scanQrResult)\r\n\r\n const handleSubscribe = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleTermsOfUse = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones ',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleOnChange = (e) => {\r\n const { value } = e.target\r\n setReferralCode(value)\r\n }\r\n\r\n const handleSubmit = () => {\r\n if (!termsOfUse) {\r\n return alert('Debes aceptar los términos y condiciones')\r\n }\r\n\r\n if (!privacyPolicy) {\r\n return alert('Debes aceptar el aviso de privacidad.')\r\n }\r\n\r\n if (flowType === 'alreadyParticipate') return setIsFlowType(true)\r\n\r\n onSubmit({ termsOfUse, subscribe: subscribe, privacyPolicy, code: referralCode })\r\n localStorage.setItem('allowCookies', 'yes')\r\n }\r\n\r\n const handleLogin = async () => {\r\n onSubmit({ termsOfUse, privacyPolicy, subscribe: subscribe, code: referralCode })\r\n localStorage.setItem('allowCookies', 'yes')\r\n }\r\n\r\n const getReferralCode = () => {\r\n const params = new URLSearchParams(window.location.search)\r\n const referralCodeParams = params.get('referralCode')\r\n console.log(params)\r\n console.log(referralCodeParams)\r\n if (referralCodeParams) {\r\n console.log('referralCodeParams', referralCodeParams)\r\n setReferralCode(referralCodeParams)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferralCode()\r\n }, [])\r\n\r\n if (isFlowType) return \r\n\r\n if (scanQr) return setScanQr(!scanQr)} setScanQrResult={setScanQrResult} />\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {CONFIGS?.allowReferral && (\r\n <>\r\n

\r\n {textServices.findByText('allowcookies/subtitle', {\r\n en: 'ENTER YOUR REFERRAL CODE',\r\n es: 'INGRESA SU CÓDIGO DE REFERIDO'\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 {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('allowcookies/checkbox/p/novedades', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para procesar\r\n tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido personalizado. En\r\n cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu Preference Center o\r\n a través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time,\r\n you can manage or withdraw your consent by accessing your Preference Center or through the means we\r\n make available to you in the {' '}\r\n \r\n Privacy Notice\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 AllowCookies\r\n","/* eslint-disable node/no-callback-literal */\r\nimport { AUTH } from 'constants/api'\r\nimport { useContext, useState } from \"react\"\r\nimport { AuthError, FacebookAuthProvider, getAuth, signInWithCredential } from '@firebase/auth'\r\nimport axios, { AxiosError } from 'axios'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport utmServices from 'services/utm-services'\r\nimport FacebookIcon from 'components/icon/facebook'\r\nimport ProfileService from 'services/profile-services'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport { dlSetUserInfo, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport useRouter from 'hooks/use-router'\r\nimport CONFIGS from 'build/Config'\r\nimport textServices from 'services/text-services'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport { goToUrlFacebook } from './goToUrlFacebook'\r\n\r\nfunction Facebook({ setSession, setUser, setLoginError, setError, setFirebaseError, setAllowCookies, setPrize }) {\r\n\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect();\r\n const auth = getAuth()\r\n const [flowType] = useLocalStorage('flowType')\r\n const { push } = useRouter();\r\n const [birthday] = useState(getBirthdayLocal())\r\n\r\n const completeData = (user: UserData, session: Object) => {\r\n setSession(session)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update?isNew=true');\r\n\r\n return push('/home')\r\n }\r\n\r\n const callback = async (data?: { termsOfUse?: boolean, privacyPolicy?: boolean, subscribe?: boolean, code?: string, session: Object, user: UserData, prize?: Prize }) => {\r\n setLoad(true)\r\n const { session, user, termsOfUse, privacyPolicy, subscribe, code, prize } = data || {}\r\n let payload = { termsOfUse, privacyPolicy, subscribe, code }\r\n const consumption = localStorage.getItem('consumption')\r\n if (consumption) {\r\n payload = { ...payload, consumptionCenterId: JSON.parse(consumption) ?? 0 } as any\r\n }\r\n try {\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'facebook')\r\n let userData = user\r\n\r\n if (termsOfUse || privacyPolicy || subscribe || code) {\r\n const response = await ProfileService.socialLogin({ payload, credentials: session })\r\n userData = response?.data\r\n }\r\n\r\n if (prize) return setPrize({ prize, name: userData?.firstName, callback: () => completeData(userData, session) })\r\n\r\n return completeData(userData, session)\r\n } catch (error) {\r\n setAllowCookies({ callback, isAllow: false })\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const loginSDK = async (response: any) => {\r\n try {\r\n setLoad(true)\r\n const accessToken = response?.authResponse?.accessToken;\r\n const credentials = FacebookAuthProvider.credential(accessToken)\r\n const result = await signInWithCredential(auth, credentials);\r\n const names = result?.user?.displayName?.split(' ') || ['', '']\r\n const firstName = names[0]\r\n const lastName = names[names.length - 1]\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n\r\n const body: any = { accessToken, firstName, lastName, utm, lang }\r\n\r\n const bithdayUser = (result as any)?.user?.reloadUserInfo?.dateOfBirth ? new Date((result as any)?.user?.reloadUserInfo?.dateOfBirth) : birthday\r\n\r\n if (bithdayUser && !Number.isNaN(bithdayUser)) {\r\n body.birthday = bithdayUser;\r\n }\r\n\r\n const loginResponse = await axios.post(\r\n AUTH, body,\r\n {\r\n headers: { Authorization: `Bearer ${(result?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n setLoad(false)\r\n if (!loginResponse?.data?.profile?.termsOfUse || !loginResponse?.data?.profile?.privacyPolicy) {\r\n gtag('event', 'sign_up', {\r\n event_label: 'SignUp - Meta',\r\n method: \"Meta\"\r\n })\r\n MetaCAPIService.emitCompleteRegistration(result.user.email, firstName, lastName, '', window.location.href, 'Meta', MetaCAPIService.uuidv4())\r\n return setAllowCookies({ callback: (data: { termsOfUse: boolean, subscribe: boolean, code?: string }) => callback({ ...data, session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }), isAllow: true })\r\n }\r\n gtag(\"event\", \"login\", {\r\n event_label: 'Login - Meta',\r\n method: \"Meta\"\r\n });\r\n\r\n dlTrackEvent('login', {\r\n action: 'click',\r\n element: 'Facebook',\r\n section: 'sign in / sign up',\r\n method: 'facebook'\r\n })\r\n\r\n if (flowType === 'alreadyParticipate') return setAllowCookies({\r\n callback: () => callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: false\r\n })\r\n\r\n callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize })\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError)?.response?.data.code || 99999\r\n setLoginError(code)\r\n } else {\r\n const typedError = error as AuthError\r\n setError(typedError)\r\n const isAccountExistsError = typedError.code === 'auth/account-exists-with-different-credential';\r\n const errorKey = isAccountExistsError ? `${typedError.code}-facebook` : typedError.code;\r\n setFirebaseError(errorKey);\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'facebook',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Meta', value: 'Meta' })\r\n if (FC_CLIENTID && ![\"dosequis\", \"tecate\", \"mixx\", \"cristal\", \"heineken00\", \"solMezclas\", 'massive'].includes(THEME)) {\r\n window.FB.login((response) => {\r\n if (response?.authResponse) {\r\n loginSDK(response)\r\n } else {\r\n console.log('User cancelled login or did not fully authorize.');\r\n }\r\n }, { scope: 'email,user_birthday,user_likes' });\r\n } else {\r\n return goToUrlFacebook(null, utmServices.utmRead())\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Facebook\r\n","/* eslint-disable node/no-callback-literal */\r\nimport { AUTH } from 'constants/api'\r\nimport { useContext, useState } from 'react'\r\nimport { AuthError, GoogleAuthProvider, getAuth, OAuthCredential, signInWithPopup } from '@firebase/auth'\r\nimport axios, { AxiosError } from 'axios'\r\nimport utmServices from 'services/utm-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport GoogleIcon from 'components/icon/google'\r\nimport { dlSetUserInfo, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport { Prize } from 'views/prizes/types'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport AlertAppView from '../alertAppView'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport { goToUrlGoogle } from './goToUrlGoogle'\r\n\r\nfunction Google({ setSession, setUser, setLoginError, setError, setFirebaseError, setAllowCookies, setPrize, isHorizontal }) {\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect()\r\n const auth = getAuth()\r\n const provider = new GoogleAuthProvider()\r\n const [flowType] = useLocalStorage('flowType')\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { push } = useRouter();\r\n\r\n const completeData = (user: UserData, session: Object) => {\r\n setSession(session)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update?isNew=true');\r\n\r\n return push('/home')\r\n }\r\n\r\n const callback = async (data?: {\r\n termsOfUse?: boolean\r\n privacyPolicy?: boolean\r\n subscribe?: boolean\r\n code?: string\r\n session: Object\r\n user: UserData\r\n prize?: Prize\r\n }) => {\r\n setLoad(true)\r\n const { session, user, termsOfUse, privacyPolicy, subscribe, code, prize } = data || {}\r\n try {\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'google')\r\n let payload = { termsOfUse, privacyPolicy, subscribe, code }\r\n const consumption = localStorage.getItem('consumption')\r\n\r\n if (consumption) {\r\n payload = { ...payload, consumptionCenterId: JSON.parse(consumption) ?? 0 } as any\r\n }\r\n\r\n let userData = user\r\n if (termsOfUse || privacyPolicy || subscribe || code) {\r\n const response = await ProfileService.socialLogin({\r\n payload: payload,\r\n credentials: session\r\n })\r\n\r\n userData = response?.data\r\n }\r\n\r\n if (prize) return setPrize({ prize, name: userData?.firstName, callback: () => completeData(userData, session) })\r\n\r\n return completeData(userData, session)\r\n } catch (error) {\r\n setAllowCookies({ callback, isAllow: false })\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const login = async () => {\r\n setLoad(true)\r\n try {\r\n provider.addScope('https://www.googleapis.com/auth/userinfo.profile')\r\n provider.addScope('https://www.googleapis.com/auth/userinfo.email')\r\n const result = await signInWithPopup(auth, provider)\r\n const names = result.user?.displayName?.split(' ') || ['', '']\r\n const firstName = names[0]\r\n const lastName = names[names.length - 1]\r\n const { accessToken } = GoogleAuthProvider.credentialFromResult(result) as OAuthCredential\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n const body: any = { accessToken, firstName, lastName, utm, lang }\r\n\r\n if (birthday) {\r\n body.birthday = birthday;\r\n }\r\n\r\n const loginResponse = await axios.post(\r\n AUTH, body,\r\n {\r\n headers: { Authorization: `Bearer ${(result.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n setLoad(false)\r\n if (!loginResponse?.data?.profile?.termsOfUse || !loginResponse?.data?.profile?.privacyPolicy) {\r\n gtag('event', 'sign_up', {\r\n event_label: 'SignUp - Google',\r\n method: 'Google'\r\n })\r\n MetaCAPIService.emitCompleteRegistration(result.user.email, firstName, lastName, '', window.location.href, 'Meta', MetaCAPIService.uuidv4())\r\n return setAllowCookies({\r\n callback: (data: { termsOfUse: boolean; subscribe: boolean; code?: string }) =>\r\n callback({ ...data, session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: true\r\n })\r\n } else {\r\n gtag('event', 'login', {\r\n event_label: 'Login - Google',\r\n method: 'Google'\r\n })\r\n dlTrackEvent('login', {\r\n method: 'google'\r\n })\r\n\r\n if (flowType === 'alreadyParticipate') return setAllowCookies({\r\n callback: () => callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: false\r\n })\r\n }\r\n callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize })\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } else {\r\n const typedError = error as AuthError\r\n setError(typedError)\r\n const isAccountExistsError = typedError.code === 'auth/account-exists-with-different-credential';\r\n const errorKey = isAccountExistsError ? `${typedError.code}-google` : typedError.code;\r\n setFirebaseError(errorKey);\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'google',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Google', value: 'Google' })\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n if (false as any || [\"dosequis\", \"tecate\", \"mixx\", \"cristal\", \"heineken00\", \"solMezclas\", 'massive'].includes(THEME)) {\r\n return goToUrlGoogle(null, utmServices.utmRead())\r\n }\r\n\r\n return login()\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {\r\n isHorizontal\r\n ? (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n

Sign in with Google

\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 Google\r\n","import { Link } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\n\r\nfunction Guest() {\r\n\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: 'CódigoTecate',\r\n event_label: 'Ingresar como invitado',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n \r\n \r\n )\r\n}\r\n\r\nexport default Guest\r\n","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { SignUpDiv } from 'theme/theme'\r\n\r\nfunction SignUp() {\r\n return (\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('start/signup', { es: 'REGISTRARME', en: 'REGISTER' }),\r\n section: 'sign up'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Registro - Email',\r\n value: 'Email'\r\n })\r\n\r\n }}\r\n >\r\n {textServices.findByText('start/signup', { es: 'REGISTRARME', en: 'REGISTER' })}\r\n \r\n )\r\n}\r\n\r\nexport default SignUp\r\n","import { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { SignInDiv } from 'theme/theme'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\n\r\nfunction SignIn() {\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Inicio de sesión - Email',\r\n value: 'Email'\r\n })\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('start/signin', { es: 'YA TENGO USUARIO', en: 'I ALREADY HAVE A USER' }),\r\n section: 'login'\r\n })\r\n }}\r\n >\r\n \r\n {textServices.findByText('start/signin', { es: 'YA TENGO USUARIO', en: 'I ALREADY HAVE A USER' })}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default SignIn\r\n","import textServices from 'services/text-services'\r\nimport { Back } from '../../../theme/theme'\r\n\r\nfunction BackgroundImage() {\r\n return (\r\n \r\n
\r\n

\r\n {textServices.findByText('start/backgroundimage/title', { es: <>¿Listo para ser
parte del equipo?
¡Regístrate!, en: <>Ready to be
part of the team?
Register now! })}\r\n

\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default BackgroundImage\r\n","import styled from 'styled-components'\r\nimport { FromContainerType, Type } from '../types'\r\n\r\nexport const FormContainer = styled.div.attrs((props: FromContainerType) => ({\r\n isFocused: props.isFocused,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${props => props.isFocused ? props.theme?.start?.codeBg : props.theme?.start?.codeBgVariations};\r\n ${props => (props.theme?.redeem?.useTexture && window.location.pathname.split('/')[2] === 'redeem' && props.isFocused) && `background-image: url('${AZURE_BASE_URL}/${props.theme?.redeem?.textureName}')\r\n ${props.theme?.redeem?.useTextureTwo && `, url('${AZURE_BASE_URL}/textura.${props.theme?.loading?.config?.bgTexture || 'svg'}')`} \r\n ${props.theme?.redeem?.useTextureThree && `, url('${AZURE_BASE_URL}/loader.${props.theme?.loading?.config?.bgLoader || 'svg'}')`};`}\r\n`\r\n\r\nexport const ButtonGo = styled.button.attrs((props: FromContainerType) => ({\r\n isFocused: props.isFocused,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${props => props.isFocused ? props.theme?.start?.codeButtonVariations : props.theme?.start?.codeButton};\r\n font-size: 1.6em;\r\n font-weight: 900;\r\n color: ${props => props.theme?.start?.codeButtonText};\r\n border-radius: ${props => props.theme?.start?.codeButtonRadius};\r\n ${({ theme }) => theme?.redeem?.btnStyle}\r\n`\r\n\r\nexport const StartImg = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.start?.width};\r\n @media (min-width: 640px) {\r\n width: ${(props: Type) => props.theme?.imagesConfig?.start?.maxWidth};\r\n }\r\n`\r\n\r\nexport const ProductsImg = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.products.width};\r\n max-width: ${(props: Type) => props.theme?.imagesConfig?.products.maxWidth};\r\n max-height: ${(props: Type) => props.theme?.imagesConfig?.products.maxHeight};\r\n display: ${(props: Type) => props.theme?.imagesConfig?.products.valid ? 'block' : 'none'};\r\n`\r\n\r\nexport const FormContainerInput = styled.form`\r\n ${(props: Type) => props.theme?.start?.formContainerInput};\r\n`\r\n\r\nexport const RedeemTextFocus = styled.p`\r\n ${(props: Type) => props.theme?.redeem?.redeemTextFocus};\r\n`","import textServices from 'services/text-services'\r\nimport { Back } from '../../../theme/theme'\r\nimport { StartImg } from '../../../theme/start'\r\n\r\nfunction ImageAndText() {\r\n return (\r\n \r\n
\r\n

\r\n {textServices.findByText('start/imageandtext/title', { es: <>¿ESTAS LISTO PARA LO QUE SE VIENE?
CONOCE, en: <>ARE YOU READY FOR WHAT'S AHEAD?
KNOW })}\r\n

\r\n \r\n

\r\n {textServices.findByText('start/imageandtext/description', { es: <>PÀSALE, PERO ANTES,
¿YA TE REGISTRASTE?, en: <>PASS HIM, BUT FIRST,
HAVE YOU REGISTERED YET? })}\r\n

\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ImageAndText\r\n","import Button from 'components/button'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport PopUp from '.'\r\n\r\nfunction StartPopUp({ handleMenu }: { handleMenu: () => void }) {\r\n useMainClass('start__popup')\r\n\r\n return (\r\n \r\n {textServices.findByText('popUps/start/html')}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default StartPopUp","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useState } from 'react'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent';\r\nimport TwitchIcon from 'components/icon/twitch';\r\nimport utmServices from 'services/utm-services';\r\nimport AlertAppView from '../alertAppView';\r\nimport { goToUrlTwitch } from './goToUrlTwitch';\r\n\r\nfunction Twitch() {\r\n\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n\r\n const handleOnClick = async () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'twith',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Twitch', value: 'Twitch' })\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n goToUrlTwitch(null, utmServices.utmRead());\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\nexport default Twitch","import Button from \"components/button\";\r\nimport { useUTMParams } from \"components/utms/useUTMParams\";\r\nimport { useMemo } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nexport default function Xeerpa() {\r\n const utmParams = useUTMParams();\r\n\r\n const search = useMemo(() => {\r\n const searchParams = new URLSearchParams({ 'tointernal': 'true' });\r\n\r\n for (const key in utmParams) {\r\n if (utmParams[key] && !searchParams.has(key)) {\r\n searchParams.set(key, utmParams[key]);\r\n }\r\n }\r\n\r\n return searchParams?.toString()\r\n }, [utmParams])\r\n\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}","import styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\nimport { SubTitle, Text, Title } from 'theme/theme';\r\n\r\nexport const TitleStart = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.start?.text?.title}\r\n`;\r\n\r\nexport const SubTitleStart = styled(SubTitle)`\r\n font-size: 1.25rem;\r\n ${({ theme }: Type) => theme?.start?.text?.subtitle}\r\n`;\r\n\r\nexport const TextStart = styled(Text)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.start?.text?.text}\r\n`;","\r\nimport { useContext, useEffect, useMemo, useState } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport dayjs from 'dayjs'\r\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport AllowCookies from 'components/allow-cookies'\r\nimport textServices from 'services/text-services'\r\nimport { Back } from 'theme/theme'\r\nimport { Facebook, Google, Guest, SignUp, SignIn } from 'components/start'\r\nimport ErrorView from 'components/error-view'\r\nimport { useLocalStorage } from 'react-use'\r\nimport StartPopUp from 'components/popUps/startPopUp'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Twitch from 'components/start/twitch'\r\nimport AlreadyParticipate from 'views/sign-up/components/already-participate'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport CONFIGS from 'build/Config'\r\nimport Xeerpa from 'components/start/xeerpa'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { FormContainer } from '../../theme/start'\r\nimport { TextStart, TitleStart } from './text.style'\r\ndayjs.extend(customParseFormat)\r\nexport interface FormValues {\r\n code: string\r\n}\r\n\r\nconst Start = () => {\r\n const [session, { setError, setSession, setUser }] = useSession()\r\n const history = useHistory()\r\n const [{ url }, { redirect }] = useRedirect();\r\n const [firebaseError, setFirebaseError] = useState('')\r\n const [loginError, setLoginError] = useState()\r\n const [allowCookies, setAllowCookies] = useState<{ callback: () => void, isAllow: boolean }>()\r\n const { setHead, setFooter } = useContext(LoaderContext)\r\n const [prize, setPrize] = useState<{ prize: Prize, name: string, callback: () => void }>(null)\r\n const [flowType] = useLocalStorage('flowType')\r\n useMainClass('start')\r\n\r\n const typedThemeButtons: string[] = CONFIGS?.buttonsStart\r\n\r\n const listCommon = useMemo(() => {\r\n return [\r\n {\r\n type: 'signUp',\r\n component: ,\r\n },\r\n {\r\n type: 'signIn',\r\n component: ,\r\n },\r\n {\r\n type: 'xeerpa',\r\n component: ,\r\n },\r\n {\r\n type: 'guest',\r\n component: ,\r\n },\r\n ].filter(({ type }) => typedThemeButtons.includes(type)).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [])\r\n\r\n const listSocial = useMemo(() => {\r\n return [\r\n {\r\n type: 'google',\r\n component: ,\r\n },\r\n {\r\n type: 'facebook',\r\n component: \r\n },\r\n {\r\n type: 'twitch',\r\n component: \r\n },\r\n ].filter(({ type }) => {\r\n const isDisplayInTheme = typedThemeButtons.includes(type)\r\n\r\n return isDisplayInTheme\r\n }).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [])\r\n\r\n const [popUp, setPopUp] = useLocalStorage('startPopUp', false)\r\n\r\n useEffect(() => {\r\n setHead(true)\r\n setFooter(true)\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (session.user) {\r\n if (url) return redirect()\r\n history.push('/home')\r\n }\r\n }, [session.user])\r\n\r\n const formContainerClasses = `my-8 flex-col w-full transition-colors duration-300 items-center px-7 sm:max-w-sm sm:items-center`\r\n\r\n if (prize) {\r\n return \r\n }\r\n\r\n if (allowCookies?.isAllow) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (!allowCookies?.isAllow && allowCookies?.callback && flowType === 'alreadyParticipate') return \r\n\r\n if (loginError) {\r\n return setLoginError(null)} onRetry={() => setLoginError(null)} />\r\n }\r\n\r\n if (firebaseError) {\r\n return setFirebaseError('')} onRetry={(code) => +code === 107 ? history.push('/login') : setFirebaseError('')} />\r\n }\r\n\r\n if (!popUp && CONFIGS?.startPopUp) {\r\n return setPopUp(true)} />\r\n }\r\n\r\n return (\r\n
\r\n {textServices.findByText('start/title/html',\r\n \r\n
\r\n \r\n {textServices.findByText('start/title/h1', { es: <>¿Listo para ser
parte del equipo?
¡Regístrate!, en: <>Ready to be part of the team?
Sign up! })}\r\n
\r\n
\r\n
\r\n )}\r\n \r\n
\r\n {!CONFIGS?.socialHorizontal && listSocial?.length > 0 && (\r\n
\r\n {textServices.findByText('start/social', { es: 'ENTRA CON:', en: 'ENTER WITH' })}\r\n {listSocial.map((social, index) => {\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n\r\n if (inBrowserApp && ['google', 'twitch'].includes(social?.type) && !['dosequis', 'mixx'].includes(THEME)) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n {social.component}\r\n \r\n )\r\n })}\r\n
\r\n )}\r\n {(CONFIGS?.socialHorizontal ? [...listSocial, ...listCommon] : listCommon).map((common, index) => {\r\n return
{common?.component}
\r\n })}\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Start","import { CODE_EXCHANGE } from 'constants/api'\r\nimport { useContext, useRef, useState } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios, { AxiosError } from 'axios'\r\nimport { useForm } from 'react-hook-form'\r\nimport ReCAPTCHA from 'react-google-recaptcha'\r\nimport mergeRefs from 'merge-refs'\r\nimport clone from 'lodash.clone'\r\nimport Input from 'components/input'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\n\r\nimport textServices from 'services/text-services'\r\nimport styled from 'styled-components'\r\nimport modules from 'build/modules'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { FormContainer, ButtonGo, FormContainerInput, RedeemTextFocus } from '../../theme/start'\r\n\r\nexport interface FormValues {\r\n code: string\r\n}\r\n\r\nconst InputGo = styled(Input)`\r\n ${({ theme }: any) => theme?.start?.inputGo}\r\n`\r\n\r\nfunction ButtonGoRedeem({ setIsFocused, isFocused, redeemError, setRedeemError }) {\r\n\r\n const [session, { setUser }] = useSession()\r\n const history = useHistory()\r\n const { register, handleSubmit, formState: { errors } } = useForm({ defaultValues: { code: '' } })\r\n const [shouldListenToEvents, setShouldListenToEvents] = useState(false)\r\n const { setLoad, setHead, setFooter } = useContext(LoaderContext)\r\n const [secondCode, setSecondCode] = useState(false)\r\n const inputRef = useRef(null)\r\n const recaptchaRef = useRef(null)\r\n const [state, setState] = useLocalStorage('state', {})\r\n const [, setPrize] = useLocalStorage('prize', {})\r\n const [, setRange] = useLocalStorage('range', undefined as any)\r\n\r\n const inputFormProps = register('code')\r\n\r\n const onSubmit = handleSubmit(async (data) => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingresó Código', value: '10' })\r\n if (secondCode)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingresó Código Nuevo', value: '10' })\r\n if (inputRef.current?.value && inputRef.current?.value.length < 4) {\r\n setRedeemError(456)\r\n return\r\n }\r\n recaptchaRef.current?.reset()\r\n inputRef.current?.blur()\r\n\r\n recaptchaRef.current?.executeAsync().then(async (recaptchaToken) => {\r\n if (data.code) {\r\n setLoad(true)\r\n try {\r\n const response = await axios.post(\r\n CODE_EXCHANGE,\r\n { ...data, recaptchaToken },\r\n {\r\n headers: { Authorization: `Bearer ${((session.data as any)?._tokenResponse as any).idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n\r\n const newUser = clone(session.user) as any\r\n newUser.totalPoints = response.data.profile.totalPoints\r\n newUser.level = response.data.profile.level\r\n newUser.chances = response.data.profile.chances\r\n setState({ ...state, user: newUser })\r\n setUser(newUser)\r\n setPrize(response?.data)\r\n setSecondCode(true)\r\n if (response?.data?.profile?.isNewLevel) {\r\n setRange(response?.data?.profile)\r\n }\r\n history.push('/congrats')\r\n setHead(true)\r\n setFooter(true)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingreso éxitoso', value: '10' })\r\n\r\n } catch (error) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingreso érroneo', value: '10' })\r\n const err = error as AxiosError\r\n inputRef.current?.focus()\r\n\r\n const code = err.response?.data.code || 99999\r\n setRedeemError(code)\r\n setLoad(false)\r\n setHead(true)\r\n setFooter(true)\r\n if (code === 66 || code === 67) {\r\n setHead(true)\r\n setFooter(true)\r\n history.push(`/error/${code}`)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n })\r\n })\r\n\r\n const onFocus = () => {\r\n setIsFocused(true)\r\n setHead(false)\r\n setFooter(false)\r\n\r\n setTimeout(() => {\r\n setShouldListenToEvents(true)\r\n }, 200)\r\n }\r\n\r\n const onBlur = (e: any) => {\r\n if (e.target.tagName === 'DIV') {\r\n setIsFocused(false)\r\n setHead(true)\r\n setFooter(true)\r\n setShouldListenToEvents(false)\r\n }\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Focus en input', value: '10' })\r\n }\r\n\r\n const formContainerClasses = `pb-4 flex-col w-full transition-colors duration-300 items-center px-7 ${isFocused && 'flex absolute min-h-view h-screen top-0 px-7 justify-center'}`\r\n\r\n return (\r\n \r\n \r\n {isFocused && (\r\n \r\n {textServices.findByText('redeem/description2', { es: <>INGRESA EL CÓDIGO QUE SE ENCUENTRA
DENTRO DE LOS 12 PACK, en: <>ENTER THE CODE THAT IS
INSIDE THE 12 PACKS })}\r\n
\r\n )}\r\n \r\n {\r\n if (redeemError) {\r\n setRedeemError(null)\r\n }\r\n }}\r\n />\r\n \r\n {modules?.json?.start?.codeButtonImg ? (\r\n \"go\"\r\n ) : (\r\n 'GO'\r\n )}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonGoRedeem\r\n","import Countdown from 'react-countdown'\r\nimport { Link } from 'react-router-dom'\r\nimport { useContext, useEffect, useMemo } from 'react'\r\nimport dayjs from 'dayjs'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport {\r\n DivTriviaList,\r\n DivTriviaListBorder,\r\n DivTitleTriviaList,\r\n H2TitleTriviaList,\r\n TriviaDescription,\r\n DivTriviaContainer,\r\n TriviaTitle,\r\n TriviaSubtitle,\r\n TriviaSubtitleSpan,\r\n TriviaPrize,\r\n TriviaStock,\r\n TriviaTime,\r\n TriviaCost,\r\n TriviaTitlePage,\r\n TriviaNotFoundContainer,\r\n TriviaNotFoundText,\r\n TriviaTimeNumbers,\r\n TriviaCostNumber\r\n} from '../../theme/trivias'\r\n\r\nexport enum TriviaStatusEnum {\r\n AVAILABLE = 1,\r\n NOT_AVAILABLE = 2,\r\n WON = 3,\r\n LOST = 4\r\n}\r\n\r\nconst TriviaList = () => {\r\n const [state, { getTrivias }] = useTrivia()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ user, data }] = useSession()\r\n\r\n useEffect(() => {\r\n if (data) {\r\n getTrivias()\r\n }\r\n }, [data])\r\n\r\n if (!state.trivias) {\r\n setLoad(true)\r\n } else {\r\n setLoad(false)\r\n }\r\n\r\n dayjs.extend(calendar)\r\n\r\n const avaliableTrivias = useMemo(() => {\r\n return state?.trivias\r\n ?.filter((item) => {\r\n let isActive = true\r\n const nowDate = dayjs(new Date())\r\n if (item.validFrom) {\r\n const validFrom = new Date(item.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate < date) isActive = false\r\n }\r\n\r\n if (item.validTo) {\r\n const validTo = new Date(item.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate > date) isActive = false\r\n }\r\n\r\n // If direct access doesn't show never\r\n if (item?.directAccess) return false\r\n\r\n // Have Ranking always, must show\r\n if (item?.withRanking) return true\r\n \r\n // If already plays, doesn't show never\r\n if (item?.profileTriviaStatus === 3) return false\r\n\r\n // If is active, must show\r\n return isActive\r\n })\r\n ?.sort((a, b) => {\r\n if (a.profileTriviaStatus === 3 && b.profileTriviaStatus !== 3) return 1\r\n if (b.profileTriviaStatus === 3 && a.profileTriviaStatus !== 3) return -1\r\n\r\n const today = dayjs()\r\n const diffA = dayjs(a.validTo).diff(today)\r\n const diffB = dayjs(b.validTo).diff(today)\r\n\r\n return diffB - diffA\r\n })\r\n }, [state.trivias])\r\n\r\n return (\r\n \r\n
\r\n \r\n {textServices.findByText('trivias/list/title', { es: 'Trivias', en: 'Trivias' })}\r\n \r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'Trivias', event_label: 'Ordenar' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'ordenar por', section: 'trivia' })\r\n }}\r\n >\r\n {textServices.findByText('trivias/list/sort', { es: 'ordenar por', en: 'sort by' })}\r\n \r\n
\r\n {state.trivias && avaliableTrivias.length ? (\r\n
\r\n {avaliableTrivias.map((item) => {\r\n const hasEnoughPoints = parseInt(user?.totalPoints || '0', 10) >= item.costInPoints\r\n const isAvailable = item.stock !== 0\r\n const isUnlimited = isAvailable && item.stock === -1\r\n let shouldShowCountdown = false\r\n let isActive = hasEnoughPoints\r\n\r\n let dateCountdown\r\n let countdownType\r\n const nowDate = dayjs(new Date())\r\n if (item.validFrom) {\r\n const validFrom = new Date(item.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/start', {\r\n es: 'Comienza en',\r\n en: 'Starts at'\r\n })\r\n shouldShowCountdown = true\r\n dateCountdown = date.toDate()\r\n }\r\n if (nowDate < date) isActive = false\r\n }\r\n\r\n if (item.validTo && !countdownType) {\r\n const validTo = new Date(item.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/end', { es: 'Finaliza en', en: 'Ends at' })\r\n shouldShowCountdown = true\r\n dateCountdown = date.toDate()\r\n }\r\n\r\n if (nowDate > date) isActive = false\r\n }\r\n\r\n if (item?.profileTriviaStatus === 3) isActive = false\r\n\r\n if (isAvailable && (false as any) && item.imageUrl !== '') {\r\n return (\r\n \r\n \r\n \r\n \r\n {item.interest}\r\n \r\n

{item?.name}

\r\n \r\n \r\n \r\n {item.description}\r\n \r\n
\r\n \"logo\"\r\n

{item.prize}

\r\n \"logo\"\r\n
\r\n\r\n
\r\n
\r\n {shouldShowCountdown && (\r\n

\r\n {countdownType}
{' '}\r\n \r\n

\r\n )}\r\n
\r\n {!isUnlimited && item.stock <= 500 && (\r\n

\r\n {item.stock}{' '}\r\n {textServices.findByText('trivias/list/card/available', {\r\n es: 'disponible',\r\n en: 'available'\r\n })}\r\n {item.stock > 1 ? 's' : ''}\r\n

\r\n )}\r\n {item.costInPoints > 0 && (\r\n
\r\n \r\n {item.costInPoints}\r\n \r\n {POINTS_NAME}\r\n
\r\n )}\r\n {item.costInPoints === 0 && (\r\n
\r\n {textServices.findByText('trivias/list/card/free', { es: 'GRATIS', en: 'FREE' })}\r\n
\r\n )}\r\n
\r\n
\r\n {!hasEnoughPoints && (\r\n
\r\n {textServices.findByText('trivias/list/card/enough', {\r\n es: 'no tienes suficientes',\r\n en: \"you don't have enough\"\r\n })}{' '}\r\n {POINTS_NAME}\r\n
\r\n )}\r\n
\r\n \r\n )\r\n } else if (isAvailable) {\r\n return (\r\n \r\n \r\n \r\n \r\n {item.interest}\r\n \r\n \r\n {item?.name}\r\n \r\n \r\n \r\n \r\n {textServices.findByText('trivias/questions1', { es: `Contesta `, en: 'Answer ' })}\r\n \r\n {item.nbrOfQuestions}\r\n \r\n {textServices.findByText('trivias/questions2', {\r\n es: ` preguntas sobre el tema y gana:`,\r\n en: ` questions on the subject and win:`\r\n })}\r\n \r\n \r\n {item.prize}\r\n \r\n {!isUnlimited && item.stock <= 500 && (\r\n \r\n {item.stock}{' '}\r\n {textServices.findByText('trivias/list/card/available', {\r\n es: 'disponible',\r\n en: 'available'\r\n })}\r\n {item.stock > 1 ? 's' : ''}\r\n \r\n )}\r\n
\r\n
\r\n {shouldShowCountdown && (\r\n \r\n {countdownType}\r\n
{' '}\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n {item.costInPoints > 0 && (\r\n \r\n

\r\n {' '}\r\n \r\n {item.costInPoints}\r\n {' '}\r\n {POINTS_NAME}{' '}\r\n

\r\n {/* {item.costInPoints}\r\n {POINTS_NAME} */}\r\n
\r\n )}\r\n {item.costInPoints === 0 && (\r\n \r\n {textServices.findByText('trivias/list/card/free', { es: 'GRATIS', en: 'FREE' })}\r\n \r\n )}\r\n
\r\n
\r\n {!hasEnoughPoints && (\r\n
\r\n {textServices.findByText('trivias/list/card/enough', {\r\n es: 'no tienes suficientes',\r\n en: \"you don't have enough\"\r\n })}{' '}\r\n {POINTS_NAME}\r\n
\r\n )}\r\n
\r\n \r\n )\r\n } else {\r\n return null\r\n }\r\n })}\r\n
\r\n ) : (\r\n \r\n \r\n {textServices.findByText('trivias/not-found', {\r\n es: 'NO HAY TRIVIAS DISPONIBLES',\r\n en: 'NO TRIVIA AVAILABLE'\r\n })}\r\n \r\n \r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default TriviaList\r\n","\r\nimport { useEffect, useState } from 'react'\r\nimport ButtonGoRedeem from 'components/button-go'\r\nimport { BackRedeem, TextSub, DivRedeemBottomText, ImgRedeemContainer } from 'theme/theme'\r\nimport textServices from 'services/text-services'\r\nimport ErrorView from 'components/error-view'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useHistory } from 'react-router-dom'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst Redeem = () => {\r\n useMainClass('redeem')\r\n const [{ user }] = useSession()\r\n const [isFocused, setIsFocused] = useState(false)\r\n const [redeemError, setRedeemError] = useState(null)\r\n const history = useHistory()\r\n useSurveyRedirect(SurveyTypeEnum.REDEEM)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: redeemError !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [redeemError])\r\n\r\n if (redeemError) return setRedeemError(null)} onRetry={() => setRedeemError(null)} />\r\n\r\n\r\n const handleRetry = () => {\r\n return history.push('/')\r\n }\r\n\r\n const handleButton = () => {\r\n history.push('/consumption/update')\r\n }\r\n\r\n if (!user?.consumptionCenter?.internalId && CONFIGS?.popupClientNum) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n \r\n {\r\n textServices.findByText('redeem/title') !== 'redeem/title' ?\r\n \r\n {textServices.findByText('redeem/title')}\r\n \r\n :\r\n \r\n {textServices.findByText('redeem/subtitle', '')}\r\n \r\n \r\n }\r\n\r\n \r\n \r\n
\r\n

\r\n {textServices.findByText('redeem/description', { es: <>Ingresa el código que se encuentra dentro de
los 12 pack para sumar puntos en el ranking, en: <>Enter the code found inside
the 12 packs to add points in the ranking })}\r\n

\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Redeem\r\n","import { TYC } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport styled from 'styled-components'\r\nimport { Type } from 'theme/types'\r\nimport ErrorView from 'components/error-view'\r\nimport useRouter from 'hooks/use-router'\r\nimport styles from './styles.module.scss'\r\n\r\nconst Div = styled.div`\r\n ${({ theme }: Type) => theme?.termsAndConditions?.div}\r\n`\r\n\r\nconst TYCPage = () => {\r\n useMainClass('terms-and-conditions')\r\n const { push } = useRouter()\r\n const [{ loading, error, data }] = useAxios({\r\n url: TYC,\r\n headers: { 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n\r\n if (error) {\r\n return push('/home')} />\r\n }\r\n\r\n if (loading) {\r\n return \r\n }\r\n\r\n if (data) {\r\n return
\r\n
\r\n
\r\n }\r\n}\r\n\r\nexport default TYCPage\r\n","import styled from 'styled-components'\r\nimport { Crown } from 'theme/profile'\r\nimport { Type, isActiveType, isSelectedType } from '../types'\r\n\r\nexport const DivTriviaList = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextTrivia};\r\n`\r\n\r\nexport const H1PrefPicker = styled.h1`\r\n color: ${(props: Type) => props.theme?.trivias?.ColorTextPref};\r\n ${(props: Type) => props.theme?.trivias?.textPrefTitle}\r\n`\r\n\r\nexport const PPrefPicker = styled.p`\r\n color: ${(props: Type) => props.theme?.trivias?.ColorTextPref};\r\n ${(props: Type) => props.theme?.trivias?.TextPref}\r\n`\r\n\r\nexport const TriviaDescription = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaDescription};\r\n`\r\n\r\nexport const TriviaNumber = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaNumber};\r\n`\r\n\r\nexport const DivTriviaListBorder = styled.div.attrs((props: isActiveType) => ({\r\n isActive: props.isActive,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n opacity: ${(props: isActiveType) => !props.isActive && '0.8'};\r\n background-color: ${(props: isActiveType) => !props.isActive && props.theme?.trivias?.backgroundTriviaDisabled};\r\n border-color: ${(props: Type) => props.theme?.trivias?.borderBottomTrivia};\r\n`\r\n\r\nexport const DivTitleTriviaList = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTriviaTop};\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundTitleTrivia};\r\n border-top: ${(props: Type) => props.theme?.trivias?.TitleTriviaBorder};\r\n border-bottom: ${(props: Type) => props.theme?.trivias?.TitleTriviaBorder};\r\n`\r\n\r\nexport const H2TitleTriviaList = styled.h2`\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundTitleClassTrivia};\r\n color: ${(props: Type) => props.theme?.trivias?.colorTitleTrivia};\r\n font-family: ${(props: Type) => props.theme?.trivias?.fontTitleTrivia};\r\n font-size: ${(props: Type) => props.theme?.trivias?.fontSizeTitleTrivia};\r\n ${(props: Type) => props.theme?.trivias?.titleTrivia}\r\n`\r\n\r\nexport const DivModalContinue = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextContinue};\r\n background: ${(props: Type) => props.theme?.trivias?.backgroundContinue};\r\n ${(props: Type) => props.theme?.trivias?.backgroundContinueImage && `\r\n background-image: url(${AZURE_BASE_URL}/textura.${props.theme?.loading?.config?.bgTexture || 'svg'})\r\n `};\r\n`\r\n\r\nexport const ButtonModalContinue = styled.button`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextContinue};\r\n`\r\n\r\nexport const DivSelector = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextSelect};\r\n`\r\n\r\nexport const DivSelectorTitle = styled.div`\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundSelectTitle};\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextSelectTitle};\r\n`\r\n\r\nexport const LiSelectorOption = styled.li.attrs((props: isSelectedType) => ({\r\n isSelected: props.isSelected,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n border-color: ${(props: isSelectedType) => props.theme?.trivias?.borderSelectOption};\r\n background-color: ${(props: isSelectedType) =>\r\n props.isSelected ? props.theme?.trivias?.backgroundOptionSelect : props.theme?.trivias?.backgroundOptionDesactive};\r\n`\r\n\r\nexport const DivSelectOption = styled.div.attrs((props: isSelectedType) => ({\r\n isSelected: props.isSelected,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${(props: isSelectedType) => props.isSelected && props.theme?.trivias?.backgroundOptionCircleActive};\r\n`\r\n\r\nexport const H1Congrats = styled.h1`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextCongrats};\r\n`\r\n\r\nexport const PCongrats = styled.p`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextCongrats};\r\n`\r\n\r\nexport const QuestionHeader = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questions?.header};\r\n`\r\n\r\nexport const QuestionNumber = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questions?.number};\r\n`\r\n\r\nexport const QuestionTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questions?.title};\r\n`\r\nexport const DivTriviaContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.divTriviaContainer};\r\n`\r\nexport const TriviaTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.titleRight};\r\n`\r\n\r\nexport const TriviaCountdown = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.countdownStyle};\r\n`\r\n\r\nexport const TriviaSubtitle = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.subtitleCenter};\r\n`\r\n\r\nexport const TriviaSubtitleSpan = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.subtitleCenterSpan};\r\n`\r\n\r\nexport const TriviaPrize = styled.h3`\r\n ${(props: Type) => props.theme?.trivias?.prizeCenter};\r\n`\r\n\r\nexport const TriviaStock = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaStockCenter};\r\n`\r\n\r\nexport const TriviaTime = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaTime};\r\n`\r\n\r\nexport const TriviaTimeNumbers = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.triviaTimeNumbers};\r\n`\r\n\r\nexport const TriviaCost = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.triviaCost};\r\n`\r\n\r\nexport const TriviaCostNumber = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.triviaCostNumber};\r\n`\r\n\r\nexport const TriviaModalH1 = styled.h1`\r\n ${(props: Type) => props.theme?.trivias?.triviaModalH1};\r\n`\r\n\r\nexport const TriviaModelP = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaModelP};\r\n`\r\n\r\nexport const TriviaModalWarning = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaModalWarning};\r\n`\r\n\r\nexport const TriviaTitlePage = styled.h1`\r\n${(props: Type) => props.theme?.trivias?.triviaTitlePage};\r\n`\r\n\r\nexport const SpanColorTitle = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.spanColorTitle};\r\n`\r\n\r\nexport const TriviaNotFoundContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.triviaNotFoundContainer};\r\n`\r\n\r\nexport const TriviaNotFoundText = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaNotFoundText};\r\n`\r\n\r\nexport const CrownTrivia = styled(Crown)`\r\n ${(props: Type) => props.theme?.trivias?.crownTrivia};\r\n`\r\n// TRIVIA IMG\r\n\r\nexport const QuestionImgContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionImgContainer};\r\n`\r\n\r\nexport const QuestionImg = styled.img`\r\n ${(props: Type) => props.theme?.trivias?.questionImg};\r\n`\r\n\r\nexport const QuestionImgTitleContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionImgTitleContainer};\r\n`\r\n\r\nexport const QuestionImgTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questionImgTitle};\r\n`\r\n\r\nexport const ColorCountdown = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.colorCountdown};\r\n`\r\n\r\nexport const CountdownContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.countdownContainer};\r\n`\r\n\r\nexport const QuestionContainerTwoQuestions = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionContainerTwoQuestions};\r\n`\r\n\r\nexport const ImgLarge = styled.img`\r\n ${(props: Type) => props.theme?.trivias?.imgLarge};\r\n`\r\n\r\nexport const OptionStyle = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.optionStyle};\r\n`\r\nexport const LiBorderColor = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.liBorderColor};\r\n`","import PrefPicker from 'components/pref-picker'\r\nimport textServices from 'services/text-services'\r\nimport { H1PrefPicker, PPrefPicker } from '../../theme/trivias'\r\n\r\nconst PreferencesPicker = () => {\r\n return (\r\n
\r\n \r\n {textServices.findByText('trivias/prefpicker/title', {\r\n es: 'Primero cuentanos tus preferencias',\r\n en: 'First tell us your preferences'\r\n })}\r\n \r\n \r\n {textServices.findByText('trivias/prefpicker/description', {\r\n es: 'selecciona al menos tres categorías',\r\n en: 'select at least three categories'\r\n })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PreferencesPicker\r\n","import Button from 'components/button'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport ButtonCloseMenu from 'components/button-close'\r\n\r\ninterface IProps {\r\n setShowIntroduction: (show: boolean) => void\r\n}\r\n\r\nfunction IntroductionTrivia({ setShowIntroduction }: IProps) {\r\n\r\n const { history } = useRouter()\r\n\r\n const closeIntroduction = () => {\r\n localStorage.setItem('introductionTrivias', 'true')\r\n setShowIntroduction(false)\r\n }\r\n\r\n return (\r\n
\r\n history.goBack()}\r\n />\r\n {textServices.findByText('trivia/modal/items', )}\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default IntroductionTrivia","import { useEffect, useState } from 'react'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport PreferencesPicker from './pref-picker'\r\nimport TriviaList from './trivia-list'\r\nimport IntroductionTrivia from './components/introduction'\r\n\r\nconst Trivia = () => {\r\n const [trivia] = useTrivia()\r\n const [showIntroduction, setShowIntroduction] = useState(CONFIGS?.trivia?.showIntroduction)\r\n const introductionTrivia = localStorage.getItem('introductionTrivias') === 'true'\r\n useSurveyRedirect(SurveyTypeEnum.TRIVIAS)\r\n useMainClass('trivias')\r\n useEffect(() => {\r\n\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivias page load'\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [])\r\n\r\n if (showIntroduction && !introductionTrivia) {\r\n return \r\n }\r\n\r\n if (!trivia.interests.length && CONFIGS.trivia?.interestsRequired) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default Trivia\r\n","import { useMemo, VoidFunctionComponent } from 'react'\r\nimport Button from 'components/button'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useHistory, useLocation } from 'react-router-dom'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport { useTrivia } from 'contexts/trivia-context'\r\nimport dayjs from 'dayjs'\r\nimport Countdown from 'react-countdown'\r\nimport {\r\n DivModalContinue,\r\n ButtonModalContinue,\r\n TriviaModalH1,\r\n TriviaModelP,\r\n TriviaModalWarning\r\n} from '../../../theme/trivias'\r\n\r\nexport interface TriviaModalProps {\r\n onAccept: () => void\r\n}\r\n\r\nconst TriviaModal: VoidFunctionComponent = ({ onAccept }) => {\r\n useMainClass('trivias__popup__intro')\r\n\r\n const history = useHistory()\r\n const location = useLocation()\r\n\r\n const [{ currentTrivia }] = useTrivia()\r\n\r\n const date = useMemo(() => {\r\n let dateCountdown: Date\r\n let countdownType: string\r\n const nowDate = dayjs(new Date())\r\n if (currentTrivia.validFrom) {\r\n const validFrom = new Date(currentTrivia.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/start', { es: 'Comienza en', en: 'Starts at' })\r\n dateCountdown = date.toDate()\r\n }\r\n }\r\n\r\n if (currentTrivia.validTo && !countdownType) {\r\n const validTo = new Date(currentTrivia.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/end', { es: 'Finaliza en', en: 'Ends at' })\r\n dateCountdown = date.toDate()\r\n }\r\n }\r\n\r\n return { dateCountdown, countdownType }\r\n }, [currentTrivia])\r\n\r\n const handleGoBack = () => {\r\n // @ts-expect-error \"from\" es any y daba error, por eso puse expect error\r\n const previousPath = location?.state?.from // Lee la URL previa almacenada\r\n if (previousPath?.includes('album/congrats')) {\r\n history.push('/home') // Redirige al home\r\n } else {\r\n history.goBack() // Regresa al historial\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n
\r\n {currentTrivia?.imageUrl ? (\r\n {currentTrivia?.title}\r\n ) : (\r\n <>\r\n )}\r\n \r\n {currentTrivia?.title}\r\n \r\n
\r\n
\r\n

{date?.countdownType}:

\r\n

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

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

\r\n {textServices.findByText('trivias/challenge/modal/value', { es: 'Valor:', en: 'Value:' })}\r\n

\r\n

\r\n \r\n {currentTrivia?.costInPoints > 0\r\n ? `${currentTrivia?.costInPoints} ${POINTS_NAME}`\r\n : textServices.findByText('trivias/challenge/modal/free', { es: 'GRATIS', en: 'FREE' })}\r\n \r\n

\r\n
\r\n
\r\n \r\n {currentTrivia?.costInPoints > 0 &&\r\n textServices.findByText('tivias/challenge/modal/intro', {\r\n es: (\r\n <>\r\n Estás a punto de canjear {currentTrivia?.costInPoints} {POINTS_NAME} para participar en esta trivia y\r\n ganar:\r\n \r\n ),\r\n en: (\r\n <>\r\n You are about to redeem {currentTrivia?.costInPoints} {POINTS_NAME} to participate in this trivia and\r\n win:\r\n \r\n )\r\n })}\r\n {currentTrivia?.costInPoints === 0 &&\r\n textServices.findByText('tivias/challenge/modal/intro2', {\r\n es: <>Estás a punto de participar en esta trivia y ganar:,\r\n en: <>You are about to participate in this trivia and win:\r\n })}\r\n {currentTrivia?.prize}\r\n \r\n \r\n {textServices.findByText('tivias/challenge/modal/description', {\r\n es: '¿Segurísimo que quieres jugarla? Recuerda que una vez que des clic no hay vuelta atrás.',\r\n en: 'Are you sure you want to play it? Remember that once you click there is no turning back.'\r\n })}\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default TriviaModal\r\n","import { useEffect, useState } from \"react\"\r\nimport { ModalCancel, ModalCancelP, ModalDescription, ModalMessage } from \"theme/header\"\r\nimport textServices from \"services/text-services\"\r\nimport Button from \"components/button\"\r\nimport Header from \"components/header\"\r\nimport ButtonCloseMenu from \"components/button-close\"\r\nimport { useBg } from \"hooks/use-white-bg\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport CONFIGS from 'build/Config'\r\n\r\ninterface IProps {\r\n handleRetry: () => void\r\n handleNavigate: () => void\r\n}\r\n\r\nfunction AlertPopUp({ handleRetry, handleNavigate }: IProps) {\r\n\r\n const [shouldUseWhiteBg] = useState(useBg)\r\n useMainClass('trivias__game__alert')\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: CONFIGS?.modalBackgroundTrivias\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, 200)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n \r\n {textServices.findByText('trivias/modal/title', { es: <>¿Estás seguro que
deseas salir?, en: <>Are you sure you
want to leave? })}\r\n
\r\n \r\n {textServices.findByText('trivias/modal/description', { es: <>Si cancelas ahora se perderá tu progreso
y tendrás que volver a empezar., en: <>If you cancel now your progress will be lost
and you will have to start over. })}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {textServices.findByText('trivia/exit/cancel', { es: 'cancelar', en: 'cancel' })}\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default AlertPopUp","import { ChangeEventHandler, FormEvent, useRef, useState } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { SubTitleAge, TitleAge, TextPolitics } from 'components/legal-age/components/style/text'\r\nimport CONFIGS from 'build/Config'\r\nimport { ButtonInitAgegate, ContainerCenterInput } from '../../theme/theme'\r\nimport DateInput from './date-input'\r\n\r\nexport interface DateInputProps {\r\n type: 'day' | 'month' | 'year'\r\n defaultValue?: number\r\n placeholder?: string\r\n}\r\n\r\nexport interface FormState {\r\n day: string\r\n month: string\r\n year: string\r\n}\r\n\r\nconst textSharedProps = {\r\n className: 'text-center saira mt-4',\r\n style: { fontSize: 10 }\r\n}\r\n\r\nenum DateType {\r\n day = 'day',\r\n month = 'month',\r\n year = 'year'\r\n}\r\n\r\nconst BirthdayInput = ({ setAgeLocal }: { setAgeLocal: (day?: string, month?: string, year?: string) => void }) => {\r\n\r\n const [state, setFormState] = useState>({})\r\n const yearRef = useRef(null)\r\n const monthRef = useRef(null)\r\n\r\n const onSubmitHandler = (event: FormEvent) => {\r\n event.preventDefault()\r\n\r\n const { day = '00', month = '00', year = '0000' } = state\r\n setAgeLocal(day, month, year)\r\n }\r\n\r\n const handleOnChange: ChangeEventHandler = ({ target: { value, name } }) => {\r\n setFormState((formState: any) => ({ ...formState, [name]: value }))\r\n\r\n const refs: Record = {\r\n day: monthRef.current,\r\n month: yearRef.current\r\n }\r\n\r\n if (value.length === 2) {\r\n refs[name as string]?.focus()\r\n }\r\n }\r\n\r\n const placeholderType = (input: DateType): string => {\r\n if (!CONFIGS.placeholderDifferent) {\r\n return input === DateType.year ? '0000' : '00';\r\n }\r\n\r\n switch (input) {\r\n case DateType.day:\r\n return 'DD';\r\n case DateType.month:\r\n return 'MM';\r\n case DateType.year:\r\n return 'AAAA';\r\n default:\r\n return '00';\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {textServices.findByText('agegate/title', { es: '¡Bienvenid@!', en: 'Welcome!' })}\r\n
\r\n {textServices.findByText('agegate/description', { en: Enter your date of birth,
we want to validate your majority
of age.
, es: Ingresa tu fecha de nacimiento,
queremos validar tu mayoría
de edad.
})}\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 gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'BIRTHDAY - Mayor de 18', value: '10' })\r\n }}\r\n >\r\n {textServices.findByText('agegate/button', { es: 'INGRESAR', en: 'CONTINUE' })}\r\n \r\n \r\n {textServices.findByText('agegate/politics1',\r\n {\r\n es: <>AL ENVIAR ESTE FORMULARIO, ACEPTAS LA POLÍTICA DE PRIVACIDAD, TÉRMINOS Y CONDICIONES Y USO DE COOKIES DE ESTE SITIO WEB.,\r\n en: <>BY SUBMITTING THIS FORM, YOU AGREE TO THE PRIVACY POLICY, TERMS AND CONDITIONS AND USE OF COOKIES OF THIS WEBSITE.\r\n }\r\n )}\r\n \r\n \r\n {textServices.findByText('agegate/politics2', { es: 'ESTE SITIO WEB UTILIZA COOKIES. PARA OBTENER MÁS INFORMACIÓN, LEE NUESTRA POLÍTICA DE PRIVACIDAD Y USO DE COOKIES.', en: 'THIS WEBSITE USES COOKIES. FOR MORE INFORMATION, PLEASE READ OUR PRIVACY AND COOKIE POLICY.' })}\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default BirthdayInput\r\n","/* eslint-disable indent */\r\n\r\nimport { MouseEventHandler, useContext, useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport axios, { AxiosError } from 'axios'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useHistory } from 'react-router-dom'\r\nimport ErrorView from 'components/error-view'\r\nimport textServices from 'services/text-services'\r\nimport { useCountDownSeconds } from 'hooks/use-countdown'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport CONFIGS from 'build/Config'\r\nimport { dlTrackError, dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useTrivia } from '../../../contexts/trivia-context'\r\nimport { Trivia } from '../../../contexts/trivia-context/reducer'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport {\r\n DivSelector,\r\n LiSelectorOption,\r\n DivSelectOption,\r\n DivTitleTriviaList,\r\n H2TitleTriviaList,\r\n QuestionHeader,\r\n QuestionNumber,\r\n QuestionTitle,\r\n TriviaCountdown,\r\n TriviaTitle,\r\n TriviaNumber,\r\n CrownTrivia,\r\n QuestionImgContainer,\r\n QuestionImg,\r\n QuestionImgTitleContainer,\r\n QuestionImgTitle,\r\n ColorCountdown,\r\n CountdownContainer,\r\n QuestionContainerTwoQuestions,\r\n ImgLarge,\r\n OptionStyle,\r\n LiBorderColor\r\n} from '../../../theme/trivias'\r\nimport AlertPopUp from './AlertPopup'\r\n\r\nconst OptionSelector: VoidFunctionComponent<{ trivia: Trivia }> = ({ trivia }) => {\r\n const [end, setEnd] = useState(trivia.timeInSeconds)\r\n const [countdown, startCountdown, pauseCountdown, resetCountdown] = useCountDownSeconds(end, 1000)\r\n const history = useHistory()\r\n const [question, setQuestion] = useState(1)\r\n const [selected, setSelected] = useState(0) // Se default value to 0\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [state, { answerTrivia, resetTrivia, exchangePrize, validateTrivia }] = useTrivia()\r\n const [errorTrivia, setErrorTrivia] = useState(null)\r\n const [executed, setExecuted] = useState(false)\r\n const [showAlert, setShowAlert] = useState(null)\r\n\r\n useMainClass('trivias__trivia__trivia-game__selector')\r\n\r\n const { question: q } = trivia\r\n\r\n const selectOption: MouseEventHandler = (event) => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Seleccionar Opción`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'selecciona opcion',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n const { currentTarget } = event\r\n\r\n const id = currentTarget.getAttribute('data-id') as string\r\n setSelected(parseInt(id, 10))\r\n }\r\n\r\n useEffect(() => {\r\n if ((!countdown || selected) && !state.prize && !state.error) {\r\n setSelected(0)\r\n pauseCountdown()\r\n setTimeout(\r\n async () => {\r\n setLoad(true)\r\n try {\r\n if (!executed) {\r\n const shouldSetNext = await answerTrivia(trivia.id, q.questionId, selected as number)\r\n\r\n if (shouldSetNext) {\r\n // Set in 0 to force the update of status InProcess to Fail in case that no option will selected in next question\r\n setQuestion((q) => q + 1)\r\n\r\n setEnd(trivia.timeInSeconds)\r\n resetCountdown()\r\n startCountdown()\r\n } else {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'Ganó trivia',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n history.block(true)\r\n }\r\n }\r\n } catch (error) {\r\n history.block(true)\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Erró al contestar`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'erró al contestar',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n\r\n if (axios.isAxiosError(error)) {\r\n const err = error as AxiosError\r\n setErrorTrivia(err?.response?.data?.code)\r\n setExecuted(!executed)\r\n setEnd(0)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n },\r\n selected ? 0 : 1000\r\n )\r\n }\r\n }, [countdown, selected])\r\n\r\n useEffect(() => {\r\n startCountdown()\r\n\r\n return () => {\r\n resetTrivia()\r\n resetCountdown()\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n const unblock = history.block((location) => {\r\n pauseCountdown()\r\n setShowAlert(location?.pathname)\r\n return false\r\n })\r\n\r\n return () => {\r\n unblock()\r\n }\r\n }, [history])\r\n\r\n const handleRetryAlert = () => {\r\n setShowAlert(null)\r\n startCountdown()\r\n }\r\n\r\n const handleNavigateAlert = async () => {\r\n setLoad(true)\r\n await validateTrivia(trivia?.id || 0, trivia?.directAccess)\r\n history.block(true)\r\n history.push(showAlert)\r\n }\r\n\r\n const handleRetry = () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivia error close'\r\n }\r\n })\r\n\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Vuelva a Intentarlo`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'vuelve a intentarlo',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n window.dispatchEvent(event)\r\n\r\n if (trivia.directAccess) {\r\n window.onbeforeunload = null\r\n window.location.reload()\r\n } else {\r\n resetTrivia()\r\n if ((errorTrivia || state?.error?.response?.data.code) === 505)\r\n return history.push(textServices.findByText('error/505/button/link', '/home'))\r\n history.push('/trivias')\r\n }\r\n }\r\n\r\n const exitTrivia = () => {\r\n setShowAlert(location?.pathname)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'trivia :: cerrar',\r\n section: 'trivia'\r\n })\r\n }\r\n\r\n if (errorTrivia || state?.error) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (state.prize) {\r\n return (\r\n history.push('/trivias'),\r\n handleButtonCommon: () => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n exchangePrize(state.prize?.points || 0)\r\n },\r\n handleButtonSticker: () => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS SELLOS'),\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n history.push(\r\n state?.congrats?.urlRedirect ?? textServices.findByText('trivias/exchange/button/url', '/collections')\r\n )\r\n },\r\n dontShowButtons: CONFIGS?.trivia?.dontShowButtonExchange\r\n }}\r\n buttonSecondary={{\r\n text: state?.congrats?.buttonText2,\r\n url: state?.congrats?.urlRedirect2\r\n }}\r\n item={state?.prize}\r\n useRanking={state?.congrats?.useRanking}\r\n time={state?.congrats?.profileTime}\r\n module=\"trivias\"\r\n />\r\n )\r\n }\r\n\r\n if (load) {\r\n return <>\r\n }\r\n\r\n if (!q?.options) {\r\n return \r\n }\r\n\r\n if (showAlert) {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'volver_a_intentar_trivia', event_label: 'Salir del trivia' })\r\n handleRetryAlert()\r\n }}\r\n handleNavigate={() => {\r\n gtag('event', 'event_to_ga', { event_category: 'abandonar_trivia', event_label: 'Salir del trivia' })\r\n handleNavigateAlert()\r\n }}\r\n />\r\n )\r\n }\r\n if (q?.options?.length === 2 && q?.options[0]?.imageUrl !== '' && q?.options[1]?.imageUrl !== '') {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {trivia.title}\r\n \r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {trivia.question?.question}\r\n \r\n \r\n\r\n
\r\n {q.options.map((option) => {\r\n const isSelected = option.optionId === selected\r\n return (\r\n \r\n \r\n \r\n {option.option}\r\n \r\n \r\n )\r\n })}\r\n
\r\n\r\n
\r\n \r\n {countdown}\r\n \r\n
\r\n
\r\n \r\n )\r\n } else if (\r\n q?.options?.length >= 3 &&\r\n q?.options[0]?.imageUrl !== '' &&\r\n q?.options[1]?.imageUrl !== '' &&\r\n q?.options[2]?.imageUrl !== '' &&\r\n q?.options[3]?.imageUrl !== ''\r\n ) {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {trivia.title}\r\n \r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {trivia.question?.question}\r\n \r\n \r\n\r\n
\r\n {q.options.map((option) => {\r\n const isSelected = option.optionId === selected\r\n return (\r\n \r\n \r\n \r\n {option?.option}\r\n \r\n \r\n )\r\n })}\r\n
\r\n
\r\n \r\n {countdown}\r\n \r\n
\r\n
\r\n \r\n )\r\n } else {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {/*

{trivia.title}

*/}\r\n {trivia.title}\r\n
\r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {q?.question}\r\n \r\n \r\n
    \r\n {q?.options.map((option) => {\r\n const isSelected = option?.optionId === selected\r\n return (\r\n \r\n \r\n \r\n \r\n {option?.option}\r\n \r\n )\r\n })}\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n {countdown}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default OptionSelector\r\n","import { AxiosError } from 'axios'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view'\r\n// import { LoaderContext } from 'contexts/loader-context'\r\nimport { useTrivia } from '../../../contexts/trivia-context'\r\nimport OptionSelector from './selector'\r\n\r\nexport interface TriviaGameProps {\r\n id: number | string\r\n // trivia: any\r\n}\r\n\r\nconst TriviaGame: VoidFunctionComponent = ({ id }) => {\r\n const [state, { playTrivia }] = useTrivia()\r\n const [error, setError] = useState('')\r\n const history = useHistory()\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivias game page'\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n\r\n playTrivia(id, state?.currentTrivia?.directAccess).catch((error: AxiosError) => {\r\n if (error.isAxiosError) {\r\n setError(error.response?.data.code)\r\n }\r\n })\r\n\r\n\r\n window.onbeforeunload = function () {\r\n gtag('event', 'event_to_ga', { event_category: 'Trivias', event_label: `Salió sin terminar`, value: id })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'abandonó el juego', section: `trivia :: ${id}` })\r\n return 'Estás seguro que deseas salir? Perderás el progreso'\r\n }\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: false,\r\n from: 'trivia exit modal'\r\n }\r\n })\r\n window.onbeforeunload = null\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n const handleRetry = (code: number | string) => {\r\n if (code === 510) return history.push('/profile/address')\r\n history.goBack()\r\n }\r\n\r\n if (error) {\r\n return (\r\n history.goBack()}\r\n onRetry={handleRetry}\r\n />\r\n )\r\n }\r\n\r\n if (!state.currentTrivia) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default TriviaGame\r\n","import textServices from 'services/text-services'\r\nimport ErrorView from 'components/error-view'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { AxiosError } from 'axios'\r\n\r\ninterface IProps {\r\n errorCode: AxiosError\r\n}\r\n\r\nconst PopUpError = ({ errorCode }: IProps) => {\r\n useMainClass('trivia__pop-up__error')\r\n\r\n const history = useHistory()\r\n\r\n const onRetry = async () => {\r\n history.push(textServices.findByText(`error/${errorCode}/button/link`, '/home'))\r\n }\r\n\r\n const buttonMenu = () => {\r\n history.push(textServices.findByText(`error/${errorCode}/button/link`, '/home'))\r\n }\r\n\r\n if (errorCode) {\r\n return \r\n }\r\n\r\n return null\r\n}\r\n\r\nexport default PopUpError\r\n","import LoadingScreen from 'components/loading-screen'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useRouteMatch } from 'react-router-dom'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport TriviaModal from './components/modal'\r\nimport TriviaGame from './components/trivia-game'\r\nimport PopUpError from './components/popUpError'\r\n\r\ninterface IProps {\r\n isDirectAccess?: boolean\r\n}\r\n\r\nconst TriviaChallenge = ({ isDirectAccess = false }: IProps) => {\r\n const [{ error, currentTrivia }, { validateTrivia }] = useTrivia()\r\n const [{ data }] = useSession()\r\n const route = useRouteMatch<{ id: string }>()\r\n const [userAccepted, setUserAccepted] = useState(false)\r\n const { setLoad } = useContext(LoaderContext)\r\n const [executed, setExecuted] = useState(false)\r\n\r\n const triviaValidate = async (id: any) => {\r\n try {\r\n setLoad(true)\r\n await validateTrivia(id, isDirectAccess)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (data && !executed) {\r\n triviaValidate(route.params.id)\r\n setExecuted(!executed)\r\n }\r\n }, [data])\r\n\r\n const onAccept = () => {\r\n gtag('event', 'event_to_ga', { event_category: \"Trivias\", event_label: `Aceptar Jugar Trivia`, value: route.params.id })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'comienza a jugar', section: `trivia :: ${route.params.id}` })\r\n return setUserAccepted(true)\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n if (!currentTrivia) {\r\n return \r\n }\r\n\r\n if (!userAccepted) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default TriviaChallenge\r\n","import { SubTitle, Text, Title } from \"theme/theme\";\r\nimport styled from 'styled-components';\r\nimport { Type } from './../../../../theme/types/generic.interface';\r\n\r\nexport const TitleAge = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.agegate?.text?.title}\r\n`\r\n\r\nexport const SubTitleAge = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.agegate?.text?.subtitle}\r\n`\r\n\r\nexport const TextTermsAge = styled(Text)`\r\n font-size: 10px;\r\n ${({ theme }: Type) => theme?.agegate?.text?.terms}\r\n`\r\n\r\nexport const TextPolitics = styled.p`\r\n ${({ theme }: Type) => theme?.agegate?.text?.politics}\r\n`","import { forwardRef, ForwardRefRenderFunction, HTMLProps } from 'react'\r\n\r\nimport { InputBirthday, InputBirthdayLabel } from '../../theme/theme'\r\nimport { calendar } from './wordings'\r\n\r\nconst DateInput: ForwardRefRenderFunction> = (\r\n { type, ...props },\r\n ref\r\n) => {\r\n return (\r\n
\r\n \r\n {calendar[type as keyof typeof calendar]}\r\n
\r\n )\r\n}\r\n\r\nconst DateInputWithRef = forwardRef(DateInput)\r\n\r\nexport default DateInputWithRef\r\n","import styled from 'styled-components'\r\nimport { Type } from 'theme/types'\r\n\r\nexport const LegalAgeImg = styled.img`\r\n ${({ theme }: Type) => theme?.agegate?.img}\r\n`\r\n","import textServices from 'services/text-services'\r\nimport { LegalAgeImg } from 'theme/legalage'\r\nimport { TitleAge } from './style/text'\r\nfunction ImgAndText() {\r\n return (\r\n
\r\n \r\n {textServices.findByText('legalage/title', '')}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default ImgAndText","\r\nimport Button from 'components/button';\r\nimport styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\n\r\nexport const ButtonVariant = styled(Button)`\r\n ${({ theme }: Type) => theme?.agegate.buttonVariant}\r\n`","import Button from \"components/button\";\r\nimport textServices from \"services/text-services\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport ImgAndText from \"./components/ImgAndText\";\r\nimport { ButtonVariant } from \"./components/style/button\";\r\nimport { SubTitleAge, TextTermsAge } from \"./components/style/text\";\r\n\r\nfunction LegalAge({ setAgeLocal }: { setAgeLocal: (day?: string, month?: string, year?: string) => void }) {\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n \r\n {textServices.findByText('legalage/question', { es: '¿ERES MAYOR DE EDAD?', en: 'ARE YOU OF LEGAL AGE?' })}\r\n \r\n
\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n \"action\": \"click\",\r\n \"element\": textServices.findByText('legalage/button2', { es: 'NO, SOY MENOR', en: 'NO, I AM A MINOR' }),\r\n \"section\": \"onboarding\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AGEGATE - Soy menor', value: '10' })\r\n setAgeLocal(\"21\", \"6\", \"22\")\r\n }}>{textServices.findByText('legalage/button2', { es: 'NO, SOY MENOR', en: 'NO, I AM A MINOR' })}\r\n
\r\n
\r\n {textServices.findByText('legalage/politics', {\r\n es: <>AL CONFIRMAR, ACEPTAS LA POLÍTICA DE PRIVACIDAD, TÉRMINOS Y CONDICIONES Y USO DE COOKIES DE ESTE SITIO WEB. ESTE SITIO WEB UTILIZA COOKIES. PARA OBTENER MÁS INFORMACIÓN, LEE NUESTRA POLÍTICA DE PRIVACIDAD Y USO DE COOKIES.,\r\n en: <>BY CONFIRMING, YOU ACCEPT THE PRIVACY POLICY, TERMS AND CONDITIONS AND USE OF COOKIES OF THIS WEBSITE.THIS WEBSITE USES COOKIES.CLICK HERE FOR MORE INFORMATION, READ OUR PRIVACY AND COOKIE POLICY.\r\n })}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default LegalAge;","import BirthdayInput from \"components/birthday-input\";\r\nimport LegalAge from \"components/legal-age\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useAgegate } from \"hooks/use-agegate\";\r\nimport useRedirect from \"hooks/use-redirect\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useEffect } from \"react\";\r\nimport CONFIGS from 'build/Config'\r\n\r\nfunction Agegate() {\r\n const { setAgeLocal, showAgegate, isMinor } = useAgegate();\r\n const [{ url }, { redirect }] = useRedirect();\r\n const { push } = useRouter();\r\n useMainClass('agegate')\r\n useEffect(() => {\r\n\r\n if (showAgegate && !isMinor) {\r\n if (url) return redirect();\r\n push('/start');\r\n } else if (showAgegate && isMinor) {\r\n push('/end')\r\n }\r\n\r\n }, [showAgegate]);\r\n\r\n if (CONFIGS.legalAgeDate) {\r\n return ;\r\n }\r\n\r\n return ;\r\n}\r\n\r\nexport default Agegate","import { lazy, Suspense } from 'react'\r\nimport { Redirect, Route } from 'react-router-dom'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport RoutesWithNotFound from 'utilities/routes-with-not-found'\r\nimport { MemoramaProvider } from './context'\r\nconst List = lazy(() => import('./views/list'))\r\nconst GameMemorama = lazy(() => import('./views/game'))\r\nconst Error = lazy(() => import('./views/error'))\r\nconst Win = lazy(() => import('./views/win'))\r\n\r\nconst Memorama = () => {\r\n return (\r\n }>\r\n \r\n \r\n } exact />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Memorama","import { POST_SUSCRIBE_RANKS } from 'constants/api'\r\nimport Button from 'components/button'\r\nimport { useContext, useState, useEffect } from 'react'\r\nimport axios, { AxiosError } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport images from '../../images.json'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport ButtonCloseMenu from '../../components/button-close'\r\n\r\nconst Suscribe = () => {\r\n const [steps, setSteps] = useState(true)\r\n const [{ data: session }] = useSession()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const { pathname, push } = useRouter()\r\n\r\n useEffect(() => {\r\n if (pathname === '/ranking/suscribe') {\r\n setSteps(true)\r\n } else if (pathname === '/ranking/suscribe/confirm') {\r\n setSteps(false)\r\n }\r\n }, [pathname])\r\n\r\n const handleSuscription = async () => {\r\n if (steps) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Quiero Suscribirme', value: '10' })\r\n push('/ranking/suscribe/confirm')\r\n } else {\r\n setLoad(true)\r\n try {\r\n const codeResponse = await axios.post(POST_SUSCRIBE_RANKS, undefined, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n if (codeResponse.status === 200) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Confirmar Suscripcion', value: '10' })\r\n push('/ranking')\r\n setLoad(false)\r\n } else {\r\n setLoad(false)\r\n }\r\n } catch (error) {\r\n const err = error as AxiosError\r\n if (err.response?.data.code === 66 || err.response?.data.code === 67) {\r\n setLoad(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Error Suscripcion', value: '10' })\r\n push(`/error/${err.response?.data.code}`)\r\n } else if (err.response?.data.code) {\r\n setLoad(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Error Suscripcion', value: '10' })\r\n push(`/error/${err.response?.data.code}`)\r\n }\r\n }\r\n }\r\n }\r\n\r\n return load ? (\r\n <>\r\n ) : (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n push(textServices.findByText('config/prizes', '/prizes'))\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n {steps ? (\r\n textServices.findByText('ranking/suscribe/title', <>No estás
participando)\r\n ) : (\r\n textServices.findByText('ranking/suscribe/confirm/title', <>Confirmar
participación)\r\n )}\r\n

\r\n

\r\n {steps ? (\r\n textServices.findByText('ranking/suscribe/description', <>Para poder ver el ranking de puntos tienes que estár participando con tus propios {POINTS_NAME}.)\r\n ) : (\r\n textServices.findByText('ranking/suscribe/confirm/description', <>Estás a punto de anotarte para participar con tus {POINTS_NAME} en el ranking.)\r\n )}\r\n

\r\n

\r\n {steps ? textServices.findByText('ranking/suscribe/subtitle', <>¿Quieres participar?) : textServices.findByText('ranking/suscribe/confirm/subtitle', <>¿Seguro que quieres participar?)}\r\n

\r\n

\r\n {textServices.findByText('ranking/suscribe/politic', 'Recuerda que para ganar el premio necesitas tener más de 21 años, tener visa y pasaporte vigente y esquema de vacunación completo.')}\r\n

\r\n \r\n

{\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n push(textServices.findByText('config/prizes', '/prizes'))\r\n }}>\r\n {textServices.findByText('ranking/suscribe/back', 'No, volver')}\r\n

\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Suscribe\r\n","import { GET_RANKS } from 'constants/api'\r\nimport { useState, useEffect, useContext } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios, { AxiosError } from 'axios'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { TextSub, TrRank } from '../../theme/theme'\r\n\r\nconst Ranking = () => {\r\n const [{ data: session }] = useSession()\r\n const history = useHistory()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [ranking, setRanking] = useState(null)\r\n\r\n useEffect(() => {\r\n setLoad(true)\r\n }, [])\r\n\r\n const fetchRank = async () => {\r\n setLoad(true)\r\n try {\r\n const codeResponse = await axios.get(GET_RANKS, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n setRanking(codeResponse.data)\r\n } catch (error) {\r\n const err = error as AxiosError\r\n setLoad(false)\r\n if (err.response?.data.code === 711) {\r\n history.push('/ranking/suscribe')\r\n } else if (err.response?.data.code) {\r\n history.push(`/error/${err.response?.data.code}`)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session) {\r\n fetchRank()\r\n } else {\r\n setLoad(false)\r\n history.push('/home')\r\n }\r\n }, [])\r\n\r\n return load ? (\r\n <>\r\n ) : (\r\n <>\r\n
\r\n
\r\n

\r\n Hola {ranking?.currentPosition?.nickName},\r\n
\r\n Tus {POINTS_NAME}: {ranking?.currentPosition?.points}\r\n

\r\n

\r\n Estas en el lugar #{ranking?.currentPosition?.id}\r\n

\r\n
\r\n
\r\n {ranking &&\r\n ranking.rankWinners.map((item: any, index: number) => {\r\n return (\r\n \r\n {item?.id}\r\n {item?.nickName}\r\n {item?.points}\r\n \r\n )\r\n })}\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'RANKING - Nuevo Código',\r\n value: '10'\r\n })\r\n history.push('/redeem')\r\n }}\r\n >\r\n Quiero ingresar un código\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'RANKING - Volver', value: '10' })\r\n history.push(textServices.findByText('config/prizes', '/prizes'))\r\n }}\r\n >\r\n No, volver\r\n

\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Ranking\r\n","import { prettyError, prettyErrorDescription } from 'constants/errors'\r\nimport GenericError from 'components/generic-error'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useEffect } from 'react'\r\nimport useMainClass from 'hooks/use-main-cass'\r\n\r\nconst ErrorView = () => {\r\n const { push, match } = useRouter()\r\n const errorId = parseInt(match.params.errorid, 10) || 9999\r\n useMainClass('error')\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: false\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n \r\n ¿ES UN ERROR?\r\n
PARA CUALQUIER DUDA INGRESA AQUI\r\n \r\n }\r\n onRetry={() => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'ERROR - Dudas', value: '10' })\r\n push('/help')\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default ErrorView\r\n","import styled from \"styled-components\";\r\n\r\nexport const Section = styled.section`\r\n ${({ theme }) => theme['end-route']?.section}\r\n`;","import styled from \"styled-components\";\r\nimport Button from 'components/button';\r\nimport { Title, SubTitle } from \"theme/theme\";\r\nimport { Type } from './../../../theme/types/generic.interface';\r\n\r\nexport const TitleEnd = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.title}\r\n`\r\nexport const SubTitleEnd = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.subtitle }\r\n`\r\n\r\nexport const ButtonEnd = styled(Button)`\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.button }\r\n`","import { Link, } from 'react-router-dom'\r\nimport { useAgegate } from 'hooks/use-agegate';\r\nimport useMainClass from 'hooks/use-main-cass';\r\nimport { useContext, useEffect } from 'react';\r\nimport textServices from 'services/text-services';\r\nimport { LoaderContext } from 'contexts/loader-context';\r\nimport { Section } from './style/section';\r\nimport { TitleEnd, SubTitleEnd, ButtonEnd } from './style/text';\r\n\r\nfunction EndRoute() {\r\n\r\n const { removeAge } = useAgegate();\r\n useMainClass('endroute')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('endroute/title', { es: <>¡Lo sentimos!
Esto es solo para mayores, en: <>Sorry!
This is for adults only })}
\r\n {textServices.findByText('endroute/description', { es: 'Vuelve cuando seas más grande.', en: 'Come back when you are older.' })}\r\n
\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'END ROUTE - Menor de 18', value: '10' })\r\n removeAge()\r\n }}\r\n >\r\n {textServices.findByText('endroute/button', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default EndRoute\r\n","import { useHistory } from 'react-router'\r\nimport { useContext, useState } from 'react'\r\nimport FormInformation from 'components/form-information'\r\nimport { AxiosError } from 'axios'\r\nimport ProfileService from 'services/profile-services'\r\nimport useLocalStorage from \"hooks/use-local-storage\";\r\nimport useRouter from 'hooks/use-router'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\n\r\nfunction ProfileInformationUpdate() {\r\n const history = useHistory()\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect();\r\n const [state, setState] = useLocalStorage('state', {})\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { query } = useRouter()\r\n\r\n\r\n const handleOnSubmit = async (data: any, setError: (error: number) => void) => {\r\n setLoad(true)\r\n try {\r\n const payload = { user: data, session }\r\n console.log(payload)\r\n const response = await ProfileService.updateProfile(payload)\r\n setUser(response.data)\r\n setState({ ...state, user: response.data })\r\n if (url) return redirect()\r\n if ((query as any)?.isNew) return history.push('/home')\r\n history.goBack()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default ProfileInformationUpdate\r\n","import CustomRadio from \"components/custom-radio\";\r\nimport { InputProps } from \"components/input\";\r\nimport mergeRefs from \"merge-refs\";\r\nimport { forwardRef, ForwardRefRenderFunction, useRef } from \"react\";\r\nimport styled from \"styled-components\";\r\n\r\nconst P = styled.p`\r\n ${({ theme }) => theme?.inputRadio?.label}\r\n`\r\n\r\nconst RadioSt: ForwardRefRenderFunction = ({ children, className, ...rest }, ref) => {\r\n const innerRef = useRef(null)\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nconst Radio = forwardRef(RadioSt)\r\n\r\nexport default Radio;","/* eslint-disable eqeqeq */\r\nimport { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport Radio from \"components/radio\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useContext, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ReturnText, ErrorInput } from \"theme/theme\";\r\n\r\nfunction StepOne({ state, handleChange, nextStep, session, setHelper, prevStep, setError }: any) {\r\n\r\n useMainClass('form__step__one')\r\n\r\n const { register, handleSubmit, formState: { errors } }\r\n = useForm({ resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema([\"street1\", \"streetType\", \"streetNumber\", \"apartament\", \"postalCode\"])), 'address', 'datos cuenta') })\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n async function onFormSubmit(data: any) {\r\n handleChange(data)\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.checkZip({ postalCode: data.postalCode }, { session })\r\n handleChange({ city: response.data[0].cities[0].id, state: response.data[0].id })\r\n setHelper({ city: response.data[0].cities[0], state: response.data[0], neighborhood: response.data[0].cities[0].neighborhoods })\r\n nextStep()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\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
\r\n
\r\n \r\n {textServices.findByText('profile/form/information/street/label', { es: 'Calle', en: 'Street' })}\r\n \r\n \r\n {textServices.findByText('profile/form/information/avenue/label', { es: 'Avenida', en: 'Avenue' })}\r\n \r\n \r\n {textServices.findByText('profile/form/information/closed/label', { es: 'Cerrada', en: 'Closed' })}\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
\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 StepOne;","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useContext, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { SelectGender, ReturnText, LabelStreet, SubtitleStreet, ErrorInput } from \"theme/theme\";\r\n\r\nfunction StepOne({ state, helper, handleChange, onFormSubmitEndPoint, prevStep }: any) {\r\n\r\n useMainClass('form__step__two')\r\n\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"neighborhood\"])) })\r\n\r\n function onFormSubmit(data: any) {\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n \r\n {textServices.findByText('update/street/street', { es: 'Calle', en: 'Street' })} {`${state?.street1} ${state?.streetNumber}` || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {helper?.city?.name || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {helper?.state?.name || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {textServices.findByText('update/street/cp', { es: 'CP:', en: 'CP - Postal code:' })} {state?.postalCode || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })}\r\n
\r\n {textServices.findByText('update/street/subtitle', { es: 'Si es correcto, completa los últimos datos y dale a siguiente, ya falta poco.', en: 'If it is correct, fill in the last data and click on the next button, you are almost there.' })}\r\n
\r\n
\r\n \r\n {helper.neighborhood.map((neighborhood: any) => (\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
\r\n )\r\n}\r\n\r\nexport default StepOne;","import GenericError from \"components/generic-error\"\r\nimport ButtonCloseMenu from \"components/button-close\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport { useEffect } from \"react\"\r\n\r\nfunction MaxChange({ nextStep, setError, prevStep, handleChangeState }) {\r\n\r\n const [{ user }] = useSession()\r\n const diffChange = MAX_CHANGE_ADDRESS_COUNT - user?.addressCount\r\n\r\n useEffect(() => {\r\n // eslint-disable-next-line eqeqeq\r\n if (user?.addressCount >= MAX_CHANGE_ADDRESS_COUNT && MAX_CHANGE_ADDRESS_COUNT != 0) {\r\n setError(61)\r\n }\r\n // eslint-disable-next-line eqeqeq\r\n if (MAX_CHANGE_ADDRESS_COUNT == 0) {\r\n handleChangeState({ step: 1 } as any)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Volver atras', value: '10' })\r\n prevStep()\r\n }}\r\n />\r\n \r\n ¡Aguas!
\r\n \r\n }\r\n description={\r\n <>\r\n Sólo puedes cambiar tu dirección {diffChange} ve{diffChange > 1 ? 'ces' : 'z'} más.
\r\n ¿Estás seguro/a?\r\n \r\n }\r\n onRetry={() => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Continuar Cambio Direccion', value: '10' })\r\n nextStep()\r\n }}\r\n buttonText=\"CONTINUAR\"\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default MaxChange","/* eslint-disable indent */\r\nimport { AddressAdapter } from \"adapters/address-adapter\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { UserData } from \"contexts/session-context/session-reducer\";\r\nimport { useCustomForm } from \"hooks/use-custom-form\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useEffect, useState } from \"react\";\r\nimport ErrorView from \"components/error-view\";\r\nimport CONFIGS from 'build/Config'\r\nimport StepOne from \"./step-one\";\r\nimport StepTwo from \"./step-two\";\r\nimport MaxChange from \"./max-change\";\r\n\r\nfunction FormAddress({ handleSubmit, user }: { handleSubmit: (data: any, setError: (error: number) => void) => void, user?: UserData }) {\r\n\r\n const { history } = useRouter()\r\n const [{ data: session }] = useSession()\r\n const { state, handleChangeState, nextStep, prevStep, backHistory } = useCustomForm({\r\n step: 0,\r\n // curp: user?.address?.curp || '', \r\n street1: user?.address?.street1 || '',\r\n streetType: '',\r\n streetNumber: user?.address?.streetNumber || '',\r\n apartament: user?.address?.apartament || '',\r\n postalCode: user?.address?.postalCode || '',\r\n neighborhood: user?.address?.neighborhood || '',\r\n city: user?.address?.city || '',\r\n state: user?.address?.state || ''\r\n })\r\n const [help, setHelp] = useState()\r\n const [error, setError] = useState(null)\r\n\r\n function onFormSubmitEndPoint(data: any) {\r\n const adaptedData = AddressAdapter({ ...state, ...data })\r\n handleSubmit(adaptedData, setError)\r\n }\r\n\r\n const handleMenu = (code: number) => {\r\n if (code === 61) return history.goBack()\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Salir de la pantalla de error', value: '10' })\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n const handleButton = async (code: number) => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Salir de la pantalla de error', value: '10' })\r\n if (code === 61) return history.push('/help')\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: (CONFIGS?.addressUpdateBg || state.step === 0)\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [state.step, error])\r\n\r\n useEffect(() => {\r\n // eslint-disable-next-line eqeqeq\r\n if (user?.addressCount === 0 || MAX_CHANGE_ADDRESS_COUNT == 0) handleChangeState({ step: 1 } as any)\r\n }, [])\r\n\r\n switch (state.step) {\r\n case 0:\r\n return (\r\n history.goBack()}\r\n handleChangeState={handleChangeState}\r\n />\r\n )\r\n case 1:\r\n return (\r\n history.goBack()}\r\n />\r\n )\r\n case 2:\r\n return (\r\n \r\n )\r\n default:\r\n return (\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default FormAddress;","export const AddressAdapter = ((data) => {\r\n return {\r\n street1: data.street1,\r\n streetNumber: data.streetNumber,\r\n apartament: data.apartament,\r\n neighborhoodId: parseInt(data.neighborhood),\r\n streetType: parseInt(data.streetType),\r\n // curp: data.curp\r\n }\r\n})","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\nexport const BackgroundFormAdressUpdate = styled.div`\r\n ${(props: Type) => props.theme?.formAddressUpdate?.backgroundFormAdressUpdate};\r\n`","import { AxiosError } from \"axios\";\r\nimport FormAddress from \"components/form-address\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useLocalStorage from \"hooks/use-local-storage\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { BackgroundFormAdressUpdate } from \"theme/addressform\"\r\n// import { ImgAllowCookies } from \"theme/allowcookies\"\r\n\r\nfunction ProfileAddressUpdate() {\r\n\r\n const [{ data: session, user }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [state, setState] = useLocalStorage('state', {})\r\n const { push } = useRouter()\r\n\r\n const onSubmit = async (data, setError) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.updateAddres({ address: { ...data }, session })\r\n setUser(response?.data)\r\n setState({ ...state, user: response?.data })\r\n push('/profile/address')\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ProfileAddressUpdate;","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text } from \"theme/theme\";\r\n\r\nexport const TextOtp = styled(Text)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.text}\r\n`\r\nexport const TextOtpTwo = styled(Text)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.textTwo}\r\n`\r\n\r\nexport const TextOtpLabel = styled.div`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.label}\r\n`\r\nexport const BackBtn = styled.p`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.backBtn}\r\n`\r\n\r\nexport const TextOtpLabelTwo = styled(TextOtp)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.labelTwo}\r\n`\r\n\r\nexport const TextOtpResend = styled.span`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.resend}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ErrorInput } from \"theme/theme\";\r\nimport CONFIGS from 'build/Config'\r\nimport { TextOtp, TextOtpLabel, TextOtpTwo, BackBtn } from \"../text.style\";\r\n\r\nfunction Phone({ state, handleChange, nextStep, prevStep, setHelper, session, recaptchaRef, setError, onFormSubmitEndPoint }: any) {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"phoneNumber\"])) })\r\n const { history } = useRouter()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n function onFormSubmitDirect(data: any) {\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n async function onFormSubmit(data: any) {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: data.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n handleChange(data)\r\n setHelper({ expires: result.data?.expiresAt })\r\n nextStep()\r\n } else if (result.status === 200) {\r\n history.goBack()\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR TELEFONO - Volver atras', value: '10' })\r\n history.goBack()\r\n }} />\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {textServices.findByText('otp/phone/description', { es: 'Necesitamos validar tu número de teléfono para completar el registro.', en: 'We need to validate your phone number to complete the registration.' })}\r\n {textServices.findByText('otp/phone/message', { es: <>Te enviaremos un código OTP para que ingreses en la siguiente pantalla., en: <>We will send you an OTP code to enter on the next screen. })}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Phone;","import { SVGProps } from 'react'\r\n\r\nfunction Clock(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Clock\r\n","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\n\r\nexport const Div = styled.div`\r\n ${({theme}: Type) => theme?.otp?.div}\r\n`; \r\n\r\nexport const PTime = styled.div`\r\n ${({theme}: Type) => theme?.otp?.pTime}\r\n`;\r\n\r\nexport const TitleOtp = styled.p`\r\n ${({theme}: Type) => theme?.otp?.titleOtp}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Clock from \"components/icon/clock\";\r\nimport OtpInput from \"components/otp-input\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { ErrorInput } from \"theme/theme\";\r\nimport { useCountdown } from \"rooks\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { TextOtp, TextOtpLabelTwo, TextOtpResend, BackBtn } from \"../text.style\";\r\nimport { Div, PTime, TitleOtp } from \"./styled.component\";\r\n\r\nfunction Otp({ state, helper, handleChange, onFormSubmitEndPoint, prevStep, setHelper, session, recaptchaRef, setError }: any) {\r\n\r\n const { handleSubmit, formState: { errors }, setValue } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"otp\"])) })\r\n const [endTime, setEndtime] = useState(new Date(helper.expires))\r\n const { setLoad } = useContext(LoaderContext)\r\n const [endTimeTransform, setEndTimeTransform] = useState(null)\r\n const count = useCountdown(endTime, { interval: 1000 })\r\n\r\n const secondsToString = (seconds: number) => {\r\n let minute: any = Math.floor((seconds / 60) % 60)\r\n minute = minute < 10 ? '0' + minute : minute\r\n let second: any = seconds % 60\r\n second = second < 10 ? '0' + second : second\r\n return minute + ':' + second\r\n }\r\n\r\n useEffect(() => {\r\n setEndtime(new Date(helper.expires))\r\n }, [helper.expires])\r\n\r\n useEffect(() => {\r\n if (count > 0) {\r\n setEndTimeTransform(secondsToString(count))\r\n } else if (count === 0) {\r\n setEndTimeTransform(null)\r\n setError(71)\r\n }\r\n }, [count])\r\n\r\n const otpGenerate = async () => {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: state.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n setHelper({ expires: result.data?.expiresAt })\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n function onFormSubmit(data: any) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'verificar cuenta',\r\n section: 'sign up'\r\n })\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('otp/title', { es: 'Ingresa el código de 6 dígitos que recibiste para verificar tu celular.', en: 'Enter the 6-digit code you received to verify your cell phone.' })}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {endTimeTransform}\r\n \r\n {textServices.findByText('otp/description', { es: 'Una contraseña de un solo uso se envió al', en: 'A one-time password was sent to the' })} {state.phoneNumber}\r\n \r\n {textServices.findByText('otp/received', { es: '¿No la recibió?', en: 'Did you not receive it?' })}\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR TELEFONO - Reenviar código OTP', value: '10' })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('otp/received', { es: '¿No la recibió?', en: 'Did you not receive it?' }),\r\n section: 'sign up'\r\n })\r\n otpGenerate()\r\n }}\r\n >\r\n {textServices.findByText('otp/resend', { es: 'reenviar código', en: 'resend code' })}\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 Otp;","/* eslint-disable indent */\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { UserData } from \"contexts/session-context/session-reducer\";\r\nimport { useCustomForm } from \"hooks/use-custom-form\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext, useEffect, useRef, useState } from \"react\";\r\nimport ReCAPTCHA from \"react-google-recaptcha\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { AxiosError } from \"axios\";\r\nimport ErrorView from \"components/error-view\";\r\nimport Phone from \"./phone\";\r\nimport Otp from \"./otp\";\r\n\r\nfunction FormPhone({ handleSubmit, user }: { handleSubmit: (data: any, setError?: any) => void, user?: UserData }) {\r\n\r\n useMainClass('form__phone')\r\n \r\n const { history } = useRouter()\r\n const [{ data: session }] = useSession()\r\n const { state, handleChangeState, nextStep, prevStep, backHistory } = useCustomForm({ step: 1, phoneNumber: user?.phoneNumber || '', otp: '' })\r\n const [error, setError] = useState(null)\r\n const [help, setHelp] = useState()\r\n const { setLoad } = useContext(LoaderContext)\r\n const recaptchaRef = useRef(null)\r\n\r\n function onFormSubmitEndPoint(data: any) {\r\n handleSubmit(data, setError)\r\n }\r\n\r\n const otpGenerate = async () => {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: state.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n setHelp({ expires: result.data?.expiresAt } as any)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [error])\r\n\r\n const handleButton = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR TELEFONO - Salir pantalla de error', value: '10' })\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n const handleMenu = async (code: number) => {\r\n if (code === 71 || code === 10) {\r\n await otpGenerate()\r\n }\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n switch (state.step) {\r\n case 1:\r\n return (\r\n <>\r\n \r\n history.goBack()}\r\n />\r\n \r\n )\r\n case 2:\r\n return (\r\n <>\r\n \r\n \r\n \r\n )\r\n default:\r\n return <>\r\n \r\n \r\n \r\n }\r\n}\r\n\r\nexport default FormPhone;","import { AxiosError } from \"axios\";\r\nimport FormPhone from \"components/form-phone\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport CONFIGS from 'build/Config'\r\n\r\nfunction ProfilePhoneUpdate() {\r\n\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { push } = useRouter()\r\n\r\n const onSubmit = async (data, setError) => {\r\n setLoad(true)\r\n try {\r\n const response = (!CONFIGS?.profile?.phone?.useDirectPhone ? await ProfileService.otpVerifyPhone({ code: data.otp, session }) : await ProfileService.updatePhone({ phoneNumber: data.phoneNumber, session }))\r\n if (response?.status === 200) {\r\n setUser(response.data)\r\n push('/profile/phone')\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default ProfilePhoneUpdate;","import { ErrorMessage } from \"@hookform/error-message\"\r\nimport { yupResolver } from \"@hookform/resolvers/yup\"\r\nimport { AxiosError } from \"axios\"\r\nimport Button from \"components/button\"\r\nimport ErrorView from \"components/error-view\"\r\nimport Input from \"components/input\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport useRouter from \"hooks/use-router\"\r\nimport { useContext, useState } from \"react\"\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useForm } from \"react-hook-form\"\r\nimport formServices from \"services/form-builder-services\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport textServices from \"services/text-services\"\r\nimport { Label, ReturnText, ErrorInput } from \"theme/theme\"\r\n\r\nfunction ProfileMailUpdate() {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"contactMail\"])) })\r\n const { history } = useRouter()\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [genericError, setGenericError] = useState(null)\r\n\r\n async function onFormSubmit(mail: any) {\r\n setLoad(true)\r\n try {\r\n const { data } = await ProfileService.updateProfileContact({ user: { email: mail?.contactMail }, session })\r\n setUser(data)\r\n history.goBack()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n setGenericError(typedError?.response?.data?.code ?? 9999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR MAIL DE CONTACTO - Cerrar error', value: '10' })\r\n setGenericError(null)\r\n }\r\n\r\n const handleButton = () => {\r\n setGenericError(null)\r\n }\r\n\r\n if (genericError) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n
\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR MAIL DE CONTACTO - Volver atras', value: '10' })\r\n history.goBack()\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\nexport default ProfileMailUpdate;","const Rank = () => (\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 Rank;","import { SVGProps } from 'react'\r\n\r\nfunction TriviasIcon(props: SVGProps) {\r\n return (\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 TriviasIcon\r\n","const Auctions = () => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n)\r\n\r\nexport default Auctions;","import styled from 'styled-components'\r\nimport { ButtonType, isActiveType, Type } from 'theme/types'\r\n\r\nexport const ButtonNavStyle = styled.div.attrs((props: ButtonType) => ({\r\n disabled: props.disabled,\r\n shouldUseWhiteBg: props.shouldUseWhiteBg,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n color: ${(props: ButtonType) => props.disabled ? !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisableContrast : props.theme?.home?.buttonDisable : props.shouldUseWhiteBg ? props.theme?.home?.buttonColorContrast : props.theme?.home?.buttonColor};\r\n border-color: ${(props: ButtonType) => props.disabled && !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisabledBorderContrast : props.theme?.home?.buttonDisabledBorder};\r\n background-color: ${(props: ButtonType) => props.disabled ? props.theme?.home?.buttonDisabledBackground : props.shouldUseWhiteBg ? props.theme?.home?.buttonBackgroundContrast : props.theme?.home?.buttonBackground};\r\n border-radius:${(props: ButtonType) => props.theme?.home?.buttonBorderRadius};\r\n`\r\n\r\nexport const ButtonNavStyleFull = styled.div.attrs((props: ButtonType) => ({\r\n disabled: props.disabled,\r\n shouldUseWhiteBg: props.shouldUseWhiteBg,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n color: ${(props: ButtonType) => props.disabled ? !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisableContrast : props.theme?.home?.buttonDisable : props.shouldUseWhiteBg ? props.theme?.home?.buttonColorContrast : props.theme?.home?.buttonColor};\r\n border-color: ${(props: ButtonType) => props.disabled && !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisabledBorderContrast : props.theme?.home?.buttonDisabledBorder};\r\n background-color: transparent;\r\n border-radius:${(props: ButtonType) => props.theme?.home?.buttonBorderRadius};\r\n`\r\n\r\nexport const DivLineStep = styled.div.attrs((props: isActiveType) => ({\r\n theme: props.theme,\r\n isActive: props.isActive\r\n})) `\r\n background-color: ${(props: isActiveType) => props.isActive ? props.theme?.home?.BgLineStepActive : props.theme?.home?.BgLineStep};\r\n`\r\n\r\nexport const HrLineStep = styled.hr.attrs((props: isActiveType) => ({\r\n theme: props.theme,\r\n isActive: props.isActive\r\n})) `\r\n background-color: ${(props: isActiveType) => props.isActive ? props.theme?.home?.BgLineStepActive : props.theme?.home?.BgLineStep};\r\n`\r\n\r\nexport const DivProgress = styled.div`\r\n ${({ theme }: Type) => theme?.home?.progress.base}\r\n`\r\n\r\nexport const DivProgressSecond = styled.div`\r\n ${({ theme }: Type) => theme?.home?.progress.active}\r\n`\r\n","const Profile = () => {\r\n const variant = [\r\n 'cartablanca',\r\n 'miller',\r\n 'indio',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/profile.svg`\r\n }\r\n \r\n return `${AZURE_ICONS_URL}/profile.svg`\r\n}\r\n\r\nexport default Profile;","import { SVGProps } from 'react'\r\n\r\nfunction Raffles(props: SVGProps) {\r\n return (\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\nexport default Raffles\r\n","import { SVGProps } from 'react'\r\n\r\nfunction CrowAguila(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default CrowAguila","import { SVGProps } from 'react'\r\n\r\nfunction Referrals(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Referrals\r\n","const Collection = () => {\r\n\r\n const variant = [\r\n 'matchpaint'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/collection.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/collection.svg`\r\n}\r\n\r\nexport default Collection\r\n","const Awards = () => {\r\n\r\n const variant = [\r\n 'matchpaint'\r\n ]\r\n \r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/awards.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/awards.svg`\r\n}\r\n\r\nexport default Awards","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TitleHome = styled(Title)`\r\n ${({ theme }: Type) => theme?.home?.text?.title}\r\n`\r\n\r\nexport const TextHome = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.text}\r\n`\r\n\r\nexport const TextHomeSecondary = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.textSecondary}\r\n`\r\n\r\nexport const ContainerTextProgress = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.containerTextProgress}\r\n`\r\n\r\nexport const TextHomeButton = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.textButton}\r\n`\r\nexport const TextPoints = styled.p`\r\n ${({ theme }: Type) => theme?.home?.text?.points}\r\n`\r\n\r\nexport const TextDynamics = styled.p`\r\n ${({ theme }: Type) => theme?.home?.text?.dynamics}\r\n`\r\n\r\nexport const FloatImgHome = styled.img`\r\n ${({ theme }: Type) => theme?.home?.sello}\r\n`\r\n\r\nexport const TextArrow = styled.span`\r\n ${({ theme }: Type) => theme?.home?.textArrow}\r\n`\r\nexport const TextTotalPoints = styled.p`\r\n ${({ theme }: Type) => theme?.home?.textTotalPoints}\r\n`\r\n\r\nexport const TextArrowColor = styled.div`\r\n ${({theme}: Type) => theme?.home?.textArrowColor}\r\n`","const Prizes = () => {\r\n const variant = [\r\n 'miller',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/prizes.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/prizes.svg`\r\n}\r\n\r\nexport default Prizes\r\n","import { SVGProps } from 'react'\r\n\r\nfunction TriviasIconIndio(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default TriviasIconIndio\r\n","import { SVGProps } from 'react'\r\n\r\nfunction LineUpIndio(props: SVGProps) {\r\n return (\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 LineUpIndio\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useEffect, useState } from 'react'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst TecateDownload = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'tecate id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst TecateView = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'tecate id', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Tecate\r\n \"Flechas\r\n \r\n \r\n )\r\n}\r\n\r\nfunction TecateID() {\r\n // @media all and (display-mode: standalone) {\r\n // display: none;\r\n // }\r\n\r\n const [isStandalone, setIsStandalone] = useState(false)\r\n\r\n useEffect(() => {\r\n if (window.matchMedia('(display-mode: standalone)').matches) {\r\n setIsStandalone(true)\r\n }\r\n\r\n // Listener para cambios\r\n const handler = (e) => setIsStandalone(e.matches)\r\n window.matchMedia('(display-mode: standalone)').addListener(handler)\r\n\r\n // Limpieza del listener\r\n return () => window.matchMedia('(display-mode: standalone)').removeListener(handler)\r\n }, [])\r\n\r\n return isStandalone ? : \r\n}\r\n\r\nexport default TecateID\r\n","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst ConsumptionHnk = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'consumo - hnk', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action:'click', element:'consumo icon', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Icono\r\n \"Texto\r\n \r\n \r\n )\r\n}\r\n\r\nexport default ConsumptionHnk\r\n","function HeinekenID() {\r\n return (\r\n \r\n \"\"\r\n \"\"\r\n \"\"\r\n \r\n )\r\n}\r\n\r\nexport default HeinekenID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst MixxID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'dosequis id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default MixxID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst DosequisID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'dosequis id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default DosequisID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst RockID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'rock id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default RockID\r\n","import React from 'react'\r\n\r\nfunction UploadImageSilver() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default UploadImageSilver","import React from 'react'\r\n\r\nfunction VoteSilverIcon() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default VoteSilverIcon","import React from 'react'\r\n\r\nfunction RankingSilverIcon() {\r\n return (\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 RankingSilverIcon","import { SVGProps } from 'react'\r\n\r\nfunction TriviasMillerIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TriviasMillerIcon\r\n","const Redeem = () => {\r\n const variant = [\r\n 'miller',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/redeem.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/redeem.svg`\r\n}\r\n\r\nexport default Redeem\r\n","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst MemoramaSilverIcon = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'juega_memorama', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action:'click', element:'memorama icon', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Icono\r\n \"Texto\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MemoramaSilverIcon","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst CristalID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'cristal id', section: 'home' })\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\r\n \r\n )\r\n}\r\n\r\nexport default CristalID\r\n","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction MemoramaNavTecate() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_memorama', event_label: 'Home links' }) }}>\r\n \r\n Icono de memorama\r\n

JUEGA AL MEMORAMA

\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default MemoramaNavTecate","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction AmstelIdNav() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n \"\"\r\n \"\"\r\n \r\n \r\n )\r\n}\r\n\r\nexport default AmstelIdNav","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction BohemiaIdNav() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_memorama', event_label: 'Home links' }) }}>\r\n \r\n
\r\n
\r\n bohemia\r\n

MI BOHEMIA ID

\r\n
\r\n Flecha\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default BohemiaIdNav","import styled from 'styled-components'\r\n\r\nfunction HnkWaiterId() {\r\n const TextID = styled.h1`\r\n color: #b54540;\r\n font-family: Balinese Culture;\r\n font-size: 48px;\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: 100%;\r\n `\r\n\r\n const Container = styled.div`\r\n height: 90px;\r\n border-radius: 10px;\r\n background-color: black;\r\n box-shadow: rgba(0, 0, 0, 0.71) 0px 0px 18px 0px;\r\n background-image: url(${AZURE_BASE_URL}/bg-id.png);\r\n background-size: cover;\r\n background-repeat: no-repeat;\r\n background-position: center center;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 0 30px;\r\n `\r\n\r\n return (\r\n \r\n MI ID\r\n Flecha\r\n \r\n )\r\n}\r\n\r\nexport default HnkWaiterId\r\n","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nconst SilverID = () => {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Heineken Id\r\n \r\n \r\n )\r\n}\r\n\r\nexport default SilverID","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction MillerID() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Ir a mi MillerID\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MillerID","\r\n\r\nconst SolMezclasId = () => {\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default SolMezclasId\r\n\r\n","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nconst MassiveID = () => {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Massive ID\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MassiveID","import Rank from 'components/icon/rank'\r\nimport TriviasIcon from 'components/icon/trivias'\r\nimport Auctions from 'components/icon/auctions'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle, ButtonNavStyleFull } from 'theme/home'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport Profile from 'components/icon/profile'\r\nimport Raffles from 'components/icon/raffles'\r\nimport CrowAguila from 'components/icon/crow-aguila'\r\nimport Referrals from 'components/icon/referrals'\r\nimport Collection from 'components/icon/collection'\r\nimport Awards from 'components/icon/awards'\r\nimport { TextHomeButton } from 'views/home/style/text.style'\r\nimport Prizes from 'components/icon/prizes'\r\nimport TriviasIconIndio from 'components/icon/TriviasIndio'\r\nimport LineUpIndio from 'components/icon/LineUpIndio'\r\nimport TecateID from 'components/icon/tecate/tecateid'\r\nimport textServices from 'services/text-services'\r\nimport ConsumptionHnk from 'components/icon/consumptionHnk'\r\nimport HeinekenID from 'components/icon/heinekenid'\r\nimport MixxID from 'components/icon/mixx/mixx-id'\r\nimport DosequisID from 'components/icon/dosequis/dosequis-id'\r\nimport RockID from 'components/icon/indio/rock-id'\r\nimport UploadImageSilver from 'components/icon/upload-image-silver'\r\nimport VoteSilverIcon from 'components/icon/vote-silver'\r\nimport RankingSilverIcon from 'components/icon/ranking-silver'\r\nimport { MezclasSolIcon, ProfileSolIcon, VoteSolIcon } from 'components/icon/sol-icons'\r\nimport TriviasMillerIcon from 'components/icon/trivias-miller'\r\nimport Redeem from 'components/icon/redeem'\r\nimport MemoramaSilverIcon from 'components/icon/memorama-silver'\r\nimport CristalID from 'components/icon/cristal/id'\r\nimport MemoramaNavTecate from 'components/icon/tecate/memorama-nav'\r\nimport AmstelIdNav from 'components/icon/amstel/amstel-id-nav'\r\nimport BohemiaIdNav from 'components/icon/bohemia/bohemia-id-nav'\r\nimport HnkWaiterId from 'components/icon/hnk-waiter/hnkWaiterID'\r\nimport SilverID from 'components/icon/silver/silverId'\r\nimport MillerID from 'components/icon/miller/miller-id-nav'\r\nimport SolMezclasId from 'components/icon/solMezclas/solMezclasId'\r\nimport MassiveID from 'components/icon/massive/massiveId'\r\n\r\nconst Links = {\r\n Gift: {\r\n icon: CrowAguila,\r\n text: 'INGRESAR CÓDIGOS',\r\n link: '/redeem'\r\n },\r\n Rank: {\r\n icon: Rank,\r\n text: 'RANKING',\r\n link: '/ranking'\r\n },\r\n Auctions: {\r\n icon: Auctions,\r\n text: 'SUBASTAS',\r\n link: '/auctions'\r\n },\r\n Profile: {\r\n icon: Profile(),\r\n text: 'MI PERFIL',\r\n link: '/profile/information'\r\n },\r\n ProfileCB: {\r\n icon: Profile(),\r\n text: 'MI PERFIL',\r\n link: '/profile'\r\n },\r\n Raffles: {\r\n icon: Raffles,\r\n text: 'PREMIO DIARIO',\r\n link: '/raffles'\r\n },\r\n Referrals: {\r\n icon: Referrals,\r\n text: 'REFERIR AMIGOS',\r\n link: '/referrals'\r\n },\r\n Collections: {\r\n icon: Collection(),\r\n text: textServices.findByText('home/sellos', 'MIS COLECCIONES'),\r\n link: '/collections'\r\n },\r\n Awards: {\r\n icon: Awards(),\r\n text: 'MIS PREMIOS',\r\n link: '/prizes'\r\n },\r\n Prizes: {\r\n icon: Prizes(),\r\n text: textServices.findByText('home/buttonNav/prizes', 'VITRINA DE PREMIOS'),\r\n link: '/prizes'\r\n },\r\n Trivias: {\r\n icon: TriviasIcon,\r\n text: 'TRIVIAS',\r\n link: '/trivias'\r\n },\r\n TriviasIndio: {\r\n icon: TriviasIconIndio,\r\n text: 'MIS TRIVIAS',\r\n link: '/trivias'\r\n },\r\n Photos: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/photos.svg`,\r\n text: 'SUS FOTOS',\r\n link: '/photographer/start?isYou=true'\r\n },\r\n UploadImage: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/upload-image.svg`,\r\n text: 'SUBIR FOTO',\r\n link: '/photographer/upload'\r\n },\r\n // TODO: Cambiar url por la externa de indio\r\n LineUp: {\r\n icon: LineUpIndio,\r\n text: 'LINE UP',\r\n href: true,\r\n link: `${URL_BASE}/rockid/lineup`\r\n },\r\n ProfileID: {\r\n html: TecateID,\r\n type: 'component'\r\n },\r\n\r\n MixxID: {\r\n html: MixxID,\r\n type: 'component'\r\n },\r\n CristalID: {\r\n html: CristalID,\r\n type: 'component'\r\n },\r\n ConsumptionHnk: {\r\n html: ConsumptionHnk,\r\n type: 'component'\r\n },\r\n MemoramaSilver: {\r\n html: MemoramaSilverIcon,\r\n type: 'component'\r\n },\r\n DosequisID: {\r\n html: DosequisID,\r\n type: 'component'\r\n },\r\n RockID: {\r\n html: RockID,\r\n type: 'component'\r\n },\r\n HeinekenId: {\r\n icon: HeinekenID,\r\n text: '',\r\n link: '/profile/identificacion',\r\n type: 'full'\r\n },\r\n SolMezclasId: {\r\n icon: SolMezclasId,\r\n text: '',\r\n link: '/profile/identificacion',\r\n type: 'full'\r\n },\r\n TriviaMatchpaint: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/paris.svg`,\r\n text: 'VIAJE A PARÍS',\r\n link: '/trivias'\r\n },\r\n UploadImageSilver: {\r\n icon: UploadImageSilver,\r\n text: 'PARTICIPAR',\r\n link: '/album/redirect/Social/profile'\r\n },\r\n VoteSilver: {\r\n icon: VoteSilverIcon,\r\n text: 'VOTAR',\r\n link: '/album/start'\r\n },\r\n RankingSilver: {\r\n icon: RankingSilverIcon,\r\n text: 'RANKING',\r\n type: 'full',\r\n link: '/album/redirect/Social/ranking'\r\n },\r\n MezclasSol: {\r\n icon: MezclasSolIcon,\r\n text: 'MIS MEZCLAS',\r\n link: '/home'\r\n },\r\n VoteSol: {\r\n icon: VoteSolIcon,\r\n text: 'VOTAR',\r\n link: '/home'\r\n },\r\n ProfileSol: {\r\n icon: ProfileSolIcon,\r\n text: 'MI PERFIL',\r\n link: '/profile'\r\n },\r\n MyImagesSilver: {\r\n icon: UploadImageSilver,\r\n text: 'MIS IMÁGENES',\r\n link: '/album/redirect/Foto/profile'\r\n },\r\n ParticipateSilver: {\r\n icon: VoteSilverIcon,\r\n text: 'PARTICIPAR',\r\n link: '/album/redirect/Foto/upload'\r\n },\r\n TriviasMiller: {\r\n icon: TriviasMillerIcon,\r\n text: 'MIS TRIVIAS',\r\n link: '/trivias'\r\n },\r\n Redeem: {\r\n icon: Redeem(),\r\n text: textServices.findByText('home/buttonNav/redeem', 'INGRESAR CÓDIGOS'),\r\n link: '/redeem'\r\n },\r\n HistoryDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/history.svg`,\r\n text: 'HISTORIAS',\r\n link: '/album/redirect/Historia/upload'\r\n },\r\n TicketsDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/receipts.svg`,\r\n text: 'RECIBOS',\r\n link: '/album/redirect/Ticket/upload'\r\n },\r\n ConsumptionDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/photo.svg`,\r\n text: 'FOTOS',\r\n link: '/album/redirect/Consumo/upload'\r\n },\r\n MemoramaTecate: {\r\n html: MemoramaNavTecate,\r\n type: 'component'\r\n },\r\n SilverID: {\r\n html: SilverID,\r\n type: 'component'\r\n },\r\n MassiveID: {\r\n html: MassiveID,\r\n type: 'component'\r\n },\r\n AmstelID: {\r\n html: AmstelIdNav,\r\n type: 'component'\r\n },\r\n BohemiaID: {\r\n html: BohemiaIdNav,\r\n type: 'component'\r\n },\r\n BohemiaChallenges: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/challenges-nav.svg`,\r\n text: 'RETOS',\r\n link: '/album/start'\r\n },\r\n BohemiaContent: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/content-nav.svg`,\r\n text: 'MI CONTENIDO',\r\n link: '/album/redirect/Foto/profile'\r\n },\r\n BohemiaRanking: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/ranking-nav.svg`,\r\n text: 'RANKING',\r\n link: '/album/redirect/Foto/ranking'\r\n },\r\n TriviaDosequis: {\r\n icon: `${AZURE_BASE_URL}/trivia-nav.svg`,\r\n text: 'TRIVIA',\r\n link: '/trivias'\r\n },\r\n MemoramaDosequis: {\r\n icon: `${AZURE_BASE_URL}/memorama-nav.svg`,\r\n text: 'MEMORAMA',\r\n link: '/memorama'\r\n },\r\n PhotoDosequis: {\r\n icon: `${AZURE_BASE_URL}/photo-nav.svg`,\r\n text: 'SUBE TU FOTO',\r\n link: '/album/redirect/Consumo/upload'\r\n },\r\n TicketsDosequisV2: {\r\n icon: `${AZURE_BASE_URL}/ticket-nav.svg`,\r\n text: 'SUBE TU TICKET',\r\n link: '/album/redirect/Ticket/upload'\r\n },\r\n HnkWaiterID: {\r\n icon: HnkWaiterId,\r\n type: 'full',\r\n text: '',\r\n link: '/profile/identificacion'\r\n },\r\n MillerID: {\r\n html: MillerID,\r\n type: 'component'\r\n }\r\n}\r\n\r\nfunction ButtonNav({ route }: any) {\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n const item = Links[route]\r\n\r\n const onHandleClick = (item: any) => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: item.text ?? item.category,\r\n section: 'home'\r\n })\r\n gtag('event', 'event_to_ga', { event_category: item.category ?? item.text, event_label: 'Home links' })\r\n }\r\n\r\n if (item?.href) {\r\n return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n \r\n {item.text}\r\n \r\n {item.text}\r\n \r\n \r\n )\r\n }\r\n\r\n if (item.type === 'component') {\r\n return \r\n }\r\n\r\n if (item.type === 'full') {\r\n return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n {item.text && (\r\n {item.text}\r\n )}\r\n {item.logo && (\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 return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n \r\n {item.text}\r\n \r\n {item.text && (\r\n {item.text}\r\n )}\r\n {item.logo && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonNav\r\n","export function VoteSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function MezclasSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function ProfileSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}","const GoArrow = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default GoArrow;","import { DivLineStep, HrLineStep } from \"theme/home\";\r\nimport { TextHome } from \"views/home/style/text.style\";\r\n\r\ninterface LineStepsProps {\r\n steps: Record[];\r\n}\r\n\r\nconst LineSteps = ({ steps }: LineStepsProps) => {\r\n\r\n let activeIndex: number\r\n steps.forEach((step, index) => step.active && (activeIndex = index))\r\n\r\n return (\r\n <>\r\n
\r\n {steps.map((step, index: number) => {\r\n return (\r\n {`${step?.name}`}\r\n )\r\n })\r\n }\r\n
\r\n
\r\n
\r\n {\r\n steps.map((step, index: number) => {\r\n return (\r\n <>\r\n \r\n {\r\n +steps?.length === (index + 1) ? '' : \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 LineSteps","import styled from 'styled-components';\r\nimport { SpanMenu } from 'theme/header';\r\nimport { Type } from './../../../theme/types/generic.interface';\r\n\r\nexport const Dots = styled.div`\r\n width: 8px;\r\n height: 8px;\r\n border-radius: 9999px;\r\n opacity: 0.7;\r\n ${({ theme }: Type) => theme?.home?.dots}\r\n`\r\n\r\nexport const Points = styled.span`\r\n ${({ theme }: Type) => theme?.home?.points}\r\n`\r\n\r\nexport const PopUpTwo = styled.div`\r\n ${({ theme }: Type) => theme?.home?.popup?.two}\r\n`\r\n\r\nexport const PopUpSpanMenu = styled(SpanMenu)`\r\n ${({ theme }: Type) => theme?.home?.popup?.spanMenu}\r\n`\r\n\r\nexport const HrHome = styled.hr`\r\n ${({ theme }: Type) => theme?.home?.hr}\r\n`\r\n\r\nexport const NavContainer = styled.nav`\r\n ${({ theme }: Type) => theme?.home?.navContainer}\r\n`","import { GET_PRIZES, GET_RAFFLES_WINNERS } from \"constants/api\";\r\nimport Button from \"components/button\"\r\nimport textServices from \"services/text-services\"\r\nimport useAxios from \"axios-hooks\";\r\nimport { WinnerDto } from \"views/raffles/types\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { Prize } from \"views/prizes/types\";\r\nimport dayjs from \"dayjs\";\r\nimport { useWindowSize } from \"react-use\";\r\nimport { ButtonMenu } from \"theme/header\";\r\nimport ButtonCloseMenu from \"components/button-close\";\r\nimport { PopUpSpanMenu, PopUpTwo } from \"views/home/style/home.style\";\r\n\r\nconst One = ({ history, setPopUpFalse }) => {\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
\r\n

{textServices.findByText('home/popup/1/title', '¡TODOS LOS DÍAS TENEMOS GANADORES!')}

\r\n {textServices.findByText('home/popup/1/subtitle', '¿CÓMO SUMO MÁS CHANCES DE GANAR?')}\r\n
\r\n
  • {textServices.findByText('home/popup/1/description', 'Con cada código que ingreses puedes canjearlo por una participación en nuestra vitrina.')}
  • \r\n
  • {textServices.findByText('home/popup/1/description-2', 'Con cada persona que refieres y se registre')}
  • \r\n
    \r\n {textServices.findByText('home/popup/1/description-4', '¡QUE ESTAS ESPERANDO!')}\r\n
    \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Two = ({ setPopUpFalse }) => {\r\n return (\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\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\nconst Three = ({ history, setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
    \r\n

    {textServices.findByText('home/popup/3/title', '¿YA VISTE LOS PREMIOS? ¿YA ESTAS PARTICIPANDO?')}

    \r\n

    {textServices.findByText('home/popup/3/description', 'AUMENTA TUS CHANCES DE GANAR TODOS LOS DÍAS INGRESANDO CÓDIGOS E INVITANDO A TUS AMIGOS A REGISTRARSE')}

    \r\n {textServices.findByText('home/popup/3/subtitle', '¡QUE ESTAS ESPERANDO!')}\r\n
    \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Four = ({ history, setPopUpFalse }) => {\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }] = useAxios({\r\n url: GET_RAFFLES_WINNERS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n const [{ data: prizes = [], loading: load }] = useAxios({\r\n url: GET_PRIZES,\r\n })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [winners, setWinners] = useState<{ name: string, date: Date, id: number, title: string }[]>()\r\n const { height } = useWindowSize()\r\n const [heightList, setHeightList] = useState(500)\r\n\r\n useEffect(() => {\r\n setHeightList(height - 343)\r\n }, [height])\r\n\r\n\r\n useEffect(() => {\r\n if (data.length > 0 && prizes.length > 0) {\r\n setWinners(data.map(winner => ({\r\n name: winner.ganador,\r\n date: winner.sorteoDate,\r\n id: winner.sorteoId,\r\n title: prizes.find(r => r.id === winner.productId)?.title\r\n })))\r\n }\r\n }, [data, prizes])\r\n\r\n useEffect(() => {\r\n setLoad(loading ?? load)\r\n }, [loading, load])\r\n\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
    \r\n

    {textServices.findByText('home/popup/4/title', 'GANADORES')}

    \r\n
    \r\n {\r\n winners?.map(winner => (\r\n
    \r\n

    GANADOR DE {winner?.title}

    \r\n
    \r\n {dayjs(winner?.date).format('DD/MM')}\r\n

    {winner?.name}

    \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\nconst Five = ({ setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n >\r\n \r\n \r\n \r\n \"popup\r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Six = ({ setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n >\r\n \r\n \r\n \r\n \"popup\r\n \"popup\r\n \"popup\r\n
    \r\n )\r\n}\r\n\r\nexport const popUps = {\r\n 1: One,\r\n 2: Two,\r\n 3: Three,\r\n 4: Four,\r\n 5: Five,\r\n 6: Six\r\n}","import { useEffect } from \"react\"\r\nimport { useHistory } from \"react-router-dom\"\r\nimport { popUps } from \"./utils/data\"\r\n\r\nfunction PopUp({ setPopUpFalse, popUp }) {\r\n\r\n const history = useHistory()\r\n\r\n useEffect(() => {\r\n if (!popUp || !popUps[popUp]) return setPopUpFalse()\r\n }, [popUp])\r\n\r\n const Component = popUps[popUp]\r\n\r\n return (\r\n
    \r\n
    \r\n {popUps[popUp] && }\r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default PopUp","import { GET_CARRUSEL, GET_LEVELS } from 'constants/api'\r\nimport axios from 'axios'\r\nimport ButtonNav from 'components/button-nav'\r\nimport GoArrow from 'components/icon/goArrow'\r\nimport LineSteps from 'components/line-steps'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport UsePercentageProfile from 'hooks/use-percentage-profle'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport Slider from 'react-slick'\r\nimport textServices from 'services/text-services'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { DivProgress, DivProgressSecond } from 'theme/home'\r\nimport PopUp from './components/PopUp'\r\nimport { Dots, HrHome, NavContainer, Points } from './style/home.style'\r\nimport { TextHomeSecondary, TitleHome, TextPoints, TextDynamics, FloatImgHome, ContainerTextProgress, TextArrow, TextTotalPoints, TextArrowColor } from './style/text.style'\r\n\r\nconst Type = { 1: 'onclick', 2: 'href', 3: 'to' }\r\n\r\nfunction Home() {\r\n const [{ user, data: session }] = useSession()\r\n const { percentageProfile } = UsePercentageProfile()\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n const [carrousel, setCarrusel] =\r\n useState<{ src: string; to?: string; href?: string; id: number; onclick?: string }[]>()\r\n const [asyncSteps, setAsyncSteps] = useState<{ id: number; name: string; imageUrl: string }[]>([])\r\n const [steps, setSteps] = useState<{ name: string; image: string; active?: boolean }[]>([])\r\n const [popUp, setPopUp] = useState()\r\n useSurveyRedirect(SurveyTypeEnum.REGISTER)\r\n\r\n useMainClass('home')\r\n const getAsyncStates = async () => {\r\n setLoad(true)\r\n try {\r\n const { data: steps } = await axios.get<{ id: number; name: string; imageUrl: string }[]>(GET_LEVELS, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n if (steps.length > 0) {\r\n setAsyncSteps(steps)\r\n }\r\n const { data: carrousel } = await axios.get<{ imageUrl: string; type: number; url: string }[]>(GET_CARRUSEL, {\r\n headers: { 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n if (carrousel.length > 0) {\r\n setCarrusel(\r\n carrousel.map(({ imageUrl, type, url }, index) => ({\r\n src: imageUrl,\r\n [Type[type] ?? 'href']: url,\r\n id: index\r\n }))\r\n )\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (asyncSteps?.length > 0) {\r\n setSteps(\r\n asyncSteps?.map(({ id, name, imageUrl }) => ({\r\n id,\r\n name,\r\n image: imageUrl,\r\n active: id === user?.level?.id\r\n }))\r\n )\r\n }\r\n }, [user, asyncSteps])\r\n\r\n useEffect(() => {\r\n setFooter(true)\r\n getAsyncStates()\r\n return () => {\r\n setCarrusel([])\r\n setSteps([])\r\n }\r\n }, [])\r\n\r\n const dots = () => \r\n\r\n const settings = {\r\n centerPadding: carrousel?.length > 1 ? '15px' : '0px',\r\n centerMode: true,\r\n dots: true,\r\n infinite: false,\r\n speed: 500,\r\n autoplaySpeed: 4000,\r\n autoplay: true,\r\n customPaging: dots,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n arrows: false,\r\n afterChange: (currentSlide: number) => { dlTrackEvent('view_promotion', { promotion_id: carrousel[currentSlide]?.id, promotion_name: carrousel[currentSlide]?.to, creative_name: carrousel[currentSlide]?.src, section: 'home' }) }\r\n }\r\n\r\n if (popUp) {\r\n return setPopUp(undefined)} />\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n {textServices.findByText('home/hi', { es: 'Hola', en: 'Hi' })} {user?.firstName}\r\n {textServices.findByText('home/title', { es: '¿Qué quieres hacer?', en: 'What do you want to do?' })}\r\n
    \r\n \r\n {CONFIGS.routesHome.map((route: string, index: number) => (\r\n \r\n ))}\r\n {' '}\r\n {\r\n CONFIGS?.dynamics?.length > 0 && !CONFIGS?.dynamicsBottom ? (\r\n
    \r\n {textServices.findByText('home/dynamics/title', { es: 'DINÁMICAS', en: 'DYNAMICS' })}\r\n \r\n
    \r\n ) : null\r\n }\r\n {CONFIGS?.usePointsHome && (\r\n <>\r\n \r\n
    \r\n
    \r\n \r\n {textServices.findByText('home/points/title', { es: 'Tienes', en: 'You have' })}{' '}\r\n \r\n {user?.totalPoints} {POINTS_NAME}\r\n \r\n \r\n {/* */}\r\n {user?.level?.name}\r\n {/* */}\r\n
    \r\n \r\n
    {' '}\r\n \r\n )}\r\n {CONFIGS?.useProfilePointsHome && (\r\n <>\r\n \r\n \r\n
    \r\n
    \r\n {user?.level?.name}\r\n \r\n {textServices.findByText('home/points/title', { es: 'Tienes', en: 'You have' })}{' '}\r\n \r\n {user?.totalPoints} {POINTS_NAME}\r\n \r\n \r\n
    \r\n \r\n {textServices.findByText('home/arrowTextPointsProfile', `VER ${POINTS_NAME}`)}\r\n \r\n \r\n
    \r\n {' '}\r\n \r\n )}\r\n\r\n {\r\n CONFIGS?.usePointsText && (\r\n \r\n \r\n
    \r\n \r\n {textServices.findByText('home/pointsText', { es: <>TIENES {user?.totalPoints} {POINTS_NAME}, en: <>YOU HAVE {user?.totalPoints} {POINTS_NAME} }, { TOTAL_POINTS: user?.totalPoints, POINTS_NAME: POINTS_NAME })}\r\n \r\n \r\n {textServices.findByText('home/arrowTextPoints', '')}\r\n \r\n \r\n
    \r\n \r\n )\r\n }\r\n\r\n \r\n
    \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'ver perfil',\r\n section: \"home\"\r\n })\r\n }}>\r\n \r\n \r\n {\r\n percentageProfile === 100\r\n ? textServices.findByText('home/descriptionComplete', { es: '¡Tus datos están completos!', en: 'Your data is complete!' })\r\n : textServices.findByText('home/description', { es: '¡Completa tus datos!', en: 'Fill in your data!' })\r\n }\r\n \r\n\r\n \r\n \r\n {textServices.findByText('home/arrowText', '')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {percentageProfile}% {percentageProfile > 30 && textServices.findByText('home/percentageProfile', '')}\r\n \r\n \r\n \r\n
    \r\n \r\n {\r\n CONFIGS?.dynamics?.length > 0 && CONFIGS?.dynamicsBottom ? (\r\n <>\r\n
    \r\n {textServices.findByText('home/dynamics/title', { es: 'DINÁMICAS', en: 'DYNAMICS' })}\r\n \r\n
    \r\n \r\n \r\n ) : null\r\n }\r\n
    \r\n \r\n {carrousel?.map(({ src, to, href, id, onclick }) => {\r\n const processedHref = href?.replace('{{ID}}', user?.id?.toString());\r\n\r\n if (href)\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: href })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: href, creative_name: src, section: 'home' })\r\n }}>\r\n \"carrusel\"\r\n \r\n )\r\n if (to) {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: href })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: to, creative_name: src, section: 'home' })\r\n }}>\r\n \"carrusel\"\r\n \r\n )\r\n }\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: \"Abre popup\" })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: onclick, creative_name: src, section: 'home' })\r\n setPopUp(onclick)\r\n }}\r\n />\r\n )\r\n })}\r\n \r\n
    \r\n\r\n {\r\n CONFIGS?.useImgInHome && (\r\n \r\n )\r\n }\r\n
    \r\n )\r\n}\r\n\r\nexport default Home\r\n","const Cup = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Cup;","const Point = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Point;","import styled from 'styled-components';\r\nimport { AuctionStatus, AuctionStatusExtend } from '../types'\r\n\r\nexport const DivCardContainer = styled.div.attrs((props: AuctionStatusExtend) => ({\r\n status: props.status,\r\n modal: props.modal,\r\n theme: props.theme\r\n})) `\r\nbackground-color: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBgAndText[props.status].bg};\r\ncolor: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBgAndText[props.status].color};\r\nborder-color: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBorderColor};\r\nborder-radius: ${(props: AuctionStatusExtend) => !props.modal && props.theme?.auctions.cardRoundedTop};\r\n`\r\n\r\nexport const DivCardTitle = styled.div`\r\nborder-radius: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardRoundedTop};\r\n`\r\n\r\nexport const DivCardOffert = styled.div.attrs((props: AuctionStatus) => ({\r\n status: props.status,\r\n theme: props.theme\r\n})) `\r\nbackground-color: ${(props: AuctionStatus) => props.theme?.auctions.cardOffertBgAndText[props.status].bg};\r\ncolor: ${(props: AuctionStatus) => props.theme?.auctions.cardOffertBgAndText[props.status].color};\r\n`","import Clock from \"components/icon/clock\";\r\nimport Cup from \"components/icon/cup\";\r\nimport Point from \"components/icon/point\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { useCountdown } from \"rooks\";\r\nimport { DivCardContainer, DivCardOffert, DivCardTitle } from \"theme/auction\";\r\n\r\nfunction CardAuctions({ item, setAuction, modal }: any) {\r\n\r\n const count = useCountdown(item?.expires, { interval: 1000 })\r\n const [endTimeTransform, setEndTimeTransform] = useState(null)\r\n\r\n const ofertText = {\r\n 1: { text: 'OFERTA ACTUAL' },\r\n 2: { text: 'OFERTA ACTUAL' },\r\n 3: { text: 'VAS GANANDO', icon: },\r\n 4: { text: 'TE SUPERARON', icon: }\r\n }\r\n\r\n const secondsToString = (seconds: number) => {\r\n let days: any = Math.floor(seconds / 86400);\r\n days = (days < 10) ? '0' + days : days;\r\n let hour: any = Math.floor((seconds % 86400) / 3600);\r\n hour = (hour < 10) ? '0' + hour : hour;\r\n let minute: any = Math.floor((seconds / 60) % 60)\r\n minute = minute < 10 ? '0' + minute : minute\r\n let second: any = seconds % 60\r\n second = second < 10 ? '0' + second : second\r\n return `${days}d ${hour}h ${minute}m ${second}s`\r\n }\r\n\r\n useEffect(() => {\r\n if (count > 0) {\r\n setEndTimeTransform(secondsToString(count))\r\n }\r\n }, [count])\r\n\r\n return (\r\n {\r\n setAuction && setAuction(item)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AUCTIONS - Ver mas sobre la subasta', value: '10' })\r\n }} className={`w-full flex flex-col items-center justify-center ${!modal && 'cursor-pointer'}`}>\r\n {!modal &&\r\n \r\n

    {item?.title}

    \r\n
    \r\n }\r\n
    \r\n
    \r\n \r\n

    {ofertText[item.status].text}

    \r\n

    {ofertText[item.status].icon}{item?.currentOffer}

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

    Tiempo restante

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

    {endTimeTransform}

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default CardAuctions;","import Button from \"components/button\"\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport CardAuctions from \"components/card-auctions\"\r\nimport textServices from \"services/text-services\"\r\nimport { useEffect, useState } from \"react\"\r\n\r\nfunction SelectAuctionCard({ item, setAuction, currentAuction, onSubmit }: any) {\r\n\r\n const [currentOffer, setCurrentOffer] = useState(+item.currentOffer + 200)\r\n const [modalAlert, setModalAlert] = useState(false)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: modalAlert\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [modalAlert])\r\n\r\n const Buttons = {\r\n default: <>\r\n
    \r\n

    TU OFERTA DE {POINTS_NAME}

    \r\n
    \r\n \r\n
    {currentOffer}
    \r\n \r\n
    \r\n
    \r\n \r\n ,\r\n 2: <>\r\n

    Solo puedes participar en 1 subasta por vez.
    Puedes mirar pero tienes que esperar a que termine la que ya tienes activa.

    \r\n \r\n \r\n }\r\n\r\n if (modalAlert) {\r\n return (\r\n <>\r\n {\r\n setModalAlert(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AUCTIONS - Cerrar modal de alerta para ofertar', value: '10' })\r\n }}\r\n />\r\n
    \r\n
    \r\n

    Pérate, pérate!

    \r\n

    Estás a punto de ofertar {currentOffer} {POINTS_NAME} por {item.title}.
    ¿Segurísimo que quieres ofertar esta cantidad de {POINTS_NAME}?

    \r\n
    \r\n \r\n \r\n
    \r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n
    \r\n

    {item.title}

    \r\n

    {item.description}

    \r\n
    \r\n
    \r\n {Buttons[item.status] ? Buttons[item.status] : Buttons.default}\r\n \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default SelectAuctionCard","import { AxiosError } from \"axios\";\r\nimport ButtonCloseMenu from \"components/button-close\";\r\nimport SelectAuctionCard from \"components/card-auction-select\";\r\nimport CardAuctions from \"components/card-auctions\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { ArrowDown } from \"@icon-park/react\";\r\nimport textServices from \"services/text-services\";\r\nimport ErrorView from \"components/error-view\";\r\n\r\nconst Array = [\r\n {\r\n title: \"2 Boletos vivelatino\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 1,\r\n category: \"Festival\",\r\n id: 1\r\n },\r\n {\r\n title: \"2 Boletos vivelatino\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 2,\r\n category: \"Deporte\",\r\n id: 2\r\n },\r\n {\r\n title: \"2 Boletos vivelatino current\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 3,\r\n category: \"Tecnologia\",\r\n id: 3\r\n },\r\n {\r\n title: \"2 Boletos vivelatino minor\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 4,\r\n category: \"Festival\",\r\n id: 4\r\n },\r\n]\r\n\r\nconst currentAuction = Array.find(item => item.status === (3) || item.status === (4))\r\n\r\nfunction Auctions() {\r\n\r\n // eslint-disable-next-line no-undef\r\n const [{ user }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [auctionSelected, setAuctionSelected] = useState(null)\r\n const [genericError, setGenericError] = useState(null)\r\n const [congrats, setCongrats] = useState(null)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: congrats || genericError && true\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [congrats, genericError])\r\n\r\n const handleSubmit = async (currentOffer: number) => {\r\n setLoad(true)\r\n try {\r\n setAuctionSelected(null)\r\n console.log(currentOffer)\r\n setCongrats(true)\r\n } catch (error) {\r\n const err = error as AxiosError\r\n setGenericError(err.response?.data.code || 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (genericError) return setGenericError(null)} code={genericError} onRetry={() => setGenericError(null)} />\r\n\r\n if (congrats) {\r\n return (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUBASTAS - Volver atras', value: '10' })\r\n setCongrats(false)\r\n }} />\r\n
    \r\n
    \r\n

    ¡{textServices.findByText('auctions/congrats/title', 'Excelente,')} {user?.firstName}!

    \r\n

    {textServices.findByText('auctions/congrats/description', 'Tu oferta quedó como la más alta. En caso de que alguien más la supere te lo haremos saber para que puedas volver a ofertar si quieres.')}

    \r\n

    TE QUEDAN {user?.totalPoints} {POINTS_NAME}
    VAMOS POR MÁS.

    \r\n
    \r\n
    \r\n \r\n )\r\n }\r\n\r\n if (auctionSelected) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    {textServices.findByText('auctions/title', 'Subastas')}

    \r\n

    Tienes {user?.totalPoints} {POINTS_NAME}

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

    \r\n ORDENAR POR\r\n \r\n

    \r\n
    \r\n
    \r\n {\r\n currentAuction && (\r\n <>\r\n \r\n

    \r\n {textServices.findByText('auctions/current', 'Puedes seguir mirando las otras ofertas mientras se termina la que ya ofertaste.')}\r\n

    \r\n \r\n )\r\n }\r\n {\r\n Array?.filter((item) => (item.status !== 3 && item.status !== 4)).map((item) => {\r\n return \r\n })\r\n }\r\n
    \r\n );\r\n}\r\n\r\nexport default Auctions;","import { lazy, Suspense } from \"react\"\r\nimport { Redirect, Route } from \"react-router-dom\"\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\"\r\nimport { RafflesProvider } from \"./context\"\r\nconst Error = lazy(() => import(\"./views/error\"))\r\nconst Prizes = lazy(() => import(\"./views/prizes\"))\r\nconst Description = lazy(() => import(\"./views/description\"))\r\nconst Winners = lazy(() => import(\"./views/winners\"))\r\nconst Welcome = lazy(() => import(\"./views/welcome\"))\r\n\r\nconst Raffles = () => {\r\n return (\r\n Cargando}>\r\n \r\n \r\n } exact />\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 Raffles","import ButtonCloseMenu from 'components/button-close'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\n\r\nconst Rules = ({ closeRules }: { closeRules: () => void }) => {\r\n useMainClass('referrals__rules')\r\n\r\n return (\r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/rules/title', {\r\n es: 'Reglas de participación',\r\n en: 'Participation Rules'\r\n })}\r\n

    \r\n
    \r\n {textServices.findByText('referrals/rules/list', <>)}\r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default Rules\r\n","import Button from 'components/button'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\n\r\nconst Modal = ({ closeModal, toggleRules, data }: { closeModal: () => void; toggleRules: () => void; data: any }) => {\r\n useMainClass('referrals__modal')\r\n\r\n const closeModalFn = async () => {\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'close modal',\r\n section: 'referrals'\r\n })\r\n\r\n closeModal()\r\n } catch (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 {textServices.findByText('referrals/modal/title', {\r\n es: (\r\n <>\r\n ¿Cómo participar?
    Refiere y gana\r\n \r\n ),\r\n en: (\r\n <>\r\n How to participate?
    Refer and earn\r\n \r\n )\r\n })}\r\n

    \r\n\r\n \r\n\r\n
    \r\n {textServices.findByText('referrals/modal/content', <>)}\r\n
    \r\n\r\n \r\n\r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default Modal\r\n","import textServices from 'services/text-services'\r\nimport { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\n\r\ninterface IProps {\r\n toggleRanking: () => void\r\n}\r\n\r\nconst Header = ({ toggleRanking }: IProps) => {\r\n const navigateToId = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'go to id',\r\n section: 'referrals'\r\n })\r\n }\r\n\r\n const handleBackArrow = () => {\r\n history.back()\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/title', {\r\n es: 'Referir código',\r\n en: 'Refer code'\r\n })}\r\n

    \r\n
    \r\n\r\n {THEME === 'dosequis' ? (\r\n \r\n ) : (\r\n \r\n \"Card\"\r\n

    \r\n {textServices.findByText('referrals/download-id', {\r\n es: 'Descargar ID',\r\n en: 'Download ID'\r\n })}\r\n

    \r\n \r\n )}\r\n
    \r\n )\r\n}\r\n\r\nexport default Header\r\n","import textServices from 'services/text-services'\r\nimport { Data } from '../referrals.interface'\r\nconst ProgressBar = ({ data }: { data: Data }) => {\r\n const referrals = data?.profileCluster?.referredAmount ?? 0\r\n const maxUsers = data?.team.maxUser > 0 ? data?.team.maxUser : 10\r\n\r\n const calculateRange = (): { min: number; max: number } => {\r\n const max = maxUsers\r\n const min = 0\r\n return { min, max }\r\n }\r\n\r\n const calculateProgress = (referrals: number, range: { min: number; max: number }): number => {\r\n const { max } = range\r\n if (referrals > max) {\r\n return 100\r\n }\r\n const progress = (referrals / max) * 100\r\n return Math.min(100, progress)\r\n }\r\n\r\n const calculateDisplayRange = (referrals: number, range: { min: number; max: number }): string => {\r\n const { max } = range\r\n return `${referrals >= 1 && referrals <= 9 ? '0' : ''}${referrals}/${max}`\r\n }\r\n\r\n const range = calculateRange()\r\n const progress = calculateProgress(referrals, range)\r\n const displayRange = calculateDisplayRange(referrals, range)\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    \r\n {displayRange}{' '}\r\n {textServices.findByText('referrals/progress-bar/name', {\r\n es: 'referidos',\r\n en: 'referrals'\r\n })}\r\n

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

    \r\n {data?.profileCluster?.referralPoints ? '+' : ''}\r\n {data?.profileCluster?.referralPoints ?? '00'} pts\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default ProgressBar\r\n","import { useRef, useState } from 'react'\r\nimport CONFIGS from 'build/Config'\r\nimport Button from 'components/button'\r\nimport { useSession } from 'contexts/session-context'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { Data } from '../referrals.interface'\r\n\r\nconst Code = ({ data }: { data: Data }) => {\r\n const contentRef = useRef(null)\r\n\r\n const [dynamic, setDynamic] = useState(false)\r\n\r\n const [{ user }] = useSession()\r\n\r\n const getUrlUser = () => {\r\n if (CONFIGS?.buttonsStart.includes('xeerpa')) {\r\n return `${URL_BASE}${process.env.PUBLIC_URL}/login-manager?referralCode=${user?.referralCode}&tointernal=true`\r\n }\r\n return `${URL_BASE}${process.env.PUBLIC_URL}/signup?referralCode=${user?.referralCode}`\r\n }\r\n\r\n const handleCopy = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'copy referral code',\r\n section: 'referrals'\r\n })\r\n\r\n\r\n\r\n navigator.clipboard.writeText(getUrlUser()).then(\r\n () => console.log('text copied'),\r\n () => console.log('error copying text')\r\n )\r\n }\r\n\r\n const handleShare = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'share referral code',\r\n section: 'referrals'\r\n })\r\n\r\n window.navigator.share({\r\n title: textServices.findByText('refferal/title', 'Código de referido'),\r\n text: `${textServices.findByText('refferal/text1', `¡Hola! ¡Usa mi código `)} ${user?.referralCode} ${textServices.findByText('refferal/text2', ` para registrarte!`)}`,\r\n url: getUrlUser()\r\n })\r\n }\r\n\r\n const toggleDynamic = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !dynamic ? 'see dynamic' : 'close dynamic',\r\n section: 'referrals'\r\n })\r\n\r\n setDynamic(!dynamic)\r\n }\r\n\r\n return (\r\n
    \r\n

    \r\n {textServices.findByText('referrals/code/title', {\r\n es: 'Comparte tu código para obtener puntos extra por cada nuevo referido y participar por premios especiales.',\r\n en: 'Share your code to earn extra points for each new referral and participate in special prize giveaways.'\r\n })}\r\n

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

    \r\n {textServices.findByText('referrals/code/share', {\r\n es: 'Comparte tu código',\r\n en: 'Share your code'\r\n })}\r\n

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

    {user?.referralCode}

    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n\r\n \r\n {textServices.findByText('referrals/code/dynamic/content', {\r\n es: (\r\n

    \r\n Todavía no hay información sobre la dinámica. Vuelve más tarde.\r\n

    \r\n ),\r\n en: (\r\n

    \r\n There is no information about the dynamic yet. Please check back later.\r\n

    \r\n )\r\n })}\r\n {textServices.findByText('referrals/code/dynamic/prize', {\r\n es: (\r\n

    Premio:

    \r\n ),\r\n en: (\r\n

    Prize:

    \r\n )\r\n })}\r\n \"referral\r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default Code\r\n","import { GET_RANKING_BY_TEAM } from 'constants/api'\r\nimport dayjs from 'dayjs'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useEffect, useState } from 'react'\r\nimport { RankingGroup } from 'contexts/groups-context/groups-reducer'\r\nimport textServices from 'services/text-services'\r\n\r\ninterface IProps {\r\n toggleRanking: () => void\r\n team: any\r\n}\r\n\r\nconst Header = ({ toggleRanking }: any) => {\r\n return (\r\n
    \r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/rank/title', {\r\n es: 'Ranking referidos',\r\n en: 'Referrals ranking'\r\n })}\r\n

    \r\n
    \r\n\r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Status = ({ team }: any) => {\r\n return (\r\n
    \r\n
    \r\n

    ACTIVO

    \r\n
    \r\n

    Finaliza el {dayjs(team?.team?.validTo).format(\"DD/MM/YYYY\")}

    \r\n
    \r\n )\r\n}\r\n\r\nconst RankingItem = ({ position, name, code, score }: any) => {\r\n const backgroundClass = position <= 3 ? `referrals__ranking__item__${position}` : 'referrals__ranking__item__default'\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    {position}

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

    {name}

    \r\n

    Código {code}

    \r\n
    \r\n
    \r\n\r\n
    \r\n \"Icon\r\n

    {score}

    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nconst Ranking = ({ toggleRanking, team }: IProps) => {\r\n const [{ data: session }] = useSession()\r\n const [rankInfo, setRankInfo] = useState<{ profile: RankingGroup | null; ranking: RankingGroup[] }>({\r\n profile: null,\r\n ranking: []\r\n })\r\n\r\n const getRanking = async () => {\r\n try {\r\n if (!session || !team?.team?.id || !team?.profileCluster?.clusterId) return\r\n\r\n const headers = {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n\r\n const URL = GET_RANKING_BY_TEAM.replace(':teamId', `${team.team.id}`).replace(\r\n ':clusterId',\r\n `${team.profileCluster.clusterId}`\r\n )\r\n\r\n const {\r\n data: { profileRanking, ranking }\r\n } = await axios.get<{ profileRanking: RankingGroup; ranking: RankingGroup[] }>(URL, { headers })\r\n\r\n setRankInfo({ profile: profileRanking, ranking })\r\n } catch (error) {\r\n console.error('Error fetching ranking:', error)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getRanking()\r\n }, [team])\r\n\r\n const Position = () => {\r\n return (\r\n
    \r\n
    \r\n {rankInfo?.profile?.position > 0 ? (\r\n <>\r\n

    \r\n Estás en la posición {rankInfo?.profile?.position}\r\n

    \r\n\r\n \r\n \r\n \r\n\r\n
    \r\n \"Referral\r\n

    {rankInfo?.profile?.points}

    \r\n
    \r\n \r\n ) : (\r\n

    Aún no tienes referidos, no estás en ninguna posición.

    \r\n )}\r\n
    \r\n
    \r\n )\r\n }\r\n\r\n const RankingItemMap = () => {\r\n return (\r\n <>\r\n {rankInfo.ranking.length > 0 ? (\r\n rankInfo.ranking\r\n .slice(0, 7)\r\n .map((item, index) => (\r\n \r\n ))\r\n ) : (\r\n

    \r\n {textServices.findByText('referrals/rank/not-available', {\r\n es: 'No hay ranking disponibles',\r\n en: 'No rankings available'\r\n })}\r\n

    \r\n )}\r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n {textServices.findByText('referrals/ranking/subtitle', {\r\n es: (\r\n
    \r\n

    \r\n Este es el ranking de referidos, aquí verás a los demás participantes y en qué posición te encuentras.\r\n

    \r\n
    \r\n ),\r\n en: (\r\n
    \r\n

    \r\n This is the referral ranking. Here, you will see the other participants and your current position.\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 Ranking\r\n","import { useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoadingDiv } from 'theme/loading'\r\nimport Rules from './components/Rules'\r\nimport Modal from './components/Modal'\r\nimport Header from './components/Header'\r\nimport ProgressBar from './components/ProgressBar'\r\nimport Code from './components/Code'\r\nimport { useReferral } from './hook/useReferral'\r\nimport Ranking from './components/Ranking'\r\n\r\nconst Referrals = () => {\r\n useMainClass('referrals')\r\n const [openRules, setOpenRules] = useState(false)\r\n const [{ dynamic, team }, { getReferredTeam, createClusterTeam }] = useReferral()\r\n const [modal, setModal] = useState(true)\r\n const [openRanking, setOpenRanking] = useState(false)\r\n\r\n useEffect(() => {\r\n if (dynamic) getReferredTeam()\r\n }, [dynamic])\r\n\r\n const toggleRules = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !openRules ? 'see rules' : 'close rules',\r\n section: 'referrals'\r\n })\r\n\r\n setOpenRules(!openRules)\r\n }\r\n\r\n const toggleRanking = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !openRules ? 'see ranking' : 'close ranking',\r\n section: 'referrals'\r\n })\r\n\r\n setOpenRanking(!openRanking)\r\n }\r\n\r\n const referralCode = async () => {\r\n try {\r\n if (!team?.profileCluster) {\r\n await createClusterTeam()\r\n }\r\n setModal(false)\r\n } catch (error) {\r\n console.error('Error in referralCode:', error)\r\n }\r\n }\r\n\r\n if (!dynamic && !team) {\r\n return \r\n }\r\n\r\n if (openRules) {\r\n return \r\n }\r\n\r\n if (modal) {\r\n return \r\n }\r\n\r\n if (openRanking) {\r\n return \r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default Referrals\r\n","import { GET_REFERRED_ACTIVE, GET_REFERRED_TEAM, PUT_CREATE_CLUSTER_TEAM } from 'constants/api'\r\nimport axios from 'axios'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useContext, useEffect, useState } from 'react'\r\n\r\nexport const useReferral = () => {\r\n const [error, setError] = useState()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [dynamic, setDynamic] = useState(null)\r\n const [team, setTeam] = useState(null)\r\n const [{ data: session, user }] = useSession()\r\n\r\n const getReferredActive = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.get(GET_REFERRED_ACTIVE, {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setDynamic(response?.data)\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const getReferredTeam = async () => {\r\n setLoad(true)\r\n\r\n try {\r\n const response = await axios.get(GET_REFERRED_TEAM.replace(':teamId', dynamic?.id), {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setTeam(response?.data)\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const createClusterTeam = async () => {\r\n setLoad(true)\r\n\r\n try {\r\n const formData = new FormData()\r\n\r\n formData.append('file', '')\r\n formData.append(\r\n 'input',\r\n JSON.stringify({ name: `${user?.referralCode}`, ImageFileName: '', ImageContentType: '' })\r\n )\r\n\r\n await axios.put(PUT_CREATE_CLUSTER_TEAM.replace(':teamId', dynamic?.id), formData, {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferredActive()\r\n }, [])\r\n\r\n return [\r\n { dynamic, error, team },\r\n { getReferredTeam, createClusterTeam, setError }\r\n ]\r\n}\r\n","import styled from \"styled-components\";\r\nimport { Title } from \"theme/theme\";\r\nimport { Type } from \"theme/types\";\r\n\r\nexport const TitleSurveyQr = styled(Title)`\r\n ${({theme}: Type) => theme?.trivias?.triviaQr?.title}\r\n`;\r\n\r\nexport const DescriptionSurveyQr = styled.div`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.description}\r\n`;\r\n\r\nexport const ImgSurveyQr = styled.img`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.img}\r\n`;\r\n\r\nexport const ContainerSurveyQr = styled.div`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.container}\r\n`\r\n\r\nexport const TitleSurvey = styled(Title)`\r\n ${({theme}: Type) => theme?.surveys?.text?.title}\r\n`\r\n\r\nexport const TitleSurveyPolaris = styled(Title)`\r\n ${({ theme }: Type) => theme?.surveys?.text?.titlePolaris}\r\n`\r\n\r\nexport const CardContainerSurvey = styled.div` \r\n ${({ theme }: Type) => theme?.surveys?.card?.container}\r\n`\r\n\r\nexport const ImgCardSurvey = styled.img`\r\n ${({ theme }: Type) => theme?.surveys?.card?.img}\r\n`\r\n\r\nexport const ImgBottomSurvey = styled.img`\r\n ${({ theme }: Type) => theme?.surveys?.imgBottom}\r\n`\r\n\r\nexport const TextCardSurvey = styled.p`\r\n ${({ theme }: Type) => theme?.surveys?.card?.text}\r\n`","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\ninterface Types extends Type {\r\n isSelected: boolean\r\n}\r\n\r\nexport const PSurveyMultiSelectOption = styled.p`\r\n ${(props: Type) => props.theme?.surveys?.label};\r\n`\r\n\r\nexport const SubtitleSurveyLabel = styled.h2`\r\n ${(props: Type) => props.theme?.surveys?.subtitle};\r\n`\r\nexport const SubtitleLabelSurvey = styled.h3`\r\n ${(props: Type) => props.theme?.surveys?.subtitleLabel};\r\n`\r\n\r\nexport const DivSurveyMultiSelectOptionContainer = styled.div.attrs((props: Types) => ({\r\n isSelected: props.isSelected,\r\n ...props\r\n})) `\r\n border-radius: ${(props: Type) => (props.theme?.surveys ?? {})['border-radius']};\r\n ${(props: Types) => props.isSelected ? props.theme?.surveys?.containerSelect : props.theme?.surveys?.container}\r\n`\r\n\r\nexport const ImgSurveyMultiSelectOption = styled.img`\r\n border-radius: ${(props: Type) => (props.theme?.surveys ?? {})['border-radius']};\r\n`","import { Option } from 'contexts/survey-context/survey.interface'\r\nimport { MouseEventHandler, ReactNode, useEffect, useRef, useState } from 'react'\r\nimport {\r\n DivSurveyMultiSelectOptionContainer,\r\n ImgSurveyMultiSelectOption,\r\n PSurveyMultiSelectOption,\r\n SubtitleSurveyLabel,\r\n SubtitleLabelSurvey\r\n} from 'theme/survey'\r\n\r\nexport interface MultiSelectProps {\r\n questionId: number\r\n title: ReactNode\r\n subtitle: string\r\n items?: Option[]\r\n onChange: (key: number, selected: string[]) => void\r\n amountAnswers?: number\r\n columns?: number\r\n}\r\n\r\nconst MultiSelect = (props: MultiSelectProps) => {\r\n const [selected, setSelected] = useState([])\r\n const titleRef = useRef(null)\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SURVEY - Seleccionar encuesta',\r\n value: '10'\r\n })\r\n const itemId = event.currentTarget.id as string\r\n const isSelected = selected.includes(itemId)\r\n\r\n if (isSelected) {\r\n setSelected((selectedItems) => selectedItems.filter((id) => id !== itemId))\r\n } else {\r\n const newSelectedList = [...selected]\r\n\r\n // @ts-expect-error El operando derecho de ?? es inaccesible porque el operando izquierdo nunca es nulo .ts(2869)\r\n if (newSelectedList.length >= props?.amountAnswers ?? 1) {\r\n newSelectedList.shift()\r\n }\r\n\r\n newSelectedList.push(itemId)\r\n\r\n setSelected(newSelectedList)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected)\r\n }, [selected, titleRef])\r\n\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n {props.subtitle}\r\n
    \r\n = 3 ? `repeat(${props?.columns ?? 3}, minmax(0, 1fr))` : 'repeat(2, minmax(0, 0.35fr))'\r\n }}\r\n >\r\n {props.items &&\r\n props.items.map(({ optionId, imageUrl, option }) => {\r\n const key = `${optionId}`\r\n const isSelected = selected.includes(key)\r\n\r\n return (\r\n \r\n \r\n {(option && !(props?.columns && props?.columns >= 4)) && (\r\n \r\n {option}\r\n \r\n )}\r\n = 4) && 'min-h-6'}`}\r\n style={{ height: (props?.columns && props?.columns >= 4) && '58.2px' }}\r\n />\r\n \r\n \r\n )\r\n })}\r\n \r\n {\r\n ((props?.columns && props?.columns >= 4)) && (\r\n
    \r\n

    \r\n {\r\n selected?.length\r\n ? props.items.find(item => item.optionId === Number(selected[0]))?.option\r\n : 'Elige la que más te identifique'\r\n }\r\n

    \r\n
    \r\n )\r\n }\r\n \r\n )\r\n}\r\n\r\nexport default MultiSelect\r\n","import { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { SelectGender } from \"theme/theme\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\n\r\nexport interface DropDownProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nconst DropDown = (props: DropDownProps) => {\r\n\r\n const onChange: React.ChangeEventHandler = (event) => {\r\n const itemId = event.currentTarget.value as string;\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n\r\n if (itemId === 'SELECCIONA UNA RESPUESTA') return props.onChange(props?.questionId, []);\r\n\r\n return props.onChange(props?.questionId, [itemId]);\r\n };\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n \r\n \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n return (\r\n \r\n {option}\r\n \r\n );\r\n })}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default DropDown;\r\n","import { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { MouseEventHandler, useEffect, useRef, useState } from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { DivCheckbox, PCheckbox, Checkbox } from \"theme/theme\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\n\r\nexport interface CheckBoxProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nfunction CheckboxMapper(props: CheckBoxProps) {\r\n const [selected, setSelected] = useState([]);\r\n const titleRef = useRef(null);\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n const itemId = event.currentTarget.id as string;\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n }) \r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n if (selected.includes(itemId)) {\r\n return setSelected(selected.filter((item) => item !== itemId));\r\n }\r\n return setSelected((state) => [...state, itemId]);\r\n };\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected);\r\n }, [selected, titleRef]);\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n {props.subtitle}\r\n\r\n
    \r\n
    \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n const key = `${optionId}`;\r\n const isSelected = selected.includes(key);\r\n\r\n return (\r\n \r\n \r\n {option}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default CheckboxMapper","import { MouseEventHandler, useEffect, useRef, useState } from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\nimport Radio from \"components/radio\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\n\r\nexport interface CheckBoxProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nfunction RadioMapper(props: CheckBoxProps) {\r\n const [selected, setSelected] = useState([]);\r\n const titleRef = useRef(null);\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n const itemId = event.currentTarget.id as string;\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n }) \r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n return setSelected([itemId]);\r\n };\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected);\r\n }, [selected, titleRef]);\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n const key = `${optionId}`;\r\n\r\n return (\r\n \r\n {option}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default RadioMapper","import React from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\n\r\nexport interface TextProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[], value?: string) => void;\r\n}\r\n\r\nconst TextBox = (props: TextProps) => {\r\n \r\n const onchange = (e: React.ChangeEvent) => {\r\n props.onChange(props?.questionId, [`${props.items[0]?.optionId}`], e.target.value)\r\n }\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n