@everymatrix/casino-game-thumb-view 1.50.0 → 1.50.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.
Files changed (31) hide show
  1. package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
  2. package/dist/casino-game-thumb-view/{p-82eda321.entry.js → p-3ac1ceb2.entry.js} +1 -1
  3. package/dist/casino-game-thumb-view/{p-4ef4a384.entry.js → p-6f25852e.entry.js} +1 -1
  4. package/dist/casino-game-thumb-view/p-89d09251.js +2 -0
  5. package/dist/casino-game-thumb-view/p-c7ae1205.entry.js +1 -0
  6. package/dist/casino-game-thumb-view/{p-d48c3566.entry.js → p-c9da4e8b.entry.js} +1 -1
  7. package/dist/casino-game-thumb-view/{p-9915ee43.entry.js → p-cbb0566f.entry.js} +1 -1
  8. package/dist/casino-game-thumb-view/{p-0ed579fa.entry.js → p-cfd13ff8.entry.js} +1 -1
  9. package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +1 -1
  10. package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +1 -1
  11. package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +1 -1
  12. package/dist/cjs/casino-game-thumb-view.cjs.js +2 -2
  13. package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +1 -1
  14. package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +1 -1
  15. package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +1 -1
  16. package/dist/cjs/{index-48d13981.js → index-0892a7c6.js} +30 -13
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/collection/collection-manifest.json +2 -2
  19. package/dist/esm/casino-extrainfo-baccarat.entry.js +1 -1
  20. package/dist/esm/casino-extrainfo-blackjack.entry.js +1 -1
  21. package/dist/esm/casino-extrainfo-roulette.entry.js +1 -1
  22. package/dist/esm/casino-game-thumb-view.js +3 -3
  23. package/dist/esm/casino-game-thumb-view_2.entry.js +1 -1
  24. package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +1 -1
  25. package/dist/esm/casino-normal-game-thumbnail.entry.js +1 -1
  26. package/dist/esm/{index-8c9a8030.js → index-bbccad17.js} +30 -13
  27. package/dist/esm/loader.js +2 -2
  28. package/dist/types/stencil-public-runtime.d.ts +6 -0
  29. package/package.json +1 -1
  30. package/dist/casino-game-thumb-view/p-b73b7a18.entry.js +0 -1
  31. package/dist/casino-game-thumb-view/p-eef6f908.js +0 -2
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-eef6f908.js";export{s as setNonce}from"./p-eef6f908.js";import{g as n}from"./p-e1255160.js";(()=>{const a=import.meta.url,n={};return""!==a&&(n.resourcesUrl=new URL(".",a).href),e(n)})().then((async e=>(await n(),a([["p-4ef4a384",[[4,"casino-game-thumbnail-extrainfo",{language:[1],betLimit:[32],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}],[0,"casino-game-thumbnail-betlimit",{betLimit:[16],numberOfPlayers:[2,"number-of-players"]}]]],["p-d48c3566",[[0,"casino-extrainfo-baccarat",{language:[1],showRoundBoard:[4,"show-round-board"],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64],onBaccaratResultChanged:[64]},null,{gameDetails:["gameDetailsHandler"]}]]],["p-9915ee43",[[0,"casino-extrainfo-blackjack",{language:[1],gameInfo:[32],gameDetails:[32],seatsStatus:[32],isTableFull:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-0ed579fa",[[0,"casino-extrainfo-roulette",{language:[1],gameInfo:[32],gameDetails:[32],showLiveClass:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-b73b7a18",[[0,"casino-normal-game-thumbnail",{language:[1],onGameLoaded:[64]}]]],["p-82eda321",[[1,"casino-game-thumb-view",{language:[1],endpoint:[1],userId:[8,"user-id"],showGameName:[4,"show-game-name"],session:[1],showFavoredCategory:[4,"show-favored-category"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],loadDetails:[4,"load-details"],showRoundBoard:[4,"show-round-board"],visibilityConnect:[1,"visibility-connect"],connectLive:[1,"connect-live"],gameCategory:[1,"game-category"],livelobbyEndpoint:[1,"livelobby-endpoint"],gameId:[8,"game-id"],gameName:[1,"game-name"],subVendor:[1,"sub-vendor"],gameVendor:[1,"game-vendor"],hasFunMode:[4,"has-fun-mode"],hasAnonymousFunMode:[4,"has-anonymous-fun-mode"],platform:[1],thumbnail:[1],isFavorite:[4,"is-favorite"],isNew:[4,"is-new"],cellSize:[1,"cell-size"],gameTag:[1,"game-tag"],type:[1],gameInfo:[32],isTableFull:[32],hover:[32]},[[1,"mouseenter","handleMouseOver"],[1,"mouseleave","handleMouseOver"],[4,"gameFavorited","gameFavoritedHandler"],[0,"gameDetailChange","gameDetailChangeHandler"]],{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}],[4,"casino-game-thumbnail-overlay",{gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],language:[1],gameName:[1,"game-name"],gameVendor:[1,"game-vendor"],gameId:[8,"game-id"],hasFunMode:[4,"has-fun-mode"]}]]]],e))));
1
+ import{p as e,b as a}from"./p-89d09251.js";export{s as setNonce}from"./p-89d09251.js";import{g as n}from"./p-e1255160.js";(()=>{const a=import.meta.url,n={};return""!==a&&(n.resourcesUrl=new URL(".",a).href),e(n)})().then((async e=>(await n(),a([["p-6f25852e",[[4,"casino-game-thumbnail-extrainfo",{language:[1],betLimit:[32],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}],[0,"casino-game-thumbnail-betlimit",{betLimit:[16],numberOfPlayers:[2,"number-of-players"]}]]],["p-c9da4e8b",[[0,"casino-extrainfo-baccarat",{language:[1],showRoundBoard:[4,"show-round-board"],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64],onBaccaratResultChanged:[64]},null,{gameDetails:["gameDetailsHandler"]}]]],["p-cbb0566f",[[0,"casino-extrainfo-blackjack",{language:[1],gameInfo:[32],gameDetails:[32],seatsStatus:[32],isTableFull:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-cfd13ff8",[[0,"casino-extrainfo-roulette",{language:[1],gameInfo:[32],gameDetails:[32],showLiveClass:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-c7ae1205",[[0,"casino-normal-game-thumbnail",{language:[1],onGameLoaded:[64]}]]],["p-3ac1ceb2",[[1,"casino-game-thumb-view",{language:[1],endpoint:[1],userId:[8,"user-id"],showGameName:[4,"show-game-name"],session:[1],showFavoredCategory:[4,"show-favored-category"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],loadDetails:[4,"load-details"],showRoundBoard:[4,"show-round-board"],visibilityConnect:[1,"visibility-connect"],connectLive:[1,"connect-live"],gameCategory:[1,"game-category"],livelobbyEndpoint:[1,"livelobby-endpoint"],gameId:[8,"game-id"],gameName:[1,"game-name"],subVendor:[1,"sub-vendor"],gameVendor:[1,"game-vendor"],hasFunMode:[4,"has-fun-mode"],hasAnonymousFunMode:[4,"has-anonymous-fun-mode"],platform:[1],thumbnail:[1],isFavorite:[4,"is-favorite"],isNew:[4,"is-new"],cellSize:[1,"cell-size"],gameTag:[1,"game-tag"],type:[1],gameInfo:[32],isTableFull:[32],hover:[32]},[[1,"mouseenter","handleMouseOver"],[1,"mouseleave","handleMouseOver"],[4,"gameFavorited","gameFavoritedHandler"],[0,"gameDetailChange","gameDetailChangeHandler"]],{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}],[4,"casino-game-thumbnail-overlay",{gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],language:[1],gameName:[1,"game-name"],gameVendor:[1,"game-vendor"],gameId:[8,"game-id"],hasFunMode:[4,"has-fun-mode"]}]]]],e))));
@@ -1,4 +1,4 @@
1
- import{r as t,c as e,h as i}from"./p-eef6f908.js";import{c as n,i as a}from"./p-d2580653.js";import{G as o,a as s,W as r}from"./p-2d02adb1.js";import{t as h}from"./p-59ceeaaa.js";var l,c,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={exports:{}};
1
+ import{r as t,c as e,h as i}from"./p-89d09251.js";import{c as n,i as a}from"./p-d2580653.js";import{G as o,a as s,W as r}from"./p-2d02adb1.js";import{t as h}from"./p-59ceeaaa.js";var l,c,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={exports:{}};
2
2
  /** @license
3
3
  * eventsource.js
4
4
  * Available under MIT License (MIT)
@@ -1 +1 @@
1
- import{r as e,h as i}from"./p-eef6f908.js";import{n as t,a,h as s}from"./p-d2580653.js";import{t as n}from"./p-59ceeaaa.js";import{W as o,c as r}from"./p-2d02adb1.js";const l={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$"},m=class{constructor(i){e(this,i),this.defaultCurrency="EUR",this.isBetLimitAvailable=!1,this.betLimit=void 0,this.numberOfPlayers=void 0}getCurrencySymbols(e){return l[e]}componentWillRender(){if(this.betLimit){const e=this.betLimit.max?this.betLimit.max:this.betLimit.min||{};this.isBetLimitAvailable=1===Object.keys(e).length,this.currency=this.isBetLimitAvailable?Object.keys(e)[0]:this.defaultCurrency}}render(){return this.isBetLimitAvailable?i("p",{class:"LiveLimits"},i("span",{class:"BetLimitLeft"},this.getCurrencySymbols(this.currency)," ",t(this.betLimit.min[this.currency])," -"," ",t(this.betLimit.max[this.currency])),(this.numberOfPlayers||0==this.numberOfPlayers)&&i("span",{class:"BetLimitRight"},i("svg",{fill:"white",width:"13",height:"13",viewBox:"0 0 13 14",xmlns:"http://www.w3.org/2000/svg"},i("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"})),i("span",{class:"NrOfPlayers"},this.numberOfPlayers))):""}};m.style=":host{display:block}";const c=class{constructor(i){e(this,i),this.isNewGame=!1,this.language="en",this.betLimit=void 0,this.gameInfo=void 0,this.gameDetails=void 0}async onGameLoaded(e){var i;this.gameInfo=e,this.isNewGame=this.gameInfo.isNew,"false"===this.gameInfo.gameTag&&(this.gameInfo.gameTag=null),this.gameTag=this.gameInfo.gameTag,this.gameInfo.details&&(this.gameDetails=this.gameInfo.details,this.isDouble=!!this.gameDetails&&this.gameInfo.details.category.toLowerCase()===o.doubleballroulette,this.gameTag=this.gameDetails&&(null===(i=this.gameInfo.advancedTags)||void 0===i?void 0:i.length)>0?a(this.gameInfo.advancedTags):this.gameInfo.gameTag,this.betLimit=this.gameDetails?this.gameDetails.betLimit:null,this.initTimeProperties())}initTimeProperties(){var e,i,t,a,s;"Bounded"===(null===(i=null===(e=this.gameDetails)||void 0===e?void 0:e.openHours)||void 0===i?void 0:i.type)&&(this.gameStartTime=null===(a=null===(t=this.gameDetails)||void 0===t?void 0:t.openHours)||void 0===a?void 0:a.value.startTime,this.gameTimeFormat=null===(s=this.gameDetails)||void 0===s?void 0:s.openHours.value.originalTimeFormat)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameDetails=Object.assign({},this.gameDetails),this.initTimeProperties()}render(){var e,t,a;return this.gameInfo?i("div",{class:"GameExtraInfo",part:"GameExtraInfo"},this.isNewGame&&i("span",{class:"GameExtraInfoLabel NewGameTag",part:"GameExtraInfoLabel NewGameTag"},n("new",this.language)),this.gameTag&&i("span",{class:"GameExtraInfoLabel PopularGameTag",part:"GameExtraInfoLabel PopularGameTag"},this.gameTag),this.gameDetails&&i("div",{class:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`,part:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`},this.gameDetails.isOpen?i("slot",{name:"category-details"}):this.gameStartTime&&this.gameTimeFormat&&i("div",{class:"ClosedGame",part:"ClosedGame"},n("opens",this.language),i("span",null," ",s.utc(this.gameStartTime).local().format(this.gameTimeFormat)," ")),(null===(e=this.gameDetails.dealer)||void 0===e?void 0:e.DealerName)&&i("p",{class:"LiveLimits"},i("span",{class:"DealerName"},n("dealer",this.language),":"," ",null===(t=this.gameDetails)||void 0===t?void 0:t.dealer.DealerName," ")),i("casino-game-thumbnail-betlimit",{betLimit:this.betLimit,numberOfPlayers:null===(a=this.gameDetails)||void 0===a?void 0:a.numberOfPlayers}))):""}};c.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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--color-white, #FFFFFF);opacity:1;font-size:14px}.GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 10px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 6px 0 1px;font-size:14px;text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);font-weight:normal;font-size:12px}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px;vertical-align:top}';export{m as casino_game_thumbnail_betlimit,c as casino_game_thumbnail_extrainfo}
1
+ import{r as e,h as i}from"./p-89d09251.js";import{n as t,a,h as s}from"./p-d2580653.js";import{t as n}from"./p-59ceeaaa.js";import{W as o,c as r}from"./p-2d02adb1.js";const l={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$"},m=class{constructor(i){e(this,i),this.defaultCurrency="EUR",this.isBetLimitAvailable=!1,this.betLimit=void 0,this.numberOfPlayers=void 0}getCurrencySymbols(e){return l[e]}componentWillRender(){if(this.betLimit){const e=this.betLimit.max?this.betLimit.max:this.betLimit.min||{};this.isBetLimitAvailable=1===Object.keys(e).length,this.currency=this.isBetLimitAvailable?Object.keys(e)[0]:this.defaultCurrency}}render(){return this.isBetLimitAvailable?i("p",{class:"LiveLimits"},i("span",{class:"BetLimitLeft"},this.getCurrencySymbols(this.currency)," ",t(this.betLimit.min[this.currency])," -"," ",t(this.betLimit.max[this.currency])),(this.numberOfPlayers||0==this.numberOfPlayers)&&i("span",{class:"BetLimitRight"},i("svg",{fill:"white",width:"13",height:"13",viewBox:"0 0 13 14",xmlns:"http://www.w3.org/2000/svg"},i("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"})),i("span",{class:"NrOfPlayers"},this.numberOfPlayers))):""}};m.style=":host{display:block}";const c=class{constructor(i){e(this,i),this.isNewGame=!1,this.language="en",this.betLimit=void 0,this.gameInfo=void 0,this.gameDetails=void 0}async onGameLoaded(e){var i;this.gameInfo=e,this.isNewGame=this.gameInfo.isNew,"false"===this.gameInfo.gameTag&&(this.gameInfo.gameTag=null),this.gameTag=this.gameInfo.gameTag,this.gameInfo.details&&(this.gameDetails=this.gameInfo.details,this.isDouble=!!this.gameDetails&&this.gameInfo.details.category.toLowerCase()===o.doubleballroulette,this.gameTag=this.gameDetails&&(null===(i=this.gameInfo.advancedTags)||void 0===i?void 0:i.length)>0?a(this.gameInfo.advancedTags):this.gameInfo.gameTag,this.betLimit=this.gameDetails?this.gameDetails.betLimit:null,this.initTimeProperties())}initTimeProperties(){var e,i,t,a,s;"Bounded"===(null===(i=null===(e=this.gameDetails)||void 0===e?void 0:e.openHours)||void 0===i?void 0:i.type)&&(this.gameStartTime=null===(a=null===(t=this.gameDetails)||void 0===t?void 0:t.openHours)||void 0===a?void 0:a.value.startTime,this.gameTimeFormat=null===(s=this.gameDetails)||void 0===s?void 0:s.openHours.value.originalTimeFormat)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameDetails=Object.assign({},this.gameDetails),this.initTimeProperties()}render(){var e,t,a;return this.gameInfo?i("div",{class:"GameExtraInfo",part:"GameExtraInfo"},this.isNewGame&&i("span",{class:"GameExtraInfoLabel NewGameTag",part:"GameExtraInfoLabel NewGameTag"},n("new",this.language)),this.gameTag&&i("span",{class:"GameExtraInfoLabel PopularGameTag",part:"GameExtraInfoLabel PopularGameTag"},this.gameTag),this.gameDetails&&i("div",{class:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`,part:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`},this.gameDetails.isOpen?i("slot",{name:"category-details"}):this.gameStartTime&&this.gameTimeFormat&&i("div",{class:"ClosedGame",part:"ClosedGame"},n("opens",this.language),i("span",null," ",s.utc(this.gameStartTime).local().format(this.gameTimeFormat)," ")),(null===(e=this.gameDetails.dealer)||void 0===e?void 0:e.DealerName)&&i("p",{class:"LiveLimits"},i("span",{class:"DealerName"},n("dealer",this.language),":"," ",null===(t=this.gameDetails)||void 0===t?void 0:t.dealer.DealerName," ")),i("casino-game-thumbnail-betlimit",{betLimit:this.betLimit,numberOfPlayers:null===(a=this.gameDetails)||void 0===a?void 0:a.numberOfPlayers}))):""}};c.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.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--color-white, #FFFFFF);opacity:1;font-size:14px}.GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 10px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 6px 0 1px;font-size:14px;text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);font-weight:normal;font-size:12px}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px;vertical-align:top}';export{m as casino_game_thumbnail_betlimit,c as casino_game_thumbnail_extrainfo}
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},d={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,v=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.o?g(b):d.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(v),$(y),(m=v.length>0)&&d.raf(b)},g=e=>h().then(e),S=w(y,!0),k={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>x,ok:()=>E,unwrap:()=>A,unwrapErr:()=>T});var E=e=>({isOk:!0,isErr:!1,value:e}),C=e=>({isOk:!1,isErr:!0,value:e});function x(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>E(e))):E(n)}if(e.isErr)return C(e.value);throw"should never get here"}var M,R,P,A=e=>{if(e.isOk)return e.value;throw e.value},T=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!j(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?H(null,o):o),r=i)};if(f(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,N);const u=H(e,null);return u.u=t,c.length>0&&(u.h=c),u.p=l,u.m=s,u},H=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),L={},N={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(F)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),F=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},U=(e,t,o)=>{const l=(e=>n(e).$hostElement$)(e);return{emit:e=>q(l,t,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e})}},q=(e,t,n)=>{const o=d.ce(t,n);return e.dispatchEvent(o),o},G=new WeakMap,I=e=>"sc-"+e.S,V=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=z(n),s=z(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(f,t):e.removeAttribute(t)):(!r||4&i||s)&&!l&&(o=!0===o?"":o,u?e.setAttributeNS(f,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(B);t=t.replace(J,""),n&&d.rel(e,t,n,l),o&&d.ael(e,t,o,l)}}},_=/\s/,z=e=>e?e.split(_):[],B="Capture",J=RegExp(B+"$"),K=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||k,s=t.u||k;for(const e of Q(Object.keys(l)))e in s||V(o,e,l[e],void 0,n,t.o);for(const e of Q(Object.keys(s)))V(o,e,l[e],s[e],n,t.o)};function Q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var X=!1,Y=!1,Z=!1,ee=!1,te=(e,t,n,o)=>{var l;const s=t.h[n];let i,r,c,f=0;if(X||(Z=!0,"slot"===s.v&&(M&&o.classList.add(M+"-s"),s.o|=s.h?2:1)),null!==s.i)i=s.$=a.createTextNode(s.i);else if(1&s.o)i=s.$=a.createTextNode("");else{if(ee||(ee="svg"===s.v),i=s.$=a.createElementNS(ee?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!X&&2&s.o?"slot-fb":s.v),ee&&"foreignObject"===s.v&&(ee=!1),K(null,s,ee),i.getRootNode().querySelector("body"),s.h)for(f=0;f<s.h.length;++f)r=te(e,s,f,i),r&&i.appendChild(r);"svg"===s.v?ee=!1:"foreignObject"===i.tagName&&(ee=!0)}return i["s-hn"]=P,3&s.o&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&ne(e.$,!1)),i},ne=(e,t)=>{d.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==P&&o["s-ol"]&&(pe(re(o),o,ie(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Z=!0),t&&ne(o,t)}d.o&=-2},oe=(e,t,n,o,l,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===P&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=te(null,n,l,e),i&&(o[l].$=i,pe(r,i,ie(t))))},le=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;he(t),e&&(Y=!0,e["s-ol"]?e["s-ol"].remove():ne(e,!0),e.remove())}}},se=(e,t,n=!1)=>!(e.v!==t.v||("slot"===e.v?"k"in e&&n&&8!==e.$.nodeType||e.m!==t.m:!n&&e.p!==t.p)),ie=e=>e&&e["s-ol"]||e,re=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ce=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,i=t.v,r=t.i;let c;null===r?(ee="svg"===i||"foreignObject"!==i&&ee,("slot"!==i||X)&&K(e,t,ee),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(se(d,m,l))ce(d,m,l),d=t[++r],m=o[++c];else if(se(h,v,l))ce(h,v,l),h=t[--a],v=o[--p];else if(se(d,v,l))"slot"!==d.v&&"slot"!==v.v||ne(d.$.parentNode,!1),ce(d,v,l),pe(e,d.$,h.$.nextSibling),d=t[++r],v=o[--p];else if(se(h,m,l))"slot"!==d.v&&"slot"!==v.v||ne(h.$.parentNode,!1),ce(h,m,l),pe(e,h.$,d.$),h=t[--a],m=o[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].p&&t[u].p===m.p){f=u;break}f>=0?(i=t[f],i.v!==m.v?s=te(t&&t[c],n,f,e):(ce(i,m,l),t[f]=void 0,s=i.$),m=o[++c]):(s=te(t&&t[c],n,c,e),m=o[++c]),s&&pe(re(d.$),s,ie(d.$))}r>a?oe(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&le(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),oe(o,null,t,s,0,s.length-1)):!n&&null!==l&&le(l,0,l.length-1),ee&&"svg"===i&&(ee=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:e.i!==r&&(o.data=r)},fe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}fe(e)}},ue=[],ae=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(de(t,e)){let n=ue.find((e=>e.j===t));Y=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=l["s-hn"],n.O=l):(t["s-sh"]=l["s-hn"],ue.push({O:l,j:t})),t["s-sr"]&&ue.map((e=>{de(e.j,t["s-sn"])&&(n=ue.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else ue.some((e=>e.j===t))||ue.push({j:t})}1===l.nodeType&&ae(l)}},de=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,he=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(he)},pe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),me=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},ve=(e,t)=>{if(e.o|=16,!(4&e.o))return me(e,e.M),S((()=>ye(e,t)));e.o|=512},ye=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(e.o|=256,e.R&&(e.R.map((([e,t])=>je(n,e,t))),e.R=void 0),o=je(n,"componentWillLoad")),o=we(o,(()=>je(n,"componentWillRender"))),we(o,(()=>be(e,n,t)))},we=(e,t)=>$e(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),$e=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=I(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=G.get(e=e.head||e);if(i||G.set(e,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=d.A)?n:O(a);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ge(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>Se(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ge=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,i;const r=e.$hostElement$,c=e.P,f=e.T||H(null,null),u=(e=>e&&e.v===L)(t)?t:D(null,null,t);if(P=r.tagName,n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.v=null,u.o|=4,e.T=u,u.$=f.$=r.shadowRoot||r,M=r["s-sc"],X=!!(1&c.o),R=r["s-cr"],Y=!1,ce(f,u,n),d.o|=1,Z){ae(u.$);for(const e of ue){const t=e.j;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,pe(t.parentNode,t["s-ol"]=e,t)}}for(const e of ue){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),pe(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Y&&fe(u.$),d.o&=-2,ue.length=0,R=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},Se=e=>{const t=e.$hostElement$,n=e.t,o=e.M;je(n,"componentDidRender"),64&e.o||(e.o|=64,Oe(t),je(n,"componentDidLoad"),e.D(t),o||ke()),e.H(t),e.C&&(e.C(),e.C=void 0),512&e.o&&g((()=>ve(e,!1))),e.o&=-517},ke=()=>{Oe(a.documentElement),g((()=>q(u,"appload",{detail:{namespace:"casino-game-thumb-view"}})))},je=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Oe=e=>e.classList.add("hydrated"),Ee=(e,t,o)=>{var l,i;const r=e.prototype;if(t.L||t.N||e.watchers){e.watchers&&!t.N&&(t.N=e.watchers);const c=Object.entries(null!=(l=t.L)?l:{});if(c.map((([e,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).W.get(t))(0,e)},set(o){((e,t,o,l)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.W.get(t),f=i.o,u=i.t;if(o=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.L[t][0]),(!(8&f)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.W.set(t,o),u)){if(l.N&&128&f){const e=l.N[t];e&&e.map((e=>{try{u[e](o,c,t)}catch(e){s(e,r)}}))}2==(18&f)&&ve(i,!1)}})(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(r,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.F)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;r.attributeChangedCallback=function(e,l,s){d.jmp((()=>{var i;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),r=null==o?void 0:o.o;if(r&&!(8&r)&&128&r&&s!==l){const n=o.t,r=null==(i=t.N)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.N)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},Ce=e=>{je(e,"disconnectedCallback")},xe=(e,o={})=>{var l;const f=[],h=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),w=a.createElement("style"),$=[];let b,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],S:o[1],L:o[2],U:o[3]};4&c.o&&(S=!0),c.L=o[2],c.U=o[3],c.N=null!=(l=o[4])?l:{};const u=c.S,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,P:n,W:new Map};o.F=new Promise((e=>o.H=e)),o.q=new Promise((e=>o.D=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Me(this,e,c.U)),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(e=>{if(!(1&d.o)){const t=n(e),o=t.P,l=()=>{};if(1&t.o)Me(e,t,o.U),(null==t?void 0:t.t)||(null==t?void 0:t.q)&&t.q.then((()=>{}));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,pe(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){me(t,t.M=n);break}}o.L&&Object.entries(o.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.G){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.G;if(!n)return;const o=i.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.S}#${t.I}" was not found`);o.isProxied||(n.N=o.watchers,Ee(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,t.o|=128,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=I(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.M,c=()=>ve(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const e=n(this);e.V&&(e.V.map((e=>e())),e.V=void 0),(null==e?void 0:e.t)?Ce(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Ce(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],h.includes(u)||m.get(u)||(f.push(u),m.define(u,Ee(v,c,1)))}))})),f.length>0&&(S&&(w.textContent+=c),w.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=d.A)?l:O(a);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):d.jmp((()=>b=setTimeout(ke,30)))},Me=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Pe(e,n),i=Re(t,l),r=Ae(n);d.ael(s,o,i,r),(t.V=t.V||[]).push((()=>d.rel(s,o,i,r)))}))},Re=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.R=e.R||[]).push([t,n])}catch(e){s(e)}},Pe=(e,t)=>4&t?a:e,Ae=e=>({passive:!!(1&e),capture:!!(2&e)}),Te=e=>d.A=e;export{L as H,xe as b,U as c,D as h,h as p,o as r,Te as s}
@@ -0,0 +1 @@
1
+ import{r as a,h as s,H as e}from"./p-89d09251.js";const o=class{constructor(s){a(this,s),this.language=void 0}async onGameLoaded(a){var s;null===(s=this.infoWrapperRef)||void 0===s||s.onGameLoaded(a)}render(){return s(e,{key:"65ecbdb989b2b98974bbe60db24f31032e2e10a7"},s("casino-game-thumbnail-extrainfo",{key:"3633837b728bc4f18745cd87180b73359a403816",ref:a=>this.infoWrapperRef=a,language:this.language}))}};o.style=":host{display:block}";export{o as casino_normal_game_thumbnail}
@@ -1 +1 @@
1
- import{r as t,h as i,H as s}from"./p-eef6f908.js";import{b as n}from"./p-2d02adb1.js";var e,a;!function(t){t.ROULETTE="ROULETTE",t.POKER="POKER",t.BLACKJACK="BLACKJACK"}(e||(e={})),function(t){t.PLAYER="Player",t.WINNER="Banker",t.TIE="Tie"}(a||(a={}));class h{constructor(){this.svgNS="http://www.w3.org/2000/svg",this.svgVersion="1.1",this.markGroupExtraClass={name:"",strokeWidth:1.8,cellPadding:6}}resetSvg(){this.svgGroupObj.innerHTML=""}createTag(t,i){let s=document.createElementNS(this.svgNS,t);return Object.keys(i).forEach((t=>{s.setAttribute(t,i[t])})),s}createHLine(t){return this.createTag("line",{x1:0,x2:this.svgWidth,y1:t*this.cellHeight,y2:t*this.cellHeight})}createVLine(t){return this.createTag("line",{x1:t*this.cellWidth,x2:t*this.cellWidth,y1:0,y2:this.svgHeight})}createBaccaratBoard(t){this.parentEle=t,this.svgWidth=t.clientWidth,this.cellWidth=this.svgWidth/40,this.cellHeight=this.cellWidth,this.svgHeight=6*this.cellHeight;let i={};this.svgWidth<300?i={name:"Min",strokeWidth:.8,cellPadding:2}:this.svgWidth>=300&&this.svgWidth<500&&(i={name:"Mid",strokeWidth:1.5,cellPadding:3.8}),this.markGroupExtraClass=Object.assign(Object.assign({},this.markGroupExtraClass),i),this.markGroupExtraClass.fontSize=this.cellWidth-.8*this.markGroupExtraClass.cellPadding,this.markGroupExtraClass.pairDotR=this.markGroupExtraClass.strokeWidth/2,this.markGroupExtraClass.pairBackDotR=this.markGroupExtraClass.pairDotR+.4;let s=this.createTag("svg",{xmlns:this.svgNS,version:this.svgVersion,width:"100%"}),n=this.createTag("g",{style:"cursor: pointer",stroke:"#a1acb696","stroke-width":"0.6px",fill:"transparent"}),e=this.createTag("g",{style:"cursor: pointer",class:`BoardRoundsGroup ${this.markGroupExtraClass.name}`,"stroke-width":this.markGroupExtraClass.strokeWidth,fill:"transparent"});for(let t=0;t<7;t++)n.appendChild(this.createHLine(t));for(let t=0;t<41;t++)n.appendChild(this.createVLine(t));t.setAttribute("style",`height: ${this.svgHeight}px`),s.appendChild(n),s.appendChild(e),t.replaceChildren(s),this.svgGroupObj=e}getRadius(){return(this.cellHeight-this.markGroupExtraClass.cellPadding)/2}addAnimate(t){let i=this.createTag("animate",{attributeName:"opacity",attributeType:"XML",from:"0",to:.8,repeatCount:"5",begin:"0s",dur:"1.5s",calcMode:"spline",keySplines:"0.1 0.8 0.9 0.1",fill:"freeze"});t.appendChild(i)}markNewRound(t,i,s,n=!1){let e=this.getCenterPoint(t,i),h=this.createTag("g",{class:`Round ${n?"NewRound":""} ${s.winner===a.TIE?"Tie":""}`,part:"Round "+(n?"NewRound":""),opacity:n?.1:1});if(s.winner!==a.TIE){if(h.appendChild(this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s.color,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2})),s.ties){if(h.appendChild(this.createTieSvg(t,i)),s.ties>1){let t=this.createTag("text",{x:e.cx-1.5,y:e.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}s.bankerPair&&this.createPairDot(t,i,s.pairColor.banker,225).forEach((t=>h.appendChild(t))),s.playerPair&&this.createPairDot(t,i,s.pairColor.player,45).forEach((t=>h.appendChild(t))),s.includeAnimate&&this.addAnimate(h),this.svgGroupObj.appendChild(h)}else{if(h.appendChild(this.createTieSvg(t,i)),this.svgGroupObj.appendChild(h),s.ties&&s.ties>1){let t=this.createTag("text",{x:e.cx-1.5,y:e.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}}markRound(t,i,s,n=!1){let e=this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2});n&&this.addAnimate(e),this.svgGroupObj.appendChild(e)}getCenterPoint(t,i){return{cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2}}createTieSvg(t,i){let s=this.getCenterPoint(t,i),n=this.cellHeight/2;const e=s.cx+n*Math.cos(135*Math.PI/180),a=s.cy+n*Math.sin(135*Math.PI/180),h=s.cx+n*Math.cos(315*Math.PI/180),o=s.cy+n*Math.sin(315*Math.PI/180);return this.createTag("line",{x1:e,y1:a,x2:h,y2:o,class:"Tie",stroke:"green",opacity:"0.8","stroke-width":"1.8px"})}createPairDot(t,i,s,n){let e=this.getCenterPoint(t,i),a=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=e.cx+a*Math.cos(n*Math.PI/180),o=e.cy+a*Math.sin(n*Math.PI/180);return[this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"}),this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s})]}markTie(t,i,s=!1){let n=this.createTieSvg(t,i);s&&this.addAnimate(n),this.svgGroupObj.appendChild(n)}markPair(t,i,s,n){let e=this.getCenterPoint(t,i),a=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=e.cx+a*Math.cos(n*Math.PI/180),o=e.cy+a*Math.sin(n*Math.PI/180);this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"})),this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s}))}markBankerPair(t,i,s){this.markPair(t,i,s,225)}markPlayerPair(t,i,s){this.markPair(t,i,s,45)}}const o=class{constructor(i){t(this,i),this.baccaratSvg=new h,this.isBoardInited=!1,this.filledCells=[],this.language=void 0,this.showRoundBoard=void 0,this.gameInfo=void 0,this.gameDetails=void 0}gameDetailsHandler(t,i){!t.isOpen||i&&i.isOpen||this.showRoundBoard&&setTimeout((()=>{this.initBaccaratRoundsBoard()}),100)}async onGameLoaded(t){var i;this.gameInfo=t,this.gameDetails=this.gameInfo.details,null===(i=this.infoWrapperRef)||void 0===i||i.onGameLoaded(this.gameInfo)}async onGameDetailUpdated(t){var i;this.gameInfo.details=this.gameDetails=t,this.gameDetails=Object.assign({},this.gameDetails),null===(i=this.infoWrapperRef)||void 0===i||i.onGameDetailUpdated(t),setTimeout((()=>{this.isBoardInited=!0}),200)}async onBaccaratResultChanged(t){if(!t||!this.baccaratRef||this.isResetingRoundBoard)return;let i;this.isBoardInited&&(0==t.length||1==t.length&&(t[0].winner==a.TIE||0==t[0].location.column&&0==t[0].location.row))&&(this.isResetingRoundBoard=!0,(()=>{console.log("Reset Baccarat Board."),this.filledCells=[],this.baccaratSvg.resetSvg(),i=null})(),setTimeout((()=>{this.isResetingRoundBoard=!1}),1e3)),t.forEach(((s,e)=>{if(s.winner==a.TIE){if(e==t.length-1&&(!i||i&&0==i.location.column&&0==i.location.row)){let t="0-0-T";-1==this.filledCells.indexOf(t)&&(this.baccaratSvg.markNewRound(0,0,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(t))}return}const h=`${s.location.column}-${s.location.row}`,o=`${h}-T`;s.ties>0&&-1==this.filledCells.indexOf(o)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{winner:a.TIE}),this.isBoardInited),this.filledCells.push(o)),i=s,-1==this.filledCells.indexOf(h)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(h))}))}initBaccaratRoundsBoard(){var t;this.baccaratSvg.createBaccaratBoard(this.baccaratRef),(null===(t=this.gameDetails.results)||void 0===t?void 0:t.length)>0&&this.onBaccaratResultChanged(this.gameDetails.results)}render(){var t;return i(s,{key:"88be397ce6762f3a57c76c84b40f48dc2ba23db7"},i("casino-game-thumbnail-extrainfo",{key:"177c57f40ef84d7dfa0f458336e558e195aa9ac6",ref:t=>this.infoWrapperRef=t,language:this.language},(null===(t=this.gameDetails)||void 0===t?void 0:t.isOpen)&&this.showRoundBoard&&i("div",{key:"7b2db6ad68e6d9bcac9b97785b2c05b05d146836",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},i("div",{key:"004301f9c4f9bb574757e4eace077bd9fac57472",id:"boardContainer",part:"BaccaratBoard",class:"BaccaratBoard",ref:t=>this.baccaratRef=t}))))}static get watchers(){return{gameDetails:["gameDetailsHandler"]}}};o.style=":host {\n display: block;\n}\n\n.BaccaratBoard {\n container-type: inline-size;\n min-height: 30px;\n width: 100%;\n}\n.BaccaratBoard svg {\n background: #fff;\n opacity: 0.99;\n height: 100%;\n}\n\n.LiveProps.BaccaratProps div.LiveIcons {\n margin-bottom: 0px;\n padding: 0px;\n width: 100%;\n}\n\nsvg circle {\n transition: stroke-dashoffset 0s ease 2s;\n}\n\ng.BoardRoundsGroup {\n stroke-width: 1.8px;\n}\n\n@container (max-width: 300px) {\n g.BoardRoundsGroup {\n stroke-width: 0.9px;\n }\n}\nsvg .Round.NewRound {\n opacity: 1;\n -webkit-animation-name: fadeInFromNone;\n animation-name: fadeInFromNone;\n -webkit-animation-duration: 1.5s;\n animation-duration: 1.5s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n}\n\n@-webkit-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-moz-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-o-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}";export{o as casino_extrainfo_baccarat}
1
+ import{r as t,h as i,H as s}from"./p-89d09251.js";import{b as n}from"./p-2d02adb1.js";var a,e;!function(t){t.ROULETTE="ROULETTE",t.POKER="POKER",t.BLACKJACK="BLACKJACK"}(a||(a={})),function(t){t.PLAYER="Player",t.WINNER="Banker",t.TIE="Tie"}(e||(e={}));class h{constructor(){this.svgNS="http://www.w3.org/2000/svg",this.svgVersion="1.1",this.markGroupExtraClass={name:"",strokeWidth:1.8,cellPadding:6}}resetSvg(){this.svgGroupObj.innerHTML=""}createTag(t,i){let s=document.createElementNS(this.svgNS,t);return Object.keys(i).forEach((t=>{s.setAttribute(t,i[t])})),s}createHLine(t){return this.createTag("line",{x1:0,x2:this.svgWidth,y1:t*this.cellHeight,y2:t*this.cellHeight})}createVLine(t){return this.createTag("line",{x1:t*this.cellWidth,x2:t*this.cellWidth,y1:0,y2:this.svgHeight})}createBaccaratBoard(t){this.parentEle=t,this.svgWidth=t.clientWidth,this.cellWidth=this.svgWidth/40,this.cellHeight=this.cellWidth,this.svgHeight=6*this.cellHeight;let i={};this.svgWidth<300?i={name:"Min",strokeWidth:.8,cellPadding:2}:this.svgWidth>=300&&this.svgWidth<500&&(i={name:"Mid",strokeWidth:1.5,cellPadding:3.8}),this.markGroupExtraClass=Object.assign(Object.assign({},this.markGroupExtraClass),i),this.markGroupExtraClass.fontSize=this.cellWidth-.8*this.markGroupExtraClass.cellPadding,this.markGroupExtraClass.pairDotR=this.markGroupExtraClass.strokeWidth/2,this.markGroupExtraClass.pairBackDotR=this.markGroupExtraClass.pairDotR+.4;let s=this.createTag("svg",{xmlns:this.svgNS,version:this.svgVersion,width:"100%"}),n=this.createTag("g",{style:"cursor: pointer",stroke:"#a1acb696","stroke-width":"0.6px",fill:"transparent"}),a=this.createTag("g",{style:"cursor: pointer",class:`BoardRoundsGroup ${this.markGroupExtraClass.name}`,"stroke-width":this.markGroupExtraClass.strokeWidth,fill:"transparent"});for(let t=0;t<7;t++)n.appendChild(this.createHLine(t));for(let t=0;t<41;t++)n.appendChild(this.createVLine(t));t.setAttribute("style",`height: ${this.svgHeight}px`),s.appendChild(n),s.appendChild(a),t.replaceChildren(s),this.svgGroupObj=a}getRadius(){return(this.cellHeight-this.markGroupExtraClass.cellPadding)/2}addAnimate(t){let i=this.createTag("animate",{attributeName:"opacity",attributeType:"XML",from:"0",to:.8,repeatCount:"5",begin:"0s",dur:"1.5s",calcMode:"spline",keySplines:"0.1 0.8 0.9 0.1",fill:"freeze"});t.appendChild(i)}markNewRound(t,i,s,n=!1){let a=this.getCenterPoint(t,i),h=this.createTag("g",{class:`Round ${n?"NewRound":""} ${s.winner===e.TIE?"Tie":""}`,part:"Round "+(n?"NewRound":""),opacity:n?.1:1});if(s.winner!==e.TIE){if(h.appendChild(this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s.color,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2})),s.ties){if(h.appendChild(this.createTieSvg(t,i)),s.ties>1){let t=this.createTag("text",{x:a.cx-1.5,y:a.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}s.bankerPair&&this.createPairDot(t,i,s.pairColor.banker,225).forEach((t=>h.appendChild(t))),s.playerPair&&this.createPairDot(t,i,s.pairColor.player,45).forEach((t=>h.appendChild(t))),s.includeAnimate&&this.addAnimate(h),this.svgGroupObj.appendChild(h)}else{if(h.appendChild(this.createTieSvg(t,i)),this.svgGroupObj.appendChild(h),s.ties&&s.ties>1){let t=this.createTag("text",{x:a.cx-1.5,y:a.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}}markRound(t,i,s,n=!1){let a=this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2});n&&this.addAnimate(a),this.svgGroupObj.appendChild(a)}getCenterPoint(t,i){return{cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2}}createTieSvg(t,i){let s=this.getCenterPoint(t,i),n=this.cellHeight/2;const a=s.cx+n*Math.cos(135*Math.PI/180),e=s.cy+n*Math.sin(135*Math.PI/180),h=s.cx+n*Math.cos(315*Math.PI/180),o=s.cy+n*Math.sin(315*Math.PI/180);return this.createTag("line",{x1:a,y1:e,x2:h,y2:o,class:"Tie",stroke:"green",opacity:"0.8","stroke-width":"1.8px"})}createPairDot(t,i,s,n){let a=this.getCenterPoint(t,i),e=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=a.cx+e*Math.cos(n*Math.PI/180),o=a.cy+e*Math.sin(n*Math.PI/180);return[this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"}),this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s})]}markTie(t,i,s=!1){let n=this.createTieSvg(t,i);s&&this.addAnimate(n),this.svgGroupObj.appendChild(n)}markPair(t,i,s,n){let a=this.getCenterPoint(t,i),e=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=a.cx+e*Math.cos(n*Math.PI/180),o=a.cy+e*Math.sin(n*Math.PI/180);this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"})),this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s}))}markBankerPair(t,i,s){this.markPair(t,i,s,225)}markPlayerPair(t,i,s){this.markPair(t,i,s,45)}}const o=class{constructor(i){t(this,i),this.baccaratSvg=new h,this.isBoardInited=!1,this.filledCells=[],this.language=void 0,this.showRoundBoard=void 0,this.gameInfo=void 0,this.gameDetails=void 0}gameDetailsHandler(t,i){!t.isOpen||i&&i.isOpen||this.showRoundBoard&&setTimeout((()=>{this.initBaccaratRoundsBoard()}),100)}async onGameLoaded(t){var i;this.gameInfo=t,this.gameDetails=this.gameInfo.details,null===(i=this.infoWrapperRef)||void 0===i||i.onGameLoaded(this.gameInfo)}async onGameDetailUpdated(t){var i;this.gameInfo.details=this.gameDetails=t,this.gameDetails=Object.assign({},this.gameDetails),null===(i=this.infoWrapperRef)||void 0===i||i.onGameDetailUpdated(t),setTimeout((()=>{this.isBoardInited=!0}),200)}async onBaccaratResultChanged(t){if(!t||!this.baccaratRef||this.isResetingRoundBoard)return;let i;this.isBoardInited&&(0==t.length||1==t.length&&(t[0].winner==e.TIE||0==t[0].location.column&&0==t[0].location.row))&&(this.isResetingRoundBoard=!0,(()=>{console.log("Reset Baccarat Board."),this.filledCells=[],this.baccaratSvg.resetSvg(),i=null})(),setTimeout((()=>{this.isResetingRoundBoard=!1}),1e3)),t.forEach(((s,a)=>{if(s.winner==e.TIE){if(a==t.length-1&&(!i||i&&0==i.location.column&&0==i.location.row)){let t="0-0-T";-1==this.filledCells.indexOf(t)&&(this.baccaratSvg.markNewRound(0,0,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(t))}return}const h=`${s.location.column}-${s.location.row}`,o=`${h}-T`;s.ties>0&&-1==this.filledCells.indexOf(o)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{winner:e.TIE}),this.isBoardInited),this.filledCells.push(o)),i=s,-1==this.filledCells.indexOf(h)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(h))}))}initBaccaratRoundsBoard(){var t;this.baccaratSvg.createBaccaratBoard(this.baccaratRef),(null===(t=this.gameDetails.results)||void 0===t?void 0:t.length)>0&&this.onBaccaratResultChanged(this.gameDetails.results)}render(){var t;return i(s,{key:"88be397ce6762f3a57c76c84b40f48dc2ba23db7"},i("casino-game-thumbnail-extrainfo",{key:"177c57f40ef84d7dfa0f458336e558e195aa9ac6",ref:t=>this.infoWrapperRef=t,language:this.language},(null===(t=this.gameDetails)||void 0===t?void 0:t.isOpen)&&this.showRoundBoard&&i("div",{key:"7b2db6ad68e6d9bcac9b97785b2c05b05d146836",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},i("div",{key:"004301f9c4f9bb574757e4eace077bd9fac57472",id:"boardContainer",part:"BaccaratBoard",class:"BaccaratBoard",ref:t=>this.baccaratRef=t}))))}static get watchers(){return{gameDetails:["gameDetailsHandler"]}}};o.style=":host {\n display: block;\n}\n\n.BaccaratBoard {\n container-type: inline-size;\n min-height: 30px;\n width: 100%;\n}\n.BaccaratBoard svg {\n background: #fff;\n opacity: 0.99;\n height: 100%;\n}\n\n.LiveProps.BaccaratProps div.LiveIcons {\n margin-bottom: 0px;\n padding: 0px;\n width: 100%;\n}\n\nsvg circle {\n transition: stroke-dashoffset 0s ease 2s;\n}\n\ng.BoardRoundsGroup {\n stroke-width: 1.8px;\n}\n\n@container (max-width: 300px) {\n g.BoardRoundsGroup {\n stroke-width: 0.9px;\n }\n}\nsvg .Round.NewRound {\n opacity: 1;\n -webkit-animation-name: fadeInFromNone;\n animation-name: fadeInFromNone;\n -webkit-animation-duration: 1.5s;\n animation-duration: 1.5s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n}\n\n@-webkit-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-moz-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-o-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}";export{o as casino_extrainfo_baccarat}
@@ -1 +1 @@
1
- import{r as i,h as e,H as t}from"./p-eef6f908.js";import{D as a}from"./p-2d02adb1.js";import{t as s}from"./p-59ceeaaa.js";const o=class{constructor(e){i(this,e),this.language=void 0,this.gameInfo=void 0,this.gameDetails=void 0,this.seatsStatus=void 0,this.isTableFull=void 0}generateBlackJackSeats(i=a,e=[]){let t=[];for(let a=0;a<i;a++)t.push({seatNo:a,isClosed:e.indexOf((a+1).toString())>-1});return this.isTableFull=i==e.length,t}async onGameLoaded(i){var e,t,a;this.gameInfo=i,this.gameDetails=this.gameInfo.details,this.seatsStatus=this.generateBlackJackSeats(null===(e=this.gameDetails)||void 0===e?void 0:e.totalSeats,null===(t=this.gameDetails)||void 0===t?void 0:t.currentOccupiedSeats),null===(a=this.infoWrapperRef)||void 0===a||a.onGameLoaded(i)}async onGameDetailUpdated(i){var e,t;this.gameInfo.details=this.gameDetails=i,this.seatsStatus=this.generateBlackJackSeats(null===(e=this.gameDetails)||void 0===e?void 0:e.totalSeats,null===(t=this.gameDetails)||void 0===t?void 0:t.currentOccupiedSeats),this.gameDetails=Object.assign({},this.gameDetails)}render(){return e(t,{key:"e75d57ebd1f5827facafd15ffc6631cc84d7ca52"},e("casino-game-thumbnail-extrainfo",{key:"e861149d6e01ef11ecc92d8f3606e9406ca68238",ref:i=>this.infoWrapperRef=i,language:this.language},this.gameDetails&&this.gameDetails.isOpen&&e("div",{key:"e157039d431369c6e9b419cde52e3045765fb6c6",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},this.isTableFull?e("span",{class:"FullTable",part:"FullTable"},s("full",this.language)):this.seatsStatus.map((i=>e("span",{class:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",id:`s${i.seatNo}`,part:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",innerHTML:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDEzIDE0Ij4KICA8cGF0aAogICAgZD0iTTExLjU4IDZjLTEuMTcgMC0yLjEzLjk1LTIuMTMgMi4xMnYuNGE4LjgyIDguODIgMCAwMC0yLjkyLS40Yy0xLjU0IDAtMi40NS4yMi0yLjkyLjR2LS40QTIuMTM2IDIuMTM2IDAgMDAxLjQ4IDZhMS4zMyAxLjMzIDAgMDAtLjUgMi41NWMuMTQuMDcuMjQuMjEuMjQuMzdsLjI2IDEuMDZjMCAuOTYuNzMgMS43NSAxLjY1IDEuODVhLjY1LjY1IDAgMDAuMjggMS4yMy42NS42NSAwIDAwLjMtMS4yMmg1LjY0YS42NS42NSAwIDAwLjMgMS4yMi42NS42NSAwIDAwLjI4LTEuMjNjLjkzLS4xIDEuNjUtLjkgMS42NS0xLjg1bC4yNy0xLjA2YzAtLjE2LjEtLjMuMjQtLjM3QTEuMzMgMS4zMyAwIDAwMTEuNTggNnoiLz4KICA8cGF0aAogICAgZD0iTTQuMzQgNy41Yy41NS0uMSAxLjI3LS4xNyAyLjItLjE3LjkxIDAgMS42My4wNyAyLjE4LjE3LjIxLS45Ni45LTEuNzQgMS44LTIuMVY0YTMuOTkgMy45OSAwIDAwLTcuOTcgMHYxLjRjLjkuMzYgMS41OCAxLjE0IDEuNzkgMi4xeiIvPgo8L3N2Zz4K"}))))))}};o.style=":host{display:block}.OpenSeat,.ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.OpenSeat svg,.ClosedSeat svg{width:100%;height:100%}.OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.OpenSeat svg{fill:transparent;stroke:var(--emw--color-white, #FFFFFF)}.ClosedSeat svg{fill:var(--emw--color-white, #FFFFFF)}.FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.FullTable svg{width:100%;height:100%;fill:var(--emw--color-white, #FFFFFF)}.FullTable.ClosedSeat{margin-right:-3px}";export{o as casino_extrainfo_blackjack}
1
+ import{r as i,h as t,H as e}from"./p-89d09251.js";import{D as a}from"./p-2d02adb1.js";import{t as s}from"./p-59ceeaaa.js";const o=class{constructor(t){i(this,t),this.language=void 0,this.gameInfo=void 0,this.gameDetails=void 0,this.seatsStatus=void 0,this.isTableFull=void 0}generateBlackJackSeats(i=a,t=[]){let e=[];for(let a=0;a<i;a++)e.push({seatNo:a,isClosed:t.indexOf((a+1).toString())>-1});return this.isTableFull=i==t.length,e}async onGameLoaded(i){var t,e,a;this.gameInfo=i,this.gameDetails=this.gameInfo.details,this.seatsStatus=this.generateBlackJackSeats(null===(t=this.gameDetails)||void 0===t?void 0:t.totalSeats,null===(e=this.gameDetails)||void 0===e?void 0:e.currentOccupiedSeats),null===(a=this.infoWrapperRef)||void 0===a||a.onGameLoaded(i)}async onGameDetailUpdated(i){var t,e;this.gameInfo.details=this.gameDetails=i,this.seatsStatus=this.generateBlackJackSeats(null===(t=this.gameDetails)||void 0===t?void 0:t.totalSeats,null===(e=this.gameDetails)||void 0===e?void 0:e.currentOccupiedSeats),this.gameDetails=Object.assign({},this.gameDetails)}render(){return t(e,{key:"e75d57ebd1f5827facafd15ffc6631cc84d7ca52"},t("casino-game-thumbnail-extrainfo",{key:"e861149d6e01ef11ecc92d8f3606e9406ca68238",ref:i=>this.infoWrapperRef=i,language:this.language},this.gameDetails&&this.gameDetails.isOpen&&t("div",{key:"e157039d431369c6e9b419cde52e3045765fb6c6",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},this.isTableFull?t("span",{class:"FullTable",part:"FullTable"},s("full",this.language)):this.seatsStatus.map((i=>t("span",{class:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",id:`s${i.seatNo}`,part:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",innerHTML:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDEzIDE0Ij4KICA8cGF0aAogICAgZD0iTTExLjU4IDZjLTEuMTcgMC0yLjEzLjk1LTIuMTMgMi4xMnYuNGE4LjgyIDguODIgMCAwMC0yLjkyLS40Yy0xLjU0IDAtMi40NS4yMi0yLjkyLjR2LS40QTIuMTM2IDIuMTM2IDAgMDAxLjQ4IDZhMS4zMyAxLjMzIDAgMDAtLjUgMi41NWMuMTQuMDcuMjQuMjEuMjQuMzdsLjI2IDEuMDZjMCAuOTYuNzMgMS43NSAxLjY1IDEuODVhLjY1LjY1IDAgMDAuMjggMS4yMy42NS42NSAwIDAwLjMtMS4yMmg1LjY0YS42NS42NSAwIDAwLjMgMS4yMi42NS42NSAwIDAwLjI4LTEuMjNjLjkzLS4xIDEuNjUtLjkgMS42NS0xLjg1bC4yNy0xLjA2YzAtLjE2LjEtLjMuMjQtLjM3QTEuMzMgMS4zMyAwIDAwMTEuNTggNnoiLz4KICA8cGF0aAogICAgZD0iTTQuMzQgNy41Yy41NS0uMSAxLjI3LS4xNyAyLjItLjE3LjkxIDAgMS42My4wNyAyLjE4LjE3LjIxLS45Ni45LTEuNzQgMS44LTIuMVY0YTMuOTkgMy45OSAwIDAwLTcuOTcgMHYxLjRjLjkuMzYgMS41OCAxLjE0IDEuNzkgMi4xeiIvPgo8L3N2Zz4K"}))))))}};o.style=":host{display:block}.OpenSeat,.ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.OpenSeat svg,.ClosedSeat svg{width:100%;height:100%}.OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.OpenSeat svg{fill:transparent;stroke:var(--emw--color-white, #FFFFFF)}.ClosedSeat svg{fill:var(--emw--color-white, #FFFFFF)}.FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.FullTable svg{width:100%;height:100%;fill:var(--emw--color-white, #FFFFFF)}.FullTable.ClosedSeat{margin-right:-3px}";export{o as casino_extrainfo_blackjack}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s}from"./p-eef6f908.js";import{R as o,W as i}from"./p-2d02adb1.js";const a=class{constructor(t){e(this,t),this.language="en",this.gameInfo=void 0,this.gameDetails=void 0,this.showLiveClass=void 0}async onGameLoaded(e){var t;this.gameInfo=Object.assign({},e),this.gameDetails=this.gameInfo.details?Object.assign({},this.gameInfo.details):null,null===(t=this.infoWrapperRef)||void 0===t||t.onGameLoaded(e)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameInfo=Object.assign({},this.gameInfo),this.gameDetails=Object.assign({},this.gameDetails)}getRouletteNumberColor(e){return o[e]}render(){var e,o,a,l;const r=!!this.gameDetails&&this.gameDetails.category.toLowerCase()===i.doubleballroulette;let c=(r?null===(e=this.gameDetails)||void 0===e?void 0:e.currentDoubleBallRouletteNumbers:null===(o=this.gameDetails)||void 0===o?void 0:o.currentRouletteNumbers)||[];return t(s,{key:"c7c66e8f51bc9a09b78856342203ebe24fd09231"},t("casino-game-thumbnail-extrainfo",{key:"380e499260501a6126ab6944eed0ea1e1ce3877d",ref:e=>this.infoWrapperRef=e,language:this.language},t("div",{key:"233bbf1c16b1d36ac463a4178ef1724124817890",slot:"category-details",class:"LiveIcons "+((null===(a=this.gameDetails)||void 0===a?void 0:a.isOpen)?"GameBackdrop":""),part:"LiveIcons "+((null===(l=this.gameDetails)||void 0===l?void 0:l.isOpen)?"GameBackdrop":"")},c.slice(0,5).map(((e,s)=>!0===r?t("div",{class:"Double",part:"Double"},t("span",{id:`s${s}0`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[0])}`}," ",e[0]),t("span",{id:`s${s}1`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[1])}`}," ",e[1])):t("span",{id:`s${s}`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e)}`}," ",e))))))}};a.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}';export{a as casino_extrainfo_roulette}
1
+ import{r as e,h as t,H as s}from"./p-89d09251.js";import{R as o,W as i}from"./p-2d02adb1.js";const a=class{constructor(t){e(this,t),this.language="en",this.gameInfo=void 0,this.gameDetails=void 0,this.showLiveClass=void 0}async onGameLoaded(e){var t;this.gameInfo=Object.assign({},e),this.gameDetails=this.gameInfo.details?Object.assign({},this.gameInfo.details):null,null===(t=this.infoWrapperRef)||void 0===t||t.onGameLoaded(e)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameInfo=Object.assign({},this.gameInfo),this.gameDetails=Object.assign({},this.gameDetails)}getRouletteNumberColor(e){return o[e]}render(){var e,o,a,l;const r=!!this.gameDetails&&this.gameDetails.category.toLowerCase()===i.doubleballroulette;let c=(r?null===(e=this.gameDetails)||void 0===e?void 0:e.currentDoubleBallRouletteNumbers:null===(o=this.gameDetails)||void 0===o?void 0:o.currentRouletteNumbers)||[];return t(s,{key:"c7c66e8f51bc9a09b78856342203ebe24fd09231"},t("casino-game-thumbnail-extrainfo",{key:"380e499260501a6126ab6944eed0ea1e1ce3877d",ref:e=>this.infoWrapperRef=e,language:this.language},t("div",{key:"233bbf1c16b1d36ac463a4178ef1724124817890",slot:"category-details",class:"LiveIcons "+((null===(a=this.gameDetails)||void 0===a?void 0:a.isOpen)?"GameBackdrop":""),part:"LiveIcons "+((null===(l=this.gameDetails)||void 0===l?void 0:l.isOpen)?"GameBackdrop":"")},c.slice(0,5).map(((e,s)=>!0===r?t("div",{class:"Double",part:"Double"},t("span",{id:`s${s}0`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[0])}`}," ",e[0]),t("span",{id:`s${s}1`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[1])}`}," ",e[1])):t("span",{id:`s${s}`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e)}`}," ",e))))))}};a.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}';export{a as casino_extrainfo_roulette}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const gameThumbnail = require('./game-thumbnail-5a34c727.js');
7
7
 
8
8
  var CasinoGameCategory;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const gameThumbnail = require('./game-thumbnail-5a34c727.js');
7
7
  const locale_utils = require('./locale.utils-53bf703a.js');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const gameThumbnail = require('./game-thumbnail-5a34c727.js');
7
7
 
8
8
  const casinoExtrainfoRouletteCss = ":host{display:block;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}";
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-game-thumb-view.cjs.js', document.baseURI).href));
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const utils = require('./utils-c4ed3adc.js');
7
7
  const gameThumbnail = require('./game-thumbnail-5a34c727.js');
8
8
  const locale_utils = require('./locale.utils-53bf703a.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const utils = require('./utils-c4ed3adc.js');
7
7
  const locale_utils = require('./locale.utils-53bf703a.js');
8
8
  const gameThumbnail = require('./game-thumbnail-5a34c727.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
 
7
7
  const casinoNormalGameThumbnailCss = ":host{display:block}";
8
8
  const CasinoNormalGameThumbnailStyle0 = casinoNormalGameThumbnailCss;
@@ -24,7 +24,7 @@ const NAMESPACE = 'casino-game-thumb-view';
24
24
  const BUILD = /* casino-game-thumb-view */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -454,17 +454,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
454
454
  if (nonce != null) {
455
455
  styleElm.setAttribute("nonce", nonce);
456
456
  }
457
- const injectStyle = (
458
- /**
459
- * we render a scoped component
460
- */
461
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
462
- * we are using shadow dom and render the style tag within the shadowRoot
463
- */
464
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
465
- );
466
- if (injectStyle) {
467
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
457
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
458
+ if (styleContainerNode.nodeName === "HEAD") {
459
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
460
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
461
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
462
+ } else if ("host" in styleContainerNode) {
463
+ if (supportsConstructableStylesheets) {
464
+ const stylesheet = new CSSStyleSheet();
465
+ stylesheet.replaceSync(style);
466
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
467
+ } else {
468
+ const existingStyleContainer = styleContainerNode.querySelector("style");
469
+ if (existingStyleContainer) {
470
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
471
+ } else {
472
+ styleContainerNode.prepend(styleElm);
473
+ }
474
+ }
475
+ } else {
476
+ styleContainerNode.append(styleElm);
477
+ }
478
+ }
479
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
480
+ styleContainerNode.insertBefore(styleElm, null);
468
481
  }
469
482
  }
470
483
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -557,7 +570,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
557
570
  if (memberName === "list") {
558
571
  isProp = false;
559
572
  } else if (oldValue == null || elm[memberName] != n) {
560
- elm[memberName] = n;
573
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
574
+ elm[memberName] = n;
575
+ } else {
576
+ elm.setAttribute(memberName, n);
577
+ }
561
578
  }
562
579
  } else {
563
580
  elm[memberName] = newValue;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-48d13981.js');
5
+ const index = require('./index-0892a7c6.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "compiler": {
13
13
  "name": "@stencil/core",
14
- "version": "4.20.0",
15
- "typescriptVersion": "5.5.3"
14
+ "version": "4.22.3",
15
+ "typescriptVersion": "5.5.4"
16
16
  },
17
17
  "collections": [],
18
18
  "bundles": []
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-8c9a8030.js';
1
+ import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
2
2
  import { b as WINNER_COLOR } from './game-thumbnail-035e97e2.js';
3
3
 
4
4
  var CasinoGameCategory;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-8c9a8030.js';
1
+ import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
2
2
  import { D as DEFAULT_BLACKJACK_TOTAL_SEATS } from './game-thumbnail-035e97e2.js';
3
3
  import { t as translate } from './locale.utils-0c514ca8.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-8c9a8030.js';
1
+ import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
2
2
  import { R as ROULETTE_COLOR_MAP, W as WIDGETTYPE_GAMECATEGORY } from './game-thumbnail-035e97e2.js';
3
3
 
4
4
  const casinoExtrainfoRouletteCss = ":host{display:block;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}";
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8c9a8030.js';
2
- export { s as setNonce } from './index-8c9a8030.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-bbccad17.js';
2
+ export { s as setNonce } from './index-bbccad17.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-8c9a8030.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-bbccad17.js';
2
2
  import { c as convertGicBaccaratUpdateItem, i as isMobile } from './utils-090ac2e9.js';
3
3
  import { G as GAME_CATEGORY, a as GAME_TYPE, W as WIDGETTYPE_GAMECATEGORY } from './game-thumbnail-035e97e2.js';
4
4
  import { t as translate } from './locale.utils-0c514ca8.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-8c9a8030.js';
1
+ import { r as registerInstance, h } from './index-bbccad17.js';
2
2
  import { n as numberWithSeparators, a as addGameTag, h as hooks } from './utils-090ac2e9.js';
3
3
  import { t as translate } from './locale.utils-0c514ca8.js';
4
4
  import { W as WIDGETTYPE_GAMECATEGORY, c as WIDGETTYPE_CLASS } from './game-thumbnail-035e97e2.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-8c9a8030.js';
1
+ import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
2
2
 
3
3
  const casinoNormalGameThumbnailCss = ":host{display:block}";
4
4
  const CasinoNormalGameThumbnailStyle0 = casinoNormalGameThumbnailCss;
@@ -2,7 +2,7 @@ const NAMESPACE = 'casino-game-thumb-view';
2
2
  const BUILD = /* casino-game-thumb-view */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -432,17 +432,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
432
432
  if (nonce != null) {
433
433
  styleElm.setAttribute("nonce", nonce);
434
434
  }
435
- const injectStyle = (
436
- /**
437
- * we render a scoped component
438
- */
439
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
440
- * we are using shadow dom and render the style tag within the shadowRoot
441
- */
442
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
443
- );
444
- if (injectStyle) {
445
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
435
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
436
+ if (styleContainerNode.nodeName === "HEAD") {
437
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
438
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
439
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
440
+ } else if ("host" in styleContainerNode) {
441
+ if (supportsConstructableStylesheets) {
442
+ const stylesheet = new CSSStyleSheet();
443
+ stylesheet.replaceSync(style);
444
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
445
+ } else {
446
+ const existingStyleContainer = styleContainerNode.querySelector("style");
447
+ if (existingStyleContainer) {
448
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
449
+ } else {
450
+ styleContainerNode.prepend(styleElm);
451
+ }
452
+ }
453
+ } else {
454
+ styleContainerNode.append(styleElm);
455
+ }
456
+ }
457
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
458
+ styleContainerNode.insertBefore(styleElm, null);
446
459
  }
447
460
  }
448
461
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -535,7 +548,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
535
548
  if (memberName === "list") {
536
549
  isProp = false;
537
550
  } else if (oldValue == null || elm[memberName] != n) {
538
- elm[memberName] = n;
551
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
552
+ elm[memberName] = n;
553
+ } else {
554
+ elm.setAttribute(memberName, n);
555
+ }
539
556
  }
540
557
  } else {
541
558
  elm[memberName] = newValue;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-8c9a8030.js';
2
- export { s as setNonce } from './index-8c9a8030.js';
1
+ import { b as bootstrapLazy } from './index-bbccad17.js';
2
+ export { s as setNonce } from './index-bbccad17.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1018
1020
  crossOrigin?: string;
1019
1021
  crossorigin?: string;
1020
1022
  loop?: boolean;
@@ -1564,6 +1566,10 @@ export declare namespace JSXBase {
1564
1566
  onSubmitCapture?: (event: Event) => void;
1565
1567
  onInvalid?: (event: Event) => void;
1566
1568
  onInvalidCapture?: (event: Event) => void;
1569
+ onBeforeToggle?: (event: Event) => void;
1570
+ onBeforeToggleCapture?: (event: Event) => void;
1571
+ onToggle?: (event: Event) => void;
1572
+ onToggleCapture?: (event: Event) => void;
1567
1573
  onLoad?: (event: Event) => void;
1568
1574
  onLoadCapture?: (event: Event) => void;
1569
1575
  onError?: (event: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-game-thumb-view",
3
- "version": "1.50.0",
3
+ "version": "1.50.1",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1 +0,0 @@
1
- import{r as a,h as e,H as s}from"./p-eef6f908.js";const o=class{constructor(e){a(this,e),this.language=void 0}async onGameLoaded(a){var e;null===(e=this.infoWrapperRef)||void 0===e||e.onGameLoaded(a)}render(){return e(s,{key:"65ecbdb989b2b98974bbe60db24f31032e2e10a7"},e("casino-game-thumbnail-extrainfo",{key:"3633837b728bc4f18745cd87180b73359a403816",ref:a=>this.infoWrapperRef=a,language:this.language}))}};o.style=":host{display:block}";export{o as casino_normal_game_thumbnail}
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},a=f.document||{head:{}},d={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,v=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.o?g(b):d.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(v),$(y),(m=v.length>0)&&d.raf(b)},g=e=>h().then(e),k=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>x,map:()=>C,ok:()=>E,unwrap:()=>T,unwrapErr:()=>A});var E=e=>({isOk:!0,isErr:!1,value:e}),x=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>E(e))):E(n)}if(e.isErr)return x(e.value);throw"should never get here"}var M,R,P,T=e=>{if(e.isOk)return e.value;throw e.value},A=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!j(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?H(null,o):o),r=i)};if(u(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,N);const f=H(e,null);return f.u=t,c.length>0&&(f.h=c),f.p=l,f.m=s,f},H=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),L={},N={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(F)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),F=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},U=(e,t,o)=>{const l=(e=>n(e).$hostElement$)(e);return{emit:e=>q(l,t,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e})}},q=(e,t,n)=>{const o=d.ce(t,n);return e.dispatchEvent(o),o},G=new WeakMap,I=e=>"sc-"+e.k,V=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=z(n),s=z(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!r||4&i||s)&&!l&&(o=!0===o?"":o,f?e.setAttributeNS(u,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):l(f,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(B);t=t.replace(J,""),n&&d.rel(e,t,n,l),o&&d.ael(e,t,o,l)}}},_=/\s/,z=e=>e?e.split(_):[],B="Capture",J=RegExp(B+"$"),K=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||S,s=t.u||S;for(const e of Q(Object.keys(l)))e in s||V(o,e,l[e],void 0,n,t.o);for(const e of Q(Object.keys(s)))V(o,e,l[e],s[e],n,t.o)};function Q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var X=!1,Y=!1,Z=!1,ee=!1,te=(e,t,n,o)=>{var l;const s=t.h[n];let i,r,c,u=0;if(X||(Z=!0,"slot"===s.v&&(M&&o.classList.add(M+"-s"),s.o|=s.h?2:1)),null!==s.i)i=s.$=a.createTextNode(s.i);else if(1&s.o)i=s.$=a.createTextNode("");else{if(ee||(ee="svg"===s.v),i=s.$=a.createElementNS(ee?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!X&&2&s.o?"slot-fb":s.v),ee&&"foreignObject"===s.v&&(ee=!1),K(null,s,ee),i.getRootNode().querySelector("body"),s.h)for(u=0;u<s.h.length;++u)r=te(e,s,u,i),r&&i.appendChild(r);"svg"===s.v?ee=!1:"foreignObject"===i.tagName&&(ee=!0)}return i["s-hn"]=P,3&s.o&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&ne(e.$,!1)),i},ne=(e,t)=>{d.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==P&&o["s-ol"]&&(pe(re(o),o,ie(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Z=!0),t&&ne(o,t)}d.o&=-2},oe=(e,t,n,o,l,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===P&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=te(null,n,l,e),i&&(o[l].$=i,pe(r,i,ie(t))))},le=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;he(t),e&&(Y=!0,e["s-ol"]?e["s-ol"].remove():ne(e,!0),e.remove())}}},se=(e,t,n=!1)=>!(e.v!==t.v||("slot"===e.v?"S"in e&&n&&8!==e.$.nodeType||e.m!==t.m:!n&&e.p!==t.p)),ie=e=>e&&e["s-ol"]||e,re=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ce=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,i=t.v,r=t.i;let c;null===r?(ee="svg"===i||"foreignObject"!==i&&ee,("slot"!==i||X)&&K(e,t,ee),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(se(d,m,l))ce(d,m,l),d=t[++r],m=o[++c];else if(se(h,v,l))ce(h,v,l),h=t[--a],v=o[--p];else if(se(d,v,l))"slot"!==d.v&&"slot"!==v.v||ne(d.$.parentNode,!1),ce(d,v,l),pe(e,d.$,h.$.nextSibling),d=t[++r],v=o[--p];else if(se(h,m,l))"slot"!==d.v&&"slot"!==v.v||ne(h.$.parentNode,!1),ce(h,m,l),pe(e,h.$,d.$),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(i=t[u],i.v!==m.v?s=te(t&&t[c],n,u,e):(ce(i,m,l),t[u]=void 0,s=i.$),m=o[++c]):(s=te(t&&t[c],n,c,e),m=o[++c]),s&&pe(re(d.$),s,ie(d.$))}r>a?oe(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&le(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),oe(o,null,t,s,0,s.length-1)):!n&&null!==l&&le(l,0,l.length-1),ee&&"svg"===i&&(ee=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:e.i!==r&&(o.data=r)},ue=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}ue(e)}},fe=[],ae=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(de(t,e)){let n=fe.find((e=>e.j===t));Y=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=l["s-hn"],n.O=l):(t["s-sh"]=l["s-hn"],fe.push({O:l,j:t})),t["s-sr"]&&fe.map((e=>{de(e.j,t["s-sn"])&&(n=fe.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else fe.some((e=>e.j===t))||fe.push({j:t})}1===l.nodeType&&ae(l)}},de=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,he=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(he)},pe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),me=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},ve=(e,t)=>{if(e.o|=16,!(4&e.o))return me(e,e.M),k((()=>ye(e,t)));e.o|=512},ye=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(e.o|=256,e.R&&(e.R.map((([e,t])=>je(n,e,t))),e.R=void 0),o=je(n,"componentWillLoad")),o=we(o,(()=>je(n,"componentWillRender"))),we(o,(()=>be(e,n,t)))},we=(e,t)=>$e(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),$e=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=I(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=G.get(e=e.head||e);if(i||G.set(e,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=d.T)?n:O(a);null!=o&&s.setAttribute("nonce",o),(!(1&t.o)||1&t.o&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ge(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ke(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ge=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,i;const r=e.$hostElement$,c=e.P,u=e.A||H(null,null),f=(e=>e&&e.v===L)(t)?t:D(null,null,t);if(P=r.tagName,n&&f.u)for(const e of Object.keys(f.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(f.u[e]=r[e]);if(f.v=null,f.o|=4,e.A=f,f.$=u.$=r.shadowRoot||r,M=r["s-sc"],X=!!(1&c.o),R=r["s-cr"],Y=!1,ce(u,f,n),d.o|=1,Z){ae(f.$);for(const e of fe){const t=e.j;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,pe(t.parentNode,t["s-ol"]=e,t)}}for(const e of fe){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),pe(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Y&&ue(f.$),d.o&=-2,fe.length=0,R=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},ke=e=>{const t=e.$hostElement$,n=e.t,o=e.M;je(n,"componentDidRender"),64&e.o||(e.o|=64,Oe(t),je(n,"componentDidLoad"),e.D(t),o||Se()),e.H(t),e.C&&(e.C(),e.C=void 0),512&e.o&&g((()=>ve(e,!1))),e.o&=-517},Se=()=>{Oe(a.documentElement),g((()=>q(f,"appload",{detail:{namespace:"casino-game-thumb-view"}})))},je=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Oe=e=>e.classList.add("hydrated"),Ee=(e,t,o)=>{var l,i;const r=e.prototype;if(t.L||t.N||e.watchers){e.watchers&&!t.N&&(t.N=e.watchers);const c=Object.entries(null!=(l=t.L)?l:{});if(c.map((([e,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).W.get(t))(0,e)},set(o){((e,t,o,l)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.W.get(t),u=i.o,f=i.t;if(o=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.L[t][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.W.set(t,o),f)){if(l.N&&128&u){const e=l.N[t];e&&e.map((e=>{try{f[e](o,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&ve(i,!1)}})(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(r,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.F)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;r.attributeChangedCallback=function(e,l,s){d.jmp((()=>{var i;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),r=null==o?void 0:o.o;if(r&&!(8&r)&&128&r&&s!==l){const n=o.t,r=null==(i=t.N)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.N)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},xe=e=>{je(e,"disconnectedCallback")},Ce=(e,o={})=>{var l;const u=[],h=o.exclude||[],m=f.customElements,v=a.head,y=v.querySelector("meta[charset]"),w=a.createElement("style"),$=[];let b,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],k:o[1],L:o[2],U:o[3]};4&c.o&&(k=!0),c.L=o[2],c.U=o[3],c.N=null!=(l=o[4])?l:{};const f=c.k,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,P:n,W:new Map};o.F=new Promise((e=>o.H=e)),o.q=new Promise((e=>o.D=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Me(this,e,c.U)),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(e=>{if(!(1&d.o)){const t=n(e),o=t.P,l=()=>{};if(1&t.o)Me(e,t,o.U),(null==t?void 0:t.t)||(null==t?void 0:t.q)&&t.q.then((()=>{}));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,pe(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){me(t,t.M=n);break}}o.L&&Object.entries(o.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.G){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.G;if(!n)return;const o=i.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.k}#${t.I}" was not found`);o.isProxied||(n.N=o.watchers,Ee(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,t.o|=128,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=I(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.M,c=()=>ve(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const e=n(this);e.V&&(e.V.map((e=>e())),e.V=void 0),(null==e?void 0:e.t)?xe(e.t):(null==e?void 0:e.q)&&e.q.then((()=>xe(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],h.includes(f)||m.get(f)||(u.push(f),m.define(f,Ee(v,c,1)))}))})),u.length>0&&(k&&(w.textContent+=c),w.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=d.T)?l:O(a);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):d.jmp((()=>b=setTimeout(Se,30)))},Me=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Pe(e,n),i=Re(t,l),r=Te(n);d.ael(s,o,i,r),(t.V=t.V||[]).push((()=>d.rel(s,o,i,r)))}))},Re=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.R=e.R||[]).push([t,n])}catch(e){s(e)}},Pe=(e,t)=>4&t?a:e,Te=e=>({passive:!!(1&e),capture:!!(2&e)}),Ae=e=>d.T=e;export{L as H,Ce as b,U as c,D as h,h as p,o as r,Ae as s}