@everymatrix/lottery-tipping-entrance 1.87.26 → 1.87.27

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-2a5f420f.js');
6
- const lotteryTippingEntrance = require('./lottery-tipping-entrance-56886ecb.js');
6
+ const lotteryTippingEntrance = require('./lottery-tipping-entrance-9ccbd01c.js');
7
7
 
8
8
  /**
9
9
  * @name addDays
@@ -184,13 +184,13 @@ const DrawSelection = class {
184
184
  }
185
185
  handleMbSourceChange(newValue, oldValue) {
186
186
  if (newValue != oldValue) {
187
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
187
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
188
188
  }
189
189
  }
190
190
  componentDidLoad() {
191
191
  if (this.stylingContainer) {
192
192
  if (this.mbSource)
193
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
193
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
194
194
  if (this.clientStyling)
195
195
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
196
196
  if (this.clientStylingUrl)
@@ -321,13 +321,13 @@ const GeneralMultiSelect = class {
321
321
  }
322
322
  handleMbSourceChange(newValue, oldValue) {
323
323
  if (newValue != oldValue) {
324
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
324
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
325
325
  }
326
326
  }
327
327
  componentDidLoad() {
328
328
  if (this.stylingContainer) {
329
329
  if (this.mbSource)
330
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
330
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
331
331
  if (this.clientStyling)
332
332
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
333
333
  if (this.clientStylingUrl)
@@ -407,7 +407,7 @@ const GeneralTooltip = class {
407
407
  }
408
408
  handleMbSourceChange(newValue, oldValue) {
409
409
  if (newValue != oldValue) {
410
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
410
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
411
411
  }
412
412
  }
413
413
  componentWillLoad() {
@@ -416,7 +416,7 @@ const GeneralTooltip = class {
416
416
  componentDidLoad() {
417
417
  if (this.stylingContainer) {
418
418
  if (this.mbSource)
419
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
419
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
420
420
  if (this.clientStyling)
421
421
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
422
422
  if (this.clientStylingUrl)
@@ -561,7 +561,7 @@ const LotteryButton = class {
561
561
  }
562
562
  handleMbSourceChange(newValue, oldValue) {
563
563
  if (newValue != oldValue) {
564
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
564
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
565
565
  }
566
566
  }
567
567
  disconnectedCallback() {
@@ -570,7 +570,7 @@ const LotteryButton = class {
570
570
  componentDidLoad() {
571
571
  if (this.stylingContainer) {
572
572
  if (this.mbSource)
573
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
573
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
574
574
  if (this.clientStyling)
575
575
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
576
576
  if (this.clientStylingUrl)
@@ -663,13 +663,13 @@ const LotteryTippingBullet = class {
663
663
  }
664
664
  handleMbSourceChange(newValue, oldValue) {
665
665
  if (newValue != oldValue) {
666
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
666
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
667
667
  }
668
668
  }
669
669
  componentDidLoad() {
670
670
  if (this.stylingContainer) {
671
671
  if (this.mbSource)
672
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
672
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
673
673
  if (this.clientStyling)
674
674
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
675
675
  if (this.clientStylingUrl)
@@ -755,13 +755,13 @@ const LotteryTippingBulletGroup = class {
755
755
  }
756
756
  handleMbSourceChange(newValue, oldValue) {
757
757
  if (newValue != oldValue) {
758
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
758
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
759
759
  }
760
760
  }
761
761
  componentDidLoad() {
762
762
  if (this.stylingContainer) {
763
763
  if (this.mbSource)
764
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
764
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
765
765
  if (this.clientStyling)
766
766
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
767
767
  if (this.clientStylingUrl)
@@ -1230,7 +1230,7 @@ const LotteryTippingDialog = class {
1230
1230
  }
1231
1231
  handleMbSourceChange(newValue, oldValue) {
1232
1232
  if (newValue != oldValue) {
1233
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1233
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1234
1234
  }
1235
1235
  }
1236
1236
  componentWillLoad() {
@@ -1409,7 +1409,7 @@ const LotteryTippingFilter = class {
1409
1409
  }
1410
1410
  handleMbSourceChange(newValue, oldValue) {
1411
1411
  if (newValue != oldValue) {
1412
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1412
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1413
1413
  }
1414
1414
  }
1415
1415
  componentWillLoad() {
@@ -1424,7 +1424,7 @@ const LotteryTippingFilter = class {
1424
1424
  componentDidLoad() {
1425
1425
  if (this.stylingContainer) {
1426
1426
  if (this.mbSource)
1427
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1427
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1428
1428
  if (this.clientStyling)
1429
1429
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
1430
1430
  if (this.clientStylingUrl)
@@ -1725,7 +1725,7 @@ const LotteryTippingLatestResult = class {
1725
1725
  }
1726
1726
  handleMbSourceChange(newValue, oldValue) {
1727
1727
  if (newValue != oldValue) {
1728
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1728
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1729
1729
  }
1730
1730
  }
1731
1731
  componentWillLoad() {
@@ -1750,7 +1750,7 @@ const LotteryTippingLatestResult = class {
1750
1750
  componentDidLoad() {
1751
1751
  if (this.stylingContainer) {
1752
1752
  if (this.mbSource)
1753
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1753
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1754
1754
  if (this.clientStyling)
1755
1755
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
1756
1756
  if (this.clientStylingUrl)
@@ -2011,7 +2011,7 @@ const LotteryTippingPage = class {
2011
2011
  }
2012
2012
  handleMbSourceChange(newValue, oldValue) {
2013
2013
  if (newValue != oldValue) {
2014
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2014
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2015
2015
  }
2016
2016
  }
2017
2017
  componentWillLoad() {
@@ -2022,7 +2022,7 @@ const LotteryTippingPage = class {
2022
2022
  componentDidLoad() {
2023
2023
  if (this.stylingContainer) {
2024
2024
  if (this.mbSource)
2025
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2025
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2026
2026
  if (this.clientStyling)
2027
2027
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
2028
2028
  if (this.clientStylingUrl)
@@ -2253,13 +2253,13 @@ const LotteryTippingPagination = class {
2253
2253
  }
2254
2254
  handleMbSourceChange(newValue, oldValue) {
2255
2255
  if (newValue != oldValue) {
2256
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2256
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2257
2257
  }
2258
2258
  }
2259
2259
  componentDidLoad() {
2260
2260
  if (this.stylingContainer) {
2261
2261
  if (this.mbSource)
2262
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2262
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2263
2263
  if (this.clientStyling)
2264
2264
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
2265
2265
  if (this.clientStylingUrl)
@@ -2387,13 +2387,13 @@ const lotteryTippingPanel = class {
2387
2387
  }
2388
2388
  handleMbSourceChange(newValue, oldValue) {
2389
2389
  if (newValue != oldValue) {
2390
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2390
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2391
2391
  }
2392
2392
  }
2393
2393
  componentDidLoad() {
2394
2394
  if (this.stylingContainer) {
2395
2395
  if (this.mbSource)
2396
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2396
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2397
2397
  if (this.clientStyling)
2398
2398
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
2399
2399
  if (this.clientStylingUrl)
@@ -2753,7 +2753,7 @@ const LotteryTippingTicketBanner = class {
2753
2753
  }
2754
2754
  handleMbSourceChange(newValue, oldValue) {
2755
2755
  if (newValue != oldValue) {
2756
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2756
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2757
2757
  }
2758
2758
  }
2759
2759
  async componentWillLoad() {
@@ -2764,7 +2764,7 @@ const LotteryTippingTicketBanner = class {
2764
2764
  componentDidLoad() {
2765
2765
  if (this.stylingContainer) {
2766
2766
  if (this.mbSource)
2767
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2767
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2768
2768
  if (this.clientStyling)
2769
2769
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
2770
2770
  if (this.clientStylingUrl)
@@ -3003,7 +3003,7 @@ const LotteryTippingTicketBet = class {
3003
3003
  }
3004
3004
  handleMbSourceChange(newValue, oldValue) {
3005
3005
  if (newValue != oldValue) {
3006
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3006
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3007
3007
  }
3008
3008
  }
3009
3009
  disconnectedCallback() {
@@ -3017,7 +3017,7 @@ const LotteryTippingTicketBet = class {
3017
3017
  componentDidLoad() {
3018
3018
  if (this.stylingContainer) {
3019
3019
  if (this.mbSource)
3020
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3020
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3021
3021
  if (this.clientStyling)
3022
3022
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
3023
3023
  if (this.clientStylingUrl)
@@ -3501,7 +3501,7 @@ const LotteryTippingTicketController = class {
3501
3501
  }
3502
3502
  handleMbSourceChange(newValue, oldValue) {
3503
3503
  if (newValue != oldValue) {
3504
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3504
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3505
3505
  }
3506
3506
  }
3507
3507
  componentWillLoad() {
@@ -3512,7 +3512,7 @@ const LotteryTippingTicketController = class {
3512
3512
  componentDidLoad() {
3513
3513
  if (this.stylingContainer) {
3514
3514
  if (this.mbSource)
3515
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3515
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3516
3516
  if (this.clientStyling)
3517
3517
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
3518
3518
  if (this.clientStylingUrl)
@@ -3748,13 +3748,13 @@ const LotteryTippingTicketHistory = class {
3748
3748
  }
3749
3749
  handleMbSourceChange(newValue, oldValue) {
3750
3750
  if (newValue != oldValue) {
3751
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3751
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3752
3752
  }
3753
3753
  }
3754
3754
  componentDidLoad() {
3755
3755
  if (this.stylingContainer) {
3756
3756
  if (this.mbSource)
3757
- lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3757
+ lotteryTippingEntrance.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3758
3758
  if (this.clientStyling)
3759
3759
  lotteryTippingEntrance.setClientStyling(this.stylingContainer, this.clientStyling);
3760
3760
  if (this.clientStylingUrl)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const lotteryTippingEntrance = require('./lottery-tipping-entrance-56886ecb.js');
5
+ const lotteryTippingEntrance = require('./lottery-tipping-entrance-9ccbd01c.js');
6
6
  require('./index-2a5f420f.js');
7
7
 
8
8
 
@@ -6662,6 +6662,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6662
6662
  <div on-click="_scrollForward" part="forward-button" aria-hidden="true"></div>
6663
6663
  `}static get is(){return "vaadin-tabs"}}v(vh);
6664
6664
 
6665
+ const StyleCacheKey = '__WIDGET_GLOBAL_STYLE_CACHE__';
6666
+
6665
6667
  /**
6666
6668
  * @name setClientStyling
6667
6669
  * @description Method used to create and append to the passed element of the widget a style element with the content received
@@ -6707,18 +6709,75 @@ function setClientStylingURL(stylingContainer, clientStylingUrl) {
6707
6709
  * @param {HTMLElement} stylingContainer The highest element of the widget
6708
6710
  * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
6709
6711
  * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
6712
+ * @param {boolean} useAdoptedStyleSheets A flag to gradually enable testing of adoptedStyleSheets
6710
6713
  */
6711
- function setStreamStyling(stylingContainer, domain, subscription) {
6712
- if (window.emMessageBus) {
6713
- const sheet = document.createElement('style');
6714
+ function setStreamStyling(stylingContainer, domain, subscription, useAdoptedStyleSheets = false) {
6715
+ if (!window.emMessageBus) return;
6714
6716
 
6715
- window.emMessageBus.subscribe(domain, (data) => {
6716
- sheet.innerHTML = data;
6717
- if (stylingContainer) {
6718
- stylingContainer.appendChild(sheet);
6719
- }
6720
- });
6717
+ const supportAdoptStyle = 'adoptedStyleSheets' in Document.prototype;
6718
+
6719
+ if (!supportAdoptStyle || !useAdoptedStyleSheets) {
6720
+ subscription = getStyleTagSubscription(stylingContainer, domain);
6721
+
6722
+ return subscription;
6721
6723
  }
6724
+
6725
+ if (!window[StyleCacheKey]) {
6726
+ window[StyleCacheKey] = {};
6727
+ }
6728
+ subscription = getAdoptStyleSubscription(stylingContainer, domain);
6729
+
6730
+ const originalUnsubscribe = subscription.unsubscribe.bind(subscription);
6731
+ const wrappedUnsubscribe = () => {
6732
+ if (window[StyleCacheKey][domain]) {
6733
+ const cachedObject = window[StyleCacheKey][domain];
6734
+ cachedObject.refCount > 1
6735
+ ? (cachedObject.refCount = cachedObject.refCount - 1)
6736
+ : delete window[StyleCacheKey][domain];
6737
+ }
6738
+
6739
+ originalUnsubscribe();
6740
+ };
6741
+ subscription.unsubscribe = wrappedUnsubscribe;
6742
+
6743
+ return subscription;
6744
+ }
6745
+
6746
+ function getStyleTagSubscription(stylingContainer, domain) {
6747
+ const sheet = document.createElement('style');
6748
+
6749
+ return window.emMessageBus.subscribe(domain, (data) => {
6750
+ if (stylingContainer) {
6751
+ sheet.innerHTML = data;
6752
+ stylingContainer.appendChild(sheet);
6753
+ }
6754
+ });
6755
+ }
6756
+
6757
+ function getAdoptStyleSubscription(stylingContainer, domain) {
6758
+ return window.emMessageBus.subscribe(domain, (data) => {
6759
+ if (!stylingContainer) return;
6760
+
6761
+ const shadowRoot = stylingContainer.getRootNode();
6762
+ const cacheStyleObject = window[StyleCacheKey];
6763
+ let cachedStyle = cacheStyleObject[domain]?.sheet;
6764
+
6765
+ if (!cachedStyle) {
6766
+ cachedStyle = new CSSStyleSheet();
6767
+ cachedStyle.replaceSync(data);
6768
+ cacheStyleObject[domain] = {
6769
+ sheet: cachedStyle,
6770
+ refCount: 1
6771
+ };
6772
+ } else {
6773
+ cacheStyleObject[domain].refCount = cacheStyleObject[domain].refCount + 1;
6774
+ }
6775
+
6776
+ const currentSheets = shadowRoot.adoptedStyleSheets || [];
6777
+ if (!currentSheets.includes(cachedStyle)) {
6778
+ shadowRoot.adoptedStyleSheets = [...currentSheets, cachedStyle];
6779
+ }
6780
+ });
6722
6781
  }
6723
6782
 
6724
6783
  function _typeof(o) {
@@ -9401,7 +9460,7 @@ const LotteryTippingEntrance = class {
9401
9460
  }
9402
9461
  handleMbSourceChange(newValue, oldValue) {
9403
9462
  if (newValue != oldValue) {
9404
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9463
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
9405
9464
  }
9406
9465
  }
9407
9466
  async onPropsChange() {
@@ -9416,7 +9475,7 @@ const LotteryTippingEntrance = class {
9416
9475
  componentDidLoad() {
9417
9476
  if (this.stylingContainer) {
9418
9477
  if (this.mbSource)
9419
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9478
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
9420
9479
  if (this.clientStyling)
9421
9480
  setClientStyling(this.stylingContainer, this.clientStyling);
9422
9481
  if (this.clientStylingUrl)
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getAssetPath, a as getElement, H as Host } from './index-c22bb7d4.js';
2
- import { r as requiredArgs, t as toDate, a as toInteger, s as setClientStyling, b as setClientStylingURL, c as setStreamStyling, f as formatDate$2, d as translate$8, i as isMobile$1, g as getDayWithSuffixLocal, e as format, p as parseISO } from './lottery-tipping-entrance-e25ad0da.js';
3
- export { L as lottery_tipping_entrance } from './lottery-tipping-entrance-e25ad0da.js';
2
+ import { r as requiredArgs, t as toDate, a as toInteger, s as setClientStyling, b as setClientStylingURL, c as setStreamStyling, f as formatDate$2, d as translate$8, i as isMobile$1, g as getDayWithSuffixLocal, e as format, p as parseISO } from './lottery-tipping-entrance-1da12caf.js';
3
+ export { L as lottery_tipping_entrance } from './lottery-tipping-entrance-1da12caf.js';
4
4
 
5
5
  /**
6
6
  * @name addDays
@@ -181,13 +181,13 @@ const DrawSelection = class {
181
181
  }
182
182
  handleMbSourceChange(newValue, oldValue) {
183
183
  if (newValue != oldValue) {
184
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
184
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
185
185
  }
186
186
  }
187
187
  componentDidLoad() {
188
188
  if (this.stylingContainer) {
189
189
  if (this.mbSource)
190
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
190
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
191
191
  if (this.clientStyling)
192
192
  setClientStyling(this.stylingContainer, this.clientStyling);
193
193
  if (this.clientStylingUrl)
@@ -318,13 +318,13 @@ const GeneralMultiSelect = class {
318
318
  }
319
319
  handleMbSourceChange(newValue, oldValue) {
320
320
  if (newValue != oldValue) {
321
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
321
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
322
322
  }
323
323
  }
324
324
  componentDidLoad() {
325
325
  if (this.stylingContainer) {
326
326
  if (this.mbSource)
327
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
327
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
328
328
  if (this.clientStyling)
329
329
  setClientStyling(this.stylingContainer, this.clientStyling);
330
330
  if (this.clientStylingUrl)
@@ -404,7 +404,7 @@ const GeneralTooltip = class {
404
404
  }
405
405
  handleMbSourceChange(newValue, oldValue) {
406
406
  if (newValue != oldValue) {
407
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
407
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
408
408
  }
409
409
  }
410
410
  componentWillLoad() {
@@ -413,7 +413,7 @@ const GeneralTooltip = class {
413
413
  componentDidLoad() {
414
414
  if (this.stylingContainer) {
415
415
  if (this.mbSource)
416
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
416
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
417
417
  if (this.clientStyling)
418
418
  setClientStyling(this.stylingContainer, this.clientStyling);
419
419
  if (this.clientStylingUrl)
@@ -558,7 +558,7 @@ const LotteryButton = class {
558
558
  }
559
559
  handleMbSourceChange(newValue, oldValue) {
560
560
  if (newValue != oldValue) {
561
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
561
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
562
562
  }
563
563
  }
564
564
  disconnectedCallback() {
@@ -567,7 +567,7 @@ const LotteryButton = class {
567
567
  componentDidLoad() {
568
568
  if (this.stylingContainer) {
569
569
  if (this.mbSource)
570
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
570
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
571
571
  if (this.clientStyling)
572
572
  setClientStyling(this.stylingContainer, this.clientStyling);
573
573
  if (this.clientStylingUrl)
@@ -660,13 +660,13 @@ const LotteryTippingBullet = class {
660
660
  }
661
661
  handleMbSourceChange(newValue, oldValue) {
662
662
  if (newValue != oldValue) {
663
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
663
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
664
664
  }
665
665
  }
666
666
  componentDidLoad() {
667
667
  if (this.stylingContainer) {
668
668
  if (this.mbSource)
669
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
669
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
670
670
  if (this.clientStyling)
671
671
  setClientStyling(this.stylingContainer, this.clientStyling);
672
672
  if (this.clientStylingUrl)
@@ -752,13 +752,13 @@ const LotteryTippingBulletGroup = class {
752
752
  }
753
753
  handleMbSourceChange(newValue, oldValue) {
754
754
  if (newValue != oldValue) {
755
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
755
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
756
756
  }
757
757
  }
758
758
  componentDidLoad() {
759
759
  if (this.stylingContainer) {
760
760
  if (this.mbSource)
761
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
761
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
762
762
  if (this.clientStyling)
763
763
  setClientStyling(this.stylingContainer, this.clientStyling);
764
764
  if (this.clientStylingUrl)
@@ -1227,7 +1227,7 @@ const LotteryTippingDialog = class {
1227
1227
  }
1228
1228
  handleMbSourceChange(newValue, oldValue) {
1229
1229
  if (newValue != oldValue) {
1230
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1230
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1231
1231
  }
1232
1232
  }
1233
1233
  componentWillLoad() {
@@ -1406,7 +1406,7 @@ const LotteryTippingFilter = class {
1406
1406
  }
1407
1407
  handleMbSourceChange(newValue, oldValue) {
1408
1408
  if (newValue != oldValue) {
1409
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1409
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1410
1410
  }
1411
1411
  }
1412
1412
  componentWillLoad() {
@@ -1421,7 +1421,7 @@ const LotteryTippingFilter = class {
1421
1421
  componentDidLoad() {
1422
1422
  if (this.stylingContainer) {
1423
1423
  if (this.mbSource)
1424
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1424
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1425
1425
  if (this.clientStyling)
1426
1426
  setClientStyling(this.stylingContainer, this.clientStyling);
1427
1427
  if (this.clientStylingUrl)
@@ -1722,7 +1722,7 @@ const LotteryTippingLatestResult = class {
1722
1722
  }
1723
1723
  handleMbSourceChange(newValue, oldValue) {
1724
1724
  if (newValue != oldValue) {
1725
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1725
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1726
1726
  }
1727
1727
  }
1728
1728
  componentWillLoad() {
@@ -1747,7 +1747,7 @@ const LotteryTippingLatestResult = class {
1747
1747
  componentDidLoad() {
1748
1748
  if (this.stylingContainer) {
1749
1749
  if (this.mbSource)
1750
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
1750
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
1751
1751
  if (this.clientStyling)
1752
1752
  setClientStyling(this.stylingContainer, this.clientStyling);
1753
1753
  if (this.clientStylingUrl)
@@ -2008,7 +2008,7 @@ const LotteryTippingPage = class {
2008
2008
  }
2009
2009
  handleMbSourceChange(newValue, oldValue) {
2010
2010
  if (newValue != oldValue) {
2011
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2011
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2012
2012
  }
2013
2013
  }
2014
2014
  componentWillLoad() {
@@ -2019,7 +2019,7 @@ const LotteryTippingPage = class {
2019
2019
  componentDidLoad() {
2020
2020
  if (this.stylingContainer) {
2021
2021
  if (this.mbSource)
2022
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2022
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2023
2023
  if (this.clientStyling)
2024
2024
  setClientStyling(this.stylingContainer, this.clientStyling);
2025
2025
  if (this.clientStylingUrl)
@@ -2250,13 +2250,13 @@ const LotteryTippingPagination = class {
2250
2250
  }
2251
2251
  handleMbSourceChange(newValue, oldValue) {
2252
2252
  if (newValue != oldValue) {
2253
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2253
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2254
2254
  }
2255
2255
  }
2256
2256
  componentDidLoad() {
2257
2257
  if (this.stylingContainer) {
2258
2258
  if (this.mbSource)
2259
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2259
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2260
2260
  if (this.clientStyling)
2261
2261
  setClientStyling(this.stylingContainer, this.clientStyling);
2262
2262
  if (this.clientStylingUrl)
@@ -2384,13 +2384,13 @@ const lotteryTippingPanel = class {
2384
2384
  }
2385
2385
  handleMbSourceChange(newValue, oldValue) {
2386
2386
  if (newValue != oldValue) {
2387
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2387
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2388
2388
  }
2389
2389
  }
2390
2390
  componentDidLoad() {
2391
2391
  if (this.stylingContainer) {
2392
2392
  if (this.mbSource)
2393
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2393
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2394
2394
  if (this.clientStyling)
2395
2395
  setClientStyling(this.stylingContainer, this.clientStyling);
2396
2396
  if (this.clientStylingUrl)
@@ -2750,7 +2750,7 @@ const LotteryTippingTicketBanner = class {
2750
2750
  }
2751
2751
  handleMbSourceChange(newValue, oldValue) {
2752
2752
  if (newValue != oldValue) {
2753
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2753
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2754
2754
  }
2755
2755
  }
2756
2756
  async componentWillLoad() {
@@ -2761,7 +2761,7 @@ const LotteryTippingTicketBanner = class {
2761
2761
  componentDidLoad() {
2762
2762
  if (this.stylingContainer) {
2763
2763
  if (this.mbSource)
2764
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
2764
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
2765
2765
  if (this.clientStyling)
2766
2766
  setClientStyling(this.stylingContainer, this.clientStyling);
2767
2767
  if (this.clientStylingUrl)
@@ -3000,7 +3000,7 @@ const LotteryTippingTicketBet = class {
3000
3000
  }
3001
3001
  handleMbSourceChange(newValue, oldValue) {
3002
3002
  if (newValue != oldValue) {
3003
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3003
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3004
3004
  }
3005
3005
  }
3006
3006
  disconnectedCallback() {
@@ -3014,7 +3014,7 @@ const LotteryTippingTicketBet = class {
3014
3014
  componentDidLoad() {
3015
3015
  if (this.stylingContainer) {
3016
3016
  if (this.mbSource)
3017
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3017
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3018
3018
  if (this.clientStyling)
3019
3019
  setClientStyling(this.stylingContainer, this.clientStyling);
3020
3020
  if (this.clientStylingUrl)
@@ -3498,7 +3498,7 @@ const LotteryTippingTicketController = class {
3498
3498
  }
3499
3499
  handleMbSourceChange(newValue, oldValue) {
3500
3500
  if (newValue != oldValue) {
3501
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3501
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3502
3502
  }
3503
3503
  }
3504
3504
  componentWillLoad() {
@@ -3509,7 +3509,7 @@ const LotteryTippingTicketController = class {
3509
3509
  componentDidLoad() {
3510
3510
  if (this.stylingContainer) {
3511
3511
  if (this.mbSource)
3512
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3512
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3513
3513
  if (this.clientStyling)
3514
3514
  setClientStyling(this.stylingContainer, this.clientStyling);
3515
3515
  if (this.clientStylingUrl)
@@ -3745,13 +3745,13 @@ const LotteryTippingTicketHistory = class {
3745
3745
  }
3746
3746
  handleMbSourceChange(newValue, oldValue) {
3747
3747
  if (newValue != oldValue) {
3748
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3748
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3749
3749
  }
3750
3750
  }
3751
3751
  componentDidLoad() {
3752
3752
  if (this.stylingContainer) {
3753
3753
  if (this.mbSource)
3754
- setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
3754
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
3755
3755
  if (this.clientStyling)
3756
3756
  setClientStyling(this.stylingContainer, this.clientStyling);
3757
3757
  if (this.clientStylingUrl)
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { L as LotteryTippingEntrance } from './lottery-tipping-entrance-e25ad0da.js';
1
+ export { L as LotteryTippingEntrance } from './lottery-tipping-entrance-1da12caf.js';
2
2
  import './index-c22bb7d4.js';