@sticky-studio-npm/ui-core 1.0.30 → 1.0.32

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.
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export type { TranslateFn } from './i18n/translator';
3
3
  export * from './store';
4
4
  export * from './constants';
5
5
  export * from './services';
6
+ export * from './shared/utils';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare function formatAmount(amount: number, precision?: number): string;
2
+ export declare function asStoreAmount(value: string): number;
3
+ //# sourceMappingURL=formatAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatAmount.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/formatAmount.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,SAAqB,GAAG,MAAM,CAKnF;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnD"}
@@ -0,0 +1,2 @@
1
+ export { formatAmount, asStoreAmount } from './formatAmount';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
@@ -12,6 +12,7 @@ export declare class BetStore {
12
12
  setNextBetAmount(): void;
13
13
  setPrevBetAmount(): void;
14
14
  setBetAmountRange(value: number[]): void;
15
+ setPrecision(precision: number): void;
15
16
  setDisplayCurrency(value: string): void;
16
17
  setBalance(value: number): void;
17
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BetStore.d.ts","sourceRoot":"","sources":["../../src/store/BetStore.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACnB,OAAO,EAAE,MAAM,CAAS;IACxB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAK;IACrB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAE3B;IACF,YAAY,EAAE,MAAM,CAA0B;IAC9C,YAAY,EAAE,MAAM,CAAuD;IAC3E,eAAe,EAAE,MAAM,CAAS;IAChC,SAAS,EAAE,MAAM,CAAK;;IAMtB,MAAM,CAAC,KAAK,EAAE,MAAM;IAKpB,gBAAgB;IAOhB,gBAAgB;IAMhB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE;IASjC,kBAAkB,CAAC,KAAK,EAAE,MAAM;IAIhC,UAAU,CAAC,KAAK,EAAE,MAAM;CAGzB;AAED,eAAO,MAAM,QAAQ,UAAiB,CAAC"}
1
+ {"version":3,"file":"BetStore.d.ts","sourceRoot":"","sources":["../../src/store/BetStore.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACnB,OAAO,EAAE,MAAM,CAAS;IACxB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAK;IACrB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAE3B;IACF,YAAY,EAAE,MAAM,CAA0B;IAC9C,YAAY,EAAE,MAAM,CAAuD;IAC3E,eAAe,EAAE,MAAM,CAAS;IAChC,SAAS,EAAE,MAAM,CAAK;;IAMtB,MAAM,CAAC,KAAK,EAAE,MAAM;IAKpB,gBAAgB;IAOhB,gBAAgB;IAMhB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE;IASjC,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,kBAAkB,CAAC,KAAK,EAAE,MAAM;IAIhC,UAAU,CAAC,KAAK,EAAE,MAAM;CAGzB;AAED,eAAO,MAAM,QAAQ,UAAiB,CAAC"}
@@ -207,10 +207,10 @@ var vi = Object.getOwnPropertyDescriptors || function(t) {
207
207
  n[r] = Ot(t, r);
208
208
  }), n;
209
209
  };
210
- function $(e, t) {
210
+ function H(e, t) {
211
211
  return !!(e & t);
212
212
  }
213
- function H(e, t, n) {
213
+ function G(e, t, n) {
214
214
  return n ? e |= t : e &= ~t, e;
215
215
  }
216
216
  function xn(e, t) {
@@ -341,26 +341,26 @@ var w = /* @__PURE__ */ Symbol("mobx administration"), Se = /* @__PURE__ */ (fun
341
341
  }, Ye(e, [{
342
342
  key: "isBeingObserved",
343
343
  get: function() {
344
- return $(this.flags_, e.isBeingObservedMask_);
344
+ return H(this.flags_, e.isBeingObservedMask_);
345
345
  },
346
346
  set: function(r) {
347
- this.flags_ = H(this.flags_, e.isBeingObservedMask_, r);
347
+ this.flags_ = G(this.flags_, e.isBeingObservedMask_, r);
348
348
  }
349
349
  }, {
350
350
  key: "isPendingUnobservation",
351
351
  get: function() {
352
- return $(this.flags_, e.isPendingUnobservationMask_);
352
+ return H(this.flags_, e.isPendingUnobservationMask_);
353
353
  },
354
354
  set: function(r) {
355
- this.flags_ = H(this.flags_, e.isPendingUnobservationMask_, r);
355
+ this.flags_ = G(this.flags_, e.isPendingUnobservationMask_, r);
356
356
  }
357
357
  }, {
358
358
  key: "diffValue",
359
359
  get: function() {
360
- return $(this.flags_, e.diffValueMask_) ? 1 : 0;
360
+ return H(this.flags_, e.diffValueMask_) ? 1 : 0;
361
361
  },
362
362
  set: function(r) {
363
- this.flags_ = H(this.flags_, e.diffValueMask_, r === 1);
363
+ this.flags_ = G(this.flags_, e.diffValueMask_, r === 1);
364
364
  }
365
365
  }]);
366
366
  })();
@@ -1017,42 +1017,42 @@ var fo = "create", xe = /* @__PURE__ */ (function(e) {
1017
1017
  }, Ye(e, [{
1018
1018
  key: "isComputing",
1019
1019
  get: function() {
1020
- return $(this.flags_, e.isComputingMask_);
1020
+ return H(this.flags_, e.isComputingMask_);
1021
1021
  },
1022
1022
  set: function(r) {
1023
- this.flags_ = H(this.flags_, e.isComputingMask_, r);
1023
+ this.flags_ = G(this.flags_, e.isComputingMask_, r);
1024
1024
  }
1025
1025
  }, {
1026
1026
  key: "isRunningSetter",
1027
1027
  get: function() {
1028
- return $(this.flags_, e.isRunningSetterMask_);
1028
+ return H(this.flags_, e.isRunningSetterMask_);
1029
1029
  },
1030
1030
  set: function(r) {
1031
- this.flags_ = H(this.flags_, e.isRunningSetterMask_, r);
1031
+ this.flags_ = G(this.flags_, e.isRunningSetterMask_, r);
1032
1032
  }
1033
1033
  }, {
1034
1034
  key: "isBeingObserved",
1035
1035
  get: function() {
1036
- return $(this.flags_, e.isBeingObservedMask_);
1036
+ return H(this.flags_, e.isBeingObservedMask_);
1037
1037
  },
1038
1038
  set: function(r) {
1039
- this.flags_ = H(this.flags_, e.isBeingObservedMask_, r);
1039
+ this.flags_ = G(this.flags_, e.isBeingObservedMask_, r);
1040
1040
  }
1041
1041
  }, {
1042
1042
  key: "isPendingUnobservation",
1043
1043
  get: function() {
1044
- return $(this.flags_, e.isPendingUnobservationMask_);
1044
+ return H(this.flags_, e.isPendingUnobservationMask_);
1045
1045
  },
1046
1046
  set: function(r) {
1047
- this.flags_ = H(this.flags_, e.isPendingUnobservationMask_, r);
1047
+ this.flags_ = G(this.flags_, e.isPendingUnobservationMask_, r);
1048
1048
  }
1049
1049
  }, {
1050
1050
  key: "diffValue",
1051
1051
  get: function() {
1052
- return $(this.flags_, e.diffValueMask_) ? 1 : 0;
1052
+ return H(this.flags_, e.diffValueMask_) ? 1 : 0;
1053
1053
  },
1054
1054
  set: function(r) {
1055
- this.flags_ = H(this.flags_, e.diffValueMask_, r === 1);
1055
+ this.flags_ = G(this.flags_, e.diffValueMask_, r === 1);
1056
1056
  }
1057
1057
  }]);
1058
1058
  })();
@@ -1343,42 +1343,42 @@ var ye = /* @__PURE__ */ (function() {
1343
1343
  }, Ye(e, [{
1344
1344
  key: "isDisposed",
1345
1345
  get: function() {
1346
- return $(this.flags_, e.isDisposedMask_);
1346
+ return H(this.flags_, e.isDisposedMask_);
1347
1347
  },
1348
1348
  set: function(r) {
1349
- this.flags_ = H(this.flags_, e.isDisposedMask_, r);
1349
+ this.flags_ = G(this.flags_, e.isDisposedMask_, r);
1350
1350
  }
1351
1351
  }, {
1352
1352
  key: "isScheduled",
1353
1353
  get: function() {
1354
- return $(this.flags_, e.isScheduledMask_);
1354
+ return H(this.flags_, e.isScheduledMask_);
1355
1355
  },
1356
1356
  set: function(r) {
1357
- this.flags_ = H(this.flags_, e.isScheduledMask_, r);
1357
+ this.flags_ = G(this.flags_, e.isScheduledMask_, r);
1358
1358
  }
1359
1359
  }, {
1360
1360
  key: "isTrackPending",
1361
1361
  get: function() {
1362
- return $(this.flags_, e.isTrackPendingMask_);
1362
+ return H(this.flags_, e.isTrackPendingMask_);
1363
1363
  },
1364
1364
  set: function(r) {
1365
- this.flags_ = H(this.flags_, e.isTrackPendingMask_, r);
1365
+ this.flags_ = G(this.flags_, e.isTrackPendingMask_, r);
1366
1366
  }
1367
1367
  }, {
1368
1368
  key: "isRunning",
1369
1369
  get: function() {
1370
- return $(this.flags_, e.isRunningMask_);
1370
+ return H(this.flags_, e.isRunningMask_);
1371
1371
  },
1372
1372
  set: function(r) {
1373
- this.flags_ = H(this.flags_, e.isRunningMask_, r);
1373
+ this.flags_ = G(this.flags_, e.isRunningMask_, r);
1374
1374
  }
1375
1375
  }, {
1376
1376
  key: "diffValue",
1377
1377
  get: function() {
1378
- return $(this.flags_, e.diffValueMask_) ? 1 : 0;
1378
+ return H(this.flags_, e.diffValueMask_) ? 1 : 0;
1379
1379
  },
1380
1380
  set: function(r) {
1381
- this.flags_ = H(this.flags_, e.diffValueMask_, r === 1);
1381
+ this.flags_ = G(this.flags_, e.diffValueMask_, r === 1);
1382
1382
  }
1383
1383
  }]);
1384
1384
  })();
@@ -3273,7 +3273,7 @@ const Ea = ({
3273
3273
  /* @__PURE__ */ b("span", { className: "label", children: e }),
3274
3274
  /* @__PURE__ */ b("span", { className: "value", children: t })
3275
3275
  ] });
3276
- }, U = {
3276
+ }, $ = {
3277
3277
  bet: "bet",
3278
3278
  autoplay: "autoplay",
3279
3279
  settings: "settings",
@@ -4764,6 +4764,9 @@ class Va {
4764
4764
  setBetAmountRange(t) {
4765
4765
  this.betAmountRange = t, t.length > 0 && (this.maxBetAmount = t[0], this.minBetAmount = t[t.length - 1]);
4766
4766
  }
4767
+ setPrecision(t) {
4768
+ this.precision = t;
4769
+ }
4767
4770
  setDisplayCurrency(t) {
4768
4771
  this.displayCurrency = t;
4769
4772
  }
@@ -4771,7 +4774,7 @@ class Va {
4771
4774
  this.balance = t;
4772
4775
  }
4773
4776
  }
4774
- const G = new Va();
4777
+ const U = new Va();
4775
4778
  class Ma {
4776
4779
  countRange = [10, 25, 50, 70, 100, 500, 1e3];
4777
4780
  limitsRange = [10, 20, 50];
@@ -5158,13 +5161,13 @@ const ja = new ka(), Fa = j(() => {
5158
5161
  displayCurrency: n,
5159
5162
  setNextBetAmount: r,
5160
5163
  setPrevBetAmount: o
5161
- } = G, { lastWinAmount: s, totalWinAmount: u, isBonus: c } = ja, { cycleTurboMode: f, isTurbo: v, superTurboMode: m } = re, { open: i } = R, {
5164
+ } = U, { lastWinAmount: s, totalWinAmount: u, isBonus: c } = ja, { cycleTurboMode: f, isTurbo: v, superTurboMode: m } = re, { open: i } = R, {
5162
5165
  activeAnteBet: a,
5163
5166
  activeBonusFeature: l,
5164
5167
  activeInReelFeature: d,
5165
5168
  setActiveAnteBet: p
5166
5169
  } = me, { isUIVisible: h, isAutoPlayDisabled: _, isBuyBonusDisabled: y, isBetAmountLabelsDisabled: S } = at, O = nt(() => a?.imagePath || d?.imagePath || l?.imagePath, [a, l, d]), x = pn(() => {
5167
- Te.playSound(ei.BuyBonusClick), a ? p.call(me, null) : i.call(R, U.buyBonus);
5170
+ Te.playSound(ei.BuyBonusClick), a ? p.call(me, null) : i.call(R, $.buyBonus);
5168
5171
  }, [a, p]);
5169
5172
  return /* @__PURE__ */ E("div", { className: `ui-footer ${h ? "" : "hidden"}`, children: [
5170
5173
  /* @__PURE__ */ E("div", { className: "top-row", children: [
@@ -5189,10 +5192,10 @@ const ja = new ka(), Fa = j(() => {
5189
5192
  xa,
5190
5193
  {
5191
5194
  highlighted: !!a,
5192
- value: a ? a.availableBets[G.betIndex] : t,
5195
+ value: a ? a.availableBets[U.betIndex] : t,
5193
5196
  currency: n,
5194
5197
  onClick: () => {
5195
- i.call(R, U.bet);
5198
+ i.call(R, $.bet);
5196
5199
  },
5197
5200
  disabled: S
5198
5201
  }
@@ -5202,7 +5205,7 @@ const ja = new ka(), Fa = j(() => {
5202
5205
  nr,
5203
5206
  {
5204
5207
  onClick: () => {
5205
- o.call(G);
5208
+ o.call(U);
5206
5209
  },
5207
5210
  className: "bet-btn minus",
5208
5211
  disabled: S
@@ -5213,7 +5216,7 @@ const ja = new ka(), Fa = j(() => {
5213
5216
  nr,
5214
5217
  {
5215
5218
  onClick: () => {
5216
- r.call(G);
5219
+ r.call(U);
5217
5220
  },
5218
5221
  className: "bet-btn plus",
5219
5222
  disabled: S
@@ -5235,7 +5238,7 @@ const ja = new ka(), Fa = j(() => {
5235
5238
  {
5236
5239
  className: "auto-spin",
5237
5240
  onClick: () => {
5238
- i.call(R, U.autoplay);
5241
+ i.call(R, $.autoplay);
5239
5242
  },
5240
5243
  isActive: !!_e.count && _e.isStarted,
5241
5244
  disabled: _
@@ -5330,7 +5333,7 @@ const Ga = j(() => {
5330
5333
  className: "btn-settings",
5331
5334
  "aria-label": "Open Settings",
5332
5335
  onClick: () => {
5333
- L(), e.call(R, U.settings);
5336
+ L(), e.call(R, $.settings);
5334
5337
  }
5335
5338
  }
5336
5339
  )
@@ -5338,14 +5341,14 @@ const Ga = j(() => {
5338
5341
  /* @__PURE__ */ b(Ka, {})
5339
5342
  ] });
5340
5343
  }), Wa = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='45'%20viewBox='0%200%2034%2045'%20fill='none'%3e%3cpath%20d='M7.69062%2031.7333H7.06121L9.3091%2028.0889L11.9167%2024C12.636%2022.9333%2012.666%2021.8074%2012.0066%2020.6222C11.527%2019.6741%2011.0475%2018.8148%2010.5679%2018.0444L11.1973%2017.6889C11.1973%2017.6296%2011.1674%2017.5704%2011.1074%2017.5111L10.3881%2017.6889C10.2083%2017.6296%2010.0284%2017.4222%209.8486%2017.0667C9.72871%2016.7111%209.63879%2016.5037%209.57885%2016.4444C9.15924%2016.1481%208.85952%2015.7037%208.67969%2015.1111L9.12927%2014.5778C8.94944%2014.4%208.88949%2014.2815%208.94944%2014.2222C9.06933%2013.4518%209.33907%2012.9185%209.75868%2012.6222C10.0584%2012.563%2010.0284%2012.3556%209.66877%2012L8.40994%2014.5778C7.93039%2013.9852%207.66065%2013.6%207.6007%2013.4222C7.6007%2013.1852%207.8105%2012.7704%208.23011%2012.1778C8.40994%2012%208.5598%2011.7926%208.67969%2011.5556C8.85952%2011.1407%208.94944%2010.6963%208.94944%2010.2222L8.40994%2011.3778C8.11022%2011.8519%207.69062%2011.9704%207.15112%2011.7333C7.15112%2011.4963%207.18109%2011.3481%207.24104%2011.2889C7.36093%2011.1704%207.51079%2011.0815%207.69062%2011.0222C7.87045%2010.9037%208.02031%2010.7852%208.1402%2010.6667L7.78053%2010.4C7.78053%2010.3407%207.81051%2010.2815%207.87045%2010.2222C7.87045%209.98518%207.90042%209.83704%207.96036%209.77778C7.54076%2010.1926%207.12115%2010.2222%206.70154%209.86667C6.82143%209.51111%206.88137%209.3037%206.88137%209.24444L6.97129%209.06666L7.15112%208.8C6.97129%208.85926%206.73151%208.88889%206.43179%208.88889C6.43179%208.53333%206.46177%208.32592%206.52171%208.26666C6.70154%207.79259%206.70154%207.34815%206.52171%206.93333L6.07213%207.28889C5.77241%207.46667%205.23292%207.46667%204.45365%207.28889C4.15393%206.6963%204.30379%206.13333%204.90322%205.6C4.84328%205.6%204.66345%205.62963%204.36373%205.68889C4.12395%205.68889%203.94412%205.68889%203.82423%205.68889C3.82423%206.22222%203.79426%206.60741%203.73432%206.84444C3.37465%206.25185%203.19482%205.86666%203.19482%205.68889C3.13488%205.62963%203.07494%205.6%203.01499%205.6L2.74524%205.33333L1.21667%202.66666L1.03684%202.13333C0.677179%201.00741%201.09679%200.355554%202.29566%200.177775H3.73432C3.97409%200.177775%204.42367%200.207404%205.08306%200.266663C5.80238%200.266663%206.25196%200.266663%206.43179%200.266663C7.33095%200.148146%208.05028%200.503704%208.58978%201.33333C9.18921%202.16296%2010.2982%203.94074%2011.9167%206.66667C12.0366%206.78518%2012.0965%207.05185%2012.0965%207.46666C12.8158%207.58518%2013.2354%208.14815%2013.3553%209.15555L14.0746%2010.0444L15.6032%2012.8C15.6032%2012.9185%2015.6332%2013.0074%2015.6931%2013.0667L16.5923%2014.4L17.7612%2014.0444L18.3906%2013.6C18.8102%2013.1852%2019.2298%2012.6519%2019.6494%2012L21.5377%209.06666L23.336%206.4C24.2951%204.97778%2025.0144%203.82222%2025.494%202.93333L26.0335%201.86667C26.573%201.80741%2026.8727%201.74815%2026.9326%201.68889C27.0525%201.57037%2027.0525%201.24444%2026.9326%200.71111C27.5321%200.355554%2028.5211%200.177775%2029.8998%200.177775C31.4584%200.0592581%2032.2676%200%2032.3276%200L32.5074%200.62222L32.8671%200.266663L32.957%200.35555C33.0169%200.414812%2033.0769%200.444444%2033.1368%200.444444C33.8561%200.799999%2034.0959%201.27407%2033.8561%201.86667C33.7362%202.28148%2033.3766%203.05185%2032.7771%204.17777L32.3276%204.35555L31.878%205.51111C31.0987%206.45926%2030.0497%208%2028.7309%2010.1333C27.5321%2012.0296%2026.6928%2013.3333%2026.2133%2014.0444C25.9136%2014.4%2024.6547%2016.4148%2022.4368%2020.0889L21.8973%2021.0667C21.5976%2021.7778%2021.6575%2022.4296%2022.0772%2023.0222L23.6956%2025.8667C23.6956%2025.9852%2023.7556%2026.1037%2023.8755%2026.2222C23.9954%2026.3407%2023.9654%2026.4889%2023.7856%2026.6667L24.3251%2026.9333C24.5648%2027.4074%2025.0744%2028.237%2025.8536%2029.4222C26.6329%2030.6074%2027.0525%2031.2593%2027.1124%2031.3778C27.1124%2031.4963%2027.1424%2031.5852%2027.2024%2031.6444C26.543%2031.9407%2026.4231%2032.2963%2026.8427%2032.7111C26.8427%2032.7704%2026.8127%2032.8296%2026.7528%2032.8889C26.7528%2032.9481%2026.7528%2033.0074%2026.7528%2033.0667C26.7528%2033.2444%2026.8427%2033.4222%2027.0225%2033.6C27.2024%2033.4222%2027.4122%2033.037%2027.6519%2032.4444C28.1914%2033.037%2028.4012%2033.5704%2028.2814%2034.0444C28.9407%2034.4%2029.2704%2034.9037%2029.2704%2035.5556C29.2704%2035.6741%2029.3004%2035.7333%2029.3603%2035.7333C29.6001%2035.9704%2029.9898%2036.5037%2030.5292%2037.3333L31.6082%2039.0222L31.9679%2039.5556C32.1477%2039.9704%2032.0878%2040.237%2031.7881%2040.3556H31.9679L32.5074%2040.1778L33.6763%2042.4C34.3956%2044%2033.9161%2044.8%2032.2376%2044.8C32.1777%2044.8%2032.1477%2044.7704%2032.1477%2044.7111C32.1477%2044.3556%2032.0878%2044.1778%2031.9679%2044.1778C31.7881%2044.1778%2031.6682%2044.2074%2031.6082%2044.2667C31.6082%2044.3259%2031.6082%2044.4444%2031.6082%2044.6222C31.6682%2044.7407%2031.6982%2044.8296%2031.6982%2044.8889H28.3713C27.5321%2044.8889%2026.7828%2044.4741%2026.1234%2043.6444L24.9545%2041.7778L21.8973%2036.8889L20.9082%2035.0222L20.0091%2033.5111L18.4805%2031.2C18.4805%2031.1407%2018.3307%2030.9037%2018.0309%2030.4889C17.6113%2029.9556%2017.1618%2029.8074%2016.6822%2030.0444C16.2626%2030.2222%2015.9029%2030.4593%2015.6032%2030.7556C15.3634%2031.0519%2015.1536%2031.3778%2014.9738%2031.7333L11.1973%2037.6L9.3091%2040.4444L9.12927%2040.7111V40.3556C9.06933%2040.1185%209.03935%2039.9407%209.03935%2039.8222C8.5598%2040.1185%208.40994%2040.4444%208.58978%2040.8C8.58978%2040.8593%208.67969%2040.8889%208.85952%2040.8889L7.51079%2043.2L6.70154%2042.7556C6.70154%2042.8148%206.70154%2043.0222%206.70154%2043.3778C6.76149%2043.7333%206.79146%2043.9704%206.79146%2044.0889C6.43179%2044.6815%205.80238%2044.9778%204.90322%2044.9778C4.06401%2045.037%202.92508%2044.9778%201.48642%2044.8C0.107712%2044.6222%20-0.311896%2043.8519%200.2276%2042.4889L0.407431%2042.1333L3.19482%2037.6L3.91415%2038.4889C4.03404%2037.9556%203.91415%2037.5111%203.55449%2037.1556L4.45365%2035.9111L5.17297%2034.8444L6.16205%2033.9556C6.1021%2033.5407%206.40182%2032.7704%207.06121%2031.6444V31.8222L7.42087%2032.2667L7.51079%2032.0889C7.51079%2032.0296%207.54076%2031.9407%207.6007%2031.8222V31.7333C7.90042%2031.7926%208.05028%2031.763%208.05028%2031.6444C8.11022%2031.4667%208.11022%2031.2889%208.05028%2031.1111C7.8105%2031.1111%207.69062%2031.3185%207.69062%2031.7333ZM9.03935%2030.5778C9.45896%2030.637%209.69874%2030.637%209.75868%2030.5778C9.81863%2030.5185%209.78865%2030.2519%209.66877%2029.7778H8.85952C8.97941%2030.2519%209.03935%2030.5481%209.03935%2030.6667C8.79958%2030.6667%208.61975%2030.7259%208.49986%2030.8444C8.49986%2030.9037%208.52983%2030.9926%208.58978%2031.1111C8.64972%2031.1704%208.70966%2031.1704%208.76961%2031.1111C8.8895%2031.1111%208.97941%2030.9333%209.03935%2030.5778ZM21.2679%2012.8L20.9982%2012.3556L20.099%2012.7111C20.2189%2012.9481%2020.3987%2013.2148%2020.6385%2013.5111C21.0581%2013.4518%2021.2679%2013.2148%2021.2679%2012.8ZM30.6192%2040.8C30.0797%2041.0963%2030.0197%2041.5407%2030.4393%2042.1333C30.739%2041.4815%2030.799%2041.037%2030.6192%2040.8ZM22.5267%2012.1778C22.9463%2011.7037%2023.0363%2011.2593%2022.7965%2010.8444C22.3169%2011.2593%2022.227%2011.7037%2022.5267%2012.1778ZM3.46457%205.06666L4.63348%204.44444L3.91415%204.17777L3.37466%204.97778C3.37466%205.03704%203.40463%205.06666%203.46457%205.06666ZM22.3469%2026.4L22.1671%2026.1333C21.9872%2026.4889%2021.8973%2026.7259%2021.8973%2026.8444L22.0772%2027.0222L22.257%2027.1111C22.257%2027.0519%2022.3169%2026.963%2022.4368%2026.8444C22.6167%2026.6667%2022.5867%2026.5185%2022.3469%2026.4ZM24.1452%2012.1778V11.5556C24.1452%2011.437%2024.0553%2011.3778%2023.8755%2011.3778L23.6057%2011.4667C23.6057%2011.9407%2023.7856%2012.1778%2024.1452%2012.1778ZM6.25196%2035.2889C6.25196%2035.5852%206.28194%2035.8222%206.34188%2036C6.52171%2035.7037%206.49174%2035.4667%206.25196%2035.2889ZM10.0284%208.88889L9.39902%209.77778C9.81863%209.6%2010.0284%209.3037%2010.0284%208.88889ZM28.1015%2039.5556C28.3413%2039.2%2028.3113%2038.8741%2028.0116%2038.5778C27.9517%2038.6963%2027.9217%2038.8741%2027.9217%2039.1111C27.9217%2039.1704%2027.9517%2039.2296%2028.0116%2039.2889C28.0116%2039.4074%2028.0416%2039.4963%2028.1015%2039.5556ZM29.8099%2037.0667C29.75%2037.4815%2029.8699%2037.7185%2030.1696%2037.7778C30.2895%2037.4222%2030.1696%2037.1852%2029.8099%2037.0667ZM3.01499%2042.4889C3.07494%2042.4296%203.16485%2042.4%203.28474%2042.4L3.19482%2042.2222C3.19482%2042.0444%203.19482%2041.8963%203.19482%2041.7778L3.10491%2041.8667H2.92508L3.01499%2042.0444C3.01499%2042.2222%203.01499%2042.3704%203.01499%2042.4889ZM11.2873%208.17778H11.4671C11.587%208.05926%2011.6469%207.91111%2011.6469%207.73333L11.3772%207.64444C11.3772%207.7037%2011.3472%207.79259%2011.2873%207.91111C11.2873%208.02963%2011.2873%208.11852%2011.2873%208.17778ZM29.5402%2038.8444L29.72%2038.4889V38.1333C29.6001%2038.1333%2029.5102%2038.1037%2029.4503%2038.0444C29.3304%2038.3407%2029.3603%2038.6074%2029.5402%2038.8444ZM28.641%206.31111H28.4612C28.4012%206.37037%2028.3713%206.51852%2028.3713%206.75555C28.4312%206.81481%2028.4912%206.84444%2028.5511%206.84444V6.57778L28.641%206.31111ZM28.0116%2037.1556C28.1914%2036.9185%2028.1615%2036.7111%2027.9217%2036.5333C27.9217%2036.6519%2027.9517%2036.7704%2028.0116%2036.8889V37.1556ZM24.7746%2032.7111C24.7147%2032.6518%2024.6248%2032.6222%2024.5049%2032.6222C24.5049%2032.8593%2024.4749%2033.0074%2024.415%2033.0667H24.6847C24.6847%2033.0074%2024.6847%2032.9481%2024.6847%2032.8889C24.7447%2032.8296%2024.7746%2032.7704%2024.7746%2032.7111ZM25.404%2033.9556H25.5839C25.5839%2033.8963%2025.5539%2033.8074%2025.494%2033.6889C25.494%2033.5704%2025.494%2033.5111%2025.494%2033.5111H25.404C25.3441%2033.5704%2025.2842%2033.6%2025.2242%2033.6C25.3441%2033.7185%2025.404%2033.837%2025.404%2033.9556ZM9.66877%2030.8444H9.48893V31.2889H9.57885C9.63879%2031.2296%209.66877%2031.0815%209.66877%2030.8444ZM6.52171%2041.8667L6.43179%2042.1333C6.43179%2042.1926%206.49174%2042.2815%206.61163%2042.4L6.79146%2042.2222C6.79146%2042.163%206.70154%2042.0444%206.52171%2041.8667ZM5.3528%2039.1111H5.53264C5.53264%2038.8148%205.44272%2038.637%205.26289%2038.5778C5.32283%2038.6963%205.3528%2038.8741%205.3528%2039.1111ZM29.9897%206.48889H30.2595V5.95555H30.0797L29.9897%206.22222V6.48889ZM27.2024%209.6H27.3822C27.3822%209.36296%2027.3522%209.21481%2027.2923%209.15555H27.1124C27.1124%209.39259%2027.1424%209.54074%2027.2024%209.6ZM11.3772%2027.6444V28.3556C11.557%2028.1185%2011.557%2027.8815%2011.3772%2027.6444ZM4.54356%208.08889L5.53264%207.46666L6.07213%207.28889C6.13207%207.22963%206.25196%207.2%206.43179%207.2C6.49174%207.67407%206.34188%208%205.98222%208.17778C5.62255%208.35555%205.143%208.32592%204.54356%208.08889ZM6.43179%208.88889C6.73151%208.88889%206.97129%208.85926%207.15112%208.8L6.97129%209.06666L6.88137%209.24444L6.52171%209.6C6.22199%209.77778%205.98222%209.68889%205.80238%209.33333L6.07213%209.06666H5.98222C6.04216%209.06666%206.1021%209.03703%206.16205%208.97778C6.22199%208.97778%206.31191%208.94815%206.43179%208.88889ZM6.34188%2011.0222V10.2222L7.24104%2010.4C7.06121%2010.8741%206.76149%2011.0815%206.34188%2011.0222ZM5.98222%209.06666H6.07213C5.59258%209.06666%205.29286%208.97778%205.17297%208.8C5.29286%208.8%205.44272%208.74074%205.62255%208.62222C5.80238%208.5037%205.92227%208.41481%205.98222%208.35555V9.06666Z'%20fill='white'/%3e%3c/svg%3e", Xa = j(() => {
5341
- const { betAmount: e, displayCurrency: t, setNextBetAmount: n, setPrevBetAmount: r } = G;
5344
+ const { betAmount: e, displayCurrency: t, setNextBetAmount: n, setPrevBetAmount: r } = U;
5342
5345
  return /* @__PURE__ */ E("div", { className: "overlay-bet-controller", children: [
5343
5346
  /* @__PURE__ */ b(
5344
5347
  "div",
5345
5348
  {
5346
5349
  className: "decrease-bet",
5347
5350
  onClick: () => {
5348
- L(), r.call(G);
5351
+ L(), r.call(U);
5349
5352
  }
5350
5353
  }
5351
5354
  ),
@@ -5359,7 +5362,7 @@ const Ga = j(() => {
5359
5362
  {
5360
5363
  className: "increase-bet",
5361
5364
  onClick: () => {
5362
- L(), n.call(G);
5365
+ L(), n.call(U);
5363
5366
  }
5364
5367
  }
5365
5368
  )
@@ -5378,7 +5381,7 @@ const Ga = j(() => {
5378
5381
  children: /* @__PURE__ */ b("span", { children: e })
5379
5382
  }
5380
5383
  ), Za = j(() => {
5381
- const { betAmountRange: e, setBet: t, betAmount: n } = G, { activeAnteBet: r } = me, { close: o } = R;
5384
+ const { betAmountRange: e, setBet: t, betAmount: n } = U, { activeAnteBet: r } = me, { close: o } = R;
5382
5385
  return /* @__PURE__ */ b("div", { className: "bet-popup-container", children: e.map((s, u) => {
5383
5386
  const c = n === s;
5384
5387
  return /* @__PURE__ */ b(
@@ -5387,7 +5390,7 @@ const Ga = j(() => {
5387
5390
  value: r ? r.availableBets[u] : s,
5388
5391
  active: c,
5389
5392
  onClick: () => {
5390
- t.call(G, s), o.call(R);
5393
+ t.call(U, s), o.call(R);
5391
5394
  }
5392
5395
  },
5393
5396
  u
@@ -5622,7 +5625,7 @@ const Ga = j(() => {
5622
5625
  /* @__PURE__ */ b(
5623
5626
  ar,
5624
5627
  {
5625
- onClick: m.bind(R, U.history),
5628
+ onClick: m.bind(R, $.history),
5626
5629
  className: "sp-action--history",
5627
5630
  label: N("HISTORY")
5628
5631
  }
@@ -5630,7 +5633,7 @@ const Ga = j(() => {
5630
5633
  /* @__PURE__ */ b(
5631
5634
  ar,
5632
5635
  {
5633
- onClick: R.open.bind(R, U.payTable),
5636
+ onClick: R.open.bind(R, $.payTable),
5634
5637
  className: "sp-action--paytable",
5635
5638
  label: N("PAY_TABLE")
5636
5639
  }
@@ -5808,7 +5811,7 @@ const Ga = j(() => {
5808
5811
  O.disconnect(), window.removeEventListener("resize", S);
5809
5812
  };
5810
5813
  }, [e.description]);
5811
- const h = c ? Math.max(i, v) : v, _ = `${e.availableBets[G.betIndex]} ${G.displayCurrency}`;
5814
+ const h = c ? Math.max(i, v) : v, _ = `${e.availableBets[U.betIndex]} ${U.displayCurrency}`;
5812
5815
  return /* @__PURE__ */ E("div", { className: "sf-card", role: "group", "aria-label": u.join(" "), children: [
5813
5816
  /* @__PURE__ */ E("div", { className: "sf-card__title", children: [
5814
5817
  e.title,
@@ -5838,14 +5841,14 @@ const Ga = j(() => {
5838
5841
  ] }) : /* @__PURE__ */ b(
5839
5842
  "button",
5840
5843
  {
5841
- className: `sf-buy-btn ${r || !e.availableBets[G.betIndex] ? "disabled" : ""}`,
5844
+ className: `sf-buy-btn ${r || !e.availableBets[U.betIndex] ? "disabled" : ""}`,
5842
5845
  type: "button",
5843
5846
  "aria-label": `${_} buy`,
5844
5847
  onClick: () => {
5845
5848
  L(), n?.(e.id);
5846
5849
  },
5847
5850
  children: /* @__PURE__ */ E("span", { className: "sf-buy-btn__label", children: [
5848
- e.availableBets[G.betIndex] ? _ : "",
5851
+ e.availableBets[U.betIndex] ? _ : "",
5849
5852
  " ",
5850
5853
  N("BUY")
5851
5854
  ] })
@@ -5906,17 +5909,17 @@ const Ga = j(() => {
5906
5909
  if (!t) return null;
5907
5910
  const n = nt(() => {
5908
5911
  switch (t) {
5909
- case U.bet:
5912
+ case $.bet:
5910
5913
  return Za;
5911
- case U.autoplay:
5914
+ case $.autoplay:
5912
5915
  return za;
5913
- case U.settings:
5916
+ case $.settings:
5914
5917
  return Ja;
5915
- case U.history:
5918
+ case $.history:
5916
5919
  return es;
5917
- case U.buyBonus:
5920
+ case $.buyBonus:
5918
5921
  return ns;
5919
- case U.payTable:
5922
+ case $.payTable:
5920
5923
  return e;
5921
5924
  default:
5922
5925
  return null;
@@ -5983,7 +5986,7 @@ const Ga = j(() => {
5983
5986
  n && /* @__PURE__ */ b(os, {}),
5984
5987
  !n && t && /* @__PURE__ */ b(rs, { payTableComponent: e })
5985
5988
  ] }),
5986
- !n && t === U.buyBonus && /* @__PURE__ */ b(Xa, {})
5989
+ !n && t === $.buyBonus && /* @__PURE__ */ b(Xa, {})
5987
5990
  ] })
5988
5991
  ]
5989
5992
  }
@@ -6009,13 +6012,20 @@ function _s(e, t = us, n = (r) => r) {
6009
6012
  /* @__PURE__ */ b(Oe.StrictMode, { children: /* @__PURE__ */ b(ss, { payTableComponent: t }) })
6010
6013
  );
6011
6014
  }
6015
+ function ps(e, t = U.precision) {
6016
+ return Number.isFinite(e) ? e.toFixed(t) : 0 .toFixed(t);
6017
+ }
6018
+ function vs(e) {
6019
+ return e;
6020
+ }
6012
6021
  export {
6013
6022
  ei as BASE_SOUND_NAMES,
6014
6023
  tr as DEFAULT_BG_MUSIC_KEY,
6015
6024
  P as LOCAL_STORAGE_ITEM_NAMES,
6016
- U as PopupNames,
6025
+ $ as PopupNames,
6026
+ vs as asStoreAmount,
6017
6027
  _e as autoplayStore,
6018
- G as betStore,
6028
+ U as betStore,
6019
6029
  Zt as bonusFeatureTypes,
6020
6030
  me as bonusStore,
6021
6031
  _s as createUi,
@@ -6023,6 +6033,7 @@ export {
6023
6033
  Na as defaultDialogs,
6024
6034
  wa as defaultDialogsNames,
6025
6035
  At as dialogStore,
6036
+ ps as formatAmount,
6026
6037
  rr as historyStore,
6027
6038
  R as popupStore,
6028
6039
  ja as resultStore,