@everymatrix/lottery-tipping-entrance 1.77.24 → 1.77.26

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.
Files changed (30) hide show
  1. package/dist/cjs/draw-selection_17.cjs.entry.js +79 -133
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{lottery-tipping-entrance-877d533a.js → lottery-tipping-entrance-4da75a33.js} +149 -150
  5. package/dist/cjs/lottery-tipping-entrance.cjs.js +1 -1
  6. package/dist/collection/components/draw-selection/draw-selection.js +1 -1
  7. package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.css +2 -2
  8. package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +2 -2
  9. package/dist/esm/draw-selection_17.entry.js +80 -134
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/loader.js +1 -1
  12. package/dist/esm/{lottery-tipping-entrance-b4e791b0.js → lottery-tipping-entrance-f0f0365b.js} +149 -150
  13. package/dist/esm/lottery-tipping-entrance.js +1 -1
  14. package/dist/lottery-tipping-entrance/draw-selection_17.entry.js +1 -1
  15. package/dist/lottery-tipping-entrance/index.esm.js +1 -1
  16. package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-b4e791b0.js → lottery-tipping-entrance-f0f0365b.js} +241 -242
  17. package/dist/lottery-tipping-entrance/lottery-tipping-entrance.esm.js +1 -1
  18. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/stencil.config.d.ts +2 -0
  19. package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/stencil.config.dev.d.ts +2 -0
  20. package/package.json +1 -1
  21. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/stencil.config.d.ts +0 -2
  22. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/stencil.config.dev.d.ts +0 -2
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  24. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/storybook/main.d.ts +0 -0
  25. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/packages/stencil/lottery-tipping-entrance/storybook/preview.d.ts +0 -0
  26. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/tools/plugins/index.d.ts +0 -0
  27. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  28. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  29. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  30. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/lottery-tipping-entrance/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -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("[[\"draw-selection_17.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32]},[[0,\"selectDraw\",\"handleSelectDraw\"],[0,\"closePoolGamePage\",\"handleClosePoolGamePage\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-page\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-latest-result\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"hasDrawDates\":[32],\"lastestDate\":[32],\"drawList\":[32],\"curDrawItem\":[32],\"curDrawItemIdx\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32],\"curPrizes\":[32],\"curPrizeMap\":[32],\"curTurnOver\":[32],\"isLoading\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"vendorGameId\":[32]},[[0,\"changeDate\",\"handleChangeDate\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"date\":[1],\"isLoading\":[4,\"is-loading\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-calendar\",{\"date\":[1],\"highLightDates\":[16],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"weeks\":[32],\"days\":[32],\"alterDate\":[32],\"curDate\":[32],\"recordInfo\":[32],\"showCalendar\":[32]},null,{\"date\":[\"handleDateChange\"]}],[1,\"lottery-tipping-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-bet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"sessionId\":[513,\"session-id\"],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"drawId\":[513,\"draw-id\"],\"totalPages\":[1538,\"total-pages\"],\"minTotalPages\":[514,\"min-total-pages\"],\"maxTotalPages\":[514,\"max-total-pages\"],\"mode\":[513],\"readPretty\":[516,\"read-pretty\"],\"defaultBulletConfigLineGroup\":[513,\"default-bullet-config-line-group\"],\"translationData\":[32],\"clientStylingUrlContent\":[32],\"bulletConfigLineGroup\":[32],\"currentPage\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"dialogConfig\":[32],\"ticketDataSource\":[32],\"resetBulletConfig\":[64],\"getData\":[64]},[[0,\"lotteryTippingBulletGroupToggle\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"translationUrl\":[\"handleNewTranslations\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"fetchMatchData\"],\"sessionId\":[\"fetchMatchData\"],\"drawId\":[\"fetchMatchData\"],\"currentPage\":[\"handleCurrentPageChange\"]}],[1,\"lottery-tipping-bullet-group\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[513,\"position-idx\"],\"theme\":[513],\"mode\":[513],\"bulletConfigContent\":[513,\"bullet-config-content\"]},[[0,\"lotteryTippingBulletToggle\",\"lotteryTippingBulletSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-tooltip\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"position\":[1],\"delay\":[2],\"isVisible\":[32],\"_tooltipId\":[32]},[[1,\"mouseenter\",\"handleMouseEnterOrFocus\"],[0,\"focusin\",\"handleMouseEnterOrFocus\"],[1,\"mouseleave\",\"handleMouseLeaveOrBlur\"],[0,\"focusout\",\"handleMouseLeaveOrBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-bullet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[514,\"position-idx\"],\"theme\":[513],\"value\":[513],\"disabled\":[516],\"isSelected\":[516,\"is-selected\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"draw-selection_17.cjs\",[[1,\"lottery-tipping-entrance\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"date\":[32],\"drawId\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"isLoading\":[32],\"selectedTabIndex\":[32],\"showSelectDrawPage\":[32]},[[0,\"selectDraw\",\"handleSelectDraw\"],[0,\"closePoolGamePage\",\"handleClosePoolGamePage\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-page\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[513,\"game-id\"],\"playerId\":[514,\"player-id\"],\"sessionId\":[513,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"activeTab\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-latest-result\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"hasDrawDates\":[32],\"lastestDate\":[32],\"drawList\":[32],\"curDrawItem\":[32],\"curDrawItemIdx\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32],\"curPrizes\":[32],\"curPrizeMap\":[32],\"curTurnOver\":[32],\"isLoading\":[32],\"playTypes\":[32],\"bettingTypes\":[32],\"vendorGameId\":[32]},[[0,\"changeDate\",\"handleChangeDate\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"draw-selection\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"date\":[1],\"isLoading\":[4,\"is-loading\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-history\",{\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"gameId\":[1537,\"game-id\"],\"playerId\":[1538,\"player-id\"],\"sessionId\":[1537,\"session-id\"],\"drawId\":[513,\"draw-id\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"ticketHistory\":[32],\"activeStatus\":[32],\"statusOptions\":[32],\"isLoading\":[32],\"rawData\":[32],\"filterData\":[32],\"paginationInfo\":[32],\"quickFiltersActive\":[32],\"showCurrentTicketLine\":[32],\"curTicketItem\":[32],\"curSelection\":[32],\"curSelectionIdx\":[32],\"showCurrentDrawResult\":[32],\"curDrawItem\":[32],\"curDrawSelection\":[32],\"curDrawSelectionBettingType\":[32],\"curDrawSelectionMap\":[32]},[[0,\"pageSizeChange\",\"handlePageSizeChange\"],[0,\"pageChange\",\"handlePageChange\"],[0,\"filterChange\",\"handleFilterChange\"],[0,\"filterClear\",\"handleFilterClear\"],[0,\"poolGameCurrentPageChange\",\"handlePoolGameCurrentPageChange\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"handleGameInfoChange\"],\"endpoint\":[\"handleGameInfoChange\"],\"endpointTicket\":[\"handleTicketInfoChange\"],\"playerId\":[\"handleTicketInfoChange\"],\"sessionId\":[\"handleTicketInfoChange\"]}],[1,\"lottery-tipping-ticket-controller\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"endpoint\":[513],\"endpointTicket\":[513,\"endpoint-ticket\"],\"sessionId\":[513,\"session-id\"],\"gameId\":[513,\"game-id\"],\"playerId\":[513,\"player-id\"],\"drawId\":[513,\"draw-id\"],\"isLoading\":[32],\"bettingTypeOptions\":[32],\"playingModeOptions\":[32],\"selectedBettingType\":[32],\"selectedPlayingMode\":[32],\"hasSelectBullet\":[32],\"hasSelectAllBullet\":[32],\"totalLineCombination\":[32],\"submitLoading\":[32],\"rawData\":[32],\"dialogConfig\":[32]},[[0,\"lotteryTippingBulletBetSelect\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-calendar\",{\"date\":[1],\"highLightDates\":[16],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"weeks\":[32],\"days\":[32],\"alterDate\":[32],\"curDate\":[32],\"recordInfo\":[32],\"showCalendar\":[32]},null,{\"date\":[\"handleDateChange\"]}],[1,\"lottery-tipping-filter\",{\"quickFiltersActive\":[516,\"quick-filters-active\"],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"isOpen\":[32],\"filterData\":[32],\"ticketTypeList\":[32],\"showClearButton\":[32]},[[0,\"modalCloseEvent\",\"handleModalClose\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-pagination\",{\"total\":[2],\"pageSizeOptions\":[16],\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"],\"current\":[2],\"pageSize\":[32],\"totalPages\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"total\":[\"updateTotalPages\"],\"pageSize\":[\"updateTotalPages\"]}],[1,\"lottery-tipping-panel\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"headerTitle\":[1,\"header-title\"],\"expanded\":[32]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-banner\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"language\":[513],\"translationUrl\":[513,\"translation-url\"],\"stopTime\":[1,\"stop-time\"],\"period\":[1]},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,\"lottery-tipping-dialog\",{\"mbSource\":[1,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"visible\":[516],\"dialogTitle\":[1,\"dialog-title\"],\"width\":[1],\"closable\":[4],\"mask\":[4],\"maskClosable\":[4,\"mask-closable\"],\"animationDuration\":[2,\"animation-duration\"],\"fullscreen\":[4],\"showFooter\":[4,\"show-footer\"],\"showCancelBtn\":[4,\"show-cancel-btn\"],\"language\":[513],\"translationUrl\":[520,\"translation-url\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-ticket-bet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"language\":[513],\"sessionId\":[513,\"session-id\"],\"endpoint\":[513],\"gameId\":[513,\"game-id\"],\"drawId\":[513,\"draw-id\"],\"totalPages\":[1538,\"total-pages\"],\"minTotalPages\":[514,\"min-total-pages\"],\"maxTotalPages\":[514,\"max-total-pages\"],\"mode\":[513],\"readPretty\":[516,\"read-pretty\"],\"defaultBulletConfigLineGroup\":[513,\"default-bullet-config-line-group\"],\"translationData\":[32],\"clientStylingUrlContent\":[32],\"bulletConfigLineGroup\":[32],\"currentPage\":[32],\"isLoading\":[32],\"hasErrors\":[32],\"dialogConfig\":[32],\"ticketDataSource\":[32],\"resetBulletConfig\":[64],\"getData\":[64]},[[0,\"lotteryTippingBulletGroupToggle\",\"lotteryTippingBulletGroupSelectionHandler\"]],{\"translationUrl\":[\"handleNewTranslations\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"],\"gameId\":[\"fetchMatchData\"],\"sessionId\":[\"fetchMatchData\"],\"drawId\":[\"fetchMatchData\"],\"currentPage\":[\"handleCurrentPageChange\"]}],[1,\"lottery-tipping-bullet-group\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[513,\"position-idx\"],\"theme\":[513],\"mode\":[513],\"bulletConfigContent\":[513,\"bullet-config-content\"]},[[0,\"lotteryTippingBulletToggle\",\"lotteryTippingBulletSelectionHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"general-tooltip\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"position\":[1],\"delay\":[2],\"isVisible\":[32],\"_tooltipId\":[32]},[[1,\"mouseenter\",\"handleMouseEnterOrFocus\"],[0,\"focusin\",\"handleMouseEnterOrFocus\"],[1,\"mouseleave\",\"handleMouseLeaveOrBlur\"],[0,\"focusout\",\"handleMouseLeaveOrBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}],[1,\"lottery-tipping-bullet\",{\"mbSource\":[513,\"mb-source\"],\"clientStyling\":[513,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"positionIdx\":[514,\"position-idx\"],\"theme\":[513],\"value\":[513],\"disabled\":[516],\"isSelected\":[516,\"is-selected\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingUrlChange\"],\"mbSource\":[\"handleMbSourceChange\"]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -66,7 +66,7 @@ export class DrawSelection {
66
66
  render() {
67
67
  const backgroundImagePath = getAssetPath('../static/bg.webp');
68
68
  const infoImagePath = getAssetPath('../static/empty-info.svg');
69
- return (h("div", { key: 'e6f11ef8424e31412e8ddc333973755e7cf08d90', class: "draw-page", style: { backgroundImage: `url(${backgroundImagePath})` }, ref: (el) => (this.stylingContainer = el) }, this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("img", { src: infoImagePath, class: "empty-draw-logo" }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate('gameNotAvailable', this.language))))))));
69
+ return (h("div", { key: '35b55867b18ca9838118548c02668d9e248f31b9', class: "draw-page", style: { backgroundImage: `url(${backgroundImagePath})` }, ref: (el) => (this.stylingContainer = el) }, this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("img", { src: infoImagePath, class: "empty-draw-logo" }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate('gameNotAvailable', this.language))))))));
70
70
  }
71
71
  static get is() { return "draw-selection"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -17,14 +17,14 @@
17
17
  flex-direction: column;
18
18
  align-items: center;
19
19
  background: linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));
20
- padding-top: 10px;
21
20
  }
22
21
  .lottery-tipping-entrance__header .header {
22
+ position: relative;
23
23
  display: flex;
24
24
  align-items: center;
25
25
  justify-content: center;
26
26
  width: 100%;
27
- height: 46px;
27
+ height: 50px;
28
28
  container-type: inline-size;
29
29
  }
30
30
  .lottery-tipping-entrance__header .header-logo {
@@ -84,9 +84,9 @@ export class LotteryTippingEntrance {
84
84
  }
85
85
  render() {
86
86
  const logoImagePath = getAssetPath('../static/poolgame-bg.webp');
87
- return (h("div", { key: 'c277bc4598810d4c379043259e45f3de2b46fac2', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: 'fcaa9410ccbb2e4f3088e31c4bbffd44fb61e153', class: "select-draw-page" }, h("div", { key: 'af2cc3d3f11106269a0f1fc50ebccb48684a75a9', class: "lottery-tipping-entrance__header" }, h("div", { key: '922517a2f4deede0ef2ad2e7086e2b4b41b7c1aa', class: "header" }, h("div", { key: '0474224b516ce9e1c2948b81b7c69b2996ce0626', class: "header-logo" }, h("img", { key: '3c4729f0892a410fa6c44a7bf6f64b9b18a25038', src: logoImagePath, class: "logo" })), h("div", { key: '7c04508ca5956e42ba2a65f4cf713726c404270c', class: "header-btn" }, h("slot", { key: '86d396632d662ba2e5432642b821c6e19e38bc09', name: "logoutBtn" }))), h("div", { key: '6113c793e35467a54de826420be255d311d219fb', class: "tabs-wrap" }, h("vaadin-tabs", { key: '1b24edabfc26c01f105bf9caf77b35d8493283a8', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
87
+ return (h("div", { key: 'c277bc4598810d4c379043259e45f3de2b46fac2', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: 'fcaa9410ccbb2e4f3088e31c4bbffd44fb61e153', class: "select-draw-page" }, h("div", { key: 'af2cc3d3f11106269a0f1fc50ebccb48684a75a9', class: "lottery-tipping-entrance__header" }, h("div", { key: '922517a2f4deede0ef2ad2e7086e2b4b41b7c1aa', class: "header" }, h("div", { key: '0474224b516ce9e1c2948b81b7c69b2996ce0626', class: "header-logo" }, h("img", { key: '3c4729f0892a410fa6c44a7bf6f64b9b18a25038', src: logoImagePath, class: "logo" })), h("div", { key: '7c04508ca5956e42ba2a65f4cf713726c404270c', class: "header-btn" }, h("slot", { key: '72929174b9e5f7ce11f31be18f6d4d1f0efcd78e', name: "themeBtn" }), h("slot", { key: 'fe700224e5c86936f0fce3be1369a8fe36497955', name: "logoutBtn" }))), h("div", { key: '2a5bf1f2eeb6c39b9b4e7e702bdd202dc5650bdd', class: "tabs-wrap" }, h("vaadin-tabs", { key: 'f906c7cd69e82f345d4c2618c43142e7a91e7689', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
88
88
  this.selectedTabIndex = e.detail.value;
89
- } }, h("vaadin-tab", { key: 'c22476b10a20b2c3d34e9c3890fcd4c707b3a1fa', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: '54d102be8158297cfa78f743dd049751095ea427', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '6ec86530d23781d6291cef9972028e140cf130fb', value: "2" }, translate('instruction', this.language))))), h("div", { key: '10af874333dfdd544e958e4e4ed256da152c2cbd', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: '031a774f65b64ad327a3da8e0405d990bf84a37a', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: '662d00ed8f0ec23add4708b704a4f3a9ed4f5bb2', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: 'eb2cda1328155c9f5ac0391549f78771e20f28cb', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: 'cae833bfcd10741e0ec7f6690f85e3b033284e61', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language }))));
89
+ } }, h("vaadin-tab", { key: '887ed177cce4e2c30e28d859928c54ab8bcc9a23', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: '042e349e061bd22dbae04aa598ad4701f7ed43dc', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '45bbd97dd8b3c6dc8fa199c6c46bd5fd29a47f42', value: "2" }, translate('instruction', this.language))))), h("div", { key: 'bc205fa3ef9c763721ce5d5f710ec3ceb19c9014', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: '6f6e03cb53558c5c61c2291dd33e5f09b68e1d93', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: 'ab1c56b777f6f7fa25715091a9c4dc8f8f3d2e25', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: '5265e86573d934bdb133aa147548e9c81879570c', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: 'df8c04a309037379d2a8fc4ff91837b099a6eabd', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language }, h("slot", { key: '489e92e78df257ee9e593ab871f3af00389d327a', name: "backBtn", slot: "backBtn" }), h("slot", { key: '4024896ee7859f23033687a82bd4d1c83e3cab66', name: "themeBtn", slot: "themeBtn" }), h("slot", { key: '71bcfaa3f3648866b20d56ef789b9b89c9458ce8', name: "logoutBtn", slot: "logoutBtn" })))));
90
90
  }
91
91
  static get is() { return "lottery-tipping-entrance"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getAssetPath, a as getElement } from './index-a57b04e7.js';
2
- import { r as requiredArgs, t as toDate, a as toInteger, s as setClientStyling, b as setClientStylingURL, c as setStreamStyling, f as formatDate$2, d as translate$7, i as isMobile$1, g as getDayWithSuffixLocal, e as format, p as parseISO } from './lottery-tipping-entrance-b4e791b0.js';
3
- export { L as lottery_tipping_entrance } from './lottery-tipping-entrance-b4e791b0.js';
2
+ import { r as requiredArgs, t as toDate, a as toInteger, s as setClientStyling, b as setClientStylingURL, c as setStreamStyling, f as formatDate$2, d as translate$7, i as isMobile$1, g as getDayWithSuffixLocal, e as format, p as parseISO } from './lottery-tipping-entrance-f0f0365b.js';
3
+ export { L as lottery_tipping_entrance } from './lottery-tipping-entrance-f0f0365b.js';
4
4
 
5
5
  /**
6
6
  * @name addDays
@@ -216,7 +216,7 @@ const DrawSelection = class {
216
216
  render() {
217
217
  const backgroundImagePath = getAssetPath('../static/bg.webp');
218
218
  const infoImagePath = getAssetPath('../static/empty-info.svg');
219
- return (h("div", { key: 'e6f11ef8424e31412e8ddc333973755e7cf08d90', class: "draw-page", style: { backgroundImage: `url(${backgroundImagePath})` }, ref: (el) => (this.stylingContainer = el) }, this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate$7('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("img", { src: infoImagePath, class: "empty-draw-logo" }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate$7('gameNotAvailable', this.language))))))));
219
+ return (h("div", { key: '35b55867b18ca9838118548c02668d9e248f31b9', class: "draw-page", style: { backgroundImage: `url(${backgroundImagePath})` }, ref: (el) => (this.stylingContainer = el) }, this.date ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-title" }, h("div", { class: "draw-info-title-main" }, this.renderCurvedText()), h("div", { class: "draw-info-title-sub" }, translate$7('selectDraws', this.language))), h("div", { class: "draw-info-item-list" }, h("div", { class: "draw-info-item", onClick: this.handleSelectDraw.bind(this) }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.date)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.date)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day reverse" }, this.formattedDay(this.draw3DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw3DaysLater)), h("div", { class: "draw-info-item-projecter" })), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-item-day" }, this.formattedDay(this.draw4DaysLater)), h("div", { class: "draw-info-item-date" }, getDayWithSuffixLocal(this.draw4DaysLater)), h("div", { class: "draw-info-item-projecter" }))), h("div", { class: "draw-info-footer" }, h("div", { class: "draw-info-footer-text" }, "BONUSPOTTER"), h("div", { class: "draw-info-footer-text" }, "MIDWEEK FULL-TIME APPROX. \u20AC2.1 MILLION."), h("div", { class: "draw-info-footer-text" }, "MIDWEEK HALF_TIME APPROX. \u20AC1 40.000.")))) : this.isLoading ? (h("div", { class: "loading-indicator" }, "loading...")) : (h("div", { class: "empty-draw-wrap" }, h("div", { class: "empty-draw" }, h("img", { src: infoImagePath, class: "empty-draw-logo" }), h("div", { class: "empty-draw-content" }, h("div", { class: "empty-draw-text" }, "\u24D8 ", translate$7('gameNotAvailable', this.language))))))));
220
220
  }
221
221
  static get assetsDirs() { return ["../static"]; }
222
222
  static get watchers() { return {
@@ -1094,6 +1094,9 @@ const DEFAULT_LANGUAGE$4 = 'en';
1094
1094
  const SUPPORTED_LANGUAGES$4 = ['ro', 'en', 'fr', 'ar', 'hr'];
1095
1095
  const TRANSLATIONS$4 = {
1096
1096
  en: {
1097
+ totalItems: 'Total {total} items',
1098
+ perPage: '{size} / page',
1099
+ goTo: 'Go to',
1097
1100
  filter: 'Filter',
1098
1101
  clear: 'Clear',
1099
1102
  searchByTicketId: 'Search by Ticket ID',
@@ -1123,82 +1126,10 @@ const TRANSLATIONS$4 = {
1123
1126
  prize: 'Prize:',
1124
1127
  bettingType: 'Betting Type:'
1125
1128
  },
1126
- ro: {
1127
- ticketsHistory: 'Istoric bilete',
1128
- settled: 'Decontat',
1129
- purchased: 'Achiziționat',
1130
- canceled: 'Anulat',
1131
- noData: 'Nu sunt date disponibile.',
1132
- ticketId: 'ID bilet:',
1133
- ticketType: 'Tip bilet:',
1134
- ticketAmount: 'Suma biletului:',
1135
- lineDetail: 'Detaliu linie:',
1136
- seeDetails: 'Vezi detalii',
1137
- numberOfDraw: 'Număr de extrageri:',
1138
- ticketResult: 'Rezultat bilet:',
1139
- drawId: 'ID extragere:',
1140
- drawDate: 'Data extragerii:',
1141
- result: 'Rezultat:',
1142
- prize: 'Premiu:',
1143
- bettingType: 'Tip de pariu:'
1144
- },
1145
- fr: {
1146
- ticketsHistory: 'Historique des billets',
1147
- settled: 'Réglé',
1148
- purchased: 'Acheté',
1149
- canceled: 'Annulé',
1150
- noData: 'Aucune donnée disponible.',
1151
- ticketId: 'ID du billet:',
1152
- ticketType: 'Type de billet:',
1153
- ticketAmount: 'Montant du billet:',
1154
- lineDetail: 'Détail de la ligne:',
1155
- seeDetails: 'Voir les détails',
1156
- numberOfDraw: 'Nombre de tirages:',
1157
- ticketResult: 'Résultat du billet:',
1158
- drawId: 'ID du tirage:',
1159
- drawDate: 'Date du tirage:',
1160
- result: 'Résultat:',
1161
- prize: 'Prix:',
1162
- bettingType: 'Type de pari:'
1163
- },
1164
- ar: {
1165
- ticketsHistory: 'سجل التذاكر',
1166
- settled: 'تمت التسوية',
1167
- purchased: 'تم شراؤها',
1168
- canceled: 'تم الإلغاء',
1169
- noData: 'لا توجد بيانات متاحة.',
1170
- ticketId: 'معرف التذكرة:',
1171
- ticketType: 'نوع التذكرة:',
1172
- ticketAmount: 'مبلغ التذكرة:',
1173
- lineDetail: 'تفاصيل الخط:',
1174
- seeDetails: 'انظر التفاصيل',
1175
- numberOfDraw: 'عدد السحوبات:',
1176
- ticketResult: 'نتيجة التذكرة:',
1177
- drawId: 'معرف السحب:',
1178
- drawDate: 'تاريخ السحب:',
1179
- result: 'النتيجة:',
1180
- prize: 'الجائزة:',
1181
- bettingType: 'نوع الرهان:'
1182
- },
1183
- hr: {
1184
- ticketsHistory: 'Povijest listića',
1185
- settled: 'Riješeno',
1186
- purchased: 'Kupljeno',
1187
- canceled: 'Otkazano',
1188
- noData: 'Nema dostupnih podataka.',
1189
- ticketId: 'ID listića:',
1190
- ticketType: 'Vrsta listića:',
1191
- ticketAmount: 'Iznos listića:',
1192
- lineDetail: 'Detalji linije:',
1193
- seeDetails: 'Vidi detalje',
1194
- numberOfDraw: 'Broj izvlačenja:',
1195
- ticketResult: 'Rezultat listića:',
1196
- drawId: 'ID izvlačenja:',
1197
- drawDate: 'Datum izvlačenja:',
1198
- result: 'Rezultat:',
1199
- prize: 'Nagrada:',
1200
- bettingType: 'Vrsta oklade:'
1201
- }
1129
+ ro: {},
1130
+ fr: {},
1131
+ ar: {},
1132
+ hr: {}
1202
1133
  };
1203
1134
  const translate$4 = (key, customLang, replacements) => {
1204
1135
  const lang = customLang;
@@ -1348,16 +1279,16 @@ const LotteryTippingFilter = class {
1348
1279
  render() {
1349
1280
  return (h("div", { key: '74aa590f6f92b9df971fd17cb3f573cc6a0a68e9', class: "lottery-tipping-filter", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'ebf385371627466c5eb06a5ef75a14a467b1badd', class: "operate-btns" }, !this.showClearButton && (h("div", { key: '55c709034e124b51e8b9057980f5a3c3b8c6d5ce', class: "operate-btn", onClick: () => {
1350
1281
  this.isOpen = true;
1351
- } }, translate$4('filter', this.language))), (this.showClearButton || this.quickFiltersActive) && (h("div", { key: 'aa747af2461e72fbacc16decd7fc75cd6f640c47', class: "operate-btn", onClick: () => this.resetSearch() }, translate$4('clear', this.language)))), h("lottery-tipping-dialog", { key: 'f8f41b7ff5114a48a840063b5f063e28cc61e31c', "dialog-title": translate$4('ticketResult', this.language), visible: this.isOpen, onCancel: () => {
1282
+ } }, translate$4('filter', this.language))), (this.showClearButton || this.quickFiltersActive) && (h("div", { key: 'aa747af2461e72fbacc16decd7fc75cd6f640c47', class: "operate-btn", onClick: () => this.resetSearch() }, translate$4('clear', this.language)))), h("lottery-tipping-dialog", { key: '9a9472dee498db7acc83fd96db89b635be07a837', "dialog-title": translate$4('ticketResult', this.language), visible: this.isOpen, onCancel: () => {
1352
1283
  this.isOpen = false;
1353
- }, onConfirm: this.handleDialogConfirm(), animationDuration: 300, language: this.language, "translation-url": this.translationUrl }, h("div", { key: 'a7510ed9b89b568d6829777bfbbc33bc3fdbb9b4', class: "dialog-content" }, h("div", { key: '25f1a6e8e4f389cc6157468338eb4bac9996a5cd', class: "filter-item" }, h("div", { key: 'a49fded71e3ddc45dc26c7bb47f29132907bcf5f', class: "filter-item-label" }, translate$4('searchByTicketId', this.language)), h("div", { key: '281d3ebd48ab27fbd82328a684fcf3e11bd68176', class: "filter-item-val" }, h("vaadin-text-field", { key: '3ca7edba908e9ff1d6ab16c5c60e5a1cdb06d9c9', placeholder: translate$4('enterTicketId', this.language), value: this.filterData.ticketId, onInput: (event) => {
1284
+ }, onConfirm: this.handleDialogConfirm.bind(this), animationDuration: 300, language: this.language, "translation-url": this.translationUrl }, h("div", { key: 'a7bfe435c8f7a43abf2c2d500d7e31fe62123787', class: "dialog-content" }, h("div", { key: '4fcf5f1d3da61ba5e3e8c09b4a97339c1eafaf64', class: "filter-item" }, h("div", { key: '397bb60af15071331c46c0b83366475ef66205fd', class: "filter-item-label" }, translate$4('searchByTicketId', this.language)), h("div", { key: '657e0014bb0d8af52ed273149bad534b2cd035b6', class: "filter-item-val" }, h("vaadin-text-field", { key: 'e1d5c688281bf52ad5d90b81e66a495418c484ba', placeholder: translate$4('enterTicketId', this.language), value: this.filterData.ticketId, onInput: (event) => {
1354
1285
  this.filterData.ticketId = event.target.value;
1355
- } }))), h("div", { key: '9bee76f675ef9934db69a1f06e5b40c4e2e94bf2', class: "filter-item" }, h("div", { key: 'd9251a523137fab3410c0ce8597a70ba7cffaf73', class: "filter-item-label" }, translate$4('searchByTicketType', this.language)), h("div", { key: 'ddc4c4a1c436d874f9c13d4612690d6360815633', class: "general-multi-select-container" }, h("general-multi-select", { key: 'b08fc68491d530937356d519f37362b2e3bf13c8', ref: (el) => (this.comboBox = el), placeholder: translate$4('selectTicketType', this.language), "max-visible-chips": "2", options: this.ticketTypeList.map((item) => ({
1286
+ } }))), h("div", { key: '3a49c0cb8361f19610be76c831320b9506414569', class: "filter-item" }, h("div", { key: 'abb2c02f3bf1c84d439499430696aa11f78c1ba7', class: "filter-item-label" }, translate$4('searchByTicketType', this.language)), h("div", { key: '1f8212f290fc32407b6cf5122099be2b2ee9a867', class: "general-multi-select-container" }, h("general-multi-select", { key: 'b79ebc1f60722e38436309b5699591368d2cb396', ref: (el) => (this.comboBox = el), placeholder: translate$4('selectTicketType', this.language), "max-visible-chips": "2", options: this.ticketTypeList.map((item) => ({
1356
1287
  text: item.label,
1357
1288
  value: item.value
1358
- })), onChange: this.handleTicketType, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource }))), h("div", { key: '516fd4574674db32d3e8c9994a8c8cfb3b972364', class: "filter-item" }, h("div", { key: 'ce608f365c0297ff7b3aa1cbe64a51505e441f2c', class: "filter-item-label" }, translate$4('searchByDate', this.language)), h("div", { key: '9456716fb9e3a392cbb5c16f706b3dc144b0ccbe', class: "filter-item-val" }, h("vaadin-date-picker", { key: 'fb574b38a9e9143bf47fecd16638d50e2b9605a5', value: this.filterData.filterFromCalendar, max: this.filterData.filterToCalendar === undefined
1289
+ })), onChange: this.handleTicketType, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource }))), h("div", { key: '29c515bff2771f2fc542ec19308bab60b249873f', class: "filter-item" }, h("div", { key: 'bae8243eb9a551c545d8f78a83bd9f2717d282cb', class: "filter-item-label" }, translate$4('searchByDate', this.language)), h("div", { key: '96eaf18f338ccaca9088fb8517a3992dd188dcbf', class: "filter-item-val" }, h("vaadin-date-picker", { key: 'b49512011902e9f5c9993901a1533fecb2425e3a', value: this.filterData.filterFromCalendar, max: this.filterData.filterToCalendar === undefined
1359
1290
  ? undefined
1360
- : this.changeFormate(this.filterData.filterToCalendar), onChange: this.handleFilterFrom, placeholder: translate$4('from', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" }), h("vaadin-date-picker", { key: '3fc353dd8b7919219731934cf76c75ea13c38e35', value: this.filterData.filterToCalendar, min: this.filterData.filterFromCalendar === undefined
1291
+ : this.changeFormate(this.filterData.filterToCalendar), onChange: this.handleFilterFrom, placeholder: translate$4('from', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" }), h("vaadin-date-picker", { key: 'a4132154143d20e048a526a3947d00bb9533e0b3', value: this.filterData.filterToCalendar, min: this.filterData.filterFromCalendar === undefined
1361
1292
  ? undefined
1362
1293
  : this.changeFormate(this.filterData.filterFromCalendar), onChange: this.handleFilterTo, placeholder: translate$4('to', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" })))))));
1363
1294
  }
@@ -1795,7 +1726,7 @@ const resolveTranslationUrl$1 = async (translationUrl) => {
1795
1726
  }
1796
1727
  };
1797
1728
 
1798
- const lotteryTippingPageCss = ".lottery-tipping-page {\n container-type: inline-size;\n background: var(--emw--color-background, #fff);\n}\n.lottery-tipping-page-header {\n height: 56px;\n padding: 8px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.lottery-tipping-page-header .tab-btns {\n display: flex;\n align-items: center;\n gap: 40px;\n flex: 1;\n justify-content: center;\n}\n.lottery-tipping-page-header .tab-btn {\n padding: 0 8px;\n line-height: 40px;\n font-size: 16px;\n cursor: pointer;\n font-weight: 600;\n height: 40px;\n border: 2px solid var(--emw--color-primary, #fed275);\n border-radius: 8px;\n color: var(--emw--color-typography, #000);\n transition: all 0.2s linear;\n}\n.lottery-tipping-page-header .tab-btn.active {\n background-color: var(--emw--color-primary, #fed275);\n color: var(--emw--color-typography, #000);\n border: 1px solid var(--emw--color-typography, #000);\n}\n\n@container (min-width: 1200px) {\n .tab-btns {\n gap: 40px;\n }\n}\n@container (max-width: 480px) {\n .tab-btns {\n gap: 24px;\n }\n}";
1729
+ const lotteryTippingPageCss = ".lottery-tipping-page {\n container-type: inline-size;\n background: var(--emw--color-background, #fff);\n}\n.lottery-tipping-page-header {\n height: 56px;\n padding: 8px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.lottery-tipping-page-header-operation {\n display: flex;\n gap: 14px;\n align-items: center;\n}\n.lottery-tipping-page-header .tab-btns {\n display: flex;\n align-items: center;\n gap: 40px;\n flex: 1;\n justify-content: center;\n}\n.lottery-tipping-page-header .tab-btn {\n padding: 0 8px;\n line-height: 40px;\n font-size: 16px;\n cursor: pointer;\n font-weight: 600;\n height: 40px;\n border: 2px solid var(--emw--color-primary, #fed275);\n border-radius: 8px;\n color: var(--emw--color-typography, #000);\n transition: all 0.2s linear;\n}\n.lottery-tipping-page-header .tab-btn.active {\n background-color: var(--emw--color-primary, #fed275);\n color: var(--emw--color-typography, #000);\n border: 1px solid var(--emw--color-typography, #000);\n}\n\n@container (min-width: 1200px) {\n .tab-btns {\n gap: 40px;\n }\n}\n@container (max-width: 480px) {\n .tab-btns {\n gap: 24px;\n }\n}";
1799
1730
  const LotteryTippingPageStyle0 = lotteryTippingPageCss;
1800
1731
 
1801
1732
  const LotteryTippingPage = class {
@@ -1869,7 +1800,7 @@ const LotteryTippingPage = class {
1869
1800
  return null;
1870
1801
  }
1871
1802
  render() {
1872
- return (h("div", { key: 'b0048b80e5eb80159834be8cf6309b22e4ce4407', class: "lottery-tipping-page", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'f4931434d199d23af6a233b29987532772e96dc5', class: "lottery-tipping-page-header" }, h("slot", { key: '0cccb00da9bf3de659757b07870a96045c41f673', name: "backBtn" }), this.renderTabs(), h("slot", { key: '026c5ee7f31a2ed0782dacfb648fed3d994c6af9', name: "logoutBtn" })), h("div", { key: '9cdf7d28159a7173d145b864e3ed4ad8f597dfce', class: "lottery-tipping-content" }, this.renderContent())));
1803
+ return (h("div", { key: 'b0048b80e5eb80159834be8cf6309b22e4ce4407', class: "lottery-tipping-page", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'f4931434d199d23af6a233b29987532772e96dc5', class: "lottery-tipping-page-header" }, h("slot", { key: '0cccb00da9bf3de659757b07870a96045c41f673', name: "backBtn" }), this.renderTabs(), h("div", { key: 'a78c1a0fd42a64066e301ad1c67f6e9b0b7c5af5', class: "lottery-tipping-page-header-operation" }, h("slot", { key: '52b131b36c68e0a3a0e92c096743e25f0d651daa', name: "themeBtn" }), h("slot", { key: '6a7eb76b44fab6e12de490e068c215545b09ae35', name: "logoutBtn" }))), h("div", { key: 'b0eb7885b4ddd24672cf68768bbf48d8431cc472', class: "lottery-tipping-content" }, this.renderContent())));
1873
1804
  }
1874
1805
  static get watchers() { return {
1875
1806
  "clientStyling": ["handleClientStylingChange"],
@@ -2053,6 +1984,13 @@ const isMobile = (userAgent) => {
2053
1984
  userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
2054
1985
  userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
2055
1986
  };
1987
+ const showNotification$2 = ({ message, theme = 'success' }) => {
1988
+ window.postMessage({
1989
+ type: 'ShowNotificationToast',
1990
+ message,
1991
+ theme
1992
+ });
1993
+ };
2056
1994
 
2057
1995
  const lotteryTippingPaginationCss = ".paginator{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}button{padding:4px 8px;font-size:14px;background:var(--emw--color-background, #fff);border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));border-radius:var(--emw--border-radius-small, 4px);cursor:pointer;min-width:28px;transition:all 0.2s ease}button.active{color:#333;background:var(--emw--color-primary, #fed275);border-color:var(--emw--color-primary, #fed275);font-weight:bold}button:not(.arrow-btn):hover{background:var(--emw--color-secondary, #fff3b9);border-color:var(--emw--color-secondary, #fff3b9)}button:disabled{cursor:not-allowed;border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));user-select:none}.ellipsis{font-weight:bold;color:var(--emw--color-typography, #000);border:none}select{padding:4px 8px;border-radius:4px;border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));font-size:14px}.jump-box{display:flex;align-items:center;gap:4px;margin-left:8px}.jump-box input{width:50px;padding:2px 6px;font-size:14px;border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));border-radius:4px;text-align:center}.total-num{user-select:none;font-size:14px;color:var(--emw--color-typography, #333)}";
2058
1996
  const LotteryTippingPaginationStyle0 = lotteryTippingPaginationCss;
@@ -2707,21 +2645,12 @@ const DEFAULT_BULLET_CONFIG = [
2707
2645
  }
2708
2646
  ];
2709
2647
  const SPLIT_TOKEN = '-';
2710
- const showNotification = ({ message, theme = 'success', position = 'top-end', duration = 3000 }) => {
2711
- if (!customElements.get('vaadin-notification')) {
2712
- console.warn('vaadin-notification is not registered. Please ensure it is imported.');
2713
- }
2714
- const notification = document.createElement('vaadin-notification');
2715
- notification.renderer = (root) => {
2716
- root.textContent = message;
2717
- };
2718
- notification.duration = duration;
2719
- if (theme) {
2720
- notification.setAttribute('theme', theme);
2721
- }
2722
- notification.setAttribute('position', position);
2723
- document.body.appendChild(notification);
2724
- notification.opened = true;
2648
+ const showNotification = ({ message, theme = 'success' }) => {
2649
+ window.postMessage({
2650
+ type: 'ShowNotificationToast',
2651
+ message,
2652
+ theme
2653
+ });
2725
2654
  };
2726
2655
 
2727
2656
  const lotteryTippingTicketBetCss = ".LotteryTippingTicketBet__container {\n display: block; /* Or inline-block, depending on desired layout flow */\n font-size: 14px;\n line-height: 1.5715;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n overflow: hidden;\n min-width: 300px;\n container-type: inline-size;\n}\n@container (max-width: 375px) {\n .LotteryTippingTicketBet__container {\n font-size: 12px;\n }\n}\n\n.table-wrapper {\n overflow-x: auto; /* Handle horizontal scroll if content overflows */\n}\n\n.my-table-component {\n width: 100%;\n border-collapse: collapse; /* Important for borders */\n text-align: left;\n border-radius: 0.1rem; /* Ant Design like subtle rounding */\n border-spacing: 0;\n}\n\n/* Header */\n.my-table-component th {\n background: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n font-weight: 500;\n padding: 0.4rem 0.5rem;\n transition: background 0.3s ease;\n}\n\n/* Cells */\n.my-table-component td {\n padding: 0.4rem 0.5rem;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n transition: background 0.3s;\n}\n@container (max-width: 400px) {\n .my-table-component td {\n padding: 0.3rem 0.3rem;\n }\n}\n\n.my-table-component.bordered th,\n.my-table-component.bordered td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Bordered style */\n.my-table-component.grid th,\n.my-table-component.grid td {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid th {\n border-bottom-width: 1px; /* Ensure bottom border is consistent */\n}\n\n.my-table-component.grid {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6); /* Outer border */\n border-right-width: 0;\n border-bottom-width: 0;\n}\n\n.my-table-component.grid th:last-child,\n.my-table-component.grid td:last-child {\n border-right: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid tr:last-child td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Striped style */\n.my-table-component.striped tbody tr:nth-child(even) td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n/* Hover (optional, but nice) */\n.my-table-component tbody tr:hover td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.flex {\n display: flex;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 0.5rem;\n}\n\n.btn {\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n font-size: 14px;\n transition: all 0.2s ease;\n}\n.btn:hover {\n cursor: pointer;\n}\n\n.btn:hover {\n background-color: var(--emw--color-gray-100, #e6e6e6);\n}\n\n.btn.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n.btn.disabled:hover {\n cursor: not-allowed !important;\n}\n\n.LotteryTippingTicketBet__tableToolbar {\n width: 100%;\n margin-bottom: 1rem;\n}\n\n.LotteryTippingTicketBet__tableToolbar--item {\n background-color: transparent;\n cursor: pointer;\n font-weight: 500;\n white-space: nowrap;\n display: inline-flex;\n border-radius: 1.6rem;\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n padding-right: 1rem;\n margin-right: 2rem;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketBet__tableToolbar--item.mr-0 {\n margin-right: 0rem !important;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup {\n flex-basis: 2rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n border-radius: 8px;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 2rem;\n height: 2rem;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n border-radius: 8px;\n transition: all 0.2s ease-in-out;\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item img {\n width: 20px;\n height: 20px;\n transition: filter 0.2s ease-in-out;\n filter: grayscale(0.3);\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover img {\n filter: grayscale(0);\n transform: rotate(3deg);\n}\n\ndiv.border-line {\n margin-top: 1rem;\n height: 1px;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n transition: all 0.3s ease;\n}\n\n.LotteryTippingTicketBet__footer {\n padding: 0.5rem;\n}\n\n.my-pagination {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n font-size: 0.8rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n\n.my-pagination span {\n font-weight: 500;\n user-select: none;\n}\n\n.my-pagination .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n transition: all 0.3s ease;\n cursor: pointer;\n opacity: 0.9;\n color: var(--emw--color-typography, #000);\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.my-pagination .btn img {\n width: 20px;\n height: 20px;\n transition: transform 0.2s ease;\n}\n\n.my-pagination .btn:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.my-pagination .btn.disabled {\n background-color: var(--emw--color-background-tertiary, #ccc);\n cursor: not-allowed;\n opacity: 0.5;\n transform: scale(1);\n}\n\n.match-info-item {\n display: flex;\n}\n\n.match-info-item-label {\n margin-right: 6px;\n}\n\n.info-icon:hover {\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__empty p {\n text-align: center;\n}\n\n.no-wrap {\n white-space: nowrap;\n overflow: hidden;\n}\n\n.eventNameContainer__item {\n line-height: 1rem;\n}\n.eventNameContainer__item--title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 300px;\n}\n@container (max-width: 600px) {\n .eventNameContainer__item--title {\n max-width: 180px;\n }\n}\n@container (max-width: 500px) {\n .eventNameContainer__item--title {\n max-width: 150px;\n }\n}\n@container (max-width: 400px) {\n .eventNameContainer__item--title {\n max-width: 100px;\n }\n}\n@container (max-width: 330px) {\n .eventNameContainer__item--title {\n max-width: 70px;\n }\n}\n\n.LotteryTippingTicketBet__main {\n perspective: 800px;\n will-change: transform, opacity;\n backface-visibility: hidden;\n}\n\n@container (max-width: 520px) {\n .LotteryTippingTicketBet__main {\n flex-wrap: wrap;\n justify-content: center;\n }\n .LotteryTippingTicketBet__tableToolbar--item {\n margin-right: 0 !important;\n }\n}\n/* Fade-In Keyframes */\n@keyframes fadeInLeft {\n from {\n opacity: 0;\n transform: translateX(100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* Fade-Out Keyframes */\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fadeInRight {\n from {\n opacity: 0;\n transform: translateX(-100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 100% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n@keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n/* Apply to your card classes */\n.card-in-left {\n -webkit-animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-left {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-right {\n -webkit-animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-right {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-up {\n -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-down {\n animation: fadeOut 0.2s ease-out both;\n}";
@@ -3489,23 +3418,49 @@ const LotteryTippingTicketHistory = class {
3489
3418
  setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
3490
3419
  }
3491
3420
  }
3492
- connectedCallback() {
3493
- const fetchData = () => {
3494
- let url = new URL(`${this.endpoint}/games/${this.gameId}`);
3421
+ async fetchGameData() {
3422
+ var _a;
3423
+ try {
3495
3424
  this.isLoading = true;
3496
- fetcher$2(url.href)
3497
- .then((res) => {
3498
- this.rawData = res;
3499
- })
3500
- .finally(() => {
3501
- this.isLoading = false;
3502
- });
3503
- };
3504
- fetchData();
3425
+ let url = new URL(`${this.endpoint}/games/${this.gameId}`);
3426
+ const res = await fetcher$2(url.href);
3427
+ this.rawData = res;
3428
+ }
3429
+ catch (e) {
3430
+ showNotification$2({ message: (_a = e.message) !== null && _a !== void 0 ? _a : e, theme: 'error' });
3431
+ }
3432
+ finally {
3433
+ this.isLoading = false;
3434
+ }
3435
+ }
3436
+ connectedCallback() {
3437
+ if (this.endpoint && this.gameId) {
3438
+ this.fetchGameData();
3439
+ }
3440
+ }
3441
+ handleGameInfoChange(newValue, oldValue) {
3442
+ if (newValue && newValue != oldValue) {
3443
+ this.fetchGameData();
3444
+ }
3445
+ }
3446
+ handleTicketInfoChange(newValue, oldValue) {
3447
+ if (newValue && newValue != oldValue) {
3448
+ this.fetchTicketList();
3449
+ }
3505
3450
  }
3506
3451
  disconnectedCallback() {
3507
3452
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
3508
3453
  }
3454
+ // fetchGameData() {
3455
+ // try {
3456
+ // let url: URL = new URL(`${this.endpoint}/games/${this.gameId}`);
3457
+ // fetcher(url.href).then((res) => {
3458
+ // this.rawData = res;
3459
+ // });
3460
+ // } catch (e) {
3461
+ // this.showNotification(e.message, 'error');
3462
+ // }
3463
+ // }
3509
3464
  async fetchTicketList() {
3510
3465
  this.isLoading = true;
3511
3466
  try {
@@ -3514,7 +3469,6 @@ const LotteryTippingTicketHistory = class {
3514
3469
  });
3515
3470
  this.ticketHistory = items;
3516
3471
  this.paginationInfo.total = total;
3517
- this.isLoading = false;
3518
3472
  if (items.length > 0) {
3519
3473
  this.getDrawResult();
3520
3474
  }
@@ -3522,7 +3476,7 @@ const LotteryTippingTicketHistory = class {
3522
3476
  catch (e) {
3523
3477
  console.log('in fetchTicketList error is: ', e);
3524
3478
  if (e.status === 401) {
3525
- this.showNotification(e.message, 'error');
3479
+ showNotification$2({ message: e.message, theme: 'error' });
3526
3480
  this.logout.emit();
3527
3481
  }
3528
3482
  }
@@ -3539,19 +3493,6 @@ const LotteryTippingTicketHistory = class {
3539
3493
  console.log(e);
3540
3494
  }
3541
3495
  }
3542
- showNotification(message, theme = '', position = 'top-end') {
3543
- const notification = document.createElement('vaadin-notification');
3544
- notification.renderer = (root) => {
3545
- root.textContent = message;
3546
- };
3547
- notification.duration = 5000;
3548
- if (theme) {
3549
- notification.setAttribute('theme', theme);
3550
- }
3551
- notification.setAttribute('position', position);
3552
- document.body.appendChild(notification);
3553
- notification.opened = true;
3554
- }
3555
3496
  getDivision(detail, drawData) {
3556
3497
  var _a;
3557
3498
  let division = detail.division;
@@ -3704,20 +3645,25 @@ const LotteryTippingTicketHistory = class {
3704
3645
  return name !== null && name !== void 0 ? name : bettingType;
3705
3646
  }
3706
3647
  render() {
3707
- return (h("div", { key: '27d7945395c1bd5cf8c50fabcf9358dd10a2f379', class: "lottery-tipping-ticket-history", ref: (el) => (this.stylingContainer = el) }, h("div", { key: '29bf61bc1b7a2f34bf24814c5d256bc84b703fa9', class: "ticket-history-title" }, translate$4('ticketsHistory', this.language)), h("div", { key: 'aabcc336535e36248c07afac1b3777c8e00e6d36', class: "filter-wrap" }, h("div", { key: '6a2ce1224363104c27d63026e3d246f70db12516', class: "filter-status" }, this.statusOptions.map((status) => (h("div", { class: 'filter-status-btn' + (this.activeStatus == status.value ? ' active' : ''), onClick: () => this.changeStatus(status.value) }, status.label)))), h("div", { key: '740826baea69e1adf534bcf9a2bb4d5083fa9d90', class: "filter-operation" }, h("lottery-tipping-filter", { key: '395ebb8b2c040804adb4e0a87daff0d01a0598cf', "quick-filters-active": this.quickFiltersActive, language: this.language, "translation-url": this.translationUrl }))), this.isLoading && (h("div", { key: 'c27852dcd7902ac43a1ff7408476e5f8667c1010', class: "loading-wrap" }, h("section", { key: '9ab2fea4cafdefe3accbc0e49be19ec16158cd14', class: "dots-container" }, h("div", { key: 'c5d6c3227c51c462eb4bcca926b7ab70e3676dfd', class: "dot" }), h("div", { key: '9ac68a72b257614a1c048a870f18753fe85967db', class: "dot" }), h("div", { key: '6c5d426f926a5726a3d88ad509fc6e38f715c10d', class: "dot" }), h("div", { key: '90959f4befb4d2308a1cf1651dd76f7be71b3e34', class: "dot" }), h("div", { key: '1e8dda2f5e4e460cb0f4aa7897b19fad23d98834', class: "dot" })))), !this.isLoading && (!this.ticketHistory || this.ticketHistory.length == 0) && (h("div", { key: '452303d3d8221e2c3905b1d0d2e81651f1e62038', class: "empty-wrap" }, translate$4('noData', this.language))), !this.isLoading && this.ticketHistory && this.ticketHistory.length != 0 && (h("div", { key: 'e7c5d75d70077d6b65a006fa6169ff9d2edca2ea', class: "ticket-list-wrap" }, this.ticketHistory.map((item) => (h("lottery-tipping-panel", { "header-title": format(new Date(item.createdAt), 'dd/MM/yyyy HH:mm:ss') + ' ' + item.state }, h("div", { class: "panel-content", slot: "content" }, h("div", { class: "ticket-info" }, h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketId', this.language)), h("div", { class: "ticket-info-val" }, item.id, " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketType', this.language)), h("div", { class: "ticket-info-val" }, this.ticketTypeMap[item.wagerType], " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketAmount', this.language)), h("div", { class: "ticket-info-val" }, `${item.amount} ${item.currency}`)), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('lineDetail', this.language)), h("div", { class: "ticket-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowTicketLineDetial(item) }, translate$4('seeDetails', this.language)))), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('numberOfDraw', this.language)), h("div", { class: "ticket-info-val" }, item.drawCount))), item.state == 'Settled' &&
3708
- item.drawResults.map((drawResultItem) => (h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('ticketResult', this.language)), h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('drawDate', this.language)), h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$4('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('prize', this.language)), h("div", { class: "draw-info-val1" }, h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (h("span", null, h("div", null, h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (h("div", { class: "skeleton-line" })))))))))))))), h("lottery-tipping-dialog", { key: '913a521d05ae95b088fba515d951bc79b1433938', visible: this.showCurrentTicketLine, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
3648
+ return (h("div", { key: '9dbed4dca8e568a334c63748d1768ace33922270', class: "lottery-tipping-ticket-history", ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4149c4c6f067be28f1334a8642790d9886d219ef', class: "ticket-history-title" }, translate$4('ticketsHistory', this.language)), h("div", { key: '185ac4ad602e6e8bb0ec025a5cc2c4a9b8418444', class: "filter-wrap" }, h("div", { key: 'd136c367780b696403f075b261f2009cc94edc5d', class: "filter-status" }, this.statusOptions.map((status) => (h("div", { class: 'filter-status-btn' + (this.activeStatus == status.value ? ' active' : ''), onClick: () => this.changeStatus(status.value) }, status.label)))), h("div", { key: 'e6a30ef0f8c957813a7b13238353709cfb9e2dd9', class: "filter-operation" }, h("lottery-tipping-filter", { key: '4e1e0ba0eeafd7e64344c2b8e4e7d0c0f097127b', "quick-filters-active": this.quickFiltersActive, language: this.language, "translation-url": this.translationUrl }))), this.isLoading && (h("div", { key: 'f572e1bd9cbf97948b9a9bda34f34c1407a8007e', class: "loading-wrap" }, h("section", { key: '9198457f400b175e4c9721449e49a987090860d9', class: "dots-container" }, h("div", { key: '0b1196e3ad2b05ef91965b2a52728e5386578e4b', class: "dot" }), h("div", { key: '19a5b0bc39fd931455a7972d66b640ca36685ea9', class: "dot" }), h("div", { key: '8bf3a43540d38c98d27cb7bf61d7595123a4739c', class: "dot" }), h("div", { key: '5ed33ee21018c3b2aae97a6b1345fdec2072fefe', class: "dot" }), h("div", { key: '2d4404c8e0d39dc82bb25554c242d27e091a9932', class: "dot" })))), !this.isLoading && (!this.ticketHistory || this.ticketHistory.length == 0) && (h("div", { key: '4b731612e57d8bde341da7d639dec6f245c7156d', class: "empty-wrap" }, translate$4('noData', this.language))), !this.isLoading && this.ticketHistory && this.ticketHistory.length != 0 && (h("div", { key: 'c9a17cc74f32ae9277d069a8633f38a8478e642c', class: "ticket-list-wrap" }, this.ticketHistory.map((item) => (h("lottery-tipping-panel", { "header-title": format(new Date(item.createdAt), 'dd/MM/yyyy HH:mm:ss') + ' ' + item.state }, h("div", { class: "panel-content", slot: "content" }, h("div", { class: "ticket-info" }, h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketId', this.language)), h("div", { class: "ticket-info-val" }, item.id, " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketType', this.language)), h("div", { class: "ticket-info-val" }, this.ticketTypeMap[item.wagerType], " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('ticketAmount', this.language)), h("div", { class: "ticket-info-val" }, `${item.amount} ${item.currency}`)), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('lineDetail', this.language)), h("div", { class: "ticket-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowTicketLineDetial(item) }, translate$4('seeDetails', this.language)))), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$4('numberOfDraw', this.language)), h("div", { class: "ticket-info-val" }, item.drawCount))), item.state == 'Settled' &&
3649
+ item.drawResults.map((drawResultItem) => (h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('ticketResult', this.language)), h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('drawDate', this.language)), h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$4('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$4('prize', this.language)), h("div", { class: "draw-info-val1" }, h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (h("span", null, h("div", null, h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (h("div", { class: "skeleton-line" })))))))))))))), h("lottery-tipping-dialog", { key: '4ef7d281084bc6441e6a3e666ac52a7df3dfd28c', visible: this.showCurrentTicketLine, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
3709
3650
  this.showCurrentTicketLine = false;
3710
- }, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '6608c983a4bc781f4beac6488b0857abfb59ca48' }, h("div", { key: '77690236f6e654e8f178bdb6fb76f49826b02a60', class: "betting-type" }, h("div", { key: '30d239aa23d01edb20049b5fbbbbc094c6742f75', class: "betting-type-title" }, translate$4('bettingType', this.language)), h("div", { key: '93770717ac08bbacc84d9de8b16133073e36d4c9', class: "betting-type-text" }, this.getBettingTypeName(this.getBettingType(this.curTicketItem.selection[this.curSelectionIdx].betType)))), h("lottery-tipping-ticket-bet", { key: '11641a37abe2ca65ecb706f94ce8a911f9e849d9', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curTicketItem.vendorGameId, "draw-id": this.curTicketItem.startingDrawId, "default-bullet-config-line-group": JSON.stringify(this.curSelection), "read-pretty": true, "total-pages": this.curSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("lottery-tipping-dialog", { key: 'fdac976410e6b1b1e1ea20072d5c4caa474f4130', visible: this.showCurrentDrawResult, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
3651
+ }, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '0fe7ae0f7deceb8b3c939a401efafe70124411dd' }, h("div", { key: '5418df176032a83dbd05ee545fffc255694413a2', class: "betting-type" }, h("div", { key: '8fb74f2041677fe8876a54773451d00f53abe0df', class: "betting-type-title" }, translate$4('bettingType', this.language)), h("div", { key: 'b9bc169c4df854a59606d0ddf330707677720263', class: "betting-type-text" }, this.getBettingTypeName(this.getBettingType(this.curTicketItem.selection[this.curSelectionIdx].betType)))), h("lottery-tipping-ticket-bet", { key: 'e76e8c1a24b22668d82f54bfed708afb676f23c9', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curTicketItem.vendorGameId, "draw-id": this.curTicketItem.startingDrawId, "default-bullet-config-line-group": JSON.stringify(this.curSelection), "read-pretty": true, "total-pages": this.curSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("lottery-tipping-dialog", { key: 'cf4220d7b9ef7a174ab059574e1d758096cf6f6c', visible: this.showCurrentDrawResult, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
3711
3652
  this.showCurrentDrawResult = false;
3712
- }, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: 'b495d8bb01c4bb18edf951889850d56700564d8b' }, h("div", { key: '77443b43ee363dd2051da4a8c6cb004f2acab410', class: "betting-type" }, h("div", { key: 'ada4a3803b9073e78c248790f24de86900e5776f', class: "betting-type-title" }, translate$4('bettingType', this.language)), h("div", { key: '20826ed1192db8acfb25310c31252cb7f5a75f2a', class: "betting-type-text" }, h("div", { key: '7721c04879283138870833b3ce0b881cd84aec6c', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
3653
+ }, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: '61214e66f20708cf92fa12d9b3afa3feee2e4335' }, h("div", { key: '589010058422524a0b3478cee60fa13703d921e9', class: "betting-type" }, h("div", { key: '657e2cede56274839d1e56784e7f85e61c5b3a42', class: "betting-type-title" }, translate$4('bettingType', this.language)), h("div", { key: 'b2b77770d0d439d7a2d062943c1cb114a7e54574', class: "betting-type-text" }, h("div", { key: '8a9e0821b8165a9cc04c5be4b3eb7286bdcef21f', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
3713
3654
  LotteryTippingTicketController__segment: true,
3714
3655
  'LotteryTippingTicketController__segment--active': this.curDrawSelectionBettingType === bettingType
3715
- }, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: 'b8b29a1a6e6bda2ce5004765e219e58d8e12bb2f', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curDrawItem.vendorGameId, "draw-id": this.curDrawItem.id, "default-bullet-config-line-group": JSON.stringify(this.curDrawSelection), "read-pretty": true, "total-pages": this.curDrawSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("div", { key: 'a84c658d87e936cbf20731a64bc753f13c099024', class: "pagination-wrap" }, h("lottery-tipping-pagination", { key: 'fdf7443bd153e90c131e4ba937f08d611706a56d', total: this.paginationInfo.total, current: this.paginationInfo.current, "page-size": this.paginationInfo.pageSize, language: this.language, "translation-url": this.translationUrl }))));
3656
+ }, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '313e81c7d8181316896a2a46211d12ede72b5353', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curDrawItem.vendorGameId, "draw-id": this.curDrawItem.id, "default-bullet-config-line-group": JSON.stringify(this.curDrawSelection), "read-pretty": true, "total-pages": this.curDrawSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("div", { key: '374d4a579f634ae631392b9e16a3a9acd0cf029c', class: "pagination-wrap" }, h("lottery-tipping-pagination", { key: '0a22fb6a1d59c391f2db3a2e20774a1b19491739', total: this.paginationInfo.total, current: this.paginationInfo.current, "page-size": this.paginationInfo.pageSize, language: this.language, "translation-url": this.translationUrl }))));
3716
3657
  }
3717
3658
  static get watchers() { return {
3718
3659
  "clientStyling": ["handleClientStylingChange"],
3719
3660
  "clientStylingUrl": ["handleClientStylingUrlChange"],
3720
- "mbSource": ["handleMbSourceChange"]
3661
+ "mbSource": ["handleMbSourceChange"],
3662
+ "gameId": ["handleGameInfoChange"],
3663
+ "endpoint": ["handleGameInfoChange"],
3664
+ "endpointTicket": ["handleTicketInfoChange"],
3665
+ "playerId": ["handleTicketInfoChange"],
3666
+ "sessionId": ["handleTicketInfoChange"]
3721
3667
  }; }
3722
3668
  };
3723
3669
  LotteryTippingTicketHistory.style = LotteryTippingTicketHistoryStyle0;
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { L as LotteryTippingEntrance } from './lottery-tipping-entrance-b4e791b0.js';
1
+ export { L as LotteryTippingEntrance } from './lottery-tipping-entrance-f0f0365b.js';
2
2
  import './index-a57b04e7.js';