@everymatrix/lottery-game-page 1.76.11 → 1.76.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"translationUrl\":[513,\"translation-url\"],\"clientStylingUrlContent\":[32],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"limitStylingAppends\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"translationUrl\":[\"handleNewTranslations\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"limitStylingAppends\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]]],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"limitStylingAppends\":[32]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]]],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"limitStylingAppends\":[32]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"limitStylingAppends\":[32],\"drawData\":[32],\"resultMap\":[32]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"limitStylingAppends\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrlContent\":[1537,\"client-styling-url-content\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32],\"limitStylingAppends\":[32]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32],\"limitStylingAppends\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]]],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}]]]]"), options);
11
+ return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"translationUrl\":[513,\"translation-url\"],\"clientStylingUrlContent\":[32],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"limitStylingAppends\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"translationUrl\":[\"handleNewTranslations\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"limitStylingAppends\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]]],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"limitStylingAppends\":[32]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]]],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"limitStylingAppends\":[32]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"limitStylingAppends\":[32],\"drawData\":[32],\"resultMap\":[32]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"limitStylingAppends\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrlContent\":[1537,\"client-styling-url-content\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32],\"limitStylingAppends\":[32]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32],\"limitStylingAppends\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]]],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"general-multi-select_16.cjs\",[[1,\"lottery-game-page\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"language\":[513],\"backgroundUrl\":[513,\"background-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[513,\"translation-url\"],\"tickets\":[32],\"mainTickets\":[32],\"secondaryTickets\":[32],\"tabIndex\":[32],\"hasErrors\":[32],\"totalAmount\":[32],\"successVisible\":[32],\"daysRemaining\":[32],\"hoursRemaining\":[32],\"minutesRemaining\":[32],\"secondsRemaining\":[32],\"nextDate\":[32],\"isLoggedIn\":[32],\"loginModalVisible\":[32],\"isLoading\":[32],\"showSubmitError\":[32],\"submitError\":[32],\"showApiError\":[32],\"apiError\":[32],\"translationData\":[32],\"isSubscription\":[32],\"subscriptionParam\":[32],\"showSubscriptionError\":[32],\"subscriptionError\":[32],\"isSubscribed\":[32]},[[0,\"ticketCompleted\",\"gridFilledHandler\"],[0,\"gridDirty\",\"gridDirtyHandler\"],[0,\"modalCloseEvent\",\"modalCloseEvent\"],[0,\"stakeChange\",\"stakeChangeHandler\"],[0,\"multiplierChange\",\"multiplierChangeHandler\"],[0,\"drawMultiplierChange\",\"drawMultiplierChangeHandler\"],[0,\"lineMultiplierChange\",\"lineMultiplierChangeHandler\"],[0,\"betTypeChange\",\"betTypeChangeHandler\"],[0,\"subscriptionCompleted\",\"handleSubscriptionReady\"],[0,\"subscriptionCheckChange\",\"handleSubscriptionCheckChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"translationUrl\":[\"handleNewTranslations\"]}],[1,\"lottery-draw-results-history\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"drawData\":[32],\"winningDataSetsData\":[32],\"dateFiltersFrom\":[32],\"dateFiltersTo\":[32],\"isLoading\":[32],\"noResults\":[32],\"activeIndex\":[32],\"totalResults\":[32],\"limit\":[32],\"offset\":[32]},[[0,\"filterSelection\",\"filtersHandler\"],[0,\"filterSelectionReset\",\"clearFiltersHandler\"],[0,\"hpPageChange\",\"hpPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket-controller\",{\"endpoint\":[513],\"ticketId\":[514,\"ticket-id\"],\"ticketDescription\":[513,\"ticket-description\"],\"gameId\":[513,\"game-id\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"numberOfGrids\":[514,\"number-of-grids\"],\"last\":[516],\"language\":[513],\"autoPick\":[516,\"auto-pick\"],\"resetButton\":[516,\"reset-button\"],\"totalControllers\":[514,\"total-controllers\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"]},[[0,\"helperAccordionAction\",\"helperAccordionActionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-game-details\",{\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-subscription\",{\"translationUrl\":[520,\"translation-url\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"endpointSubscription\":[513,\"endpoint-subscription\"],\"language\":[513],\"gameName\":[513,\"game-name\"],\"isSubscribed\":[32],\"frequenceList\":[32],\"frequenceState\":[32],\"filterData\":[32],\"subscriptionCode\":[32],\"conditionId\":[32],\"paramId\":[32],\"conditionRule\":[32],\"paramRule\":[32],\"peroidRule\":[32],\"startDateRule\":[32],\"endDateRule\":[32],\"gameNameRule\":[32],\"ruleType\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-filters\",{\"activateTicketSearch\":[516,\"activate-ticket-search\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"session\":[513],\"postMessage\":[516,\"post-message\"],\"language\":[513],\"quickFiltersActive\":[516,\"quick-filters-active\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showFilterModal\":[32],\"showClearButton\":[32],\"filterData\":[32],\"filterDataReset\":[32],\"limitStylingAppends\":[32],\"ticketTypeList\":[32]},[[0,\"modalCloseEvent\",\"modalCloseEvent\"]]],[1,\"lottery-draw-results\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"language\":[513],\"playerId\":[513,\"player-id\"],\"drawMode\":[516,\"draw-mode\"],\"drawId\":[513,\"draw-id\"],\"gameName\":[513,\"game-name\"],\"ticketDate\":[513,\"ticket-date\"],\"ticketStatus\":[513,\"ticket-status\"],\"ticketId\":[513,\"ticket-id\"],\"ticketType\":[513,\"ticket-type\"],\"ticketAmount\":[513,\"ticket-amount\"],\"ticketCurrency\":[513,\"ticket-currency\"],\"ticketMultiplier\":[516,\"ticket-multiplier\"],\"ticketMultiplierNum\":[514,\"ticket-multiplier-num\"],\"ticketDrawCount\":[514,\"ticket-draw-count\"],\"ticketNumbers\":[513,\"ticket-numbers\"],\"sessionId\":[513,\"session-id\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"ticketDrawData\":[513,\"ticket-draw-data\"],\"historyDrawData\":[513,\"history-draw-data\"],\"tabValue\":[513,\"tab-value\"],\"translationUrl\":[520,\"translation-url\"],\"multiplier\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"errorText\":[32],\"ticketData\":[32],\"ticketDataLoaded\":[32],\"ticketDraws\":[32],\"toggleDrawer\":[32],\"drawData\":[32],\"resultMap\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-ticket\",{\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"numberOfGrids\":[514,\"number-of-grids\"],\"multipleDraws\":[516,\"multiple-draws\"],\"ticketId\":[514,\"ticket-id\"],\"resetButton\":[516,\"reset-button\"],\"autoPick\":[516,\"auto-pick\"],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"translationUrl\":[520,\"translation-url\"],\"isLoading\":[32],\"hasErrors\":[32],\"ticketDone\":[32],\"isCustomSelect\":[32],\"amountInfo\":[32],\"stakeMultiplier\":[32],\"lineMultiplier\":[32],\"isCustomSelectStake\":[32],\"isCustomSelectDraw\":[32],\"isCustomSelectLine\":[32],\"drawMultiplier\":[32],\"secondarySelectionAllowed\":[32],\"partialQuickpickAvailable\":[32],\"boardsAllowed\":[32],\"tabIndex\":[32],\"groupType\":[32],\"playType\":[32],\"selectedPlayTypeId\":[32],\"maximumAllowed\":[32],\"numberRange\":[32],\"secondaryNumberRange\":[32],\"secondaryMaximumAllowed\":[32],\"minimumAllowed\":[32],\"secondaryMinimumAllowed\":[32],\"quickPicks\":[32]},[[8,\"click\",\"checkForClickOutside\"],[0,\"gridFilled\",\"gridFilledHandler\"],[0,\"gridClearAllEvent\",\"handleGridClearAllEvent\"]],{\"lineMultiplier\":[\"handleLineMultiplierChange\"],\"tabIndex\":[\"handleTabIndexChange\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-tabs\",{\"disabled\":[516],\"label\":[513],\"selected\":[516],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"selectedIndex\":[1538,\"selected-index\"],\"tabs\":[16],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingurl\":[513,\"client-stylingurl\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-pagination\",{\"nextPage\":[1540,\"next-page\"],\"prevPage\":[1540,\"prev-page\"],\"offset\":[1538],\"limit\":[1538],\"total\":[1538],\"language\":[1537],\"clientStyling\":[1537,\"client-styling\"],\"clientStylingUrl\":[1537,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"arrowsActive\":[1540,\"arrows-active\"],\"secondaryArrowsActive\":[1540,\"secondary-arrows-active\"],\"numberedNavActive\":[1540,\"numbered-nav-active\"],\"isReset\":[1540,\"is-reset\"],\"translationUrl\":[520,\"translation-url\"],\"offsetInt\":[32],\"lastPage\":[32],\"previousPage\":[32],\"limitInt\":[32],\"totalInt\":[32],\"pagesArray\":[32],\"endInt\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-multi-select\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"options\":[16],\"maxVisibleChips\":[2,\"max-visible-chips\"],\"placeholder\":[1],\"selectedValues\":[32],\"dropdownOpen\":[32],\"overflowOpen\":[32],\"popoverStyle\":[32],\"clear\":[64]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"helper-accordion\",{\"ticketHistoryFlag\":[516,\"ticket-history-flag\"],\"headerTitle\":[513,\"header-title\"],\"headerSubtitle\":[513,\"header-subtitle\"],\"description\":[513],\"footer\":[516],\"deleteTab\":[516,\"delete-tab\"],\"postMessage\":[516,\"post-message\"],\"eventName\":[513,\"event-name\"],\"collapsed\":[516],\"language\":[513],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"translationUrl\":[520,\"translation-url\"],\"showContent\":[32],\"limitStylingAppends\":[32]}],[1,\"helper-modal\",{\"titleModal\":[513,\"title-modal\"],\"visible\":[1540],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrlContent\":[513,\"client-styling-url-content\"],\"limitStylingAppends\":[32]}],[1,\"helper-tab\",{\"selectedIndex\":[514,\"selected-index\"],\"cmsEndpoint\":[513,\"cms-endpoint\"],\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"lowNumber\":[514,\"low-number\"],\"highNumber\":[514,\"high-number\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"maxinumAllowed\":[514,\"maxinum-allowed\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"tabContent\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"lottery-grid\",{\"ticketId\":[514,\"ticket-id\"],\"totalNumbers\":[514,\"total-numbers\"],\"gameId\":[513,\"game-id\"],\"maximumAllowed\":[514,\"maximum-allowed\"],\"minimumAllowed\":[514,\"minimum-allowed\"],\"numberRange\":[513,\"number-range\"],\"selectable\":[516],\"selectedNumbers\":[513,\"selected-numbers\"],\"secondaryNumbers\":[513,\"secondary-numbers\"],\"displaySelected\":[516,\"display-selected\"],\"language\":[513],\"gridIndex\":[514,\"grid-index\"],\"gridType\":[513,\"grid-type\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"highNumber\":[514,\"high-number\"],\"lowNumber\":[514,\"low-number\"],\"selectionType\":[513,\"selection-type\"],\"partialQuickpickAvailable\":[516,\"partial-quickpick-available\"],\"numbers\":[32],\"bonusNumbers\":[32]},[[0,\"lotteryBulletSelection\",\"lotteryBulletSelectionHandler\"],[4,\"resetSelection\",\"resetSelectionHandler\"],[4,\"autoSelection\",\"autoSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-bullet\",{\"value\":[513],\"selectable\":[516],\"isSelected\":[516,\"is-selected\"],\"isBonus\":[516,\"is-bonus\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -1,6 +1,7 @@
1
1
  import { h, getAssetPath } from "@stencil/core";
2
2
  import { translate, getTranslations } from "../../utils/locale.utils";
3
3
  import { isMobile, generateUUID, fetchRequest } from "../../utils/utils";
4
+ import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
4
5
  import "../../../../../lottery-ticket-controller/dist/types/index";
5
6
  import "../../../../../helper-modal/dist/types/index";
6
7
  import "../../../../../lottery-game-details/dist/types/index";
@@ -17,25 +18,6 @@ export class LotteryGamePage {
17
18
  this.gameData = {};
18
19
  this.isMobile = isMobile(this.userAgent);
19
20
  this.secondarySelectionAllowed = false;
20
- this.setClientStyling = () => {
21
- let sheet = document.createElement('style');
22
- sheet.innerHTML = this.clientStyling;
23
- this.stylingContainer.prepend(sheet);
24
- };
25
- this.setClientStylingURL = () => {
26
- let url = new URL(this.clientStylingurl);
27
- let cssFile = document.createElement('style');
28
- fetch(url.href)
29
- .then((res) => res.text())
30
- .then((data) => {
31
- this.clientStylingUrlContent = data;
32
- cssFile.innerHTML = data;
33
- setTimeout(() => { this.stylingContainer.prepend(cssFile); }, 1);
34
- })
35
- .catch((err) => {
36
- console.log('error ', err);
37
- });
38
- };
39
21
  this.thousandSeperator = (value) => {
40
22
  if (value === 0) {
41
23
  return '0';
@@ -57,9 +39,9 @@ export class LotteryGamePage {
57
39
  this.language = 'en';
58
40
  this.backgroundUrl = undefined;
59
41
  this.clientStyling = '';
60
- this.clientStylingurl = '';
42
+ this.clientStylingUrl = '';
43
+ this.mbSource = undefined;
61
44
  this.translationUrl = '';
62
- this.clientStylingUrlContent = '';
63
45
  this.tickets = [];
64
46
  this.mainTickets = [];
65
47
  this.secondaryTickets = [];
@@ -74,7 +56,6 @@ export class LotteryGamePage {
74
56
  this.nextDate = undefined;
75
57
  this.isLoggedIn = false;
76
58
  this.loginModalVisible = false;
77
- this.limitStylingAppends = false;
78
59
  this.isLoading = false;
79
60
  this.showSubmitError = false;
80
61
  this.submitError = '';
@@ -87,6 +68,21 @@ export class LotteryGamePage {
87
68
  this.subscriptionError = '';
88
69
  this.isSubscribed = false;
89
70
  }
71
+ handleClientStylingChange(newValue, oldValue) {
72
+ if (newValue != oldValue) {
73
+ setClientStyling(this.stylingContainer, this.clientStyling);
74
+ }
75
+ }
76
+ handleClientStylingUrlChange(newValue, oldValue) {
77
+ if (newValue != oldValue) {
78
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
79
+ }
80
+ }
81
+ handleMbSourceChange(newValue, oldValue) {
82
+ if (newValue != oldValue) {
83
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
84
+ }
85
+ }
90
86
  handleNewTranslations() {
91
87
  this.isLoading = true;
92
88
  getTranslations(this.translationUrl).then(() => {
@@ -112,16 +108,16 @@ export class LotteryGamePage {
112
108
  }
113
109
  return Promise.all(promises);
114
110
  }
115
- componentDidRender() {
116
- // start custom styling area
117
- if (!this.limitStylingAppends && this.stylingContainer) {
111
+ componentDidLoad() {
112
+ console.log('Lottery Widget From LOCAL');
113
+ if (this.stylingContainer) {
114
+ if (this.mbSource)
115
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
118
116
  if (this.clientStyling)
119
- this.setClientStyling();
120
- if (this.clientStylingurl)
121
- this.setClientStylingURL();
122
- this.limitStylingAppends = true;
117
+ setClientStyling(this.stylingContainer, this.clientStyling);
118
+ if (this.clientStylingUrl)
119
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
123
120
  }
124
- // end custom styling area
125
121
  }
126
122
  countdownLogic(date) {
127
123
  const setTime = () => {
@@ -481,17 +477,17 @@ export class LotteryGamePage {
481
477
  return (
482
478
  /* Game details */
483
479
  h("div", { class: "GamePage", dir: this.language == 'ar' ? 'rtl' : 'ltr', ref: el => this.stylingContainer = el }, h("div", { class: "GridBanner", style: { 'background': `url(${this.backgroundUrl ? this.backgroundUrl : backgroundImagePath})`, 'background-size': 'contain', 'background-repeat': 'no-repeat', 'background-position': 'center' } }, h("div", { class: "BannerButtonsWrapper" }), h("div", { class: "Tabs" }, h("div", { class: 'TabButton' + (this.tabIndex == 0 ? ' Active' : ''), onClick: () => this.tabIndex = 0 }, translate('buy', this.language)), h("div", { class: 'TabButton' + (this.tabIndex == 1 ? ' Active' : ''), onClick: () => this.tabIndex = 1 }, translate('viewLatest', this.language)))), h("div", { class: "NextDrawWrapper" }, this.nextDate && h("div", { class: "NextDraw" }, h("p", { class: "BannerText" }, translate('nextDraw', this.language)), h("div", { class: "BannerCountdown" }, h("span", { class: "CountdownDays" }, this.daysRemaining, "D"), h("span", { class: "CountdownHours" }, this.hoursRemaining, "H"), h("span", { class: "CountdownMinutes" }, this.minutesRemaining, "M"), h("span", { class: "CountdownSeconds" }, this.secondsRemaining, "S")))), this.tabIndex == 0 &&
484
- h("div", { class: "GamePageContent" }, h("div", { class: "GameDetails" }, h("lottery-game-details", { "low-number": (_b = (_a = this.gameData.rules) === null || _a === void 0 ? void 0 : _a.boards[0]) === null || _b === void 0 ? void 0 : _b.lowNumber, "high-number": (_d = (_c = this.gameData.rules) === null || _c === void 0 ? void 0 : _c.boards[0]) === null || _d === void 0 ? void 0 : _d.highNumber, "minimum-allowed": (_f = (_e = this.gameData.rules) === null || _e === void 0 ? void 0 : _e.boards[0]) === null || _f === void 0 ? void 0 : _f.minimumAllowed, "maxinum-allowed": (_h = (_g = this.gameData.rules) === null || _g === void 0 ? void 0 : _g.boards[0]) === null || _h === void 0 ? void 0 : _h.maxinumAllowed, language: this.language, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent, "translation-url": this.translationData })), h("div", { class: "TicketsWrapper" }, this.mainTickets.map((item) => {
480
+ h("div", { class: "GamePageContent" }, h("div", { class: "GameDetails" }, h("lottery-game-details", { "low-number": (_b = (_a = this.gameData.rules) === null || _a === void 0 ? void 0 : _a.boards[0]) === null || _b === void 0 ? void 0 : _b.lowNumber, "high-number": (_d = (_c = this.gameData.rules) === null || _c === void 0 ? void 0 : _c.boards[0]) === null || _d === void 0 ? void 0 : _d.highNumber, "minimum-allowed": (_f = (_e = this.gameData.rules) === null || _e === void 0 ? void 0 : _e.boards[0]) === null || _f === void 0 ? void 0 : _f.minimumAllowed, "maxinum-allowed": (_h = (_g = this.gameData.rules) === null || _g === void 0 ? void 0 : _g.boards[0]) === null || _h === void 0 ? void 0 : _h.maxinumAllowed, language: this.language, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationData })), h("div", { class: "TicketsWrapper" }, this.mainTickets.map((item) => {
485
481
  var _a, _b;
486
- return h("lottery-ticket-controller", { endpoint: this.endpoint, "ticket-id": item.ticketId, "game-id": item.gameId, collapsed: false, last: true, language: this.language, "auto-pick": (_a = this.gameData.rules) === null || _a === void 0 ? void 0 : _a.quickPickAvailable, "reset-button": (_b = this.gameData.rules) === null || _b === void 0 ? void 0 : _b.quickPickAvailable, "total-controllers": this.mainTickets.length, "translation-url": this.translationData, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent });
482
+ return h("lottery-ticket-controller", { endpoint: this.endpoint, "ticket-id": item.ticketId, "game-id": item.gameId, collapsed: false, last: true, language: this.language, "auto-pick": (_a = this.gameData.rules) === null || _a === void 0 ? void 0 : _a.quickPickAvailable, "reset-button": (_b = this.gameData.rules) === null || _b === void 0 ? void 0 : _b.quickPickAvailable, "total-controllers": this.mainTickets.length, "translation-url": this.translationData, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource });
487
483
  })), h("div", { class: "OrderSummary" }, h("h3", { class: "OrderSummaryTitle" }, translate('orderSummaryTitle', this.language)), h("div", { class: "OrderTicketInfo" }, h("div", { class: "Ticket" }, translate('orderSummaryTickets', this.language), ": ", h("span", null, this.mainTickets.length)), h("div", null, h("span", null, this.thousandSeperator(((_k = (_j = this.mainTickets[0]) === null || _j === void 0 ? void 0 : _j.betType) === null || _k === void 0 ? void 0 : _k.combinations) * ((_l = this.mainTickets[0]) === null || _l === void 0 ? void 0 : _l.lineNum))), h("span", { class: "Multiplier" }, "x"), ((_m = this.gameData.rules) === null || _m === void 0 ? void 0 : _m.stakeMultiplierAvailable) &&
488
484
  h("span", null, h("span", null, ((_o = this.mainTickets[0]) === null || _o === void 0 ? void 0 : _o.multiplierNum) === 1 ? `${(_p = this.mainTickets[0]) === null || _p === void 0 ? void 0 : _p.multiplierNum} Multiplier` : `${(_q = this.mainTickets[0]) === null || _q === void 0 ? void 0 : _q.multiplierNum} Multipliers`), h("span", { class: "Multiplier" }, "x")), h("span", null, `${(_r = this.mainTickets[0]) === null || _r === void 0 ? void 0 : _r.stake} EUR`), ((_s = this.gameData.rules) === null || _s === void 0 ? void 0 : _s.drawMultiplierAvailable) &&
489
485
  h("span", null, h("span", { class: "Multiplier" }, "x"), h("span", null, ((_t = this.mainTickets[0]) === null || _t === void 0 ? void 0 : _t.drawCount) === 1 ? `${(_u = this.mainTickets[0]) === null || _u === void 0 ? void 0 : _u.drawCount} Draw` : `${(_v = this.mainTickets[0]) === null || _v === void 0 ? void 0 : _v.drawCount} Draws`)))), h("hr", null), h("div", { class: "Total" }, translate('orderSummaryTotal', this.language), ": ", h("span", null, this.thousandSeperator(this.totalAmount), " ", this.currency)), this.isSubscription &&
490
- h("div", { class: "SubscriptionWrapper" }, h("lottery-subscription", { endpoint: this.endpoint, endpointSubscription: this.endpointSubscription, language: this.language, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent, gameName: this.gameData.name })), h("div", { class: "ButtonWrapper" }, this.isLoggedIn &&
486
+ h("div", { class: "SubscriptionWrapper" }, h("lottery-subscription", { endpoint: this.endpoint, endpointSubscription: this.endpointSubscription, language: this.language, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource, gameName: this.gameData.name })), h("div", { class: "ButtonWrapper" }, this.isLoggedIn &&
491
487
  h("div", null, !this.isLoading &&
492
488
  h("div", { class: "submitWrap" }, h("div", { class: "Button", onClick: () => this.handleSubmitTickets() }, translate('orderSummarySubmit', this.language)), this.showSubmitError && h("div", { class: 'submitError' }, this.submitError), this.showApiError && h("div", { class: 'submitError' }, this.apiError), this.showSubscriptionError && h("div", { class: 'submitError' }, this.subscriptionError)), this.isLoading && h("span", { class: "Button", style: { "cursor": "default" } }, translate('loading', this.language))), !this.isLoggedIn &&
493
- h("div", null, h("span", { class: "Button", onClick: () => this.showLoginModal() }, translate('orderSummarySubmit', this.language)), h("helper-modal", { "title-modal": "Success", visible: this.loginModalVisible, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h("p", { class: "SubmitModalSuccess" }, translate('modalLogin', this.language))))))), this.tabIndex == 1 &&
494
- h("div", null, h("lottery-draw-results-history", { endpoint: this.endpoint, "game-id": this.gameId, language: this.language, "translation-url": this.translationData, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })), h("helper-modal", { "title-modal": "Success", visible: this.successVisible, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h("p", { class: "SubmitModalSuccess" }, translate('submitSuccess', this.language)))));
489
+ h("div", null, h("span", { class: "Button", onClick: () => this.showLoginModal() }, translate('orderSummarySubmit', this.language)), h("helper-modal", { "title-modal": "Success", visible: this.loginModalVisible, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }, h("p", { class: "SubmitModalSuccess" }, translate('modalLogin', this.language))))))), this.tabIndex == 1 &&
490
+ h("div", null, h("lottery-draw-results-history", { endpoint: this.endpoint, "game-id": this.gameId, language: this.language, "translation-url": this.translationData, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), h("helper-modal", { "title-modal": "Success", visible: this.successVisible, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }, h("p", { class: "SubmitModalSuccess" }, translate('submitSuccess', this.language)))));
495
491
  }
496
492
  static get is() { return "lottery-game-page"; }
497
493
  static get encapsulation() { return "shadow"; }
@@ -663,7 +659,7 @@ export class LotteryGamePage {
663
659
  "reflect": true,
664
660
  "defaultValue": "''"
665
661
  },
666
- "clientStylingurl": {
662
+ "clientStylingUrl": {
667
663
  "type": "string",
668
664
  "mutable": false,
669
665
  "complexType": {
@@ -677,10 +673,27 @@ export class LotteryGamePage {
677
673
  "tags": [],
678
674
  "text": "Client custom styling via url"
679
675
  },
680
- "attribute": "client-stylingurl",
676
+ "attribute": "client-styling-url",
681
677
  "reflect": true,
682
678
  "defaultValue": "''"
683
679
  },
680
+ "mbSource": {
681
+ "type": "string",
682
+ "mutable": false,
683
+ "complexType": {
684
+ "original": "string",
685
+ "resolved": "string",
686
+ "references": {}
687
+ },
688
+ "required": false,
689
+ "optional": false,
690
+ "docs": {
691
+ "tags": [],
692
+ "text": "Client custom styling via message bus"
693
+ },
694
+ "attribute": "mb-source",
695
+ "reflect": true
696
+ },
684
697
  "translationUrl": {
685
698
  "type": "string",
686
699
  "mutable": false,
@@ -703,7 +716,6 @@ export class LotteryGamePage {
703
716
  }
704
717
  static get states() {
705
718
  return {
706
- "clientStylingUrlContent": {},
707
719
  "tickets": {},
708
720
  "mainTickets": {},
709
721
  "secondaryTickets": {},
@@ -718,7 +730,6 @@ export class LotteryGamePage {
718
730
  "nextDate": {},
719
731
  "isLoggedIn": {},
720
732
  "loginModalVisible": {},
721
- "limitStylingAppends": {},
722
733
  "isLoading": {},
723
734
  "showSubmitError": {},
724
735
  "submitError": {},
@@ -768,6 +779,15 @@ export class LotteryGamePage {
768
779
  static get elementRef() { return "element"; }
769
780
  static get watchers() {
770
781
  return [{
782
+ "propName": "clientStyling",
783
+ "methodName": "handleClientStylingChange"
784
+ }, {
785
+ "propName": "clientStylingUrl",
786
+ "methodName": "handleClientStylingUrlChange"
787
+ }, {
788
+ "propName": "mbSource",
789
+ "methodName": "handleMbSourceChange"
790
+ }, {
771
791
  "propName": "translationUrl",
772
792
  "methodName": "handleNewTranslations"
773
793
  }];