@everymatrix/lottery-draw-results 1.77.0 → 1.77.1

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.
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'lottery-draw-results';
24
- const BUILD = /* lottery-draw-results */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* lottery-draw-results */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -855,14 +855,14 @@ var postUpdateComponent = (hostRef) => {
855
855
  const endPostUpdate = createTime("postUpdate", tagName);
856
856
  const instance = hostRef.$lazyInstance$ ;
857
857
  const ancestorComponent = hostRef.$ancestorComponent$;
858
- {
859
- safeCall(instance, "componentDidRender");
860
- }
861
858
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
862
859
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
863
860
  {
864
861
  addHydratedFlag(elm);
865
862
  }
863
+ {
864
+ safeCall(instance, "componentDidLoad");
865
+ }
866
866
  endPostUpdate();
867
867
  {
868
868
  hostRef.$onReadyResolve$(elm);
@@ -914,6 +914,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
914
914
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
915
915
  );
916
916
  }
917
+ const elm = hostRef.$hostElement$ ;
917
918
  const oldVal = hostRef.$instanceValues$.get(propName);
918
919
  const flags = hostRef.$flags$;
919
920
  const instance = hostRef.$lazyInstance$ ;
@@ -923,6 +924,18 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
923
924
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
924
925
  hostRef.$instanceValues$.set(propName, newVal);
925
926
  if (instance) {
927
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
928
+ const watchMethods = cmpMeta.$watchers$[propName];
929
+ if (watchMethods) {
930
+ watchMethods.map((watchMethodName) => {
931
+ try {
932
+ instance[watchMethodName](newVal, oldVal, propName);
933
+ } catch (e) {
934
+ consoleError(e, elm);
935
+ }
936
+ });
937
+ }
938
+ }
926
939
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
927
940
  scheduleUpdate(hostRef, false);
928
941
  }
@@ -934,7 +947,10 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
934
947
  var proxyComponent = (Cstr, cmpMeta, flags) => {
935
948
  var _a, _b;
936
949
  const prototype = Cstr.prototype;
937
- if (cmpMeta.$members$ || BUILD.watchCallback ) {
950
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
951
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
952
+ cmpMeta.$watchers$ = Cstr.watchers;
953
+ }
938
954
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
939
955
  members.map(([memberName, [memberFlags]]) => {
940
956
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1016,6 +1032,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1016
1032
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1017
1033
  }
1018
1034
  if (!Cstr.isProxied) {
1035
+ {
1036
+ cmpMeta.$watchers$ = Cstr.watchers;
1037
+ }
1019
1038
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1020
1039
  Cstr.isProxied = true;
1021
1040
  }
@@ -1031,6 +1050,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1031
1050
  {
1032
1051
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1033
1052
  }
1053
+ {
1054
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1055
+ }
1034
1056
  endNewInstance();
1035
1057
  fireConnectedCallback(hostRef.$lazyInstance$);
1036
1058
  } else {
@@ -1140,6 +1162,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1140
1162
  let hasSlotRelocation = false;
1141
1163
  lazyBundles.map((lazyBundle) => {
1142
1164
  lazyBundle[1].map((compactMeta) => {
1165
+ var _a2;
1143
1166
  const cmpMeta = {
1144
1167
  $flags$: compactMeta[0],
1145
1168
  $tagName$: compactMeta[1],
@@ -1158,6 +1181,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1158
1181
  {
1159
1182
  cmpMeta.$attrsToReflect$ = [];
1160
1183
  }
1184
+ {
1185
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1186
+ }
1161
1187
  const tagName = cmpMeta.$tagName$;
1162
1188
  const HostElement = class extends HTMLElement {
1163
1189
  // StencilLazyHost
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d192649c.js');
5
+ const index = require('./index-d95e894d.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
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-bullet_3.cjs",[[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32],"resultMap":[32]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32],"limitStylingAppends":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}]]]], options);
11
+ return index.bootstrapLazy([["lottery-bullet_3.cjs",[[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -2,7 +2,64 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d192649c.js');
5
+ const index = require('./index-d95e894d.js');
6
+
7
+ /**
8
+ * @name setClientStyling
9
+ * @description Method used to create and append to the passed element of the widget a style element with the content received
10
+ * @param {HTMLElement} stylingContainer The reference element of the widget
11
+ * @param {string} clientStyling The style content
12
+ */
13
+ function setClientStyling(stylingContainer, clientStyling) {
14
+ if (stylingContainer) {
15
+ const sheet = document.createElement('style');
16
+ sheet.innerHTML = clientStyling;
17
+ stylingContainer.appendChild(sheet);
18
+ }
19
+ }
20
+
21
+ /**
22
+ * @name setClientStylingURL
23
+ * @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
24
+ * @param {HTMLElement} stylingContainer The reference element of the widget
25
+ * @param {string} clientStylingUrl The URL of the style content
26
+ */
27
+ function setClientStylingURL(stylingContainer, clientStylingUrl) {
28
+ const url = new URL(clientStylingUrl);
29
+
30
+ fetch(url.href)
31
+ .then((res) => res.text())
32
+ .then((data) => {
33
+ const cssFile = document.createElement('style');
34
+ cssFile.innerHTML = data;
35
+ if (stylingContainer) {
36
+ stylingContainer.appendChild(cssFile);
37
+ }
38
+ })
39
+ .catch((err) => {
40
+ console.error('There was an error while trying to load client styling from URL', err);
41
+ });
42
+ }
43
+
44
+ /**
45
+ * @name setStreamLibrary
46
+ * @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
47
+ * @param {HTMLElement} stylingContainer The highest element of the widget
48
+ * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
49
+ * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
50
+ */
51
+ function setStreamStyling(stylingContainer, domain, subscription) {
52
+ if (window.emMessageBus) {
53
+ const sheet = document.createElement('style');
54
+
55
+ window.emMessageBus.subscribe(domain, (data) => {
56
+ sheet.innerHTML = data;
57
+ if (stylingContainer) {
58
+ stylingContainer.appendChild(sheet);
59
+ }
60
+ });
61
+ }
62
+ }
6
63
 
7
64
  const lotteryBulletCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}@-webkit-keyframes Circle{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes Circle{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes hover-rotate{0%{-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}50%{-webkit-transform:scale(1.2) rotateZ(180deg);transform:scale(1.22) rotateZ(180deg)}100%{-webkit-transform:scale(1) rotateZ(360deg);transform:scale(1) rotateZ(360deg)}}@keyframes hover-rotate{0%{-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}50%{-webkit-transform:scale(1.2) rotateZ(180deg);transform:scale(1.2) rotateZ(180deg)}100%{-webkit-transform:scale(1) rotateZ(360deg);transform:scale(1) rotateZ(360deg)}}@-webkit-keyframes selected-scaleUp{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes selected-scaleUp{0%{-webkit-transform:scale(0.5);transform:scale(0.5)}100%{-webkit-transform:scale(1);transform:scale(1)}}.Circle{-webkit-animation:Circle 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:Circle 0.8s cubic-bezier(0.39, 0.575, 0.565, 1) both;cursor:pointer;color:var(--emw--button-text-color, #000);display:block;height:30px;width:30px;margin:0;display:flex;align-items:center;justify-content:center;justify-content:center;align-items:center;border:solid 2px var(--emw--color-gray-transparency-100, rgb(255, 255, 255));background:radial-gradient(circle at top, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 0%, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 100%);font-weight:bold;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.5);user-select:none;font-size:16px;line-height:16px;font-weight:600;position:relative}.Circle:hover{-webkit-animation:hover-rotate 0.4s linear both;animation:hover-rotate 0.4s linear both;background:radial-gradient(circle at top, var(--emw--color-gray-transparency-100, rgb(255, 255, 255)) 0%, var(--emw--color-gray-50, #F1F1F1) 100%)}.Circle.Selected{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));background:var(--emw--color-primary, #9EC258);background:-webkit-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:-moz-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:radial-gradient(circle at top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));border:solid 2px var(--emw--button-border-color, #00958f)}.Circle.Disabled{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-50, #F1F1F1);background:var(--emw--color-gray-100, #D4D4D4);border:solid 2px var(--emw--color-gray-100, #D4D4D4);cursor:default}.Circle.DisabledSelected{-webkit-animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;animation:selected-scaleUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;color:var(--emw--color-gray-50, #F1F1F1);background:var(--emw--color-primary, #9EC258);background:-webkit-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:-moz-radial-gradient(top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));background:radial-gradient(circle at top, var(--emw--button-background-color, #00958f), var(--emw--color-primary-variant, #004D4A));border:solid 2px var(--emw--color-gray-100, #D4D4D4);cursor:default}.Circle.Bonus{background:var(--emw--color-error, #FF3D00)}";
8
65
  const LotteryBulletStyle0 = lotteryBulletCss;
@@ -20,40 +77,47 @@ const LotteryBullet = class {
20
77
  });
21
78
  }
22
79
  };
23
- this.setClientStyling = () => {
24
- let sheet = document.createElement('style');
25
- sheet.innerHTML = this.clientStyling;
26
- this.stylingContainer.prepend(sheet);
27
- };
28
- this.setClientStylingURL = () => {
29
- let cssFile = document.createElement('style');
30
- setTimeout(() => {
31
- cssFile.innerHTML = this.clientStylingUrlContent;
32
- this.stylingContainer.prepend(cssFile);
33
- }, 1);
34
- };
35
80
  this.value = '0';
36
81
  this.selectable = true;
37
82
  this.isSelected = false;
38
83
  this.isBonus = false;
39
84
  this.clientStyling = '';
40
- this.clientStylingUrlContent = '';
41
- this.limitStylingAppends = false;
85
+ this.clientStylingUrl = '';
86
+ this.mbSource = undefined;
87
+ }
88
+ handleClientStylingChange(newValue, oldValue) {
89
+ if (newValue != oldValue) {
90
+ setClientStyling(this.stylingContainer, this.clientStyling);
91
+ }
92
+ }
93
+ handleClientStylingUrlChange(newValue, oldValue) {
94
+ if (newValue != oldValue) {
95
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
96
+ }
42
97
  }
43
- componentDidRender() {
44
- // start custom styling area
45
- if (!this.limitStylingAppends && this.stylingContainer) {
98
+ handleMbSourceChange(newValue, oldValue) {
99
+ if (newValue != oldValue) {
100
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
101
+ }
102
+ }
103
+ componentDidLoad() {
104
+ if (this.stylingContainer) {
105
+ if (this.mbSource)
106
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
46
107
  if (this.clientStyling)
47
- this.setClientStyling();
48
- if (this.clientStylingUrlContent)
49
- this.setClientStylingURL();
50
- this.limitStylingAppends = true;
108
+ setClientStyling(this.stylingContainer, this.clientStyling);
109
+ if (this.clientStylingUrl)
110
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
51
111
  }
52
- // end custom styling area
53
112
  }
54
113
  render() {
55
- return (index.h("div", { key: 'a21cbee8f556bfbbe9f97be5f44bfc08b6f24dd6', class: 'Circle ' + (this.selectable ? '' : 'Disabled') + (this.isSelected ? 'Selected' : '') + (this.isBonus ? ' Bonus' : ''), onClick: () => this.select(), ref: el => this.stylingContainer = el }, this.value));
114
+ return (index.h("div", { key: '2cfab600728d3aa72f9f87e4e07a968ea030e415', class: 'Circle ' + (this.selectable ? '' : 'Disabled') + (this.isSelected ? 'Selected' : '') + (this.isBonus ? ' Bonus' : ''), onClick: () => this.select(), ref: el => this.stylingContainer = el }, this.value));
56
115
  }
116
+ static get watchers() { return {
117
+ "clientStyling": ["handleClientStylingChange"],
118
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
119
+ "mbSource": ["handleMbSourceChange"]
120
+ }; }
57
121
  };
58
122
  LotteryBullet.style = LotteryBulletStyle0;
59
123
 
@@ -2346,18 +2410,6 @@ const LotteryDrawResults = class {
2346
2410
  index.registerInstance(this, hostRef);
2347
2411
  this.ticketDrawDetails = [];
2348
2412
  this.ticketDrawDetailsFlag = true;
2349
- this.setClientStyling = () => {
2350
- let sheet = document.createElement('style');
2351
- sheet.innerHTML = this.clientStyling;
2352
- this.stylingContainer.prepend(sheet);
2353
- };
2354
- this.setClientStylingURL = () => {
2355
- let cssFile = document.createElement('style');
2356
- setTimeout(() => {
2357
- cssFile.innerHTML = this.clientStylingUrlContent;
2358
- this.stylingContainer.prepend(cssFile);
2359
- }, 1);
2360
- };
2361
2413
  this.displayPrizeCategory = (details, drawDetail) => {
2362
2414
  const prizeMap = new Map();
2363
2415
  details.forEach((detail) => {
@@ -2411,7 +2463,8 @@ const LotteryDrawResults = class {
2411
2463
  this.ticketNumbers = '';
2412
2464
  this.sessionId = '';
2413
2465
  this.clientStyling = '';
2414
- this.clientStylingUrlContent = '';
2466
+ this.clientStylingUrl = '';
2467
+ this.mbSource = undefined;
2415
2468
  this.ticketDrawData = '';
2416
2469
  this.historyDrawData = '';
2417
2470
  this.tabValue = '';
@@ -2424,10 +2477,24 @@ const LotteryDrawResults = class {
2424
2477
  this.ticketDataLoaded = false;
2425
2478
  this.ticketDraws = [];
2426
2479
  this.toggleDrawer = [false];
2427
- this.limitStylingAppends = false;
2428
2480
  this.drawData = undefined;
2429
2481
  this.resultMap = { Won: "Win", Lost: "Lose" };
2430
2482
  }
2483
+ handleClientStylingChange(newValue, oldValue) {
2484
+ if (newValue != oldValue) {
2485
+ setClientStyling(this.stylingContainer, this.clientStyling);
2486
+ }
2487
+ }
2488
+ handleClientStylingUrlChange(newValue, oldValue) {
2489
+ if (newValue != oldValue) {
2490
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
2491
+ }
2492
+ }
2493
+ handleMbSourceChange(newValue, oldValue) {
2494
+ if (newValue != oldValue) {
2495
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2496
+ }
2497
+ }
2431
2498
  componentWillLoad() {
2432
2499
  if (this.translationUrl) {
2433
2500
  getTranslations(JSON.parse(this.translationUrl));
@@ -2462,16 +2529,15 @@ const LotteryDrawResults = class {
2462
2529
  this.ticketDrawDetailsFlag = false;
2463
2530
  }
2464
2531
  }
2465
- componentDidRender() {
2466
- // start custom styling area
2467
- if (!this.limitStylingAppends && this.stylingContainer) {
2532
+ componentDidLoad() {
2533
+ if (this.stylingContainer) {
2534
+ if (this.mbSource)
2535
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2468
2536
  if (this.clientStyling)
2469
- this.setClientStyling();
2470
- if (this.clientStylingUrlContent)
2471
- this.setClientStylingURL();
2472
- this.limitStylingAppends = true;
2537
+ setClientStyling(this.stylingContainer, this.clientStyling);
2538
+ if (this.clientStylingUrl)
2539
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
2473
2540
  }
2474
- // end custom styling area
2475
2541
  }
2476
2542
  getDrawData(drawId) {
2477
2543
  this.isLoading = true;
@@ -2530,11 +2596,11 @@ const LotteryDrawResults = class {
2530
2596
  else {
2531
2597
  return (index.h("section", { class: "DrawResultsSection", ref: el => this.stylingContainer = el }, this.drawMode ?
2532
2598
  index.h("div", { class: "DrawResultsArea" }, this.drawData &&
2533
- index.h("div", null, index.h("div", { class: "DrawResultsHeader" }, index.h("span", null, translate('drawId', this.language), ": ", this.drawData.id), index.h("span", null, translate('drawDate', this.language), ": ", format(new Date(this.drawData.date), 'dd/MM/yyyy'))), index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "DrawNumbersGrid" }, index.h("p", null, translate('drawNumbersGridDraw', this.language)), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": this.drawData.winningNumbers.length && this.drawData.winningNumbers[0]['numbers'].join(','), "secondary-numbers": this.drawData.winningNumbers.length ? this.drawData.winningNumbers[0]['secondaryNumbers'].join(',') : '', "display-selected": true, selectable: false, language: this.language, "grid-type": 'ticket', "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })), index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate('prize', this.language), " "), this.drawData.prizes.length ? index.h("div", null, " ", this.drawData.prizes.filter(item => item.division !== 'None').map((prize) => index.h("div", null, index.h("span", { style: { 'margin-right': '5px' } }, prize.division, ":"), index.h("span", { style: { 'margin-right': '4px' } }, " ", this.thousandSeperator(prize.amount.value)), index.h("span", null, prize.amount.currency)))) : index.h("div", null, "None"))))))
2599
+ index.h("div", null, index.h("div", { class: "DrawResultsHeader" }, index.h("span", null, translate('drawId', this.language), ": ", this.drawData.id), index.h("span", null, translate('drawDate', this.language), ": ", format(new Date(this.drawData.date), 'dd/MM/yyyy'))), index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "DrawNumbersGrid" }, index.h("p", null, translate('drawNumbersGridDraw', this.language)), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": this.drawData.winningNumbers.length && this.drawData.winningNumbers[0]['numbers'].join(','), "secondary-numbers": this.drawData.winningNumbers.length ? this.drawData.winningNumbers[0]['secondaryNumbers'].join(',') : '', "display-selected": true, selectable: false, language: this.language, "grid-type": 'ticket', "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate('prize', this.language), " "), this.drawData.prizes.length ? index.h("div", null, " ", this.drawData.prizes.filter(item => item.division !== 'None').map((prize) => index.h("div", null, index.h("span", { style: { 'margin-right': '5px' } }, prize.division, ":"), index.h("span", { style: { 'margin-right': '4px' } }, " ", this.thousandSeperator(prize.amount.value)), index.h("span", null, prize.amount.currency)))) : index.h("div", null, "None"))))))
2534
2600
  :
2535
2601
  index.h("div", { class: "DrawResultsArea TicketDraws" }, index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "TicketIdContainer" }, index.h("label", { class: "Label" }, translate('ticketId', this.language), ": ", index.h("span", null, this.ticketId))), index.h("div", { class: "TicketTypeContainer" }, index.h("label", { class: "Label" }, translate('ticketType', this.language), ": ", index.h("span", null, this.ticketType))), index.h("div", { class: "TicketAmountContainer" }, index.h("label", { class: "Label" }, translate('ticketAmount', this.language), ": ", index.h("span", null, `${this.thousandSeperator(this.ticketAmount)} ${this.ticketCurrency}`))), index.h("div", { class: "DrawNumbersGrid" }, this.gridNumbers.map((grid, index$1) => {
2536
2602
  var _a;
2537
- return index.h("div", null, index.h("label", { class: "Label" }, translate('drawNumbersGridTicket', this.language), ":"), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": grid.join(','), "secondary-numbers": (_a = this.gridSecondaryNumbers[index$1]) === null || _a === void 0 ? void 0 : _a.join(','), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })));
2603
+ return index.h("div", null, index.h("label", { class: "Label" }, translate('drawNumbersGridTicket', this.language), ":"), index.h("div", { class: "BulletContainer" }, index.h("lottery-grid", { "selected-numbers": grid.join(','), "secondary-numbers": (_a = this.gridSecondaryNumbers[index$1]) === null || _a === void 0 ? void 0 : _a.join(','), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })));
2538
2604
  })), this.ticketMultiplier &&
2539
2605
  index.h("div", { class: "DrawMultipler" }, index.h("label", { class: "Label" }, translate('multiplierNum', this.language), ": ", this.thousandSeperator(this.ticketMultiplierNum))), index.h("div", { class: "NumberOfDrawsContainer" }, index.h("label", { class: "Label" }, translate('numberOfDraws', this.language), ": ", this.thousandSeperator(this.ticketDrawCount)), index.h("div", { class: "DrawTicketsContainer" }, this.ticketDrawDetails && this.ticketDrawDetails.length > 0 &&
2540
2606
  index.h("div", { class: "ExpandableBoxes" }, this.ticketDrawDetails.map((drawDetail, index$1) => {
@@ -2544,11 +2610,16 @@ const LotteryDrawResults = class {
2544
2610
  index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate('drawId', this.language), ": ", drawDetail.drawId))), index.h("div", { class: "ExpandableBoxBody" }, index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate('drawId', this.language), ": ", drawDetail.drawId)), index.h("div", { class: "DrawDateContainer" }, index.h("p", null, translate('drawDate', this.language), ": ", (_a = drawDetail.drawData) === null || _a === void 0 ? void 0 :
2545
2611
  _a.date.slice(0, 10), " | ", (_b = drawDetail.drawData) === null || _b === void 0 ? void 0 :
2546
2612
  _b.date.slice(11, 19))), index.h("div", { class: "DrawNumbersGrid" }, drawDetail.drawData &&
2547
- index.h("div", { class: 'BulletContainer' }, index.h("label", { class: "Label" }, translate('drawNumbersGridDraw', this.language), ":"), index.h("lottery-grid", { "selected-numbers": ((_d = (_c = drawDetail.drawData) === null || _c === void 0 ? void 0 : _c.winningNumbers) === null || _d === void 0 ? void 0 : _d.length) && ((_e = drawDetail.drawData.winningNumbers[0]['numbers']) === null || _e === void 0 ? void 0 : _e.join(',')), "secondary-numbers": ((_g = (_f = drawDetail.drawData) === null || _f === void 0 ? void 0 : _f.winningNumbers) === null || _g === void 0 ? void 0 : _g.length) && ((_h = drawDetail.drawData.winningNumbers[0]['secondaryNumbers']) === null || _h === void 0 ? void 0 : _h.join(',')), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }))), drawDetail.details.length > 0 &&
2613
+ index.h("div", { class: 'BulletContainer' }, index.h("label", { class: "Label" }, translate('drawNumbersGridDraw', this.language), ":"), index.h("lottery-grid", { "selected-numbers": ((_d = (_c = drawDetail.drawData) === null || _c === void 0 ? void 0 : _c.winningNumbers) === null || _d === void 0 ? void 0 : _d.length) && ((_e = drawDetail.drawData.winningNumbers[0]['numbers']) === null || _e === void 0 ? void 0 : _e.join(',')), "secondary-numbers": ((_g = (_f = drawDetail.drawData) === null || _f === void 0 ? void 0 : _f.winningNumbers) === null || _g === void 0 ? void 0 : _g.length) && ((_h = drawDetail.drawData.winningNumbers[0]['secondaryNumbers']) === null || _h === void 0 ? void 0 : _h.join(',')), selectable: false, "display-selected": true, language: this.language, "translation-url": this.translationUrl, "grid-type": 'ticket', "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))), drawDetail.details.length > 0 &&
2548
2614
  index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate('prize', this.language), ":"), index.h("span", null, drawDetail.details.map((item) => index.h("span", null, index.h("div", null, index.h("span", null, item.prizeName, item.times > 1 ? ' x ' + item.times : '', ": "), index.h("span", { style: { 'margin-right': '4px' } }, this.thousandSeperator(item.amount)), index.h("span", null, item.currency))))))));
2549
2615
  }))))))));
2550
2616
  }
2551
2617
  }
2618
+ static get watchers() { return {
2619
+ "clientStyling": ["handleClientStylingChange"],
2620
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
2621
+ "mbSource": ["handleMbSourceChange"]
2622
+ }; }
2552
2623
  };
2553
2624
  LotteryDrawResults.style = LotteryDrawResultsStyle0;
2554
2625
 
@@ -2562,18 +2633,6 @@ const LotteryGrid = class {
2562
2633
  this.gridDirtyEvent = index.createEvent(this, "gridDirty", 7);
2563
2634
  this.gridClearAllEvent = index.createEvent(this, "gridClearAllEvent", 7);
2564
2635
  this.selectedCounter = 0;
2565
- this.setClientStyling = () => {
2566
- let sheet = document.createElement('style');
2567
- sheet.innerHTML = this.clientStyling;
2568
- this.stylingContainer.prepend(sheet);
2569
- };
2570
- this.setClientStylingURL = () => {
2571
- let cssFile = document.createElement('style');
2572
- setTimeout(() => {
2573
- cssFile.innerHTML = this.clientStylingUrlContent;
2574
- this.stylingContainer.prepend(cssFile);
2575
- }, 1);
2576
- };
2577
2636
  this.ticketId = undefined;
2578
2637
  this.totalNumbers = 0;
2579
2638
  this.gameId = undefined;
@@ -2588,14 +2647,39 @@ const LotteryGrid = class {
2588
2647
  this.gridIndex = undefined;
2589
2648
  this.gridType = '';
2590
2649
  this.clientStyling = '';
2591
- this.clientStylingUrlContent = '';
2650
+ this.clientStylingUrl = '';
2651
+ this.mbSource = undefined;
2592
2652
  this.highNumber = 47;
2593
2653
  this.lowNumber = 1;
2594
2654
  this.selectionType = 'mainSelection';
2595
2655
  this.partialQuickpickAvailable = false;
2596
2656
  this.numbers = [];
2597
2657
  this.bonusNumbers = [];
2598
- this.limitStylingAppends = false;
2658
+ }
2659
+ handleClientStylingChange(newValue, oldValue) {
2660
+ if (newValue != oldValue) {
2661
+ setClientStyling(this.stylingContainer, this.clientStyling);
2662
+ }
2663
+ }
2664
+ handleClientStylingUrlChange(newValue, oldValue) {
2665
+ if (newValue != oldValue) {
2666
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
2667
+ }
2668
+ }
2669
+ handleMbSourceChange(newValue, oldValue) {
2670
+ if (newValue != oldValue) {
2671
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2672
+ }
2673
+ }
2674
+ componentDidLoad() {
2675
+ if (this.stylingContainer) {
2676
+ if (this.mbSource)
2677
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2678
+ if (this.clientStyling)
2679
+ setClientStyling(this.stylingContainer, this.clientStyling);
2680
+ if (this.clientStylingUrl)
2681
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
2682
+ }
2599
2683
  }
2600
2684
  connectedCallback() {
2601
2685
  let selected = [];
@@ -2632,17 +2716,6 @@ const LotteryGrid = class {
2632
2716
  });
2633
2717
  }
2634
2718
  }
2635
- componentDidRender() {
2636
- // start custom styling area
2637
- if (!this.limitStylingAppends && this.stylingContainer) {
2638
- if (this.clientStyling)
2639
- this.setClientStyling();
2640
- if (this.clientStylingUrlContent)
2641
- this.setClientStylingURL();
2642
- this.limitStylingAppends = true;
2643
- }
2644
- // end custom styling area
2645
- }
2646
2719
  // wrote this because the classic .sort(() => 0.5 - Math.random()) method yielded low entropy shuffles for some reason on certain devices
2647
2720
  shuffleArray(array) {
2648
2721
  const result = [];
@@ -2768,8 +2841,13 @@ const LotteryGrid = class {
2768
2841
  }
2769
2842
  }
2770
2843
  render() {
2771
- return (index.h("div", { key: '8ad436904a126e6bee036c7372cf45c075022e5f', class: "GridContainer", ref: el => this.stylingContainer = el }, index.h("div", { key: '5a8818209485f0808a99978910f6f26473dd6f59', class: this.gridType === 'ticket' ? 'Grid TicketGrid' : 'Grid' }, this.numbers.map((item) => index.h("div", null, index.h("lottery-bullet", { value: item.number, selectable: item.selectable, "is-selected": item.selected, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }))), this.bonusNumbers.length ? this.bonusNumbers.map((item) => index.h("div", null, index.h("lottery-bullet", { value: item.number, selectable: item.selectable, "is-selected": item.selected, "is-bonus": true, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }))) : '')));
2844
+ return (index.h("div", { key: 'f62b5b1e5a6cf7bcaa13ce2c8a281bc93fa439f7', class: "GridContainer", ref: el => this.stylingContainer = el }, index.h("div", { key: 'e381adbfff57e2cc343188c46037eb45ab798cac', class: this.gridType === 'ticket' ? 'Grid TicketGrid' : 'Grid' }, this.numbers.map((item) => index.h("div", null, index.h("lottery-bullet", { value: item.number, selectable: item.selectable, "is-selected": item.selected, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))), this.bonusNumbers.length ? this.bonusNumbers.map((item) => index.h("div", null, index.h("lottery-bullet", { value: item.number, selectable: item.selectable, "is-selected": item.selected, "is-bonus": true, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))) : '')));
2772
2845
  }
2846
+ static get watchers() { return {
2847
+ "clientStyling": ["handleClientStylingChange"],
2848
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
2849
+ "mbSource": ["handleMbSourceChange"]
2850
+ }; }
2773
2851
  };
2774
2852
  LotteryGrid.style = LotteryGridStyle0;
2775
2853
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d192649c.js');
5
+ const index = require('./index-d95e894d.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["lottery-bullet_3.cjs",[[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32],"resultMap":[32]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32],"limitStylingAppends":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}]]]], options);
22
+ return index.bootstrapLazy([["lottery-bullet_3.cjs",[[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;