@everymatrix/lottery-draw-results-history 1.77.0 → 1.77.2

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.
@@ -9390,40 +9390,47 @@ const LotteryBullet = class {
9390
9390
  });
9391
9391
  }
9392
9392
  };
9393
- this.setClientStyling = () => {
9394
- let sheet = document.createElement('style');
9395
- sheet.innerHTML = this.clientStyling;
9396
- this.stylingContainer.prepend(sheet);
9397
- };
9398
- this.setClientStylingURL = () => {
9399
- let cssFile = document.createElement('style');
9400
- setTimeout(() => {
9401
- cssFile.innerHTML = this.clientStylingUrlContent;
9402
- this.stylingContainer.prepend(cssFile);
9403
- }, 1);
9404
- };
9405
9393
  this.value = '0';
9406
9394
  this.selectable = true;
9407
9395
  this.isSelected = false;
9408
9396
  this.isBonus = false;
9409
9397
  this.clientStyling = '';
9410
- this.clientStylingUrlContent = '';
9411
- this.limitStylingAppends = false;
9398
+ this.clientStylingUrl = '';
9399
+ this.mbSource = undefined;
9412
9400
  }
9413
- componentDidRender() {
9414
- // start custom styling area
9415
- if (!this.limitStylingAppends && this.stylingContainer) {
9401
+ handleClientStylingChange(newValue, oldValue) {
9402
+ if (newValue != oldValue) {
9403
+ setClientStyling(this.stylingContainer, this.clientStyling);
9404
+ }
9405
+ }
9406
+ handleClientStylingUrlChange(newValue, oldValue) {
9407
+ if (newValue != oldValue) {
9408
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9409
+ }
9410
+ }
9411
+ handleMbSourceChange(newValue, oldValue) {
9412
+ if (newValue != oldValue) {
9413
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9414
+ }
9415
+ }
9416
+ componentDidLoad() {
9417
+ if (this.stylingContainer) {
9418
+ if (this.mbSource)
9419
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9416
9420
  if (this.clientStyling)
9417
- this.setClientStyling();
9418
- if (this.clientStylingUrlContent)
9419
- this.setClientStylingURL();
9420
- this.limitStylingAppends = true;
9421
+ setClientStyling(this.stylingContainer, this.clientStyling);
9422
+ if (this.clientStylingUrl)
9423
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9421
9424
  }
9422
- // end custom styling area
9423
9425
  }
9424
9426
  render() {
9425
- 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));
9427
+ 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));
9426
9428
  }
9429
+ static get watchers() { return {
9430
+ "clientStyling": ["handleClientStylingChange"],
9431
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
9432
+ "mbSource": ["handleMbSourceChange"]
9433
+ }; }
9427
9434
  };
9428
9435
  LotteryBullet.style = LotteryBulletStyle0;
9429
9436
 
@@ -9520,18 +9527,6 @@ const LotteryDrawResults = class {
9520
9527
  index.registerInstance(this, hostRef);
9521
9528
  this.ticketDrawDetails = [];
9522
9529
  this.ticketDrawDetailsFlag = true;
9523
- this.setClientStyling = () => {
9524
- let sheet = document.createElement('style');
9525
- sheet.innerHTML = this.clientStyling;
9526
- this.stylingContainer.prepend(sheet);
9527
- };
9528
- this.setClientStylingURL = () => {
9529
- let cssFile = document.createElement('style');
9530
- setTimeout(() => {
9531
- cssFile.innerHTML = this.clientStylingUrlContent;
9532
- this.stylingContainer.prepend(cssFile);
9533
- }, 1);
9534
- };
9535
9530
  this.displayPrizeCategory = (details, drawDetail) => {
9536
9531
  const prizeMap = new Map();
9537
9532
  details.forEach((detail) => {
@@ -9585,7 +9580,8 @@ const LotteryDrawResults = class {
9585
9580
  this.ticketNumbers = '';
9586
9581
  this.sessionId = '';
9587
9582
  this.clientStyling = '';
9588
- this.clientStylingUrlContent = '';
9583
+ this.clientStylingUrl = '';
9584
+ this.mbSource = undefined;
9589
9585
  this.ticketDrawData = '';
9590
9586
  this.historyDrawData = '';
9591
9587
  this.tabValue = '';
@@ -9598,10 +9594,24 @@ const LotteryDrawResults = class {
9598
9594
  this.ticketDataLoaded = false;
9599
9595
  this.ticketDraws = [];
9600
9596
  this.toggleDrawer = [false];
9601
- this.limitStylingAppends = false;
9602
9597
  this.drawData = undefined;
9603
9598
  this.resultMap = { Won: "Win", Lost: "Lose" };
9604
9599
  }
9600
+ handleClientStylingChange(newValue, oldValue) {
9601
+ if (newValue != oldValue) {
9602
+ setClientStyling(this.stylingContainer, this.clientStyling);
9603
+ }
9604
+ }
9605
+ handleClientStylingUrlChange(newValue, oldValue) {
9606
+ if (newValue != oldValue) {
9607
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9608
+ }
9609
+ }
9610
+ handleMbSourceChange(newValue, oldValue) {
9611
+ if (newValue != oldValue) {
9612
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9613
+ }
9614
+ }
9605
9615
  componentWillLoad() {
9606
9616
  if (this.translationUrl) {
9607
9617
  getTranslations$2(JSON.parse(this.translationUrl));
@@ -9636,16 +9646,15 @@ const LotteryDrawResults = class {
9636
9646
  this.ticketDrawDetailsFlag = false;
9637
9647
  }
9638
9648
  }
9639
- componentDidRender() {
9640
- // start custom styling area
9641
- if (!this.limitStylingAppends && this.stylingContainer) {
9649
+ componentDidLoad() {
9650
+ if (this.stylingContainer) {
9651
+ if (this.mbSource)
9652
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9642
9653
  if (this.clientStyling)
9643
- this.setClientStyling();
9644
- if (this.clientStylingUrlContent)
9645
- this.setClientStylingURL();
9646
- this.limitStylingAppends = true;
9654
+ setClientStyling(this.stylingContainer, this.clientStyling);
9655
+ if (this.clientStylingUrl)
9656
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9647
9657
  }
9648
- // end custom styling area
9649
9658
  }
9650
9659
  getDrawData(drawId) {
9651
9660
  this.isLoading = true;
@@ -9704,11 +9713,11 @@ const LotteryDrawResults = class {
9704
9713
  else {
9705
9714
  return (index.h("section", { class: "DrawResultsSection", ref: el => this.stylingContainer = el }, this.drawMode ?
9706
9715
  index.h("div", { class: "DrawResultsArea" }, this.drawData &&
9707
- index.h("div", null, index.h("div", { class: "DrawResultsHeader" }, index.h("span", null, translate$2('drawId', this.language), ": ", this.drawData.id), index.h("span", null, translate$2('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$2('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$2('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"))))))
9716
+ index.h("div", null, index.h("div", { class: "DrawResultsHeader" }, index.h("span", null, translate$2('drawId', this.language), ": ", this.drawData.id), index.h("span", null, translate$2('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$2('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$2('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"))))))
9708
9717
  :
9709
9718
  index.h("div", { class: "DrawResultsArea TicketDraws" }, index.h("div", { class: "DrawResultsBody" }, index.h("div", { class: "TicketIdContainer" }, index.h("label", { class: "Label" }, translate$2('ticketId', this.language), ": ", index.h("span", null, this.ticketId))), index.h("div", { class: "TicketTypeContainer" }, index.h("label", { class: "Label" }, translate$2('ticketType', this.language), ": ", index.h("span", null, this.ticketType))), index.h("div", { class: "TicketAmountContainer" }, index.h("label", { class: "Label" }, translate$2('ticketAmount', this.language), ": ", index.h("span", null, `${this.thousandSeperator(this.ticketAmount)} ${this.ticketCurrency}`))), index.h("div", { class: "DrawNumbersGrid" }, this.gridNumbers.map((grid, index$1) => {
9710
9719
  var _a;
9711
- return index.h("div", null, index.h("label", { class: "Label" }, translate$2('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 })));
9720
+ return index.h("div", null, index.h("label", { class: "Label" }, translate$2('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 })));
9712
9721
  })), this.ticketMultiplier &&
9713
9722
  index.h("div", { class: "DrawMultipler" }, index.h("label", { class: "Label" }, translate$2('multiplierNum', this.language), ": ", this.thousandSeperator(this.ticketMultiplierNum))), index.h("div", { class: "NumberOfDrawsContainer" }, index.h("label", { class: "Label" }, translate$2('numberOfDraws', this.language), ": ", this.thousandSeperator(this.ticketDrawCount)), index.h("div", { class: "DrawTicketsContainer" }, this.ticketDrawDetails && this.ticketDrawDetails.length > 0 &&
9714
9723
  index.h("div", { class: "ExpandableBoxes" }, this.ticketDrawDetails.map((drawDetail, index$1) => {
@@ -9718,11 +9727,16 @@ const LotteryDrawResults = class {
9718
9727
  index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate$2('drawId', this.language), ": ", drawDetail.drawId))), index.h("div", { class: "ExpandableBoxBody" }, index.h("div", { class: "DrawIdContainer" }, index.h("p", null, translate$2('drawId', this.language), ": ", drawDetail.drawId)), index.h("div", { class: "DrawDateContainer" }, index.h("p", null, translate$2('drawDate', this.language), ": ", (_a = drawDetail.drawData) === null || _a === void 0 ? void 0 :
9719
9728
  _a.date.slice(0, 10), " | ", (_b = drawDetail.drawData) === null || _b === void 0 ? void 0 :
9720
9729
  _b.date.slice(11, 19))), index.h("div", { class: "DrawNumbersGrid" }, drawDetail.drawData &&
9721
- index.h("div", { class: 'BulletContainer' }, index.h("label", { class: "Label" }, translate$2('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 &&
9730
+ index.h("div", { class: 'BulletContainer' }, index.h("label", { class: "Label" }, translate$2('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 &&
9722
9731
  index.h("div", { class: "DrawPrizes" }, index.h("label", { class: "Label" }, translate$2('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))))))));
9723
9732
  }))))))));
9724
9733
  }
9725
9734
  }
9735
+ static get watchers() { return {
9736
+ "clientStyling": ["handleClientStylingChange"],
9737
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
9738
+ "mbSource": ["handleMbSourceChange"]
9739
+ }; }
9726
9740
  };
9727
9741
  LotteryDrawResults.style = LotteryDrawResultsStyle0;
9728
9742
 
@@ -9810,18 +9824,6 @@ const LotteryDrawResultsHistory = class {
9810
9824
  this.noResults = this.drawData.filter(draw => draw.winningNumbers).length == 0 ? true : false;
9811
9825
  });
9812
9826
  };
9813
- this.setClientStyling = () => {
9814
- let sheet = document.createElement('style');
9815
- sheet.innerHTML = this.clientStyling;
9816
- this.stylingContainer.prepend(sheet);
9817
- };
9818
- this.setClientStylingURL = () => {
9819
- let cssFile = document.createElement('style');
9820
- setTimeout(() => {
9821
- cssFile.innerHTML = this.clientStylingUrlContent;
9822
- this.stylingContainer.prepend(cssFile);
9823
- }, 1);
9824
- };
9825
9827
  this.transDataToString = (data) => {
9826
9828
  try {
9827
9829
  return JSON.stringify(data);
@@ -9834,7 +9836,8 @@ const LotteryDrawResultsHistory = class {
9834
9836
  this.gameId = undefined;
9835
9837
  this.language = 'en';
9836
9838
  this.clientStyling = '';
9837
- this.clientStylingUrlContent = '';
9839
+ this.clientStylingUrl = '';
9840
+ this.mbSource = undefined;
9838
9841
  this.translationUrl = undefined;
9839
9842
  this.drawData = [];
9840
9843
  this.winningDataSetsData = [''];
@@ -9842,7 +9845,6 @@ const LotteryDrawResultsHistory = class {
9842
9845
  this.dateFiltersTo = '';
9843
9846
  this.isLoading = false;
9844
9847
  this.noResults = false;
9845
- this.limitStylingAppends = false;
9846
9848
  this.activeIndex = 0;
9847
9849
  this.totalResults = 0;
9848
9850
  this.limit = 5;
@@ -9869,6 +9871,21 @@ const LotteryDrawResultsHistory = class {
9869
9871
  this.isReset = false;
9870
9872
  this.getDrawsData();
9871
9873
  }
9874
+ handleClientStylingChange(newValue, oldValue) {
9875
+ if (newValue != oldValue) {
9876
+ setClientStyling(this.stylingContainer, this.clientStyling);
9877
+ }
9878
+ }
9879
+ handleClientStylingUrlChange(newValue, oldValue) {
9880
+ if (newValue != oldValue) {
9881
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9882
+ }
9883
+ }
9884
+ handleMbSourceChange(newValue, oldValue) {
9885
+ if (newValue != oldValue) {
9886
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9887
+ }
9888
+ }
9872
9889
  connectedCallback() {
9873
9890
  this.getDrawsData();
9874
9891
  }
@@ -9877,25 +9894,29 @@ const LotteryDrawResultsHistory = class {
9877
9894
  getTranslations$1(JSON.parse(this.translationUrl));
9878
9895
  }
9879
9896
  }
9880
- disconnectedCallback() {
9881
- clearInterval(this.interval);
9882
- }
9883
- componentDidRender() {
9884
- // start custom styling area
9885
- if (!this.limitStylingAppends && this.stylingContainer) {
9897
+ componentDidLoad() {
9898
+ if (this.stylingContainer) {
9899
+ if (this.mbSource)
9900
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9886
9901
  if (this.clientStyling)
9887
- this.setClientStyling();
9888
- if (this.clientStylingUrlContent)
9889
- this.setClientStylingURL();
9890
- this.limitStylingAppends = true;
9902
+ setClientStyling(this.stylingContainer, this.clientStyling);
9903
+ if (this.clientStylingUrl)
9904
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9891
9905
  }
9892
- // end custom styling area
9906
+ }
9907
+ disconnectedCallback() {
9908
+ clearInterval(this.interval);
9893
9909
  }
9894
9910
  render() {
9895
- let gridHeader = index.h("div", { key: 'b8771d5092661ca5020d307ab0187311f8a60e56', class: "DrawResultsHeader" }, index.h("div", { key: 'dbe57fcd0959a88490c2ec6b92a5f828fb5abd55', class: "DrawResultsHeaderContent" }, index.h("h4", { key: 'bff47a0181c280a240cec2e3fde19381a2cf1609' }, translate$1('drawResultsHeader', this.language)), index.h("div", { key: '9c7d774d0d07be3e05f6528d000b158550e32a57', class: "FilterSection" }, index.h("helper-filters", { key: '7325eb71811951573d107ae4a1095c4ad66ce157', "activate-ticket-search": "false", "game-id": this.gameId, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }))));
9896
- return index.h("section", { key: '52afb52ee81dab86d31a99498bddf955e3a7bf22', class: "GridWrapper", ref: el => this.stylingContainer = el }, index.h("div", { key: '2d84ed5d4d2c3fa426d245284f8c2dc36da20786', class: "DrawResultsSection" }, index.h("div", { key: 'c960bea0d2c9281fd288d47f983db8929cfa2fe4', class: "DrawResultsAreaHistory" }, gridHeader, index.h("div", { key: '4cf5407c17f5b4573f5d568679a49ee93677e884', class: "HistoryGridWrapper" }, index.h("div", { key: '6ca8e6d7f872b75591003de5c8d5f144ec283a08', class: "HistoryGrid" }, this.isLoading &&
9897
- index.h("p", { key: 'cc1ac748056d3bf79c0eb7853fed0fded00665b4' }, translate$1('loading', this.language)), !this.isLoading && !this.noResults && this.drawData.map((item) => index.h("lottery-draw-results", { endpoint: this.endpoint, "game-id": this.gameId, "draw-id": item.id, "draw-mode": true, language: this.language, "history-draw-data": this.transDataToString(item), "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })), !this.isLoading && this.noResults && (index.h("p", { key: 'afca3878b22cbf60503b80ad83aeb5ed4213f775', class: "errorText" }, translate$1('noResults', this.language))))), index.h("div", { key: '43ae21f99e95c46a41a7434afb29c4544698a4b6', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && index.h("lottery-pagination", { key: '63594981436325b34aa0baf91f5477d83908b011', arrowsActive: true, numberedNavActive: true, "is-reset": this.isReset, "first-page": false, "prev-page": true, "next-page": true, offset: this.offset, limit: this.limit, total: this.totalResults, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent })))));
9911
+ let gridHeader = index.h("div", { key: '77c5f0d587b90c5548f60e045803452e95b8377c', class: "DrawResultsHeader" }, index.h("div", { key: '4aecd3e65ca3b687ed5f32ddd050932edcd4716d', class: "DrawResultsHeaderContent" }, index.h("h4", { key: '373c5c9d7e2e91e0561ee5dbb56b6cc1f0531fbe' }, translate$1('drawResultsHeader', this.language)), index.h("div", { key: '443cb8d63aee0bba92b9ff288bd18336030550ec', class: "FilterSection" }, index.h("helper-filters", { key: '1ed26ba1a261288d2d1c10a14d786da2b6ee4d6b', "activate-ticket-search": "false", "game-id": this.gameId, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))));
9912
+ return index.h("section", { key: '1b2914b84b381721c9a96395f9629407e1444463', class: "GridWrapper", ref: el => this.stylingContainer = el }, index.h("div", { key: '98295c6cd09cd28719b738e16d6aee43be5426eb', class: "DrawResultsSection" }, index.h("div", { key: 'd29bcfe89ad920705c0551c2265e2b7a0a58d6b6', class: "DrawResultsAreaHistory" }, gridHeader, index.h("div", { key: '65b37fa0a70535b5de5f0fbecb3d221bbaa9cad6', class: "HistoryGridWrapper" }, index.h("div", { key: 'dec3e5dde880ecabaf8ccd624ac02de66f86ae82', class: "HistoryGrid" }, this.isLoading &&
9913
+ index.h("p", { key: '4597f37c985b6e63540a74c3b28541974cb8798d' }, translate$1('loading', this.language)), !this.isLoading && !this.noResults && this.drawData.map((item) => index.h("lottery-draw-results", { endpoint: this.endpoint, "game-id": this.gameId, "draw-id": item.id, "draw-mode": true, language: this.language, "history-draw-data": this.transDataToString(item), "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), !this.isLoading && this.noResults && (index.h("p", { key: '1232ffaba11ae9ede882ce3421fb5087e04bdb87', class: "errorText" }, translate$1('noResults', this.language))))), index.h("div", { key: 'c1038f322eafd601df4066746f0f1eb605ade0b0', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && index.h("lottery-pagination", { key: '496f30e9225389b7bc0c6d7784851a01e13ea3c8', arrowsActive: true, numberedNavActive: true, "is-reset": this.isReset, "first-page": false, "prev-page": true, "next-page": true, offset: this.offset, limit: this.limit, total: this.totalResults, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })))));
9898
9914
  }
9915
+ static get watchers() { return {
9916
+ "clientStyling": ["handleClientStylingChange"],
9917
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
9918
+ "mbSource": ["handleMbSourceChange"]
9919
+ }; }
9899
9920
  };
9900
9921
  LotteryDrawResultsHistory.style = LotteryDrawResultsHistoryStyle0;
9901
9922
 
@@ -9909,18 +9930,6 @@ const LotteryGrid = class {
9909
9930
  this.gridDirtyEvent = index.createEvent(this, "gridDirty", 7);
9910
9931
  this.gridClearAllEvent = index.createEvent(this, "gridClearAllEvent", 7);
9911
9932
  this.selectedCounter = 0;
9912
- this.setClientStyling = () => {
9913
- let sheet = document.createElement('style');
9914
- sheet.innerHTML = this.clientStyling;
9915
- this.stylingContainer.prepend(sheet);
9916
- };
9917
- this.setClientStylingURL = () => {
9918
- let cssFile = document.createElement('style');
9919
- setTimeout(() => {
9920
- cssFile.innerHTML = this.clientStylingUrlContent;
9921
- this.stylingContainer.prepend(cssFile);
9922
- }, 1);
9923
- };
9924
9933
  this.ticketId = undefined;
9925
9934
  this.totalNumbers = 0;
9926
9935
  this.gameId = undefined;
@@ -9935,14 +9944,39 @@ const LotteryGrid = class {
9935
9944
  this.gridIndex = undefined;
9936
9945
  this.gridType = '';
9937
9946
  this.clientStyling = '';
9938
- this.clientStylingUrlContent = '';
9947
+ this.clientStylingUrl = '';
9948
+ this.mbSource = undefined;
9939
9949
  this.highNumber = 47;
9940
9950
  this.lowNumber = 1;
9941
9951
  this.selectionType = 'mainSelection';
9942
9952
  this.partialQuickpickAvailable = false;
9943
9953
  this.numbers = [];
9944
9954
  this.bonusNumbers = [];
9945
- this.limitStylingAppends = false;
9955
+ }
9956
+ handleClientStylingChange(newValue, oldValue) {
9957
+ if (newValue != oldValue) {
9958
+ setClientStyling(this.stylingContainer, this.clientStyling);
9959
+ }
9960
+ }
9961
+ handleClientStylingUrlChange(newValue, oldValue) {
9962
+ if (newValue != oldValue) {
9963
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9964
+ }
9965
+ }
9966
+ handleMbSourceChange(newValue, oldValue) {
9967
+ if (newValue != oldValue) {
9968
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9969
+ }
9970
+ }
9971
+ componentDidLoad() {
9972
+ if (this.stylingContainer) {
9973
+ if (this.mbSource)
9974
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
9975
+ if (this.clientStyling)
9976
+ setClientStyling(this.stylingContainer, this.clientStyling);
9977
+ if (this.clientStylingUrl)
9978
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
9979
+ }
9946
9980
  }
9947
9981
  connectedCallback() {
9948
9982
  let selected = [];
@@ -9979,17 +10013,6 @@ const LotteryGrid = class {
9979
10013
  });
9980
10014
  }
9981
10015
  }
9982
- componentDidRender() {
9983
- // start custom styling area
9984
- if (!this.limitStylingAppends && this.stylingContainer) {
9985
- if (this.clientStyling)
9986
- this.setClientStyling();
9987
- if (this.clientStylingUrlContent)
9988
- this.setClientStylingURL();
9989
- this.limitStylingAppends = true;
9990
- }
9991
- // end custom styling area
9992
- }
9993
10016
  // wrote this because the classic .sort(() => 0.5 - Math.random()) method yielded low entropy shuffles for some reason on certain devices
9994
10017
  shuffleArray(array) {
9995
10018
  const result = [];
@@ -10115,8 +10138,13 @@ const LotteryGrid = class {
10115
10138
  }
10116
10139
  }
10117
10140
  render() {
10118
- 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 }))) : '')));
10141
+ 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 }))) : '')));
10119
10142
  }
10143
+ static get watchers() { return {
10144
+ "clientStyling": ["handleClientStylingChange"],
10145
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
10146
+ "mbSource": ["handleMbSourceChange"]
10147
+ }; }
10120
10148
  };
10121
10149
  LotteryGrid.style = LotteryGridStyle0;
10122
10150
 
@@ -10258,18 +10286,6 @@ const LotteryPagination = class {
10258
10286
  }
10259
10287
  }
10260
10288
  };
10261
- this.setClientStyling = () => {
10262
- let sheet = document.createElement('style');
10263
- sheet.innerHTML = this.clientStyling;
10264
- this.stylingContainer.prepend(sheet);
10265
- };
10266
- this.setClientStylingURL = () => {
10267
- let cssFile = document.createElement('style');
10268
- setTimeout(() => {
10269
- cssFile.innerHTML = this.clientStylingUrlContent;
10270
- this.stylingContainer.prepend(cssFile);
10271
- }, 1);
10272
- };
10273
10289
  this.nextPage = false;
10274
10290
  this.prevPage = false;
10275
10291
  this.offset = 0;
@@ -10277,7 +10293,8 @@ const LotteryPagination = class {
10277
10293
  this.total = 1;
10278
10294
  this.language = 'en';
10279
10295
  this.clientStyling = '';
10280
- this.clientStylingUrlContent = '';
10296
+ this.clientStylingUrl = '';
10297
+ this.mbSource = undefined;
10281
10298
  this.arrowsActive = undefined;
10282
10299
  this.secondaryArrowsActive = undefined;
10283
10300
  this.numberedNavActive = undefined;
@@ -10290,7 +10307,21 @@ const LotteryPagination = class {
10290
10307
  this.totalInt = undefined;
10291
10308
  this.pagesArray = [];
10292
10309
  this.endInt = 0;
10293
- this.limitStylingAppends = false;
10310
+ }
10311
+ handleClientStylingChange(newValue, oldValue) {
10312
+ if (newValue != oldValue) {
10313
+ setClientStyling(this.stylingContainer, this.clientStyling);
10314
+ }
10315
+ }
10316
+ handleClientStylingUrlChange(newValue, oldValue) {
10317
+ if (newValue != oldValue) {
10318
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
10319
+ }
10320
+ }
10321
+ handleMbSourceChange(newValue, oldValue) {
10322
+ if (newValue != oldValue) {
10323
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
10324
+ }
10294
10325
  }
10295
10326
  componentWillLoad() {
10296
10327
  if (this.translationUrl) {
@@ -10333,17 +10364,15 @@ const LotteryPagination = class {
10333
10364
  }
10334
10365
  }
10335
10366
  }
10336
- componentDidRender() {
10337
- this.isReset = false;
10338
- // start custom styling area
10339
- if (!this.limitStylingAppends && this.stylingContainer) {
10367
+ componentDidLoad() {
10368
+ if (this.stylingContainer) {
10369
+ if (this.mbSource)
10370
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
10340
10371
  if (this.clientStyling)
10341
- this.setClientStyling();
10342
- if (this.clientStylingUrlContent)
10343
- this.setClientStylingURL();
10344
- this.limitStylingAppends = true;
10372
+ setClientStyling(this.stylingContainer, this.clientStyling);
10373
+ if (this.clientStylingUrl)
10374
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
10345
10375
  }
10346
- // end custom styling area
10347
10376
  }
10348
10377
  render() {
10349
10378
  /**
@@ -10372,6 +10401,11 @@ const LotteryPagination = class {
10372
10401
  }
10373
10402
  return (index.h("div", { id: "PaginationContainer", ref: el => this.stylingContainer = el }, this.arrowsActive && buttonsLeftSide, this.numberedNavActive && navigationArea, this.arrowsActive && buttonsRightSide));
10374
10403
  }
10404
+ static get watchers() { return {
10405
+ "clientStyling": ["handleClientStylingChange"],
10406
+ "clientStylingUrl": ["handleClientStylingUrlChange"],
10407
+ "mbSource": ["handleMbSourceChange"]
10408
+ }; }
10375
10409
  };
10376
10410
  LotteryPagination.style = LotteryPaginationStyle0;
10377
10411
 
@@ -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([["general-multi-select_8.cjs",[[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"limitStylingAppends":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]]],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32],"resultMap":[32]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrlContent":[1537,"client-styling-url-content"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32],"limitStylingAppends":[32]}],[1,"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,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[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([["general-multi-select_8.cjs",[[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[1537,"client-styling-url"],"mbSource":[513,"mb-source"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"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,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["general-multi-select_8.cjs",[[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"limitStylingAppends":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]]],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32],"resultMap":[32]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrlContent":[1537,"client-styling-url-content"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32],"limitStylingAppends":[32]}],[1,"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,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[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([["general-multi-select_8.cjs",[[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-filters",{"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32],"ticketTypeList":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketType":[513,"ticket-type"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"ticketDrawData":[513,"ticket-draw-data"],"historyDrawData":[513,"history-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"drawData":[32],"resultMap":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[1537,"client-styling-url"],"mbSource":[513,"mb-source"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"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,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[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;