"use strict"; /** * Global Engaged Nation namespace. All new object should use this namespace * to prevent collisions with clients. */ var EngagedNation = EngagedNation || {}; /* Give ability for clients to override configs */ if (!EngagedNation.hasOwnProperty("Config")) { EngagedNation.Config = {}; } EngagedNation.ConfigUtility = { /** * Adds a new configuration. * * @param string key The config key * @param mixed value The config value * @param bool override If the config should be overriden if it exists, * @param object config Optional. The current config object (used for callbacks). * * @return this */ add: function(key, value, override, config) { var override = typeof override === "undefined" ? false : override; var config = typeof config === "undefined" ? EngagedNation.Config : config; if (typeof value != "object") { if (config.hasOwnProperty(key) && override !== true) return this; config[key] = value; return this; } /* Merge object properties recursively */ for (var valueKey in value) { if (!value.hasOwnProperty(valueKey)) continue; if (!config.hasOwnProperty(key)) { config[key] = {}; } EngagedNation.ConfigUtility.add( valueKey, value[valueKey], override, config[key] ); }; return this; } }; EngagedNation.ConfigUtility .add("isFrontEnd", true) .add("isDev", false, true) .add("isDebug", false, true) .add("isLoggedIn", false, true) .add("isSimulator", false) .add("googleTagManagerId", "GTM-K2ZTR6C", true) .add("portalUrl", "https://portal.vippreferredonline.com/", true) .add("version", window.EngagedNationVersion, true) .add("userMode", "level") .add("s3Url", "https://vippreferredonline-uploads.s3-us-west-2.amazonaws.com") .add("userId", "") .add("userIdGTM", null) .add("clientAlias", "vippreferredonline") .add("clientHid", window.EngagedNationClientHid) .add("aliasPoints", "Preferred Points") .add("clientTimeZone", "America/Los_Angeles") .add("clientTimeZoneAbbr", "PDT") .add("groupId", "") .add("groupName", null) .add("loginMessageDelay", 0) .add("logoutMessageDelay", 0) .add("usersPhoneTypeSmsId", 1) .add("flexPrizeTypeReemableId", 2) .add("homeContentLoadContainerName", "lt_welcome") .add("meAreaXPBarDisableStarAnimation", null) .add("componentHeaderLayoutId", 125) .add("componentMeAreaLayoutId", 131) .add("componentFooterLayoutId", 129) .add("componentLogoutLayoutId", 137) .add("componentFlexPrizeRedeemableLayoutId", 160) .add("componentUserFlexPrizeLayoutId", 162) .add("componentUserFlexPrizeEmptyLayoutId", 163) .add("componentFlexPrizeRedeemableEmptyLayoutId", 164) .add("componentRegisterFormId", 139) .add("componentForgotPasswordFormId", 140) .add("componentResetPasswordFormId", 141) .add("componentSecurityQuestionFormId", 143) .add("componentCompleteProfileFormId", 144) .add("componentEditProfileFormId", 156) .add("componentHelpLoginFormId", 145) .add("componentHelpLogoutFormId", 146) .add("componentFrontendCssAndJavascriptId", 165) .add("componentWinnerCodeId", 150) .add("componentWinnerCodeCardDisplayId", 172) .add("componentInviteAFriendLayoutId", 167) .add("componentDrawingEntryDetailLayoutId", 174) .add("componentInvalidEmailUpdatedFormId", 181) .add("componentSelfieId", 175) .add("componentGameLauncherId", 193) .add("categoryDefaultId", 1) .add("categoryRedirectId", 33) .add( "userAgent", { "os": { "name": "", "version": "" }, "browser": { "name": "", "version": "" } } ) .add( "components", (function() { var idToName = {"1":"Three-Card Monte","2":"Crossword","3":"Facebook Share","4":"Fill In The Blank","5":"Memory Match","6":"Photo Recall","7":"Survey","8":"Trivia","9":"Word Search","10":"Youtube","11":"Youtube Modal","12":"Quiz","13":"Match 3","14":"Pick 4","15":"Scratch Card","16":"Tab Manager","17":"Page Load","18":"Login","19":"Spin 'N Win","20":"Brackets","21":"Bonus Codes","22":"First Login Video","23":"Daily Login","24":"Instant Reward","25":"Keys","26":"Invite A Friend","27":"U Pick 'Em","28":"Arcade Games","29":"Quick Pick (N)","30":"Promo Quick Pick","31":"Achievements","32":"Double or Nothing","33":"Mass Award","34":"Manual Points from Admin Page","35":"Voucher","36":"Embed Quick Pick","37":"Bonus Codes Bingo","38":"Football","39":"Level Completed","40":"Embed Quiz","41":"Embed Trivia","42":"Basketball","43":"Send kiosk drawing entries from brackets cron","44":"Drawing entries on register","45":"Drawing Entries Adjustment By Admin","46":"Embed Crossword","47":"Football Bracket","48":"Login Video","49":"Tab Widget Timer","50":"Content Load","52":"Question Challenge","51":"Plinkoh Prize V1","53":"Timer","56":"Brick Out Credits V1","58":"Classic Bowling Credits V1","66":"Memory Match Credits V1","67":"Plinkoh Credits","68":"Puzzle Deluxe Credits","70":"Spin N Win Prize V1","72":"Video Quiz Credits V1","73":"Tournament","74":"Tournament Card","75":"Tournament Match","76":"Tournament Match Week","77":"Simple Modal","78":"Layout Body","79":"Layout Body Item","80":"Crazy Car Credits","81":"Tournament Question","82":"Tournament Challenge","83":"Gridiron Grab V1","84":"Question Trivia","85":"Photo Recall","88":"Modal Advance","89":"Modal Reward","90":"Modal No Reward","91":"Dice Credits V1","92":"Simon Credits V1","93":"Tournament Playoffs","94":"Tournament Playoffs Match","95":"Tournament Playoffs Week","96":"Question Group","97":"Skeeball Credits V1","98":"Memory Match Prize V1","99":"Claw Machine Prize V1","100":"Instant Reward Layout","101":"Question Group Radio","102":"Touchdown Rush Credits V1","103":"RSVP","104":"RSVP Response","105":"Claw Machine Credits V1","106":"Hot Shots Credits V1","107":"Jigsaw Credits V1","108":"Scratch N Win Credits V1","109":"Press Your Prize Credits V1","110":"Prize Shuffle Credits V1","111":"Word Search Credits V1","112":"Experience Adjustment By Admin","113":"Whack Em All Credits V1","114":"Photo Recall Multiple Choice","115":"Spin N Win Credits V1","116":"Magic 8 Ball Credits V1","117":"Profile Form","118":"Click To Win","119":"Sitefeedback Form","120":"Practice Game","121":"Pick N Win Credits V1","122":"Darts Credits V1","123":"Wheel Of Fortune V1","124":"Consecutive Login","125":"(Layout) Header Layout","126":"Points Adjustment By Simulator","127":"Drawing Entries Adjustment By Simulator","128":"Experience Points Adjustment By Simulator","129":"(Layout) Footer Layout","130":"Pick A Prize Credits V1","131":"(Layout) Me Area Layout","132":"Envelope Credits V1","133":"Question - Prop Card Settings","134":"Question - Prop Card Radio Buttons","135":"Catcher Credits V1","136":"Hockey Shootout Credits V1","137":"(Layout) Logout Layout","138":"(Form) Login Form","139":"(Form) Register Form","140":"(Form) Forgot Password Form","141":"(Form) Reset Password Form","142":"Video Quickquiz Credits V1","143":"(Form) Security Question Form","144":"(Form) Complete Profile Form","145":"(Form) Help Login Form","146":"(Form) Help Logout Form","147":"Lucky Slot Machine Credits V1","148":"(Page) Register Page","149":"Target Golf Credits V1","150":"Winner Code","151":"Baseball Credits V1","152":"Memory Match Level Credits V1","153":"Football Kick Credits V1","154":"Football Kick Credits V1","155":"Media Manager","156":"(Form) Edit Profile Form","157":"(Layout) Download Users Flex Prize Layout","158":"Spin It Credits V1","159":"Beep Beep Boop Boop Credits V1","160":"(Layout) Flex Prize Redeemable Layout","161":"Scratch Or Pick Credits V1","162":"(Layout) User Flex Prize Layout","163":"(Layout) User Flex Prize Empty Layout","164":"(Layout) Flex Prize Redeemable Empty Layout","165":"Frontend Css And Javascript","166":"Invite A Friend Reward","167":"Invite A Friend Layout","168":"GIDX Form V1","169":"Bottle Toss Credits V1","170":"Carnival Toss Credits V1","171":"Dragon Bonus Credits V1","172":"Winner Code Card Display","173":"Winner Code Card","174":"(Layout) Drawing Entry Detail Layout","175":"Selfie","176":"Rings Challenge Credits V1","177":"Penalty Kicks Credits V1","178":"Zeta Api","179":"Joker Poker Credits V1","180":"Blackjack Credits V1","181":"(Form) Invalid Email Update Form","182":"Quiz Setting","183":"Quiz Question Multiple Choice Answer","184":"Quiz Question Text Answer","185":"Crazy Jump Credits V1","188":"Keno Credits V1","189":"Gold Miner Credits V1","190":"Blobber Credits V1","193":"Game Launcher","194":"Question - Prop Card Drop Down","195":"Catapult Credits V1","196":"Pinball Credits V1"}; Object.keys(idToName).forEach( function(key) { idToName[key] = {name: idToName[key]}; } ); return idToName; })() ) .add( "requireJS", { /** Cache bust */ "urlArgs": "v=" + EngagedNation.Config.version, /** It doesn't make sense requesting assets from secure. The asset is public */ "baseUrl": EngagedNation.Config.portalUrl, "paths": { "bootstrap": "bundles/frontend/js/vendor/bootstrap-3-3-6-min", "datepicker": "bundles/frontend/js/vendor/jquery-1-10-2/datepicker", "dblng": "bundles/frontend/js/lib/dblng", "easing": "bundles/frontend/js/vendor/jquery-1-10-2/easing", "elprintIndex": "bundles/frontend/js/vendor/jquery-1-10-2/elprint/index", "elprintPrint": "bundles/frontend/js/vendor/jquery-1-10-2/elprint/print", "embedInit": "bundles/frontend/js/embed/init", "embedInitBase": "bundles/frontend/js/embed/init", "fcountdown": "bundles/frontend/js/vendor/jquery-1-10-2/fcountdown", "global": "bundles/frontend/js/lib/global", "googleTagManager": "bundles/googletagmanager/client", "jbrowser": "bundles/frontend/js/vendor/jquery-1-10-2/jbrowser", "jflip": "bundles/frontend/js/vendor/jquery-1-10-2/jflip", "jquery": "bundles/frontend/js/vendor/jquery-3-1-1-min", "jquery_1_10": "bundles/frontend/js/vendor/jquery-1-10-2-min", "jquery_1_10_Flip": "bundles/frontend/js/vendor/jquery-1-10-2/jquery-flip-min", "lbxgrid": "bundles/frontend/js/lib/lbxgrid", "lbxgridBase": "bundles/frontend/js/lib/lbxgrid", "lbxtooltip": "bundles/frontend/js/lib/lbxtooltip", "lbxtooltipBase": "bundles/frontend/js/lib/lbxtooltip", "points": "bundles/frontend/js/lib/points", "stickyPlaceholder": "bundles/frontend/js/lib/sticky-placeholder", "tabJs": "bundles/frontend/js/lib/tabJs", "coinanim": "bundles/frontend/js/lib/coinanim", "coinanimBase": "bundles/frontend/js/lib/coinanim", "html5GameKey": "bundles/frontend/js/lib/html5-game-key", "enTabAccordion": "bundles/frontend/js/lib/tabaccordion", "wordsearchHandler": "bundles/frontend/js/lib/wordsearch-handler", "tabSubMenu": "bundles/frontend/js/lib/tab-sub-menu", "instantReward": "bundles/instantreward/instant-reward", "userProfile": "bundles/frontend/js/user/profile", "dailyLogin": "bundles/frontend/js/event-listener/daily-login", "invalidEmailUpdateForm": "bundles/frontend/js/event-listener/invalid-email-update-form", "userActivity": "bundles/frontend/js/user/activity", "abstractEventQueue": "bundles/frontend/js/event-queue/abstract-event-queue", "eventQueueEarnmethodCompleted": "bundles/frontend/js/event-queue/earnmethod-completed", "eventQueueComponentCompleted": "bundles/frontend/js/event-queue/component-completed", "eventQueueLoginManual": "bundles/frontend/js/event-queue/login-manual", "eventQueueLoginAuto": "bundles/frontend/js/event-queue/login-auto", "eventData": "bundles/frontend/js/domain/event-data", "utility": "bundles/frontend/js/lib/utility", "voucherCounter": "bundles/frontend/js/lib/voucher-counter", "pageLoad": "bundles/frontend/js/domain/page-load", "animateColors": "bundles/frontend/js/vendor/jquery.animate-colors-min", "requestAnimationFrame": "bundles/frontend/js/vendor/request-animation-frame", "userExperienceBar": "bundles/frontend/js/user/experience-bar", "userExperienceAnimateStars": "bundles/frontend/js/user/experience-animate-stars", "experienceAnimateStars": "bundles/frontend/js/user/experience-animate-stars", "experienceAnimateParticle": "bundles/frontend/js/user/experience-animate-particle", "experienceAnimateVector": "bundles/frontend/js/user/experience-animate-vector", "pixi": "bundles/frontend/js/vendor/pixi", "scratchcard": "bundles/frontend/js/lib/scratchcard", "loginVideo": "bundles/frontend/js/earn-methods/login-video", "homeContentLoad": "bundles/frontend/js/lib/home-content-load", "apiClientFrontendComponentContent": "bundles/api/js/client/frontend/component/content", "apiClientFrontendAchievementsExperienceRender": "bundles/api/js/client/frontend/achievements/experience/render", "apiClientFrontendComponentQuestionGroup": "bundles/api/js/client/frontend/component/question/group", "apiClientFrontendComponentQuestionGroupRender": "bundles/api/js/client/frontend/component/question/group/render", "apiClientFrontendComponentQuestionTrivia": "bundles/api/js/client/frontend/component/question/trivia", "apiClientFrontendComponentQuestionTriviaRender": "bundles/api/js/client/frontend/component/question/trivia/render", "apiClientFrontendComponentQuestionChallenge": "bundles/api/js/client/frontend/component/question/challenge", "apiClientFrontendComponentQuestionChallenges": "bundles/api/js/client/frontend/component/question/challenges", "apiClientFrontendComponentQuestionChallengesRender": "bundles/api/js/client/frontend/component/question/challenges/render", "apiClientFrontendComponentQuestionChallengesCount": "bundles/api/js/client/frontend/component/question/challenges/count", "apiClientFrontendComponentQuestionPropcardRender": "bundles/api/js/client/frontend/component/question/propcard/render", "apiClientFrontendComponentTimerRender": "bundles/api/js/client/frontend/component/timer/render", "apiClientFrontendComponentLayoutBody": "bundles/api/js/client/frontend/component/layout/body", "apiClientFrontendComponentTournamentQuestion": "bundles/api/js/client/frontend/component/tournament/question", "apiClientFrontendComponentTournamentQuestionRender": "bundles/api/js/client/frontend/component/tournament/question/render", "apiClientFrontendComponentTournamentChallenge": "bundles/api/js/client/frontend/component/tournament/challenge", "apiClientFrontendComponentTournamentChallengeRender": "bundles/api/js/client/frontend/component/tournament/challenge/render", "apiClientFrontendComponentTournamentChallengeRenderQuestion": "bundles/api/js/client/frontend/component/tournament/challenge/render/question", "apiClientFrontendComponentTournamentMatchWeek": "bundles/api/js/client/frontend/component/tournament/match/week", "apiClientFrontendComponentTournamentMatch": "bundles/api/js/client/frontend/component/tournament/match", "apiClientFrontendComponentTournamentUserCard": "bundles/api/js/client/frontend/component/tournament/user/card", "apiClientFrontendComponentTournamentUserCardRender": "bundles/api/js/client/frontend/component/tournament/user/card/render", "apiClientFrontendComponentTournamentMatchWeekRender": "bundles/api/js/client/frontend/component/tournament/match/week/render", "apiClientFrontendComponentTournamentMatchRender": "bundles/api/js/client/frontend/component/tournament/match/render", "apiClientFrontendComponentTournamentMatchWeekCurrent": "bundles/api/js/client/frontend/component/tournament/match/week/current", "apiClientFrontendComponentTournamentMatchWeekNext": "bundles/api/js/client/frontend/component/tournament/match/week/next", "apiClientFrontendComponentTournamentMatchWeekPrevious": "bundles/api/js/client/frontend/component/tournament/match/week/previous", "apiClientFrontendComponentTournamentMatchWeekCycle": "bundles/api/js/client/frontend/component/tournament/match/week/cycle", "apiClientFrontendComponentTournamentUserLeaderboardRender": "bundles/api/js/client/frontend/component/tournament/user/leaderboard/render", "apiClientFrontendComponentTournamentPlayoffsMatchRender": "bundles/api/js/client/frontend/component/tournament/playoffs/match/render", "apiClientFrontendComponentTournamentPlayoffsMatchWeek": "bundles/api/js/client/frontend/component/tournament/playoffs/match/week", "apiClientFrontendComponentTournamentBracketsMatchPrintRender": "bundles/api/js/client/frontend/component/tournament/brackets/match/print/render", "apiClientFrontendComponentPhotoRecall": "bundles/api/js/client/frontend/component/photorecall", "apiClientFrontendComponentPhotoRecallRender": "bundles/api/js/client/frontend/component/photorecall/render", "apiClientFrontendComponentPick4": "bundles/api/js/client/frontend/component/pick4", "apiClientFrontendComponentPick4Render": "bundles/api/js/client/frontend/component/pick4/render", "apiClientFrontendComponentMatch3": "bundles/api/js/client/frontend/component/match3", "apiClientFrontendComponentMatch3Render": "bundles/api/js/client/frontend/component/match3/render", "apiClientFrontendComponentModal": "bundles/api/js/client/frontend/component/modal", "apiClientFrontendComponentReward": "bundles/api/js/client/frontend/component/reward", "apiClientFrontendComponentRewardRender": "bundles/api/js/client/frontend/component/reward/render", "apiClientFrontendComponentRsvp": "bundles/api/js/client/frontend/component/rsvp", "apiClientFrontendComponentRsvpRender": "bundles/api/js/client/frontend/component/rsvp/render", "apiClientFrontendComponentSelfie": "bundles/api/js/client/frontend/component/selfie", "apiClientFrontendComponentMatch3Render": "bundles/api/js/client/frontend/component/match3/render", "apiClientFrontendInstantRewardButton": "bundles/api/js/client/frontend/instant/reward/button", "apiClientFrontendInstantReward": "bundles/api/js/client/frontend/instant/reward", "centralAdminApi": "bundles/api/js/client/frontend/centraladminapi/proxy", "apiClientFrontendUserVoucherNotification": "bundles/api/js/client/frontend/user/voucher/notification", "apiClientFrontendUserPhoneUtility": "bundles/api/js/client/frontend/user/phone/utility", "apiClientFrontendComponentPhotoRecallMultipleChoice": "bundles/api/js/client/frontend/component/photorecallmultiplechoice", "apiClientFrontendComponentPhotoRecallMultipleChoiceRender": "bundles/api/js/client/frontend/component/photorecallmultiplechoice/render", "notificationReward": "bundles/frontend/js/lib/notification-reward", "apiCookie": "bundles/api/js/cookie", "apiClientFrontendUserEmail": "bundles/api/js/client/frontend/user/email", "apiClientFrontendUserVoucherEmail": "bundles/api/js/client/frontend/user/voucher/email", "apiClientFrontendUserVoucherPrint": "bundles/api/js/client/frontend/user/voucher/print", "apiClientFrontendUserVoucherDownload": "bundles/api/js/client/frontend/user/voucher/download", "apiClientFrontendUserVoucherSms": "bundles/api/js/client/frontend/user/voucher/sms", "apiClientFrontendUserVoucherKiosk": "bundles/api/js/client/frontend/user/voucher/kiosk", "apiClientFrontendUserPhone": "bundles/api/js/client/frontend/user/phone", "iziModal": "bundles/resources/izimodal/require.index", "iziToast": "bundles/resources/izitoast/index.min", "slickCarousel": "bundles/resources/slickcarousel/require.index", "moduleModal": "bundles/frontend/js/lib/module-modal", "moduleNotification": "bundles/frontend/js/lib/module-notification", "moduleCarousel": "bundles/frontend/js/lib/module-carousel", "gameLoader": "bundles/game/js/game-loader", "apiClientFrontendUserGroup": "bundles/api/js/client/frontend/user/group", "checkUserGroup": "bundles/frontend/js/user/group", "layoutBody": "bundles/layout/js/body", "layoutBodyNfl": "bundles/layout/js/body-nfl", "layoutBodyPlayoffs": "bundles/layout/js/body-playoffs", "layoutBodyLeaderboard": "bundles/layout/js/body-leaderboard", "layoutBodyTournamentMatch": "bundles/layout/js/body-tournament-match", "globalEventListener": "bundles/frontend/js/lib/global-event-listener", "jsLoggerWrapper": "bundles/frontend/js/log/js-logger-wrapper", "frontEndInstantReward": "bundles/frontend/js/lib/instant-reward", "embedPreview": "bundles/frontend/js/embed/preview", "apiClientFrontendComponentFormProfile": "bundles/api/js/client/frontend/component/form/profile", "templateFormProfileAbstract": "bundles/template/js/form/profile/form-abstract", "apiClientFrontendComponentFormSitefeedback": "bundles/api/js/client/frontend/component/form/sitefeedback", "templateFormSitefeedbackAbstract": "bundles/template/js/form/sitefeedback/form-abstract", "downloadPdf": "bundles/resources/engagednation/utility/downloadPdf", "promisePolyfillMin": "bundles/resources/promise-polyfill/index.min", "user": "bundles/frontend/js/user", "tournamentMatch": "bundles/frontend/js/tournament/match", "apiClientFrontendComponentConsecutiveLogin": "bundles/api/js/client/frontend/component/consecutivelogin", "componentConsecutiveLogin": "bundles/frontend/js/component/consecutive-login", "localCache": "bundles/cache/js/cache", "userSessionTimeout": "bundles/frontend/js/user/session/timeout", "simulator": "bundles/simulator/js/simulator", "windowResize": "bundles/resources/engagednation/utility/windowResize", "form": "bundles/resources/engagednation/utility/form", "apiClientFrontendUserSimulatorLogin": "bundles/api/js/client/frontend/user/simulator/login", "apiClientFrontendUserSimulatorLogout": "bundles/api/js/client/frontend/user/simulator/logout", "apiClientFrontendUserSimulatorUserManager": "bundles/api/js/client/frontend/user/simulator/usermanager", "apiClientFrontendUserSimulatorComponentManager": "bundles/api/js/client/frontend/user/simulator/componentmanager", "templateFrontendClient": "bundles/template/js/frontend/client", "userLoggedOut": "bundles/frontend/js/user/logged-out", "userFormHelp": "bundles/frontend/js/user/form/help", "userResetPassword": "bundles/frontend/js/user/reset-password", "componentWinnerCode": "bundles/frontend/js/component/winner-code", "componentWinnerCodeCardDisplay": "bundles/frontend/js/component/winner-code-card-display", "apiClientComponentWinnerCodeCardDisplay": "bundles/api/js/client/frontend/component/winner-code-card-display", "componentDrawingEntryDetailLayout": "bundles/frontend/js/component/drawing-entry-detail-layout", "componentSelfie": "bundles/frontend/js/component/selfie", "passwordToggleVisibility": "bundles/frontend/js/lib/password-toggle-visibility", "sharedSliderSide": "bundles/frontend/js/shared/slider/side", "templateFrontendEditProfileForm": "bundles/template/js/frontend/edit-profile-form", "componentFlexPrizeRedeemableLayout": "bundles/frontend/js/component/flex-prize-redeemable-layout", "eventListenerFlexPrizeRedeemableLayout": "bundles/frontend/js/event-listener/flex-prize-redeemable-layout", "componentUserFlexPrizeLayout": "bundles/frontend/js/component/user-flex-prize-layout", "eventListenerUserFlexPrizeLayout": "bundles/frontend/js/event-listener/user-flex-prize-layout", "eventListenerUserFlexPrizeEmptyLayout": "bundles/frontend/js/event-listener/user-flex-prize-empty-layout", "eventListenerFlexPrizeRedeemableEmptyLayout": "bundles/frontend/js/event-listener/flex-prize-redeemable-empty-layout", "moduleDateTimeCountdown": "bundles/frontend/js/lib/module-date-time-countdown", "apiClientFrontendComponentSliderSide": "bundles/api/js/client/frontend/component/sliderside", "componentLeaderboard": "bundles/frontend/js/component/leaderboard", "apiClientFrontendComponentFormGidxRender": "bundles/api/js/client/frontend/component/form/gidx/render", "apiClientFrontendComponentFormGidx": "bundles/api/js/client/frontend/component/form/gidx", "sharedDisplayAsPagination": "bundles/frontend/js/shared/display-as-pagination", "apiClientFrontendComponentQuiz": "bundles/api/js/client/frontend/component/quiz", "apiClientFrontendComponentQuizUserPrize": "bundles/api/js/client/frontend/component/quizuserprize", "eventListenerGameLauncher": "bundles/frontend/js/event-listener/game-launcher" } } ) .add("splashLogin", '0'); /** RequireJS */ EngagedNation.RequireJS = new EngagedNationRequireJS(EngagedNation.Config.requireJS); /** Placeholder for jQuery stuff */ EngagedNation.jQuery = { /** Placeholder for current jQuery object extension instantiations */ "extensions" : {} } EngagedNation.ConfigUtility.add('isAllJsDependenciesLoaded', false, true); EngagedNation.RequireJS.require( [ "jquery", "jsLoggerWrapper" ], function($) { EngagedNation.ApiRequestClient = new EngagedNation.Class.Request( { url: EngagedNation.Config.portalUrl }, $ ); /** * Order is important!! */ EngagedNation.RequireJS.require( [ "global", "globalEventListener", "utility", "localCache", "userSessionTimeout", "windowResize", "form", "userLoggedOut", "animateColors", "points", "lbxgrid", "lbxtooltip", "apiCookie", "iziModal", "iziToast", "promisePolyfillMin", "downloadPdf", "slickCarousel", "moduleModal", "moduleCarousel", "easing", "jbrowser", "jflip", "elprintIndex", "elprintPrint", "dblng", (typeof ThemedTemplateInitiated === 'object') ? "" : "bootstrap", "fcountdown", "datepicker", "coinanim", "enTabAccordion", "pageLoad", "instantReward", "frontEndInstantReward", "userProfile", "dailyLogin", "invalidEmailUpdateForm", "userActivity", "eventQueueEarnmethodCompleted", "eventQueueComponentCompleted", "loginVideo", "voucherCounter", "tabJs", "requestAnimationFrame", "homeContentLoad", "notificationReward", "checkUserGroup", "apiClientFrontendInstantRewardButton", "apiClientFrontendUserPhoneUtility", "templateFrontendClient", "passwordToggleVisibility", "templateFrontendEditProfileForm", "eventListenerFlexPrizeRedeemableLayout", "eventListenerUserFlexPrizeLayout", "eventListenerUserFlexPrizeEmptyLayout", "eventListenerFlexPrizeRedeemableEmptyLayout" ], function() { /** * We have module dependencies that require them to be loaded in order * @todo Update these dependencies to use dependency injection and let requirejs do all the hard work. */ EngagedNation.RequireJS.require( ["iziModal", "iziToast"], function() { EngagedNation.RequireJS.require( ["moduleModal", "moduleNotification", "moduleDateTimeCountdown", "componentLeaderboard", "user"], function() { EngagedNation.RequireJS.require( ["gameLoader","userFormHelp","userResetPassword","simulator","sharedSliderSide","sharedDisplayAsPagination"], function() { EngagedNation.RequireJS.require( ["eventListenerGameLauncher","eventQueueLoginManual","eventQueueLoginAuto"], function() { EngagedNation.ConfigUtility.add('isAllJsDependenciesLoaded', true, true); } ); } ); } ); } ); } ); /** * Constant reference. */ EngagedNation.Constant = { "API_RESPONSE_STATUS_FAILED": "Failed", "API_RESPONSE_STATUS_SUCCESS": "Success" }; /** Translations */ EngagedNation.Translations = { "fzone" : { "wheelgame" : { "no-consecutive-success" : { "header1": "Congratulations!", "header2": "You've won", "body": "%points% %awardedpoints%" } }, "experienceBar" : { "calculatedCurrent" : "%current%", "divideCurrentToMax" : "/", "calculatedMax" : "%required%", "experience-bar-text" : "Until", "rangeName" : "%rangeName%" } }, "api": { "error": { "unknown": "Something went wrong.", "failed": "Sorry, something went wrong. Please try again or contact the administrators." }, "response": { "post": "Failed to post data.", "unknown": "Unknown error.", "failed": "Sorry, something went wrong. Please try again or contact the administrators." }, "instant": { "reward": { "email": { "waitDisplayTitle": "
Wait!
", "waitDisplayMessage": "Please wait while we send your email." }, "print": { "waitDisplayTitle": "
Wait!
", "waitDisplayMessage": "Please wait while we prepare your request.", "errorDisplayTitle": "
Sorry, You're Unable to Print
", "errorDisplayMessage": "It looks like your browser has a popup blocker enabled. Please allow popups for this website and try again." }, "sms": { "waitDisplayTitle": "
Wait!
", "waitDisplayMessage": "Please wait while we prepare to send you a text.", "sendWaitDisplayTitle": "
Your text is on its way!
", "sendWaitDisplayMessage": "Please stay on the page for a moment while we finish sending your text messages.", "noNumberDisplayTitle": "

Your reward is ready!

Enter your phone number to receive a text message with a link to your reward voucher.
", "noNumberDisplayPlaceholder": "Format: 000-000-000", "noNumberInvalidDisplayTitle": "Oops, We could not send your reward", "noNumberInvalidDisplayMessage": "Please check the phone number and re-enter it with dashes between the numbers Ex. 000-000-0000", "noNumberEmptySubmitDisplayTitle": "
Sorry!
", "noNumberEmptySubmitDisplayMessage": "Please enter your phone number.", "noNumberSubmitDisplayValue": "Send", "successDisplayTitle": "Your reward has been sent!", "successDisplayMessage": "Access your reward any time by clicking the link in your text message. Enjoy!", "errorDisplayTitle": "
Sorry, We're Unable to Send Text
", "errorDisplayMessage": "Please contact the Administrators.", "iconClass": "fas fa-phone" }, "kiosk": { "waitDisplayTitle": "
Wait!
", "waitDisplayMessage": "Please wait while we prepare to send your reward to kiosk.", "successDisplayTitle": "
Thank You!
", "successDisplayMessage": "We have successfully sent your reward to kiosk." } } }, "photoRecall": { "multipleChoice": { "notSetTitle": "Oops!", "notSetMessage": "Choices were not set. Please contact the Administrators", } } }, "component": { "unSupportedBrowsers": { "title": "Your Browser/Device May Have Issues Playing this Game", "message": "We have detected that the device or browser you are using may encounter problems with this game. Please give it a try to see if it functions properly. If you encounter issues and wish to experience the full benefits of this game, we recommend switching devices and/or browsers and trying again." }, "gameNotAvailable": { "title": "Sorry!", "message": "This game is no longer available." }, "forgotPasswordForm": { "success": { "title": "YOU'RE ALL SET!", "message": "We have successfully updated your password." }, "error": { "title": "Oops!", "message": "Please enter a valid email address." } } }, "download": { "waitDisplayTitle": "
Wait!
", "waitDisplayMessage": "Please wait while we prepare your request.", "errorDisplayTitle": "
Sorry, You're Unable to Download.
", "errorDisplayMessage": "Something went wrong. Please contact the Administrators." }, "flexPrizeRedeemableLayout": { "otherLabel": "Other", "summaryLabel": "Summary", "descriptionLabel": "Description", "dateExpireLabel": "expires ", "availableText": "Available to Purchase", "timerLabel": "Next Purchase Available: ", "sortLabel": "Sort By", "buyButton": "Buy", "confirmYesButton": "Yes", "confirmNoButton": "No" }, "userFlexPrizeLayout": { "activeRewardsLabel": "Active Rewards", "expiredRewardsLabel": "Expired Rewards", "descriptionLabel": "Description:", "legalLabel": "Legal:", "dateExpireLabel1": "Time Remaining to Redeem on Property", "dateExpireLabel2": "Expiration Date", "dateExpireLabel3": "Expired: ", "downloadButton": "Download this voucher", "dateIssuedLabel": "Date Issued: ", "voucherIdLabel": "Voucher Id: ", "infoTitle": "More Info", "infoText": "A maximum of one Redeemable Rewards voucher and one Instant Rewards voucher can be redeemed in a single trip. Lost or stolen vouchers cannot be replaced. No cash value. Must be 18 or older. Management reserves all rights. All rights reserved." }, "winnerCodeCardDisplay": { "filterLabel": "Filter: ", "defaultFilterName": "All", "targetCountText": "Total Entered: out of ", "claim": "Get Reward", "claimed": "Claimed" }, "drawingEntryDetailLayout": { "tableHeader1": "Date", "tableHeader2": "Earned", "tableHeader3": "Status", "tableHeader4": "Valid for", "notActivatedText": "Not Activated", "activatedText": "Activated", "pendingText": "Pending" } }; } );