@everymatrix/casino-search 1.8.1 → 1.8.4
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.
- package/dist/casino-search.js +108 -103
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +12 -9
package/dist/casino-search.js
CHANGED
|
@@ -14812,7 +14812,7 @@
|
|
|
14812
14812
|
class CasinoGameThumbnail extends SvelteElement {
|
|
14813
14813
|
constructor(options) {
|
|
14814
14814
|
super();
|
|
14815
|
-
this.shadowRoot.innerHTML = `<style>:host{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}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-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}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.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(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.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(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.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(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .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}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>`;
|
|
14815
|
+
this.shadowRoot.innerHTML = `<style>:host{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}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-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}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.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(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.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(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.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(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .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}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>`;
|
|
14816
14816
|
|
|
14817
14817
|
init(
|
|
14818
14818
|
this,
|
|
@@ -15174,11 +15174,11 @@
|
|
|
15174
15174
|
|
|
15175
15175
|
function get_each_context(ctx, list, i) {
|
|
15176
15176
|
const child_ctx = ctx.slice();
|
|
15177
|
-
child_ctx[
|
|
15177
|
+
child_ctx[49] = list[i];
|
|
15178
15178
|
return child_ctx;
|
|
15179
15179
|
}
|
|
15180
15180
|
|
|
15181
|
-
// (
|
|
15181
|
+
// (295:4) {:else}
|
|
15182
15182
|
function create_else_block(ctx) {
|
|
15183
15183
|
let t0;
|
|
15184
15184
|
let div;
|
|
@@ -15204,7 +15204,7 @@
|
|
|
15204
15204
|
t1 = space();
|
|
15205
15205
|
if (if_block2) if_block2.c();
|
|
15206
15206
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
|
|
15207
|
-
add_location(div, file,
|
|
15207
|
+
add_location(div, file, 305, 6, 10712);
|
|
15208
15208
|
},
|
|
15209
15209
|
m: function mount(target, anchor) {
|
|
15210
15210
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15273,14 +15273,14 @@
|
|
|
15273
15273
|
block,
|
|
15274
15274
|
id: create_else_block.name,
|
|
15275
15275
|
type: "else",
|
|
15276
|
-
source: "(
|
|
15276
|
+
source: "(295:4) {:else}",
|
|
15277
15277
|
ctx
|
|
15278
15278
|
});
|
|
15279
15279
|
|
|
15280
15280
|
return block;
|
|
15281
15281
|
}
|
|
15282
15282
|
|
|
15283
|
-
// (
|
|
15283
|
+
// (293:4) {#if isLoading}
|
|
15284
15284
|
function create_if_block(ctx) {
|
|
15285
15285
|
let p;
|
|
15286
15286
|
let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
|
|
@@ -15290,7 +15290,7 @@
|
|
|
15290
15290
|
c: function create() {
|
|
15291
15291
|
p = element("p");
|
|
15292
15292
|
t = text(t_value);
|
|
15293
|
-
add_location(p, file,
|
|
15293
|
+
add_location(p, file, 293, 6, 10204);
|
|
15294
15294
|
},
|
|
15295
15295
|
m: function mount(target, anchor) {
|
|
15296
15296
|
insert_dev(target, p, anchor);
|
|
@@ -15308,14 +15308,14 @@
|
|
|
15308
15308
|
block,
|
|
15309
15309
|
id: create_if_block.name,
|
|
15310
15310
|
type: "if",
|
|
15311
|
-
source: "(
|
|
15311
|
+
source: "(293:4) {#if isLoading}",
|
|
15312
15312
|
ctx
|
|
15313
15313
|
});
|
|
15314
15314
|
|
|
15315
15315
|
return block;
|
|
15316
15316
|
}
|
|
15317
15317
|
|
|
15318
|
-
// (
|
|
15318
|
+
// (303:40)
|
|
15319
15319
|
function create_if_block_5(ctx) {
|
|
15320
15320
|
let p;
|
|
15321
15321
|
let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
|
|
@@ -15326,7 +15326,7 @@
|
|
|
15326
15326
|
p = element("p");
|
|
15327
15327
|
t = text(t_value);
|
|
15328
15328
|
attr_dev(p, "class", "SearchMessage");
|
|
15329
|
-
add_location(p, file,
|
|
15329
|
+
add_location(p, file, 303, 8, 10630);
|
|
15330
15330
|
},
|
|
15331
15331
|
m: function mount(target, anchor) {
|
|
15332
15332
|
insert_dev(target, p, anchor);
|
|
@@ -15344,14 +15344,14 @@
|
|
|
15344
15344
|
block,
|
|
15345
15345
|
id: create_if_block_5.name,
|
|
15346
15346
|
type: "if",
|
|
15347
|
-
source: "(
|
|
15347
|
+
source: "(303:40) ",
|
|
15348
15348
|
ctx
|
|
15349
15349
|
});
|
|
15350
15350
|
|
|
15351
15351
|
return block;
|
|
15352
15352
|
}
|
|
15353
15353
|
|
|
15354
|
-
// (
|
|
15354
|
+
// (296:6) {#if searchActive == true && searchValue.length < 2}
|
|
15355
15355
|
function create_if_block_3(ctx) {
|
|
15356
15356
|
let p;
|
|
15357
15357
|
let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
|
|
@@ -15368,7 +15368,7 @@
|
|
|
15368
15368
|
if (if_block) if_block.c();
|
|
15369
15369
|
if_block_anchor = empty();
|
|
15370
15370
|
attr_dev(p, "class", "SearchMessage");
|
|
15371
|
-
add_location(p, file,
|
|
15371
|
+
add_location(p, file, 296, 8, 10319);
|
|
15372
15372
|
},
|
|
15373
15373
|
m: function mount(target, anchor) {
|
|
15374
15374
|
insert_dev(target, p, anchor);
|
|
@@ -15405,14 +15405,14 @@
|
|
|
15405
15405
|
block,
|
|
15406
15406
|
id: create_if_block_3.name,
|
|
15407
15407
|
type: "if",
|
|
15408
|
-
source: "(
|
|
15408
|
+
source: "(296:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15409
15409
|
ctx
|
|
15410
15410
|
});
|
|
15411
15411
|
|
|
15412
15412
|
return block;
|
|
15413
15413
|
}
|
|
15414
15414
|
|
|
15415
|
-
// (
|
|
15415
|
+
// (298:10) {#if searchArray.length == 0}
|
|
15416
15416
|
function create_if_block_4(ctx) {
|
|
15417
15417
|
let div;
|
|
15418
15418
|
let p;
|
|
@@ -15425,9 +15425,9 @@
|
|
|
15425
15425
|
p = element("p");
|
|
15426
15426
|
t = text(t_value);
|
|
15427
15427
|
attr_dev(p, "class", "SearchMessage");
|
|
15428
|
-
add_location(p, file,
|
|
15428
|
+
add_location(p, file, 299, 12, 10480);
|
|
15429
15429
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15430
|
-
add_location(div, file,
|
|
15430
|
+
add_location(div, file, 298, 10, 10432);
|
|
15431
15431
|
},
|
|
15432
15432
|
m: function mount(target, anchor) {
|
|
15433
15433
|
insert_dev(target, div, anchor);
|
|
@@ -15446,14 +15446,14 @@
|
|
|
15446
15446
|
block,
|
|
15447
15447
|
id: create_if_block_4.name,
|
|
15448
15448
|
type: "if",
|
|
15449
|
-
source: "(
|
|
15449
|
+
source: "(298:10) {#if searchArray.length == 0}",
|
|
15450
15450
|
ctx
|
|
15451
15451
|
});
|
|
15452
15452
|
|
|
15453
15453
|
return block;
|
|
15454
15454
|
}
|
|
15455
15455
|
|
|
15456
|
-
// (
|
|
15456
|
+
// (307:8) {#if searchCancelled === false}
|
|
15457
15457
|
function create_if_block_2(ctx) {
|
|
15458
15458
|
let each_1_anchor;
|
|
15459
15459
|
let each_value = /*searchArray*/ ctx[11];
|
|
@@ -15480,7 +15480,7 @@
|
|
|
15480
15480
|
insert_dev(target, each_1_anchor, anchor);
|
|
15481
15481
|
},
|
|
15482
15482
|
p: function update(ctx, dirty) {
|
|
15483
|
-
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
15483
|
+
if (dirty[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/ 2197759) {
|
|
15484
15484
|
each_value = /*searchArray*/ ctx[11];
|
|
15485
15485
|
validate_each_argument(each_value);
|
|
15486
15486
|
let i;
|
|
@@ -15514,14 +15514,14 @@
|
|
|
15514
15514
|
block,
|
|
15515
15515
|
id: create_if_block_2.name,
|
|
15516
15516
|
type: "if",
|
|
15517
|
-
source: "(
|
|
15517
|
+
source: "(307:8) {#if searchCancelled === false}",
|
|
15518
15518
|
ctx
|
|
15519
15519
|
});
|
|
15520
15520
|
|
|
15521
15521
|
return block;
|
|
15522
15522
|
}
|
|
15523
15523
|
|
|
15524
|
-
// (
|
|
15524
|
+
// (308:10) {#each searchArray as game}
|
|
15525
15525
|
function create_each_block(ctx) {
|
|
15526
15526
|
let casino_game_thumbnail;
|
|
15527
15527
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15543,18 +15543,18 @@
|
|
|
15543
15543
|
set_custom_element_data(casino_game_thumbnail, "userid", /*playerID*/ ctx[16]);
|
|
15544
15544
|
set_custom_element_data(casino_game_thumbnail, "favorites", /*showfavorites*/ ctx[7]);
|
|
15545
15545
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15546
|
-
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15547
|
-
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15548
|
-
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15549
|
-
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15550
|
-
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15551
|
-
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15552
|
-
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15553
|
-
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15554
|
-
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15555
|
-
|
|
15556
|
-
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15557
|
-
? /*game*/ ctx[
|
|
15546
|
+
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail);
|
|
15547
|
+
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name);
|
|
15548
|
+
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name);
|
|
15549
|
+
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew);
|
|
15550
|
+
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[21](/*game*/ ctx[49].advancedTags));
|
|
15551
|
+
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize);
|
|
15552
|
+
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id);
|
|
15553
|
+
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode);
|
|
15554
|
+
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite);
|
|
15555
|
+
|
|
15556
|
+
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
|
|
15557
|
+
? /*game*/ ctx[49].launchUrl
|
|
15558
15558
|
: '');
|
|
15559
15559
|
|
|
15560
15560
|
set_custom_element_data(casino_game_thumbnail, "integratedgameframedesktop", /*integratedgameframedesktop*/ ctx[4]);
|
|
@@ -15562,7 +15562,7 @@
|
|
|
15562
15562
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15563
15563
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15564
15564
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15565
|
-
add_location(casino_game_thumbnail, file,
|
|
15565
|
+
add_location(casino_game_thumbnail, file, 308, 12, 10881);
|
|
15566
15566
|
},
|
|
15567
15567
|
m: function mount(target, anchor) {
|
|
15568
15568
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15588,44 +15588,44 @@
|
|
|
15588
15588
|
set_custom_element_data(casino_game_thumbnail, "lang", /*lang*/ ctx[1]);
|
|
15589
15589
|
}
|
|
15590
15590
|
|
|
15591
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[
|
|
15591
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamethumbnail_value !== (casino_game_thumbnail_gamethumbnail_value = /*game*/ ctx[49].thumbnail)) {
|
|
15592
15592
|
set_custom_element_data(casino_game_thumbnail, "gamethumbnail", casino_game_thumbnail_gamethumbnail_value);
|
|
15593
15593
|
}
|
|
15594
15594
|
|
|
15595
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[
|
|
15595
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamename_value !== (casino_game_thumbnail_gamename_value = /*game*/ ctx[49].name)) {
|
|
15596
15596
|
set_custom_element_data(casino_game_thumbnail, "gamename", casino_game_thumbnail_gamename_value);
|
|
15597
15597
|
}
|
|
15598
15598
|
|
|
15599
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[
|
|
15599
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamevendor_value !== (casino_game_thumbnail_gamevendor_value = /*game*/ ctx[49].vendor.name)) {
|
|
15600
15600
|
set_custom_element_data(casino_game_thumbnail, "gamevendor", casino_game_thumbnail_gamevendor_value);
|
|
15601
15601
|
}
|
|
15602
15602
|
|
|
15603
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[
|
|
15603
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameisnew_value !== (casino_game_thumbnail_gameisnew_value = /*game*/ ctx[49].isNew)) {
|
|
15604
15604
|
set_custom_element_data(casino_game_thumbnail, "gameisnew", casino_game_thumbnail_gameisnew_value);
|
|
15605
15605
|
}
|
|
15606
15606
|
|
|
15607
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[
|
|
15607
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gametag_value !== (casino_game_thumbnail_gametag_value = /*game*/ ctx[49].advancedTags?.length > 0 && /*addGameTag*/ ctx[21](/*game*/ ctx[49].advancedTags))) {
|
|
15608
15608
|
set_custom_element_data(casino_game_thumbnail, "gametag", casino_game_thumbnail_gametag_value);
|
|
15609
15609
|
}
|
|
15610
15610
|
|
|
15611
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[
|
|
15611
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamecellsize_value !== (casino_game_thumbnail_gamecellsize_value = /*game*/ ctx[49].cellSize)) {
|
|
15612
15612
|
set_custom_element_data(casino_game_thumbnail, "gamecellsize", casino_game_thumbnail_gamecellsize_value);
|
|
15613
15613
|
}
|
|
15614
15614
|
|
|
15615
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[
|
|
15615
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gameid_value !== (casino_game_thumbnail_gameid_value = /*game*/ ctx[49].id)) {
|
|
15616
15616
|
set_custom_element_data(casino_game_thumbnail, "gameid", casino_game_thumbnail_gameid_value);
|
|
15617
15617
|
}
|
|
15618
15618
|
|
|
15619
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[
|
|
15619
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefunmode_value !== (casino_game_thumbnail_gamefunmode_value = /*game*/ ctx[49].hasFunMode)) {
|
|
15620
15620
|
set_custom_element_data(casino_game_thumbnail, "gamefunmode", casino_game_thumbnail_gamefunmode_value);
|
|
15621
15621
|
}
|
|
15622
15622
|
|
|
15623
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[
|
|
15623
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_gamefavorite_value !== (casino_game_thumbnail_gamefavorite_value = /*game*/ ctx[49].isFavorite)) {
|
|
15624
15624
|
set_custom_element_data(casino_game_thumbnail, "gamefavorite", casino_game_thumbnail_gamefavorite_value);
|
|
15625
15625
|
}
|
|
15626
15626
|
|
|
15627
|
-
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[
|
|
15628
|
-
? /*game*/ ctx[
|
|
15627
|
+
if (dirty[0] & /*searchArray*/ 2048 && casino_game_thumbnail_livelobbyendpoint_value !== (casino_game_thumbnail_livelobbyendpoint_value = /*game*/ ctx[49].details
|
|
15628
|
+
? /*game*/ ctx[49].launchUrl
|
|
15629
15629
|
: '')) {
|
|
15630
15630
|
set_custom_element_data(casino_game_thumbnail, "livelobbyendpoint", casino_game_thumbnail_livelobbyendpoint_value);
|
|
15631
15631
|
}
|
|
@@ -15659,14 +15659,14 @@
|
|
|
15659
15659
|
block,
|
|
15660
15660
|
id: create_each_block.name,
|
|
15661
15661
|
type: "each",
|
|
15662
|
-
source: "(
|
|
15662
|
+
source: "(308:10) {#each searchArray as game}",
|
|
15663
15663
|
ctx
|
|
15664
15664
|
});
|
|
15665
15665
|
|
|
15666
15666
|
return block;
|
|
15667
15667
|
}
|
|
15668
15668
|
|
|
15669
|
-
// (
|
|
15669
|
+
// (333:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15670
15670
|
function create_if_block_1(ctx) {
|
|
15671
15671
|
let div;
|
|
15672
15672
|
let p0;
|
|
@@ -15686,10 +15686,10 @@
|
|
|
15686
15686
|
p1 = element("p");
|
|
15687
15687
|
t2 = text(t2_value);
|
|
15688
15688
|
attr_dev(p0, "class", "SearchMessage");
|
|
15689
|
-
add_location(p0, file,
|
|
15690
|
-
add_location(p1, file,
|
|
15689
|
+
add_location(p0, file, 334, 12, 11930);
|
|
15690
|
+
add_location(p1, file, 335, 12, 12001);
|
|
15691
15691
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15692
|
-
add_location(div, file,
|
|
15692
|
+
add_location(div, file, 333, 10, 11882);
|
|
15693
15693
|
},
|
|
15694
15694
|
m: function mount(target, anchor) {
|
|
15695
15695
|
insert_dev(target, div, anchor);
|
|
@@ -15712,7 +15712,7 @@
|
|
|
15712
15712
|
block,
|
|
15713
15713
|
id: create_if_block_1.name,
|
|
15714
15714
|
type: "if",
|
|
15715
|
-
source: "(
|
|
15715
|
+
source: "(333:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15716
15716
|
ctx
|
|
15717
15717
|
});
|
|
15718
15718
|
|
|
@@ -15728,7 +15728,6 @@
|
|
|
15728
15728
|
let circle;
|
|
15729
15729
|
let t0;
|
|
15730
15730
|
let input;
|
|
15731
|
-
let input_class_value;
|
|
15732
15731
|
let input_placeholder_value;
|
|
15733
15732
|
let t1;
|
|
15734
15733
|
let span;
|
|
@@ -15740,6 +15739,7 @@
|
|
|
15740
15739
|
let t3_value = /*$_*/ ctx[17]('Translations.cancel') + "";
|
|
15741
15740
|
let t3;
|
|
15742
15741
|
let small_class_value;
|
|
15742
|
+
let div1_class_value;
|
|
15743
15743
|
let t4;
|
|
15744
15744
|
let mounted;
|
|
15745
15745
|
let dispose;
|
|
@@ -15777,47 +15777,48 @@
|
|
|
15777
15777
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15778
15778
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15779
15779
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15780
|
-
add_location(path0, file,
|
|
15780
|
+
add_location(path0, file, 278, 10, 9191);
|
|
15781
15781
|
attr_dev(circle, "cx", "6.5");
|
|
15782
15782
|
attr_dev(circle, "cy", "6.5");
|
|
15783
15783
|
attr_dev(circle, "r", "5.75");
|
|
15784
15784
|
attr_dev(circle, "stroke", "#212121");
|
|
15785
15785
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15786
|
-
add_location(circle, file,
|
|
15786
|
+
add_location(circle, file, 279, 10, 9319);
|
|
15787
15787
|
attr_dev(svg0, "width", "14");
|
|
15788
15788
|
attr_dev(svg0, "height", "15");
|
|
15789
15789
|
attr_dev(svg0, "fill", "none");
|
|
15790
15790
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15791
|
-
add_location(svg0, file,
|
|
15791
|
+
add_location(svg0, file, 277, 8, 9105);
|
|
15792
15792
|
attr_dev(div0, "class", "SearchIcon");
|
|
15793
|
-
add_location(div0, file,
|
|
15794
|
-
attr_dev(input, "class",
|
|
15793
|
+
add_location(div0, file, 276, 6, 9072);
|
|
15794
|
+
attr_dev(input, "class", "SearchInput");
|
|
15795
15795
|
attr_dev(input, "type", "search");
|
|
15796
15796
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
|
|
15797
|
-
|
|
15797
|
+
attr_dev(input, "maxlength", /*searchInputMaxLength*/ ctx[19]);
|
|
15798
|
+
add_location(input, file, 282, 8, 9428);
|
|
15798
15799
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15799
15800
|
attr_dev(path1, "stroke", "#717171");
|
|
15800
15801
|
attr_dev(path1, "stroke-width", "2");
|
|
15801
15802
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15802
15803
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15803
|
-
add_location(path1, file,
|
|
15804
|
+
add_location(path1, file, 285, 12, 9848);
|
|
15804
15805
|
attr_dev(svg1, "width", "11");
|
|
15805
15806
|
attr_dev(svg1, "height", "11");
|
|
15806
15807
|
attr_dev(svg1, "fill", "none");
|
|
15807
15808
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15808
|
-
add_location(svg1, file,
|
|
15809
|
+
add_location(svg1, file, 284, 10, 9760);
|
|
15809
15810
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
|
|
15810
|
-
add_location(span, file,
|
|
15811
|
+
add_location(span, file, 283, 8, 9639);
|
|
15811
15812
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
|
|
15812
|
-
add_location(small, file,
|
|
15813
|
-
attr_dev(div1, "class", "Search");
|
|
15814
|
-
add_location(div1, file,
|
|
15813
|
+
add_location(small, file, 288, 6, 10011);
|
|
15814
|
+
attr_dev(div1, "class", div1_class_value = "Search " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'));
|
|
15815
|
+
add_location(div1, file, 275, 4, 9001);
|
|
15815
15816
|
|
|
15816
15817
|
attr_dev(div2, "class", "" + ((getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15817
15818
|
? ''
|
|
15818
15819
|
: 'Desktop') + " CasinoSearch"));
|
|
15819
15820
|
|
|
15820
|
-
add_location(div2, file,
|
|
15821
|
+
add_location(div2, file, 274, 2, 8884);
|
|
15821
15822
|
},
|
|
15822
15823
|
l: function claim(nodes) {
|
|
15823
15824
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -15832,7 +15833,7 @@
|
|
|
15832
15833
|
append_dev(div1, t0);
|
|
15833
15834
|
append_dev(div1, input);
|
|
15834
15835
|
set_input_value(input, /*searchValue*/ ctx[8]);
|
|
15835
|
-
/*input_binding*/ ctx[
|
|
15836
|
+
/*input_binding*/ ctx[30](input);
|
|
15836
15837
|
append_dev(div1, t1);
|
|
15837
15838
|
append_dev(div1, span);
|
|
15838
15839
|
append_dev(span, svg1);
|
|
@@ -15842,24 +15843,20 @@
|
|
|
15842
15843
|
append_dev(small, t3);
|
|
15843
15844
|
append_dev(div2, t4);
|
|
15844
15845
|
if_block.m(div2, null);
|
|
15845
|
-
/*div2_binding*/ ctx[
|
|
15846
|
+
/*div2_binding*/ ctx[33](div2);
|
|
15846
15847
|
|
|
15847
15848
|
if (!mounted) {
|
|
15848
15849
|
dispose = [
|
|
15849
|
-
listen_dev(input, "input", /*input_input_handler*/ ctx[
|
|
15850
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[
|
|
15851
|
-
listen_dev(span, "click", /*click_handler*/ ctx[
|
|
15852
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[
|
|
15850
|
+
listen_dev(input, "input", /*input_input_handler*/ ctx[29]),
|
|
15851
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[20], false, false, false),
|
|
15852
|
+
listen_dev(span, "click", /*click_handler*/ ctx[31], false, false, false),
|
|
15853
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[32], false, false, false)
|
|
15853
15854
|
];
|
|
15854
15855
|
|
|
15855
15856
|
mounted = true;
|
|
15856
15857
|
}
|
|
15857
15858
|
},
|
|
15858
15859
|
p: function update(ctx, dirty) {
|
|
15859
|
-
if (dirty[0] & /*searchCancelled*/ 512 && input_class_value !== (input_class_value = "SearchInput " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'))) {
|
|
15860
|
-
attr_dev(input, "class", input_class_value);
|
|
15861
|
-
}
|
|
15862
|
-
|
|
15863
15860
|
if (dirty[0] & /*$_*/ 131072 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'))) {
|
|
15864
15861
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
15865
15862
|
}
|
|
@@ -15878,6 +15875,10 @@
|
|
|
15878
15875
|
attr_dev(small, "class", small_class_value);
|
|
15879
15876
|
}
|
|
15880
15877
|
|
|
15878
|
+
if (dirty[0] & /*searchCancelled*/ 512 && div1_class_value !== (div1_class_value = "Search " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'))) {
|
|
15879
|
+
attr_dev(div1, "class", div1_class_value);
|
|
15880
|
+
}
|
|
15881
|
+
|
|
15881
15882
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
15882
15883
|
if_block.p(ctx, dirty);
|
|
15883
15884
|
} else {
|
|
@@ -15894,9 +15895,9 @@
|
|
|
15894
15895
|
o: noop$1,
|
|
15895
15896
|
d: function destroy(detaching) {
|
|
15896
15897
|
if (detaching) detach_dev(div2);
|
|
15897
|
-
/*input_binding*/ ctx[
|
|
15898
|
+
/*input_binding*/ ctx[30](null);
|
|
15898
15899
|
if_block.d();
|
|
15899
|
-
/*div2_binding*/ ctx[
|
|
15900
|
+
/*div2_binding*/ ctx[33](null);
|
|
15900
15901
|
mounted = false;
|
|
15901
15902
|
run_all(dispose);
|
|
15902
15903
|
}
|
|
@@ -15939,6 +15940,7 @@
|
|
|
15939
15940
|
let searchElement;
|
|
15940
15941
|
let searchCancelled = true;
|
|
15941
15942
|
let searchActive = false;
|
|
15943
|
+
let searchInputMaxLength = 50;
|
|
15942
15944
|
let isLoading = false;
|
|
15943
15945
|
let customStylingContainer;
|
|
15944
15946
|
let isLoggedIn = false;
|
|
@@ -15970,7 +15972,7 @@
|
|
|
15970
15972
|
if (e.data.type == 'UserSessionID') {
|
|
15971
15973
|
$$invalidate(15, sessionID = e.data.session);
|
|
15972
15974
|
$$invalidate(16, playerID = e.data.userid);
|
|
15973
|
-
$$invalidate(
|
|
15975
|
+
$$invalidate(28, isLoggedIn = true);
|
|
15974
15976
|
}
|
|
15975
15977
|
|
|
15976
15978
|
if (e.data.type == 'CategoryChange') {
|
|
@@ -16083,7 +16085,7 @@
|
|
|
16083
16085
|
};
|
|
16084
16086
|
|
|
16085
16087
|
const setSession = () => {
|
|
16086
|
-
$$invalidate(
|
|
16088
|
+
$$invalidate(28, isLoggedIn = true);
|
|
16087
16089
|
$$invalidate(15, sessionID = session);
|
|
16088
16090
|
$$invalidate(16, playerID = userid);
|
|
16089
16091
|
};
|
|
@@ -16131,7 +16133,7 @@
|
|
|
16131
16133
|
|
|
16132
16134
|
if (searchedValues.indexOf(gameID) === -1) {
|
|
16133
16135
|
let value;
|
|
16134
|
-
searchedValues.
|
|
16136
|
+
searchedValues.unshift(gameID);
|
|
16135
16137
|
value = searchedValues.join(',');
|
|
16136
16138
|
localStorage.setItem(`searchedGamesWds_casino`, value);
|
|
16137
16139
|
}
|
|
@@ -16238,16 +16240,16 @@
|
|
|
16238
16240
|
|
|
16239
16241
|
$$self.$$set = $$props => {
|
|
16240
16242
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16241
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16242
|
-
if ('session' in $$props) $$invalidate(
|
|
16243
|
-
if ('userid' in $$props) $$invalidate(
|
|
16243
|
+
if ('datasource' in $$props) $$invalidate(24, datasource = $$props.datasource);
|
|
16244
|
+
if ('session' in $$props) $$invalidate(25, session = $$props.session);
|
|
16245
|
+
if ('userid' in $$props) $$invalidate(26, userid = $$props.userid);
|
|
16244
16246
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16245
16247
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16246
16248
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16247
16249
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16248
16250
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16249
16251
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16250
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16252
|
+
if ('translationurl' in $$props) $$invalidate(27, translationurl = $$props.translationurl);
|
|
16251
16253
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16252
16254
|
};
|
|
16253
16255
|
|
|
@@ -16279,6 +16281,7 @@
|
|
|
16279
16281
|
searchElement,
|
|
16280
16282
|
searchCancelled,
|
|
16281
16283
|
searchActive,
|
|
16284
|
+
searchInputMaxLength,
|
|
16282
16285
|
isLoading,
|
|
16283
16286
|
customStylingContainer,
|
|
16284
16287
|
isLoggedIn,
|
|
@@ -16306,16 +16309,16 @@
|
|
|
16306
16309
|
|
|
16307
16310
|
$$self.$inject_state = $$props => {
|
|
16308
16311
|
if ('endpoint' in $$props) $$invalidate(0, endpoint = $$props.endpoint);
|
|
16309
|
-
if ('datasource' in $$props) $$invalidate(
|
|
16310
|
-
if ('session' in $$props) $$invalidate(
|
|
16311
|
-
if ('userid' in $$props) $$invalidate(
|
|
16312
|
+
if ('datasource' in $$props) $$invalidate(24, datasource = $$props.datasource);
|
|
16313
|
+
if ('session' in $$props) $$invalidate(25, session = $$props.session);
|
|
16314
|
+
if ('userid' in $$props) $$invalidate(26, userid = $$props.userid);
|
|
16312
16315
|
if ('lang' in $$props) $$invalidate(1, lang = $$props.lang);
|
|
16313
16316
|
if ('clientstyling' in $$props) $$invalidate(2, clientstyling = $$props.clientstyling);
|
|
16314
16317
|
if ('clientstylingurl' in $$props) $$invalidate(3, clientstylingurl = $$props.clientstylingurl);
|
|
16315
16318
|
if ('integratedgameframedesktop' in $$props) $$invalidate(4, integratedgameframedesktop = $$props.integratedgameframedesktop);
|
|
16316
16319
|
if ('integratedgameframemobile' in $$props) $$invalidate(5, integratedgameframemobile = $$props.integratedgameframemobile);
|
|
16317
16320
|
if ('gamepagemodalurl' in $$props) $$invalidate(6, gamepagemodalurl = $$props.gamepagemodalurl);
|
|
16318
|
-
if ('translationurl' in $$props) $$invalidate(
|
|
16321
|
+
if ('translationurl' in $$props) $$invalidate(27, translationurl = $$props.translationurl);
|
|
16319
16322
|
if ('showfavorites' in $$props) $$invalidate(7, showfavorites = $$props.showfavorites);
|
|
16320
16323
|
if ('userAgent' in $$props) $$invalidate(18, userAgent = $$props.userAgent);
|
|
16321
16324
|
if ('searchArray' in $$props) $$invalidate(11, searchArray = $$props.searchArray);
|
|
@@ -16325,9 +16328,10 @@
|
|
|
16325
16328
|
if ('searchElement' in $$props) $$invalidate(12, searchElement = $$props.searchElement);
|
|
16326
16329
|
if ('searchCancelled' in $$props) $$invalidate(9, searchCancelled = $$props.searchCancelled);
|
|
16327
16330
|
if ('searchActive' in $$props) $$invalidate(13, searchActive = $$props.searchActive);
|
|
16331
|
+
if ('searchInputMaxLength' in $$props) $$invalidate(19, searchInputMaxLength = $$props.searchInputMaxLength);
|
|
16328
16332
|
if ('isLoading' in $$props) $$invalidate(14, isLoading = $$props.isLoading);
|
|
16329
16333
|
if ('customStylingContainer' in $$props) $$invalidate(10, customStylingContainer = $$props.customStylingContainer);
|
|
16330
|
-
if ('isLoggedIn' in $$props) $$invalidate(
|
|
16334
|
+
if ('isLoggedIn' in $$props) $$invalidate(28, isLoggedIn = $$props.isLoggedIn);
|
|
16331
16335
|
if ('sessionID' in $$props) $$invalidate(15, sessionID = $$props.sessionID);
|
|
16332
16336
|
if ('playerID' in $$props) $$invalidate(16, playerID = $$props.playerID);
|
|
16333
16337
|
if ('favoriteGamesIds' in $$props) favoriteGamesIds = $$props.favoriteGamesIds;
|
|
@@ -16338,7 +16342,7 @@
|
|
|
16338
16342
|
}
|
|
16339
16343
|
|
|
16340
16344
|
$$self.$$.update = () => {
|
|
16341
|
-
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
16345
|
+
if ($$self.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/ 16777987) {
|
|
16342
16346
|
if (searchValue.length >= 2) {
|
|
16343
16347
|
const searchUrl = new URL(`${endpoint}/casino/games`);
|
|
16344
16348
|
searchUrl.searchParams.append("datasource", datasource);
|
|
@@ -16365,15 +16369,15 @@
|
|
|
16365
16369
|
lang && setActiveLanguage();
|
|
16366
16370
|
}
|
|
16367
16371
|
|
|
16368
|
-
if ($$self.$$.dirty[0] & /*translationurl*/
|
|
16372
|
+
if ($$self.$$.dirty[0] & /*translationurl*/ 134217728) {
|
|
16369
16373
|
translationurl && setTranslationUrl();
|
|
16370
16374
|
}
|
|
16371
16375
|
|
|
16372
|
-
if ($$self.$$.dirty[0] & /*session, userid*/
|
|
16376
|
+
if ($$self.$$.dirty[0] & /*session, userid*/ 100663296) {
|
|
16373
16377
|
session && userid && setSession();
|
|
16374
16378
|
}
|
|
16375
16379
|
|
|
16376
|
-
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/
|
|
16380
|
+
if ($$self.$$.dirty[0] & /*showfavorites, isLoggedIn*/ 268435584) {
|
|
16377
16381
|
showfavorites && isLoggedIn && getFavoriteGames();
|
|
16378
16382
|
}
|
|
16379
16383
|
|
|
@@ -16406,6 +16410,7 @@
|
|
|
16406
16410
|
playerID,
|
|
16407
16411
|
$_,
|
|
16408
16412
|
userAgent,
|
|
16413
|
+
searchInputMaxLength,
|
|
16409
16414
|
onFocus,
|
|
16410
16415
|
addGameTag,
|
|
16411
16416
|
cancelSearch,
|
|
@@ -16426,7 +16431,7 @@
|
|
|
16426
16431
|
class CasinoSearch extends SvelteElement {
|
|
16427
16432
|
constructor(options) {
|
|
16428
16433
|
super();
|
|
16429
|
-
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system,
|
|
16434
|
+
this.shadowRoot.innerHTML = `<style>:host{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}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}</style>`;
|
|
16430
16435
|
|
|
16431
16436
|
init(
|
|
16432
16437
|
this,
|
|
@@ -16440,16 +16445,16 @@
|
|
|
16440
16445
|
safe_not_equal,
|
|
16441
16446
|
{
|
|
16442
16447
|
endpoint: 0,
|
|
16443
|
-
datasource:
|
|
16444
|
-
session:
|
|
16445
|
-
userid:
|
|
16448
|
+
datasource: 24,
|
|
16449
|
+
session: 25,
|
|
16450
|
+
userid: 26,
|
|
16446
16451
|
lang: 1,
|
|
16447
16452
|
clientstyling: 2,
|
|
16448
16453
|
clientstylingurl: 3,
|
|
16449
16454
|
integratedgameframedesktop: 4,
|
|
16450
16455
|
integratedgameframemobile: 5,
|
|
16451
16456
|
gamepagemodalurl: 6,
|
|
16452
|
-
translationurl:
|
|
16457
|
+
translationurl: 27,
|
|
16453
16458
|
showfavorites: 7
|
|
16454
16459
|
},
|
|
16455
16460
|
null,
|
|
@@ -16495,7 +16500,7 @@
|
|
|
16495
16500
|
}
|
|
16496
16501
|
|
|
16497
16502
|
get datasource() {
|
|
16498
|
-
return this.$$.ctx[
|
|
16503
|
+
return this.$$.ctx[24];
|
|
16499
16504
|
}
|
|
16500
16505
|
|
|
16501
16506
|
set datasource(datasource) {
|
|
@@ -16504,7 +16509,7 @@
|
|
|
16504
16509
|
}
|
|
16505
16510
|
|
|
16506
16511
|
get session() {
|
|
16507
|
-
return this.$$.ctx[
|
|
16512
|
+
return this.$$.ctx[25];
|
|
16508
16513
|
}
|
|
16509
16514
|
|
|
16510
16515
|
set session(session) {
|
|
@@ -16513,7 +16518,7 @@
|
|
|
16513
16518
|
}
|
|
16514
16519
|
|
|
16515
16520
|
get userid() {
|
|
16516
|
-
return this.$$.ctx[
|
|
16521
|
+
return this.$$.ctx[26];
|
|
16517
16522
|
}
|
|
16518
16523
|
|
|
16519
16524
|
set userid(userid) {
|
|
@@ -16576,7 +16581,7 @@
|
|
|
16576
16581
|
}
|
|
16577
16582
|
|
|
16578
16583
|
get translationurl() {
|
|
16579
|
-
return this.$$.ctx[
|
|
16584
|
+
return this.$$.ctx[27];
|
|
16580
16585
|
}
|
|
16581
16586
|
|
|
16582
16587
|
set translationurl(translationurl) {
|