@everymatrix/lottery-oddsbom-ticket-bet 0.7.28 → 0.7.29

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 (32) hide show
  1. package/dist/cjs/index-b8e9c8e4.js +2 -2
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{lottery-oddsbom-bullet_9.cjs.entry.js → lottery-banner_10.cjs.entry.js} +381 -8
  5. package/dist/cjs/{lottery-oddsbom-ticket-bet-886fd964.js → lottery-oddsbom-ticket-bet-190283be.js} +8369 -8314
  6. package/dist/cjs/lottery-oddsbom-ticket-bet.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +6 -0
  8. package/dist/collection/components/lottery-oddsbom-oddschart/lottery-oddsbom-oddschart.js +1 -1
  9. package/dist/collection/components/lottery-oddsbom-oddschart-input/lottery-oddsbom-oddschart-input.js +1 -1
  10. package/dist/collection/components/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.js +34 -29
  11. package/dist/collection/components/lottery-oddsbom-ticket-board/lottery-oddsbom-ticket-board.js +4 -4
  12. package/dist/collection/components/lottery-oddsbom-ticket-selection/lottery-oddsbom-ticket-selection.js +1 -1
  13. package/dist/collection/model/index.type.js +10 -0
  14. package/dist/collection/utils/api.js +33 -1
  15. package/dist/collection/utils/locale.utils.js +1 -0
  16. package/dist/collection/utils/utils.js +14 -0
  17. package/dist/esm/index-9dee9d86.js +2 -2
  18. package/dist/esm/index.js +1 -1
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/esm/{lottery-oddsbom-bullet_9.entry.js → lottery-banner_10.entry.js} +394 -22
  21. package/dist/esm/{lottery-oddsbom-ticket-bet-1e36d8ab.js → lottery-oddsbom-ticket-bet-65daa420.js} +8365 -8315
  22. package/dist/esm/lottery-oddsbom-ticket-bet.js +1 -1
  23. package/dist/lottery-oddsbom-ticket-bet/index.esm.js +1 -1
  24. package/dist/lottery-oddsbom-ticket-bet/lottery-banner_10.entry.js +1 -0
  25. package/dist/lottery-oddsbom-ticket-bet/{lottery-oddsbom-ticket-bet-1e36d8ab.js → lottery-oddsbom-ticket-bet-65daa420.js} +241 -241
  26. package/dist/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.esm.js +1 -1
  27. package/dist/types/components/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.d.ts +5 -2
  28. package/dist/types/model/index.type.d.ts +97 -1
  29. package/dist/types/utils/api.d.ts +6 -0
  30. package/dist/types/utils/utils.d.ts +2 -0
  31. package/package.json +1 -1
  32. package/dist/lottery-oddsbom-ticket-bet/lottery-oddsbom-bullet_9.entry.js +0 -1
@@ -74,10 +74,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
74
74
  }
75
75
  switch(bundleId) {
76
76
 
77
- case 'lottery-oddsbom-bullet_9.cjs':
77
+ case 'lottery-banner_10.cjs':
78
78
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
79
79
  /* webpackMode: "lazy" */
80
- './lottery-oddsbom-bullet_9.cjs.entry.js')); }).then(processMod, consoleError);
80
+ './lottery-banner_10.cjs.entry.js')); }).then(processMod, consoleError);
81
81
  }
82
82
  }
83
83
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const lotteryOddsbomTicketBet = require('./lottery-oddsbom-ticket-bet-886fd964.js');
5
+ const lotteryOddsbomTicketBet = require('./lottery-oddsbom-ticket-bet-190283be.js');
6
6
  require('./index-b8e9c8e4.js');
7
7
 
8
8
 
@@ -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([["lottery-oddsbom-bullet_9.cjs",[[1,"lottery-oddsbom-ticket-bet",{"endpoint":[513],"gameId":[513,"game-id"],"sessionId":[513,"session-id"],"drawId":[513,"draw-id"],"playerId":[513,"player-id"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isLoading":[32],"isLoadingOdds":[32],"isSubmitLoading":[32],"matchInfo":[32],"ticketBoardInfo":[32],"gameConfig":[32],"addSelectionConfig":[32],"gameInfo":[32],"dialogConfig":[32],"oddsData":[32],"oddsInfo":[32],"oddsQuery":[32],"saleStatisticsInfo":[32]},[[0,"oddsbomBulletGroupToggle","handleOddsBomBulletGroupToggle"],[0,"oddsbomBulletGroupAddedByMoreBtnDel","handleOddsBomBulletAddedByMoreBtnDelete"],[0,"oddsbomAddMoreToMatch","handleOddsBomAddMoreToMatch"],[0,"oddsbomBoardClear","handleOddsBomBoardClear"],[0,"oddschartFillIn","handleOddsChartFillIn"],[0,"oddsQueryChange","handleOddsQueryChange"],[0,"oddsQueryLineChange","handleOddsQueryLineChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"ticketBoardInfo":["handleTicketBoardInfoChange"],"canSubmit":["handleCanSubmitChange"]}],[1,"lottery-oddsbom-ticket-board",{"ticketBoardInfo":[16],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"addSelectionConfig":[16],"bulletsConfig":[32],"isInputInvalid":[32],"errorMessage":[32],"dialogConfig":[32],"curAddMoreInfo":[32]},[[0,"oddsbomBulletGroupToggle","handleOddsbomBulletGroupToggle"],[0,"oddsbomBulletCallDialogFromGroup","handleOddsbomBulletCallDialogFromGroup"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-oddschart",{"matchInfo":[16],"oddsInfo":[16],"total":[2],"curPage":[2,"cur-page"],"limit":[2],"offset":[2],"filterdOdds":[1,"filterd-odds"],"isSearching":[4,"is-searching"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isLoading":[4,"is-loading"],"language":[513],"translationUrl":[513,"translation-url"],"isAscend":[32],"selectedGroupIndex":[32],"matchSelection":[32],"hasFillInSelection":[32],"initOddsChart":[64],"closeOddsChart":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"matchInfo":["handleMatchInfoChange"]}],[1,"lottery-oddsbom-ticket-selection",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"ticketBoardInfo":[1040],"language":[513],"expanded":[32],"_ticketBoardInfo":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"ticketBoardInfo":["handleTicketBoradInfoChange"]}],[1,"lottery-oddsbom-oddschart-input",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"value":[513],"getValue":[64],"clearValue":[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"],"dialogClass":[1,"dialog-class"],"dialogStyle":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-bullet-group",{"selectionIdx":[514,"selection-idx"],"matchIdx":[514,"match-idx"],"bulletConfigs":[16],"bulletConfigsDeleteOrigin":[16],"addSelectionConfig":[16],"isDeleteByIcon":[516,"is-delete-by-icon"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"bulletListClass":[1,"bullet-list-class"],"innerBulletConfigs":[32],"innerBulletConfigsDeleteOrigin":[32]},[[0,"oddsbomBulletToggle","oddsbomBulletToggleHandler"],[0,"oddsbomBulletDelete","oddsbomBulletDeleteHandler"],[0,"oddsbomBulletAddedByMoreBtnDelete","oddsbomBulletAddedByMoreBtnDeleteHandler"],[0,"oddsbomBulletCallDialog","handleOddsbomBulletCallDialog"]],{"bulletConfigs":["handleBulletConfigsChange"],"bulletConfigsDeleteOrigin":["handleBulletConfigsDeleteOriginChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-ticket-button",{"variant":[513],"size":[513],"disabled":[516],"loading":[516],"text":[513],"mbSource":[513,"mb-source"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"ripples":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-bullet",{"isSelected":[516,"is-selected"],"disabled":[516],"text":[513],"idx":[514],"isReading":[516,"is-reading"],"isDeleteByIcon":[516,"is-delete-by-icon"],"isCallDialogBtn":[516,"is-call-dialog-btn"],"isAddedByMoreBtn":[516,"is-added-by-more-btn"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
11
+ return index.bootstrapLazy([["lottery-banner_10.cjs",[[1,"lottery-oddsbom-ticket-bet",{"endpoint":[513],"gameId":[513,"game-id"],"sessionId":[513,"session-id"],"drawId":[513,"draw-id"],"playerId":[513,"player-id"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"isLoading":[32],"isLoadingOdds":[32],"isSubmitLoading":[32],"drawSubmitAvailable":[32],"matchInfo":[32],"ticketBoardInfo":[32],"gameConfig":[32],"addSelectionConfig":[32],"gameInfo":[32],"dialogConfig":[32],"oddsData":[32],"oddsInfo":[32],"oddsQuery":[32],"saleStatisticsInfo":[32]},[[0,"oddsbomBulletGroupToggle","handleOddsBomBulletGroupToggle"],[0,"oddsbomBulletGroupAddedByMoreBtnDel","handleOddsBomBulletAddedByMoreBtnDelete"],[0,"oddsbomAddMoreToMatch","handleOddsBomAddMoreToMatch"],[0,"oddsbomBoardClear","handleOddsBomBoardClear"],[0,"oddschartFillIn","handleOddsChartFillIn"],[0,"oddsQueryChange","handleOddsQueryChange"],[0,"oddsQueryLineChange","handleOddsQueryLineChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"ticketBoardInfo":["handleTicketBoardInfoChange"],"canSubmit":["handleCanSubmitChange"]}],[1,"lottery-oddsbom-ticket-board",{"ticketBoardInfo":[16],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"addSelectionConfig":[16],"bulletsConfig":[32],"isInputInvalid":[32],"errorMessage":[32],"dialogConfig":[32],"curAddMoreInfo":[32]},[[0,"oddsbomBulletGroupToggle","handleOddsbomBulletGroupToggle"],[0,"oddsbomBulletCallDialogFromGroup","handleOddsbomBulletCallDialogFromGroup"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-oddschart",{"matchInfo":[16],"oddsInfo":[16],"total":[2],"curPage":[2,"cur-page"],"limit":[2],"offset":[2],"filterdOdds":[1,"filterd-odds"],"isSearching":[4,"is-searching"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isLoading":[4,"is-loading"],"language":[513],"translationUrl":[513,"translation-url"],"isAscend":[32],"selectedGroupIndex":[32],"matchSelection":[32],"hasFillInSelection":[32],"initOddsChart":[64],"closeOddsChart":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"matchInfo":["handleMatchInfoChange"]}],[1,"lottery-oddsbom-ticket-selection",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"ticketBoardInfo":[1040],"language":[513],"expanded":[32],"_ticketBoardInfo":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"ticketBoardInfo":["handleTicketBoradInfoChange"]}],[1,"lottery-banner",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"logoUrl":[513,"logo-url"],"stopTime":[1,"stop-time"],"startTime":[1,"start-time"],"bannerTitle":[1,"banner-title"],"turnover":[1],"layout":[1],"formattedTime":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"startTime":["handleTimeChange"],"stopTime":["handleTimeChange"]}],[1,"lottery-oddsbom-oddschart-input",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"value":[513],"getValue":[64],"clearValue":[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"],"dialogClass":[1,"dialog-class"],"dialogStyle":[16]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-bullet-group",{"selectionIdx":[514,"selection-idx"],"matchIdx":[514,"match-idx"],"bulletConfigs":[16],"bulletConfigsDeleteOrigin":[16],"addSelectionConfig":[16],"isDeleteByIcon":[516,"is-delete-by-icon"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"bulletListClass":[1,"bullet-list-class"],"innerBulletConfigs":[32],"innerBulletConfigsDeleteOrigin":[32]},[[0,"oddsbomBulletToggle","oddsbomBulletToggleHandler"],[0,"oddsbomBulletDelete","oddsbomBulletDeleteHandler"],[0,"oddsbomBulletAddedByMoreBtnDelete","oddsbomBulletAddedByMoreBtnDeleteHandler"],[0,"oddsbomBulletCallDialog","handleOddsbomBulletCallDialog"]],{"bulletConfigs":["handleBulletConfigsChange"],"bulletConfigsDeleteOrigin":["handleBulletConfigsDeleteOriginChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-ticket-button",{"variant":[513],"size":[513],"disabled":[516],"loading":[516],"text":[513],"mbSource":[513,"mb-source"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"ripples":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-oddsbom-bullet",{"isSelected":[516,"is-selected"],"disabled":[516],"text":[513],"idx":[514],"isReading":[516,"is-reading"],"isDeleteByIcon":[516,"is-delete-by-icon"],"isCallDialogBtn":[516,"is-call-dialog-btn"],"isAddedByMoreBtn":[516,"is-added-by-more-btn"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -3,7 +3,379 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b8e9c8e4.js');
6
- const lotteryOddsbomTicketBet = require('./lottery-oddsbom-ticket-bet-886fd964.js');
6
+ const lotteryOddsbomTicketBet = require('./lottery-oddsbom-ticket-bet-190283be.js');
7
+
8
+ /**
9
+ * @name differenceInMilliseconds
10
+ * @category Millisecond Helpers
11
+ * @summary Get the number of milliseconds between the given dates.
12
+ *
13
+ * @description
14
+ * Get the number of milliseconds between the given dates.
15
+ *
16
+ * @param {Date|Number} dateLeft - the later date
17
+ * @param {Date|Number} dateRight - the earlier date
18
+ * @returns {Number} the number of milliseconds
19
+ * @throws {TypeError} 2 arguments required
20
+ *
21
+ * @example
22
+ * // How many milliseconds are between
23
+ * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?
24
+ * const result = differenceInMilliseconds(
25
+ * new Date(2014, 6, 2, 12, 30, 21, 700),
26
+ * new Date(2014, 6, 2, 12, 30, 20, 600)
27
+ * )
28
+ * //=> 1100
29
+ */
30
+ function differenceInMilliseconds(dateLeft, dateRight) {
31
+ lotteryOddsbomTicketBet.requiredArgs(2, arguments);
32
+ return lotteryOddsbomTicketBet.toDate(dateLeft).getTime() - lotteryOddsbomTicketBet.toDate(dateRight).getTime();
33
+ }
34
+
35
+ var roundingMap = {
36
+ ceil: Math.ceil,
37
+ round: Math.round,
38
+ floor: Math.floor,
39
+ trunc: function trunc(value) {
40
+ return value < 0 ? Math.ceil(value) : Math.floor(value);
41
+ } // Math.trunc is not supported by IE
42
+ };
43
+
44
+ var defaultRoundingMethod = 'trunc';
45
+ function getRoundingMethod(method) {
46
+ return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];
47
+ }
48
+
49
+ /**
50
+ * @name differenceInSeconds
51
+ * @category Second Helpers
52
+ * @summary Get the number of seconds between the given dates.
53
+ *
54
+ * @description
55
+ * Get the number of seconds between the given dates.
56
+ *
57
+ * @param {Date|Number} dateLeft - the later date
58
+ * @param {Date|Number} dateRight - the earlier date
59
+ * @param {Object} [options] - an object with options.
60
+ * @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)
61
+ * @returns {Number} the number of seconds
62
+ * @throws {TypeError} 2 arguments required
63
+ *
64
+ * @example
65
+ * // How many seconds are between
66
+ * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?
67
+ * const result = differenceInSeconds(
68
+ * new Date(2014, 6, 2, 12, 30, 20, 0),
69
+ * new Date(2014, 6, 2, 12, 30, 7, 999)
70
+ * )
71
+ * //=> 12
72
+ */
73
+ function differenceInSeconds(dateLeft, dateRight, options) {
74
+ lotteryOddsbomTicketBet.requiredArgs(2, arguments);
75
+ var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;
76
+ return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);
77
+ }
78
+
79
+ /**
80
+ * @name isBefore
81
+ * @category Common Helpers
82
+ * @summary Is the first date before the second one?
83
+ *
84
+ * @description
85
+ * Is the first date before the second one?
86
+ *
87
+ * @param {Date|Number} date - the date that should be before the other one to return true
88
+ * @param {Date|Number} dateToCompare - the date to compare with
89
+ * @returns {Boolean} the first date is before the second date
90
+ * @throws {TypeError} 2 arguments required
91
+ *
92
+ * @example
93
+ * // Is 10 July 1989 before 11 February 1987?
94
+ * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
95
+ * //=> false
96
+ */
97
+ function isBefore(dirtyDate, dirtyDateToCompare) {
98
+ lotteryOddsbomTicketBet.requiredArgs(2, arguments);
99
+ var date = lotteryOddsbomTicketBet.toDate(dirtyDate);
100
+ var dateToCompare = lotteryOddsbomTicketBet.toDate(dirtyDateToCompare);
101
+ return date.getTime() < dateToCompare.getTime();
102
+ }
103
+
104
+ /**
105
+ * @name isWithinInterval
106
+ * @category Interval Helpers
107
+ * @summary Is the given date within the interval?
108
+ *
109
+ * @description
110
+ * Is the given date within the interval? (Including start and end.)
111
+ *
112
+ * @param {Date|Number} date - the date to check
113
+ * @param {Interval} interval - the interval to check
114
+ * @returns {Boolean} the date is within the interval
115
+ * @throws {TypeError} 2 arguments required
116
+ * @throws {RangeError} The start of an interval cannot be after its end
117
+ * @throws {RangeError} Date in interval cannot be `Invalid Date`
118
+ *
119
+ * @example
120
+ * // For the date within the interval:
121
+ * isWithinInterval(new Date(2014, 0, 3), {
122
+ * start: new Date(2014, 0, 1),
123
+ * end: new Date(2014, 0, 7)
124
+ * })
125
+ * //=> true
126
+ *
127
+ * @example
128
+ * // For the date outside of the interval:
129
+ * isWithinInterval(new Date(2014, 0, 10), {
130
+ * start: new Date(2014, 0, 1),
131
+ * end: new Date(2014, 0, 7)
132
+ * })
133
+ * //=> false
134
+ *
135
+ * @example
136
+ * // For date equal to interval start:
137
+ * isWithinInterval(date, { start, end: date }) // => true
138
+ *
139
+ * @example
140
+ * // For date equal to interval end:
141
+ * isWithinInterval(date, { start: date, end }) // => true
142
+ */
143
+ function isWithinInterval(dirtyDate, interval) {
144
+ lotteryOddsbomTicketBet.requiredArgs(2, arguments);
145
+ var time = lotteryOddsbomTicketBet.toDate(dirtyDate).getTime();
146
+ var startTime = lotteryOddsbomTicketBet.toDate(interval.start).getTime();
147
+ var endTime = lotteryOddsbomTicketBet.toDate(interval.end).getTime();
148
+
149
+ // Throw an exception if start date is after end date or if any date is `Invalid Date`
150
+ if (!(startTime <= endTime)) {
151
+ throw new RangeError('Invalid interval');
152
+ }
153
+ return time >= startTime && time <= endTime;
154
+ }
155
+
156
+ const DEFAULT_LANGUAGE$1 = 'en';
157
+ const SUPPORTED_LANGUAGES$1 = ['ro', 'en', 'fr', 'ar', 'hr'];
158
+ const TRANSLATIONS$1 = {
159
+ en: {
160
+ stop: 'Stop',
161
+ at: 'at',
162
+ turnover: 'Turnover: ',
163
+ start: 'Sales Start',
164
+ in: 'in'
165
+ },
166
+ ro: {
167
+ stop: 'Oprește',
168
+ at: 'la'
169
+ },
170
+ fr: {
171
+ stop: 'Arrêtez',
172
+ at: 'à'
173
+ },
174
+ ar: {
175
+ stop: 'توقف',
176
+ at: 'في'
177
+ },
178
+ hr: {
179
+ stop: 'Stop',
180
+ at: 'u'
181
+ }
182
+ };
183
+ const translate$1 = (key, customLang) => {
184
+ const lang = customLang;
185
+ return TRANSLATIONS$1[lang !== undefined && SUPPORTED_LANGUAGES$1.includes(lang) ? lang : DEFAULT_LANGUAGE$1][key];
186
+ };
187
+ const getTranslations$1 = (data) => {
188
+ Object.keys(data).forEach((item) => {
189
+ for (let key in data[item]) {
190
+ TRANSLATIONS$1[item][key] = data[item][key];
191
+ }
192
+ });
193
+ };
194
+ const resolveTranslationUrl$1 = async (translationUrl) => {
195
+ if (translationUrl) {
196
+ try {
197
+ const response = await fetch(translationUrl);
198
+ if (!response.ok) {
199
+ throw new Error(`HTTP error! status: ${response.status}`);
200
+ }
201
+ const translations = await response.json();
202
+ getTranslations$1(translations);
203
+ }
204
+ catch (error) {
205
+ console.error('Failed to fetch or parse translations from URL:', error);
206
+ }
207
+ }
208
+ };
209
+
210
+ const formatDate = ({ date, type = 'date', format }) => {
211
+ try {
212
+ const parsedDate = lotteryOddsbomTicketBet.parseISO(date);
213
+ if (isNaN(parsedDate.getTime())) {
214
+ throw new Error(`Invalid date: ${date}`);
215
+ }
216
+ if (format)
217
+ return lotteryOddsbomTicketBet.format(parsedDate, format);
218
+ let formatStr = 'dd/MM/yyyy';
219
+ if (type === 'time') {
220
+ formatStr = 'dd/MM/yyyy HH:mm:ss';
221
+ }
222
+ else if (type === 'week') {
223
+ formatStr = 'ccc dd/MM/yyyy HH:mm:ss';
224
+ }
225
+ return lotteryOddsbomTicketBet.format(parsedDate, formatStr);
226
+ }
227
+ catch (error) {
228
+ console.error('Error formatting date:', error.message);
229
+ return '';
230
+ }
231
+ };
232
+ function formatTime(time) {
233
+ if (!time)
234
+ return;
235
+ if (lotteryOddsbomTicketBet.isToday(new Date(time))) {
236
+ return formatDate({ date: time, format: 'HH:mm' });
237
+ }
238
+ return formatDate({ date: time, format: 'dd/MM/yyyy HH:mm' });
239
+ }
240
+ function formatCountdown(stopTime, _now) {
241
+ if (!stopTime)
242
+ return;
243
+ const endTime = typeof stopTime === 'string' ? lotteryOddsbomTicketBet.parseISO(stopTime) : stopTime;
244
+ const now = _now && new Date();
245
+ let totalSeconds = differenceInSeconds(endTime, now);
246
+ if (totalSeconds < 0)
247
+ return '0D 00H 00M 00S';
248
+ const days = Math.floor(totalSeconds / 86400);
249
+ totalSeconds %= 86400;
250
+ const hours = Math.floor(totalSeconds / 3600);
251
+ totalSeconds %= 3600;
252
+ const minutes = Math.floor(totalSeconds / 60);
253
+ const seconds = totalSeconds % 60;
254
+ return `${days}D ${hours.toString().padStart(2, '0')}H ${minutes.toString().padStart(2, '0')}M ${seconds
255
+ .toString()
256
+ .padStart(2, '0')}S`;
257
+ }
258
+ function getWagerTime(startTime, stopTime) {
259
+ const now = new Date();
260
+ if (startTime && isBefore(now, lotteryOddsbomTicketBet.parseISO(startTime))) {
261
+ return { start: formatCountdown(startTime, now) };
262
+ }
263
+ if (startTime &&
264
+ stopTime &&
265
+ isWithinInterval(now, {
266
+ start: lotteryOddsbomTicketBet.parseISO(startTime),
267
+ end: lotteryOddsbomTicketBet.parseISO(stopTime)
268
+ })) {
269
+ return { end: formatTime(stopTime) };
270
+ }
271
+ return {};
272
+ }
273
+
274
+ const lotteryBannerCss = ":host {\n display: block;\n container-type: inline-size;\n}\n\n.lottery-banner {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--lottery-banner-gap, 0.5rem);\n padding: var(--lottery-banner-padding, 0px 20px);\n background: var(--lottery-banner-background, var(--emw--color-primary, #fed275));\n border-top: var(--lottery-banner-border-width, 2px) var(--lottery-banner-border-style, solid) var(--lottery-banner-border-color, var(--emw--color-primary, #fed275));\n border-bottom: var(--lottery-banner-border-width, 2px) var(--lottery-banner-border-style, solid) var(--lottery-banner-border-color, var(--emw--color-primary, #fed275));\n border-left: var(--lottery-banner-border-left, none);\n border-right: var(--lottery-banner-border-right, none);\n border-radius: var(--lottery-banner-border-radius, 0);\n white-space: nowrap;\n height: var(--lottery-banner-height, 50px);\n position: relative;\n box-sizing: border-box;\n}\n\n.lottery-banner__logo-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n.lottery-banner__logo-wrapper img {\n height: 100%;\n object-fit: var(--lottery-banner-logo-object-fit, contain);\n}\n\n.lottery-banner__item--center {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.lottery-banner__title {\n text-align: center;\n font-size: var(--lottery-banner-title-font-size, 1.5rem);\n font-weight: 800;\n font-style: italic;\n letter-spacing: var(--lottery-banner-title-font-letter-spacing, 0.04em);\n color: var(--emw--color-typography, #000);\n}\n\n.lottery-banner__info {\n display: flex;\n align-items: center;\n gap: var(--lottery-banner-info-gap, 0.75rem);\n}\n\n.lottery-banner__info-item {\n font-size: var(--lottery-banner-info-font-size, 0.9rem);\n color: var(--lottery-banner-info-color, var(--emw--color-typography, #000));\n display: inline-flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.lottery-banner__info-item-label {\n color: var(--lottery-banner-info-label-color, var(--emw--color-typography, #000));\n}\n.lottery-banner__info-item-label__strong {\n font-weight: var(--lottery-banner-info-label-font-weight, 700);\n}\n\n.lottery-banner__info-item-value {\n font-weight: var(--lottery-banner-info-value-font-weight, inherit);\n color: var(--lottery-banner-info-value-color, var(--emw--color-typography, #000));\n}\n\n@container (max-width: 700px) {\n .lottery-banner {\n height: auto;\n padding: var(--lottery-banner-mobile-padding, 0.5rem 1rem);\n }\n .lottery-banner__title {\n flex-basis: 100%;\n text-align: var(--lottery-banner-mobile-title-text-align, left);\n }\n .lottery-banner__info {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--lottery-banner-mobile-info-gap, 0.1rem);\n }\n}";
275
+ const LotteryBannerStyle0 = lotteryBannerCss;
276
+
277
+ const LotteryBanner = class {
278
+ constructor(hostRef) {
279
+ index.registerInstance(this, hostRef);
280
+ this.lotteryBannerTimerStop = index.createEvent(this, "lotteryBannerTimerStop", 7);
281
+ this.mbSource = undefined;
282
+ this.clientStyling = undefined;
283
+ this.clientStylingUrl = undefined;
284
+ this.translationUrl = '';
285
+ this.language = 'en';
286
+ this.logoUrl = undefined;
287
+ this.stopTime = '';
288
+ this.startTime = '';
289
+ this.bannerTitle = undefined;
290
+ this.turnover = undefined;
291
+ this.layout = 'logo,title,info';
292
+ this.formattedTime = undefined;
293
+ }
294
+ handleClientStylingChange(newValue, oldValue) {
295
+ if (newValue !== oldValue) {
296
+ lotteryOddsbomTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
297
+ }
298
+ }
299
+ handleClientStylingUrlChange(newValue, oldValue) {
300
+ if (newValue !== oldValue) {
301
+ lotteryOddsbomTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
302
+ }
303
+ }
304
+ handleMbSourceChange(newValue, oldValue) {
305
+ if (newValue !== oldValue) {
306
+ lotteryOddsbomTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
307
+ }
308
+ }
309
+ handleTimeChange() {
310
+ this.startTimer();
311
+ }
312
+ async componentWillLoad() {
313
+ if (this.translationUrl) {
314
+ resolveTranslationUrl$1(this.translationUrl);
315
+ }
316
+ this.startTimer();
317
+ }
318
+ startTimer() {
319
+ if (this.timer) {
320
+ clearInterval(this.timer);
321
+ }
322
+ this.updateTime();
323
+ this.timer = setInterval(() => {
324
+ this.updateTime();
325
+ }, 1000);
326
+ }
327
+ updateTime() {
328
+ var _a;
329
+ this.formattedTime = getWagerTime(this.startTime, this.stopTime);
330
+ if ((_a = this.formattedTime) === null || _a === void 0 ? void 0 : _a.end) {
331
+ this.timer && clearInterval(this.timer);
332
+ this.lotteryBannerTimerStop.emit();
333
+ }
334
+ }
335
+ componentDidLoad() {
336
+ if (this.stylingContainer) {
337
+ if (this.mbSource)
338
+ lotteryOddsbomTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
339
+ if (this.clientStyling)
340
+ lotteryOddsbomTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
341
+ if (this.clientStylingUrl)
342
+ lotteryOddsbomTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
343
+ }
344
+ }
345
+ disconnectedCallback() {
346
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
347
+ this.timer && clearInterval(this.timer);
348
+ }
349
+ renderElement(item, className = '') {
350
+ var _a, _b;
351
+ switch (item) {
352
+ case 'logo':
353
+ return (index.h("div", { class: `lottery-banner__logo-wrapper ${className}` }, this.logoUrl && index.h("img", { alt: "logo", src: this.logoUrl, class: "lottery-banner__logo" })));
354
+ case 'title':
355
+ return this.bannerTitle && index.h("div", { class: `lottery-banner__title ${className}` }, this.bannerTitle);
356
+ case 'info':
357
+ return (index.h("div", { class: `lottery-banner__info ${className}` }, ((_a = this.formattedTime) === null || _a === void 0 ? void 0 : _a.start) && (index.h("div", { class: "lottery-banner__info-item" }, index.h("span", { class: "lottery-banner__info-item-label" }, index.h("span", { class: "lottery-banner__info-item-label__strong" }, translate$1('start', this.language)), "\u00A0", translate$1('in', this.language)), index.h("span", { class: "lottery-banner__info-item-value" }, this.formattedTime.start))), ((_b = this.formattedTime) === null || _b === void 0 ? void 0 : _b.end) && (index.h("div", { class: "lottery-banner__info-item" }, index.h("span", { class: "lottery-banner__info-item-label" }, index.h("span", { class: "lottery-banner__info-item-label__strong" }, translate$1('stop', this.language)), "\u00A0", translate$1('at', this.language)), index.h("span", { class: "lottery-banner__info-item-value" }, this.formattedTime.end))), this.turnover !== null && this.turnover !== undefined && (index.h("div", { class: "lottery-banner__info-item" }, index.h("span", { class: "lottery-banner__info-item-label" }, translate$1('turnover', this.language)), index.h("span", { class: "lottery-banner__info-item-value" }, this.turnover)))));
358
+ default:
359
+ return null;
360
+ }
361
+ }
362
+ render() {
363
+ const layoutItems = this.layout.split(',').map((item) => item.trim());
364
+ return (index.h("section", { key: '058aa04a8104d393f6066fd2738fb33cb6d832a2', ref: (el) => (this.stylingContainer = el), class: "lottery-banner" }, layoutItems.map((item, index) => {
365
+ const isMiddle = layoutItems.length === 3 && index === 1;
366
+ const className = isMiddle ? 'lottery-banner__item--center' : '';
367
+ return this.renderElement(item, className);
368
+ })));
369
+ }
370
+ static get watchers() { return {
371
+ "clientStyling": ["handleClientStylingChange"],
372
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
373
+ "mbSource": ["handleMbSourceChange"],
374
+ "startTime": ["handleTimeChange"],
375
+ "stopTime": ["handleTimeChange"]
376
+ }; }
377
+ };
378
+ LotteryBanner.style = LotteryBannerStyle0;
7
379
 
8
380
  // This icon file is generated automatically.
9
381
  var ArrowUpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, "name": "arrow-up", "theme": "outlined" };
@@ -479,7 +851,7 @@ const LotteryOddsbomOddschart = class {
479
851
  }
480
852
  render() {
481
853
  var _a, _b;
482
- return (index.h("div", { key: 'b160d1870184937cdd013a233a4841545d8f769a', class: "oddsbom-oddschart", ref: (el) => (this.stylingContainer = el) }, !((_a = this.matchInfo) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.oddsInfo) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("div", { class: "empty-wrap" }, index.h("span", { innerHTML: infoIcon, style: { marginRight: '6px', height: '18px' } }), index.h("span", { class: "empty-wrap-text", style: { fontSize: '18px' } }, lotteryOddsbomTicketBet.translate('noBets', this.language)))) : (this.matchInfo && (index.h("div", { class: "oddsbom-oddschart-container" }, index.h("div", { class: "oddsbom-oddschart-wrap" }, index.h("div", { class: "oddsbom-oddschart-match", ref: (el) => (this.matchItemsContainer = el) }, this.matchInfo.map((match, idx) => {
854
+ return (index.h("div", { key: 'e7c7c883ae3e911cb828a7076e0cb9fa73ddd2af', class: "oddsbom-oddschart", ref: (el) => (this.stylingContainer = el) }, !((_a = this.matchInfo) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.oddsInfo) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("div", { class: "empty-wrap" }, index.h("span", { innerHTML: infoIcon, style: { marginRight: '6px', height: '18px' } }), index.h("span", { class: "empty-wrap-text", style: { fontSize: '18px' } }, lotteryOddsbomTicketBet.translate('noBets', this.language)))) : (this.matchInfo && (index.h("div", { class: "oddsbom-oddschart-container" }, index.h("div", { class: "oddsbom-oddschart-wrap" }, index.h("div", { class: "oddsbom-oddschart-match", ref: (el) => (this.matchItemsContainer = el) }, this.matchInfo.map((match, idx) => {
483
855
  return (index.h("div", { class: "oddsbom-oddschart-match-item", key: idx }, index.h("div", { class: "oddsbom-oddschart-match-item-name" }, index.h("div", { class: "oddsbom-oddschart-match-item-name--home" }, `${idx + 1}. ${match.eventName.split('vs')[0]}`), index.h("div", { class: "oddsbom-oddschart-match-item-name--delimiter" }, "vs"), index.h("div", { class: "oddsbom-oddschart-match-item-name--away" }, `${match.eventName.split('vs')[1]}`)), index.h("div", { class: "oddsbom-oddschart-match-item-input" }, index.h("lottery-oddsbom-oddschart-input", null), index.h("lottery-oddsbom-oddschart-input", null))));
484
856
  }), index.h("div", { class: "oddsbom-oddschart-match-search" }, index.h("lottery-oddsbom-ticket-button", { text: lotteryOddsbomTicketBet.translate('search', this.language), variant: "outline", onClick: this.handleSearch }))), this.hasFillInSelection &&
485
857
  !this.isSearching &&
@@ -558,7 +930,7 @@ const LotteryOddsbomOddschartInput = class {
558
930
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
559
931
  }
560
932
  render() {
561
- return (index.h("div", { key: 'eb973f7978b7452788f72a43da5424abbe845361', class: "oddscharts-input", ref: (el) => (this.stylingContainer = el) }, index.h("input", { key: 'f24fba10175b944af328b71f8e257d8ad1386af2', ref: (el) => (this.inputElement = el), type: "text", inputMode: "numeric", value: this.value, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, autocomplete: "one-time-code" })));
933
+ return (index.h("div", { key: '027256f6e35e605b7a9afb83e81a099343615f96', class: "oddscharts-input", ref: (el) => (this.stylingContainer = el) }, index.h("input", { key: 'fc8e961ee6701f8bb57349c9ead508af2d2b448f', ref: (el) => (this.inputElement = el), type: "text", inputMode: "numeric", value: this.value, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, autocomplete: "one-time-code" })));
562
934
  }
563
935
  static get watchers() { return {
564
936
  "clientStyling": ["handleClientStylingChange"],
@@ -688,14 +1060,14 @@ const LotteryOddsbomTicketBoard = class {
688
1060
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
689
1061
  }
690
1062
  render() {
691
- return (index.h("div", { key: '58b83bb2222b715e093fae83b28488e9aadbbbd9', class: "oddsbomTicketBoard", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '713493a9e82abf4585f911f91757180cdea7f212', class: "oddsbomTicketBoard-btn" }, index.h("lottery-oddsbom-ticket-button", { key: '7277db6f5372d2775bf30b69540f090e8076192c', onClick: this.handleClearAllSelection.bind(this), text: lotteryOddsbomTicketBet.translate('clearAll', this.language), variant: "outline" })), this.ticketBoardInfo.length ? (index.h("div", { class: "oddsbomTicketBoard-list" }, this.ticketBoardInfo.map((item, idx) => {
1063
+ return (index.h("div", { key: 'e5ca4eb7ad8945ab24c8fd400b0b7704bdb69f6e', class: "oddsbomTicketBoard", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '5cf3ab87b72e81a169ffbe65084e86b38cb76ef3', class: "oddsbomTicketBoard-btn" }, index.h("lottery-oddsbom-ticket-button", { key: 'd8ebcd3faf085333b94d8a61b10c274a075b0d8a', onClick: this.handleClearAllSelection.bind(this), text: lotteryOddsbomTicketBet.translate('clearAll', this.language), variant: "outline" })), this.ticketBoardInfo.length ? (index.h("div", { class: "oddsbomTicketBoard-list" }, this.ticketBoardInfo.map((item, idx) => {
692
1064
  return (index.h("div", { class: "oddsbomTicketBoard-item" }, index.h("div", { class: "oddsbomTicketBoard-item-header" }, `${idx + 1}. ${item.matchName}`), index.h("div", { class: "oddsbomTicketBoard-item-match" }, index.h("div", { class: "oddsbomTicketBoard-item-match--left" }, item.matchName.split('vs')[0]), index.h("div", { class: "oddsbomTicketBoard-item-match--right" }, index.h("lottery-oddsbom-bullet-group", { bulletConfigs: item.selections[0], selectionIdx: 0, matchIdx: idx, addSelectionConfig: this.addSelectionConfig }))), index.h("div", { class: "oddsbomTicketBoard-item-match" }, index.h("div", { class: "oddsbomTicketBoard-item-match--left" }, item.matchName.split('vs')[1]), index.h("div", { class: "oddsbomTicketBoard-item-match--right" }, index.h("lottery-oddsbom-bullet-group", { bulletConfigs: item.selections[1], selectionIdx: 1, matchIdx: idx, addSelectionConfig: this.addSelectionConfig })))));
693
- }))) : (index.h("div", { class: "oddsbomTicketBoard-noData" }, lotteryOddsbomTicketBet.translate('noTicketBoard', this.language))), index.h("lottery-tipping-dialog", { key: '23b77482869ae9d539281279f897a5e421a23611', visible: this.dialogConfig.visible, width: this.dialogConfig.width, onCancel: this.handleCloseAddMoreDialog.bind(this) }, index.h("div", { key: 'aaa92cd6b0fff37031040e04083c826e642ec0f1', class: "addSelectionDialog" }, index.h("div", { key: '8f52ac9acb648171638061d049892085cf5f648f', class: "addSelectionDialog-title" }, lotteryOddsbomTicketBet.translate('enterScoreUpTo', this.language, {
1065
+ }))) : (index.h("div", { class: "oddsbomTicketBoard-noData" }, lotteryOddsbomTicketBet.translate('noTicketBoard', this.language))), index.h("lottery-tipping-dialog", { key: 'd70640fde439f49c4234b144c25c8a71486477d2', visible: this.dialogConfig.visible, width: this.dialogConfig.width, onCancel: this.handleCloseAddMoreDialog.bind(this) }, index.h("div", { key: '8f6f15ec60cde94c4074e4b4d8c966e26608e577', class: "addSelectionDialog" }, index.h("div", { key: '8a78285c454dd4414d167a4ea913df7040646c81', class: "addSelectionDialog-title" }, lotteryOddsbomTicketBet.translate('enterScoreUpTo', this.language, {
694
1066
  maxScore: this.addSelectionConfig.maxScore
695
- })), index.h("input", { key: '50db2d0d62fddabbf92c75f044635babfb102e00', type: "text", class: {
1067
+ })), index.h("input", { key: '0a9139c2beb9627e14fa811f46f552a0e9a07af0', type: "text", class: {
696
1068
  'dialog-input': true,
697
1069
  invalid: this.isInputInvalid
698
- }, value: this.curAddMoreInfo.value, onInput: this.handleInputChange.bind(this) }), index.h("div", { key: '710aacdcd1589af9ec50485f637744199807427c', class: "error-message" }, this.errorMessage)), index.h("div", { key: '9c9ce1cbae02a5723d5261862e930afc3613b567', slot: "footer", class: "addSelectionDialog-footer" }, index.h("lottery-oddsbom-ticket-button", { key: 'fa4e9d024929f0485ea2099515a1b6b93eabf6b8', onClick: this.dialogConfig.onCancel, text: lotteryOddsbomTicketBet.translate('cancel', this.language), variant: "outline" }), index.h("lottery-oddsbom-ticket-button", { key: '91c1c08b3183d1c328fcc9d79ceda4ba0039f1c3', onClick: this.dialogConfig.onConfirm, text: lotteryOddsbomTicketBet.translate('confirm', this.language), variant: "primary", disabled: !this.curAddMoreInfo.value || this.isInputInvalid })))));
1070
+ }, value: this.curAddMoreInfo.value, onInput: this.handleInputChange.bind(this) }), index.h("div", { key: 'b537f8fd54aa70e043a1e319a4aabef85e8e458a', class: "error-message" }, this.errorMessage)), index.h("div", { key: '8aa06cf57c03e73fd9c4cead9670d9f8a539d4ca', slot: "footer", class: "addSelectionDialog-footer" }, index.h("lottery-oddsbom-ticket-button", { key: '9db45725204f7fb16407adbdc7ee77f88c2a2dc8', onClick: this.dialogConfig.onCancel, text: lotteryOddsbomTicketBet.translate('cancel', this.language), variant: "outline" }), index.h("lottery-oddsbom-ticket-button", { key: '10cc96b0f5bd1ef5431e1347b6a142797113d458', onClick: this.dialogConfig.onConfirm, text: lotteryOddsbomTicketBet.translate('confirm', this.language), variant: "primary", disabled: !this.curAddMoreInfo.value || this.isInputInvalid })))));
699
1071
  }
700
1072
  static get watchers() { return {
701
1073
  "clientStyling": ["handleClientStylingChange"],
@@ -887,7 +1259,7 @@ const LotteryOddsbomTicketSelection = class {
887
1259
  });
888
1260
  }
889
1261
  render() {
890
- return (index.h("div", { key: '8e359b773654d6a1632f69837009ccc29d547561', class: "oddsbomSelection", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '93c2575de9e70759118f4d4702f356322c2bcb88', class: "oddsbomSelection-panel" }, index.h("div", { key: '2df0bf1be465b9baa00f44052c623071f78d799d', class: "oddsbomSelection-panel--header", onClick: this.togglePanel }, index.h("div", { key: 'c32a79afcab02f683ffb8abc26395e098b080939', class: "oddsbomSelection-panel--header-title" }, lotteryOddsbomTicketBet.translate('myChoices', this.language)), index.h("div", { key: 'de2b875b0fc538212d15cb7dde2c95b10d49665a', class: `oddsbomSelection-panel--header-icon ${this.expanded ? 'expanded' : ''}`, innerHTML: downIcon })), index.h("div", { key: '4a51e00f8ab67d9ab6c1cfd25d47f93c79d7a4bf', class: `oddsbomSelection-panel--content ${this.expanded ? 'open' : 'closed'}` }, index.h("div", { key: '9f9575c3bb176769cee836c9cf027fc76580b367', class: "oddsbomSelection-panel--content-thead" }, index.h("div", { key: '3dd762c94c915afc9f14b38fdaec73a42b56004e', class: "oddsbomSelection-panel--content-thead-item" }, lotteryOddsbomTicketBet.translate('teams', this.language)), index.h("div", { key: '2ea960a6db72e11a7e9157871f70769174f722f0', class: "oddsbomSelection-panel--content-thead-item" }, lotteryOddsbomTicketBet.translate('scores', this.language))), index.h("div", { key: '847ef04f0a9e289c796a856c3d16bebc83d2d188', class: "oddsbomSelection-panel--content-tbody" }, this.generateSelectionList())))));
1262
+ return (index.h("div", { key: '79091bce57ba35ef7a7758daeae94b9847eb712d', class: "oddsbomSelection", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: 'a4913e648d8deb508c68360d572d26b98843f0c5', class: "oddsbomSelection-panel" }, index.h("div", { key: 'fd6b9551dddd71f5eed648dc1ab8bbf6aeb8a92f', class: "oddsbomSelection-panel--header", onClick: this.togglePanel }, index.h("div", { key: '88930dc74331ca9f6edec7a23c8d42cf9ca9a0e4', class: "oddsbomSelection-panel--header-title" }, lotteryOddsbomTicketBet.translate('myChoices', this.language)), index.h("div", { key: '94b2bd032ea3b9ebcb9e406e74a52a4d1c55a67f', class: `oddsbomSelection-panel--header-icon ${this.expanded ? 'expanded' : ''}`, innerHTML: downIcon })), index.h("div", { key: 'cf337fd2477ae140c6d7898f7742c326164f7282', class: `oddsbomSelection-panel--content ${this.expanded ? 'open' : 'closed'}` }, index.h("div", { key: '8dd02d79a4254278b415ec11bdd1906940cb6074', class: "oddsbomSelection-panel--content-thead" }, index.h("div", { key: '113407e0f9ee69d449202ab1065623187bce2fbe', class: "oddsbomSelection-panel--content-thead-item" }, lotteryOddsbomTicketBet.translate('teams', this.language)), index.h("div", { key: 'fe38c2ad17fdea759f48938742808e622c4076be', class: "oddsbomSelection-panel--content-thead-item" }, lotteryOddsbomTicketBet.translate('scores', this.language))), index.h("div", { key: 'a750c174d5ac53bc77346907828a4bdc96f60e32', class: "oddsbomSelection-panel--content-tbody" }, this.generateSelectionList())))));
891
1263
  }
892
1264
  static get watchers() { return {
893
1265
  "clientStyling": ["handleClientStylingChange"],
@@ -1056,6 +1428,7 @@ const LotteryTippingDialog = class {
1056
1428
  LotteryTippingDialog.style = LotteryTippingDialogStyle0;
1057
1429
 
1058
1430
  exports.lottery_oddsbom_ticket_bet = lotteryOddsbomTicketBet.LotteryOddsbomTicketBet;
1431
+ exports.lottery_banner = LotteryBanner;
1059
1432
  exports.lottery_oddsbom_bullet = LotteryOddsbomBullet;
1060
1433
  exports.lottery_oddsbom_bullet_group = LotteryOddsbomBulletGroup;
1061
1434
  exports.lottery_oddsbom_oddschart = LotteryOddsbomOddschart;