import { c as Ke, b as $e, S as et, D as tt, R as at, v as K, f as rt, K as Fe, r as oe, Z as j, Y as ee, F as se, e as r, J as we, s, a1 as x, a4 as C, g as n, k as it, a as nt, y as lt, N as ot, a3 as me, u as ke, q as Ne, Q as ze, T as De, d as st, H as dt, h as Ee, U as mt, _ as ut, V as ct, W as gt, X as pt, n as yt } from "./PlayerAccountControllerNd-NUeaPDxp.js";
import { f as de, s as ft, p as xe } from "./PlayerBonusHistory-DjlXXJoh.js";
import "../lazy/player-account-gaming-limits-info-card-DEA1ZjWG.js";
function Me(a, e) {
  Ke(a, e);
}
function ht(a) {
  $e.set(a);
}
const Ie = {
  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 bt(a) {
  rt(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 Ce(a, e, t) {
  const d = a.slice();
  return d[70] = e[t], d;
}
function Se(a, e, t) {
  const d = a.slice();
  return d[73] = e[t], d;
}
function wt(a) {
  let e, t, d, o, w, g, _, H, y, u, m = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), P, l, S;
  return {
    c() {
      e = s("div"), t = me("svg"), d = me("defs"), o = me("style"), w = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), g = me("g"), _ = me("g"), H = me("path"), y = x(), u = s("h2"), P = C(m), n(H, "class", "aaa"), n(H, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(H, "transform", "translate(15 15) rotate(180)"), n(_, "transform", "translate(20 158)"), n(g, "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(u, "class", "PlayerGamingHistoryTitleMobile"), n(u, "part", "PlayerGamingHistoryTitleMobile"), n(e, "class", "MenuReturnButton"), n(e, "part", "MenuReturnButton");
    },
    m(I, E) {
      se(I, e, E), r(e, t), r(t, d), r(d, o), r(o, w), r(t, g), r(g, _), r(_, H), r(e, y), r(e, u), r(u, P), l || (S = we(
        e,
        "click",
        /*click_handler*/
        a[39]
      ), l = !0);
    },
    p(I, E) {
      E[0] & /*$_*/
      65536 && m !== (m = /*$_*/
      I[16]("titleGamingHistory") + "") && j(P, m);
    },
    d(I) {
      I && oe(e), l = !1, S();
    }
  };
}
function Te(a) {
  let e, t, d = (
    /*$_*/
    a[16]("numberOfResults") + ""
  ), o, w, g, _, H, y = ke(
    /*gameHistoryItems*/
    a[18]
  ), u = [];
  for (let m = 0; m < y.length; m += 1)
    u[m] = Re(Se(a, y, m));
  return {
    c() {
      e = s("div"), t = s("span"), o = C(d), w = x(), g = s("select");
      for (let m = 0; m < u.length; m += 1)
        u[m].c();
      n(g, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
      a[11] === void 0 && st(() => (
        /*select_change_handler*/
        a[43].call(g)
      )), n(e, "class", "PlayerGamingItemCountContainer");
    },
    m(m, P) {
      se(m, e, P), r(e, t), r(t, o), r(e, w), r(e, g);
      for (let l = 0; l < u.length; l += 1)
        u[l] && u[l].m(g, null);
      De(
        g,
        /*gameHistoryLimit*/
        a[11],
        !0
      ), _ || (H = [
        we(
          g,
          "change",
          /*select_change_handler*/
          a[43]
        ),
        we(
          g,
          "change",
          /*change_handler*/
          a[44]
        )
      ], _ = !0);
    },
    p(m, P) {
      if (P[0] & /*$_*/
      65536 && d !== (d = /*$_*/
      m[16]("numberOfResults") + "") && j(o, d), P[0] & /*gameHistoryItems*/
      262144) {
        y = ke(
          /*gameHistoryItems*/
          m[18]
        );
        let l;
        for (l = 0; l < y.length; l += 1) {
          const S = Se(m, y, l);
          u[l] ? u[l].p(S, P) : (u[l] = Re(S), u[l].c(), u[l].m(g, null));
        }
        for (; l < u.length; l += 1)
          u[l].d(1);
        u.length = y.length;
      }
      P[0] & /*gameHistoryLimit, gameHistoryItems*/
      264192 && De(
        g,
        /*gameHistoryLimit*/
        m[11]
      );
    },
    d(m) {
      m && oe(e), Ne(u, m), _ = !1, ze(H);
    }
  };
}
function Re(a) {
  let e, t = (
    /*item*/
    a[73] + ""
  ), d;
  return {
    c() {
      e = s("option"), d = C(t), e.__value = /*item*/
      a[73], ut(e, e.__value);
    },
    m(o, w) {
      se(o, e, w), r(e, d);
    },
    p: Fe,
    d(o) {
      o && oe(e);
    }
  };
}
function vt(a) {
  let e, t = (
    /*$_*/
    a[16]("noRecord") + ""
  ), d;
  return {
    c() {
      e = s("p"), d = C(t), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(o, w) {
      se(o, e, w), r(e, d);
    },
    p(o, w) {
      w[0] & /*$_*/
      65536 && t !== (t = /*$_*/
      o[16]("noRecord") + "") && j(d, t);
    },
    d(o) {
      o && oe(e);
    }
  };
}
function Pt(a) {
  let e, t;
  return {
    c() {
      e = s("p"), t = C(
        /*errorMessage*/
        a[12]
      ), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(d, o) {
      se(d, e, o), r(e, t);
    },
    p(d, o) {
      o[0] & /*errorMessage*/
      4096 && j(
        t,
        /*errorMessage*/
        d[12]
      );
    },
    d(d) {
      d && oe(e);
    }
  };
}
function _t(a) {
  let e, t, d, o, w, g = (
    /*$_*/
    a[16]("transactionId") + ""
  ), _, H, y, u = (
    /*$_*/
    a[16]("date") + ""
  ), m, P, l, S = (
    /*$_*/
    a[16]("gameName") + ""
  ), I, E, J, N = (
    /*$_*/
    a[16]("stake") + ""
  ), $, te, z, q = (
    /*$_*/
    a[16]("return") + ""
  ), k, ae, W, V, D, M, U, A, T, Y, p, c = (
    /*$_*/
    a[16]("previous") + ""
  ), Q, B, G, b, v, pe, ie = (
    /*$_*/
    a[16]("next") + ""
  ), ye, _e, ue, ne, fe, he, le, ve, be, ce = ke(
    /*gamingHistoryData*/
    a[15]
  ), Z = [];
  for (let f = 0; f < ce.length; f += 1)
    Z[f] = Ae(Ce(a, ce, f));
  return {
    c() {
      e = s("div"), t = s("table"), d = s("thead"), o = s("tr"), w = s("th"), _ = C(g), H = x(), y = s("th"), m = C(u), P = x(), l = s("th"), I = C(S), E = x(), J = s("th"), $ = C(N), te = x(), z = s("th"), k = C(q), ae = x(), W = s("tbody");
      for (let f = 0; f < Z.length; f += 1)
        Z[f].c();
      V = x(), D = s("div"), M = s("button"), U = me("svg"), A = me("path"), Y = x(), p = s("span"), Q = C(c), b = x(), v = s("button"), pe = s("span"), ye = C(ie), _e = x(), ue = me("svg"), ne = me("path"), n(e, "class", "PlayerGamingHistoryContainer"), n(A, "fill", T = /*previousPage*/
      a[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(A, "class", "a"), n(A, "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(A, "transform", "translate(19.246 -6.188) rotate(90)"), n(U, "xmlns", "http://www.w3.org/2000/svg"), n(U, "width", "8"), n(U, "height", "13.992"), n(U, "viewBox", "0 0 8 13.992"), n(p, "class", "PlayerPaginationControlsText"), n(M, "class", B = "PlayerPaginationControls " + (/*previousPage*/
      a[8] ? "" : "PlayerPaginationControlsDisabled")), M.disabled = G = /*previousPage*/
      !a[8], n(pe, "class", "PlayerPaginationControlsText"), n(ne, "fill", fe = /*nextPage*/
      a[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(ne, "class", "a"), n(ne, "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(ne, "transform", "translate(-11.246 20.179) rotate(-90)"), n(ue, "xmlns", "http://www.w3.org/2000/svg"), n(ue, "width", "8"), n(ue, "height", "13.992"), n(ue, "viewBox", "0 0 8 13.992"), n(v, "class", he = "PlayerPaginationControls " + (/*nextPage*/
      a[7] ? "" : "PlayerPaginationControlsDisabled")), v.disabled = le = /*nextPage*/
      !a[7], n(D, "class", "PlayerPaginationControlsArea");
    },
    m(f, R) {
      se(f, e, R), r(e, t), r(t, d), r(d, o), r(o, w), r(w, _), r(o, H), r(o, y), r(y, m), r(o, P), r(o, l), r(l, I), r(o, E), r(o, J), r(J, $), r(o, te), r(o, z), r(z, k), r(t, ae), r(t, W);
      for (let L = 0; L < Z.length; L += 1)
        Z[L] && Z[L].m(W, null);
      se(f, V, R), se(f, D, R), r(D, M), r(M, U), r(U, A), r(M, Y), r(M, p), r(p, Q), r(D, b), r(D, v), r(v, pe), r(pe, ye), r(v, _e), r(v, ue), r(ue, ne), ve || (be = [
        we(
          M,
          "click",
          /*click_handler_2*/
          a[45]
        ),
        we(
          v,
          "click",
          /*click_handler_3*/
          a[46]
        )
      ], ve = !0);
    },
    p(f, R) {
      if (R[0] & /*$_*/
      65536 && g !== (g = /*$_*/
      f[16]("transactionId") + "") && j(_, g), R[0] & /*$_*/
      65536 && u !== (u = /*$_*/
      f[16]("date") + "") && j(m, u), R[0] & /*$_*/
      65536 && S !== (S = /*$_*/
      f[16]("gameName") + "") && j(I, S), R[0] & /*$_*/
      65536 && N !== (N = /*$_*/
      f[16]("stake") + "") && j($, N), R[0] & /*$_*/
      65536 && q !== (q = /*$_*/
      f[16]("return") + "") && j(k, q), R[0] & /*$_, renderAmount, gamingHistoryData, formatDate*/
      12681216) {
        ce = ke(
          /*gamingHistoryData*/
          f[15]
        );
        let L;
        for (L = 0; L < ce.length; L += 1) {
          const Pe = Ce(f, ce, L);
          Z[L] ? Z[L].p(Pe, R) : (Z[L] = Ae(Pe), Z[L].c(), Z[L].m(W, null));
        }
        for (; L < Z.length; L += 1)
          Z[L].d(1);
        Z.length = ce.length;
      }
      R[0] & /*previousPage*/
      256 && T !== (T = /*previousPage*/
      f[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(A, "fill", T), R[0] & /*$_*/
      65536 && c !== (c = /*$_*/
      f[16]("previous") + "") && j(Q, c), R[0] & /*previousPage*/
      256 && B !== (B = "PlayerPaginationControls " + (/*previousPage*/
      f[8] ? "" : "PlayerPaginationControlsDisabled")) && n(M, "class", B), R[0] & /*previousPage*/
      256 && G !== (G = /*previousPage*/
      !f[8]) && (M.disabled = G), R[0] & /*$_*/
      65536 && ie !== (ie = /*$_*/
      f[16]("next") + "") && j(ye, ie), R[0] & /*nextPage*/
      128 && fe !== (fe = /*nextPage*/
      f[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(ne, "fill", fe), R[0] & /*nextPage*/
      128 && he !== (he = "PlayerPaginationControls " + (/*nextPage*/
      f[7] ? "" : "PlayerPaginationControlsDisabled")) && n(v, "class", he), R[0] & /*nextPage*/
      128 && le !== (le = /*nextPage*/
      !f[7]) && (v.disabled = le);
    },
    d(f) {
      f && (oe(e), oe(V), oe(D)), Ne(Z, f), ve = !1, ze(be);
    }
  };
}
function Et(a) {
  let e;
  return {
    c() {
      e = s("div"), n(e, "class", "DataLoader");
    },
    m(t, d) {
      se(t, e, d);
    },
    p: Fe,
    d(t) {
      t && oe(e);
    }
  };
}
function Ae(a) {
  let e, t, d, o = (
    /*gamingHistoryDataset*/
    a[70].roundId + ""
  ), w, g, _, H, y, u, m = (
    /*formatDate*/
    a[22](
      /*gamingHistoryDataset*/
      a[70]
    ) + ""
  ), P, l, S, I, E, J = (
    /*gamingHistoryDataset*/
    (a[70].gameModel?.name ?? "-") + ""
  ), N, $, te, z, q, k = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].stakeAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), ae, W, V, D, M, U = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].returnAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), A, T, Y;
  return {
    c() {
      e = s("tr"), t = s("td"), d = s("span"), w = C(o), H = x(), y = s("td"), u = s("span"), P = C(m), S = x(), I = s("td"), E = s("span"), N = C(J), te = x(), z = s("td"), q = s("span"), ae = C(k), V = x(), D = s("td"), M = s("span"), A = C(U), Y = x(), n(t, "data-label", g = /*$_*/
      a[16]("transactionId")), n(t, "title", _ = /*gamingHistoryDataset*/
      a[70].roundId), n(y, "data-label", l = /*$_*/
      a[16]("date")), n(I, "data-label", $ = /*$_*/
      a[16]("gameName")), n(z, "data-label", W = /*$_*/
      a[16]("stake")), n(D, "data-label", T = /*$_*/
      a[16]("return"));
    },
    m(p, c) {
      se(p, e, c), r(e, t), r(t, d), r(d, w), r(e, H), r(e, y), r(y, u), r(u, P), r(e, S), r(e, I), r(I, E), r(E, N), r(e, te), r(e, z), r(z, q), r(q, ae), r(e, V), r(e, D), r(D, M), r(M, A), r(e, Y);
    },
    p(p, c) {
      c[0] & /*gamingHistoryData*/
      32768 && o !== (o = /*gamingHistoryDataset*/
      p[70].roundId + "") && j(w, o), c[0] & /*$_*/
      65536 && g !== (g = /*$_*/
      p[16]("transactionId")) && n(t, "data-label", g), c[0] & /*gamingHistoryData*/
      32768 && _ !== (_ = /*gamingHistoryDataset*/
      p[70].roundId) && n(t, "title", _), c[0] & /*gamingHistoryData*/
      32768 && m !== (m = /*formatDate*/
      p[22](
        /*gamingHistoryDataset*/
        p[70]
      ) + "") && j(P, m), c[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      p[16]("date")) && n(y, "data-label", l), c[0] & /*gamingHistoryData*/
      32768 && J !== (J = /*gamingHistoryDataset*/
      (p[70].gameModel?.name ?? "-") + "") && j(N, J), c[0] & /*$_*/
      65536 && $ !== ($ = /*$_*/
      p[16]("gameName")) && n(I, "data-label", $), c[0] & /*gamingHistoryData*/
      32768 && k !== (k = /*renderAmount*/
      p[23](
        /*gamingHistoryDataset*/
        p[70].stakeAmount,
        /*gamingHistoryDataset*/
        p[70].currencyCode
      ) + "") && j(ae, k), c[0] & /*$_*/
      65536 && W !== (W = /*$_*/
      p[16]("stake")) && n(z, "data-label", W), c[0] & /*gamingHistoryData*/
      32768 && U !== (U = /*renderAmount*/
      p[23](
        /*gamingHistoryDataset*/
        p[70].returnAmount,
        /*gamingHistoryDataset*/
        p[70].currencyCode
      ) + "") && j(A, U), c[0] & /*$_*/
      65536 && T !== (T = /*$_*/
      p[16]("return")) && n(D, "data-label", T);
    },
    d(p) {
      p && oe(e);
    }
  };
}
function Ft(a) {
  let e, t, d, o, w = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), g, _, H, y, u, m, P, l = (
    /*$_*/
    a[16]("dateFrom") + ""
  ), S, I, E, J, N, $, te = (
    /*$_*/
    a[16]("dateTo") + ""
  ), z, q, k, ae, W, V = (
    /*$_*/
    a[16]("dateFilter") + ""
  ), D, M, U, A, T, Y, p = (
    /*isMobile*/
    a[19] && wt(a)
  ), c = !/*mediaQueryMedim*/
  a[14].matches && Te(a);
  function Q(b, v) {
    return (
      /*isLoading*/
      b[13] ? Et : (
        /*gamingHistoryData*/
        b[15].length > 0 ? _t : (
          /*errorMessage*/
          b[12].length > 0 ? Pt : vt
        )
      )
    );
  }
  let B = Q(a), G = B(a);
  return {
    c() {
      e = s("div"), t = s("div"), p && p.c(), d = x(), o = s("h2"), g = C(w), _ = x(), H = s("div"), y = s("div"), u = s("div"), m = s("div"), P = s("span"), S = C(l), I = x(), E = s("vaadin-date-picker"), J = x(), N = s("div"), $ = s("span"), z = C(te), q = x(), k = s("vaadin-date-picker"), ae = x(), W = s("button"), D = C(V), U = x(), c && c.c(), A = x(), G.c(), n(o, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryTitleNone" : "")), ee(
        E,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        E,
        "placeholder",
        /*startDate*/
        a[0]
      ), ee(
        E,
        "value",
        /*startDate*/
        a[0]
      ), ee(E, "class", "VaadinDatePicker"), n(m, "class", "PlayerGamingDateWrapper"), ee(
        k,
        "min",
        /*gamingCalendarEndDateMin*/
        a[5]
      ), ee(
        k,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        k,
        "placeholder",
        /*endDate*/
        a[1]
      ), ee(
        k,
        "value",
        /*endDate*/
        a[1]
      ), ee(k, "class", "VaadinDatePicker"), n(N, "class", "PlayerGamingDateWrapper"), n(u, "class", "PlayerGamingDateContainer"), n(W, "class", "PlayerGamingHistoryFilterButton"), W.disabled = M = !/*submitEnable*/
      a[10], n(y, "class", "PlayerGamingHistoryFilterWrapper"), n(H, "class", "PlayerGamingHistoryTopSection"), n(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryWrapperMobile" : ""));
    },
    m(b, v) {
      se(b, e, v), r(e, t), p && p.m(t, null), r(t, d), r(t, o), r(o, g), r(t, _), r(t, H), r(H, y), r(y, u), r(u, m), r(m, P), r(P, S), r(m, I), r(m, E), a[40](E), r(u, J), r(u, N), r(N, $), r($, z), r(N, q), r(N, k), a[41](k), r(y, ae), r(y, W), r(W, D), r(y, U), c && c.m(y, null), r(t, A), G.m(t, null), a[47](t), a[48](e), T || (Y = we(
        W,
        "click",
        /*click_handler_1*/
        a[42]
      ), T = !0);
    },
    p(b, v) {
      /*isMobile*/
      b[19] && p.p(b, v), v[0] & /*$_*/
      65536 && w !== (w = /*$_*/
      b[16]("titleGamingHistory") + "") && j(g, w), v[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      b[16]("dateFrom") + "") && j(S, l), v[0] & /*startDate*/
      1 && ee(
        E,
        "placeholder",
        /*startDate*/
        b[0]
      ), v[0] & /*startDate*/
      1 && ee(
        E,
        "value",
        /*startDate*/
        b[0]
      ), v[0] & /*$_*/
      65536 && te !== (te = /*$_*/
      b[16]("dateTo") + "") && j(z, te), v[0] & /*gamingCalendarEndDateMin*/
      32 && ee(
        k,
        "min",
        /*gamingCalendarEndDateMin*/
        b[5]
      ), v[0] & /*endDate*/
      2 && ee(
        k,
        "placeholder",
        /*endDate*/
        b[1]
      ), v[0] & /*endDate*/
      2 && ee(
        k,
        "value",
        /*endDate*/
        b[1]
      ), v[0] & /*$_*/
      65536 && V !== (V = /*$_*/
      b[16]("dateFilter") + "") && j(D, V), v[0] & /*submitEnable*/
      1024 && M !== (M = !/*submitEnable*/
      b[10]) && (W.disabled = M), /*mediaQueryMedim*/
      b[14].matches ? c && (c.d(1), c = null) : c ? c.p(b, v) : (c = Te(b), c.c(), c.m(y, null)), B === (B = Q(b)) && G ? G.p(b, v) : (G.d(1), G = B(b), G && (G.c(), G.m(t, null)));
    },
    i: Fe,
    o: Fe,
    d(b) {
      b && oe(e), p && p.d(), a[40](null), a[41](null), c && c.d(), G.d(), a[47](null), a[48](null), T = !1, Y();
    }
  };
}
let je = "0";
function kt(a, e, t) {
  let d;
  it(a, nt, (i) => t(16, d = i));
  let { endpoint: o = "" } = e, { playerid: w = "" } = e, { session: g = "" } = e, { lang: _ = "en" } = e, { clientstyling: H = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: u } = e, { translationurl: m = "" } = e, { gmversion: P = "" } = e, { dateformat: l = "dd-MM-yyyy" } = e, { amountfallbacktext: S = "-" } = e, { currencylocale: I = "" } = e, { currencydisplay: E = "code" } = e, { maximumfractiondigits: J = "2" } = e, { minimumfractiondigits: N = "0" } = e;
  const $ = de(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
  let te = "", z = "", q = "", k = "", ae, W, V = de(ft(/* @__PURE__ */ new Date(), 3), `${l || "yyyy-MM-dd"}`), D = de(/* @__PURE__ */ new Date(), `${l || "yyyy-MM-dd"}`), M = !0, U = ["5", "10", "25", "50"], A = "5", T = "", Y = !1, p = window.navigator.userAgent, c = lt(p) !== "PC", Q, B, G, b;
  const v = () => {
    fetch(m).then((h) => h.json()).then((h) => {
      Object.keys(h).forEach((O) => {
        Me(O, h[O]);
      });
    }).catch((h) => {
      console.log(h);
    });
  };
  Object.keys(Ie).forEach((i) => {
    Me(i, Ie[i]);
  }), window.matchMedia("(min-width: 768px)");
  let pe = window.matchMedia("(max-width: 1280px)"), ie = [];
  const ye = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: c
      },
      window.location.href
    );
  }, _e = () => {
    t(14, pe = window.matchMedia("(max-width: 1280px)"));
  }, ue = (i) => {
    let h = /* @__PURE__ */ new Map();
    return i.forEach((O) => {
      let X = O.transType === "1" ? "stakeAmount" : "returnAmount", ge = h.get(O.roundId);
      if (ge)
        ge[X] = O.totalAmount;
      else {
        let F = { ...O };
        F[X] = O.totalAmount, h.set(O.roundId, F);
      }
    }), i = Array.from(h.values()), i;
  }, ne = (i) => {
    const h = xe(i, `${l || "yyyy-MM-dd"}`, /* @__PURE__ */ new Date());
    return de(h, "yyyy-MM-dd");
  }, fe = (i, h, O) => {
    let X = new URL(i);
    t(15, ie = []), t(12, T = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": g }
    };
    h || (X.searchParams.append("offset", String(+je * 2)), X.searchParams.append("limit", String(+A * 2))), O && (X.searchParams.append("startDate", ne(V)), X.searchParams.append("endDate", ne(D))), t(13, Y = !0), fetch(X.href, ge).then((F) => F.json()).then(
      (F) => {
        if (!F.error)
          t(15, ie = F.transactions), t(15, ie = ue(ie)), t(7, q = F.pagination.next), t(8, k = F.pagination.previous);
        else {
          let re = F.error.split(":");
          t(12, T = re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]), F.thirdPartyResponse && t(12, T = d(`${F.thirdPartyResponse.errorCode}`) || re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]);
        }
        t(13, Y = !1);
      },
      (F) => {
        t(13, Y = !1), console.error(F);
      }
    );
  }, he = (i, h, O) => {
    let X = new URL(i);
    t(15, ie = []), t(12, T = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": g }
    };
    h || (X.searchParams.append("offset", je), X.searchParams.append("limit", A)), O && (X.searchParams.append("startDate", ne(V)), X.searchParams.append("endDate", ne(D))), t(13, Y = !0), fetch(X.href, ge).then((F) => F.json()).then(
      (F) => {
        if (!F.error)
          t(15, ie = F.transactions), t(7, q = F.pagination.next), t(8, k = F.pagination.previous);
        else {
          let re = F.error.split(":");
          t(12, T = re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]), F.thirdPartyResponse && t(12, T = d(`${F.thirdPartyResponse.errorCode}`) || re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]);
        }
        t(13, Y = !1);
      },
      (F) => {
        t(13, Y = !1), console.error(F);
      }
    );
  }, le = (i, h, O) => {
    switch (P) {
      case "gm16":
        fe(i, h, O);
        break;
      default:
        he(i, h, O);
        break;
    }
    window.postMessage({ type: "ScrollToTop" }, window.location.href);
  }, ve = () => {
    ht(_), t(6, z = P === "gm16" ? `${o}/v1/player/${w}/transactions/wagering?type=Casino` : `${o}/v1/player/${w}/bets`), le(z, !1, !0);
  }, be = (i) => {
    if (i.data)
      switch (i.data.type) {
      }
  }, ce = () => {
    const i = new Date(V), h = new Date(D);
    i.getTime() > h.getTime() ? t(10, M = !1) : t(10, M = !0);
  }, Z = (i) => {
    t(0, V = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`)), t(5, te = de(new Date(i.target.value), "yyyy-MM-dd"));
  }, f = (i) => {
    t(1, D = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`));
  }, R = () => {
    Q.addEventListener("change", Z, !1), B.addEventListener("change", f, !1);
  }, L = (i) => P === "gm16" ? de(new Date(i.ins), `${l || "d/M/yyyy"} - h:mm a`) : de(new Date(i.roundStartDate), `${l || "d/M/yyyy"} - h:mm a`), Pe = (i) => {
    const { year: h, month: O, day: X } = i, ge = new Date(h, O, X);
    return de(ge, l || "yyyy-MM-dd");
  }, Ge = (i) => {
    const h = xe(i, l || "yyyy-MM-dd", /* @__PURE__ */ new Date());
    return {
      year: h.getFullYear(),
      month: h.getMonth(),
      day: h.getDate()
    };
  }, He = (i, h) => i === "" || isNaN(Number(i)) ? h : Number(i), We = (i) => {
    let h = "code";
    (E === "code" || E === "symbol") && (h = E), b = new Intl.NumberFormat(
      I || _,
      {
        style: "currency",
        currencyDisplay: h,
        currency: i,
        useGrouping: !0,
        maximumFractionDigits: He(J, 2),
        minimumFractionDigits: He(N, 0)
      }
    );
  }, Be = (i, h) => dt(i) ? (b || We(h), b.format(Number.parseFloat(i))) : S;
  ot(() => (window.addEventListener("message", be, !1), window.addEventListener("resize", _e, !1), t(
    2,
    Q.i18n = {
      ...Q.i18n,
      formatDate: Pe,
      parseDate: Ge
    },
    Q
  ), t(
    3,
    B.i18n = {
      ...B.i18n,
      formatDate: Pe,
      parseDate: Ge
    },
    B
  ), () => {
    Q.removeEventListener("change", Z), B.removeEventListener("change", f), window.removeEventListener("message", be), window.removeEventListener("resize", be);
  }));
  const Le = () => ye();
  function Oe(i) {
    Ee[i ? "unshift" : "push"](() => {
      Q = i, t(2, Q);
    });
  }
  function Ve(i) {
    Ee[i ? "unshift" : "push"](() => {
      B = i, t(3, B);
    });
  }
  const Ue = () => le(z, !1, !0);
  function Ze() {
    A = mt(this), t(11, A), t(18, U);
  }
  const qe = () => le(z, !1, !0), Ye = () => le(k, !0, !1), Qe = () => le(q, !0, !1);
  function Xe(i) {
    Ee[i ? "unshift" : "push"](() => {
      ae = i, t(9, ae);
    });
  }
  function Je(i) {
    Ee[i ? "unshift" : "push"](() => {
      G = i, t(4, G);
    });
  }
  return a.$$set = (i) => {
    "endpoint" in i && t(24, o = i.endpoint), "playerid" in i && t(25, w = i.playerid), "session" in i && t(26, g = i.session), "lang" in i && t(27, _ = i.lang), "clientstyling" in i && t(28, H = i.clientstyling), "clientstylingurl" in i && t(29, y = i.clientstylingurl), "mbsource" in i && t(30, u = i.mbsource), "translationurl" in i && t(31, m = i.translationurl), "gmversion" in i && t(32, P = i.gmversion), "dateformat" in i && t(33, l = i.dateformat), "amountfallbacktext" in i && t(34, S = i.amountfallbacktext), "currencylocale" in i && t(35, I = i.currencylocale), "currencydisplay" in i && t(36, E = i.currencydisplay), "maximumfractiondigits" in i && t(37, J = i.maximumfractiondigits), "minimumfractiondigits" in i && t(38, N = i.minimumfractiondigits);
  }, a.$$.update = () => {
    a.$$.dirty[0] & /*startCalendar, endCalendar*/
    12 && Q && B && R(), a.$$.dirty[0] & /*startDate, endDate*/
    3 && V && D && ce(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
    251658240 && g && w && o && _ && ve(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    268435472 && H && G && ct(G, H), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    536870928 && y && G && gt(G, y), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
    1073741840 && u && G && pt(G, `${u}.Style`, W), a.$$.dirty[1] & /*translationurl*/
    1 && m && v();
  }, [
    V,
    D,
    Q,
    B,
    G,
    te,
    z,
    q,
    k,
    ae,
    M,
    A,
    T,
    Y,
    pe,
    ie,
    d,
    $,
    U,
    c,
    ye,
    le,
    L,
    Be,
    o,
    w,
    g,
    _,
    H,
    y,
    u,
    m,
    P,
    l,
    S,
    I,
    E,
    J,
    N,
    Le,
    Oe,
    Ve,
    Ue,
    Ze,
    qe,
    Ye,
    Qe,
    Xe,
    Je
  ];
}
class Gt extends et {
  constructor(e) {
    super(), tt(
      this,
      e,
      kt,
      Ft,
      at,
      {
        endpoint: 24,
        playerid: 25,
        session: 26,
        lang: 27,
        clientstyling: 28,
        clientstylingurl: 29,
        mbsource: 30,
        translationurl: 31,
        gmversion: 32,
        dateformat: 33,
        amountfallbacktext: 34,
        currencylocale: 35,
        currencydisplay: 36,
        maximumfractiondigits: 37,
        minimumfractiondigits: 38
      },
      bt,
      [-1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[24];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), K();
  }
  get playerid() {
    return this.$$.ctx[25];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), K();
  }
  get session() {
    return this.$$.ctx[26];
  }
  set session(e) {
    this.$$set({ session: e }), K();
  }
  get lang() {
    return this.$$.ctx[27];
  }
  set lang(e) {
    this.$$set({ lang: e }), K();
  }
  get clientstyling() {
    return this.$$.ctx[28];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), K();
  }
  get clientstylingurl() {
    return this.$$.ctx[29];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), K();
  }
  get mbsource() {
    return this.$$.ctx[30];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), K();
  }
  get translationurl() {
    return this.$$.ctx[31];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), K();
  }
  get gmversion() {
    return this.$$.ctx[32];
  }
  set gmversion(e) {
    this.$$set({ gmversion: e }), K();
  }
  get dateformat() {
    return this.$$.ctx[33];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), K();
  }
  get amountfallbacktext() {
    return this.$$.ctx[34];
  }
  set amountfallbacktext(e) {
    this.$$set({ amountfallbacktext: e }), K();
  }
  get currencylocale() {
    return this.$$.ctx[35];
  }
  set currencylocale(e) {
    this.$$set({ currencylocale: e }), K();
  }
  get currencydisplay() {
    return this.$$.ctx[36];
  }
  set currencydisplay(e) {
    this.$$set({ currencydisplay: e }), K();
  }
  get maximumfractiondigits() {
    return this.$$.ctx[37];
  }
  set maximumfractiondigits(e) {
    this.$$set({ maximumfractiondigits: e }), K();
  }
  get minimumfractiondigits() {
    return this.$$.ctx[38];
  }
  set minimumfractiondigits(e) {
    this.$$set({ minimumfractiondigits: e }), K();
  }
}
yt(Gt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {}, dateformat: {}, amountfallbacktext: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {} }, [], [], !0);
export {
  Gt as default
};
