{"version":3,"sources":["images/circle_left.png","images/circle_right.png","components/Earned.js","components/Leaving.js","components/Share.js","components/ShareDone.js","components/RewardInformation.js","components/AuthGiveaways.js","images/icon_done.png","images/icon_delete.png","images/icon_forward.png","info/terms.txt","info/policy.txt","pages/MainPage.js","images/icon_gift.png","images/icon_sad.png","images/icon_wink.png","App.js","index.js"],"names":["ONE_HUNDRED_PERCENT","SEVENTY_FIVE_PERCENT","FIFTY_PERCENT","TWENTY_FIVE_PERCENT","FLUX_BALANCE_TEXT","createFileName","extension","names","join","Earned","props","ref","createRef","takeScreenShot","node","htmlToImage","dataURI","download","image","name","a","document","createElement","href","click","downloadScreenshot","current","then","updateDimensions","ismounted","setState","state","onTextChange","e","email","value","target","emailCallback","emailIsValid","disableGenerateRewardButton","onNavigateReward","campaignInfo","linkConfiguration","undefined","link","window","open","AndroidInterface","onMessage","error","webkit","messageHandlers","AppleInterface","postMessage","parent","onCreateReward","createRewardCallback","id","setPropsState","showEarnedReward","mShowEarnedReward","mShowDataEnrichment","mShowClaimedReward","showDataEnrichment","showClaimedReward","addEventListener","test","this","logoImage","isVertical","earned","earnedHeaderStyle","earnedHeaderImageStyle","earnedSectionInfoStyle","linkConfigurationText","earnedInformationStyle","detailBodyStyle","buttonClaimText","buttonClaim","termsText","terms","helpText","help","partnerTextSize","titleFontSize","textMargin","codeFontSize","codeMarginSize","logoSize","isCouponContainerRow","fluxValueFontSize","fluxAmountFontSize","innerWidth","maxHeight","minHeight","height","innerHeight","minWidth","maxWidth","width","flexFlow","Math","pow","configuration","a_cr","background","advertiserLogoAlign","a_al_lgn","align","right","top","itemAlign","advertiserLogoAlignState","partnerTitleAlign","a_pt_lgn","textAlign","fontSize","marginBottom","partnerTitleStyle","a_pt_clr","color","a_pt_wght","fontWeight","partnerRewardStyle","a_pr_clr","a_pr_lgn","a_pr_wght","partnerCauseStyle","partnerValidStyle","a_rv_lgn","a_rv_clr","a_rv_wght","actionInstructionStyle","actionInstruction_align","actionInstruction_color","actionButtonStyle","saveButtonStyle","actionButtonStyleDisable","z_ab_rds","borderRadius","z_ab_clr","z_ab_txtClr","z_ab_txtWght","z_ab_ppr","toUpperCase","text","inputFormStyle","inputFormStyleCorrect","actionButton_radius","inputForm_border","borderWidth","inputForm_color","borderColor","rewardTextStyle","c_ac_lgn","c_ac_clr","c_ac_wght","marginTop","linksStyle","a_le_clr","a_le_wght","a_le_ppr","detailsTextStyle","c_dt_clr","c_dt_wght","fluxValueStyle","fluxAmountStyle","logoContainerState","logoContainerEarned","className","style","backgroundImage","logoContainerEnrichment","logoContainerClaimed","earnedHeaderStateContainer","earnedHeaderImage","src","headerImage","alt","earnedHeaderEarnedContainer","earnedHeaderEnrichmentContainer","earnedHeaderClaimedContainer","closeImageState","closeImage","leaveImage","onClick","leaveCallback","closeImageEmpty","partnerConfig","buttonClose","web","enable","isDetail","allowResendState","allowResend","shareCallback","forwardImage","shareText","allowResendEmpty","buttonBuilderState","leftOptionsState","topActionsState","claimedRewardButtonState","stateButton","earnedRewardButton","dataEnrichmentButton","disabled","buttonGenerate","claimedRewardButtonEmpty","emailInstructionsState","emailInstructions","correctEmailState","inputEmailState","inputEmailNormal","onChange","placeholder","inputPlaceholder","type","inputEmailCorrect","correctEmailImg","correctMailImg","correctEmailEmpty","instructionsState","titleDescReasonValidity","partnerTitle","rewardGuider","description","reason","vigenciaTxt","instructionsEmpty","instructionsClaimed","codeNumberState","codeQRTextStyle","couponContainer","formatter","Intl","NumberFormat","currency","codeType","codeBonnus","codeQRFluxStyle","format","amount","codeImageBarStyle","codeImageUrl","codeImageEmptyStyle","codeNumberGiftCards","folioGiftCards","data","codeNumberStyleGiftCards","codeNumber","length","parseInt","parseFloat","rowContainer","from","opacity","to","columnContainer","couponNumber","margin","circleLeft","circleRight","couponNumberState","couponNumberEmpty","textContainer","instructionsCallback","termsCallback","helpCallback","earnedTextContainer","containerRadius","z_cr","containerRadiusState","earnedStyle","badgeEarned","useBadge","React","PureComponent","Leaving","leavingStyle","leaveTitleStyle","leaveTextStyle","leaveButtonStyle","buttonStay","buttonLeave","d_lc_clr","z_ab_brdrCrl","z_sb_ppr","z_sb_rds","z_sb_txtClr","z_sb_brdrCrl","z_sb_clr","z_tn_clr","d_ltx_wght","z_tn_wght","z_tn_lgn","g_tq_clr","g_tq_wght","g_tq_lgn","onBack","onLeave","sadIcon","title","HEIGHT_VERTICAL","Share","disableShareButton","ownName","otherName","otherEmail","nameText","otherNameText","otherEmailText","onOwnInfoName","onOtherInfoName","onOtherInfoMail","onShareReward","shareRewardCallback","doneStyle","shareInformationContainer","correctNameImgState","selfNameInputState","selfNameInput","namePlaceholder","selfNameInputCorrect","correctNameImg","correctImg","correctNameImgEmpty","correctOtherNameImgState","otherNameInputState","otherNameInput","otherNamePlaceholder","otherNameInputCorrect","correctOtherNameImg","correctOtherNameImgEmpty","correctOtherEmailImgState","otherEmailInputState","otherEmailInput","otherEmailPlaceholder","otherEmailInputCorrect","correctOtherEmailImg","correctOtherEmailImgEmpty","giftIcon","ownInfo","otherInfo","buttonShare","buttonCancel","ShareDone","onContinue","isMobile","ex","action","run","shareDoneStyle","happyIcon","shareOtherName","shareOtherEmail","continueText","RewardInformation","bodyTextSize","bodyTxtSize","infoContainerRef","titleContainerRef","getBoundingClientRect","createMarkup","string","__html","informationStyle","informationContainerStyle","informationTextStyle","buttonText","titleTextStyle","d_lt_clr","d_lt_wght","d_lt_lgn","d_ltx_clr","d_ltx_lgn","dangerouslySetInnerHTML","AuthGiveaways","isValidEmail","emailError","isValidPhone","phone","isValidPhoneNumber","phoneError","onDataEnrichOptionalTextChange","nameIndex","dataEnrichValueList","findIndex","x","push","required","changeDataEnrich","onDataEnrichTextChange","addValue","splice","reviewButtonStateChange","onFieldTextChange","fieldValue","fieldInputValueList","changedValue","onClickFieldsLayout","onClickOk","alertChangeState","alertState","onAcceptTermsAndPolicy","changeValue","checked","termsAndPolicyChecked","termsAndPolicy","isOneEmpty","forEach","element","fieldsRequireds","giveaway","fields","dataEnrich","filter","valuesFill","fieldLayoutButtonDisable","extraInfoClick","index","extraInfoCallback","mShowEnterFields","fieldListValue","dataEnrichListValue","fieldInputValueCount","subtitleFontSize","headerContainerColor","instructionsTextStyle","z_ai_lgn","z_ai_clr","z_ai_wght","content","thanks_title","main_title","sub_title","actionButtonInputFieldsStyle","inputFieldsContainer","instructions","map","item","Fragment","help_title","readOnly","defaultCountry","label","button_txt","alertEmpty","alertShow","alertMessage","alertOkText","GlobalFontOpenSans","createGlobalStyle","GlobalFontRoboto","API_BASE","API_VALIDATE","API_REDEEM","MainPage","pageState","loadingCreate","errorMessage","showAuthGiveaways","stateCampaign","arrayCampaigns","userReference","userId","instructionsText","rewardGuiderSubtitle","giveawayIsActive","integrateChat","script","async","onload","fcWidget","init","setExternalId","user","setFirstName","setEmail","setProperties","cf_plan","cf_status","console","body","appendChild","removeChild","fetchGiveawaysAuth","settings","method","headers","Accept","fetch","alias","response","json","responseData","log","API_LANDING","layoutConfiguration","message","isActive","private","deviceId","localStorage","getItem","setItem","uuid","fetchGiveawaysBuilder","messageError","values","fieldValues","dataEnrichListValues","giveawayId","fieldNumber","listToString","substring","JSON","stringify","campaigns","userid","bonnusId","code","wasRedeemed","support","fetchRedeemReadOnly","bonnus","onDataEnrichment","setTimeout","onEmailChange","emailData","fetchRedeem","campaignId","birthDate","zipCode","gender","geo","lastName","city","isRedeeming","onTermsConditionsGiveaways","onTermsConditions","onHelp","onInstructions","onShare","history","goBack","detectBrowser","ua","navigator","userAgent","onShowReward","onLeaveReward","activityId","shareName","renderSlides","imageCorrect","close","forward","buttonAccept","buttonConvert","detailTitle","detailTitle_mas","backText","reward_subtitle","showDataEnrichmentCallback","onChangeSlider","currentSlide","extraInformationAlert","help_text","onChangeFieldValue","onChangeDataEnrichListValue","match","params","field","fontId","termsTxt","r","policyTxt","prevProps","prevState","loaderState","loader","globalBackground","z_gb","globalBackgroundState","globalFont","carouselInstructionsAndDotsStyle","justifyContent","adaptiveHeight","dots","infinite","initialSlide","afterChange","carruselText","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,EAACC,KAAK,IAAIC,UAAW9I,SAI1C,ECZD+I,IAASC,OAAO,cAAC,GAAD,IAASpkB,SAASqkB,eAAe,O","file":"static/js/main.b50d51ca.chunk.js","sourcesContent":["export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAACBCAMAAABKHTy6AAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAADxQTFRFUVFRPDw8Pj4+QEBAPz8/QkJCTExMW1tbAAAAOjo6ODg4UlJSOTk5VVVVYGBgX19fV1dXXFxcU1NTNzc3uchncgAAABR0Uk5T2P///////1kA///M/6UYJoxMv/9NS0KcAAABLUlEQVR4nO3aaw6CMBAEYBCVDr71/nfV6D+gZbeOdCTsAb60CQ3bnVZVXW+aZrvbt+GLqtCvjsO868BhXkViXFKSsUtTjBGaZkyQhTFANgZHDjO1IDOThhwMEqfOwyQW5GOijpOJOV4m4rgZnDgMag4ztq8cZsTJYoZOHjNwMpm+k8uAxECLAYkBiTlzGJAYaDEgMRcOAy0GWgy0GCySwSKZjsNgkcyVw2Bl/oVpOUzHYbAyK1OOIX3FN6kTvjK/Zkh/Ta1WQKrb0mohpbp0KUbqWiZ1ZZW6zpNmFFLzG6XZFmnSFihMoDBBiQkUJlCYQGH6SsmcYaiUy2A4idAYUiotiyglkkROrhlH5s58OQn0BDJjOm9A5nm5YDSSjN2IM3cXMsY8nMKH4by/eQKeZjYy9Uc9IAAAAABJRU5ErkJggg==\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAACBCAMAAABKHTy6AAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAADxQTFRFAAAAW1tbTExMQkJCPz8/QEBAPj4+PDw8UVFRNzc3Ojo6U1NTOTk5VVVVYGBgX19fODg4V1dXXFxcUlJSzmZLkwAAABR0Uk5TAFn////////Y//+//6UYJv+MTMwHHT0BAAABVUlEQVR4nO3a2Q6CMBCF4aIiWnd9/3fVmLgESjsz/TVz0d7zBRKWzjmEULG6xXLV9+th2JgO38bx0gq7iWBg0oaOmTUUTM4QMwVExhQRCSNAysxepJQYGVJgpEiW6eRKhlEgGUalzDI6ZY5RKmnmoFWSzKBWkoxeSTEGJcFYlCljUiaMTRkzRiUyyk8YsxIZ5Zs5MkyFEhkFZ6qUN3NimDoFZioVlqlVUKZaccjUK/6YM8MAijvmwjCE0pg/MFeGIZ6oB4MojWmMjYHuYs3sn2F8vSgak2Ggr6avrQDFQLstX1tIivG12acYX2OZs5HV2ThPZRRQYuIsBqKyLSppg3I/KoV0Fq1SeTGVXlNZOpXsUz0D1XpQHQzUCBmua4aB2jKqu6OaRKrXVJ1QloE630A10NITKjNQOy+CZAz050JRUjA5SceEcGOY55rOPCbmtT7/39wBPmAZcFgUdycAAAAASUVORK5CYII=\"","import React,{ createRef } from 'react';\nimport './styles/Earned.css'\nimport QRCode from 'qrcode.react'\nimport { Spring } from 'react-spring/renderprops'\n\nimport circleLeft from '../images/circle_left.png'\nimport circleRight from '../images/circle_right.png'\n\nimport * as htmlToImage from \"html-to-image\";\n\nconst SCREEN_MAX_WIDTH = 650\n\nconst ONE_HUNDRED_PERCENT = \"100%\"\nconst SEVENTY_FIVE_PERCENT = \"75%\"\nconst SIXTY_FIVE_PERCENT = \"65%\"\nconst FIFTY_PERCENT = \"50%\"\nconst TWENTY_FIVE_PERCENT = \"25%\"\nconst FIFTEEN_PERCENT = \"15%\"\n\nconst ROW_NAME = \"row\"\nconst COLUMN_NAME = \"column\"\n\nconst BADGE_TEXT_REDEEMED = \"REDIMIDO\"\nconst BADGE_TEXT_AVAILABLE = \"DISPONIBLE\"\nconst FLUX_BALANCE_TEXT = \"Valor del cupón\"\n\nconst createFileName = (extension = \"\", ...names) => {\n if (!extension) {\n return \"\";\n }\n\n return `${names.join(\"\")}.${extension}`;\n};\n\nclass Earned extends React.PureComponent {\n\n \n constructor(props) {\n super(props)\n\n this.state = {\n mShowEarnedReward: false,\n mShowDataEnrichment : false,\n mShowClaimedReward: false,\n disableGenerateRewardButton: true,\n }\n\n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n\n }\n\n ref = createRef(null);\n\n takeScreenShot = async (node) => {\n const dataURI = await htmlToImage.toJpeg(node);\n return dataURI;\n };\n\n download = (image, { name = \"img\", extension = \"jpg\" } = {}) => {\n const a = document.createElement(\"a\");\n a.href = image;\n a.download = createFileName(extension, name);\n a.click();\n };\n\n downloadScreenshot = () => this.takeScreenShot(this.ref.current).then(this.download);\n\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state })\n }\n }\n\n emailIsValid(email) {\n return /\\S+@\\S+\\.\\S+/.test(email)\n }\n\n onTextChange = (e) => {\n let email = { value: e.target.value }\n this.props.emailCallback(email.value)\n if (this.emailIsValid(email.value)) {\n this.setState({\n disableGenerateRewardButton: false,\n })\n } else {\n this.setState({\n disableGenerateRewardButton: true,\n })\n }\n }\n\n onNavigateReward = (e) => {\n if (this.props.campaignInfo.linkConfiguration !== null && \n this.props.campaignInfo.linkConfiguration !== undefined && \n this.props.campaignInfo.linkConfiguration.link !== \"\") {\n window.open(this.props.campaignInfo.linkConfiguration.link, \"_blank\")\n\n //Mixpanel.track(ConfigValues.MIXPANEL_TAG_FIELD, {\"rewardNavigation\": this.props.campaignInfo.linkConfiguration.link});\n\n try {\n try { window.AndroidInterface.onMessage(\"Go to Site Clicked\")} catch(error) { }\n try { window.webkit.messageHandlers.AppleInterface.postMessage(\"Go to Site Clicked\")} catch(error) { }\n try { window.parent.postMessage(\"Go to Site Clicked\", \"*\")} catch(error) { }\n } catch (error) { }\n }\n }\n\n onCreateReward = () => {\n this.props.createRewardCallback(this.props.campaignInfo.id)\n }\n\n setPropsState = () => {\n if (this.props.showEarnedReward) {\n this.setState({ \n mShowEarnedReward: true,\n mShowDataEnrichment : false,\n mShowClaimedReward: false,\n })\n }\n else if (this.props.showDataEnrichment) {\n this.setState({ \n mShowEarnedReward: false,\n mShowDataEnrichment : true,\n mShowClaimedReward: false,\n })\n }\n else if (this.props.showClaimedReward) {\n this.setState({\n mShowEarnedReward: false,\n mShowDataEnrichment : false,\n mShowClaimedReward: true,\n })\n }\n }\n\n componentDidMount() {\n this.setPropsState()\n this.ismounted = true\n }\n\n componentWillUnmount(){\n this.ismounted = false\n }\n\n componentDidUpdate() {\n this.setPropsState()\n }\n \n render() {\n \n let logoImage;\n if(this.props.campaignInfo !== undefined && this.props.campaignInfo.logoImage !== undefined){\n logoImage = this.props.campaignInfo.logoImage\n }\n \n let isVertical;\n let earned;\n let earnedHeaderStyle;\n let earnedHeaderImageStyle;\n let earnedSectionInfoStyle;\n let earnedInformationStyle = {};\n let detailBodyStyle = {};\n let buttonClaimText = this.props.buttonClaim;\n let termsText = this.props.terms;\n let helpText = this.props.help;\n let linkConfigurationText;\n let partnerTextSize = 0;\n let titleFontSize = 0;\n let textMargin = 0;\n let codeFontSize = 0;\n let codeMarginSize = 0;\n let logoSize = 0;\n let isCouponContainerRow = true\n let fluxValueFontSize = 0;\n let fluxAmountFontSize = 0;\n\n\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n isVertical = false;\n earned = {\n\n maxHeight : \"480px\",\n minHeight : \"400px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"650px\", \n maxWidth : \"680px\",\n width : window.innerWidth * 0.9,\n\n flexFlow: ROW_NAME\n }\n\n earnedHeaderImageStyle = { width: ONE_HUNDRED_PERCENT }\n earnedSectionInfoStyle = { height: ONE_HUNDRED_PERCENT, minHeight: earned.minHeight, width: FIFTY_PERCENT }\n\n if(this.state.mShowEarnedReward) {\n earnedHeaderStyle = { height: ONE_HUNDRED_PERCENT, maxHeight: earned.maxHeight, width: FIFTY_PERCENT }\n } else if (this.state.mShowDataEnrichment || this.state.mShowClaimedReward) {\n earnedHeaderStyle = { height: ONE_HUNDRED_PERCENT, maxHeight: earned.maxHeight, width: FIFTY_PERCENT }\n } \n\n //Query Medias\n //Title font Size\n titleFontSize = window.innerWidth * 22 / 680;\n if(titleFontSize >= 22)\n titleFontSize = 22;\n\n //Partner Text Size\n partnerTextSize = 14;\n\n //Code font Size\n codeFontSize = window.innerWidth * 32 / 680;\n if(codeFontSize >= 32)\n codeFontSize = 32;\n\n //Code Margin Size\n codeMarginSize = window.innerHeight * 15 / 480;\n if(codeMarginSize >= 18)\n codeMarginSize = 18;\n else if (codeMarginSize <= 14)\n codeMarginSize = 14;\n\n //Flux\n fluxValueFontSize = window.innerWidth * 15 / 480;\n if(fluxValueFontSize >= 19)\n fluxValueFontSize = 19;\n else if (fluxValueFontSize <= 10)\n fluxValueFontSize = 10;\n\n fluxAmountFontSize = window.innerWidth * 40 / 480;\n if(fluxAmountFontSize >= 45)\n fluxAmountFontSize = 45;\n else if (fluxAmountFontSize <= 25)\n fluxAmountFontSize = 25;\n\n //Size of the Logo\n logoSize = 90;\n //End Query Medias\n \n } else {\n isVertical = true;\n earned = {\n\n maxHeight : \"600px\",\n minHeight : \"550px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"200px\", \n maxWidth : \"450px\",\n width : window.innerWidth * 0.9,\n \n flexFlow: COLUMN_NAME\n }\n\n earnedHeaderImageStyle = { width: ONE_HUNDRED_PERCENT }\n earnedSectionInfoStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n\n if(this.state.mShowEarnedReward){\n earnedSectionInfoStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n earnedHeaderStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n } else if (this.state.mShowDataEnrichment){\n earnedSectionInfoStyle = { height: SIXTY_FIVE_PERCENT, width: ONE_HUNDRED_PERCENT }\n } else if (this.state.mShowClaimedReward){\n earnedSectionInfoStyle = { height: SEVENTY_FIVE_PERCENT, width: ONE_HUNDRED_PERCENT }\n }\n\n if(this.state.mShowEarnedReward){\n earnedInformationStyle = { minHeight: FIFTY_PERCENT }\n } else if (this.state.mShowDataEnrichment || this.state.mShowClaimedReward) {\n earnedHeaderStyle = { height: TWENTY_FIVE_PERCENT, minHeight : TWENTY_FIVE_PERCENT, maxHeight: TWENTY_FIVE_PERCENT, width: ONE_HUNDRED_PERCENT }\n }\n\n //Query Medias\n //Title font Size\n titleFontSize = window.innerWidth * 22 / 450;\n if(titleFontSize >= 22)\n titleFontSize = 22;\n else if (titleFontSize <= 12)\n titleFontSize = 12;\n\n //Partner Text Size\n partnerTextSize = window.innerWidth * 16 / 450;\n if(partnerTextSize >= 16)\n partnerTextSize = 16;\n else if (partnerTextSize <= 10)\n partnerTextSize = 10;\n\n //Code font Size\n codeFontSize = window.innerWidth * 32 / 450;\n if(codeFontSize >= 32)\n codeFontSize = 32;\n else if (codeFontSize <= 14)\n codeFontSize = 14;\n\n //Code Margin Size\n codeMarginSize = window.innerHeight * 15 / 600;\n if(codeMarginSize >= 18)\n codeMarginSize = 18;\n else if (codeMarginSize <= 14)\n codeMarginSize = 14;\n\n //Some texts margin\n textMargin = Math.pow(window.innerHeight * 2 / 600, 3);\n if(textMargin >= 16)\n textMargin = 16;\n else if (textMargin <= 4)\n textMargin = 4;\n\n //Size of the Logo\n logoSize = window.innerHeight * 90 / 600;\n if(logoSize >= 90)\n logoSize = 90;\n else if (logoSize <= 75)\n logoSize = 75;\n\n //Flux\n fluxValueFontSize = window.innerWidth * 15 / 600;\n if(fluxValueFontSize >= 19)\n fluxValueFontSize = 19;\n else if (fluxValueFontSize <= 10)\n fluxValueFontSize = 10;\n\n fluxAmountFontSize = window.innerWidth * 40 / 600;\n if(fluxAmountFontSize >= 45)\n fluxAmountFontSize = 45;\n else if (fluxAmountFontSize <= 25)\n fluxAmountFontSize = 25;\n\n\n //End Query Medias\n }\n\n let itemAlign = (align) => {\n if (isVertical) {\n switch (align) {\n case \"right\":\n return { right: TWENTY_FIVE_PERCENT }\n case \"left\":\n return { right: SEVENTY_FIVE_PERCENT }\n case \"center\":\n return { right: FIFTY_PERCENT }\n default:\n return { right: TWENTY_FIVE_PERCENT }\n }\n } else {\n switch (align) {\n case \"right\":\n return { right: FIFTY_PERCENT, top : FIFTEEN_PERCENT }\n case \"left\":\n return { right: FIFTY_PERCENT, top : SEVENTY_FIVE_PERCENT }\n case \"center\":\n return { right: FIFTY_PERCENT, top : FIFTY_PERCENT }\n default:\n return { right: FIFTY_PERCENT, top : FIFTEEN_PERCENT }\n }\n }\n }\n\n // Dynamic Styles\n if (this.props.configuration !== undefined && this.props.configuration.a_cr !== undefined){\n earnedSectionInfoStyle.background = this.props.configuration.a_cr;\n earnedInformationStyle.background = this.props.configuration.a_cr;\n }\n\n let advertiserLogoAlign = {};\n if (this.props.configuration !== undefined && this.props.configuration.a_al_lgn !== undefined) {\n advertiserLogoAlign = itemAlign(this.props.configuration.a_al_lgn)\n }\n advertiserLogoAlign.width = `${logoSize}px`\n advertiserLogoAlign.height = `${logoSize}px`\n\n let advertiserLogoAlignEmpty = {};\n let advertiserLogoAlignState;\n if (this.props.configuration !== undefined) {\n advertiserLogoAlignState = advertiserLogoAlign\n } else {\n advertiserLogoAlignState = advertiserLogoAlignEmpty\n }\n\n let partnerTitleAlign = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_lgn !== undefined)\n partnerTitleAlign.textAlign = this.props.configuration.a_pt_lgn\n partnerTitleAlign.fontSize = `${partnerTextSize}px`\n partnerTitleAlign.marginBottom = `${textMargin}px`\n let partnerTitleStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_clr !== undefined)\n partnerTitleStyle.color = this.props.configuration.a_pt_clr\n if(this.props.configuration !== undefined && this.props.configuration.a_pt_wght !== undefined)\n partnerTitleStyle.fontWeight = this.props.configuration.a_pt_wght\n\n let partnerRewardStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pr_clr !== undefined)\n partnerRewardStyle.color = this.props.configuration.a_pr_clr\n if (this.props.configuration !== undefined && this.props.configuration.a_pr_lgn !== undefined)\n partnerRewardStyle.textAlign = this.props.configuration.a_pr_lgn\n if(this.props.configuration !== undefined && this.props.configuration.a_pr_wght !== undefined)\n partnerRewardStyle.fontWeight = this.props.configuration.a_pr_wght\n partnerRewardStyle.fontSize = `${titleFontSize}px`\n partnerRewardStyle.marginBottom = `${textMargin}px`\n\n\n let partnerCauseStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_wght !== undefined)\n partnerCauseStyle.fontWeight = this.props.configuration.a_pt_wght\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_clr !== undefined)\n partnerCauseStyle.color = this.props.configuration.a_pt_clr\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_lgn !== undefined)\n partnerCauseStyle.textAlign = this.props.configuration.a_pt_lgn\n\n let partnerValidStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_rv_lgn !== undefined)\n partnerValidStyle.textAlign = this.props.configuration.a_rv_lgn\n if (this.props.configuration !== undefined && this.props.configuration.a_rv_clr !== undefined)\n partnerValidStyle.color = this.props.configuration.a_rv_clr\n if (this.props.configuration !== undefined && this.props.configuration.a_rv_wght !== undefined)\n partnerValidStyle.fontWeight = this.props.configuration.a_rv_wght\n\n let actionInstructionStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.actionInstruction_align !== undefined)\n actionInstructionStyle = { textAlign: this.props.configuration.actionInstruction_align }\n if (this.props.configuration !== undefined && this.props.configuration.actionInstruction_color !== undefined)\n actionInstructionStyle.color = this.props.configuration.actionInstruction_color\n\n let actionButtonStyle = {}\n let saveButtonStyle = {}\n\n let actionButtonStyleDisable = {}\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_rds !== undefined) {\n actionButtonStyle.borderRadius = this.props.configuration.z_ab_rds\n actionButtonStyleDisable.borderRadius = this.props.configuration.z_ab_rds \n saveButtonStyle.borderRadius = this.props.configuration.z_ab_rds\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_clr !== undefined) {\n actionButtonStyle.background = this.props.configuration.z_ab_clr\n actionButtonStyleDisable.background = this.props.configuration.z_ab_clr\n saveButtonStyle.background = this.props.configuration.z_ab_clr\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_txtClr !== undefined) {\n actionButtonStyle.color = this.props.configuration.z_ab_txtClr\n actionButtonStyleDisable.color = this.props.configuration.z_ab_txtClr\n saveButtonStyle.color = this.props.configuration.z_ab_txtClr\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_txtWght !== undefined) {\n actionButtonStyle.fontWeight = this.props.configuration.z_ab_txtWght\n actionButtonStyleDisable.fontWeight = this.props.configuration.z_ab_txtWght\n saveButtonStyle.fontWeight = this.props.configuration.z_ab_txtWght\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_ppr !== undefined) {\n\n if(this.props.buttonClaim !== undefined && this.props.buttonClaim !== null)\n if(buttonClaimText !== null && buttonClaimText !== undefined)\n buttonClaimText = buttonClaimText.toUpperCase()\n\n if (this.props.campaignInfo.linkConfiguration !== null &&\n this.props.campaignInfo.linkConfiguration !== undefined && \n this.props.campaignInfo.linkConfiguration.text !== null &&\n this.props.campaignInfo.linkConfiguration.text !== undefined)\n linkConfigurationText = this.props.campaignInfo.linkConfiguration.text.toUpperCase()\n }\n\n let inputFormStyle = {}\n let inputFormStyleCorrect = {}\n if (this.props.configuration !== undefined && this.props.configuration.actionButton_radius !== undefined) {\n inputFormStyle = { borderRadius: this.props.configuration.actionButton_radius }\n inputFormStyleCorrect = { borderRadius: this.props.configuration.actionButton_radius }\n }\n if (this.props.configuration !== undefined && this.props.configuration.inputForm_border !== undefined) {\n inputFormStyle.borderWidth = this.props.configuration.inputForm_border\n inputFormStyleCorrect.borderWidth = this.props.configuration.inputForm_border\n }\n if (this.props.configuration !== undefined && this.props.configuration.inputForm_color !== undefined)\n inputFormStyle.borderColor = this.props.configuration.inputForm_color\n\n let rewardTextStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.c_ac_lgn !== undefined)\n rewardTextStyle.textAlign = this.props.configuration.c_ac_lgn \n if (this.props.configuration !== undefined && this.props.configuration.c_ac_clr !== undefined)\n rewardTextStyle.color = this.props.configuration.c_ac_clr\n if(this.props.configuration !== undefined && this.props.configuration.c_ac_wght !== undefined)\n rewardTextStyle.fontWeight = this.props.configuration.c_ac_wght\n rewardTextStyle.fontSize = `${codeFontSize}px`\n rewardTextStyle.marginTop = `${codeMarginSize}px`\n rewardTextStyle.marginBottom = `${codeMarginSize}px`\n\n let linksStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_le_clr !== undefined){\n linksStyle.color = this.props.configuration.a_le_clr\n }\n if (this.props.configuration !== undefined && this.props.configuration.a_le_wght !== undefined){\n linksStyle.fontWeight= this.props.configuration.a_le_wght\n }\n if (this.props.configuration !== undefined && this.props.configuration.a_le_ppr !== undefined){\n if(termsText !== null && termsText!== undefined){\n termsText = termsText.toUpperCase();\n }\n if(helpText!== null && helpText !== undefined){\n helpText = helpText.toUpperCase();\n }\n }\n let detailsTextStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.c_dt_clr !== undefined){\n detailBodyStyle.color = this.props.configuration.c_dt_clr\n detailsTextStyle.color = this.props.configuration.c_dt_clr\n detailBodyStyle.textAlign = \"center\";\n\n }\n if (this.props.configuration !== undefined && this.props.configuration.c_dt_wght !== undefined){\n detailsTextStyle.fontWeight= this.props.configuration.c_dt_wght\n }\n\n let fluxValueStyle = {}\n fluxValueStyle.fontSize = `${fluxValueFontSize}px`\n\n let fluxAmountStyle = {}\n fluxAmountStyle.fontSize = `${fluxAmountFontSize}px`\n\n //End Dynamic Styles\n\n //Top Layout, Banner and Top Buttons\n let logoContainerEarned =\n
\n let logoContainerEnrichment =\n
\n let logoContainerClaimed =\n
\n\n let logoContainerState;\n if(this.state.mShowEarnedReward)\n logoContainerState = logoContainerEarned\n if (this.state.mShowDataEnrichment)\n logoContainerState = logoContainerEnrichment\n else if (this.state.mShowClaimedReward)\n logoContainerState = logoContainerClaimed\n\n let earnedHeaderImage = \"Header\"\n\n let earnedHeaderEarnedContainer =\n
\n {earnedHeaderImage}\n
\n let earnedHeaderEnrichmentContainer =\n
\n {earnedHeaderImage} \n
\n let earnedHeaderClaimedContainer =\n
\n {earnedHeaderImage}\n
\n\n let earnedHeaderStateContainer;\n if (this.state.mShowEarnedReward === true)\n earnedHeaderStateContainer = earnedHeaderEarnedContainer\n else if (this.state.mShowDataEnrichment === true)\n earnedHeaderStateContainer = earnedHeaderEnrichmentContainer\n else if (this.state.mShowClaimedReward === true)\n earnedHeaderStateContainer = earnedHeaderClaimedContainer\n\n let closeImage = \"leaveImg\"\n let closeImageEmpty =
\n let closeImageState;\n if (this.props.partnerConfig !== undefined)\n if (this.props.partnerConfig.buttonClose !== null && this.props.partnerConfig.buttonClose && this.props.partnerConfig.buttonClose.web !== null && this.props.partnerConfig.buttonClose.web !== undefined){\n if (this.props.partnerConfig.buttonClose.web.enable === \"true\")\n closeImageState = closeImage;\n else if (this.props.partnerConfig.buttonClose.web.enable === \"false\")\n closeImageState = closeImageEmpty;\n else\n closeImageState = closeImageEmpty;\n } else{\n closeImageState = closeImageEmpty;\n }\n\n if(this.props.isDetail === true)\n closeImageState = closeImageEmpty;\n\n if(this.state.showEarnedReward === true)\n closeImageState = closeImageEmpty;\n\n let allowResend =\n
\n \"shareImg\"\n
{this.props.shareText}
\n
\n let allowResendEmpty =
\n let allowResendState;\n if (this.props.partnerConfig !== undefined)\n if (this.props.partnerConfig.allowResend !== undefined)\n if (this.props.partnerConfig.allowResend === \"true\")\n allowResendState = allowResend\n else if (this.props.partnerConfig.allowResend === \"false\")\n allowResendState = allowResendEmpty\n else\n allowResendState = allowResendEmpty\n else\n allowResendState = allowResendEmpty\n\n let leftOptionsState = \n
\n { allowResendState }\n
\n\n let topActionsState =\n
\n {leftOptionsState}\n {closeImageState}\n
\n //End top Layout, Banner and Top Buttons\n\n // Action Buttons States\n let buttonBuilderState;\n if (this.state.disableGenerateRewardButton) {\n buttonBuilderState = \"button__builder-disabled\"\n actionButtonStyleDisable.background = \"rgb(200, 200, 200)\"\n }\n else {\n buttonBuilderState = \"button__builder\"\n actionButtonStyleDisable.background = this.props.configuration.z_ab_clr\n }\n\n let earnedRewardButton = \n let dataEnrichmentButton = \n let claimedRewardButtonEmpty =
\n let claimedRewardButtonState;\n if (this.props.campaignInfo.linkConfiguration !== null && \n this.props.campaignInfo.linkConfiguration !== undefined && \n ( this.props.campaignInfo.linkConfiguration.link !== null && this.props.campaignInfo.linkConfiguration.link !== \"\") ) {\n claimedRewardButtonState =
\n\n } else {\n claimedRewardButtonState = claimedRewardButtonEmpty\n }\n\n let stateButton;\n if (this.state.mShowEarnedReward === true)\n stateButton = earnedRewardButton\n else if (this.state.mShowDataEnrichment === true)\n stateButton = dataEnrichmentButton\n else if(this.state.mShowClaimedReward)\n stateButton = claimedRewardButtonState\n //End Action Buttons States\n\n //Data Enrichment Input\n let emailInstructions =
{this.props.emailInstructions}
\n let emailInstructionsState;\n if (this.state.mShowDataEnrichment)\n emailInstructionsState = emailInstructions\n else\n emailInstructionsState = <> \n\n let inputEmailNormal = \n let inputEmailCorrect = \n let correctEmailImg = \"doneMailImage\"\n let correctEmailEmpty = <>\n let correctEmailState;\n let inputEmailState;\n if (this.state.mShowEarnedReward === true)\n inputEmailState = <>\n else if (this.state.mShowDataEnrichment === true)\n if (this.state.disableGenerateRewardButton) {\n correctEmailState = correctEmailEmpty\n inputEmailState = inputEmailNormal\n }\n else {\n correctEmailState = correctEmailImg\n inputEmailState = inputEmailCorrect\n }\n else\n inputEmailState = <>\n //End Data Enrichment Input\n\n //Title, Description, Reason, Validity\n let titleDescReasonValidity =\n <>\n
\n {this.props.campaignInfo.partnerTitle} \n
{this.props.rewardGuider}
\n
\n
{this.props.campaignInfo.description}
\n
{this.props.campaignInfo.reason}
\n
{this.props.campaignInfo.vigenciaTxt}
\n \n //End Title, Description, Reason, Validity\n \n /*var instructionsTrimmed = this.props.campaignInfo.instructions;\n if (this.props.campaignInfo.instructions.length > 100)\n {\n \n var pos = 101;\n var charstr = \"\";\n while(charstr != \" \" && pos < this.props.campaignInfo.instructions.length){\n pos ++;\n charstr = this.props.campaignInfo.instructions[pos];\n }\n console.log(\"pos:\" + pos);\n instructionsTrimmed = this.props.campaignInfo.instructions.substring(0, pos);\n }*/\n\n //Instructions\n let instructionsEmpty = <>\n let instructionsClaimed =\n
\n DA CLIC PARA VER LAS INSTRUCCIONES DE CANJE\n
\n\n let instructionsState;\n if (this.state.mShowClaimedReward === true)\n instructionsState = instructionsClaimed\n else\n instructionsState = instructionsEmpty\n //End Instructions\n\n let formatter = new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: 'USD',\n });\n\n //Codes Section\n let codeNumberState;\n let codeQRFluxStyle;\n let codeQRTextStyle;\n if (this.state.mShowClaimedReward && this.props.campaignInfo !== undefined) {\n if (this.props.campaignInfo.codeType !== undefined && this.props.campaignInfo.codeBonnus !== undefined) {\n switch (this.props.campaignInfo.codeType) {\n case 'qr':\n codeQRFluxStyle = \n codeNumberState = <>\n {codeQRFluxStyle}\n
\n
{FLUX_BALANCE_TEXT}
\n
{`${formatter.format(this.props.campaignInfo.amount/100)}`}
\n
\n \n break;\n case 'qrtext':\n codeQRTextStyle = \n codeNumberState = codeQRTextStyle\n break;\n case 'bar':\n let codeImageBarStyle = \"...\"\n codeNumberState = codeImageBarStyle\n break;\n case 'empty':\n let codeImageEmptyStyle = <>\n codeNumberState = codeImageEmptyStyle\n break;\n case 'flux':\n let codeQRFluxStyle = \n codeNumberState = <>\n {codeQRFluxStyle}\n
\n
{FLUX_BALANCE_TEXT}
\n
{`${formatter.format(this.props.campaignInfo.amount/100)}`}
\n
\n \n break;\n case 'gestoPago':\n isCouponContainerRow = false\n let codeNumberGiftCards = this.props.campaignInfo.codeBonnus;\n let folioGiftCards = this.props.campaignInfo.data;\n let codeNumberStyleGiftCards = \n <>\n
{codeNumberGiftCards}
\n
{folioGiftCards}
\n \n codeNumberState = codeNumberStyleGiftCards\n break;\n case 'text':\n default:\n let codeNumber = this.props.campaignInfo.codeBonnus;\n \n let STRING_LENGTH_LIMIT = 18;\n if(codeNumber.length > STRING_LENGTH_LIMIT){\n rewardTextStyle.fontSize = `${parseInt(parseFloat(rewardTextStyle.fontSize, 10) * 0.6)}px`;\n }\n let codeNumberStyle =
{codeNumber}
\n codeNumberState = codeNumberStyle\n break;\n }\n }\n }\n //End Codes Section\n\n //Coupon Container\n let couponContainer;\n let rowContainer = \n \n {props => (<>\n
\n {codeNumberState}\n
\n )}\n
\n \n\n let columnContainer = \n \n {props => (<>\n
\n {codeNumberState}\n
\n )}\n
\n\n if(isCouponContainerRow === true)\n couponContainer = rowContainer\n else\n couponContainer = columnContainer\n //End Coupon Container\n\n //Reward code and Lines\n let couponNumber = <>\n if (this.state.mShowClaimedReward) {\n couponNumber = \n <>\n {/*Top Line*/}\n \n {props => (<>\n
\n \"\"\n
\n \"\"\n
\n )}\n
\n\n {/*Reward Code*/}\n { couponContainer }\n\n {/*Bottom Line*/}\n \n {props => (<>\n
\n \"\"\n
\n \"\"\n
\n )}\n
\n \n }\n\n //Hide Lines if coupon is Empty\n if (this.state.mShowClaimedReward && this.props.campaignInfo !== undefined) {\n if (this.props.campaignInfo.codeType !== undefined && this.props.campaignInfo.codeBonnus !== undefined) {\n if(this.props.campaignInfo.codeType === 'empty'){\n couponNumber =
;\n }\n }\n }\n \n \n //mShowClaimedReward state\n let couponNumberEmpty = <>\n let couponNumberState;\n if (this.state.mShowClaimedReward)\n couponNumberState = couponNumber\n else\n couponNumberState = couponNumberEmpty\n\n let textContainer =\n <>\n
\n {/* Relative */}\n {titleDescReasonValidity}\n {couponNumberState}\n
{instructionsState}
\n \n
\n\n {/* Absolute */}\n {emailInstructionsState}\n {inputEmailState}\n {correctEmailState}\n {stateButton}\n
{termsText}
\n
{helpText}
\n \n\n let earnedTextContainer =\n
\n {textContainer}\n
\n //-- END Reward Container\n\n let containerRadius = {};\n if (this.props.configuration !== undefined && this.props.configuration.z_cr !== undefined)\n containerRadius = { borderRadius: this.props.configuration.z_cr };\n let containerRadiusEmpty = {};\n let containerRadiusState;\n if (this.props.configuration !== undefined) {\n containerRadiusState = containerRadius\n } else {\n containerRadiusState = containerRadiusEmpty\n }\n\n let earnedStyle = earned\n earnedStyle.borderRadius = containerRadiusState.borderRadius\n\n //Badge\n let badgeEarned = <>\n if(this.props.useBadge){\n if(this.state.mShowEarnedReward || this.state.mShowDataEnrichment)\n badgeEarned =
{BADGE_TEXT_AVAILABLE}
\n else if(this.state.mShowClaimedReward) \n badgeEarned =
{BADGE_TEXT_REDEEMED}
\n }\n \n\n return (\n
\n {earnedHeaderStateContainer}\n {earnedTextContainer}\n {logoContainerState}\n {topActionsState}\n {badgeEarned}\n
\n );\n }\n}\n\nexport default Earned;","import React from 'react';\nimport './styles/Leaving.css'\nimport { Spring } from 'react-spring/renderprops'\n\nconst SCREEN_MAX_WIDTH = 650\nclass Leaving extends React.PureComponent {\n\n constructor(props) {\n super(props)\n \n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state })\n }\n }\n\n componentDidMount() {\n this.ismounted = true\n }\n\n render(){\n\n let leavingStyle;\n let leaveTitleStyle = {}\n let leaveTextStyle = {}\n let actionButtonStyle = {}\n let leaveButtonStyle = {}\n let buttonStay = this.props.buttonStay;\n let buttonLeave = this.props.buttonLeave;\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n leavingStyle = {\n maxHeight : \"480px\",\n minHeight : \"300px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"650px\", \n maxWidth : \"680px\",\n width : window.innerWidth * 0.9,\n }\n } else {\n leavingStyle = {\n maxHeight : \"600px\",\n minHeight : \"470px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"200px\", \n maxWidth : \"450px\",\n width : window.innerWidth * 0.9,\n }\n }\n\n if(this.props.configuration !== undefined && this.props.configuration.z_cr !== undefined)\n leavingStyle.borderRadius = this.props.configuration.z_cr\n if(this.props.configuration !== undefined && this.props.configuration.d_lc_clr !== undefined)\n leavingStyle.background = this.props.configuration.d_lc_clr\n\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_rds !== undefined)\n actionButtonStyle.borderRadius = this.props.configuration.z_ab_rds \n if (this.props.configuration !== undefined && this.props.configuration.z_ab_txtClr !== undefined)\n actionButtonStyle.color = this.props.configuration.z_ab_txtClr\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_brdrCrl !== undefined)\n actionButtonStyle.borderColor = this.props.configuration.z_ab_brdrCrl\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_clr !== undefined)\n actionButtonStyle.background = this.props.configuration.z_ab_clr\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_ppr !== undefined)\n if(this.props.configuration.z_sb_ppr === \"true\"){\n buttonStay = buttonStay.toUpperCase();\n }\n\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_rds !== undefined)\n leaveButtonStyle.borderRadius = this.props.configuration.z_sb_rds \n if (this.props.configuration !== undefined && this.props.configuration.z_sb_txtClr !== undefined)\n leaveButtonStyle.color = this.props.configuration.z_sb_txtClr\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_brdrCrl !== undefined)\n leaveButtonStyle.borderColor = this.props.configuration.z_sb_brdrCrl\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_clr !== undefined)\n leaveButtonStyle.background = this.props.configuration.z_sb_clr\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_ppr !== undefined)\n if(this.props.configuration.z_ab_ppr === \"true\"){\n buttonLeave = buttonLeave.toUpperCase();\n }\n\n if (this.props.configuration !== undefined && this.props.configuration.z_tn_clr !== undefined)\n leaveTitleStyle.color = this.props.configuration.z_tn_clr\n if (this.props.configuration !== undefined && this.props.configuration.d_ltx_wght !== undefined)\n leaveTitleStyle.fontWeight = this.props.configuration.z_tn_wght\n if (this.props.configuration !== undefined && this.props.configuration.z_tn_lgn !== undefined)\n leaveTitleStyle.textAlign = this.props.configuration.z_tn_lgn\n\n if (this.props.configuration !== undefined && this.props.configuration.g_tq_clr !== undefined)\n leaveTextStyle.color = this.props.configuration.g_tq_clr\n if (this.props.configuration !== undefined && this.props.configuration.g_tq_wght !== undefined)\n leaveTextStyle.fontWeight = this.props.configuration.g_tq_wght\n if (this.props.configuration !== undefined && this.props.configuration.g_tq_lgn !== undefined)\n leaveTextStyle.textAlign = this.props.configuration.g_tq_lgn\n\n if (this.props.configuration !== undefined && this.props.configuration.actionButton_radius !== undefined)\n leaveButtonStyle.borderRadius = this.props.configuration.actionButton_radius\n\n return (\n \n {props => (
\n\n
\n \n \n
\n \"imageSad\"\n
{this.props.title}
\n
{this.props.text}
\n
\n
\n\n
)}\n
\n );\n }\n}\n\nexport default Leaving;","import React from 'react';\nimport './styles/Share.css'\nimport { Spring } from 'react-spring/renderprops'\n\nconst SCREEN_MAX_WIDTH = 650\n\nconst HEIGHT_VERTICAL = \"480px\"\nconst WIDTH_VERTICAL = \"680px\"\nconst MIN_WIDTH_VERTICAL = \"640px\"\n\nconst HEIGHT_HORIZONTAL = \"680px\"\nconst WIDTH_HORIZONTAL = \"380px\"\nconst MIN_WIDTH_HORIZONTAL = \"300px\"\n\nclass Share extends React.PureComponent {\n\n state = {\n disableShareButton : true,\n ownName: false,\n otherName : false,\n otherEmail : false,\n nameText : \"\",\n otherNameText : \"\",\n otherEmailText : \"\"\n }\n\n constructor(props) {\n super(props)\n \n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state })\n }\n }\n\n componentDidMount() {\n this.ismounted = true\n }\n\n componentWillUnmount(){\n this.ismounted = false\n }\n\n emailIsValid (email) {\n return /\\S+@\\S+\\.\\S+/.test(email)\n }\n\n onOwnInfoName = (e) =>{\n let name = {value : e.target.value}\n if(name.value.length > 0){\n this.setState({\n disableShareButton : true,\n ownName: true,\n otherName : this.state.otherName,\n otherEmail : this.state.otherEmail,\n nameText : name.value,\n otherNameText : this.state.otherNameText,\n otherEmailText : this.state.otherEmailText\n })\n if(this.state.otherName === true && this.state.otherEmail === true ){\n this.setState({\n disableShareButton : false,\n ownName: true,\n otherName : true,\n otherEmail : true,\n nameText : name.value,\n otherNameText : this.state.otherNameText,\n otherEmailText : this.state.otherEmailText\n\n })\n }\n } else {\n this.setState({\n disableShareButton : true,\n ownName: false,\n otherName : this.state.otherName,\n otherEmail : this.state.otherEmail,\n nameText : \"\",\n otherNameText : this.state.otherNameText,\n otherEmailText : this.state.otherEmailText\n })\n }\n }\n\n onOtherInfoName = (e) =>{\n let otherNameText = {value : e.target.value}\n if(otherNameText.value.length > 0){\n this.setState({\n disableShareButton : true,\n ownName: this.state.ownName,\n otherName : true,\n otherEmail : this.state.otherEmail,\n nameText : this.state.nameText,\n otherNameText : otherNameText.value,\n otherEmailText : this.state.otherEmailText\n })\n\n if(this.state.ownName === true && this.state.otherEmail === true ){\n this.setState({\n disableShareButton : false,\n ownName: true,\n otherName : true,\n otherEmail : true,\n nameText : this.state.nameText,\n otherNameText : otherNameText.value,\n otherEmailText : this.state.otherEmailText\n })\n }\n } else {\n this.setState({\n disableShareButton : true,\n ownName: this.state.ownName,\n otherName : false,\n otherEmail : this.state.otherEmail,\n nameText : this.state.nameText,\n otherNameText : \"\",\n otherEmailText : this.state.otherEmailText\n })\n }\n }\n\n onOtherInfoMail = (e) =>{\n let otherEmail = {value : e.target.value}\n if(this.emailIsValid(otherEmail.value)){\n this.setState({\n disableShareButton : true,\n ownName: this.state.ownName,\n otherName : this.state.otherName,\n otherEmail : true,\n nameText : this.state.nameText,\n otherNameText : this.state.otherNameText,\n otherEmailText : otherEmail.value\n })\n\n if(this.state.ownName === true && this.state.otherName === true){\n this.setState({\n disableShareButton : false,\n ownName: true,\n otherName : true,\n otherEmail : true,\n nameText : this.state.nameText,\n otherNameText : this.state.otherNameText,\n otherEmailText : otherEmail.value\n })\n }\n } else {\n this.setState({\n disableShareButton : true,\n ownName: this.state.ownName,\n otherName : this.state.otherName,\n otherEmail : false,\n nameText : this.state.nameText,\n otherNameText : this.state.otherNameText,\n otherEmailText : \"\"\n })\n }\n }\n\n onShareReward = (e) => {\n this.props.shareRewardCallback(\n this.state.nameText,\n this.state.otherNameText,\n this.state.otherEmailText)\n }\n\n render(){\n\n let doneStyle;\n let shareInformationContainer;\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n doneStyle = {\n minHeight: HEIGHT_VERTICAL,\n maxHeight: HEIGHT_VERTICAL,\n minWidth: MIN_WIDTH_VERTICAL,\n maxWidth: WIDTH_VERTICAL\n }\n shareInformationContainer = { marginTop : \"30%\" }\n } else {\n doneStyle = {\n height: HEIGHT_HORIZONTAL,\n minWidth: MIN_WIDTH_HORIZONTAL,\n maxWidth: WIDTH_HORIZONTAL\n }\n shareInformationContainer = { top : \"50%\" }\n }\n\n let selfNameInput = \n let selfNameInputCorrect = \n let correctNameImg = \"doneNameImage\"\n let correctNameImgEmpty =
\n let correctNameImgState;\n let selfNameInputState;\n if(this.state.ownName){\n selfNameInputState = selfNameInputCorrect\n correctNameImgState = correctNameImg\n }\n else {\n selfNameInputState = selfNameInput\n correctNameImgState = correctNameImgEmpty\n }\n\n let otherNameInput = \n let otherNameInputCorrect = \n let correctOtherNameImg = \"doneOtherNameImage\"\n let correctOtherNameImgEmpty =
\n let correctOtherNameImgState;\n let otherNameInputState;\n if(this.state.otherName){\n otherNameInputState = otherNameInputCorrect\n correctOtherNameImgState = correctOtherNameImg\n }\n else {\n otherNameInputState = otherNameInput\n correctOtherNameImgState = correctOtherNameImgEmpty\n }\n\n let otherEmailInput = \n let otherEmailInputCorrect = \n let correctOtherEmailImg = \"doneOtherEmailImage\"\n let correctOtherEmailImgEmpty =
\n let correctOtherEmailImgState;\n let otherEmailInputState;\n if(this.state.otherEmail){\n otherEmailInputState = otherEmailInputCorrect\n correctOtherEmailImgState = correctOtherEmailImg\n }\n else {\n otherEmailInputState = otherEmailInput\n correctOtherEmailImgState = correctOtherEmailImgEmpty\n }\n\n return (\n\n \n {props => (
\n\n
\n
\n \"imageGift\"\n
{this.props.title}
\n
{this.props.text}
\n
\n
\n
{this.props.ownInfo}
\n {selfNameInputState}\n {correctNameImgState}\n
{this.props.otherInfo}
\n {otherNameInputState}\n {correctOtherNameImgState}\n {otherEmailInputState}\n {correctOtherEmailImgState}\n
\n \n \n
\n\n
)}\n
\n );\n }\n}\n\nexport default Share;","import React from 'react';\nimport './styles/ShareDone.css'\nimport { Spring } from 'react-spring/renderprops'\n\nconst SCREEN_MAX_WIDTH = 650\n\nconst HEIGHT_VERTICAL = \"480px\"\nconst WIDTH_VERTICAL = \"680px\"\nconst MIN_WIDTH_VERTICAL = \"640px\"\n\nconst HEIGHT_HORIZONTAL = \"680px\"\nconst WIDTH_HORIZONTAL = \"380px\"\nconst MIN_WIDTH_HORIZONTAL = \"300px\"\n\nclass ShareDone extends React.PureComponent {\n\n constructor(props) {\n super(props)\n \n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state })\n }\n }\n\n componentDidMount() {\n this.ismounted = true\n }\n\n componentWillUnmount(){\n this.ismounted = false\n }\n\n onContinue = (e) =>{\n try{\n if(this.props.isMobile){\n \n try { window.AndroidInterface.onMessage(\"On Continue Shared\") } catch(ex){}\n try { window.webkit.messageHandlers.AppleInterface.postMessage(\"On Continue Shared\")} catch(error) { }\n try { window.parent.postMessage(\"On Continue Shared\", \"*\")} catch(error) { }\n } else {\n if(this.props.configuration.buttonClose !== undefined && \n this.props.configuration.buttonClose.web !== undefined && \n this.props.configuration.buttonClose.web.action !== undefined)\n window.run(this.props.configuration.buttonClose.web.action)\n }\n\n } catch(error) { }\n }\n\n render(){\n\n let shareDoneStyle;\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n shareDoneStyle = {\n minHeight: HEIGHT_VERTICAL,\n maxHeight: HEIGHT_VERTICAL,\n minWidth: MIN_WIDTH_VERTICAL,\n maxWidth: WIDTH_VERTICAL\n }\n } else {\n shareDoneStyle = {\n height: HEIGHT_HORIZONTAL,\n minWidth: MIN_WIDTH_HORIZONTAL,\n maxWidth: WIDTH_HORIZONTAL\n }\n }\n\n return (\n\n \n {props => (
\n \n
\n {/*\"shareDoneBackground\"*/}\n\n
\n \"imageHappy\"\n
{this.props.title}
\n
{this.props.text}
\n
\n\n
\n
{this.props.shareOtherName}
\n
{this.props.shareOtherEmail}
\n
\n\n \n
\n\n
)}\n
\n )\n }\n}\n\nexport default ShareDone;","import React from 'react';\nimport './styles/RewardInformation.css'\nimport { Spring } from 'react-spring/renderprops'\n\nconst SCREEN_MAX_WIDTH = 650\n\nclass RewardInformation extends React.PureComponent {\n\n state = {\n bodyTextSize : 0\n }\n\n constructor(props) {\n super(props)\n \n this.infoContainerRef = React.createRef()\n this.titleContainerRef = React.createRef()\n\n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n\n let bodyTxtSize = 0;\n if(this.infoContainerRef != null && \n this.infoContainerRef.current !== null && \n this.titleContainerRef != null && \n this.titleContainerRef.current){\n bodyTxtSize = this.infoContainerRef.current.getBoundingClientRect().height - \n this.titleContainerRef.current.getBoundingClientRect().height - 40 - 80;\n }\n \n this.setState({ state: this.state, bodyTextSize : bodyTxtSize })\n }\n }\n\n componentDidMount() {\n this.ismounted = true\n this.updateDimensions()\n }\n\n componentWillUnmount(){\n this.ismounted = false\n }\n\n createMarkup = (string) => {\n return {__html: string}\n }\n\n render(){\n let informationStyle;\n let informationContainerStyle;\n let informationTextStyle = {};\n let buttonText = this.props.buttonText;\n\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n informationStyle = {\n maxHeight : \"480px\",\n minHeight : \"300px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"650px\", \n maxWidth : \"680px\",\n width : window.innerWidth * 0.9,\n }\n informationContainerStyle = { height : this.state.bodyTextSize }\n } else {\n informationStyle = {\n maxHeight : \"600px\",\n minHeight : \"470px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"200px\", \n maxWidth : \"450px\",\n width : window.innerWidth * 0.9,\n }\n informationContainerStyle = { height : this.state.bodyTextSize }\n }\n\n if(this.props.configuration !== undefined && this.props.configuration.z_cr !== undefined)\n informationStyle.borderRadius = this.props.configuration.z_cr\n if(this.props.configuration !== undefined && this.props.configuration.d_lc_clr !== undefined)\n informationStyle.background = this.props.configuration.d_lc_clr\n\n let titleTextStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.d_lt_clr !== undefined)\n titleTextStyle.color = this.props.configuration.d_lt_clr\n if (this.props.configuration !== undefined && this.props.configuration.d_lt_wght !== undefined)\n titleTextStyle.fontWeight = this.props.configuration.d_lt_wght\n if (this.props.configuration !== undefined && this.props.configuration.d_lt_lgn !== undefined)\n titleTextStyle.textAlign = this.props.configuration.d_lt_lgn\n\n if (this.props.configuration !== undefined && this.props.configuration.d_ltx_clr !== undefined)\n informationTextStyle.color = this.props.configuration.d_ltx_clr\n if (this.props.configuration !== undefined && this.props.configuration.d_ltx_wght !== undefined)\n informationTextStyle.fontWeight = this.props.configuration.d_ltx_wght\n if (this.props.configuration !== undefined && this.props.configuration.d_ltx_lgn !== undefined)\n informationTextStyle.textAlign = this.props.configuration.d_ltx_lgn\n\n let actionButtonStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_rds !== undefined)\n actionButtonStyle.borderRadius = this.props.configuration.z_sb_rds \n if (this.props.configuration !== undefined && this.props.configuration.z_sb_txtClr !== undefined)\n actionButtonStyle.color = this.props.configuration.z_sb_txtClr\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_brdrCrl !== undefined)\n actionButtonStyle.borderColor = this.props.configuration.z_sb_brdrCrl\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_clr !== undefined)\n actionButtonStyle.background = this.props.configuration.z_sb_clr\n if (this.props.configuration !== undefined && this.props.configuration.z_sb_ppr !== undefined)\n if(this.props.configuration.z_sb_ppr === \"true\"){\n buttonText = buttonText.toUpperCase();\n }\n\n return (\n \n {props => (
\n\n
\n
\n
{this.props.title}
\n
\n
\n
\n \n
\n \n \n
\n\n
)}\n \n );\n }\n}\n\nexport default RewardInformation;","import React from 'react';\nimport './styles/AuthGiveaways.css'\nimport { Spring } from 'react-spring/renderprops'\nimport 'react-phone-number-input/style.css'\nimport PhoneInput, { isValidPhoneNumber } from 'react-phone-number-input'\nimport { isStyledComponent } from 'styled-components';\n\nconst SCREEN_MAX_WIDTH = 650\n\nconst ONE_HUNDRED_PERCENT = \"100%\"\nconst SEVENTY_FIVE_PERCENT = \"75%\"\nconst SIXTY_FIVE_PERCENT = \"65%\"\nconst FIFTY_PERCENT = \"50%\"\nconst TWENTY_FIVE_PERCENT = \"25%\"\nconst FIFTEEN_PERCENT = \"15%\"\n\nconst ROW_NAME = \"row\"\nconst COLUMN_NAME = \"column\"\n\nclass AuthGiveaways extends React.PureComponent {\n\n constructor(props) {\n super(props)\n\n this.state = {\n mShowEnterFields: false,\n disableGenerateRewardButton: true,\n fieldLayoutButtonDisable : (this.props.fieldListValue.length === 0 ? true : false),\n fieldInputValueList : this.props.fieldListValue,\n dataEnrichValueList : this.props.dataEnrichListValue,\n alertState : false,\n termsAndPolicy : true,\n fieldInputValueCount : this.props.giveaway.fields.length,\n emailError : \"\",\n phoneError : \"\"\n }\n this.fieldInputValueList = this.props.fieldListValue\n this.dataEnrichValueList = this.props.dataEnrichListValue\n this.termsAndPolicyChecked = true;\n this.fieldValue = this.props.fieldValue\n\n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state })\n }\n }\n\n componentDidMount() {\n this.ismounted = true\n\n if(this.fieldValue !== undefined){\n this.fieldInputValueList[0] = this.fieldValue;\n this.setState({ fieldInputValueList : this.fieldInputValueList})\n this.props.changedValue(this.fieldInputValueList)\n this.reviewButtonStateChange()\n }\n }\n\n componentWillUnmount(){\n this.ismounted = false\n }\n\n componentDidUpdate() {\n this.setState({ alertState: this.props.alertState });\n }\n\n isValidEmail = (email) => {\n const regex = /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i;\n if(!email || regex.test(email) === false){\n this.setState({emailError: \"Correo electrónico invalido\"});\n return false;\n }else{\n this.setState({emailError: \"\"});\n }\n\n return true; \n }\n\n isValidPhone = (phone) => {\n if(!isValidPhoneNumber(phone)){\n this.setState({ phoneError: \"El número de teléfono no es valido\" });\n return false;\n }else{\n this.setState({ phoneError: \"\" });\n }\n return true;\n }\n\n onDataEnrichOptionalTextChange = (e) => {\n let nameIndex = this.dataEnrichValueList.findIndex(x => x.name === e.target.name);\n if(nameIndex === -1){\n this.dataEnrichValueList.push({ name: e.target.name, value: e.target.value, required: false });\n }else{\n this.dataEnrichValueList[nameIndex] = {name: e.target.name, value: e.target.value, required: false};\n }\n\n this.setState({ dataEnrichValueList : this.dataEnrichValueList});\n this.props.changeDataEnrich(this.dataEnrichValueList);\n }\n\n onDataEnrichTextChange = (e) => { \n let addValue = true;\n if(e.target.type === \"email\"){\n addValue = this.isValidEmail(e.target.value);\n }else if(e.target.type === \"phone\"){\n addValue = this.isValidPhone(e.target.value);\n }else{\n addValue = e.target.value ?? \"\";\n }\n \n let nameIndex = this.dataEnrichValueList.findIndex(x => x.name === e.target.name);\n if(addValue){\n if(nameIndex === -1){\n this.dataEnrichValueList.push({ name: e.target.name, value: e.target.value, required: true });\n }else{\n this.dataEnrichValueList[nameIndex] = {name: e.target.name, value: e.target.value, required: true};\n }\n }else{\n if(nameIndex > -1){\n this.dataEnrichValueList.splice(nameIndex, 1);\n }\n }\n\n this.setState({ dataEnrichValueList : this.dataEnrichValueList});\n this.props.changeDataEnrich(this.dataEnrichValueList);\n this.reviewButtonStateChange();\n }\n\n onFieldTextChange = (e) => { \n let fieldValue = { value: e.target.value }\n\n this.fieldInputValueList[e.target.name] = fieldValue.value\n this.setState({ fieldInputValueList : this.fieldInputValueList})\n \n this.props.changedValue(this.fieldInputValueList)\n\n this.reviewButtonStateChange()\n }\n\n onClickFieldsLayout = (e) => {\n this.props.onClickFieldsLayout(this.fieldInputValueList, this.dataEnrichValueList)\n }\n\n onClickOk = (e) => {\n this.props.alertChangeState(false)\n this.setState({ alertState: false });\n }\n\n onAcceptTermsAndPolicy = (e) => {\n let changeValue = { value : e.target.checked }\n this.termsAndPolicyChecked = changeValue.value\n this.reviewButtonStateChange()\n\n this.setState({ termsAndPolicy : this.termsAndPolicyChecked})\n }\n\n reviewButtonStateChange = () => {\n var isOneEmpty = false\n this.fieldInputValueList.forEach(element => {\n if(element.length === 0)\n isOneEmpty = true\n })\n\n let fieldsRequireds = this.props.giveaway.fields.length + this.props.giveaway.dataEnrich.filter(x => x.required === true).length;\n let valuesFill = this.fieldInputValueList.length + this.dataEnrichValueList.filter(x => x.required === true).length;\n\n if(!isOneEmpty > 0 && this.termsAndPolicyChecked && fieldsRequireds === valuesFill){\n this.setState({ fieldLayoutButtonDisable: false });\n }else{\n this.setState({ fieldLayoutButtonDisable: true });\n }\n\n // console.log(this.dataEnrichValueList);\n }\n\n\n\n extraInfoClick = (e, index) => {\n this.props.extraInfoCallback(index)\n }\n\n render(){\n\n let logoImage = undefined;\n if(this.props.giveaway !== undefined && this.props.giveaway.logoImage){\n logoImage = this.props.giveaway.logoImage;\n }\n \n let isVertical;\n let earned;\n let earnedHeaderStyle;\n let earnedSectionInfoStyle;\n\n let titleFontSize = 0;\n let subtitleFontSize = 0;\n\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n \n isVertical = false;\n earned = {\n maxHeight : \"480px\",\n minHeight : \"300px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"650px\", \n maxWidth : \"680px\",\n width : window.innerWidth * 0.9,\n \n flexFlow: ROW_NAME\n }\n\n earnedSectionInfoStyle = { height: ONE_HUNDRED_PERCENT, minHeight: earned.minHeight, width: FIFTY_PERCENT }\n earnedHeaderStyle = { height: ONE_HUNDRED_PERCENT, maxHeight: earned.maxHeight, width: FIFTY_PERCENT }\n\n //Query Medias\n //Title font Size\n titleFontSize = window.innerWidth * 22 / 680;\n if(titleFontSize >= 22)\n titleFontSize = 22;\n\n //Title font Size\n subtitleFontSize = window.innerWidth * 14 / 680;\n if(subtitleFontSize >= 14)\n subtitleFontSize = 14;\n //End Query Medias\n } else {\n isVertical = true;\n earned = {\n maxHeight : \"600px\",\n minHeight : \"470px\",\n height : window.innerHeight * 0.8,\n \n minWidth : \"200px\", \n maxWidth : \"450px\",\n width : window.innerWidth * 0.9,\n \n flexFlow: COLUMN_NAME,\n }\n\n earnedSectionInfoStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n earnedSectionInfoStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n earnedHeaderStyle = { height: FIFTY_PERCENT, width: ONE_HUNDRED_PERCENT }\n\n //Query Medias\n //Title font Size\n titleFontSize = window.innerWidth * 22 / 450;\n if(titleFontSize >= 22)\n titleFontSize = 22;\n \n //Title font Size\n subtitleFontSize = window.innerWidth * 16 / 450;\n if(subtitleFontSize >= 16)\n subtitleFontSize = 16;\n //End Query Medias\n }\n\n let itemAlign = (align) => {\n if (isVertical) {\n switch (align) {\n case \"right\":\n return { right: TWENTY_FIVE_PERCENT }\n case \"left\":\n return { right: SEVENTY_FIVE_PERCENT }\n case \"center\":\n return { right: FIFTY_PERCENT }\n default:\n return { right: TWENTY_FIVE_PERCENT }\n }\n } else {\n switch (align) {\n case \"right\":\n return { right: FIFTY_PERCENT, top : FIFTEEN_PERCENT }\n case \"left\":\n return { right: FIFTY_PERCENT, top : SEVENTY_FIVE_PERCENT }\n case \"center\":\n return { right: FIFTY_PERCENT, top : FIFTY_PERCENT }\n default:\n return { right: FIFTY_PERCENT, top : FIFTY_PERCENT }\n }\n }\n }\n\n // -- Dynamic Styles Start\n let advertiserLogoAlign = {};\n if (this.props.configuration !== undefined && this.props.configuration.a_al_lgn !== undefined)\n advertiserLogoAlign = itemAlign(this.props.configuration.a_al_lgn)\n\n let partnerTitleStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pt_clr !== undefined)\n partnerTitleStyle.color = this.props.configuration.a_pt_clr\n if(this.props.configuration !== undefined && this.props.configuration.a_pt_wght !== undefined)\n partnerTitleStyle.fontWeight = this.props.configuration.a_pt_wght\n partnerTitleStyle.fontSize = `${subtitleFontSize}px`;\n\n let partnerRewardStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.a_pr_clr !== undefined)\n partnerRewardStyle.color = this.props.configuration.a_pr_clr\n if (this.props.configuration !== undefined && this.props.configuration.a_pr_lgn !== undefined)\n partnerRewardStyle.textAlign = this.props.configuration.a_pr_lgn\n if(this.props.configuration !== undefined && this.props.configuration.a_pr_wght !== undefined)\n partnerTitleStyle.fontWeight = this.props.configuration.a_pr_wght\n partnerRewardStyle.fontSize = `${titleFontSize}px`;\n\n\n let actionButtonStyle = {}\n let actionButtonStyleDisable = {}\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_rds !== undefined) {\n actionButtonStyle.borderRadius = this.props.configuration.z_ab_rds\n actionButtonStyleDisable.borderRadius = this.props.configuration.z_ab_rds \n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_clr !== undefined) {\n actionButtonStyle.background = this.props.configuration.z_ab_clr\n actionButtonStyleDisable.background = this.props.configuration.z_ab_clr\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_txtClr !== undefined) {\n actionButtonStyle.color = this.props.configuration.z_ab_txtClr\n actionButtonStyleDisable.color = this.props.configuration.z_ab_txtClr\n }\n if (this.props.configuration !== undefined && this.props.configuration.z_ab_txtWght !== undefined) {\n actionButtonStyle.fontWeight = this.props.configuration.z_ab_txtWght\n actionButtonStyleDisable.fontWeight = this.props.configuration.z_ab_txtWght\n }\n\n let detailsTextStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.c_dt_clr !== undefined){\n detailsTextStyle.color = this.props.configuration.c_dt_clr\n }\n if (this.props.configuration !== undefined && this.props.configuration.c_dt_wght !== undefined){\n detailsTextStyle.fontWeight= this.props.configuration.c_dt_wght\n }\n \n let inputFormStyle = {}\n let inputFormStyleCorrect = {}\n if (this.props.configuration !== undefined && this.props.configuration.actionButton_radius !== undefined) {\n inputFormStyle = { borderRadius: this.props.configuration.actionButton_radius }\n inputFormStyleCorrect = { borderRadius: this.props.configuration.actionButton_radius }\n }\n if (this.props.configuration !== undefined && this.props.configuration.inputForm_border !== undefined) {\n inputFormStyle.borderWidth = this.props.configuration.inputForm_border\n inputFormStyleCorrect.borderWidth = this.props.configuration.inputForm_border\n }\n let advertiserLogoAlignEmpty = {};\n let advertiserLogoAlignState;\n if (this.props.configuration !== undefined) {\n advertiserLogoAlignState = advertiserLogoAlign\n } else {\n advertiserLogoAlignState = advertiserLogoAlignEmpty\n }\n\n let headerContainerColor = {};\n if (this.props.configuration !== undefined && this.props.configuration.a_cr !== undefined)\n headerContainerColor = { background: this.props.configuration.a_cr };\n\n let instructionsTextStyle = {}\n if (this.props.configuration !== undefined && this.props.configuration.z_ai_lgn !== undefined)\n instructionsTextStyle.textAlign = this.props.configuration.z_ai_lgn\n if (this.props.configuration !== undefined && this.props.configuration.z_ai_clr !== undefined)\n instructionsTextStyle.color = this.props.configuration.z_ai_clr\n if (this.props.configuration !== undefined && this.props.configuration.z_ai_wght !== undefined)\n instructionsTextStyle.fontWeight = this.props.configuration.z_ai_wght\n\n // -- Dynamic Styles End\n\n let earnedHeaderInputFieldContainer =\n
\n \n
\n
{this.props.giveaway.content.thanks_title}
\n
{this.props.giveaway.content.main_title}
\n
{this.props.giveaway.content.sub_title}
\n
\n \n let earnedHeaderStateContainer = earnedHeaderInputFieldContainer;\n \n //-- Input Field view\n let actionButtonInputFieldsStyle = {...actionButtonStyle}\n actionButtonInputFieldsStyle.background = this.state.fieldLayoutButtonDisable ? \"#969696\" : actionButtonStyle.background\n let inputFieldsContainer = \n <>\n
{this.props.giveaway.content.instructions}
\n { this.props.giveaway.fields.map((item, index) => {\n if(this.fieldValue == undefined)\n {\n return \n \n
this.extraInfoClick(e, index)) }>{item.help_title}
\n
\n }else{\n return \n \n
this.extraInfoClick(e, index)) }>{item.help_title}
\n
\n }\n }) \n }\n\n {\n //Agregamos los datos adicionales, configurados en el dataEnrich\n this.props.giveaway.dataEnrich.map((item, index) => {\n if(item.type === \"phone\"){\n return <>\n this.onDataEnrichTextChange({ target:{ type: item.type, value: value ? value : \"\", name: item.name } }) : (value) => this.onDataEnrichOptionalTextChange({ target:{ type: item.type, value: value ? value : \"\", name: item.name } }) } />\n { this.state.phoneError }\n \n }else {\n return \n \n { item.type === \"email\" ? this.state.emailError : \"\"}\n \n }\n })\n }\n\n
\n\n \n\n
\n \n
\n Acepto los \n Términos y condiciones \n del servicio de Bonnus y he leído las \n Políticas de privacidad.\n
\n
\n \n\n //-- End Input Fields\n\n let earnedTextContainer =\n
\n {inputFieldsContainer}\n
\n\n let containerRadius = {};\n if (this.props.configuration !== undefined && this.props.configuration.z_cr !== undefined)\n containerRadius = { borderRadius: this.props.configuration.z_cr };\n\n let containerRadiusEmpty = {};\n let containerRadiusState;\n if (this.props.configuration !== undefined) {\n containerRadiusState = containerRadius\n } else {\n containerRadiusState = containerRadiusEmpty\n }\n\n let earnedStyle = earned\n earnedStyle.borderRadius = containerRadiusState.borderRadius\n\n let alertState = {}\n let alertEmpty = <>\n let alertShow = \n
\n
\n
{this.props.alertMessage}
\n \n
\n
\n\n if(this.state.alertState === true)\n alertState = alertShow\n else\n alertState = alertEmpty\n\n return (\n\n \n {props => (
\n\n
\n {earnedHeaderStateContainer}\n {earnedTextContainer}\n {alertState}\n
\n\n
)}\n
\n );\n }\n\n}\n\nexport default AuthGiveaways;","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAC0klEQVRo3u2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aFE/4/Nf4j43AVt5AerRG51lybDlLZV9hhXtsoi3FC2yiKc0LfKORYM/vAP3jLJVU5xjIPk2UYv6+Ne5WxLB/oKE5whTw9ei3dEkwMSwyvCznCTATYaX2yNyDkWI3I/Mkofa1Z9WEOGNxG43xljO23WRghmJ2dO/hNcZZAuq3MPQ3IHn5qC57lIh+Vhjen9hMEm4CXG6LY+YTImr2tyu37PrlQ+X3B+WXKJzlQ+FOEx3RD8i7Mr2yciom3ctdm9zCf5cCxTU0vjgYkG5AX2WJuX2H9mppOfdeRFDlicShWtj7w42mCdT1sdpfmMUGWWYWtTOu7Xke9JuiNTNzuaMd/k4kbn675+fZL2GKpB35H0x5Oaja43/WSPryH0qIZ13lzz2d6kAb0vhJ4UDXEhhO7Xgb4dOiCt1YF+HEA/Ex3x2uLTTGLoDwH0IS3o4HvKFi3o4Ek6qwVd/nu2Ey1RUPczFMGnQJkyBXxxuVwul8vlcomIyG9Q0pvnp+lK0QAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/terms.a760e37d.txt\";","export default __webpack_public_path__ + \"static/media/policy.b3c7a348.txt\";","import React from \"react\";\nimport Earned from \"../components/Earned\";\nimport Leaving from \"../components/Leaving\";\nimport Share from \"../components/Share\";\nimport ShareDone from \"../components/ShareDone\";\nimport RewardInformation from \"../components/RewardInformation\";\nimport { Spring } from \"react-spring/renderprops\";\nimport AuthGiveaways from \"../components/AuthGiveaways\";\n\nimport \"slick-carousel/slick/slick.css\";\nimport \"slick-carousel/slick/slick-theme.css\";\n\nimport Slider from \"react-slick\";\n\nimport \"./styles/MainPage.css\";\n\nimport imageCorrect from \"../images/icon_done.png\";\nimport close from \"../images/icon_delete.png\";\nimport forward from \"../images/icon_forward.png\";\nimport Loader from \"react-loader-spinner\";\nimport sadImage from \"../images/icon_sad.png\";\nimport giftImage from \"../images/icon_gift.png\";\nimport winkImage from \"../images/icon_wink.png\";\n\nimport termsTxt from \"../info/terms.txt\";\nimport policyTxt from \"../info/policy.txt\";\n\nimport uuid from \"react-uuid\";\n\nimport { createGlobalStyle } from \"styled-components\";\n\n//import { Mixpanel } from '../Mixpanel.js'\nimport * as ConfigValues from \"../constants.js\";\n\nconst SCREEN_MAX_WIDTH = 650;\n\nconst GlobalFontOpenSans = createGlobalStyle` body { font-family: 'Open Sans', sans-serif; } `;\nconst GlobalFontRoboto = createGlobalStyle` body { font-family: 'Roboto', sans-serif; }`;\n\nconst API_BASE = \"https://bonnusapi.azure-api.net/api/\";\nconst API_LANDING = \"gvlanding/\";\nconst API_VALIDATE = \"gvvalidate/\";\nconst API_REDEEM = \"gvredeem/\";\nconst API_SHARE = \"share/\";\n\n// const API_BASE = \"https://bonnusapi30dev.azurewebsites.net/api/\"\n// const API_LANDING = \"giveaways/landing/\"\n// const API_VALIDATE = \"giveaways/validate/\"\n// const API_REDEEM = \"redeemGiveaways/\"\n// const API_SHARE = \"share/\"\n\nclass MainPage extends React.Component {\n state = {\n pageState: \"LOADING_START\",\n loadingCreate: false,\n\n errorMessage: \"Recompensa inválida.\",\n\n showAuthGiveaways: false,\n showEarnedReward: false,\n showDataEnrichment: false,\n showClaimedReward: false,\n\n stateCampaign: undefined,\n configuration: undefined,\n partnerConfig: undefined,\n arrayCampaigns: undefined,\n\n giveaway: undefined,\n userReference: undefined,\n userId: undefined,\n alertState: false,\n alertMessage: undefined,\n termsText: \"\",\n helpText: \"\",\n instructionsText: \"\",\n\n rewardGuiderSubtitle: \"te premia con:\",\n giveawayIsActive: false,\n };\n\n constructor(props) {\n super(props);\n\n //this.activityId = props.match.params.activityId\n //this.listState = this.props.location.state\n //this.bonnusId = props.match.params.bonnusId\n\n this.alias = props.match.params.alias;\n\n ////Put incoming code from the path in the input field, does not apply for multiple fields\n ////this.fieldValue = \"\"\n if (props.match.params.field !== undefined)\n this.fieldValue = props.match.params.field;\n\n this.fieldListValue = [];\n this.dataEnrichListValue = [];\n this.fontId = 1;\n this.currentSlide = 0;\n this.isRedeeming = false;\n\n this.detectBrowser();\n\n window.addEventListener(\"resize\", this.updateDimensions);\n this.updateDimensions();\n\n fetch(termsTxt)\n .then((r) => r.text())\n .then((text) => {\n this.setState({ termsText: text });\n });\n\n fetch(policyTxt)\n .then((r) => r.text())\n .then((text) => {\n this.setState({ helpText: text });\n });\n }\n\n updateDimensions = () => {\n if (this.ismounted) {\n this.setState({ state: this.state });\n }\n };\n\n componentDidMount() {\n this.ismounted = true;\n\n if (this.alias !== undefined) {\n this.fetchGiveawaysAuth();\n } else {\n this.setState({\n pageState: \"NOTHING\",\n });\n }\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (this.state.giveawayIsActive) {\n this.integrateChat();\n }\n }\n\n integrateChat = () => {\n const script = document.createElement(\"script\");\n script.src = \"//eu.fw-cdn.com/12817170/793962.js\";\n script.async = true;\n script.onload = () => {\n if (window.fcWidget) {\n window.fcWidget.init();\n\n // Configurar el usuario\n window.fcWidget.setExternalId(\"202000001781\");\n window.fcWidget.user.setFirstName(\"Hiram\");\n window.fcWidget.user.setEmail(\"hiram.hernandez@bonnus.me\");\n window.fcWidget.user.setProperties({\n cf_plan: \"Pro\", // propiedad meta 1\n cf_status: \"Active\", // propiedad meta 2\n });\n } else {\n console.error(\"fcWidget no está disponible\");\n }\n };\n\n document.body.appendChild(script);\n\n return () => {\n document.body.removeChild(script);\n };\n };\n\n componentWillUnmount() {\n this.ismounted = false;\n }\n\n fetchGiveawaysAuth = async () => {\n const settings = {\n method: \"GET\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n \"Ocp-Apim-Subscription-Key\": \"41049999bd394b9e89dc297a7b23559a\",\n },\n };\n\n try {\n const response = await fetch(\n `${API_BASE}${API_LANDING}${this.alias}`,\n settings\n );\n const responseData = await response.json();\n console.log(\n `fetchGiveawaysAuth ${this.API_LANDING} - ${this.alias} ---->`,\n responseData\n );\n const { layoutConfiguration, giveaway, message } = responseData;\n\n if (giveaway !== undefined || layoutConfiguration !== undefined) {\n //Mixpanel.track(ConfigValues.MIXPANEL_TAG_FIELD, { \"giveawayAlias\" : this.props.alias} );\n\n //Cambiamos el estado del giveaway\n this.setState({ giveawayIsActive: giveaway.isActive });\n\n if (giveaway.private) {\n this.setState({\n pageState: \"AUTH_GIVEAWAYS\",\n showAuthGiveaways: true,\n giveaway: giveaway,\n configuration: layoutConfiguration,\n });\n } else {\n const deviceId = localStorage.getItem(\"bonnusGiveawaysDeviceId\");\n if (deviceId == null || deviceId === \"\") {\n localStorage.setItem(\"bonnusGiveawaysDeviceId\", uuid());\n }\n\n this.setState({\n giveaway: giveaway,\n configuration: layoutConfiguration,\n });\n this.fetchGiveawaysBuilder(null);\n }\n } else {\n if (message !== undefined) {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n errorMessage: message,\n configuration: undefined,\n });\n } else {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n configuration: undefined,\n });\n }\n }\n } catch (error) {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n messageError: error,\n configuration: undefined,\n });\n }\n };\n\n onClickFieldsLayout = (values, dataEnrich) => {\n this.fetchGiveawaysBuilder(values, dataEnrich);\n };\n\n fetchGiveawaysBuilder = async (fieldValues, dataEnrichListValues = []) => {\n this.setState({\n loadingCreate: true,\n });\n\n let data = { giveawayId: this.state.giveaway.id };\n if (fieldValues != null && fieldValues.length !== 0) {\n data.dataEnrich = \"\";\n let fieldNumber = 1;\n fieldValues.forEach((element) => {\n data[`field${fieldNumber}`] = element;\n fieldNumber++;\n });\n } else {\n data.deviceId = localStorage.getItem(\"bonnusGiveawaysDeviceId\");\n }\n\n if (dataEnrichListValues !== null && dataEnrichListValues.length > 0) {\n let listToString = \"\";\n dataEnrichListValues.forEach((element) => {\n listToString += `\"${element.name}\": \"${element.value}\",`;\n });\n data.dataEnrich = `{${listToString.substring(\n 0,\n listToString.length - 1\n )}}`;\n }\n\n const settings = {\n method: \"POST\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n \"Ocp-Apim-Subscription-Key\": \"41049999bd394b9e89dc297a7b23559a\",\n },\n body: JSON.stringify(data),\n };\n\n try {\n const response = await fetch(`${API_BASE}${API_VALIDATE}`, settings);\n const responseData = await response.json();\n const {\n campaigns,\n layoutConfiguration,\n configuration,\n userReference,\n userid,\n deviceId,\n bonnusId,\n code,\n message,\n } = responseData;\n\n if (\n campaigns !== undefined ||\n layoutConfiguration !== undefined ||\n configuration !== undefined\n ) {\n if (campaigns.length === 1) {\n //Mixpanel.track(ConfigValues.MIXPANEL_TAG_FIELD, {\"earnedCampaignId\": campaigns[0].id});\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n\n showAuthGiveaways: false,\n showEarnedReward: !campaigns[0].wasRedeemed,\n showDataEnrichment: false,\n showClaimedReward: campaigns[0].wasRedeemed,\n\n stateCampaign: campaigns[0],\n configuration: layoutConfiguration,\n partnerConfig: configuration,\n arrayCampaigns: undefined,\n\n userReference: userReference,\n userId: userid,\n deviceId: deviceId,\n termsText: campaigns[0].terms,\n instructionsText: campaigns[0].instructions,\n helpText: configuration.support,\n });\n } else {\n //campaigns.map( (item) => (\n // Mixpanel.track(ConfigValues.MIXPANEL_TAG_FIELD, {\"earnedCampaignId\": item.id})\n //))\n this.setState({\n pageState: \"SUCCESS_LOADING_CAROUSEL\",\n loadingCreate: false,\n\n showAuthGiveaways: false,\n showEarnedReward: true,\n showDataEnrichment: false,\n showClaimedReward: false,\n\n stateCampaign: undefined,\n configuration: layoutConfiguration,\n partnerConfig: configuration,\n arrayCampaigns: campaigns,\n\n userReference: userReference,\n userId: userid,\n deviceId: deviceId,\n helpText: configuration.support,\n });\n }\n } else if (bonnusId !== undefined) {\n this.bonnusId = bonnusId;\n this.fetchRedeemReadOnly();\n } else if (\n code !== undefined &&\n code === 400 &&\n this.state.pageState !== \"LOADING_START\"\n ) {\n this.setState({\n loadingCreate: false,\n alertState: true,\n alertMessage: message,\n });\n } else if (\n code !== undefined &&\n code === 400 &&\n this.state.pageState === \"LOADING_START\"\n ) {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n errorMessage: message,\n });\n } else {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n });\n }\n } catch (error) {\n this.setState({\n pageState: \"ERROR_LOADING_START\",\n });\n }\n };\n\n fetchRedeemReadOnly = async () => {\n const data = {\n bonnusId: this.bonnusId,\n };\n const settings = {\n method: \"POST\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n \"Ocp-Apim-Subscription-Key\": \"41049999bd394b9e89dc297a7b23559a\",\n },\n body: JSON.stringify(data),\n };\n\n try {\n const response = await fetch(`${API_BASE}${API_REDEEM}`, settings);\n const { bonnus, layoutConfiguration, configuration } =\n await response.json();\n\n if (bonnus !== undefined) {\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n showEarnedReward: false,\n showDataEnrichment: false,\n showClaimedReward: true,\n stateCampaign: bonnus,\n configuration: layoutConfiguration,\n partnerConfig: configuration,\n });\n } else {\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n });\n }\n } catch (error) {\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n });\n }\n };\n\n onDataEnrichment = (e) => {\n try {\n window.AndroidInterface.onMessage(\"Claim Clicked\");\n } catch (error) {}\n try {\n window.webkit.messageHandlers.AppleInterface.postMessage(\"Claim Clicked\");\n } catch (error) {}\n\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: true,\n showDataEnrichment: false,\n showClaimedReward: false,\n configuration: this.state.configuration,\n });\n\n setTimeout(() => {\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n showDataEnrichment: true,\n showClaimedReward: false,\n configuration: this.state.configuration,\n });\n }, 1000);\n };\n\n onEmailChange = (text) => {\n this.emailData = text;\n };\n\n fetchRedeem = async (id) => {\n try {\n window.AndroidInterface.onMessage(\"Generate Clicked\");\n } catch (error) {}\n try {\n window.webkit.messageHandlers.AppleInterface.postMessage(\n \"Generate Clicked\"\n );\n } catch (error) {}\n try {\n window.parent.postMessage(\"Generate Clicked\", \"*\");\n } catch (error) {}\n\n this.setState({\n loadingCreate: true,\n });\n\n let data = {};\n if (this.state.giveaway.private) {\n data = {\n giveawayId: this.state.giveaway.id,\n campaignId: id,\n data: {\n id: this.state.userId,\n birthDate: \"\",\n zipCode: \"\",\n gender: \"\",\n geo: \"\",\n email: this.emailData,\n name: \"\",\n lastName: \"\",\n city: \"\",\n state: \"\",\n },\n };\n } else {\n data = {\n giveawayId: this.state.giveaway.id,\n campaignId: id,\n data: {\n deviceId: this.state.deviceId,\n birthDate: \"\",\n zipCode: \"\",\n gender: \"\",\n geo: \"\",\n email: this.emailData,\n name: \"\",\n lastName: \"\",\n city: \"\",\n state: \"\",\n },\n };\n }\n\n const settings = {\n method: \"POST\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n \"Ocp-Apim-Subscription-Key\": \"41049999bd394b9e89dc297a7b23559a\",\n },\n body: JSON.stringify(data),\n };\n try {\n const response = await fetch(`${API_BASE}${API_REDEEM}`, settings);\n const { bonnus } = await response.json();\n\n if (bonnus !== undefined) {\n //Mixpanel.track(ConfigValues.MIXPANEL_TAG_FIELD, {\"redeemCampaignId\": bonnus.id});\n this.isRedeeming = true;\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n loadingCreate: false,\n showEarnedReward: false,\n showDataEnrichment: false,\n showClaimedReward: true,\n stateCampaign: bonnus,\n });\n } else {\n await this.setState({\n pageState: \"ERROR_LOADING_START\",\n loadingCreate: false,\n });\n }\n } catch (error) {\n await this.setState({\n pageState: \"ERROR_LOADING_START\",\n loadingCreate: false,\n });\n }\n };\n\n onTermsConditionsGiveaways = (e) => {\n this.setState({\n pageState: \"TERMS_CONDITIONS_GIVEAWAYS\",\n });\n };\n\n onTermsConditions = (e) => {\n this.setState({\n pageState: \"TERMS_CONDITIONS\",\n });\n };\n\n onHelp = (e) => {\n this.setState({\n pageState: \"HELP\",\n });\n };\n\n onInstructions = (e) => {\n this.setState({\n pageState: \"INSTRUCTIONS\",\n });\n };\n\n onShare = (e) => {\n this.setState({\n pageState: \"SHARE\",\n });\n };\n\n onLeave = (e) => {\n if (this.isDetail !== undefined && this.isDetail === true) {\n this.props.history.goBack();\n } else if (this.state.showClaimedReward) {\n try {\n if (this.isMobile) {\n try {\n window.AndroidInterface.onMessage(\"LeaveOK\");\n } catch (error) {}\n try {\n window.webkit.messageHandlers.AppleInterface.postMessage(\"LeaveOK\");\n } catch (error) {}\n try {\n window.parent.postMessage(\"LeaveOK\", \"*\");\n } catch (error) {}\n } else {\n if (\n this.state.configuration.buttonClose !== undefined &&\n this.state.configuration.buttonClose.web !== undefined &&\n this.state.configuration.buttonClose.web.action !== undefined\n )\n window.run(this.state.configuration.buttonClose.web.action);\n }\n } catch (error) {}\n } else {\n this.setState({\n pageState: \"LEAVE\",\n });\n }\n };\n\n detectBrowser = () => {\n var ua = navigator.userAgent;\n try {\n if (/Android|iPhone|iPad|iPod/i.test(ua)) this.isMobile = true;\n else this.isMobile = false;\n } catch (error) {}\n return ua;\n };\n\n onShowReward = (e) => {\n setTimeout(() => {\n if (this.state.showAuthGiveaways) {\n this.setState({\n pageState: \"AUTH_GIVEAWAYS\",\n });\n } else if (\n this.state.showClaimedReward ||\n this.state.arrayCampaigns === undefined\n ) {\n this.setState({\n pageState: \"SUCCESS_LOAD_CARD\",\n });\n } else {\n this.setState({\n pageState: \"SUCCESS_LOADING_CAROUSEL\",\n });\n }\n }, 150);\n };\n\n onLeaveReward = (e) => {\n setTimeout(() => {\n try {\n if (this.isMobile) {\n try {\n window.AndroidInterface.onMessage(\"Leave Clicked\");\n } catch (error) {}\n try {\n window.webkit.messageHandlers.AppleInterface.postMessage(\n \"Leave Clicked\"\n );\n } catch (error) {}\n try {\n window.parent.postMessage(\"Leave Clicked\", \"*\");\n } catch (error) {}\n } else {\n if (\n this.state.configuration.buttonClose !== undefined &&\n this.state.configuration.buttonClose.web !== undefined &&\n this.state.configuration.buttonClose.web.action !== undefined\n )\n window.run(this.state.configuration.buttonClose.web.action);\n }\n } catch (error) {}\n }, 150);\n };\n\n onShareReward = async (name, otherName, otherEmail) => {\n try {\n try {\n window.AndroidInterface.onMessage(\"Share Clicked\");\n } catch (error) {}\n try {\n window.webkit.messageHandlers.AppleInterface.postMessage(\n \"Share Clicked\"\n );\n } catch (error) {}\n try {\n window.parent.postMessage(\"Share Clicked\", \"*\");\n } catch (error) {}\n } catch (error) {}\n\n this.setState({\n pageState: this.state.pageState,\n loadingCreate: true,\n showDataEnrichment: this.state.showDataEnrichment,\n showClaimedReward: this.state.showClaimedReward,\n configuration: this.state.configuration,\n });\n const data = {\n data: {\n email: otherEmail,\n name: otherName,\n },\n };\n const settings = {\n method: \"POST\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n \"Ocp-Apim-Subscription-Key\": \"41049999bd394b9e89dc297a7b23559a\",\n },\n body: JSON.stringify(data),\n };\n try {\n await fetch(`${API_BASE}${API_SHARE}${this.activityId}`, settings);\n await this.setState({\n pageState: \"SHARE_DONE\",\n loadingCreate: false,\n shareName: name,\n shareOtherName: otherName,\n shareOtherEmail: otherEmail,\n });\n } catch (error) {\n this.setState({\n pageState: \"SHARE\",\n loadingCreate: false,\n shareName: name,\n shareOtherName: otherName,\n shareOtherEmail: otherEmail,\n });\n }\n };\n\n renderSlides = () => {\n return this.state.arrayCampaigns.map((item, index) => (\n \n ));\n };\n\n onChangeSlider = (index) => {\n this.currentSlide = index;\n };\n\n alertChangeState = (value) => {\n this.setState({\n alertState: value,\n });\n };\n\n extraInformationAlert = (index) => {\n try {\n this.setState({\n alertState: true,\n alertMessage: this.state.giveaway.fields[index].help_text,\n });\n } catch (ex) {}\n };\n\n onChangeFieldValue = (value) => {\n this.fieldListValue = value;\n };\n\n onChangeDataEnrichListValue = (value) => {\n this.dataEnrichListValue = value;\n };\n\n render() {\n let loader = (\n \n
\n \n
\n );\n\n let loaderState;\n if (this.state.loadingCreate === true) loaderState = loader;\n else loaderState =
;\n\n let globalBackground = {};\n if (\n this.state.configuration !== undefined &&\n this.state.configuration.z_gb !== undefined\n )\n globalBackground = { background: this.state.configuration.z_gb };\n let globalBackgroundEmpty = {};\n let globalBackgroundState;\n if (this.state.configuration !== undefined) {\n globalBackgroundState = globalBackground;\n } else {\n globalBackgroundState = globalBackgroundEmpty;\n }\n\n let carouselInstructionsAndDotsStyle = {};\n if (\n this.state.configuration !== undefined &&\n this.state.configuration.z_ab_txtClr !== undefined\n ) {\n carouselInstructionsAndDotsStyle.color =\n this.state.configuration.z_ab_txtClr;\n }\n\n if (window.innerWidth > SCREEN_MAX_WIDTH) {\n globalBackgroundState.justifyContent = \"center\";\n } else {\n globalBackgroundState.justifyContent = \"center\";\n }\n\n let helpText;\n if (this.state.partnerConfig !== undefined)\n helpText = this.state.partnerConfig.support;\n else helpText = this.state.helpText;\n\n let globalFont;\n switch (this.fontId) {\n case 1:\n globalFont = ;\n break;\n case 2:\n globalFont = ;\n break;\n default:\n globalFont = ;\n break;\n }\n\n switch (this.state.pageState) {\n case \"LOADING_START\":\n return (\n
\n {loader}\n
\n );\n case \"ERROR_LOADING_START\":\n return (\n
\n
{this.state.errorMessage}
\n
\n );\n case \"AUTH_GIVEAWAYS\":\n return (\n
\n {globalFont}\n \n {loaderState}\n
\n );\n case \"SUCCESS_LOADING_CAROUSEL\":\n return (\n
\n {globalFont}\n \n {(props) => (\n
\n \n {this.renderSlides()}\n \n\n
\n \n {this.state.partnerConfig.carruselText}\n
\n
\n
\n )}\n \n {loaderState}\n
\n );\n case \"SUCCESS_LOAD_CARD\":\n let marginFromStart = 0;\n if (!this.state.showClaimedReward || this.isRedeeming) {\n marginFromStart = 0;\n this.isRedeeming = false;\n } else if (this.state.showClaimedReward) {\n marginFromStart = -500;\n }\n if (this.state.arrayCampaigns === undefined) marginFromStart = -500;\n\n return (\n
\n {globalFont}\n\n \n {(props) => (\n
\n \n
\n )}\n
\n\n {loaderState}\n
\n );\n case \"TERMS_CONDITIONS_GIVEAWAYS\":\n return (\n
\n {globalFont}\n \n
\n );\n case \"TERMS_CONDITIONS\":\n return (\n
\n {globalFont}\n {this.state.showClaimedReward ||\n this.state.arrayCampaigns === undefined ? (\n \n ) : (\n \n )}\n
\n );\n case \"HELP\":\n return (\n
\n {globalFont}\n \n
\n );\n case \"INSTRUCTIONS\":\n return (\n
\n {globalFont}\n \n
\n );\n case \"SHARE\":\n return (\n
\n {globalFont}\n \n {loaderState}\n
\n );\n case \"LEAVE\":\n return (\n
\n {globalFont}\n \n
\n );\n case \"SHARE_DONE\":\n return (\n
\n {globalFont}\n \n
\n );\n default:\n return
;\n }\n }\n}\n\nexport default MainPage;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAAAmJLR0QA/4ePzL8AAANwSURBVHja7ZjNS5RRFIdnYsAZKxNC+2CahiKqlYpTUER/gYvoSwqUWoR9US5KXFRUEC1048JFVoRBrvpc9V1Q/0AaBaVQIlqBVKaVH9XTwjuHUed978w7b0PCOdv7u79zn3nvvefcCQQ0ZmWwkBo66GKACYbp5jq1FPuepZhabtDDMBMM0EUHNSz0z34+ZxlhZozRxmLfsizmImNpsoxwhnl+JFjKS5xjmEO+YBxm2CXLS5bmmqCIHmxxiYKcchRw2Zqjh6LcQNrEqo9GKiklRCnlNNCZkuYOIc8ZQtxJcXpBA+WUEmIRCRrpk5ELuWDE+G1sblI4bWwOe/kiaa4Q9JQhSLt4fGYPc6aNF3LLjP4i5h3kpDF5Qzjt+Gq6ZRlHPGWol/ndrE6riPDWKE54B3loLPY7KqL0Gs0olVn7J+Seek/UUXXQaO57B/lgLFa5aNbwzag6szsphOgyM4fSfw357pPR7x1k1Fi43krslO1xLCv34zJvt6sunPzm3kF+GIuwRXdVqkrGB5KYFNl2izJidD+8g/QbC8vyKGHQKG9n7H3bzBikxKKMJwuAd5AnxmKLVbl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PBRxFLWsYt91FJPC378tFBPLfuoYh23U4RPEyZMiKv/AwcMlV2s33ChAAAAAElFTkSuQmCC\"","import React from \"react\";\nimport { BrowserRouter, Route, Switch} from 'react-router-dom'\nimport MainPage from './pages/MainPage';\n\nfunction App() {\n\n \n return (\n \n \n {/**/}\n {/**/}\n {/**/}\n {/**/} \n \n \n \n \n \n );\n}\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\n\nimport 'bootstrap/dist/css/bootstrap.css'\nimport './global.css'\n\nimport App from './App';\n\nReactDOM.render(, document.getElementById('app'));"],"sourceRoot":""}