import { a as tt, $ as at, S as rt, i as it, s as nt, f as V, b as ot, n as Fe, d as ie, u as N, r as ee, e as ne, p as r, x as ve, g as s, q as D, v as S, t as n, h as lt, j as st, o as dt, y as de, l as ke, m as ze, w as Be, N as xe, P as mt, U as ut, k as Ee, R as ct, K as gt, B as pt, C as yt, D as ft, c as ht, A as bt } from "./PlayerAccountController-DL6fDy4y.js";
import { f as se, s as vt, p as Me } from "./PlayerBonusHistory-DjNIzYiZ.js";
import "./PlayerAccountGamingLimits-Vd5_i5_U.js";
function Ie(a, e) {
  tt(a, e);
}
function wt(a) {
  at.set(a);
}
const Ce = {
  en: {
    titleGamingHistory: "Gaming History",
    return: "Return",
    previous: "Prev",
    next: "Next",
    dateFrom: "From:",
    dateTo: "To:",
    dateFilter: "Filter",
    numberOfResults: "Show:",
    noRecord: "You haven't played any games so far.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Game Name",
    stake: "Stake",
    InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
    InvalidSession: "Error: Session is expired.",
    genericError: "Something went wrong!"
  },
  "zh-hk": {
    titleGamingHistory: "遊戲歷史",
    return: "回來",
    previous: "上一頁",
    next: "下一個",
    dateFrom: "從：",
    dateTo: "至：",
    dateFilter: "篩選",
    numberOfResults: "節目：",
    noRecord: "到目前為止，您還沒有玩任何遊戲。",
    transactionId: "交易編號",
    date: "日期",
    gameName: "遊戲名稱",
    stake: "賭注",
    InternalError: "错误：开始日期与结束日期之间的差距超过180天",
    InvalidSession: "错误：会话已过期。",
    genericError: "出了些问题！"
  },
  fr: {
    titleGamingHistory: "Historique des jeux",
    return: "Revenir",
    previous: "Précedent",
    next: "Suivant",
    dateFrom: "De:",
    dateTo: "A:",
    dateFilter: "Filtre",
    numberOfResults: "Afficher:",
    noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Nom du jeu",
    stake: "Mise",
    InternalError: "Erreur : La différence entre la date de début et la date de fin est supérieure à 180 jours",
    InvalidSession: "Erreur : La session est expirée.",
    genericError: "Quelque chose s'est mal passé !"
  },
  ro: {
    titleGamingHistory: "Istoric jocuri",
    return: "Înapoi la meniu",
    previous: "Înapoi",
    next: "Înainte",
    dateFrom: "De la",
    dateTo: "La",
    dateFilter: "Filtru",
    numberOfResults: "Arată",
    noRecord: "Nu ai niciun istoric de jocuri în acest moment.",
    InternalError: "Eroare: Diferența dintre data de început și data de sfârșit este mai mare de 180 de zile",
    InvalidSession: "Eroare: Sesiunea a expirat.",
    genericError: "Ceva nu a funcționat corect!"
  },
  es: {
    titleGamingHistory: "Historial de apuestas",
    return: "Regresar",
    previous: "Previo",
    next: "Siguiente",
    dateFrom: "Desde:",
    dateTo: "A:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "Aún no ha jugado ningún juego",
    transactionId: "ID de Transacción",
    date: "Fecha",
    gameName: "Nombre del juego",
    stake: "Apostado",
    InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es superior a 180 días",
    InvalidSession: "Error: La sesión ha expirado.",
    genericError: "¡Algo salió mal!"
  },
  pt: {
    titleGamingHistory: "Histórico de jogos",
    return: "Voltar ao menu",
    previous: "Anterior",
    next: "Próximo",
    dateFrom: "A partir de:",
    dateTo: "Para:",
    dateFilter: "Filtro:",
    numberOfResults: "Mostrar:",
    noRecord: "Você não jogou nenhum jogo até agora.",
    InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
    InvalidSession: "Erro: A sessão expirou.",
    genericError: "Algo deu errado!"
  },
  hr: {
    titleGamingHistory: "Povijest igranja",
    return: "Povratak",
    previous: "Prethodno",
    next: "Slijedeće",
    dateFrom: "Od:",
    dateTo: "Do:",
    dateFilter: "Filter",
    numberOfResults: "Prikaži:",
    noRecord: "Do sada niste igrali nijednu igru.",
    transactionId: "ID transakcije",
    date: "Datum",
    gameName: "Naziv igre",
    stake: "Ulog",
    InternalError: "Greška: Razlika između početnog i završnog datuma veća je od 180 dana",
    InvalidSession: "Greška: Sesija je istekla.",
    genericError: "Došlo je do greške!"
  },
  "pt-br": {
    titleGamingHistory: "História do jogo",
    return: "Volte",
    previous: "Anterior",
    next: "Seguindo",
    dateFrom: "De:",
    dateTo: "PARA:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "Ele não jogou até agora.",
    transactionId: "ID da transação",
    date: "Data",
    gameName: "Nome do jogo",
    stake: "Valor da aposta",
    InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
    InvalidSession: "Erro: A sessão expirou.",
    genericError: "Algo deu errado!"
  },
  "es-mx": {
    titleGamingHistory: "Historial de juego",
    return: "Regresar",
    previous: "Prev",
    next: "Siguiente",
    dateFrom: "De:",
    dateTo: "A:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "No ha jugado hasta el momento.",
    transactionId: "ID de transacción",
    date: "Fecha",
    gameName: "Nombre de Juego",
    stake: "Monto de apuesta",
    InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es mayor a 180 días",
    InvalidSession: "Error: La sesión ha expirado.",
    genericError: "¡Algo salió mal!"
  },
  tr: {
    titleGamingHistory: "Oyun Tarihi",
    return: "Geri dönmek",
    previous: "Önceki",
    next: "Sonraki",
    dateFrom: "İtibaren:",
    dateTo: "İle:",
    dateFilter: "Filtre",
    numberOfResults: "Göstermek:",
    noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
    transactionId: "İşlem Kimliği",
    date: "Tarih",
    gameName: "Oyun Adı",
    stake: "Bahis",
    InternalError: "Hata: Başlangıç ​​tarihi ile bitiş tarihi arasındaki fark 180 günden fazla",
    InvalidSession: "Hata: Oturumun süresi doldu.",
    genericError: "Bir şeyler yanlış gitti!"
  },
  "en-us": {
    titleGamingHistory: "Gaming History",
    return: "Return",
    previous: "Prev",
    next: "Next",
    dateFrom: "From:",
    dateTo: "To:",
    dateFilter: "Filter",
    numberOfResults: "Show:",
    noRecord: "You haven't played any games so far.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Game Name",
    stake: "Stake",
    InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
    InvalidSession: "Error: Session is expired.",
    genericError: "Something went wrong!"
  },
  de: {
    titleGamingHistory: "Spielhistorie",
    return: "Zurück",
    previous: "Zurück",
    next: "Weiter",
    dateFrom: "Von:",
    dateTo: "Bis:",
    dateFilter: "Filtern",
    numberOfResults: "Anzeigen:",
    noRecord: "Sie haben bisher keine Spiele gespielt.",
    transactionId: "Transaktions-ID",
    date: "Datum",
    gameName: "Spielname",
    stake: "Einsatz",
    InternalError: "Fehler: Der Unterschied zwischen dem Startdatum und dem Enddatum ist größer als 180 Tage",
    InvalidSession: "Fehler: Die Sitzung ist abgelaufen.",
    genericError: "Etwas ist schief gelaufen!"
  }
};
function Pt(a) {
  ot(a, "svelte-5ec3ad", `.PlayerGamingHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryEmpty{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 10px);padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead th{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount:focus,.PlayerGamingHistoryItemCount :focus-within,.PlayerGamingHistoryItemCount :focus-visible,.PlayerGamingHistoryItemCount :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper span{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterWrapper input{padding:7px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6)}.PlayerGamingHistoryFilterButton{border:none;background:var(--emw--color-primary, #23B04E);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryFilterButton:hover{filter:brightness(0.9)}.PlayerGamingHistoryFilterButton:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper input{width:100px;padding:12px 7px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:0.85em;letter-spacing:0.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:var(--emw--color-gray-50, #F9F8F8)}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table tr:not(:last-child){margin-bottom:0.625em}table tr th,table tr td{border:0;border-radius:var(--emw--border-radius-small, 5px)}table tr th:nth-child(even),table tr td:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
}
function Se(a, e, t) {
  const d = a.slice();
  return d[73] = e[t], d;
}
function Te(a, e, t) {
  const d = a.slice();
  return d[76] = e[t], d;
}
function _t(a) {
  let e, t, d, l, w, f, _, G, b, c, m = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), P, o, T;
  return {
    c() {
      e = s("div"), t = de("svg"), d = de("defs"), l = de("style"), w = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = de("g"), _ = de("g"), G = de("path"), b = D(), c = s("h2"), P = S(m), n(G, "class", "aaa"), n(G, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(G, "transform", "translate(15 15) rotate(180)"), n(_, "transform", "translate(20 158)"), n(f, "transform", "translate(-20 -158)"), n(t, "xmlns", "http://www.w3.org/2000/svg"), n(t, "width", "15"), n(t, "height", "15"), n(t, "viewBox", "0 0 15 15"), n(c, "class", "PlayerGamingHistoryTitleMobile"), n(c, "part", "PlayerGamingHistoryTitleMobile"), n(e, "class", "MenuReturnButton"), n(e, "part", "MenuReturnButton");
    },
    m(M, H) {
      ne(M, e, H), r(e, t), r(t, d), r(d, l), r(l, w), r(t, f), r(f, _), r(_, G), r(e, b), r(e, c), r(c, P), o || (T = ve(
        e,
        "click",
        /*click_handler*/
        a[42]
      ), o = !0);
    },
    p(M, H) {
      H[0] & /*$_*/
      65536 && m !== (m = /*$_*/
      M[16]("titleGamingHistory") + "") && N(P, m);
    },
    d(M) {
      M && ie(e), o = !1, T();
    }
  };
}
function Re(a) {
  let e, t, d = (
    /*$_*/
    a[16]("numberOfResults") + ""
  ), l, w, f, _, G, b = ke(
    /*gameHistoryItems*/
    a[18]
  ), c = [];
  for (let m = 0; m < b.length; m += 1)
    c[m] = Ae(Te(a, b, m));
  return {
    c() {
      e = s("div"), t = s("span"), l = S(d), w = D(), f = s("select");
      for (let m = 0; m < c.length; m += 1)
        c[m].c();
      n(f, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
      a[11] === void 0 && mt(() => (
        /*select_change_handler*/
        a[46].call(f)
      )), n(e, "class", "PlayerGamingItemCountContainer");
    },
    m(m, P) {
      ne(m, e, P), r(e, t), r(t, l), r(e, w), r(e, f);
      for (let o = 0; o < c.length; o += 1)
        c[o] && c[o].m(f, null);
      xe(
        f,
        /*gameHistoryLimit*/
        a[11],
        !0
      ), _ || (G = [
        ve(
          f,
          "change",
          /*select_change_handler*/
          a[46]
        ),
        ve(
          f,
          "change",
          /*change_handler*/
          a[47]
        )
      ], _ = !0);
    },
    p(m, P) {
      if (P[0] & /*$_*/
      65536 && d !== (d = /*$_*/
      m[16]("numberOfResults") + "") && N(l, d), P[0] & /*gameHistoryItems*/
      262144) {
        b = ke(
          /*gameHistoryItems*/
          m[18]
        );
        let o;
        for (o = 0; o < b.length; o += 1) {
          const T = Te(m, b, o);
          c[o] ? c[o].p(T, P) : (c[o] = Ae(T), c[o].c(), c[o].m(f, null));
        }
        for (; o < c.length; o += 1)
          c[o].d(1);
        c.length = b.length;
      }
      P[0] & /*gameHistoryLimit, gameHistoryItems*/
      264192 && xe(
        f,
        /*gameHistoryLimit*/
        m[11]
      );
    },
    d(m) {
      m && ie(e), ze(c, m), _ = !1, Be(G);
    }
  };
}
function Ae(a) {
  let e, t = (
    /*item*/
    a[76] + ""
  ), d;
  return {
    c() {
      e = s("option"), d = S(t), e.__value = /*item*/
      a[76], gt(e, e.__value);
    },
    m(l, w) {
      ne(l, e, w), r(e, d);
    },
    p: Fe,
    d(l) {
      l && ie(e);
    }
  };
}
function Et(a) {
  let e, t = (
    /*$_*/
    a[16]("noRecord") + ""
  ), d;
  return {
    c() {
      e = s("p"), d = S(t), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(l, w) {
      ne(l, e, w), r(e, d);
    },
    p(l, w) {
      w[0] & /*$_*/
      65536 && t !== (t = /*$_*/
      l[16]("noRecord") + "") && N(d, t);
    },
    d(l) {
      l && ie(e);
    }
  };
}
function Ft(a) {
  let e, t;
  return {
    c() {
      e = s("p"), t = S(
        /*errorMessage*/
        a[12]
      ), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(d, l) {
      ne(d, e, l), r(e, t);
    },
    p(d, l) {
      l[0] & /*errorMessage*/
      4096 && N(
        t,
        /*errorMessage*/
        d[12]
      );
    },
    d(d) {
      d && ie(e);
    }
  };
}
function kt(a) {
  let e, t, d, l, w, f = (
    /*$_*/
    a[16]("transactionId") + ""
  ), _, G, b, c = (
    /*$_*/
    a[16]("date") + ""
  ), m, P, o, T = (
    /*$_*/
    a[16]("gameName") + ""
  ), M, H, L, j = (
    /*$_*/
    a[16]("stake") + ""
  ), U, X, Z, J = (
    /*$_*/
    a[16]("return") + ""
  ), E, $, I, Y, z, F, C, B, q, K, u, g = (
    /*$_*/
    a[16]("previous") + ""
  ), ce, re, k, p, y, ge, ye = (
    /*$_*/
    a[16]("next") + ""
  ), fe, oe, le, me, he, be, ue, we, _e, te = ke(
    /*gamingHistoryData*/
    a[15]
  ), O = [];
  for (let h = 0; h < te.length; h += 1)
    O[h] = Ne(Se(a, te, h));
  return {
    c() {
      e = s("div"), t = s("table"), d = s("thead"), l = s("tr"), w = s("th"), _ = S(f), G = D(), b = s("th"), m = S(c), P = D(), o = s("th"), M = S(T), H = D(), L = s("th"), U = S(j), X = D(), Z = s("th"), E = S(J), $ = D(), I = s("tbody");
      for (let h = 0; h < O.length; h += 1)
        O[h].c();
      Y = D(), z = s("div"), F = s("button"), C = de("svg"), B = de("path"), K = D(), u = s("span"), ce = S(g), p = D(), y = s("button"), ge = s("span"), fe = S(ye), oe = D(), le = de("svg"), me = de("path"), n(e, "class", "PlayerGamingHistoryContainer"), n(B, "fill", q = /*previousPage*/
      a[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(B, "class", "a"), n(B, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), n(B, "transform", "translate(19.246 -6.188) rotate(90)"), n(C, "xmlns", "http://www.w3.org/2000/svg"), n(C, "width", "8"), n(C, "height", "13.992"), n(C, "viewBox", "0 0 8 13.992"), n(u, "class", "PlayerPaginationControlsText"), n(F, "class", re = "PlayerPaginationControls " + (/*previousPage*/
      a[8] ? "" : "PlayerPaginationControlsDisabled")), F.disabled = k = /*previousPage*/
      !a[8], n(ge, "class", "PlayerPaginationControlsText"), n(me, "fill", he = /*nextPage*/
      a[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(me, "class", "a"), n(me, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), n(me, "transform", "translate(-11.246 20.179) rotate(-90)"), n(le, "xmlns", "http://www.w3.org/2000/svg"), n(le, "width", "8"), n(le, "height", "13.992"), n(le, "viewBox", "0 0 8 13.992"), n(y, "class", be = "PlayerPaginationControls " + (/*nextPage*/
      a[7] ? "" : "PlayerPaginationControlsDisabled")), y.disabled = ue = /*nextPage*/
      !a[7], n(z, "class", "PlayerPaginationControlsArea");
    },
    m(h, R) {
      ne(h, e, R), r(e, t), r(t, d), r(d, l), r(l, w), r(w, _), r(l, G), r(l, b), r(b, m), r(l, P), r(l, o), r(o, M), r(l, H), r(l, L), r(L, U), r(l, X), r(l, Z), r(Z, E), r(t, $), r(t, I);
      for (let A = 0; A < O.length; A += 1)
        O[A] && O[A].m(I, null);
      ne(h, Y, R), ne(h, z, R), r(z, F), r(F, C), r(C, B), r(F, K), r(F, u), r(u, ce), r(z, p), r(z, y), r(y, ge), r(ge, fe), r(y, oe), r(y, le), r(le, me), we || (_e = [
        ve(
          F,
          "click",
          /*click_handler_2*/
          a[48]
        ),
        ve(
          y,
          "click",
          /*click_handler_3*/
          a[49]
        )
      ], we = !0);
    },
    p(h, R) {
      if (R[0] & /*$_*/
      65536 && f !== (f = /*$_*/
      h[16]("transactionId") + "") && N(_, f), R[0] & /*$_*/
      65536 && c !== (c = /*$_*/
      h[16]("date") + "") && N(m, c), R[0] & /*$_*/
      65536 && T !== (T = /*$_*/
      h[16]("gameName") + "") && N(M, T), R[0] & /*$_*/
      65536 && j !== (j = /*$_*/
      h[16]("stake") + "") && N(U, j), R[0] & /*$_*/
      65536 && J !== (J = /*$_*/
      h[16]("return") + "") && N(E, J), R[0] & /*$_, renderAmount, gamingHistoryData, formatDate, getTransactionId*/
      27361280) {
        te = ke(
          /*gamingHistoryData*/
          h[15]
        );
        let A;
        for (A = 0; A < te.length; A += 1) {
          const Pe = Se(h, te, A);
          O[A] ? O[A].p(Pe, R) : (O[A] = Ne(Pe), O[A].c(), O[A].m(I, null));
        }
        for (; A < O.length; A += 1)
          O[A].d(1);
        O.length = te.length;
      }
      R[0] & /*previousPage*/
      256 && q !== (q = /*previousPage*/
      h[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(B, "fill", q), R[0] & /*$_*/
      65536 && g !== (g = /*$_*/
      h[16]("previous") + "") && N(ce, g), R[0] & /*previousPage*/
      256 && re !== (re = "PlayerPaginationControls " + (/*previousPage*/
      h[8] ? "" : "PlayerPaginationControlsDisabled")) && n(F, "class", re), R[0] & /*previousPage*/
      256 && k !== (k = /*previousPage*/
      !h[8]) && (F.disabled = k), R[0] & /*$_*/
      65536 && ye !== (ye = /*$_*/
      h[16]("next") + "") && N(fe, ye), R[0] & /*nextPage*/
      128 && he !== (he = /*nextPage*/
      h[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(me, "fill", he), R[0] & /*nextPage*/
      128 && be !== (be = "PlayerPaginationControls " + (/*nextPage*/
      h[7] ? "" : "PlayerPaginationControlsDisabled")) && n(y, "class", be), R[0] & /*nextPage*/
      128 && ue !== (ue = /*nextPage*/
      !h[7]) && (y.disabled = ue);
    },
    d(h) {
      h && (ie(e), ie(Y), ie(z)), ze(O, h), we = !1, Be(_e);
    }
  };
}
function Gt(a) {
  let e;
  return {
    c() {
      e = s("div"), n(e, "class", "DataLoader");
    },
    m(t, d) {
      ne(t, e, d);
    },
    p: Fe,
    d(t) {
      t && ie(e);
    }
  };
}
function Ne(a) {
  let e, t, d, l = (
    /*getTransactionId*/
    a[21](
      /*gamingHistoryDataset*/
      a[73]
    ) + ""
  ), w, f, _, G, b, c, m = (
    /*formatDate*/
    a[23](
      /*gamingHistoryDataset*/
      a[73]
    ) + ""
  ), P, o, T, M, H, L = (
    /*gamingHistoryDataset*/
    (a[73].gameModel?.name ?? "-") + ""
  ), j, U, X, Z, J, E = (
    /*renderAmount*/
    a[24](
      /*gamingHistoryDataset*/
      a[73].stakeAmount,
      /*gamingHistoryDataset*/
      a[73].currencyCode
    ) + ""
  ), $, I, Y, z, F, C = (
    /*renderAmount*/
    a[24](
      /*gamingHistoryDataset*/
      a[73].returnAmount,
      /*gamingHistoryDataset*/
      a[73].currencyCode
    ) + ""
  ), B, q, K;
  return {
    c() {
      e = s("tr"), t = s("td"), d = s("span"), w = S(l), G = D(), b = s("td"), c = s("span"), P = S(m), T = D(), M = s("td"), H = s("span"), j = S(L), X = D(), Z = s("td"), J = s("span"), $ = S(E), Y = D(), z = s("td"), F = s("span"), B = S(C), K = D(), n(t, "data-label", f = /*$_*/
      a[16]("transactionId")), n(t, "title", _ = /*getTransactionId*/
      a[21](
        /*gamingHistoryDataset*/
        a[73]
      )), n(b, "data-label", o = /*$_*/
      a[16]("date")), n(M, "data-label", U = /*$_*/
      a[16]("gameName")), n(Z, "data-label", I = /*$_*/
      a[16]("stake")), n(z, "data-label", q = /*$_*/
      a[16]("return"));
    },
    m(u, g) {
      ne(u, e, g), r(e, t), r(t, d), r(d, w), r(e, G), r(e, b), r(b, c), r(c, P), r(e, T), r(e, M), r(M, H), r(H, j), r(e, X), r(e, Z), r(Z, J), r(J, $), r(e, Y), r(e, z), r(z, F), r(F, B), r(e, K);
    },
    p(u, g) {
      g[0] & /*gamingHistoryData*/
      32768 && l !== (l = /*getTransactionId*/
      u[21](
        /*gamingHistoryDataset*/
        u[73]
      ) + "") && N(w, l), g[0] & /*$_*/
      65536 && f !== (f = /*$_*/
      u[16]("transactionId")) && n(t, "data-label", f), g[0] & /*gamingHistoryData*/
      32768 && _ !== (_ = /*getTransactionId*/
      u[21](
        /*gamingHistoryDataset*/
        u[73]
      )) && n(t, "title", _), g[0] & /*gamingHistoryData*/
      32768 && m !== (m = /*formatDate*/
      u[23](
        /*gamingHistoryDataset*/
        u[73]
      ) + "") && N(P, m), g[0] & /*$_*/
      65536 && o !== (o = /*$_*/
      u[16]("date")) && n(b, "data-label", o), g[0] & /*gamingHistoryData*/
      32768 && L !== (L = /*gamingHistoryDataset*/
      (u[73].gameModel?.name ?? "-") + "") && N(j, L), g[0] & /*$_*/
      65536 && U !== (U = /*$_*/
      u[16]("gameName")) && n(M, "data-label", U), g[0] & /*gamingHistoryData*/
      32768 && E !== (E = /*renderAmount*/
      u[24](
        /*gamingHistoryDataset*/
        u[73].stakeAmount,
        /*gamingHistoryDataset*/
        u[73].currencyCode
      ) + "") && N($, E), g[0] & /*$_*/
      65536 && I !== (I = /*$_*/
      u[16]("stake")) && n(Z, "data-label", I), g[0] & /*gamingHistoryData*/
      32768 && C !== (C = /*renderAmount*/
      u[24](
        /*gamingHistoryDataset*/
        u[73].returnAmount,
        /*gamingHistoryDataset*/
        u[73].currencyCode
      ) + "") && N(B, C), g[0] & /*$_*/
      65536 && q !== (q = /*$_*/
      u[16]("return")) && n(z, "data-label", q);
    },
    d(u) {
      u && ie(e);
    }
  };
}
function Ht(a) {
  let e, t, d, l, w = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), f, _, G, b, c, m, P, o = (
    /*$_*/
    a[16]("dateFrom") + ""
  ), T, M, H, L, j, U, X = (
    /*$_*/
    a[16]("dateTo") + ""
  ), Z, J, E, $, I, Y = (
    /*$_*/
    a[16]("dateFilter") + ""
  ), z, F, C, B, q, K, u = (
    /*isMobile*/
    a[19] && _t(a)
  ), g = !/*mediaQueryMedim*/
  a[14].matches && Re(a);
  function ce(p, y) {
    return (
      /*isLoading*/
      p[13] ? Gt : (
        /*gamingHistoryData*/
        p[15].length > 0 ? kt : (
          /*errorMessage*/
          p[12].length > 0 ? Ft : Et
        )
      )
    );
  }
  let re = ce(a), k = re(a);
  return {
    c() {
      e = s("div"), t = s("div"), u && u.c(), d = D(), l = s("h2"), f = S(w), _ = D(), G = s("div"), b = s("div"), c = s("div"), m = s("div"), P = s("span"), T = S(o), M = D(), H = s("vaadin-date-picker"), L = D(), j = s("div"), U = s("span"), Z = S(X), J = D(), E = s("vaadin-date-picker"), $ = D(), I = s("button"), z = S(Y), C = D(), g && g.c(), B = D(), k.c(), n(l, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryTitleNone" : "")), ee(
        H,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        H,
        "placeholder",
        /*startDate*/
        a[0]
      ), ee(
        H,
        "value",
        /*startDate*/
        a[0]
      ), ee(H, "class", "VaadinDatePicker"), n(m, "class", "PlayerGamingDateWrapper"), ee(
        E,
        "min",
        /*gamingCalendarEndDateMin*/
        a[5]
      ), ee(
        E,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        E,
        "placeholder",
        /*endDate*/
        a[1]
      ), ee(
        E,
        "value",
        /*endDate*/
        a[1]
      ), ee(E, "class", "VaadinDatePicker"), n(j, "class", "PlayerGamingDateWrapper"), n(c, "class", "PlayerGamingDateContainer"), n(I, "class", "PlayerGamingHistoryFilterButton"), I.disabled = F = !/*submitEnable*/
      a[10], n(b, "class", "PlayerGamingHistoryFilterWrapper"), n(G, "class", "PlayerGamingHistoryTopSection"), n(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryWrapperMobile" : ""));
    },
    m(p, y) {
      ne(p, e, y), r(e, t), u && u.m(t, null), r(t, d), r(t, l), r(l, f), r(t, _), r(t, G), r(G, b), r(b, c), r(c, m), r(m, P), r(P, T), r(m, M), r(m, H), a[43](H), r(c, L), r(c, j), r(j, U), r(U, Z), r(j, J), r(j, E), a[44](E), r(b, $), r(b, I), r(I, z), r(b, C), g && g.m(b, null), r(t, B), k.m(t, null), a[50](t), a[51](e), q || (K = ve(
        I,
        "click",
        /*click_handler_1*/
        a[45]
      ), q = !0);
    },
    p(p, y) {
      /*isMobile*/
      p[19] && u.p(p, y), y[0] & /*$_*/
      65536 && w !== (w = /*$_*/
      p[16]("titleGamingHistory") + "") && N(f, w), y[0] & /*$_*/
      65536 && o !== (o = /*$_*/
      p[16]("dateFrom") + "") && N(T, o), y[0] & /*startDate*/
      1 && ee(
        H,
        "placeholder",
        /*startDate*/
        p[0]
      ), y[0] & /*startDate*/
      1 && ee(
        H,
        "value",
        /*startDate*/
        p[0]
      ), y[0] & /*$_*/
      65536 && X !== (X = /*$_*/
      p[16]("dateTo") + "") && N(Z, X), y[0] & /*gamingCalendarEndDateMin*/
      32 && ee(
        E,
        "min",
        /*gamingCalendarEndDateMin*/
        p[5]
      ), y[0] & /*endDate*/
      2 && ee(
        E,
        "placeholder",
        /*endDate*/
        p[1]
      ), y[0] & /*endDate*/
      2 && ee(
        E,
        "value",
        /*endDate*/
        p[1]
      ), y[0] & /*$_*/
      65536 && Y !== (Y = /*$_*/
      p[16]("dateFilter") + "") && N(z, Y), y[0] & /*submitEnable*/
      1024 && F !== (F = !/*submitEnable*/
      p[10]) && (I.disabled = F), /*mediaQueryMedim*/
      p[14].matches ? g && (g.d(1), g = null) : g ? g.p(p, y) : (g = Re(p), g.c(), g.m(b, null)), re === (re = ce(p)) && k ? k.p(p, y) : (k.d(1), k = re(p), k && (k.c(), k.m(t, null)));
    },
    i: Fe,
    o: Fe,
    d(p) {
      p && ie(e), u && u.d(), a[43](null), a[44](null), g && g.d(), k.d(), a[50](null), a[51](null), q = !1, K();
    }
  };
}
let je = "0";
function Dt(a, e, t) {
  let d;
  lt(a, bt, (i) => t(16, d = i));
  let { endpoint: l = "" } = e, { playerid: w = "" } = e, { session: f = "" } = e, { lang: _ = "en" } = e, { clientstyling: G = "" } = e, { clientstylingurl: b = "" } = e, { mbsource: c } = e, { translationurl: m = "" } = e, { gmversion: P = "" } = e, { dateformat: o = "dd-MM-yyyy" } = e, { amountfallbacktext: T = "-" } = e, { transactionidusestransid: M = "false" } = e, { currencylocale: H = "" } = e, { currencydisplay: L = "code" } = e, { maximumfractiondigits: j = "2" } = e, { minimumfractiondigits: U = "0" } = e, { transactionapiversion: X = "1" } = e;
  const Z = se(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
  let J = "", E = "", $ = "", I = "", Y, z, F = se(vt(/* @__PURE__ */ new Date(), 3), `${o || "yyyy-MM-dd"}`), C = se(/* @__PURE__ */ new Date(), `${o || "yyyy-MM-dd"}`), B = !0, q = ["5", "10", "25", "50"], K = "5", u = "", g = !1, ce = window.navigator.userAgent, re = st(ce) !== "PC", k, p, y, ge;
  const ye = () => {
    fetch(m).then((v) => v.json()).then((v) => {
      Object.keys(v).forEach((W) => {
        Ie(W, v[W]);
      });
    }).catch((v) => {
      console.log(v);
    });
  };
  Object.keys(Ce).forEach((i) => {
    Ie(i, Ce[i]);
  }), window.matchMedia("(min-width: 768px)");
  let fe = window.matchMedia("(max-width: 1280px)"), oe = [];
  const le = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: re
      },
      window.location.href
    );
  }, me = () => {
    t(14, fe = window.matchMedia("(max-width: 1280px)"));
  }, he = (i) => {
    const v = /* @__PURE__ */ new Map();
    return i.forEach((W) => {
      const Q = W.transType === "1" ? "stakeAmount" : "returnAmount", pe = v.get(W.roundId) ?? W;
      v.set(W.roundId, {
        ...pe,
        [Q]: W.totalAmount
      });
    }), Array.from(v.values()).slice(0, Number(K));
  }, be = (i) => M === "true" ? i.transId : i.roundId, ue = (i) => {
    const v = Me(i, `${o || "yyyy-MM-dd"}`, /* @__PURE__ */ new Date());
    return se(v, "yyyy-MM-dd");
  }, we = (i, v, W) => {
    let Q = new URL(i);
    t(15, oe = []), t(12, u = "");
    let pe = {
      method: "GET",
      headers: { "X-SessionID": f }
    };
    v || (Q.searchParams.append("offset", String(+je * 2)), Q.searchParams.append("limit", String(+K * 2))), W && (Q.searchParams.append("startDate", ue(F)), Q.searchParams.append("endDate", ue(C))), t(13, g = !0), fetch(Q.href, pe).then((x) => x.json()).then(
      (x) => {
        if (!x.error)
          t(15, oe = x.transactions), t(15, oe = he(oe)), t(7, $ = x.pagination.next), t(8, I = x.pagination.previous);
        else {
          let ae = x.error.split(":");
          t(12, u = ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]), x.thirdPartyResponse && t(12, u = d(`${x.thirdPartyResponse.errorCode}`) || ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]);
        }
        t(13, g = !1);
      },
      (x) => {
        t(13, g = !1), console.error(x);
      }
    );
  }, _e = (i, v, W) => {
    let Q = new URL(i);
    t(15, oe = []), t(12, u = "");
    let pe = {
      method: "GET",
      headers: { "X-SessionID": f }
    };
    v || (Q.searchParams.append("offset", je), Q.searchParams.append("limit", K)), W && (Q.searchParams.append("startDate", ue(F)), Q.searchParams.append("endDate", ue(C))), t(13, g = !0), fetch(Q.href, pe).then((x) => x.json()).then(
      (x) => {
        if (!x.error)
          t(15, oe = x.transactions), t(7, $ = x.pagination.next), t(8, I = x.pagination.previous);
        else {
          let ae = x.error.split(":");
          t(12, u = ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]), x.thirdPartyResponse && t(12, u = d(`${x.thirdPartyResponse.errorCode}`) || ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]);
        }
        t(13, g = !1);
      },
      (x) => {
        t(13, g = !1), console.error(x);
      }
    );
  }, te = (i, v, W) => {
    switch (P) {
      case "gm16":
        we(i, v, W);
        break;
      default:
        _e(i, v, W);
        break;
    }
    window.postMessage({ type: "ScrollToTop" }, window.location.href);
  }, O = () => {
    wt(_), t(6, E = P === "gm16" ? `${l}/v${X}/player/${w}/transactions/wagering?type=Casino` : `${l}/v1/player/${w}/bets`), te(E, !1, !0);
  }, h = (i) => {
    if (i.data)
      switch (i.data.type) {
      }
  }, R = () => {
    const i = new Date(F), v = new Date(C);
    i.getTime() > v.getTime() ? t(10, B = !1) : t(10, B = !0);
  }, A = (i) => {
    t(0, F = se(new Date(i.target.value), `${o || "yyyy-MM-dd"}`)), t(5, J = se(new Date(i.target.value), "yyyy-MM-dd"));
  }, Pe = (i) => {
    t(1, C = se(new Date(i.target.value), `${o || "yyyy-MM-dd"}`));
  }, We = () => {
    k.addEventListener("change", A, !1), p.addEventListener("change", Pe, !1);
  }, Le = (i) => P === "gm16" ? se(new Date(i.ins), `${o || "d/M/yyyy"} - h:mm a`) : se(new Date(i.roundStartDate), `${o || "d/M/yyyy"} - h:mm a`), Ge = (i) => {
    const { year: v, month: W, day: Q } = i, pe = new Date(v, W, Q);
    return se(pe, o || "yyyy-MM-dd");
  }, He = (i) => {
    const v = Me(i, o || "yyyy-MM-dd", /* @__PURE__ */ new Date());
    return {
      year: v.getFullYear(),
      month: v.getMonth(),
      day: v.getDate()
    };
  }, De = (i, v) => i === "" || isNaN(Number(i)) ? v : Number(i), Oe = (i) => {
    let v = "code";
    (L === "code" || L === "symbol") && (v = L), ge = new Intl.NumberFormat(
      H || _,
      {
        style: "currency",
        currencyDisplay: v,
        currency: i,
        useGrouping: !0,
        maximumFractionDigits: De(j, 2),
        minimumFractionDigits: De(U, 0)
      }
    );
  }, Ve = (i, v) => ut(i) ? (ge || Oe(v), ge.format(Number.parseFloat(i))) : T;
  dt(() => (window.addEventListener("message", h, !1), window.addEventListener("resize", me, !1), t(
    2,
    k.i18n = {
      ...k.i18n,
      formatDate: Ge,
      parseDate: He
    },
    k
  ), t(
    3,
    p.i18n = {
      ...p.i18n,
      formatDate: Ge,
      parseDate: He
    },
    p
  ), () => {
    k.removeEventListener("change", A), p.removeEventListener("change", Pe), window.removeEventListener("message", h), window.removeEventListener("resize", h);
  }));
  const Ue = () => le();
  function qe(i) {
    Ee[i ? "unshift" : "push"](() => {
      k = i, t(2, k);
    });
  }
  function Ze(i) {
    Ee[i ? "unshift" : "push"](() => {
      p = i, t(3, p);
    });
  }
  const Ye = () => te(E, !1, !0);
  function Ke() {
    K = ct(this), t(11, K), t(18, q);
  }
  const Qe = () => te(E, !1, !0), Xe = () => te(I, !0, !1), Je = () => te($, !0, !1);
  function $e(i) {
    Ee[i ? "unshift" : "push"](() => {
      Y = i, t(9, Y);
    });
  }
  function et(i) {
    Ee[i ? "unshift" : "push"](() => {
      y = i, t(4, y);
    });
  }
  return a.$$set = (i) => {
    "endpoint" in i && t(25, l = i.endpoint), "playerid" in i && t(26, w = i.playerid), "session" in i && t(27, f = i.session), "lang" in i && t(28, _ = i.lang), "clientstyling" in i && t(29, G = i.clientstyling), "clientstylingurl" in i && t(30, b = i.clientstylingurl), "mbsource" in i && t(31, c = i.mbsource), "translationurl" in i && t(32, m = i.translationurl), "gmversion" in i && t(33, P = i.gmversion), "dateformat" in i && t(34, o = i.dateformat), "amountfallbacktext" in i && t(35, T = i.amountfallbacktext), "transactionidusestransid" in i && t(36, M = i.transactionidusestransid), "currencylocale" in i && t(37, H = i.currencylocale), "currencydisplay" in i && t(38, L = i.currencydisplay), "maximumfractiondigits" in i && t(39, j = i.maximumfractiondigits), "minimumfractiondigits" in i && t(40, U = i.minimumfractiondigits), "transactionapiversion" in i && t(41, X = i.transactionapiversion);
  }, a.$$.update = () => {
    a.$$.dirty[0] & /*startCalendar, endCalendar*/
    12 && k && p && We(), a.$$.dirty[0] & /*startDate, endDate*/
    3 && F && C && R(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
    503316480 && f && w && l && _ && O(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    536870928 && G && y && pt(y, G), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    1073741840 && b && y && yt(y, b), a.$$.dirty[0] & /*customStylingContainer*/
    16 | a.$$.dirty[1] & /*mbsource*/
    1 && c && y && ft(y, `${c}.Style`, z), a.$$.dirty[1] & /*translationurl*/
    2 && m && ye();
  }, [
    F,
    C,
    k,
    p,
    y,
    J,
    E,
    $,
    I,
    Y,
    B,
    K,
    u,
    g,
    fe,
    oe,
    d,
    Z,
    q,
    re,
    le,
    be,
    te,
    Le,
    Ve,
    l,
    w,
    f,
    _,
    G,
    b,
    c,
    m,
    P,
    o,
    T,
    M,
    H,
    L,
    j,
    U,
    X,
    Ue,
    qe,
    Ze,
    Ye,
    Ke,
    Qe,
    Xe,
    Je,
    $e,
    et
  ];
}
class xt extends rt {
  constructor(e) {
    super(), it(
      this,
      e,
      Dt,
      Ht,
      nt,
      {
        endpoint: 25,
        playerid: 26,
        session: 27,
        lang: 28,
        clientstyling: 29,
        clientstylingurl: 30,
        mbsource: 31,
        translationurl: 32,
        gmversion: 33,
        dateformat: 34,
        amountfallbacktext: 35,
        transactionidusestransid: 36,
        currencylocale: 37,
        currencydisplay: 38,
        maximumfractiondigits: 39,
        minimumfractiondigits: 40,
        transactionapiversion: 41
      },
      Pt,
      [-1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[25];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), V();
  }
  get playerid() {
    return this.$$.ctx[26];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), V();
  }
  get session() {
    return this.$$.ctx[27];
  }
  set session(e) {
    this.$$set({ session: e }), V();
  }
  get lang() {
    return this.$$.ctx[28];
  }
  set lang(e) {
    this.$$set({ lang: e }), V();
  }
  get clientstyling() {
    return this.$$.ctx[29];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), V();
  }
  get clientstylingurl() {
    return this.$$.ctx[30];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), V();
  }
  get mbsource() {
    return this.$$.ctx[31];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), V();
  }
  get translationurl() {
    return this.$$.ctx[32];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), V();
  }
  get gmversion() {
    return this.$$.ctx[33];
  }
  set gmversion(e) {
    this.$$set({ gmversion: e }), V();
  }
  get dateformat() {
    return this.$$.ctx[34];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), V();
  }
  get amountfallbacktext() {
    return this.$$.ctx[35];
  }
  set amountfallbacktext(e) {
    this.$$set({ amountfallbacktext: e }), V();
  }
  get transactionidusestransid() {
    return this.$$.ctx[36];
  }
  set transactionidusestransid(e) {
    this.$$set({ transactionidusestransid: e }), V();
  }
  get currencylocale() {
    return this.$$.ctx[37];
  }
  set currencylocale(e) {
    this.$$set({ currencylocale: e }), V();
  }
  get currencydisplay() {
    return this.$$.ctx[38];
  }
  set currencydisplay(e) {
    this.$$set({ currencydisplay: e }), V();
  }
  get maximumfractiondigits() {
    return this.$$.ctx[39];
  }
  set maximumfractiondigits(e) {
    this.$$set({ maximumfractiondigits: e }), V();
  }
  get minimumfractiondigits() {
    return this.$$.ctx[40];
  }
  set minimumfractiondigits(e) {
    this.$$set({ minimumfractiondigits: e }), V();
  }
  get transactionapiversion() {
    return this.$$.ctx[41];
  }
  set transactionapiversion(e) {
    this.$$set({ transactionapiversion: e }), V();
  }
}
ht(xt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {}, dateformat: {}, amountfallbacktext: {}, transactionidusestransid: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, transactionapiversion: {} }, [], [], !0);
export {
  xt as default
};
