@everymatrix/casino-game-thumb-view 1.32.4 → 1.33.0
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/assets/baccarat.svg +43 -0
- package/dist/assets/fav.svg +9 -0
- package/dist/assets/favorite.svg +12 -0
- package/dist/assets/seat.svg +6 -0
- package/dist/assets/unfav.svg +20 -0
- package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -0
- package/dist/casino-game-thumb-view/index.esm.js +0 -0
- package/dist/casino-game-thumb-view/p-1bbf4b70.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-1e63a1ab.js +1 -0
- package/dist/casino-game-thumb-view/p-2d5f59fe.js +1 -0
- package/dist/casino-game-thumb-view/p-42bf2034.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-46dbb1cb.js +1 -0
- package/dist/casino-game-thumb-view/p-6a6b2a78.js +8 -0
- package/dist/casino-game-thumb-view/p-7ae107ed.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-9cbfffbc.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-d961aec4.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-db43bb56.entry.js +7 -0
- package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +366 -0
- package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +58 -0
- package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +45 -0
- package/dist/cjs/casino-game-thumb-view.cjs.js +19 -0
- package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +1612 -0
- package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +278 -0
- package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +23 -0
- package/dist/cjs/game-thumbnail-31d518f0.js +78 -0
- package/dist/cjs/index-65a1d768.js +1796 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/locale.utils-aa160787.js +132 -0
- package/dist/cjs/utils-a0afc0a9.js +5745 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.css +116 -0
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +240 -0
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.css +64 -0
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +119 -0
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.css +40 -0
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +123 -0
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +361 -0
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +1064 -0
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.css +3 -0
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +86 -0
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.css +154 -0
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +158 -0
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.css +58 -0
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +209 -0
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.css +3 -0
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +62 -0
- package/dist/collection/constants/game-thumbnail.js +85 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/casino-game-thumb-view.js +12 -0
- package/dist/collection/models/currency-symbols.js +173 -0
- package/dist/collection/static/baccarat.svg +43 -0
- package/dist/collection/static/fav.svg +9 -0
- package/dist/collection/static/favorite.svg +12 -0
- package/dist/collection/static/seat.svg +6 -0
- package/dist/collection/static/unfav.svg +20 -0
- package/dist/collection/utils/baccarat-board-svg.js +234 -0
- package/dist/collection/utils/locale.utils.js +128 -0
- package/dist/collection/utils/utils.js +65 -0
- package/dist/components/casino-extrainfo-baccarat.d.ts +11 -0
- package/dist/components/casino-extrainfo-baccarat.js +400 -0
- package/dist/components/casino-extrainfo-blackjack.d.ts +11 -0
- package/dist/components/casino-extrainfo-blackjack.js +92 -0
- package/dist/components/casino-extrainfo-roulette.d.ts +11 -0
- package/dist/components/casino-extrainfo-roulette.js +78 -0
- package/dist/components/casino-game-thumb-view.d.ts +11 -0
- package/dist/components/casino-game-thumb-view.js +1625 -0
- package/dist/components/casino-game-thumbnail-betlimit.d.ts +11 -0
- package/dist/components/casino-game-thumbnail-betlimit.js +6 -0
- package/dist/components/casino-game-thumbnail-betlimit2.js +227 -0
- package/dist/components/casino-game-thumbnail-extrainfo.d.ts +11 -0
- package/dist/components/casino-game-thumbnail-extrainfo.js +6 -0
- package/dist/components/casino-game-thumbnail-extrainfo2.js +96 -0
- package/dist/components/casino-game-thumbnail-overlay.d.ts +11 -0
- package/dist/components/casino-game-thumbnail-overlay.js +6 -0
- package/dist/components/casino-game-thumbnail-overlay2.js +69 -0
- package/dist/components/casino-normal-game-thumbnail.d.ts +11 -0
- package/dist/components/casino-normal-game-thumbnail.js +52 -0
- package/dist/components/game-thumbnail.js +72 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/components/locale.utils.js +130 -0
- package/dist/components/utils.js +5739 -0
- package/dist/esm/casino-extrainfo-baccarat.entry.js +362 -0
- package/dist/esm/casino-extrainfo-blackjack.entry.js +54 -0
- package/dist/esm/casino-extrainfo-roulette.entry.js +41 -0
- package/dist/esm/casino-game-thumb-view.js +17 -0
- package/dist/esm/casino-game-thumb-view_2.entry.js +1607 -0
- package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +273 -0
- package/dist/esm/casino-normal-game-thumbnail.entry.js +19 -0
- package/dist/esm/game-thumbnail-0a56ee03.js +72 -0
- package/dist/esm/index-1e44dd9f.js +1769 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/locale.utils-e0cf897e.js +130 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/utils-e9314132.js +5739 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.js +40 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/casino-game-thumb-view/.stencil/packages/casino-game-thumb-view/stencil.config.d.ts +2 -0
- package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +40 -0
- package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +36 -0
- package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +21 -0
- package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +221 -0
- package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +17 -0
- package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +16 -0
- package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +31 -0
- package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +7 -0
- package/dist/types/components.d.ts +480 -0
- package/dist/types/constants/game-thumbnail.d.ts +83 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/casino-game-thumb-view.d.ts +132 -0
- package/dist/types/models/currency-symbols.d.ts +172 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/baccarat-board-svg.d.ts +31 -0
- package/dist/types/utils/locale.utils.d.ts +1 -0
- package/dist/types/utils/utils.d.ts +19 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +2 -3
- package/LICENSE +0 -21
@@ -0,0 +1,43 @@
|
|
1
|
+
<svg
|
2
|
+
version="1.1" width="100%" height="100%"
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
>
|
5
|
+
<g stroke="red" stroke-width="1" stroke-opacity="1">
|
6
|
+
<line x1="0" y1="0" x2="100%" y2="0"/>
|
7
|
+
<line x1="0" y1="20" x2="400" y2="20"/>
|
8
|
+
<line x1="0" y1="40" x2="400" y2="40"/>
|
9
|
+
<line x1="0" y1="60" x2="400" y2="60"/>
|
10
|
+
<line x1="0" y1="80" x2="400" y2="80"/>
|
11
|
+
<line x1="0" y1="100" x2="400" y2="100"/>
|
12
|
+
<line x1="0" y1="120" x2="400" y2="120"/>
|
13
|
+
</g>
|
14
|
+
<g stroke="red" stroke-width="1" stroke-opacity="0.8">
|
15
|
+
<line x1="0" y1="0" x2="0" y2="120"/>
|
16
|
+
<line x1="20" y1="0" x2="20" y2="120"/>
|
17
|
+
<line x1="40" y1="0" x2="40" y2="120"/>
|
18
|
+
<line x1="60" y1="0" x2="60" y2="120"/>
|
19
|
+
<line x1="80" y1="0" x2="80" y2="120"/>
|
20
|
+
<line x1="100" y1="0" x2="100" y2="120"/>
|
21
|
+
<line x1="120" y1="0" x2="120" y2="120"/>
|
22
|
+
<line x1="140" y1="0" x2="140" y2="120"/>
|
23
|
+
<line x1="160" y1="0" x2="160" y2="120"/>
|
24
|
+
<line x1="180" y1="0" x2="180" y2="120"/>
|
25
|
+
<line x1="200" y1="0" x2="200" y2="120"/>
|
26
|
+
<line x1="220" y1="0" x2="220" y2="120"/>
|
27
|
+
<line x1="240" y1="0" x2="240" y2="120"/>
|
28
|
+
<line x1="260" y1="0" x2="260" y2="120"/>
|
29
|
+
<line x1="280" y1="0" x2="280" y2="120"/>
|
30
|
+
<line x1="300" y1="0" x2="300" y2="120"/>
|
31
|
+
<line x1="320" y1="0" x2="320" y2="120"/>
|
32
|
+
<line x1="340" y1="0" x2="340" y2="120"/>
|
33
|
+
<line x1="360" y1="0" x2="360" y2="120"/>
|
34
|
+
<line x1="380" y1="0" x2="380" y2="120"/>
|
35
|
+
<line x1="400" y1="0" x2="400" y2="120"/>
|
36
|
+
<line x1="420" y1="0" x2="420" y2="120"/>
|
37
|
+
<line x1="440" y1="0" x2="440" y2="120"/>
|
38
|
+
<line x1="460" y1="0" x2="460" y2="120"/>
|
39
|
+
<line x1="480" y1="0" x2="480" y2="120"/>
|
40
|
+
<line x1="500" y1="0" x2="500" y2="120"/>
|
41
|
+
</g>
|
42
|
+
|
43
|
+
</svg>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<svg
|
2
|
+
version="1.1"
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
viewBox="0 0 19.481 19.481"
|
5
|
+
enable-background="new 0 0 19.481 19.481"
|
6
|
+
>
|
7
|
+
<path
|
8
|
+
d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>
|
9
|
+
</svg>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" x="20px" y="20px"
|
2
|
+
viewBox="0 0 512.001 512.001">
|
3
|
+
<path d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
|
4
|
+
c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
|
5
|
+
c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
|
6
|
+
c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
|
7
|
+
c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
|
8
|
+
l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
|
9
|
+
l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
|
10
|
+
c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
|
11
|
+
l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"/>
|
12
|
+
</svg>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="14" viewBox="0 0 13 14">
|
2
|
+
<path
|
3
|
+
d="M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"/>
|
4
|
+
<path
|
5
|
+
d="M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"/>
|
6
|
+
</svg>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<svg
|
2
|
+
version="1.1"
|
3
|
+
class="UnfavoredIcon"
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
x="20px"
|
6
|
+
y="20px"
|
7
|
+
viewBox="0 0 512.001 512.001"
|
8
|
+
>
|
9
|
+
<path
|
10
|
+
d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
|
11
|
+
c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
|
12
|
+
c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
|
13
|
+
c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
|
14
|
+
c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
|
15
|
+
l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
|
16
|
+
l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
|
17
|
+
c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
|
18
|
+
l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"
|
19
|
+
/>
|
20
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
import{p as e,b as a}from"./p-46dbb1cb.js";(()=>{const a=import.meta.url,o={};return""!==a&&(o.resourcesUrl=new URL(".",a).href),e(o)})().then((e=>a([["p-42bf2034",[[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-d961aec4",[[0,"casino-extrainfo-baccarat",{language:[1],showRoundBoard:[4,"show-round-board"],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64],onBaccaratResultChanged:[64]}]]],["p-7ae107ed",[[0,"casino-extrainfo-blackjack",{language:[1],gameInfo:[32],gameDetails:[32],seatsStatus:[32],isTableFull:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-9cbfffbc",[[0,"casino-extrainfo-roulette",{language:[1],gameInfo:[32],gameDetails:[32],showLiveClass:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-1bbf4b70",[[0,"casino-normal-game-thumbnail",{language:[1],onGameLoaded:[64]}]]],["p-db43bb56",[[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"]]],[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)));
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as a,h as s,H as n}from"./p-46dbb1cb.js";const o=class{constructor(s){a(this,s)}async onGameLoaded(a){var s;null===(s=this.infoWrapperRef)||void 0===s||s.onGameLoaded(a)}render(){return s(n,null,s("casino-game-thumbnail-extrainfo",{ref:a=>this.infoWrapperRef=a,language:this.language}))}};o.style=":host{display:block}";export{o as casino_normal_game_thumbnail}
|
@@ -0,0 +1 @@
|
|
1
|
+
const e=["ro","en","hr"],l={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Otvara ",full:"stol pun - ulog iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},a=(a,o)=>{const n=o;return l[void 0!==n&&e.includes(n)?n:"en"][a]};export{a as t}
|
@@ -0,0 +1 @@
|
|
1
|
+
const a=7,e={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};var l,c;!function(a){a.BLACKJACK="blackjack",a.ROULETTE="roulette",a.DOUBLEBALL_ROULETTE="doubleballroulette",a.BACCARAT="baccarat"}(l||(l={})),function(a){a.NORMAL_CASINO="casino-games",a.LIVE_CASINO="live-casino-tables",a.OTHER=""}(c||(c={}));const k={roulette:"roulette",doubleballroulette:"doubleballroulette",blackjack:"blackjack",baccarat:"baccarat"},t={roulette:"RoulleteProps",doubleballroulette:"RoulleteProps",blackjack:"BlackjackDisplay",baccarat:"BaccaratProps"},o={banker:"red",player:"blue"};export{a as D,l as G,e as R,k as W,c as a,o as b,t as c}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as i}from"./p-46dbb1cb.js";import{n as t,a,h as s}from"./p-6a6b2a78.js";import{t as n}from"./p-1e63a1ab.js";import{W as o,c as r}from"./p-2d5f59fe.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}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.language="en",this.isNewGame=!1}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(--emfe-w-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(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-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(--emfe-w-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(--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 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(--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}.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 .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-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 @@
|
|
1
|
+
let e,t,n,l=!1,o=!1,s=!1,i=!1,r=!1;const c="undefined"!=typeof window?window:{},f=c.document||{head:{}},a={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},u=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),$=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=m(e,n),i=h(t,o),r=p(n);a.ael(s,l,i,r),(t.o=t.o||[]).push((()=>a.rel(s,l,i,r)))}))},h=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){ae(e)}},m=(e,t)=>4&t?f:e,p=e=>0!=(2&e),y="http://www.w3.org/1999/xlink",b=new WeakMap,w=e=>"sc-"+e.$,g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1,c=[];const f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!v(l))&&(l+=""),i&&r?c[c.length-1].h+=l:c.push(i?j(null,l):l),r=i)};if(f(n),t){t.key&&(o=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,O);const a=j(e,null);return a.m=t,c.length>0&&(a.p=c),a.g=o,a.v=s,a},j=(e,t)=>({t:0,k:e,h:t,j:null,p:null,m:null,g:null,v:null}),S={},O={forEach:(e,t)=>e.map(M).forEach(t),map:(e,t)=>e.map(M).map(t).map(x)},M=e=>({vattrs:e.m,vchildren:e.p,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.h}),x=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.m=e.vattrs,t.p=e.vchildren,t.g=e.vkey,t.v=e.vname,t},C=(e,t,n,l,o,s)=>{if(n!==l){let i=fe(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=P(n),s=P(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=v(l);if((i||c&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{let o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(y,t):e.removeAttribute(t)):(!i||4&s||o)&&!c&&(l=!0===l?"":l,f?e.setAttributeNS(y,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):fe(c,r)?r.slice(2):r[2]+t.slice(3),n&&a.rel(e,t,n,!1),l&&a.ael(e,t,l,!1)}},R=/\s/,P=e=>e?e.split(R):[],T=(e,t,n,l)=>{const o=11===t.j.nodeType&&t.j.host?t.j.host:t.j,s=e&&e.m||g,i=t.m||g;for(l in s)l in i||C(o,l,s[l],void 0,n,t.t);for(l in i)C(o,l,s[l],i[l],n,t.t)},E=(o,r,c,a)=>{let u,d,$,h=r.p[c],m=0;if(l||(s=!0,"slot"===h.k&&(e&&a.classList.add(e+"-s"),h.t|=h.p?2:1)),null!==h.h)u=h.j=f.createTextNode(h.h);else if(1&h.t)u=h.j=f.createTextNode("");else{if(i||(i="svg"===h.k),u=h.j=f.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&h.t?"slot-fb":h.k),i&&"foreignObject"===h.k&&(i=!1),T(null,h,i),null!=e&&u["s-si"]!==e&&u.classList.add(u["s-si"]=e),h.p)for(m=0;m<h.p.length;++m)d=E(o,h,m,u),d&&u.appendChild(d);"svg"===h.k?i=!1:"foreignObject"===u.tagName&&(i=!0)}return u["s-hn"]=n,3&h.t&&(u["s-sr"]=!0,u["s-cr"]=t,u["s-sn"]=h.v||"",$=o&&o.p&&o.p[c],$&&$.k===h.k&&o.j&&L(o.j,!1)),u},L=(e,t)=>{a.t|=1;const l=e.childNodes;for(let e=l.length-1;e>=0;e--){const o=l[e];o["s-hn"]!==n&&o["s-ol"]&&(F(o).insertBefore(o,D(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),t&&L(o,t)}a.t&=-2},N=(e,t,l,o,s,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===n&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=E(null,l,s,e),r&&(o[s].j=r,c.insertBefore(r,D(t))))},W=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,z(l),o=!0,s["s-ol"]?s["s-ol"].remove():L(s,!0),s.remove())},A=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),D=e=>e&&e["s-ol"]||e,F=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,H=(e,t)=>{const n=t.j=e.j,l=e.p,o=t.p,s=t.k,r=t.h;let c;null===r?(i="svg"===s||"foreignObject"!==s&&i,"slot"===s||T(e,t,i),null!==l&&null!==o?((e,t,n,l)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],d=t[a],$=l.length-1,h=l[0],m=l[$];for(;i<=a&&r<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==h)h=l[++r];else if(null==m)m=l[--$];else if(A(u,h))H(u,h),u=t[++i],h=l[++r];else if(A(d,m))H(d,m),d=t[--a],m=l[--$];else if(A(u,m))"slot"!==u.k&&"slot"!==m.k||L(u.j.parentNode,!1),H(u,m),e.insertBefore(u.j,d.j.nextSibling),u=t[++i],m=l[--$];else if(A(d,h))"slot"!==u.k&&"slot"!==m.k||L(d.j.parentNode,!1),H(d,h),e.insertBefore(d.j,u.j),d=t[--a],h=l[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===h.g){c=f;break}c>=0?(s=t[c],s.k!==h.k?o=E(t&&t[r],n,c,e):(H(s,h),t[c]=void 0,o=s.j),h=l[++r]):(o=E(t&&t[r],n,r,e),h=l[++r]),o&&F(u.j).insertBefore(o,D(u.j))}i>a?N(e,null==l[$+1]?null:l[$+1].j,n,l,r,$):r>$&&W(t,i,a)})(n,l,t,o):null!==o?(null!==e.h&&(n.textContent=""),N(n,null,t,o,0,o.length-1)):null!==l&&W(l,0,l.length-1),i&&"svg"===s&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.h!==r&&(n.data=r)},U=e=>{let t,n,l,o,s,i,r=e.childNodes;for(n=0,l=r.length;n<l;n++)if(t=r[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<l;o++)if(i=r[o].nodeType,r[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}U(t)}},q=[],V=e=>{let t,n,l,s,i,r,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],r=l.length-1;r>=0;r--)n=l[r],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(_(n,s)?(i=q.find((e=>e.S===n)),o=!0,n["s-sn"]=n["s-sn"]||s,i?i.O=t:q.push({O:t,S:n}),n["s-sr"]&&q.map((e=>{_(e.S,n["s-sn"])&&(i=q.find((e=>e.S===n)),i&&!e.O&&(e.O=i.O))}))):q.some((e=>e.S===n))||q.push({S:n}));1===t.nodeType&&V(t)}},_=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,z=e=>{e.m&&e.m.ref&&e.m.ref(null),e.p&&e.p.map(z)},B=(e,t,n)=>{const l=(e=>ie(e).M)(e);return{emit:e=>G(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},G=(e,t,n)=>{const l=a.ce(t,n);return e.dispatchEvent(l),l},I=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},J=(e,t)=>{if(e.t|=16,!(4&e.t))return I(e,e.R),ge((()=>K(e,t)));e.t|=512},K=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>ee(n,e,t))),e.u=null),l=ee(n,"componentWillLoad")),l=te(l,(()=>ee(n,"componentWillRender"))),te(l,(()=>Q(e,n,t)))},Q=async(e,t,n)=>{const l=e.M,o=l["s-rc"];n&&(e=>{const t=e.P,n=e.M,l=t.t,o=((e,t)=>{let n=w(t),l=$e.get(n);if(e=11===e.nodeType?e:f,l)if("string"==typeof l){let t,o=b.get(e=e.head||e);o||b.set(e,o=new Set),o.has(n)||(t=f.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);X(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>Y(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},X=(i,r)=>{try{r=r.render(),i.t&=-17,i.t|=2,((i,r)=>{const c=i.M,u=i.P,d=i.T||j(null,null),$=(e=>e&&e.k===S)(r)?r:k(null,null,r);if(n=c.tagName,$.k=null,$.t|=4,i.T=$,$.j=d.j=c.shadowRoot||c,e=c["s-sc"],t=c["s-cr"],l=0!=(1&u.t),o=!1,H(d,$),a.t|=1,s){let e,t,n,l,o,s;V($.j);let i=0;for(;i<q.length;i++)e=q[i],t=e.S,t["s-ol"]||(n=f.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(i=0;i<q.length;i++)if(e=q[i],t=e.S,e.O){for(l=e.O.parentNode,o=e.O.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}o&&U($.j),a.t&=-2,q.length=0})(i,r)}catch(e){ae(e,i.M)}return null},Y=e=>{const t=e.M,n=e.i,l=e.R;ee(n,"componentDidRender"),64&e.t||(e.t|=64,ne(t),ee(n,"componentDidLoad"),e.L(t),l||Z()),e.N(t),e.C&&(e.C(),e.C=void 0),512&e.t&&we((()=>J(e,!1))),e.t&=-517},Z=()=>{ne(f.documentElement),we((()=>G(c,"appload",{detail:{namespace:"casino-game-thumb-view"}})))},ee=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ae(e)}},te=(e,t)=>e&&e.then?e.then(t):t(),ne=e=>e.classList.add("hydrated"),le=(e,t,n)=>{if(t.W){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.W),o=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(o,e,{get(){return((e,t)=>ie(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const o=ie(e),s=o.M,i=o.D.get(t),r=o.t,c=o.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.W[t][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(o.D.set(t,n),c)){if(l.A&&128&r){const e=l.A[t];e&&e.map((e=>{try{c[e](n,i,t)}catch(e){ae(e,s)}}))}2==(18&r)&&J(o,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(o,e,{value(...t){const n=ie(this);return n.F.then((()=>n.i[e](...t)))}})})),1&n){const t=new Map;o.attributeChangedCallback=function(e,n,l){a.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(o.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},oe=(e,t={})=>{const n=[],l=t.exclude||[],o=c.customElements,s=f.head,i=s.querySelector("meta[charset]"),r=f.createElement("style"),u=[];let h,m=!0;Object.assign(a,t),a.l=new URL(t.resourcesUrl||"./",f.baseURI).href,e.map((e=>{e[1].map((t=>{const s={t:t[0],$:t[1],W:t[2],H:t[3]};s.W=t[2],s.H=t[3],s.A={};const i=s.$,r=class extends HTMLElement{constructor(e){super(e),ce(e=this,s),1&s.t&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),m?u.push(this):a.jmp((()=>(e=>{if(0==(1&a.t)){const t=ie(e),n=t.P,l=()=>{};if(1&t.t)$(e,t,n.H);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){I(t,t.R=n);break}}n.W&&Object.entries(n.W).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=de(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(n.A=o.watchers,le(o,n,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){ae(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=w(n);if(!$e.has(t)){const l=()=>{};((e,t,n)=>{let l=$e.get(e);d&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,$e.set(e,l)})(t,e,!!(1&n.t)),l()}}}const s=t.R,i=()=>J(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(()=>{if(0==(1&a.t)){const e=ie(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),ee(t,"disconnectedCallback")}})()))}componentOnReady(){return ie(this).U}};s.q=e[0],l.includes(i)||o.get(i)||(n.push(i),o.define(i,le(r,s,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),s.insertBefore(r,i?i.nextSibling:s.firstChild),m=!1,u.length?u.map((e=>e.connectedCallback())):a.jmp((()=>h=setTimeout(Z,30)))},se=new WeakMap,ie=e=>se.get(e),re=(e,t)=>se.set(t.i=e,t),ce=(e,t)=>{const n={t:0,M:e,P:t,D:new Map};return n.F=new Promise((e=>n.N=e)),n.U=new Promise((e=>n.L=e)),e["s-p"]=[],e["s-rc"]=[],$(e,n,t.H),se.set(e,n)},fe=(e,t)=>t in e,ae=(e,t)=>(0,console.error)(e,t),ue=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),n=e.q,l=ue.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(ue.set(n,e),e[t])),ae)},$e=new Map,he=[],me=[],pe=(e,t)=>n=>{e.push(n),r||(r=!0,t&&4&a.t?we(be):a.raf(be))},ye=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ae(e)}e.length=0},be=()=>{ye(he),ye(me),(r=he.length>0)&&a.raf(be)},we=e=>u().then(e),ge=pe(me,!0);export{S as H,oe as b,B as c,k as h,u as p,re as r}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
//! moment.js
|
2
|
+
//! version : 2.29.4
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4
|
+
//! license : MIT
|
5
|
+
//! momentjs.com
|
6
|
+
var t,n;function i(){return t.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function u(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(s(t,n))return!1;return!0}function o(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function d(t,n){for(var i in n)s(n,i)&&(t[i]=n[i]);return s(n,"toString")&&(t.toString=n.toString),s(n,"valueOf")&&(t.valueOf=n.valueOf),t}function c(t,n,i,e){return Nn(t,n,i,e,!0).utc()}function l(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var i=l(t),e=n.call(i.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidEra&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&e);if(t._strict&&(r=r&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var n=c(NaN);return null!=t?d(l(n),t):l(n).userInvalidated=!0,n}n=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var Y=i.momentProperties=[],M=!1;function y(t,n){var i,e,r,s=Y.length;if(o(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),o(n._i)||(t._i=n._i),o(n._f)||(t._f=n._f),o(n._l)||(t._l=n._l),o(n._strict)||(t._strict=n._strict),o(n._tzm)||(t._tzm=n._tzm),o(n._isUTC)||(t._isUTC=n._isUTC),o(n._offset)||(t._offset=n._offset),o(n._pf)||(t._pf=l(n)),o(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)o(r=n[e=Y[i]])||(t[e]=r);return t}function D(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===M&&(M=!0,i.updateOffset(this),M=!1)}function g(t){return t instanceof D||null!=t&&null!=t._isAMomentObject}function S(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function w(t,n){var e=!0;return d((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),e){var r,u,o,h=[],a=arguments.length;for(u=0;u<a;u++){if(r="","object"==typeof arguments[u]){for(o in r+="\n["+u+"] ",arguments[0])s(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[u];h.push(r)}S(t+"\nArguments: "+Array.prototype.slice.call(h).join("")+"\n"+(new Error).stack),e=!1}return n.apply(this,arguments)}),n)}var N,p={};function b(t,n){null!=i.deprecationHandler&&i.deprecationHandler(t,n),p[t]||(S(n),p[t]=!0)}function k(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t,n){var i,e=d({},t);for(i in n)s(n,i)&&(r(t[i])&&r(n[i])?(e[i]={},d(e[i],t[i]),d(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)s(t,i)&&!s(n,i)&&r(t[i])&&(e[i]=d({},e[i]));return e}function _(t){null!=t&&this.set(t)}function H(t,n,i){var e=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,N=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)s(t,n)&&i.push(n);return i};var G=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,W=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},x={};function F(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(x[t]=r),n&&(x[n[0]]=function(){return H(r.apply(this,arguments),n[1],n[2])}),i&&(x[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function A(t,n){return t.isValid()?(n=O(n,t.localeData()),E[n]=E[n]||function(t){var n,i,e,r=t.match(G);for(n=0,i=r.length;n<i;n++)r[n]=x[r[n]]?x[r[n]]:(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=k(r[e])?r[e].call(n,t):r[e];return s}}(n),E[n](t)):t.localeData().invalidDate()}function O(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(W.lastIndex=0;i>=0&&W.test(t);)t=t.replace(W,e),W.lastIndex=0,i-=1;return t}var L={};function j(t,n){var i=t.toLowerCase();L[i]=L[i+"s"]=L[n]=t}function R(t){return"string"==typeof t?L[t]||L[t.toLowerCase()]:void 0}function Z(t){var n,i,e={};for(i in t)s(t,i)&&(n=R(i))&&(e[n]=t[i]);return e}var I={};function C(t,n){I[t]=n}function $(t){return t%4==0&&t%100!=0||t%400==0}function U(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function P(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=U(n)),i}function z(t,n){return function(e){return null!=e?(J(this,t,e),i.updateOffset(this,n),this):q(this,t)}}function q(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function J(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&$(t.year())&&1===t.month()&&29===t.date()?(i=P(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),gt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var Q,B=/\d/,X=/\d\d/,K=/\d{3}/,V=/\d{4}/,tt=/[+-]?\d{6}/,nt=/\d\d?/,it=/\d\d\d\d?/,et=/\d\d\d\d\d\d?/,rt=/\d{1,3}/,st=/\d{1,4}/,ut=/[+-]?\d{1,6}/,ot=/\d+/,ht=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,dt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ct(t,n,i){Q[t]=k(n)?n:function(t){return t&&i?i:n}}function lt(t,n){return s(Q,t)?Q[t](n._strict,n._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var vt,Yt={};function Mt(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),h(n)&&(r=function(t,i){i[n]=P(t)}),e=t.length,i=0;i<e;i++)Yt[t[i]]=r}function yt(t,n){Mt(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function Dt(t,n,i){null!=n&&s(Yt,t)&&Yt[t](n,i._a,i,t)}function gt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i=(n%12+12)%12;return t+=(n-i)/12,1===i?$(t)?29:28:31-i%7%2}vt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),F("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),j("month","M"),C("month",8),ct("M",nt),ct("MM",nt,X),ct("MMM",(function(t,n){return n.monthsShortRegex(t)})),ct("MMMM",(function(t,n){return n.monthsRegex(t)})),Mt(["M","MM"],(function(t,n){n[1]=P(t)-1})),Mt(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[1]=r:l(i).invalidMonth=t}));var St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),wt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pt=dt,bt=dt;function kt(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=c([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=vt.call(this._shortMonthsParse,u))?r:null:-1!==(r=vt.call(this._longMonthsParse,u))?r:null:"MMM"===n?-1!==(r=vt.call(this._shortMonthsParse,u))||-1!==(r=vt.call(this._longMonthsParse,u))?r:null:-1!==(r=vt.call(this._longMonthsParse,u))||-1!==(r=vt.call(this._shortMonthsParse,u))?r:null}function Tt(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=P(n);else if(!h(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),gt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function _t(t){return null!=t?(Tt(this,t),i.updateOffset(this,!0),this):q(this,"Month")}function Ht(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=c([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)e[n]=mt(e[n]),r[n]=mt(r[n]);for(n=0;n<24;n++)s[n]=mt(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Gt(t){return $(t)?366:365}F("Y",0,0,(function(){var t=this.year();return t<=9999?H(t,4):"+"+t})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),j("year","y"),C("year",1),ct("Y",ht),ct("YY",nt,X),ct("YYYY",st,V),ct("YYYYY",ut,tt),ct("YYYYYY",ut,tt),Mt(["YYYYY","YYYYYY"],0),Mt("YYYY",(function(t,n){n[0]=2===t.length?i.parseTwoDigitYear(t):P(t)})),Mt("YY",(function(t,n){n[0]=i.parseTwoDigitYear(t)})),Mt("Y",(function(t,n){n[0]=parseInt(t,10)})),i.parseTwoDigitYear=function(t){return P(t)+(P(t)>68?1900:2e3)};var Wt=z("FullYear",!0);function Et(t,n,i,e,r,s,u){var o;return t<100&&t>=0?(o=new Date(t+400,n,i,e,r,s,u),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,n,i,e,r,s,u),o}function xt(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function Ft(t,n,i){var e=7+n-i;return-(7+xt(t,0,e).getUTCDay()-n)%7+e-1}function At(t,n,i,e,r){var s,u,o=1+7*(n-1)+(7+i-e)%7+Ft(t,e,r);return o<=0?u=Gt(s=t-1)+o:o>Gt(t)?(s=t+1,u=o-Gt(t)):(s=t,u=o),{year:s,dayOfYear:u}}function Ot(t,n,i){var e,r,s=Ft(t.year(),n,i),u=Math.floor((t.dayOfYear()-s-1)/7)+1;return u<1?e=u+Lt(r=t.year()-1,n,i):u>Lt(t.year(),n,i)?(e=u-Lt(t.year(),n,i),r=t.year()+1):(r=t.year(),e=u),{week:e,year:r}}function Lt(t,n,i){var e=Ft(t,n,i),r=Ft(t+1,n,i);return(Gt(t)-e+r)/7}function jt(t,n){return t.slice(n,7).concat(t.slice(0,n))}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),C("week",5),C("isoWeek",5),ct("w",nt),ct("ww",nt,X),ct("W",nt),ct("WW",nt,X),yt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=P(t)})),F("d",0,"do","day"),F("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),F("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),F("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),C("day",11),C("weekday",11),C("isoWeekday",11),ct("d",nt),ct("e",nt),ct("E",nt),ct("dd",(function(t,n){return n.weekdaysMinRegex(t)})),ct("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),ct("dddd",(function(t,n){return n.weekdaysRegex(t)})),yt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:l(i).invalidWeekday=t})),yt(["d","e","E"],(function(t,n,i,e){n[e]=P(t)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=dt,$t=dt,Ut=dt;function Pt(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=c([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=vt.call(this._weekdaysParse,u))?r:null:"ddd"===n?-1!==(r=vt.call(this._shortWeekdaysParse,u))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,u))?r:null:"dddd"===n?-1!==(r=vt.call(this._weekdaysParse,u))||-1!==(r=vt.call(this._shortWeekdaysParse,u))||-1!==(r=vt.call(this._minWeekdaysParse,u))?r:null:"ddd"===n?-1!==(r=vt.call(this._shortWeekdaysParse,u))||-1!==(r=vt.call(this._weekdaysParse,u))||-1!==(r=vt.call(this._minWeekdaysParse,u))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,u))||-1!==(r=vt.call(this._weekdaysParse,u))||-1!==(r=vt.call(this._shortWeekdaysParse,u))?r:null}function zt(){function t(t,n){return n.length-t.length}var n,i,e,r,s,u=[],o=[],h=[],a=[];for(n=0;n<7;n++)i=c([2e3,1]).day(n),e=mt(this.weekdaysMin(i,"")),r=mt(this.weekdaysShort(i,"")),s=mt(this.weekdays(i,"")),u.push(e),o.push(r),h.push(s),a.push(e),a.push(r),a.push(s);u.sort(t),o.sort(t),h.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function qt(){return this.hours()%12||12}function Jt(t,n){F(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function Qt(t,n){return n._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,qt),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+qt.apply(this)+H(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+qt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),j("hour","h"),C("hour",13),ct("a",Qt),ct("A",Qt),ct("H",nt),ct("h",nt),ct("k",nt),ct("HH",nt,X),ct("hh",nt,X),ct("kk",nt,X),ct("hmm",it),ct("hmmss",et),ct("Hmm",it),ct("Hmmss",et),Mt(["H","HH"],3),Mt(["k","kk"],(function(t,n){var i=P(t);n[3]=24===i?0:i})),Mt(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Mt(["h","hh"],(function(t,n,i){n[3]=P(t),l(i).bigHour=!0})),Mt("hmm",(function(t,n,i){var e=t.length-2;n[3]=P(t.substr(0,e)),n[4]=P(t.substr(e)),l(i).bigHour=!0})),Mt("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[3]=P(t.substr(0,e)),n[4]=P(t.substr(e,2)),n[5]=P(t.substr(r)),l(i).bigHour=!0})),Mt("Hmm",(function(t,n){var i=t.length-2;n[3]=P(t.substr(0,i)),n[4]=P(t.substr(i))})),Mt("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[3]=P(t.substr(0,i)),n[4]=P(t.substr(i,2)),n[5]=P(t.substr(e))}));var Bt,Xt=z("Hours",!0),Kt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:wt,week:{dow:0,doy:6},weekdays:Rt,weekdaysMin:It,weekdaysShort:Zt,meridiemParse:/[ap]\.?m?\.?/i},Vt={},tn={};function nn(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function en(t){return t?t.toLowerCase().replace("_","-"):t}function rn(t){var n=null;if(void 0===Vt[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=Bt._abbr,require("./locale/"+t),sn(n)}catch(n){Vt[t]=null}return Vt[t]}function sn(t,n){var i;return t&&((i=o(n)?on(t):un(t,n))?Bt=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Bt._abbr}function un(t,n){if(null!==n){var i,e=Kt;if(n.abbr=t,null!=Vt[t])b("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),e=Vt[t]._config;else if(null!=n.parentLocale)if(null!=Vt[n.parentLocale])e=Vt[n.parentLocale]._config;else{if(null==(i=rn(n.parentLocale)))return tn[n.parentLocale]||(tn[n.parentLocale]=[]),tn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return Vt[t]=new _(T(e,n)),tn[t]&&tn[t].forEach((function(t){un(t.name,t.config)})),sn(t),Vt[t]}return delete Vt[t],null}function on(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Bt;if(!e(t)){if(n=rn(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=en(t[s]).split("-")).length,i=(i=en(t[s+1]))?i.split("-"):null;n>0;){if(e=rn(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&nn(r,i)>=n-1)break;n--}s++}return Bt}(t)}function hn(t){var n,i=t._a;return i&&-2===l(t).overflow&&(n=i[1]<0||i[1]>11?1:i[2]<1||i[2]>gt(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,l(t)._overflowDayOfYear&&(n<0||n>2)&&(n=2),l(t)._overflowWeeks&&-1===n&&(n=7),l(t)._overflowWeekday&&-1===n&&(n=8),l(t).overflow=n),t}var an=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dn=/Z|[+-]\d\d(?::?\d\d)?/,cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ln=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mn=/^\/?Date\((-?\d+)/i,vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Yn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t){var n,i,e,r,s,u,o=t._i,h=an.exec(o)||fn.exec(o),a=cn.length,f=ln.length;if(h){for(l(t).iso=!0,n=0,i=a;n<i;n++)if(cn[n][1].exec(h[1])){r=cn[n][0],e=!1!==cn[n][2];break}if(null==r)return void(t._isValid=!1);if(h[3]){for(n=0,i=f;n<i;n++)if(ln[n][1].exec(h[3])){s=(h[2]||" ")+ln[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(h[4]){if(!dn.exec(h[4]))return void(t._isValid=!1);u="Z"}t._f=r+(s||"")+(u||""),Sn(t)}else t._isValid=!1}function yn(t){var n,i,e,r,s,u,o,h,a,f=vn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(f){if(i=f[3],e=f[2],r=f[5],s=f[6],u=f[7],o=[(h=f[4],a=parseInt(h,10),a<=49?2e3+a:a<=999?1900+a:a),wt.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],u&&o.push(parseInt(u,10)),!function(t,n,i){return!t||Zt.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(l(i).weekdayMismatch=!0,i._isValid=!1,!1)}(f[1],n=o,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return Yn[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(f[8],f[9],f[10]),t._d=xt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),l(t).rfc2822=!0}else t._isValid=!1}function Dn(t,n,i){return null!=t?t:null!=n?n:i}function gn(t){var n,e,r,s,u,o=[];if(!t._d){for(r=function(t){var n=new Date(i.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var n,i,e,r,s,u,o,h,a;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,u=4,i=Dn(n.GG,t._a[0],Ot(pn(),1,4).year),e=Dn(n.W,1),((r=Dn(n.E,1))<1||r>7)&&(h=!0)):(s=t._locale._week.dow,u=t._locale._week.doy,a=Ot(pn(),s,u),i=Dn(n.gg,t._a[0],a.year),e=Dn(n.w,a.week),null!=n.d?((r=n.d)<0||r>6)&&(h=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(h=!0)):r=s),e<1||e>Lt(i,s,u)?l(t)._overflowWeeks=!0:null!=h?l(t)._overflowWeekday=!0:(o=At(i,e,r,s,u),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(u=Dn(t._a[0],r[0]),(t._dayOfYear>Gt(u)||0===t._dayOfYear)&&(l(t)._overflowDayOfYear=!0),e=xt(u,0,t._dayOfYear),t._a[1]=e.getUTCMonth(),t._a[2]=e.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=r[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?xt:Et).apply(null,o),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(l(t).weekdayMismatch=!0)}}function Sn(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],l(t).empty=!0;var n,e,r,s,u,o,h,a=""+t._i,f=a.length,d=0;for(h=(r=O(t._f,t._locale).match(G)||[]).length,n=0;n<h;n++)(e=(a.match(lt(s=r[n],t))||[])[0])&&((u=a.substr(0,a.indexOf(e))).length>0&&l(t).unusedInput.push(u),a=a.slice(a.indexOf(e)+e.length),d+=e.length),x[s]?(e?l(t).empty=!1:l(t).unusedTokens.push(s),Dt(s,e,t)):t._strict&&!e&&l(t).unusedTokens.push(s);l(t).charsLeftOver=f-d,a.length>0&&l(t).unusedInput.push(a),t._a[3]<=12&&!0===l(t).bigHour&&t._a[3]>0&&(l(t).bigHour=void 0),l(t).parsedDateParts=t._a.slice(0),l(t).meridiem=t._meridiem,t._a[3]=function(t,n,i){var e;return null==i?n:null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[3],t._meridiem),null!==(o=l(t).era)&&(t._a[0]=t._locale.erasConvertYear(o,t._a[0])),gn(t),hn(t)}else yn(t);else Mn(t)}function wn(t){var n=t._i,s=t._f;return t._locale=t._locale||on(t._l),null===n||void 0===s&&""===n?v({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),g(n)?new D(hn(n)):(a(n)?t._d=n:e(s)?function(t){var n,i,e,r,s,u,o=!1,h=t._f.length;if(0===h)return l(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<h;r++)s=0,u=!1,n=y({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],Sn(n),m(n)&&(u=!0),s+=l(n).charsLeftOver,s+=10*l(n).unusedTokens.length,l(n).score=s,o?s<e&&(e=s,i=n):(null==e||s<e||u)&&(e=s,i=n,u&&(o=!0));d(t,i||n)}(t):s?Sn(t):function(t){var n=t._i;o(n)?t._d=new Date(i.now()):a(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=mn.exec(t._i);null===n?(Mn(t),!1===t._isValid&&(delete t._isValid,yn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:i.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):e(n)?(t._a=f(n.slice(0),(function(t){return parseInt(t,10)})),gn(t)):r(n)?function(t){if(!t._d){var n=Z(t._i);t._a=f([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),gn(t)}}(t):h(n)?t._d=new Date(n):i.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Nn(t,n,i,s,o){var h,a={};return!0!==n&&!1!==n||(s=n,n=void 0),!0!==i&&!1!==i||(s=i,i=void 0),(r(t)&&u(t)||e(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=o,a._l=i,a._i=t,a._f=n,a._strict=s,(h=new D(hn(wn(a))))._nextDay&&(h.add(1,"d"),h._nextDay=void 0),h}function pn(t,n,i,e){return Nn(t,n,i,e,!1)}i.createFromInputFallback=w("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var bn=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=pn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),kn=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=pn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Tn(t,n){var i,r;if(1===n.length&&e(n[0])&&(n=n[0]),!n.length)return pn();for(i=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][t](i)||(i=n[r]);return i}var _n=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Hn(t){var n=Z(t),i=n.year||0,e=n.quarter||0,r=n.month||0,u=n.week||n.isoWeek||0,o=n.day||0,h=n.hour||0,a=n.minute||0,f=n.second||0,d=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=_n.length;for(n in t)if(s(t,n)&&(-1===vt.call(_n,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[_n[i]]){if(e)return!1;parseFloat(t[_n[i]])!==P(t[_n[i]])&&(e=!0)}return!0}(n),this._milliseconds=+d+1e3*f+6e4*a+1e3*h*60*60,this._days=+o+7*u,this._months=+r+3*e+12*i,this._data={},this._locale=on(),this._bubble()}function Gn(t){return t instanceof Hn}function Wn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function En(t,n){F(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+H(~~(t/60),2)+n+H(~~t%60,2)}))}En("Z",":"),En("ZZ",""),ct("Z",ft),ct("ZZ",ft),Mt(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=Fn(ft,t)}));var xn=/([\+\-]|\d\d)/gi;function Fn(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(xn)||["-",0,0])[1]+P(i[2]))?0:"+"===i[0]?e:-e}function An(t,n){var e,r;return n._isUTC?(e=n.clone(),r=(g(t)||a(t)?t.valueOf():pn(t).valueOf())-e.valueOf(),e._d.setTime(e._d.valueOf()+r),i.updateOffset(e,!1),e):pn(t).local()}function On(t){return-Math.round(t._d.getTimezoneOffset())}function Ln(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var jn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Rn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Zn(t,n){var i,e,r,u,o,a,f=t,d=null;return Gn(t)?f={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(f={},n?f[n]=+t:f.milliseconds=+t):(d=jn.exec(t))?(i="-"===d[1]?-1:1,f={y:0,d:P(d[2])*i,h:P(d[3])*i,m:P(d[4])*i,s:P(d[5])*i,ms:P(Wn(1e3*d[6]))*i}):(d=Rn.exec(t))?f={y:In(d[2],i="-"===d[1]?-1:1),M:In(d[3],i),w:In(d[4],i),d:In(d[5],i),h:In(d[6],i),m:In(d[7],i),s:In(d[8],i)}:null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(u=pn(f.from),o=pn(f.to),r=u.isValid()&&o.isValid()?(o=An(o,u),u.isBefore(o)?a=Cn(u,o):((a=Cn(o,u)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(f={}).ms=r.milliseconds,f.M=r.months),e=new Hn(f),Gn(t)&&s(t,"_locale")&&(e._locale=t._locale),Gn(t)&&s(t,"_isValid")&&(e._isValid=t._isValid),e}function In(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function Cn(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function $n(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(b(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),Un(this,Zn(i,e),t),this}}function Un(t,n,e,r){var s=n._milliseconds,u=Wn(n._days),o=Wn(n._months);t.isValid()&&(r=null==r||r,o&&Tt(t,q(t,"Month")+o*e),u&&J(t,"Date",q(t,"Date")+u*e),s&&t._d.setTime(t._d.valueOf()+s*e),r&&i.updateOffset(t,u||o))}Zn.fn=Hn.prototype,Zn.invalid=function(){return Zn(NaN)};var Pn=$n(1,"add"),zn=$n(-1,"subtract");function qn(t){return"string"==typeof t||t instanceof String}function Jn(t){return g(t)||a(t)||qn(t)||h(t)||function(t){var n=e(t),i=!1;return n&&(i=0===t.filter((function(n){return!h(n)&&qn(t)})).length),n&&i}(t)||function(t){var n,i=r(t)&&!u(t),e=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],h=o.length;for(n=0;n<h;n+=1)e=e||s(t,o[n]);return i&&e}(t)||null==t}function Qn(t){var n,i=r(t)&&!u(t),e=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<o.length;n+=1)e=e||s(t,o[n]);return i&&e}function Bn(t,n){if(t.date()<n.date())return-Bn(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function Xn(t){var n;return void 0===t?this._locale._abbr:(null!=(n=on(t))&&(this._locale=n),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kn=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function Vn(){return this._locale}function ti(t,n){return(t%n+n)%n}function ni(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-126227808e5:new Date(t,n,i).valueOf()}function ii(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-126227808e5:Date.UTC(t,n,i)}function ei(t,n){return n.erasAbbrRegex(t)}function ri(){var t,n,i=[],e=[],r=[],s=[],u=this.eras();for(t=0,n=u.length;t<n;++t)e.push(mt(u[t].name)),i.push(mt(u[t].abbr)),r.push(mt(u[t].narrow)),s.push(mt(u[t].name)),s.push(mt(u[t].abbr)),s.push(mt(u[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function si(t,n){F(0,[t,t.length],0,n)}function ui(t,n,i,e,r){var s;return null==t?Ot(this,e,r).year:(n>(s=Lt(t,e,r))&&(n=s),oi.call(this,t,n,i,e,r))}function oi(t,n,i,e,r){var s=At(t,n,i,e,r),u=xt(s.year,0,s.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),ct("N",ei),ct("NN",ei),ct("NNN",ei),ct("NNNN",(function(t,n){return n.erasNameRegex(t)})),ct("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),Mt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?l(i).era=r:l(i).invalidEra=t})),ct("y",ot),ct("yy",ot),ct("yyy",ot),ct("yyyy",ot),ct("yo",(function(t,n){return n._eraYearOrdinalRegex||ot})),Mt(["y","yy","yyy","yyyy"],0),Mt(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[0]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),C("weekYear",1),C("isoWeekYear",1),ct("G",ht),ct("g",ht),ct("GG",nt,X),ct("gg",nt,X),ct("GGGG",st,V),ct("gggg",st,V),ct("GGGGG",ut,tt),ct("ggggg",ut,tt),yt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=P(t)})),yt(["gg","GG"],(function(t,n,e,r){n[r]=i.parseTwoDigitYear(t)})),F("Q",0,"Qo","quarter"),j("quarter","Q"),C("quarter",7),ct("Q",B),Mt("Q",(function(t,n){n[1]=3*(P(t)-1)})),F("D",["DD",2],"Do","date"),j("date","D"),C("date",9),ct("D",nt),ct("DD",nt,X),ct("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),Mt(["D","DD"],2),Mt("Do",(function(t,n){n[2]=P(t.match(nt)[0])}));var hi=z("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),C("dayOfYear",4),ct("DDD",rt),ct("DDDD",K),Mt(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=P(t)})),F("m",["mm",2],0,"minute"),j("minute","m"),C("minute",14),ct("m",nt),ct("mm",nt,X),Mt(["m","mm"],4);var ai=z("Minutes",!1);F("s",["ss",2],0,"second"),j("second","s"),C("second",15),ct("s",nt),ct("ss",nt,X),Mt(["s","ss"],5);var fi,di,ci=z("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),j("millisecond","ms"),C("millisecond",16),ct("S",rt,B),ct("SS",rt,X),ct("SSS",rt,K),fi="SSSS";fi.length<=9;fi+="S")ct(fi,ot);function li(t,n){n[6]=P(1e3*("0."+t))}for(fi="S";fi.length<=9;fi+="S")Mt(fi,li);di=z("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var mi=D.prototype;function vi(t){return t}mi.add=Pn,mi.calendar=function(t,n){1===arguments.length&&(arguments[0]?Jn(arguments[0])?(t=arguments[0],n=void 0):Qn(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var e=t||pn(),r=An(e,this).startOf("day"),s=i.calendarFormat(this,r)||"sameElse",u=n&&(k(n[s])?n[s].call(this,e):n[s]);return this.format(u||this.localeData().calendar(s,this,pn(e)))},mi.clone=function(){return new D(this)},mi.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=An(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=R(n)){case"year":s=Bn(this,e)/12;break;case"month":s=Bn(this,e);break;case"quarter":s=Bn(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:U(s)},mi.endOf=function(t){var n,e;if(void 0===(t=R(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?ii:ni,t){case"year":n=e(this.year()+1,0,1)-1;break;case"quarter":n=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=e(this.year(),this.month()+1,1)-1;break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-ti(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-ti(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-ti(n,1e3)-1}return this._d.setTime(n),i.updateOffset(this,!0),this},mi.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var n=A(this,t);return this.localeData().postformat(n)},mi.from=function(t,n){return this.isValid()&&(g(t)&&t.isValid()||pn(t).isValid())?Zn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},mi.fromNow=function(t){return this.from(pn(),t)},mi.to=function(t,n){return this.isValid()&&(g(t)&&t.isValid()||pn(t).isValid())?Zn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},mi.toNow=function(t){return this.to(pn(),t)},mi.get=function(t){return k(this[t=R(t)])?this[t]():this},mi.invalidAt=function(){return l(this).overflow},mi.isAfter=function(t,n){var i=g(t)?t:pn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=R(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},mi.isBefore=function(t,n){var i=g(t)?t:pn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=R(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},mi.isBetween=function(t,n,i,e){var r=g(t)?t:pn(t),s=g(n)?n:pn(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i))},mi.isSame=function(t,n){var i,e=g(t)?t:pn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=R(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},mi.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},mi.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},mi.isValid=function(){return m(this)},mi.lang=Kn,mi.locale=Xn,mi.localeData=Vn,mi.max=kn,mi.min=bn,mi.parsingFlags=function(){return d({},l(this))},mi.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)s(t,n)&&i.push({unit:n,priority:I[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=Z(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(k(this[t=R(t)]))return this[t](n);return this},mi.startOf=function(t){var n,e;if(void 0===(t=R(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?ii:ni,t){case"year":n=e(this.year(),0,1);break;case"quarter":n=e(this.year(),this.month()-this.month()%3,1);break;case"month":n=e(this.year(),this.month(),1);break;case"week":n=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=e(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=ti(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=ti(n,6e4);break;case"second":n=this._d.valueOf(),n-=ti(n,1e3)}return this._d.setTime(n),i.updateOffset(this,!0),this},mi.subtract=zn,mi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mi.toDate=function(){return new Date(this.valueOf())},mi.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?A(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",A(i,"Z")):A(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i="moment",e="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+i+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(mi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mi.toJSON=function(){return this.isValid()?this.toISOString():null},mi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mi.unix=function(){return Math.floor(this.valueOf()/1e3)},mi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mi.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},mi.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},mi.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},mi.eraYear=function(){var t,n,e,r,s=this.localeData().eras();for(t=0,n=s.length;t<n;++t)if(e=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-i(s[t].since).year())*e+s[t].offset;return this.year()},mi.year=Wt,mi.isLeapYear=function(){return $(this.year())},mi.weekYear=function(t){return ui.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mi.isoWeekYear=function(t){return ui.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mi.quarter=mi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mi.month=_t,mi.daysInMonth=function(){return gt(this.year(),this.month())},mi.week=mi.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},mi.isoWeek=mi.isoWeeks=function(t){var n=Ot(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},mi.weeksInYear=function(){var t=this.localeData()._week;return Lt(this.year(),t.dow,t.doy)},mi.weeksInWeekYear=function(){var t=this.localeData()._week;return Lt(this.weekYear(),t.dow,t.doy)},mi.isoWeeksInYear=function(){return Lt(this.year(),1,4)},mi.isoWeeksInISOWeekYear=function(){return Lt(this.isoWeekYear(),1,4)},mi.date=hi,mi.day=mi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},mi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},mi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},mi.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},mi.hour=mi.hours=Xt,mi.minute=mi.minutes=ai,mi.second=mi.seconds=ci,mi.millisecond=mi.milliseconds=di,mi.utcOffset=function(t,n,e){var r,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Fn(ft,t)))return this}else Math.abs(t)<16&&!e&&(t*=60);return!this._isUTC&&n&&(r=On(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==t&&(!n||this._changeInProgress?Un(this,Zn(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:On(this)},mi.utc=function(t){return this.utcOffset(0,t)},mi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(On(this),"m")),this},mi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Fn(at,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?pn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mi.isLocal=function(){return!!this.isValid()&&!this._isUTC},mi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mi.isUtc=Ln,mi.isUTC=Ln,mi.zoneAbbr=function(){return this._isUTC?"UTC":""},mi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mi.dates=w("dates accessor is deprecated. Use date instead.",hi),mi.months=w("months accessor is deprecated. Use month instead",_t),mi.years=w("years accessor is deprecated. Use year instead",Wt),mi.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),mi.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,n={};return y(n,this),(n=wn(n))._a?(t=n._isUTC?c(n._a):pn(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var i,e=Math.min(t.length,n.length),r=Math.abs(t.length-n.length),s=0;for(i=0;i<e;i++)P(t[i])!==P(n[i])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Yi=_.prototype;function Mi(t,n,i,e){var r=on(),s=c().set(e,n);return r[i](s,t)}function yi(t,n,i){if(h(t)&&(n=t,t=void 0),t=t||"",null!=n)return Mi(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Mi(t,e,i,"month");return r}function Di(t,n,i,e){"boolean"==typeof t?(h(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,h(n)&&(i=n,n=void 0),n=n||"");var r,s=on(),u=t?s._week.dow:0,o=[];if(null!=i)return Mi(n,(i+u)%7,e,"day");for(r=0;r<7;r++)o[r]=Mi(n,(r+u)%7,e,"day");return o}Yi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return k(e)?e.call(n,i):e},Yi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(G).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Yi.invalidDate=function(){return this._invalidDate},Yi.ordinal=function(t){return this._ordinal.replace("%d",t)},Yi.preparse=vi,Yi.postformat=vi,Yi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return k(r)?r(t,n,i,e):r.replace(/%d/i,t)},Yi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return k(i)?i(n):i.replace(/%s/i,n)},Yi.set=function(t){var n,i;for(i in t)s(t,i)&&(k(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yi.eras=function(){var t,n,e,r=this._eras||on("en")._eras;for(t=0,n=r.length;t<n;++t){switch(typeof r[t].since){case"string":e=i(r[t].since).startOf("day"),r[t].since=e.valueOf()}switch(typeof r[t].until){case"undefined":r[t].until=1/0;break;case"string":e=i(r[t].until).startOf("day").valueOf(),r[t].until=e.valueOf()}}return r},Yi.erasParse=function(t,n,i){var e,r,s,u,o,h=this.eras();for(t=t.toUpperCase(),e=0,r=h.length;e<r;++e)if(s=h[e].name.toUpperCase(),u=h[e].abbr.toUpperCase(),o=h[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(u===t)return h[e];break;case"NNNN":if(s===t)return h[e];break;case"NNNNN":if(o===t)return h[e]}else if([s,u,o].indexOf(t)>=0)return h[e]},Yi.erasConvertYear=function(t,n){var e=t.since<=t.until?1:-1;return void 0===n?i(t.since).year():i(t.since).year()+(n-t.offset)*e},Yi.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||ri.call(this),t?this._erasAbbrRegex:this._erasRegex},Yi.erasNameRegex=function(t){return s(this,"_erasNameRegex")||ri.call(this),t?this._erasNameRegex:this._erasRegex},Yi.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||ri.call(this),t?this._erasNarrowRegex:this._erasRegex},Yi.months=function(t,n){return t?e(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Nt).test(n)?"format":"standalone"][t.month()]:e(this._months)?this._months:this._months.standalone},Yi.monthsShort=function(t,n){return t?e(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Nt.test(n)?"format":"standalone"][t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return kt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=c([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},Yi.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=bt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Yi.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||Ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=pt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Yi.week=function(t){return Ot(t,this._week.dow,this._week.doy).week},Yi.firstDayOfYear=function(){return this._week.doy},Yi.firstDayOfWeek=function(){return this._week.dow},Yi.weekdays=function(t,n){var i=e(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?jt(i,this._week.dow):t?i[t.day()]:i},Yi.weekdaysMin=function(t){return!0===t?jt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Yi.weekdaysShort=function(t){return!0===t?jt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Yi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return Pt.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=c([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},Yi.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Yi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ut),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Yi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},sn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===P(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),i.lang=w("moment.lang is deprecated. Use moment.locale instead.",sn),i.langData=w("moment.langData is deprecated. Use moment.localeData instead.",on);var gi=Math.abs;function Si(t,n,i,e){var r=Zn(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function wi(t){return t<0?Math.floor(t):Math.ceil(t)}function Ni(t){return 4800*t/146097}function pi(t){return 146097*t/4800}function bi(t){return function(){return this.as(t)}}var ki=bi("ms"),Ti=bi("s"),_i=bi("m"),Hi=bi("h"),Gi=bi("d"),Wi=bi("w"),Ei=bi("M"),xi=bi("Q"),Fi=bi("y");function Ai(t){return function(){return this.isValid()?this._data[t]:NaN}}var Oi=Ai("milliseconds"),Li=Ai("seconds"),ji=Ai("minutes"),Ri=Ai("hours"),Zi=Ai("days"),Ii=Ai("months"),Ci=Ai("years"),$i=Math.round,Ui={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Pi(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var zi=Math.abs;function qi(t){return(t>0)-(t<0)||+t}function Ji(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,u,o,h=zi(this._milliseconds)/1e3,a=zi(this._days),f=zi(this._months),d=this.asSeconds();return d?(t=U(h/60),n=U(t/60),h%=60,t%=60,i=U(f/12),f%=12,e=h?h.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=qi(this._months)!==qi(d)?"-":"",u=qi(this._days)!==qi(d)?"-":"",o=qi(this._milliseconds)!==qi(d)?"-":"",r+"P"+(i?s+i+"Y":"")+(f?s+f+"M":"")+(a?u+a+"D":"")+(n||t||h?"T":"")+(n?o+n+"H":"")+(t?o+t+"M":"")+(h?o+e+"S":"")):"P0D"}var Qi=Hn.prototype;Qi.isValid=function(){return this._isValid},Qi.abs=function(){var t=this._data;return this._milliseconds=gi(this._milliseconds),this._days=gi(this._days),this._months=gi(this._months),t.milliseconds=gi(t.milliseconds),t.seconds=gi(t.seconds),t.minutes=gi(t.minutes),t.hours=gi(t.hours),t.months=gi(t.months),t.years=gi(t.years),this},Qi.add=function(t,n){return Si(this,t,n,1)},Qi.subtract=function(t,n){return Si(this,t,n,-1)},Qi.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=R(t))||"quarter"===t||"year"===t)switch(i=this._months+Ni(n=this._days+e/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(pi(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},Qi.asMilliseconds=ki,Qi.asSeconds=Ti,Qi.asMinutes=_i,Qi.asHours=Hi,Qi.asDays=Gi,Qi.asWeeks=Wi,Qi.asMonths=Ei,Qi.asQuarters=xi,Qi.asYears=Fi,Qi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*P(this._months/12):NaN},Qi._bubble=function(){var t,n,i,e,r,s=this._milliseconds,u=this._days,o=this._months,h=this._data;return s>=0&&u>=0&&o>=0||s<=0&&u<=0&&o<=0||(s+=864e5*wi(pi(o)+u),u=0,o=0),h.milliseconds=s%1e3,t=U(s/1e3),h.seconds=t%60,n=U(t/60),h.minutes=n%60,i=U(n/60),h.hours=i%24,u+=U(i/24),o+=r=U(Ni(u)),u-=wi(pi(r)),e=U(o/12),o%=12,h.days=u,h.months=o,h.years=e,this},Qi.clone=function(){return Zn(this)},Qi.get=function(t){return t=R(t),this.isValid()?this[t+"s"]():NaN},Qi.milliseconds=Oi,Qi.seconds=Li,Qi.minutes=ji,Qi.hours=Ri,Qi.days=Zi,Qi.weeks=function(){return U(this.days()/7)},Qi.months=Ii,Qi.years=Ci,Qi.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=Ui;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},Ui,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=Zn(t).abs(),s=$i(r.as("s")),u=$i(r.as("m")),o=$i(r.as("h")),h=$i(r.as("d")),a=$i(r.as("M")),f=$i(r.as("w")),d=$i(r.as("y")),c=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||u<=1&&["m"]||u<i.m&&["mm",u]||o<=1&&["h"]||o<i.h&&["hh",o]||h<=1&&["d"]||h<i.d&&["dd",h];return null!=i.w&&(c=c||f<=1&&["w"]||f<i.w&&["ww",f]),(c=c||a<=1&&["M"]||a<i.M&&["MM",a]||d<=1&&["y"]||["yy",d])[2]=n,c[3]=+t>0,c[4]=e,Pi.apply(null,c)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},Qi.toISOString=Ji,Qi.toString=Ji,Qi.toJSON=Ji,Qi.locale=Xn,Qi.localeData=Vn,Qi.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ji),Qi.lang=Kn,F("X",0,0,"unix"),F("x",0,0,"valueOf"),ct("x",ht),ct("X",/[+-]?\d+(\.\d{1,3})?/),Mt("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),Mt("x",(function(t,n,i){i._d=new Date(P(t))})),
|
7
|
+
//! moment.js
|
8
|
+
i.version="2.29.4",t=pn,i.fn=mi,i.min=function(){var t=[].slice.call(arguments,0);return Tn("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return Tn("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=c,i.unix=function(t){return pn(1e3*t)},i.months=function(t,n){return yi(t,n,"months")},i.isDate=a,i.locale=sn,i.invalid=v,i.duration=Zn,i.isMoment=g,i.weekdays=function(t,n,i){return Di(t,n,i,"weekdays")},i.parseZone=function(){return pn.apply(null,arguments).parseZone()},i.localeData=on,i.isDuration=Gn,i.monthsShort=function(t,n){return yi(t,n,"monthsShort")},i.weekdaysMin=function(t,n,i){return Di(t,n,i,"weekdaysMin")},i.defineLocale=un,i.updateLocale=function(t,n){if(null!=n){var i,e,r=Kt;null!=Vt[t]&&null!=Vt[t].parentLocale?Vt[t].set(T(Vt[t]._config,n)):(null!=(e=rn(t))&&(r=e._config),n=T(r,n),null==e&&(n.abbr=t),(i=new _(n)).parentLocale=Vt[t],Vt[t]=i),sn(t)}else null!=Vt[t]&&(null!=Vt[t].parentLocale?(Vt[t]=Vt[t].parentLocale,t===sn()&&sn(t)):null!=Vt[t]&&delete Vt[t]);return Vt[t]},i.locales=function(){return N(Vt)},i.weekdaysShort=function(t,n,i){return Di(t,n,i,"weekdaysShort")},i.normalizeUnits=R,i.relativeTimeRounding=function(t){return void 0===t?$i:"function"==typeof t&&($i=t,!0)},i.relativeTimeThreshold=function(t,n){return void 0!==Ui[t]&&(void 0===n?Ui[t]:(Ui[t]=n,"s"===t&&(Ui.ss=n-1),!0))},i.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=mi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Bi=(t,n=",")=>null!=t?`${t}`.replace(/\B(?=(\d{3})+(?!\d))/g,n):"",Xi=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Ki=t=>{if(0===(null==t?void 0:t.length))return"";let n,e,r=99999999999;const s=new Date(Date.now());return t.forEach(((u,o)=>{const h=new Date(u.schedules[0].startTime),a=new Date(u.schedules[0].endTime);i(a).diff(s)<r&&(r=i(a).diff(s),e=o),i(s).isAfter(h)&&i(s).isBefore(a)&&(n=t[e].name)})),n},Vi=t=>{var n,i;return{winner:t.Winner,color:t.Color,location:{column:null===(n=t.Location)||void 0===n?void 0:n.Column,row:null===(i=t.Location)||void 0===i?void 0:i.Row},ties:0|t.Ties,score:t.Score,playerPair:t.PlayerPair,bankerPair:t.BankerPair}};export{Ki as a,Vi as c,i as h,Xi as i,Bi as n}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,h as t,H as e}from"./p-46dbb1cb.js";import{D as a}from"./p-2d5f59fe.js";import{t as s}from"./p-1e63a1ab.js";const l=class{constructor(t){i(this,t)}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,null,t("casino-game-thumbnail-extrainfo",{ref:i=>this.infoWrapperRef=i,language:this.language},this.gameDetails&&this.gameDetails.isOpen&&t("div",{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:'<svg xmlns="http://www.w3.org/2000/svg" width="13" height="14" viewBox="0 0 13 14">\n <path\n d="M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"/>\n <path\n d="M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"/>\n</svg>\n'}))))))}};l.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(--emfe-w-color-white, #FFFFFF)}.ClosedSeat svg{fill:var(--emfe-w-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(--emfe-w-color-white, #FFFFFF)}.FullTable.ClosedSeat{margin-right:-3px}";export{l as casino_extrainfo_blackjack}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as s,H as o}from"./p-46dbb1cb.js";import{R as e,W as i}from"./p-2d5f59fe.js";const a=class{constructor(s){t(this,s),this.language="en"}async onGameLoaded(t){var s;this.gameInfo=Object.assign({},t),this.gameDetails=this.gameInfo.details?Object.assign({},this.gameInfo.details):null,null===(s=this.infoWrapperRef)||void 0===s||s.onGameLoaded(t)}async onGameDetailUpdated(t){this.gameInfo.details=this.gameDetails=t,this.gameInfo=Object.assign({},this.gameInfo),this.gameDetails=Object.assign({},this.gameDetails)}getRouletteNumberColor(t){return e[t]}render(){var t,e,a,l;const r=!!this.gameDetails&&this.gameDetails.category.toLowerCase()===i.doubleballroulette;let c=(r?null===(t=this.gameDetails)||void 0===t?void 0:t.currentDoubleBallRouletteNumbers:null===(e=this.gameDetails)||void 0===e?void 0:e.currentRouletteNumbers)||[];return s(o,null,s("casino-game-thumbnail-extrainfo",{ref:t=>this.infoWrapperRef=t,language:this.language},s("div",{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(((t,o)=>!0===r?s("div",{class:"Double",part:"Double"},s("span",{id:`s${o}0`,class:`LatestResult ${0==o?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(t[0])}`}," ",t[0]),s("span",{id:`s${o}1`,class:`LatestResult ${0==o?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(t[1])}`}," ",t[1])):s("span",{id:`s${o}`,class:`LatestResult ${0==o?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(t)}`}," ",t))))))}};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(--emfe-w-color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emfe-w-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}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as i,H as s}from"./p-46dbb1cb.js";import{b as n}from"./p-2d5f59fe.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=[]}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,null,i("casino-game-thumbnail-extrainfo",{ref:t=>this.infoWrapperRef=t,language:this.language},(null===(t=this.gameDetails)||void 0===t?void 0:t.isOpen)&&this.showRoundBoard&&i("div",{slot:"category-details",class:"LiveIcons",part:"LiveIcons"},i("div",{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}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import{r as e,c as t,h as n}from"./p-46dbb1cb.js";import{c as i,i as a}from"./p-6a6b2a78.js";import{G as o,a as r,W as s}from"./p-2d5f59fe.js";import{t as l}from"./p-1e63a1ab.js";var h,c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=(function(e,t){
|
2
|
+
/** @license
|
3
|
+
* eventsource.js
|
4
|
+
* Available under MIT License (MIT)
|
5
|
+
* https://github.com/Yaffle/EventSource/
|
6
|
+
*/
|
7
|
+
!function(n){var i=n.setTimeout,a=n.clearTimeout,o=n.XMLHttpRequest,r=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,h=n.document,c=n.Promise,d=n.fetch,m=n.Response,u=n.TextDecoder,f=n.TextEncoder,p=n.AbortController;if("undefined"==typeof window||void 0===h||"readyState"in h||null!=h.body||(h.readyState="loading",window.addEventListener("load",(function(){h.readyState="complete"}),!1)),null==o&&null!=s&&(o=function(){return new s("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==p){var v=d;d=function(e,t){var n=t.signal;return v(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},p=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function g(){this.bitsNeeded=0,this.codePoint=0}g.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var i=65533,a="",o=this.bitsNeeded,r=this.codePoint,s=0;s<e.length;s+=1){var l=e[s];0!==o&&(l<128||l>191||!t(r<<6|63&l,o-6,n(o,r)))&&(o=0,r=i,a+=String.fromCharCode(r)),0===o?(l>=0&&l<=127?(o=0,r=l):l>=192&&l<=223?(o=6,r=31&l):l>=224&&l<=239?(o=12,r=15&l):l>=240&&l<=247?(o=18,r=7&l):(o=0,r=i),0===o||t(r,o,n(o,r))||(o=0,r=i)):(o-=6,r=r<<6|63&l),0===o&&(r<=65535?a+=String.fromCharCode(r):(a+=String.fromCharCode(55296+(r-65535-1>>10)),a+=String.fromCharCode(56320+(r-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=r,a},null!=u&&null!=f&&function(){try{return"test"===(new u).decode((new f).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(u=g);var b=function(){};function w(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=b,this.onload=b,this.onerror=b,this.onreadystatechange=b,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=b}function G(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function y(e){for(var t=Object.create(null),n=e.split("\r\n"),i=0;i<n.length;i+=1){var a=n[i].split(": "),o=a.shift(),r=a.join(": ");t[G(o)]=r}this._map=t}function x(){}function F(e){this._headers=e}function I(){}function C(){this._listeners=Object.create(null)}function L(e){i((function(){throw e}),0)}function k(e){this.type=e,this.target=void 0}function T(e,t){k.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function B(e,t){k.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function S(e,t){k.call(this,e),this.error=t.error}w.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,s=1,l=0;this._abort=function(e){0!==n._sendTimeout&&(a(n._sendTimeout),n._sendTimeout=0),1!==s&&2!==s&&3!==s||(s=4,r.onload=b,r.onerror=b,r.onabort=b,r.onprogress=b,r.onreadystatechange=b,r.abort(),0!==l&&(a(l),l=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),s=0};var h=function(){if(1===s){var e=0,t="",i=void 0;if("contentType"in r)e=200,t="OK",i=r.contentType;else try{e=r.status,t=r.statusText,i=r.getResponseHeader("Content-Type")}catch(n){e=0,t="",i=void 0}0!==e&&(s=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=i,n.onreadystatechange())}},c=function(){if(h(),2===s||3===s){s=3;var e="";try{e=r.responseText}catch(e){}n.readyState=3,n.responseText=e,n.onprogress()}},d=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:b}),c(),1===s||2===s||3===s){if(s=4,0!==l&&(a(l),l=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},m=function(){l=i((function(){m()}),500),3===r.readyState&&c()};"onload"in r&&(r.onload=function(e){d("load",e)}),"onerror"in r&&(r.onerror=function(e){d("error",e)}),"onabort"in r&&(r.onabort=function(e){d("abort",e)}),"onprogress"in r&&(r.onprogress=c),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){null!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||d(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||c():2===r.readyState&&h())}(e)}),!("contentType"in r)&&"ontimeout"in o.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(l=i((function(){m()}),0))},w.prototype.abort=function(){this._abort(!1)},w.prototype.getResponseHeader=function(){return this._contentType},w.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},w.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},w.prototype.send=function(){if("ontimeout"in o.prototype&&("sendAsBinary"in o.prototype||"mozAnon"in o.prototype)||null==h||null==h.readyState||"complete"===h.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=i((function(){t._sendTimeout=0,t.send()}),4)}},y.prototype.get=function(e){return this._map[G(e)]},null!=o&&null==o.HEADERS_RECEIVED&&(o.HEADERS_RECEIVED=2),x.prototype.open=function(e,t,n,i,a,r,s){e.open("GET",a);var l=0;for(var h in e.onprogress=function(){var t=e.responseText.slice(l);l+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),i(new Error("NetworkError"))},e.onload=function(){i(null)},e.onabort=function(){i(null)},e.onreadystatechange=function(){if(e.readyState===o.HEADERS_RECEIVED){var n=e.status,i=e.statusText,a=e.getResponseHeader("Content-Type"),r=e.getAllResponseHeaders();t(n,i,a,new y(r))}},e.withCredentials=r,s)Object.prototype.hasOwnProperty.call(s,h)&&e.setRequestHeader(h,s[h]);return e.send(),e},F.prototype.get=function(e){return this._headers.get(e)},I.prototype.open=function(e,t,n,i,a,o,r){var s=null,l=new p,h=l.signal,m=new u;return d(a,{headers:r,credentials:o?"include":"same-origin",signal:h,cache:"no-store"}).then((function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new F(e.headers)),new c((function(e,t){var i=function(){s.read().then((function(t){if(t.done)e(void 0);else{var a=m.decode(t.value,{stream:!0});n(a),i()}})).catch((function(e){t(e)}))};i()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){i(e)})),{abort:function(){null!=s&&s.cancel(),l.abort()}}},C.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,i=0;i<n;i+=1){var a=t[i];try{"function"==typeof a.handleEvent?a.handleEvent(e):a.call(this,e)}catch(e){L(e)}}},C.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,i=n[e];null==i&&(n[e]=i=[]);for(var a=!1,o=0;o<i.length;o+=1)i[o]===t&&(a=!0);a||i.push(t)},C.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,i=n[e];if(null!=i){for(var a=[],o=0;o<i.length;o+=1)i[o]!==t&&a.push(i[o]);0===a.length?delete n[e]:n[e]=a}},T.prototype=Object.create(k.prototype),B.prototype=Object.create(k.prototype),S.prototype=Object.create(k.prototype);var D=/^text\/event\-stream(;.*)?$/i,O=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),j(n)},j=function(e){return Math.min(Math.max(e,1e3),18e6)},P=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){L(e)}};function R(e,t){C.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var s=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",h=j(1e3),c=O(n.heartbeatTimeout,45e3),d="",m=h,u=!1,f=0,p=n.headers||{},v=n.Transport,g=$&&null==v?void 0:new w(null!=v?new v:null!=o&&"withCredentials"in o.prototype||null==r?new o:new r),b=null!=v&&"string"!=typeof v?new v:null==g?new I:new x,G=void 0,y=0,F=-1,C="",L="",k="",R="",z=0,E=0,M=0,U=function(t,n,i,a){if(0===F)if(200===t&&null!=i&&D.test(i)){F=1,u=Date.now(),m=h,e.readyState=1;var o=new B("open",{status:t,statusText:n,headers:a});e.dispatchEvent(o),P(e,e.onopen,o)}else{var r="";200!==t?(n&&(n=n.replace(/\s+/g," ")),r="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):r="EventSource's response has a Content-Type specifying an unsupported type: "+(null==i?"-":i.replace(/\s+/g," "))+". Aborting the connection.",W(),o=new B("error",{status:t,statusText:n,headers:a}),e.dispatchEvent(o),P(e,e.onerror,o),console.error(r)}},H=function(t){if(1===F){for(var n=-1,o=0;o<t.length;o+=1)(l=t.charCodeAt(o))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=o);var r=(-1!==n?R:"")+t.slice(0,n+1);R=(-1===n?R:"")+t.slice(n+1),""!==t&&(u=Date.now(),f+=t.length);for(var s=0;s<r.length;s+=1){var l=r.charCodeAt(s);if(-1===z&&l==="\n".charCodeAt(0))z=0;else if(-1===z&&(z=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==z){1===z&&(M=s+1);var p=r.slice(E,M-1),v=r.slice(M+(M<s&&r.charCodeAt(M)===" ".charCodeAt(0)?1:0),s);"data"===p?(C+="\n",C+=v):"id"===p?L=v:"event"===p?k=v:"retry"===p?(h=O(v,h),m=h):"heartbeatTimeout"===p&&(c=O(v,c),0!==y&&(a(y),y=i((function(){A()}),c)))}if(0===z){if(""!==C){d=L,""===k&&(k="message");var g=new T(k,{data:C.slice(1),lastEventId:L});if(e.dispatchEvent(g),"open"===k?P(e,e.onopen,g):"message"===k?P(e,e.onmessage,g):"error"===k&&P(e,e.onerror,g),2===F)return}C="",k=""}z=l==="\r".charCodeAt(0)?-1:0}else 0===z&&(E=s,z=1),1===z?l===":".charCodeAt(0)&&(M=s+1,z=2):2===z&&(z=3)}}},N=function(t){if(1===F||0===F){F=-1,0!==y&&(a(y),y=0),y=i((function(){A()}),m),m=j(Math.min(16*h,2*m)),e.readyState=0;var n=new S("error",{error:t});e.dispatchEvent(n),P(e,e.onerror,n),null!=t&&console.error(t)}},W=function(){F=2,null!=G&&(G.abort(),G=void 0),0!==y&&(a(y),y=0),e.readyState=2},A=function(){if(y=0,-1===F){u=!1,f=0,y=i((function(){A()}),c),F=0,C="",k="",L=d,R="",E=0,M=0,z=0;var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==d){var a=t.indexOf("?");n=-1===a?t:t.slice(0,a+1)+t.slice(a+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(e,t){return t===l?"":e})),n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(d)}var o=e.withCredentials,r={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(r[h]=s[h]);try{G=b.open(g,U,H,N,n,o,r)}catch(e){throw W(),e}}else if(u||null==G){var m=Math.max((u||Date.now())+c-Date.now(),1);u=!1,y=i((function(){A()}),m)}else N(new Error("No activity within "+c+" milliseconds. "+(0===F?"No response received.":f+" chars received.")+" Reconnecting.")),null!=G&&(G.abort(),G=void 0)};e.url=t,e.readyState=0,e.withCredentials=s,e.headers=p,e._close=W,A()}(this,e,t)}var $=null!=d&&null!=m&&"body"in m.prototype;(R.prototype=Object.create(C.prototype)).CONNECTING=0,R.prototype.OPEN=1,R.prototype.CLOSED=2,R.prototype.close=function(){this._close()},R.CONNECTING=0,R.OPEN=1,R.CLOSED=2,R.prototype.withCredentials=void 0;var z,E=l;null==o||null!=l&&"withCredentials"in l.prototype||(E=R),void 0!==(z=function(e){e.EventSourcePolyfill=R,e.NativeEventSource=l,e.EventSource=E}(t))&&(e.exports=z)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:c:globalThis)}(h={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},h.exports),h.exports);const m=class{constructor(n){e(this,n),this.toggleFavoriteCasinoGameEvent=t(this,"toggleCasinoGameFavorite",7),this.language="en",this.clientStyling="",this.clientStylingUrl="",this.integratedGameframeMobile=!1,this.integratedGameframeDesktop=!1,this.loadDetails=!1,this.showRoundBoard=!1,this.gameCategory="",this.platform="PC",this.thumbnailLoaded=!1,this.containerClassWhenDetailChange="",this.isUserLoggedIn=!1,this.limitStylingAppends=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.stylingContainer.prepend(t)}),1)})).catch((e=>{console.error("error ",e)}))},this.getGameCategoryType=()=>this.isLiveCasino&&this.gameCategory&&this.getWidgetTypeByGameCategory(this.gameCategory)?`casino-extrainfo-${this.getWidgetTypeByGameCategory(this.gameCategory).toLowerCase()}`:"casino-normal-game-thumbnail",this.getGameContainerClass=()=>{let e="GameContainer ";return this.gameInfo&&this.gameInfo&&this.gameInfo.details&&(e+=" ListGame ",this.gameInfo.details.isOpen&&this.gameInfo.details.currentRouletteNumbers&&(e+=" GameBackdrop ")),e}}onSessionChanged(){this.isUserLoggedIn=!(!this.session||!this.userId)}onTableFullChanged(e,t){null!=t&&(this.containerClassWhenDetailChange=e&&!t?"PulsatingRedShadow":"PulsatingGreenShadow")}handleMouseOver(e){this.hover="mouseenter"===e.type}gameFavoritedHandler(e){this.gameInfo.isFavorite=e.detail[this.gameId],this.gameInfo=Object.assign({},this.gameInfo)}connectLiveHandler(){this.toggleConnect()}visibilityConnectHandler(){this.toggleVisibilityConnect()}gameDetailChangeHandler(e){var t,n;let a=JSON.parse(e.data);if(a.needReconnect&&this.liveLobbyConnection)return this.liveLobbyConnection.close(),this.liveLobbyConnection=null,void this.connectGameToLiveLobby();if(!a||a.InternalTableId!=this.gameId)return;let o=a.MessageType;switch(o){case"TableOpened":case"TableClosed":this.gameInfo.details.isOpen=a.Open;break;case"PlayersUpdated":this.gameInfo.details.numberOfPlayers=a.Players;break;case"RouletteResultsUpdated":this.gameInfo.details.currentRouletteNumbers=a.Results;break;case"DoubleBallRouletteResultsUpdated":this.gameInfo.details.currentDoubleBallRouletteNumbers=a.Results;break;case"SeatsUpdated":this.gameInfo.details.currentOccupiedSeats=a.Seats;break;case"DealerChanged":this.gameInfo.details.dealer=a.Dealer;break;case"BaccaratResultsUpdated":if(this.showRoundBoard){const e=a.Results;this.gameInfo.details.results=[],e.forEach((e=>{this.gameInfo.details.results.push(i(e))})),null===(t=this.extraInfoRef)||void 0===t||t.onBaccaratResultChanged(this.gameInfo.details.results)}}this.resetLiveProperties(),null===(n=this.extraInfoRef)||void 0===n||n.onGameDetailUpdated(this.gameInfo.details),window.postMessage({messageType:o,value:e.data})}messageHandler(e){e.data.type!==`AddFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!0),e.data.type!==`RemoveFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!1),"UserSessionID"===e.data.type&&(this.isUserLoggedIn=!0,this.session=e.data.session,this.userId=e.data.userID)}resetLiveProperties(){var e,t;const n=this.gameInfo.details;this.isBlackJack(this.gameCategory.toLowerCase())?this.isTableFull=n.totalSeats==(null===(e=n.currentOccupiedSeats)||void 0===e?void 0:e.length):this.isBaccarat(this.gameCategory.toLowerCase())&&(null===(t=n.baccaratResults)||void 0===t?void 0:t.length)>0&&(this.gameInfo.details.results=[],n.baccaratResults.forEach((e=>{this.gameInfo.details.results.push(i(e))})),delete n.baccaratResults)}isBlackJack(e){return e.toLowerCase()===o.BLACKJACK}isBaccarat(e){return e.toLowerCase()===o.BACCARAT}initCtrlProperties(){var e;this.isLiveCasino&&(null===(e=this.gameInfo)||void 0===e?void 0:e.details)&&this.resetLiveProperties(),this.gameInfo=Object.assign({},this.gameInfo),this.triggerExtraInfoLoad(),this.isLiveCasino&&"connect"===this.connectLive&&this.connectGameToLiveLobby()}parseGameResponse(e){1==e.length&&(this.gameInfo=e[0],this.isLiveCasino?this.gameInfo.details?this.parseGameDetailsResponse():this.loadGameDetailInfo():this.initCtrlProperties())}parseGameDetailsResponse(){this.initCtrlProperties()}connectGameToLiveLobby(){EventSource&&!this.liveLobbyConnection&&(this.liveLobbyConnection=new d.EventSourcePolyfill(`${this.endpoint}/v1/encoder/lobby/updates/${this.gameInfo.vendor.name}/${this.gameInfo.id}`),this.liveLobbyConnection.addEventListener("message",(e=>{this.gameDetailChangeHandler(e)})))}disconnectGameFromLiveLobby(){this.liveLobbyConnection&&(this.liveLobbyConnection.removeEventListener("message"),this.liveLobbyConnection.close(),this.liveLobbyConnection=void 0)}toggleConnect(){this.isLiveCasino&&("disconnect"===this.connectLive?this.disconnectGameFromLiveLobby():"connect"===this.connectLive&&this.connectGameToLiveLobby())}toggleVisibilityConnect(){this.isLiveCasino&&("disconnect"===this.visibilityConnect?this.disconnectGameFromLiveLobby():"connect"===this.visibilityConnect&&"connect"===this.connectLive&&this.connectGameToLiveLobby())}loadGameById(){fetch(`${this.endpoint}/v1/casino/games/${this.gameId}?expand=vendor&platform=${this.platform}&language=${this.language}`).then((e=>e.json())).then((e=>this.parseGameResponse(e))).catch((e=>{console.error(e)}))}loadGameInfoByLobbyEndpoint(){let e=new URL(`${this.livelobbyEndpoint.split("?")[0]}`);e.searchParams.append("expand","vendor"),e.searchParams.append("platform",this.platform),e.searchParams.append("language",this.language),fetch(e.toString()).then((e=>e.json())).then((e=>this.parseGameResponse(e))).catch((e=>console.error(e)))}loadGameDetailInfo(){let e=new URL(`${this.endpoint}/v1/lobby/tables/${this.gameId}`);e.searchParams.append("platform",this.platform),e.searchParams.append("language",this.language),fetch(e.toString()).then((e=>e.json())).then((e=>{(null==e?void 0:e.category)&&(this.gameInfo.details=e,this.parseGameDetailsResponse())})).catch((e=>{console.error(e),setTimeout((()=>this.loadGameDetailInfo()),1e3)}))}toggleFavoriteGame(e){let t="thumbnail";this.gameInfo.isFavorite?window.postMessage({type:"SetUnfavoredGame",gameId:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",gameId:e,triggerFactor:t},window.location.href),this.toggleFavoriteCasinoGameEvent.emit(e)}generateGameInfoByProps(){return{id:this.gameId,name:this.gameName,subVendor:this.subVendor,hasFunMode:this.hasFunMode,hasAnonymousFunMode:this.hasAnonymousFunMode,thumbnail:this.thumbnail,cellSize:this.cellSize,gameTag:this.gameTag,vendor:{href:"",name:this.gameVendor},isFavorite:this.isFavorite,isNew:this.isNew,type:this.type,liveCasinoCategory:this.gameCategory||""}}triggerExtraInfoLoad(){var e,t;this.extraInfoRef=this.extraInfoRef||(null===(e=this.extraInfoSlotRef)||void 0===e?void 0:e.querySelector(this.getGameCategoryType())),null===(t=this.extraInfoRef)||void 0===t||t.onGameLoaded(this.gameInfo),window.postMessage({type:"casinoGameLoaded",gameInfo:this.gameInfo})}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0),this.gameInfo&&this.triggerExtraInfoLoad()}componentDidLoad(){window.addEventListener("message",this.messageHandler)}componentWillLoad(){if(this.isLiveCasino=this.type==r.LIVE_CASINO,this.extraInfoWidget=this.getGameCategoryType(),this.isUserLoggedIn=!(!this.session||!this.userId),!this.isLiveCasino||!this.livelobbyEndpoint)return this.thumbnail?(this.gameInfo=this.generateGameInfoByProps(),void(this.isLiveCasino&&this.endpoint&&this.loadDetails&&this.gameId&&this.loadGameDetailInfo())):void(this.gameId&&this.endpoint&&this.loadGameById());this.loadGameInfoByLobbyEndpoint()}disconnectedCallback(){this.liveLobbyConnection&&this.liveLobbyConnection.removeEventListener("message",this.gameDetailChangeHandler),window.removeEventListener("message",this.messageHandler)}getWidgetTypeByGameCategory(e){return s[e.toLowerCase()]}getGameOverlayProps(){var e,t;return{gameName:this.gameInfo.name,gameId:this.gameInfo.gameId,gameVendor:this.gameVendor||(null===(t=null===(e=this.gameInfo)||void 0===e?void 0:e.vendor)||void 0===t?void 0:t.name),hasFunMode:this.gameInfo.hasFunMode,language:this.language,integratedGameframeMobile:this.integratedGameframeMobile,integratedGameframeDesktop:this.integratedGameframeDesktop,gamepageModalurl:this.gamepageModalurl}}render(){var e,t;if(!this.gameInfo)return n("div",{class:"GameInnerContainer",part:"GameInnerContainer",slot:"Game-Inner"},n("img",{src:this.thumbnail,alt:"",loading:"lazy",part:"GameContainer",class:"GameContainer",onLoad:()=>this.thumbnailLoaded=!0}));const i=this.getGameOverlayProps(),o=(null===(e=this.gameInfo)||void 0===e?void 0:e.thumbnail)||(null===(t=this.gameInfo)||void 0===t?void 0:t.defaultThumbnail),r=this.getGameContainerClass(),s=`GameBg ${this.cellSize?"GameBg-"+this.cellSize:""}\n ${this.hover?" GameContainerHovered":""} ${this.thumbnailLoaded?" Loaded":""}`;return n("div",{class:`${r} ${this.containerClassWhenDetailChange}`,part:`${r} ${this.containerClassWhenDetailChange}`,ref:e=>this.stylingContainer=e,"client-styling":this.clientStyling,"client-styling-url-content":this.clientStylingUrl},n("div",{class:"GameInnerContainer "+(this.hover?"Hovered":""),part:"GameInnerContainer "+(this.hover?"Hovered":"")},n("img",{src:o,alt:"Game Thumbnail ",loading:"lazy",part:s,class:s,onLoad:()=>this.thumbnailLoaded=!0}),this.isUserLoggedIn&&n("div",{class:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),part:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),onClick:()=>this.toggleFavoriteGame(this.gameId)},this.gameInfo.isFavorite?n("slot",{name:"fav-icon"},n("span",{class:"FavoredIcon",part:"FavoredIcon",innerHTML:'<svg\n version="1.1"\n xmlns="http://www.w3.org/2000/svg"\n viewBox="0 0 19.481 19.481"\n enable-background="new 0 0 19.481 19.481"\n>\n <path\n d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>\n</svg>\n'})):n("slot",{name:"UnFavIcon"},!a(window.navigator.userAgent)&&n("span",{class:"UnfavoredIcon",part:"UnfavoredIcon",innerHTML:'<svg\n version="1.1"\n class="UnfavoredIcon"\n xmlns="http://www.w3.org/2000/svg"\n x="20px"\n y="20px"\n viewBox="0 0 512.001 512.001"\n>\n <path\n d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"\n />\n</svg>\n'}))),n("slot",{name:"game-overlay"},n("casino-game-thumbnail-overlay",Object.assign({language:this.language},i))),n("slot",{name:"extra-info",ref:e=>this.extraInfoSlotRef=e},n(this.extraInfoWidget,{language:this.language,"show-round-board":this.showRoundBoard})),n("slot",{name:"game-property-slot"})),this.showGameName&&n("slot",{name:"game-name"},n("p",{class:"GameNameBelow",part:"GameNameBelow",title:i.gameName},i.gameName)))}static get assetsDirs(){return["static"]}static get watchers(){return{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}}};m.style=':host{display:block}*,*::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:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.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::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:hover .OpenSeat,.ListGame .GameInnerContainer .ListGame:hover .ClosedSeat,.ListGame .GameInnerContainer .ListGame:hover .LiveLimits,.ListGame .GameInnerContainer .ListGame:hover .LatestResult,.ListGame .GameInnerContainer .ListGame:hover .FullTable,.ListGame .GameInnerContainer .ListGame:active .OpenSeat,.ListGame .GameInnerContainer .ListGame:active .ClosedSeat,.ListGame .GameInnerContainer .ListGame:active .LiveLimits,.ListGame .GameInnerContainer .ListGame:active .LatestResult,.ListGame .GameInnerContainer .ListGame:active .FullTable{opacity:0.2}.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 .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{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.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 .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)}.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}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:16;width:15px;height:15px;opacity:0}.FavIconContainer.Favorited{opacity:1}.FavIconContainer svg path{fill:#fff}.Hovered .FavIconContainer{opacity:1}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}';const u=class{constructor(n){e(this,n),this.playClicked=t(this,"playCasinoGame",7),this.integratedGameframeMobile=!1,this.integratedGameframeDesktop=!1,this.language="en",this.userAgent=window.navigator.userAgent}onPlayNowClicked(){this.playClicked.emit(this.gameId);let e={gameId:this.gameId,isMobile:a(this.userAgent)},t=this.integratedGameframeMobile||this.integratedGameframeDesktop;window.postMessage({type:t?"OpenGameFrame":"ShowGameModal",eventData:t?Object.assign(Object.assign({},e),{gamefunmode:this.hasFunMode,source:"GameThumbnail",identifier:"Lobby"}):e},window.location.href)}render(){return n("div",{class:"GameInfoWrapper",part:"GameInfoWrapper"},n("div",{class:"GameInfo ",part:"GameInfo "},n("p",{class:"GameInfoName",part:"GameInfoName",title:this.gameName}," ",this.gameName," "),n("button",{class:"GameInfoBtn",part:"GameInfoBtn",onClick:()=>this.onPlayNowClicked()},l("playNow",this.language))),n("slot",{name:"vendor-name"},n("span",{class:"GameInfoVendor",part:"GameInfoVendor"},this.gameVendor)))}};u.style=":host{display:block}.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}.GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.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}.GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInfoWrapper:hover{display:block !important}";export{m as casino_game_thumb_view,u as casino_game_thumbnail_overlay}
|