@betorigami/games 0.7.2 → 0.7.3
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.mjs +103 -104
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -647,10 +647,10 @@ function l(e) {
|
|
|
647
647
|
return r.constructor.createProperty(s, o), a ? Object.getOwnPropertyDescriptor(r, s) : void 0;
|
|
648
648
|
})(e, t, i);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function T(e) {
|
|
651
651
|
return l({ ...e, state: !0, attribute: !1 });
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Me(e, t) {
|
|
654
654
|
return (i, o, r) => ((s, a, g) => (g.configurable = !0, g.enumerable = !0, Reflect.decorate && typeof a != "object" && Object.defineProperty(s, a, g), g))(i, o, { get() {
|
|
655
655
|
return ((s) => {
|
|
656
656
|
var a;
|
|
@@ -698,7 +698,7 @@ let _t = class extends R {
|
|
|
698
698
|
return x`<slot></slot>`;
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
Ht([l({ type: String })], _t.prototype, "currency", 2), Ht([l({ type: Boolean })], _t.prototype, "isTheatreMode", 2), Ht([l({ type: Boolean })], _t.prototype, "showFavorites", 2), Ht([l({ type: Number })], _t.prototype, "balance", 2), Ht([l({ type: String })], _t.prototype, "baseUrl", 2), Ht([l({ type: String })], _t.prototype, "authToken", 2), Ht([l({ type: Boolean })], _t.prototype, "isCryptoMode", 2), Ht([l({ type: Boolean })], _t.prototype, "gameStatsOpen", 2), Ht([
|
|
701
|
+
Ht([l({ type: String })], _t.prototype, "currency", 2), Ht([l({ type: Boolean })], _t.prototype, "isTheatreMode", 2), Ht([l({ type: Boolean })], _t.prototype, "showFavorites", 2), Ht([l({ type: Number })], _t.prototype, "balance", 2), Ht([l({ type: String })], _t.prototype, "baseUrl", 2), Ht([l({ type: String })], _t.prototype, "authToken", 2), Ht([l({ type: Boolean })], _t.prototype, "isCryptoMode", 2), Ht([l({ type: Boolean })], _t.prototype, "gameStatsOpen", 2), Ht([T()], _t.prototype, "betAmount", 2), Ht([T()], _t.prototype, "autobetNumberOfBets", 2), _t = Ht([B("origami-game-provider-wrapper")], _t);
|
|
702
702
|
const Ho = 1, Ns = 2, ps = 3, gs = 4, xo = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
703
703
|
class $o {
|
|
704
704
|
constructor(t) {
|
|
@@ -895,7 +895,7 @@ const G = xo(class extends $o {
|
|
|
895
895
|
outline-color: rgba(55, 55, 55, 0.8);
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
|
-
var fr = Object.defineProperty, yr = Object.getOwnPropertyDescriptor,
|
|
898
|
+
var fr = Object.defineProperty, yr = Object.getOwnPropertyDescriptor, Te = (e, t, i, o) => {
|
|
899
899
|
for (var r, s = o > 1 ? void 0 : o ? yr(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
900
900
|
return o && s && fr(t, i, s), s;
|
|
901
901
|
};
|
|
@@ -939,7 +939,7 @@ let Jt = class extends R {
|
|
|
939
939
|
`;
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
|
-
Jt.styles = [U, br],
|
|
942
|
+
Jt.styles = [U, br], Te([l({ type: String })], Jt.prototype, "option1", 2), Te([l({ type: String })], Jt.prototype, "option2", 2), Te([l({ type: String, reflect: !0 })], Jt.prototype, "value", 2), Te([l({ type: Boolean, reflect: !0 })], Jt.prototype, "disabled", 2), Te([l({ type: String })], Jt.prototype, "name", 2), Te([l({ type: String })], Jt.prototype, "class", 2), Te([l({ type: Boolean })], Jt.prototype, "noRightBorderRadius", 2), Jt = Te([B("origami-toggle")], Jt);
|
|
943
943
|
const { I: vr } = ur, Rs = (e) => e.strings === void 0, ms = () => document.createComment(""), Pi = (e, t, i) => {
|
|
944
944
|
var s;
|
|
945
945
|
const o = e._$AA.parentNode, r = t === void 0 ? e._$AB : t._$AA;
|
|
@@ -1261,9 +1261,9 @@ const Oo = /* @__PURE__ */ new WeakMap(), fo = xo(class extends Sr {
|
|
|
1261
1261
|
clip-path: inset(50%);
|
|
1262
1262
|
}
|
|
1263
1263
|
`;
|
|
1264
|
-
var
|
|
1265
|
-
for (var r, s = o > 1 ? void 0 : o ?
|
|
1266
|
-
return o && s &&
|
|
1264
|
+
var Mr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, be = (e, t, i, o) => {
|
|
1265
|
+
for (var r, s = o > 1 ? void 0 : o ? Tr(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
1266
|
+
return o && s && Mr(t, i, s), s;
|
|
1267
1267
|
};
|
|
1268
1268
|
const Er = St`<svg class="spinner" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.25" stroke-width="2.25"></circle><path d="M1.72559 4.97461L6.90836 10.1576L10.9407 6.236" stroke="currentColor" stroke-width="2.25" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="15" stroke-dashoffset="45"></path><g style="transform-origin: 8px 8px;" transform="rotate(360deg)"><circle cx="8" cy="8" r="7" stroke-dasharray="45" stroke-linecap="round" stroke="currentColor" stroke-width="2.25" stroke-dashoffset="30" style="transform-origin: 8px 8px;" transform="rotate(180deg)"></circle></g></svg>`;
|
|
1269
1269
|
let It = class extends R {
|
|
@@ -2040,7 +2040,7 @@ let nt = class extends qt {
|
|
|
2040
2040
|
`;
|
|
2041
2041
|
}
|
|
2042
2042
|
};
|
|
2043
|
-
nt.styles = [U, Br], pt([l({ type: String })], nt.prototype, "content", 2), pt([l({ type: String, reflect: !0 })], nt.prototype, "position", 2), pt([l({ type: Array, converter: (e) => typeof e == "string" ? e.split(/[\s,]+/).filter(Boolean) : e })], nt.prototype, "trigger", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "arrow", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "open", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "disabled", 2), pt([l({ type: Number })], nt.prototype, "offset", 2), pt([l({ type: String, reflect: !0 })], nt.prototype, "theme", 2), pt([l({ type: Number })], nt.prototype, "delay", 2), pt([l({ type: Number })], nt.prototype, "hideDelay", 2), pt([l({ type: Boolean })], nt.prototype, "fullWidth", 2), pt([
|
|
2043
|
+
nt.styles = [U, Br], pt([l({ type: String })], nt.prototype, "content", 2), pt([l({ type: String, reflect: !0 })], nt.prototype, "position", 2), pt([l({ type: Array, converter: (e) => typeof e == "string" ? e.split(/[\s,]+/).filter(Boolean) : e })], nt.prototype, "trigger", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "arrow", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "open", 2), pt([l({ type: Boolean, reflect: !0 })], nt.prototype, "disabled", 2), pt([l({ type: Number })], nt.prototype, "offset", 2), pt([l({ type: String, reflect: !0 })], nt.prototype, "theme", 2), pt([l({ type: Number })], nt.prototype, "delay", 2), pt([l({ type: Number })], nt.prototype, "hideDelay", 2), pt([l({ type: Boolean })], nt.prototype, "fullWidth", 2), pt([Me("#trigger-slot")], nt.prototype, "triggerSlot", 2), pt([pe("open")], nt.prototype, "onOpenChange", 1), pt([pe("disabled")], nt.prototype, "onDisabledChange", 1), pt([pe(["position", "offset", "content"])], nt.prototype, "onPositionChange", 1), nt = pt([B("origami-tooltip")], nt);
|
|
2044
2044
|
var Vr = Object.defineProperty, Fr = Object.getOwnPropertyDescriptor, K = (e, t, i, o) => {
|
|
2045
2045
|
for (var r, s = o > 1 ? void 0 : o ? Fr(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
2046
2046
|
return o && s && Vr(t, i, s), s;
|
|
@@ -2174,7 +2174,7 @@ let j = class extends R {
|
|
|
2174
2174
|
return !!this.querySelector('[slot="right-addon"]');
|
|
2175
2175
|
}
|
|
2176
2176
|
};
|
|
2177
|
-
j.styles = [U, Or], K([l({ type: String })], j.prototype, "value", 2), K([l({ type: String })], j.prototype, "label", 2), K([l({ type: String })], j.prototype, "placeholder", 2), K([l({ type: String, reflect: !0 })], j.prototype, "type", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "disabled", 2), K([l({ type: String })], j.prototype, "rightText", 2), K([l({ type: Number })], j.prototype, "min", 2), K([l({ type: Number })], j.prototype, "max", 2), K([l({ type: Number })], j.prototype, "step", 2), K([l({ type: String })], j.prototype, "addonButtonsPosition", 2), K([l({ type: String })], j.prototype, "name", 2), K([l({ type: String })], j.prototype, "autocomplete", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "required", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "readonly", 2), K([l({ type: String })], j.prototype, "pattern", 2), K([l({ type: Boolean })], j.prototype, "validateOnInput", 2), K([l({ type: Boolean })], j.prototype, "tooltipFullWidth", 2), K([l({ type: String })], j.prototype, "validationPattern", 2), K([l({ type: String })], j.prototype, "validationMessage", 2), K([l({ type: String })], j.prototype, "inputMode", 2), K([l({ type: Boolean })], j.prototype, "hideRightLabel", 2), K([l({ type: Boolean })], j.prototype, "clickable", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "forceActiveBorder", 2), K([l({ type: Function, attribute: !1 })], j.prototype, "handleBeforeInput", 2), K([l({ type: Number })], j.prototype, "tooltipOffset", 2), K([
|
|
2177
|
+
j.styles = [U, Or], K([l({ type: String })], j.prototype, "value", 2), K([l({ type: String })], j.prototype, "label", 2), K([l({ type: String })], j.prototype, "placeholder", 2), K([l({ type: String, reflect: !0 })], j.prototype, "type", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "disabled", 2), K([l({ type: String })], j.prototype, "rightText", 2), K([l({ type: Number })], j.prototype, "min", 2), K([l({ type: Number })], j.prototype, "max", 2), K([l({ type: Number })], j.prototype, "step", 2), K([l({ type: String })], j.prototype, "addonButtonsPosition", 2), K([l({ type: String })], j.prototype, "name", 2), K([l({ type: String })], j.prototype, "autocomplete", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "required", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "readonly", 2), K([l({ type: String })], j.prototype, "pattern", 2), K([l({ type: Boolean })], j.prototype, "validateOnInput", 2), K([l({ type: Boolean })], j.prototype, "tooltipFullWidth", 2), K([l({ type: String })], j.prototype, "validationPattern", 2), K([l({ type: String })], j.prototype, "validationMessage", 2), K([l({ type: String })], j.prototype, "inputMode", 2), K([l({ type: Boolean })], j.prototype, "hideRightLabel", 2), K([l({ type: Boolean })], j.prototype, "clickable", 2), K([l({ type: Boolean, reflect: !0 })], j.prototype, "forceActiveBorder", 2), K([l({ type: Function, attribute: !1 })], j.prototype, "handleBeforeInput", 2), K([l({ type: Number })], j.prototype, "tooltipOffset", 2), K([T()], j.prototype, "errorMessage", 2), K([T()], j.prototype, "_isIconRotating", 2), K([l({ type: String })], j.prototype, "errorTooltipMessage", 2), K([T()], j.prototype, "_iconRotationState", 2), j = K([B("origami-input")], j);
|
|
2178
2178
|
const Ur = H`
|
|
2179
2179
|
:host {
|
|
2180
2180
|
display: block;
|
|
@@ -2474,7 +2474,7 @@ let lt = class extends R {
|
|
|
2474
2474
|
`;
|
|
2475
2475
|
}
|
|
2476
2476
|
};
|
|
2477
|
-
lt.styles = [U, Ur], gt([l({ type: String, reflect: !0 })], lt.prototype, "dir", 2), gt([l({ type: String })], lt.prototype, "label", 2), gt([l({ type: Array })], lt.prototype, "options", 2), gt([l({ type: String })], lt.prototype, "placeholder", 2), gt([l({ type: String })], lt.prototype, "helperText", 2), gt([l({ type: Boolean, reflect: !0 })], lt.prototype, "disabled", 2), gt([l({ type: Boolean, reflect: !0 })], lt.prototype, "required", 2), gt([l({ type: String })], lt.prototype, "defaultValue", 2), gt([l({ type: String })], lt.prototype, "id", 2), gt([l({ type: String })], lt.prototype, "name", 2), gt([l({ type: String })], lt.prototype, "error", 2), gt([l({ type: Number })], lt.prototype, "size", 2), gt([l({ type: Boolean })], lt.prototype, "autoFocus", 2), gt([
|
|
2477
|
+
lt.styles = [U, Ur], gt([l({ type: String, reflect: !0 })], lt.prototype, "dir", 2), gt([l({ type: String })], lt.prototype, "label", 2), gt([l({ type: Array })], lt.prototype, "options", 2), gt([l({ type: String })], lt.prototype, "placeholder", 2), gt([l({ type: String })], lt.prototype, "helperText", 2), gt([l({ type: Boolean, reflect: !0 })], lt.prototype, "disabled", 2), gt([l({ type: Boolean, reflect: !0 })], lt.prototype, "required", 2), gt([l({ type: String })], lt.prototype, "defaultValue", 2), gt([l({ type: String })], lt.prototype, "id", 2), gt([l({ type: String })], lt.prototype, "name", 2), gt([l({ type: String })], lt.prototype, "error", 2), gt([l({ type: Number })], lt.prototype, "size", 2), gt([l({ type: Boolean })], lt.prototype, "autoFocus", 2), gt([T()], lt.prototype, "_errorMessage", 2), gt([l({ type: String })], lt.prototype, "value", 2), lt = gt([B("origami-select")], lt);
|
|
2478
2478
|
const zr = St`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" r="16" fill="#F7931A"/><path fill="#FFF" fill-rule="nonzero" d="M23.189 14.02c.314-2.096-1.283-3.223-3.465-3.975l.708-2.84-1.728-.43-.69 2.765c-.454-.114-.92-.22-1.385-.326l.695-2.783L15.596 6l-.708 2.839c-.376-.086-.746-.17-1.104-.26l.002-.009-2.384-.595-.46 1.846s1.283.294 1.256.312c.7.175.826.638.805 1.006l-.806 3.235c.048.012.11.03.18.057l-.183-.045-1.13 4.532c-.086.212-.303.531-.793.41.018.025-1.256-.313-1.256-.313l-.858 1.978 2.25.561c.418.105.828.215 1.231.318l-.715 2.872 1.727.43.708-2.84c.472.127.93.245 1.378.357l-.706 2.828 1.728.43.715-2.866c2.948.558 5.164.333 6.097-2.333.752-2.146-.037-3.385-1.588-4.192 1.13-.26 1.98-1.003 2.207-2.538zm-3.95 5.538c-.533 2.147-4.148.986-5.32.695l.95-3.805c1.172.293 4.929.872 4.37 3.11zm.535-5.569c-.487 1.953-3.495.96-4.47.717l.86-3.45c.975.243 4.118.696 3.61 2.733z"/></g></svg>
|
|
2479
2479
|
`, jr = St`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" r="16" fill="#627EEA"/><g fill="#FFF" fill-rule="nonzero"><path fill-opacity=".602" d="M16.498 4v8.87l7.497 3.35z"/><path d="M16.498 4L9 16.22l7.498-3.35z"/><path fill-opacity=".602" d="M16.498 21.968v6.027L24 17.616z"/><path d="M16.498 27.995v-6.028L9 17.616z"/><path fill-opacity=".2" d="M16.498 20.573l7.497-4.353-7.497-3.348z"/><path fill-opacity=".602" d="M9 16.22l7.498 4.353v-7.701z"/></g></g></svg>
|
|
2480
2480
|
`, Gr = St`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
@@ -2557,7 +2557,7 @@ let Y = class extends R {
|
|
|
2557
2557
|
`;
|
|
2558
2558
|
}
|
|
2559
2559
|
};
|
|
2560
|
-
X([l({ type: String })], Y.prototype, "label", 2), X([l({ type: String })], Y.prototype, "currency", 2), X([l({ type: String })], Y.prototype, "errorMessage", 2), X([l({ type: String })], Y.prototype, "fiatCurrency", 2), X([l({ type: String })], Y.prototype, "value", 2), X([l({ type: String })], Y.prototype, "rightLabel", 2), X([l({ type: String })], Y.prototype, "suffix", 2), X([l({ type: String })], Y.prototype, "placeholder", 2), X([l({ type: Boolean })], Y.prototype, "disabled", 2), X([l({ type: Boolean })], Y.prototype, "readonly", 2), X([l({ type: Boolean })], Y.prototype, "disableInput", 2), X([l({ type: Boolean })], Y.prototype, "cursorNotAllowed", 2), X([l({ type: String })], Y.prototype, "bgColor", 2), X([l({ type: String })], Y.prototype, "testId", 2), X([l({ type: String })], Y.prototype, "tooltip", 2), X([l({ type: Boolean })], Y.prototype, "maxBetEnabled", 2), X([l({ type: Boolean })], Y.prototype, "dimmed", 2), X([l({ type: Number })], Y.prototype, "maxPayoutUSD", 2), X([l({ type: String })], Y.prototype, "variant", 2), X([l({ type: Boolean })], Y.prototype, "required", 2), X([l({ type: Boolean })], Y.prototype, "displayInFiat", 2), X([
|
|
2560
|
+
X([l({ type: String })], Y.prototype, "label", 2), X([l({ type: String })], Y.prototype, "currency", 2), X([l({ type: String })], Y.prototype, "errorMessage", 2), X([l({ type: String })], Y.prototype, "fiatCurrency", 2), X([l({ type: String })], Y.prototype, "value", 2), X([l({ type: String })], Y.prototype, "rightLabel", 2), X([l({ type: String })], Y.prototype, "suffix", 2), X([l({ type: String })], Y.prototype, "placeholder", 2), X([l({ type: Boolean })], Y.prototype, "disabled", 2), X([l({ type: Boolean })], Y.prototype, "readonly", 2), X([l({ type: Boolean })], Y.prototype, "disableInput", 2), X([l({ type: Boolean })], Y.prototype, "cursorNotAllowed", 2), X([l({ type: String })], Y.prototype, "bgColor", 2), X([l({ type: String })], Y.prototype, "testId", 2), X([l({ type: String })], Y.prototype, "tooltip", 2), X([l({ type: Boolean })], Y.prototype, "maxBetEnabled", 2), X([l({ type: Boolean })], Y.prototype, "dimmed", 2), X([l({ type: Number })], Y.prototype, "maxPayoutUSD", 2), X([l({ type: String })], Y.prototype, "variant", 2), X([l({ type: Boolean })], Y.prototype, "required", 2), X([l({ type: Boolean })], Y.prototype, "displayInFiat", 2), X([Me("origami-input")], Y.prototype, "input", 2), Y = X([B("origami-raw-currency-input")], Y);
|
|
2561
2561
|
var qr = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, Bo = Math.ceil, Vt = Math.floor, Ct = "[BigNumber Error] ", fs = Ct + "Number primitive has more than 15 significant digits: ", Wt = 1e14, N = 14, ys = 9007199254740991, Po = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], Ee = 1e7, kt = 1e9;
|
|
2562
2562
|
function Ft(e) {
|
|
2563
2563
|
var t = 0 | e;
|
|
@@ -2678,31 +2678,31 @@ var $ = function e(t) {
|
|
|
2678
2678
|
return (d = f + d * N - 1) > tt ? n.c = n.e = null : d < dt ? n.c = [n.e = 0] : (n.e = d, n.c = c), n;
|
|
2679
2679
|
}
|
|
2680
2680
|
function Dt(n, c, d, f) {
|
|
2681
|
-
var u, h, m, p, y, v, b,
|
|
2682
|
-
if (
|
|
2681
|
+
var u, h, m, p, y, v, b, M = n.c, O = Po;
|
|
2682
|
+
if (M) {
|
|
2683
2683
|
t: {
|
|
2684
|
-
for (u = 1, p =
|
|
2685
|
-
if ((h = c - u) < 0) h += N, m = c, y =
|
|
2686
|
-
else if ((v = Bo((h + 1) / N)) >=
|
|
2684
|
+
for (u = 1, p = M[0]; p >= 10; p /= 10, u++) ;
|
|
2685
|
+
if ((h = c - u) < 0) h += N, m = c, y = M[v = 0], b = Vt(y / O[u - m - 1] % 10);
|
|
2686
|
+
else if ((v = Bo((h + 1) / N)) >= M.length) {
|
|
2687
2687
|
if (!f) break t;
|
|
2688
|
-
for (;
|
|
2688
|
+
for (; M.length <= v; M.push(0)) ;
|
|
2689
2689
|
y = b = 0, u = 1, m = (h %= N) - N + 1;
|
|
2690
2690
|
} else {
|
|
2691
|
-
for (y = p =
|
|
2691
|
+
for (y = p = M[v], u = 1; p >= 10; p /= 10, u++) ;
|
|
2692
2692
|
b = (m = (h %= N) - N + u) < 0 ? 0 : Vt(y / O[u - m - 1] % 10);
|
|
2693
2693
|
}
|
|
2694
|
-
if (f = f || c < 0 ||
|
|
2695
|
-
if (h == 0 ? (
|
|
2694
|
+
if (f = f || c < 0 || M[v + 1] != null || (m < 0 ? y : y % O[u - m - 1]), f = d < 4 ? (b || f) && (d == 0 || d == (n.s < 0 ? 3 : 2)) : b > 5 || b == 5 && (d == 4 || f || d == 6 && (h > 0 ? m > 0 ? y / O[u - m] : 0 : M[v - 1]) % 10 & 1 || d == (n.s < 0 ? 8 : 7)), c < 1 || !M[0]) return M.length = 0, f ? (c -= n.e + 1, M[0] = O[(N - c % N) % N], n.e = -c || 0) : M[0] = n.e = 0, n;
|
|
2695
|
+
if (h == 0 ? (M.length = v, p = 1, v--) : (M.length = v + 1, p = O[N - h], M[v] = m > 0 ? Vt(y / O[u - m] % O[m]) * p : 0), f) for (; ; ) {
|
|
2696
2696
|
if (v == 0) {
|
|
2697
|
-
for (h = 1, m =
|
|
2698
|
-
for (m =
|
|
2699
|
-
h != p && (n.e++,
|
|
2697
|
+
for (h = 1, m = M[0]; m >= 10; m /= 10, h++) ;
|
|
2698
|
+
for (m = M[0] += p, p = 1; m >= 10; m /= 10, p++) ;
|
|
2699
|
+
h != p && (n.e++, M[0] == Wt && (M[0] = 1));
|
|
2700
2700
|
break;
|
|
2701
2701
|
}
|
|
2702
|
-
if (
|
|
2703
|
-
|
|
2702
|
+
if (M[v] += p, M[v] != Wt) break;
|
|
2703
|
+
M[v--] = 0, p = 1;
|
|
2704
2704
|
}
|
|
2705
|
-
for (h =
|
|
2705
|
+
for (h = M.length; M[--h] === 0; M.pop()) ;
|
|
2706
2706
|
}
|
|
2707
2707
|
n.e > tt ? n.c = n.e = null : n.e < dt && (n.c = [n.e = 0]);
|
|
2708
2708
|
}
|
|
@@ -2795,12 +2795,12 @@ var $ = function e(t) {
|
|
|
2795
2795
|
return y.reverse();
|
|
2796
2796
|
}
|
|
2797
2797
|
return function(d, f, u, h, m) {
|
|
2798
|
-
var p, y, v, b,
|
|
2798
|
+
var p, y, v, b, M, O, P, Z, et = d.indexOf("."), at = A, z = I;
|
|
2799
2799
|
for (et >= 0 && (b = ut, ut = 0, d = d.replace(".", ""), O = (Z = new S(f)).pow(d.length - et), ut = b, Z.c = c(fe(Ot(O.c), O.e, "0"), 10, u, n), Z.e = Z.c.length), v = b = (P = c(d, f, u, m ? (p = Xt, n) : (p = n, Xt))).length; P[--b] == 0; P.pop()) ;
|
|
2800
2800
|
if (!P[0]) return p.charAt(0);
|
|
2801
|
-
if (et < 0 ? --v : (O.c = P, O.e = v, O.s = h, P = (O = i(O, Z, at, z, u)).c,
|
|
2801
|
+
if (et < 0 ? --v : (O.c = P, O.e = v, O.s = h, P = (O = i(O, Z, at, z, u)).c, M = O.r, v = O.e), et = P[y = v + at + 1], b = u / 2, M = M || y < 0 || P[y + 1] != null, M = z < 4 ? (et != null || M) && (z == 0 || z == (O.s < 0 ? 3 : 2)) : et > b || et == b && (z == 4 || M || z == 6 && 1 & P[y - 1] || z == (O.s < 0 ? 8 : 7)), y < 1 || !P[0]) d = M ? fe(p.charAt(1), -at, p.charAt(0)) : p.charAt(0);
|
|
2802
2802
|
else {
|
|
2803
|
-
if (P.length = y,
|
|
2803
|
+
if (P.length = y, M) for (--u; ++P[--y] > u; ) P[y] = 0, y || (++v, P = [1].concat(P));
|
|
2804
2804
|
for (b = P.length; !P[--b]; ) ;
|
|
2805
2805
|
for (et = 0, d = ""; et <= b; d += p.charAt(P[et++])) ;
|
|
2806
2806
|
d = fe(d, v, p.charAt(0));
|
|
@@ -2809,8 +2809,8 @@ var $ = function e(t) {
|
|
|
2809
2809
|
};
|
|
2810
2810
|
}(), i = /* @__PURE__ */ function() {
|
|
2811
2811
|
function n(f, u, h) {
|
|
2812
|
-
var m, p, y, v, b = 0,
|
|
2813
|
-
for (f = f.slice();
|
|
2812
|
+
var m, p, y, v, b = 0, M = f.length, O = u % Ee, P = u / Ee | 0;
|
|
2813
|
+
for (f = f.slice(); M--; ) b = ((p = O * (y = f[M] % Ee) + (m = P * y + (v = f[M] / Ee | 0) * O) % Ee * Ee + b) / h | 0) + (m / Ee | 0) + P * v, f[M] = p % h;
|
|
2814
2814
|
return b && (f = [b].concat(f)), f;
|
|
2815
2815
|
}
|
|
2816
2816
|
function c(f, u, h, m) {
|
|
@@ -2827,27 +2827,27 @@ var $ = function e(t) {
|
|
|
2827
2827
|
for (; !f[0] && f.length > 1; f.splice(0, 1)) ;
|
|
2828
2828
|
}
|
|
2829
2829
|
return function(f, u, h, m, p) {
|
|
2830
|
-
var y, v, b,
|
|
2830
|
+
var y, v, b, M, O, P, Z, et, at, z, q, ht, to, Mo, To, Qt, Oi, At = f.s == u.s ? 1 : -1, ft = f.c, J = u.c;
|
|
2831
2831
|
if (!(ft && ft[0] && J && J[0])) return new S(f.s && u.s && (ft ? !J || ft[0] != J[0] : J) ? ft && ft[0] == 0 || !J ? 0 * At : At / 0 : NaN);
|
|
2832
2832
|
for (at = (et = new S(At)).c = [], At = h + (v = f.e - u.e) + 1, p || (p = Wt, v = Ft(f.e / N) - Ft(u.e / N), At = At / N | 0), b = 0; J[b] == (ft[b] || 0); b++) ;
|
|
2833
|
-
if (J[b] > (ft[b] || 0) && v--, At < 0) at.push(1),
|
|
2833
|
+
if (J[b] > (ft[b] || 0) && v--, At < 0) at.push(1), M = !0;
|
|
2834
2834
|
else {
|
|
2835
|
-
for (
|
|
2836
|
-
Oi = J.slice(), Oi = [0].concat(Oi),
|
|
2835
|
+
for (Mo = ft.length, Qt = J.length, b = 0, At += 2, (O = Vt(p / (J[0] + 1))) > 1 && (J = n(J, O, p), ft = n(ft, O, p), Qt = J.length, Mo = ft.length), to = Qt, q = (z = ft.slice(0, Qt)).length; q < Qt; z[q++] = 0) ;
|
|
2836
|
+
Oi = J.slice(), Oi = [0].concat(Oi), To = J[0], J[1] >= p / 2 && To++;
|
|
2837
2837
|
do {
|
|
2838
2838
|
if (O = 0, (y = c(J, z, Qt, q)) < 0) {
|
|
2839
|
-
if (ht = z[0], Qt != q && (ht = ht * p + (z[1] || 0)), (O = Vt(ht /
|
|
2839
|
+
if (ht = z[0], Qt != q && (ht = ht * p + (z[1] || 0)), (O = Vt(ht / To)) > 1) for (O >= p && (O = p - 1), Z = (P = n(J, O, p)).length, q = z.length; c(P, z, Z, q) == 1; ) O--, d(P, Qt < Z ? Oi : J, Z, p), Z = P.length, y = 1;
|
|
2840
2840
|
else O == 0 && (y = O = 1), Z = (P = J.slice()).length;
|
|
2841
2841
|
if (Z < q && (P = [0].concat(P)), d(z, P, q, p), q = z.length, y == -1) for (; c(J, z, Qt, q) < 1; ) O++, d(z, Qt < q ? Oi : J, q, p), q = z.length;
|
|
2842
2842
|
} else y === 0 && (O++, z = [0]);
|
|
2843
2843
|
at[b++] = O, z[0] ? z[q++] = ft[to] || 0 : (z = [ft[to]], q = 1);
|
|
2844
|
-
} while ((to++ <
|
|
2845
|
-
|
|
2844
|
+
} while ((to++ < Mo || z[0] != null) && At--);
|
|
2845
|
+
M = z[0] != null, at[0] || at.splice(0, 1);
|
|
2846
2846
|
}
|
|
2847
2847
|
if (p == Wt) {
|
|
2848
2848
|
for (b = 1, At = at[0]; At >= 10; At /= 10, b++) ;
|
|
2849
|
-
Dt(et, h + (et.e = b + v * N - 1) + 1, m,
|
|
2850
|
-
} else et.e = v, et.r = +
|
|
2849
|
+
Dt(et, h + (et.e = b + v * N - 1) + 1, m, M);
|
|
2850
|
+
} else et.e = v, et.r = +M;
|
|
2851
2851
|
return et;
|
|
2852
2852
|
};
|
|
2853
2853
|
}(), g = /^(-?)0([xbo])(?=\w[\w.]*$)/i, w = /^([^.]+)\.$/, L = /^\.([^.]+)$/, V = /^-?(Infinity|NaN)$/, k = /^\s*\+(?=[\w.])|^\s+|\s+$/g, r = function(n, c, d, f) {
|
|
@@ -2932,25 +2932,25 @@ var $ = function e(t) {
|
|
|
2932
2932
|
var d, f, u, h, m = this, p = m.s;
|
|
2933
2933
|
if (c = (n = new S(n, c)).s, !p || !c) return new S(NaN);
|
|
2934
2934
|
if (p != c) return n.s = -c, m.plus(n);
|
|
2935
|
-
var y = m.e / N, v = n.e / N, b = m.c,
|
|
2935
|
+
var y = m.e / N, v = n.e / N, b = m.c, M = n.c;
|
|
2936
2936
|
if (!y || !v) {
|
|
2937
|
-
if (!b || !
|
|
2938
|
-
if (!b[0] || !
|
|
2937
|
+
if (!b || !M) return b ? (n.s = -c, n) : new S(M ? m : NaN);
|
|
2938
|
+
if (!b[0] || !M[0]) return M[0] ? (n.s = -c, n) : new S(b[0] ? m : I == 3 ? -0 : 0);
|
|
2939
2939
|
}
|
|
2940
2940
|
if (y = Ft(y), v = Ft(v), b = b.slice(), p = y - v) {
|
|
2941
|
-
for ((h = p < 0) ? (p = -p, u = b) : (v = y, u =
|
|
2941
|
+
for ((h = p < 0) ? (p = -p, u = b) : (v = y, u = M), u.reverse(), c = p; c--; u.push(0)) ;
|
|
2942
2942
|
u.reverse();
|
|
2943
|
-
} else for (f = (h = (p = b.length) < (c =
|
|
2944
|
-
h = b[c] <
|
|
2943
|
+
} else for (f = (h = (p = b.length) < (c = M.length)) ? p : c, p = c = 0; c < f; c++) if (b[c] != M[c]) {
|
|
2944
|
+
h = b[c] < M[c];
|
|
2945
2945
|
break;
|
|
2946
2946
|
}
|
|
2947
|
-
if (h && (u = b, b =
|
|
2947
|
+
if (h && (u = b, b = M, M = u, n.s = -n.s), (c = (f = M.length) - (d = b.length)) > 0) for (; c--; b[d++] = 0) ;
|
|
2948
2948
|
for (c = Wt - 1; f > p; ) {
|
|
2949
|
-
if (b[--f] <
|
|
2949
|
+
if (b[--f] < M[f]) {
|
|
2950
2950
|
for (d = f; d && !b[--d]; b[d] = c) ;
|
|
2951
2951
|
--b[d], b[f] += Wt;
|
|
2952
2952
|
}
|
|
2953
|
-
b[f] -=
|
|
2953
|
+
b[f] -= M[f];
|
|
2954
2954
|
}
|
|
2955
2955
|
for (; b[0] == 0; b.splice(0, 1), --v) ;
|
|
2956
2956
|
return b[0] ? Lo(n, b, v) : (n.s = I == 3 ? -1 : 1, n.c = [n.e = 0], n);
|
|
@@ -2958,10 +2958,10 @@ var $ = function e(t) {
|
|
|
2958
2958
|
var d, f, u = this;
|
|
2959
2959
|
return n = new S(n, c), !u.c || !n.s || n.c && !n.c[0] ? new S(NaN) : !n.c || u.c && !u.c[0] ? new S(u) : (ot == 9 ? (f = n.s, n.s = 1, d = i(u, n, 0, 3), n.s = f, d.s *= f) : d = i(u, n, 0, ot), (n = u.minus(d.times(n))).c[0] || ot != 1 || (n.s = u.s), n);
|
|
2960
2960
|
}, C.multipliedBy = C.times = function(n, c) {
|
|
2961
|
-
var d, f, u, h, m, p, y, v, b,
|
|
2961
|
+
var d, f, u, h, m, p, y, v, b, M, O, P, Z, et, at, z = this, q = z.c, ht = (n = new S(n, c)).c;
|
|
2962
2962
|
if (!(q && ht && q[0] && ht[0])) return !z.s || !n.s || q && !q[0] && !ht || ht && !ht[0] && !q ? n.c = n.e = n.s = null : (n.s *= z.s, q && ht ? (n.c = [0], n.e = 0) : n.c = n.e = null), n;
|
|
2963
|
-
for (f = Ft(z.e / N) + Ft(n.e / N), n.s *= z.s, (y = q.length) < (
|
|
2964
|
-
for (et = Wt, at = Ee, u =
|
|
2963
|
+
for (f = Ft(z.e / N) + Ft(n.e / N), n.s *= z.s, (y = q.length) < (M = ht.length) && (Z = q, q = ht, ht = Z, u = y, y = M, M = u), u = y + M, Z = []; u--; Z.push(0)) ;
|
|
2964
|
+
for (et = Wt, at = Ee, u = M; --u >= 0; ) {
|
|
2965
2965
|
for (d = 0, O = ht[u] % at, P = ht[u] / at | 0, h = u + (m = y); h > u; ) d = ((v = O * (v = q[--m] % at) + (p = P * v + (b = q[m] / at | 0) * O) % at * at + Z[h] + d) / et | 0) + (p / at | 0) + P * b, Z[h--] = v % et;
|
|
2966
2966
|
Z[h] = d;
|
|
2967
2967
|
}
|
|
@@ -3021,20 +3021,20 @@ var $ = function e(t) {
|
|
|
3021
3021
|
if (d == null) n != null && c && typeof c == "object" ? (d = c, c = null) : n && typeof n == "object" ? (d = n, n = c = null) : d = Xe;
|
|
3022
3022
|
else if (typeof d != "object") throw Error(Ct + "Argument not an object: " + d);
|
|
3023
3023
|
if (f = u.toFixed(n, c), u.c) {
|
|
3024
|
-
var h, m = f.split("."), p = +d.groupSize, y = +d.secondaryGroupSize, v = d.groupSeparator || "", b = m[0],
|
|
3024
|
+
var h, m = f.split("."), p = +d.groupSize, y = +d.secondaryGroupSize, v = d.groupSeparator || "", b = m[0], M = m[1], O = u.s < 0, P = O ? b.slice(1) : b, Z = P.length;
|
|
3025
3025
|
if (y && (h = p, p = y, y = h, Z -= h), p > 0 && Z > 0) {
|
|
3026
3026
|
for (h = Z % p || p, b = P.substr(0, h); h < Z; h += p) b += v + P.substr(h, p);
|
|
3027
3027
|
y > 0 && (b += v + P.slice(h)), O && (b = "-" + b);
|
|
3028
3028
|
}
|
|
3029
|
-
f =
|
|
3029
|
+
f = M ? b + (d.decimalSeparator || "") + ((y = +d.fractionGroupSize) ? M.replace(new RegExp("\\d{" + y + "}\\B", "g"), "$&" + (d.fractionGroupSeparator || "")) : M) : b;
|
|
3030
3030
|
}
|
|
3031
3031
|
return (d.prefix || "") + f + (d.suffix || "");
|
|
3032
3032
|
}, C.toFraction = function(n) {
|
|
3033
|
-
var c, d, f, u, h, m, p, y, v, b,
|
|
3033
|
+
var c, d, f, u, h, m, p, y, v, b, M, O, P = this, Z = P.c;
|
|
3034
3034
|
if (n != null && (!(p = new S(n)).isInteger() && (p.c || p.s !== 1) || p.lt(D))) throw Error(Ct + "Argument " + (p.isInteger() ? "out of range: " : "not an integer: ") + me(p));
|
|
3035
3035
|
if (!Z) return new S(P);
|
|
3036
3036
|
for (c = new S(D), v = d = new S(D), f = y = new S(D), O = Ot(Z), h = c.e = O.length - P.e - 1, c.c[0] = Po[(m = h % N) < 0 ? N + m : m], n = !n || p.comparedTo(c) > 0 ? h > 0 ? c : v : p, m = tt, tt = 1 / 0, p = new S(O), y.c[0] = 0; b = i(p, c, 0, 1), (u = d.plus(b.times(f))).comparedTo(n) != 1; ) d = f, f = u, v = y.plus(b.times(u = v)), y = u, c = p.minus(b.times(u = c)), p = u;
|
|
3037
|
-
return u = i(n.minus(d), f, 0, 1), y = y.plus(u.times(v)), d = d.plus(u.times(f)), y.s = v.s = P.s,
|
|
3037
|
+
return u = i(n.minus(d), f, 0, 1), y = y.plus(u.times(v)), d = d.plus(u.times(f)), y.s = v.s = P.s, M = i(v, f, h *= 2, I).minus(P).abs().comparedTo(i(y, d, h, I).minus(P).abs()) < 1 ? [v, f] : [y, d], tt = m, M;
|
|
3038
3038
|
}, C.toNumber = function() {
|
|
3039
3039
|
return +me(this);
|
|
3040
3040
|
}, C.toPrecision = function(n, c) {
|
|
@@ -3137,7 +3137,7 @@ ye.styles = [U, H`
|
|
|
3137
3137
|
flex-grow: 1;
|
|
3138
3138
|
display: block;
|
|
3139
3139
|
}
|
|
3140
|
-
`], ei([yi({ context: ge, subscribe: !0 })], ye.prototype, "gameData", 2), ei([
|
|
3140
|
+
`], ei([yi({ context: ge, subscribe: !0 })], ye.prototype, "gameData", 2), ei([T()], ye.prototype, "isFocused", 2), ei([T()], ye.prototype, "value", 2), ei([l({ type: Boolean })], ye.prototype, "disabled", 2), ei([l({ type: String })], ye.prototype, "label", 2), ei([pe("displayInFiat")], ye.prototype, "handleDisplayInFiatChange", 1), ye = ei([B("origami-bet-amount-input")], ye);
|
|
3141
3141
|
var Qr = Object.defineProperty, Jr = Object.getOwnPropertyDescriptor, Ni = (e, t, i, o) => {
|
|
3142
3142
|
for (var r, s = o > 1 ? void 0 : o ? Jr(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
3143
3143
|
return o && s && Qr(t, i, s), s;
|
|
@@ -3375,7 +3375,7 @@ var ta = new $(256), ro = new $(25), Fo, ea = (Fo = class {
|
|
|
3375
3375
|
static getChance({ correctPicks: e, picked: t }) {
|
|
3376
3376
|
return new $(qi(10, e)).multipliedBy(qi(30, t - e)).dividedBy(new $(qi(40, t)));
|
|
3377
3377
|
}
|
|
3378
|
-
},
|
|
3378
|
+
}, Tt = ((e) => (e.ABOVE = "ABOVE", e.BELOW = "BELOW", e))(Tt || {}), gi = ((e) => (e.WIN = "WIN", e.LOSS = "LOSS", e))(gi || {}), vt = ((e) => (e.NO_GAME_ACTIVE = "NO_GAME_ACTIVE", e.GAME_IN_PROGRESS = "GAME_IN_PROGRESS", e.VIEWING_RESULTS = "VIEWING_RESULTS", e))(vt || {});
|
|
3379
3379
|
const st = class st {
|
|
3380
3380
|
constructor(t, i) {
|
|
3381
3381
|
this.authToken = t, this.baseUrl = i;
|
|
@@ -3927,7 +3927,7 @@ let zt = class extends R {
|
|
|
3927
3927
|
var e, t;
|
|
3928
3928
|
}
|
|
3929
3929
|
};
|
|
3930
|
-
zt.styles = [U, da], ve([l({ type: Boolean })], zt.prototype, "inputsDisabled", 2), ve([l({ type: Object })], zt.prototype, "autobetSettings", 2), ve([l({ type: String })], zt.prototype, "currency", 2), ve([l({ type: Boolean })], zt.prototype, "autobetStopping", 2), ve([l({ type: Boolean })], zt.prototype, "autobetInProgress", 2), ve([l({ type: String })], zt.prototype, "profitOnWin", 2), ve([l({ type: Boolean })], zt.prototype, "betDisabled", 2), ve([
|
|
3930
|
+
zt.styles = [U, da], ve([l({ type: Boolean })], zt.prototype, "inputsDisabled", 2), ve([l({ type: Object })], zt.prototype, "autobetSettings", 2), ve([l({ type: String })], zt.prototype, "currency", 2), ve([l({ type: Boolean })], zt.prototype, "autobetStopping", 2), ve([l({ type: Boolean })], zt.prototype, "autobetInProgress", 2), ve([l({ type: String })], zt.prototype, "profitOnWin", 2), ve([l({ type: Boolean })], zt.prototype, "betDisabled", 2), ve([Me('slot[name="custom-inputs"]')], zt.prototype, "customInputsSlot", 2), zt = ve([B("origami-generic-autobet")], zt);
|
|
3931
3931
|
var ma = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, De = (e, t, i, o) => {
|
|
3932
3932
|
for (var r, s = o > 1 ? void 0 : o ? ba(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
3933
3933
|
return o && s && ma(t, i, s), s;
|
|
@@ -4279,14 +4279,14 @@ let si = class extends R {
|
|
|
4279
4279
|
${this.showLogo ? x` <div class="footer-logo hide-on-mobile" aria-hidden="true">${Sa}</div> ` : _}
|
|
4280
4280
|
|
|
4281
4281
|
<div class="footer-links">
|
|
4282
|
-
<origami-button
|
|
4282
|
+
<!-- <origami-button
|
|
4283
4283
|
variant="ghost"
|
|
4284
4284
|
@button-click=${this.handleProvablyFairClick}
|
|
4285
4285
|
aria-label="View fairness information"
|
|
4286
4286
|
aria-haspopup="dialog"
|
|
4287
4287
|
>
|
|
4288
4288
|
<span>Fairness</span>
|
|
4289
|
-
</origami-button>
|
|
4289
|
+
</origami-button> -->
|
|
4290
4290
|
</div>
|
|
4291
4291
|
</footer>
|
|
4292
4292
|
`;
|
|
@@ -4338,7 +4338,7 @@ function ks(e) {
|
|
|
4338
4338
|
let t = Ss.get(e);
|
|
4339
4339
|
return t || (t = window.getComputedStyle(e, null), Ss.set(e, t)), t;
|
|
4340
4340
|
}
|
|
4341
|
-
function
|
|
4341
|
+
function Ma(e) {
|
|
4342
4342
|
const t = e.tagName.toLowerCase(), i = Number(e.getAttribute("tabindex"));
|
|
4343
4343
|
if (e.hasAttribute("tabindex") && (isNaN(i) || i <= -1) || e.hasAttribute("disabled") || e.closest("[inert]")) return !1;
|
|
4344
4344
|
if (t === "input" && e.getAttribute("type") === "radio") {
|
|
@@ -4359,7 +4359,7 @@ function Ls(e) {
|
|
|
4359
4359
|
return function o(r) {
|
|
4360
4360
|
if (r instanceof Element) {
|
|
4361
4361
|
if (r.hasAttribute("inert") || r.closest("[inert]") || t.has(r)) return;
|
|
4362
|
-
t.set(r, !0), !i.includes(r) &&
|
|
4362
|
+
t.set(r, !0), !i.includes(r) && Ma(r) && i.push(r), r instanceof HTMLSlotElement && function(s, a) {
|
|
4363
4363
|
var g;
|
|
4364
4364
|
return ((g = s.getRootNode({ composed: !0 })) == null ? void 0 : g.host) !== a;
|
|
4365
4365
|
}(r, e) && r.assignedElements({ flatten: !0 }).forEach((s) => {
|
|
@@ -4477,7 +4477,7 @@ class js {
|
|
|
4477
4477
|
this.host.shadowRoot.removeEventListener("slotchange", this.handleSlotChange);
|
|
4478
4478
|
}
|
|
4479
4479
|
}
|
|
4480
|
-
const
|
|
4480
|
+
const Ta = H`
|
|
4481
4481
|
:root,
|
|
4482
4482
|
:host {
|
|
4483
4483
|
/* Spacing variables that are actually used */
|
|
@@ -4760,7 +4760,7 @@ let Bt = class extends R {
|
|
|
4760
4760
|
`;
|
|
4761
4761
|
}
|
|
4762
4762
|
};
|
|
4763
|
-
Bt.styles = [U,
|
|
4763
|
+
Bt.styles = [U, Ta], ee([l({ type: Boolean })], Bt.prototype, "fixedPosition", 2), ee([Me(".dialog")], Bt.prototype, "dialog", 2), ee([Me(".dialog__panel")], Bt.prototype, "panel", 2), ee([Me(".dialog__overlay")], Bt.prototype, "overlay", 2), ee([l({ type: Boolean, reflect: !0 })], Bt.prototype, "open", 2), ee([l({ reflect: !0 })], Bt.prototype, "label", 2), ee([l({ type: Boolean })], Bt.prototype, "lockScrolling", 2), ee([l({ attribute: "no-header", type: Boolean, reflect: !0 })], Bt.prototype, "noHeader", 2), ee([pe("open", { waitUntilFirstUpdate: !0 })], Bt.prototype, "handleOpenChange", 1), Bt = ee([B("origami-modal")], Bt), mt("dialog.show", { keyframes: [{ opacity: 0, scale: 0.8 }, { opacity: 1, scale: 1 }], options: { duration: 250, easing: "ease" } }), mt("dialog.hide", { keyframes: [{ opacity: 1, scale: 1 }, { opacity: 0, scale: 0.8 }], options: { duration: 250, easing: "ease" } }), mt("dialog.denyClose", { keyframes: [{ scale: 1 }, { scale: 1.02 }, { scale: 1 }], options: { duration: 250 } }), mt("dialog.overlay.show", { keyframes: [{ opacity: 0 }, { opacity: 1 }], options: { duration: 250 } }), mt("dialog.overlay.hide", { keyframes: [{ opacity: 1 }, { opacity: 0 }], options: { duration: 250 } });
|
|
4764
4764
|
const _a = H`
|
|
4765
4765
|
:host {
|
|
4766
4766
|
display: block;
|
|
@@ -5464,7 +5464,7 @@ let Oe = class extends R {
|
|
|
5464
5464
|
return x`<div class=${e}>${t}X</div>`;
|
|
5465
5465
|
}
|
|
5466
5466
|
};
|
|
5467
|
-
Oe.styles = [U, ja], wi([l({ type: Number })], Oe.prototype, "resultMultiplier", 2), wi([l({ type: Boolean })], Oe.prototype, "isWin", 2), wi([l({ type: String })], Oe.prototype, "betId", 2), wi([l({ type: Number })], Oe.prototype, "betTargetMultiplier", 2), wi([
|
|
5467
|
+
Oe.styles = [U, ja], wi([l({ type: Number })], Oe.prototype, "resultMultiplier", 2), wi([l({ type: Boolean })], Oe.prototype, "isWin", 2), wi([l({ type: String })], Oe.prototype, "betId", 2), wi([l({ type: Number })], Oe.prototype, "betTargetMultiplier", 2), wi([T()], Oe.prototype, "currentValue", 2), Oe = wi([B("origami-limbo-multiplier")], Oe);
|
|
5468
5468
|
const Ka = St`<svg width="46" height="52" viewBox="0 0 46 52" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5469
5469
|
<path d="M43.28 11.128L25.05 0.608042C24.358 0.209672 23.5735 0 22.775 0C21.9765 0 21.192 0.209672 20.5 0.608042L2.28 11.128C1.58744 11.5267 1.0121 12.1008 0.611853 12.7924C0.211608 13.4841 0.000579365 14.2689 0 15.068L0 36.068C0.000579365 36.8672 0.211608 37.652 0.611853 38.3437C1.0121 39.0353 1.58744 39.6094 2.28 40.008L20.5 50.578C21.192 50.9764 21.9765 51.1861 22.775 51.1861C23.5735 51.1861 24.358 50.9764 25.05 50.578L43.28 40.058C43.97 39.6573 44.5428 39.0826 44.9411 38.3912C45.3395 37.6998 45.5494 36.916 45.55 36.118V15.118C45.5582 14.3117 45.3525 13.5175 44.9537 12.8166C44.5549 12.1156 43.9774 11.533 43.28 11.128Z" fill="white"/>
|
|
5470
5470
|
<path d="M21.13 24.638L1.85 13.508C1.66327 13.399 1.45112 13.3412 1.23491 13.3403C1.01871 13.3395 0.806098 13.3956 0.618505 13.5031C0.430911 13.6106 0.274964 13.7656 0.166378 13.9526C0.0577928 14.1395 0.000405611 14.3518 0 14.568L0 36.568C0.000480311 37.2143 0.170694 37.8491 0.493607 38.409C0.81652 38.9688 1.28081 39.434 1.84 39.758L20.93 50.758C21.4928 51.0812 22.131 51.2502 22.78 51.248C25.6097 43.5601 25.6097 35.1159 22.78 27.428C22.7682 26.8603 22.6102 26.3052 22.3212 25.8165C22.0321 25.3277 21.6218 24.9218 21.13 24.638Z" fill="#F0F0F0"/>
|
|
@@ -6203,7 +6203,7 @@ let re = class extends R {
|
|
|
6203
6203
|
`;
|
|
6204
6204
|
}
|
|
6205
6205
|
};
|
|
6206
|
-
re.styles = [U, on], Be([l({ type: Array })], re.prototype, "selectedTiles", 2), Be([l({ type: Array })], re.prototype, "resultTiles", 2), Be([l({ type: Boolean })], re.prototype, "popupShowing", 2), Be([l({ type: Boolean, reflect: !0 })], re.prototype, "isPlaying", 2), Be([l({ type: Boolean, reflect: !0 })], re.prototype, "gameOver", 2), Be([
|
|
6206
|
+
re.styles = [U, on], Be([l({ type: Array })], re.prototype, "selectedTiles", 2), Be([l({ type: Array })], re.prototype, "resultTiles", 2), Be([l({ type: Boolean })], re.prototype, "popupShowing", 2), Be([l({ type: Boolean, reflect: !0 })], re.prototype, "isPlaying", 2), Be([l({ type: Boolean, reflect: !0 })], re.prototype, "gameOver", 2), Be([T()], re.prototype, "enableSounds", 2), Be([l({ type: String, attribute: "aria-label" })], re.prototype, "ariaLabel", 2), re = Be([B("origami-keno-grid")], re);
|
|
6207
6207
|
var an = Object.defineProperty, nn = Object.getOwnPropertyDescriptor, xi = (e, t, i, o) => {
|
|
6208
6208
|
for (var r, s = o > 1 ? void 0 : o ? nn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
6209
6209
|
return o && s && an(t, i, s), s;
|
|
@@ -6647,7 +6647,7 @@ let Lt = class extends qt {
|
|
|
6647
6647
|
`;
|
|
6648
6648
|
}
|
|
6649
6649
|
};
|
|
6650
|
-
Lt.styles = [U, ln], jt([
|
|
6650
|
+
Lt.styles = [U, ln], jt([T()], Lt.prototype, "_activeTab", 2), jt([T()], Lt.prototype, "_publicKey", 2), jt([T()], Lt.prototype, "_request", 2), jt([T()], Lt.prototype, "_proof", 2), jt([T()], Lt.prototype, "_randomness", 2), jt([T()], Lt.prototype, "_clientSeed", 2), jt([T()], Lt.prototype, "verifiedStatus", 2), jt([T()], Lt.prototype, "gameType", 2), jt([T()], Lt.prototype, "_historyData", 2), jt([T()], Lt.prototype, "_showAllHistory", 2), Lt = jt([B("origami-fairness-details")], Lt);
|
|
6651
6651
|
class jo extends qt {
|
|
6652
6652
|
constructor() {
|
|
6653
6653
|
super(), this.title = "", this.icon = "";
|
|
@@ -7231,7 +7231,7 @@ var pn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, $i = (e, t
|
|
|
7231
7231
|
for (var r, s = o > 1 ? void 0 : o ? gn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
7232
7232
|
return o && s && pn(t, i, s), s;
|
|
7233
7233
|
};
|
|
7234
|
-
const mn = { mines: { id: "mines-example-123", amount: "10.00", payout: "20.00", multiplier: 2, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { mines: { minesResult: [2, 5, 9, 14, 22], minesCount: 5, winMultiplier: "2.00", selected: [0, 1, 3, 4, 6, 7, 8, 10, 12, 15] } }, type: "END_BET", actionIndex: 0, originalActionId: null, betAmount: "10.00", payoutAmount: "20.00" }] }, dice: { id: "dice-example-123", amount: "5.00", payout: "9.50", multiplier: 1.9, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { dice: { resultValue: 3456, userValue: 5e3, userDiceDirection:
|
|
7234
|
+
const mn = { mines: { id: "mines-example-123", amount: "10.00", payout: "20.00", multiplier: 2, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { mines: { minesResult: [2, 5, 9, 14, 22], minesCount: 5, winMultiplier: "2.00", selected: [0, 1, 3, 4, 6, 7, 8, 10, 12, 15] } }, type: "END_BET", actionIndex: 0, originalActionId: null, betAmount: "10.00", payoutAmount: "20.00" }] }, dice: { id: "dice-example-123", amount: "5.00", payout: "9.50", multiplier: 1.9, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { dice: { resultValue: 3456, userValue: 5e3, userDiceDirection: Tt.BELOW } }, type: "END_BET", actionIndex: 0, originalActionId: null, betAmount: "5.00", payoutAmount: "9.50" }] }, keno: { id: "keno-example-123", amount: "7.50", payout: "15.00", multiplier: 2, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { keno: { selectedTiles: [2, 7, 12, 18, 24, 29, 35], resultTiles: [7, 12, 18, 24, 29, 35, 37, 39], multiplier: 2, riskLevel: E.CLASSIC } }, type: "END_BET", actionIndex: 0, originalActionId: null, betAmount: "7.50", payoutAmount: "15.00" }] }, limbo: { id: "limbo-example-123", amount: "3.00", payout: "9.00", multiplier: 3, completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: "action1", data: { limbo: { targetMultiplier: 2.5, resultMultiplier: 3 } }, type: "END_BET", actionIndex: 0, originalActionId: null, betAmount: "3.00", payoutAmount: "9.00" }] } };
|
|
7235
7235
|
let Ne = class extends R {
|
|
7236
7236
|
constructor() {
|
|
7237
7237
|
super(...arguments), this.gameType = "keno", this.betResult = null, this.currencySymbol = "$", this.visible = !1, this.variant = "success";
|
|
@@ -7248,7 +7248,7 @@ let Ne = class extends R {
|
|
|
7248
7248
|
if (!e.actions || e.actions.length === 0) return { resultValue: 50, userValue: 50, isRollLower: !1, winChance: "50.0000", isDiceWin: !1 };
|
|
7249
7249
|
const t = e.actions[e.actions.length - 1], i = t == null ? void 0 : t.data.dice;
|
|
7250
7250
|
if (!i) return { resultValue: 50, userValue: 50, isRollLower: !1, winChance: "50.0000", isDiceWin: !1 };
|
|
7251
|
-
const o = i.userDiceDirection ===
|
|
7251
|
+
const o = i.userDiceDirection === Tt.BELOW, r = $(e.multiplier).isGreaterThan(0), s = bt.getWinChance(i.userValue, i.userDiceDirection);
|
|
7252
7252
|
return { resultValue: i.resultValue, userValue: i.userValue, isRollLower: o, winChance: s, isDiceWin: r };
|
|
7253
7253
|
}
|
|
7254
7254
|
_getMinesData() {
|
|
@@ -7708,7 +7708,7 @@ var fn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, Nt = (e, t
|
|
|
7708
7708
|
for (var r, s = o > 1 ? void 0 : o ? yn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
7709
7709
|
return o && s && fn(t, i, s), s;
|
|
7710
7710
|
};
|
|
7711
|
-
function
|
|
7711
|
+
function Ms(e) {
|
|
7712
7712
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
7713
7713
|
}
|
|
7714
7714
|
let $t = class extends R {
|
|
@@ -7814,7 +7814,7 @@ let $t = class extends R {
|
|
|
7814
7814
|
e && e.removeAttribute("autofocus"), await Promise.all([qe(this.drawer), qe(this.overlay)]), this.drawer.hidden = !1, requestAnimationFrame(() => {
|
|
7815
7815
|
this.emit("drawer-initial-focus", { cancelable: !0 }).defaultPrevented || (e ? e.focus({ preventScroll: !0 }) : this.panel.focus({ preventScroll: !0 })), e && e.setAttribute("autofocus", "");
|
|
7816
7816
|
});
|
|
7817
|
-
const t = he(this, `drawer.show${
|
|
7817
|
+
const t = he(this, `drawer.show${Ms(this.placement)}`, { dir: "" }), i = he(this, "drawer.overlay.show", { dir: "" });
|
|
7818
7818
|
await Promise.all([ue(this.panel, t.keyframes, t.options), ue(this.overlay, i.keyframes, i.options)]), this.emit("drawer-after-show");
|
|
7819
7819
|
} else {
|
|
7820
7820
|
if (this.isCustomClosing) return;
|
|
@@ -7823,7 +7823,7 @@ let $t = class extends R {
|
|
|
7823
7823
|
const { activeElement: r } = document;
|
|
7824
7824
|
r && o.contains(r) && ((s = document.activeElement) == null || s.blur());
|
|
7825
7825
|
})(this), this.emit("drawer-hide"), this.removeOpenListeners(), this.cleanupDragState(), this.contained || (this.focusTrap.deactivate(), Di(this)), await Promise.all([qe(this.drawer), qe(this.overlay)]);
|
|
7826
|
-
const e = he(this, `drawer.hide${
|
|
7826
|
+
const e = he(this, `drawer.hide${Ms(this.placement)}`, { dir: "" }), t = he(this, "drawer.overlay.hide", { dir: "" });
|
|
7827
7827
|
await Promise.all([ue(this.overlay, t.keyframes, t.options).then(() => {
|
|
7828
7828
|
this.overlay.hidden = !0;
|
|
7829
7829
|
}), ue(this.panel, e.keyframes, e.options).then(() => {
|
|
@@ -7897,7 +7897,7 @@ let $t = class extends R {
|
|
|
7897
7897
|
`;
|
|
7898
7898
|
}
|
|
7899
7899
|
};
|
|
7900
|
-
$t.styles = [U, bn], Nt([
|
|
7900
|
+
$t.styles = [U, bn], Nt([Me(".drawer")], $t.prototype, "drawer", 2), Nt([Me(".drawer__panel")], $t.prototype, "panel", 2), Nt([Me(".drawer__overlay")], $t.prototype, "overlay", 2), Nt([l({ type: Boolean, reflect: !0 })], $t.prototype, "open", 2), Nt([l({ reflect: !0 })], $t.prototype, "label", 2), Nt([l({ reflect: !0 })], $t.prototype, "placement", 2), Nt([l({ type: Boolean, reflect: !0 })], $t.prototype, "contained", 2), Nt([l({ attribute: "no-header", type: Boolean, reflect: !0 })], $t.prototype, "noHeader", 2), Nt([l({ attribute: "no-close-button", type: Boolean, reflect: !0 })], $t.prototype, "noCloseButton", 2), Nt([pe("open", { waitUntilFirstUpdate: !0 })], $t.prototype, "handleOpenChange", 1), Nt([pe("contained", { waitUntilFirstUpdate: !0 })], $t.prototype, "handleNoModalChange", 1), $t = Nt([B("origami-drawer")], $t), mt("drawer.showTop", { keyframes: [{ opacity: 0, translate: "0 -100%" }, { opacity: 1, translate: "0 0" }], options: { duration: 250, easing: "ease" } }), mt("drawer.hideTop", { keyframes: [{ opacity: 1, translate: "0 0" }, { opacity: 0, translate: "0 -100%" }], options: { duration: 250, easing: "ease" } }), mt("drawer.showEnd", { keyframes: [{ opacity: 0, translate: "100%" }, { opacity: 1, translate: "0" }], rtlKeyframes: [{ opacity: 0, translate: "-100%" }, { opacity: 1, translate: "0" }], options: { duration: 250, easing: "ease" } }), mt("drawer.hideEnd", { keyframes: [{ opacity: 1, translate: "0" }, { opacity: 0, translate: "100%" }], rtlKeyframes: [{ opacity: 1, translate: "0" }, { opacity: 0, translate: "-100%" }], options: { duration: 250, easing: "ease" } }), mt("drawer.showBottom", { keyframes: [{ opacity: 0, translate: "0 100%" }, { opacity: 1, translate: "0 0" }], options: { duration: 250, easing: "ease" } }), mt("drawer.hideBottom", { keyframes: [{ opacity: 1, translate: "0 0" }, { opacity: 0, translate: "0 100%" }], options: { duration: 250, easing: "ease" } }), mt("drawer.showStart", { keyframes: [{ opacity: 0, translate: "-100%" }, { opacity: 1, translate: "0" }], rtlKeyframes: [{ opacity: 0, translate: "100%" }, { opacity: 1, translate: "0" }], options: { duration: 250, easing: "ease" } }), mt("drawer.hideStart", { keyframes: [{ opacity: 1, translate: "0" }, { opacity: 0, translate: "-100%" }], rtlKeyframes: [{ opacity: 1, translate: "0" }, { opacity: 0, translate: "100%" }], options: { duration: 250, easing: "ease" } }), mt("drawer.denyClose", { keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }], options: { duration: 250 } }), mt("drawer.overlay.show", { keyframes: [{ opacity: 0 }, { opacity: 1 }], options: { duration: 250 } }), mt("drawer.overlay.hide", { keyframes: [{ opacity: 1 }, { opacity: 0 }], options: { duration: 250 } });
|
|
7901
7901
|
var vn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, yt = (e, t, i, o) => {
|
|
7902
7902
|
for (var r, s = o > 1 ? void 0 : o ? wn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
7903
7903
|
return o && s && vn(t, i, s), s;
|
|
@@ -7991,7 +7991,7 @@ let ct = class extends R {
|
|
|
7991
7991
|
`;
|
|
7992
7992
|
}
|
|
7993
7993
|
};
|
|
7994
|
-
ct.styles = [U, un], yt([yi({ context: ge, subscribe: !0 })], ct.prototype, "gameData", 2), yt([l({ type: String })], ct.prototype, "className", 2), yt([l({ type: String })], ct.prototype, "containerId", 2), yt([l({ type: Boolean })], ct.prototype, "showFooter", 2), yt([l({ type: Boolean })], ct.prototype, "showLogo", 2), yt([l({ type: String })], ct.prototype, "logoUrl", 2), yt([l({ type: String })], ct.prototype, "logoAlt", 2), yt([
|
|
7994
|
+
ct.styles = [U, un], yt([yi({ context: ge, subscribe: !0 })], ct.prototype, "gameData", 2), yt([l({ type: String })], ct.prototype, "className", 2), yt([l({ type: String })], ct.prototype, "containerId", 2), yt([l({ type: Boolean })], ct.prototype, "showFooter", 2), yt([l({ type: Boolean })], ct.prototype, "showLogo", 2), yt([l({ type: String })], ct.prototype, "logoUrl", 2), yt([l({ type: String })], ct.prototype, "logoAlt", 2), yt([T()], ct.prototype, "showSettings", 2), yt([T()], ct.prototype, "showTheatre", 2), yt([T()], ct.prototype, "showStats", 2), yt([T()], ct.prototype, "showFavorites", 2), yt([T()], ct.prototype, "showFairness", 2), yt([T()], ct.prototype, "showFairnessModal", 2), yt([l({ type: String })], ct.prototype, "betResultModalGameType", 2), ct = yt([B("origami-game-layout")], ct);
|
|
7995
7995
|
const xn = H`
|
|
7996
7996
|
:host {
|
|
7997
7997
|
display: none;
|
|
@@ -8113,7 +8113,7 @@ var $n = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, ni = (e, t
|
|
|
8113
8113
|
};
|
|
8114
8114
|
let xe = class extends R {
|
|
8115
8115
|
constructor() {
|
|
8116
|
-
super(...arguments), this.selectedValue = 50, this.diceDirection =
|
|
8116
|
+
super(...arguments), this.selectedValue = 50, this.diceDirection = Tt.ABOVE, this.winChanceInputFocused = !1, this.multiplierInputFocused = !1, this.winChanceInputValue = "50.0000", this.multiplierInputValue = "1.9800";
|
|
8117
8117
|
}
|
|
8118
8118
|
handleMultiplierBlur() {
|
|
8119
8119
|
this.multiplierInputValue = bt.getMultiplier(this.selectedValue, this.diceDirection);
|
|
@@ -8153,7 +8153,7 @@ let xe = class extends R {
|
|
|
8153
8153
|
|
|
8154
8154
|
<div class="roll-direction" @click=${() => this.emit("dice-roll-over-toggle")}>
|
|
8155
8155
|
<div class="input-label">
|
|
8156
|
-
<span>${this.diceDirection ===
|
|
8156
|
+
<span>${this.diceDirection === Tt.ABOVE ? "Roll Over" : "Roll Under"}</span>
|
|
8157
8157
|
</div>
|
|
8158
8158
|
|
|
8159
8159
|
<button class="roll-button" >
|
|
@@ -8186,7 +8186,7 @@ let xe = class extends R {
|
|
|
8186
8186
|
`;
|
|
8187
8187
|
}
|
|
8188
8188
|
};
|
|
8189
|
-
xe.styles = [U, xn], ni([l({ type: Number })], xe.prototype, "selectedValue", 2), ni([l({ type: String })], xe.prototype, "diceDirection", 2), ni([
|
|
8189
|
+
xe.styles = [U, xn], ni([l({ type: Number })], xe.prototype, "selectedValue", 2), ni([l({ type: String })], xe.prototype, "diceDirection", 2), ni([T()], xe.prototype, "winChanceInputFocused", 2), ni([T()], xe.prototype, "multiplierInputFocused", 2), ni([T()], xe.prototype, "winChanceInputValue", 2), ni([T()], xe.prototype, "multiplierInputValue", 2), xe = ni([B("origami-dice-content-bottom")], xe);
|
|
8190
8190
|
const Sn = H`
|
|
8191
8191
|
:host {
|
|
8192
8192
|
display: flex;
|
|
@@ -8263,9 +8263,9 @@ let li = class extends R {
|
|
|
8263
8263
|
}
|
|
8264
8264
|
};
|
|
8265
8265
|
li.styles = [U, Sn], zi([l({ type: Boolean })], li.prototype, "isPlaying", 2), zi([l({ type: String })], li.prototype, "profitOnWin", 2), zi([l({ type: Boolean })], li.prototype, "betDisabled", 2), zi([l({ type: String })], li.prototype, "currency", 2), li = zi([B("origami-dice-manual")], li);
|
|
8266
|
-
var
|
|
8267
|
-
for (var r, s = o > 1 ? void 0 : o ?
|
|
8268
|
-
return o && s &&
|
|
8266
|
+
var Mn = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, Ci = (e, t, i, o) => {
|
|
8267
|
+
for (var r, s = o > 1 ? void 0 : o ? Tn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
8268
|
+
return o && s && Mn(t, i, s), s;
|
|
8269
8269
|
};
|
|
8270
8270
|
let ci = class extends R {
|
|
8271
8271
|
constructor() {
|
|
@@ -8305,7 +8305,7 @@ const En = H`
|
|
|
8305
8305
|
grid-template-rows: auto 1fr;
|
|
8306
8306
|
}
|
|
8307
8307
|
}
|
|
8308
|
-
`,
|
|
8308
|
+
`, Ts = (e, t, i) => {
|
|
8309
8309
|
const o = /* @__PURE__ */ new Map();
|
|
8310
8310
|
for (let r = t; r <= i; r++) o.set(e[r], r);
|
|
8311
8311
|
return o;
|
|
@@ -8335,7 +8335,7 @@ const En = H`
|
|
|
8335
8335
|
else if (g[C] === a[A]) w[A] = Je(r[C], s[A]), C--, A--;
|
|
8336
8336
|
else if (g[k] === a[A]) w[A] = Je(r[k], s[A]), Pi(e, w[A + 1], r[k]), k++, A--;
|
|
8337
8337
|
else if (g[C] === a[D]) w[D] = Je(r[C], s[D]), Pi(e, r[k], r[C]), C--, D++;
|
|
8338
|
-
else if (L === void 0 && (L =
|
|
8338
|
+
else if (L === void 0 && (L = Ts(a, D, A), V = Ts(g, k, C)), L.has(g[k])) if (L.has(g[C])) {
|
|
8339
8339
|
const I = V.get(a[D]), it = I !== void 0 ? r[I] : null;
|
|
8340
8340
|
if (it === null) {
|
|
8341
8341
|
const W = Pi(e, r[k]);
|
|
@@ -8501,7 +8501,6 @@ let Si = class extends R {
|
|
|
8501
8501
|
`;
|
|
8502
8502
|
}
|
|
8503
8503
|
handleHistoryPillClick(e) {
|
|
8504
|
-
this.emit("open-bet-result-modal", { detail: { gameType: this.gameType, betId: e.id } });
|
|
8505
8504
|
}
|
|
8506
8505
|
render() {
|
|
8507
8506
|
return x`
|
|
@@ -8509,14 +8508,14 @@ let Si = class extends R {
|
|
|
8509
8508
|
`;
|
|
8510
8509
|
}
|
|
8511
8510
|
};
|
|
8512
|
-
Si.styles = [U, An], lo([l({ type: Array })], Si.prototype, "history", 2), lo([l({ type: String })], Si.prototype, "gameType", 2), lo([
|
|
8511
|
+
Si.styles = [U, An], lo([l({ type: Array })], Si.prototype, "history", 2), lo([l({ type: String })], Si.prototype, "gameType", 2), lo([T()], Si.prototype, "animatingInIds", 2), Si = lo([B("origami-history-pills")], Si);
|
|
8513
8512
|
var On = Object.defineProperty, Bn = Object.getOwnPropertyDescriptor, Re = (e, t, i, o) => {
|
|
8514
8513
|
for (var r, s = o > 1 ? void 0 : o ? Bn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
8515
8514
|
return o && s && On(t, i, s), s;
|
|
8516
8515
|
};
|
|
8517
8516
|
let ae = class extends R {
|
|
8518
8517
|
constructor() {
|
|
8519
|
-
super(...arguments), this.selectedValue = 50, this.diceDirection =
|
|
8518
|
+
super(...arguments), this.selectedValue = 50, this.diceDirection = Tt.ABOVE, this.isPlaying = !1, this.showDice = !0, this.isWin = !0, this.resultValue = null, this.history = [];
|
|
8520
8519
|
}
|
|
8521
8520
|
render() {
|
|
8522
8521
|
return x`
|
|
@@ -8534,7 +8533,7 @@ let ae = class extends R {
|
|
|
8534
8533
|
?disabled=${this.isPlaying}
|
|
8535
8534
|
.resultValue=${this.resultValue ? this.resultValue / 100 : null}
|
|
8536
8535
|
.isWin=${this.isWin}
|
|
8537
|
-
.isRollLower=${this.diceDirection ===
|
|
8536
|
+
.isRollLower=${this.diceDirection === Tt.BELOW}
|
|
8538
8537
|
></origami-dice-slider>
|
|
8539
8538
|
|
|
8540
8539
|
<origami-dice-content-bottom
|
|
@@ -8598,7 +8597,7 @@ const Jo = class Jo extends R {
|
|
|
8598
8597
|
};
|
|
8599
8598
|
Jo.styles = [U];
|
|
8600
8599
|
let Kt = Jo;
|
|
8601
|
-
ji([
|
|
8600
|
+
ji([T()], Kt.prototype, "manualOrAuto"), ji([T()], Kt.prototype, "hasPendingBet"), ji([T()], Kt.prototype, "autobetInProgress"), ji([T()], Kt.prototype, "autobetStopping"), ji([T()], Kt.prototype, "betDelay");
|
|
8602
8601
|
var Le = ((e) => (e.START_BET = "START_BET", e.END_BET = "END_BET", e.ROLLBACK = "ROLLBACK", e.INTERMEDIATE_BET_ACTION = "INTERMEDIATE_BET_ACTION", e.INTERMEDIATE_NON_BET_ACTION = "INTERMEDIATE_NON_BET_ACTION", e))(Le || {});
|
|
8603
8602
|
class Yo extends bt {
|
|
8604
8603
|
static getRandomValueInRange(t, i) {
|
|
@@ -8607,7 +8606,7 @@ class Yo extends bt {
|
|
|
8607
8606
|
async startBet(t) {
|
|
8608
8607
|
const { amount: i, direction: o, selectedValue: r } = t, s = Yo.getRandomValueInRange(0, 1e4);
|
|
8609
8608
|
let a = 0;
|
|
8610
|
-
a = s > r ? o ===
|
|
8609
|
+
a = s > r ? o === Tt.ABOVE ? $(bt.getMultiplier(r, o)).toNumber() : 0 : o === Tt.BELOW ? $(bt.getMultiplier(r, o)).toNumber() : 0;
|
|
8611
8610
|
const g = $(i).multipliedBy(a).toString(), w = { id: crypto.randomUUID(), tenantId: "origami-casino", userId: "mock-user", usdRate: 1, gameId: "dice", currency: Et.USDC, edge: 0.01, amount: i, payout: g, afterBalance: "1000", maxPayoutReached: !1, multiplier: a, clientSeed: "mock-seed", randomValue: "mock-random", proof: "mock-proof", nonce: "1", completedAt: (/* @__PURE__ */ new Date()).toISOString(), actions: [{ id: crypto.randomUUID(), data: { dice: { resultValue: s, userValue: r, userDiceDirection: o } }, type: Le.END_BET, actionIndex: 0, originalActionId: null, betAmount: i, payoutAmount: g }] };
|
|
8612
8611
|
return await xt(250), { success: !0, data: w };
|
|
8613
8612
|
}
|
|
@@ -8618,7 +8617,7 @@ var Nn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, Ve = (e, t
|
|
|
8618
8617
|
};
|
|
8619
8618
|
let $e = class extends Kt {
|
|
8620
8619
|
constructor() {
|
|
8621
|
-
super(...arguments), this.diceDirection =
|
|
8620
|
+
super(...arguments), this.diceDirection = Tt.ABOVE, this.selectedValue = 5e3, this.isManualPlaying = !1, this.showDice = !1, this.isWin = !0, this.resultValue = null, this.history = [], this.sliderInputChange = (e) => {
|
|
8622
8621
|
this.selectedValue = 100 * e.detail.value;
|
|
8623
8622
|
}, this.diceMultiplierChange = (e) => {
|
|
8624
8623
|
const t = +e.detail.multiplier;
|
|
@@ -8627,7 +8626,7 @@ let $e = class extends Kt {
|
|
|
8627
8626
|
const t = +e.detail.winChance;
|
|
8628
8627
|
!Number.isNaN(t) && t > 0 && t < 100 ? this.selectedValue = bt.getSelectedValueFromWinChance(t, this.diceDirection) : this.selectedValue = 0;
|
|
8629
8628
|
}, this.diceRollOverToggle = () => {
|
|
8630
|
-
this.diceDirection = this.diceDirection ===
|
|
8629
|
+
this.diceDirection = this.diceDirection === Tt.ABOVE ? Tt.BELOW : Tt.ABOVE, this.selectedValue = bt.getSelectedValueFromRollOver(this.selectedValue);
|
|
8631
8630
|
};
|
|
8632
8631
|
}
|
|
8633
8632
|
get diceApi() {
|
|
@@ -8730,7 +8729,7 @@ let $e = class extends Kt {
|
|
|
8730
8729
|
`;
|
|
8731
8730
|
}
|
|
8732
8731
|
};
|
|
8733
|
-
Ve([
|
|
8732
|
+
Ve([T()], $e.prototype, "diceDirection", 2), Ve([T()], $e.prototype, "selectedValue", 2), Ve([T()], $e.prototype, "isManualPlaying", 2), Ve([T()], $e.prototype, "showDice", 2), Ve([T()], $e.prototype, "isWin", 2), Ve([T()], $e.prototype, "resultValue", 2), Ve([T()], $e.prototype, "history", 2), $e = Ve([B("origami-dice-game")], $e);
|
|
8734
8733
|
const Gs = H`
|
|
8735
8734
|
:host {
|
|
8736
8735
|
display: flex;
|
|
@@ -9189,7 +9188,7 @@ let ne = class extends R {
|
|
|
9189
9188
|
`;
|
|
9190
9189
|
}
|
|
9191
9190
|
};
|
|
9192
|
-
ne.styles = [U, Wn], He([l({ type: Array })], ne.prototype, "selectedTiles", 2), He([l({ type: String })], ne.prototype, "risk", 2), He([l({ type: String })], ne.prototype, "betAmount", 2), He([l({ type: Number })], ne.prototype, "hitCount", 2), He([l({ type: Number })], ne.prototype, "multipliersForSelectedTiles", 2), He([l({ type: Array })], ne.prototype, "resultTiles", 2), He([
|
|
9191
|
+
ne.styles = [U, Wn], He([l({ type: Array })], ne.prototype, "selectedTiles", 2), He([l({ type: String })], ne.prototype, "risk", 2), He([l({ type: String })], ne.prototype, "betAmount", 2), He([l({ type: Number })], ne.prototype, "hitCount", 2), He([l({ type: Number })], ne.prototype, "multipliersForSelectedTiles", 2), He([l({ type: Array })], ne.prototype, "resultTiles", 2), He([T()], ne.prototype, "hoverItemIndex", 2), ne = He([B("origami-keno-content-bottom")], ne);
|
|
9193
9192
|
const Kn = H`
|
|
9194
9193
|
:host {
|
|
9195
9194
|
height: 100%;
|
|
@@ -9228,7 +9227,7 @@ var qn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, Gt = (e, t
|
|
|
9228
9227
|
for (var r, s = o > 1 ? void 0 : o ? Yn(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
9229
9228
|
return o && s && qn(t, i, s), s;
|
|
9230
9229
|
};
|
|
9231
|
-
let
|
|
9230
|
+
let Mt = class extends R {
|
|
9232
9231
|
constructor() {
|
|
9233
9232
|
super(...arguments), this.selectedTiles = [], this.resultTiles = [], this.isPlaying = !1, this.gameOver = !1, this.multipliersForSelectedTiles = 0, this.payout = null, this.gameWinPopupShowing = !1, this.multiplier = 0, this.risk = E.CLASSIC, this.betAmount = "0";
|
|
9234
9233
|
}
|
|
@@ -9272,7 +9271,7 @@ let Tt = class extends R {
|
|
|
9272
9271
|
`;
|
|
9273
9272
|
}
|
|
9274
9273
|
};
|
|
9275
|
-
|
|
9274
|
+
Mt.styles = [U, Kn], Gt([l({ type: Array })], Mt.prototype, "selectedTiles", 2), Gt([l({ type: Array })], Mt.prototype, "resultTiles", 2), Gt([l({ type: Boolean })], Mt.prototype, "isPlaying", 2), Gt([l({ type: Boolean })], Mt.prototype, "gameOver", 2), Gt([l({ type: Number })], Mt.prototype, "multipliersForSelectedTiles", 2), Gt([l({ type: Object })], Mt.prototype, "payout", 2), Gt([l({ type: Boolean })], Mt.prototype, "gameWinPopupShowing", 2), Gt([l({ type: Number })], Mt.prototype, "multiplier", 2), Gt([l({ type: String })], Mt.prototype, "risk", 2), Gt([l({ type: String })], Mt.prototype, "betAmount", 2), Mt = Gt([B("origami-keno-content")], Mt);
|
|
9276
9275
|
class Zs {
|
|
9277
9276
|
constructor(t, i) {
|
|
9278
9277
|
this.authToken = t, this.baseUrl = i;
|
|
@@ -9452,7 +9451,7 @@ let Rt = class extends Kt {
|
|
|
9452
9451
|
`;
|
|
9453
9452
|
}
|
|
9454
9453
|
};
|
|
9455
|
-
Zt([
|
|
9454
|
+
Zt([T()], Rt.prototype, "isManualPlaying", 2), Zt([T()], Rt.prototype, "history", 2), Zt([T()], Rt.prototype, "selectedTiles", 2), Zt([T()], Rt.prototype, "resultTiles", 2), Zt([l({ type: Boolean })], Rt.prototype, "gameWinPopupShowing", 2), Zt([T()], Rt.prototype, "gameOver", 2), Zt([T()], Rt.prototype, "payout", 2), Zt([T()], Rt.prototype, "kenoRisk", 2), Zt([T()], Rt.prototype, "autoselectRunning", 2), Zt([T()], Rt.prototype, "multiplier", 2), Rt = Zt([B("origami-keno-game")], Rt);
|
|
9456
9455
|
const el = H`
|
|
9457
9456
|
:host {
|
|
9458
9457
|
display: flex;
|
|
@@ -9484,7 +9483,7 @@ const el = H`
|
|
|
9484
9483
|
pointer-events: none;
|
|
9485
9484
|
}
|
|
9486
9485
|
`;
|
|
9487
|
-
var il = Object.defineProperty, ol = Object.getOwnPropertyDescriptor,
|
|
9486
|
+
var il = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, Mi = (e, t, i, o) => {
|
|
9488
9487
|
for (var r, s = o > 1 ? void 0 : o ? ol(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
9489
9488
|
return o && s && il(t, i, s), s;
|
|
9490
9489
|
};
|
|
@@ -9527,8 +9526,8 @@ let We = class extends R {
|
|
|
9527
9526
|
`;
|
|
9528
9527
|
}
|
|
9529
9528
|
};
|
|
9530
|
-
We.styles = [U, el],
|
|
9531
|
-
var sl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor,
|
|
9529
|
+
We.styles = [U, el], Mi([l({ type: Boolean })], We.prototype, "inputsDisabled", 2), Mi([l({ type: Boolean })], We.prototype, "isPlaying", 2), Mi([l({ type: String })], We.prototype, "profitOnWin", 2), Mi([l({ type: Boolean })], We.prototype, "betDisabled", 2), Mi([yi({ context: ge, subscribe: !0 })], We.prototype, "gameData", 2), We = Mi([B("origami-limbo-manual")], We);
|
|
9530
|
+
var sl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Ti = (e, t, i, o) => {
|
|
9532
9531
|
for (var r, s = o > 1 ? void 0 : o ? rl(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
9533
9532
|
return o && s && sl(t, i, s), s;
|
|
9534
9533
|
};
|
|
@@ -9549,7 +9548,7 @@ let di = class extends R {
|
|
|
9549
9548
|
`;
|
|
9550
9549
|
}
|
|
9551
9550
|
};
|
|
9552
|
-
|
|
9551
|
+
Ti([l({ type: Boolean })], di.prototype, "inputsDisabled", 2), Ti([l({ type: Boolean })], di.prototype, "autobetStopping", 2), Ti([l({ type: Boolean })], di.prototype, "autobetInProgress", 2), Ti([l({ type: String })], di.prototype, "profitOnWin", 2), Ti([l({ type: Boolean })], di.prototype, "betDisabled", 2), di = Ti([B("origami-limbo-auto")], di);
|
|
9553
9552
|
const al = H`
|
|
9554
9553
|
:host {
|
|
9555
9554
|
width: 100%;
|
|
@@ -9739,7 +9738,7 @@ let le = class extends R {
|
|
|
9739
9738
|
`;
|
|
9740
9739
|
}
|
|
9741
9740
|
};
|
|
9742
|
-
le.styles = [U, nl], ze([l({ type: Number })], le.prototype, "targetMultiplier", 2), ze([l({ type: Boolean })], le.prototype, "disabled", 2), ze([
|
|
9741
|
+
le.styles = [U, nl], ze([l({ type: Number })], le.prototype, "targetMultiplier", 2), ze([l({ type: Boolean })], le.prototype, "disabled", 2), ze([T()], le.prototype, "winChanceInputFocused", 2), ze([T()], le.prototype, "multiplierInputFocused", 2), ze([T()], le.prototype, "winChanceInputValue", 2), ze([T()], le.prototype, "multiplierInputValue", 2), ze([pe("targetMultiplier")], le.prototype, "targetMultiplierChanged", 1), le = ze([B("origami-limbo-content-bottom")], le);
|
|
9743
9742
|
var dl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, je = (e, t, i, o) => {
|
|
9744
9743
|
for (var r, s = o > 1 ? void 0 : o ? ul(t, i) : t, a = e.length - 1; a >= 0; a--) (r = e[a]) && (s = (o ? r(t, i, s) : r(s)) || s);
|
|
9745
9744
|
return o && s && dl(t, i, s), s;
|
|
@@ -9902,7 +9901,7 @@ let Ce = class extends Kt {
|
|
|
9902
9901
|
`;
|
|
9903
9902
|
}
|
|
9904
9903
|
};
|
|
9905
|
-
Ge([
|
|
9904
|
+
Ge([T()], Ce.prototype, "targetMultiplier", 2), Ge([T()], Ce.prototype, "resultMultiplier", 2), Ge([T()], Ce.prototype, "isManualPlaying", 2), Ge([T()], Ce.prototype, "isWin", 2), Ge([T()], Ce.prototype, "history", 2), Ge([T()], Ce.prototype, "betTargetMultiplier", 2), Ge([T()], Ce.prototype, "betId", 2), Ce = Ge([B("origami-limbo-game")], Ce);
|
|
9906
9905
|
const F = class F extends wt {
|
|
9907
9906
|
static setMockSettings(t) {
|
|
9908
9907
|
F.mockSettings = { ...F.mockSettings, ...t }, t.minePositions && (F.minePositions = t.minePositions);
|
|
@@ -10142,7 +10141,7 @@ let Ze = class extends Kt {
|
|
|
10142
10141
|
`;
|
|
10143
10142
|
}
|
|
10144
10143
|
};
|
|
10145
|
-
hi([
|
|
10144
|
+
hi([T()], Ze.prototype, "minesCount", 2), hi([T()], Ze.prototype, "autobetSelectedTiles", 2), hi([T()], Ze.prototype, "minesData", 2), hi([T()], Ze.prototype, "isLoading", 2), hi([pe("manualOrAuto")], Ze.prototype, "onManualOrAutoChange", 1), hi([pe("minesCount")], Ze.prototype, "onMinesCountChange", 1), Ze = hi([B("origami-mines-game")], Ze);
|
|
10146
10145
|
export {
|
|
10147
10146
|
$e as DiceGame,
|
|
10148
10147
|
_t as GameProviderWrapper,
|