@everymatrix/casino-search-nd 1.98.0 → 1.98.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ "use strict";var He=(n,t,a)=>new Promise((i,l)=>{var o=f=>{try{m(a.next(f))}catch(d){l(d)}},s=f=>{try{m(a.throw(f))}catch(d){l(d)}},m=f=>f.done?i(f.value):Promise.resolve(f.value).then(o,s);m((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoSearchNd-BorJLo_g.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function Ut(n,t){e.addMessages(n,t)}function Kt(n){e.$locale.set(n)}const Vt={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},tt={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Wt(n){e.append_styles(n,"svelte-qfsi1f",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameContainer.WithGameName.pb-0:not(.CasinoGamesGridSlider){padding-bottom:0px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px;margin-left:auto}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;z-index:20}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;padding:8px 10px;pointer-events:none;z-index:10;height:100%}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{display:flex;justify-content:space-between;align-items:center;width:100%;pointer-events:auto;gap:6px;min-width:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{margin-bottom:2px}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:11px;font-weight:600;color:#ffffff;text-shadow:0 1px 3px rgba(0, 0, 0, 0.9);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{display:flex;align-items:center;gap:3px;background:rgba(0, 0, 0, 0.75);padding:2px 5px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:600;flex-shrink:0;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9)}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers svg{fill:#ffffff !important;width:10px;height:10px;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{background:rgba(0, 0, 0, 0.65);padding:2px 4px;border-radius:4px;display:inline-flex !important;flex-direction:row !important;align-items:center !important;gap:2px !important;flex-shrink:1;min-width:0;overflow:hidden}.GameInnerContainer.HasDisplayGameTiles .FullTable{display:inline-flex !important;background:rgba(180, 0, 0, 0.85) !important;color:#ffffff !important;padding:2px 5px !important;border-radius:3px;font-size:9px !important;font-weight:600;white-space:nowrap;text-transform:uppercase}.GameInnerContainer.HasDisplayGameTiles .LatestResult{background:rgba(30, 30, 30, 0.9) !important;border:1px solid rgba(255, 255, 255, 0.3) !important;color:#ffffff !important;padding:1px 3px !important;border-radius:3px;font-size:10px !important;font-weight:bold;min-width:14px;text-align:center;display:inline-block;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat{display:inline-flex !important;width:10px !important;height:10px !important;margin:0 1px !important;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{width:100% !important;height:100% !important}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg{fill:rgba(255, 255, 255, 0.25) !important;stroke:#ffffff !important;stroke-width:1px}.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{fill:#ffffff !important;stroke:#ffffff !important}.GameInnerContainer.HasDisplayGameTiles .CornerRoulette{background:transparent !important;padding:0 !important;min-width:0;overflow:hidden;flex-shrink:1}.GameInnerContainer.HasDisplayGameTiles .CornerLimits{background:rgba(0, 0, 0, 0.75);padding:3px 6px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:500;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;min-width:0;max-width:75%;margin-left:auto}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}@media(max-width: 768px){.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding:4px 6px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop{flex-direction:column !important;align-items:flex-start !important;gap:1px !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{width:100% !important;max-width:100% !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopRight{align-self:flex-start !important}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:10px;white-space:normal !important;word-break:break-word;line-height:1.1}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{font-size:8.5px;padding:1px 3px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{flex-direction:column !important;align-items:stretch !important;gap:2px !important;margin-bottom:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{width:100% !important;max-width:100% !important;justify-content:center !important;flex-wrap:wrap !important;overflow:visible !important;background:rgba(0, 0, 0, 0.75) !important;padding:1px 2px !important;border-radius:3px;order:1}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons:empty{display:none !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .LatestResult{font-size:7.5px !important;padding:0px 1px !important;min-width:9px !important;border-width:1px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double{display:flex;flex-direction:column;gap:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double .LatestResult{font-size:7px !important;padding:0px 1px !important;min-width:8px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .FullTable{font-size:7.5px !important;padding:1px 2px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .ClosedSeat{width:7px !important;height:7px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .CornerLimits{width:100% !important;max-width:100% !important;margin-left:0 !important;text-align:center !important;font-size:9px !important;padding:1px 4px !important;order:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px)}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding-top:5px}}')}function at(n,t,a){const i=n.slice();return i[114]=t[a],i[116]=a,i}function nt(n,t,a){const i=n.slice();return i[111]=t[a],i}function it(n){let t,a,i,l=!e.isMobile(n[39]),o,s,m=n[38]("playNow")+"",f,d,w,y=l&&Zt();return{c(){t=e.element("div"),a=e.element("div"),i=e.element("button"),y&&y.c(),o=e.space(),s=e.element("span"),f=e.text(m),e.attr(i,"class","GameInfoBtn"),e.attr(a,"class","GameInfo"),e.attr(t,"class","GameInfoWrapper")},m(C,v){e.insert(C,t,v),e.append(t,a),e.append(a,i),y&&y.m(i,null),e.append(i,o),e.append(i,s),e.append(s,f),d||(w=e.listen(t,"click",n[72]),d=!0)},p(C,v){v[1]&128&&m!==(m=C[38]("playNow")+"")&&e.set_data(f,m)},d(C){C&&e.detach(t),y&&y.d(),d=!1,w()}}}function Zt(n){let t,a,i,l,o,s;return{c(){t=e.svg_element("svg"),a=e.svg_element("g"),i=e.svg_element("g"),l=e.svg_element("path"),o=e.svg_element("path"),s=e.svg_element("path"),e.attr(l,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),e.attr(l,"stroke","none"),e.attr(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),e.attr(o,"stroke","none"),e.attr(o,"fill","#fff"),e.attr(i,"id","Ellipse_664_copy"),e.attr(i,"data-name","Ellipse 664 copy"),e.attr(i,"transform","translate(26 13)"),e.attr(i,"fill","rgba(249,165,2,0)"),e.attr(s,"id","Rounded_Rectangle_683"),e.attr(s,"data-name","Rounded Rectangle 683"),e.attr(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),e.attr(s,"transform","translate(-1102 -885)"),e.attr(s,"fill","#fff"),e.attr(a,"id","Group_5260"),e.attr(a,"data-name","Group 5260"),e.attr(a,"transform","translate(-26 -13)"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","28"),e.attr(t,"height","28"),e.attr(t,"viewBox","0 0 28 28")},m(m,f){e.insert(m,t,f),e.append(t,a),e.append(a,i),e.append(i,l),e.append(i,o),e.append(a,s)},d(m){m&&e.detach(t)}}}function jt(n){let t,a,i=n[45](n[35])+"",l,o,s=n[44](n[27],n[28],n[26])+"";return{c(){t=e.element("div"),a=new e.HtmlTag(!1),l=e.space(),o=new e.HtmlTag(!1),a.a=l,o.a=null,e.attr(t,"class","LiveProps")},m(m,f){e.insert(m,t,f),a.m(i,t),e.append(t,l),o.m(s,t)},p(m,f){f[1]&16&&i!==(i=m[45](m[35])+"")&&a.p(i),f[0]&469762048&&s!==(s=m[44](m[27],m[28],m[26])+"")&&o.p(s)},d(m){m&&e.detach(t)}}}function Jt(n){let t,a,i,l,o,s,m,f,d,w=n[7]&&rt(n),y=n[8]&&lt(n),C=n[35]&&ot(n),v=n[36]&&st(n),b=(n[15]||n[13])&&mt(n),R=n[27]!=null&&ct(n);return{c(){t=e.element("div"),a=e.element("div"),w&&w.c(),i=e.space(),y&&y.c(),l=e.space(),C&&C.c(),o=e.space(),s=e.element("div"),v&&v.c(),m=e.space(),f=e.element("div"),b&&b.c(),d=e.space(),R&&R.c(),e.attr(a,"class","InfoTopLeft"),e.attr(s,"class","InfoTopRight"),e.attr(t,"class","GameExtraInfoTop"),e.attr(f,"class","GameExtraInfoBottom")},m(g,_){e.insert(g,t,_),e.append(t,a),w&&w.m(a,null),e.append(a,i),y&&y.m(a,null),e.append(a,l),C&&C.m(a,null),e.append(t,o),e.append(t,s),v&&v.m(s,null),e.insert(g,m,_),e.insert(g,f,_),b&&b.m(f,null),e.append(f,d),R&&R.m(f,null)},p(g,_){g[7]?w?w.p(g,_):(w=rt(g),w.c(),w.m(a,i)):w&&(w.d(1),w=null),g[8]?y?y.p(g,_):(y=lt(g),y.c(),y.m(a,l)):y&&(y.d(1),y=null),g[35]?C?C.p(g,_):(C=ot(g),C.c(),C.m(a,null)):C&&(C.d(1),C=null),g[36]?v?v.p(g,_):(v=st(g),v.c(),v.m(s,null)):v&&(v.d(1),v=null),g[15]||g[13]?b?b.p(g,_):(b=mt(g),b.c(),b.m(f,d)):b&&(b.d(1),b=null),g[27]!=null?R?R.p(g,_):(R=ct(g),R.c(),R.m(f,null)):R&&(R.d(1),R=null)},d(g){g&&(e.detach(t),e.detach(m),e.detach(f)),w&&w.d(),y&&y.d(),C&&C.d(),v&&v.d(),b&&b.d(),R&&R.d()}}}function rt(n){let t,a=n[38]("new")+"",i;return{c(){t=e.element("span"),i=e.text(a),e.attr(t,"class","GameExtraInfoLabel NewGameTag")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[1]&128&&a!==(a=l[38]("new")+"")&&e.set_data(i,a)},d(l){l&&e.detach(t)}}}function lt(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[8]),e.attr(t,"class","GameExtraInfoLabel PopularGameTag")},m(i,l){e.insert(i,t,l),e.append(t,a)},p(i,l){l[0]&256&&e.set_data(a,i[8])},d(i){i&&e.detach(t)}}}function ot(n){let t,a=n[38]("dealer")+"",i,l,o;return{c(){t=e.element("span"),i=e.text(a),l=e.text(": "),o=e.text(n[35]),e.attr(t,"class","DealerName")},m(s,m){e.insert(s,t,m),e.append(t,i),e.append(t,l),e.append(t,o)},p(s,m){m[1]&128&&a!==(a=s[38]("dealer")+"")&&e.set_data(i,a),m[1]&16&&e.set_data(o,s[35])},d(s){s&&e.detach(t)}}}function st(n){let t,a,i,l,o,s;return{c(){t=e.element("span"),a=e.svg_element("svg"),i=e.svg_element("path"),l=e.space(),o=e.element("span"),s=e.text(n[36]),e.attr(i,"d","M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"),e.attr(a,"fill","var(--emw--casino-thumbnail-animation-color, #FFFFFF);"),e.attr(a,"width","13"),e.attr(a,"height","13"),e.attr(a,"viewBox","0 0 13 14"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"class","NrOfPlayers"),e.attr(t,"class","BetLimitRight CornerPlayers")},m(m,f){e.insert(m,t,f),e.append(t,a),e.append(a,i),e.append(t,l),e.append(t,o),e.append(o,s)},p(m,f){f[1]&32&&e.set_data(s,m[36])},d(m){m&&e.detach(t)}}}function mt(n){let t;function a(o,s){if(!o[23]&&o[21]&&o[22])return qt;if(o[23]&&o[20]&&o[20]===ve)return Xt;if(o[23]&&o[20]&&o[20]===Ue&&o[16]&&o[16].length>0)return Yt}let i=a(n),l=i&&i(n);return{c(){l&&l.c(),t=e.empty()},m(o,s){l&&l.m(o,s),e.insert(o,t,s)},p(o,s){i===(i=a(o))&&l?l.p(o,s):(l&&l.d(1),l=i&&i(o),l&&(l.c(),l.m(t.parentNode,t)))},d(o){o&&e.detach(t),l&&l.d(o)}}}function Yt(n){let t,a,i,l=e.ensure_array_like(new Array(wt)),o=[];for(let s=0;s<l.length;s+=1)o[s]=pt(at(n,l,s));return{c(){t=e.element("div"),a=e.element("div");for(let s=0;s<o.length;s+=1)o[s].c();e.attr(a,"class","LiveIcons"),e.attr(t,"class",i=n[31]+" CornerRoulette")},m(s,m){e.insert(s,t,m),e.append(t,a);for(let f=0;f<o.length;f+=1)o[f]&&o[f].m(a,null);n[73](a)},p(s,m){if(m[0]&1073807360|m[1]&32770){l=e.ensure_array_like(new Array(wt));let f;for(f=0;f<l.length;f+=1){const d=at(s,l,f);o[f]?o[f].p(d,m):(o[f]=pt(d),o[f].c(),o[f].m(a,null))}for(;f<o.length;f+=1)o[f].d(1);o.length=l.length}m[1]&1&&i!==(i=s[31]+" CornerRoulette")&&e.attr(t,"class",i)},d(s){s&&e.detach(t),e.destroy_each(o,s),n[73](null)}}}function Xt(n){let t,a;function i(s,m){return s[33]?ta:ea}let l=i(n),o=l(n);return{c(){t=e.element("div"),a=e.element("div"),o.c(),e.attr(a,"class","LiveIcons"),e.attr(t,"class","GameProp LiveProps BlackjackDisplay")},m(s,m){e.insert(s,t,m),e.append(t,a),o.m(a,null)},p(s,m){l===(l=i(s))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(a,null)))},d(s){s&&e.detach(t),o.d()}}}function qt(n){let t,a=n[38]("opens")+"",i,l,o,s=e.format(new Date(n[21]),n[22])+"",m;return{c(){t=e.element("div"),i=e.text(a),l=e.space(),o=e.element("span"),m=e.text(s),e.attr(t,"class","ClosedGame")},m(f,d){e.insert(f,t,d),e.append(t,i),e.append(t,l),e.append(t,o),e.append(o,m)},p(f,d){d[1]&128&&a!==(a=f[38]("opens")+"")&&e.set_data(i,a),d[0]&6291456&&s!==(s=e.format(new Date(f[21]),f[22])+"")&&e.set_data(m,s)},d(f){f&&e.detach(t)}}}function ft(n){let t,a;function i(s,m){return m[0]&1073807360&&(t=null),t==null&&(t=!!(s[30]&&Array.isArray(s[16][s[116]])&&s[16][s[116]].length>=2)),t?$t:Qt}let l=i(n,[-1,-1,-1,-1]),o=l(n);return{c(){o.c(),a=e.empty()},m(s,m){o.m(s,m),e.insert(s,a,m)},p(s,m){l===(l=i(s,m))&&o?o.p(s,m):(o.d(1),o=l(s),o&&(o.c(),o.m(a.parentNode,a)))},d(s){s&&e.detach(a),o.d(s)}}}function Qt(n){let t,a=n[46](`LatestResult ${n[116]===0?"First":""}`,n[116],Array.isArray(n[16][n[116]])?n[16][n[116]][0]:n[16][n[116]],n[32][Array.isArray(n[16][n[116]])?n[16][n[116]][0]:n[16][n[116]]])+"",i;return{c(){t=new e.HtmlTag(!1),i=e.empty(),t.a=i},m(l,o){t.m(a,l,o),e.insert(l,i,o)},p(l,o){o[0]&65536|o[1]&2&&a!==(a=l[46](`LatestResult ${l[116]===0?"First":""}`,l[116],Array.isArray(l[16][l[116]])?l[16][l[116]][0]:l[16][l[116]],l[32][Array.isArray(l[16][l[116]])?l[16][l[116]][0]:l[16][l[116]]])+"")&&t.p(a)},d(l){l&&(e.detach(i),t.d())}}}function $t(n){let t,a,i=n[46](`LatestResult ${n[116]===0?"First":""}`,`first${n[116]}${n[16][n[116]][0]}`,n[16][n[116]][0],n[32][n[16][n[116]][0]])+"",l,o,s=n[46](`LatestResult ${n[116]===0?"First":""}`,`second${n[116]}${n[16][n[116]][1]}`,n[16][n[116]][1],n[32][n[16][n[116]][1]])+"",m;return{c(){t=e.element("div"),a=new e.HtmlTag(!1),l=e.space(),o=new e.HtmlTag(!1),m=e.space(),a.a=l,o.a=m,e.attr(t,"class","Double")},m(f,d){e.insert(f,t,d),a.m(i,t),e.append(t,l),o.m(s,t),e.append(t,m)},p(f,d){d[0]&65536|d[1]&2&&i!==(i=f[46](`LatestResult ${f[116]===0?"First":""}`,`first${f[116]}${f[16][f[116]][0]}`,f[16][f[116]][0],f[32][f[16][f[116]][0]])+"")&&a.p(i),d[0]&65536|d[1]&2&&s!==(s=f[46](`LatestResult ${f[116]===0?"First":""}`,`second${f[116]}${f[16][f[116]][1]}`,f[16][f[116]][1],f[32][f[16][f[116]][1]])+"")&&o.p(s)},d(f){f&&e.detach(t)}}}function pt(n){let t,a=n[16][n[116]]!==void 0&&ft(n);return{c(){a&&a.c(),t=e.empty()},m(i,l){a&&a.m(i,l),e.insert(i,t,l)},p(i,l){i[16][i[116]]!==void 0?a?a.p(i,l):(a=ft(i),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(i){i&&e.detach(t),a&&a.d(i)}}}function ea(n){let t,a=e.ensure_array_like(n[25]),i=[];for(let l=0;l<a.length;l+=1)i[l]=dt(nt(n,a,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&570425344|o[1]&4096){a=e.ensure_array_like(l[25]);let s;for(s=0;s<a.length;s+=1){const m=nt(l,a,s);i[s]?i[s].p(m,o):(i[s]=dt(m),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=a.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ta(n){let t,a=n[38]("full")+"",i;return{c(){t=e.element("span"),i=e.text(a),e.attr(t,"class","FullTable")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[1]&128&&a!==(a=l[38]("full")+"")&&e.set_data(i,a)},d(l){l&&e.detach(t)}}}function dt(n){let t,a,i,l,o,s;return{c(){t=e.element("span"),a=e.svg_element("svg"),i=e.svg_element("path"),l=e.svg_element("path"),o=e.space(),e.attr(i,"d","M11.58 6c-1.7 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),e.attr(l,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","13"),e.attr(a,"height","14"),e.attr(a,"viewBox","0 0 13 14"),e.attr(t,"class",s=n[43](n[29],n[111].toString())?"ClosedSeat":"OpenSeat")},m(m,f){e.insert(m,t,f),e.append(t,a),e.append(a,i),e.append(a,l),e.append(t,o)},p(m,f){f[0]&570425344&&s!==(s=m[43](m[29],m[111].toString())?"ClosedSeat":"OpenSeat")&&e.attr(t,"class",s)},d(m){m&&e.detach(t)}}}function ct(n){let t,a,i,l,o=n[42](n[27])+"",s,m=n[28]!=null?` - ${n[42](n[28])}`:"+",f;return{c(){t=e.element("div"),a=e.element("span"),i=e.text(n[26]),l=e.space(),s=e.text(o),f=e.text(m),e.attr(t,"class","CornerLimits")},m(d,w){e.insert(d,t,w),e.append(t,a),e.append(a,i),e.append(t,l),e.append(t,s),e.append(t,f)},p(d,w){w[0]&67108864&&e.set_data(i,d[26]),w[0]&134217728&&o!==(o=d[42](d[27])+"")&&e.set_data(s,o),w[0]&268435456&&m!==(m=d[28]!=null?` - ${d[42](d[28])}`:"+")&&e.set_data(f,m)},d(d){d&&e.detach(t)}}}function ut(n){let t,a,i=n[5]&&gt(n);function l(m,f){if(m[0]&&m[18]&&m[2]==="true")return na;if(!m[0]&&m[18]&&m[2]==="true")return aa}let o=l(n),s=o&&o(n);return{c(){t=e.element("div"),i&&i.c(),a=e.space(),s&&s.c(),e.attr(t,"class","GameTopContainer")},m(m,f){e.insert(m,t,f),i&&i.m(t,null),e.append(t,a),s&&s.m(t,null)},p(m,f){m[5]?i?i.p(m,f):(i=gt(m),i.c(),i.m(t,a)):i&&(i.d(1),i=null),o===(o=l(m))&&s?s.p(m,f):(s&&s.d(1),s=o&&o(m),s&&(s.c(),s.m(t,null)))},d(m){m&&e.detach(t),i&&i.d(),s&&s.d()}}}function gt(n){let t;return{c(){t=e.element("span"),e.attr(t,"class","GameInfoVendor"),e.set_style(t,"background-image","url("+n[5]+")")},m(a,i){e.insert(a,t,i)},p(a,i){i[0]&32&&e.set_style(t,"background-image","url("+a[5]+")")},d(a){a&&e.detach(t)}}}function aa(n){let t,a,i;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',e.attr(t,"class","FavIconContainer")},m(l,o){e.insert(l,t,o),a||(i=e.listen(t,"click",n[75]),a=!0)},p:e.noop,d(l){l&&e.detach(t),a=!1,i()}}}function na(n){let t,a,i;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',e.attr(t,"class","FavIconContainer")},m(l,o){e.insert(l,t,o),a||(i=e.listen(t,"click",n[74]),a=!0)},p:e.noop,d(l){l&&e.detach(t),a=!1,i()}}}function ht(n){let t,a;return{c(){t=e.element("p"),a=e.text(n[4]),e.attr(t,"class","GameNameBelow"),e.attr(t,"title",n[4])},m(i,l){e.insert(i,t,l),e.append(t,a)},p(i,l){l[0]&16&&e.set_data(a,i[4]),l[0]&16&&e.attr(t,"title",i[4])},d(i){i&&e.detach(t)}}}function ia(n){let t,a,i,l,o,s,m,f,d,w=!e.isMobile(n[39])&&n[12]==="false",y,C,v,b=n[1]&&it(n);function R(u,T){if(u[12]==="true")return Jt;if(u[15]||u[13])return jt}let g=R(n),_=g&&g(n),I=w&&ut(n),S=n[10]==="true"&&ht(n);return{c(){var u;t=e.element("div"),a=e.element("div"),i=e.element("ui-image"),s=e.space(),b&&b.c(),m=e.space(),f=e.element("div"),_&&_.c(),d=e.space(),I&&I.c(),C=e.space(),S&&S.c(),e.src_url_equal(i.src,l=n[37])||e.set_custom_element_data(i,"src",l),e.set_custom_element_data(i,"class",o=`GameBg GameBg-${n[9]}`),e.set_custom_element_data(i,"alt","Game thumbnail"),e.set_custom_element_data(i,"loading","lazy"),e.attr(f,"class","GameExtraInfoContainer"),e.attr(a,"class",y="GameInnerContainer "+(n[15]&&!n[23]&&((u=n[24])!=null&&u.value)||n[15]&&n[33]?"GameInnerContainerUnavailable":"")+" "+(n[12]==="true"?"HasDisplayGameTiles":"")),e.attr(t,"class",v=`GameContainer ${n[34]} ${n[11]=="true"?"CasinoGamesGridSlider":""} ${n[3]&&e.isMobile(n[39])?"pb-0":""}`),e.toggle_class(t,"WithGameName",n[10])},m(u,T){e.insert(u,t,T),e.append(t,a),e.append(a,i),n[71](i),e.append(a,s),b&&b.m(a,null),e.append(a,m),e.append(a,f),_&&_.m(f,null),e.append(f,d),I&&I.m(f,null),e.append(t,C),S&&S.m(t,null),n[76](t)},p(u,T){var V;T[1]&64&&!e.src_url_equal(i.src,l=u[37])&&e.set_custom_element_data(i,"src",l),T[0]&512&&o!==(o=`GameBg GameBg-${u[9]}`)&&e.set_custom_element_data(i,"class",o),u[1]?b?b.p(u,T):(b=it(u),b.c(),b.m(a,m)):b&&(b.d(1),b=null),g===(g=R(u))&&_?_.p(u,T):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(f,d))),T[0]&4096&&(w=!e.isMobile(u[39])&&u[12]==="false"),w?I?I.p(u,T):(I=ut(u),I.c(),I.m(f,null)):I&&(I.d(1),I=null),T[0]&25202688|T[1]&4&&y!==(y="GameInnerContainer "+(u[15]&&!u[23]&&((V=u[24])!=null&&V.value)||u[15]&&u[33]?"GameInnerContainerUnavailable":"")+" "+(u[12]==="true"?"HasDisplayGameTiles":""))&&e.attr(a,"class",y),u[10]==="true"?S?S.p(u,T):(S=ht(u),S.c(),S.m(t,null)):S&&(S.d(1),S=null),T[0]&2056|T[1]&8&&v!==(v=`GameContainer ${u[34]} ${u[11]=="true"?"CasinoGamesGridSlider":""} ${u[3]&&e.isMobile(u[39])?"pb-0":""}`)&&e.attr(t,"class",v),T[0]&3080|T[1]&8&&e.toggle_class(t,"WithGameName",u[10])},i:e.noop,o:e.noop,d(u){u&&e.detach(t),n[71](null),b&&b.d(),_&&_.d(),I&&I.d(),S&&S.d(),n[76](null)}}}const ve="blackjack",Ue="roulette",ze="doubleballroulette",bt=7,ra=",",wt=5;function la(n,t,a){let i,l;e.component_subscribe(n,e.$format,r=>a(38,l=r));let{session:o=""}=t,{userid:s=""}=t,{lang:m="en"}=t,{clientstyling:f=""}=t,{mbsource:d}=t,{clientstylingurl:w=""}=t,{translationurl:y=""}=t,{favorites:C=""}=t,{gamethumbnail:v=""}=t,{icon:b}=t,{gamename:R=""}=t,{gamevendor:g=""}=t,{gamelaunchurl:_=""}=t,{gameid:I=""}=t,{gameisnew:S=!1}=t,{gametag:u=""}=t,{gamefunmode:T=!1}=t,{gamefavorite:V=!1}=t,{gamecellsize:Ce=""}=t,{showfavoredcategory:de=!1}=t,{showgamename:Ke=""}=t,{currency:W=""}=t,{gamepagemodalurl:ce="false"}=t,{endpoint:q=""}=t,{categoryid:ue=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:Q=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ge="false"}=t,{integratedgameframemobile:$="false"}=t,{casinogamesgridslider:Ve="false"}=t,{allowsingleclickgameentry:Le="false"}=t,{livelobbydataendpoint:We=""}=t,{displaygametiles:Ze=""}=t,{livetabledata:E="false"}=t,he=!1,ke,be,re,Gt,Ie,O=window.navigator.userAgent,H,c,Z,we,ye,Fe="HH:mm",K,j,xe=[],le="EUR",oe,se,ee,Y,Te,Re,te,J,A,me,De,X,Se,P="",fe,Ne,ae;const _t=[ve],Be=[Ue,ze],Oe={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},Ae={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},Me=r=>{Object.keys(r).forEach(p=>{Ut(p,r[p])})},vt=()=>{fetch(y).then(p=>p.json()).then(p=>{Me(p)}).catch(p=>{console.log(p)})};Me(Vt);const je=r=>{r.data.type===`AddFavoriteThumbnail_${I}`&&!de&&a(0,V=!0),r.data.type===`RemoveFavoriteThumbnail_${I}`&&!de&&a(0,V=!1),r.data.type==="UserSessionID"&&(a(18,he=!0),ke=r.data.session,be=r.data.userID),r.data.type==="CategoryUpdate"&&a(15,c=null)},Je=r=>{if(window.postMessage({type:"SearchedItemClicked",gameId:r},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${r}`,userId:`${be||"Not logged in"}`}),e.isMobile(O)&&Le==="true"&&he){Ct(r);return}if(e.isMobile(O)&&$=="true"){window.postMessage({type:"OpenGameFrame",gameId:r,gamefunmode:T,gamepagemodalurl:ce,isMobile:e.isMobile(O),source:"GameThumbnail",identifier:"Lobby",subVendor:g,launchUrl:_},window.location.href);return}if(e.isMobile(O)&&$=="false"){window.postMessage({type:"ShowGameModal",gameId:r,isMobile:e.isMobile(O)},window.location.href);return}!e.isMobile(O)&&ge=="true"?window.postMessage({type:"OpenGameFrame",gameId:r,gamefunmode:T,gamepagemodalurl:ce,isMobile:e.isMobile(O),identifier:"Lobby",subVendor:g,launchUrl:_},window.location.href):!e.isMobile(O)&&ge=="false"&&window.postMessage({type:"ShowGameModal",gameId:r,isMobile:e.isMobile(O)},window.location.href)},Ct=r=>He(this,null,function*(){let p=new URL(`${q}/v1/casino/games/${r}`);p.searchParams.append("language",m),p.searchParams.append("expand","vendor");const G=(yield(yield fetch(p.href)).json())[0],x=new URL(G.launchUrl);x.searchParams.append("_sid",ke),x.searchParams.append("funMode","false"),$==="false"?window.open(x,"_blank"):$==="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:G.subVendor,gameId:G.id,launchUrl:x==null?void 0:x.href},window.location.href)}),Ee=r=>{V?window.postMessage({type:`SetUnfavoredGame${ue}`,id:r},window.location.href):window.postMessage({type:`SetFavoredGame${ue}`,id:r},window.location.href)},Lt=()=>{Kt(m)},kt=()=>{a(18,he=!0),ke=o,be=s},It=(r,p)=>`${q}/v1/encoder/lobby/updates/${r}/${p}`,Ye=()=>{ne&&EventSource&&!Z&&g&&I&&(Z=new EventSource(It(g,I)),Z.addEventListener("message",Qe))},Xe=()=>{Z&&(Z.close(),Z=void 0)},qe=()=>{var r,p,h,L,G,x,D;if(E)try{const k=typeof E=="string"?JSON.parse(E):E;a(23,K=(r=k.IsOpen)!=null?r:!0),a(35,Ne=((p=k.Dealer)==null?void 0:p.DealerName)||((h=k.dealer)==null?void 0:h.dealerName)||""),a(36,ae=(G=(L=k.Players)!=null?L:k.NumberOfPlayers)!=null?G:0),a(27,oe=null),a(28,se=null),a(26,le="");const M=k.BetLimits||k.betLimits||[];if(Array.isArray(M)&&M.length>0){const F=M.find(et=>(et.Currency||et.currency)===W)||M[0];a(27,oe=(x=F.Min)!=null?x:F.min),a(28,se=(D=F.Max)!=null?D:F.max);const U=F.Currency||F.currency||W;a(26,le=tt[U]||U)}a(20,we=$e(k));const N=k.SeatDetails||k.seatDetails;(N||we===ve)&&(ee=(N==null?void 0:N.TotalSeats)||(N==null?void 0:N.totalSeats)||bt,a(29,Y=(N==null?void 0:N.TakenSeats)||(N==null?void 0:N.takenSeats)||[]),a(33,X=Y.length>=ee),a(25,xe=Array.from({length:ee},(F,U)=>(U+1).toString())));const _e=k.Results||k.results||k.CurrentRouletteNumbers||k.currentRouletteNumbers||[],z=Ge(_e);a(16,A=z.filter(F=>typeof F!="object"&&F!=="")),te=k.VendorCategory||k.Category||"";const B=(te||"").toLowerCase();if(a(30,J=B===ze),J&&Array.isArray(A)){const F=[];for(let U=0;U<A.length;U+=2)U+1<A.length&&F.push([A[U],A[U+1]]);a(16,A=F)}a(32,De=pe(Be,B)?Ae:Oe),a(31,me="GameProp LiveProps RoulleteProps"),a(31,me+=J?" Double":"")}catch(k){console.error("Error while mapping live table data:",k)}},Ge=r=>{if(r==null)return[];if(typeof r!="object")return[r];let p=[];if(Array.isArray(r))for(const h of r)p=p.concat(Ge(h));else{const h=["Value","value","Number","number","Text","text","Name","name"];let L=!1;for(const G of h)r[G]!==void 0&&r[G]!==null&&(typeof r[G]!="object"?(p.push(r[G]),L=!0):(p=p.concat(Ge(r[G])),L=!0));if(!L)for(const G of Object.keys(r))p=p.concat(Ge(r[G]))}return p},Qe=r=>He(this,null,function*(){const{type:p,data:h}=r;let L;switch(p){case"message":{if(h)try{L=JSON.parse(h)}catch(G){console.error("MESSAGE PARSING ERROR: ",G)}if(L){const{InternalTableId:G,MessageType:x,Results:D,Seats:k,Open:M}=L;if(G)switch(x){case"SeatsUpdated":{k&&Array.isArray(k)&&(a(29,Y=k),a(15,c.currentOccupiedSeats=k,c),yield e.tick());break}case"RouletteResultsUpdated":{D&&Array.isArray(D)&&(Te=D,a(15,c.currentRouletteNumbers=D,c),yield e.tick());break}case"DoubleBallRouletteResultsUpdated":{D&&Array.isArray(D)&&(Re=D,a(15,c.currentDoubleBallRouletteNumbers=D,c),yield e.tick());break}case"TableOpened":{a(23,K=M),a(15,c.isOpen=M,c),yield e.tick();break}case"TableClosed":{a(23,K=M),a(15,c.isOpen=M,c),yield e.tick();break}}}}}}),Ft=()=>{let r=new URL(`${ne.split("?")[0]}`);r.searchParams.append("platform",e.getDevice(O)),r.searchParams.append("language",m),fetch(r).then(p=>p.json()).then(p=>{const{details:h}=p[0];a(15,c=h)})},Pe=(r,p=ra)=>r!=null?`${r}`.replace(/\B(?=(\d{3})+(?!\d))/g,p):"",pe=(r,p)=>r.some(h=>h===p),$e=r=>{let p=null;if(r){const h=r.vendorCategory||r.VendorCategory||r.Category||"",L=(r.TableName||"").toLowerCase(),G=(r.VendorTableId||"").toLowerCase(),x=h.toLowerCase();pe(_t,x)||L.includes("blackjack")||G.includes("bj")||G.includes("bsk")?p=ve:(pe(Be,x)||L.includes("roulette")||G.includes("roul"))&&(p=Ue)}return p},xt=(r,p,h)=>{let L,G;return r!=null&&p!==void 0&&p!==null&&(G=`
2
+ <span>
3
+ ${h}
4
+ </span>
5
+ ${Pe(r)}-${Pe(p)}`),ae&&(L=`
6
+ <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
7
+ <span class="NrOfPlayers">${ae}</span>`),!L&&!G?"":`
8
+ <p class="LiveLimits">
9
+ <span class="BetLimitLeft">
10
+ ${G||""}
11
+ </span>
12
+ <span class="BetLimitRight">
13
+ ${L||""}
14
+ </span>
15
+ </p>`},Tt=r=>r?`
16
+ <p class="LiveLimits">
17
+ <span class="DealerName">${l("dealer")}: ${r}</span>
18
+ </p>
19
+ `:"",Rt=r=>{ee=r.totalSeats||bt,a(29,Y=r.currentOccupiedSeats||[]);const p=[];for(let h=1;h<=ee;h++)p.push(h);return{seats:p}},Dt=(r,p,h,L="")=>{const G=`${r} ${L}`,x=p.toString().match(/first0|second0|0/g);return p===0||x&&x.length!==0?`
20
+ <span
21
+ id=${p}
22
+ class="${G}"
23
+ >
24
+ ${h}
25
+ </span>
26
+ `:`
27
+ <span id=${p} class="${G}">
28
+ ${h}
29
+ </span>
30
+ `},St=()=>{const r="FirstElementAnimated",p=fe.getElementsByClassName("First")[0];p&&(p.classList.add(r),setTimeout(()=>{p.classList.remove(r)},2e3))},Nt=()=>{var r,p,h,L,G;if(c&&Object.keys(c).length>0){a(23,K=(p=(r=c.isOpen)!=null?r:c.IsOpen)!=null?p:K);const x=c.betLimit||c.BetLimits;if(x){const B=(x.min||x.Min||{})[W],F=(x.max||x.Max||{})[W];B!=null&&a(27,oe=B),F!=null&&a(28,se=F)}a(24,j=(c==null?void 0:c.openHours)||(c==null?void 0:c.OpenHours)||j);const D=Rt(c);if(D!=null&&D.seats&&Array.isArray(D.seats)&&D.seats.length>0&&a(25,xe=D.seats),j&&(j!=null&&j.value)){const{value:{startTime:B,originalTimeFormat:F}}=j;a(21,ye=B||ye),a(22,Fe=F||Fe)}if(K){const B=$e(c);B&&a(20,we=B)}a(26,le=tt[W]||le);const k=c.currentRouletteNumbers||c.CurrentRouletteNumbers;k&&(Te=k);const M=c.currentDoubleBallRouletteNumbers||c.CurrentDoubleBallRouletteNumbers;M&&(Re=M);const N=c.vendorCategory||c.VendorCategory;N&&(te=N);const _e=te!=null&&typeof te=="string"?te.toLowerCase():"";a(30,J=_e===ze);let z=(J?Re:Te)||A||[];if(J&&Array.isArray(z)&&z.length>0&&!Array.isArray(z[0])){const B=[];for(let F=0;F<z.length;F+=2)F+1<z.length&&B.push([z[F],z[F+1]]);a(16,A=B)}else a(16,A=z);if(a(31,me="GameProp LiveProps RoulleteProps"),a(31,me+=J?" Double":""),a(32,De=pe(Be,_e)?Ae:Oe),Se=X,a(33,X=Array.isArray(Y)&&Y.length===ee),c.dealer){const B=c.dealer.DealerName||c.dealer.dealerName;B&&a(35,Ne=B)}a(36,ae=(G=(L=(h=c.numberOfPlayers)!=null?h:c.Players)!=null?L:c.NumberOfPlayers)!=null?G:ae),a(34,P="ListGame"),c.isOpen&&c.currentRouletteNumbers&&a(34,P+=" GameBackdrop"),K&&X&&oe&&se&&c.currentOccupiedSeats?a(34,P+=" GameContainerDimmed"):K===!1&&ye&&a(34,P+=" GameContainerFullyDimmed"),H&&(!Se&&X?(a(34,P+=" PulsatingRedShadow"),a(34,P=P.replace(" PulsatingGreenShadow",""))):Se&&!X&&(a(34,P+=" PulsatingGreenShadow"),a(34,P=P.replace(" PulsatingRedShadow",""))))}},Bt=()=>{Q==="disconnect"?Xe():Q==="connect"&&Ye()},Ot=()=>{ie==="disconnect"?Xe():ie==="connect"&&Q==="connect"&&Ye()};e.onMount(()=>(qe(),window.addEventListener("message",je,!1),()=>{re&&re.unsubscribe(),window.removeEventListener("message",je),Z&&Z.removeEventListener("message",Qe)}));function At(r){e.binding_callbacks[r?"unshift":"push"](()=>{Ie=r,a(19,Ie)})}const Mt=()=>Je(I);function Et(r){e.binding_callbacks[r?"unshift":"push"](()=>{fe=r,a(17,fe)})}const Pt=()=>Ee(I),Ht=()=>Ee(I);function zt(r){e.binding_callbacks[r?"unshift":"push"](()=>{H=r,a(14,H)})}return n.$$set=r=>{"session"in r&&a(47,o=r.session),"userid"in r&&a(48,s=r.userid),"lang"in r&&a(1,m=r.lang),"clientstyling"in r&&a(49,f=r.clientstyling),"mbsource"in r&&a(50,d=r.mbsource),"clientstylingurl"in r&&a(51,w=r.clientstylingurl),"translationurl"in r&&a(52,y=r.translationurl),"favorites"in r&&a(2,C=r.favorites),"gamethumbnail"in r&&a(53,v=r.gamethumbnail),"icon"in r&&a(3,b=r.icon),"gamename"in r&&a(4,R=r.gamename),"gamevendor"in r&&a(5,g=r.gamevendor),"gamelaunchurl"in r&&a(54,_=r.gamelaunchurl),"gameid"in r&&a(6,I=r.gameid),"gameisnew"in r&&a(7,S=r.gameisnew),"gametag"in r&&a(8,u=r.gametag),"gamefunmode"in r&&a(55,T=r.gamefunmode),"gamefavorite"in r&&a(0,V=r.gamefavorite),"gamecellsize"in r&&a(9,Ce=r.gamecellsize),"showfavoredcategory"in r&&a(56,de=r.showfavoredcategory),"showgamename"in r&&a(10,Ke=r.showgamename),"currency"in r&&a(57,W=r.currency),"gamepagemodalurl"in r&&a(58,ce=r.gamepagemodalurl),"endpoint"in r&&a(59,q=r.endpoint),"categoryid"in r&&a(60,ue=r.categoryid),"livelobbyendpoint"in r&&a(61,ne=r.livelobbyendpoint),"connectlive"in r&&a(62,Q=r.connectlive),"visibilityconnect"in r&&a(63,ie=r.visibilityconnect),"integratedgameframedesktop"in r&&a(64,ge=r.integratedgameframedesktop),"integratedgameframemobile"in r&&a(65,$=r.integratedgameframemobile),"casinogamesgridslider"in r&&a(11,Ve=r.casinogamesgridslider),"allowsingleclickgameentry"in r&&a(66,Le=r.allowsingleclickgameentry),"livelobbydataendpoint"in r&&a(67,We=r.livelobbydataendpoint),"displaygametiles"in r&&a(12,Ze=r.displaygametiles),"livetabledata"in r&&a(13,E=r.livetabledata)},n.$$.update=()=>{n.$$.dirty[2]&1&&Q&&Bt(),n.$$.dirty[2]&2&&ie&&Ot(),n.$$.dirty[0]&2&&m&&Lt(),n.$$.dirty[1]&268632064&&o&&s&&q&&kt(),n.$$.dirty[0]&16384|n.$$.dirty[1]&262144&&f&&H&&e.setClientStyling(H,f),n.$$.dirty[0]&16384|n.$$.dirty[1]&1048576&&w&&H&&e.setClientStylingURL(H,w),n.$$.dirty[0]&16384|n.$$.dirty[1]&524288|n.$$.dirty[2]&256&&d&&H&&a(70,re=e.setStreamStyling(H,`${d}.Style`,re,!0)),n.$$.dirty[1]&2621440&&d&&!y&&e.getStreamTranslations(`${d}.Translation`,Gt,Me),n.$$.dirty[0]&4,n.$$.dirty[1]&2097152&&y&&vt(),n.$$.dirty[0]&512|n.$$.dirty[1]&1048576&&Ce&&w&&e.setClientStylingURL(),n.$$.dirty[1]&1342177280&&q&&ne&&Ft(),n.$$.dirty[0]&32768&&c&&Nt(),n.$$.dirty[0]&196608&&fe&&A&&St(),n.$$.dirty[0]&8200|n.$$.dirty[1]&4194304&&a(37,i=(()=>{var r,p;if(E)try{const h=typeof E=="string"?JSON.parse(E):E,L=((p=(r=h==null?void 0:h.VideoSnapshot)==null?void 0:r.Thumbnails)==null?void 0:p.Medium)||(h==null?void 0:h.Image)||(h==null?void 0:h.TableImage);if(L)return L}catch(h){}return b&&e.isMobile(O)?b:v})()),n.$$.dirty[0]&8192|n.$$.dirty[1]&67108864&&(E||W)&&qe()},[V,m,C,b,R,g,I,S,u,Ce,Ke,Ve,Ze,E,H,c,A,fe,he,Ie,we,ye,Fe,K,j,xe,le,oe,se,Y,J,me,De,X,P,Ne,ae,i,l,O,Je,Ee,Pe,pe,xt,Tt,Dt,o,s,f,d,w,y,v,_,T,de,W,ce,q,ue,ne,Q,ie,ge,$,Le,We,Oe,Ae,re,At,Mt,Et,Pt,Ht,zt]}class yt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,la,ia,e.safe_not_equal,{session:47,userid:48,lang:1,clientstyling:49,mbsource:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:53,icon:3,gamename:4,gamevendor:5,gamelaunchurl:54,gameid:6,gameisnew:7,gametag:8,gamefunmode:55,gamefavorite:0,gamecellsize:9,showfavoredcategory:56,showgamename:10,currency:57,gamepagemodalurl:58,endpoint:59,categoryid:60,livelobbyendpoint:61,connectlive:62,visibilityconnect:63,integratedgameframedesktop:64,integratedgameframemobile:65,casinogamesgridslider:11,allowsingleclickgameentry:66,livelobbydataendpoint:67,displaygametiles:12,livetabledata:13,MONEY_WHEEL_COLOR_MAP:68,ROULETTE_COLOR_MAP:69},Wt,[-1,-1,-1,-1])}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[50]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[52]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),e.flush()}get gamethumbnail(){return this.$$.ctx[53]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),e.flush()}get icon(){return this.$$.ctx[3]}set icon(t){this.$$set({icon:t}),e.flush()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),e.flush()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),e.flush()}get gamelaunchurl(){return this.$$.ctx[54]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),e.flush()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),e.flush()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),e.flush()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),e.flush()}get gamefunmode(){return this.$$.ctx[55]}set gamefunmode(t){this.$$set({gamefunmode:t}),e.flush()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),e.flush()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),e.flush()}get showfavoredcategory(){return this.$$.ctx[56]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),e.flush()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get currency(){return this.$$.ctx[57]}set currency(t){this.$$set({currency:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[58]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get categoryid(){return this.$$.ctx[60]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get livelobbyendpoint(){return this.$$.ctx[61]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),e.flush()}get connectlive(){return this.$$.ctx[62]}set connectlive(t){this.$$set({connectlive:t}),e.flush()}get visibilityconnect(){return this.$$.ctx[63]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[64]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[65]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get allowsingleclickgameentry(){return this.$$.ctx[66]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),e.flush()}get livelobbydataendpoint(){return this.$$.ctx[67]}set livelobbydataendpoint(t){this.$$set({livelobbydataendpoint:t}),e.flush()}get displaygametiles(){return this.$$.ctx[12]}set displaygametiles(t){this.$$set({displaygametiles:t}),e.flush()}get livetabledata(){return this.$$.ctx[13]}set livetabledata(t){this.$$set({livetabledata:t}),e.flush()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[68]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[69]}}e.create_custom_element(yt,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{},allowsingleclickgameentry:{},livelobbydataendpoint:{},displaygametiles:{},livetabledata:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);exports.default=yt;
@@ -0,0 +1,18 @@
1
+ "use strict";var fa=Object.defineProperty,da=Object.defineProperties;var ma=Object.getOwnPropertyDescriptors;var lr=Object.getOwnPropertySymbols;var ga=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var wt=(e,t,r)=>t in e?fa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_t=(e,t)=>{for(var r in t||(t={}))ga.call(t,r)&&wt(e,r,t[r]);if(lr)for(var r of lr(t))pa.call(t,r)&&wt(e,r,t[r]);return e},cr=(e,t)=>da(e,ma(t));var q=(e,t,r)=>(wt(e,typeof t!="symbol"?t+"":t,r),r);var St=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{s(r.next(u))}catch(l){a(l)}},o=u=>{try{s(r.throw(u))}catch(l){a(l)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});function J(){}function qr(e){return e()}function hr(){return Object.create(null)}function ge(e){e.forEach(qr)}function Qt(e){return typeof e=="function"}function Zt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let ze;function va(e,t){return e===t?!0:(ze||(ze=document.createElement("a")),ze.href=t,e===ze.href)}function ba(e){return Object.keys(e).length===0}function zr(e,...t){if(e==null){for(const n of t)n(void 0);return J}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Qr(e,t,r){e.$$.on_destroy.push(zr(t,r))}function R(e,t){e.appendChild(t)}function Zr(e,t,r){const n=ya(e);if(!n.getElementById(t)){const a=I("style");a.id=t,a.textContent=r,wa(n,a)}}function ya(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function wa(e,t){return R(e.head||e,t),t.sheet}function V(e,t,r){e.insertBefore(t,r||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function _a(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function I(e){return document.createElement(e)}function rt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function re(e){return document.createTextNode(e)}function Z(){return re(" ")}function Jt(){return re("")}function de(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function _(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function v(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:_(e,t,r)}function Sa(e){return Array.from(e.childNodes)}function ce(e,t){t=""+t,e.data!==t&&(e.data=t)}function fr(e,t){e.value=t==null?"":t}function Ea(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function xa(e,t,r){e.classList.toggle(t,!!r)}class Ta{constructor(t=!1){q(this,"is_svg",!1);q(this,"e");q(this,"n");q(this,"t");q(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,r,n=null){this.e||(this.is_svg?this.e=rt(r.nodeName):this.e=I(r.nodeType===11?"TEMPLATE":r.nodeName),this.t=r.tagName!=="TEMPLATE"?r:r.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let r=0;r<this.n.length;r+=1)V(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(W)}}function Ca(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ke;function De(e){ke=e}function Pa(){if(!ke)throw new Error("Function called outside component initialization");return ke}function Jr(e){Pa().$$.on_mount.push(e)}const Se=[],Ue=[];let xe=[];const dr=[],Kr=Promise.resolve();let At=!1;function en(){At||(At=!0,Kr.then(L))}function Oa(){return en(),Kr}function Bt(e){xe.push(e)}const Et=new Set;let ye=0;function L(){if(ye!==0)return;const e=ke;do{try{for(;ye<Se.length;){const t=Se[ye];ye++,De(t),Ha(t.$$)}}catch(t){throw Se.length=0,ye=0,t}for(De(null),Se.length=0,ye=0;Ue.length;)Ue.pop()();for(let t=0;t<xe.length;t+=1){const r=xe[t];Et.has(r)||(Et.add(r),r())}xe.length=0}while(Se.length);for(;dr.length;)dr.pop()();At=!1,Et.clear(),De(e)}function Ha(e){if(e.fragment!==null){e.update(),ge(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Bt)}}function Ma(e){const t=[],r=[];xe.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),xe=t}const Ra=new Set;function tn(e,t){e&&e.i&&(Ra.delete(e),e.i(t))}function Lt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Aa(e,t){e.d(1),t.delete(e.key)}function Ba(e,t,r,n,a,i,o,s,u,l,c,h){let d=e.length,m=i.length,g=d;const b={};for(;g--;)b[e[g].key]=g;const w=[],p=new Map,O=new Map,P=[];for(g=m;g--;){const H=h(a,i,g),G=r(H);let A=o.get(G);A?P.push(()=>A.p(H,t)):(A=l(G,H),A.c()),p.set(G,w[g]=A),G in b&&O.set(G,Math.abs(g-b[G]))}const B=new Set,F=new Set;function T(H){tn(H,1),H.m(s,c),o.set(H.key,H),c=H.first,m--}for(;d&&m;){const H=w[m-1],G=e[d-1],A=H.key,C=G.key;H===G?(c=H.first,d--,m--):p.has(C)?!o.has(A)||B.has(A)?T(H):F.has(C)?d--:O.get(A)>O.get(C)?(F.add(A),T(H)):(B.add(C),d--):(u(G,o),d--)}for(;d--;){const H=e[d];p.has(H.key)||u(H,o)}for(;m;)T(w[m-1]);return ge(P),w}function La(e,t,r){const{fragment:n,after_update:a}=e.$$;n&&n.m(t,r),Bt(()=>{const i=e.$$.on_mount.map(qr).filter(Qt);e.$$.on_destroy?e.$$.on_destroy.push(...i):ge(i),e.$$.on_mount=[]}),a.forEach(Bt)}function Na(e,t){const r=e.$$;r.fragment!==null&&(Ma(r.after_update),ge(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ia(e,t){e.$$.dirty[0]===-1&&(Se.push(e),en(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function rn(e,t,r,n,a,i,o=null,s=[-1]){const u=ke;De(e);const l=e.$$={fragment:null,ctx:[],props:i,update:J,not_equal:a,bound:hr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:hr(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};o&&o(l.root);let c=!1;if(l.ctx=r?r(e,t.props||{},(h,d,...m)=>{const g=m.length?m[0]:d;return l.ctx&&a(l.ctx[h],l.ctx[h]=g)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](g),c&&Ia(e,h)),d}):[],l.update(),c=!0,ge(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const h=Sa(t.target);l.fragment&&l.fragment.l(h),h.forEach(W)}else l.fragment&&l.fragment.c();t.intro&&tn(e.$$.fragment),La(e,t.target,t.anchor),L()}De(u)}let nn;typeof HTMLElement=="function"&&(nn=class extends HTMLElement{constructor(t,r,n){super();q(this,"$$ctor");q(this,"$$s");q(this,"$$c");q(this,"$$cn",!1);q(this,"$$d",{});q(this,"$$r",!1);q(this,"$$p_d",{});q(this,"$$l",{});q(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const a=this.$$c.$on(t,r);this.$$l_u.set(r,a)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}connectedCallback(){return St(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=I("slot"),i!=="default"&&_(o,"name",i)},m:function(l,c){V(l,o,c)},d:function(l){l&&W(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ca(this);for(const i of this.$$s)i in n&&(r[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=Je(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:cr(_t({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const a=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=Je(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(a),a();for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var a;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Je(t,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Je(e,t,r,n){var i;const a=(i=r[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(a){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,a,i){let o=class extends nn{constructor(){super(e,r,a),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var l;u=Je(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=o,o}class on{constructor(){q(this,"$$");q(this,"$$set")}$destroy(){Na(this,1),this.$destroy=J}$on(t,r){if(!Qt(r))return J;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const a=n.indexOf(r);a!==-1&&n.splice(a,1)}}$set(t){this.$$set&&!ba(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Da="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Da);const we=[];function ka(e,t){return{subscribe:lt(e,t).subscribe}}function lt(e,t=J){let r;const n=new Set;function a(s){if(Zt(e,s)&&(e=s,r)){const u=!we.length;for(const l of n)l[1](),we.push(l,e);if(u){for(let l=0;l<we.length;l+=2)we[l][0](we[l+1]);we.length=0}}}function i(s){a(s(e))}function o(s,u=J){const l=[s,u];return n.add(l),n.size===1&&(r=t(a,i)||J),s(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:i,subscribe:o}}function He(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return ka(r,(o,s)=>{let u=!1;const l=[];let c=0,h=J;const d=()=>{if(c)return;h();const g=t(n?l[0]:l,o,s);i?o(g):h=Qt(g)?g:J},m=a.map((g,b)=>zr(g,w=>{l[b]=w,c&=~(1<<b),u&&d()},()=>{c|=1<<b}));return u=!0,d(),function(){ge(m),h(),u=!1}})}function Ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa=function(t){return Ga(t)&&!ja(t)};function Ga(e){return!!e&&typeof e=="object"}function ja(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Va(e)}var Wa=typeof Symbol=="function"&&Symbol.for,$a=Wa?Symbol.for("react.element"):60103;function Va(e){return e.$$typeof===$a}function Ya(e){return Array.isArray(e)?[]:{}}function Fe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Te(Ya(e),e,t):e}function Xa(e,t,r){return e.concat(t).map(function(n){return Fe(n,r)})}function qa(e,t){if(!t.customMerge)return Te;var r=t.customMerge(e);return typeof r=="function"?r:Te}function za(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function mr(e){return Object.keys(e).concat(za(e))}function sn(e,t){try{return t in e}catch(r){return!1}}function Qa(e,t){return sn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Za(e,t,r){var n={};return r.isMergeableObject(e)&&mr(e).forEach(function(a){n[a]=Fe(e[a],r)}),mr(t).forEach(function(a){Qa(e,a)||(sn(e,a)&&r.isMergeableObject(t[a])?n[a]=qa(a,r)(e[a],t[a],r):n[a]=Fe(t[a],r))}),n}function Te(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Xa,r.isMergeableObject=r.isMergeableObject||Fa,r.cloneUnlessOtherwiseSpecified=Fe;var n=Array.isArray(t),a=Array.isArray(e),i=n===a;return i?n?r.arrayMerge(e,t,r):Za(e,t,r):Fe(t,r)}Te.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return Te(n,a,r)},{})};var Ja=Te,Ka=Ja;const ei=Ua(Ka);var Nt=function(e,t){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Nt(e,t)};function ct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var te=function(){return te=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},te.apply(this,arguments)};function ti(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function xt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Tt(e,t){var r=t&&t.cache?t.cache:ui,n=t&&t.serializer?t.serializer:oi,a=t&&t.strategy?t.strategy:ai;return a(e,{cache:r,serializer:n})}function ri(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ni(e,t,r,n){var a=ri(n)?n:r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.call(this,n),t.set(a,i)),i}function un(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.apply(this,n),t.set(a,i)),i}function ln(e,t,r,n,a){return r.bind(t,e,n,a)}function ai(e,t){var r=e.length===1?ni:un;return ln(e,this,r,t.cache.create(),t.serializer)}function ii(e,t){return ln(e,this,un,t.cache.create(),t.serializer)}var oi=function(){return JSON.stringify(arguments)},si=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),ui={create:function(){return new si}},Ct={variadic:ii},nt=function(){return nt=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},nt.apply(this,arguments)};var S;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(S||(S={}));var N;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(N||(N={}));var Ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ce||(Ce={}));function gr(e){return e.type===N.literal}function li(e){return e.type===N.argument}function cn(e){return e.type===N.number}function hn(e){return e.type===N.date}function fn(e){return e.type===N.time}function dn(e){return e.type===N.select}function mn(e){return e.type===N.plural}function ci(e){return e.type===N.pound}function gn(e){return e.type===N.tag}function pn(e){return!!(e&&typeof e=="object"&&e.type===Ce.number)}function It(e){return!!(e&&typeof e=="object"&&e.type===Ce.dateTime)}var vn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,hi=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function fi(e){var t={};return e.replace(hi,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var U=function(){return U=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},U.apply(this,arguments)};var di=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function mi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(di).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var i=a[n],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function gi(e){return e.replace(/^(.*?)-/,"")}var pr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,bn=/^(@+)?(\+|#+)?[rs]?$/g,pi=/(\*)(0+)|(#+)(0+)|(0+)/g,yn=/^(0+)$/;function vr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(bn,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function wn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function vi(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!yn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function br(e){var t={},r=wn(e);return r||t}function bi(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=gi(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=U(U(U({},t),{notation:"scientific"}),a.options.reduce(function(u,l){return U(U({},u),br(l))},{}));continue;case"engineering":t=U(U(U({},t),{notation:"engineering"}),a.options.reduce(function(u,l){return U(U({},u),br(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(pi,function(u,l,c,h,d,m){if(l)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(yn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(pr.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(pr,function(u,l,c,h,d,m){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=a.options[0];i==="w"?t=U(U({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=U(U({},t),vr(i)));continue}if(bn.test(a.stem)){t=U(U({},t),vr(a.stem));continue}var o=wn(a.stem);o&&(t=U(U({},t),o));var s=vi(a.stem);s&&(t=U(U({},t),s))}return t}var Qe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function yi(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===a;)i++,n++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",l=wi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=u;for(;o-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function wi(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Qe[n||""]||Qe[r||""]||Qe["".concat(r,"-001")]||Qe["001"];return a[0]}var Pt,_i=new RegExp("^".concat(vn.source,"*")),Si=new RegExp("".concat(vn.source,"*$"));function x(e,t){return{start:e,end:t}}var Ei=!!String.prototype.startsWith&&"_a".startsWith("a",1),xi=!!String.fromCodePoint,Ti=!!Object.fromEntries,Ci=!!String.prototype.codePointAt,Pi=!!String.prototype.trimStart,Oi=!!String.prototype.trimEnd,Hi=!!Number.isSafeInteger,Mi=Hi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{var Ri=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Dt=((Pt=Ri.exec("a"))===null||Pt===void 0?void 0:Pt[0])==="a"}catch(e){Dt=!1}var yr=Ei?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},kt=xi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,i=0,o;a>i;){if(o=t[i++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},wr=Ti?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var i=a[n],o=i[0],s=i[1];r[o]=s}return r},_n=Ci?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),i;return a<55296||a>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},Ai=Pi?function(t){return t.trimStart()}:function(t){return t.replace(_i,"")},Bi=Oi?function(t){return t.trimEnd()}:function(t){return t.replace(Si,"")};function Sn(e,t){return new RegExp(e,t)}var Ut;if(Dt){var _r=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ut=function(t,r){var n;_r.lastIndex=r;var a=_r.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else Ut=function(t,r){for(var n=[];;){var a=_n(t,r);if(a===void 0||En(a)||Di(a))break;n.push(a),r+=a>=65536?2:1}return kt.apply(void 0,n)};var Li=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(t,n);if(o.err)return o;a.push(o.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:N.pound,location:x(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,x(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ft(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:N.literal,value:"<".concat(a,"/>"),location:x(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ft(this.char()))return this.error(S.INVALID_TAG,x(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(S.UNMATCHED_CLOSING_TAG,x(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:a,children:o,location:x(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,x(s,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,x(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,x(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ii(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(r);if(i){a+=i;continue}var o=this.tryParseUnquoted(t,r);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=x(n,this.clonePosition());return{val:{type:N.literal,value:a,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ni(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return kt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),kt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,x(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:a,location:x(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ut(this.message,r),a=r+n.length;this.bumpTo(a);var i=this.clonePosition(),o=x(t,i);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,x(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Bi(h.val);if(d.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,x(this.clonePosition(),this.clonePosition()));var m=x(c,this.clonePosition());l={style:d,styleLocation:m}}var g=this.tryParseArgumentClose(a);if(g.err)return g;var b=x(a,this.clonePosition());if(l&&yr(l==null?void 0:l.style,"::",0)){var w=Ai(l.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(w,l.styleLocation);return h.err?h:{val:{type:N.number,value:n,location:b,style:h.val},err:null}}else{if(w.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,b);var p=w;this.locale&&(p=yi(w,this.locale));var d={type:Ce.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?fi(p):{}},O=s==="date"?N.date:N.time;return{val:{type:O,value:n,location:b,style:d},err:null}}}return{val:{type:s==="number"?N.number:s==="date"?N.date:N.time,value:n,location:b,style:(i=l==null?void 0:l.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,x(P,nt({},P)));this.bumpSpace();var B=this.parseIdentifierIfPossible(),F=0;if(s!=="select"&&B.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),B=this.parseIdentifierIfPossible(),F=h.val}var T=this.tryParsePluralOrSelectOptions(t,s,r,B);if(T.err)return T;var g=this.tryParseArgumentClose(a);if(g.err)return g;var H=x(a,this.clonePosition());return s==="select"?{val:{type:N.select,value:n,options:wr(T.val),location:H},err:null}:{val:{type:N.plural,value:n,options:wr(T.val),offset:F,pluralType:s==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,x(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,x(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=mi(t)}catch(a){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ce.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?bi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var i,o=!1,s=[],u=new Set,l=a.value,c=a.location;;){if(l.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=x(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,x(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var b=this.tryParseArgumentClose(m);if(b.err)return b;s.push([l,{value:g.val,location:x(m,this.clonePosition())}]),u.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,c=i.location}return s.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,x(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,x(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=x(a,this.clonePosition());return i?(o*=n,Mi(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=_n(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(yr(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&En(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Ft(e){return e>=97&&e<=122||e>=65&&e<=90}function Ni(e){return Ft(e)||e===47}function Ii(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function En(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Di(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Gt(e){e.forEach(function(t){if(delete t.location,dn(t)||mn(t))for(var r in t.options)delete t.options[r].location,Gt(t.options[r].value);else cn(t)&&pn(t.style)||(hn(t)||fn(t))&&It(t.style)?delete t.style.location:gn(t)&&Gt(t.children)})}function ki(e,t){t===void 0&&(t={}),t=nt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Li(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Gt(r.val),r.val}var Pe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Pe||(Pe={}));var ht=function(e){ct(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=a,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Sr=function(e){ct(t,e);function t(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Pe.INVALID_VALUE,i)||this}return t}(ht),Ui=function(e){ct(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Pe.INVALID_VALUE,a)||this}return t}(ht),Fi=function(e){ct(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Pe.MISSING_VALUE,n)||this}return t}(ht),Q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Q||(Q={}));function Gi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Q.literal||r.type!==Q.literal?t.push(r):n.value+=r.value,t},[])}function ji(e){return typeof e=="function"}function Ke(e,t,r,n,a,i,o){if(e.length===1&&gr(e[0]))return[{type:Q.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(gr(c)){s.push({type:Q.literal,value:c.value});continue}if(ci(c)){typeof i=="number"&&s.push({type:Q.literal,value:r.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(a&&h in a))throw new Fi(h,o);var d=a[h];if(li(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),s.push({type:typeof d=="string"?Q.literal:Q.object,value:d});continue}if(hn(c)){var m=typeof c.style=="string"?n.date[c.style]:It(c.style)?c.style.parsedOptions:void 0;s.push({type:Q.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(fn(c)){var m=typeof c.style=="string"?n.time[c.style]:It(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:Q.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(cn(c)){var m=typeof c.style=="string"?n.number[c.style]:pn(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(d=d*(m.scale||1)),s.push({type:Q.literal,value:r.getNumberFormat(t,m).format(d)});continue}if(gn(c)){var g=c.children,b=c.value,w=a[b];if(!ji(w))throw new Ui(b,"function",o);var p=Ke(g,t,r,n,a,i),O=w(p.map(function(F){return F.value}));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map(function(F){return{type:typeof F=="string"?Q.literal:Q.object,value:F}}))}if(dn(c)){var P=c.options[d]||c.options.other;if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a));continue}if(mn(c)){var P=c.options["=".concat(d)];if(!P){if(!Intl.PluralRules)throw new ht(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,Pe.MISSING_INTL_API,o);var B=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));P=c.options[B]||c.options.other}if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a,d-(c.offset||0)));continue}}return Gi(s)}function Wi(e,t){return t?te(te(te({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=te(te({},e[n]),t[n]||{}),r},{})):e}function $i(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Wi(e[n],t[n]),r},te({},e)):e}function Ot(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.number),strategy:Ct.variadic}),getDateTimeFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.dateTime),strategy:Ct.variadic}),getPluralRules:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.pluralRules),strategy:Ct.variadic})}}var Yi=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=i.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,d){return!h.length||d.type!==Q.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Ke(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var s=ti(o,["formatters"]);this.ast=e.__parse(t,te(te({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=$i(e.formats,n),this.formatters=a&&a.formatters||Vi(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=ki,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Xi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let a=0;a<r.length;a++)if(typeof n=="object"){if(a>0){const i=r.slice(a,r.length).join(".");if(i in n){n=n[i];break}}n=n[r[a]]}else n=void 0;return n}const le={},qi=(e,t,r)=>r&&(t in le||(le[t]={}),e in le[t]||(le[t][e]=r),r),xn=(e,t)=>{if(t==null)return;if(t in le&&e in le[t])return le[t][e];const r=ft(t);for(let n=0;n<r.length;n++){const a=r[n],i=Qi(a,e);if(i)return qi(e,t,i)}};let Kt;const We=lt({});function zi(e){return Kt[e]||null}function Tn(e){return e in Kt}function Qi(e,t){if(!Tn(e))return null;const r=zi(e);return Xi(r,t)}function Zi(e){if(e==null)return;const t=ft(e);for(let r=0;r<t.length;r++){const n=t[r];if(Tn(n))return n}}function er(e,...t){delete le[e],We.update(r=>(r[e]=ei.all([r[e]||{},...t]),r))}He([We],([e])=>Object.keys(e));We.subscribe(e=>Kt=e);const et={};function Ji(e,t){et[e].delete(t),et[e].size===0&&delete et[e]}function Cn(e){return et[e]}function Ki(e){return ft(e).map(t=>{const r=Cn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function jt(e){return e==null?!1:ft(e).some(t=>{var r;return(r=Cn(t))==null?void 0:r.size})}function eo(e,t){return Promise.all(t.map(n=>(Ji(e,n),n().then(a=>a.default||a)))).then(n=>er(e,...n))}const Le={};function Pn(e){if(!jt(e))return e in Le?Le[e]:Promise.resolve();const t=Ki(e);return Le[e]=Promise.all(t.map(([r,n])=>eo(r,n))).then(()=>{if(jt(e))return Pn(e);delete Le[e]}),Le[e]}const to={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ro={fallbackLocale:null,loadingDelay:200,formats:to,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},no=ro;function Oe(){return no}const Ht=lt(!1);var ao=Object.defineProperty,io=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,xr=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lo=(e,t)=>{for(var r in t||(t={}))so.call(t,r)&&xr(e,r,t[r]);if(Er)for(var r of Er(t))uo.call(t,r)&&xr(e,r,t[r]);return e},co=(e,t)=>io(e,oo(t));let Wt;const at=lt(null);function Tr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ft(e,t=Oe().fallbackLocale){const r=Tr(e);return t?[...new Set([...r,...Tr(t)])]:r}function pe(){return Wt!=null?Wt:void 0}at.subscribe(e=>{Wt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ho=e=>{if(e&&Zi(e)&&jt(e)){const{loadingDelay:t}=Oe();let r;return typeof window!="undefined"&&pe()!=null&&t?r=window.setTimeout(()=>Ht.set(!0),t):Ht.set(!0),Pn(e).then(()=>{at.set(e)}).finally(()=>{clearTimeout(r),Ht.set(!1)})}return at.set(e)},ve=co(lo({},at),{set:ho}),dt=e=>{const t=Object.create(null);return n=>{const a=JSON.stringify(n);return a in t?t[a]:t[a]=e(n)}};var fo=Object.defineProperty,it=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Cr=(e,t,r)=>t in e?fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tr=(e,t)=>{for(var r in t||(t={}))On.call(t,r)&&Cr(e,r,t[r]);if(it)for(var r of it(t))Hn.call(t,r)&&Cr(e,r,t[r]);return e},Me=(e,t)=>{var r={};for(var n in e)On.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&it)for(var n of it(e))t.indexOf(n)<0&&Hn.call(e,n)&&(r[n]=e[n]);return r};const Ge=(e,t)=>{const{formats:r}=Oe();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},mo=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(a=Ge("number",n)),new Intl.NumberFormat(r,a)}),go=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?a=Ge("date",n):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(r,a)}),po=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?a=Ge("time",n):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(r,a)}),vo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return mo(tr({locale:r},n))},bo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return go(tr({locale:r},n))},yo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return po(tr({locale:r},n))},wo=dt((e,t=pe())=>new Yi(e,t,Oe().formats,{ignoreTag:Oe().ignoreTag})),_o=(e,t={})=>{var r,n,a,i;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:u=pe(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=xn(e,u);if(!c)c=(i=(a=(n=(r=Oe()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?a:l)!=null?i:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let h=c;try{h=wo(c,u).format(s)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},So=(e,t)=>yo(t).format(e),Eo=(e,t)=>bo(t).format(e),xo=(e,t)=>vo(t).format(e),To=(e,t=pe())=>xn(e,t),Mn=He([ve,We],()=>_o);He([ve],()=>So);He([ve],()=>Eo);He([ve],()=>xo);He([ve,We],()=>To);function Co(e,t){er(e,t)}function Po(e){ve.set(e)}const Oo={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},Ee="__WIDGET_GLOBAL_STYLE_CACHE__";function Rn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function An(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const a=document.createElement("style");a.innerHTML=n,e&&e.appendChild(a)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Bn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ho(e,t),r;window[Ee]||(window[Ee]={}),r=Mo(e,t);const i=r.unsubscribe.bind(r),o=()=>{if(window[Ee][t]){const s=window[Ee][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Ee][t]}i()};return r.unsubscribe=o,r}function Ho(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Mo(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),a=window[Ee];let i=a[t]&&a[t].sheet;i?a[t].refCount=a[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(r),a[t]={sheet:i,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(i)||(n.adoptedStyleSheets=[...o,i])})}/*! *****************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */var $t=function(e,t){return $t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},$t(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$t(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Vt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i}function Xt(e,t,r){if(arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||t)}function oe(e){return typeof e=="function"}function Ln(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Mt=Ln(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
17
+ `+r.map(function(n,a){return a+1+") "+n.toString()}).join(`
18
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function qt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var mt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Vt(o),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(b){t={error:b}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(oe(c))try{c()}catch(b){i=b instanceof Mt?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=Vt(h),m=d.next();!m.done;m=d.next()){var g=m.value;try{Pr(g)}catch(b){i=i!=null?i:[],b instanceof Mt?i=Xt(Xt([],Yt(i)),Yt(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}if(i)throw new Mt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Pr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&qt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&qt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Nn=mt.EMPTY;function In(e){return e instanceof mt||e&&"closed"in e&&oe(e.remove)&&oe(e.add)&&oe(e.unsubscribe)}function Pr(e){oe(e)?e():e.unsubscribe()}var Ro={Promise:void 0},Ao={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Xt([e,t],Yt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Bo(e){Ao.setTimeout(function(){throw e})}function Or(){}function tt(e){e()}var Dn=function(e){$e(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,In(r)&&r.add(n)):n.destination=Io,n}return t.create=function(r,n,a){return new zt(r,n,a)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(mt),Lo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Ze(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ze(n)}else Ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ze(r)}},e}(),zt=function(e){$e(t,e);function t(r,n,a){var i=e.call(this)||this,o;return oe(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:a!=null?a:void 0}:o=r,i.destination=new Lo(o),i}return t}(Dn);function Ze(e){Bo(e)}function No(e){throw e}var Io={closed:!0,next:Or,error:No,complete:Or},Do=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ko(e){return e}function Uo(e){return e.length===0?ko:e.length===1?e[0]:function(r){return e.reduce(function(n,a){return a(n)},r)}}var Hr=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var a=this,i=Go(t)?t:new zt(t,r,n);return tt(function(){var o=a,s=o.operator,u=o.source;i.add(s?s.call(i,u):u?a._subscribe(i):a._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Mr(r),new r(function(a,i){var o=new zt({next:function(s){try{t(s)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Do]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Uo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mr(t),new t(function(n,a){var i;r.subscribe(function(o){return i=o},function(o){return a(o)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Mr(e){var t;return(t=e!=null?e:Ro.Promise)!==null&&t!==void 0?t:Promise}function Fo(e){return e&&oe(e.next)&&oe(e.error)&&oe(e.complete)}function Go(e){return e&&e instanceof Dn||Fo(e)&&In(e)}var jo=Ln(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),kn=function(e){$e(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Rr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new jo},t.prototype.next=function(r){var n=this;tt(function(){var a,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Vt(n.currentObservers),s=o.next();!s.done;s=o.next()){var u=s.value;u.next(r)}}catch(l){a={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(r){var n=this;tt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var a=n.observers;a.length;)a.shift().error(r)}})},t.prototype.complete=function(){var r=this;tt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,a=this,i=a.hasError,o=a.isStopped,s=a.observers;return i||o?Nn:(this.currentObservers=null,s.push(r),new mt(function(){n.currentObservers=null,qt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,a=n.hasError,i=n.thrownError,o=n.isStopped;a?r.error(i):o&&r.complete()},t.prototype.asObservable=function(){var r=new Hr;return r.source=this,r},t.create=function(r,n){return new Rr(r,n)},t}(Hr),Rr=function(e){$e(t,e);function t(r,n){var a=e.call(this)||this;return a.destination=r,a.source=n,a}return t.prototype.next=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.next)===null||a===void 0||a.call(n,r)},t.prototype.error=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.error)===null||a===void 0||a.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,a;return(a=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&a!==void 0?a:Nn},t}(kn),Un={now:function(){return(Un.delegate||Date).now()},delegate:void 0},Wo=function(e){$e(t,e);function t(r,n,a){r===void 0&&(r=1/0),n===void 0&&(n=1/0),a===void 0&&(a=Un);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,a=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;a||(i.push(r),!o&&i.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),a=this,i=a._infiniteTimeWindow,o=a._buffer,s=o.slice(),u=0;u<s.length&&!r.closed;u+=i?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,a=r._timestampProvider,i=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!o){for(var u=a.now(),l=0,c=1;c<i.length&&i[c]<=u;c+=2)l=c;l&&i.splice(0,l+1)}},t}(kn);const Ar=[],Br={},$o=(e,t=0)=>{if(Ar.indexOf(e)==-1){const r=new Wo(t);Br[e]=r,Ar.push(e)}return Br[e]};window.emWidgets={topic:$o};const Vo=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),je=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;const Yo=(e,t)=>function(...r){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{e.apply(this,r)},t)};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnailNd-RhnRqZQI.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",t.element)})}function ot(e){"@babel/helpers - typeof";return ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ot(e)}function me(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Y(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function z(e){Y(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ot(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Xo(e,t){Y(2,arguments);var r=z(e).getTime(),n=me(t);return new Date(r+n)}var qo={};function gt(){return qo}function zo(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Qo(e){return Y(1,arguments),e instanceof Date||ot(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Zo(e){if(Y(1,arguments),!Qo(e)&&typeof e!="number")return!1;var t=z(e);return!isNaN(Number(t))}function Lr(e,t){return Y(2,arguments),z(e).getTime()-z(t).getTime()}function Jo(e,t){Y(2,arguments);var r=me(t);return Xo(e,-r)}var Ko=864e5;function es(e){Y(1,arguments);var t=z(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Ko)+1}function st(e){Y(1,arguments);var t=1,r=z(e),n=r.getUTCDay(),a=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function Fn(e){Y(1,arguments);var t=z(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=st(n),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var o=st(i);return t.getTime()>=a.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function ts(e){Y(1,arguments);var t=Fn(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=st(r);return n}var rs=6048e5;function ns(e){Y(1,arguments);var t=z(e),r=st(t).getTime()-ts(t).getTime();return Math.round(r/rs)+1}function ut(e,t){var r,n,a,i,o,s,u,l;Y(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=z(e),m=d.getUTCDay(),g=(m<h?7:0)+m-h;return d.setUTCDate(d.getUTCDate()-g),d.setUTCHours(0,0,0,0),d}function Gn(e,t){var r,n,a,i,o,s,u,l;Y(1,arguments);var c=z(e),h=c.getUTCFullYear(),d=gt(),m=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,m),g.setUTCHours(0,0,0,0);var b=ut(g,t),w=new Date(0);w.setUTCFullYear(h,0,m),w.setUTCHours(0,0,0,0);var p=ut(w,t);return c.getTime()>=b.getTime()?h+1:c.getTime()>=p.getTime()?h:h-1}function as(e,t){var r,n,a,i,o,s,u,l;Y(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Gn(e,t),m=new Date(0);m.setUTCFullYear(d,0,h),m.setUTCHours(0,0,0,0);var g=ut(m,t);return g}var is=6048e5;function os(e,t){Y(1,arguments);var r=z(e),n=ut(r,t).getTime()-as(r,t).getTime();return Math.round(n/is)+1}function M(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var ue={y:function(t,r){var n=t.getUTCFullYear(),a=n>0?n:1-n;return M(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):M(n+1,2)},d:function(t,r){return M(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return M(t.getUTCHours()%12||12,r.length)},H:function(t,r){return M(t.getUTCHours(),r.length)},m:function(t,r){return M(t.getUTCMinutes(),r.length)},s:function(t,r){return M(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,n-3));return M(i,r.length)}},_e={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ss={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return ue.y(t,r)},Y:function(t,r,n,a){var i=Gn(t,a),o=i>0?i:1-i;if(r==="YY"){var s=o%100;return M(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):M(o,r.length)},R:function(t,r){var n=Fn(t);return M(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return M(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return M(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return M(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return ue.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return M(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var i=os(t,a);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):M(i,r.length)},I:function(t,r,n){var a=ns(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):M(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):ue.d(t,r)},D:function(t,r,n){var a=es(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):M(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return M(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return M(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),i=a===0?7:a;switch(r){case"i":return String(i);case"ii":return M(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),i;switch(a===12?i=_e.noon:a===0?i=_e.midnight:i=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),i;switch(a>=17?i=_e.evening:a>=12?i=_e.afternoon:a>=4?i=_e.morning:i=_e.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return ue.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ue.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):M(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):M(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ue.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ue.s(t,r)},S:function(t,r){return ue.S(t,r)},X:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return Ir(o);case"XXXX":case"XX":return fe(o);case"XXXXX":case"XXX":default:return fe(o,":")}},x:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"x":return Ir(o);case"xxxx":case"xx":return fe(o);case"xxxxx":case"xxx":default:return fe(o,":")}},O:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Nr(o,":");case"OOOO":default:return"GMT"+fe(o,":")}},z:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Nr(o,":");case"zzzz":default:return"GMT"+fe(o,":")}},t:function(t,r,n,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return M(o,r.length)},T:function(t,r,n,a){var i=a._originalDate||t,o=i.getTime();return M(o,r.length)}};function Nr(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;if(i===0)return r+String(a);var o=t;return r+String(a)+o+M(i,2)}function Ir(e,t){if(e%60===0){var r=e>0?"-":"+";return r+M(Math.abs(e)/60,2)}return fe(e,t)}function fe(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),i=M(Math.floor(a/60),2),o=M(a%60,2);return n+i+r+o}var Dr=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},jn=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},us=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return Dr(t,r);var o;switch(a){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",Dr(a,r)).replace("{{time}}",jn(i,r))},ls={p:jn,P:us},cs=["D","DD"],hs=["YY","YYYY"];function fs(e){return cs.indexOf(e)!==-1}function ds(e){return hs.indexOf(e)!==-1}function kr(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ms={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gs=function(t,r,n){var a,i=ms[t];return typeof i=="string"?a=i:r===1?a=i.one:a=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Rt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var ps={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},vs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ys={date:Rt({formats:ps,defaultWidth:"full"}),time:Rt({formats:vs,defaultWidth:"full"}),dateTime:Rt({formats:bs,defaultWidth:"full"})},ws={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_s=function(t,r,n,a){return ws[t]};function Ne(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var s=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return a[l]}}var Ss={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Es={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},xs={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ts={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Cs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ps={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Os=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Hs={ordinalNumber:Os,era:Ne({values:Ss,defaultWidth:"wide"}),quarter:Ne({values:Es,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ne({values:xs,defaultWidth:"wide"}),day:Ne({values:Ts,defaultWidth:"wide"}),dayPeriod:Ne({values:Cs,defaultWidth:"wide",formattingValues:Ps,defaultFormattingWidth:"wide"})};function Ie(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Rs(s,function(h){return h.test(o)}):Ms(s,function(h){return h.test(o)}),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=t.slice(o.length);return{value:l,rest:c}}}function Ms(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Rs(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function As(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var a=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(a.length);return{value:o,rest:s}}}var Bs=/^(\d+)(th|st|nd|rd)?/i,Ls=/\d+/i,Ns={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Is={any:[/^b/i,/^(a|c)/i]},Ds={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ks={any:[/1/i,/2/i,/3/i,/4/i]},Us={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Fs={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gs={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},js={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ws={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$s={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Vs={ordinalNumber:As({matchPattern:Bs,parsePattern:Ls,valueCallback:function(t){return parseInt(t,10)}}),era:Ie({matchPatterns:Ns,defaultMatchWidth:"wide",parsePatterns:Is,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:Ds,defaultMatchWidth:"wide",parsePatterns:ks,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ie({matchPatterns:Us,defaultMatchWidth:"wide",parsePatterns:Fs,defaultParseWidth:"any"}),day:Ie({matchPatterns:Gs,defaultMatchWidth:"wide",parsePatterns:js,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:Ws,defaultMatchWidth:"any",parsePatterns:$s,defaultParseWidth:"any"})},Ys={code:"en-US",formatDistance:gs,formatLong:ys,formatRelative:_s,localize:Hs,match:Vs,options:{weekStartsOn:0,firstWeekContainsDate:1}},Xs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zs=/^'([^]*?)'?$/,Qs=/''/g,Zs=/[a-zA-Z]/;function Js(e,t,r){var n,a,i,o,s,u,l,c,h,d,m,g,b,w;Y(2,arguments);var p=String(t),O=gt(),P=(n=(a=void 0)!==null&&a!==void 0?a:O.locale)!==null&&n!==void 0?n:Ys,B=me((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:O.firstWeekContainsDate)!==null&&o!==void 0?o:(l=O.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=me((h=(d=(m=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&m!==void 0?m:O.weekStartsOn)!==null&&d!==void 0?d:(b=O.locale)===null||b===void 0||(w=b.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&h!==void 0?h:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var T=z(e);if(!Zo(T))throw new RangeError("Invalid time value");var H=zo(T),G=Jo(T,H),A={firstWeekContainsDate:B,weekStartsOn:F,locale:P,_originalDate:T},C=p.match(qs).map(function(E){var X=E[0];if(X==="p"||X==="P"){var se=ls[X];return se(E,P.formatLong)}return E}).join("").match(Xs).map(function(E){if(E==="''")return"'";var X=E[0];if(X==="'")return Ks(E);var se=ss[X];if(se)return ds(E)&&kr(E,t,String(e)),fs(E)&&kr(E,t,String(e)),se(G,E,P.localize,A);if(X.match(Zs))throw new RangeError("Format string contains an unescaped latin alphabet character `"+X+"`");return E}).join("");return C}function Ks(e){var t=e.match(zs);return t?t[1].replace(Qs,"'"):e}function eu(e,t){Y(2,arguments);var r=z(e),n=z(t);return r.getTime()>n.getTime()}function tu(e,t){Y(2,arguments);var r=z(e),n=z(t);return r.getTime()<n.getTime()}function Wn(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function ru(e){Zr(e,"svelte-1kmljoj","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.CasinoSearch.ResponsiveGrid{container-type:inline-size}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-template-rows:unset;grid-auto-rows:auto;grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:3/2}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 2;grid-column:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 1;grid-column:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 1}}@container (max-width: 836px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(4, 1fr);column-gap:8px;row-gap:4px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/10}}@container (max-width: 550px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(3, 1fr)}}@container (max-width: 350px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(2, 1fr)}}@container (max-width: 230px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:1fr;row-gap:10px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/9}}@media screen and (max-width: 1300px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;grid-column:1/-1;margin:10px auto 0;z-index:1}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;margin:10px auto 0;z-index:1}.Desktop .ResultsContainerError.WithIcon{margin-top:10px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function Ur(e,t,r){const n=e.slice();return n[69]=t[r],n}function Fr(e){let t,r=e[23]("cancel")+"",n,a,i,o;return{c(){t=I("small"),n=re(r),_(t,"class",a="SearchCancelButton "+(e[18]?"NotVisible":""))},m(s,u){V(s,t,u),R(t,n),i||(o=de(t,"click",e[44]),i=!0)},p(s,u){u[0]&8388608&&r!==(r=s[23]("cancel")+"")&&ce(n,r),u[0]&262144&&a!==(a="SearchCancelButton "+(s[18]?"NotVisible":""))&&_(t,"class",a)},d(s){s&&W(t),i=!1,o()}}}function nu(e){let t,r,n,a;function i(c,h){if(c[19]==!0&&c[16].length<2)return ou;if(c[15].length!=0)return iu}let o=i(e),s=o&&o(e),u=e[18]===!1&&$r(e),l=e[16].length>=2&&e[15].length==0&&Yr(e);return{c(){s&&s.c(),t=Z(),r=I("div"),u&&u.c(),n=Z(),l&&l.c(),_(r,"class",a="SearchResultsContainer "+(e[19]==!0?"":"NotVisible"))},m(c,h){s&&s.m(c,h),V(c,t,h),V(c,r,h),u&&u.m(r,null),R(r,n),l&&l.m(r,null)},p(c,h){o===(o=i(c))&&s?s.p(c,h):(s&&s.d(1),s=o&&o(c),s&&(s.c(),s.m(t.parentNode,t))),c[18]===!1?u?u.p(c,h):(u=$r(c),u.c(),u.m(r,n)):u&&(u.d(1),u=null),c[16].length>=2&&c[15].length==0?l?l.p(c,h):(l=Yr(c),l.c(),l.m(r,null)):l&&(l.d(1),l=null),h[0]&524288&&a!==(a="SearchResultsContainer "+(c[19]==!0?"":"NotVisible"))&&_(r,"class",a)},d(c){c&&(W(t),W(r)),s&&s.d(c),u&&u.d(),l&&l.d()}}}function au(e){let t,r=e[23]("loading")+"",n;return{c(){t=I("p"),n=re(r),_(t,"class","LoadingContent")},m(a,i){V(a,t,i),R(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("loading")+"")&&ce(n,r)},d(a){a&&W(t)}}}function iu(e){let t,r=e[23]("searchResult")+"",n;return{c(){t=I("p"),n=re(r),_(t,"class","SearchMessage")},m(a,i){V(a,t,i),R(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("searchResult")+"")&&ce(n,r)},d(a){a&&W(t)}}}function ou(e){let t,r,n=e[15].length!==0&&Gr(e),a=e[15].length==0&&jr(e);return{c(){n&&n.c(),t=Z(),a&&a.c(),r=Jt()},m(i,o){n&&n.m(i,o),V(i,t,o),a&&a.m(i,o),V(i,r,o)},p(i,o){i[15].length!==0?n?n.p(i,o):(n=Gr(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),i[15].length==0?a?a.p(i,o):(a=jr(i),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(i){i&&(W(t),W(r)),n&&n.d(i),a&&a.d(i)}}}function Gr(e){let t,r=e[23]("recentSearch")+"",n;return{c(){t=I("p"),n=re(r),_(t,"class","SearchMessage")},m(a,i){V(a,t,i),R(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("recentSearch")+"")&&ce(n,r)},d(a){a&&W(t)}}}function jr(e){let t,r,n,a=e[23]("noRecentSearches")+"",i,o,s=e[11]==="true"&&Wr();return{c(){t=I("div"),s&&s.c(),r=Z(),n=I("p"),i=re(a),_(n,"class","SearchMessage"),_(t,"class",o="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(u,l){V(u,t,l),s&&s.m(t,null),R(t,r),R(t,n),R(n,i)},p(u,l){u[11]==="true"?s||(s=Wr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&8388608&&a!==(a=u[23]("noRecentSearches")+"")&&ce(i,a),l[0]&2048&&o!==(o="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&_(t,"class",o)},d(u){u&&W(t),s&&s.d()}}}function Wr(e){let t;return{c(){t=I("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){V(r,t,n)},d(r){r&&W(t)}}}function $r(e){let t=[],r=new Map,n,a=Lt(e[15]);const i=o=>o[69].id;for(let o=0;o<a.length;o+=1){let s=Ur(e,a,o),u=i(s);r.set(u,t[o]=Vr(u,s))}return{c(){for(let o=0;o<t.length;o+=1)t[o].c();n=Jt()},m(o,s){for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(o,s);V(o,n,s)},p(o,s){s[0]&308319231&&(a=Lt(o[15]),t=Ba(t,s,i,1,o,a,r,n.parentNode,Aa,Vr,n,Ur))},d(o){o&&W(n);for(let s=0;s<t.length;s+=1)t[s].d(o)}}}function Vr(e,t){let r,n,a,i,o,s,u,l,c,h,d,m,g,b;return{key:e,first:null,c(){var w,p,O;r=I("casino-game-thumbnail-nd"),v(r,"class",n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1")),v(r,"endpoint",t[0]),v(r,"session",t[21]),v(r,"userid",t[22]),v(r,"favorites",t[9]),v(r,"lang",t[1]),v(r,"gamethumbnail",a=t[69].thumbnail),v(r,"icon",i=t[25]((w=t[69])==null?void 0:w.icons)),v(r,"gamename",o=t[69].name),v(r,"gamevendor",s=(p=t[69].vendor)==null?void 0:p.name),v(r,"gameLaunchUrl",u=t[69].launchUrl),v(r,"gameisnew",l=t[69].isNew),v(r,"gametag",c=((O=t[69].advancedTags)==null?void 0:O.length)>0&&t[28](t[69].advancedTags)),v(r,"gamecellsize",h=t[69].cellSize),v(r,"gameid",d=t[69].id),v(r,"showgamename",t[7]),v(r,"gamefunmode",m=t[69].hasFunMode),v(r,"gamefavorite",g=t[69].isFavorite),v(r,"livelobbyendpoint",b=t[69].details?t[69].launchUrl:""),v(r,"integratedgameframedesktop",t[5]),v(r,"integratedgameframemobile",t[6]),v(r,"clientstyling",t[3]),v(r,"clientstylingurl",t[4]),v(r,"gamepagemodalurl",t[8]),v(r,"mbsource",t[2]),v(r,"allowsingleclickgameentry",t[12]),this.first=r},m(w,p){V(w,r,p)},p(w,p){var O,P,B;t=w,p[0]&32768&&n!==(n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1"))&&v(r,"class",n),p[0]&1&&v(r,"endpoint",t[0]),p[0]&2097152&&v(r,"session",t[21]),p[0]&4194304&&v(r,"userid",t[22]),p[0]&512&&v(r,"favorites",t[9]),p[0]&2&&v(r,"lang",t[1]),p[0]&32768&&a!==(a=t[69].thumbnail)&&v(r,"gamethumbnail",a),p[0]&32768&&i!==(i=t[25]((O=t[69])==null?void 0:O.icons))&&v(r,"icon",i),p[0]&32768&&o!==(o=t[69].name)&&v(r,"gamename",o),p[0]&32768&&s!==(s=(P=t[69].vendor)==null?void 0:P.name)&&v(r,"gamevendor",s),p[0]&32768&&u!==(u=t[69].launchUrl)&&v(r,"gameLaunchUrl",u),p[0]&32768&&l!==(l=t[69].isNew)&&v(r,"gameisnew",l),p[0]&32768&&c!==(c=((B=t[69].advancedTags)==null?void 0:B.length)>0&&t[28](t[69].advancedTags))&&v(r,"gametag",c),p[0]&32768&&h!==(h=t[69].cellSize)&&v(r,"gamecellsize",h),p[0]&32768&&d!==(d=t[69].id)&&v(r,"gameid",d),p[0]&128&&v(r,"showgamename",t[7]),p[0]&32768&&m!==(m=t[69].hasFunMode)&&v(r,"gamefunmode",m),p[0]&32768&&g!==(g=t[69].isFavorite)&&v(r,"gamefavorite",g),p[0]&32768&&b!==(b=t[69].details?t[69].launchUrl:"")&&v(r,"livelobbyendpoint",b),p[0]&32&&v(r,"integratedgameframedesktop",t[5]),p[0]&64&&v(r,"integratedgameframemobile",t[6]),p[0]&8&&v(r,"clientstyling",t[3]),p[0]&16&&v(r,"clientstylingurl",t[4]),p[0]&256&&v(r,"gamepagemodalurl",t[8]),p[0]&4&&v(r,"mbsource",t[2]),p[0]&4096&&v(r,"allowsingleclickgameentry",t[12])},d(w){w&&W(r)}}}function Yr(e){let t,r,n,a=e[23]("notFound")+"",i,o,s,u=e[23]("notFoundText")+"",l,c,h=e[11]==="true"&&Xr();return{c(){t=I("div"),h&&h.c(),r=Z(),n=I("p"),i=re(a),o=Z(),s=I("p"),l=re(u),_(n,"class","SearchMessage"),_(t,"class",c="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(d,m){V(d,t,m),h&&h.m(t,null),R(t,r),R(t,n),R(n,i),R(t,o),R(t,s),R(s,l)},p(d,m){d[11]==="true"?h||(h=Xr(),h.c(),h.m(t,r)):h&&(h.d(1),h=null),m[0]&8388608&&a!==(a=d[23]("notFound")+"")&&ce(i,a),m[0]&8388608&&u!==(u=d[23]("notFoundText")+"")&&ce(l,u),m[0]&2048&&c!==(c="ResultsContainerError "+(d[11]=="true"?"WithIcon":""))&&_(t,"class",c)},d(d){d&&W(t),h&&h.d()}}}function Xr(e){let t;return{c(){t=I("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){V(r,t,n)},d(r){r&&W(t)}}}function su(e){let t,r,n,a,i,o,s,u,l,c,h,d,m,g,b,w,p,O,P,B,F,T=e[10]==="true"&&Fr(e);function H(C,E){return C[20]?au:nu}let G=H(e),A=G(e);return{c(){t=I("div"),r=I("div"),n=I("div"),a=I("div"),a.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',i=Z(),o=I("input"),u=Z(),l=I("span"),c=rt("svg"),h=rt("path"),m=Z(),T&&T.c(),b=Z(),w=I("div"),O=Z(),A.c(),_(a,"class","SearchIcon"),_(o,"class","SearchInput"),_(o,"type","search"),_(o,"placeholder",s=e[23]("placeHolderSearchGames")),_(o,"maxlength",$n),_(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(h,"stroke","#717171"),_(h,"stroke-width","2"),_(h,"stroke-linecap","round"),_(h,"stroke-linejoin","round"),_(c,"width","11"),_(c,"height","11"),_(c,"fill","none"),_(c,"xmlns","http://www.w3.org/2000/svg"),_(l,"class",d="SearchClearButton "+(e[10]!="true"?"WithoutCancel":"")+" "+(e[16].length!=0?"":"NotVisible")),_(n,"class",g="Search "+(e[18]?"":"SearchAnimation")),_(r,"class","SearchWrap"),_(w,"class",p=e[10]!="true"?"OverlayCancel":""),_(t,"class",P=(je(e[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(e[13]==="true"?"ResponsiveGrid":""))},m(C,E){V(C,t,E),R(t,r),R(r,n),R(n,a),R(n,i),R(n,o),fr(o,e[16]),e[42](o),R(n,u),R(n,l),R(l,c),R(c,h),R(n,m),T&&T.m(n,null),R(t,b),R(t,w),R(t,O),A.m(t,null),e[45](t),B||(F=[de(o,"input",e[41]),de(o,"focus",e[26]),de(o,"input",e[31]),de(l,"click",e[43]),de(w,"click",e[27])],B=!0)},p(C,E){E[0]&8388608&&s!==(s=C[23]("placeHolderSearchGames"))&&_(o,"placeholder",s),E[0]&65536&&o.value!==C[16]&&fr(o,C[16]),E[0]&66560&&d!==(d="SearchClearButton "+(C[10]!="true"?"WithoutCancel":"")+" "+(C[16].length!=0?"":"NotVisible"))&&_(l,"class",d),C[10]==="true"?T?T.p(C,E):(T=Fr(C),T.c(),T.m(n,null)):T&&(T.d(1),T=null),E[0]&262144&&g!==(g="Search "+(C[18]?"":"SearchAnimation"))&&_(n,"class",g),E[0]&1024&&p!==(p=C[10]!="true"?"OverlayCancel":"")&&_(w,"class",p),G===(G=H(C))&&A?A.p(C,E):(A.d(1),A=G(C),A&&(A.c(),A.m(t,null))),E[0]&8192&&P!==(P=(je(C[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(C[13]==="true"?"ResponsiveGrid":""))&&_(t,"class",P)},i:J,o:J,d(C){C&&W(t),e[42](null),T&&T.d(),A.d(),e[45](null),B=!1,ge(F)}}}let $n=50;function uu(e,t,r){let n;Qr(e,Mn,f=>r(23,n=f));let{endpoint:a=""}=t,{datasource:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{mbsource:l}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:d="false"}=t,{integratedgameframemobile:m="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:p=""}=t,{cancelbutton:O="true"}=t,{notfoundicon:P="false"}=t,{controlchannel:B="casino-search"}=t,{allowedorigins:F=window.location.origin}=t,{requiredicon:T="false"}=t,{allowsingleclickgameentry:H="false"}=t,{enablesearchcontainergrid:G="false"}=t;const A=()=>(F||"").split(",").map(f=>f.trim()).filter(Boolean);let C=window.navigator.userAgent,E=[],X=[],se={},ne="",he,Ve=!0,ae=!1,K=!1,ie,Re,Yn,Ye=!1,Xe,qe,rr=[];const pt=f=>{Object.keys(f).forEach(y=>{Co(y,f[y])})},Xn=()=>{fetch(w).then(y=>y.json()).then(y=>{pt(y)}).catch(y=>{console.log(y)})};pt(Oo);const nr=f=>{var y;f.data&&f.data.type=="SearchedItemClicked"&&na(f.data.gameId),f.data.type=="UserSessionID"&&(r(21,Xe=f.data.session),r(22,qe=f.data.userid),r(40,Ye=!0)),f.data.type=="CategoryChange"&&Be();try{const D=f.origin===window.location.origin,k=A();if(!(D||k.length>0&&k.includes(f.origin))||!f.data||f.data.channel!==B)return;switch(f.data.type){case"OpenSearch":bt();break;case"CloseSearch":ar();break;case"ToggleSearch":zn();break;case"SetSearchQuery":Qn(String((y=f.data.value)!=null?y:""));break}}catch(D){}},qn=f=>T!=="true"?void 0:Object.values(f!=null?f:{}).pop(),vt=()=>{if(r(18,Ve=!1),r(19,ae=!0),a&&i&&u&&ne.length<2){r(15,E=[]);let f=localStorage.getItem("searchedGamesWds_casino"),y=[];f&&(y=f.split(","));let D=[],k=0,j=y.length;if(j>0){for(k=0;k<j;k++){let $=new URL(`${a}/v1/casino/games/${y[k]}`);$.searchParams.append("language",u),$.searchParams.append("datasource",i),$.searchParams.append("platform",je(C)),D.push(Kn($,y[k]))}Promise.all(D).then($=>{$=$.filter(function(ee){return!!ee}),r(15,E=$.map(ee=>(ee.isFavorite=ir(ee.id),ee))),E.length?Ae("searchSuccess","SearchWidget"):Ae("searchFail","SearchWidget")}).catch($=>{Ae("searchError","SearchWidget")})}}sr(ae),Ae("searchAttempt","SearchWidget"),Ae("SearchInitialized","SearchWidget")};function bt(){ae||(vt(),requestAnimationFrame(()=>he==null?void 0:he.focus()),be({type:"SearchOpen"}))}function ar(){ae&&(Be(),be({type:"SearchClose"}))}function zn(){ae?ar():bt()}function Qn(f){r(16,ne=(f!=null?f:"").slice(0,$n)),ae||bt(),ur()}const Ae=(f,y)=>{typeof gtag=="function"&&gtag("event",f,{context:y})},Zn=()=>{O!="true"&&Be()},Jn=f=>new Promise((y,D)=>{r(20,K=!0),fetch(f.href).then(k=>k.json()).then(k=>{r(20,K=!1),y(k)}).catch(k=>{r(20,K=!1),console.error(k);try{be({type:"SearchError",message:String(k)})}catch(j){}D(k)})}),Kn=(f,y)=>new Promise((D,k)=>{r(20,K=!0),y&&Object.keys(se).indexOf(y)>=0?(r(20,K=!1),D(se[y])):fetch(f).then(j=>j.json()).then(j=>{var ee;r(20,K=!1);const $=(ee=j==null?void 0:j[0])!=null&&ee.gameId?j[0]:null;$&&(se[$.gameId]=$),D($)}).catch(j=>{r(20,K=!1),console.error(j);try{be({type:"SearchError",message:String(j)})}catch($){}k(j)})}),ea=()=>{const f=new URL(`${a}/v1/player/${qe}/favorites/`);r(20,K=!0);let y={method:"GET",headers:{"X-SessionID":Xe}};fetch(f.href,y).then(D=>D.json()).then(D=>{r(20,K=!1),rr=D.items.map(k=>k.id)})},ta=()=>{r(40,Ye=!0),r(21,Xe=o),r(22,qe=s)},ir=f=>rr.findIndex(y=>y==f)!==-1,ra=f=>{if((f==null?void 0:f.length)===0)return"";let y,D=99999999999,k;const j=new Date(Date.now());return f.forEach(($,ee)=>{const ha=new Date($.schedules[0].startTime),yt=new Date($.schedules[0].endTime);Lr(new Date(yt),new Date(j))<D&&(D=Lr(new Date(yt),new Date(j)),k=ee),eu(new Date(j),new Date(ha))&&tu(new Date(j),new Date(yt))&&(y=f[k].name)}),y},na=f=>{if(X=localStorage.getItem("searchedGamesWds_casino"),X?X=X.split(","):X=[],X.indexOf(f)===-1){let y;X.unshift(f),y=X.join(","),localStorage.setItem("searchedGamesWds_casino",y)}},Be=()=>{r(16,ne=""),r(18,Ve=!0),r(20,K=!1),r(15,E=[]),r(19,ae=!1),sr(ae)},or=()=>{r(16,ne=""),he.focus()},sr=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href),be({type:f?"SearchOpen":"SearchClose"})};function be(f){try{const y=_t({channel:B},f);window.postMessage(y,window.location.href)}catch(y){}}const aa=()=>{Po(u)},ur=()=>St(this,null,function*(){if(ne.length>=2){const f=new URL(`${a}/v1/casino/games`);f.searchParams.append("datasource",i),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",je(C)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${ne}`),Jn(f).then(y=>{if(y.error)throw y.error;r(15,E=y.items.map(D=>(D.isFavorite=ir(D.id),D)));try{be({type:"SearchResults",count:E.length})}catch(D){}}).catch(y=>{console.error(y),r(15,E=[])})}else Ve||vt()}),ia=Yo(ur,500);Jr(()=>(window.addEventListener("message",nr,!1),()=>{Re&&Re.unsubscribe(),window.removeEventListener("message",nr)}));function oa(){ne=this.value,r(16,ne)}function sa(f){Ue[f?"unshift":"push"](()=>{he=f,r(17,he)})}const ua=()=>or(),la=()=>Be();function ca(f){Ue[f?"unshift":"push"](()=>{ie=f,r(14,ie)})}return e.$$set=f=>{"endpoint"in f&&r(0,a=f.endpoint),"datasource"in f&&r(32,i=f.datasource),"session"in f&&r(33,o=f.session),"userid"in f&&r(34,s=f.userid),"lang"in f&&r(1,u=f.lang),"mbsource"in f&&r(2,l=f.mbsource),"clientstyling"in f&&r(3,c=f.clientstyling),"clientstylingurl"in f&&r(4,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(5,d=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(6,m=f.integratedgameframemobile),"showgamename"in f&&r(7,g=f.showgamename),"gamepagemodalurl"in f&&r(8,b=f.gamepagemodalurl),"translationurl"in f&&r(35,w=f.translationurl),"showfavorites"in f&&r(9,p=f.showfavorites),"cancelbutton"in f&&r(10,O=f.cancelbutton),"notfoundicon"in f&&r(11,P=f.notfoundicon),"controlchannel"in f&&r(36,B=f.controlchannel),"allowedorigins"in f&&r(37,F=f.allowedorigins),"requiredicon"in f&&r(38,T=f.requiredicon),"allowsingleclickgameentry"in f&&r(12,H=f.allowsingleclickgameentry),"enablesearchcontainergrid"in f&&r(13,G=f.enablesearchcontainergrid)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&aa(),e.$$.dirty[1]&16&&w&&Xn(),e.$$.dirty[1]&12&&o&&s&&ta(),e.$$.dirty[0]&512|e.$$.dirty[1]&512&&p&&Ye&&ea(),e.$$.dirty[0]&16392&&c&&ie&&Rn(ie,c),e.$$.dirty[0]&16400&&h&&ie&&An(ie,h),e.$$.dirty[0]&16388|e.$$.dirty[1]&256&&l&&ie&&r(39,Re=Bn(ie,`${l}.Style`,Re,!0)),e.$$.dirty[0]&4|e.$$.dirty[1]&16&&l&&!w&&Wn(`${l}.Translation`,Yn,pt)},[a,u,l,c,h,d,m,g,b,p,O,P,H,G,ie,E,ne,he,Ve,ae,K,Xe,qe,n,C,qn,vt,Zn,ra,Be,or,ia,i,o,s,w,B,F,T,Re,Ye,oa,sa,ua,la,ca]}class Vn extends on{constructor(t){super(),rn(this,t,uu,su,Zt,{endpoint:0,datasource:32,session:33,userid:34,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:35,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:36,allowedorigins:37,requiredicon:38,allowsingleclickgameentry:12,enablesearchcontainergrid:13},ru,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),L()}get datasource(){return this.$$.ctx[32]}set datasource(t){this.$$set({datasource:t}),L()}get session(){return this.$$.ctx[33]}set session(t){this.$$set({session:t}),L()}get userid(){return this.$$.ctx[34]}set userid(t){this.$$set({userid:t}),L()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),L()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),L()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),L()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),L()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),L()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),L()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),L()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),L()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),L()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),L()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),L()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),L()}get controlchannel(){return this.$$.ctx[36]}set controlchannel(t){this.$$set({controlchannel:t}),L()}get allowedorigins(){return this.$$.ctx[37]}set allowedorigins(t){this.$$set({allowedorigins:t}),L()}get requiredicon(){return this.$$.ctx[38]}set requiredicon(t){this.$$set({requiredicon:t}),L()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),L()}get enablesearchcontainergrid(){return this.$$.ctx[13]}set enablesearchcontainergrid(t){this.$$set({enablesearchcontainergrid:t}),L()}}an(Vn,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{},enablesearchcontainergrid:{}},[],[],!0);const lu=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"}));exports.$format=Mn;exports.$locale=ve;exports.CasinoSearchNd_ce=lu;exports.HtmlTag=Ta;exports.SvelteComponent=on;exports.addMessages=er;exports.append=R;exports.append_styles=Zr;exports.attr=_;exports.binding_callbacks=Ue;exports.component_subscribe=Qr;exports.create_custom_element=an;exports.destroy_each=_a;exports.detach=W;exports.element=I;exports.empty=Jt;exports.ensure_array_like=Lt;exports.flush=L;exports.format=Js;exports.getDevice=je;exports.getStreamTranslations=Wn;exports.init=rn;exports.insert=V;exports.isMobile=Vo;exports.listen=de;exports.noop=J;exports.onMount=Jr;exports.safe_not_equal=Zt;exports.setClientStyling=Rn;exports.setClientStylingURL=An;exports.setStreamStyling=Bn;exports.set_custom_element_data=v;exports.set_data=ce;exports.set_style=Ea;exports.space=Z;exports.src_url_equal=va;exports.svg_element=rt;exports.text=re;exports.tick=Oa;exports.toggle_class=xa;