var Zt = Object.defineProperty, Qt = Object.defineProperties;
var Xt = Object.getOwnPropertyDescriptors;
var pt = Object.getOwnPropertySymbols;
var Yt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable;
var ht = (r, e, t) => e in r ? Zt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, ot = (r, e) => {
  for (var t in e || (e = {}))
    Yt.call(e, t) && ht(r, t, e[t]);
  if (pt)
    for (var t of pt(e))
      $t.call(e, t) && ht(r, t, e[t]);
  return r;
}, nt = (r, e) => Qt(r, Xt(e));
var st = (r, e, t) => new Promise((a, o) => {
  var n = (d) => {
    try {
      p(t.next(d));
    } catch (_) {
      o(_);
    }
  }, i = (d) => {
    try {
      p(t.throw(d));
    } catch (_) {
      o(_);
    }
  }, p = (d) => d.done ? a(d.value) : Promise.resolve(d.value).then(n, i);
  p((t = t.apply(r, e)).next());
});
import { $ as lt, H as er, a as tr, S as rr, i as ar, s as ir, f as J, b as or, n as Ie, d as B, c as A, e as y, g as nr, h as sr, o as lr, a2 as pr, j as Xe, k as L, l as Q, m as l, p as T, r as s, v as hr, t as U, q as le, w as Pe, u as N, x as E, L as tt, z as dr, A as cr, B as yr, C as ur, D as br } from "./PlayerAccountController-CKaOyxPs.js";
import { d as et } from "./PlayerAccountTimeout-D0RW52RF.js";
import { C as gr } from "./PlayerAccountSelfExclusion-xIyAHdnn.js";
import "../stencil/ui-skeleton-BKpwkQ2A.js";
import "./PlayerBonusHistory-CkarFQt0.js";
function fr({ withLocale: r, translations: e }) {
  lt.subscribe((t) => {
    t == null && (er.set(e), lt.set(r));
  });
}
function dt(r, e) {
  tr(r, e);
}
function mr(r) {
  lt.set(r);
}
const ct = {
  en: {
    headerTitle: "Historical Transactions",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Payments",
    dateFrom: "Period From",
    dateTo: "Period To",
    dateFilter: "Filter",
    InvalidSession: "The session you are using is invalid, please check..",
    checkPeriod: "Please select other period in order to see data.",
    Type: "Type",
    Status: "Status",
    Amount: "Amount",
    Currency: "Currency",
    Date: "Date",
    "Game Name": "Game Name",
    Date: "Transaction ID",
    "Bet Amount": "Bet Amount",
    "Win Amount": "Win Amount",
    "Transaction ID": "Transaction ID",
    Stake: "Stake",
    Description: "Description",
    "Bet Part": "Bet Part",
    "Bet Type": "Bet Type",
    "Free Bet": "Free Bet",
    "Win Type": "Win Type",
    "Play Type": "Play Type",
    "Bet Adjustment": "Bet Adjustment",
    "Bet ID": "Bet ID",
    Price: "Price",
    Selection: "Selection",
    Market: "Market",
    Sport: "Sport",
    Date: "Date",
    Sport: "Sport",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Winnings",
    noTransactions: "No transactions found"
  },
  "zh-hk": {
    headerTitle: "历史交易",
    Casino: "赌场",
    Sports: "体育",
    Payments: "付款",
    dateFrom: "开始日期",
    dateTo: "结束日期",
    dateFilter: "筛选",
    InvalidSession: "您使用的会话无效，请检查。",
    checkPeriod: "请选择其他时间段以查看数据。",
    Type: "类型",
    Status: "状态",
    Amount: "金额",
    Currency: "货币",
    Date: "日期",
    "Game Name": "游戏名称",
    "Transaction ID": "交易ID",
    "Bet Amount": "投注金额",
    "Win Amount": "赢取金额",
    Stake: "赌注",
    Description: "描述",
    "Bet Part": "投注部分",
    "Bet Type": "投注类型",
    "Free Bet": "免费投注",
    "Win Type": "赢取类型",
    "Play Type": "播放類型",
    "Bet Adjustment": "投注调整",
    "Bet ID": "投注ID",
    Price: "价格",
    Selection: "选择",
    Market: "市场",
    Sport: "体育",
    Multiple: "多重",
    Winnings: "獲勝",
    noTransactions: "未找到交易記錄"
  },
  fr: {
    headerTitle: "Transactions Historiques",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Paiements",
    dateFrom: "Période De",
    dateTo: "Période À",
    dateFilter: "Filtrer",
    InvalidSession: "La session que vous utilisez est invalide, veuillez vérifier.",
    checkPeriod: "Veuillez sélectionner une autre période pour voir les données.",
    Type: "Type",
    Status: "Statut",
    Amount: "Montant",
    Currency: "Devise",
    Date: "Date",
    "Game Name": "Nom du Jeu",
    "Transaction ID": "ID de Transaction",
    "Bet Amount": "Montant du Pari",
    "Win Amount": "Montant Gagné",
    Stake: "Mise",
    Description: "Description",
    "Bet Part": "Partie du Pari",
    "Bet Type": "Type de Pari",
    "Free Bet": "Pari Gratuit",
    "Win Type": "Type de Gain",
    "Play Type": "Type de lecture",
    "Bet Adjustment": "Ajustement du Pari",
    "Bet ID": "ID du Pari",
    Price: "Prix",
    Selection: "Sélection",
    Market: "Marché",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Gains",
    noTransactions: "Aucune transaction trouvée"
  },
  ro: {
    headerTitle: "Tranzacții Istorice",
    Casino: "Cazinou",
    Sports: "Sporturi",
    Payments: "Plăți",
    dateFrom: "Perioada De",
    dateTo: "Perioada Până",
    dateFilter: "Filtru",
    InvalidSession: "Sesiunea pe care o utilizați este invalidă, vă rugăm să verificați.",
    checkPeriod: "Vă rugăm să selectați o altă perioadă pentru a vedea datele.",
    Type: "Tip",
    Status: "Stare",
    Amount: "Sumă",
    Currency: "Monedă",
    Date: "Data",
    "Game Name": "Numele Jocului",
    "Transaction ID": "ID-ul Tranzacției",
    "Bet Amount": "Suma Pariei",
    "Win Amount": "Suma Câștigată",
    Stake: "Miză",
    Description: "Descriere",
    "Bet Part": "Partea Pariei",
    "Bet Type": "Tipul Pariei",
    "Free Bet": "Pariu Gratuit",
    "Win Type": "Tipul Câștigului",
    "Play Type": "Tip de redare",
    "Bet Adjustment": "Ajustarea Pariei",
    "Bet ID": "ID-ul Pariei",
    Price: "Preț",
    Selection: "Selecție",
    Market: "Piață",
    Sport: "Sport",
    Multiple: "Multiplu",
    Winnings: "Câștiguri",
    noTransactions: "Nu au fost găsite tranzacții"
  },
  es: {
    headerTitle: "Transacciones Históricas",
    Casino: "Casino",
    Sports: "Deportes",
    Payments: "Pagos",
    dateFrom: "Período Desde",
    dateTo: "Período Hasta",
    dateFilter: "Filtrar",
    InvalidSession: "La sesión que está utilizando es inválida, por favor verifique.",
    checkPeriod: "Por favor seleccione otro período para ver los datos.",
    Type: "Tipo",
    Status: "Estado",
    Amount: "Cantidad",
    Currency: "Moneda",
    Date: "Fecha",
    "Game Name": "Nombre del Juego",
    "Transaction ID": "ID de Transacción",
    "Bet Amount": "Cantidad Apostada",
    "Win Amount": "Cantidad Ganada",
    Stake: "Apuesta",
    Description: "Descripción",
    "Bet Part": "Parte de la Apuesta",
    "Bet Type": "Tipo de Apuesta",
    "Free Bet": "Apuesta Gratis",
    "Win Type": "Tipo de Ganancia",
    "Play Type": "Tipo de reproducción",
    "Bet Adjustment": "Ajuste de Apuesta",
    "Bet ID": "ID de Apuesta",
    Price: "Precio",
    Selection: "Selección",
    Market: "Mercado",
    Sport: "Deporte",
    Multiple: "Múltiple",
    Winnings: "Ganancias",
    noTransactions: "No se encontraron transacciones"
  },
  pt: {
    headerTitle: "Transações Históricas",
    Casino: "Cassino",
    Sports: "Esportes",
    Payments: "Pagamentos",
    dateFrom: "Período De",
    dateTo: "Período Até",
    dateFilter: "Filtrar",
    InvalidSession: "A sessão que você está usando é inválida, por favor verifique.",
    checkPeriod: "Por favor selecione outro período para ver os dados.",
    Type: "Tipo",
    Status: "Status",
    Amount: "Quantia",
    Currency: "Moeda",
    Date: "Data",
    "Game Name": "Nome do Jogo",
    "Transaction ID": "ID da Transação",
    "Bet Amount": "Quantia Apostada",
    "Win Amount": "Quantia Ganha",
    Stake: "Aposta",
    Description: "Descrição",
    "Bet Part": "Parte da Aposta",
    "Bet Type": "Tipo de Aposta",
    "Free Bet": "Aposta Grátis",
    "Win Type": "Tipo de Ganho",
    "Play Type": "Tipo de reprodução",
    "Bet Adjustment": "Ajuste de Aposta",
    "Bet ID": "ID da Aposta",
    Price: "Preço",
    Selection: "Seleção",
    Market: "Mercado",
    Sport: "Esporte",
    Multiple: "Múltiplo",
    Winnings: "Ganhos",
    noTransactions: "Nenhuma transação encontrada"
  },
  hr: {
    headerTitle: "Povijesne Transakcije",
    Casino: "Casino",
    Sports: "Sportovi",
    Payments: "Plaćanja",
    dateFrom: "Razdoblje Od",
    dateTo: "Razdoblje Do",
    dateFilter: "Filtriraj",
    InvalidSession: "Sesija koju koristite je nevažeća, molimo provjerite.",
    checkPeriod: "Molimo odaberite drugo razdoblje za pregled podataka.",
    Type: "Vrsta",
    Status: "Status",
    Amount: "Iznos",
    Currency: "Valuta",
    Date: "Datum",
    "Game Name": "Naziv Igre",
    "Transaction ID": "ID Transakcije",
    "Bet Amount": "Iznos Oklade",
    "Win Amount": "Iznos Dobitka",
    Stake: "Ulog",
    Description: "Opis",
    "Bet Part": "Dio Oklade",
    "Bet Type": "Vrsta Oklade",
    "Free Bet": "Besplatna Oklada",
    "Win Type": "Vrsta Dobitka",
    "Play Type": "Vrsta reprodukcije",
    "Bet Adjustment": "Prilagodba Oklade",
    "Bet ID": "ID Oklade",
    Price: "Cijena",
    Selection: "Izbor",
    Market: "Tržište",
    Sport: "Sport",
    Multiple: "Višestruko",
    Winnings: "Dobitci",
    noTransactions: "Nema pronađenih transakcija"
  },
  "pt-br": {
    headerTitle: "Transações Históricas",
    Casino: "Cassino",
    Sports: "Esportes",
    Payments: "Pagamentos",
    dateFrom: "Período De",
    dateTo: "Período Até",
    dateFilter: "Filtrar",
    InvalidSession: "A sessão que você está usando é inválida, por favor verifique.",
    checkPeriod: "Por favor selecione outro período para ver os dados.",
    Type: "Tipo",
    Status: "Status",
    Amount: "Quantia",
    Currency: "Moeda",
    Date: "Data",
    "Game Name": "Nome do Jogo",
    "Transaction ID": "ID da Transação",
    "Bet Amount": "Quantia Apostada",
    "Win Amount": "Quantia Ganha",
    Stake: "Aposta",
    Description: "Descrição",
    "Bet Part": "Parte da Aposta",
    "Bet Type": "Tipo de Aposta",
    "Free Bet": "Aposta Grátis",
    "Win Type": "Tipo de Ganho",
    "Play Type": "Tipo de reprodução",
    "Bet Adjustment": "Ajuste de Aposta",
    "Bet ID": "ID da Aposta",
    Price: "Preço",
    Selection: "Seleção",
    Market: "Mercado",
    Sport: "Esporte",
    Multiple: "Múltiplo",
    Winnings: "Ganhos",
    noTransactions: "Nenhuma transação encontrada"
  },
  "es-mx": {
    headerTitle: "Transacciones Históricas",
    Casino: "Casino",
    Sports: "Deportes",
    Payments: "Pagos",
    dateFrom: "Período Desde",
    dateTo: "Período Hasta",
    dateFilter: "Filtrar",
    InvalidSession: "La sesión que está utilizando es inválida, por favor verifique.",
    checkPeriod: "Por favor seleccione otro período para ver los datos.",
    Type: "Tipo",
    Status: "Estado",
    Amount: "Cantidad",
    Currency: "Moneda",
    Date: "Fecha",
    "Game Name": "Nombre del Juego",
    "Transaction ID": "ID de Transacción",
    "Bet Amount": "Cantidad Apostada",
    "Win Amount": "Cantidad Ganada",
    Stake: "Apuesta",
    Description: "Descripción",
    "Bet Part": "Parte de la Apuesta",
    "Bet Type": "Tipo de Apuesta",
    "Free Bet": "Apuesta Gratis",
    "Win Type": "Tipo de Ganancia",
    "Play Type": "Tipo de reproducción",
    "Bet Adjustment": "Ajuste de Apuesta",
    "Bet ID": "ID de Apuesta",
    Price: "Precio",
    Selection: "Selección",
    Market: "Mercado",
    Sport: "Deporte",
    Multiple: "Múltiple",
    Winnings: "Ganancias",
    noTransactions: "No se encontraron transacciones"
  },
  tr: {
    headerTitle: "Geçmiş İşlemler",
    Casino: "Casino",
    Sports: "Sporlar",
    Payments: "Ödemeler",
    dateFrom: "Dönemden",
    dateTo: "Döneme",
    dateFilter: "Filtre",
    InvalidSession: "Kullandığınız oturum geçersiz, lütfen kontrol edin.",
    checkPeriod: "Verileri görmek için lütfen başka bir dönem seçin.",
    Type: "Tür",
    Status: "Durum",
    Amount: "Miktar",
    Currency: "Para Birimi",
    Date: "Tarih",
    "Game Name": "Oyun Adı",
    "Transaction ID": "İşlem ID",
    "Bet Amount": "Bahis Miktarı",
    "Win Amount": "Kazanç Miktarı",
    Stake: "Bahis",
    Description: "Açıklama",
    "Bet Part": "Bahis Bölümü",
    "Bet Type": "Bahis Türü",
    "Free Bet": "Ücretsiz Bahis",
    "Win Type": "Kazanç Türü",
    "Play Type": "Oynatma Türü",
    "Bet Adjustment": "Bahis Ayarı",
    "Bet ID": "Bahis ID",
    Price: "Fiyat",
    Selection: "Seçim",
    Market: "Pazar",
    Sport: "Spor",
    Multiple: "Çoklu",
    Winnings: "Kazanan",
    noTransactions: "İşlem bulunamadı"
  },
  "en-us": {
    headerTitle: "Historical Transactions",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Payments",
    dateFrom: "Period From",
    dateTo: "Period To",
    dateFilter: "Filter",
    InvalidSession: "The session you are using is invalid, please check..",
    checkPeriod: "Please select other period in order to see data.",
    Type: "Type",
    Status: "Status",
    Amount: "Amount",
    Currency: "Currency",
    Date: "Date",
    "Game Name": "Game Name",
    Date: "Transaction ID",
    "Bet Amount": "Bet Amount",
    "Win Amount": "Win Amount",
    "Transaction ID": "Transaction ID",
    Stake: "Stake",
    Description: "Description",
    "Bet Part": "Bet Part",
    "Bet Type": "Bet Type",
    "Free Bet": "Free Bet",
    "Win Type": "Win Type",
    "Play Type": "Play Type",
    "Bet Adjustment": "Bet Adjustment",
    "Bet ID": "Bet ID",
    Price: "Price",
    Selection: "Selection",
    Market: "Market",
    Sport: "Sport",
    Date: "Date",
    Sport: "Sport",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Winnings",
    noTransactions: "No transactions found"
  }
};
function Cr(r) {
  or(r, "svelte-xdr5hv", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.headerTextNone{display:none}.historyContainer{container-type:inline-size}.historyContainer .desktopSubmenu{display:flex}.historyContainer .allSubmenuRows{display:none}.historyContainer .historyWrapper{padding:50px}.historyContainer .historyWrapper .historyHeader{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}.historyContainer .historyWrapper .historyHeader .headerText p{color:var(--emw--color-primary, #22b04e);font-size:var(--emw--font-size-x-large, 26px);font-family:inherit}.historyContainer .historyWrapper .historyHeader .headerText.skeleton{width:250px;height:30px}.historyContainer .historyWrapper .historyHeader .headerController{display:inherit;flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:30px}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent{justify-content:flex-start;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .toggleCheckbox{border:none;padding:0;margin:0}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .label{width:70px;height:15px;border-radius:var(--emw--border-radius-medium, 20px);overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent{display:inherit;flex-direction:row;align-items:inherit;justify-content:inherit;background-color:transparent;border:none;cursor:pointer}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox [type=checkbox]{display:none}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .label{font-size:var(--emw--size-standard, 16px);font-family:inherit;margin-left:10px}.historyContainer .historyWrapper .historyFilter{display:flex;align-items:flex-end;gap:10px;padding-bottom:30px;padding:20px 0px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{display:flex;gap:5px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:190px;color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;position:relative;align-items:flex-start;gap:10px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-medium, 20px)}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate label,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate input,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #e6e6e6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 50px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:9px;outline:none}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.historyCalendarFilterMobile{width:100%;height:44px}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.disable{cursor:default;color:var(--emw--color-white, #ffffff);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate{align-items:normal;overflow:hidden}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{height:15px;overflow:hidden;border-radius:20px}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarFilter{padding:0;background:transparent;border:none;overflow:hidden}.historyContainer .historyWrapper .historyTable{width:100%;display:flex;flex-direction:column;border:1px solid var(--emw--color-primary, #22b04e);background-color:var(--emw--color-white, #ffffff);overflow:auto;scrollbar-width:thin}.historyContainer .historyWrapper .historyTable::-webkit-scrollbar{width:6px;height:6px}.historyContainer .historyWrapper .historyTable .tableWrapper{width:100%;display:flex;flex-direction:column}.historyContainer .historyWrapper .historyTable .tableWrapper.sports{width:100%;display:flex}.historyContainer .historyWrapper .historyTable .tableWrapper.sports .tableHead span{min-width:102px}.historyContainer .historyWrapper .historyTable .tableWrapper.sports .tableContent .tableRow .tableData span{min-width:101px}.historyContainer .historyWrapper .historyTable .tableHead{display:flex}.historyContainer .historyWrapper .historyTable .tableHead span{display:flex;justify-content:center;align-items:center;min-width:100px;flex:1 1 20%;padding:12px 0;text-align:center;color:var(--emw--button-text-color, #ffffff);background:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent{width:100%;max-height:546px;overflow-y:auto}.historyContainer .historyWrapper .historyTable .tableContent::-webkit-scrollbar{width:6px;height:6px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 5px;background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData{display:flex;justify-content:center;align-items:center;width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100px;display:flex;justify-content:center;align-items:center;flex:1 1 20%;text-align:center;cursor:pointer;font-weight:700;font-size:inherit;text-decoration:underline;color:var(--emw--color-white, #ffffff);border:none;background-color:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu{width:18px;height:18px;padding-bottom:5px;box-sizing:content-box;fill:var(--emw--color-white, #ffffff);transform:rotateX(0deg);transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu.active{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu span{width:70px;flex:none}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{flex:1 1 20%;text-align:center;min-width:100px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg path{stroke:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg path{stroke:var(--emw--color-error, #ed0909)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;overflow:hidden;max-height:0px;overflow:hidden;opacity:0;transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData .label{width:100%;padding:0;overflow-wrap:break-word}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd){background-color:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu{color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu .iconToggleSubMenu{fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable.skeleton .tableHead{gap:40px;padding:18px 25px}.historyContainer .historyWrapper .historyTable.skeleton .tableHead div{width:100px;overflow:hidden;height:15px;border-radius:10px;flex:1 1 20%}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow{padding:0px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData{gap:40px;padding:18px 25px;border-radius:10px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData div{overflow:hidden;height:15px;border-radius:10px;width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px;padding-top:10px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex{width:fit-content;display:flex;flex-direction:row;align-items:center;justify-content:center;border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay{text-align:center;width:40px;padding:10px;transition:all 0.3s ease;border-left:1px solid var(--emw--color-primary, #22b04e);border-right:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay input{width:100%}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay.disable{color:var(--emw--color-white, #ffffff);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight{display:flex;justify-content:center;align-items:center;width:20px;height:20px;padding:9px;box-sizing:content-box;cursor:pointer;transition:all 0.3s ease;background-color:transparent;border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight svg{fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable{cursor:default;background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable svg{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable:hover{background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover{background-color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover svg{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize{width:fit-content;display:inline;text-align:center;width:80px;height:43px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector{width:100%;height:100%;position:relative;border:none;background-color:transparent;cursor:pointer;border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize{width:100%;height:100%;padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize .icon{width:15px;height:15px;padding-bottom:2px;transform:rotateX(0deg);box-sizing:content-box;transition:all 0.3s ease;fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{width:100%;max-height:0px;position:absolute;top:120%;left:0;text-align:left;overflow:hidden;opacity:0;background-color:var(--emw--color-white, #ffffff);border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px);transition:all 0.3s ease}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow{width:100%;cursor:pointer;padding:10px;border:none;background-color:transparent;border-bottom:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow .p{flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:hover{background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:nth-last-child(1){border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .currentPageSize .icon{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .pageSizeDropDown{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable{cursor:default;background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize{color:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize .icon{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageIndex{display:block;width:100px;border:none;overflow:hidden;border-radius:5px}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageSize{border:none;overflow:hidden;border-radius:5px}.historyContainer .historyMobileWrapper.historyWrapper{padding:20px 15px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .headerText{display:none}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton{display:inline-flex;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));align-items:center;column-gap:10px;margin-bottom:10px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton .historyReturnText{font-size:var(--emw--size-standard, 16px)}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton.skeleton{width:200px;height:20px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .headerController{width:100%;align-items:center;justify-content:center}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter{flex-direction:column;align-items:center}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer{width:100%}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:inherit}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate .VaadinDatePicker,.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate .VaadinDatePicker{width:inherit}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarFilter{width:100%}.historyContainer .historyMobileWrapper.historyWrapper .historyTable{overflow:auto}.historyContainer .historyMobileWrapper.historyWrapper .historyTable .tableHead{min-width:fit-content}.historyContainer .historyMobileWrapper.historyWrapper .historyTable .tableContent{min-width:fit-content;max-height:430px}.historyContainer .historyMobileWrapper.historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}@container (max-width: 425px){.historyContainer .historyWrapper{display:flex;flex-direction:column}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%;flex-direction:column}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{width:100px}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{padding:5px 0;font-size:13px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}@container (max-width: 520px){.historyContainer .historyWrapper .historyFilter{flex-direction:column;align-items:flex-start}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{flex-direction:column;width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{min-width:190px;width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate vaadin-date-picker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate vaadin-date-picker{width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{min-width:190px;width:100%}}@container (max-width: 784px){.historyContainer .historyWrapper .historyTable{min-width:190px}.historyContainer .historyWrapper .historyTable .tableWrapper{display:flex}.historyContainer .historyWrapper .historyTable .tableHead{display:none}.historyContainer .historyWrapper .historyTable .tableRow{display:flex;flex-direction:column;border:1px solid #ddd;margin-bottom:16px;border-radius:8px;overflow:hidden;background:#fff;text-align:center}.historyContainer .historyWrapper .historyTable .tableData{display:flex;flex-direction:column;padding:16px}.historyContainer .historyWrapper .historyTable .tableData span{width:100%}.historyContainer .historyWrapper .historyTable .tableData span[data-label],.historyContainer .historyWrapper .historyTable .tableData button[data-label]{display:flex;justify-content:space-between;align-items:center;padding:4px 0;border-bottom:1px solid #eee}.historyContainer .historyWrapper .historyTable .tableData span[data-label]::before,.historyContainer .historyWrapper .historyTable .tableData button[data-label]::before{content:attr(data-label);font-weight:600;color:#555;margin-right:16px;flex:1;text-align:left}.historyContainer .historyWrapper .historyTable .tableData button[data-label]{padding:2px 0}.historyContainer .historyWrapper .historyTable .tableData span[data-label]:last-child{border-bottom:none}.historyContainer .historyWrapper .historyTable .tableData span[data-label],.historyContainer .historyWrapper .historyTable .tableData button[data-label] span{flex:2;text-align:right;font-weight:normal;color:#222}.historyContainer .historyWrapper .historyTable .tableContent{overflow-y:visible;padding:10px 5px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{text-align:right}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:none;margin-top:15px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{display:block;padding:0 18px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;padding:1px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .label{display:flex;justify-content:space-between;padding:3px 0;font-size:14px;border-bottom:1px solid #eee;flex:2;text-align:right;font-weight:normal;color:rgba(0, 0, 0, 0.7);padding:2px 0}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .label::before{content:attr(data-label);font-weight:600;display:inline-block;width:100px;flex:1;text-align:left;margin-right:8px}.historyContainer .historyWrapper .historyTable .tableContent .submenuRow{margin-top:10px}.historyContainer .historyWrapper .historyTable .tableContent .remainingRows .submenuRow{margin:0}.historyContainer .historyWrapper .historyTable .tableContent .remainingRows .submenuRow:last-of-type .tableData span{border-bottom:none}.historyContainer .historyWrapper .historyTable .tableContent .submenuRowTitle{font-size:14px}.historyContainer .remainingRows{margin-top:15px}.historyContainer .desktopSubmenu{display:none}.historyContainer .allSubmenuRows{display:flex;flex-direction:column}}@container (min-width: 785px){.historyContainer .historyWrapper .historyTable .tableWrapper.sports{display:block}}');
}
function yt(r, e, t) {
  const a = r.slice();
  return a[101] = e[t], a;
}
function ut(r, e, t) {
  const a = r.slice();
  return a[104] = e[t], a[105] = e, a[106] = t, a;
}
function bt(r, e, t) {
  const a = r.slice();
  return a[107] = e[t], a;
}
function gt(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a[111] = t, a;
}
function ft(r, e, t) {
  const a = r.slice();
  return a[107] = e[t], a;
}
function mt(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function Ct(r, e, t) {
  const a = r.slice();
  return a[117] = e[t], a;
}
function _t(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function wt(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function vt(r, e, t) {
  const a = r.slice();
  return a[124] = e[t], a[106] = t, a;
}
function _r(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function wr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function vr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function kr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function Tr(r) {
  let e, t, a, o, n, i, p = (
    /*$_*/
    r[3]("headerTitle") + ""
  ), d, _, C, D, S, W, w, I, x = (
    /*$_*/
    r[3]("dateFrom") + ""
  ), G, R, F, j, H, ae, b = (
    /*$_*/
    r[3]("dateTo") + ""
  ), g, c, k, De, pe, X = (
    /*$_*/
    r[3]("dateFilter") + ""
  ), We, ie, Ge, ge, oe, fe, Re, V, Z, ne, Y, $, ee, _e, he, je, Oe, me, Le, He, xe, Ye, we, Me, Ve, ze, de, M, ce, Ce, qe, Be, Ke, ve, Je, Ue, te, Ae, Ne, Ze, ye = (
    /*isMobile*/
    r[22] && Pr(r)
  ), ue = L(
    /*transactionTypes*/
    r[17]
  ), q = [];
  for (let u = 0; u < ue.length; u += 1)
    q[u] = kt(vt(r, ue, u));
  let ke = L(
    /*tableColumns*/
    r[23][
      /*activeType*/
      r[8]
    ]
  ), K = [];
  for (let u = 0; u < ke.length; u += 1)
    K[u] = St(wt(r, ke, u));
  function Qe(u, z) {
    return (
      /*isEmpty*/
      u[14] ? xr : (
        /*isError*/
        u[13] ? Dr : Wr
      )
    );
  }
  let Ee = Qe(r), re = Ee(r), Te = L(
    /*pageSizeOptions*/
    r[30]
  ), O = [];
  for (let u = 0; u < Te.length; u += 1)
    O[u] = At(yt(r, Te, u));
  return {
    c() {
      e = y("div"), t = y("div"), a = y("div"), ye && ye.c(), o = T(), n = y("div"), i = y("p"), d = N(p), _ = T(), C = y("div");
      for (let u = 0; u < q.length; u += 1)
        q[u].c();
      D = T(), S = y("div"), W = y("div"), w = y("div"), I = y("label"), G = N(x), R = T(), F = y("vaadin-date-picker"), j = T(), H = y("div"), ae = y("label"), g = N(b), c = T(), k = y("vaadin-date-picker"), De = T(), pe = y("button"), We = N(X), Ge = T(), ge = y("table"), oe = y("div"), fe = y("thead");
      for (let u = 0; u < K.length; u += 1)
        K[u].c();
      Re = T(), V = y("tbody"), re.c(), ne = T(), Y = y("div"), $ = y("div"), ee = y("button"), _e = E("svg"), he = E("path"), Oe = T(), me = y("div"), Le = y("p"), He = N(
        /*pageNumber*/
        r[10]
      ), Ye = T(), we = y("button"), Me = E("svg"), Ve = E("path"), de = T(), M = y("div"), ce = y("button"), Ce = y("div"), qe = y("p"), Be = N(
        /*pageSize*/
        r[9]
      ), Ke = T(), ve = E("svg"), Je = E("path"), Ue = T(), te = y("div");
      for (let u = 0; u < O.length; u += 1)
        O[u].c();
      s(n, "class", "headerText " + /*isMobile*/
      (r[22] ? "headerTextNone" : "")), s(C, "class", "headerController"), s(a, "class", "historyHeader"), s(I, "for", "historyCalendarStartDate"), le(
        F,
        "max",
        /*formattedMaxDate*/
        r[5]
      ), le(
        F,
        "value",
        /*historyCalendarStartDate*/
        r[6]
      ), le(F, "placeholder", "From"), le(F, "class", "VaadinDatePicker"), s(w, "class", "historyCalendarStartDate"), s(ae, "for", "historyCalendarEndDate"), le(
        k,
        "max",
        /*formattedMaxDate*/
        r[5]
      ), le(
        k,
        "value",
        /*historyCalendarEndDate*/
        r[7]
      ), le(k, "placeholder", "To"), le(k, "class", "VaadinDatePicker"), s(H, "class", "historyCalendarEndDate"), s(W, "class", "historyCalendarContainer"), s(pe, "class", ie = "historyCalendarFilter " + (/*buttonStatus*/
      r[21].filterButton ? "" : "disable")), s(S, "class", "historyFilter"), s(fe, "class", "tableHead"), s(V, "class", "tableContent"), s(oe, "class", Z = `tableWrapper ${/*activeType*/
      r[8].replace("$", "")} ${/*isMobile*/
      r[22] ? "tableWrapperMobile" : ""}`), s(ge, "class", "historyTable"), s(he, "d", "M1.293,12.707a1,1,0,0,1,0-1.414l5-5A1,1,0,0,1,7.707,7.707L4.414,11H22a1,1,0,0,1,0,2H4.414l3.293,3.293a1,1,0,1,1-1.414,1.414Z"), s(_e, "viewBox", "1 4 17 17"), s(_e, "xmlns", "http://www.w3.org/2000/svg"), s(ee, "class", je = "arrowLeft " + (/*buttonStatus*/
      r[21].previousPage ? "" : "disable")), s(me, "class", xe = "indexDisplay " + (!/*buttonStatus*/
      r[21].previousPage && !/*buttonStatus*/
      r[21].nextPage ? "disable" : "")), s(Ve, "d", "M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z"), s(Me, "viewBox", "6 4 17 17"), s(Me, "xmlns", "http://www.w3.org/2000/svg"), s(we, "class", ze = "arrowRight " + (/*buttonStatus*/
      r[21].nextPage ? "" : "disable")), s($, "class", "historyPageIndex"), s(Je, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), s(ve, "xmlns", "http://www.w3.org/2000/svg"), s(ve, "viewBox", "6 5 20 20"), s(ve, "class", "icon"), s(Ce, "class", "currentPageSize"), s(te, "class", "pageSizeDropDown"), s(ce, "class", Ae = "pageSizeSelector " + /*isPaginationToggled*/
      (r[12] ? "active" : "") + " " + (/*buttonStatus*/
      r[21].pageSize ? "" : "disable")), s(M, "class", "historyPageSize"), s(Y, "class", "historyPaginationContainer"), s(t, "class", "historyWrapper " + /*isMobile*/
      (r[22] ? "historyMobileWrapper" : "")), s(e, "class", "historyContainer");
    },
    m(u, z) {
      A(u, e, z), l(e, t), l(t, a), ye && ye.m(a, null), l(a, o), l(a, n), l(n, i), l(i, d), l(a, _), l(a, C);
      for (let f = 0; f < q.length; f += 1)
        q[f] && q[f].m(C, null);
      l(t, D), l(t, S), l(S, W), l(W, w), l(w, I), l(I, G), l(w, R), l(w, F), r[58](F), l(W, j), l(W, H), l(H, ae), l(ae, g), l(H, c), l(H, k), r[59](k), l(S, De), l(S, pe), l(pe, We), l(t, Ge), l(t, ge), l(ge, oe), l(oe, fe);
      for (let f = 0; f < K.length; f += 1)
        K[f] && K[f].m(fe, null);
      l(oe, Re), l(oe, V), re.m(V, null), r[63](ge), l(t, ne), l(t, Y), l(Y, $), l($, ee), l(ee, _e), l(_e, he), l($, Oe), l($, me), l(me, Le), l(Le, He), l($, Ye), l($, we), l(we, Me), l(Me, Ve), l(Y, de), l(Y, M), l(M, ce), l(ce, Ce), l(Ce, qe), l(qe, Be), l(Ce, Ke), l(Ce, ve), l(ve, Je), l(ce, Ue), l(ce, te);
      for (let f = 0; f < O.length; f += 1)
        O[f] && O[f].m(te, null);
      Ne || (Ze = [
        Pe(
          pe,
          "click",
          /*click_handler_2*/
          r[60]
        ),
        Pe(
          ee,
          "click",
          /*click_handler_4*/
          r[64]
        ),
        Pe(
          we,
          "click",
          /*click_handler_5*/
          r[65]
        ),
        Pe(
          ce,
          "click",
          /*click_handler_7*/
          r[67]
        )
      ], Ne = !0);
    },
    p(u, z) {
      if (
        /*isMobile*/
        u[22] && ye.p(u, z), z[0] & /*$_*/
        8 && p !== (p = /*$_*/
        u[3]("headerTitle") + "") && U(d, p), z[0] & /*transactionTypes, $_*/
        131080 | z[1] & /*changeActiveHistory*/
        1
      ) {
        ue = L(
          /*transactionTypes*/
          u[17]
        );
        let f;
        for (f = 0; f < ue.length; f += 1) {
          const be = vt(u, ue, f);
          q[f] ? q[f].p(be, z) : (q[f] = kt(be), q[f].c(), q[f].m(C, null));
        }
        for (; f < q.length; f += 1)
          q[f].d(1);
        q.length = ue.length;
      }
      if (z[0] & /*$_*/
      8 && x !== (x = /*$_*/
      u[3]("dateFrom") + "") && U(G, x), z[0] & /*formattedMaxDate*/
      32 && le(
        F,
        "max",
        /*formattedMaxDate*/
        u[5]
      ), z[0] & /*historyCalendarStartDate*/
      64 && le(
        F,
        "value",
        /*historyCalendarStartDate*/
        u[6]
      ), z[0] & /*$_*/
      8 && b !== (b = /*$_*/
      u[3]("dateTo") + "") && U(g, b), z[0] & /*formattedMaxDate*/
      32 && le(
        k,
        "max",
        /*formattedMaxDate*/
        u[5]
      ), z[0] & /*historyCalendarEndDate*/
      128 && le(
        k,
        "value",
        /*historyCalendarEndDate*/
        u[7]
      ), z[0] & /*$_*/
      8 && X !== (X = /*$_*/
      u[3]("dateFilter") + "") && U(We, X), z[0] & /*buttonStatus*/
      2097152 && ie !== (ie = "historyCalendarFilter " + (/*buttonStatus*/
      u[21].filterButton ? "" : "disable")) && s(pe, "class", ie), z[0] & /*$_, tableColumns, activeType, hideColumns*/
      276824328) {
        ke = L(
          /*tableColumns*/
          u[23][
            /*activeType*/
            u[8]
          ]
        );
        let f;
        for (f = 0; f < ke.length; f += 1) {
          const be = wt(u, ke, f);
          K[f] ? K[f].p(be, z) : (K[f] = St(be), K[f].c(), K[f].m(fe, null));
        }
        for (; f < K.length; f += 1)
          K[f].d(1);
        K.length = ke.length;
      }
      if (Ee === (Ee = Qe(u)) && re ? re.p(u, z) : (re.d(1), re = Ee(u), re && (re.c(), re.m(V, null))), z[0] & /*activeType*/
      256 && Z !== (Z = `tableWrapper ${/*activeType*/
      u[8].replace("$", "")} ${/*isMobile*/
      u[22] ? "tableWrapperMobile" : ""}`) && s(oe, "class", Z), z[0] & /*buttonStatus*/
      2097152 && je !== (je = "arrowLeft " + (/*buttonStatus*/
      u[21].previousPage ? "" : "disable")) && s(ee, "class", je), z[0] & /*pageNumber*/
      1024 && U(
        He,
        /*pageNumber*/
        u[10]
      ), z[0] & /*buttonStatus*/
      2097152 && xe !== (xe = "indexDisplay " + (!/*buttonStatus*/
      u[21].previousPage && !/*buttonStatus*/
      u[21].nextPage ? "disable" : "")) && s(me, "class", xe), z[0] & /*buttonStatus*/
      2097152 && ze !== (ze = "arrowRight " + (/*buttonStatus*/
      u[21].nextPage ? "" : "disable")) && s(we, "class", ze), z[0] & /*pageSize*/
      512 && U(
        Be,
        /*pageSize*/
        u[9]
      ), z[0] & /*pageSizeOptions*/
      1073741824 | z[1] & /*changePageSize*/
      8) {
        Te = L(
          /*pageSizeOptions*/
          u[30]
        );
        let f;
        for (f = 0; f < Te.length; f += 1) {
          const be = yt(u, Te, f);
          O[f] ? O[f].p(be, z) : (O[f] = At(be), O[f].c(), O[f].m(te, null));
        }
        for (; f < O.length; f += 1)
          O[f].d(1);
        O.length = Te.length;
      }
      z[0] & /*isPaginationToggled, buttonStatus*/
      2101248 && Ae !== (Ae = "pageSizeSelector " + /*isPaginationToggled*/
      (u[12] ? "active" : "") + " " + (/*buttonStatus*/
      u[21].pageSize ? "" : "disable")) && s(ce, "class", Ae);
    },
    d(u) {
      u && B(e), ye && ye.d(), Q(q, u), r[58](null), r[59](null), Q(K, u), re.d(), r[63](null), Q(O, u), Ne = !1, hr(Ze);
    }
  };
}
function Sr(r) {
  let e, t, a, o, n, i, p, d, _, C, D, S, W, w;
  function I(g, c) {
    return (
      /*isMobile*/
      g[22] ? Lr : jr
    );
  }
  let G = I(r)(r), R = L({ length: 3 }), F = [];
  for (let g = 0; g < R.length; g += 1)
    F[g] = Hr(kr(r, R, g));
  let j = L({ length: 6 }), H = [];
  for (let g = 0; g < j.length; g += 1)
    H[g] = Nr(vr(r, j, g));
  let ae = L({ length: 5 }), b = [];
  for (let g = 0; g < ae.length; g += 1)
    b[g] = Gr(_r(r, ae, g));
  return {
    c() {
      e = y("div"), t = y("div"), a = y("div"), G.c(), o = T(), n = y("div");
      for (let g = 0; g < F.length; g += 1)
        F[g].c();
      i = T(), p = y("div"), p.innerHTML = '<div class="historyCalendarContainer"><div class="historyCalendarStartDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div> <div class="historyCalendarEndDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div></div> <div class="historyCalendarFilter"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>', d = T(), _ = y("table"), C = y("thead");
      for (let g = 0; g < H.length; g += 1)
        H[g].c();
      D = T(), S = y("tbody");
      for (let g = 0; g < b.length; g += 1)
        b[g].c();
      W = T(), w = y("div"), w.innerHTML = '<div class="historyPageIndex"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div> <div class="historyPageSize"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>', s(n, "class", "headerController skeleton"), s(a, "class", "historyHeader"), s(p, "class", "historyFilter skeleton"), s(C, "class", "tableHead"), s(S, "class", "tableContent"), s(_, "class", "historyTable skeleton"), s(w, "class", "historyPaginationContainer skeleton"), s(t, "class", "historyWrapper " + /*isMobile*/
      (r[22] ? "historyMobileWrapper" : "")), s(e, "class", "historyContainer");
    },
    m(g, c) {
      A(g, e, c), l(e, t), l(t, a), G.m(a, null), l(a, o), l(a, n);
      for (let k = 0; k < F.length; k += 1)
        F[k] && F[k].m(n, null);
      l(t, i), l(t, p), l(t, d), l(t, _), l(_, C);
      for (let k = 0; k < H.length; k += 1)
        H[k] && H[k].m(C, null);
      l(_, D), l(_, S);
      for (let k = 0; k < b.length; k += 1)
        b[k] && b[k].m(S, null);
      l(t, W), l(t, w);
    },
    p: Ie,
    d(g) {
      g && B(e), G.d(), Q(F, g), Q(H, g), Q(b, g);
    }
  };
}
function Pr(r) {
  let e, t, a, o, n, i, p, d, _, C, D = (
    /*$_*/
    r[3]("headerTitle") + ""
  ), S, W, w;
  return {
    c() {
      e = y("button"), t = E("svg"), a = E("defs"), o = E("style"), n = N(`.pathstyle {
                    fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
                  }
                `), i = E("g"), p = E("g"), d = E("path"), _ = T(), C = y("h2"), S = N(D), s(d, "class", "pathstyle"), s(d, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(d, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(i, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(C, "class", "historyReturnText"), s(e, "class", "historyReturnButton");
    },
    m(I, x) {
      A(I, e, x), l(e, t), l(t, a), l(a, o), l(o, n), l(t, i), l(i, p), l(p, d), l(e, _), l(e, C), l(C, S), W || (w = Pe(
        e,
        "click",
        /*click_handler*/
        r[56]
      ), W = !0);
    },
    p(I, x) {
      x[0] & /*$_*/
      8 && D !== (D = /*$_*/
      I[3]("headerTitle") + "") && U(S, D);
    },
    d(I) {
      I && B(e), W = !1, w();
    }
  };
}
function kt(r) {
  let e, t, a, o, n = (
    /*$_*/
    r[3](
      /*el*/
      r[124].type
    ) + ""
  ), i, p, d, _, C;
  function D() {
    return (
      /*click_handler_1*/
      r[57](
        /*index*/
        r[106]
      )
    );
  }
  return {
    c() {
      e = y("button"), t = y("div"), t.innerHTML = '<input type="checkbox"/> <span class="circle"></span>', a = T(), o = y("p"), i = N(n), p = T(), s(t, "class", "toggleCheckbox"), s(o, "class", "label"), s(e, "class", d = "toggleContent " + /*el*/
      (r[124].checked ? "checked" : ""));
    },
    m(S, W) {
      A(S, e, W), l(e, t), l(e, a), l(e, o), l(o, i), l(e, p), _ || (C = Pe(e, "click", D), _ = !0);
    },
    p(S, W) {
      r = S, W[0] & /*$_, transactionTypes*/
      131080 && n !== (n = /*$_*/
      r[3](
        /*el*/
        r[124].type
      ) + "") && U(i, n), W[0] & /*transactionTypes*/
      131072 && d !== (d = "toggleContent " + /*el*/
      (r[124].checked ? "checked" : "")) && s(e, "class", d);
    },
    d(S) {
      S && B(e), _ = !1, C();
    }
  };
}
function Tt(r) {
  let e, t = (
    /*$_*/
    (r[3](
      /*column*/
      r[114]
    ) || /*column*/
    r[114]) + ""
  ), a, o;
  return {
    c() {
      e = y("span"), a = N(t), o = T();
    },
    m(n, i) {
      A(n, e, i), l(e, a), l(e, o);
    },
    p(n, i) {
      i[0] & /*$_, activeType*/
      264 && t !== (t = /*$_*/
      (n[3](
        /*column*/
        n[114]
      ) || /*column*/
      n[114]) + "") && U(a, t);
    },
    d(n) {
      n && B(e);
    }
  };
}
function St(r) {
  let e = !/*hideColumns*/
  r[28].includes(
    /*column*/
    r[114].replace(/\s/g, "").toLowerCase()
  ), t, a = e && Tt(r);
  return {
    c() {
      a && a.c(), t = tt();
    },
    m(o, n) {
      a && a.m(o, n), A(o, t, n);
    },
    p(o, n) {
      n[0] & /*activeType*/
      256 && (e = !/*hideColumns*/
      o[28].includes(
        /*column*/
        o[114].replace(/\s/g, "").toLowerCase()
      )), e ? a ? a.p(o, n) : (a = Tt(o), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null);
    },
    d(o) {
      o && B(t), a && a.d(o);
    }
  };
}
function Dr(r) {
  let e, t;
  return {
    c() {
      e = y("div"), t = N(
        /*errorMessage*/
        r[4]
      ), s(e, "class", "tableRow");
    },
    m(a, o) {
      A(a, e, o), l(e, t);
    },
    p(a, o) {
      o[0] & /*errorMessage*/
      16 && U(
        t,
        /*errorMessage*/
        a[4]
      );
    },
    d(a) {
      a && B(e);
    }
  };
}
function Wr(r) {
  let e, t = L(
    /*historyData*/
    r[18][
      /*activeType*/
      r[8]
    ]
  ), a = [];
  for (let o = 0; o < t.length; o += 1)
    a[o] = Bt(ut(r, t, o));
  return {
    c() {
      for (let o = 0; o < a.length; o += 1)
        a[o].c();
      e = tt();
    },
    m(o, n) {
      for (let i = 0; i < a.length; i += 1)
        a[i] && a[i].m(o, n);
      A(o, e, n);
    },
    p(o, n) {
      if (n[0] & /*activeSubmenus, submenuRefs, mobileSportsRemainingKeys, mobileLabels, historyData, activeType, mobileSportsKeys, mobileRepeatingKeys, tableBody, hideValues*/
      790429952 | n[1] & /*getSubmenuRowsCount, toggleSubmenu*/
      96) {
        t = L(
          /*historyData*/
          o[18][
            /*activeType*/
            o[8]
          ]
        );
        let i;
        for (i = 0; i < t.length; i += 1) {
          const p = ut(o, t, i);
          a[i] ? a[i].p(p, n) : (a[i] = Bt(p), a[i].c(), a[i].m(e.parentNode, e));
        }
        for (; i < a.length; i += 1)
          a[i].d(1);
        a.length = t.length;
      }
    },
    d(o) {
      o && B(e), Q(a, o);
    }
  };
}
function xr(r) {
  let e, t = (
    /*$_*/
    r[3]("noTransactions") + ""
  ), a;
  return {
    c() {
      e = y("div"), a = N(t), s(e, "class", "tableRow");
    },
    m(o, n) {
      A(o, e, n), l(e, a);
    },
    p(o, n) {
      n[0] & /*$_*/
      8 && t !== (t = /*$_*/
      o[3]("noTransactions") + "") && U(a, t);
    },
    d(o) {
      o && B(e);
    }
  };
}
function Mr(r) {
  let e, t = (
    /*row*/
    (r[104][
      /*column*/
      r[114]
    ] || "-") + ""
  ), a, o, n;
  return {
    c() {
      var i;
      e = y("span"), a = N(t), o = T(), s(e, "data-label", n = /*mobileLabels*/
      ((i = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : i[
        /*column*/
        r[114].replace(/\s/g, "")
      ]) || /*column*/
      r[114]);
    },
    m(i, p) {
      A(i, e, p), l(e, a), l(e, o);
    },
    p(i, p) {
      var d;
      p[0] & /*historyData, activeType*/
      262400 && t !== (t = /*row*/
      (i[104][
        /*column*/
        i[114]
      ] || "-") + "") && U(a, t), p[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      ((d = i[19][
        /*activeType*/
        i[8]
      ]) == null ? void 0 : d[
        /*column*/
        i[114].replace(/\s/g, "")
      ]) || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && B(e);
    }
  };
}
function zr(r) {
  let e, t = (
    /*row*/
    (r[104][
      /*column*/
      r[114]
    ].submenu[0] || "-") + ""
  ), a, o, n;
  return {
    c() {
      var i;
      e = y("span"), a = N(t), o = T(), s(e, "data-label", n = /*mobileLabels*/
      ((i = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : i[
        /*column*/
        r[114].replace(/\s/g, "")
      ]) || /*column*/
      r[114]);
    },
    m(i, p) {
      A(i, e, p), l(e, a), l(e, o);
    },
    p(i, p) {
      var d;
      p[0] & /*historyData, activeType*/
      262400 && t !== (t = /*row*/
      (i[104][
        /*column*/
        i[114]
      ].submenu[0] || "-") + "") && U(a, t), p[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      ((d = i[19][
        /*activeType*/
        i[8]
      ]) == null ? void 0 : d[
        /*column*/
        i[114].replace(/\s/g, "")
      ]) || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && B(e);
    }
  };
}
function Br(r) {
  let e, t, a, o, n, i, p = (
    /*row*/
    r[104][
      /*column*/
      r[114]
    ].label + ""
  ), d, _, C, D, S;
  function W() {
    return (
      /*click_handler_3*/
      r[61](
        /*index*/
        r[106]
      )
    );
  }
  return {
    c() {
      var w;
      e = y("button"), t = E("svg"), a = E("path"), n = T(), i = y("span"), d = N(p), _ = T(), s(a, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "viewBox", "6 5 20 20"), s(t, "class", o = "iconToggleSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")), s(e, "class", "toggleSubMenu"), s(e, "data-label", C = /*mobileLabels*/
      ((w = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : w[
        /*column*/
        r[114].replace(/\s/g, "")
      ]) || /*column*/
      r[114]);
    },
    m(w, I) {
      A(w, e, I), l(e, t), l(t, a), l(e, n), l(e, i), l(i, d), l(e, _), D || (S = Pe(e, "click", W), D = !0);
    },
    p(w, I) {
      var x;
      r = w, I[0] & /*activeSubmenus*/
      1048576 && o !== (o = "iconToggleSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")) && s(t, "class", o), I[0] & /*historyData, activeType*/
      262400 && p !== (p = /*row*/
      r[104][
        /*column*/
        r[114]
      ].label + "") && U(d, p), I[0] & /*mobileLabels, activeType*/
      524544 && C !== (C = /*mobileLabels*/
      ((x = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : x[
        /*column*/
        r[114].replace(/\s/g, "")
      ]) || /*column*/
      r[114]) && s(e, "data-label", C);
    },
    d(w) {
      w && B(e), D = !1, S();
    }
  };
}
function Ar(r) {
  let e, t, a, o, n;
  return {
    c() {
      var i;
      e = y("span"), t = E("svg"), a = E("path"), o = T(), s(a, "d", "M9 9L15 15M15 9L9 15M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z"), s(a, "stroke", "#000000"), s(a, "stroke-width", "2"), s(a, "stroke-linecap", "round"), s(a, "stroke-linejoin", "round"), s(t, "viewBox", "-3 -4 30 30"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(e, "class", "decline"), s(e, "data-label", n = /*mobileLabels*/
      ((i = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : i[
        /*column*/
        r[114].replace(/\s/g, "")
      ]) || /*column*/
      r[114]);
    },
    m(i, p) {
      A(i, e, p), l(e, t), l(t, a), l(e, o);
    },
    p(i, p) {
      var d;
      p[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      ((d = i[19][
        /*activeType*/
        i[8]
      ]) == null ? void 0 : d[
        /*column*/
        i[114].replace(/\s/g, "")
      ]) || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && B(e);
    }
  };
}
function Fr(r) {
  let e, t, a, o, n, i;
  return {
    c() {
      var p;
      e = y("span"), t = E("svg"), a = E("path"), o = E("path"), n = T(), s(a, "fill-rule", "evenodd"), s(a, "clip-rule", "evenodd"), s(a, "d", "M5.5 12.0002C5.50024 8.66068 7.85944 5.78639 11.1348 5.1351C14.4102 4.48382 17.6895 6.23693 18.9673 9.32231C20.2451 12.4077 19.1655 15.966 16.3887 17.8212C13.6119 19.6764 9.91127 19.3117 7.55 16.9502C6.23728 15.6373 5.49987 13.8568 5.5 12.0002Z"), s(a, "stroke", "#000000"), s(a, "stroke-width", "1.5"), s(a, "stroke-linecap", "round"), s(a, "stroke-linejoin", "round"), s(o, "d", "M9 12.0002L11.333 14.3332L16 9.66724"), s(o, "stroke-width", "1.5"), s(o, "stroke-linecap", "round"), s(o, "stroke-linejoin", "round"), s(t, "viewBox", "0 0 24 24"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(e, "class", "approved"), s(e, "data-label", i = /*mobileLabels*/
      ((p = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : p[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      r[114]);
    },
    m(p, d) {
      A(p, e, d), l(e, t), l(t, a), l(t, o), l(e, n);
    },
    p(p, d) {
      var _;
      d[0] & /*mobileLabels, activeType*/
      524544 && i !== (i = /*mobileLabels*/
      ((_ = p[19][
        /*activeType*/
        p[8]
      ]) == null ? void 0 : _[
        /*column*/
        p[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      p[114]) && s(e, "data-label", i);
    },
    d(p) {
      p && B(e);
    }
  };
}
function Pt(r) {
  let e, t;
  function a(i, p) {
    var d, _, C;
    if (p[0] & /*activeType*/
    256 && (e = null), /*row*/
    i[104][
      /*column*/
      i[114]
    ] === !0)
      return Fr;
    if (
      /*row*/
      i[104][
        /*column*/
        i[114]
      ] === !1
    )
      return Ar;
    if (
      /*row*/
      (d = i[104][
        /*column*/
        i[114]
      ]) != null && d.label && /*row*/
      ((_ = i[104][
        /*column*/
        i[114]
      ]) == null ? void 0 : _.submenu.length) > 1
    )
      return Br;
    if (
      /*row*/
      (C = i[104][
        /*column*/
        i[114]
      ]) != null && C.submenu
    )
      return zr;
    if (e == null && (e = !/*hideValues*/
    i[29].includes(
      /*column*/
      i[114].toLowerCase()
    )), e)
      return Mr;
  }
  let o = a(r, [-1, -1, -1, -1, -1]), n = o && o(r);
  return {
    c() {
      n && n.c(), t = tt();
    },
    m(i, p) {
      n && n.m(i, p), A(i, t, p);
    },
    p(i, p) {
      o === (o = a(i, p)) && n ? n.p(i, p) : (n && n.d(1), n = o && o(i), n && (n.c(), n.m(t.parentNode, t)));
    },
    d(i) {
      i && B(t), n && n.d(i);
    }
  };
}
function Ir(r) {
  let e, t, a, o, n;
  return {
    c() {
      var i;
      e = y("div"), t = y("span"), a = N("-"), n = T(), s(t, "data-label", o = /*mobileLabels*/
      ((i = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : i[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      r[114]), s(t, "class", "label"), s(e, "class", "tableData");
    },
    m(i, p) {
      A(i, e, p), l(e, t), l(t, a), l(e, n);
    },
    p(i, p) {
      var d;
      p[0] & /*mobileLabels, activeType*/
      524544 && o !== (o = /*mobileLabels*/
      ((d = i[19][
        /*activeType*/
        i[8]
      ]) == null ? void 0 : d[
        /*column*/
        i[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      i[114]) && s(t, "data-label", o);
    },
    d(i) {
      i && B(e);
    }
  };
}
function Rr(r) {
  let e, t, a = L(
    /*row*/
    r[104][
      /*column*/
      r[114]
    ].submenu
  ), o = [];
  for (let n = 0; n < a.length; n += 1)
    o[n] = Dt(Ct(r, a, n));
  return {
    c() {
      e = y("div");
      for (let n = 0; n < o.length; n += 1)
        o[n].c();
      t = T(), s(e, "class", "tableData");
    },
    m(n, i) {
      A(n, e, i);
      for (let p = 0; p < o.length; p += 1)
        o[p] && o[p].m(e, null);
      l(e, t);
    },
    p(n, i) {
      if (i[0] & /*mobileLabels, activeType, tableBody, historyData*/
      17563904) {
        a = L(
          /*row*/
          n[104][
            /*column*/
            n[114]
          ].submenu
        );
        let p;
        for (p = 0; p < a.length; p += 1) {
          const d = Ct(n, a, p);
          o[p] ? o[p].p(d, i) : (o[p] = Dt(d), o[p].c(), o[p].m(e, t));
        }
        for (; p < o.length; p += 1)
          o[p].d(1);
        o.length = a.length;
      }
    },
    d(n) {
      n && B(e), Q(o, n);
    }
  };
}
function Dt(r) {
  let e, t = (
    /*submenu*/
    (r[117] || "-") + ""
  ), a, o;
  return {
    c() {
      var n;
      e = y("span"), a = N(t), s(e, "data-label", o = /*mobileLabels*/
      ((n = r[19][
        /*activeType*/
        r[8]
      ]) == null ? void 0 : n[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      r[114]), s(e, "class", "label");
    },
    m(n, i) {
      A(n, e, i), l(e, a);
    },
    p(n, i) {
      var p;
      i[0] & /*historyData, activeType*/
      262400 && t !== (t = /*submenu*/
      (n[117] || "-") + "") && U(a, t), i[0] & /*mobileLabels, activeType*/
      524544 && o !== (o = /*mobileLabels*/
      ((p = n[19][
        /*activeType*/
        n[8]
      ]) == null ? void 0 : p[
        /*column*/
        n[114].replace(/\s/g, "").toLowerCase()
      ]) || /*column*/
      n[114]) && s(e, "data-label", o);
    },
    d(n) {
      n && B(e);
    }
  };
}
function Wt(r) {
  let e;
  function t(n, i) {
    var p;
    return (
      /*row*/
      (p = n[104][
        /*column*/
        n[114]
      ]) != null && p.submenu ? Rr : Ir
    );
  }
  let a = t(r), o = a(r);
  return {
    c() {
      o.c(), e = tt();
    },
    m(n, i) {
      o.m(n, i), A(n, e, i);
    },
    p(n, i) {
      a === (a = t(n)) && o ? o.p(n, i) : (o.d(1), o = a(n), o && (o.c(), o.m(e.parentNode, e)));
    },
    d(n) {
      n && B(e), o.d(n);
    }
  };
}
function xt(r) {
  var i, p;
  let e, t, a = (
    /*row*/
    (((p = (i = r[104][
      /*columnKey*/
      r[107]
    ]) == null ? void 0 : i.submenu) == null ? void 0 : p[
      /*rowIndex*/
      r[111]
    ]) || "-") + ""
  ), o, n;
  return {
    c() {
      var d;
      e = y("div"), t = y("span"), o = N(a), s(t, "data-label", n = /*mobileLabels*/
      (d = r[19].sports) == null ? void 0 : d[
        /*columnKey*/
        r[107]
      ]), s(t, "class", "label"), s(e, "class", "tableData");
    },
    m(d, _) {
      A(d, e, _), l(e, t), l(t, o);
    },
    p(d, _) {
      var C, D, S;
      _[0] & /*historyData, activeType*/
      262400 && a !== (a = /*row*/
      (((D = (C = d[104][
        /*columnKey*/
        d[107]
      ]) == null ? void 0 : C.submenu) == null ? void 0 : D[
        /*rowIndex*/
        d[111]
      ]) || "-") + "") && U(o, a), _[0] & /*mobileLabels*/
      524288 && n !== (n = /*mobileLabels*/
      (S = d[19].sports) == null ? void 0 : S[
        /*columnKey*/
        d[107]
      ]) && s(t, "data-label", n);
    },
    d(d) {
      d && B(e);
    }
  };
}
function Mt(r) {
  let e, t = L(
    /*mobileRepeatingKeys*/
    r[25]
  ), a = [];
  for (let o = 0; o < t.length; o += 1)
    a[o] = xt(ft(r, t, o));
  return {
    c() {
      e = y("div");
      for (let o = 0; o < a.length; o += 1)
        a[o].c();
      s(e, "class", "submenuRow");
    },
    m(o, n) {
      A(o, e, n);
      for (let i = 0; i < a.length; i += 1)
        a[i] && a[i].m(e, null);
    },
    p(o, n) {
      if (n[0] & /*mobileLabels, mobileRepeatingKeys, historyData, activeType*/
      34341120) {
        t = L(
          /*mobileRepeatingKeys*/
          o[25]
        );
        let i;
        for (i = 0; i < t.length; i += 1) {
          const p = ft(o, t, i);
          a[i] ? a[i].p(p, n) : (a[i] = xt(p), a[i].c(), a[i].m(e, null));
        }
        for (; i < a.length; i += 1)
          a[i].d(1);
        a.length = t.length;
      }
    },
    d(o) {
      o && B(e), Q(a, o);
    }
  };
}
function zt(r) {
  var d, _;
  let e, t, a, o = (
    /*row*/
    (((_ = (d = r[104][
      /*columnKey*/
      r[107]
    ]) == null ? void 0 : d.submenu) == null ? void 0 : _[0]) || "-") + ""
  ), n, i, p;
  return {
    c() {
      var C;
      e = y("div"), t = y("div"), a = y("span"), n = N(o), p = T(), s(a, "data-label", i = /*mobileLabels*/
      (C = r[19].sports) == null ? void 0 : C[
        /*columnKey*/
        r[107]
      ]), s(a, "class", "label"), s(t, "class", "tableData"), s(e, "class", "submenuRow");
    },
    m(C, D) {
      A(C, e, D), l(e, t), l(t, a), l(a, n), l(e, p);
    },
    p(C, D) {
      var S, W, w;
      D[0] & /*historyData, activeType*/
      262400 && o !== (o = /*row*/
      (((W = (S = C[104][
        /*columnKey*/
        C[107]
      ]) == null ? void 0 : S.submenu) == null ? void 0 : W[0]) || "-") + "") && U(n, o), D[0] & /*mobileLabels*/
      524288 && i !== (i = /*mobileLabels*/
      (w = C[19].sports) == null ? void 0 : w[
        /*columnKey*/
        C[107]
      ]) && s(a, "data-label", i);
    },
    d(C) {
      C && B(e);
    }
  };
}
function Bt(r) {
  let e, t, a, o, n, i, p, d, _, C, D = (
    /*index*/
    r[106]
  ), S, W = L(
    /*tableBody*/
    r[24][
      /*activeType*/
      r[8]
    ]
  ), w = [];
  for (let b = 0; b < W.length; b += 1)
    w[b] = Pt(_t(r, W, b));
  let I = L(
    /*tableBody*/
    r[24][
      /*activeType*/
      r[8]
    ]
  ), x = [];
  for (let b = 0; b < I.length; b += 1)
    x[b] = Wt(mt(r, I, b));
  let G = L(
    /*getSubmenuRowsCount*/
    r[37](
      /*row*/
      r[104],
      /*mobileSportsKeys*/
      r[26]
    )
  ), R = [];
  for (let b = 0; b < G.length; b += 1)
    R[b] = Mt(gt(r, G, b));
  let F = L(
    /*mobileSportsRemainingKeys*/
    r[27]
  ), j = [];
  for (let b = 0; b < F.length; b += 1)
    j[b] = zt(bt(r, F, b));
  const H = () => (
    /*div4_binding*/
    r[62](o, D)
  ), ae = () => (
    /*div4_binding*/
    r[62](null, D)
  );
  return {
    c() {
      e = y("div"), t = y("div");
      for (let b = 0; b < w.length; b += 1)
        w[b].c();
      a = T(), o = y("div"), n = y("div");
      for (let b = 0; b < x.length; b += 1)
        x[b].c();
      i = T(), p = y("div");
      for (let b = 0; b < R.length; b += 1)
        R[b].c();
      d = T(), _ = y("div");
      for (let b = 0; b < j.length; b += 1)
        j[b].c();
      S = T(), s(t, "class", "tableData"), s(n, "class", "desktopSubmenu"), s(_, "class", "remainingRows"), s(p, "class", "allSubmenuRows"), s(o, "class", C = "tableSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")), s(e, "class", "tableRow");
    },
    m(b, g) {
      A(b, e, g), l(e, t);
      for (let c = 0; c < w.length; c += 1)
        w[c] && w[c].m(t, null);
      l(e, a), l(e, o), l(o, n);
      for (let c = 0; c < x.length; c += 1)
        x[c] && x[c].m(n, null);
      l(o, i), l(o, p);
      for (let c = 0; c < R.length; c += 1)
        R[c] && R[c].m(p, null);
      l(p, d), l(p, _);
      for (let c = 0; c < j.length; c += 1)
        j[c] && j[c].m(_, null);
      H(), l(e, S);
    },
    p(b, g) {
      if (r = b, g[0] & /*mobileLabels, activeType, tableBody, historyData, activeSubmenus, hideValues*/
      555483392 | g[1] & /*toggleSubmenu*/
      32) {
        W = L(
          /*tableBody*/
          r[24][
            /*activeType*/
            r[8]
          ]
        );
        let c;
        for (c = 0; c < W.length; c += 1) {
          const k = _t(r, W, c);
          w[c] ? w[c].p(k, g) : (w[c] = Pt(k), w[c].c(), w[c].m(t, null));
        }
        for (; c < w.length; c += 1)
          w[c].d(1);
        w.length = W.length;
      }
      if (g[0] & /*historyData, activeType, tableBody, mobileLabels*/
      17563904) {
        I = L(
          /*tableBody*/
          r[24][
            /*activeType*/
            r[8]
          ]
        );
        let c;
        for (c = 0; c < I.length; c += 1) {
          const k = mt(r, I, c);
          x[c] ? x[c].p(k, g) : (x[c] = Wt(k), x[c].c(), x[c].m(n, null));
        }
        for (; c < x.length; c += 1)
          x[c].d(1);
        x.length = I.length;
      }
      if (g[0] & /*mobileRepeatingKeys, mobileLabels, historyData, activeType*/
      34341120) {
        G = L(
          /*getSubmenuRowsCount*/
          r[37](
            /*row*/
            r[104],
            /*mobileSportsKeys*/
            r[26]
          )
        );
        let c;
        for (c = 0; c < G.length; c += 1) {
          const k = gt(r, G, c);
          R[c] ? R[c].p(k, g) : (R[c] = Mt(k), R[c].c(), R[c].m(p, d));
        }
        for (; c < R.length; c += 1)
          R[c].d(1);
        R.length = G.length;
      }
      if (g[0] & /*mobileLabels, mobileSportsRemainingKeys, historyData, activeType*/
      135004416) {
        F = L(
          /*mobileSportsRemainingKeys*/
          r[27]
        );
        let c;
        for (c = 0; c < F.length; c += 1) {
          const k = bt(r, F, c);
          j[c] ? j[c].p(k, g) : (j[c] = zt(k), j[c].c(), j[c].m(_, null));
        }
        for (; c < j.length; c += 1)
          j[c].d(1);
        j.length = F.length;
      }
      g[0] & /*activeSubmenus*/
      1048576 && C !== (C = "tableSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")) && s(o, "class", C), D !== /*index*/
      r[106] && (ae(), D = /*index*/
      r[106], H());
    },
    d(b) {
      b && B(e), Q(w, b), Q(x, b), Q(R, b), Q(j, b), ae();
    }
  };
}
function At(r) {
  let e, t, a, o, n;
  function i() {
    return (
      /*click_handler_6*/
      r[66](
        /*size*/
        r[101]
      )
    );
  }
  return {
    c() {
      e = y("button"), t = y("p"), t.textContent = `${/*size*/
      r[101]}`, a = T(), s(e, "class", "dropDownRow");
    },
    m(p, d) {
      A(p, e, d), l(e, t), l(e, a), o || (n = Pe(e, "click", i), o = !0);
    },
    p(p, d) {
      r = p;
    },
    d(p) {
      p && B(e), o = !1, n();
    }
  };
}
function jr(r) {
  let e;
  return {
    c() {
      e = y("div"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="30px"></ui-skeleton>', s(e, "class", "headerText skeleton");
    },
    m(t, a) {
      A(t, e, a);
    },
    d(t) {
      t && B(e);
    }
  };
}
function Lr(r) {
  let e;
  return {
    c() {
      e = y("button"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="10px"></ui-skeleton>', s(e, "class", "historyReturnButton skeleton");
    },
    m(t, a) {
      A(t, e, a);
    },
    d(t) {
      t && B(e);
    }
  };
}
function Hr(r) {
  let e;
  return {
    c() {
      e = y("div"), e.innerHTML = '<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ', s(e, "class", "toggleContent");
    },
    m(t, a) {
      A(t, e, a);
    },
    p: Ie,
    d(t) {
      t && B(e);
    }
  };
}
function Nr(r) {
  let e;
  return {
    c() {
      e = y("div"), e.innerHTML = '<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> ';
    },
    m(t, a) {
      A(t, e, a);
    },
    p: Ie,
    d(t) {
      t && B(e);
    }
  };
}
function Er(r) {
  let e;
  return {
    c() {
      e = y("div"), e.innerHTML = '<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> ';
    },
    m(t, a) {
      A(t, e, a);
    },
    p: Ie,
    d(t) {
      t && B(e);
    }
  };
}
function Gr(r) {
  let e, t, a, o = L({ length: 6 }), n = [];
  for (let i = 0; i < o.length; i += 1)
    n[i] = Er(wr(r, o, i));
  return {
    c() {
      e = y("div"), t = y("div");
      for (let i = 0; i < n.length; i += 1)
        n[i].c();
      a = T(), s(t, "class", "tableData"), s(e, "class", "tableRow");
    },
    m(i, p) {
      A(i, e, p), l(e, t);
      for (let d = 0; d < n.length; d += 1)
        n[d] && n[d].m(t, null);
      l(e, a);
    },
    p: Ie,
    d(i) {
      i && B(e), Q(n, i);
    }
  };
}
function Or(r) {
  let e;
  function t(n, i) {
    return (
      /*isLoading*/
      n[11] ? Sr : Tr
    );
  }
  let a = t(r), o = a(r);
  return {
    c() {
      e = y("div"), o.c();
    },
    m(n, i) {
      A(n, e, i), o.m(e, null), r[68](e);
    },
    p(n, i) {
      a === (a = t(n)) && o ? o.p(n, i) : (o.d(1), o = a(n), o && (o.c(), o.m(e, null)));
    },
    i: Ie,
    o: Ie,
    d(n) {
      n && B(e), o.d(), r[68](null);
    }
  };
}
function Vr(r, e, t) {
  let a;
  nr(r, br, (h) => t(3, a = h)), et.extend(gr);
  let { endpoint: o = "" } = e, { playerid: n = "" } = e, { session: i = "" } = e, { lang: p = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: C = "" } = e, { mbsource: D } = e, { historytypes: S = "Casino, Sports, Payments" } = e, { hidecolumns: W = "" } = e, { hidevalues: w = "" } = e, { pagesizeoptions: I = "10, 20, 30, 50, 100" } = e, { playercurrency: x = "" } = e, { defaultpagesize: G = "5" } = e, { formatamount: R = "{currency}{amount}.{2decimals}" } = e, { customcurrencysymbols: F } = e, { dateformat: j = "DD/MM/YYYY" } = e;
  fr({
    withLocale: p || "en",
    translations: {}
  });
  let H = j.toUpperCase(), ae = window.navigator.userAgent, b = "", g = "", c = "", k = "", De = "", pe = "", X = "", We = Number(G), ie = 1, Ge = sr(ae) !== "PC", ge = !0, oe = !1, fe = !1, Re = !1, V, Z, ne, Y, $ = [];
  const ee = [], _e = { EUR: "€", RON: " lei", USD: "$" }, he = { payments: [], casino: [], sports: [] }, je = {
    payments: ["Type", "Status", "Amount", "Date", "Transaction ID"],
    casino: [
      "Game Name",
      "Date",
      "Bet Amount",
      "Win Amount",
      "Transaction ID",
      "Play Type",
      "Method"
    ],
    sports: [
      "Stake",
      "Price",
      "Selection",
      "Market",
      "Sport",
      "Date",
      "Description",
      "Bet Type",
      "Free Bet",
      "Win Type",
      "Winnings",
      "Bet Adjustment",
      "Bet ID"
    ]
  }, Oe = {
    payments: [
      "paymentType",
      "paymentState",
      "paymentAmount",
      "paymentCreatedOn",
      "withdrawalId"
    ],
    casino: ["game_type_name", "game_finished_on", "stake", "won", "game_id", "play_type"],
    sports: [
      "stake",
      "bet_Part.price",
      "bet_Part.selection_name",
      "bet_Part.market_name",
      "bet_Part.category",
      "bet_settled_on",
      "bet_description",
      "bet_Type",
      "is_Freebet",
      "win_Type",
      "winnings",
      "-",
      "bet_id"
    ]
  }, me = () => ({
    payments: {
      paymentType: a("Type"),
      paymentState: a("Status"),
      paymentAmount: a("Amount"),
      paymentCreatedOn: a("Date"),
      withdrawalId: a("Transaction ID")
    },
    casino: {
      game_type_name: a("Game Name"),
      game_finished_on: a("Date"),
      stake: a("Bet Amount"),
      won: a("Win Amount"),
      game_id: a("Transaction ID"),
      play_type: a("Play Type")
    },
    sports: {
      stake: a("Stake"),
      "bet_Part.price": a("Price"),
      "bet_Part.selection_name": a("Selection"),
      "bet_Part.market_name": a("Market"),
      "bet_Part.category": a("Sport"),
      bet_settled_on: a("Date"),
      bet_description: a("Description"),
      bet_Type: a("Bet Type"),
      is_Freebet: a("Free Bet"),
      win_Type: a("Win Type"),
      winnings: a("Winnings"),
      "-": a("Bet Adjustment"),
      bet_id: a("Bet ID")
    }
  });
  let Le = me();
  const He = [
    "stake",
    "bet_Part.price",
    "bet_Part.selection_name",
    "bet_Part.market_name",
    "bet_Part.category"
  ], xe = Object.keys(me().sports), Ye = xe.filter((h) => !He.includes(h)), we = ["stake", "won", "winnings", "bet_Part.price", "paymentAmount"], Me = ["bet_Part.price"], Ve = W.replace(/\s/g, "").split(","), ze = w.replace(/\s/g, "").split(","), de = {}, M = {
    filterButton: !0,
    nextPage: !0,
    previousPage: !0,
    pageSize: !0
  }, ce = I.split(", ");
  let Ce = {}, qe, Be = /* @__PURE__ */ new Date(), Ke = new Date(Be);
  Ke.setMonth(Be.getMonth() - 1), c = Be.toISOString().split("T")[0], pe = c, k = Ke.toISOString().split("T")[0], De = k;
  const ve = () => {
    fetch(C).then((m) => m.json()).then((m) => {
      Object.keys(m).forEach((v) => {
        dt(v, m[v]);
      });
    }).catch((m) => {
      console.log(m);
    });
  };
  Object.keys(ct).forEach((h) => {
    dt(h, ct[h]);
  });
  const Je = () => {
    S.split(", ").forEach((h, m) => {
      const v = { type: h, checked: m === 0 };
      v.checked && t(8, X = v.type.toLocaleLowerCase()), ee.push(v);
    });
  }, Ue = (h) => {
    ee.forEach((m, v) => {
      t(17, ee[v].checked = h === v, ee), ee[v].checked && t(8, X = m.type.toLocaleLowerCase());
    }), te();
  }, te = () => {
    if (!M.filterButton)
      return;
    t(11, ge = !0), t(13, fe = !1), t(14, Re = !1), t(21, M.filterButton = !1, M), t(21, M.nextPage = !1, M), t(21, M.previousPage = !1, M), t(21, M.pageSize = !1, M);
    let h = new URL(`${o}/v1/player/${n}/fsb/transactions/${X}`);
    h.searchParams.append("offset", (ie - 1).toString() || "0"), h.searchParams.append("limit", We.toString() || "5"), h.searchParams.append("startDate", De), h.searchParams.append("endDate", pe);
    let m = {
      method: "GET",
      headers: {
        "X-SessionId": i,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    };
    fetch(h.href, m).then((v) => u(v)).then((v) => {
      if (v.transactions.length === 0) {
        t(14, Re = !0);
        return;
      }
      v.pagination.next && t(21, M.nextPage = !0, M), v.pagination.previous && t(21, M.previousPage = !0, M), t(21, M.pageSize = !0, M), t(18, he[X] = [], he), t(12, oe = !1), Ee(), q(v);
    }).catch((v) => {
      t(13, fe = !0), t(21, M.nextPage = !1, M), t(21, M.previousPage = !1, M), t(21, M.pageSize = !1, M), window.postMessage(
        {
          type: "WidgetNotification",
          data: { type: "error", message: v }
        },
        window.location.href
      );
    }).finally(() => {
      t(11, ge = !1), t(21, M.filterButton = !0, M);
    });
  }, Ae = (h) => {
    t(6, De = h.target.value);
  }, Ne = (h) => {
    t(7, pe = h.target.value);
  }, Ze = () => {
    M.pageSize && t(12, oe = !oe);
  }, ye = (h) => {
    t(9, We = h), t(10, ie = 1), te();
  }, ue = (h, m) => {
    if (m === "next") {
      if (!M.nextPage)
        return;
      t(10, ie = h + 1), te();
    } else {
      if (!M.previousPage)
        return;
      t(10, ie = h - 1), te();
    }
  }, q = (h) => {
    h.transactions.forEach((m, v) => {
      t(18, he[X][v] = {}, he), Oe[X].forEach((P) => {
        if (!ze.includes(P.toLocaleLowerCase())) {
          if (R && x && we.includes(P))
            if (P.includes(".")) {
              let se = P.split(".");
              m[se[0]].forEach((Se) => {
                Se[se[1]] = Qe(Se, se[1]);
              });
            } else
              m[P] = Qe(m, P);
          if (new Date(m[P]).getTime() && typeof m[P] != "number" && K(m, P), P.includes(".")) {
            let se = P.split(".")[0], Se = P.split(".")[1];
            m[P] = { label: "Multiple", submenu: [] }, m[se].forEach((Fe) => {
              Fe[Se] && m[P].submenu.push(Fe[Se]);
            });
          }
          if (P in m)
            return t(18, he[X][v][P] = m[P], he);
        }
      });
    });
  }, ke = () => {
    if (!F)
      return;
    let h = {};
    F.split(",").forEach((m) => {
      let v = m.split(":");
      h[v[0].trim()] = v[1].trim();
    }), Object.entries(h).forEach(([m, v]) => _e[m] = v);
  }, K = (h, m) => {
    h[m] = et(h[m]).format(H);
  }, Qe = (h, m) => {
    let v = Me.some(($e) => $e.includes(m)), P = typeof h[m] == "string" ? parseInt(h[m]) : h[m], se = Object.keys(h).find(($e) => $e.includes("currency") || $e.includes("Currency")), Se = h[se] || x, Fe = R;
    const rt = Fe.match(/\{(\d+)decimals\}/), qt = rt ? parseInt(rt[1], 10) : 2, Kt = rt ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
    P = P.toFixed(qt);
    const [Jt, at] = R.includes(".") ? [",", "."] : [".", ","];
    let [it, Ut] = P.split(".");
    return it = it.replace(/\B(?=(\d{3})+(?!\d))/g, Jt), P = `${it}${at}${Ut}`, Fe = Fe.replace("{currency}", v ? "" : _e[Se] || Se).replace("{amount}", P.split(at)[0]).replace(
      Kt,
      P.split(at)[1]
    ), Fe;
  }, Ee = () => {
    Object.keys(de).forEach((h) => t(20, de[h] = !1, de));
  }, re = (h) => st(this, null, function* () {
    t(20, de[h] = !de[h], de), yield pr();
    const m = $[h];
    if (Y && m && de[h]) {
      const P = m.offsetTop + m.offsetHeight - Y.clientHeight;
      Y.scrollTo({ top: P, behavior: "smooth" });
    }
  }), Te = (h, m) => {
    let v = 0;
    return m.forEach((P) => {
      var se;
      (se = h[P]) != null && se.submenu && Array.isArray(h[P].submenu) && (v = Math.max(v, h[P].submenu.length));
    }), Array.from({ length: v }, (P, se) => se);
  }, O = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: Ge
      },
      window.location.href
    );
  }, u = (h) => st(this, null, function* () {
    var m;
    return h.status === 404 ? (t(4, g = a("checkPeriod")), Promise.reject(g)) : h.status >= 300 ? (Ce = yield h.json(), b = (m = Ce.thirdPartyResponse) == null ? void 0 : m.errorCode, t(4, g = a(b || "generalError")), Promise.reject(g)) : h.json();
  }), z = () => {
    V.addEventListener("change", Ae, !1), Z.addEventListener("change", Ne, !1);
    const h = (v) => et(new Date(v.year, v.month, v.day)).format(H), m = (v) => {
      const P = et(v, H);
      return {
        year: P.year(),
        month: P.month(),
        day: P.date()
      };
    };
    t(
      0,
      V.i18n = nt(ot({}, V.i18n), {
        formatDate: h,
        parseDate: m
      }),
      V
    ), t(
      1,
      Z.i18n = nt(ot({}, V.i18n), {
        formatDate: h,
        parseDate: m
      }),
      Z
    );
  };
  lr(() => () => {
    V && V.removeEventListener("change", Ae), Z && Z.removeEventListener("change", Ne);
  });
  const f = () => O(), be = (h) => Ue(h);
  function Ft(h) {
    Xe[h ? "unshift" : "push"](() => {
      V = h, t(0, V);
    });
  }
  function It(h) {
    Xe[h ? "unshift" : "push"](() => {
      Z = h, t(1, Z);
    });
  }
  const Rt = () => te(), jt = (h) => re(h);
  function Lt(h, m) {
    Xe[h ? "unshift" : "push"](() => {
      $[m] = h, t(16, $);
    });
  }
  function Ht(h) {
    Xe[h ? "unshift" : "push"](() => {
      Y = h, t(15, Y);
    });
  }
  const Nt = () => ue(ie, "previous"), Et = () => ue(ie, "next"), Gt = (h) => ye(h), Ot = () => Ze();
  function Vt(h) {
    Xe[h ? "unshift" : "push"](() => {
      ne = h, t(2, ne);
    });
  }
  return r.$$set = (h) => {
    "endpoint" in h && t(39, o = h.endpoint), "playerid" in h && t(40, n = h.playerid), "session" in h && t(41, i = h.session), "lang" in h && t(42, p = h.lang), "clientstyling" in h && t(43, d = h.clientstyling), "clientstylingurl" in h && t(44, _ = h.clientstylingurl), "translationurl" in h && t(45, C = h.translationurl), "mbsource" in h && t(46, D = h.mbsource), "historytypes" in h && t(47, S = h.historytypes), "hidecolumns" in h && t(48, W = h.hidecolumns), "hidevalues" in h && t(49, w = h.hidevalues), "pagesizeoptions" in h && t(50, I = h.pagesizeoptions), "playercurrency" in h && t(51, x = h.playercurrency), "defaultpagesize" in h && t(52, G = h.defaultpagesize), "formatamount" in h && t(53, R = h.formatamount), "customcurrencysymbols" in h && t(54, F = h.customcurrencysymbols), "dateformat" in h && t(55, j = h.dateformat);
  }, r.$$.update = () => {
    r.$$.dirty[1] & /*lang*/
    2048 && p && mr(p), r.$$.dirty[0] & /*$_*/
    8 && t(19, Le = me()), r.$$.dirty[1] & /*historytypes*/
    65536 && S && Je(), r.$$.dirty[1] & /*endpoint, playerid, session*/
    1792 && o && n && i && te(), r.$$.dirty[1] & /*customcurrencysymbols*/
    8388608 && F && ke(), r.$$.dirty[0] & /*startCalendar, endCalendar*/
    3 && V && Z && z(), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*clientstyling*/
    4096 && d && ne && dr(ne, d), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*clientstylingurl*/
    8192 && _ && ne && cr(ne, _), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*mbsource*/
    32768 && D && ne && yr(ne, `${D}.Style`, qe), r.$$.dirty[1] & /*translationurl*/
    16384 && C && ve();
  }, [
    V,
    Z,
    ne,
    a,
    g,
    c,
    De,
    pe,
    X,
    We,
    ie,
    ge,
    oe,
    fe,
    Re,
    Y,
    $,
    ee,
    he,
    Le,
    de,
    M,
    Ge,
    je,
    Oe,
    He,
    xe,
    Ye,
    Ve,
    ze,
    ce,
    Ue,
    te,
    Ze,
    ye,
    ue,
    re,
    Te,
    O,
    o,
    n,
    i,
    p,
    d,
    _,
    C,
    D,
    S,
    W,
    w,
    I,
    x,
    G,
    R,
    F,
    j,
    f,
    be,
    Ft,
    It,
    Rt,
    jt,
    Lt,
    Ht,
    Nt,
    Et,
    Gt,
    Ot,
    Vt
  ];
}
class qr extends rr {
  constructor(e) {
    super(), ar(
      this,
      e,
      Vr,
      Or,
      ir,
      {
        endpoint: 39,
        playerid: 40,
        session: 41,
        lang: 42,
        clientstyling: 43,
        clientstylingurl: 44,
        translationurl: 45,
        mbsource: 46,
        historytypes: 47,
        hidecolumns: 48,
        hidevalues: 49,
        pagesizeoptions: 50,
        playercurrency: 51,
        defaultpagesize: 52,
        formatamount: 53,
        customcurrencysymbols: 54,
        dateformat: 55
      },
      Cr,
      [-1, -1, -1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[39];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), J();
  }
  get playerid() {
    return this.$$.ctx[40];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), J();
  }
  get session() {
    return this.$$.ctx[41];
  }
  set session(e) {
    this.$$set({ session: e }), J();
  }
  get lang() {
    return this.$$.ctx[42];
  }
  set lang(e) {
    this.$$set({ lang: e }), J();
  }
  get clientstyling() {
    return this.$$.ctx[43];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), J();
  }
  get clientstylingurl() {
    return this.$$.ctx[44];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), J();
  }
  get translationurl() {
    return this.$$.ctx[45];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), J();
  }
  get mbsource() {
    return this.$$.ctx[46];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), J();
  }
  get historytypes() {
    return this.$$.ctx[47];
  }
  set historytypes(e) {
    this.$$set({ historytypes: e }), J();
  }
  get hidecolumns() {
    return this.$$.ctx[48];
  }
  set hidecolumns(e) {
    this.$$set({ hidecolumns: e }), J();
  }
  get hidevalues() {
    return this.$$.ctx[49];
  }
  set hidevalues(e) {
    this.$$set({ hidevalues: e }), J();
  }
  get pagesizeoptions() {
    return this.$$.ctx[50];
  }
  set pagesizeoptions(e) {
    this.$$set({ pagesizeoptions: e }), J();
  }
  get playercurrency() {
    return this.$$.ctx[51];
  }
  set playercurrency(e) {
    this.$$set({ playercurrency: e }), J();
  }
  get defaultpagesize() {
    return this.$$.ctx[52];
  }
  set defaultpagesize(e) {
    this.$$set({ defaultpagesize: e }), J();
  }
  get formatamount() {
    return this.$$.ctx[53];
  }
  set formatamount(e) {
    this.$$set({ formatamount: e }), J();
  }
  get customcurrencysymbols() {
    return this.$$.ctx[54];
  }
  set customcurrencysymbols(e) {
    this.$$set({ customcurrencysymbols: e }), J();
  }
  get dateformat() {
    return this.$$.ctx[55];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), J();
  }
}
ur(qr, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, historytypes: {}, hidecolumns: {}, hidevalues: {}, pagesizeoptions: {}, playercurrency: {}, defaultpagesize: {}, formatamount: {}, customcurrencysymbols: {}, dateformat: {} }, [], [], !0);
export {
  qr as default
};
